ConnectionState class
Input properties used for looking up and filtering Connection resources.
Constructors
-
ConnectionState({Input<
ConnectionAws?> ? aws, Input<ConnectionAzure?> ? azure, Input<ConnectionCloudResource?> ? cloudResource, Input<ConnectionCloudSpanner?> ? cloudSpanner, Input<ConnectionCloudSql?> ? cloudSql, Input<ConnectionConfiguration?> ? configuration, Input<String?> ? connectionId, Input<String?> ? deletionPolicy, Input<String?> ? description, Input<String?> ? friendlyName, Input<bool?> ? hasCredential, Input<String?> ? kmsKeyName, Input<String?> ? location, Input<String?> ? name, Input<String?> ? project, Input<ConnectionSpark?> ? spark}) -
Creates a new ConnectionState.
awsConnection properties specific to Amazon Web Services.azureContainer for connection properties specific to Azure.cloudResourceContainer for connection properties for delegation of access to GCP resources.cloudSpannerConnection properties specific to Cloud SpannercloudSqlConnection properties specific to the Cloud SQL.configurationConnector configuration. This is a generic configuration that is used to connect toconnectionIdOptional connection id that should be assigned to the created connection.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.descriptionA descriptive description for the connectionfriendlyNameA descriptive name for the connectionhasCredentialTrue if the connection has credential assigned.kmsKeyNameOptional. The Cloud KMS key that is used for encryption.locationThe geographic location where the connection should reside.nameThe resource name of the connection in the form of:projectThe ID of the project in which the resource belongs.sparkContainer for connection properties to execute stored procedures for Apache Spark. resources.const -
ConnectionState.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
aws
→ Input<
ConnectionAws?> ? -
Connection properties specific to Amazon Web Services.
Structure is documented below.
final
-
azure
→ Input<
ConnectionAzure?> ? -
Container for connection properties specific to Azure.
Structure is documented below.
final
-
cloudResource
→ Input<
ConnectionCloudResource?> ? -
Container for connection properties for delegation of access to GCP resources.
Structure is documented below.
final
-
cloudSpanner
→ Input<
ConnectionCloudSpanner?> ? -
Connection properties specific to Cloud Spanner
Structure is documented below.
final
-
cloudSql
→ Input<
ConnectionCloudSql?> ? -
Connection properties specific to the Cloud SQL.
Structure is documented below.
final
-
configuration
→ Input<
ConnectionConfiguration?> ? -
Connector configuration. This is a generic configuration that is used to connect to
external data sources such as AlloyDB, MySQL, and PostgreSQL using the BigQuery
Connector framework.
Structure is documented below.
final
-
connectionId
→ Input<
String?> ? -
Optional connection id that should be assigned to the created connection.
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?> ? -
A descriptive description for the connection
final
-
friendlyName
→ Input<
String?> ? -
A descriptive name for the connection
final
-
hasCredential
→ Input<
bool?> ? -
True if the connection has credential assigned.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
kmsKeyName
→ Input<
String?> ? -
Optional. The Cloud KMS key that is used for encryption.
Example: projects/
kmsProjectId/locations/region/keyRings/keyRegion/cryptoKeys/keyfinal -
location
→ Input<
String?> ? -
The geographic location where the connection should reside.
Cloud SQL instance must be in the same location as the connection
with following exceptions: Cloud SQL us-central1 maps to BigQuery US, Cloud SQL europe-west1 maps to BigQuery EU.
Examples: US, EU, asia-northeast1, us-central1, europe-west1.
Spanner Connections same as spanner region
AWS allowed regions are aws-us-east-1
Azure allowed regions are azure-eastus2
final
-
name
→ Input<
String?> ? -
The resource name of the connection in the form of:
"projects/{project_id}/locations/{location_id}/connections/{connectionId}"
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
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
spark
→ Input<
ConnectionSpark?> ? -
Container for connection properties to execute stored procedures for Apache Spark. resources.
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