Interface FlowLogSettings
- All Superinterfaces:
HasInnerModel<FlowLogInformationInner>,HasParent<NetworkWatcher>,Refreshable<FlowLogSettings>,Updatable<FlowLogSettings.Update>
public interface FlowLogSettings
extends HasParent<NetworkWatcher>, HasInnerModel<FlowLogInformationInner>, Updatable<FlowLogSettings.Update>, Refreshable<FlowLogSettings>
Client-side representation of the configuration of flow log, associated with network watcher and an Azure resource.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe template for a flow log information update operation, containing all the settings that can be modified.static interfaceGrouping of flow log information update stages. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()booleanintGet the ID of the resource to configure for flow logging.Methods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasParent
parentMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsync
-
Method Details
-
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
-