FlowLogSettings.UpdateStages.WithRetentionPolicy Interface
public interface WithRetentionPolicy
The stage of the flow log information update allowing to configure retention policy.
Method Summary
Modifier and Type | Method and Description |
---|---|
Flow |
withRetentionPolicyDays(int days)
Set the number of days to store flow log. |
Flow |
withRetentionPolicyDisabled()
Disable retention policy. |
Flow |
withRetentionPolicyEnabled()
Enable retention policy. |
Method Details
withRetentionPolicyDays
public Update withRetentionPolicyDays(int days)
Set the number of days to store flow log.
Parameters:
days
- the number of days
Returns:
the next stage of the flow log information update
withRetentionPolicyDisabled
public Update withRetentionPolicyDisabled()
Disable retention policy.
Returns:
the next stage of the flow log information update
withRetentionPolicyEnabled
public Update withRetentionPolicyEnabled()
Enable retention policy.
Returns:
the next stage of the flow log information update
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for