public class FlowLogInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
FlowLogInner() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
enabled()
Get the enabled property: Flag to enable/disable flow logging.
|
String |
etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
|
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.
|
String |
id()
Get the id property: Resource ID.
|
ProvisioningState |
provisioningState()
Get the provisioningState property: The provisioning state of the flow log.
|
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 |
targetResourceGuid()
Get the targetResourceGuid property: Guid of network security group to which flow log will be applied.
|
String |
targetResourceId()
Get the targetResourceId property: ID of network security group to which flow log will be applied.
|
void |
validate()
Validates the instance.
|
FlowLogInner |
withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable flow logging.
|
FlowLogInner |
withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
Set the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
|
FlowLogInner |
withFormat(FlowLogFormatParameters format)
Set the format property: Parameters that define the flow log format.
|
FlowLogInner |
withId(String id)
Set the id property: Resource ID.
|
FlowLogInner |
withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
Set the retentionPolicy property: Parameters that define the retention policy for flow log.
|
FlowLogInner |
withStorageId(String storageId)
Set the storageId property: ID of the storage account which is used to store the flow log.
|
FlowLogInner |
withTargetResourceId(String targetResourceId)
Set the targetResourceId property: ID of network security group to which flow log will be applied.
|
public String etag()
public String targetResourceId()
public FlowLogInner withTargetResourceId(String targetResourceId)
targetResourceId - the targetResourceId value to set.public String targetResourceGuid()
public String storageId()
public FlowLogInner withStorageId(String storageId)
storageId - the storageId value to set.public Boolean enabled()
public FlowLogInner withEnabled(Boolean enabled)
enabled - the enabled value to set.public RetentionPolicyParameters retentionPolicy()
public FlowLogInner withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
retentionPolicy - the retentionPolicy value to set.public FlowLogFormatParameters format()
public FlowLogInner withFormat(FlowLogFormatParameters format)
format - the format value to set.public TrafficAnalyticsProperties flowAnalyticsConfiguration()
public FlowLogInner withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
flowAnalyticsConfiguration - the flowAnalyticsConfiguration value to set.public ProvisioningState provisioningState()
public String id()
id in class com.azure.core.management.ProxyResourcepublic FlowLogInner withId(String id)
id - the id value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.