Interface FlowLogSettings
-
- All Superinterfaces:
com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.FlowLogInformationInner>
,com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent<NetworkWatcher>
,com.microsoft.azure.management.resources.fluentcore.model.Refreshable<FlowLogSettings>
,com.microsoft.azure.management.resources.fluentcore.model.Updatable<FlowLogSettings.Update>
@Beta public interface FlowLogSettings extends com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent<NetworkWatcher>, com.microsoft.azure.management.resources.fluentcore.model.HasInner<com.microsoft.azure.management.network.implementation.FlowLogInformationInner>, com.microsoft.azure.management.resources.fluentcore.model.Updatable<FlowLogSettings.Update>, com.microsoft.azure.management.resources.fluentcore.model.Refreshable<FlowLogSettings>
Client-side representation of the configuration of flow log, associated with network watcher and an Azure resource.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
FlowLogSettings.Update
The template for a flow log information update operation, containing all the settings that can be modified.static interface
FlowLogSettings.UpdateStages
Grouping of flow log information update stages.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
enabled()
boolean
isRetentionEnabled()
String
networkSecurityGroupId()
int
retentionDays()
String
storageId()
String
targetResourceId()
Get the ID of the resource to configure for flow logging.-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
-
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasParent
parent
-
-
-
-
Method Detail
-
targetResourceId
String targetResourceId()
Get the ID of the resource to configure for flow logging.- Returns:
- the targetResourceId value
-
storageId
String storageId()
- Returns:
- the id of the storage account used to store the flow log
-
enabled
boolean enabled()
- Returns:
- true if logging is enabled, false otherwise
-
isRetentionEnabled
boolean isRetentionEnabled()
- Returns:
- true if retention policy enabled, false otherwise
-
retentionDays
int retentionDays()
- Returns:
- the number of days to retain flow log records
-
networkSecurityGroupId
String networkSecurityGroupId()
- Returns:
- network security group id these flow log settings apply to
-
-