Class SubnetworkLogConfigArgs
Inherited Members
Namespace: Pulumi.Gcp.Compute.Inputs
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class SubnetworkLogConfigArgs : ResourceArgs
Constructors
View SourceSubnetworkLogConfigArgs()
Declaration
public SubnetworkLogConfigArgs()
Properties
View SourceAggregationInterval
Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. Possible values are INTERVAL_5_SEC, INTERVAL_30_SEC, INTERVAL_1_MIN, INTERVAL_5_MIN, INTERVAL_10_MIN, INTERVAL_15_MIN
Declaration
public Input<string> AggregationInterval { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |
FlowSampling
Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 which means half of all collected logs are reported.
Declaration
public Input<double> FlowSampling { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.Double> |
Metadata
Can only be specified if VPC flow logging for this subnetwork is enabled. Configures whether metadata fields should be added to the reported VPC flow logs.
Declaration
public Input<string> Metadata { get; set; }
Property Value
| Type | Description |
|---|---|
| Input<System.String> |