ServiceAttachmentState class

Input properties used for looking up and filtering ServiceAttachment resources.

Constructors

ServiceAttachmentState({Input<List<ServiceAttachmentConnectedEndpoint>?>? connectedEndpoints, Input<String?>? connectionPreference, Input<List<ServiceAttachmentConsumerAcceptList>?>? consumerAcceptLists, Input<List<String>?>? consumerRejectLists, Input<String?>? deletionPolicy, Input<String?>? description, Input<List<String>?>? domainNames, Input<bool?>? enableProxyProtocol, Input<String?>? fingerprint, Input<String?>? name, Input<List<String>?>? natSubnets, Input<String?>? project, Input<int?>? propagatedConnectionLimit, Input<List<ServiceAttachmentPscServiceAttachmentId>?>? pscServiceAttachmentIds, Input<bool?>? reconcileConnections, Input<String?>? region, Input<String?>? selfLink, Input<bool?>? sendPropagatedConnectionLimitIfZero, Input<bool?>? showNatIps, Input<String?>? targetService, Input<ServiceAttachmentTunnelingConfig?>? tunnelingConfig})
Creates a new ServiceAttachmentState. connectedEndpoints An array of the consumer forwarding rules connected to this service connectionPreference The connection preference to use for this service attachment. Valid consumerAcceptLists An array of projects that are allowed to connect to this service consumerRejectLists An array of projects that are not allowed to connect to this service deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. description An optional description of this resource. domainNames If specified, the domain name will be used during the integration between enableProxyProtocol If true, enable the proxy protocol which is for supplying client TCP/IP fingerprint Fingerprint of this resource. This field is used internally during name Name of the resource. The name must be 1-63 characters long, and natSubnets An array of subnets that is provided for NAT in this service attachment. project The ID of the project in which the resource belongs. propagatedConnectionLimit The number of consumer spokes that connected Private Service Connect endpoints can be propagated to through Network Connectivity Center. pscServiceAttachmentIds An 128-bit global unique ID of the PSC service attachment. reconcileConnections This flag determines whether a consumer accept/reject list change can reconcile the statuses of existing ACCEPTED or REJECTED PSC endpoints. region URL of the region where the resource resides. selfLink The URI of the created resource. sendPropagatedConnectionLimitIfZero Controls the behavior of propagated_connection_limit. showNatIps NOTE: This field is temporarily non-functional due to an underlying API issue. targetService The URL of a service serving the endpoint identified by this service attachment. tunnelingConfig (Optional, Beta)
const
ServiceAttachmentState.fromMap(Map<String, dynamic> map)
factory

Properties

connectedEndpoints → Input<List<ServiceAttachmentConnectedEndpoint>?>?
An array of the consumer forwarding rules connected to this service attachment. Structure is documented below.
final
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
fingerprint → Input<String?>?
Fingerprint of this resource. This field is used internally during updates of this resource.
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
pscServiceAttachmentIds → Input<List<ServiceAttachmentPscServiceAttachmentId>?>?
An 128-bit global unique ID of the PSC service attachment. Structure is documented below.
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
The URI of the created resource.
final
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