ServiceAttachmentArgs class
The set of arguments for ServiceAttachment. The set of arguments for ServiceAttachment.
Constructors
-
ServiceAttachmentArgs({required Input<
String> connectionPreference, Input<List< ? consumerAcceptLists, Input<ServiceAttachmentConsumerAcceptList> ?>List< ? consumerRejectLists, Input<String> ?>String?> ? deletionPolicy, Input<String?> ? description, Input<List< ? domainNames, required Input<String> ?>bool> enableProxyProtocol, Input<String?> ? name, required Input<List< natSubnets, Input<String> >String?> ? project, Input<int?> ? propagatedConnectionLimit, Input<bool?> ? reconcileConnections, Input<String?> ? region, Input<bool?> ? sendPropagatedConnectionLimitIfZero, Input<bool?> ? showNatIps, required Input<String> targetService, Input<ServiceAttachmentTunnelingConfig?> ? tunnelingConfig}) -
Creates a new ServiceAttachmentArgs.
connectionPreferenceThe connection preference to use for this service attachment. ValidconsumerAcceptListsAn array of projects that are allowed to connect to this serviceconsumerRejectListsAn array of projects that are not allowed to connect to this servicedeletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionAn optional description of this resource.domainNamesIf specified, the domain name will be used during the integration betweenenableProxyProtocolIf true, enable the proxy protocol which is for supplying client TCP/IPnameName of the resource. The name must be 1-63 characters long, andnatSubnetsAn array of subnets that is provided for NAT in this service attachment.projectThe ID of the project in which the resource belongs.propagatedConnectionLimitThe number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center.reconcileConnectionsThis flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints.regionURL of the region where the resource resides.sendPropagatedConnectionLimitIfZeroControls the behavior of propagated_connection_limit.showNatIpsNOTE: This field is temporarily non-functional due to an underlying API issue.targetServiceThe URL of a service serving the endpoint identified by this service attachment.tunnelingConfig(Optional, Beta)const -
ServiceAttachmentArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
connectionPreference
→ Input<
String> -
The connection preference to use for this service attachment. Valid
values include "ACCEPT_AUTOMATIC", "ACCEPT_MANUAL".
final
-
consumerAcceptLists
→ Input<
List< ?ServiceAttachmentConsumerAcceptList> ?> -
An array of projects that are allowed to connect to this service
attachment.
Structure is documented below.
final
-
consumerRejectLists
→ Input<
List< ?String> ?> -
An array of projects that are not allowed to connect to this service
attachment.
final
-
deletionPolicy
→ Input<
String?> ? -
Whether Terraform will be prevented from destroying the resource. Defaults to DELETE.
When a 'terraform destroy' or 'pulumi up' would delete the resource,
the command will fail if this field is set to "PREVENT" in Terraform state.
When set to "ABANDON", the command will remove the resource from Terraform
management without updating or deleting the resource in the API.
When set to "DELETE", deleting the resource is allowed.
final
-
description
→ Input<
String?> ? -
An optional description of this resource.
final
-
domainNames
→ Input<
List< ?String> ?> -
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.
final
-
enableProxyProtocol
→ Input<
bool> -
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.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
name
→ Input<
String?> ? -
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.final -
natSubnets
→ Input<
List< String> > -
An array of subnets that is provided for NAT in this service attachment.
final
-
project
→ Input<
String?> ? -
The ID of the project in which the resource belongs.
If it is not provided, the provider project is used.
final
-
propagatedConnectionLimit
→ Input<
int?> ? -
The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center.
This limit lets the service producer limit how many propagated Private Service Connect connections can be established to this service attachment from a single consumer.
If the connection preference of the service attachment is ACCEPT_MANUAL, the limit applies to each project or network that is listed in the consumer accept list.
If the connection preference of the service attachment is ACCEPT_AUTOMATIC, the limit applies to each project that contains a connected endpoint.
If unspecified, the default propagated connection limit is 250. To explicitly send a zero value, set
sendPropagatedConnectionLimitIfZero = true.final -
reconcileConnections
→ Input<
bool?> ? -
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.
final
-
region
→ Input<
String?> ? -
URL of the region where the resource resides.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
sendPropagatedConnectionLimitIfZero
→ Input<
bool?> ? -
Controls the behavior of propagated_connection_limit.
When false, setting propagatedConnectionLimit to zero causes the provider to use to the API's default value.
When true, the provider will set propagatedConnectionLimit to zero.
Defaults to false.
final
-
showNatIps
→ Input<
bool?> ? -
NOTE: This field is temporarily non-functional due to an underlying API issue.
Any value provided here will be ignored until the API issue is resolved, expected around 2026-03.
If true, show NAT IPs of all connected endpoints.final -
targetService
→ Input<
String> -
The URL of a service serving the endpoint identified by this service attachment.
final
-
tunnelingConfig
→ Input<
ServiceAttachmentTunnelingConfig?> ? -
(Optional, Beta)
Tunneling configuration for this service attachment.
Structure is documented below.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited