SourceRepresentationInstanceArgs constructor

const SourceRepresentationInstanceArgs({
  1. Input<String?>? caCertificate,
  2. Input<String?>? clientCertificate,
  3. Input<String?>? clientKey,
  4. required Input<String> databaseVersion,
  5. Input<String?>? deletionPolicy,
  6. Input<String?>? dumpFilePath,
  7. required Input<String> host,
  8. Input<String?>? name,
  9. Input<String?>? password,
  10. Input<int?>? port,
  11. Input<String?>? project,
  12. Input<String?>? region,
  13. Input<String?>? username,
})

Creates a new SourceRepresentationInstanceArgs. caCertificate The CA certificate on the external server. Include only if SSL/TLS is used on the external server. clientCertificate The client certificate on the external server. Required only for server-client authentication. Include only if SSL/TLS is used on the external server. clientKey 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. databaseVersion 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. deletionPolicy Whether Terraform will be prevented from destroying the resource. Defaults to DELETE. dumpFilePath A file in the bucket that contains the data from the external server. host 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. name The name of the source representation instance. Use any valid Cloud SQL instance name. password The password for the replication user account. port The externally accessible port for the source database server. project The ID of the project in which the resource belongs. region The Region in which the created instance should reside. username The replication user account on the external server.

Implementation

const SourceRepresentationInstanceArgs({
  this.caCertificate,
  this.clientCertificate,
  this.clientKey,
  required this.databaseVersion,
  this.deletionPolicy,
  this.dumpFilePath,
  required this.host,
  this.name,
  this.password,
  this.port,
  this.project,
  this.region,
  this.username,
});