共用方式為


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:

true if logging is enabled, false otherwise

isRetentionEnabled

public abstract boolean isRetentionEnabled()

Checks whether retention policy is enabled.

Returns:

true if retention policy enabled, false otherwise

networkSecurityGroupId

public abstract String networkSecurityGroupId()

Gets network security group id these flow log settings apply to.

Returns:

network security group id these flow log settings apply to

retentionDays

public abstract int retentionDays()

Gets the number of days to retain flow log records.

Returns:

the number of days to retain flow log records

storageId

public abstract String storageId()

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

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