Package com.pulumi.gcp.compute
Class NetworkAttachmentArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.NetworkAttachmentArgs
-
public final class NetworkAttachmentArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NetworkAttachmentArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static NetworkAttachmentArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NetworkAttachmentArgs.Builder
builder()
static NetworkAttachmentArgs.Builder
builder(NetworkAttachmentArgs defaults)
com.pulumi.core.Output<java.lang.String>
connectionPreference()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
producerAcceptLists()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
producerRejectLists()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
region()
com.pulumi.core.Output<java.util.List<java.lang.String>>
subnetworks()
-
-
-
Field Detail
-
Empty
public static final NetworkAttachmentArgs Empty
-
-
Method Detail
-
connectionPreference
public com.pulumi.core.Output<java.lang.String> connectionPreference()
- Returns:
- 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`.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- An optional description of this resource. Provide this property when you create the resource.
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- 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.
-
producerAcceptLists
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> producerAcceptLists()
- Returns:
- Projects that are allowed to connect to this network attachment. The project can be specified using its id or number.
-
producerRejectLists
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> producerRejectLists()
- Returns:
- Projects that are not allowed to connect to this network attachment. The project can be specified using its id or number.
-
project
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> project()
- Returns:
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- 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. ***
-
subnetworks
public com.pulumi.core.Output<java.util.List<java.lang.String>> subnetworks()
- Returns:
- 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.
-
builder
public static NetworkAttachmentArgs.Builder builder()
-
builder
public static NetworkAttachmentArgs.Builder builder(NetworkAttachmentArgs defaults)
-
-