Show / Hide Table of Contents

Class DatabaseInstanceState

Inheritance
System.Object
InputArgs
ResourceArgs
DatabaseInstanceState
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 DatabaseInstanceState : ResourceArgs

Constructors

View Source

DatabaseInstanceState()

Declaration
public DatabaseInstanceState()

Properties

View Source

ConnectionName

The connection name of the instance to be used in connection strings. For example, when connecting with Cloud SQL Proxy.

Declaration
public Input<string> ConnectionName { get; set; }
Property Value
Type Description
Input<System.String>
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

FirstIpAddress

The first IPv4 address of any type assigned.

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

IpAddresses

Declaration
public InputList<DatabaseInstanceIpAddressGetArgs> IpAddresses { get; set; }
Property Value
Type Description
InputList<DatabaseInstanceIpAddressGetArgs>
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

PrivateIpAddress

The first private (PRIVATE) IPv4 address assigned.

Declaration
public Input<string> PrivateIpAddress { 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

PublicIpAddress

The first public (PRIMARY) IPv4 address assigned.

Declaration
public Input<string> PublicIpAddress { 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<DatabaseInstanceReplicaConfigurationGetArgs> ReplicaConfiguration { get; set; }
Property Value
Type Description
Input<DatabaseInstanceReplicaConfigurationGetArgs>
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

SelfLink

The URI of the created resource.

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

ServerCaCert

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

ServiceAccountEmailAddress

The service account email address assigned to the instance.

Declaration
public Input<string> ServiceAccountEmailAddress { 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<DatabaseInstanceSettingsGetArgs> Settings { get; set; }
Property Value
Type Description
Input<DatabaseInstanceSettingsGetArgs>
  • View Source
Back to top Copyright 2016-2020, Pulumi Corporation.