OrganizationVpcFlowLogsConfig constructor
OrganizationVpcFlowLogsConfig(
- String name, {
- OrganizationVpcFlowLogsConfigArgs? args,
- CustomResourceOptions? options,
Creates a new OrganizationVpcFlowLogsConfig.
name The Pulumi resource name.
args Arguments used to configure this OrganizationVpcFlowLogsConfig. The set of arguments for OrganizationVpcFlowLogsConfig.
options Resource options controlling this resource's behavior.
Implementation
OrganizationVpcFlowLogsConfig(
String name, {
OrganizationVpcFlowLogsConfigArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:networkmanagement/organizationVpcFlowLogsConfig:OrganizationVpcFlowLogsConfig',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
) {
aggregationInterval = registerOutput<String>('aggregationInterval');
createTime = registerOutput<String>('createTime');
crossProjectMetadata = registerOutput<String>('crossProjectMetadata');
deletionPolicy = registerOutput<String>('deletionPolicy');
description = registerOutput<String?>('description');
effectiveLabels = registerOutput<Map<String, String>>('effectiveLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
filterExpr = registerOutput<String?>('filterExpr');
flowSampling = registerOutput<double>('flowSampling');
labels = registerOutput<Map<String, String>?>('labels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); });
location = registerOutput<String>('location');
metadata = registerOutput<String>('metadata');
metadataFields = registerOutput<List<String>?>('metadataFields', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as List).cast<String>(); });
this.name = registerOutput<String>('name');
organization = registerOutput<String>('organization');
pulumiLabels = registerOutput<Map<String, String>>('pulumiLabels', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return (guardedValue as Map).cast<String, String>(); }, isSecret: true);
state = registerOutput<String>('state');
updateTime = registerOutput<String>('updateTime');
vpcFlowLogsConfigId = registerOutput<String>('vpcFlowLogsConfigId');
}