SourceRepresentationInstanceArgs class
The set of arguments for SourceRepresentationInstance. The set of arguments for SourceRepresentationInstance.
Constructors
-
SourceRepresentationInstanceArgs({Input<
String?> ? caCertificate, Input<String?> ? clientCertificate, Input<String?> ? clientKey, required Input<String> databaseVersion, Input<String?> ? deletionPolicy, Input<String?> ? dumpFilePath, required Input<String> host, Input<String?> ? name, Input<String?> ? password, Input<int?> ? port, Input<String?> ? project, Input<String?> ? region, Input<String?> ? username}) -
Creates a new SourceRepresentationInstanceArgs.
caCertificateThe CA certificate on the external server. Include only if SSL/TLS is used on the external server.clientCertificateThe client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.clientKeyThe private key file for the client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.databaseVersionThe MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, MYSQL_8_4, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18, SQLSERVER_2022_STANDARD, SQLSERVER_2022_ENTERPRISE, SQLSERVER_2022_EXPRESS, SQLSERVER_2022_WEB, SQLSERVER_2025_STANDARD, SQLSERVER_2025_ENTERPRISE, SQLSERVER_2025_EXPRESS, SQLSERVER_2025_WEB. Database Version Policies includes an up-to-date reference of supported versions.deletionPolicyWhether Terraform will be prevented from destroying the resource. Defaults to DELETE.dumpFilePathA file in the bucket that contains the data from the external server.hostThe IPv4 address and port for the external server, or the the DNS address for the external server. If the external server is hosted on Cloud SQL, the port is 5432.nameThe name of the source representation instance. Use any valid Cloud SQL instance name.passwordThe password for the replication user account.portThe externally accessible port for the source database server.projectThe ID of the project in which the resource belongs.regionThe Region in which the created instance should reside.usernameThe replication user account on the external server.const -
SourceRepresentationInstanceArgs.fromMap(Map<
String, dynamic> map) -
factory
Properties
-
caCertificate
→ Input<
String?> ? -
The CA certificate on the external server. Include only if SSL/TLS is used on the external server.
final
-
clientCertificate
→ Input<
String?> ? -
The client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
final
-
clientKey
→ Input<
String?> ? -
The private key file for the client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server.
final
-
databaseVersion
→ Input<
String> -
The MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, MYSQL_8_0, MYSQL_8_4, POSTGRES_9_6, POSTGRES_10, POSTGRES_11, POSTGRES_12, POSTGRES_13, POSTGRES_14, POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18, SQLSERVER_2022_STANDARD, SQLSERVER_2022_ENTERPRISE, SQLSERVER_2022_EXPRESS, SQLSERVER_2022_WEB, SQLSERVER_2025_STANDARD, SQLSERVER_2025_ENTERPRISE, SQLSERVER_2025_EXPRESS, SQLSERVER_2025_WEB. Database Version Policies includes an up-to-date reference of supported versions.
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
-
dumpFilePath
→ Input<
String?> ? -
A file in the bucket that contains the data from the external server.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
host
→ Input<
String> -
The IPv4 address and port for the external server, or the the DNS address for the external server. If the external server is hosted on Cloud SQL, the port is 5432.
final
-
name
→ Input<
String?> ? -
The name of the source representation instance. Use any valid Cloud SQL instance name.
final
-
password
→ Input<
String?> ? -
The password for the replication user account.
Note: This property is sensitive and will not be displayed in the plan.
final
-
port
→ Input<
int?> ? -
The externally accessible port for the source database server.
Defaults to 3306.
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
-
region
→ Input<
String?> ? -
The Region in which the created instance should reside.
If it is not provided, the provider region is used.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
username
→ Input<
String?> ? -
The replication user account on the external server.
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