FlowLogSettings Interface

Implements

HasParent<NetworkWatcher> HasInner<com.microsoft.azure.management.network.implementation.FlowLogInformationInner> Refreshable<FlowLogSettings> Updatable<Update>

public interface FlowLogSettings
extends HasParent<NetworkWatcher>, HasInner<com.microsoft.azure.management.network.implementation.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 java.lang.String networkSecurityGroupId()
abstract int retentionDays()
abstract java.lang.String storageId()
abstract java.lang.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