VpcFlowLogsConfigArgs constructor
- Input<
String?> ? aggregationInterval, - Input<
String?> ? deletionPolicy, - Input<
String?> ? description, - Input<
String?> ? filterExpr, - Input<
double?> ? flowSampling, - Input<
String?> ? interconnectAttachment, - Input<
Map< ? labels,String, String> ?> - required Input<
String> location, - Input<
String?> ? metadata, - Input<
List< ? metadataFields,String> ?> - 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}
Implementation
const VpcFlowLogsConfigArgs({
this.aggregationInterval,
this.deletionPolicy,
this.description,
this.filterExpr,
this.flowSampling,
this.interconnectAttachment,
this.labels,
required this.location,
this.metadata,
this.metadataFields,
this.network,
this.project,
this.state,
this.subnet,
required this.vpcFlowLogsConfigId,
this.vpnTunnel,
});