InterceptEndpointGroupAssociationNetworksecurity.reference constructor
InterceptEndpointGroupAssociationNetworksecurity.reference(
- String urn
Creates a typed reference to an existing InterceptEndpointGroupAssociationNetworksecurity resource.
Implementation
InterceptEndpointGroupAssociationNetworksecurity.reference(String urn)
: super(
'gcp:networksecurity/interceptEndpointGroupAssociation:InterceptEndpointGroupAssociation',
pulumi.parseUrn(urn).urnName,
const <String, pulumi.Input<dynamic>>{},
pulumi.CustomResourceOptions(urn: pulumi.input(urn)),
additionalSecretOutputs: const ['effectiveLabels', 'pulumiLabels'],
isResourceReference: true,
) {
createTime = registerOutput<String>('createTime');
deletionPolicy = registerOutput<String>('deletionPolicy');
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);
interceptEndpointGroup = registerOutput<String>('interceptEndpointGroup');
interceptEndpointGroupAssociationId = registerOutput<String?>('interceptEndpointGroupAssociationId');
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');
locations = registerOutput<List<InterceptEndpointGroupAssociationLocation>>('locations', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<InterceptEndpointGroupAssociationLocation>(guardedValue, (value) => InterceptEndpointGroupAssociationLocation.fromMap((value as Map).cast<String, dynamic>())); });
locationsDetails = registerOutput<List<InterceptEndpointGroupAssociationLocationsDetail>>('locationsDetails', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return pulumi.Input.decodeList<InterceptEndpointGroupAssociationLocationsDetail>(guardedValue, (value) => InterceptEndpointGroupAssociationLocationsDetail.fromMap((value as Map).cast<String, dynamic>())); });
this.name = registerOutput<String>('name');
network = registerOutput<String>('network');
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');
}