NetworkAttachment

class NetworkAttachment : KotlinCustomResource

{{% examples %}}

Example Usage

{{% /examples %}}

Import

NetworkAttachment can be imported using any of these accepted formats

$ pulumi import gcp:compute/networkAttachment:NetworkAttachment default projects/{{project}}/regions/{{region}}/networkAttachments/{{name}}
$ pulumi import gcp:compute/networkAttachment:NetworkAttachment default {{project}}/{{region}}/{{name}}
$ pulumi import gcp:compute/networkAttachment:NetworkAttachment default {{region}}/{{name}}
$ pulumi import gcp:compute/networkAttachment:NetworkAttachment default {{name}}

Properties

Link copied to clipboard

An array of connections for all the producers connected to this network attachment. Structure is documented below.

Link copied to clipboard

The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. Possible values are: ACCEPT_AUTOMATIC, ACCEPT_MANUAL, INVALID.

Link copied to clipboard

Creation timestamp in RFC3339 text format.

Link copied to clipboard
val description: Output<String>?

An optional description of this resource. Provide this property when you create the resource.

Link copied to clipboard
val fingerprint: Output<String>

Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. An up-to-date fingerprint must be provided in order to patch.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val kind: Output<String>

Type of the resource.

Link copied to clipboard
val name: Output<String>

Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression a-z? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.

Link copied to clipboard
val network: Output<String>

The URL of the network which the Network Attachment belongs to. Practically it is inferred by fetching the network of the first subnetwork associated. Because it is required that all the subnetworks must be from the same network, it is assured that the Network Attachment belongs to the same network as all the subnetworks.

Link copied to clipboard

Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.

Link copied to clipboard

Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.

Link copied to clipboard
val project: Output<String>

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val region: Output<String>

URL of the region where the network attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.

Link copied to clipboard
val selfLink: Output<String>

Server-defined URL for the resource.

Link copied to clipboard
val selfLinkWithId: Output<String>

Server-defined URL for this resource's resource id.

Link copied to clipboard
val subnetworks: Output<List<String>>

An array of URLs where each entry is the URL of a subnet provided by the service consumer to use for endpoints in the producers that connect to this network attachment.

Link copied to clipboard
val urn: Output<String>