Package com.pulumi.gcp.compute
Class ServiceAttachmentArgs
- java.lang.Object
-
- com.pulumi.resources.InputArgs
-
- com.pulumi.resources.ResourceArgs
-
- com.pulumi.gcp.compute.ServiceAttachmentArgs
-
public final class ServiceAttachmentArgs extends com.pulumi.resources.ResourceArgs
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ServiceAttachmentArgs.Builder
-
Field Summary
Fields Modifier and Type Field Description static ServiceAttachmentArgs
Empty
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServiceAttachmentArgs.Builder
builder()
static ServiceAttachmentArgs.Builder
builder(ServiceAttachmentArgs defaults)
com.pulumi.core.Output<java.lang.String>
connectionPreference()
java.util.Optional<com.pulumi.core.Output<java.util.List<ServiceAttachmentConsumerAcceptListArgs>>>
consumerAcceptLists()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
consumerRejectLists()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
description()
java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>>
domainNames()
com.pulumi.core.Output<java.lang.Boolean>
enableProxyProtocol()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
name()
com.pulumi.core.Output<java.util.List<java.lang.String>>
natSubnets()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
project()
java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>>
reconcileConnections()
java.util.Optional<com.pulumi.core.Output<java.lang.String>>
region()
com.pulumi.core.Output<java.lang.String>
targetService()
-
-
-
Field Detail
-
Empty
public static final ServiceAttachmentArgs Empty
-
-
Method Detail
-
connectionPreference
public com.pulumi.core.Output<java.lang.String> connectionPreference()
- Returns:
- The connection preference to use for this service attachment. Valid values include "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL".
-
consumerAcceptLists
public java.util.Optional<com.pulumi.core.Output<java.util.List<ServiceAttachmentConsumerAcceptListArgs>>> consumerAcceptLists()
- Returns:
- An array of projects that are allowed to connect to this service attachment. Structure is documented below.
-
consumerRejectLists
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> consumerRejectLists()
- Returns:
- An array of projects that are not allowed to connect to this service attachment.
-
description
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> description()
- Returns:
- An optional description of this resource.
-
domainNames
public java.util.Optional<com.pulumi.core.Output<java.util.List<java.lang.String>>> domainNames()
- Returns:
- If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1.
-
enableProxyProtocol
public com.pulumi.core.Output<java.lang.Boolean> enableProxyProtocol()
- Returns:
- If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers. ***
-
name
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> name()
- Returns:
- Name of the resource. 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.
-
natSubnets
public com.pulumi.core.Output<java.util.List<java.lang.String>> natSubnets()
- Returns:
- An array of subnets that is provided for NAT in this service attachment.
-
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.
-
reconcileConnections
public java.util.Optional<com.pulumi.core.Output<java.lang.Boolean>> reconcileConnections()
- Returns:
- This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. If false, connection policy update will only affect existing PENDING PSC endpoints. Existing ACCEPTED/REJECTED endpoints will remain untouched regardless how the connection policy is modified . If true, update will affect both PENDING and ACCEPTED/REJECTED PSC endpoints. For example, an ACCEPTED PSC endpoint will be moved to REJECTED if its project is added to the reject list. For newly created service attachment, this boolean defaults to true.
-
region
public java.util.Optional<com.pulumi.core.Output<java.lang.String>> region()
- Returns:
- URL of the region where the resource resides.
-
targetService
public com.pulumi.core.Output<java.lang.String> targetService()
- Returns:
- The URL of a forwarding rule that represents the service identified by this service attachment.
-
builder
public static ServiceAttachmentArgs.Builder builder()
-
builder
public static ServiceAttachmentArgs.Builder builder(ServiceAttachmentArgs defaults)
-
-