NetworkAttachment constructor

NetworkAttachment(
  1. String name, {
  2. NetworkAttachmentArgs? args,
  3. CustomResourceOptions? options,
})

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

Implementation

NetworkAttachment(
  String name, {
  NetworkAttachmentArgs? args,
  pulumi.CustomResourceOptions? options,
}) : super(
        'google-native:compute/alpha: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');
}