ServiceConnectionPolicyState class
Input properties used for looking up and filtering ServiceConnectionPolicy resources.
Constructors
-
ServiceConnectionPolicyState({Input<
String?> ? createTime, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? effectiveLabels, Input<String, String> ?>String?> ? etag, Input<String?> ? infrastructure, Input<Map< ? labels, Input<String, String> ?>String?> ? location, Input<String?> ? name, Input<String?> ? network, Input<String?> ? project, Input<ServiceConnectionPolicyPscConfig?> ? pscConfig, Input<List< ? pscConnections, Input<ServiceConnectionPolicyPscConnection> ?>Map< ? pulumiLabels, Input<String, String> ?>String?> ? serviceClass, Input<String?> ? updateTime}) -
Creates a new ServiceConnectionPolicyState.
createTimeThe timestamp when the resource was created.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionFree-text description of the resource.effectiveLabelsAll of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.etagThe etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.infrastructureThe type of underlying resources used to create the connection.labelsUser-defined labels.locationThe location of the ServiceConnectionPolicy.nameThe name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-namesnetworkThe resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.projectThe ID of the project in which the resource belongs.pscConfigConfiguration used for Private Service Connect connections. Used when Infrastructure is PSC.pscConnectionsInformation about each Private Service Connect connection.pulumiLabelsThe combination of labels configured directly on the resourceserviceClassThe service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass.updateTimeThe timestamp when the resource was updated.const -
ServiceConnectionPolicyState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
createTime
→ Input<
String?> ? -
The timestamp when the resource was created.
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?> ? -
Free-text description of the resource.
final
-
effectiveLabels
→ Input<
Map< ?String, String> ?> -
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
final
-
etag
→ Input<
String?> ? -
The etag is computed by the server, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
infrastructure
→ Input<
String?> ? -
The type of underlying resources used to create the connection.
final
-
labels
→ Input<
Map< ?String, String> ?> -
User-defined labels.
final
-
location
→ Input<
String?> ? -
The location of the ServiceConnectionPolicy.
final
-
name
→ Input<
String?> ? -
The name of a ServiceConnectionPolicy. Format: projects/{project}/locations/{location}/serviceConnectionPolicies/{service_connection_policy} See: https://google.aip.dev/122#fields-representing-resource-names
final
-
network
→ Input<
String?> ? -
The resource path of the consumer network. Example: - projects/{projectNumOrId}/global/networks/{resourceId}.
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
-
pscConfig
→ Input<
ServiceConnectionPolicyPscConfig?> ? -
Configuration used for Private Service Connect connections. Used when Infrastructure is PSC.
Structure is documented below.
final
-
pscConnections
→ Input<
List< ?ServiceConnectionPolicyPscConnection> ?> -
Information about each Private Service Connect connection.
Structure is documented below.
final
-
pulumiLabels
→ Input<
Map< ?String, String> ?> -
The combination of labels configured directly on the resource
and default labels configured on the provider.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
serviceClass
→ Input<
String?> ? -
The service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass.
It is provided by the Service Producer. Google services have a prefix of gcp. For example, google-cloud-sql. 3rd party services do not. For example, test-service-a3dfcx.
For a list of supported services, see Supported Services.
final
-
updateTime
→ Input<
String?> ? -
The timestamp when the resource was updated.
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