FlowLogSettings Interface

public interface FlowLogSettings extends HasParent,HasInner,Updatable<FlowLogSettings.Update>,Refreshable

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

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

Inherited Members

Method Details

enabled

public boolean enabled()

Returns:

true if logging is enabled, false otherwise

isRetentionEnabled

public boolean isRetentionEnabled()

Returns:

true if retention policy enabled, false otherwise

networkSecurityGroupId

public String networkSecurityGroupId()

Returns:

network security group id these flow log settings apply to

retentionDays

public int retentionDays()

Returns:

the number of days to retain flow log records

storageId

public String storageId()

Returns:

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

targetResourceId

public String targetResourceId()

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

Returns:

the targetResourceId value

Applies to