public class FlowLogInformationInner extends Object
| Constructor and Description |
|---|
FlowLogInformationInner() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
enabled()
Get the enabled property: Flag to enable/disable flow logging.
|
TrafficAnalyticsProperties |
flowAnalyticsConfiguration()
Get the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
|
FlowLogFormatParameters |
format()
Get the format property: Parameters that define the flow log format.
|
RetentionPolicyParameters |
retentionPolicy()
Get the retentionPolicy property: Parameters that define the retention policy for flow log.
|
String |
storageId()
Get the storageId property: ID of the storage account which is used to store the flow log.
|
String |
targetResourceId()
Get the targetResourceId property: The ID of the resource to configure for flow log and traffic analytics
(optional) .
|
void |
validate()
Validates the instance.
|
FlowLogInformationInner |
withEnabled(boolean enabled)
Set the enabled property: Flag to enable/disable flow logging.
|
FlowLogInformationInner |
withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
Set the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
|
FlowLogInformationInner |
withFormat(FlowLogFormatParameters format)
Set the format property: Parameters that define the flow log format.
|
FlowLogInformationInner |
withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
Set the retentionPolicy property: Parameters that define the retention policy for flow log.
|
FlowLogInformationInner |
withStorageId(String storageId)
Set the storageId property: ID of the storage account which is used to store the flow log.
|
FlowLogInformationInner |
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: The ID of the resource to configure for flow log and traffic analytics
(optional) .
|
public String targetResourceId()
public FlowLogInformationInner withTargetResourceId(String targetResourceId)
targetResourceId - the targetResourceId value to set.public TrafficAnalyticsProperties flowAnalyticsConfiguration()
public FlowLogInformationInner withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
flowAnalyticsConfiguration - the flowAnalyticsConfiguration value to set.public String storageId()
public FlowLogInformationInner withStorageId(String storageId)
storageId - the storageId value to set.public boolean enabled()
public FlowLogInformationInner withEnabled(boolean enabled)
enabled - the enabled value to set.public RetentionPolicyParameters retentionPolicy()
public FlowLogInformationInner withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
retentionPolicy - the retentionPolicy value to set.public FlowLogFormatParameters format()
public FlowLogInformationInner withFormat(FlowLogFormatParameters format)
format - the format value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.