VpcFlowLogsConfigArgs class

The set of arguments for VpcFlowLogsConfig. The set of arguments for VpcFlowLogsConfig.

Constructors

VpcFlowLogsConfigArgs({Input<String?>? aggregationInterval, Input<String?>? deletionPolicy, Input<String?>? description, Input<String?>? filterExpr, Input<double?>? flowSampling, Input<String?>? interconnectAttachment, Input<Map<String, String>?>? labels, required Input<String> location, Input<String?>? metadata, Input<List<String>?>? metadataFields, Input<String?>? network, Input<String?>? project, Input<String?>? state, Input<String?>? subnet, required Input<String> vpcFlowLogsConfigId, Input<String?>? vpnTunnel})
Creates a new VpcFlowLogsConfigArgs. aggregationInterval Optional. The aggregation interval for the logs. Default value is deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum filterExpr Optional. Export filter used to define which VPC Flow Logs should be logged. flowSampling Optional. The value of the field must be in (0, 1]. The sampling rate interconnectAttachment Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name} labels Optional. Resource labels to represent user-provided metadata. location Resource ID segment making up resource name. It identifies the resource metadata Optional. Configures whether all, none or a subset of metadata fields metadataFields Optional. Custom metadata fields to include in the reported VPC flow network Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name} project The ID of the project in which the resource belongs. state Optional. The state of the VPC Flow Log configuration. Default value subnet Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name} vpcFlowLogsConfigId Required. ID of the VpcFlowLogsConfig. vpnTunnel Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}
const
VpcFlowLogsConfigArgs.fromMap(Map<String, dynamic> map)
factory

Properties

aggregationInterval → Input<String?>?
Optional. The aggregation interval for the logs. Default value is INTERVAL_5_SEC. Possible values: AGGREGATION_INTERVAL_UNSPECIFIED INTERVAL_5_SEC INTERVAL_30_SEC INTERVAL_1_MIN INTERVAL_5_MIN INTERVAL_10_MIN INTERVAL_15_MIN
final
deletionPolicy → Input<String?>?
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. When a 'terraform destroy' or 'pulumi up' would delete the resource, the command will fail if this field is set to "PREVENT" in Terraform state. When set to "ABANDON", the command will remove the resource from Terraform management without updating or deleting the resource in the API. When set to "DELETE", deleting the resource is allowed.
final
description → Input<String?>?
Optional. The user-supplied description of the VPC Flow Logs configuration. Maximum of 512 characters.
final
filterExpr → Input<String?>?
Optional. Export filter used to define which VPC Flow Logs should be logged.
final
flowSampling → Input<double?>?
Optional. The value of the field must be in (0, 1]. The sampling rate of VPC Flow Logs where 1.0 means all collected logs are reported. Setting the sampling rate to 0.0 is not allowed. If you want to disable VPC Flow Logs, use the state field instead. Default value is 1.0.
final
hashCode → int
The hash code for this object.
no setterinherited
interconnectAttachment → Input<String?>?
Traffic will be logged from the Interconnect Attachment. Format: projects/{project_id}/regions/{region}/interconnectAttachments/{name}
final
labels → Input<Map<String, String>?>?
Optional. Resource labels to represent user-provided metadata.
final
location → Input<String>
Resource ID segment making up resource name. It identifies the resource within its parent collection as described in https://google.aip.dev/122. See documentation for resource type networkmanagement.googleapis.com/VpcFlowLogsConfig.
final
metadata → Input<String?>?
Optional. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default value is INCLUDE_ALL_METADATA. Possible values: METADATA_UNSPECIFIED INCLUDE_ALL_METADATA EXCLUDE_ALL_METADATA CUSTOM_METADATA
final
metadataFields → Input<List<String>?>?
Optional. Custom metadata fields to include in the reported VPC flow logs. Can only be specified if "metadata" was set to CUSTOM_METADATA.
final
network → Input<String?>?
Traffic will be logged from VMs, VPN tunnels and Interconnect Attachments within the network. Format: projects/{project_id}/global/networks/{name}
final
project → Input<String?>?
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
state → Input<String?>?
Optional. The state of the VPC Flow Log configuration. Default value is ENABLED. When creating a new configuration, it must be enabled. Possible values: STATE_UNSPECIFIED ENABLED DISABLED
final
subnet → Input<String?>?
Traffic will be logged from VMs within the subnetwork. Format: projects/{project_id}/regions/{region}/subnetworks/{name}
final
vpcFlowLogsConfigId → Input<String>
Required. ID of the VpcFlowLogsConfig.
final
vpnTunnel → Input<String?>?
Traffic will be logged from the VPN Tunnel. Format: projects/{project_id}/regions/{region}/vpnTunnels/{name}
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited