Interconnect constructor
Interconnect(
- String name, {
- InterconnectArgs? args,
- CustomResourceOptions? options,
Creates a new Interconnect.
name The Pulumi resource name.
args Arguments used to configure this Interconnect. The set of arguments for Interconnect.
options Resource options controlling this resource's behavior.
Implementation
Interconnect(
String name, {
InterconnectArgs? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:compute/alpha:Interconnect',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
adminEnabled = registerOutput<bool>('adminEnabled');
availableFeatures = registerOutput<List<String>>('availableFeatures');
circuitInfos = registerOutput<List<Map<String, dynamic>>>('circuitInfos');
creationTimestamp = registerOutput<String>('creationTimestamp');
customerName = registerOutput<String>('customerName');
description = registerOutput<String>('description');
expectedOutages = registerOutput<List<Map<String, dynamic>>>('expectedOutages');
googleIpAddress = registerOutput<String>('googleIpAddress');
googleReferenceId = registerOutput<String>('googleReferenceId');
interconnectAttachments = registerOutput<List<String>>('interconnectAttachments');
interconnectType = registerOutput<String>('interconnectType');
kind = registerOutput<String>('kind');
labelFingerprint = registerOutput<String>('labelFingerprint');
labels = registerOutput<Map<String, String>>('labels');
linkType = registerOutput<String>('linkType');
location = registerOutput<String>('location');
macsec = registerOutput<InterconnectMacsecResponse>('macsec', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return InterconnectMacsecResponse.fromMap((guardedValue as Map).cast<String, dynamic>()); });
macsecEnabled = registerOutput<bool>('macsecEnabled');
this.name = registerOutput<String>('name');
nocContactEmail = registerOutput<String>('nocContactEmail');
operationalStatus = registerOutput<String>('operationalStatus');
peerIpAddress = registerOutput<String>('peerIpAddress');
project = registerOutput<String>('project');
provisionedLinkCount = registerOutput<int>('provisionedLinkCount');
remoteLocation = registerOutput<String>('remoteLocation');
requestId = registerOutput<String?>('requestId');
requestedFeatures = registerOutput<List<String>>('requestedFeatures');
requestedLinkCount = registerOutput<int>('requestedLinkCount');
satisfiesPzs = registerOutput<bool>('satisfiesPzs');
selfLink = registerOutput<String>('selfLink');
selfLinkWithId = registerOutput<String>('selfLinkWithId');
state = registerOutput<String>('state');
}