ServiceAttachmentComputeV1 constructor
ServiceAttachmentComputeV1(
- String name, {
- ServiceAttachmentComputeV1Args? args,
- CustomResourceOptions? options,
Creates a new ServiceAttachmentComputeV1.
name The Pulumi resource name.
args Arguments used to configure this ServiceAttachmentComputeV1. The set of arguments for ServiceAttachment.
options Resource options controlling this resource's behavior.
Implementation
ServiceAttachmentComputeV1(
String name, {
ServiceAttachmentComputeV1Args? args,
pulumi.CustomResourceOptions? options,
}) : super(
'google-native:compute/v1:ServiceAttachment',
name,
pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
options ?? pulumi.CustomResourceOptions(),
) {
connectedEndpoints = registerOutput<List<Map<String, dynamic>>>('connectedEndpoints');
connectionPreference = registerOutput<String>('connectionPreference');
consumerAcceptLists = registerOutput<List<Map<String, dynamic>>>('consumerAcceptLists');
consumerRejectLists = registerOutput<List<String>>('consumerRejectLists');
creationTimestamp = registerOutput<String>('creationTimestamp');
description = registerOutput<String>('description');
domainNames = registerOutput<List<String>>('domainNames');
enableProxyProtocol = registerOutput<bool>('enableProxyProtocol');
fingerprint = registerOutput<String>('fingerprint');
kind = registerOutput<String>('kind');
this.name = registerOutput<String>('name');
natSubnets = registerOutput<List<String>>('natSubnets');
producerForwardingRule = registerOutput<String>('producerForwardingRule');
project = registerOutput<String>('project');
pscServiceAttachmentId = registerOutput<Uint128ResponseComputeV1>('pscServiceAttachmentId', decoder: (raw) { final guardedValue = raw; if (guardedValue == null) return null; return Uint128ResponseComputeV1.fromMap((guardedValue as Map).cast<String, dynamic>()); });
reconcileConnections = registerOutput<bool>('reconcileConnections');
region = registerOutput<String>('region');
requestId = registerOutput<String?>('requestId');
selfLink = registerOutput<String>('selfLink');
targetService = registerOutput<String>('targetService');
}