OrganizationVpcFlowLogsConfigState class
Input properties used for looking up and filtering OrganizationVpcFlowLogsConfig resources.
Constructors
-
OrganizationVpcFlowLogsConfigState({Input<
String?> ? aggregationInterval, Input<String?> ? createTime, Input<String?> ? crossProjectMetadata, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? filterExpr, Input<double?> ? flowSampling, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? metadata, Input<List< ? metadataFields, Input<String> ?>String?> ? name, Input<String?> ? organization, Input<Map< ? pulumiLabels, Input<String, String> ?>String?> ? state, Input<String?> ? updateTime, Input<String?> ? vpcFlowLogsConfigId}) -
Creates a new OrganizationVpcFlowLogsConfigState.
aggregationIntervalOptional. The aggregation interval for the logs. Default value iscreateTimeOutput only. The time the config was created.crossProjectMetadataDetermines 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. MaximumeffectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.filterExprOptional. 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 flownameIdentifier. Unique name of the configuration using the form:organizations/{org_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}organizationResource ID segment making up resourcename. It identifies the resource within its parent collection as described in https://google.aip.dev/122.pulumiLabelsThe combination of labels configured directly on the resourcestateOptional. The state of the VPC Flow Log configuration. Default valueupdateTimeOutput only. The time the config was updated.vpcFlowLogsConfigIdRequired. ID of theVpcFlowLogsConfig.const -
OrganizationVpcFlowLogsConfigState.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
-
createTime
→ Input<
String?> ? -
Output only. The time the config was created.
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
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
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
-
name
→ Input<
String?> ? -
Identifier. Unique name of the configuration using the form:
organizations/{org_id}/locations/global/vpcFlowLogsConfigs/{vpc_flow_logs_config_id}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 -
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
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
-
updateTime
→ Input<
String?> ? -
Output only. The time the config was updated.
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