NetworkAttachmentComputeV1 constructor

NetworkAttachmentComputeV1(
  1. String name, {
  2. NetworkAttachmentComputeV1Args? args,
  3. CustomResourceOptions? options,
})

Creates a new NetworkAttachmentComputeV1. name The Pulumi resource name. args Arguments used to configure this NetworkAttachmentComputeV1. The set of arguments for NetworkAttachment. options Resource options controlling this resource's behavior.

Implementation

NetworkAttachmentComputeV1(
  String name, {
  NetworkAttachmentComputeV1Args? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:compute/v1:NetworkAttachment',
        name,
        pulumi.Input.mapToInputs(args?.toMap() ?? const {}),
        options ?? pulumi.CustomResourceOptions(),
      ) {
  connectionEndpoints = registerOutput<List<Map<String, dynamic>>>('connectionEndpoints');
  connectionPreference = registerOutput<String>('connectionPreference');
  creationTimestamp = registerOutput<String>('creationTimestamp');
  description = registerOutput<String>('description');
  fingerprint = registerOutput<String>('fingerprint');
  kind = registerOutput<String>('kind');
  this.name = registerOutput<String>('name');
  network = registerOutput<String>('network');
  producerAcceptLists = registerOutput<List<String>>('producerAcceptLists');
  producerRejectLists = registerOutput<List<String>>('producerRejectLists');
  project = registerOutput<String>('project');
  region = registerOutput<String>('region');
  requestId = registerOutput<String?>('requestId');
  selfLink = registerOutput<String>('selfLink');
  selfLinkWithId = registerOutput<String>('selfLinkWithId');
  subnetworks = registerOutput<List<String>>('subnetworks');
}