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()
abstract boolean isRetentionEnabled()
abstract String networkSecurityGroupId()
abstract int retentionDays()
abstract String storageId()
abstract String targetResourceId()

Get the ID of the resource to configure for flow logging.

Method Details

enabled

public abstract boolean enabled()

Returns:

true if logging is enabled, false otherwise

isRetentionEnabled

public abstract boolean isRetentionEnabled()

Returns:

true if retention policy enabled, false otherwise

networkSecurityGroupId

public abstract String networkSecurityGroupId()

Returns:

network security group id these flow log settings apply to

retentionDays

public abstract int retentionDays()

Returns:

the number of days to retain flow log records

storageId

public abstract String storageId()

Returns:

the id of the storage account used to store the flow log

targetResourceId

public abstract String targetResourceId()

Get the ID of the resource to configure for flow logging.

Returns:

the targetResourceId value

Applies to