ServiceConnectionPolicyArgs class
The set of arguments for ServiceConnectionPolicy. The set of arguments for ServiceConnectionPolicy.
Constructors
-
ServiceConnectionPolicyArgs({Input<
String?> ? deletionPolicy, Input<String?> ? description, Input<Map< ? labels, required Input<String, String> ?>String> location, Input<String?> ? name, required Input<String> network, Input<String?> ? project, Input<ServiceConnectionPolicyPscConfig?> ? pscConfig, required Input<String> serviceClass}) -
Creates a new ServiceConnectionPolicyArgs.
deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionFree-text description of the resource.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.serviceClassThe service class identifier for which this ServiceConnectionPolicy is for. The service class identifier is a unique, symbolic representation of a ServiceClass.const -
ServiceConnectionPolicyArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
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
- hashCode → int
-
The hash code for this object.
no setterinherited
-
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
- 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
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