sql

package
v6.44.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 29, 2022 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Database

type Database struct {
	pulumi.CustomResourceState

	// The charset value. See MySQL's
	// [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
	// and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
	// for more details and supported values. Postgres databases only support
	// a value of `UTF8` at creation time.
	Charset pulumi.StringOutput `pulumi:"charset"`
	// The collation value. See MySQL's
	// [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
	// and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
	// for more details and supported values. Postgres databases only support
	// a value of `en_US.UTF8` at creation time.
	Collation pulumi.StringOutput `pulumi:"collation"`
	// The name of the Cloud SQL instance. This does not include the project
	// ID.
	Instance pulumi.StringOutput `pulumi:"instance"`
	// The name of the database in the Cloud SQL instance.
	// This does not include the project ID or instance name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The URI of the created resource.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
}

Represents a SQL database inside the Cloud SQL instance, hosted in Google's cloud.

## Example Usage ### Sql Database Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		instance, err := sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{
			Region:          pulumi.String("us-central1"),
			DatabaseVersion: pulumi.String("MYSQL_8_0"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
			DeletionProtection: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = sql.NewDatabase(ctx, "database", &sql.DatabaseArgs{
			Instance: instance.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database can be imported using any of these accepted formats

```sh

$ pulumi import gcp:sql/database:Database default projects/{{project}}/instances/{{instance}}/databases/{{name}}

```

```sh

$ pulumi import gcp:sql/database:Database default instances/{{instance}}/databases/{{name}}

```

```sh

$ pulumi import gcp:sql/database:Database default {{project}}/{{instance}}/{{name}}

```

```sh

$ pulumi import gcp:sql/database:Database default {{instance}}/{{name}}

```

```sh

$ pulumi import gcp:sql/database:Database default {{name}}

```

func GetDatabase

func GetDatabase(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)

GetDatabase gets an existing Database resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabase

func NewDatabase(ctx *pulumi.Context,
	name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)

NewDatabase registers a new resource with the given unique name, arguments, and options.

func (*Database) ElementType

func (*Database) ElementType() reflect.Type

func (*Database) ToDatabaseOutput

func (i *Database) ToDatabaseOutput() DatabaseOutput

func (*Database) ToDatabaseOutputWithContext

func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseArgs

type DatabaseArgs struct {
	// The charset value. See MySQL's
	// [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
	// and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
	// for more details and supported values. Postgres databases only support
	// a value of `UTF8` at creation time.
	Charset pulumi.StringPtrInput
	// The collation value. See MySQL's
	// [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
	// and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
	// for more details and supported values. Postgres databases only support
	// a value of `en_US.UTF8` at creation time.
	Collation pulumi.StringPtrInput
	// The name of the Cloud SQL instance. This does not include the project
	// ID.
	Instance pulumi.StringInput
	// The name of the database in the Cloud SQL instance.
	// This does not include the project ID or instance name.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a Database resource.

func (DatabaseArgs) ElementType

func (DatabaseArgs) ElementType() reflect.Type

type DatabaseArray

type DatabaseArray []DatabaseInput

func (DatabaseArray) ElementType

func (DatabaseArray) ElementType() reflect.Type

func (DatabaseArray) ToDatabaseArrayOutput

func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArray) ToDatabaseArrayOutputWithContext

func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseArrayInput

type DatabaseArrayInput interface {
	pulumi.Input

	ToDatabaseArrayOutput() DatabaseArrayOutput
	ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput
}

DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:

DatabaseArray{ DatabaseArgs{...} }

type DatabaseArrayOutput

type DatabaseArrayOutput struct{ *pulumi.OutputState }

func (DatabaseArrayOutput) ElementType

func (DatabaseArrayOutput) ElementType() reflect.Type

func (DatabaseArrayOutput) Index

func (DatabaseArrayOutput) ToDatabaseArrayOutput

func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput

func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext

func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput

type DatabaseInput

type DatabaseInput interface {
	pulumi.Input

	ToDatabaseOutput() DatabaseOutput
	ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
}

type DatabaseInstance

type DatabaseInstance struct {
	pulumi.CustomResourceState

	// The list of all maintenance versions applicable on the instance.
	AvailableMaintenanceVersions pulumi.StringArrayOutput `pulumi:"availableMaintenanceVersions"`
	// The context needed to create this instance as a clone of another instance. When this field is set during
	// resource creation, this provider will attempt to clone another instance as indicated in the context. The
	// configuration is detailed below.
	Clone DatabaseInstanceClonePtrOutput `pulumi:"clone"`
	// The connection name of the instance to be used in
	// connection strings. For example, when connecting with [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/connect-admin-proxy).
	ConnectionName pulumi.StringOutput `pulumi:"connectionName"`
	// The MySQL, PostgreSQL or
	// SQL Server version to use. Supported values include `MYSQL_5_6`,
	// `MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
	// `POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `SQLSERVER_2017_STANDARD`,
	// `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
	// `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
	// `SQLSERVER_2019_WEB`.
	// [Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
	// includes an up-to-date reference of supported versions.
	DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"`
	// Whether or not to allow the provider to destroy the instance. Unless this field is set to false
	// in state, a `destroy` or `update` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"`
	// 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](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account).
	// That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your
	// key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey).
	EncryptionKeyName pulumi.StringOutput `pulumi:"encryptionKeyName"`
	// The first IPv4 address of any type assigned.
	FirstIpAddress pulumi.StringOutput                  `pulumi:"firstIpAddress"`
	IpAddresses    DatabaseInstanceIpAddressArrayOutput `pulumi:"ipAddresses"`
	// The current software version on the instance. This attribute can not be set during creation. Refer to `availableMaintenanceVersions` attribute to see what `maintenanceVersion` are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a `maintenanceVersion` value that is older than the current one on the instance will be ignored.
	MaintenanceVersion pulumi.StringOutput `pulumi:"maintenanceVersion"`
	// The name of the existing instance that will
	// act as the master in the replication setup. Note, this requires the master to
	// have `binaryLogEnabled` set, as well as existing backups.
	MasterInstanceName pulumi.StringOutput `pulumi:"masterInstanceName"`
	// A name for this whitelist entry.
	Name pulumi.StringOutput `pulumi:"name"`
	// The first private (`PRIVATE`) IPv4 address assigned.
	PrivateIpAddress pulumi.StringOutput `pulumi:"privateIpAddress"`
	// The full project ID of the source instance.`
	Project pulumi.StringOutput `pulumi:"project"`
	// The first public (`PRIMARY`) IPv4 address assigned.
	PublicIpAddress pulumi.StringOutput `pulumi:"publicIpAddress"`
	// The region the instance will sit in. If a region is not provided in the resource definition,
	// the provider region will be used instead.
	Region pulumi.StringOutput `pulumi:"region"`
	// The configuration for replication. The
	// configuration is detailed below. Valid only for MySQL instances.
	ReplicaConfiguration DatabaseInstanceReplicaConfigurationOutput `pulumi:"replicaConfiguration"`
	// The context needed to restore the database to a backup run. This field will
	// cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
	// **NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
	// block during resource creation/update will trigger the restore action after the resource is created/updated.
	RestoreBackupContext DatabaseInstanceRestoreBackupContextPtrOutput `pulumi:"restoreBackupContext"`
	// Initial root password. Required for MS SQL Server.
	RootPassword pulumi.StringPtrOutput `pulumi:"rootPassword"`
	// The URI of the created resource.
	SelfLink      pulumi.StringOutput                     `pulumi:"selfLink"`
	ServerCaCerts DatabaseInstanceServerCaCertArrayOutput `pulumi:"serverCaCerts"`
	// The service account email address assigned to the
	// instance.
	ServiceAccountEmailAddress pulumi.StringOutput `pulumi:"serviceAccountEmailAddress"`
	// The settings to use for the database. The
	// configuration is detailed below. Required if `clone` is not set.
	Settings DatabaseInstanceSettingsOutput `pulumi:"settings"`
}

Creates a new Google SQL Database Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/instances).

> **NOTE on `sql.DatabaseInstance`:** - Second-generation instances include a default 'root'@'%' user with no password. This user will be deleted by the provider on instance creation. You should use `sql.User` to define a custom user with a restricted host and strong password.

> **Note**: On newer versions of the provider, you must explicitly set `deletion_protection=false` (and run `pulumi update` to write the field to state) in order to destroy an instance. It is recommended to not set this field (or set it to true) until you're ready to destroy the instance and its databases.

## Example Usage ### SQL Second Generation Instance

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sql.NewDatabaseInstance(ctx, "main", &sql.DatabaseInstanceArgs{
			DatabaseVersion: pulumi.String("POSTGRES_14"),
			Region:          pulumi.String("us-central1"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Private IP Instance > **NOTE:** For private IP instance setup, note that the `sql.DatabaseInstance` does not actually interpolate values from `servicenetworking.Connection`. You must explicitly add a `dependsOn`reference as shown below.

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/servicenetworking"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		privateNetwork, err := compute.NewNetwork(ctx, "privateNetwork", nil, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		privateIpAddress, err := compute.NewGlobalAddress(ctx, "privateIpAddress", &compute.GlobalAddressArgs{
			Purpose:      pulumi.String("VPC_PEERING"),
			AddressType:  pulumi.String("INTERNAL"),
			PrefixLength: pulumi.Int(16),
			Network:      privateNetwork.ID(),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		privateVpcConnection, err := servicenetworking.NewConnection(ctx, "privateVpcConnection", &servicenetworking.ConnectionArgs{
			Network: privateNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAddress.Name,
			},
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = random.NewRandomId(ctx, "dbNameSuffix", &random.RandomIdArgs{
			ByteLength: pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		_, err = sql.NewDatabaseInstance(ctx, "instance", &sql.DatabaseInstanceArgs{
			Region:          pulumi.String("us-central1"),
			DatabaseVersion: pulumi.String("MYSQL_5_7"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
				IpConfiguration: &sql.DatabaseInstanceSettingsIpConfigurationArgs{
					Ipv4Enabled:    pulumi.Bool(false),
					PrivateNetwork: privateNetwork.ID(),
				},
			},
		}, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{
			privateVpcConnection,
		}))
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Database instances can be imported using one of any of these accepted formats

```sh

$ pulumi import gcp:sql/databaseInstance:DatabaseInstance main projects/{{project}}/instances/{{name}}

```

```sh

$ pulumi import gcp:sql/databaseInstance:DatabaseInstance main {{project}}/{{name}}

```

```sh

$ pulumi import gcp:sql/databaseInstance:DatabaseInstance main {{name}}

```

config and set on the server. When importing, double-check that your config has all the fields set that you expect- just seeing no diff isn't sufficient to know that your config could reproduce the imported resource.

func GetDatabaseInstance

func GetDatabaseInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *DatabaseInstanceState, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

GetDatabaseInstance gets an existing DatabaseInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewDatabaseInstance

func NewDatabaseInstance(ctx *pulumi.Context,
	name string, args *DatabaseInstanceArgs, opts ...pulumi.ResourceOption) (*DatabaseInstance, error)

NewDatabaseInstance registers a new resource with the given unique name, arguments, and options.

func (*DatabaseInstance) ElementType

func (*DatabaseInstance) ElementType() reflect.Type

func (*DatabaseInstance) ToDatabaseInstanceOutput

func (i *DatabaseInstance) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (*DatabaseInstance) ToDatabaseInstanceOutputWithContext

func (i *DatabaseInstance) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

type DatabaseInstanceArgs

type DatabaseInstanceArgs struct {
	// The context needed to create this instance as a clone of another instance. When this field is set during
	// resource creation, this provider will attempt to clone another instance as indicated in the context. The
	// configuration is detailed below.
	Clone DatabaseInstanceClonePtrInput
	// The MySQL, PostgreSQL or
	// SQL Server version to use. Supported values include `MYSQL_5_6`,
	// `MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
	// `POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `SQLSERVER_2017_STANDARD`,
	// `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
	// `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
	// `SQLSERVER_2019_WEB`.
	// [Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
	// includes an up-to-date reference of supported versions.
	DatabaseVersion pulumi.StringInput
	// Whether or not to allow the provider to destroy the instance. Unless this field is set to false
	// in state, a `destroy` or `update` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// 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](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account).
	// That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your
	// key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey).
	EncryptionKeyName pulumi.StringPtrInput
	// The current software version on the instance. This attribute can not be set during creation. Refer to `availableMaintenanceVersions` attribute to see what `maintenanceVersion` are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a `maintenanceVersion` value that is older than the current one on the instance will be ignored.
	MaintenanceVersion pulumi.StringPtrInput
	// The name of the existing instance that will
	// act as the master in the replication setup. Note, this requires the master to
	// have `binaryLogEnabled` set, as well as existing backups.
	MasterInstanceName pulumi.StringPtrInput
	// A name for this whitelist entry.
	Name pulumi.StringPtrInput
	// The full project ID of the source instance.`
	Project pulumi.StringPtrInput
	// The region the instance will sit in. If a region is not provided in the resource definition,
	// the provider region will be used instead.
	Region pulumi.StringPtrInput
	// The configuration for replication. The
	// configuration is detailed below. Valid only for MySQL instances.
	ReplicaConfiguration DatabaseInstanceReplicaConfigurationPtrInput
	// The context needed to restore the database to a backup run. This field will
	// cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
	// **NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
	// block during resource creation/update will trigger the restore action after the resource is created/updated.
	RestoreBackupContext DatabaseInstanceRestoreBackupContextPtrInput
	// Initial root password. Required for MS SQL Server.
	RootPassword pulumi.StringPtrInput
	// The settings to use for the database. The
	// configuration is detailed below. Required if `clone` is not set.
	Settings DatabaseInstanceSettingsPtrInput
}

The set of arguments for constructing a DatabaseInstance resource.

func (DatabaseInstanceArgs) ElementType

func (DatabaseInstanceArgs) ElementType() reflect.Type

type DatabaseInstanceArray

type DatabaseInstanceArray []DatabaseInstanceInput

func (DatabaseInstanceArray) ElementType

func (DatabaseInstanceArray) ElementType() reflect.Type

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutput

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext

func (i DatabaseInstanceArray) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

type DatabaseInstanceArrayInput

type DatabaseInstanceArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput
	ToDatabaseInstanceArrayOutputWithContext(context.Context) DatabaseInstanceArrayOutput
}

DatabaseInstanceArrayInput is an input type that accepts DatabaseInstanceArray and DatabaseInstanceArrayOutput values. You can construct a concrete instance of `DatabaseInstanceArrayInput` via:

DatabaseInstanceArray{ DatabaseInstanceArgs{...} }

type DatabaseInstanceArrayOutput

type DatabaseInstanceArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceArrayOutput) ElementType

func (DatabaseInstanceArrayOutput) Index

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutput() DatabaseInstanceArrayOutput

func (DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext

func (o DatabaseInstanceArrayOutput) ToDatabaseInstanceArrayOutputWithContext(ctx context.Context) DatabaseInstanceArrayOutput

type DatabaseInstanceClone

type DatabaseInstanceClone struct {
	// The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
	AllocatedIpRange *string `pulumi:"allocatedIpRange"`
	// The timestamp of the point in time that should be restored.
	PointInTime *string `pulumi:"pointInTime"`
	// Name of the source instance which will be cloned.
	SourceInstanceName string `pulumi:"sourceInstanceName"`
}

type DatabaseInstanceCloneArgs

type DatabaseInstanceCloneArgs struct {
	// The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
	AllocatedIpRange pulumi.StringPtrInput `pulumi:"allocatedIpRange"`
	// The timestamp of the point in time that should be restored.
	PointInTime pulumi.StringPtrInput `pulumi:"pointInTime"`
	// Name of the source instance which will be cloned.
	SourceInstanceName pulumi.StringInput `pulumi:"sourceInstanceName"`
}

func (DatabaseInstanceCloneArgs) ElementType

func (DatabaseInstanceCloneArgs) ElementType() reflect.Type

func (DatabaseInstanceCloneArgs) ToDatabaseInstanceCloneOutput

func (i DatabaseInstanceCloneArgs) ToDatabaseInstanceCloneOutput() DatabaseInstanceCloneOutput

func (DatabaseInstanceCloneArgs) ToDatabaseInstanceCloneOutputWithContext

func (i DatabaseInstanceCloneArgs) ToDatabaseInstanceCloneOutputWithContext(ctx context.Context) DatabaseInstanceCloneOutput

func (DatabaseInstanceCloneArgs) ToDatabaseInstanceClonePtrOutput

func (i DatabaseInstanceCloneArgs) ToDatabaseInstanceClonePtrOutput() DatabaseInstanceClonePtrOutput

func (DatabaseInstanceCloneArgs) ToDatabaseInstanceClonePtrOutputWithContext

func (i DatabaseInstanceCloneArgs) ToDatabaseInstanceClonePtrOutputWithContext(ctx context.Context) DatabaseInstanceClonePtrOutput

type DatabaseInstanceCloneInput

type DatabaseInstanceCloneInput interface {
	pulumi.Input

	ToDatabaseInstanceCloneOutput() DatabaseInstanceCloneOutput
	ToDatabaseInstanceCloneOutputWithContext(context.Context) DatabaseInstanceCloneOutput
}

DatabaseInstanceCloneInput is an input type that accepts DatabaseInstanceCloneArgs and DatabaseInstanceCloneOutput values. You can construct a concrete instance of `DatabaseInstanceCloneInput` via:

DatabaseInstanceCloneArgs{...}

type DatabaseInstanceCloneOutput

type DatabaseInstanceCloneOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceCloneOutput) AllocatedIpRange added in v6.12.0

func (o DatabaseInstanceCloneOutput) AllocatedIpRange() pulumi.StringPtrOutput

The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.

func (DatabaseInstanceCloneOutput) ElementType

func (DatabaseInstanceCloneOutput) PointInTime

The timestamp of the point in time that should be restored.

func (DatabaseInstanceCloneOutput) SourceInstanceName

func (o DatabaseInstanceCloneOutput) SourceInstanceName() pulumi.StringOutput

Name of the source instance which will be cloned.

func (DatabaseInstanceCloneOutput) ToDatabaseInstanceCloneOutput

func (o DatabaseInstanceCloneOutput) ToDatabaseInstanceCloneOutput() DatabaseInstanceCloneOutput

func (DatabaseInstanceCloneOutput) ToDatabaseInstanceCloneOutputWithContext

func (o DatabaseInstanceCloneOutput) ToDatabaseInstanceCloneOutputWithContext(ctx context.Context) DatabaseInstanceCloneOutput

func (DatabaseInstanceCloneOutput) ToDatabaseInstanceClonePtrOutput

func (o DatabaseInstanceCloneOutput) ToDatabaseInstanceClonePtrOutput() DatabaseInstanceClonePtrOutput

func (DatabaseInstanceCloneOutput) ToDatabaseInstanceClonePtrOutputWithContext

func (o DatabaseInstanceCloneOutput) ToDatabaseInstanceClonePtrOutputWithContext(ctx context.Context) DatabaseInstanceClonePtrOutput

type DatabaseInstanceClonePtrInput

type DatabaseInstanceClonePtrInput interface {
	pulumi.Input

	ToDatabaseInstanceClonePtrOutput() DatabaseInstanceClonePtrOutput
	ToDatabaseInstanceClonePtrOutputWithContext(context.Context) DatabaseInstanceClonePtrOutput
}

DatabaseInstanceClonePtrInput is an input type that accepts DatabaseInstanceCloneArgs, DatabaseInstanceClonePtr and DatabaseInstanceClonePtrOutput values. You can construct a concrete instance of `DatabaseInstanceClonePtrInput` via:

        DatabaseInstanceCloneArgs{...}

or:

        nil

type DatabaseInstanceClonePtrOutput

type DatabaseInstanceClonePtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceClonePtrOutput) AllocatedIpRange added in v6.12.0

The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.

func (DatabaseInstanceClonePtrOutput) Elem

func (DatabaseInstanceClonePtrOutput) ElementType

func (DatabaseInstanceClonePtrOutput) PointInTime

The timestamp of the point in time that should be restored.

func (DatabaseInstanceClonePtrOutput) SourceInstanceName

func (o DatabaseInstanceClonePtrOutput) SourceInstanceName() pulumi.StringPtrOutput

Name of the source instance which will be cloned.

func (DatabaseInstanceClonePtrOutput) ToDatabaseInstanceClonePtrOutput

func (o DatabaseInstanceClonePtrOutput) ToDatabaseInstanceClonePtrOutput() DatabaseInstanceClonePtrOutput

func (DatabaseInstanceClonePtrOutput) ToDatabaseInstanceClonePtrOutputWithContext

func (o DatabaseInstanceClonePtrOutput) ToDatabaseInstanceClonePtrOutputWithContext(ctx context.Context) DatabaseInstanceClonePtrOutput

type DatabaseInstanceInput

type DatabaseInstanceInput interface {
	pulumi.Input

	ToDatabaseInstanceOutput() DatabaseInstanceOutput
	ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput
}

type DatabaseInstanceIpAddress

type DatabaseInstanceIpAddress struct {
	IpAddress    *string `pulumi:"ipAddress"`
	TimeToRetire *string `pulumi:"timeToRetire"`
	Type         *string `pulumi:"type"`
}

type DatabaseInstanceIpAddressArgs

type DatabaseInstanceIpAddressArgs struct {
	IpAddress    pulumi.StringPtrInput `pulumi:"ipAddress"`
	TimeToRetire pulumi.StringPtrInput `pulumi:"timeToRetire"`
	Type         pulumi.StringPtrInput `pulumi:"type"`
}

func (DatabaseInstanceIpAddressArgs) ElementType

func (DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutput

func (i DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput

func (DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutputWithContext

func (i DatabaseInstanceIpAddressArgs) ToDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressOutput

type DatabaseInstanceIpAddressArray

type DatabaseInstanceIpAddressArray []DatabaseInstanceIpAddressInput

func (DatabaseInstanceIpAddressArray) ElementType

func (DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutput

func (i DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput

func (DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutputWithContext

func (i DatabaseInstanceIpAddressArray) ToDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressArrayOutput

type DatabaseInstanceIpAddressArrayInput

type DatabaseInstanceIpAddressArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput
	ToDatabaseInstanceIpAddressArrayOutputWithContext(context.Context) DatabaseInstanceIpAddressArrayOutput
}

DatabaseInstanceIpAddressArrayInput is an input type that accepts DatabaseInstanceIpAddressArray and DatabaseInstanceIpAddressArrayOutput values. You can construct a concrete instance of `DatabaseInstanceIpAddressArrayInput` via:

DatabaseInstanceIpAddressArray{ DatabaseInstanceIpAddressArgs{...} }

type DatabaseInstanceIpAddressArrayOutput

type DatabaseInstanceIpAddressArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceIpAddressArrayOutput) ElementType

func (DatabaseInstanceIpAddressArrayOutput) Index

func (DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutput

func (o DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutput() DatabaseInstanceIpAddressArrayOutput

func (DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutputWithContext

func (o DatabaseInstanceIpAddressArrayOutput) ToDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressArrayOutput

type DatabaseInstanceIpAddressInput

type DatabaseInstanceIpAddressInput interface {
	pulumi.Input

	ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput
	ToDatabaseInstanceIpAddressOutputWithContext(context.Context) DatabaseInstanceIpAddressOutput
}

DatabaseInstanceIpAddressInput is an input type that accepts DatabaseInstanceIpAddressArgs and DatabaseInstanceIpAddressOutput values. You can construct a concrete instance of `DatabaseInstanceIpAddressInput` via:

DatabaseInstanceIpAddressArgs{...}

type DatabaseInstanceIpAddressOutput

type DatabaseInstanceIpAddressOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceIpAddressOutput) ElementType

func (DatabaseInstanceIpAddressOutput) IpAddress

func (DatabaseInstanceIpAddressOutput) TimeToRetire

func (DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutput

func (o DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutput() DatabaseInstanceIpAddressOutput

func (DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutputWithContext

func (o DatabaseInstanceIpAddressOutput) ToDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) DatabaseInstanceIpAddressOutput

func (DatabaseInstanceIpAddressOutput) Type

type DatabaseInstanceMap

type DatabaseInstanceMap map[string]DatabaseInstanceInput

func (DatabaseInstanceMap) ElementType

func (DatabaseInstanceMap) ElementType() reflect.Type

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutput

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext

func (i DatabaseInstanceMap) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

type DatabaseInstanceMapInput

type DatabaseInstanceMapInput interface {
	pulumi.Input

	ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput
	ToDatabaseInstanceMapOutputWithContext(context.Context) DatabaseInstanceMapOutput
}

DatabaseInstanceMapInput is an input type that accepts DatabaseInstanceMap and DatabaseInstanceMapOutput values. You can construct a concrete instance of `DatabaseInstanceMapInput` via:

DatabaseInstanceMap{ "key": DatabaseInstanceArgs{...} }

type DatabaseInstanceMapOutput

type DatabaseInstanceMapOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceMapOutput) ElementType

func (DatabaseInstanceMapOutput) ElementType() reflect.Type

func (DatabaseInstanceMapOutput) MapIndex

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutput() DatabaseInstanceMapOutput

func (DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext

func (o DatabaseInstanceMapOutput) ToDatabaseInstanceMapOutputWithContext(ctx context.Context) DatabaseInstanceMapOutput

type DatabaseInstanceOutput

type DatabaseInstanceOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceOutput) AvailableMaintenanceVersions added in v6.40.0

func (o DatabaseInstanceOutput) AvailableMaintenanceVersions() pulumi.StringArrayOutput

The list of all maintenance versions applicable on the instance.

func (DatabaseInstanceOutput) Clone added in v6.23.0

The context needed to create this instance as a clone of another instance. When this field is set during resource creation, this provider will attempt to clone another instance as indicated in the context. The configuration is detailed below.

func (DatabaseInstanceOutput) ConnectionName added in v6.23.0

func (o DatabaseInstanceOutput) ConnectionName() pulumi.StringOutput

The connection name of the instance to be used in connection strings. For example, when connecting with [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/connect-admin-proxy).

func (DatabaseInstanceOutput) DatabaseVersion added in v6.23.0

func (o DatabaseInstanceOutput) DatabaseVersion() pulumi.StringOutput

The MySQL, PostgreSQL or SQL Server version to use. Supported values include `MYSQL_5_6`, `MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`, `POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `SQLSERVER_2017_STANDARD`, `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`. `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`, `SQLSERVER_2019_WEB`. [Database Version Policies](https://cloud.google.com/sql/docs/db-versions) includes an up-to-date reference of supported versions.

func (DatabaseInstanceOutput) DeletionProtection added in v6.23.0

func (o DatabaseInstanceOutput) DeletionProtection() pulumi.BoolPtrOutput

Whether or not to allow the provider to destroy the instance. Unless this field is set to false in state, a `destroy` or `update` command that deletes the instance will fail. Defaults to `true`.

func (DatabaseInstanceOutput) ElementType

func (DatabaseInstanceOutput) ElementType() reflect.Type

func (DatabaseInstanceOutput) EncryptionKeyName added in v6.23.0

func (o DatabaseInstanceOutput) EncryptionKeyName() pulumi.StringOutput

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](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account). That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey).

func (DatabaseInstanceOutput) FirstIpAddress added in v6.23.0

func (o DatabaseInstanceOutput) FirstIpAddress() pulumi.StringOutput

The first IPv4 address of any type assigned.

func (DatabaseInstanceOutput) IpAddresses added in v6.23.0

func (DatabaseInstanceOutput) MaintenanceVersion added in v6.40.0

func (o DatabaseInstanceOutput) MaintenanceVersion() pulumi.StringOutput

The current software version on the instance. This attribute can not be set during creation. Refer to `availableMaintenanceVersions` attribute to see what `maintenanceVersion` are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a `maintenanceVersion` value that is older than the current one on the instance will be ignored.

func (DatabaseInstanceOutput) MasterInstanceName added in v6.23.0

func (o DatabaseInstanceOutput) MasterInstanceName() pulumi.StringOutput

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

func (DatabaseInstanceOutput) Name added in v6.23.0

A name for this whitelist entry.

func (DatabaseInstanceOutput) PrivateIpAddress added in v6.23.0

func (o DatabaseInstanceOutput) PrivateIpAddress() pulumi.StringOutput

The first private (`PRIVATE`) IPv4 address assigned.

func (DatabaseInstanceOutput) Project added in v6.23.0

The full project ID of the source instance.`

func (DatabaseInstanceOutput) PublicIpAddress added in v6.23.0

func (o DatabaseInstanceOutput) PublicIpAddress() pulumi.StringOutput

The first public (`PRIMARY`) IPv4 address assigned.

func (DatabaseInstanceOutput) Region added in v6.23.0

The region the instance will sit in. If a region is not provided in the resource definition, the provider region will be used instead.

func (DatabaseInstanceOutput) ReplicaConfiguration added in v6.23.0

The configuration for replication. The configuration is detailed below. Valid only for MySQL instances.

func (DatabaseInstanceOutput) RestoreBackupContext added in v6.23.0

The context needed to restore the database to a backup run. This field will cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below. **NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this block during resource creation/update will trigger the restore action after the resource is created/updated.

func (DatabaseInstanceOutput) RootPassword added in v6.23.0

Initial root password. Required for MS SQL Server.

The URI of the created resource.

func (DatabaseInstanceOutput) ServerCaCerts added in v6.23.0

func (DatabaseInstanceOutput) ServiceAccountEmailAddress added in v6.23.0

func (o DatabaseInstanceOutput) ServiceAccountEmailAddress() pulumi.StringOutput

The service account email address assigned to the instance.

func (DatabaseInstanceOutput) Settings added in v6.23.0

The settings to use for the database. The configuration is detailed below. Required if `clone` is not set.

func (DatabaseInstanceOutput) ToDatabaseInstanceOutput

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutput() DatabaseInstanceOutput

func (DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext

func (o DatabaseInstanceOutput) ToDatabaseInstanceOutputWithContext(ctx context.Context) DatabaseInstanceOutput

type DatabaseInstanceReplicaConfiguration

type DatabaseInstanceReplicaConfiguration struct {
	// PEM representation of the trusted CA's x509
	// certificate.
	CaCertificate *string `pulumi:"caCertificate"`
	// PEM representation of the replica's x509
	// certificate.
	ClientCertificate *string `pulumi:"clientCertificate"`
	// PEM representation of the replica's private key. The
	// corresponding public key in encoded in the `clientCertificate`.
	ClientKey *string `pulumi:"clientKey"`
	// The number of seconds
	// between connect retries. MySQL's default is 60 seconds.
	ConnectRetryInterval *int `pulumi:"connectRetryInterval"`
	// Path to a SQL file in GCS from which replica
	// instances are created. Format is `gs://bucket/filename`.
	DumpFilePath *string `pulumi:"dumpFilePath"`
	// Specifies if the replica is the failover target.
	// If the field is set to true the replica will be designated as a failover replica.
	// If the master instance fails, the replica instance will be promoted as
	// the new master instance.
	FailoverTarget *bool `pulumi:"failoverTarget"`
	// Time in ms between replication
	// heartbeats.
	MasterHeartbeatPeriod *int `pulumi:"masterHeartbeatPeriod"`
	// Password for the replication connection.
	Password  *string `pulumi:"password"`
	SslCipher *string `pulumi:"sslCipher"`
	// Username for replication connection.
	Username *string `pulumi:"username"`
	// True if the master's common name
	// value is checked during the SSL handshake.
	VerifyServerCertificate *bool `pulumi:"verifyServerCertificate"`
}

type DatabaseInstanceReplicaConfigurationArgs

type DatabaseInstanceReplicaConfigurationArgs struct {
	// PEM representation of the trusted CA's x509
	// certificate.
	CaCertificate pulumi.StringPtrInput `pulumi:"caCertificate"`
	// PEM representation of the replica's x509
	// certificate.
	ClientCertificate pulumi.StringPtrInput `pulumi:"clientCertificate"`
	// PEM representation of the replica's private key. The
	// corresponding public key in encoded in the `clientCertificate`.
	ClientKey pulumi.StringPtrInput `pulumi:"clientKey"`
	// The number of seconds
	// between connect retries. MySQL's default is 60 seconds.
	ConnectRetryInterval pulumi.IntPtrInput `pulumi:"connectRetryInterval"`
	// Path to a SQL file in GCS from which replica
	// instances are created. Format is `gs://bucket/filename`.
	DumpFilePath pulumi.StringPtrInput `pulumi:"dumpFilePath"`
	// Specifies if the replica is the failover target.
	// If the field is set to true the replica will be designated as a failover replica.
	// If the master instance fails, the replica instance will be promoted as
	// the new master instance.
	FailoverTarget pulumi.BoolPtrInput `pulumi:"failoverTarget"`
	// Time in ms between replication
	// heartbeats.
	MasterHeartbeatPeriod pulumi.IntPtrInput `pulumi:"masterHeartbeatPeriod"`
	// Password for the replication connection.
	Password  pulumi.StringPtrInput `pulumi:"password"`
	SslCipher pulumi.StringPtrInput `pulumi:"sslCipher"`
	// Username for replication connection.
	Username pulumi.StringPtrInput `pulumi:"username"`
	// True if the master's common name
	// value is checked during the SSL handshake.
	VerifyServerCertificate pulumi.BoolPtrInput `pulumi:"verifyServerCertificate"`
}

func (DatabaseInstanceReplicaConfigurationArgs) ElementType

func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutput

func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput

func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutputWithContext

func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationOutput

func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutput

func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput

func (DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext

func (i DatabaseInstanceReplicaConfigurationArgs) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput

type DatabaseInstanceReplicaConfigurationInput

type DatabaseInstanceReplicaConfigurationInput interface {
	pulumi.Input

	ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput
	ToDatabaseInstanceReplicaConfigurationOutputWithContext(context.Context) DatabaseInstanceReplicaConfigurationOutput
}

DatabaseInstanceReplicaConfigurationInput is an input type that accepts DatabaseInstanceReplicaConfigurationArgs and DatabaseInstanceReplicaConfigurationOutput values. You can construct a concrete instance of `DatabaseInstanceReplicaConfigurationInput` via:

DatabaseInstanceReplicaConfigurationArgs{...}

type DatabaseInstanceReplicaConfigurationOutput

type DatabaseInstanceReplicaConfigurationOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceReplicaConfigurationOutput) CaCertificate

PEM representation of the trusted CA's x509 certificate.

func (DatabaseInstanceReplicaConfigurationOutput) ClientCertificate

PEM representation of the replica's x509 certificate.

func (DatabaseInstanceReplicaConfigurationOutput) ClientKey

PEM representation of the replica's private key. The corresponding public key in encoded in the `clientCertificate`.

func (DatabaseInstanceReplicaConfigurationOutput) ConnectRetryInterval

The number of seconds between connect retries. MySQL's default is 60 seconds.

func (DatabaseInstanceReplicaConfigurationOutput) DumpFilePath

Path to a SQL file in GCS from which replica instances are created. Format is `gs://bucket/filename`.

func (DatabaseInstanceReplicaConfigurationOutput) ElementType

func (DatabaseInstanceReplicaConfigurationOutput) FailoverTarget

Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance.

func (DatabaseInstanceReplicaConfigurationOutput) MasterHeartbeatPeriod

Time in ms between replication heartbeats.

func (DatabaseInstanceReplicaConfigurationOutput) Password

Password for the replication connection.

func (DatabaseInstanceReplicaConfigurationOutput) SslCipher

func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutput

func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutput() DatabaseInstanceReplicaConfigurationOutput

func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutputWithContext

func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationOutput

func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput

func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput

func (DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext

func (o DatabaseInstanceReplicaConfigurationOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput

func (DatabaseInstanceReplicaConfigurationOutput) Username

Username for replication connection.

func (DatabaseInstanceReplicaConfigurationOutput) VerifyServerCertificate

True if the master's common name value is checked during the SSL handshake.

type DatabaseInstanceReplicaConfigurationPtrInput

type DatabaseInstanceReplicaConfigurationPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput
	ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(context.Context) DatabaseInstanceReplicaConfigurationPtrOutput
}

DatabaseInstanceReplicaConfigurationPtrInput is an input type that accepts DatabaseInstanceReplicaConfigurationArgs, DatabaseInstanceReplicaConfigurationPtr and DatabaseInstanceReplicaConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseInstanceReplicaConfigurationPtrInput` via:

        DatabaseInstanceReplicaConfigurationArgs{...}

or:

        nil

type DatabaseInstanceReplicaConfigurationPtrOutput

type DatabaseInstanceReplicaConfigurationPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceReplicaConfigurationPtrOutput) CaCertificate

PEM representation of the trusted CA's x509 certificate.

func (DatabaseInstanceReplicaConfigurationPtrOutput) ClientCertificate

PEM representation of the replica's x509 certificate.

func (DatabaseInstanceReplicaConfigurationPtrOutput) ClientKey

PEM representation of the replica's private key. The corresponding public key in encoded in the `clientCertificate`.

func (DatabaseInstanceReplicaConfigurationPtrOutput) ConnectRetryInterval

The number of seconds between connect retries. MySQL's default is 60 seconds.

func (DatabaseInstanceReplicaConfigurationPtrOutput) DumpFilePath

Path to a SQL file in GCS from which replica instances are created. Format is `gs://bucket/filename`.

func (DatabaseInstanceReplicaConfigurationPtrOutput) Elem

func (DatabaseInstanceReplicaConfigurationPtrOutput) ElementType

func (DatabaseInstanceReplicaConfigurationPtrOutput) FailoverTarget

Specifies if the replica is the failover target. If the field is set to true the replica will be designated as a failover replica. If the master instance fails, the replica instance will be promoted as the new master instance.

func (DatabaseInstanceReplicaConfigurationPtrOutput) MasterHeartbeatPeriod

Time in ms between replication heartbeats.

func (DatabaseInstanceReplicaConfigurationPtrOutput) Password

Password for the replication connection.

func (DatabaseInstanceReplicaConfigurationPtrOutput) SslCipher

func (DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput

func (o DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutput() DatabaseInstanceReplicaConfigurationPtrOutput

func (DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext

func (o DatabaseInstanceReplicaConfigurationPtrOutput) ToDatabaseInstanceReplicaConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceReplicaConfigurationPtrOutput

func (DatabaseInstanceReplicaConfigurationPtrOutput) Username

Username for replication connection.

func (DatabaseInstanceReplicaConfigurationPtrOutput) VerifyServerCertificate

True if the master's common name value is checked during the SSL handshake.

type DatabaseInstanceRestoreBackupContext

type DatabaseInstanceRestoreBackupContext struct {
	// The ID of the backup run to restore from.
	BackupRunId int `pulumi:"backupRunId"`
	// The ID of the instance that the backup was taken from. If left empty,
	// this instance's ID will be used.
	InstanceId *string `pulumi:"instanceId"`
	// The full project ID of the source instance.`
	Project *string `pulumi:"project"`
}

type DatabaseInstanceRestoreBackupContextArgs

type DatabaseInstanceRestoreBackupContextArgs struct {
	// The ID of the backup run to restore from.
	BackupRunId pulumi.IntInput `pulumi:"backupRunId"`
	// The ID of the instance that the backup was taken from. If left empty,
	// this instance's ID will be used.
	InstanceId pulumi.StringPtrInput `pulumi:"instanceId"`
	// The full project ID of the source instance.`
	Project pulumi.StringPtrInput `pulumi:"project"`
}

func (DatabaseInstanceRestoreBackupContextArgs) ElementType

func (DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextOutput

func (i DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextOutput() DatabaseInstanceRestoreBackupContextOutput

func (DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextOutputWithContext

func (i DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextOutputWithContext(ctx context.Context) DatabaseInstanceRestoreBackupContextOutput

func (DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextPtrOutput

func (i DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextPtrOutput() DatabaseInstanceRestoreBackupContextPtrOutput

func (DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext

func (i DatabaseInstanceRestoreBackupContextArgs) ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext(ctx context.Context) DatabaseInstanceRestoreBackupContextPtrOutput

type DatabaseInstanceRestoreBackupContextInput

type DatabaseInstanceRestoreBackupContextInput interface {
	pulumi.Input

	ToDatabaseInstanceRestoreBackupContextOutput() DatabaseInstanceRestoreBackupContextOutput
	ToDatabaseInstanceRestoreBackupContextOutputWithContext(context.Context) DatabaseInstanceRestoreBackupContextOutput
}

DatabaseInstanceRestoreBackupContextInput is an input type that accepts DatabaseInstanceRestoreBackupContextArgs and DatabaseInstanceRestoreBackupContextOutput values. You can construct a concrete instance of `DatabaseInstanceRestoreBackupContextInput` via:

DatabaseInstanceRestoreBackupContextArgs{...}

type DatabaseInstanceRestoreBackupContextOutput

type DatabaseInstanceRestoreBackupContextOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceRestoreBackupContextOutput) BackupRunId

The ID of the backup run to restore from.

func (DatabaseInstanceRestoreBackupContextOutput) ElementType

func (DatabaseInstanceRestoreBackupContextOutput) InstanceId

The ID of the instance that the backup was taken from. If left empty, this instance's ID will be used.

func (DatabaseInstanceRestoreBackupContextOutput) Project

The full project ID of the source instance.`

func (DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextOutput

func (o DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextOutput() DatabaseInstanceRestoreBackupContextOutput

func (DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextOutputWithContext

func (o DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextOutputWithContext(ctx context.Context) DatabaseInstanceRestoreBackupContextOutput

func (DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextPtrOutput

func (o DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextPtrOutput() DatabaseInstanceRestoreBackupContextPtrOutput

func (DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext

func (o DatabaseInstanceRestoreBackupContextOutput) ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext(ctx context.Context) DatabaseInstanceRestoreBackupContextPtrOutput

type DatabaseInstanceRestoreBackupContextPtrInput

type DatabaseInstanceRestoreBackupContextPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceRestoreBackupContextPtrOutput() DatabaseInstanceRestoreBackupContextPtrOutput
	ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext(context.Context) DatabaseInstanceRestoreBackupContextPtrOutput
}

DatabaseInstanceRestoreBackupContextPtrInput is an input type that accepts DatabaseInstanceRestoreBackupContextArgs, DatabaseInstanceRestoreBackupContextPtr and DatabaseInstanceRestoreBackupContextPtrOutput values. You can construct a concrete instance of `DatabaseInstanceRestoreBackupContextPtrInput` via:

        DatabaseInstanceRestoreBackupContextArgs{...}

or:

        nil

type DatabaseInstanceRestoreBackupContextPtrOutput

type DatabaseInstanceRestoreBackupContextPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceRestoreBackupContextPtrOutput) BackupRunId

The ID of the backup run to restore from.

func (DatabaseInstanceRestoreBackupContextPtrOutput) Elem

func (DatabaseInstanceRestoreBackupContextPtrOutput) ElementType

func (DatabaseInstanceRestoreBackupContextPtrOutput) InstanceId

The ID of the instance that the backup was taken from. If left empty, this instance's ID will be used.

func (DatabaseInstanceRestoreBackupContextPtrOutput) Project

The full project ID of the source instance.`

func (DatabaseInstanceRestoreBackupContextPtrOutput) ToDatabaseInstanceRestoreBackupContextPtrOutput

func (o DatabaseInstanceRestoreBackupContextPtrOutput) ToDatabaseInstanceRestoreBackupContextPtrOutput() DatabaseInstanceRestoreBackupContextPtrOutput

func (DatabaseInstanceRestoreBackupContextPtrOutput) ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext

func (o DatabaseInstanceRestoreBackupContextPtrOutput) ToDatabaseInstanceRestoreBackupContextPtrOutputWithContext(ctx context.Context) DatabaseInstanceRestoreBackupContextPtrOutput

type DatabaseInstanceServerCaCert

type DatabaseInstanceServerCaCert struct {
	Cert       *string `pulumi:"cert"`
	CommonName *string `pulumi:"commonName"`
	CreateTime *string `pulumi:"createTime"`
	// The [RFC 3339](https://tools.ietf.org/html/rfc3339)
	// formatted date time string indicating when this whitelist expires.
	ExpirationTime  *string `pulumi:"expirationTime"`
	Sha1Fingerprint *string `pulumi:"sha1Fingerprint"`
}

type DatabaseInstanceServerCaCertArgs

type DatabaseInstanceServerCaCertArgs struct {
	Cert       pulumi.StringPtrInput `pulumi:"cert"`
	CommonName pulumi.StringPtrInput `pulumi:"commonName"`
	CreateTime pulumi.StringPtrInput `pulumi:"createTime"`
	// The [RFC 3339](https://tools.ietf.org/html/rfc3339)
	// formatted date time string indicating when this whitelist expires.
	ExpirationTime  pulumi.StringPtrInput `pulumi:"expirationTime"`
	Sha1Fingerprint pulumi.StringPtrInput `pulumi:"sha1Fingerprint"`
}

func (DatabaseInstanceServerCaCertArgs) ElementType

func (DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutput

func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput

func (DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutputWithContext

func (i DatabaseInstanceServerCaCertArgs) ToDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertOutput

type DatabaseInstanceServerCaCertArray

type DatabaseInstanceServerCaCertArray []DatabaseInstanceServerCaCertInput

func (DatabaseInstanceServerCaCertArray) ElementType

func (DatabaseInstanceServerCaCertArray) ToDatabaseInstanceServerCaCertArrayOutput

func (i DatabaseInstanceServerCaCertArray) ToDatabaseInstanceServerCaCertArrayOutput() DatabaseInstanceServerCaCertArrayOutput

func (DatabaseInstanceServerCaCertArray) ToDatabaseInstanceServerCaCertArrayOutputWithContext

func (i DatabaseInstanceServerCaCertArray) ToDatabaseInstanceServerCaCertArrayOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertArrayOutput

type DatabaseInstanceServerCaCertArrayInput

type DatabaseInstanceServerCaCertArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceServerCaCertArrayOutput() DatabaseInstanceServerCaCertArrayOutput
	ToDatabaseInstanceServerCaCertArrayOutputWithContext(context.Context) DatabaseInstanceServerCaCertArrayOutput
}

DatabaseInstanceServerCaCertArrayInput is an input type that accepts DatabaseInstanceServerCaCertArray and DatabaseInstanceServerCaCertArrayOutput values. You can construct a concrete instance of `DatabaseInstanceServerCaCertArrayInput` via:

DatabaseInstanceServerCaCertArray{ DatabaseInstanceServerCaCertArgs{...} }

type DatabaseInstanceServerCaCertArrayOutput

type DatabaseInstanceServerCaCertArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceServerCaCertArrayOutput) ElementType

func (DatabaseInstanceServerCaCertArrayOutput) Index

func (DatabaseInstanceServerCaCertArrayOutput) ToDatabaseInstanceServerCaCertArrayOutput

func (o DatabaseInstanceServerCaCertArrayOutput) ToDatabaseInstanceServerCaCertArrayOutput() DatabaseInstanceServerCaCertArrayOutput

func (DatabaseInstanceServerCaCertArrayOutput) ToDatabaseInstanceServerCaCertArrayOutputWithContext

func (o DatabaseInstanceServerCaCertArrayOutput) ToDatabaseInstanceServerCaCertArrayOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertArrayOutput

type DatabaseInstanceServerCaCertInput

type DatabaseInstanceServerCaCertInput interface {
	pulumi.Input

	ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput
	ToDatabaseInstanceServerCaCertOutputWithContext(context.Context) DatabaseInstanceServerCaCertOutput
}

DatabaseInstanceServerCaCertInput is an input type that accepts DatabaseInstanceServerCaCertArgs and DatabaseInstanceServerCaCertOutput values. You can construct a concrete instance of `DatabaseInstanceServerCaCertInput` via:

DatabaseInstanceServerCaCertArgs{...}

type DatabaseInstanceServerCaCertOutput

type DatabaseInstanceServerCaCertOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceServerCaCertOutput) Cert

func (DatabaseInstanceServerCaCertOutput) CommonName

func (DatabaseInstanceServerCaCertOutput) CreateTime

func (DatabaseInstanceServerCaCertOutput) ElementType

func (DatabaseInstanceServerCaCertOutput) ExpirationTime

The [RFC 3339](https://tools.ietf.org/html/rfc3339) formatted date time string indicating when this whitelist expires.

func (DatabaseInstanceServerCaCertOutput) Sha1Fingerprint

func (DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutput

func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutput() DatabaseInstanceServerCaCertOutput

func (DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutputWithContext

func (o DatabaseInstanceServerCaCertOutput) ToDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) DatabaseInstanceServerCaCertOutput

type DatabaseInstanceSettings

type DatabaseInstanceSettings struct {
	// This specifies when the instance should be
	// active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.
	ActivationPolicy      *string                                        `pulumi:"activationPolicy"`
	ActiveDirectoryConfig *DatabaseInstanceSettingsActiveDirectoryConfig `pulumi:"activeDirectoryConfig"`
	// The availability type of the Cloud SQL
	// instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For all instances, ensure that
	// `settings.backup_configuration.enabled` is set to `true`.
	// For MySQL instances, ensure that `settings.backup_configuration.binary_log_enabled` is set to `true`.
	// For Postgres instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled`
	// is set to `true`. Defaults to `ZONAL`.
	AvailabilityType    *string                                      `pulumi:"availabilityType"`
	BackupConfiguration *DatabaseInstanceSettingsBackupConfiguration `pulumi:"backupConfiguration"`
	// The name of server instance collation.
	Collation *string `pulumi:"collation"`
	// Specifies if connections must use Cloud SQL connectors.
	ConnectorEnforcement *string                                `pulumi:"connectorEnforcement"`
	DatabaseFlags        []DatabaseInstanceSettingsDatabaseFlag `pulumi:"databaseFlags"`
	// Enables auto-resizing of the storage size. Defaults to `true`.
	DiskAutoresize *bool `pulumi:"diskAutoresize"`
	// The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
	DiskAutoresizeLimit *int `pulumi:"diskAutoresizeLimit"`
	// The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
	DiskSize *int `pulumi:"diskSize"`
	// The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
	DiskType                 *string                                           `pulumi:"diskType"`
	InsightsConfig           *DatabaseInstanceSettingsInsightsConfig           `pulumi:"insightsConfig"`
	IpConfiguration          *DatabaseInstanceSettingsIpConfiguration          `pulumi:"ipConfiguration"`
	LocationPreference       *DatabaseInstanceSettingsLocationPreference       `pulumi:"locationPreference"`
	MaintenanceWindow        *DatabaseInstanceSettingsMaintenanceWindow        `pulumi:"maintenanceWindow"`
	PasswordValidationPolicy *DatabaseInstanceSettingsPasswordValidationPolicy `pulumi:"passwordValidationPolicy"`
	// Pricing plan for this instance, can only be `PER_USE`.
	PricingPlan          *string                                       `pulumi:"pricingPlan"`
	SqlServerAuditConfig *DatabaseInstanceSettingsSqlServerAuditConfig `pulumi:"sqlServerAuditConfig"`
	// The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers)
	// for more details and supported versions. Postgres supports only shared-core machine types,
	// and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types.
	Tier string `pulumi:"tier"`
	// The timeZone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
	TimeZone *string `pulumi:"timeZone"`
	// A set of key/value user label pairs to assign to the instance.
	UserLabels map[string]string `pulumi:"userLabels"`
	Version    *int              `pulumi:"version"`
}

type DatabaseInstanceSettingsActiveDirectoryConfig added in v6.25.0

type DatabaseInstanceSettingsActiveDirectoryConfig struct {
	// The domain name for the active directory (e.g., mydomain.com).
	// Can only be used with SQL Server.
	Domain string `pulumi:"domain"`
}

type DatabaseInstanceSettingsActiveDirectoryConfigArgs added in v6.25.0

type DatabaseInstanceSettingsActiveDirectoryConfigArgs struct {
	// The domain name for the active directory (e.g., mydomain.com).
	// Can only be used with SQL Server.
	Domain pulumi.StringInput `pulumi:"domain"`
}

func (DatabaseInstanceSettingsActiveDirectoryConfigArgs) ElementType added in v6.25.0

func (DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigOutput added in v6.25.0

func (i DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigOutput() DatabaseInstanceSettingsActiveDirectoryConfigOutput

func (DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigOutputWithContext added in v6.25.0

func (i DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigOutputWithContext(ctx context.Context) DatabaseInstanceSettingsActiveDirectoryConfigOutput

func (DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutput added in v6.25.0

func (i DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutput() DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput

func (DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext added in v6.25.0

func (i DatabaseInstanceSettingsActiveDirectoryConfigArgs) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput

type DatabaseInstanceSettingsActiveDirectoryConfigInput added in v6.25.0

type DatabaseInstanceSettingsActiveDirectoryConfigInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsActiveDirectoryConfigOutput() DatabaseInstanceSettingsActiveDirectoryConfigOutput
	ToDatabaseInstanceSettingsActiveDirectoryConfigOutputWithContext(context.Context) DatabaseInstanceSettingsActiveDirectoryConfigOutput
}

DatabaseInstanceSettingsActiveDirectoryConfigInput is an input type that accepts DatabaseInstanceSettingsActiveDirectoryConfigArgs and DatabaseInstanceSettingsActiveDirectoryConfigOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsActiveDirectoryConfigInput` via:

DatabaseInstanceSettingsActiveDirectoryConfigArgs{...}

type DatabaseInstanceSettingsActiveDirectoryConfigOutput added in v6.25.0

type DatabaseInstanceSettingsActiveDirectoryConfigOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsActiveDirectoryConfigOutput) Domain added in v6.25.0

The domain name for the active directory (e.g., mydomain.com). Can only be used with SQL Server.

func (DatabaseInstanceSettingsActiveDirectoryConfigOutput) ElementType added in v6.25.0

func (DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigOutput added in v6.25.0

func (o DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigOutput() DatabaseInstanceSettingsActiveDirectoryConfigOutput

func (DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigOutputWithContext added in v6.25.0

func (o DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigOutputWithContext(ctx context.Context) DatabaseInstanceSettingsActiveDirectoryConfigOutput

func (DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutput added in v6.25.0

func (o DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutput() DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput

func (DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext added in v6.25.0

func (o DatabaseInstanceSettingsActiveDirectoryConfigOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput

type DatabaseInstanceSettingsActiveDirectoryConfigPtrInput added in v6.25.0

type DatabaseInstanceSettingsActiveDirectoryConfigPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutput() DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput
	ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext(context.Context) DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput
}

DatabaseInstanceSettingsActiveDirectoryConfigPtrInput is an input type that accepts DatabaseInstanceSettingsActiveDirectoryConfigArgs, DatabaseInstanceSettingsActiveDirectoryConfigPtr and DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsActiveDirectoryConfigPtrInput` via:

        DatabaseInstanceSettingsActiveDirectoryConfigArgs{...}

or:

        nil

type DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput added in v6.25.0

type DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput) Domain added in v6.25.0

The domain name for the active directory (e.g., mydomain.com). Can only be used with SQL Server.

func (DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput) Elem added in v6.25.0

func (DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput) ElementType added in v6.25.0

func (DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutput added in v6.25.0

func (DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext added in v6.25.0

func (o DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput) ToDatabaseInstanceSettingsActiveDirectoryConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsActiveDirectoryConfigPtrOutput

type DatabaseInstanceSettingsArgs

type DatabaseInstanceSettingsArgs struct {
	// This specifies when the instance should be
	// active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.
	ActivationPolicy      pulumi.StringPtrInput                                 `pulumi:"activationPolicy"`
	ActiveDirectoryConfig DatabaseInstanceSettingsActiveDirectoryConfigPtrInput `pulumi:"activeDirectoryConfig"`
	// The availability type of the Cloud SQL
	// instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For all instances, ensure that
	// `settings.backup_configuration.enabled` is set to `true`.
	// For MySQL instances, ensure that `settings.backup_configuration.binary_log_enabled` is set to `true`.
	// For Postgres instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled`
	// is set to `true`. Defaults to `ZONAL`.
	AvailabilityType    pulumi.StringPtrInput                               `pulumi:"availabilityType"`
	BackupConfiguration DatabaseInstanceSettingsBackupConfigurationPtrInput `pulumi:"backupConfiguration"`
	// The name of server instance collation.
	Collation pulumi.StringPtrInput `pulumi:"collation"`
	// Specifies if connections must use Cloud SQL connectors.
	ConnectorEnforcement pulumi.StringPtrInput                          `pulumi:"connectorEnforcement"`
	DatabaseFlags        DatabaseInstanceSettingsDatabaseFlagArrayInput `pulumi:"databaseFlags"`
	// Enables auto-resizing of the storage size. Defaults to `true`.
	DiskAutoresize pulumi.BoolPtrInput `pulumi:"diskAutoresize"`
	// The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
	DiskAutoresizeLimit pulumi.IntPtrInput `pulumi:"diskAutoresizeLimit"`
	// The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.
	DiskSize pulumi.IntPtrInput `pulumi:"diskSize"`
	// The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.
	DiskType                 pulumi.StringPtrInput                                    `pulumi:"diskType"`
	InsightsConfig           DatabaseInstanceSettingsInsightsConfigPtrInput           `pulumi:"insightsConfig"`
	IpConfiguration          DatabaseInstanceSettingsIpConfigurationPtrInput          `pulumi:"ipConfiguration"`
	LocationPreference       DatabaseInstanceSettingsLocationPreferencePtrInput       `pulumi:"locationPreference"`
	MaintenanceWindow        DatabaseInstanceSettingsMaintenanceWindowPtrInput        `pulumi:"maintenanceWindow"`
	PasswordValidationPolicy DatabaseInstanceSettingsPasswordValidationPolicyPtrInput `pulumi:"passwordValidationPolicy"`
	// Pricing plan for this instance, can only be `PER_USE`.
	PricingPlan          pulumi.StringPtrInput                                `pulumi:"pricingPlan"`
	SqlServerAuditConfig DatabaseInstanceSettingsSqlServerAuditConfigPtrInput `pulumi:"sqlServerAuditConfig"`
	// The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers)
	// for more details and supported versions. Postgres supports only shared-core machine types,
	// and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types.
	Tier pulumi.StringInput `pulumi:"tier"`
	// The timeZone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.
	TimeZone pulumi.StringPtrInput `pulumi:"timeZone"`
	// A set of key/value user label pairs to assign to the instance.
	UserLabels pulumi.StringMapInput `pulumi:"userLabels"`
	Version    pulumi.IntPtrInput    `pulumi:"version"`
}

func (DatabaseInstanceSettingsArgs) ElementType

func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutput

func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput

func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutputWithContext

func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsOutput

func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutput

func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput

func (DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutputWithContext

func (i DatabaseInstanceSettingsArgs) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput

type DatabaseInstanceSettingsBackupConfiguration

type DatabaseInstanceSettingsBackupConfiguration struct {
	// Backup retention settings. The configuration is detailed below.
	BackupRetentionSettings *DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettings `pulumi:"backupRetentionSettings"`
	// True if binary logging is enabled.
	// Can only be used with MySQL.
	BinaryLogEnabled *bool `pulumi:"binaryLogEnabled"`
	// True if backup configuration is enabled.
	Enabled *bool `pulumi:"enabled"`
	// The region where the backup will be stored
	Location *string `pulumi:"location"`
	// True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL instances.
	PointInTimeRecoveryEnabled *bool `pulumi:"pointInTimeRecoveryEnabled"`
	// `HH:MM` format time indicating when backup
	// configuration starts.
	StartTime *string `pulumi:"startTime"`
	// The number of days of transaction logs we retain for point in time restore, from 1-7.
	TransactionLogRetentionDays *int `pulumi:"transactionLogRetentionDays"`
}

type DatabaseInstanceSettingsBackupConfigurationArgs

type DatabaseInstanceSettingsBackupConfigurationArgs struct {
	// Backup retention settings. The configuration is detailed below.
	BackupRetentionSettings DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrInput `pulumi:"backupRetentionSettings"`
	// True if binary logging is enabled.
	// Can only be used with MySQL.
	BinaryLogEnabled pulumi.BoolPtrInput `pulumi:"binaryLogEnabled"`
	// True if backup configuration is enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The region where the backup will be stored
	Location pulumi.StringPtrInput `pulumi:"location"`
	// True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL instances.
	PointInTimeRecoveryEnabled pulumi.BoolPtrInput `pulumi:"pointInTimeRecoveryEnabled"`
	// `HH:MM` format time indicating when backup
	// configuration starts.
	StartTime pulumi.StringPtrInput `pulumi:"startTime"`
	// The number of days of transaction logs we retain for point in time restore, from 1-7.
	TransactionLogRetentionDays pulumi.IntPtrInput `pulumi:"transactionLogRetentionDays"`
}

func (DatabaseInstanceSettingsBackupConfigurationArgs) ElementType

func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutput

func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput

func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext

func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationOutput

func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput

func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext

func (i DatabaseInstanceSettingsBackupConfigurationArgs) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettings

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettings struct {
	// Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retentionUnit
	// is 'COUNT', we will retain this many backups.
	RetainedBackups int `pulumi:"retainedBackups"`
	// The unit that 'retained_backups' represents. Defaults to `COUNT`.
	RetentionUnit *string `pulumi:"retentionUnit"`
}

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs struct {
	// Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retentionUnit
	// is 'COUNT', we will retain this many backups.
	RetainedBackups pulumi.IntInput `pulumi:"retainedBackups"`
	// The unit that 'retained_backups' represents. Defaults to `COUNT`.
	RetentionUnit pulumi.StringPtrInput `pulumi:"retentionUnit"`
}

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ElementType

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputWithContext

func (i DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutputWithContext

func (i DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsInput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput() DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput
	ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputWithContext(context.Context) DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput
}

DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsInput is an input type that accepts DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs and DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsInput` via:

DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs{...}

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) ElementType

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) RetainedBackups

Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retentionUnit is 'COUNT', we will retain this many backups.

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) RetentionUnit

The unit that 'retained_backups' represents. Defaults to `COUNT`.

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutputWithContext

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutputWithContext

func (o DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrInput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput() DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput
	ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutputWithContext(context.Context) DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput
}

DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrInput is an input type that accepts DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs, DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtr and DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrInput` via:

        DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsArgs{...}

or:

        nil

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput

type DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput) Elem

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput) ElementType

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput) RetainedBackups

Depending on the value of retention_unit, this is used to determine if a backup needs to be deleted. If retentionUnit is 'COUNT', we will retain this many backups.

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput) RetentionUnit

The unit that 'retained_backups' represents. Defaults to `COUNT`.

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationBackupRetentionSettingsPtrOutputWithContext

type DatabaseInstanceSettingsBackupConfigurationInput

type DatabaseInstanceSettingsBackupConfigurationInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput
	ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(context.Context) DatabaseInstanceSettingsBackupConfigurationOutput
}

DatabaseInstanceSettingsBackupConfigurationInput is an input type that accepts DatabaseInstanceSettingsBackupConfigurationArgs and DatabaseInstanceSettingsBackupConfigurationOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsBackupConfigurationInput` via:

DatabaseInstanceSettingsBackupConfigurationArgs{...}

type DatabaseInstanceSettingsBackupConfigurationOutput

type DatabaseInstanceSettingsBackupConfigurationOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsBackupConfigurationOutput) BackupRetentionSettings

Backup retention settings. The configuration is detailed below.

func (DatabaseInstanceSettingsBackupConfigurationOutput) BinaryLogEnabled

True if binary logging is enabled. Can only be used with MySQL.

func (DatabaseInstanceSettingsBackupConfigurationOutput) ElementType

func (DatabaseInstanceSettingsBackupConfigurationOutput) Enabled

True if backup configuration is enabled.

func (DatabaseInstanceSettingsBackupConfigurationOutput) Location

The region where the backup will be stored

func (DatabaseInstanceSettingsBackupConfigurationOutput) PointInTimeRecoveryEnabled

True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL instances.

func (DatabaseInstanceSettingsBackupConfigurationOutput) StartTime

`HH:MM` format time indicating when backup configuration starts.

func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutput

func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutput() DatabaseInstanceSettingsBackupConfigurationOutput

func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext

func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationOutput

func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput

func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext

func (o DatabaseInstanceSettingsBackupConfigurationOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationOutput) TransactionLogRetentionDays

The number of days of transaction logs we retain for point in time restore, from 1-7.

type DatabaseInstanceSettingsBackupConfigurationPtrInput

type DatabaseInstanceSettingsBackupConfigurationPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsBackupConfigurationPtrOutput() DatabaseInstanceSettingsBackupConfigurationPtrOutput
	ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput
}

DatabaseInstanceSettingsBackupConfigurationPtrInput is an input type that accepts DatabaseInstanceSettingsBackupConfigurationArgs, DatabaseInstanceSettingsBackupConfigurationPtr and DatabaseInstanceSettingsBackupConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsBackupConfigurationPtrInput` via:

        DatabaseInstanceSettingsBackupConfigurationArgs{...}

or:

        nil

type DatabaseInstanceSettingsBackupConfigurationPtrOutput

type DatabaseInstanceSettingsBackupConfigurationPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) BackupRetentionSettings

Backup retention settings. The configuration is detailed below.

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) BinaryLogEnabled

True if binary logging is enabled. Can only be used with MySQL.

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) Elem

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ElementType

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) Enabled

True if backup configuration is enabled.

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) Location

The region where the backup will be stored

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) PointInTimeRecoveryEnabled

True if Point-in-time recovery is enabled. Will restart database if enabled after instance creation. Valid only for PostgreSQL instances.

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) StartTime

`HH:MM` format time indicating when backup configuration starts.

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext

func (o DatabaseInstanceSettingsBackupConfigurationPtrOutput) ToDatabaseInstanceSettingsBackupConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsBackupConfigurationPtrOutput

func (DatabaseInstanceSettingsBackupConfigurationPtrOutput) TransactionLogRetentionDays

The number of days of transaction logs we retain for point in time restore, from 1-7.

type DatabaseInstanceSettingsDatabaseFlag

type DatabaseInstanceSettingsDatabaseFlag struct {
	// A name for this whitelist entry.
	Name string `pulumi:"name"`
	// A CIDR notation IPv4 or IPv6 address that is allowed to
	// access this instance. Must be set even if other two attributes are not for
	// the whitelist to become active.
	Value string `pulumi:"value"`
}

type DatabaseInstanceSettingsDatabaseFlagArgs

type DatabaseInstanceSettingsDatabaseFlagArgs struct {
	// A name for this whitelist entry.
	Name pulumi.StringInput `pulumi:"name"`
	// A CIDR notation IPv4 or IPv6 address that is allowed to
	// access this instance. Must be set even if other two attributes are not for
	// the whitelist to become active.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DatabaseInstanceSettingsDatabaseFlagArgs) ElementType

func (DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutput

func (i DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput

func (DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext

func (i DatabaseInstanceSettingsDatabaseFlagArgs) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagOutput

type DatabaseInstanceSettingsDatabaseFlagArray

type DatabaseInstanceSettingsDatabaseFlagArray []DatabaseInstanceSettingsDatabaseFlagInput

func (DatabaseInstanceSettingsDatabaseFlagArray) ElementType

func (DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput

func (i DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput

func (DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext

func (i DatabaseInstanceSettingsDatabaseFlagArray) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput

type DatabaseInstanceSettingsDatabaseFlagArrayInput

type DatabaseInstanceSettingsDatabaseFlagArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput
	ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput
}

DatabaseInstanceSettingsDatabaseFlagArrayInput is an input type that accepts DatabaseInstanceSettingsDatabaseFlagArray and DatabaseInstanceSettingsDatabaseFlagArrayOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsDatabaseFlagArrayInput` via:

DatabaseInstanceSettingsDatabaseFlagArray{ DatabaseInstanceSettingsDatabaseFlagArgs{...} }

type DatabaseInstanceSettingsDatabaseFlagArrayOutput

type DatabaseInstanceSettingsDatabaseFlagArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ElementType

func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) Index

func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput

func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutput() DatabaseInstanceSettingsDatabaseFlagArrayOutput

func (DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext

func (o DatabaseInstanceSettingsDatabaseFlagArrayOutput) ToDatabaseInstanceSettingsDatabaseFlagArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagArrayOutput

type DatabaseInstanceSettingsDatabaseFlagInput

type DatabaseInstanceSettingsDatabaseFlagInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput
	ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(context.Context) DatabaseInstanceSettingsDatabaseFlagOutput
}

DatabaseInstanceSettingsDatabaseFlagInput is an input type that accepts DatabaseInstanceSettingsDatabaseFlagArgs and DatabaseInstanceSettingsDatabaseFlagOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsDatabaseFlagInput` via:

DatabaseInstanceSettingsDatabaseFlagArgs{...}

type DatabaseInstanceSettingsDatabaseFlagOutput

type DatabaseInstanceSettingsDatabaseFlagOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsDatabaseFlagOutput) ElementType

func (DatabaseInstanceSettingsDatabaseFlagOutput) Name

A name for this whitelist entry.

func (DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutput

func (o DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutput() DatabaseInstanceSettingsDatabaseFlagOutput

func (DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext

func (o DatabaseInstanceSettingsDatabaseFlagOutput) ToDatabaseInstanceSettingsDatabaseFlagOutputWithContext(ctx context.Context) DatabaseInstanceSettingsDatabaseFlagOutput

func (DatabaseInstanceSettingsDatabaseFlagOutput) Value

A CIDR notation IPv4 or IPv6 address that is allowed to access this instance. Must be set even if other two attributes are not for the whitelist to become active.

type DatabaseInstanceSettingsInput

type DatabaseInstanceSettingsInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput
	ToDatabaseInstanceSettingsOutputWithContext(context.Context) DatabaseInstanceSettingsOutput
}

DatabaseInstanceSettingsInput is an input type that accepts DatabaseInstanceSettingsArgs and DatabaseInstanceSettingsOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsInput` via:

DatabaseInstanceSettingsArgs{...}

type DatabaseInstanceSettingsInsightsConfig

type DatabaseInstanceSettingsInsightsConfig struct {
	// True if Query Insights feature is enabled.
	QueryInsightsEnabled *bool `pulumi:"queryInsightsEnabled"`
	// Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
	QueryPlansPerMinute *int `pulumi:"queryPlansPerMinute"`
	// Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
	QueryStringLength *int `pulumi:"queryStringLength"`
	// True if Query Insights will record application tags from query when enabled.
	RecordApplicationTags *bool `pulumi:"recordApplicationTags"`
	// True if Query Insights will record client address when enabled.
	RecordClientAddress *bool `pulumi:"recordClientAddress"`
}

type DatabaseInstanceSettingsInsightsConfigArgs

type DatabaseInstanceSettingsInsightsConfigArgs struct {
	// True if Query Insights feature is enabled.
	QueryInsightsEnabled pulumi.BoolPtrInput `pulumi:"queryInsightsEnabled"`
	// Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.
	QueryPlansPerMinute pulumi.IntPtrInput `pulumi:"queryPlansPerMinute"`
	// Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.
	QueryStringLength pulumi.IntPtrInput `pulumi:"queryStringLength"`
	// True if Query Insights will record application tags from query when enabled.
	RecordApplicationTags pulumi.BoolPtrInput `pulumi:"recordApplicationTags"`
	// True if Query Insights will record client address when enabled.
	RecordClientAddress pulumi.BoolPtrInput `pulumi:"recordClientAddress"`
}

func (DatabaseInstanceSettingsInsightsConfigArgs) ElementType

func (DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigOutput

func (i DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigOutput() DatabaseInstanceSettingsInsightsConfigOutput

func (DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigOutputWithContext

func (i DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigOutputWithContext(ctx context.Context) DatabaseInstanceSettingsInsightsConfigOutput

func (DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigPtrOutput

func (i DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigPtrOutput() DatabaseInstanceSettingsInsightsConfigPtrOutput

func (DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext

func (i DatabaseInstanceSettingsInsightsConfigArgs) ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsInsightsConfigPtrOutput

type DatabaseInstanceSettingsInsightsConfigInput

type DatabaseInstanceSettingsInsightsConfigInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsInsightsConfigOutput() DatabaseInstanceSettingsInsightsConfigOutput
	ToDatabaseInstanceSettingsInsightsConfigOutputWithContext(context.Context) DatabaseInstanceSettingsInsightsConfigOutput
}

DatabaseInstanceSettingsInsightsConfigInput is an input type that accepts DatabaseInstanceSettingsInsightsConfigArgs and DatabaseInstanceSettingsInsightsConfigOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsInsightsConfigInput` via:

DatabaseInstanceSettingsInsightsConfigArgs{...}

type DatabaseInstanceSettingsInsightsConfigOutput

type DatabaseInstanceSettingsInsightsConfigOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsInsightsConfigOutput) ElementType

func (DatabaseInstanceSettingsInsightsConfigOutput) QueryInsightsEnabled

True if Query Insights feature is enabled.

func (DatabaseInstanceSettingsInsightsConfigOutput) QueryPlansPerMinute added in v6.44.0

Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.

func (DatabaseInstanceSettingsInsightsConfigOutput) QueryStringLength

Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.

func (DatabaseInstanceSettingsInsightsConfigOutput) RecordApplicationTags

True if Query Insights will record application tags from query when enabled.

func (DatabaseInstanceSettingsInsightsConfigOutput) RecordClientAddress

True if Query Insights will record client address when enabled.

func (DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigOutput

func (o DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigOutput() DatabaseInstanceSettingsInsightsConfigOutput

func (DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigOutputWithContext

func (o DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigOutputWithContext(ctx context.Context) DatabaseInstanceSettingsInsightsConfigOutput

func (DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutput

func (o DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutput() DatabaseInstanceSettingsInsightsConfigPtrOutput

func (DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext

func (o DatabaseInstanceSettingsInsightsConfigOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsInsightsConfigPtrOutput

type DatabaseInstanceSettingsInsightsConfigPtrInput

type DatabaseInstanceSettingsInsightsConfigPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsInsightsConfigPtrOutput() DatabaseInstanceSettingsInsightsConfigPtrOutput
	ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext(context.Context) DatabaseInstanceSettingsInsightsConfigPtrOutput
}

DatabaseInstanceSettingsInsightsConfigPtrInput is an input type that accepts DatabaseInstanceSettingsInsightsConfigArgs, DatabaseInstanceSettingsInsightsConfigPtr and DatabaseInstanceSettingsInsightsConfigPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsInsightsConfigPtrInput` via:

        DatabaseInstanceSettingsInsightsConfigArgs{...}

or:

        nil

type DatabaseInstanceSettingsInsightsConfigPtrOutput

type DatabaseInstanceSettingsInsightsConfigPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) Elem

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) ElementType

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) QueryInsightsEnabled

True if Query Insights feature is enabled.

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) QueryPlansPerMinute added in v6.44.0

Number of query execution plans captured by Insights per minute for all queries combined. Between 0 and 20. Default to 5.

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) QueryStringLength

Maximum query length stored in bytes. Between 256 and 4500. Default to 1024.

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) RecordApplicationTags

True if Query Insights will record application tags from query when enabled.

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) RecordClientAddress

True if Query Insights will record client address when enabled.

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutput

func (o DatabaseInstanceSettingsInsightsConfigPtrOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutput() DatabaseInstanceSettingsInsightsConfigPtrOutput

func (DatabaseInstanceSettingsInsightsConfigPtrOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext

func (o DatabaseInstanceSettingsInsightsConfigPtrOutput) ToDatabaseInstanceSettingsInsightsConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsInsightsConfigPtrOutput

type DatabaseInstanceSettingsIpConfiguration

type DatabaseInstanceSettingsIpConfiguration struct {
	// The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
	AllocatedIpRange   *string                                                    `pulumi:"allocatedIpRange"`
	AuthorizedNetworks []DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork `pulumi:"authorizedNetworks"`
	// Whether this Cloud SQL instance should be assigned
	// a public IPV4 address. At least `ipv4Enabled` must be enabled or a
	// `privateNetwork` must be configured.
	Ipv4Enabled *bool `pulumi:"ipv4Enabled"`
	// The VPC network from which the Cloud SQL
	// instance is accessible for private IP. For example, projects/myProject/global/networks/default.
	// Specifying a network enables private IP.
	// At least `ipv4Enabled` must be enabled or a `privateNetwork` must be configured.
	// This setting can be updated, but it cannot be removed after it is set.
	PrivateNetwork *string `pulumi:"privateNetwork"`
	// Whether SSL connections over IP are enforced or not.
	RequireSsl *bool `pulumi:"requireSsl"`
}

type DatabaseInstanceSettingsIpConfigurationArgs

type DatabaseInstanceSettingsIpConfigurationArgs struct {
	// The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.
	AllocatedIpRange   pulumi.StringPtrInput                                              `pulumi:"allocatedIpRange"`
	AuthorizedNetworks DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput `pulumi:"authorizedNetworks"`
	// Whether this Cloud SQL instance should be assigned
	// a public IPV4 address. At least `ipv4Enabled` must be enabled or a
	// `privateNetwork` must be configured.
	Ipv4Enabled pulumi.BoolPtrInput `pulumi:"ipv4Enabled"`
	// The VPC network from which the Cloud SQL
	// instance is accessible for private IP. For example, projects/myProject/global/networks/default.
	// Specifying a network enables private IP.
	// At least `ipv4Enabled` must be enabled or a `privateNetwork` must be configured.
	// This setting can be updated, but it cannot be removed after it is set.
	PrivateNetwork pulumi.StringPtrInput `pulumi:"privateNetwork"`
	// Whether SSL connections over IP are enforced or not.
	RequireSsl pulumi.BoolPtrInput `pulumi:"requireSsl"`
}

func (DatabaseInstanceSettingsIpConfigurationArgs) ElementType

func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutput

func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput

func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext

func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationOutput

func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutput

func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput

func (DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext

func (i DatabaseInstanceSettingsIpConfigurationArgs) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetwork struct {
	// The [RFC 3339](https://tools.ietf.org/html/rfc3339)
	// formatted date time string indicating when this whitelist expires.
	ExpirationTime *string `pulumi:"expirationTime"`
	// A name for this whitelist entry.
	Name *string `pulumi:"name"`
	// A CIDR notation IPv4 or IPv6 address that is allowed to
	// access this instance. Must be set even if other two attributes are not for
	// the whitelist to become active.
	Value string `pulumi:"value"`
}

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs struct {
	// The [RFC 3339](https://tools.ietf.org/html/rfc3339)
	// formatted date time string indicating when this whitelist expires.
	ExpirationTime pulumi.StringPtrInput `pulumi:"expirationTime"`
	// A name for this whitelist entry.
	Name pulumi.StringPtrInput `pulumi:"name"`
	// A CIDR notation IPv4 or IPv6 address that is allowed to
	// access this instance. Must be set even if other two attributes are not for
	// the whitelist to become active.
	Value pulumi.StringInput `pulumi:"value"`
}

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ElementType

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext

func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray []DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ElementType

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext

func (i DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
	ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput
}

DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray and DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayInput` via:

DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArray{ DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs{...} }

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ElementType

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) Index

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext

func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArrayOutput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput() DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
	ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput
}

DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs and DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkInput` via:

DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkArgs{...}

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput

type DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ElementType

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ExpirationTime

The [RFC 3339](https://tools.ietf.org/html/rfc3339) formatted date time string indicating when this whitelist expires.

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) Name

A name for this whitelist entry.

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext

func (o DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) ToDatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput

func (DatabaseInstanceSettingsIpConfigurationAuthorizedNetworkOutput) Value

A CIDR notation IPv4 or IPv6 address that is allowed to access this instance. Must be set even if other two attributes are not for the whitelist to become active.

type DatabaseInstanceSettingsIpConfigurationInput

type DatabaseInstanceSettingsIpConfigurationInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput
	ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationOutput
}

DatabaseInstanceSettingsIpConfigurationInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationArgs and DatabaseInstanceSettingsIpConfigurationOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationInput` via:

DatabaseInstanceSettingsIpConfigurationArgs{...}

type DatabaseInstanceSettingsIpConfigurationOutput

type DatabaseInstanceSettingsIpConfigurationOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsIpConfigurationOutput) AllocatedIpRange added in v6.5.0

The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.

func (DatabaseInstanceSettingsIpConfigurationOutput) AuthorizedNetworks

func (DatabaseInstanceSettingsIpConfigurationOutput) ElementType

func (DatabaseInstanceSettingsIpConfigurationOutput) Ipv4Enabled

Whether this Cloud SQL instance should be assigned a public IPV4 address. At least `ipv4Enabled` must be enabled or a `privateNetwork` must be configured.

func (DatabaseInstanceSettingsIpConfigurationOutput) PrivateNetwork

The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least `ipv4Enabled` must be enabled or a `privateNetwork` must be configured. This setting can be updated, but it cannot be removed after it is set.

func (DatabaseInstanceSettingsIpConfigurationOutput) RequireSsl

Whether SSL connections over IP are enforced or not.

func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutput

func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutput() DatabaseInstanceSettingsIpConfigurationOutput

func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext

func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationOutput

func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput

func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput

func (DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext

func (o DatabaseInstanceSettingsIpConfigurationOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput

type DatabaseInstanceSettingsIpConfigurationPtrInput

type DatabaseInstanceSettingsIpConfigurationPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput
	ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput
}

DatabaseInstanceSettingsIpConfigurationPtrInput is an input type that accepts DatabaseInstanceSettingsIpConfigurationArgs, DatabaseInstanceSettingsIpConfigurationPtr and DatabaseInstanceSettingsIpConfigurationPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsIpConfigurationPtrInput` via:

        DatabaseInstanceSettingsIpConfigurationArgs{...}

or:

        nil

type DatabaseInstanceSettingsIpConfigurationPtrOutput

type DatabaseInstanceSettingsIpConfigurationPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) AllocatedIpRange added in v6.5.0

The name of the allocated ip range for the private ip CloudSQL instance. For example: "google-managed-services-default". If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression a-z?.

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) AuthorizedNetworks

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) Elem

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ElementType

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) Ipv4Enabled

Whether this Cloud SQL instance should be assigned a public IPV4 address. At least `ipv4Enabled` must be enabled or a `privateNetwork` must be configured.

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) PrivateNetwork

The VPC network from which the Cloud SQL instance is accessible for private IP. For example, projects/myProject/global/networks/default. Specifying a network enables private IP. At least `ipv4Enabled` must be enabled or a `privateNetwork` must be configured. This setting can be updated, but it cannot be removed after it is set.

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) RequireSsl

Whether SSL connections over IP are enforced or not.

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput

func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutput() DatabaseInstanceSettingsIpConfigurationPtrOutput

func (DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext

func (o DatabaseInstanceSettingsIpConfigurationPtrOutput) ToDatabaseInstanceSettingsIpConfigurationPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsIpConfigurationPtrOutput

type DatabaseInstanceSettingsLocationPreference

type DatabaseInstanceSettingsLocationPreference struct {
	// A GAE application whose zone to remain
	// in. Must be in the same region as this instance.
	FollowGaeApplication *string `pulumi:"followGaeApplication"`
	// The preferred Compute Engine zone for the secondary/failover.
	SecondaryZone *string `pulumi:"secondaryZone"`
	// The preferred compute engine
	// [zone](https://cloud.google.com/compute/docs/zones?hl=en).
	Zone *string `pulumi:"zone"`
}

type DatabaseInstanceSettingsLocationPreferenceArgs

type DatabaseInstanceSettingsLocationPreferenceArgs struct {
	// A GAE application whose zone to remain
	// in. Must be in the same region as this instance.
	FollowGaeApplication pulumi.StringPtrInput `pulumi:"followGaeApplication"`
	// The preferred Compute Engine zone for the secondary/failover.
	SecondaryZone pulumi.StringPtrInput `pulumi:"secondaryZone"`
	// The preferred compute engine
	// [zone](https://cloud.google.com/compute/docs/zones?hl=en).
	Zone pulumi.StringPtrInput `pulumi:"zone"`
}

func (DatabaseInstanceSettingsLocationPreferenceArgs) ElementType

func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutput

func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput

func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext

func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferenceOutput

func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutput

func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput

func (DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext

func (i DatabaseInstanceSettingsLocationPreferenceArgs) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput

type DatabaseInstanceSettingsLocationPreferenceInput

type DatabaseInstanceSettingsLocationPreferenceInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput
	ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(context.Context) DatabaseInstanceSettingsLocationPreferenceOutput
}

DatabaseInstanceSettingsLocationPreferenceInput is an input type that accepts DatabaseInstanceSettingsLocationPreferenceArgs and DatabaseInstanceSettingsLocationPreferenceOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsLocationPreferenceInput` via:

DatabaseInstanceSettingsLocationPreferenceArgs{...}

type DatabaseInstanceSettingsLocationPreferenceOutput

type DatabaseInstanceSettingsLocationPreferenceOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsLocationPreferenceOutput) ElementType

func (DatabaseInstanceSettingsLocationPreferenceOutput) FollowGaeApplication

A GAE application whose zone to remain in. Must be in the same region as this instance.

func (DatabaseInstanceSettingsLocationPreferenceOutput) SecondaryZone added in v6.31.0

The preferred Compute Engine zone for the secondary/failover.

func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutput

func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutput() DatabaseInstanceSettingsLocationPreferenceOutput

func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext

func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferenceOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferenceOutput

func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput

func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput

func (DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext

func (o DatabaseInstanceSettingsLocationPreferenceOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput

func (DatabaseInstanceSettingsLocationPreferenceOutput) Zone

The preferred compute engine [zone](https://cloud.google.com/compute/docs/zones?hl=en).

type DatabaseInstanceSettingsLocationPreferencePtrInput

type DatabaseInstanceSettingsLocationPreferencePtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput
	ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput
}

DatabaseInstanceSettingsLocationPreferencePtrInput is an input type that accepts DatabaseInstanceSettingsLocationPreferenceArgs, DatabaseInstanceSettingsLocationPreferencePtr and DatabaseInstanceSettingsLocationPreferencePtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsLocationPreferencePtrInput` via:

        DatabaseInstanceSettingsLocationPreferenceArgs{...}

or:

        nil

type DatabaseInstanceSettingsLocationPreferencePtrOutput

type DatabaseInstanceSettingsLocationPreferencePtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) Elem

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ElementType

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) FollowGaeApplication

A GAE application whose zone to remain in. Must be in the same region as this instance.

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) SecondaryZone added in v6.31.0

The preferred Compute Engine zone for the secondary/failover.

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput

func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutput() DatabaseInstanceSettingsLocationPreferencePtrOutput

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext

func (o DatabaseInstanceSettingsLocationPreferencePtrOutput) ToDatabaseInstanceSettingsLocationPreferencePtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsLocationPreferencePtrOutput

func (DatabaseInstanceSettingsLocationPreferencePtrOutput) Zone

The preferred compute engine [zone](https://cloud.google.com/compute/docs/zones?hl=en).

type DatabaseInstanceSettingsMaintenanceWindow

type DatabaseInstanceSettingsMaintenanceWindow struct {
	// Day of week (`1-7`), starting on Monday
	Day *int `pulumi:"day"`
	// Hour of day (`0-23`), ignored if `day` not set
	Hour *int `pulumi:"hour"`
	// Receive updates earlier (`canary`) or later
	// (`stable`)
	UpdateTrack *string `pulumi:"updateTrack"`
}

type DatabaseInstanceSettingsMaintenanceWindowArgs

type DatabaseInstanceSettingsMaintenanceWindowArgs struct {
	// Day of week (`1-7`), starting on Monday
	Day pulumi.IntPtrInput `pulumi:"day"`
	// Hour of day (`0-23`), ignored if `day` not set
	Hour pulumi.IntPtrInput `pulumi:"hour"`
	// Receive updates earlier (`canary`) or later
	// (`stable`)
	UpdateTrack pulumi.StringPtrInput `pulumi:"updateTrack"`
}

func (DatabaseInstanceSettingsMaintenanceWindowArgs) ElementType

func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutput

func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput

func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext

func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput

func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext

func (i DatabaseInstanceSettingsMaintenanceWindowArgs) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput

type DatabaseInstanceSettingsMaintenanceWindowInput

type DatabaseInstanceSettingsMaintenanceWindowInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput
	ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput
}

DatabaseInstanceSettingsMaintenanceWindowInput is an input type that accepts DatabaseInstanceSettingsMaintenanceWindowArgs and DatabaseInstanceSettingsMaintenanceWindowOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsMaintenanceWindowInput` via:

DatabaseInstanceSettingsMaintenanceWindowArgs{...}

type DatabaseInstanceSettingsMaintenanceWindowOutput

type DatabaseInstanceSettingsMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsMaintenanceWindowOutput) Day

Day of week (`1-7`), starting on Monday

func (DatabaseInstanceSettingsMaintenanceWindowOutput) ElementType

func (DatabaseInstanceSettingsMaintenanceWindowOutput) Hour

Hour of day (`0-23`), ignored if `day` not set

func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutput

func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutput() DatabaseInstanceSettingsMaintenanceWindowOutput

func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext

func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowOutput

func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext

func (o DatabaseInstanceSettingsMaintenanceWindowOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (DatabaseInstanceSettingsMaintenanceWindowOutput) UpdateTrack

Receive updates earlier (`canary`) or later (`stable`)

type DatabaseInstanceSettingsMaintenanceWindowPtrInput

type DatabaseInstanceSettingsMaintenanceWindowPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput
	ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput
}

DatabaseInstanceSettingsMaintenanceWindowPtrInput is an input type that accepts DatabaseInstanceSettingsMaintenanceWindowArgs, DatabaseInstanceSettingsMaintenanceWindowPtr and DatabaseInstanceSettingsMaintenanceWindowPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsMaintenanceWindowPtrInput` via:

        DatabaseInstanceSettingsMaintenanceWindowArgs{...}

or:

        nil

type DatabaseInstanceSettingsMaintenanceWindowPtrOutput

type DatabaseInstanceSettingsMaintenanceWindowPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Day

Day of week (`1-7`), starting on Monday

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Elem

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ElementType

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) Hour

Hour of day (`0-23`), ignored if `day` not set

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutput() DatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext

func (o DatabaseInstanceSettingsMaintenanceWindowPtrOutput) ToDatabaseInstanceSettingsMaintenanceWindowPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsMaintenanceWindowPtrOutput

func (DatabaseInstanceSettingsMaintenanceWindowPtrOutput) UpdateTrack

Receive updates earlier (`canary`) or later (`stable`)

type DatabaseInstanceSettingsOutput

type DatabaseInstanceSettingsOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsOutput) ActivationPolicy

This specifies when the instance should be active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.

func (DatabaseInstanceSettingsOutput) ActiveDirectoryConfig added in v6.25.0

func (DatabaseInstanceSettingsOutput) AvailabilityType

The availability type of the Cloud SQL instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For all instances, ensure that `settings.backup_configuration.enabled` is set to `true`. For MySQL instances, ensure that `settings.backup_configuration.binary_log_enabled` is set to `true`. For Postgres instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled` is set to `true`. Defaults to `ZONAL`.

func (DatabaseInstanceSettingsOutput) BackupConfiguration

func (DatabaseInstanceSettingsOutput) Collation

The name of server instance collation.

func (DatabaseInstanceSettingsOutput) ConnectorEnforcement added in v6.44.0

func (o DatabaseInstanceSettingsOutput) ConnectorEnforcement() pulumi.StringPtrOutput

Specifies if connections must use Cloud SQL connectors.

func (DatabaseInstanceSettingsOutput) DatabaseFlags

func (DatabaseInstanceSettingsOutput) DiskAutoresize

Enables auto-resizing of the storage size. Defaults to `true`.

func (DatabaseInstanceSettingsOutput) DiskAutoresizeLimit

func (o DatabaseInstanceSettingsOutput) DiskAutoresizeLimit() pulumi.IntPtrOutput

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

func (DatabaseInstanceSettingsOutput) DiskSize

The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.

func (DatabaseInstanceSettingsOutput) DiskType

The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.

func (DatabaseInstanceSettingsOutput) ElementType

func (DatabaseInstanceSettingsOutput) InsightsConfig

func (DatabaseInstanceSettingsOutput) IpConfiguration

func (DatabaseInstanceSettingsOutput) LocationPreference

func (DatabaseInstanceSettingsOutput) MaintenanceWindow

func (DatabaseInstanceSettingsOutput) PasswordValidationPolicy added in v6.35.0

func (DatabaseInstanceSettingsOutput) PricingPlan

Pricing plan for this instance, can only be `PER_USE`.

func (DatabaseInstanceSettingsOutput) SqlServerAuditConfig added in v6.31.0

func (DatabaseInstanceSettingsOutput) Tier

The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers) for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types.

func (DatabaseInstanceSettingsOutput) TimeZone added in v6.42.0

The timeZone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.

func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutput

func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutput() DatabaseInstanceSettingsOutput

func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutputWithContext

func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsOutputWithContext(ctx context.Context) DatabaseInstanceSettingsOutput

func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutput

func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput

func (DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutputWithContext

func (o DatabaseInstanceSettingsOutput) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput

func (DatabaseInstanceSettingsOutput) UserLabels

A set of key/value user label pairs to assign to the instance.

func (DatabaseInstanceSettingsOutput) Version

type DatabaseInstanceSettingsPasswordValidationPolicy added in v6.35.0

type DatabaseInstanceSettingsPasswordValidationPolicy struct {
	// Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters.
	Complexity *string `pulumi:"complexity"`
	// Prevents the use of the username in the password.
	DisallowUsernameSubstring *bool `pulumi:"disallowUsernameSubstring"`
	// Enables or disable the password validation policy.
	EnablePasswordPolicy bool `pulumi:"enablePasswordPolicy"`
	// Specifies the minimum number of characters that the password must have.
	MinLength *int `pulumi:"minLength"`
	// Specifies the minimum duration after which you can change the password.
	PasswordChangeInterval *string `pulumi:"passwordChangeInterval"`
	// Specifies the number of previous passwords that you can't reuse.
	ReuseInterval *int `pulumi:"reuseInterval"`
}

type DatabaseInstanceSettingsPasswordValidationPolicyArgs added in v6.35.0

type DatabaseInstanceSettingsPasswordValidationPolicyArgs struct {
	// Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters.
	Complexity pulumi.StringPtrInput `pulumi:"complexity"`
	// Prevents the use of the username in the password.
	DisallowUsernameSubstring pulumi.BoolPtrInput `pulumi:"disallowUsernameSubstring"`
	// Enables or disable the password validation policy.
	EnablePasswordPolicy pulumi.BoolInput `pulumi:"enablePasswordPolicy"`
	// Specifies the minimum number of characters that the password must have.
	MinLength pulumi.IntPtrInput `pulumi:"minLength"`
	// Specifies the minimum duration after which you can change the password.
	PasswordChangeInterval pulumi.StringPtrInput `pulumi:"passwordChangeInterval"`
	// Specifies the number of previous passwords that you can't reuse.
	ReuseInterval pulumi.IntPtrInput `pulumi:"reuseInterval"`
}

func (DatabaseInstanceSettingsPasswordValidationPolicyArgs) ElementType added in v6.35.0

func (DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyOutput added in v6.35.0

func (i DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyOutput() DatabaseInstanceSettingsPasswordValidationPolicyOutput

func (DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyOutputWithContext added in v6.35.0

func (i DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPasswordValidationPolicyOutput

func (DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutput added in v6.35.0

func (i DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutput() DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput

func (DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext added in v6.35.0

func (i DatabaseInstanceSettingsPasswordValidationPolicyArgs) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput

type DatabaseInstanceSettingsPasswordValidationPolicyInput added in v6.35.0

type DatabaseInstanceSettingsPasswordValidationPolicyInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsPasswordValidationPolicyOutput() DatabaseInstanceSettingsPasswordValidationPolicyOutput
	ToDatabaseInstanceSettingsPasswordValidationPolicyOutputWithContext(context.Context) DatabaseInstanceSettingsPasswordValidationPolicyOutput
}

DatabaseInstanceSettingsPasswordValidationPolicyInput is an input type that accepts DatabaseInstanceSettingsPasswordValidationPolicyArgs and DatabaseInstanceSettingsPasswordValidationPolicyOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsPasswordValidationPolicyInput` via:

DatabaseInstanceSettingsPasswordValidationPolicyArgs{...}

type DatabaseInstanceSettingsPasswordValidationPolicyOutput added in v6.35.0

type DatabaseInstanceSettingsPasswordValidationPolicyOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) Complexity added in v6.35.0

Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters.

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) DisallowUsernameSubstring added in v6.35.0

Prevents the use of the username in the password.

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) ElementType added in v6.35.0

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) EnablePasswordPolicy added in v6.35.0

Enables or disable the password validation policy.

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) MinLength added in v6.35.0

Specifies the minimum number of characters that the password must have.

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) PasswordChangeInterval added in v6.35.0

Specifies the minimum duration after which you can change the password.

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) ReuseInterval added in v6.35.0

Specifies the number of previous passwords that you can't reuse.

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyOutput added in v6.35.0

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyOutputWithContext added in v6.35.0

func (o DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPasswordValidationPolicyOutput

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutput added in v6.35.0

func (o DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutput() DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput

func (DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext added in v6.35.0

func (o DatabaseInstanceSettingsPasswordValidationPolicyOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput

type DatabaseInstanceSettingsPasswordValidationPolicyPtrInput added in v6.35.0

type DatabaseInstanceSettingsPasswordValidationPolicyPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutput() DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput
	ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext(context.Context) DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput
}

DatabaseInstanceSettingsPasswordValidationPolicyPtrInput is an input type that accepts DatabaseInstanceSettingsPasswordValidationPolicyArgs, DatabaseInstanceSettingsPasswordValidationPolicyPtr and DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsPasswordValidationPolicyPtrInput` via:

        DatabaseInstanceSettingsPasswordValidationPolicyArgs{...}

or:

        nil

type DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput added in v6.35.0

type DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) Complexity added in v6.35.0

Checks if the password is a combination of lowercase, uppercase, numeric, and non-alphanumeric characters.

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) DisallowUsernameSubstring added in v6.35.0

Prevents the use of the username in the password.

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) Elem added in v6.35.0

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) ElementType added in v6.35.0

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) EnablePasswordPolicy added in v6.35.0

Enables or disable the password validation policy.

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) MinLength added in v6.35.0

Specifies the minimum number of characters that the password must have.

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) PasswordChangeInterval added in v6.35.0

Specifies the minimum duration after which you can change the password.

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) ReuseInterval added in v6.35.0

Specifies the number of previous passwords that you can't reuse.

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutput added in v6.35.0

func (DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext added in v6.35.0

func (o DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput) ToDatabaseInstanceSettingsPasswordValidationPolicyPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPasswordValidationPolicyPtrOutput

type DatabaseInstanceSettingsPtrInput

type DatabaseInstanceSettingsPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput
	ToDatabaseInstanceSettingsPtrOutputWithContext(context.Context) DatabaseInstanceSettingsPtrOutput
}

DatabaseInstanceSettingsPtrInput is an input type that accepts DatabaseInstanceSettingsArgs, DatabaseInstanceSettingsPtr and DatabaseInstanceSettingsPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsPtrInput` via:

        DatabaseInstanceSettingsArgs{...}

or:

        nil

type DatabaseInstanceSettingsPtrOutput

type DatabaseInstanceSettingsPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsPtrOutput) ActivationPolicy

This specifies when the instance should be active. Can be either `ALWAYS`, `NEVER` or `ON_DEMAND`.

func (DatabaseInstanceSettingsPtrOutput) ActiveDirectoryConfig added in v6.25.0

func (DatabaseInstanceSettingsPtrOutput) AvailabilityType

The availability type of the Cloud SQL instance, high availability (`REGIONAL`) or single zone (`ZONAL`).' For all instances, ensure that `settings.backup_configuration.enabled` is set to `true`. For MySQL instances, ensure that `settings.backup_configuration.binary_log_enabled` is set to `true`. For Postgres instances, ensure that `settings.backup_configuration.point_in_time_recovery_enabled` is set to `true`. Defaults to `ZONAL`.

func (DatabaseInstanceSettingsPtrOutput) BackupConfiguration

func (DatabaseInstanceSettingsPtrOutput) Collation

The name of server instance collation.

func (DatabaseInstanceSettingsPtrOutput) ConnectorEnforcement added in v6.44.0

func (o DatabaseInstanceSettingsPtrOutput) ConnectorEnforcement() pulumi.StringPtrOutput

Specifies if connections must use Cloud SQL connectors.

func (DatabaseInstanceSettingsPtrOutput) DatabaseFlags

func (DatabaseInstanceSettingsPtrOutput) DiskAutoresize

Enables auto-resizing of the storage size. Defaults to `true`.

func (DatabaseInstanceSettingsPtrOutput) DiskAutoresizeLimit

func (o DatabaseInstanceSettingsPtrOutput) DiskAutoresizeLimit() pulumi.IntPtrOutput

The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.

func (DatabaseInstanceSettingsPtrOutput) DiskSize

The size of data disk, in GB. Size of a running instance cannot be reduced but can be increased. The minimum value is 10GB.

func (DatabaseInstanceSettingsPtrOutput) DiskType

The type of data disk: PD_SSD or PD_HDD. Defaults to `PD_SSD`.

func (DatabaseInstanceSettingsPtrOutput) Elem

func (DatabaseInstanceSettingsPtrOutput) ElementType

func (DatabaseInstanceSettingsPtrOutput) InsightsConfig

func (DatabaseInstanceSettingsPtrOutput) IpConfiguration

func (DatabaseInstanceSettingsPtrOutput) LocationPreference

func (DatabaseInstanceSettingsPtrOutput) MaintenanceWindow

func (DatabaseInstanceSettingsPtrOutput) PasswordValidationPolicy added in v6.35.0

func (DatabaseInstanceSettingsPtrOutput) PricingPlan

Pricing plan for this instance, can only be `PER_USE`.

func (DatabaseInstanceSettingsPtrOutput) SqlServerAuditConfig added in v6.31.0

func (DatabaseInstanceSettingsPtrOutput) Tier

The machine type to use. See [tiers](https://cloud.google.com/sql/docs/admin-api/v1beta4/tiers) for more details and supported versions. Postgres supports only shared-core machine types, and custom machine types such as `db-custom-2-13312`. See the [Custom Machine Type Documentation](https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#create) to learn about specifying custom machine types.

func (DatabaseInstanceSettingsPtrOutput) TimeZone added in v6.42.0

The timeZone to be used by the database engine (supported only for SQL Server), in SQL Server timezone format.

func (DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutput

func (o DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutput() DatabaseInstanceSettingsPtrOutput

func (DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutputWithContext

func (o DatabaseInstanceSettingsPtrOutput) ToDatabaseInstanceSettingsPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsPtrOutput

func (DatabaseInstanceSettingsPtrOutput) UserLabels

A set of key/value user label pairs to assign to the instance.

func (DatabaseInstanceSettingsPtrOutput) Version

type DatabaseInstanceSettingsSqlServerAuditConfig added in v6.31.0

type DatabaseInstanceSettingsSqlServerAuditConfig struct {
	// The name of the destination bucket (e.g., gs://mybucket).
	Bucket string `pulumi:"bucket"`
	// How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	RetentionInterval *string `pulumi:"retentionInterval"`
	// How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	UploadInterval *string `pulumi:"uploadInterval"`
}

type DatabaseInstanceSettingsSqlServerAuditConfigArgs added in v6.31.0

type DatabaseInstanceSettingsSqlServerAuditConfigArgs struct {
	// The name of the destination bucket (e.g., gs://mybucket).
	Bucket pulumi.StringInput `pulumi:"bucket"`
	// How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	RetentionInterval pulumi.StringPtrInput `pulumi:"retentionInterval"`
	// How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	UploadInterval pulumi.StringPtrInput `pulumi:"uploadInterval"`
}

func (DatabaseInstanceSettingsSqlServerAuditConfigArgs) ElementType added in v6.31.0

func (DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigOutput added in v6.31.0

func (i DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigOutput() DatabaseInstanceSettingsSqlServerAuditConfigOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigOutputWithContext added in v6.31.0

func (i DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigOutputWithContext(ctx context.Context) DatabaseInstanceSettingsSqlServerAuditConfigOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutput added in v6.31.0

func (i DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutput() DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext added in v6.31.0

func (i DatabaseInstanceSettingsSqlServerAuditConfigArgs) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput

type DatabaseInstanceSettingsSqlServerAuditConfigInput added in v6.31.0

type DatabaseInstanceSettingsSqlServerAuditConfigInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsSqlServerAuditConfigOutput() DatabaseInstanceSettingsSqlServerAuditConfigOutput
	ToDatabaseInstanceSettingsSqlServerAuditConfigOutputWithContext(context.Context) DatabaseInstanceSettingsSqlServerAuditConfigOutput
}

DatabaseInstanceSettingsSqlServerAuditConfigInput is an input type that accepts DatabaseInstanceSettingsSqlServerAuditConfigArgs and DatabaseInstanceSettingsSqlServerAuditConfigOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsSqlServerAuditConfigInput` via:

DatabaseInstanceSettingsSqlServerAuditConfigArgs{...}

type DatabaseInstanceSettingsSqlServerAuditConfigOutput added in v6.31.0

type DatabaseInstanceSettingsSqlServerAuditConfigOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) Bucket added in v6.31.0

The name of the destination bucket (e.g., gs://mybucket).

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) ElementType added in v6.31.0

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) RetentionInterval added in v6.31.0

How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigOutput added in v6.31.0

func (o DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigOutput() DatabaseInstanceSettingsSqlServerAuditConfigOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigOutputWithContext added in v6.31.0

func (o DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigOutputWithContext(ctx context.Context) DatabaseInstanceSettingsSqlServerAuditConfigOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutput added in v6.31.0

func (o DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutput() DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext added in v6.31.0

func (o DatabaseInstanceSettingsSqlServerAuditConfigOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigOutput) UploadInterval added in v6.31.0

How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

type DatabaseInstanceSettingsSqlServerAuditConfigPtrInput added in v6.31.0

type DatabaseInstanceSettingsSqlServerAuditConfigPtrInput interface {
	pulumi.Input

	ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutput() DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput
	ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext(context.Context) DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput
}

DatabaseInstanceSettingsSqlServerAuditConfigPtrInput is an input type that accepts DatabaseInstanceSettingsSqlServerAuditConfigArgs, DatabaseInstanceSettingsSqlServerAuditConfigPtr and DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput values. You can construct a concrete instance of `DatabaseInstanceSettingsSqlServerAuditConfigPtrInput` via:

        DatabaseInstanceSettingsSqlServerAuditConfigArgs{...}

or:

        nil

type DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput added in v6.31.0

type DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput struct{ *pulumi.OutputState }

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) Bucket added in v6.31.0

The name of the destination bucket (e.g., gs://mybucket).

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) Elem added in v6.31.0

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) ElementType added in v6.31.0

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) RetentionInterval added in v6.31.0

How long to keep generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutput added in v6.31.0

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext added in v6.31.0

func (o DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) ToDatabaseInstanceSettingsSqlServerAuditConfigPtrOutputWithContext(ctx context.Context) DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput

func (DatabaseInstanceSettingsSqlServerAuditConfigPtrOutput) UploadInterval added in v6.31.0

How often to upload generated audit files. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

type DatabaseInstanceState

type DatabaseInstanceState struct {
	// The list of all maintenance versions applicable on the instance.
	AvailableMaintenanceVersions pulumi.StringArrayInput
	// The context needed to create this instance as a clone of another instance. When this field is set during
	// resource creation, this provider will attempt to clone another instance as indicated in the context. The
	// configuration is detailed below.
	Clone DatabaseInstanceClonePtrInput
	// The connection name of the instance to be used in
	// connection strings. For example, when connecting with [Cloud SQL Proxy](https://cloud.google.com/sql/docs/mysql/connect-admin-proxy).
	ConnectionName pulumi.StringPtrInput
	// The MySQL, PostgreSQL or
	// SQL Server version to use. Supported values include `MYSQL_5_6`,
	// `MYSQL_5_7`, `MYSQL_8_0`, `POSTGRES_9_6`,`POSTGRES_10`, `POSTGRES_11`,
	// `POSTGRES_12`, `POSTGRES_13`, `POSTGRES_14`, `SQLSERVER_2017_STANDARD`,
	// `SQLSERVER_2017_ENTERPRISE`, `SQLSERVER_2017_EXPRESS`, `SQLSERVER_2017_WEB`.
	// `SQLSERVER_2019_STANDARD`, `SQLSERVER_2019_ENTERPRISE`, `SQLSERVER_2019_EXPRESS`,
	// `SQLSERVER_2019_WEB`.
	// [Database Version Policies](https://cloud.google.com/sql/docs/db-versions)
	// includes an up-to-date reference of supported versions.
	DatabaseVersion pulumi.StringPtrInput
	// Whether or not to allow the provider to destroy the instance. Unless this field is set to false
	// in state, a `destroy` or `update` command that deletes the instance will fail. Defaults to `true`.
	DeletionProtection pulumi.BoolPtrInput
	// 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](https://cloud.google.com/sql/docs/mysql/configure-cmek#service-account).
	// That service account needs the `Cloud KMS > Cloud KMS CryptoKey Encrypter/Decrypter` role on your
	// key - please see [this step](https://cloud.google.com/sql/docs/mysql/configure-cmek#grantkey).
	EncryptionKeyName pulumi.StringPtrInput
	// The first IPv4 address of any type assigned.
	FirstIpAddress pulumi.StringPtrInput
	IpAddresses    DatabaseInstanceIpAddressArrayInput
	// The current software version on the instance. This attribute can not be set during creation. Refer to `availableMaintenanceVersions` attribute to see what `maintenanceVersion` are available for upgrade. When this attribute gets updated, it will cause an instance restart. Setting a `maintenanceVersion` value that is older than the current one on the instance will be ignored.
	MaintenanceVersion pulumi.StringPtrInput
	// The name of the existing instance that will
	// act as the master in the replication setup. Note, this requires the master to
	// have `binaryLogEnabled` set, as well as existing backups.
	MasterInstanceName pulumi.StringPtrInput
	// A name for this whitelist entry.
	Name pulumi.StringPtrInput
	// The first private (`PRIVATE`) IPv4 address assigned.
	PrivateIpAddress pulumi.StringPtrInput
	// The full project ID of the source instance.`
	Project pulumi.StringPtrInput
	// The first public (`PRIMARY`) IPv4 address assigned.
	PublicIpAddress pulumi.StringPtrInput
	// The region the instance will sit in. If a region is not provided in the resource definition,
	// the provider region will be used instead.
	Region pulumi.StringPtrInput
	// The configuration for replication. The
	// configuration is detailed below. Valid only for MySQL instances.
	ReplicaConfiguration DatabaseInstanceReplicaConfigurationPtrInput
	// The context needed to restore the database to a backup run. This field will
	// cause the provider to trigger the database to restore from the backup run indicated. The configuration is detailed below.
	// **NOTE:** Restoring from a backup is an imperative action and not recommended via this provider. Adding or modifying this
	// block during resource creation/update will trigger the restore action after the resource is created/updated.
	RestoreBackupContext DatabaseInstanceRestoreBackupContextPtrInput
	// Initial root password. Required for MS SQL Server.
	RootPassword pulumi.StringPtrInput
	// The URI of the created resource.
	SelfLink      pulumi.StringPtrInput
	ServerCaCerts DatabaseInstanceServerCaCertArrayInput
	// The service account email address assigned to the
	// instance.
	ServiceAccountEmailAddress pulumi.StringPtrInput
	// The settings to use for the database. The
	// configuration is detailed below. Required if `clone` is not set.
	Settings DatabaseInstanceSettingsPtrInput
}

func (DatabaseInstanceState) ElementType

func (DatabaseInstanceState) ElementType() reflect.Type

type DatabaseMap

type DatabaseMap map[string]DatabaseInput

func (DatabaseMap) ElementType

func (DatabaseMap) ElementType() reflect.Type

func (DatabaseMap) ToDatabaseMapOutput

func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMap) ToDatabaseMapOutputWithContext

func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseMapInput

type DatabaseMapInput interface {
	pulumi.Input

	ToDatabaseMapOutput() DatabaseMapOutput
	ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput
}

DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:

DatabaseMap{ "key": DatabaseArgs{...} }

type DatabaseMapOutput

type DatabaseMapOutput struct{ *pulumi.OutputState }

func (DatabaseMapOutput) ElementType

func (DatabaseMapOutput) ElementType() reflect.Type

func (DatabaseMapOutput) MapIndex

func (DatabaseMapOutput) ToDatabaseMapOutput

func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput

func (DatabaseMapOutput) ToDatabaseMapOutputWithContext

func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput

type DatabaseOutput

type DatabaseOutput struct{ *pulumi.OutputState }

func (DatabaseOutput) Charset added in v6.23.0

func (o DatabaseOutput) Charset() pulumi.StringOutput

The charset value. See MySQL's [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html) for more details and supported values. Postgres databases only support a value of `UTF8` at creation time.

func (DatabaseOutput) Collation added in v6.23.0

func (o DatabaseOutput) Collation() pulumi.StringOutput

The collation value. See MySQL's [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html) and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html) for more details and supported values. Postgres databases only support a value of `en_US.UTF8` at creation time.

func (DatabaseOutput) ElementType

func (DatabaseOutput) ElementType() reflect.Type

func (DatabaseOutput) Instance added in v6.23.0

func (o DatabaseOutput) Instance() pulumi.StringOutput

The name of the Cloud SQL instance. This does not include the project ID.

func (DatabaseOutput) Name added in v6.23.0

The name of the database in the Cloud SQL instance. This does not include the project ID or instance name.

func (DatabaseOutput) Project added in v6.23.0

func (o DatabaseOutput) Project() pulumi.StringOutput

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

func (o DatabaseOutput) SelfLink() pulumi.StringOutput

The URI of the created resource.

func (DatabaseOutput) ToDatabaseOutput

func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput

func (DatabaseOutput) ToDatabaseOutputWithContext

func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput

type DatabaseState

type DatabaseState struct {
	// The charset value. See MySQL's
	// [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
	// and Postgres' [Character Set Support](https://www.postgresql.org/docs/9.6/static/multibyte.html)
	// for more details and supported values. Postgres databases only support
	// a value of `UTF8` at creation time.
	Charset pulumi.StringPtrInput
	// The collation value. See MySQL's
	// [Supported Character Sets and Collations](https://dev.mysql.com/doc/refman/5.7/en/charset-charsets.html)
	// and Postgres' [Collation Support](https://www.postgresql.org/docs/9.6/static/collation.html)
	// for more details and supported values. Postgres databases only support
	// a value of `en_US.UTF8` at creation time.
	Collation pulumi.StringPtrInput
	// The name of the Cloud SQL instance. This does not include the project
	// ID.
	Instance pulumi.StringPtrInput
	// The name of the database in the Cloud SQL instance.
	// This does not include the project ID or instance name.
	Name pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The URI of the created resource.
	SelfLink pulumi.StringPtrInput
}

func (DatabaseState) ElementType

func (DatabaseState) ElementType() reflect.Type

type GetBackupRunArgs

type GetBackupRunArgs struct {
	// The identifier for this backup run. Unique only for a specific Cloud SQL instance.
	// If left empty and multiple backups exist for the instance, `mostRecent` must be set to `true`.
	BackupId *int `pulumi:"backupId"`
	// The name of the instance the backup is taken from.
	Instance string `pulumi:"instance"`
	// Toggles use of the most recent backup run if multiple backups exist for a
	// Cloud SQL instance.
	MostRecent *bool `pulumi:"mostRecent"`
	// The project to list instances for. If it
	// is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getBackupRun.

type GetBackupRunOutputArgs

type GetBackupRunOutputArgs struct {
	// The identifier for this backup run. Unique only for a specific Cloud SQL instance.
	// If left empty and multiple backups exist for the instance, `mostRecent` must be set to `true`.
	BackupId pulumi.IntPtrInput `pulumi:"backupId"`
	// The name of the instance the backup is taken from.
	Instance pulumi.StringInput `pulumi:"instance"`
	// Toggles use of the most recent backup run if multiple backups exist for a
	// Cloud SQL instance.
	MostRecent pulumi.BoolPtrInput `pulumi:"mostRecent"`
	// The project to list instances for. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getBackupRun.

func (GetBackupRunOutputArgs) ElementType

func (GetBackupRunOutputArgs) ElementType() reflect.Type

type GetBackupRunResult

type GetBackupRunResult struct {
	BackupId int `pulumi:"backupId"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Instance string `pulumi:"instance"`
	// Location of the backups.
	Location   string `pulumi:"location"`
	MostRecent *bool  `pulumi:"mostRecent"`
	Project    string `pulumi:"project"`
	// The time the backup operation actually started in UTC timezone in RFC 3339 format, for
	// example 2012-11-15T16:19:00.094Z.
	StartTime string `pulumi:"startTime"`
	// The status of this run. Refer to [API reference](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns#SqlBackupRunStatus) for possible status values.
	Status string `pulumi:"status"`
}

A collection of values returned by getBackupRun.

func GetBackupRun

func GetBackupRun(ctx *pulumi.Context, args *GetBackupRunArgs, opts ...pulumi.InvokeOption) (*GetBackupRunResult, error)

Use this data source to get information about a Cloud SQL instance backup run.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err = sql.GetBackupRun(ctx, &sql.GetBackupRunArgs{
			Instance:   google_sql_database_instance.Main.Name,
			MostRecent: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetBackupRunResultOutput

type GetBackupRunResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBackupRun.

func (GetBackupRunResultOutput) BackupId

func (GetBackupRunResultOutput) ElementType

func (GetBackupRunResultOutput) ElementType() reflect.Type

func (GetBackupRunResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetBackupRunResultOutput) Instance

func (GetBackupRunResultOutput) Location

Location of the backups.

func (GetBackupRunResultOutput) MostRecent

func (GetBackupRunResultOutput) Project added in v6.31.0

func (GetBackupRunResultOutput) StartTime

The time the backup operation actually started in UTC timezone in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

func (GetBackupRunResultOutput) Status

The status of this run. Refer to [API reference](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/backupRuns#SqlBackupRunStatus) for possible status values.

func (GetBackupRunResultOutput) ToGetBackupRunResultOutput

func (o GetBackupRunResultOutput) ToGetBackupRunResultOutput() GetBackupRunResultOutput

func (GetBackupRunResultOutput) ToGetBackupRunResultOutputWithContext

func (o GetBackupRunResultOutput) ToGetBackupRunResultOutputWithContext(ctx context.Context) GetBackupRunResultOutput

type GetCaCertsArgs

type GetCaCertsArgs struct {
	// The name or self link of the instance.
	Instance string `pulumi:"instance"`
	// The ID of the project in which the resource belongs. If `project` is not provided, the provider project is used.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getCaCerts.

type GetCaCertsCert

type GetCaCertsCert struct {
	// The CA certificate used to connect to the SQL instance via SSL.
	Cert string `pulumi:"cert"`
	// The CN valid for the CA cert.
	CommonName string `pulumi:"commonName"`
	// Creation time of the CA cert.
	CreateTime string `pulumi:"createTime"`
	// Expiration time of the CA cert.
	ExpirationTime string `pulumi:"expirationTime"`
	// SHA1 fingerprint of the CA cert.
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
}

type GetCaCertsCertArgs

type GetCaCertsCertArgs struct {
	// The CA certificate used to connect to the SQL instance via SSL.
	Cert pulumi.StringInput `pulumi:"cert"`
	// The CN valid for the CA cert.
	CommonName pulumi.StringInput `pulumi:"commonName"`
	// Creation time of the CA cert.
	CreateTime pulumi.StringInput `pulumi:"createTime"`
	// Expiration time of the CA cert.
	ExpirationTime pulumi.StringInput `pulumi:"expirationTime"`
	// SHA1 fingerprint of the CA cert.
	Sha1Fingerprint pulumi.StringInput `pulumi:"sha1Fingerprint"`
}

func (GetCaCertsCertArgs) ElementType

func (GetCaCertsCertArgs) ElementType() reflect.Type

func (GetCaCertsCertArgs) ToGetCaCertsCertOutput

func (i GetCaCertsCertArgs) ToGetCaCertsCertOutput() GetCaCertsCertOutput

func (GetCaCertsCertArgs) ToGetCaCertsCertOutputWithContext

func (i GetCaCertsCertArgs) ToGetCaCertsCertOutputWithContext(ctx context.Context) GetCaCertsCertOutput

type GetCaCertsCertArray

type GetCaCertsCertArray []GetCaCertsCertInput

func (GetCaCertsCertArray) ElementType

func (GetCaCertsCertArray) ElementType() reflect.Type

func (GetCaCertsCertArray) ToGetCaCertsCertArrayOutput

func (i GetCaCertsCertArray) ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput

func (GetCaCertsCertArray) ToGetCaCertsCertArrayOutputWithContext

func (i GetCaCertsCertArray) ToGetCaCertsCertArrayOutputWithContext(ctx context.Context) GetCaCertsCertArrayOutput

type GetCaCertsCertArrayInput

type GetCaCertsCertArrayInput interface {
	pulumi.Input

	ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput
	ToGetCaCertsCertArrayOutputWithContext(context.Context) GetCaCertsCertArrayOutput
}

GetCaCertsCertArrayInput is an input type that accepts GetCaCertsCertArray and GetCaCertsCertArrayOutput values. You can construct a concrete instance of `GetCaCertsCertArrayInput` via:

GetCaCertsCertArray{ GetCaCertsCertArgs{...} }

type GetCaCertsCertArrayOutput

type GetCaCertsCertArrayOutput struct{ *pulumi.OutputState }

func (GetCaCertsCertArrayOutput) ElementType

func (GetCaCertsCertArrayOutput) ElementType() reflect.Type

func (GetCaCertsCertArrayOutput) Index

func (GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutput

func (o GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutput() GetCaCertsCertArrayOutput

func (GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutputWithContext

func (o GetCaCertsCertArrayOutput) ToGetCaCertsCertArrayOutputWithContext(ctx context.Context) GetCaCertsCertArrayOutput

type GetCaCertsCertInput

type GetCaCertsCertInput interface {
	pulumi.Input

	ToGetCaCertsCertOutput() GetCaCertsCertOutput
	ToGetCaCertsCertOutputWithContext(context.Context) GetCaCertsCertOutput
}

GetCaCertsCertInput is an input type that accepts GetCaCertsCertArgs and GetCaCertsCertOutput values. You can construct a concrete instance of `GetCaCertsCertInput` via:

GetCaCertsCertArgs{...}

type GetCaCertsCertOutput

type GetCaCertsCertOutput struct{ *pulumi.OutputState }

func (GetCaCertsCertOutput) Cert

The CA certificate used to connect to the SQL instance via SSL.

func (GetCaCertsCertOutput) CommonName

func (o GetCaCertsCertOutput) CommonName() pulumi.StringOutput

The CN valid for the CA cert.

func (GetCaCertsCertOutput) CreateTime

func (o GetCaCertsCertOutput) CreateTime() pulumi.StringOutput

Creation time of the CA cert.

func (GetCaCertsCertOutput) ElementType

func (GetCaCertsCertOutput) ElementType() reflect.Type

func (GetCaCertsCertOutput) ExpirationTime

func (o GetCaCertsCertOutput) ExpirationTime() pulumi.StringOutput

Expiration time of the CA cert.

func (GetCaCertsCertOutput) Sha1Fingerprint

func (o GetCaCertsCertOutput) Sha1Fingerprint() pulumi.StringOutput

SHA1 fingerprint of the CA cert.

func (GetCaCertsCertOutput) ToGetCaCertsCertOutput

func (o GetCaCertsCertOutput) ToGetCaCertsCertOutput() GetCaCertsCertOutput

func (GetCaCertsCertOutput) ToGetCaCertsCertOutputWithContext

func (o GetCaCertsCertOutput) ToGetCaCertsCertOutputWithContext(ctx context.Context) GetCaCertsCertOutput

type GetCaCertsOutputArgs

type GetCaCertsOutputArgs struct {
	// The name or self link of the instance.
	Instance pulumi.StringInput `pulumi:"instance"`
	// The ID of the project in which the resource belongs. If `project` is not provided, the provider project is used.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getCaCerts.

func (GetCaCertsOutputArgs) ElementType

func (GetCaCertsOutputArgs) ElementType() reflect.Type

type GetCaCertsResult

type GetCaCertsResult struct {
	// SHA1 fingerprint of the currently active CA certificate.
	ActiveVersion string `pulumi:"activeVersion"`
	// A list of server CA certificates for the instance. Each contains:
	Certs []GetCaCertsCert `pulumi:"certs"`
	// The provider-assigned unique ID for this managed resource.
	Id       string `pulumi:"id"`
	Instance string `pulumi:"instance"`
	Project  string `pulumi:"project"`
}

A collection of values returned by getCaCerts.

func GetCaCerts

func GetCaCerts(ctx *pulumi.Context, args *GetCaCertsArgs, opts ...pulumi.InvokeOption) (*GetCaCertsResult, error)

Get all of the trusted Certificate Authorities (CAs) for the specified SQL database instance. For more information see the [official documentation](https://cloud.google.com/sql/) and [API](https://cloud.google.com/sql/docs/mysql/admin-api/rest/v1beta4/instances/listServerCas).

type GetCaCertsResultOutput

type GetCaCertsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getCaCerts.

func (GetCaCertsResultOutput) ActiveVersion

func (o GetCaCertsResultOutput) ActiveVersion() pulumi.StringOutput

SHA1 fingerprint of the currently active CA certificate.

func (GetCaCertsResultOutput) Certs

A list of server CA certificates for the instance. Each contains:

func (GetCaCertsResultOutput) ElementType

func (GetCaCertsResultOutput) ElementType() reflect.Type

func (GetCaCertsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetCaCertsResultOutput) Instance

func (GetCaCertsResultOutput) Project

func (GetCaCertsResultOutput) ToGetCaCertsResultOutput

func (o GetCaCertsResultOutput) ToGetCaCertsResultOutput() GetCaCertsResultOutput

func (GetCaCertsResultOutput) ToGetCaCertsResultOutputWithContext

func (o GetCaCertsResultOutput) ToGetCaCertsResultOutputWithContext(ctx context.Context) GetCaCertsResultOutput

type GetDatabaseInstanceClone

type GetDatabaseInstanceClone struct {
	AllocatedIpRange   string `pulumi:"allocatedIpRange"`
	PointInTime        string `pulumi:"pointInTime"`
	SourceInstanceName string `pulumi:"sourceInstanceName"`
}

type GetDatabaseInstanceCloneArgs

type GetDatabaseInstanceCloneArgs struct {
	AllocatedIpRange   pulumi.StringInput `pulumi:"allocatedIpRange"`
	PointInTime        pulumi.StringInput `pulumi:"pointInTime"`
	SourceInstanceName pulumi.StringInput `pulumi:"sourceInstanceName"`
}

func (GetDatabaseInstanceCloneArgs) ElementType

func (GetDatabaseInstanceCloneArgs) ToGetDatabaseInstanceCloneOutput

func (i GetDatabaseInstanceCloneArgs) ToGetDatabaseInstanceCloneOutput() GetDatabaseInstanceCloneOutput

func (GetDatabaseInstanceCloneArgs) ToGetDatabaseInstanceCloneOutputWithContext

func (i GetDatabaseInstanceCloneArgs) ToGetDatabaseInstanceCloneOutputWithContext(ctx context.Context) GetDatabaseInstanceCloneOutput

type GetDatabaseInstanceCloneArray

type GetDatabaseInstanceCloneArray []GetDatabaseInstanceCloneInput

func (GetDatabaseInstanceCloneArray) ElementType

func (GetDatabaseInstanceCloneArray) ToGetDatabaseInstanceCloneArrayOutput

func (i GetDatabaseInstanceCloneArray) ToGetDatabaseInstanceCloneArrayOutput() GetDatabaseInstanceCloneArrayOutput

func (GetDatabaseInstanceCloneArray) ToGetDatabaseInstanceCloneArrayOutputWithContext

func (i GetDatabaseInstanceCloneArray) ToGetDatabaseInstanceCloneArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceCloneArrayOutput

type GetDatabaseInstanceCloneArrayInput

type GetDatabaseInstanceCloneArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceCloneArrayOutput() GetDatabaseInstanceCloneArrayOutput
	ToGetDatabaseInstanceCloneArrayOutputWithContext(context.Context) GetDatabaseInstanceCloneArrayOutput
}

GetDatabaseInstanceCloneArrayInput is an input type that accepts GetDatabaseInstanceCloneArray and GetDatabaseInstanceCloneArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceCloneArrayInput` via:

GetDatabaseInstanceCloneArray{ GetDatabaseInstanceCloneArgs{...} }

type GetDatabaseInstanceCloneArrayOutput

type GetDatabaseInstanceCloneArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceCloneArrayOutput) ElementType

func (GetDatabaseInstanceCloneArrayOutput) Index

func (GetDatabaseInstanceCloneArrayOutput) ToGetDatabaseInstanceCloneArrayOutput

func (o GetDatabaseInstanceCloneArrayOutput) ToGetDatabaseInstanceCloneArrayOutput() GetDatabaseInstanceCloneArrayOutput

func (GetDatabaseInstanceCloneArrayOutput) ToGetDatabaseInstanceCloneArrayOutputWithContext

func (o GetDatabaseInstanceCloneArrayOutput) ToGetDatabaseInstanceCloneArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceCloneArrayOutput

type GetDatabaseInstanceCloneInput

type GetDatabaseInstanceCloneInput interface {
	pulumi.Input

	ToGetDatabaseInstanceCloneOutput() GetDatabaseInstanceCloneOutput
	ToGetDatabaseInstanceCloneOutputWithContext(context.Context) GetDatabaseInstanceCloneOutput
}

GetDatabaseInstanceCloneInput is an input type that accepts GetDatabaseInstanceCloneArgs and GetDatabaseInstanceCloneOutput values. You can construct a concrete instance of `GetDatabaseInstanceCloneInput` via:

GetDatabaseInstanceCloneArgs{...}

type GetDatabaseInstanceCloneOutput

type GetDatabaseInstanceCloneOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceCloneOutput) AllocatedIpRange added in v6.12.0

func (o GetDatabaseInstanceCloneOutput) AllocatedIpRange() pulumi.StringOutput

func (GetDatabaseInstanceCloneOutput) ElementType

func (GetDatabaseInstanceCloneOutput) PointInTime

func (GetDatabaseInstanceCloneOutput) SourceInstanceName

func (o GetDatabaseInstanceCloneOutput) SourceInstanceName() pulumi.StringOutput

func (GetDatabaseInstanceCloneOutput) ToGetDatabaseInstanceCloneOutput

func (o GetDatabaseInstanceCloneOutput) ToGetDatabaseInstanceCloneOutput() GetDatabaseInstanceCloneOutput

func (GetDatabaseInstanceCloneOutput) ToGetDatabaseInstanceCloneOutputWithContext

func (o GetDatabaseInstanceCloneOutput) ToGetDatabaseInstanceCloneOutputWithContext(ctx context.Context) GetDatabaseInstanceCloneOutput

type GetDatabaseInstanceIpAddress

type GetDatabaseInstanceIpAddress struct {
	IpAddress    string `pulumi:"ipAddress"`
	TimeToRetire string `pulumi:"timeToRetire"`
	Type         string `pulumi:"type"`
}

type GetDatabaseInstanceIpAddressArgs

type GetDatabaseInstanceIpAddressArgs struct {
	IpAddress    pulumi.StringInput `pulumi:"ipAddress"`
	TimeToRetire pulumi.StringInput `pulumi:"timeToRetire"`
	Type         pulumi.StringInput `pulumi:"type"`
}

func (GetDatabaseInstanceIpAddressArgs) ElementType

func (GetDatabaseInstanceIpAddressArgs) ToGetDatabaseInstanceIpAddressOutput

func (i GetDatabaseInstanceIpAddressArgs) ToGetDatabaseInstanceIpAddressOutput() GetDatabaseInstanceIpAddressOutput

func (GetDatabaseInstanceIpAddressArgs) ToGetDatabaseInstanceIpAddressOutputWithContext

func (i GetDatabaseInstanceIpAddressArgs) ToGetDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) GetDatabaseInstanceIpAddressOutput

type GetDatabaseInstanceIpAddressArray

type GetDatabaseInstanceIpAddressArray []GetDatabaseInstanceIpAddressInput

func (GetDatabaseInstanceIpAddressArray) ElementType

func (GetDatabaseInstanceIpAddressArray) ToGetDatabaseInstanceIpAddressArrayOutput

func (i GetDatabaseInstanceIpAddressArray) ToGetDatabaseInstanceIpAddressArrayOutput() GetDatabaseInstanceIpAddressArrayOutput

func (GetDatabaseInstanceIpAddressArray) ToGetDatabaseInstanceIpAddressArrayOutputWithContext

func (i GetDatabaseInstanceIpAddressArray) ToGetDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceIpAddressArrayOutput

type GetDatabaseInstanceIpAddressArrayInput

type GetDatabaseInstanceIpAddressArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceIpAddressArrayOutput() GetDatabaseInstanceIpAddressArrayOutput
	ToGetDatabaseInstanceIpAddressArrayOutputWithContext(context.Context) GetDatabaseInstanceIpAddressArrayOutput
}

GetDatabaseInstanceIpAddressArrayInput is an input type that accepts GetDatabaseInstanceIpAddressArray and GetDatabaseInstanceIpAddressArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceIpAddressArrayInput` via:

GetDatabaseInstanceIpAddressArray{ GetDatabaseInstanceIpAddressArgs{...} }

type GetDatabaseInstanceIpAddressArrayOutput

type GetDatabaseInstanceIpAddressArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceIpAddressArrayOutput) ElementType

func (GetDatabaseInstanceIpAddressArrayOutput) Index

func (GetDatabaseInstanceIpAddressArrayOutput) ToGetDatabaseInstanceIpAddressArrayOutput

func (o GetDatabaseInstanceIpAddressArrayOutput) ToGetDatabaseInstanceIpAddressArrayOutput() GetDatabaseInstanceIpAddressArrayOutput

func (GetDatabaseInstanceIpAddressArrayOutput) ToGetDatabaseInstanceIpAddressArrayOutputWithContext

func (o GetDatabaseInstanceIpAddressArrayOutput) ToGetDatabaseInstanceIpAddressArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceIpAddressArrayOutput

type GetDatabaseInstanceIpAddressInput

type GetDatabaseInstanceIpAddressInput interface {
	pulumi.Input

	ToGetDatabaseInstanceIpAddressOutput() GetDatabaseInstanceIpAddressOutput
	ToGetDatabaseInstanceIpAddressOutputWithContext(context.Context) GetDatabaseInstanceIpAddressOutput
}

GetDatabaseInstanceIpAddressInput is an input type that accepts GetDatabaseInstanceIpAddressArgs and GetDatabaseInstanceIpAddressOutput values. You can construct a concrete instance of `GetDatabaseInstanceIpAddressInput` via:

GetDatabaseInstanceIpAddressArgs{...}

type GetDatabaseInstanceIpAddressOutput

type GetDatabaseInstanceIpAddressOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceIpAddressOutput) ElementType

func (GetDatabaseInstanceIpAddressOutput) IpAddress

func (GetDatabaseInstanceIpAddressOutput) TimeToRetire

func (GetDatabaseInstanceIpAddressOutput) ToGetDatabaseInstanceIpAddressOutput

func (o GetDatabaseInstanceIpAddressOutput) ToGetDatabaseInstanceIpAddressOutput() GetDatabaseInstanceIpAddressOutput

func (GetDatabaseInstanceIpAddressOutput) ToGetDatabaseInstanceIpAddressOutputWithContext

func (o GetDatabaseInstanceIpAddressOutput) ToGetDatabaseInstanceIpAddressOutputWithContext(ctx context.Context) GetDatabaseInstanceIpAddressOutput

func (GetDatabaseInstanceIpAddressOutput) Type

type GetDatabaseInstanceReplicaConfiguration

type GetDatabaseInstanceReplicaConfiguration struct {
	CaCertificate           string `pulumi:"caCertificate"`
	ClientCertificate       string `pulumi:"clientCertificate"`
	ClientKey               string `pulumi:"clientKey"`
	ConnectRetryInterval    int    `pulumi:"connectRetryInterval"`
	DumpFilePath            string `pulumi:"dumpFilePath"`
	FailoverTarget          bool   `pulumi:"failoverTarget"`
	MasterHeartbeatPeriod   int    `pulumi:"masterHeartbeatPeriod"`
	Password                string `pulumi:"password"`
	SslCipher               string `pulumi:"sslCipher"`
	Username                string `pulumi:"username"`
	VerifyServerCertificate bool   `pulumi:"verifyServerCertificate"`
}

type GetDatabaseInstanceReplicaConfigurationArgs

type GetDatabaseInstanceReplicaConfigurationArgs struct {
	CaCertificate           pulumi.StringInput `pulumi:"caCertificate"`
	ClientCertificate       pulumi.StringInput `pulumi:"clientCertificate"`
	ClientKey               pulumi.StringInput `pulumi:"clientKey"`
	ConnectRetryInterval    pulumi.IntInput    `pulumi:"connectRetryInterval"`
	DumpFilePath            pulumi.StringInput `pulumi:"dumpFilePath"`
	FailoverTarget          pulumi.BoolInput   `pulumi:"failoverTarget"`
	MasterHeartbeatPeriod   pulumi.IntInput    `pulumi:"masterHeartbeatPeriod"`
	Password                pulumi.StringInput `pulumi:"password"`
	SslCipher               pulumi.StringInput `pulumi:"sslCipher"`
	Username                pulumi.StringInput `pulumi:"username"`
	VerifyServerCertificate pulumi.BoolInput   `pulumi:"verifyServerCertificate"`
}

func (GetDatabaseInstanceReplicaConfigurationArgs) ElementType

func (GetDatabaseInstanceReplicaConfigurationArgs) ToGetDatabaseInstanceReplicaConfigurationOutput

func (i GetDatabaseInstanceReplicaConfigurationArgs) ToGetDatabaseInstanceReplicaConfigurationOutput() GetDatabaseInstanceReplicaConfigurationOutput

func (GetDatabaseInstanceReplicaConfigurationArgs) ToGetDatabaseInstanceReplicaConfigurationOutputWithContext

func (i GetDatabaseInstanceReplicaConfigurationArgs) ToGetDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) GetDatabaseInstanceReplicaConfigurationOutput

type GetDatabaseInstanceReplicaConfigurationArray

type GetDatabaseInstanceReplicaConfigurationArray []GetDatabaseInstanceReplicaConfigurationInput

func (GetDatabaseInstanceReplicaConfigurationArray) ElementType

func (GetDatabaseInstanceReplicaConfigurationArray) ToGetDatabaseInstanceReplicaConfigurationArrayOutput

func (i GetDatabaseInstanceReplicaConfigurationArray) ToGetDatabaseInstanceReplicaConfigurationArrayOutput() GetDatabaseInstanceReplicaConfigurationArrayOutput

func (GetDatabaseInstanceReplicaConfigurationArray) ToGetDatabaseInstanceReplicaConfigurationArrayOutputWithContext

func (i GetDatabaseInstanceReplicaConfigurationArray) ToGetDatabaseInstanceReplicaConfigurationArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceReplicaConfigurationArrayOutput

type GetDatabaseInstanceReplicaConfigurationArrayInput

type GetDatabaseInstanceReplicaConfigurationArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceReplicaConfigurationArrayOutput() GetDatabaseInstanceReplicaConfigurationArrayOutput
	ToGetDatabaseInstanceReplicaConfigurationArrayOutputWithContext(context.Context) GetDatabaseInstanceReplicaConfigurationArrayOutput
}

GetDatabaseInstanceReplicaConfigurationArrayInput is an input type that accepts GetDatabaseInstanceReplicaConfigurationArray and GetDatabaseInstanceReplicaConfigurationArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceReplicaConfigurationArrayInput` via:

GetDatabaseInstanceReplicaConfigurationArray{ GetDatabaseInstanceReplicaConfigurationArgs{...} }

type GetDatabaseInstanceReplicaConfigurationArrayOutput

type GetDatabaseInstanceReplicaConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceReplicaConfigurationArrayOutput) ElementType

func (GetDatabaseInstanceReplicaConfigurationArrayOutput) Index

func (GetDatabaseInstanceReplicaConfigurationArrayOutput) ToGetDatabaseInstanceReplicaConfigurationArrayOutput

func (o GetDatabaseInstanceReplicaConfigurationArrayOutput) ToGetDatabaseInstanceReplicaConfigurationArrayOutput() GetDatabaseInstanceReplicaConfigurationArrayOutput

func (GetDatabaseInstanceReplicaConfigurationArrayOutput) ToGetDatabaseInstanceReplicaConfigurationArrayOutputWithContext

func (o GetDatabaseInstanceReplicaConfigurationArrayOutput) ToGetDatabaseInstanceReplicaConfigurationArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceReplicaConfigurationArrayOutput

type GetDatabaseInstanceReplicaConfigurationInput

type GetDatabaseInstanceReplicaConfigurationInput interface {
	pulumi.Input

	ToGetDatabaseInstanceReplicaConfigurationOutput() GetDatabaseInstanceReplicaConfigurationOutput
	ToGetDatabaseInstanceReplicaConfigurationOutputWithContext(context.Context) GetDatabaseInstanceReplicaConfigurationOutput
}

GetDatabaseInstanceReplicaConfigurationInput is an input type that accepts GetDatabaseInstanceReplicaConfigurationArgs and GetDatabaseInstanceReplicaConfigurationOutput values. You can construct a concrete instance of `GetDatabaseInstanceReplicaConfigurationInput` via:

GetDatabaseInstanceReplicaConfigurationArgs{...}

type GetDatabaseInstanceReplicaConfigurationOutput

type GetDatabaseInstanceReplicaConfigurationOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceReplicaConfigurationOutput) CaCertificate

func (GetDatabaseInstanceReplicaConfigurationOutput) ClientCertificate

func (GetDatabaseInstanceReplicaConfigurationOutput) ClientKey

func (GetDatabaseInstanceReplicaConfigurationOutput) ConnectRetryInterval

func (GetDatabaseInstanceReplicaConfigurationOutput) DumpFilePath

func (GetDatabaseInstanceReplicaConfigurationOutput) ElementType

func (GetDatabaseInstanceReplicaConfigurationOutput) FailoverTarget

func (GetDatabaseInstanceReplicaConfigurationOutput) MasterHeartbeatPeriod

func (GetDatabaseInstanceReplicaConfigurationOutput) Password

func (GetDatabaseInstanceReplicaConfigurationOutput) SslCipher

func (GetDatabaseInstanceReplicaConfigurationOutput) ToGetDatabaseInstanceReplicaConfigurationOutput

func (o GetDatabaseInstanceReplicaConfigurationOutput) ToGetDatabaseInstanceReplicaConfigurationOutput() GetDatabaseInstanceReplicaConfigurationOutput

func (GetDatabaseInstanceReplicaConfigurationOutput) ToGetDatabaseInstanceReplicaConfigurationOutputWithContext

func (o GetDatabaseInstanceReplicaConfigurationOutput) ToGetDatabaseInstanceReplicaConfigurationOutputWithContext(ctx context.Context) GetDatabaseInstanceReplicaConfigurationOutput

func (GetDatabaseInstanceReplicaConfigurationOutput) Username

func (GetDatabaseInstanceReplicaConfigurationOutput) VerifyServerCertificate

type GetDatabaseInstanceRestoreBackupContext

type GetDatabaseInstanceRestoreBackupContext struct {
	BackupRunId int    `pulumi:"backupRunId"`
	InstanceId  string `pulumi:"instanceId"`
	// The ID of the project in which the resource belongs.
	Project string `pulumi:"project"`
}

type GetDatabaseInstanceRestoreBackupContextArgs

type GetDatabaseInstanceRestoreBackupContextArgs struct {
	BackupRunId pulumi.IntInput    `pulumi:"backupRunId"`
	InstanceId  pulumi.StringInput `pulumi:"instanceId"`
	// The ID of the project in which the resource belongs.
	Project pulumi.StringInput `pulumi:"project"`
}

func (GetDatabaseInstanceRestoreBackupContextArgs) ElementType

func (GetDatabaseInstanceRestoreBackupContextArgs) ToGetDatabaseInstanceRestoreBackupContextOutput

func (i GetDatabaseInstanceRestoreBackupContextArgs) ToGetDatabaseInstanceRestoreBackupContextOutput() GetDatabaseInstanceRestoreBackupContextOutput

func (GetDatabaseInstanceRestoreBackupContextArgs) ToGetDatabaseInstanceRestoreBackupContextOutputWithContext

func (i GetDatabaseInstanceRestoreBackupContextArgs) ToGetDatabaseInstanceRestoreBackupContextOutputWithContext(ctx context.Context) GetDatabaseInstanceRestoreBackupContextOutput

type GetDatabaseInstanceRestoreBackupContextArray

type GetDatabaseInstanceRestoreBackupContextArray []GetDatabaseInstanceRestoreBackupContextInput

func (GetDatabaseInstanceRestoreBackupContextArray) ElementType

func (GetDatabaseInstanceRestoreBackupContextArray) ToGetDatabaseInstanceRestoreBackupContextArrayOutput

func (i GetDatabaseInstanceRestoreBackupContextArray) ToGetDatabaseInstanceRestoreBackupContextArrayOutput() GetDatabaseInstanceRestoreBackupContextArrayOutput

func (GetDatabaseInstanceRestoreBackupContextArray) ToGetDatabaseInstanceRestoreBackupContextArrayOutputWithContext

func (i GetDatabaseInstanceRestoreBackupContextArray) ToGetDatabaseInstanceRestoreBackupContextArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceRestoreBackupContextArrayOutput

type GetDatabaseInstanceRestoreBackupContextArrayInput

type GetDatabaseInstanceRestoreBackupContextArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceRestoreBackupContextArrayOutput() GetDatabaseInstanceRestoreBackupContextArrayOutput
	ToGetDatabaseInstanceRestoreBackupContextArrayOutputWithContext(context.Context) GetDatabaseInstanceRestoreBackupContextArrayOutput
}

GetDatabaseInstanceRestoreBackupContextArrayInput is an input type that accepts GetDatabaseInstanceRestoreBackupContextArray and GetDatabaseInstanceRestoreBackupContextArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceRestoreBackupContextArrayInput` via:

GetDatabaseInstanceRestoreBackupContextArray{ GetDatabaseInstanceRestoreBackupContextArgs{...} }

type GetDatabaseInstanceRestoreBackupContextArrayOutput

type GetDatabaseInstanceRestoreBackupContextArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceRestoreBackupContextArrayOutput) ElementType

func (GetDatabaseInstanceRestoreBackupContextArrayOutput) Index

func (GetDatabaseInstanceRestoreBackupContextArrayOutput) ToGetDatabaseInstanceRestoreBackupContextArrayOutput

func (o GetDatabaseInstanceRestoreBackupContextArrayOutput) ToGetDatabaseInstanceRestoreBackupContextArrayOutput() GetDatabaseInstanceRestoreBackupContextArrayOutput

func (GetDatabaseInstanceRestoreBackupContextArrayOutput) ToGetDatabaseInstanceRestoreBackupContextArrayOutputWithContext

func (o GetDatabaseInstanceRestoreBackupContextArrayOutput) ToGetDatabaseInstanceRestoreBackupContextArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceRestoreBackupContextArrayOutput

type GetDatabaseInstanceRestoreBackupContextInput

type GetDatabaseInstanceRestoreBackupContextInput interface {
	pulumi.Input

	ToGetDatabaseInstanceRestoreBackupContextOutput() GetDatabaseInstanceRestoreBackupContextOutput
	ToGetDatabaseInstanceRestoreBackupContextOutputWithContext(context.Context) GetDatabaseInstanceRestoreBackupContextOutput
}

GetDatabaseInstanceRestoreBackupContextInput is an input type that accepts GetDatabaseInstanceRestoreBackupContextArgs and GetDatabaseInstanceRestoreBackupContextOutput values. You can construct a concrete instance of `GetDatabaseInstanceRestoreBackupContextInput` via:

GetDatabaseInstanceRestoreBackupContextArgs{...}

type GetDatabaseInstanceRestoreBackupContextOutput

type GetDatabaseInstanceRestoreBackupContextOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceRestoreBackupContextOutput) BackupRunId

func (GetDatabaseInstanceRestoreBackupContextOutput) ElementType

func (GetDatabaseInstanceRestoreBackupContextOutput) InstanceId

func (GetDatabaseInstanceRestoreBackupContextOutput) Project

The ID of the project in which the resource belongs.

func (GetDatabaseInstanceRestoreBackupContextOutput) ToGetDatabaseInstanceRestoreBackupContextOutput

func (o GetDatabaseInstanceRestoreBackupContextOutput) ToGetDatabaseInstanceRestoreBackupContextOutput() GetDatabaseInstanceRestoreBackupContextOutput

func (GetDatabaseInstanceRestoreBackupContextOutput) ToGetDatabaseInstanceRestoreBackupContextOutputWithContext

func (o GetDatabaseInstanceRestoreBackupContextOutput) ToGetDatabaseInstanceRestoreBackupContextOutputWithContext(ctx context.Context) GetDatabaseInstanceRestoreBackupContextOutput

type GetDatabaseInstanceServerCaCert

type GetDatabaseInstanceServerCaCert struct {
	Cert            string `pulumi:"cert"`
	CommonName      string `pulumi:"commonName"`
	CreateTime      string `pulumi:"createTime"`
	ExpirationTime  string `pulumi:"expirationTime"`
	Sha1Fingerprint string `pulumi:"sha1Fingerprint"`
}

type GetDatabaseInstanceServerCaCertArgs

type GetDatabaseInstanceServerCaCertArgs struct {
	Cert            pulumi.StringInput `pulumi:"cert"`
	CommonName      pulumi.StringInput `pulumi:"commonName"`
	CreateTime      pulumi.StringInput `pulumi:"createTime"`
	ExpirationTime  pulumi.StringInput `pulumi:"expirationTime"`
	Sha1Fingerprint pulumi.StringInput `pulumi:"sha1Fingerprint"`
}

func (GetDatabaseInstanceServerCaCertArgs) ElementType

func (GetDatabaseInstanceServerCaCertArgs) ToGetDatabaseInstanceServerCaCertOutput

func (i GetDatabaseInstanceServerCaCertArgs) ToGetDatabaseInstanceServerCaCertOutput() GetDatabaseInstanceServerCaCertOutput

func (GetDatabaseInstanceServerCaCertArgs) ToGetDatabaseInstanceServerCaCertOutputWithContext

func (i GetDatabaseInstanceServerCaCertArgs) ToGetDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) GetDatabaseInstanceServerCaCertOutput

type GetDatabaseInstanceServerCaCertArray

type GetDatabaseInstanceServerCaCertArray []GetDatabaseInstanceServerCaCertInput

func (GetDatabaseInstanceServerCaCertArray) ElementType

func (GetDatabaseInstanceServerCaCertArray) ToGetDatabaseInstanceServerCaCertArrayOutput

func (i GetDatabaseInstanceServerCaCertArray) ToGetDatabaseInstanceServerCaCertArrayOutput() GetDatabaseInstanceServerCaCertArrayOutput

func (GetDatabaseInstanceServerCaCertArray) ToGetDatabaseInstanceServerCaCertArrayOutputWithContext

func (i GetDatabaseInstanceServerCaCertArray) ToGetDatabaseInstanceServerCaCertArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceServerCaCertArrayOutput

type GetDatabaseInstanceServerCaCertArrayInput

type GetDatabaseInstanceServerCaCertArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceServerCaCertArrayOutput() GetDatabaseInstanceServerCaCertArrayOutput
	ToGetDatabaseInstanceServerCaCertArrayOutputWithContext(context.Context) GetDatabaseInstanceServerCaCertArrayOutput
}

GetDatabaseInstanceServerCaCertArrayInput is an input type that accepts GetDatabaseInstanceServerCaCertArray and GetDatabaseInstanceServerCaCertArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceServerCaCertArrayInput` via:

GetDatabaseInstanceServerCaCertArray{ GetDatabaseInstanceServerCaCertArgs{...} }

type GetDatabaseInstanceServerCaCertArrayOutput

type GetDatabaseInstanceServerCaCertArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceServerCaCertArrayOutput) ElementType

func (GetDatabaseInstanceServerCaCertArrayOutput) Index

func (GetDatabaseInstanceServerCaCertArrayOutput) ToGetDatabaseInstanceServerCaCertArrayOutput

func (o GetDatabaseInstanceServerCaCertArrayOutput) ToGetDatabaseInstanceServerCaCertArrayOutput() GetDatabaseInstanceServerCaCertArrayOutput

func (GetDatabaseInstanceServerCaCertArrayOutput) ToGetDatabaseInstanceServerCaCertArrayOutputWithContext

func (o GetDatabaseInstanceServerCaCertArrayOutput) ToGetDatabaseInstanceServerCaCertArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceServerCaCertArrayOutput

type GetDatabaseInstanceServerCaCertInput

type GetDatabaseInstanceServerCaCertInput interface {
	pulumi.Input

	ToGetDatabaseInstanceServerCaCertOutput() GetDatabaseInstanceServerCaCertOutput
	ToGetDatabaseInstanceServerCaCertOutputWithContext(context.Context) GetDatabaseInstanceServerCaCertOutput
}

GetDatabaseInstanceServerCaCertInput is an input type that accepts GetDatabaseInstanceServerCaCertArgs and GetDatabaseInstanceServerCaCertOutput values. You can construct a concrete instance of `GetDatabaseInstanceServerCaCertInput` via:

GetDatabaseInstanceServerCaCertArgs{...}

type GetDatabaseInstanceServerCaCertOutput

type GetDatabaseInstanceServerCaCertOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceServerCaCertOutput) Cert

func (GetDatabaseInstanceServerCaCertOutput) CommonName

func (GetDatabaseInstanceServerCaCertOutput) CreateTime

func (GetDatabaseInstanceServerCaCertOutput) ElementType

func (GetDatabaseInstanceServerCaCertOutput) ExpirationTime

func (GetDatabaseInstanceServerCaCertOutput) Sha1Fingerprint

func (GetDatabaseInstanceServerCaCertOutput) ToGetDatabaseInstanceServerCaCertOutput

func (o GetDatabaseInstanceServerCaCertOutput) ToGetDatabaseInstanceServerCaCertOutput() GetDatabaseInstanceServerCaCertOutput

func (GetDatabaseInstanceServerCaCertOutput) ToGetDatabaseInstanceServerCaCertOutputWithContext

func (o GetDatabaseInstanceServerCaCertOutput) ToGetDatabaseInstanceServerCaCertOutputWithContext(ctx context.Context) GetDatabaseInstanceServerCaCertOutput

type GetDatabaseInstanceSetting

type GetDatabaseInstanceSetting struct {
	ActivationPolicy           string                                               `pulumi:"activationPolicy"`
	ActiveDirectoryConfigs     []GetDatabaseInstanceSettingActiveDirectoryConfig    `pulumi:"activeDirectoryConfigs"`
	AvailabilityType           string                                               `pulumi:"availabilityType"`
	BackupConfigurations       []GetDatabaseInstanceSettingBackupConfiguration      `pulumi:"backupConfigurations"`
	Collation                  string                                               `pulumi:"collation"`
	ConnectorEnforcement       string                                               `pulumi:"connectorEnforcement"`
	DatabaseFlags              []GetDatabaseInstanceSettingDatabaseFlag             `pulumi:"databaseFlags"`
	DiskAutoresize             bool                                                 `pulumi:"diskAutoresize"`
	DiskAutoresizeLimit        int                                                  `pulumi:"diskAutoresizeLimit"`
	DiskSize                   int                                                  `pulumi:"diskSize"`
	DiskType                   string                                               `pulumi:"diskType"`
	InsightsConfigs            []GetDatabaseInstanceSettingInsightsConfig           `pulumi:"insightsConfigs"`
	IpConfigurations           []GetDatabaseInstanceSettingIpConfiguration          `pulumi:"ipConfigurations"`
	LocationPreferences        []GetDatabaseInstanceSettingLocationPreference       `pulumi:"locationPreferences"`
	MaintenanceWindows         []GetDatabaseInstanceSettingMaintenanceWindow        `pulumi:"maintenanceWindows"`
	PasswordValidationPolicies []GetDatabaseInstanceSettingPasswordValidationPolicy `pulumi:"passwordValidationPolicies"`
	PricingPlan                string                                               `pulumi:"pricingPlan"`
	SqlServerAuditConfigs      []GetDatabaseInstanceSettingSqlServerAuditConfig     `pulumi:"sqlServerAuditConfigs"`
	Tier                       string                                               `pulumi:"tier"`
	TimeZone                   string                                               `pulumi:"timeZone"`
	UserLabels                 map[string]string                                    `pulumi:"userLabels"`
	Version                    int                                                  `pulumi:"version"`
}

type GetDatabaseInstanceSettingActiveDirectoryConfig added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfig struct {
	Domain string `pulumi:"domain"`
}

type GetDatabaseInstanceSettingActiveDirectoryConfigArgs added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfigArgs struct {
	Domain pulumi.StringInput `pulumi:"domain"`
}

func (GetDatabaseInstanceSettingActiveDirectoryConfigArgs) ElementType added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigArgs) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutput added in v6.25.0

func (i GetDatabaseInstanceSettingActiveDirectoryConfigArgs) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutput() GetDatabaseInstanceSettingActiveDirectoryConfigOutput

func (GetDatabaseInstanceSettingActiveDirectoryConfigArgs) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutputWithContext added in v6.25.0

func (i GetDatabaseInstanceSettingActiveDirectoryConfigArgs) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingActiveDirectoryConfigOutput

type GetDatabaseInstanceSettingActiveDirectoryConfigArray added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfigArray []GetDatabaseInstanceSettingActiveDirectoryConfigInput

func (GetDatabaseInstanceSettingActiveDirectoryConfigArray) ElementType added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigArray) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput added in v6.25.0

func (i GetDatabaseInstanceSettingActiveDirectoryConfigArray) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput() GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput

func (GetDatabaseInstanceSettingActiveDirectoryConfigArray) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutputWithContext added in v6.25.0

func (i GetDatabaseInstanceSettingActiveDirectoryConfigArray) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput

type GetDatabaseInstanceSettingActiveDirectoryConfigArrayInput added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfigArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput() GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput
	ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput
}

GetDatabaseInstanceSettingActiveDirectoryConfigArrayInput is an input type that accepts GetDatabaseInstanceSettingActiveDirectoryConfigArray and GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingActiveDirectoryConfigArrayInput` via:

GetDatabaseInstanceSettingActiveDirectoryConfigArray{ GetDatabaseInstanceSettingActiveDirectoryConfigArgs{...} }

type GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput) ElementType added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput) Index added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutputWithContext added in v6.25.0

func (o GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput) ToGetDatabaseInstanceSettingActiveDirectoryConfigArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingActiveDirectoryConfigArrayOutput

type GetDatabaseInstanceSettingActiveDirectoryConfigInput added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfigInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingActiveDirectoryConfigOutput() GetDatabaseInstanceSettingActiveDirectoryConfigOutput
	ToGetDatabaseInstanceSettingActiveDirectoryConfigOutputWithContext(context.Context) GetDatabaseInstanceSettingActiveDirectoryConfigOutput
}

GetDatabaseInstanceSettingActiveDirectoryConfigInput is an input type that accepts GetDatabaseInstanceSettingActiveDirectoryConfigArgs and GetDatabaseInstanceSettingActiveDirectoryConfigOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingActiveDirectoryConfigInput` via:

GetDatabaseInstanceSettingActiveDirectoryConfigArgs{...}

type GetDatabaseInstanceSettingActiveDirectoryConfigOutput added in v6.25.0

type GetDatabaseInstanceSettingActiveDirectoryConfigOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingActiveDirectoryConfigOutput) Domain added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigOutput) ElementType added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigOutput) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutput added in v6.25.0

func (GetDatabaseInstanceSettingActiveDirectoryConfigOutput) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutputWithContext added in v6.25.0

func (o GetDatabaseInstanceSettingActiveDirectoryConfigOutput) ToGetDatabaseInstanceSettingActiveDirectoryConfigOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingActiveDirectoryConfigOutput

type GetDatabaseInstanceSettingArgs

type GetDatabaseInstanceSettingArgs struct {
	ActivationPolicy           pulumi.StringInput                                           `pulumi:"activationPolicy"`
	ActiveDirectoryConfigs     GetDatabaseInstanceSettingActiveDirectoryConfigArrayInput    `pulumi:"activeDirectoryConfigs"`
	AvailabilityType           pulumi.StringInput                                           `pulumi:"availabilityType"`
	BackupConfigurations       GetDatabaseInstanceSettingBackupConfigurationArrayInput      `pulumi:"backupConfigurations"`
	Collation                  pulumi.StringInput                                           `pulumi:"collation"`
	ConnectorEnforcement       pulumi.StringInput                                           `pulumi:"connectorEnforcement"`
	DatabaseFlags              GetDatabaseInstanceSettingDatabaseFlagArrayInput             `pulumi:"databaseFlags"`
	DiskAutoresize             pulumi.BoolInput                                             `pulumi:"diskAutoresize"`
	DiskAutoresizeLimit        pulumi.IntInput                                              `pulumi:"diskAutoresizeLimit"`
	DiskSize                   pulumi.IntInput                                              `pulumi:"diskSize"`
	DiskType                   pulumi.StringInput                                           `pulumi:"diskType"`
	InsightsConfigs            GetDatabaseInstanceSettingInsightsConfigArrayInput           `pulumi:"insightsConfigs"`
	IpConfigurations           GetDatabaseInstanceSettingIpConfigurationArrayInput          `pulumi:"ipConfigurations"`
	LocationPreferences        GetDatabaseInstanceSettingLocationPreferenceArrayInput       `pulumi:"locationPreferences"`
	MaintenanceWindows         GetDatabaseInstanceSettingMaintenanceWindowArrayInput        `pulumi:"maintenanceWindows"`
	PasswordValidationPolicies GetDatabaseInstanceSettingPasswordValidationPolicyArrayInput `pulumi:"passwordValidationPolicies"`
	PricingPlan                pulumi.StringInput                                           `pulumi:"pricingPlan"`
	SqlServerAuditConfigs      GetDatabaseInstanceSettingSqlServerAuditConfigArrayInput     `pulumi:"sqlServerAuditConfigs"`
	Tier                       pulumi.StringInput                                           `pulumi:"tier"`
	TimeZone                   pulumi.StringInput                                           `pulumi:"timeZone"`
	UserLabels                 pulumi.StringMapInput                                        `pulumi:"userLabels"`
	Version                    pulumi.IntInput                                              `pulumi:"version"`
}

func (GetDatabaseInstanceSettingArgs) ElementType

func (GetDatabaseInstanceSettingArgs) ToGetDatabaseInstanceSettingOutput

func (i GetDatabaseInstanceSettingArgs) ToGetDatabaseInstanceSettingOutput() GetDatabaseInstanceSettingOutput

func (GetDatabaseInstanceSettingArgs) ToGetDatabaseInstanceSettingOutputWithContext

func (i GetDatabaseInstanceSettingArgs) ToGetDatabaseInstanceSettingOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingOutput

type GetDatabaseInstanceSettingArray

type GetDatabaseInstanceSettingArray []GetDatabaseInstanceSettingInput

func (GetDatabaseInstanceSettingArray) ElementType

func (GetDatabaseInstanceSettingArray) ToGetDatabaseInstanceSettingArrayOutput

func (i GetDatabaseInstanceSettingArray) ToGetDatabaseInstanceSettingArrayOutput() GetDatabaseInstanceSettingArrayOutput

func (GetDatabaseInstanceSettingArray) ToGetDatabaseInstanceSettingArrayOutputWithContext

func (i GetDatabaseInstanceSettingArray) ToGetDatabaseInstanceSettingArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingArrayOutput

type GetDatabaseInstanceSettingArrayInput

type GetDatabaseInstanceSettingArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingArrayOutput() GetDatabaseInstanceSettingArrayOutput
	ToGetDatabaseInstanceSettingArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingArrayOutput
}

GetDatabaseInstanceSettingArrayInput is an input type that accepts GetDatabaseInstanceSettingArray and GetDatabaseInstanceSettingArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingArrayInput` via:

GetDatabaseInstanceSettingArray{ GetDatabaseInstanceSettingArgs{...} }

type GetDatabaseInstanceSettingArrayOutput

type GetDatabaseInstanceSettingArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingArrayOutput) ElementType

func (GetDatabaseInstanceSettingArrayOutput) Index

func (GetDatabaseInstanceSettingArrayOutput) ToGetDatabaseInstanceSettingArrayOutput

func (o GetDatabaseInstanceSettingArrayOutput) ToGetDatabaseInstanceSettingArrayOutput() GetDatabaseInstanceSettingArrayOutput

func (GetDatabaseInstanceSettingArrayOutput) ToGetDatabaseInstanceSettingArrayOutputWithContext

func (o GetDatabaseInstanceSettingArrayOutput) ToGetDatabaseInstanceSettingArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingArrayOutput

type GetDatabaseInstanceSettingBackupConfiguration

type GetDatabaseInstanceSettingBackupConfiguration struct {
	BackupRetentionSettings     []GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting `pulumi:"backupRetentionSettings"`
	BinaryLogEnabled            bool                                                                  `pulumi:"binaryLogEnabled"`
	Enabled                     bool                                                                  `pulumi:"enabled"`
	Location                    string                                                                `pulumi:"location"`
	PointInTimeRecoveryEnabled  bool                                                                  `pulumi:"pointInTimeRecoveryEnabled"`
	StartTime                   string                                                                `pulumi:"startTime"`
	TransactionLogRetentionDays int                                                                   `pulumi:"transactionLogRetentionDays"`
}

type GetDatabaseInstanceSettingBackupConfigurationArgs

type GetDatabaseInstanceSettingBackupConfigurationArgs struct {
	BackupRetentionSettings     GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayInput `pulumi:"backupRetentionSettings"`
	BinaryLogEnabled            pulumi.BoolInput                                                              `pulumi:"binaryLogEnabled"`
	Enabled                     pulumi.BoolInput                                                              `pulumi:"enabled"`
	Location                    pulumi.StringInput                                                            `pulumi:"location"`
	PointInTimeRecoveryEnabled  pulumi.BoolInput                                                              `pulumi:"pointInTimeRecoveryEnabled"`
	StartTime                   pulumi.StringInput                                                            `pulumi:"startTime"`
	TransactionLogRetentionDays pulumi.IntInput                                                               `pulumi:"transactionLogRetentionDays"`
}

func (GetDatabaseInstanceSettingBackupConfigurationArgs) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationArgs) ToGetDatabaseInstanceSettingBackupConfigurationOutput

func (i GetDatabaseInstanceSettingBackupConfigurationArgs) ToGetDatabaseInstanceSettingBackupConfigurationOutput() GetDatabaseInstanceSettingBackupConfigurationOutput

func (GetDatabaseInstanceSettingBackupConfigurationArgs) ToGetDatabaseInstanceSettingBackupConfigurationOutputWithContext

func (i GetDatabaseInstanceSettingBackupConfigurationArgs) ToGetDatabaseInstanceSettingBackupConfigurationOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingBackupConfigurationOutput

type GetDatabaseInstanceSettingBackupConfigurationArray

type GetDatabaseInstanceSettingBackupConfigurationArray []GetDatabaseInstanceSettingBackupConfigurationInput

func (GetDatabaseInstanceSettingBackupConfigurationArray) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationArray) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutput

func (i GetDatabaseInstanceSettingBackupConfigurationArray) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutput() GetDatabaseInstanceSettingBackupConfigurationArrayOutput

func (GetDatabaseInstanceSettingBackupConfigurationArray) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutputWithContext

func (i GetDatabaseInstanceSettingBackupConfigurationArray) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingBackupConfigurationArrayOutput

type GetDatabaseInstanceSettingBackupConfigurationArrayInput

type GetDatabaseInstanceSettingBackupConfigurationArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingBackupConfigurationArrayOutput() GetDatabaseInstanceSettingBackupConfigurationArrayOutput
	ToGetDatabaseInstanceSettingBackupConfigurationArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingBackupConfigurationArrayOutput
}

GetDatabaseInstanceSettingBackupConfigurationArrayInput is an input type that accepts GetDatabaseInstanceSettingBackupConfigurationArray and GetDatabaseInstanceSettingBackupConfigurationArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingBackupConfigurationArrayInput` via:

GetDatabaseInstanceSettingBackupConfigurationArray{ GetDatabaseInstanceSettingBackupConfigurationArgs{...} }

type GetDatabaseInstanceSettingBackupConfigurationArrayOutput

type GetDatabaseInstanceSettingBackupConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingBackupConfigurationArrayOutput) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationArrayOutput) Index

func (GetDatabaseInstanceSettingBackupConfigurationArrayOutput) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutput

func (GetDatabaseInstanceSettingBackupConfigurationArrayOutput) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutputWithContext

func (o GetDatabaseInstanceSettingBackupConfigurationArrayOutput) ToGetDatabaseInstanceSettingBackupConfigurationArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingBackupConfigurationArrayOutput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSetting struct {
	RetainedBackups int    `pulumi:"retainedBackups"`
	RetentionUnit   string `pulumi:"retentionUnit"`
}

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs struct {
	RetainedBackups pulumi.IntInput    `pulumi:"retainedBackups"`
	RetentionUnit   pulumi.StringInput `pulumi:"retentionUnit"`
}

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutputWithContext

func (i GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray []GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingInput

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutputWithContext

func (i GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayInput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput() GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput
	ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput
}

GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayInput is an input type that accepts GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray and GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayInput` via:

GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArray{ GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs{...} }

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutput) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArrayOutputWithContext

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingInput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput() GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput
	ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutputWithContext(context.Context) GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput
}

GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingInput is an input type that accepts GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs and GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingInput` via:

GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingArgs{...}

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput

type GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput) RetainedBackups

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput) RetentionUnit

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput

func (GetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutput) ToGetDatabaseInstanceSettingBackupConfigurationBackupRetentionSettingOutputWithContext

type GetDatabaseInstanceSettingBackupConfigurationInput

type GetDatabaseInstanceSettingBackupConfigurationInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingBackupConfigurationOutput() GetDatabaseInstanceSettingBackupConfigurationOutput
	ToGetDatabaseInstanceSettingBackupConfigurationOutputWithContext(context.Context) GetDatabaseInstanceSettingBackupConfigurationOutput
}

GetDatabaseInstanceSettingBackupConfigurationInput is an input type that accepts GetDatabaseInstanceSettingBackupConfigurationArgs and GetDatabaseInstanceSettingBackupConfigurationOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingBackupConfigurationInput` via:

GetDatabaseInstanceSettingBackupConfigurationArgs{...}

type GetDatabaseInstanceSettingBackupConfigurationOutput

type GetDatabaseInstanceSettingBackupConfigurationOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingBackupConfigurationOutput) BinaryLogEnabled

func (GetDatabaseInstanceSettingBackupConfigurationOutput) ElementType

func (GetDatabaseInstanceSettingBackupConfigurationOutput) Enabled

func (GetDatabaseInstanceSettingBackupConfigurationOutput) Location

func (GetDatabaseInstanceSettingBackupConfigurationOutput) PointInTimeRecoveryEnabled

func (GetDatabaseInstanceSettingBackupConfigurationOutput) StartTime

func (GetDatabaseInstanceSettingBackupConfigurationOutput) ToGetDatabaseInstanceSettingBackupConfigurationOutput

func (o GetDatabaseInstanceSettingBackupConfigurationOutput) ToGetDatabaseInstanceSettingBackupConfigurationOutput() GetDatabaseInstanceSettingBackupConfigurationOutput

func (GetDatabaseInstanceSettingBackupConfigurationOutput) ToGetDatabaseInstanceSettingBackupConfigurationOutputWithContext

func (o GetDatabaseInstanceSettingBackupConfigurationOutput) ToGetDatabaseInstanceSettingBackupConfigurationOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingBackupConfigurationOutput

func (GetDatabaseInstanceSettingBackupConfigurationOutput) TransactionLogRetentionDays

type GetDatabaseInstanceSettingDatabaseFlag

type GetDatabaseInstanceSettingDatabaseFlag struct {
	// The name of the instance.
	Name  string `pulumi:"name"`
	Value string `pulumi:"value"`
}

type GetDatabaseInstanceSettingDatabaseFlagArgs

type GetDatabaseInstanceSettingDatabaseFlagArgs struct {
	// The name of the instance.
	Name  pulumi.StringInput `pulumi:"name"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetDatabaseInstanceSettingDatabaseFlagArgs) ElementType

func (GetDatabaseInstanceSettingDatabaseFlagArgs) ToGetDatabaseInstanceSettingDatabaseFlagOutput

func (i GetDatabaseInstanceSettingDatabaseFlagArgs) ToGetDatabaseInstanceSettingDatabaseFlagOutput() GetDatabaseInstanceSettingDatabaseFlagOutput

func (GetDatabaseInstanceSettingDatabaseFlagArgs) ToGetDatabaseInstanceSettingDatabaseFlagOutputWithContext

func (i GetDatabaseInstanceSettingDatabaseFlagArgs) ToGetDatabaseInstanceSettingDatabaseFlagOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingDatabaseFlagOutput

type GetDatabaseInstanceSettingDatabaseFlagArray

type GetDatabaseInstanceSettingDatabaseFlagArray []GetDatabaseInstanceSettingDatabaseFlagInput

func (GetDatabaseInstanceSettingDatabaseFlagArray) ElementType

func (GetDatabaseInstanceSettingDatabaseFlagArray) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutput

func (i GetDatabaseInstanceSettingDatabaseFlagArray) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutput() GetDatabaseInstanceSettingDatabaseFlagArrayOutput

func (GetDatabaseInstanceSettingDatabaseFlagArray) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutputWithContext

func (i GetDatabaseInstanceSettingDatabaseFlagArray) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingDatabaseFlagArrayOutput

type GetDatabaseInstanceSettingDatabaseFlagArrayInput

type GetDatabaseInstanceSettingDatabaseFlagArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingDatabaseFlagArrayOutput() GetDatabaseInstanceSettingDatabaseFlagArrayOutput
	ToGetDatabaseInstanceSettingDatabaseFlagArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingDatabaseFlagArrayOutput
}

GetDatabaseInstanceSettingDatabaseFlagArrayInput is an input type that accepts GetDatabaseInstanceSettingDatabaseFlagArray and GetDatabaseInstanceSettingDatabaseFlagArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingDatabaseFlagArrayInput` via:

GetDatabaseInstanceSettingDatabaseFlagArray{ GetDatabaseInstanceSettingDatabaseFlagArgs{...} }

type GetDatabaseInstanceSettingDatabaseFlagArrayOutput

type GetDatabaseInstanceSettingDatabaseFlagArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingDatabaseFlagArrayOutput) ElementType

func (GetDatabaseInstanceSettingDatabaseFlagArrayOutput) Index

func (GetDatabaseInstanceSettingDatabaseFlagArrayOutput) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutput

func (o GetDatabaseInstanceSettingDatabaseFlagArrayOutput) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutput() GetDatabaseInstanceSettingDatabaseFlagArrayOutput

func (GetDatabaseInstanceSettingDatabaseFlagArrayOutput) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutputWithContext

func (o GetDatabaseInstanceSettingDatabaseFlagArrayOutput) ToGetDatabaseInstanceSettingDatabaseFlagArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingDatabaseFlagArrayOutput

type GetDatabaseInstanceSettingDatabaseFlagInput

type GetDatabaseInstanceSettingDatabaseFlagInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingDatabaseFlagOutput() GetDatabaseInstanceSettingDatabaseFlagOutput
	ToGetDatabaseInstanceSettingDatabaseFlagOutputWithContext(context.Context) GetDatabaseInstanceSettingDatabaseFlagOutput
}

GetDatabaseInstanceSettingDatabaseFlagInput is an input type that accepts GetDatabaseInstanceSettingDatabaseFlagArgs and GetDatabaseInstanceSettingDatabaseFlagOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingDatabaseFlagInput` via:

GetDatabaseInstanceSettingDatabaseFlagArgs{...}

type GetDatabaseInstanceSettingDatabaseFlagOutput

type GetDatabaseInstanceSettingDatabaseFlagOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingDatabaseFlagOutput) ElementType

func (GetDatabaseInstanceSettingDatabaseFlagOutput) Name

The name of the instance.

func (GetDatabaseInstanceSettingDatabaseFlagOutput) ToGetDatabaseInstanceSettingDatabaseFlagOutput

func (o GetDatabaseInstanceSettingDatabaseFlagOutput) ToGetDatabaseInstanceSettingDatabaseFlagOutput() GetDatabaseInstanceSettingDatabaseFlagOutput

func (GetDatabaseInstanceSettingDatabaseFlagOutput) ToGetDatabaseInstanceSettingDatabaseFlagOutputWithContext

func (o GetDatabaseInstanceSettingDatabaseFlagOutput) ToGetDatabaseInstanceSettingDatabaseFlagOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingDatabaseFlagOutput

func (GetDatabaseInstanceSettingDatabaseFlagOutput) Value

type GetDatabaseInstanceSettingInput

type GetDatabaseInstanceSettingInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingOutput() GetDatabaseInstanceSettingOutput
	ToGetDatabaseInstanceSettingOutputWithContext(context.Context) GetDatabaseInstanceSettingOutput
}

GetDatabaseInstanceSettingInput is an input type that accepts GetDatabaseInstanceSettingArgs and GetDatabaseInstanceSettingOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingInput` via:

GetDatabaseInstanceSettingArgs{...}

type GetDatabaseInstanceSettingInsightsConfig

type GetDatabaseInstanceSettingInsightsConfig struct {
	QueryInsightsEnabled  bool `pulumi:"queryInsightsEnabled"`
	QueryPlansPerMinute   int  `pulumi:"queryPlansPerMinute"`
	QueryStringLength     int  `pulumi:"queryStringLength"`
	RecordApplicationTags bool `pulumi:"recordApplicationTags"`
	RecordClientAddress   bool `pulumi:"recordClientAddress"`
}

type GetDatabaseInstanceSettingInsightsConfigArgs

type GetDatabaseInstanceSettingInsightsConfigArgs struct {
	QueryInsightsEnabled  pulumi.BoolInput `pulumi:"queryInsightsEnabled"`
	QueryPlansPerMinute   pulumi.IntInput  `pulumi:"queryPlansPerMinute"`
	QueryStringLength     pulumi.IntInput  `pulumi:"queryStringLength"`
	RecordApplicationTags pulumi.BoolInput `pulumi:"recordApplicationTags"`
	RecordClientAddress   pulumi.BoolInput `pulumi:"recordClientAddress"`
}

func (GetDatabaseInstanceSettingInsightsConfigArgs) ElementType

func (GetDatabaseInstanceSettingInsightsConfigArgs) ToGetDatabaseInstanceSettingInsightsConfigOutput

func (i GetDatabaseInstanceSettingInsightsConfigArgs) ToGetDatabaseInstanceSettingInsightsConfigOutput() GetDatabaseInstanceSettingInsightsConfigOutput

func (GetDatabaseInstanceSettingInsightsConfigArgs) ToGetDatabaseInstanceSettingInsightsConfigOutputWithContext

func (i GetDatabaseInstanceSettingInsightsConfigArgs) ToGetDatabaseInstanceSettingInsightsConfigOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingInsightsConfigOutput

type GetDatabaseInstanceSettingInsightsConfigArray

type GetDatabaseInstanceSettingInsightsConfigArray []GetDatabaseInstanceSettingInsightsConfigInput

func (GetDatabaseInstanceSettingInsightsConfigArray) ElementType

func (GetDatabaseInstanceSettingInsightsConfigArray) ToGetDatabaseInstanceSettingInsightsConfigArrayOutput

func (i GetDatabaseInstanceSettingInsightsConfigArray) ToGetDatabaseInstanceSettingInsightsConfigArrayOutput() GetDatabaseInstanceSettingInsightsConfigArrayOutput

func (GetDatabaseInstanceSettingInsightsConfigArray) ToGetDatabaseInstanceSettingInsightsConfigArrayOutputWithContext

func (i GetDatabaseInstanceSettingInsightsConfigArray) ToGetDatabaseInstanceSettingInsightsConfigArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingInsightsConfigArrayOutput

type GetDatabaseInstanceSettingInsightsConfigArrayInput

type GetDatabaseInstanceSettingInsightsConfigArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingInsightsConfigArrayOutput() GetDatabaseInstanceSettingInsightsConfigArrayOutput
	ToGetDatabaseInstanceSettingInsightsConfigArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingInsightsConfigArrayOutput
}

GetDatabaseInstanceSettingInsightsConfigArrayInput is an input type that accepts GetDatabaseInstanceSettingInsightsConfigArray and GetDatabaseInstanceSettingInsightsConfigArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingInsightsConfigArrayInput` via:

GetDatabaseInstanceSettingInsightsConfigArray{ GetDatabaseInstanceSettingInsightsConfigArgs{...} }

type GetDatabaseInstanceSettingInsightsConfigArrayOutput

type GetDatabaseInstanceSettingInsightsConfigArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingInsightsConfigArrayOutput) ElementType

func (GetDatabaseInstanceSettingInsightsConfigArrayOutput) Index

func (GetDatabaseInstanceSettingInsightsConfigArrayOutput) ToGetDatabaseInstanceSettingInsightsConfigArrayOutput

func (o GetDatabaseInstanceSettingInsightsConfigArrayOutput) ToGetDatabaseInstanceSettingInsightsConfigArrayOutput() GetDatabaseInstanceSettingInsightsConfigArrayOutput

func (GetDatabaseInstanceSettingInsightsConfigArrayOutput) ToGetDatabaseInstanceSettingInsightsConfigArrayOutputWithContext

func (o GetDatabaseInstanceSettingInsightsConfigArrayOutput) ToGetDatabaseInstanceSettingInsightsConfigArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingInsightsConfigArrayOutput

type GetDatabaseInstanceSettingInsightsConfigInput

type GetDatabaseInstanceSettingInsightsConfigInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingInsightsConfigOutput() GetDatabaseInstanceSettingInsightsConfigOutput
	ToGetDatabaseInstanceSettingInsightsConfigOutputWithContext(context.Context) GetDatabaseInstanceSettingInsightsConfigOutput
}

GetDatabaseInstanceSettingInsightsConfigInput is an input type that accepts GetDatabaseInstanceSettingInsightsConfigArgs and GetDatabaseInstanceSettingInsightsConfigOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingInsightsConfigInput` via:

GetDatabaseInstanceSettingInsightsConfigArgs{...}

type GetDatabaseInstanceSettingInsightsConfigOutput

type GetDatabaseInstanceSettingInsightsConfigOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingInsightsConfigOutput) ElementType

func (GetDatabaseInstanceSettingInsightsConfigOutput) QueryInsightsEnabled

func (GetDatabaseInstanceSettingInsightsConfigOutput) QueryPlansPerMinute added in v6.44.0

func (GetDatabaseInstanceSettingInsightsConfigOutput) QueryStringLength

func (GetDatabaseInstanceSettingInsightsConfigOutput) RecordApplicationTags

func (GetDatabaseInstanceSettingInsightsConfigOutput) RecordClientAddress

func (GetDatabaseInstanceSettingInsightsConfigOutput) ToGetDatabaseInstanceSettingInsightsConfigOutput

func (o GetDatabaseInstanceSettingInsightsConfigOutput) ToGetDatabaseInstanceSettingInsightsConfigOutput() GetDatabaseInstanceSettingInsightsConfigOutput

func (GetDatabaseInstanceSettingInsightsConfigOutput) ToGetDatabaseInstanceSettingInsightsConfigOutputWithContext

func (o GetDatabaseInstanceSettingInsightsConfigOutput) ToGetDatabaseInstanceSettingInsightsConfigOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingInsightsConfigOutput

type GetDatabaseInstanceSettingIpConfiguration

type GetDatabaseInstanceSettingIpConfiguration struct {
	AllocatedIpRange   string                                                       `pulumi:"allocatedIpRange"`
	AuthorizedNetworks []GetDatabaseInstanceSettingIpConfigurationAuthorizedNetwork `pulumi:"authorizedNetworks"`
	Ipv4Enabled        bool                                                         `pulumi:"ipv4Enabled"`
	PrivateNetwork     string                                                       `pulumi:"privateNetwork"`
	RequireSsl         bool                                                         `pulumi:"requireSsl"`
}

type GetDatabaseInstanceSettingIpConfigurationArgs

type GetDatabaseInstanceSettingIpConfigurationArgs struct {
	AllocatedIpRange   pulumi.StringInput                                                   `pulumi:"allocatedIpRange"`
	AuthorizedNetworks GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayInput `pulumi:"authorizedNetworks"`
	Ipv4Enabled        pulumi.BoolInput                                                     `pulumi:"ipv4Enabled"`
	PrivateNetwork     pulumi.StringInput                                                   `pulumi:"privateNetwork"`
	RequireSsl         pulumi.BoolInput                                                     `pulumi:"requireSsl"`
}

func (GetDatabaseInstanceSettingIpConfigurationArgs) ElementType

func (GetDatabaseInstanceSettingIpConfigurationArgs) ToGetDatabaseInstanceSettingIpConfigurationOutput

func (i GetDatabaseInstanceSettingIpConfigurationArgs) ToGetDatabaseInstanceSettingIpConfigurationOutput() GetDatabaseInstanceSettingIpConfigurationOutput

func (GetDatabaseInstanceSettingIpConfigurationArgs) ToGetDatabaseInstanceSettingIpConfigurationOutputWithContext

func (i GetDatabaseInstanceSettingIpConfigurationArgs) ToGetDatabaseInstanceSettingIpConfigurationOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationOutput

type GetDatabaseInstanceSettingIpConfigurationArray

type GetDatabaseInstanceSettingIpConfigurationArray []GetDatabaseInstanceSettingIpConfigurationInput

func (GetDatabaseInstanceSettingIpConfigurationArray) ElementType

func (GetDatabaseInstanceSettingIpConfigurationArray) ToGetDatabaseInstanceSettingIpConfigurationArrayOutput

func (i GetDatabaseInstanceSettingIpConfigurationArray) ToGetDatabaseInstanceSettingIpConfigurationArrayOutput() GetDatabaseInstanceSettingIpConfigurationArrayOutput

func (GetDatabaseInstanceSettingIpConfigurationArray) ToGetDatabaseInstanceSettingIpConfigurationArrayOutputWithContext

func (i GetDatabaseInstanceSettingIpConfigurationArray) ToGetDatabaseInstanceSettingIpConfigurationArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationArrayOutput

type GetDatabaseInstanceSettingIpConfigurationArrayInput

type GetDatabaseInstanceSettingIpConfigurationArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingIpConfigurationArrayOutput() GetDatabaseInstanceSettingIpConfigurationArrayOutput
	ToGetDatabaseInstanceSettingIpConfigurationArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingIpConfigurationArrayOutput
}

GetDatabaseInstanceSettingIpConfigurationArrayInput is an input type that accepts GetDatabaseInstanceSettingIpConfigurationArray and GetDatabaseInstanceSettingIpConfigurationArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingIpConfigurationArrayInput` via:

GetDatabaseInstanceSettingIpConfigurationArray{ GetDatabaseInstanceSettingIpConfigurationArgs{...} }

type GetDatabaseInstanceSettingIpConfigurationArrayOutput

type GetDatabaseInstanceSettingIpConfigurationArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingIpConfigurationArrayOutput) ElementType

func (GetDatabaseInstanceSettingIpConfigurationArrayOutput) Index

func (GetDatabaseInstanceSettingIpConfigurationArrayOutput) ToGetDatabaseInstanceSettingIpConfigurationArrayOutput

func (GetDatabaseInstanceSettingIpConfigurationArrayOutput) ToGetDatabaseInstanceSettingIpConfigurationArrayOutputWithContext

func (o GetDatabaseInstanceSettingIpConfigurationArrayOutput) ToGetDatabaseInstanceSettingIpConfigurationArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationArrayOutput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetwork

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetwork struct {
	ExpirationTime string `pulumi:"expirationTime"`
	// The name of the instance.
	Name  string `pulumi:"name"`
	Value string `pulumi:"value"`
}

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs struct {
	ExpirationTime pulumi.StringInput `pulumi:"expirationTime"`
	// The name of the instance.
	Name  pulumi.StringInput `pulumi:"name"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs) ElementType

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutputWithContext

func (i GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray []GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkInput

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray) ElementType

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutputWithContext

func (i GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayInput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput() GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput
	ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput
}

GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayInput is an input type that accepts GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray and GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayInput` via:

GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArray{ GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs{...} }

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput) ElementType

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutputWithContext

func (o GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArrayOutput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkInput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput() GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput
	ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutputWithContext(context.Context) GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput
}

GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkInput is an input type that accepts GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs and GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkInput` via:

GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkArgs{...}

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput

type GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) ElementType

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) ExpirationTime

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) Name

The name of the instance.

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutputWithContext

func (o GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) ToGetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput

func (GetDatabaseInstanceSettingIpConfigurationAuthorizedNetworkOutput) Value

type GetDatabaseInstanceSettingIpConfigurationInput

type GetDatabaseInstanceSettingIpConfigurationInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingIpConfigurationOutput() GetDatabaseInstanceSettingIpConfigurationOutput
	ToGetDatabaseInstanceSettingIpConfigurationOutputWithContext(context.Context) GetDatabaseInstanceSettingIpConfigurationOutput
}

GetDatabaseInstanceSettingIpConfigurationInput is an input type that accepts GetDatabaseInstanceSettingIpConfigurationArgs and GetDatabaseInstanceSettingIpConfigurationOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingIpConfigurationInput` via:

GetDatabaseInstanceSettingIpConfigurationArgs{...}

type GetDatabaseInstanceSettingIpConfigurationOutput

type GetDatabaseInstanceSettingIpConfigurationOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingIpConfigurationOutput) AllocatedIpRange added in v6.5.0

func (GetDatabaseInstanceSettingIpConfigurationOutput) ElementType

func (GetDatabaseInstanceSettingIpConfigurationOutput) Ipv4Enabled

func (GetDatabaseInstanceSettingIpConfigurationOutput) PrivateNetwork

func (GetDatabaseInstanceSettingIpConfigurationOutput) RequireSsl

func (GetDatabaseInstanceSettingIpConfigurationOutput) ToGetDatabaseInstanceSettingIpConfigurationOutput

func (o GetDatabaseInstanceSettingIpConfigurationOutput) ToGetDatabaseInstanceSettingIpConfigurationOutput() GetDatabaseInstanceSettingIpConfigurationOutput

func (GetDatabaseInstanceSettingIpConfigurationOutput) ToGetDatabaseInstanceSettingIpConfigurationOutputWithContext

func (o GetDatabaseInstanceSettingIpConfigurationOutput) ToGetDatabaseInstanceSettingIpConfigurationOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingIpConfigurationOutput

type GetDatabaseInstanceSettingLocationPreference

type GetDatabaseInstanceSettingLocationPreference struct {
	FollowGaeApplication string `pulumi:"followGaeApplication"`
	SecondaryZone        string `pulumi:"secondaryZone"`
	Zone                 string `pulumi:"zone"`
}

type GetDatabaseInstanceSettingLocationPreferenceArgs

type GetDatabaseInstanceSettingLocationPreferenceArgs struct {
	FollowGaeApplication pulumi.StringInput `pulumi:"followGaeApplication"`
	SecondaryZone        pulumi.StringInput `pulumi:"secondaryZone"`
	Zone                 pulumi.StringInput `pulumi:"zone"`
}

func (GetDatabaseInstanceSettingLocationPreferenceArgs) ElementType

func (GetDatabaseInstanceSettingLocationPreferenceArgs) ToGetDatabaseInstanceSettingLocationPreferenceOutput

func (i GetDatabaseInstanceSettingLocationPreferenceArgs) ToGetDatabaseInstanceSettingLocationPreferenceOutput() GetDatabaseInstanceSettingLocationPreferenceOutput

func (GetDatabaseInstanceSettingLocationPreferenceArgs) ToGetDatabaseInstanceSettingLocationPreferenceOutputWithContext

func (i GetDatabaseInstanceSettingLocationPreferenceArgs) ToGetDatabaseInstanceSettingLocationPreferenceOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingLocationPreferenceOutput

type GetDatabaseInstanceSettingLocationPreferenceArray

type GetDatabaseInstanceSettingLocationPreferenceArray []GetDatabaseInstanceSettingLocationPreferenceInput

func (GetDatabaseInstanceSettingLocationPreferenceArray) ElementType

func (GetDatabaseInstanceSettingLocationPreferenceArray) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutput

func (i GetDatabaseInstanceSettingLocationPreferenceArray) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutput() GetDatabaseInstanceSettingLocationPreferenceArrayOutput

func (GetDatabaseInstanceSettingLocationPreferenceArray) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutputWithContext

func (i GetDatabaseInstanceSettingLocationPreferenceArray) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingLocationPreferenceArrayOutput

type GetDatabaseInstanceSettingLocationPreferenceArrayInput

type GetDatabaseInstanceSettingLocationPreferenceArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingLocationPreferenceArrayOutput() GetDatabaseInstanceSettingLocationPreferenceArrayOutput
	ToGetDatabaseInstanceSettingLocationPreferenceArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingLocationPreferenceArrayOutput
}

GetDatabaseInstanceSettingLocationPreferenceArrayInput is an input type that accepts GetDatabaseInstanceSettingLocationPreferenceArray and GetDatabaseInstanceSettingLocationPreferenceArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingLocationPreferenceArrayInput` via:

GetDatabaseInstanceSettingLocationPreferenceArray{ GetDatabaseInstanceSettingLocationPreferenceArgs{...} }

type GetDatabaseInstanceSettingLocationPreferenceArrayOutput

type GetDatabaseInstanceSettingLocationPreferenceArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingLocationPreferenceArrayOutput) ElementType

func (GetDatabaseInstanceSettingLocationPreferenceArrayOutput) Index

func (GetDatabaseInstanceSettingLocationPreferenceArrayOutput) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutput

func (GetDatabaseInstanceSettingLocationPreferenceArrayOutput) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutputWithContext

func (o GetDatabaseInstanceSettingLocationPreferenceArrayOutput) ToGetDatabaseInstanceSettingLocationPreferenceArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingLocationPreferenceArrayOutput

type GetDatabaseInstanceSettingLocationPreferenceInput

type GetDatabaseInstanceSettingLocationPreferenceInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingLocationPreferenceOutput() GetDatabaseInstanceSettingLocationPreferenceOutput
	ToGetDatabaseInstanceSettingLocationPreferenceOutputWithContext(context.Context) GetDatabaseInstanceSettingLocationPreferenceOutput
}

GetDatabaseInstanceSettingLocationPreferenceInput is an input type that accepts GetDatabaseInstanceSettingLocationPreferenceArgs and GetDatabaseInstanceSettingLocationPreferenceOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingLocationPreferenceInput` via:

GetDatabaseInstanceSettingLocationPreferenceArgs{...}

type GetDatabaseInstanceSettingLocationPreferenceOutput

type GetDatabaseInstanceSettingLocationPreferenceOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingLocationPreferenceOutput) ElementType

func (GetDatabaseInstanceSettingLocationPreferenceOutput) FollowGaeApplication

func (GetDatabaseInstanceSettingLocationPreferenceOutput) SecondaryZone added in v6.31.0

func (GetDatabaseInstanceSettingLocationPreferenceOutput) ToGetDatabaseInstanceSettingLocationPreferenceOutput

func (o GetDatabaseInstanceSettingLocationPreferenceOutput) ToGetDatabaseInstanceSettingLocationPreferenceOutput() GetDatabaseInstanceSettingLocationPreferenceOutput

func (GetDatabaseInstanceSettingLocationPreferenceOutput) ToGetDatabaseInstanceSettingLocationPreferenceOutputWithContext

func (o GetDatabaseInstanceSettingLocationPreferenceOutput) ToGetDatabaseInstanceSettingLocationPreferenceOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingLocationPreferenceOutput

func (GetDatabaseInstanceSettingLocationPreferenceOutput) Zone

type GetDatabaseInstanceSettingMaintenanceWindow

type GetDatabaseInstanceSettingMaintenanceWindow struct {
	Day         int    `pulumi:"day"`
	Hour        int    `pulumi:"hour"`
	UpdateTrack string `pulumi:"updateTrack"`
}

type GetDatabaseInstanceSettingMaintenanceWindowArgs

type GetDatabaseInstanceSettingMaintenanceWindowArgs struct {
	Day         pulumi.IntInput    `pulumi:"day"`
	Hour        pulumi.IntInput    `pulumi:"hour"`
	UpdateTrack pulumi.StringInput `pulumi:"updateTrack"`
}

func (GetDatabaseInstanceSettingMaintenanceWindowArgs) ElementType

func (GetDatabaseInstanceSettingMaintenanceWindowArgs) ToGetDatabaseInstanceSettingMaintenanceWindowOutput

func (i GetDatabaseInstanceSettingMaintenanceWindowArgs) ToGetDatabaseInstanceSettingMaintenanceWindowOutput() GetDatabaseInstanceSettingMaintenanceWindowOutput

func (GetDatabaseInstanceSettingMaintenanceWindowArgs) ToGetDatabaseInstanceSettingMaintenanceWindowOutputWithContext

func (i GetDatabaseInstanceSettingMaintenanceWindowArgs) ToGetDatabaseInstanceSettingMaintenanceWindowOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingMaintenanceWindowOutput

type GetDatabaseInstanceSettingMaintenanceWindowArray

type GetDatabaseInstanceSettingMaintenanceWindowArray []GetDatabaseInstanceSettingMaintenanceWindowInput

func (GetDatabaseInstanceSettingMaintenanceWindowArray) ElementType

func (GetDatabaseInstanceSettingMaintenanceWindowArray) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutput

func (i GetDatabaseInstanceSettingMaintenanceWindowArray) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutput() GetDatabaseInstanceSettingMaintenanceWindowArrayOutput

func (GetDatabaseInstanceSettingMaintenanceWindowArray) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutputWithContext

func (i GetDatabaseInstanceSettingMaintenanceWindowArray) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingMaintenanceWindowArrayOutput

type GetDatabaseInstanceSettingMaintenanceWindowArrayInput

type GetDatabaseInstanceSettingMaintenanceWindowArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutput() GetDatabaseInstanceSettingMaintenanceWindowArrayOutput
	ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingMaintenanceWindowArrayOutput
}

GetDatabaseInstanceSettingMaintenanceWindowArrayInput is an input type that accepts GetDatabaseInstanceSettingMaintenanceWindowArray and GetDatabaseInstanceSettingMaintenanceWindowArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingMaintenanceWindowArrayInput` via:

GetDatabaseInstanceSettingMaintenanceWindowArray{ GetDatabaseInstanceSettingMaintenanceWindowArgs{...} }

type GetDatabaseInstanceSettingMaintenanceWindowArrayOutput

type GetDatabaseInstanceSettingMaintenanceWindowArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingMaintenanceWindowArrayOutput) ElementType

func (GetDatabaseInstanceSettingMaintenanceWindowArrayOutput) Index

func (GetDatabaseInstanceSettingMaintenanceWindowArrayOutput) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutput

func (GetDatabaseInstanceSettingMaintenanceWindowArrayOutput) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutputWithContext

func (o GetDatabaseInstanceSettingMaintenanceWindowArrayOutput) ToGetDatabaseInstanceSettingMaintenanceWindowArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingMaintenanceWindowArrayOutput

type GetDatabaseInstanceSettingMaintenanceWindowInput

type GetDatabaseInstanceSettingMaintenanceWindowInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingMaintenanceWindowOutput() GetDatabaseInstanceSettingMaintenanceWindowOutput
	ToGetDatabaseInstanceSettingMaintenanceWindowOutputWithContext(context.Context) GetDatabaseInstanceSettingMaintenanceWindowOutput
}

GetDatabaseInstanceSettingMaintenanceWindowInput is an input type that accepts GetDatabaseInstanceSettingMaintenanceWindowArgs and GetDatabaseInstanceSettingMaintenanceWindowOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingMaintenanceWindowInput` via:

GetDatabaseInstanceSettingMaintenanceWindowArgs{...}

type GetDatabaseInstanceSettingMaintenanceWindowOutput

type GetDatabaseInstanceSettingMaintenanceWindowOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingMaintenanceWindowOutput) Day

func (GetDatabaseInstanceSettingMaintenanceWindowOutput) ElementType

func (GetDatabaseInstanceSettingMaintenanceWindowOutput) Hour

func (GetDatabaseInstanceSettingMaintenanceWindowOutput) ToGetDatabaseInstanceSettingMaintenanceWindowOutput

func (o GetDatabaseInstanceSettingMaintenanceWindowOutput) ToGetDatabaseInstanceSettingMaintenanceWindowOutput() GetDatabaseInstanceSettingMaintenanceWindowOutput

func (GetDatabaseInstanceSettingMaintenanceWindowOutput) ToGetDatabaseInstanceSettingMaintenanceWindowOutputWithContext

func (o GetDatabaseInstanceSettingMaintenanceWindowOutput) ToGetDatabaseInstanceSettingMaintenanceWindowOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingMaintenanceWindowOutput

func (GetDatabaseInstanceSettingMaintenanceWindowOutput) UpdateTrack

type GetDatabaseInstanceSettingOutput

type GetDatabaseInstanceSettingOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingOutput) ActivationPolicy

func (GetDatabaseInstanceSettingOutput) ActiveDirectoryConfigs added in v6.25.0

func (GetDatabaseInstanceSettingOutput) AvailabilityType

func (GetDatabaseInstanceSettingOutput) BackupConfigurations

func (GetDatabaseInstanceSettingOutput) Collation

func (GetDatabaseInstanceSettingOutput) ConnectorEnforcement added in v6.44.0

func (o GetDatabaseInstanceSettingOutput) ConnectorEnforcement() pulumi.StringOutput

func (GetDatabaseInstanceSettingOutput) DatabaseFlags

func (GetDatabaseInstanceSettingOutput) DiskAutoresize

func (GetDatabaseInstanceSettingOutput) DiskAutoresizeLimit

func (o GetDatabaseInstanceSettingOutput) DiskAutoresizeLimit() pulumi.IntOutput

func (GetDatabaseInstanceSettingOutput) DiskSize

func (GetDatabaseInstanceSettingOutput) DiskType

func (GetDatabaseInstanceSettingOutput) ElementType

func (GetDatabaseInstanceSettingOutput) InsightsConfigs

func (GetDatabaseInstanceSettingOutput) IpConfigurations

func (GetDatabaseInstanceSettingOutput) LocationPreferences

func (GetDatabaseInstanceSettingOutput) MaintenanceWindows

func (GetDatabaseInstanceSettingOutput) PasswordValidationPolicies added in v6.35.0

func (GetDatabaseInstanceSettingOutput) PricingPlan

func (GetDatabaseInstanceSettingOutput) SqlServerAuditConfigs added in v6.31.0

func (GetDatabaseInstanceSettingOutput) Tier

func (GetDatabaseInstanceSettingOutput) TimeZone added in v6.42.0

func (GetDatabaseInstanceSettingOutput) ToGetDatabaseInstanceSettingOutput

func (o GetDatabaseInstanceSettingOutput) ToGetDatabaseInstanceSettingOutput() GetDatabaseInstanceSettingOutput

func (GetDatabaseInstanceSettingOutput) ToGetDatabaseInstanceSettingOutputWithContext

func (o GetDatabaseInstanceSettingOutput) ToGetDatabaseInstanceSettingOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingOutput

func (GetDatabaseInstanceSettingOutput) UserLabels

func (GetDatabaseInstanceSettingOutput) Version

type GetDatabaseInstanceSettingPasswordValidationPolicy added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicy struct {
	Complexity                string `pulumi:"complexity"`
	DisallowUsernameSubstring bool   `pulumi:"disallowUsernameSubstring"`
	EnablePasswordPolicy      bool   `pulumi:"enablePasswordPolicy"`
	MinLength                 int    `pulumi:"minLength"`
	PasswordChangeInterval    string `pulumi:"passwordChangeInterval"`
	ReuseInterval             int    `pulumi:"reuseInterval"`
}

type GetDatabaseInstanceSettingPasswordValidationPolicyArgs added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicyArgs struct {
	Complexity                pulumi.StringInput `pulumi:"complexity"`
	DisallowUsernameSubstring pulumi.BoolInput   `pulumi:"disallowUsernameSubstring"`
	EnablePasswordPolicy      pulumi.BoolInput   `pulumi:"enablePasswordPolicy"`
	MinLength                 pulumi.IntInput    `pulumi:"minLength"`
	PasswordChangeInterval    pulumi.StringInput `pulumi:"passwordChangeInterval"`
	ReuseInterval             pulumi.IntInput    `pulumi:"reuseInterval"`
}

func (GetDatabaseInstanceSettingPasswordValidationPolicyArgs) ElementType added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyArgs) ToGetDatabaseInstanceSettingPasswordValidationPolicyOutput added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyArgs) ToGetDatabaseInstanceSettingPasswordValidationPolicyOutputWithContext added in v6.35.0

func (i GetDatabaseInstanceSettingPasswordValidationPolicyArgs) ToGetDatabaseInstanceSettingPasswordValidationPolicyOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingPasswordValidationPolicyOutput

type GetDatabaseInstanceSettingPasswordValidationPolicyArray added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicyArray []GetDatabaseInstanceSettingPasswordValidationPolicyInput

func (GetDatabaseInstanceSettingPasswordValidationPolicyArray) ElementType added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyArray) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput added in v6.35.0

func (i GetDatabaseInstanceSettingPasswordValidationPolicyArray) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput() GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput

func (GetDatabaseInstanceSettingPasswordValidationPolicyArray) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutputWithContext added in v6.35.0

func (i GetDatabaseInstanceSettingPasswordValidationPolicyArray) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput

type GetDatabaseInstanceSettingPasswordValidationPolicyArrayInput added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicyArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput() GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput
	ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput
}

GetDatabaseInstanceSettingPasswordValidationPolicyArrayInput is an input type that accepts GetDatabaseInstanceSettingPasswordValidationPolicyArray and GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingPasswordValidationPolicyArrayInput` via:

GetDatabaseInstanceSettingPasswordValidationPolicyArray{ GetDatabaseInstanceSettingPasswordValidationPolicyArgs{...} }

type GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput) ElementType added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput) Index added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutputWithContext added in v6.35.0

func (o GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput) ToGetDatabaseInstanceSettingPasswordValidationPolicyArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingPasswordValidationPolicyArrayOutput

type GetDatabaseInstanceSettingPasswordValidationPolicyInput added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicyInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingPasswordValidationPolicyOutput() GetDatabaseInstanceSettingPasswordValidationPolicyOutput
	ToGetDatabaseInstanceSettingPasswordValidationPolicyOutputWithContext(context.Context) GetDatabaseInstanceSettingPasswordValidationPolicyOutput
}

GetDatabaseInstanceSettingPasswordValidationPolicyInput is an input type that accepts GetDatabaseInstanceSettingPasswordValidationPolicyArgs and GetDatabaseInstanceSettingPasswordValidationPolicyOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingPasswordValidationPolicyInput` via:

GetDatabaseInstanceSettingPasswordValidationPolicyArgs{...}

type GetDatabaseInstanceSettingPasswordValidationPolicyOutput added in v6.35.0

type GetDatabaseInstanceSettingPasswordValidationPolicyOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) Complexity added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) DisallowUsernameSubstring added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) ElementType added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) EnablePasswordPolicy added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) MinLength added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) PasswordChangeInterval added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) ReuseInterval added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) ToGetDatabaseInstanceSettingPasswordValidationPolicyOutput added in v6.35.0

func (GetDatabaseInstanceSettingPasswordValidationPolicyOutput) ToGetDatabaseInstanceSettingPasswordValidationPolicyOutputWithContext added in v6.35.0

func (o GetDatabaseInstanceSettingPasswordValidationPolicyOutput) ToGetDatabaseInstanceSettingPasswordValidationPolicyOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingPasswordValidationPolicyOutput

type GetDatabaseInstanceSettingSqlServerAuditConfig added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfig struct {
	Bucket            string `pulumi:"bucket"`
	RetentionInterval string `pulumi:"retentionInterval"`
	UploadInterval    string `pulumi:"uploadInterval"`
}

type GetDatabaseInstanceSettingSqlServerAuditConfigArgs added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfigArgs struct {
	Bucket            pulumi.StringInput `pulumi:"bucket"`
	RetentionInterval pulumi.StringInput `pulumi:"retentionInterval"`
	UploadInterval    pulumi.StringInput `pulumi:"uploadInterval"`
}

func (GetDatabaseInstanceSettingSqlServerAuditConfigArgs) ElementType added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigArgs) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutput added in v6.31.0

func (i GetDatabaseInstanceSettingSqlServerAuditConfigArgs) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutput() GetDatabaseInstanceSettingSqlServerAuditConfigOutput

func (GetDatabaseInstanceSettingSqlServerAuditConfigArgs) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutputWithContext added in v6.31.0

func (i GetDatabaseInstanceSettingSqlServerAuditConfigArgs) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingSqlServerAuditConfigOutput

type GetDatabaseInstanceSettingSqlServerAuditConfigArray added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfigArray []GetDatabaseInstanceSettingSqlServerAuditConfigInput

func (GetDatabaseInstanceSettingSqlServerAuditConfigArray) ElementType added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigArray) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput added in v6.31.0

func (i GetDatabaseInstanceSettingSqlServerAuditConfigArray) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput() GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput

func (GetDatabaseInstanceSettingSqlServerAuditConfigArray) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutputWithContext added in v6.31.0

func (i GetDatabaseInstanceSettingSqlServerAuditConfigArray) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput

type GetDatabaseInstanceSettingSqlServerAuditConfigArrayInput added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfigArrayInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput() GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput
	ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutputWithContext(context.Context) GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput
}

GetDatabaseInstanceSettingSqlServerAuditConfigArrayInput is an input type that accepts GetDatabaseInstanceSettingSqlServerAuditConfigArray and GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingSqlServerAuditConfigArrayInput` via:

GetDatabaseInstanceSettingSqlServerAuditConfigArray{ GetDatabaseInstanceSettingSqlServerAuditConfigArgs{...} }

type GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput) ElementType added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput) Index added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutputWithContext added in v6.31.0

func (o GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput) ToGetDatabaseInstanceSettingSqlServerAuditConfigArrayOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingSqlServerAuditConfigArrayOutput

type GetDatabaseInstanceSettingSqlServerAuditConfigInput added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfigInput interface {
	pulumi.Input

	ToGetDatabaseInstanceSettingSqlServerAuditConfigOutput() GetDatabaseInstanceSettingSqlServerAuditConfigOutput
	ToGetDatabaseInstanceSettingSqlServerAuditConfigOutputWithContext(context.Context) GetDatabaseInstanceSettingSqlServerAuditConfigOutput
}

GetDatabaseInstanceSettingSqlServerAuditConfigInput is an input type that accepts GetDatabaseInstanceSettingSqlServerAuditConfigArgs and GetDatabaseInstanceSettingSqlServerAuditConfigOutput values. You can construct a concrete instance of `GetDatabaseInstanceSettingSqlServerAuditConfigInput` via:

GetDatabaseInstanceSettingSqlServerAuditConfigArgs{...}

type GetDatabaseInstanceSettingSqlServerAuditConfigOutput added in v6.31.0

type GetDatabaseInstanceSettingSqlServerAuditConfigOutput struct{ *pulumi.OutputState }

func (GetDatabaseInstanceSettingSqlServerAuditConfigOutput) Bucket added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigOutput) ElementType added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigOutput) RetentionInterval added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigOutput) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutput added in v6.31.0

func (GetDatabaseInstanceSettingSqlServerAuditConfigOutput) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutputWithContext added in v6.31.0

func (o GetDatabaseInstanceSettingSqlServerAuditConfigOutput) ToGetDatabaseInstanceSettingSqlServerAuditConfigOutputWithContext(ctx context.Context) GetDatabaseInstanceSettingSqlServerAuditConfigOutput

func (GetDatabaseInstanceSettingSqlServerAuditConfigOutput) UploadInterval added in v6.31.0

type LookupDatabaseInstanceArgs

type LookupDatabaseInstanceArgs struct {
	// The name of the instance.
	Name string `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getDatabaseInstance.

type LookupDatabaseInstanceOutputArgs

type LookupDatabaseInstanceOutputArgs struct {
	// The name of the instance.
	Name pulumi.StringInput `pulumi:"name"`
	// The ID of the project in which the resource belongs.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getDatabaseInstance.

func (LookupDatabaseInstanceOutputArgs) ElementType

type LookupDatabaseInstanceResult

type LookupDatabaseInstanceResult struct {
	AvailableMaintenanceVersions []string                   `pulumi:"availableMaintenanceVersions"`
	Clones                       []GetDatabaseInstanceClone `pulumi:"clones"`
	ConnectionName               string                     `pulumi:"connectionName"`
	DatabaseVersion              string                     `pulumi:"databaseVersion"`
	DeletionProtection           bool                       `pulumi:"deletionProtection"`
	EncryptionKeyName            string                     `pulumi:"encryptionKeyName"`
	FirstIpAddress               string                     `pulumi:"firstIpAddress"`
	// The provider-assigned unique ID for this managed resource.
	Id                         string                                    `pulumi:"id"`
	IpAddresses                []GetDatabaseInstanceIpAddress            `pulumi:"ipAddresses"`
	MaintenanceVersion         string                                    `pulumi:"maintenanceVersion"`
	MasterInstanceName         string                                    `pulumi:"masterInstanceName"`
	Name                       string                                    `pulumi:"name"`
	PrivateIpAddress           string                                    `pulumi:"privateIpAddress"`
	Project                    *string                                   `pulumi:"project"`
	PublicIpAddress            string                                    `pulumi:"publicIpAddress"`
	Region                     string                                    `pulumi:"region"`
	ReplicaConfigurations      []GetDatabaseInstanceReplicaConfiguration `pulumi:"replicaConfigurations"`
	RestoreBackupContexts      []GetDatabaseInstanceRestoreBackupContext `pulumi:"restoreBackupContexts"`
	RootPassword               string                                    `pulumi:"rootPassword"`
	SelfLink                   string                                    `pulumi:"selfLink"`
	ServerCaCerts              []GetDatabaseInstanceServerCaCert         `pulumi:"serverCaCerts"`
	ServiceAccountEmailAddress string                                    `pulumi:"serviceAccountEmailAddress"`
	Settings                   []GetDatabaseInstanceSetting              `pulumi:"settings"`
}

A collection of values returned by getDatabaseInstance.

func LookupDatabaseInstance

func LookupDatabaseInstance(ctx *pulumi.Context, args *LookupDatabaseInstanceArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseInstanceResult, error)

Use this data source to get information about a Cloud SQL instance.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err = sql.LookupDatabaseInstance(ctx, &sql.LookupDatabaseInstanceArgs{
			Name: "test-sql-instance",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupDatabaseInstanceResultOutput

type LookupDatabaseInstanceResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getDatabaseInstance.

func (LookupDatabaseInstanceResultOutput) AvailableMaintenanceVersions added in v6.40.0

func (o LookupDatabaseInstanceResultOutput) AvailableMaintenanceVersions() pulumi.StringArrayOutput

func (LookupDatabaseInstanceResultOutput) Clones

func (LookupDatabaseInstanceResultOutput) ConnectionName

func (LookupDatabaseInstanceResultOutput) DatabaseVersion

func (LookupDatabaseInstanceResultOutput) DeletionProtection

func (o LookupDatabaseInstanceResultOutput) DeletionProtection() pulumi.BoolOutput

func (LookupDatabaseInstanceResultOutput) ElementType

func (LookupDatabaseInstanceResultOutput) EncryptionKeyName

func (LookupDatabaseInstanceResultOutput) FirstIpAddress

func (LookupDatabaseInstanceResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupDatabaseInstanceResultOutput) IpAddresses

func (LookupDatabaseInstanceResultOutput) MaintenanceVersion added in v6.40.0

func (LookupDatabaseInstanceResultOutput) MasterInstanceName

func (LookupDatabaseInstanceResultOutput) Name

func (LookupDatabaseInstanceResultOutput) PrivateIpAddress

func (LookupDatabaseInstanceResultOutput) Project

func (LookupDatabaseInstanceResultOutput) PublicIpAddress

func (LookupDatabaseInstanceResultOutput) Region

func (LookupDatabaseInstanceResultOutput) ReplicaConfigurations

func (LookupDatabaseInstanceResultOutput) RestoreBackupContexts

func (LookupDatabaseInstanceResultOutput) RootPassword

func (LookupDatabaseInstanceResultOutput) ServerCaCerts

func (LookupDatabaseInstanceResultOutput) ServiceAccountEmailAddress

func (o LookupDatabaseInstanceResultOutput) ServiceAccountEmailAddress() pulumi.StringOutput

func (LookupDatabaseInstanceResultOutput) Settings

func (LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutput

func (o LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutput() LookupDatabaseInstanceResultOutput

func (LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutputWithContext

func (o LookupDatabaseInstanceResultOutput) ToLookupDatabaseInstanceResultOutputWithContext(ctx context.Context) LookupDatabaseInstanceResultOutput

type SourceRepresentationInstance

type SourceRepresentationInstance struct {
	pulumi.CustomResourceState

	// The MySQL version running on your source database server.
	// Possible values are `MYSQL_5_5`, `MYSQL_5_6`, `MYSQL_5_7`, and `MYSQL_8_0`.
	DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"`
	// The externally accessible IPv4 address for the source database server.
	Host pulumi.StringOutput `pulumi:"host"`
	// The name of the source representation instance. Use any valid Cloud SQL instance name.
	Name pulumi.StringOutput `pulumi:"name"`
	// The externally accessible port for the source database server.
	// Defaults to 3306.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The Region in which the created instance should reside.
	// If it is not provided, the provider region is used.
	Region pulumi.StringOutput `pulumi:"region"`
}

A source representation instance is a Cloud SQL instance that represents the source database server to the Cloud SQL replica. It is visible in the Cloud Console and appears the same as a regular Cloud SQL instance, but it contains no data, requires no configuration or maintenance, and does not affect billing. You cannot update the source representation instance.

## Example Usage ### Sql Source Representation Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := sql.NewSourceRepresentationInstance(ctx, "instance", &sql.SourceRepresentationInstanceArgs{
			DatabaseVersion: pulumi.String("MYSQL_8_0"),
			Host:            pulumi.String("10.20.30.40"),
			Port:            pulumi.Int(3306),
			Region:          pulumi.String("us-central1"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SourceRepresentationInstance can be imported using any of these accepted formats

```sh

$ pulumi import gcp:sql/sourceRepresentationInstance:SourceRepresentationInstance default projects/{{project}}/instances/{{name}}

```

```sh

$ pulumi import gcp:sql/sourceRepresentationInstance:SourceRepresentationInstance default {{project}}/{{name}}

```

```sh

$ pulumi import gcp:sql/sourceRepresentationInstance:SourceRepresentationInstance default {{name}}

```

func GetSourceRepresentationInstance

func GetSourceRepresentationInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SourceRepresentationInstanceState, opts ...pulumi.ResourceOption) (*SourceRepresentationInstance, error)

GetSourceRepresentationInstance gets an existing SourceRepresentationInstance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSourceRepresentationInstance

func NewSourceRepresentationInstance(ctx *pulumi.Context,
	name string, args *SourceRepresentationInstanceArgs, opts ...pulumi.ResourceOption) (*SourceRepresentationInstance, error)

NewSourceRepresentationInstance registers a new resource with the given unique name, arguments, and options.

func (*SourceRepresentationInstance) ElementType

func (*SourceRepresentationInstance) ElementType() reflect.Type

func (*SourceRepresentationInstance) ToSourceRepresentationInstanceOutput

func (i *SourceRepresentationInstance) ToSourceRepresentationInstanceOutput() SourceRepresentationInstanceOutput

func (*SourceRepresentationInstance) ToSourceRepresentationInstanceOutputWithContext

func (i *SourceRepresentationInstance) ToSourceRepresentationInstanceOutputWithContext(ctx context.Context) SourceRepresentationInstanceOutput

type SourceRepresentationInstanceArgs

type SourceRepresentationInstanceArgs struct {
	// The MySQL version running on your source database server.
	// Possible values are `MYSQL_5_5`, `MYSQL_5_6`, `MYSQL_5_7`, and `MYSQL_8_0`.
	DatabaseVersion pulumi.StringInput
	// The externally accessible IPv4 address for the source database server.
	Host pulumi.StringInput
	// The name of the source representation instance. Use any valid Cloud SQL instance name.
	Name pulumi.StringPtrInput
	// The externally accessible port for the source database server.
	// Defaults to 3306.
	Port pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The Region in which the created instance should reside.
	// If it is not provided, the provider region is used.
	Region pulumi.StringPtrInput
}

The set of arguments for constructing a SourceRepresentationInstance resource.

func (SourceRepresentationInstanceArgs) ElementType

type SourceRepresentationInstanceArray

type SourceRepresentationInstanceArray []SourceRepresentationInstanceInput

func (SourceRepresentationInstanceArray) ElementType

func (SourceRepresentationInstanceArray) ToSourceRepresentationInstanceArrayOutput

func (i SourceRepresentationInstanceArray) ToSourceRepresentationInstanceArrayOutput() SourceRepresentationInstanceArrayOutput

func (SourceRepresentationInstanceArray) ToSourceRepresentationInstanceArrayOutputWithContext

func (i SourceRepresentationInstanceArray) ToSourceRepresentationInstanceArrayOutputWithContext(ctx context.Context) SourceRepresentationInstanceArrayOutput

type SourceRepresentationInstanceArrayInput

type SourceRepresentationInstanceArrayInput interface {
	pulumi.Input

	ToSourceRepresentationInstanceArrayOutput() SourceRepresentationInstanceArrayOutput
	ToSourceRepresentationInstanceArrayOutputWithContext(context.Context) SourceRepresentationInstanceArrayOutput
}

SourceRepresentationInstanceArrayInput is an input type that accepts SourceRepresentationInstanceArray and SourceRepresentationInstanceArrayOutput values. You can construct a concrete instance of `SourceRepresentationInstanceArrayInput` via:

SourceRepresentationInstanceArray{ SourceRepresentationInstanceArgs{...} }

type SourceRepresentationInstanceArrayOutput

type SourceRepresentationInstanceArrayOutput struct{ *pulumi.OutputState }

func (SourceRepresentationInstanceArrayOutput) ElementType

func (SourceRepresentationInstanceArrayOutput) Index

func (SourceRepresentationInstanceArrayOutput) ToSourceRepresentationInstanceArrayOutput

func (o SourceRepresentationInstanceArrayOutput) ToSourceRepresentationInstanceArrayOutput() SourceRepresentationInstanceArrayOutput

func (SourceRepresentationInstanceArrayOutput) ToSourceRepresentationInstanceArrayOutputWithContext

func (o SourceRepresentationInstanceArrayOutput) ToSourceRepresentationInstanceArrayOutputWithContext(ctx context.Context) SourceRepresentationInstanceArrayOutput

type SourceRepresentationInstanceInput

type SourceRepresentationInstanceInput interface {
	pulumi.Input

	ToSourceRepresentationInstanceOutput() SourceRepresentationInstanceOutput
	ToSourceRepresentationInstanceOutputWithContext(ctx context.Context) SourceRepresentationInstanceOutput
}

type SourceRepresentationInstanceMap

type SourceRepresentationInstanceMap map[string]SourceRepresentationInstanceInput

func (SourceRepresentationInstanceMap) ElementType

func (SourceRepresentationInstanceMap) ToSourceRepresentationInstanceMapOutput

func (i SourceRepresentationInstanceMap) ToSourceRepresentationInstanceMapOutput() SourceRepresentationInstanceMapOutput

func (SourceRepresentationInstanceMap) ToSourceRepresentationInstanceMapOutputWithContext

func (i SourceRepresentationInstanceMap) ToSourceRepresentationInstanceMapOutputWithContext(ctx context.Context) SourceRepresentationInstanceMapOutput

type SourceRepresentationInstanceMapInput

type SourceRepresentationInstanceMapInput interface {
	pulumi.Input

	ToSourceRepresentationInstanceMapOutput() SourceRepresentationInstanceMapOutput
	ToSourceRepresentationInstanceMapOutputWithContext(context.Context) SourceRepresentationInstanceMapOutput
}

SourceRepresentationInstanceMapInput is an input type that accepts SourceRepresentationInstanceMap and SourceRepresentationInstanceMapOutput values. You can construct a concrete instance of `SourceRepresentationInstanceMapInput` via:

SourceRepresentationInstanceMap{ "key": SourceRepresentationInstanceArgs{...} }

type SourceRepresentationInstanceMapOutput

type SourceRepresentationInstanceMapOutput struct{ *pulumi.OutputState }

func (SourceRepresentationInstanceMapOutput) ElementType

func (SourceRepresentationInstanceMapOutput) MapIndex

func (SourceRepresentationInstanceMapOutput) ToSourceRepresentationInstanceMapOutput

func (o SourceRepresentationInstanceMapOutput) ToSourceRepresentationInstanceMapOutput() SourceRepresentationInstanceMapOutput

func (SourceRepresentationInstanceMapOutput) ToSourceRepresentationInstanceMapOutputWithContext

func (o SourceRepresentationInstanceMapOutput) ToSourceRepresentationInstanceMapOutputWithContext(ctx context.Context) SourceRepresentationInstanceMapOutput

type SourceRepresentationInstanceOutput

type SourceRepresentationInstanceOutput struct{ *pulumi.OutputState }

func (SourceRepresentationInstanceOutput) DatabaseVersion added in v6.23.0

The MySQL version running on your source database server. Possible values are `MYSQL_5_5`, `MYSQL_5_6`, `MYSQL_5_7`, and `MYSQL_8_0`.

func (SourceRepresentationInstanceOutput) ElementType

func (SourceRepresentationInstanceOutput) Host added in v6.23.0

The externally accessible IPv4 address for the source database server.

func (SourceRepresentationInstanceOutput) Name added in v6.23.0

The name of the source representation instance. Use any valid Cloud SQL instance name.

func (SourceRepresentationInstanceOutput) Port added in v6.23.0

The externally accessible port for the source database server. Defaults to 3306.

func (SourceRepresentationInstanceOutput) Project added in v6.23.0

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

func (SourceRepresentationInstanceOutput) Region added in v6.23.0

The Region in which the created instance should reside. If it is not provided, the provider region is used.

func (SourceRepresentationInstanceOutput) ToSourceRepresentationInstanceOutput

func (o SourceRepresentationInstanceOutput) ToSourceRepresentationInstanceOutput() SourceRepresentationInstanceOutput

func (SourceRepresentationInstanceOutput) ToSourceRepresentationInstanceOutputWithContext

func (o SourceRepresentationInstanceOutput) ToSourceRepresentationInstanceOutputWithContext(ctx context.Context) SourceRepresentationInstanceOutput

type SourceRepresentationInstanceState

type SourceRepresentationInstanceState struct {
	// The MySQL version running on your source database server.
	// Possible values are `MYSQL_5_5`, `MYSQL_5_6`, `MYSQL_5_7`, and `MYSQL_8_0`.
	DatabaseVersion pulumi.StringPtrInput
	// The externally accessible IPv4 address for the source database server.
	Host pulumi.StringPtrInput
	// The name of the source representation instance. Use any valid Cloud SQL instance name.
	Name pulumi.StringPtrInput
	// The externally accessible port for the source database server.
	// Defaults to 3306.
	Port pulumi.IntPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The Region in which the created instance should reside.
	// If it is not provided, the provider region is used.
	Region pulumi.StringPtrInput
}

func (SourceRepresentationInstanceState) ElementType

type SslCert

type SslCert struct {
	pulumi.CustomResourceState

	// The actual certificate data for this client certificate.
	Cert pulumi.StringOutput `pulumi:"cert"`
	// The serial number extracted from the certificate data.
	CertSerialNumber pulumi.StringOutput `pulumi:"certSerialNumber"`
	// The common name to be used in the certificate to identify the
	// client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.
	CommonName pulumi.StringOutput `pulumi:"commonName"`
	// The time when the certificate was created in RFC 3339 format,
	// for example 2012-11-15T16:19:00.094Z.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The time when the certificate expires in RFC 3339 format,
	// for example 2012-11-15T16:19:00.094Z.
	ExpirationTime pulumi.StringOutput `pulumi:"expirationTime"`
	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	Instance pulumi.StringOutput `pulumi:"instance"`
	// The private key associated with the client certificate.
	PrivateKey pulumi.StringOutput `pulumi:"privateKey"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringOutput `pulumi:"project"`
	// The CA cert of the server this client cert was generated from.
	ServerCaCert pulumi.StringOutput `pulumi:"serverCaCert"`
	// The SHA1 Fingerprint of the certificate.
	Sha1Fingerprint pulumi.StringOutput `pulumi:"sha1Fingerprint"`
}

Creates a new Google SQL SSL Cert on a Google SQL Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/mysql/admin-api/v1beta4/sslCerts).

> **Note:** All arguments including the private key will be stored in the raw state as plain-text

## Example Usage

Example creating a SQL Client Certificate.

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := random.NewRandomId(ctx, "dbNameSuffix", &random.RandomIdArgs{
			ByteLength: pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		main, err := sql.NewDatabaseInstance(ctx, "main", &sql.DatabaseInstanceArgs{
			DatabaseVersion: pulumi.String("MYSQL_5_7"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
		})
		if err != nil {
			return err
		}
		_, err = sql.NewSslCert(ctx, "clientCert", &sql.SslCertArgs{
			CommonName: pulumi.String("client-name"),
			Instance:   main.Name,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Since the contents of the certificate cannot be accessed after its creation, this resource cannot be imported.

func GetSslCert

func GetSslCert(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *SslCertState, opts ...pulumi.ResourceOption) (*SslCert, error)

GetSslCert gets an existing SslCert resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewSslCert

func NewSslCert(ctx *pulumi.Context,
	name string, args *SslCertArgs, opts ...pulumi.ResourceOption) (*SslCert, error)

NewSslCert registers a new resource with the given unique name, arguments, and options.

func (*SslCert) ElementType

func (*SslCert) ElementType() reflect.Type

func (*SslCert) ToSslCertOutput

func (i *SslCert) ToSslCertOutput() SslCertOutput

func (*SslCert) ToSslCertOutputWithContext

func (i *SslCert) ToSslCertOutputWithContext(ctx context.Context) SslCertOutput

type SslCertArgs

type SslCertArgs struct {
	// The common name to be used in the certificate to identify the
	// client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.
	CommonName pulumi.StringInput
	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	Instance pulumi.StringInput
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput
}

The set of arguments for constructing a SslCert resource.

func (SslCertArgs) ElementType

func (SslCertArgs) ElementType() reflect.Type

type SslCertArray

type SslCertArray []SslCertInput

func (SslCertArray) ElementType

func (SslCertArray) ElementType() reflect.Type

func (SslCertArray) ToSslCertArrayOutput

func (i SslCertArray) ToSslCertArrayOutput() SslCertArrayOutput

func (SslCertArray) ToSslCertArrayOutputWithContext

func (i SslCertArray) ToSslCertArrayOutputWithContext(ctx context.Context) SslCertArrayOutput

type SslCertArrayInput

type SslCertArrayInput interface {
	pulumi.Input

	ToSslCertArrayOutput() SslCertArrayOutput
	ToSslCertArrayOutputWithContext(context.Context) SslCertArrayOutput
}

SslCertArrayInput is an input type that accepts SslCertArray and SslCertArrayOutput values. You can construct a concrete instance of `SslCertArrayInput` via:

SslCertArray{ SslCertArgs{...} }

type SslCertArrayOutput

type SslCertArrayOutput struct{ *pulumi.OutputState }

func (SslCertArrayOutput) ElementType

func (SslCertArrayOutput) ElementType() reflect.Type

func (SslCertArrayOutput) Index

func (SslCertArrayOutput) ToSslCertArrayOutput

func (o SslCertArrayOutput) ToSslCertArrayOutput() SslCertArrayOutput

func (SslCertArrayOutput) ToSslCertArrayOutputWithContext

func (o SslCertArrayOutput) ToSslCertArrayOutputWithContext(ctx context.Context) SslCertArrayOutput

type SslCertInput

type SslCertInput interface {
	pulumi.Input

	ToSslCertOutput() SslCertOutput
	ToSslCertOutputWithContext(ctx context.Context) SslCertOutput
}

type SslCertMap

type SslCertMap map[string]SslCertInput

func (SslCertMap) ElementType

func (SslCertMap) ElementType() reflect.Type

func (SslCertMap) ToSslCertMapOutput

func (i SslCertMap) ToSslCertMapOutput() SslCertMapOutput

func (SslCertMap) ToSslCertMapOutputWithContext

func (i SslCertMap) ToSslCertMapOutputWithContext(ctx context.Context) SslCertMapOutput

type SslCertMapInput

type SslCertMapInput interface {
	pulumi.Input

	ToSslCertMapOutput() SslCertMapOutput
	ToSslCertMapOutputWithContext(context.Context) SslCertMapOutput
}

SslCertMapInput is an input type that accepts SslCertMap and SslCertMapOutput values. You can construct a concrete instance of `SslCertMapInput` via:

SslCertMap{ "key": SslCertArgs{...} }

type SslCertMapOutput

type SslCertMapOutput struct{ *pulumi.OutputState }

func (SslCertMapOutput) ElementType

func (SslCertMapOutput) ElementType() reflect.Type

func (SslCertMapOutput) MapIndex

func (SslCertMapOutput) ToSslCertMapOutput

func (o SslCertMapOutput) ToSslCertMapOutput() SslCertMapOutput

func (SslCertMapOutput) ToSslCertMapOutputWithContext

func (o SslCertMapOutput) ToSslCertMapOutputWithContext(ctx context.Context) SslCertMapOutput

type SslCertOutput

type SslCertOutput struct{ *pulumi.OutputState }

func (SslCertOutput) Cert added in v6.23.0

The actual certificate data for this client certificate.

func (SslCertOutput) CertSerialNumber added in v6.23.0

func (o SslCertOutput) CertSerialNumber() pulumi.StringOutput

The serial number extracted from the certificate data.

func (SslCertOutput) CommonName added in v6.23.0

func (o SslCertOutput) CommonName() pulumi.StringOutput

The common name to be used in the certificate to identify the client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.

func (SslCertOutput) CreateTime added in v6.23.0

func (o SslCertOutput) CreateTime() pulumi.StringOutput

The time when the certificate was created in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

func (SslCertOutput) ElementType

func (SslCertOutput) ElementType() reflect.Type

func (SslCertOutput) ExpirationTime added in v6.23.0

func (o SslCertOutput) ExpirationTime() pulumi.StringOutput

The time when the certificate expires in RFC 3339 format, for example 2012-11-15T16:19:00.094Z.

func (SslCertOutput) Instance added in v6.23.0

func (o SslCertOutput) Instance() pulumi.StringOutput

The name of the Cloud SQL instance. Changing this forces a new resource to be created.

func (SslCertOutput) PrivateKey added in v6.23.0

func (o SslCertOutput) PrivateKey() pulumi.StringOutput

The private key associated with the client certificate.

func (SslCertOutput) Project added in v6.23.0

func (o SslCertOutput) Project() pulumi.StringOutput

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

func (SslCertOutput) ServerCaCert added in v6.23.0

func (o SslCertOutput) ServerCaCert() pulumi.StringOutput

The CA cert of the server this client cert was generated from.

func (SslCertOutput) Sha1Fingerprint added in v6.23.0

func (o SslCertOutput) Sha1Fingerprint() pulumi.StringOutput

The SHA1 Fingerprint of the certificate.

func (SslCertOutput) ToSslCertOutput

func (o SslCertOutput) ToSslCertOutput() SslCertOutput

func (SslCertOutput) ToSslCertOutputWithContext

func (o SslCertOutput) ToSslCertOutputWithContext(ctx context.Context) SslCertOutput

type SslCertState

type SslCertState struct {
	// The actual certificate data for this client certificate.
	Cert pulumi.StringPtrInput
	// The serial number extracted from the certificate data.
	CertSerialNumber pulumi.StringPtrInput
	// The common name to be used in the certificate to identify the
	// client. Constrained to [a-zA-Z.-_ ]+. Changing this forces a new resource to be created.
	CommonName pulumi.StringPtrInput
	// The time when the certificate was created in RFC 3339 format,
	// for example 2012-11-15T16:19:00.094Z.
	CreateTime pulumi.StringPtrInput
	// The time when the certificate expires in RFC 3339 format,
	// for example 2012-11-15T16:19:00.094Z.
	ExpirationTime pulumi.StringPtrInput
	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	Instance pulumi.StringPtrInput
	// The private key associated with the client certificate.
	PrivateKey pulumi.StringPtrInput
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The CA cert of the server this client cert was generated from.
	ServerCaCert pulumi.StringPtrInput
	// The SHA1 Fingerprint of the certificate.
	Sha1Fingerprint pulumi.StringPtrInput
}

func (SslCertState) ElementType

func (SslCertState) ElementType() reflect.Type

type User

type User struct {
	pulumi.CustomResourceState

	// The deletion policy for the user.
	// Setting `ABANDON` allows the resource to be abandoned rather than deleted. This is useful
	// for Postgres, where users cannot be deleted from the API if they have been granted SQL roles.
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// The host the user can connect from. This is only supported
	// for MySQL instances. Don't set this field for PostgreSQL instances.
	// Can be an IP address. Changing this forces a new resource to be created.
	Host pulumi.StringOutput `pulumi:"host"`
	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	Instance pulumi.StringOutput `pulumi:"instance"`
	// The name of the user. Changing this forces a new resource
	// to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// The password for the user. Can be updated. For Postgres
	// instances this is a Required field, unless type is set to either CLOUD_IAM_USER
	// or CLOUD_IAM_SERVICE_ACCOUNT.
	Password       pulumi.StringPtrOutput      `pulumi:"password"`
	PasswordPolicy UserPasswordPolicyPtrOutput `pulumi:"passwordPolicy"`
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project              pulumi.StringOutput                `pulumi:"project"`
	SqlServerUserDetails UserSqlServerUserDetailArrayOutput `pulumi:"sqlServerUserDetails"`
	// The user type. It determines the method to authenticate the
	// user during login. The default is the database's built-in user type. Flags
	// include "BUILT_IN", "CLOUD_IAM_USER", or "CLOUD_IAM_SERVICE_ACCOUNT".
	Type pulumi.StringPtrOutput `pulumi:"type"`
}

Creates a new Google SQL User on a Google SQL User Instance. For more information, see the [official documentation](https://cloud.google.com/sql/), or the [JSON API](https://cloud.google.com/sql/docs/admin-api/v1beta4/users).

> **Note:** All arguments including the username and password will be stored in the raw state as plain-text.

## Example Usage

Example creating a SQL User.

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := random.NewRandomId(ctx, "dbNameSuffix", &random.RandomIdArgs{
			ByteLength: pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		main, err := sql.NewDatabaseInstance(ctx, "main", &sql.DatabaseInstanceArgs{
			DatabaseVersion: pulumi.String("MYSQL_5_7"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
			},
		})
		if err != nil {
			return err
		}
		_, err = sql.NewUser(ctx, "users", &sql.UserArgs{
			Instance: main.Name,
			Host:     pulumi.String("me.com"),
			Password: pulumi.String("changeme"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

Example creating a Cloud IAM User. (For MySQL, specify `cloudsqlIamAuthentication`)

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/sql"
"github.com/pulumi/pulumi-random/sdk/v4/go/random"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := random.NewRandomId(ctx, "dbNameSuffix", &random.RandomIdArgs{
			ByteLength: pulumi.Int(4),
		})
		if err != nil {
			return err
		}
		main, err := sql.NewDatabaseInstance(ctx, "main", &sql.DatabaseInstanceArgs{
			DatabaseVersion: pulumi.String("POSTGRES_9_6"),
			Settings: &sql.DatabaseInstanceSettingsArgs{
				Tier: pulumi.String("db-f1-micro"),
				DatabaseFlags: sql.DatabaseInstanceSettingsDatabaseFlagArray{
					&sql.DatabaseInstanceSettingsDatabaseFlagArgs{
						Name:  pulumi.String("cloudsql.iam_authentication"),
						Value: pulumi.String("on"),
					},
				},
			},
		})
		if err != nil {
			return err
		}
		_, err = sql.NewUser(ctx, "users", &sql.UserArgs{
			Instance: main.Name,
			Type:     pulumi.String("CLOUD_IAM_USER"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

SQL users for MySQL databases can be imported using the `project`, `instance`, `host` and `name`, e.g.

```sh

$ pulumi import gcp:sql/user:User users my-project/main-instance/my-domain.com/me

```

SQL users for PostgreSQL databases can be imported using the `project`, `instance` and `name`, e.g.

```sh

$ pulumi import gcp:sql/user:User users my-project/main-instance/me

```

func GetUser

func GetUser(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *UserState, opts ...pulumi.ResourceOption) (*User, error)

GetUser gets an existing User resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).

func NewUser

func NewUser(ctx *pulumi.Context,
	name string, args *UserArgs, opts ...pulumi.ResourceOption) (*User, error)

NewUser registers a new resource with the given unique name, arguments, and options.

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

func (i *User) ToUserOutputWithContext(ctx context.Context) UserOutput

type UserArgs

type UserArgs struct {
	// The deletion policy for the user.
	// Setting `ABANDON` allows the resource to be abandoned rather than deleted. This is useful
	// for Postgres, where users cannot be deleted from the API if they have been granted SQL roles.
	DeletionPolicy pulumi.StringPtrInput
	// The host the user can connect from. This is only supported
	// for MySQL instances. Don't set this field for PostgreSQL instances.
	// Can be an IP address. Changing this forces a new resource to be created.
	Host pulumi.StringPtrInput
	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	Instance pulumi.StringInput
	// The name of the user. Changing this forces a new resource
	// to be created.
	Name pulumi.StringPtrInput
	// The password for the user. Can be updated. For Postgres
	// instances this is a Required field, unless type is set to either CLOUD_IAM_USER
	// or CLOUD_IAM_SERVICE_ACCOUNT.
	Password       pulumi.StringPtrInput
	PasswordPolicy UserPasswordPolicyPtrInput
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The user type. It determines the method to authenticate the
	// user during login. The default is the database's built-in user type. Flags
	// include "BUILT_IN", "CLOUD_IAM_USER", or "CLOUD_IAM_SERVICE_ACCOUNT".
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserArray

type UserArray []UserInput

func (UserArray) ElementType

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext

func (i UserArray) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserArrayInput

type UserArrayInput interface {
	pulumi.Input

	ToUserArrayOutput() UserArrayOutput
	ToUserArrayOutputWithContext(context.Context) UserArrayOutput
}

UserArrayInput is an input type that accepts UserArray and UserArrayOutput values. You can construct a concrete instance of `UserArrayInput` via:

UserArray{ UserArgs{...} }

type UserArrayOutput

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index

func (UserArrayOutput) ToUserArrayOutput

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext

func (o UserArrayOutput) ToUserArrayOutputWithContext(ctx context.Context) UserArrayOutput

type UserInput

type UserInput interface {
	pulumi.Input

	ToUserOutput() UserOutput
	ToUserOutputWithContext(ctx context.Context) UserOutput
}

type UserMap

type UserMap map[string]UserInput

func (UserMap) ElementType

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext

func (i UserMap) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserMapInput

type UserMapInput interface {
	pulumi.Input

	ToUserMapOutput() UserMapOutput
	ToUserMapOutputWithContext(context.Context) UserMapOutput
}

UserMapInput is an input type that accepts UserMap and UserMapOutput values. You can construct a concrete instance of `UserMapInput` via:

UserMap{ "key": UserArgs{...} }

type UserMapOutput

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex

func (UserMapOutput) ToUserMapOutput

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext

func (o UserMapOutput) ToUserMapOutputWithContext(ctx context.Context) UserMapOutput

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) DeletionPolicy added in v6.23.0

func (o UserOutput) DeletionPolicy() pulumi.StringPtrOutput

The deletion policy for the user. Setting `ABANDON` allows the resource to be abandoned rather than deleted. This is useful for Postgres, where users cannot be deleted from the API if they have been granted SQL roles.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Host added in v6.23.0

func (o UserOutput) Host() pulumi.StringOutput

The host the user can connect from. This is only supported for MySQL instances. Don't set this field for PostgreSQL instances. Can be an IP address. Changing this forces a new resource to be created.

func (UserOutput) Instance added in v6.23.0

func (o UserOutput) Instance() pulumi.StringOutput

The name of the Cloud SQL instance. Changing this forces a new resource to be created.

func (UserOutput) Name added in v6.23.0

func (o UserOutput) Name() pulumi.StringOutput

The name of the user. Changing this forces a new resource to be created.

func (UserOutput) Password added in v6.23.0

func (o UserOutput) Password() pulumi.StringPtrOutput

The password for the user. Can be updated. For Postgres instances this is a Required field, unless type is set to either CLOUD_IAM_USER or CLOUD_IAM_SERVICE_ACCOUNT.

func (UserOutput) PasswordPolicy added in v6.41.0

func (o UserOutput) PasswordPolicy() UserPasswordPolicyPtrOutput

func (UserOutput) Project added in v6.23.0

func (o UserOutput) Project() pulumi.StringOutput

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

func (UserOutput) SqlServerUserDetails added in v6.28.0

func (o UserOutput) SqlServerUserDetails() UserSqlServerUserDetailArrayOutput

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

func (o UserOutput) ToUserOutputWithContext(ctx context.Context) UserOutput

func (UserOutput) Type added in v6.23.0

The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type. Flags include "BUILT_IN", "CLOUD_IAM_USER", or "CLOUD_IAM_SERVICE_ACCOUNT".

type UserPasswordPolicy added in v6.41.0

type UserPasswordPolicy struct {
	// Number of failed attempts allowed before the user get locked.
	AllowedFailedAttempts *int `pulumi:"allowedFailedAttempts"`
	// If true, the check that will lock user after too many failed login attempts will be enabled.
	EnableFailedAttemptsCheck *bool `pulumi:"enableFailedAttemptsCheck"`
	// If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.
	EnablePasswordVerification *bool `pulumi:"enablePasswordVerification"`
	// Password expiration duration with one week grace period.
	PasswordExpirationDuration *string                    `pulumi:"passwordExpirationDuration"`
	Statuses                   []UserPasswordPolicyStatus `pulumi:"statuses"`
}

type UserPasswordPolicyArgs added in v6.41.0

type UserPasswordPolicyArgs struct {
	// Number of failed attempts allowed before the user get locked.
	AllowedFailedAttempts pulumi.IntPtrInput `pulumi:"allowedFailedAttempts"`
	// If true, the check that will lock user after too many failed login attempts will be enabled.
	EnableFailedAttemptsCheck pulumi.BoolPtrInput `pulumi:"enableFailedAttemptsCheck"`
	// If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.
	EnablePasswordVerification pulumi.BoolPtrInput `pulumi:"enablePasswordVerification"`
	// Password expiration duration with one week grace period.
	PasswordExpirationDuration pulumi.StringPtrInput              `pulumi:"passwordExpirationDuration"`
	Statuses                   UserPasswordPolicyStatusArrayInput `pulumi:"statuses"`
}

func (UserPasswordPolicyArgs) ElementType added in v6.41.0

func (UserPasswordPolicyArgs) ElementType() reflect.Type

func (UserPasswordPolicyArgs) ToUserPasswordPolicyOutput added in v6.41.0

func (i UserPasswordPolicyArgs) ToUserPasswordPolicyOutput() UserPasswordPolicyOutput

func (UserPasswordPolicyArgs) ToUserPasswordPolicyOutputWithContext added in v6.41.0

func (i UserPasswordPolicyArgs) ToUserPasswordPolicyOutputWithContext(ctx context.Context) UserPasswordPolicyOutput

func (UserPasswordPolicyArgs) ToUserPasswordPolicyPtrOutput added in v6.41.0

func (i UserPasswordPolicyArgs) ToUserPasswordPolicyPtrOutput() UserPasswordPolicyPtrOutput

func (UserPasswordPolicyArgs) ToUserPasswordPolicyPtrOutputWithContext added in v6.41.0

func (i UserPasswordPolicyArgs) ToUserPasswordPolicyPtrOutputWithContext(ctx context.Context) UserPasswordPolicyPtrOutput

type UserPasswordPolicyInput added in v6.41.0

type UserPasswordPolicyInput interface {
	pulumi.Input

	ToUserPasswordPolicyOutput() UserPasswordPolicyOutput
	ToUserPasswordPolicyOutputWithContext(context.Context) UserPasswordPolicyOutput
}

UserPasswordPolicyInput is an input type that accepts UserPasswordPolicyArgs and UserPasswordPolicyOutput values. You can construct a concrete instance of `UserPasswordPolicyInput` via:

UserPasswordPolicyArgs{...}

type UserPasswordPolicyOutput added in v6.41.0

type UserPasswordPolicyOutput struct{ *pulumi.OutputState }

func (UserPasswordPolicyOutput) AllowedFailedAttempts added in v6.41.0

func (o UserPasswordPolicyOutput) AllowedFailedAttempts() pulumi.IntPtrOutput

Number of failed attempts allowed before the user get locked.

func (UserPasswordPolicyOutput) ElementType added in v6.41.0

func (UserPasswordPolicyOutput) ElementType() reflect.Type

func (UserPasswordPolicyOutput) EnableFailedAttemptsCheck added in v6.41.0

func (o UserPasswordPolicyOutput) EnableFailedAttemptsCheck() pulumi.BoolPtrOutput

If true, the check that will lock user after too many failed login attempts will be enabled.

func (UserPasswordPolicyOutput) EnablePasswordVerification added in v6.41.0

func (o UserPasswordPolicyOutput) EnablePasswordVerification() pulumi.BoolPtrOutput

If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.

func (UserPasswordPolicyOutput) PasswordExpirationDuration added in v6.41.0

func (o UserPasswordPolicyOutput) PasswordExpirationDuration() pulumi.StringPtrOutput

Password expiration duration with one week grace period.

func (UserPasswordPolicyOutput) Statuses added in v6.41.0

func (UserPasswordPolicyOutput) ToUserPasswordPolicyOutput added in v6.41.0

func (o UserPasswordPolicyOutput) ToUserPasswordPolicyOutput() UserPasswordPolicyOutput

func (UserPasswordPolicyOutput) ToUserPasswordPolicyOutputWithContext added in v6.41.0

func (o UserPasswordPolicyOutput) ToUserPasswordPolicyOutputWithContext(ctx context.Context) UserPasswordPolicyOutput

func (UserPasswordPolicyOutput) ToUserPasswordPolicyPtrOutput added in v6.41.0

func (o UserPasswordPolicyOutput) ToUserPasswordPolicyPtrOutput() UserPasswordPolicyPtrOutput

func (UserPasswordPolicyOutput) ToUserPasswordPolicyPtrOutputWithContext added in v6.41.0

func (o UserPasswordPolicyOutput) ToUserPasswordPolicyPtrOutputWithContext(ctx context.Context) UserPasswordPolicyPtrOutput

type UserPasswordPolicyPtrInput added in v6.41.0

type UserPasswordPolicyPtrInput interface {
	pulumi.Input

	ToUserPasswordPolicyPtrOutput() UserPasswordPolicyPtrOutput
	ToUserPasswordPolicyPtrOutputWithContext(context.Context) UserPasswordPolicyPtrOutput
}

UserPasswordPolicyPtrInput is an input type that accepts UserPasswordPolicyArgs, UserPasswordPolicyPtr and UserPasswordPolicyPtrOutput values. You can construct a concrete instance of `UserPasswordPolicyPtrInput` via:

        UserPasswordPolicyArgs{...}

or:

        nil

func UserPasswordPolicyPtr added in v6.41.0

func UserPasswordPolicyPtr(v *UserPasswordPolicyArgs) UserPasswordPolicyPtrInput

type UserPasswordPolicyPtrOutput added in v6.41.0

type UserPasswordPolicyPtrOutput struct{ *pulumi.OutputState }

func (UserPasswordPolicyPtrOutput) AllowedFailedAttempts added in v6.41.0

func (o UserPasswordPolicyPtrOutput) AllowedFailedAttempts() pulumi.IntPtrOutput

Number of failed attempts allowed before the user get locked.

func (UserPasswordPolicyPtrOutput) Elem added in v6.41.0

func (UserPasswordPolicyPtrOutput) ElementType added in v6.41.0

func (UserPasswordPolicyPtrOutput) EnableFailedAttemptsCheck added in v6.41.0

func (o UserPasswordPolicyPtrOutput) EnableFailedAttemptsCheck() pulumi.BoolPtrOutput

If true, the check that will lock user after too many failed login attempts will be enabled.

func (UserPasswordPolicyPtrOutput) EnablePasswordVerification added in v6.41.0

func (o UserPasswordPolicyPtrOutput) EnablePasswordVerification() pulumi.BoolPtrOutput

If true, the user must specify the current password before changing the password. This flag is supported only for MySQL.

func (UserPasswordPolicyPtrOutput) PasswordExpirationDuration added in v6.41.0

func (o UserPasswordPolicyPtrOutput) PasswordExpirationDuration() pulumi.StringPtrOutput

Password expiration duration with one week grace period.

func (UserPasswordPolicyPtrOutput) Statuses added in v6.41.0

func (UserPasswordPolicyPtrOutput) ToUserPasswordPolicyPtrOutput added in v6.41.0

func (o UserPasswordPolicyPtrOutput) ToUserPasswordPolicyPtrOutput() UserPasswordPolicyPtrOutput

func (UserPasswordPolicyPtrOutput) ToUserPasswordPolicyPtrOutputWithContext added in v6.41.0

func (o UserPasswordPolicyPtrOutput) ToUserPasswordPolicyPtrOutputWithContext(ctx context.Context) UserPasswordPolicyPtrOutput

type UserPasswordPolicyStatus added in v6.41.0

type UserPasswordPolicyStatus struct {
	// If true, user does not have login privileges.
	Locked *bool `pulumi:"locked"`
	// Password expiration duration with one week grace period.
	PasswordExpirationTime *string `pulumi:"passwordExpirationTime"`
}

type UserPasswordPolicyStatusArgs added in v6.41.0

type UserPasswordPolicyStatusArgs struct {
	// If true, user does not have login privileges.
	Locked pulumi.BoolPtrInput `pulumi:"locked"`
	// Password expiration duration with one week grace period.
	PasswordExpirationTime pulumi.StringPtrInput `pulumi:"passwordExpirationTime"`
}

func (UserPasswordPolicyStatusArgs) ElementType added in v6.41.0

func (UserPasswordPolicyStatusArgs) ToUserPasswordPolicyStatusOutput added in v6.41.0

func (i UserPasswordPolicyStatusArgs) ToUserPasswordPolicyStatusOutput() UserPasswordPolicyStatusOutput

func (UserPasswordPolicyStatusArgs) ToUserPasswordPolicyStatusOutputWithContext added in v6.41.0

func (i UserPasswordPolicyStatusArgs) ToUserPasswordPolicyStatusOutputWithContext(ctx context.Context) UserPasswordPolicyStatusOutput

type UserPasswordPolicyStatusArray added in v6.41.0

type UserPasswordPolicyStatusArray []UserPasswordPolicyStatusInput

func (UserPasswordPolicyStatusArray) ElementType added in v6.41.0

func (UserPasswordPolicyStatusArray) ToUserPasswordPolicyStatusArrayOutput added in v6.41.0

func (i UserPasswordPolicyStatusArray) ToUserPasswordPolicyStatusArrayOutput() UserPasswordPolicyStatusArrayOutput

func (UserPasswordPolicyStatusArray) ToUserPasswordPolicyStatusArrayOutputWithContext added in v6.41.0

func (i UserPasswordPolicyStatusArray) ToUserPasswordPolicyStatusArrayOutputWithContext(ctx context.Context) UserPasswordPolicyStatusArrayOutput

type UserPasswordPolicyStatusArrayInput added in v6.41.0

type UserPasswordPolicyStatusArrayInput interface {
	pulumi.Input

	ToUserPasswordPolicyStatusArrayOutput() UserPasswordPolicyStatusArrayOutput
	ToUserPasswordPolicyStatusArrayOutputWithContext(context.Context) UserPasswordPolicyStatusArrayOutput
}

UserPasswordPolicyStatusArrayInput is an input type that accepts UserPasswordPolicyStatusArray and UserPasswordPolicyStatusArrayOutput values. You can construct a concrete instance of `UserPasswordPolicyStatusArrayInput` via:

UserPasswordPolicyStatusArray{ UserPasswordPolicyStatusArgs{...} }

type UserPasswordPolicyStatusArrayOutput added in v6.41.0

type UserPasswordPolicyStatusArrayOutput struct{ *pulumi.OutputState }

func (UserPasswordPolicyStatusArrayOutput) ElementType added in v6.41.0

func (UserPasswordPolicyStatusArrayOutput) Index added in v6.41.0

func (UserPasswordPolicyStatusArrayOutput) ToUserPasswordPolicyStatusArrayOutput added in v6.41.0

func (o UserPasswordPolicyStatusArrayOutput) ToUserPasswordPolicyStatusArrayOutput() UserPasswordPolicyStatusArrayOutput

func (UserPasswordPolicyStatusArrayOutput) ToUserPasswordPolicyStatusArrayOutputWithContext added in v6.41.0

func (o UserPasswordPolicyStatusArrayOutput) ToUserPasswordPolicyStatusArrayOutputWithContext(ctx context.Context) UserPasswordPolicyStatusArrayOutput

type UserPasswordPolicyStatusInput added in v6.41.0

type UserPasswordPolicyStatusInput interface {
	pulumi.Input

	ToUserPasswordPolicyStatusOutput() UserPasswordPolicyStatusOutput
	ToUserPasswordPolicyStatusOutputWithContext(context.Context) UserPasswordPolicyStatusOutput
}

UserPasswordPolicyStatusInput is an input type that accepts UserPasswordPolicyStatusArgs and UserPasswordPolicyStatusOutput values. You can construct a concrete instance of `UserPasswordPolicyStatusInput` via:

UserPasswordPolicyStatusArgs{...}

type UserPasswordPolicyStatusOutput added in v6.41.0

type UserPasswordPolicyStatusOutput struct{ *pulumi.OutputState }

func (UserPasswordPolicyStatusOutput) ElementType added in v6.41.0

func (UserPasswordPolicyStatusOutput) Locked added in v6.41.0

If true, user does not have login privileges.

func (UserPasswordPolicyStatusOutput) PasswordExpirationTime added in v6.41.0

func (o UserPasswordPolicyStatusOutput) PasswordExpirationTime() pulumi.StringPtrOutput

Password expiration duration with one week grace period.

func (UserPasswordPolicyStatusOutput) ToUserPasswordPolicyStatusOutput added in v6.41.0

func (o UserPasswordPolicyStatusOutput) ToUserPasswordPolicyStatusOutput() UserPasswordPolicyStatusOutput

func (UserPasswordPolicyStatusOutput) ToUserPasswordPolicyStatusOutputWithContext added in v6.41.0

func (o UserPasswordPolicyStatusOutput) ToUserPasswordPolicyStatusOutputWithContext(ctx context.Context) UserPasswordPolicyStatusOutput

type UserSqlServerUserDetail added in v6.41.0

type UserSqlServerUserDetail struct {
	Disabled    *bool    `pulumi:"disabled"`
	ServerRoles []string `pulumi:"serverRoles"`
}

type UserSqlServerUserDetailArgs added in v6.41.0

type UserSqlServerUserDetailArgs struct {
	Disabled    pulumi.BoolPtrInput     `pulumi:"disabled"`
	ServerRoles pulumi.StringArrayInput `pulumi:"serverRoles"`
}

func (UserSqlServerUserDetailArgs) ElementType added in v6.41.0

func (UserSqlServerUserDetailArgs) ToUserSqlServerUserDetailOutput added in v6.41.0

func (i UserSqlServerUserDetailArgs) ToUserSqlServerUserDetailOutput() UserSqlServerUserDetailOutput

func (UserSqlServerUserDetailArgs) ToUserSqlServerUserDetailOutputWithContext added in v6.41.0

func (i UserSqlServerUserDetailArgs) ToUserSqlServerUserDetailOutputWithContext(ctx context.Context) UserSqlServerUserDetailOutput

type UserSqlServerUserDetailArray added in v6.41.0

type UserSqlServerUserDetailArray []UserSqlServerUserDetailInput

func (UserSqlServerUserDetailArray) ElementType added in v6.41.0

func (UserSqlServerUserDetailArray) ToUserSqlServerUserDetailArrayOutput added in v6.41.0

func (i UserSqlServerUserDetailArray) ToUserSqlServerUserDetailArrayOutput() UserSqlServerUserDetailArrayOutput

func (UserSqlServerUserDetailArray) ToUserSqlServerUserDetailArrayOutputWithContext added in v6.41.0

func (i UserSqlServerUserDetailArray) ToUserSqlServerUserDetailArrayOutputWithContext(ctx context.Context) UserSqlServerUserDetailArrayOutput

type UserSqlServerUserDetailArrayInput added in v6.41.0

type UserSqlServerUserDetailArrayInput interface {
	pulumi.Input

	ToUserSqlServerUserDetailArrayOutput() UserSqlServerUserDetailArrayOutput
	ToUserSqlServerUserDetailArrayOutputWithContext(context.Context) UserSqlServerUserDetailArrayOutput
}

UserSqlServerUserDetailArrayInput is an input type that accepts UserSqlServerUserDetailArray and UserSqlServerUserDetailArrayOutput values. You can construct a concrete instance of `UserSqlServerUserDetailArrayInput` via:

UserSqlServerUserDetailArray{ UserSqlServerUserDetailArgs{...} }

type UserSqlServerUserDetailArrayOutput added in v6.41.0

type UserSqlServerUserDetailArrayOutput struct{ *pulumi.OutputState }

func (UserSqlServerUserDetailArrayOutput) ElementType added in v6.41.0

func (UserSqlServerUserDetailArrayOutput) Index added in v6.41.0

func (UserSqlServerUserDetailArrayOutput) ToUserSqlServerUserDetailArrayOutput added in v6.41.0

func (o UserSqlServerUserDetailArrayOutput) ToUserSqlServerUserDetailArrayOutput() UserSqlServerUserDetailArrayOutput

func (UserSqlServerUserDetailArrayOutput) ToUserSqlServerUserDetailArrayOutputWithContext added in v6.41.0

func (o UserSqlServerUserDetailArrayOutput) ToUserSqlServerUserDetailArrayOutputWithContext(ctx context.Context) UserSqlServerUserDetailArrayOutput

type UserSqlServerUserDetailInput added in v6.41.0

type UserSqlServerUserDetailInput interface {
	pulumi.Input

	ToUserSqlServerUserDetailOutput() UserSqlServerUserDetailOutput
	ToUserSqlServerUserDetailOutputWithContext(context.Context) UserSqlServerUserDetailOutput
}

UserSqlServerUserDetailInput is an input type that accepts UserSqlServerUserDetailArgs and UserSqlServerUserDetailOutput values. You can construct a concrete instance of `UserSqlServerUserDetailInput` via:

UserSqlServerUserDetailArgs{...}

type UserSqlServerUserDetailOutput added in v6.41.0

type UserSqlServerUserDetailOutput struct{ *pulumi.OutputState }

func (UserSqlServerUserDetailOutput) Disabled added in v6.41.0

func (UserSqlServerUserDetailOutput) ElementType added in v6.41.0

func (UserSqlServerUserDetailOutput) ServerRoles added in v6.41.0

func (UserSqlServerUserDetailOutput) ToUserSqlServerUserDetailOutput added in v6.41.0

func (o UserSqlServerUserDetailOutput) ToUserSqlServerUserDetailOutput() UserSqlServerUserDetailOutput

func (UserSqlServerUserDetailOutput) ToUserSqlServerUserDetailOutputWithContext added in v6.41.0

func (o UserSqlServerUserDetailOutput) ToUserSqlServerUserDetailOutputWithContext(ctx context.Context) UserSqlServerUserDetailOutput

type UserState

type UserState struct {
	// The deletion policy for the user.
	// Setting `ABANDON` allows the resource to be abandoned rather than deleted. This is useful
	// for Postgres, where users cannot be deleted from the API if they have been granted SQL roles.
	DeletionPolicy pulumi.StringPtrInput
	// The host the user can connect from. This is only supported
	// for MySQL instances. Don't set this field for PostgreSQL instances.
	// Can be an IP address. Changing this forces a new resource to be created.
	Host pulumi.StringPtrInput
	// The name of the Cloud SQL instance. Changing this
	// forces a new resource to be created.
	Instance pulumi.StringPtrInput
	// The name of the user. Changing this forces a new resource
	// to be created.
	Name pulumi.StringPtrInput
	// The password for the user. Can be updated. For Postgres
	// instances this is a Required field, unless type is set to either CLOUD_IAM_USER
	// or CLOUD_IAM_SERVICE_ACCOUNT.
	Password       pulumi.StringPtrInput
	PasswordPolicy UserPasswordPolicyPtrInput
	// The ID of the project in which the resource belongs. If it
	// is not provided, the provider project is used.
	Project              pulumi.StringPtrInput
	SqlServerUserDetails UserSqlServerUserDetailArrayInput
	// The user type. It determines the method to authenticate the
	// user during login. The default is the database's built-in user type. Flags
	// include "BUILT_IN", "CLOUD_IAM_USER", or "CLOUD_IAM_SERVICE_ACCOUNT".
	Type pulumi.StringPtrInput
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL