FlowLogSettings Interface
Implements
public interface FlowLogSettings
extends HasParent<NetworkWatcher>, HasInnerModel<FlowLogInformationInner>, Updatable<Update>, Refreshable<FlowLogSettings>
Client-side representation of the configuration of flow log, associated with network watcher and an Azure resource.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract boolean |
enabled()
Checks whether logging is enabled. |
abstract boolean |
isRetentionEnabled()
Checks whether retention policy is enabled. |
abstract String |
networkSecurityGroupId()
Gets network security group id these flow log settings apply to. |
abstract int |
retentionDays()
Gets the number of days to retain flow log records. |
abstract String |
storageId()
Gets the id of the storage account used to store the flow log. |
abstract String |
targetResourceId()
Get the ID of the resource to configure for flow logging. |
Method Details
enabled
public abstract boolean enabled()
Checks whether logging is enabled.
Returns:
isRetentionEnabled
public abstract boolean isRetentionEnabled()
Checks whether retention policy is enabled.
Returns:
networkSecurityGroupId
public abstract String networkSecurityGroupId()
Gets network security group id these flow log settings apply to.
Returns:
retentionDays
public abstract int retentionDays()
Gets the number of days to retain flow log records.
Returns:
storageId
public abstract String storageId()
Gets the id of the storage account used to store the flow log.
Returns:
targetResourceId
public abstract String targetResourceId()
Get the ID of the resource to configure for flow logging.
Returns: