InterceptEndpointGroup constructor
InterceptEndpointGroup(
- String name, {
- InterceptEndpointGroupArgs? args,
- CustomResourceOptions? options,
Creates a new InterceptEndpointGroup.
name The Pulumi resource name.
args Arguments used to configure this InterceptEndpointGroup. The set of arguments for InterceptEndpointGroup.
options Resource options controlling this resource's behavior.
Implementation
InterceptEndpointGroup(
String name, {
InterceptEndpointGroupArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'gcp:networksecurity/interceptEndpointGroup:InterceptEndpointGroup',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
pulumi.CustomResourceOptions(version: '9.36.1').merge(options),
additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
) {
associations = registerOutput<List<InterceptEndpointGroupAssociation>>('associations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<InterceptEndpointGroupAssociation>(guardedValue, (value) => InterceptEndpointGroupAssociation.fromMap((value as Map).cast<String, dynamic>())); });
connectedDeploymentGroups = registerOutput<List<InterceptEndpointGroupConnectedDeploymentGroup>>('connectedDeploymentGroups', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<InterceptEndpointGroupConnectedDeploymentGroup>(guardedValue, (value) => InterceptEndpointGroupConnectedDeploymentGroup.fromMap((value as Map).cast<String, dynamic>())); });
createTime = registerOutput<String>('createTime');
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);
interceptDeploymentGroup = registerOutput<String>('interceptDeploymentGroup');
interceptEndpointGroupId = registerOutput<String>('interceptEndpointGroupId');
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');
this.name = registerOutput<String>('name');
project = registerOutput<String>('project');
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);
reconciling = registerOutput<bool>('reconciling');
state = registerOutput<String>('state');
updateTime = registerOutput<String>('updateTime');
}