FlowLogInner Class
- java.
lang. Object - com.
azure. core. management. ProxyResource - com.
azure. core. management. Resource - com.
azure. resourcemanager. network. fluent. models. FlowLogInner
- com.
- com.
- com.
public final class FlowLogInner
extends Resource
A flow log resource.
Constructor Summary
Constructor | Description |
---|---|
FlowLogInner() |
Creates an instance of Flow |
Method Summary
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. |
Traffic |
flowAnalyticsConfiguration()
Get the flow |
Flow |
format()
Get the format property: Parameters that define the flow log format. |
String |
id()
Get the id property: Resource ID. |
Provisioning |
provisioningState()
Get the provisioning |
Retention |
retentionPolicy()
Get the retention |
String |
storageId()
Get the storage |
String |
targetResourceGuid()
Get the target |
String |
targetResourceId()
Get the target |
void |
validate()
Validates the instance. |
Flow |
withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable flow logging. |
Flow |
withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
Set the flow |
Flow |
withFormat(FlowLogFormatParameters format)
Set the format property: Parameters that define the flow log format. |
Flow |
withId(String id)
Set the id property: Resource ID. |
Flow |
withLocation(String location) |
Flow |
withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
Set the retention |
Flow |
withStorageId(String storageId)
Set the storage |
Flow |
withTags(Map<String,String> tags) |
Flow |
withTargetResourceId(String targetResourceId)
Set the target |
Methods inherited from ProxyResource
Methods inherited from Resource
Methods inherited from java.lang.Object
Constructor Details
FlowLogInner
public FlowLogInner()
Creates an instance of FlowLogInner class.
Method Details
enabled
public Boolean enabled()
Get the enabled property: Flag to enable/disable flow logging.
Returns:
etag
public String etag()
Get the etag property: A unique read-only string that changes whenever the resource is updated.
Returns:
flowAnalyticsConfiguration
public TrafficAnalyticsProperties flowAnalyticsConfiguration()
Get the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
Returns:
format
public FlowLogFormatParameters format()
Get the format property: Parameters that define the flow log format.
Returns:
id
public String id()
Get the id property: Resource ID.
Overrides:
FlowLogInner.id()Returns:
provisioningState
public ProvisioningState provisioningState()
Get the provisioningState property: The provisioning state of the flow log.
Returns:
retentionPolicy
public RetentionPolicyParameters retentionPolicy()
Get the retentionPolicy property: Parameters that define the retention policy for flow log.
Returns:
storageId
public String storageId()
Get the storageId property: ID of the storage account which is used to store the flow log.
Returns:
targetResourceGuid
public String targetResourceGuid()
Get the targetResourceGuid property: Guid of network security group to which flow log will be applied.
Returns:
targetResourceId
public String targetResourceId()
Get the targetResourceId property: ID of network security group to which flow log will be applied.
Returns:
validate
public void validate()
Validates the instance.
withEnabled
public FlowLogInner withEnabled(Boolean enabled)
Set the enabled property: Flag to enable/disable flow logging.
Parameters:
Returns:
withFlowAnalyticsConfiguration
public FlowLogInner withFlowAnalyticsConfiguration(TrafficAnalyticsProperties flowAnalyticsConfiguration)
Set the flowAnalyticsConfiguration property: Parameters that define the configuration of traffic analytics.
Parameters:
Returns:
withFormat
public FlowLogInner withFormat(FlowLogFormatParameters format)
Set the format property: Parameters that define the flow log format.
Parameters:
Returns:
withId
public FlowLogInner withId(String id)
Set the id property: Resource ID.
Parameters:
Returns:
withLocation
public FlowLogInner withLocation(String location)
Overrides:
FlowLogInner.withLocation(String location)Parameters:
withRetentionPolicy
public FlowLogInner withRetentionPolicy(RetentionPolicyParameters retentionPolicy)
Set the retentionPolicy property: Parameters that define the retention policy for flow log.
Parameters:
Returns:
withStorageId
public FlowLogInner withStorageId(String storageId)
Set the storageId property: ID of the storage account which is used to store the flow log.
Parameters:
Returns:
withTags
public FlowLogInner withTags(Map
Overrides:
FlowLogInner.withTags(Map<String,String> tags)Parameters:
withTargetResourceId
public FlowLogInner withTargetResourceId(String targetResourceId)
Set the targetResourceId property: ID of network security group to which flow log will be applied.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for