Show / Hide Table of Contents

Class DatabaseInstanceArgs

Inheritance
System.Object
InputArgs
ResourceArgs
DatabaseInstanceArgs
Inherited Members
ResourceArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Gcp.Sql
Assembly: Pulumi.Gcp.dll
Syntax
public sealed class DatabaseInstanceArgs : ResourceArgs

Constructors

View Source

DatabaseInstanceArgs()

Declaration
public DatabaseInstanceArgs()

Properties

View Source

DatabaseVersion

The MySQL, PostgreSQL or SQL Server (beta) version to use. Supported values include MYSQL_5_6, MYSQL_5_7, POSTGRES_9_6,POSTGRES_10, POSTGRES_11, POSTGRES_12, SQLSERVER_2017_STANDARD, SQLSERVER_2017_ENTERPRISE, SQLSERVER_2017_EXPRESS, SQLSERVER_2017_WEB. Database Version Policies includes an up-to-date reference of supported versions.

Declaration
public Input<string> DatabaseVersion { get; set; }
Property Value
Type Description
Input<System.String>
View Source

EncryptionKeyName

The full path to the encryption key used for the CMEK disk encryption. Setting up disk encryption currently requires manual steps outside of this provider. The provided key must be in the same region as the SQL instance. In order to use this feature, a special kind of service account must be created and granted permission on this key. This step can currently only be done manually, please see this step. That service account needs the Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter role on your key - please see this step.

Declaration
public Input<string> EncryptionKeyName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

MasterInstanceName

The name of the instance that will act as the master in the replication setup. Note, this requires the master to have binary_log_enabled set, as well as existing backups.

Declaration
public Input<string> MasterInstanceName { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Name

A name for this whitelist entry.

Declaration
public Input<string> Name { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Project

The ID of the project in which the resource belongs. If it is not provided, the provider project is used.

Declaration
public Input<string> Project { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Region

The region the instance will sit in. Note, Cloud SQL is not available in all regions - choose from one of the options listed here. A valid region must be provided to use this resource. If a region is not provided in the resource definition, the provider region will be used instead, but this will be an apply-time error for instances if the provider region is not supported with Cloud SQL. If you choose not to provide the region argument for this resource, make sure you understand this.

Declaration
public Input<string> Region { get; set; }
Property Value
Type Description
Input<System.String>
View Source

ReplicaConfiguration

The configuration for replication. The configuration is detailed below.

Declaration
public Input<DatabaseInstanceReplicaConfigurationArgs> ReplicaConfiguration { get; set; }
Property Value
Type Description
Input<DatabaseInstanceReplicaConfigurationArgs>
View Source

RootPassword

Initial root password. Required for MS SQL Server, ignored by MySQL and PostgreSQL.

Declaration
public Input<string> RootPassword { get; set; }
Property Value
Type Description
Input<System.String>
View Source

Settings

The settings to use for the database. The configuration is detailed below.

Declaration
public Input<DatabaseInstanceSettingsArgs> Settings { get; set; }
Property Value
Type Description
Input<DatabaseInstanceSettingsArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.