OrganizationVpcFlowLogsConfigArgs class
The set of arguments for OrganizationVpcFlowLogsConfig. The set of arguments for OrganizationVpcFlowLogsConfig.
Constructors
-
OrganizationVpcFlowLogsConfigArgs({Input<
String?> ? aggregationInterval, Input<String?> ? crossProjectMetadata, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? filterExpr, Input<double?> ? flowSampling, Input<Map< ? labels, required Input<String, String> ?>String> location, Input<String?> ? metadata, Input<List< ? metadataFields, required Input<String> ?>String> organization, Input<String?> ? state, required Input<String> vpcFlowLogsConfigId}) -
Creates a new OrganizationVpcFlowLogsConfigArgs.
aggregationIntervalOptional. The aggregation interval for the logs. Default value iscrossProjectMetadataDetermines whether to include cross project annotations in the logs.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionOptional. The user-supplied description of the VPC Flow Logs configuration. MaximumfilterExprOptional. Export filter used to define which VPC Flow Logs should be logged.flowSamplingOptional. The value of the field must be in (0, 1]. The sampling ratelabelsOptional. Resource labels to represent the user-provided metadata.locationResource ID segment making up resourcename. It identifies the resourcemetadataOptional. Configures whether all, none or a subset of metadata fieldsmetadataFieldsOptional. Custom metadata fields to include in the reported VPC floworganizationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.stateOptional. The state of the VPC Flow Log configuration. Default valuevpcFlowLogsConfigIdRequired. ID of theVpcFlowLogsConfig.const -
OrganizationVpcFlowLogsConfigArgs.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: INTERVAL_5_SEC INTERVAL_30_SEC INTERVAL_1_MIN INTERVAL_5_MIN INTERVAL_10_MIN INTERVAL_15_MIN
final
-
crossProjectMetadata
→ Input<
String?> ? -
Determines whether to include cross project annotations in the logs.
This field is available only for organization configurations. If not
specified in org configs will be set to CROSS_PROJECT_METADATA_ENABLED.
Possible values:
CROSS_PROJECT_METADATA_ENABLED
CROSS_PROJECT_METADATA_DISABLED
Possible values are:
CROSS_PROJECT_METADATA_ENABLED,CROSS_PROJECT_METADATA_DISABLED.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
-
labels
→ Input<
Map< ?String, String> ?> -
Optional. Resource labels to represent the 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 typenetworkmanagement.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
-
organization
→ 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.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: ENABLED DISABLED
final
-
vpcFlowLogsConfigId
→ Input<
String> -
Required. ID of the
VpcFlowLogsConfig.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