alloydb

package
v7.20.0 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup

type Backup struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// The ID of the alloydb backup.
	BackupId pulumi.StringOutput `pulumi:"backupId"`
	// The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}).
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// Output only. The system-generated UID of the cluster which was used to create this resource.
	ClusterUid pulumi.StringOutput `pulumi:"clusterUid"`
	// Output only. Create time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Output only. Delete time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// User-provided description of the backup.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// User-settable and human-readable display name for the Backup.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig BackupEncryptionConfigPtrOutput `pulumi:"encryptionConfig"`
	// EncryptionInfo describes the encryption information of a cluster or a backup.
	// Structure is documented below.
	EncryptionInfos BackupEncryptionInfoArrayOutput `pulumi:"encryptionInfos"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy.
	// Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
	// Structure is documented below.
	ExpiryQuantities BackupExpiryQuantityArrayOutput `pulumi:"expiryQuantities"`
	// Output only. The time at which after the backup is eligible to be garbage collected.
	// It is the duration specified by the backup's retention policy, added to the backup's createTime.
	ExpiryTime pulumi.StringOutput `pulumi:"expiryTime"`
	// User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The location where the alloydb backup should reside.
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backupId}
	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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource.
	// This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// Output only. The size of the backup in bytes.
	SizeBytes pulumi.StringOutput `pulumi:"sizeBytes"`
	// Output only. The current state of the backup.
	State pulumi.StringOutput `pulumi:"state"`
	// The backup type, which suggests the trigger for the backup.
	// Possible values are: `TYPE_UNSPECIFIED`, `ON_DEMAND`, `AUTOMATED`, `CONTINUOUS`.
	Type pulumi.StringOutput `pulumi:"type"`
	// Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// Output only. Update time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

An AlloyDB Backup.

To get more information about Backup, see:

* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.backups/create) * How-to Guides

## Example Usage

### Alloydb Backup Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-network"),
		})
		if err != nil {
			return err
		}
		defaultCluster, err := alloydb.NewCluster(ctx, "default", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewBackup(ctx, "default", &alloydb.BackupArgs{
			Location:    pulumi.String("us-central1"),
			BackupId:    pulumi.String("alloydb-backup"),
			ClusterName: defaultCluster.Name,
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "default", &alloydb.InstanceArgs{
			Cluster:      defaultCluster.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
		})
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: defaultNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb Backup Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-network"),
		})
		if err != nil {
			return err
		}
		defaultCluster, err := alloydb.NewCluster(ctx, "default", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewBackup(ctx, "default", &alloydb.BackupArgs{
			Location:    pulumi.String("us-central1"),
			BackupId:    pulumi.String("alloydb-backup"),
			ClusterName: defaultCluster.Name,
			Description: pulumi.String("example description"),
			Type:        pulumi.String("ON_DEMAND"),
			Labels: pulumi.StringMap{
				"label": pulumi.String("key"),
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "default", &alloydb.InstanceArgs{
			Cluster:      defaultCluster.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
		})
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: defaultNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Backup can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/backups/{{backup_id}}`

* `{{project}}/{{location}}/{{backup_id}}`

* `{{location}}/{{backup_id}}`

When using the `pulumi import` command, Backup can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:alloydb/backup:Backup default projects/{{project}}/locations/{{location}}/backups/{{backup_id}} ```

```sh $ pulumi import gcp:alloydb/backup:Backup default {{project}}/{{location}}/{{backup_id}} ```

```sh $ pulumi import gcp:alloydb/backup:Backup default {{location}}/{{backup_id}} ```

func GetBackup

func GetBackup(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BackupState, opts ...pulumi.ResourceOption) (*Backup, error)

GetBackup gets an existing Backup 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 NewBackup

func NewBackup(ctx *pulumi.Context,
	name string, args *BackupArgs, opts ...pulumi.ResourceOption) (*Backup, error)

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

func (*Backup) ElementType

func (*Backup) ElementType() reflect.Type

func (*Backup) ToBackupOutput

func (i *Backup) ToBackupOutput() BackupOutput

func (*Backup) ToBackupOutputWithContext

func (i *Backup) ToBackupOutputWithContext(ctx context.Context) BackupOutput

type BackupArgs

type BackupArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// The ID of the alloydb backup.
	BackupId pulumi.StringInput
	// The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}).
	ClusterName pulumi.StringInput
	// User-provided description of the backup.
	Description pulumi.StringPtrInput
	// User-settable and human-readable display name for the Backup.
	DisplayName pulumi.StringPtrInput
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig BackupEncryptionConfigPtrInput
	// User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location where the alloydb backup should reside.
	//
	// ***
	Location 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 backup type, which suggests the trigger for the backup.
	// Possible values are: `TYPE_UNSPECIFIED`, `ON_DEMAND`, `AUTOMATED`, `CONTINUOUS`.
	Type pulumi.StringPtrInput
}

The set of arguments for constructing a Backup resource.

func (BackupArgs) ElementType

func (BackupArgs) ElementType() reflect.Type

type BackupArray

type BackupArray []BackupInput

func (BackupArray) ElementType

func (BackupArray) ElementType() reflect.Type

func (BackupArray) ToBackupArrayOutput

func (i BackupArray) ToBackupArrayOutput() BackupArrayOutput

func (BackupArray) ToBackupArrayOutputWithContext

func (i BackupArray) ToBackupArrayOutputWithContext(ctx context.Context) BackupArrayOutput

type BackupArrayInput

type BackupArrayInput interface {
	pulumi.Input

	ToBackupArrayOutput() BackupArrayOutput
	ToBackupArrayOutputWithContext(context.Context) BackupArrayOutput
}

BackupArrayInput is an input type that accepts BackupArray and BackupArrayOutput values. You can construct a concrete instance of `BackupArrayInput` via:

BackupArray{ BackupArgs{...} }

type BackupArrayOutput

type BackupArrayOutput struct{ *pulumi.OutputState }

func (BackupArrayOutput) ElementType

func (BackupArrayOutput) ElementType() reflect.Type

func (BackupArrayOutput) Index

func (BackupArrayOutput) ToBackupArrayOutput

func (o BackupArrayOutput) ToBackupArrayOutput() BackupArrayOutput

func (BackupArrayOutput) ToBackupArrayOutputWithContext

func (o BackupArrayOutput) ToBackupArrayOutputWithContext(ctx context.Context) BackupArrayOutput

type BackupEncryptionConfig

type BackupEncryptionConfig struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName *string `pulumi:"kmsKeyName"`
}

type BackupEncryptionConfigArgs

type BackupEncryptionConfigArgs struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"`
}

func (BackupEncryptionConfigArgs) ElementType

func (BackupEncryptionConfigArgs) ElementType() reflect.Type

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutput

func (i BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutput() BackupEncryptionConfigOutput

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutputWithContext

func (i BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutputWithContext(ctx context.Context) BackupEncryptionConfigOutput

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutput

func (i BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutputWithContext

func (i BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutputWithContext(ctx context.Context) BackupEncryptionConfigPtrOutput

type BackupEncryptionConfigInput

type BackupEncryptionConfigInput interface {
	pulumi.Input

	ToBackupEncryptionConfigOutput() BackupEncryptionConfigOutput
	ToBackupEncryptionConfigOutputWithContext(context.Context) BackupEncryptionConfigOutput
}

BackupEncryptionConfigInput is an input type that accepts BackupEncryptionConfigArgs and BackupEncryptionConfigOutput values. You can construct a concrete instance of `BackupEncryptionConfigInput` via:

BackupEncryptionConfigArgs{...}

type BackupEncryptionConfigOutput

type BackupEncryptionConfigOutput struct{ *pulumi.OutputState }

func (BackupEncryptionConfigOutput) ElementType

func (BackupEncryptionConfigOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigOutput

func (o BackupEncryptionConfigOutput) ToBackupEncryptionConfigOutput() BackupEncryptionConfigOutput

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigOutputWithContext

func (o BackupEncryptionConfigOutput) ToBackupEncryptionConfigOutputWithContext(ctx context.Context) BackupEncryptionConfigOutput

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutput

func (o BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutputWithContext

func (o BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutputWithContext(ctx context.Context) BackupEncryptionConfigPtrOutput

type BackupEncryptionConfigPtrInput

type BackupEncryptionConfigPtrInput interface {
	pulumi.Input

	ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput
	ToBackupEncryptionConfigPtrOutputWithContext(context.Context) BackupEncryptionConfigPtrOutput
}

BackupEncryptionConfigPtrInput is an input type that accepts BackupEncryptionConfigArgs, BackupEncryptionConfigPtr and BackupEncryptionConfigPtrOutput values. You can construct a concrete instance of `BackupEncryptionConfigPtrInput` via:

        BackupEncryptionConfigArgs{...}

or:

        nil

type BackupEncryptionConfigPtrOutput

type BackupEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (BackupEncryptionConfigPtrOutput) Elem

func (BackupEncryptionConfigPtrOutput) ElementType

func (BackupEncryptionConfigPtrOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (BackupEncryptionConfigPtrOutput) ToBackupEncryptionConfigPtrOutput

func (o BackupEncryptionConfigPtrOutput) ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput

func (BackupEncryptionConfigPtrOutput) ToBackupEncryptionConfigPtrOutputWithContext

func (o BackupEncryptionConfigPtrOutput) ToBackupEncryptionConfigPtrOutputWithContext(ctx context.Context) BackupEncryptionConfigPtrOutput

type BackupEncryptionInfo

type BackupEncryptionInfo struct {
	// (Output)
	// Output only. Type of encryption.
	EncryptionType *string `pulumi:"encryptionType"`
	// (Output)
	// Output only. Cloud KMS key versions that are being used to protect the database or the backup.
	KmsKeyVersions []string `pulumi:"kmsKeyVersions"`
}

type BackupEncryptionInfoArgs

type BackupEncryptionInfoArgs struct {
	// (Output)
	// Output only. Type of encryption.
	EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"`
	// (Output)
	// Output only. Cloud KMS key versions that are being used to protect the database or the backup.
	KmsKeyVersions pulumi.StringArrayInput `pulumi:"kmsKeyVersions"`
}

func (BackupEncryptionInfoArgs) ElementType

func (BackupEncryptionInfoArgs) ElementType() reflect.Type

func (BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutput

func (i BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutput() BackupEncryptionInfoOutput

func (BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutputWithContext

func (i BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutputWithContext(ctx context.Context) BackupEncryptionInfoOutput

type BackupEncryptionInfoArray

type BackupEncryptionInfoArray []BackupEncryptionInfoInput

func (BackupEncryptionInfoArray) ElementType

func (BackupEncryptionInfoArray) ElementType() reflect.Type

func (BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutput

func (i BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutput() BackupEncryptionInfoArrayOutput

func (BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutputWithContext

func (i BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutputWithContext(ctx context.Context) BackupEncryptionInfoArrayOutput

type BackupEncryptionInfoArrayInput

type BackupEncryptionInfoArrayInput interface {
	pulumi.Input

	ToBackupEncryptionInfoArrayOutput() BackupEncryptionInfoArrayOutput
	ToBackupEncryptionInfoArrayOutputWithContext(context.Context) BackupEncryptionInfoArrayOutput
}

BackupEncryptionInfoArrayInput is an input type that accepts BackupEncryptionInfoArray and BackupEncryptionInfoArrayOutput values. You can construct a concrete instance of `BackupEncryptionInfoArrayInput` via:

BackupEncryptionInfoArray{ BackupEncryptionInfoArgs{...} }

type BackupEncryptionInfoArrayOutput

type BackupEncryptionInfoArrayOutput struct{ *pulumi.OutputState }

func (BackupEncryptionInfoArrayOutput) ElementType

func (BackupEncryptionInfoArrayOutput) Index

func (BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutput

func (o BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutput() BackupEncryptionInfoArrayOutput

func (BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutputWithContext

func (o BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutputWithContext(ctx context.Context) BackupEncryptionInfoArrayOutput

type BackupEncryptionInfoInput

type BackupEncryptionInfoInput interface {
	pulumi.Input

	ToBackupEncryptionInfoOutput() BackupEncryptionInfoOutput
	ToBackupEncryptionInfoOutputWithContext(context.Context) BackupEncryptionInfoOutput
}

BackupEncryptionInfoInput is an input type that accepts BackupEncryptionInfoArgs and BackupEncryptionInfoOutput values. You can construct a concrete instance of `BackupEncryptionInfoInput` via:

BackupEncryptionInfoArgs{...}

type BackupEncryptionInfoOutput

type BackupEncryptionInfoOutput struct{ *pulumi.OutputState }

func (BackupEncryptionInfoOutput) ElementType

func (BackupEncryptionInfoOutput) ElementType() reflect.Type

func (BackupEncryptionInfoOutput) EncryptionType

(Output) Output only. Type of encryption.

func (BackupEncryptionInfoOutput) KmsKeyVersions

(Output) Output only. Cloud KMS key versions that are being used to protect the database or the backup.

func (BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutput

func (o BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutput() BackupEncryptionInfoOutput

func (BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutputWithContext

func (o BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutputWithContext(ctx context.Context) BackupEncryptionInfoOutput

type BackupExpiryQuantity

type BackupExpiryQuantity struct {
	// (Output)
	// Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time (i.e. newest first).
	RetentionCount *int `pulumi:"retentionCount"`
	// (Output)
	// Output only. The length of the quantity-based queue, specified by the backup's retention policy.
	TotalRetentionCount *int `pulumi:"totalRetentionCount"`
}

type BackupExpiryQuantityArgs

type BackupExpiryQuantityArgs struct {
	// (Output)
	// Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time (i.e. newest first).
	RetentionCount pulumi.IntPtrInput `pulumi:"retentionCount"`
	// (Output)
	// Output only. The length of the quantity-based queue, specified by the backup's retention policy.
	TotalRetentionCount pulumi.IntPtrInput `pulumi:"totalRetentionCount"`
}

func (BackupExpiryQuantityArgs) ElementType

func (BackupExpiryQuantityArgs) ElementType() reflect.Type

func (BackupExpiryQuantityArgs) ToBackupExpiryQuantityOutput

func (i BackupExpiryQuantityArgs) ToBackupExpiryQuantityOutput() BackupExpiryQuantityOutput

func (BackupExpiryQuantityArgs) ToBackupExpiryQuantityOutputWithContext

func (i BackupExpiryQuantityArgs) ToBackupExpiryQuantityOutputWithContext(ctx context.Context) BackupExpiryQuantityOutput

type BackupExpiryQuantityArray

type BackupExpiryQuantityArray []BackupExpiryQuantityInput

func (BackupExpiryQuantityArray) ElementType

func (BackupExpiryQuantityArray) ElementType() reflect.Type

func (BackupExpiryQuantityArray) ToBackupExpiryQuantityArrayOutput

func (i BackupExpiryQuantityArray) ToBackupExpiryQuantityArrayOutput() BackupExpiryQuantityArrayOutput

func (BackupExpiryQuantityArray) ToBackupExpiryQuantityArrayOutputWithContext

func (i BackupExpiryQuantityArray) ToBackupExpiryQuantityArrayOutputWithContext(ctx context.Context) BackupExpiryQuantityArrayOutput

type BackupExpiryQuantityArrayInput

type BackupExpiryQuantityArrayInput interface {
	pulumi.Input

	ToBackupExpiryQuantityArrayOutput() BackupExpiryQuantityArrayOutput
	ToBackupExpiryQuantityArrayOutputWithContext(context.Context) BackupExpiryQuantityArrayOutput
}

BackupExpiryQuantityArrayInput is an input type that accepts BackupExpiryQuantityArray and BackupExpiryQuantityArrayOutput values. You can construct a concrete instance of `BackupExpiryQuantityArrayInput` via:

BackupExpiryQuantityArray{ BackupExpiryQuantityArgs{...} }

type BackupExpiryQuantityArrayOutput

type BackupExpiryQuantityArrayOutput struct{ *pulumi.OutputState }

func (BackupExpiryQuantityArrayOutput) ElementType

func (BackupExpiryQuantityArrayOutput) Index

func (BackupExpiryQuantityArrayOutput) ToBackupExpiryQuantityArrayOutput

func (o BackupExpiryQuantityArrayOutput) ToBackupExpiryQuantityArrayOutput() BackupExpiryQuantityArrayOutput

func (BackupExpiryQuantityArrayOutput) ToBackupExpiryQuantityArrayOutputWithContext

func (o BackupExpiryQuantityArrayOutput) ToBackupExpiryQuantityArrayOutputWithContext(ctx context.Context) BackupExpiryQuantityArrayOutput

type BackupExpiryQuantityInput

type BackupExpiryQuantityInput interface {
	pulumi.Input

	ToBackupExpiryQuantityOutput() BackupExpiryQuantityOutput
	ToBackupExpiryQuantityOutputWithContext(context.Context) BackupExpiryQuantityOutput
}

BackupExpiryQuantityInput is an input type that accepts BackupExpiryQuantityArgs and BackupExpiryQuantityOutput values. You can construct a concrete instance of `BackupExpiryQuantityInput` via:

BackupExpiryQuantityArgs{...}

type BackupExpiryQuantityOutput

type BackupExpiryQuantityOutput struct{ *pulumi.OutputState }

func (BackupExpiryQuantityOutput) ElementType

func (BackupExpiryQuantityOutput) ElementType() reflect.Type

func (BackupExpiryQuantityOutput) RetentionCount

func (o BackupExpiryQuantityOutput) RetentionCount() pulumi.IntPtrOutput

(Output) Output only. The backup's position among its backups with the same source cluster and type, by descending chronological order create time (i.e. newest first).

func (BackupExpiryQuantityOutput) ToBackupExpiryQuantityOutput

func (o BackupExpiryQuantityOutput) ToBackupExpiryQuantityOutput() BackupExpiryQuantityOutput

func (BackupExpiryQuantityOutput) ToBackupExpiryQuantityOutputWithContext

func (o BackupExpiryQuantityOutput) ToBackupExpiryQuantityOutputWithContext(ctx context.Context) BackupExpiryQuantityOutput

func (BackupExpiryQuantityOutput) TotalRetentionCount

func (o BackupExpiryQuantityOutput) TotalRetentionCount() pulumi.IntPtrOutput

(Output) Output only. The length of the quantity-based queue, specified by the backup's retention policy.

type BackupInput

type BackupInput interface {
	pulumi.Input

	ToBackupOutput() BackupOutput
	ToBackupOutputWithContext(ctx context.Context) BackupOutput
}

type BackupMap

type BackupMap map[string]BackupInput

func (BackupMap) ElementType

func (BackupMap) ElementType() reflect.Type

func (BackupMap) ToBackupMapOutput

func (i BackupMap) ToBackupMapOutput() BackupMapOutput

func (BackupMap) ToBackupMapOutputWithContext

func (i BackupMap) ToBackupMapOutputWithContext(ctx context.Context) BackupMapOutput

type BackupMapInput

type BackupMapInput interface {
	pulumi.Input

	ToBackupMapOutput() BackupMapOutput
	ToBackupMapOutputWithContext(context.Context) BackupMapOutput
}

BackupMapInput is an input type that accepts BackupMap and BackupMapOutput values. You can construct a concrete instance of `BackupMapInput` via:

BackupMap{ "key": BackupArgs{...} }

type BackupMapOutput

type BackupMapOutput struct{ *pulumi.OutputState }

func (BackupMapOutput) ElementType

func (BackupMapOutput) ElementType() reflect.Type

func (BackupMapOutput) MapIndex

func (BackupMapOutput) ToBackupMapOutput

func (o BackupMapOutput) ToBackupMapOutput() BackupMapOutput

func (BackupMapOutput) ToBackupMapOutputWithContext

func (o BackupMapOutput) ToBackupMapOutputWithContext(ctx context.Context) BackupMapOutput

type BackupOutput

type BackupOutput struct{ *pulumi.OutputState }

func (BackupOutput) Annotations

func (o BackupOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.

func (BackupOutput) BackupId

func (o BackupOutput) BackupId() pulumi.StringOutput

The ID of the alloydb backup.

func (BackupOutput) ClusterName

func (o BackupOutput) ClusterName() pulumi.StringOutput

The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}).

func (BackupOutput) ClusterUid

func (o BackupOutput) ClusterUid() pulumi.StringOutput

Output only. The system-generated UID of the cluster which was used to create this resource.

func (BackupOutput) CreateTime

func (o BackupOutput) CreateTime() pulumi.StringOutput

Output only. Create time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (BackupOutput) DeleteTime

func (o BackupOutput) DeleteTime() pulumi.StringOutput

Output only. Delete time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

func (BackupOutput) Description

func (o BackupOutput) Description() pulumi.StringPtrOutput

User-provided description of the backup.

func (BackupOutput) DisplayName

func (o BackupOutput) DisplayName() pulumi.StringPtrOutput

User-settable and human-readable display name for the Backup.

func (BackupOutput) EffectiveAnnotations

func (o BackupOutput) EffectiveAnnotations() pulumi.StringMapOutput

All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.

func (BackupOutput) EffectiveLabels

func (o BackupOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (BackupOutput) ElementType

func (BackupOutput) ElementType() reflect.Type

func (BackupOutput) EncryptionConfig

func (o BackupOutput) EncryptionConfig() BackupEncryptionConfigPtrOutput

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

func (BackupOutput) EncryptionInfos

func (o BackupOutput) EncryptionInfos() BackupEncryptionInfoArrayOutput

EncryptionInfo describes the encryption information of a cluster or a backup. Structure is documented below.

func (BackupOutput) Etag

func (o BackupOutput) Etag() pulumi.StringOutput

For Resource freshness validation (https://google.aip.dev/154)

func (BackupOutput) ExpiryQuantities

func (o BackupOutput) ExpiryQuantities() BackupExpiryQuantityArrayOutput

Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected. Structure is documented below.

func (BackupOutput) ExpiryTime

func (o BackupOutput) ExpiryTime() pulumi.StringOutput

Output only. The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's createTime.

func (BackupOutput) Labels

func (o BackupOutput) Labels() pulumi.StringMapOutput

User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (BackupOutput) Location

func (o BackupOutput) Location() pulumi.StringOutput

The location where the alloydb backup should reside.

***

func (BackupOutput) Name

func (o BackupOutput) Name() pulumi.StringOutput

Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backupId}

func (BackupOutput) Project

func (o BackupOutput) Project() pulumi.StringOutput

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

func (BackupOutput) PulumiLabels

func (o BackupOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (BackupOutput) Reconciling

func (o BackupOutput) Reconciling() pulumi.BoolOutput

Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.

func (BackupOutput) SizeBytes

func (o BackupOutput) SizeBytes() pulumi.StringOutput

Output only. The size of the backup in bytes.

func (BackupOutput) State

func (o BackupOutput) State() pulumi.StringOutput

Output only. The current state of the backup.

func (BackupOutput) ToBackupOutput

func (o BackupOutput) ToBackupOutput() BackupOutput

func (BackupOutput) ToBackupOutputWithContext

func (o BackupOutput) ToBackupOutputWithContext(ctx context.Context) BackupOutput

func (BackupOutput) Type

func (o BackupOutput) Type() pulumi.StringOutput

The backup type, which suggests the trigger for the backup. Possible values are: `TYPE_UNSPECIFIED`, `ON_DEMAND`, `AUTOMATED`, `CONTINUOUS`.

func (BackupOutput) Uid

Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.

func (BackupOutput) UpdateTime

func (o BackupOutput) UpdateTime() pulumi.StringOutput

Output only. Update time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".

type BackupState

type BackupState struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// The ID of the alloydb backup.
	BackupId pulumi.StringPtrInput
	// The full resource name of the backup source cluster (e.g., projects/{project}/locations/{location}/clusters/{clusterId}).
	ClusterName pulumi.StringPtrInput
	// Output only. The system-generated UID of the cluster which was used to create this resource.
	ClusterUid pulumi.StringPtrInput
	// Output only. Create time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	CreateTime pulumi.StringPtrInput
	// Output only. Delete time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	DeleteTime pulumi.StringPtrInput
	// User-provided description of the backup.
	Description pulumi.StringPtrInput
	// User-settable and human-readable display name for the Backup.
	DisplayName pulumi.StringPtrInput
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.StringMapInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig BackupEncryptionConfigPtrInput
	// EncryptionInfo describes the encryption information of a cluster or a backup.
	// Structure is documented below.
	EncryptionInfos BackupEncryptionInfoArrayInput
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringPtrInput
	// Output only. The QuantityBasedExpiry of the backup, specified by the backup's retention policy.
	// Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
	// Structure is documented below.
	ExpiryQuantities BackupExpiryQuantityArrayInput
	// Output only. The time at which after the backup is eligible to be garbage collected.
	// It is the duration specified by the backup's retention policy, added to the backup's createTime.
	ExpiryTime pulumi.StringPtrInput
	// User-defined labels for the alloydb backup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location where the alloydb backup should reside.
	//
	// ***
	Location pulumi.StringPtrInput
	// Output only. The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backupId}
	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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource.
	// This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolPtrInput
	// Output only. The size of the backup in bytes.
	SizeBytes pulumi.StringPtrInput
	// Output only. The current state of the backup.
	State pulumi.StringPtrInput
	// The backup type, which suggests the trigger for the backup.
	// Possible values are: `TYPE_UNSPECIFIED`, `ON_DEMAND`, `AUTOMATED`, `CONTINUOUS`.
	Type pulumi.StringPtrInput
	// Output only. The system-generated UID of the resource. The UID is assigned when the resource is created, and it is retained until it is deleted.
	Uid pulumi.StringPtrInput
	// Output only. Update time stamp. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits.
	// Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
	UpdateTime pulumi.StringPtrInput
}

func (BackupState) ElementType

func (BackupState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default.
	// Structure is documented below.
	AutomatedBackupPolicy ClusterAutomatedBackupPolicyOutput `pulumi:"automatedBackupPolicy"`
	// Cluster created from backup.
	// Structure is documented below.
	BackupSources ClusterBackupSourceArrayOutput `pulumi:"backupSources"`
	// The ID of the alloydb cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The type of cluster. If not set, defaults to PRIMARY.
	// Default value is `PRIMARY`.
	// Possible values are: `PRIMARY`, `SECONDARY`.
	ClusterType pulumi.StringPtrOutput `pulumi:"clusterType"`
	// The continuous backup config for this cluster.
	// If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
	// Structure is documented below.
	ContinuousBackupConfig ClusterContinuousBackupConfigOutput `pulumi:"continuousBackupConfig"`
	// ContinuousBackupInfo describes the continuous backup properties of a cluster.
	// Structure is documented below.
	ContinuousBackupInfos ClusterContinuousBackupInfoArrayOutput `pulumi:"continuousBackupInfos"`
	// The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
	DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"`
	// Policy to determine if the cluster should be deleted forcefully.
	// Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
	// Deleting a Secondary cluster with a secondary instance REQUIRES setting deletionPolicy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
	DeletionPolicy pulumi.StringPtrOutput `pulumi:"deletionPolicy"`
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig ClusterEncryptionConfigPtrOutput `pulumi:"encryptionConfig"`
	// (Output)
	// Output only. The encryption information for the WALs and backups required for ContinuousBackup.
	// Structure is documented below.
	EncryptionInfos ClusterEncryptionInfoArrayOutput `pulumi:"encryptionInfos"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringPtrOutput `pulumi:"etag"`
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrOutput `pulumi:"initialUser"`
	// User-defined labels for the alloydb cluster.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// The location where the alloydb cluster should reside.
	//
	// ***
	Location pulumi.StringOutput `pulumi:"location"`
	// Cluster created via DMS migration.
	// Structure is documented below.
	MigrationSources ClusterMigrationSourceArrayOutput `pulumi:"migrationSources"`
	// The name of the cluster resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// (Optional, Deprecated)
	// The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:
	// "projects/{projectNumber}/global/networks/{network_id}".
	//
	// > **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
	//
	// Deprecated: `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
	Network pulumi.StringOutput `pulumi:"network"`
	// Metadata related to network configuration.
	// Structure is documented below.
	NetworkConfig ClusterNetworkConfigOutput `pulumi:"networkConfig"`
	// 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 combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Output only. Reconciling (https://google.aip.dev/128#reconciliation).
	// Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them.
	// This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together.
	// Structure is documented below.
	RestoreBackupSource ClusterRestoreBackupSourcePtrOutput `pulumi:"restoreBackupSource"`
	// The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together.
	// Structure is documented below.
	RestoreContinuousBackupSource ClusterRestoreContinuousBackupSourcePtrOutput `pulumi:"restoreContinuousBackupSource"`
	// Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
	// Structure is documented below.
	SecondaryConfig ClusterSecondaryConfigPtrOutput `pulumi:"secondaryConfig"`
	// Output only. The current serving state of the cluster.
	State pulumi.StringOutput `pulumi:"state"`
	// The system-generated UID of the resource.
	Uid pulumi.StringOutput `pulumi:"uid"`
}

A managed alloydb cluster.

To get more information about Cluster, see:

* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters/create) * How-to Guides

> **Note:** Users can promote a secondary cluster to a primary cluster with the help of `clusterType`. To promote, users have to set the `clusterType` property as `PRIMARY` and remove the `secondaryConfig` field from cluster configuration. See Example.

## Example Usage

### Alloydb Cluster Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-cluster"),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "default", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb Cluster Full

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-cluster-full"),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "full", &alloydb.ClusterArgs{
			ClusterId:       pulumi.String("alloydb-cluster-full"),
			Location:        pulumi.String("us-central1"),
			Network:         _default.ID(),
			DatabaseVersion: pulumi.String("POSTGRES_15"),
			InitialUser: &alloydb.ClusterInitialUserArgs{
				User:     pulumi.String("alloydb-cluster-full"),
				Password: pulumi.String("alloydb-cluster-full"),
			},
			ContinuousBackupConfig: &alloydb.ClusterContinuousBackupConfigArgs{
				Enabled:            pulumi.Bool(true),
				RecoveryWindowDays: pulumi.Int(14),
			},
			AutomatedBackupPolicy: &alloydb.ClusterAutomatedBackupPolicyArgs{
				Location:     pulumi.String("us-central1"),
				BackupWindow: pulumi.String("1800s"),
				Enabled:      pulumi.Bool(true),
				WeeklySchedule: &alloydb.ClusterAutomatedBackupPolicyWeeklyScheduleArgs{
					DaysOfWeeks: pulumi.StringArray{
						pulumi.String("MONDAY"),
					},
					StartTimes: alloydb.ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray{
						&alloydb.ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{
							Hours:   pulumi.Int(23),
							Minutes: pulumi.Int(0),
							Seconds: pulumi.Int(0),
							Nanos:   pulumi.Int(0),
						},
					},
				},
				QuantityBasedRetention: &alloydb.ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{
					Count: pulumi.Int(1),
				},
				Labels: pulumi.StringMap{
					"test": pulumi.String("alloydb-cluster-full"),
				},
			},
			Labels: pulumi.StringMap{
				"test": pulumi.String("alloydb-cluster-full"),
			},
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb Cluster Restore

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_default, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{
			Name: "alloydb-network",
		}, nil)
		if err != nil {
			return err
		}
		source, err := alloydb.NewCluster(ctx, "source", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-source-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   pulumi.String(_default.Id),
			InitialUser: &alloydb.ClusterInitialUserArgs{
				Password: pulumi.String("alloydb-source-cluster"),
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "source", &alloydb.InstanceArgs{
			Cluster:      source.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
			MachineConfig: &alloydb.InstanceMachineConfigArgs{
				CpuCount: pulumi.Int(2),
			},
		})
		if err != nil {
			return err
		}
		sourceBackup, err := alloydb.NewBackup(ctx, "source", &alloydb.BackupArgs{
			BackupId:    pulumi.String("alloydb-backup"),
			Location:    pulumi.String("us-central1"),
			ClusterName: source.Name,
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "restored_from_backup", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-backup-restored"),
			Location:  pulumi.String("us-central1"),
			Network:   pulumi.String(_default.Id),
			RestoreBackupSource: &alloydb.ClusterRestoreBackupSourceArgs{
				BackupName: sourceBackup.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "restored_via_pitr", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-pitr-restored"),
			Location:  pulumi.String("us-central1"),
			Network:   pulumi.String(_default.Id),
			RestoreContinuousBackupSource: &alloydb.ClusterRestoreContinuousBackupSourceArgs{
				Cluster:     source.Name,
				PointInTime: pulumi.String("2023-08-03T19:19:00.094Z"),
			},
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-source-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      pulumi.String(_default.Id),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: pulumi.String(_default.Id),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb Secondary Cluster Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-secondary-cluster"),
		})
		if err != nil {
			return err
		}
		primary, err := alloydb.NewCluster(ctx, "primary", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-primary-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   _default.ID(),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "primary", &alloydb.InstanceArgs{
			Cluster:      primary.Name,
			InstanceId:   pulumi.String("alloydb-primary-instance"),
			InstanceType: pulumi.String("PRIMARY"),
			MachineConfig: &alloydb.InstanceMachineConfigArgs{
				CpuCount: pulumi.Int(2),
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "secondary", &alloydb.ClusterArgs{
			ClusterId:   pulumi.String("alloydb-secondary-cluster"),
			Location:    pulumi.String("us-east1"),
			Network:     _default.ID(),
			ClusterType: pulumi.String("SECONDARY"),
			ContinuousBackupConfig: &alloydb.ClusterContinuousBackupConfigArgs{
				Enabled: pulumi.Bool(false),
			},
			SecondaryConfig: &alloydb.ClusterSecondaryConfigArgs{
				PrimaryClusterName: primary.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-secondary-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      _default.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: _default.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Cluster can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/clusters/{{cluster_id}}`

* `{{project}}/{{location}}/{{cluster_id}}`

* `{{location}}/{{cluster_id}}`

* `{{cluster_id}}`

When using the `pulumi import` command, Cluster can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:alloydb/cluster:Cluster default projects/{{project}}/locations/{{location}}/clusters/{{cluster_id}} ```

```sh $ pulumi import gcp:alloydb/cluster:Cluster default {{project}}/{{location}}/{{cluster_id}} ```

```sh $ pulumi import gcp:alloydb/cluster:Cluster default {{location}}/{{cluster_id}} ```

```sh $ pulumi import gcp:alloydb/cluster:Cluster default {{cluster_id}} ```

func GetCluster

func GetCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)

GetCluster gets an existing Cluster 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 NewCluster

func NewCluster(ctx *pulumi.Context,
	name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

type ClusterArgs

type ClusterArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default.
	// Structure is documented below.
	AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrInput
	// The ID of the alloydb cluster.
	ClusterId pulumi.StringInput
	// The type of cluster. If not set, defaults to PRIMARY.
	// Default value is `PRIMARY`.
	// Possible values are: `PRIMARY`, `SECONDARY`.
	ClusterType pulumi.StringPtrInput
	// The continuous backup config for this cluster.
	// If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
	// Structure is documented below.
	ContinuousBackupConfig ClusterContinuousBackupConfigPtrInput
	// The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
	DatabaseVersion pulumi.StringPtrInput
	// Policy to determine if the cluster should be deleted forcefully.
	// Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
	// Deleting a Secondary cluster with a secondary instance REQUIRES setting deletionPolicy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
	DeletionPolicy pulumi.StringPtrInput
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringPtrInput
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig ClusterEncryptionConfigPtrInput
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringPtrInput
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrInput
	// User-defined labels for the alloydb cluster.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location where the alloydb cluster should reside.
	//
	// ***
	Location pulumi.StringInput
	// (Optional, Deprecated)
	// The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:
	// "projects/{projectNumber}/global/networks/{network_id}".
	//
	// > **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
	//
	// Deprecated: `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
	Network pulumi.StringPtrInput
	// Metadata related to network configuration.
	// Structure is documented below.
	NetworkConfig ClusterNetworkConfigPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together.
	// Structure is documented below.
	RestoreBackupSource ClusterRestoreBackupSourcePtrInput
	// The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together.
	// Structure is documented below.
	RestoreContinuousBackupSource ClusterRestoreContinuousBackupSourcePtrInput
	// Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
	// Structure is documented below.
	SecondaryConfig ClusterSecondaryConfigPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

	ToClusterArrayOutput() ClusterArrayOutput
	ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput
}

ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput

type ClusterAutomatedBackupPolicy

type ClusterAutomatedBackupPolicy struct {
	// The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
	// The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	BackupWindow *string `pulumi:"backupWindow"`
	// Whether automated backups are enabled.
	Enabled *bool `pulumi:"enabled"`
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig *ClusterAutomatedBackupPolicyEncryptionConfig `pulumi:"encryptionConfig"`
	// Labels to apply to backups created using this configuration.
	Labels map[string]string `pulumi:"labels"`
	// The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.
	Location *string `pulumi:"location"`
	// Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together.
	// Structure is documented below.
	QuantityBasedRetention *ClusterAutomatedBackupPolicyQuantityBasedRetention `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together.
	// Structure is documented below.
	TimeBasedRetention *ClusterAutomatedBackupPolicyTimeBasedRetention `pulumi:"timeBasedRetention"`
	// Weekly schedule for the Backup.
	// Structure is documented below.
	WeeklySchedule *ClusterAutomatedBackupPolicyWeeklySchedule `pulumi:"weeklySchedule"`
}

type ClusterAutomatedBackupPolicyArgs

type ClusterAutomatedBackupPolicyArgs struct {
	// The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
	// The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	BackupWindow pulumi.StringPtrInput `pulumi:"backupWindow"`
	// Whether automated backups are enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig ClusterAutomatedBackupPolicyEncryptionConfigPtrInput `pulumi:"encryptionConfig"`
	// Labels to apply to backups created using this configuration.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together.
	// Structure is documented below.
	QuantityBasedRetention ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together.
	// Structure is documented below.
	TimeBasedRetention ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput `pulumi:"timeBasedRetention"`
	// Weekly schedule for the Backup.
	// Structure is documented below.
	WeeklySchedule ClusterAutomatedBackupPolicyWeeklySchedulePtrInput `pulumi:"weeklySchedule"`
}

func (ClusterAutomatedBackupPolicyArgs) ElementType

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput

func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutputWithContext

func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyOutput

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput

func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutputWithContext

func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput

type ClusterAutomatedBackupPolicyEncryptionConfig

type ClusterAutomatedBackupPolicyEncryptionConfig struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName *string `pulumi:"kmsKeyName"`
}

type ClusterAutomatedBackupPolicyEncryptionConfigArgs

type ClusterAutomatedBackupPolicyEncryptionConfigArgs struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"`
}

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ElementType

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutput

func (i ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutput() ClusterAutomatedBackupPolicyEncryptionConfigOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext

func (i ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyEncryptionConfigOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (i ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput() ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext

func (i ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

type ClusterAutomatedBackupPolicyEncryptionConfigInput

type ClusterAutomatedBackupPolicyEncryptionConfigInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyEncryptionConfigOutput() ClusterAutomatedBackupPolicyEncryptionConfigOutput
	ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext(context.Context) ClusterAutomatedBackupPolicyEncryptionConfigOutput
}

ClusterAutomatedBackupPolicyEncryptionConfigInput is an input type that accepts ClusterAutomatedBackupPolicyEncryptionConfigArgs and ClusterAutomatedBackupPolicyEncryptionConfigOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyEncryptionConfigInput` via:

ClusterAutomatedBackupPolicyEncryptionConfigArgs{...}

type ClusterAutomatedBackupPolicyEncryptionConfigOutput

type ClusterAutomatedBackupPolicyEncryptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ElementType

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigOutput

func (o ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigOutput() ClusterAutomatedBackupPolicyEncryptionConfigOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext

func (o ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyEncryptionConfigOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (o ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput() ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

type ClusterAutomatedBackupPolicyEncryptionConfigPtrInput

type ClusterAutomatedBackupPolicyEncryptionConfigPtrInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput() ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput
	ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput
}

ClusterAutomatedBackupPolicyEncryptionConfigPtrInput is an input type that accepts ClusterAutomatedBackupPolicyEncryptionConfigArgs, ClusterAutomatedBackupPolicyEncryptionConfigPtr and ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyEncryptionConfigPtrInput` via:

        ClusterAutomatedBackupPolicyEncryptionConfigArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

type ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) Elem

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

type ClusterAutomatedBackupPolicyInput

type ClusterAutomatedBackupPolicyInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput
	ToClusterAutomatedBackupPolicyOutputWithContext(context.Context) ClusterAutomatedBackupPolicyOutput
}

ClusterAutomatedBackupPolicyInput is an input type that accepts ClusterAutomatedBackupPolicyArgs and ClusterAutomatedBackupPolicyOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyInput` via:

ClusterAutomatedBackupPolicyArgs{...}

type ClusterAutomatedBackupPolicyOutput

type ClusterAutomatedBackupPolicyOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyOutput) BackupWindow

The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (ClusterAutomatedBackupPolicyOutput) ElementType

func (ClusterAutomatedBackupPolicyOutput) Enabled

Whether automated backups are enabled.

func (ClusterAutomatedBackupPolicyOutput) EncryptionConfig

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

func (ClusterAutomatedBackupPolicyOutput) Labels

Labels to apply to backups created using this configuration.

func (ClusterAutomatedBackupPolicyOutput) Location

The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.

func (ClusterAutomatedBackupPolicyOutput) QuantityBasedRetention

Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. Structure is documented below.

func (ClusterAutomatedBackupPolicyOutput) TimeBasedRetention

Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. Structure is documented below.

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput

func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutputWithContext

func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyOutput

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput

func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyOutput) WeeklySchedule

Weekly schedule for the Backup. Structure is documented below.

type ClusterAutomatedBackupPolicyPtrInput

type ClusterAutomatedBackupPolicyPtrInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
	ToClusterAutomatedBackupPolicyPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyPtrOutput
}

ClusterAutomatedBackupPolicyPtrInput is an input type that accepts ClusterAutomatedBackupPolicyArgs, ClusterAutomatedBackupPolicyPtr and ClusterAutomatedBackupPolicyPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyPtrInput` via:

        ClusterAutomatedBackupPolicyArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyPtrOutput

type ClusterAutomatedBackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyPtrOutput) BackupWindow

The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (ClusterAutomatedBackupPolicyPtrOutput) Elem

func (ClusterAutomatedBackupPolicyPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyPtrOutput) Enabled

Whether automated backups are enabled.

func (ClusterAutomatedBackupPolicyPtrOutput) EncryptionConfig

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

func (ClusterAutomatedBackupPolicyPtrOutput) Labels

Labels to apply to backups created using this configuration.

func (ClusterAutomatedBackupPolicyPtrOutput) Location

The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.

func (ClusterAutomatedBackupPolicyPtrOutput) QuantityBasedRetention

Quantity-based Backup retention policy to retain recent backups. Conflicts with 'time_based_retention', both can't be set together. Structure is documented below.

func (ClusterAutomatedBackupPolicyPtrOutput) TimeBasedRetention

Time-based Backup retention policy. Conflicts with 'quantity_based_retention', both can't be set together. Structure is documented below.

func (ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput

func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyPtrOutput) WeeklySchedule

Weekly schedule for the Backup. Structure is documented below.

type ClusterAutomatedBackupPolicyQuantityBasedRetention

type ClusterAutomatedBackupPolicyQuantityBasedRetention struct {
	// The number of backups to retain.
	Count *int `pulumi:"count"`
}

type ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs

type ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs struct {
	// The number of backups to retain.
	Count pulumi.IntPtrInput `pulumi:"count"`
}

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ElementType

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext

func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext

func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
	ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
}

ClusterAutomatedBackupPolicyQuantityBasedRetentionInput is an input type that accepts ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs and ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyQuantityBasedRetentionInput` via:

ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{...}

type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) Count

The number of backups to retain.

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ElementType

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext

func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
	ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
}

ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput is an input type that accepts ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs, ClusterAutomatedBackupPolicyQuantityBasedRetentionPtr and ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput` via:

        ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Count

The number of backups to retain.

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Elem

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyTimeBasedRetention

type ClusterAutomatedBackupPolicyTimeBasedRetention struct {
	// The retention period.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	RetentionPeriod *string `pulumi:"retentionPeriod"`
}

type ClusterAutomatedBackupPolicyTimeBasedRetentionArgs

type ClusterAutomatedBackupPolicyTimeBasedRetentionArgs struct {
	// The retention period.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	RetentionPeriod pulumi.StringPtrInput `pulumi:"retentionPeriod"`
}

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ElementType

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext

func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext

func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyTimeBasedRetentionInput

type ClusterAutomatedBackupPolicyTimeBasedRetentionInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
	ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
}

ClusterAutomatedBackupPolicyTimeBasedRetentionInput is an input type that accepts ClusterAutomatedBackupPolicyTimeBasedRetentionArgs and ClusterAutomatedBackupPolicyTimeBasedRetentionOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyTimeBasedRetentionInput` via:

ClusterAutomatedBackupPolicyTimeBasedRetentionArgs{...}

type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput

type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ElementType

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) RetentionPeriod

The retention period. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext

func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
	ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
}

ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput is an input type that accepts ClusterAutomatedBackupPolicyTimeBasedRetentionArgs, ClusterAutomatedBackupPolicyTimeBasedRetentionPtr and ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput` via:

        ClusterAutomatedBackupPolicyTimeBasedRetentionArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) Elem

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) RetentionPeriod

The retention period. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext

func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyWeeklySchedule

type ClusterAutomatedBackupPolicyWeeklySchedule struct {
	// The days of the week to perform a backup. At least one day of the week must be provided.
	// Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
	DaysOfWeeks []string `pulumi:"daysOfWeeks"`
	// The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
	// Structure is documented below.
	StartTimes []ClusterAutomatedBackupPolicyWeeklyScheduleStartTime `pulumi:"startTimes"`
}

type ClusterAutomatedBackupPolicyWeeklyScheduleArgs

type ClusterAutomatedBackupPolicyWeeklyScheduleArgs struct {
	// The days of the week to perform a backup. At least one day of the week must be provided.
	// Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.
	DaysOfWeeks pulumi.StringArrayInput `pulumi:"daysOfWeeks"`
	// The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00).
	// Structure is documented below.
	StartTimes ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput `pulumi:"startTimes"`
}

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext

func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext

func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleInput

type ClusterAutomatedBackupPolicyWeeklyScheduleInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
	ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput
}

ClusterAutomatedBackupPolicyWeeklyScheduleInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleArgs and ClusterAutomatedBackupPolicyWeeklyScheduleOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklyScheduleInput` via:

ClusterAutomatedBackupPolicyWeeklyScheduleArgs{...}

type ClusterAutomatedBackupPolicyWeeklyScheduleOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) DaysOfWeeks

The days of the week to perform a backup. At least one day of the week must be provided. Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) StartTimes

The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). Structure is documented below.

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext

func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext

func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput

type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
	ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
}

ClusterAutomatedBackupPolicyWeeklySchedulePtrInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleArgs, ClusterAutomatedBackupPolicyWeeklySchedulePtr and ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklySchedulePtrInput` via:

        ClusterAutomatedBackupPolicyWeeklyScheduleArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) DaysOfWeeks

The days of the week to perform a backup. At least one day of the week must be provided. Each value may be one of: `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`.

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) Elem

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) StartTimes

The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). Structure is documented below.

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext

func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime struct {
	// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
	Hours *int `pulumi:"hours"`
	// Minutes of hour of day. Currently, only the value 0 is supported.
	Minutes *int `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
	Nanos *int `pulumi:"nanos"`
	// Seconds of minutes of the time. Currently, only the value 0 is supported.
	Seconds *int `pulumi:"seconds"`
}

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs struct {
	// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
	Hours pulumi.IntPtrInput `pulumi:"hours"`
	// Minutes of hour of day. Currently, only the value 0 is supported.
	Minutes pulumi.IntPtrInput `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.
	Nanos pulumi.IntPtrInput `pulumi:"nanos"`
	// Seconds of minutes of the time. Currently, only the value 0 is supported.
	Seconds pulumi.IntPtrInput `pulumi:"seconds"`
}

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext

func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray []ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext

func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
	ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
}

ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray and ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput` via:

ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray{ ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{...} }

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) Index

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext

func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput interface {
	pulumi.Input

	ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
	ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
}

ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs and ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput` via:

ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{...}

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Hours

Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Minutes

Minutes of hour of day. Currently, only the value 0 is supported.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Nanos

Fractions of seconds in nanoseconds. Currently, only the value 0 is supported.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Seconds

Seconds of minutes of the time. Currently, only the value 0 is supported.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext

func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

type ClusterBackupSource

type ClusterBackupSource struct {
	// The name of the backup resource.
	BackupName *string `pulumi:"backupName"`
}

type ClusterBackupSourceArgs

type ClusterBackupSourceArgs struct {
	// The name of the backup resource.
	BackupName pulumi.StringPtrInput `pulumi:"backupName"`
}

func (ClusterBackupSourceArgs) ElementType

func (ClusterBackupSourceArgs) ElementType() reflect.Type

func (ClusterBackupSourceArgs) ToClusterBackupSourceOutput

func (i ClusterBackupSourceArgs) ToClusterBackupSourceOutput() ClusterBackupSourceOutput

func (ClusterBackupSourceArgs) ToClusterBackupSourceOutputWithContext

func (i ClusterBackupSourceArgs) ToClusterBackupSourceOutputWithContext(ctx context.Context) ClusterBackupSourceOutput

type ClusterBackupSourceArray

type ClusterBackupSourceArray []ClusterBackupSourceInput

func (ClusterBackupSourceArray) ElementType

func (ClusterBackupSourceArray) ElementType() reflect.Type

func (ClusterBackupSourceArray) ToClusterBackupSourceArrayOutput

func (i ClusterBackupSourceArray) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput

func (ClusterBackupSourceArray) ToClusterBackupSourceArrayOutputWithContext

func (i ClusterBackupSourceArray) ToClusterBackupSourceArrayOutputWithContext(ctx context.Context) ClusterBackupSourceArrayOutput

type ClusterBackupSourceArrayInput

type ClusterBackupSourceArrayInput interface {
	pulumi.Input

	ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput
	ToClusterBackupSourceArrayOutputWithContext(context.Context) ClusterBackupSourceArrayOutput
}

ClusterBackupSourceArrayInput is an input type that accepts ClusterBackupSourceArray and ClusterBackupSourceArrayOutput values. You can construct a concrete instance of `ClusterBackupSourceArrayInput` via:

ClusterBackupSourceArray{ ClusterBackupSourceArgs{...} }

type ClusterBackupSourceArrayOutput

type ClusterBackupSourceArrayOutput struct{ *pulumi.OutputState }

func (ClusterBackupSourceArrayOutput) ElementType

func (ClusterBackupSourceArrayOutput) Index

func (ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput

func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput

func (ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutputWithContext

func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutputWithContext(ctx context.Context) ClusterBackupSourceArrayOutput

type ClusterBackupSourceInput

type ClusterBackupSourceInput interface {
	pulumi.Input

	ToClusterBackupSourceOutput() ClusterBackupSourceOutput
	ToClusterBackupSourceOutputWithContext(context.Context) ClusterBackupSourceOutput
}

ClusterBackupSourceInput is an input type that accepts ClusterBackupSourceArgs and ClusterBackupSourceOutput values. You can construct a concrete instance of `ClusterBackupSourceInput` via:

ClusterBackupSourceArgs{...}

type ClusterBackupSourceOutput

type ClusterBackupSourceOutput struct{ *pulumi.OutputState }

func (ClusterBackupSourceOutput) BackupName

The name of the backup resource.

func (ClusterBackupSourceOutput) ElementType

func (ClusterBackupSourceOutput) ElementType() reflect.Type

func (ClusterBackupSourceOutput) ToClusterBackupSourceOutput

func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutput() ClusterBackupSourceOutput

func (ClusterBackupSourceOutput) ToClusterBackupSourceOutputWithContext

func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutputWithContext(ctx context.Context) ClusterBackupSourceOutput

type ClusterContinuousBackupConfig

type ClusterContinuousBackupConfig struct {
	// Whether continuous backup recovery is enabled. If not set, defaults to true.
	Enabled *bool `pulumi:"enabled"`
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig *ClusterContinuousBackupConfigEncryptionConfig `pulumi:"encryptionConfig"`
	// The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.
	// If not set, defaults to 14 days.
	RecoveryWindowDays *int `pulumi:"recoveryWindowDays"`
}

type ClusterContinuousBackupConfigArgs

type ClusterContinuousBackupConfigArgs struct {
	// Whether continuous backup recovery is enabled. If not set, defaults to true.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig ClusterContinuousBackupConfigEncryptionConfigPtrInput `pulumi:"encryptionConfig"`
	// The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window.
	// If not set, defaults to 14 days.
	RecoveryWindowDays pulumi.IntPtrInput `pulumi:"recoveryWindowDays"`
}

func (ClusterContinuousBackupConfigArgs) ElementType

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutput

func (i ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutput() ClusterContinuousBackupConfigOutput

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutputWithContext

func (i ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigOutput

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutput

func (i ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutputWithContext

func (i ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigPtrOutput

type ClusterContinuousBackupConfigEncryptionConfig

type ClusterContinuousBackupConfigEncryptionConfig struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName *string `pulumi:"kmsKeyName"`
}

type ClusterContinuousBackupConfigEncryptionConfigArgs

type ClusterContinuousBackupConfigEncryptionConfigArgs struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"`
}

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ElementType

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutput

func (i ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutput() ClusterContinuousBackupConfigEncryptionConfigOutput

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext

func (i ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigEncryptionConfigOutput

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (i ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput() ClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext

func (i ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigEncryptionConfigPtrOutput

type ClusterContinuousBackupConfigEncryptionConfigInput

type ClusterContinuousBackupConfigEncryptionConfigInput interface {
	pulumi.Input

	ToClusterContinuousBackupConfigEncryptionConfigOutput() ClusterContinuousBackupConfigEncryptionConfigOutput
	ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext(context.Context) ClusterContinuousBackupConfigEncryptionConfigOutput
}

ClusterContinuousBackupConfigEncryptionConfigInput is an input type that accepts ClusterContinuousBackupConfigEncryptionConfigArgs and ClusterContinuousBackupConfigEncryptionConfigOutput values. You can construct a concrete instance of `ClusterContinuousBackupConfigEncryptionConfigInput` via:

ClusterContinuousBackupConfigEncryptionConfigArgs{...}

type ClusterContinuousBackupConfigEncryptionConfigOutput

type ClusterContinuousBackupConfigEncryptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ElementType

func (ClusterContinuousBackupConfigEncryptionConfigOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigOutput

func (o ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigOutput() ClusterContinuousBackupConfigEncryptionConfigOutput

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext

func (o ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigEncryptionConfigOutput

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (o ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput() ClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext

func (o ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigEncryptionConfigPtrOutput

type ClusterContinuousBackupConfigEncryptionConfigPtrInput

type ClusterContinuousBackupConfigEncryptionConfigPtrInput interface {
	pulumi.Input

	ToClusterContinuousBackupConfigEncryptionConfigPtrOutput() ClusterContinuousBackupConfigEncryptionConfigPtrOutput
	ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext(context.Context) ClusterContinuousBackupConfigEncryptionConfigPtrOutput
}

ClusterContinuousBackupConfigEncryptionConfigPtrInput is an input type that accepts ClusterContinuousBackupConfigEncryptionConfigArgs, ClusterContinuousBackupConfigEncryptionConfigPtr and ClusterContinuousBackupConfigEncryptionConfigPtrOutput values. You can construct a concrete instance of `ClusterContinuousBackupConfigEncryptionConfigPtrInput` via:

        ClusterContinuousBackupConfigEncryptionConfigArgs{...}

or:

        nil

type ClusterContinuousBackupConfigEncryptionConfigPtrOutput

type ClusterContinuousBackupConfigEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) Elem

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ElementType

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext

func (o ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigEncryptionConfigPtrOutput

type ClusterContinuousBackupConfigInput

type ClusterContinuousBackupConfigInput interface {
	pulumi.Input

	ToClusterContinuousBackupConfigOutput() ClusterContinuousBackupConfigOutput
	ToClusterContinuousBackupConfigOutputWithContext(context.Context) ClusterContinuousBackupConfigOutput
}

ClusterContinuousBackupConfigInput is an input type that accepts ClusterContinuousBackupConfigArgs and ClusterContinuousBackupConfigOutput values. You can construct a concrete instance of `ClusterContinuousBackupConfigInput` via:

ClusterContinuousBackupConfigArgs{...}

type ClusterContinuousBackupConfigOutput

type ClusterContinuousBackupConfigOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigOutput) ElementType

func (ClusterContinuousBackupConfigOutput) Enabled

Whether continuous backup recovery is enabled. If not set, defaults to true.

func (ClusterContinuousBackupConfigOutput) EncryptionConfig

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

func (ClusterContinuousBackupConfigOutput) RecoveryWindowDays

The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigOutput

func (o ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigOutput() ClusterContinuousBackupConfigOutput

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigOutputWithContext

func (o ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigOutput

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutput

func (o ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutputWithContext

func (o ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigPtrOutput

type ClusterContinuousBackupConfigPtrInput

type ClusterContinuousBackupConfigPtrInput interface {
	pulumi.Input

	ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput
	ToClusterContinuousBackupConfigPtrOutputWithContext(context.Context) ClusterContinuousBackupConfigPtrOutput
}

ClusterContinuousBackupConfigPtrInput is an input type that accepts ClusterContinuousBackupConfigArgs, ClusterContinuousBackupConfigPtr and ClusterContinuousBackupConfigPtrOutput values. You can construct a concrete instance of `ClusterContinuousBackupConfigPtrInput` via:

        ClusterContinuousBackupConfigArgs{...}

or:

        nil

type ClusterContinuousBackupConfigPtrOutput

type ClusterContinuousBackupConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigPtrOutput) Elem

func (ClusterContinuousBackupConfigPtrOutput) ElementType

func (ClusterContinuousBackupConfigPtrOutput) Enabled

Whether continuous backup recovery is enabled. If not set, defaults to true.

func (ClusterContinuousBackupConfigPtrOutput) EncryptionConfig

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

func (ClusterContinuousBackupConfigPtrOutput) RecoveryWindowDays

The numbers of days that are eligible to restore from using PITR. To support the entire recovery window, backups and logs are retained for one day more than the recovery window. If not set, defaults to 14 days.

func (ClusterContinuousBackupConfigPtrOutput) ToClusterContinuousBackupConfigPtrOutput

func (o ClusterContinuousBackupConfigPtrOutput) ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput

func (ClusterContinuousBackupConfigPtrOutput) ToClusterContinuousBackupConfigPtrOutputWithContext

func (o ClusterContinuousBackupConfigPtrOutput) ToClusterContinuousBackupConfigPtrOutputWithContext(ctx context.Context) ClusterContinuousBackupConfigPtrOutput

type ClusterContinuousBackupInfo

type ClusterContinuousBackupInfo struct {
	// (Output)
	// The earliest restorable time that can be restored to. Output only field.
	EarliestRestorableTime *string `pulumi:"earliestRestorableTime"`
	// (Output)
	// When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
	EnabledTime *string `pulumi:"enabledTime"`
	// (Output)
	// Output only. The encryption information for the WALs and backups required for ContinuousBackup.
	// Structure is documented below.
	EncryptionInfos []ClusterContinuousBackupInfoEncryptionInfo `pulumi:"encryptionInfos"`
	// (Output)
	// Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
	Schedules []string `pulumi:"schedules"`
}

type ClusterContinuousBackupInfoArgs

type ClusterContinuousBackupInfoArgs struct {
	// (Output)
	// The earliest restorable time that can be restored to. Output only field.
	EarliestRestorableTime pulumi.StringPtrInput `pulumi:"earliestRestorableTime"`
	// (Output)
	// When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
	EnabledTime pulumi.StringPtrInput `pulumi:"enabledTime"`
	// (Output)
	// Output only. The encryption information for the WALs and backups required for ContinuousBackup.
	// Structure is documented below.
	EncryptionInfos ClusterContinuousBackupInfoEncryptionInfoArrayInput `pulumi:"encryptionInfos"`
	// (Output)
	// Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
	Schedules pulumi.StringArrayInput `pulumi:"schedules"`
}

func (ClusterContinuousBackupInfoArgs) ElementType

func (ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutput

func (i ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutput() ClusterContinuousBackupInfoOutput

func (ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutputWithContext

func (i ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoOutput

type ClusterContinuousBackupInfoArray

type ClusterContinuousBackupInfoArray []ClusterContinuousBackupInfoInput

func (ClusterContinuousBackupInfoArray) ElementType

func (ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutput

func (i ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutput() ClusterContinuousBackupInfoArrayOutput

func (ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutputWithContext

func (i ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoArrayOutput

type ClusterContinuousBackupInfoArrayInput

type ClusterContinuousBackupInfoArrayInput interface {
	pulumi.Input

	ToClusterContinuousBackupInfoArrayOutput() ClusterContinuousBackupInfoArrayOutput
	ToClusterContinuousBackupInfoArrayOutputWithContext(context.Context) ClusterContinuousBackupInfoArrayOutput
}

ClusterContinuousBackupInfoArrayInput is an input type that accepts ClusterContinuousBackupInfoArray and ClusterContinuousBackupInfoArrayOutput values. You can construct a concrete instance of `ClusterContinuousBackupInfoArrayInput` via:

ClusterContinuousBackupInfoArray{ ClusterContinuousBackupInfoArgs{...} }

type ClusterContinuousBackupInfoArrayOutput

type ClusterContinuousBackupInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoArrayOutput) ElementType

func (ClusterContinuousBackupInfoArrayOutput) Index

func (ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutput

func (o ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutput() ClusterContinuousBackupInfoArrayOutput

func (ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutputWithContext

func (o ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoArrayOutput

type ClusterContinuousBackupInfoEncryptionInfo

type ClusterContinuousBackupInfoEncryptionInfo struct {
	// (Output)
	// Output only. Type of encryption.
	EncryptionType *string `pulumi:"encryptionType"`
	// (Output)
	// Output only. Cloud KMS key versions that are being used to protect the database or the backup.
	KmsKeyVersions []string `pulumi:"kmsKeyVersions"`
}

type ClusterContinuousBackupInfoEncryptionInfoArgs

type ClusterContinuousBackupInfoEncryptionInfoArgs struct {
	// (Output)
	// Output only. Type of encryption.
	EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"`
	// (Output)
	// Output only. Cloud KMS key versions that are being used to protect the database or the backup.
	KmsKeyVersions pulumi.StringArrayInput `pulumi:"kmsKeyVersions"`
}

func (ClusterContinuousBackupInfoEncryptionInfoArgs) ElementType

func (ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutput

func (i ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutput() ClusterContinuousBackupInfoEncryptionInfoOutput

func (ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext

func (i ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoEncryptionInfoOutput

type ClusterContinuousBackupInfoEncryptionInfoArray

type ClusterContinuousBackupInfoEncryptionInfoArray []ClusterContinuousBackupInfoEncryptionInfoInput

func (ClusterContinuousBackupInfoEncryptionInfoArray) ElementType

func (ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutput

func (i ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutput() ClusterContinuousBackupInfoEncryptionInfoArrayOutput

func (ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext

func (i ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoEncryptionInfoArrayOutput

type ClusterContinuousBackupInfoEncryptionInfoArrayInput

type ClusterContinuousBackupInfoEncryptionInfoArrayInput interface {
	pulumi.Input

	ToClusterContinuousBackupInfoEncryptionInfoArrayOutput() ClusterContinuousBackupInfoEncryptionInfoArrayOutput
	ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext(context.Context) ClusterContinuousBackupInfoEncryptionInfoArrayOutput
}

ClusterContinuousBackupInfoEncryptionInfoArrayInput is an input type that accepts ClusterContinuousBackupInfoEncryptionInfoArray and ClusterContinuousBackupInfoEncryptionInfoArrayOutput values. You can construct a concrete instance of `ClusterContinuousBackupInfoEncryptionInfoArrayInput` via:

ClusterContinuousBackupInfoEncryptionInfoArray{ ClusterContinuousBackupInfoEncryptionInfoArgs{...} }

type ClusterContinuousBackupInfoEncryptionInfoArrayOutput

type ClusterContinuousBackupInfoEncryptionInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ElementType

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) Index

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ToClusterContinuousBackupInfoEncryptionInfoArrayOutput

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext

func (o ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoEncryptionInfoArrayOutput

type ClusterContinuousBackupInfoEncryptionInfoInput

type ClusterContinuousBackupInfoEncryptionInfoInput interface {
	pulumi.Input

	ToClusterContinuousBackupInfoEncryptionInfoOutput() ClusterContinuousBackupInfoEncryptionInfoOutput
	ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext(context.Context) ClusterContinuousBackupInfoEncryptionInfoOutput
}

ClusterContinuousBackupInfoEncryptionInfoInput is an input type that accepts ClusterContinuousBackupInfoEncryptionInfoArgs and ClusterContinuousBackupInfoEncryptionInfoOutput values. You can construct a concrete instance of `ClusterContinuousBackupInfoEncryptionInfoInput` via:

ClusterContinuousBackupInfoEncryptionInfoArgs{...}

type ClusterContinuousBackupInfoEncryptionInfoOutput

type ClusterContinuousBackupInfoEncryptionInfoOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ElementType

func (ClusterContinuousBackupInfoEncryptionInfoOutput) EncryptionType

(Output) Output only. Type of encryption.

func (ClusterContinuousBackupInfoEncryptionInfoOutput) KmsKeyVersions

(Output) Output only. Cloud KMS key versions that are being used to protect the database or the backup.

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutput

func (o ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutput() ClusterContinuousBackupInfoEncryptionInfoOutput

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext

func (o ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoEncryptionInfoOutput

type ClusterContinuousBackupInfoInput

type ClusterContinuousBackupInfoInput interface {
	pulumi.Input

	ToClusterContinuousBackupInfoOutput() ClusterContinuousBackupInfoOutput
	ToClusterContinuousBackupInfoOutputWithContext(context.Context) ClusterContinuousBackupInfoOutput
}

ClusterContinuousBackupInfoInput is an input type that accepts ClusterContinuousBackupInfoArgs and ClusterContinuousBackupInfoOutput values. You can construct a concrete instance of `ClusterContinuousBackupInfoInput` via:

ClusterContinuousBackupInfoArgs{...}

type ClusterContinuousBackupInfoOutput

type ClusterContinuousBackupInfoOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoOutput) EarliestRestorableTime

func (o ClusterContinuousBackupInfoOutput) EarliestRestorableTime() pulumi.StringPtrOutput

(Output) The earliest restorable time that can be restored to. Output only field.

func (ClusterContinuousBackupInfoOutput) ElementType

func (ClusterContinuousBackupInfoOutput) EnabledTime

(Output) When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.

func (ClusterContinuousBackupInfoOutput) EncryptionInfos

(Output) Output only. The encryption information for the WALs and backups required for ContinuousBackup. Structure is documented below.

func (ClusterContinuousBackupInfoOutput) Schedules

(Output) Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.

func (ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutput

func (o ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutput() ClusterContinuousBackupInfoOutput

func (ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutputWithContext

func (o ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutputWithContext(ctx context.Context) ClusterContinuousBackupInfoOutput

type ClusterEncryptionConfig

type ClusterEncryptionConfig struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName *string `pulumi:"kmsKeyName"`
}

type ClusterEncryptionConfigArgs

type ClusterEncryptionConfigArgs struct {
	// The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].
	KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"`
}

func (ClusterEncryptionConfigArgs) ElementType

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutput

func (i ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutput() ClusterEncryptionConfigOutput

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutputWithContext

func (i ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutputWithContext(ctx context.Context) ClusterEncryptionConfigOutput

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutput

func (i ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutputWithContext

func (i ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterEncryptionConfigPtrOutput

type ClusterEncryptionConfigInput

type ClusterEncryptionConfigInput interface {
	pulumi.Input

	ToClusterEncryptionConfigOutput() ClusterEncryptionConfigOutput
	ToClusterEncryptionConfigOutputWithContext(context.Context) ClusterEncryptionConfigOutput
}

ClusterEncryptionConfigInput is an input type that accepts ClusterEncryptionConfigArgs and ClusterEncryptionConfigOutput values. You can construct a concrete instance of `ClusterEncryptionConfigInput` via:

ClusterEncryptionConfigArgs{...}

type ClusterEncryptionConfigOutput

type ClusterEncryptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionConfigOutput) ElementType

func (ClusterEncryptionConfigOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigOutput

func (o ClusterEncryptionConfigOutput) ToClusterEncryptionConfigOutput() ClusterEncryptionConfigOutput

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigOutputWithContext

func (o ClusterEncryptionConfigOutput) ToClusterEncryptionConfigOutputWithContext(ctx context.Context) ClusterEncryptionConfigOutput

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutput

func (o ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutputWithContext

func (o ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterEncryptionConfigPtrOutput

type ClusterEncryptionConfigPtrInput

type ClusterEncryptionConfigPtrInput interface {
	pulumi.Input

	ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput
	ToClusterEncryptionConfigPtrOutputWithContext(context.Context) ClusterEncryptionConfigPtrOutput
}

ClusterEncryptionConfigPtrInput is an input type that accepts ClusterEncryptionConfigArgs, ClusterEncryptionConfigPtr and ClusterEncryptionConfigPtrOutput values. You can construct a concrete instance of `ClusterEncryptionConfigPtrInput` via:

        ClusterEncryptionConfigArgs{...}

or:

        nil

type ClusterEncryptionConfigPtrOutput

type ClusterEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionConfigPtrOutput) Elem

func (ClusterEncryptionConfigPtrOutput) ElementType

func (ClusterEncryptionConfigPtrOutput) KmsKeyName

The fully-qualified resource name of the KMS key. Each Cloud KMS key is regionalized and has the following format: projects/[PROJECT]/locations/[REGION]/keyRings/[RING]/cryptoKeys/[KEY_NAME].

func (ClusterEncryptionConfigPtrOutput) ToClusterEncryptionConfigPtrOutput

func (o ClusterEncryptionConfigPtrOutput) ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput

func (ClusterEncryptionConfigPtrOutput) ToClusterEncryptionConfigPtrOutputWithContext

func (o ClusterEncryptionConfigPtrOutput) ToClusterEncryptionConfigPtrOutputWithContext(ctx context.Context) ClusterEncryptionConfigPtrOutput

type ClusterEncryptionInfo

type ClusterEncryptionInfo struct {
	// (Output)
	// Output only. Type of encryption.
	EncryptionType *string `pulumi:"encryptionType"`
	// (Output)
	// Output only. Cloud KMS key versions that are being used to protect the database or the backup.
	KmsKeyVersions []string `pulumi:"kmsKeyVersions"`
}

type ClusterEncryptionInfoArgs

type ClusterEncryptionInfoArgs struct {
	// (Output)
	// Output only. Type of encryption.
	EncryptionType pulumi.StringPtrInput `pulumi:"encryptionType"`
	// (Output)
	// Output only. Cloud KMS key versions that are being used to protect the database or the backup.
	KmsKeyVersions pulumi.StringArrayInput `pulumi:"kmsKeyVersions"`
}

func (ClusterEncryptionInfoArgs) ElementType

func (ClusterEncryptionInfoArgs) ElementType() reflect.Type

func (ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutput

func (i ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutput() ClusterEncryptionInfoOutput

func (ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutputWithContext

func (i ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutputWithContext(ctx context.Context) ClusterEncryptionInfoOutput

type ClusterEncryptionInfoArray

type ClusterEncryptionInfoArray []ClusterEncryptionInfoInput

func (ClusterEncryptionInfoArray) ElementType

func (ClusterEncryptionInfoArray) ElementType() reflect.Type

func (ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutput

func (i ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutput() ClusterEncryptionInfoArrayOutput

func (ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutputWithContext

func (i ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutputWithContext(ctx context.Context) ClusterEncryptionInfoArrayOutput

type ClusterEncryptionInfoArrayInput

type ClusterEncryptionInfoArrayInput interface {
	pulumi.Input

	ToClusterEncryptionInfoArrayOutput() ClusterEncryptionInfoArrayOutput
	ToClusterEncryptionInfoArrayOutputWithContext(context.Context) ClusterEncryptionInfoArrayOutput
}

ClusterEncryptionInfoArrayInput is an input type that accepts ClusterEncryptionInfoArray and ClusterEncryptionInfoArrayOutput values. You can construct a concrete instance of `ClusterEncryptionInfoArrayInput` via:

ClusterEncryptionInfoArray{ ClusterEncryptionInfoArgs{...} }

type ClusterEncryptionInfoArrayOutput

type ClusterEncryptionInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionInfoArrayOutput) ElementType

func (ClusterEncryptionInfoArrayOutput) Index

func (ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutput

func (o ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutput() ClusterEncryptionInfoArrayOutput

func (ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutputWithContext

func (o ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutputWithContext(ctx context.Context) ClusterEncryptionInfoArrayOutput

type ClusterEncryptionInfoInput

type ClusterEncryptionInfoInput interface {
	pulumi.Input

	ToClusterEncryptionInfoOutput() ClusterEncryptionInfoOutput
	ToClusterEncryptionInfoOutputWithContext(context.Context) ClusterEncryptionInfoOutput
}

ClusterEncryptionInfoInput is an input type that accepts ClusterEncryptionInfoArgs and ClusterEncryptionInfoOutput values. You can construct a concrete instance of `ClusterEncryptionInfoInput` via:

ClusterEncryptionInfoArgs{...}

type ClusterEncryptionInfoOutput

type ClusterEncryptionInfoOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionInfoOutput) ElementType

func (ClusterEncryptionInfoOutput) EncryptionType

(Output) Output only. Type of encryption.

func (ClusterEncryptionInfoOutput) KmsKeyVersions

(Output) Output only. Cloud KMS key versions that are being used to protect the database or the backup.

func (ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutput

func (o ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutput() ClusterEncryptionInfoOutput

func (ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutputWithContext

func (o ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutputWithContext(ctx context.Context) ClusterEncryptionInfoOutput

type ClusterInitialUser

type ClusterInitialUser struct {
	// The initial password for the user.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password string `pulumi:"password"`
	// The database username.
	User *string `pulumi:"user"`
}

type ClusterInitialUserArgs

type ClusterInitialUserArgs struct {
	// The initial password for the user.
	// **Note**: This property is sensitive and will not be displayed in the plan.
	Password pulumi.StringInput `pulumi:"password"`
	// The database username.
	User pulumi.StringPtrInput `pulumi:"user"`
}

func (ClusterInitialUserArgs) ElementType

func (ClusterInitialUserArgs) ElementType() reflect.Type

func (ClusterInitialUserArgs) ToClusterInitialUserOutput

func (i ClusterInitialUserArgs) ToClusterInitialUserOutput() ClusterInitialUserOutput

func (ClusterInitialUserArgs) ToClusterInitialUserOutputWithContext

func (i ClusterInitialUserArgs) ToClusterInitialUserOutputWithContext(ctx context.Context) ClusterInitialUserOutput

func (ClusterInitialUserArgs) ToClusterInitialUserPtrOutput

func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput

func (ClusterInitialUserArgs) ToClusterInitialUserPtrOutputWithContext

func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput

type ClusterInitialUserInput

type ClusterInitialUserInput interface {
	pulumi.Input

	ToClusterInitialUserOutput() ClusterInitialUserOutput
	ToClusterInitialUserOutputWithContext(context.Context) ClusterInitialUserOutput
}

ClusterInitialUserInput is an input type that accepts ClusterInitialUserArgs and ClusterInitialUserOutput values. You can construct a concrete instance of `ClusterInitialUserInput` via:

ClusterInitialUserArgs{...}

type ClusterInitialUserOutput

type ClusterInitialUserOutput struct{ *pulumi.OutputState }

func (ClusterInitialUserOutput) ElementType

func (ClusterInitialUserOutput) ElementType() reflect.Type

func (ClusterInitialUserOutput) Password

The initial password for the user. **Note**: This property is sensitive and will not be displayed in the plan.

func (ClusterInitialUserOutput) ToClusterInitialUserOutput

func (o ClusterInitialUserOutput) ToClusterInitialUserOutput() ClusterInitialUserOutput

func (ClusterInitialUserOutput) ToClusterInitialUserOutputWithContext

func (o ClusterInitialUserOutput) ToClusterInitialUserOutputWithContext(ctx context.Context) ClusterInitialUserOutput

func (ClusterInitialUserOutput) ToClusterInitialUserPtrOutput

func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput

func (ClusterInitialUserOutput) ToClusterInitialUserPtrOutputWithContext

func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput

func (ClusterInitialUserOutput) User

The database username.

type ClusterInitialUserPtrInput

type ClusterInitialUserPtrInput interface {
	pulumi.Input

	ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
	ToClusterInitialUserPtrOutputWithContext(context.Context) ClusterInitialUserPtrOutput
}

ClusterInitialUserPtrInput is an input type that accepts ClusterInitialUserArgs, ClusterInitialUserPtr and ClusterInitialUserPtrOutput values. You can construct a concrete instance of `ClusterInitialUserPtrInput` via:

        ClusterInitialUserArgs{...}

or:

        nil

type ClusterInitialUserPtrOutput

type ClusterInitialUserPtrOutput struct{ *pulumi.OutputState }

func (ClusterInitialUserPtrOutput) Elem

func (ClusterInitialUserPtrOutput) ElementType

func (ClusterInitialUserPtrOutput) Password

The initial password for the user. **Note**: This property is sensitive and will not be displayed in the plan.

func (ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput

func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput

func (ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutputWithContext

func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput

func (ClusterInitialUserPtrOutput) User

The database username.

type ClusterInput

type ClusterInput interface {
	pulumi.Input

	ToClusterOutput() ClusterOutput
	ToClusterOutputWithContext(ctx context.Context) ClusterOutput
}

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

	ToClusterMapOutput() ClusterMapOutput
	ToClusterMapOutputWithContext(context.Context) ClusterMapOutput
}

ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:

ClusterMap{ "key": ClusterArgs{...} }

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput

type ClusterMigrationSource

type ClusterMigrationSource struct {
	// The host and port of the on-premises instance in host:port format
	HostPort *string `pulumi:"hostPort"`
	// Place holder for the external source identifier(e.g DMS job name) that created the cluster.
	ReferenceId *string `pulumi:"referenceId"`
	// Type of migration source.
	SourceType *string `pulumi:"sourceType"`
}

type ClusterMigrationSourceArgs

type ClusterMigrationSourceArgs struct {
	// The host and port of the on-premises instance in host:port format
	HostPort pulumi.StringPtrInput `pulumi:"hostPort"`
	// Place holder for the external source identifier(e.g DMS job name) that created the cluster.
	ReferenceId pulumi.StringPtrInput `pulumi:"referenceId"`
	// Type of migration source.
	SourceType pulumi.StringPtrInput `pulumi:"sourceType"`
}

func (ClusterMigrationSourceArgs) ElementType

func (ClusterMigrationSourceArgs) ElementType() reflect.Type

func (ClusterMigrationSourceArgs) ToClusterMigrationSourceOutput

func (i ClusterMigrationSourceArgs) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput

func (ClusterMigrationSourceArgs) ToClusterMigrationSourceOutputWithContext

func (i ClusterMigrationSourceArgs) ToClusterMigrationSourceOutputWithContext(ctx context.Context) ClusterMigrationSourceOutput

type ClusterMigrationSourceArray

type ClusterMigrationSourceArray []ClusterMigrationSourceInput

func (ClusterMigrationSourceArray) ElementType

func (ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput

func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput

func (ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutputWithContext

func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutputWithContext(ctx context.Context) ClusterMigrationSourceArrayOutput

type ClusterMigrationSourceArrayInput

type ClusterMigrationSourceArrayInput interface {
	pulumi.Input

	ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput
	ToClusterMigrationSourceArrayOutputWithContext(context.Context) ClusterMigrationSourceArrayOutput
}

ClusterMigrationSourceArrayInput is an input type that accepts ClusterMigrationSourceArray and ClusterMigrationSourceArrayOutput values. You can construct a concrete instance of `ClusterMigrationSourceArrayInput` via:

ClusterMigrationSourceArray{ ClusterMigrationSourceArgs{...} }

type ClusterMigrationSourceArrayOutput

type ClusterMigrationSourceArrayOutput struct{ *pulumi.OutputState }

func (ClusterMigrationSourceArrayOutput) ElementType

func (ClusterMigrationSourceArrayOutput) Index

func (ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput

func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput

func (ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutputWithContext

func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutputWithContext(ctx context.Context) ClusterMigrationSourceArrayOutput

type ClusterMigrationSourceInput

type ClusterMigrationSourceInput interface {
	pulumi.Input

	ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput
	ToClusterMigrationSourceOutputWithContext(context.Context) ClusterMigrationSourceOutput
}

ClusterMigrationSourceInput is an input type that accepts ClusterMigrationSourceArgs and ClusterMigrationSourceOutput values. You can construct a concrete instance of `ClusterMigrationSourceInput` via:

ClusterMigrationSourceArgs{...}

type ClusterMigrationSourceOutput

type ClusterMigrationSourceOutput struct{ *pulumi.OutputState }

func (ClusterMigrationSourceOutput) ElementType

func (ClusterMigrationSourceOutput) HostPort

The host and port of the on-premises instance in host:port format

func (ClusterMigrationSourceOutput) ReferenceId

Place holder for the external source identifier(e.g DMS job name) that created the cluster.

func (ClusterMigrationSourceOutput) SourceType

Type of migration source.

func (ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput

func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput

func (ClusterMigrationSourceOutput) ToClusterMigrationSourceOutputWithContext

func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutputWithContext(ctx context.Context) ClusterMigrationSourceOutput

type ClusterNetworkConfig

type ClusterNetworkConfig struct {
	// The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
	// If set, the instance IPs for this cluster will be created in the allocated range.
	AllocatedIpRange *string `pulumi:"allocatedIpRange"`
	// The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
	// It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
	Network *string `pulumi:"network"`
}

type ClusterNetworkConfigArgs

type ClusterNetworkConfigArgs struct {
	// The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default".
	// If set, the instance IPs for this cluster will be created in the allocated range.
	AllocatedIpRange pulumi.StringPtrInput `pulumi:"allocatedIpRange"`
	// The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster.
	// It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".
	Network pulumi.StringPtrInput `pulumi:"network"`
}

func (ClusterNetworkConfigArgs) ElementType

func (ClusterNetworkConfigArgs) ElementType() reflect.Type

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigOutput

func (i ClusterNetworkConfigArgs) ToClusterNetworkConfigOutput() ClusterNetworkConfigOutput

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigOutputWithContext

func (i ClusterNetworkConfigArgs) ToClusterNetworkConfigOutputWithContext(ctx context.Context) ClusterNetworkConfigOutput

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutput

func (i ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutputWithContext

func (i ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutputWithContext(ctx context.Context) ClusterNetworkConfigPtrOutput

type ClusterNetworkConfigInput

type ClusterNetworkConfigInput interface {
	pulumi.Input

	ToClusterNetworkConfigOutput() ClusterNetworkConfigOutput
	ToClusterNetworkConfigOutputWithContext(context.Context) ClusterNetworkConfigOutput
}

ClusterNetworkConfigInput is an input type that accepts ClusterNetworkConfigArgs and ClusterNetworkConfigOutput values. You can construct a concrete instance of `ClusterNetworkConfigInput` via:

ClusterNetworkConfigArgs{...}

type ClusterNetworkConfigOutput

type ClusterNetworkConfigOutput struct{ *pulumi.OutputState }

func (ClusterNetworkConfigOutput) AllocatedIpRange

func (o ClusterNetworkConfigOutput) AllocatedIpRange() pulumi.StringPtrOutput

The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range.

func (ClusterNetworkConfigOutput) ElementType

func (ClusterNetworkConfigOutput) ElementType() reflect.Type

func (ClusterNetworkConfigOutput) Network

The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigOutput

func (o ClusterNetworkConfigOutput) ToClusterNetworkConfigOutput() ClusterNetworkConfigOutput

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigOutputWithContext

func (o ClusterNetworkConfigOutput) ToClusterNetworkConfigOutputWithContext(ctx context.Context) ClusterNetworkConfigOutput

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutput

func (o ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutputWithContext

func (o ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutputWithContext(ctx context.Context) ClusterNetworkConfigPtrOutput

type ClusterNetworkConfigPtrInput

type ClusterNetworkConfigPtrInput interface {
	pulumi.Input

	ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput
	ToClusterNetworkConfigPtrOutputWithContext(context.Context) ClusterNetworkConfigPtrOutput
}

ClusterNetworkConfigPtrInput is an input type that accepts ClusterNetworkConfigArgs, ClusterNetworkConfigPtr and ClusterNetworkConfigPtrOutput values. You can construct a concrete instance of `ClusterNetworkConfigPtrInput` via:

        ClusterNetworkConfigArgs{...}

or:

        nil

type ClusterNetworkConfigPtrOutput

type ClusterNetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterNetworkConfigPtrOutput) AllocatedIpRange

The name of the allocated IP range for the private IP AlloyDB cluster. For example: "google-managed-services-default". If set, the instance IPs for this cluster will be created in the allocated range.

func (ClusterNetworkConfigPtrOutput) Elem

func (ClusterNetworkConfigPtrOutput) ElementType

func (ClusterNetworkConfigPtrOutput) Network

The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: "projects/{projectNumber}/global/networks/{network_id}".

func (ClusterNetworkConfigPtrOutput) ToClusterNetworkConfigPtrOutput

func (o ClusterNetworkConfigPtrOutput) ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput

func (ClusterNetworkConfigPtrOutput) ToClusterNetworkConfigPtrOutputWithContext

func (o ClusterNetworkConfigPtrOutput) ToClusterNetworkConfigPtrOutputWithContext(ctx context.Context) ClusterNetworkConfigPtrOutput

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) Annotations

func (o ClusterOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128 An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.

**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.

func (ClusterOutput) AutomatedBackupPolicy

func (o ClusterOutput) AutomatedBackupPolicy() ClusterAutomatedBackupPolicyOutput

The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default. Structure is documented below.

func (ClusterOutput) BackupSources

Cluster created from backup. Structure is documented below.

func (ClusterOutput) ClusterId

func (o ClusterOutput) ClusterId() pulumi.StringOutput

The ID of the alloydb cluster.

func (ClusterOutput) ClusterType added in v7.1.0

func (o ClusterOutput) ClusterType() pulumi.StringPtrOutput

The type of cluster. If not set, defaults to PRIMARY. Default value is `PRIMARY`. Possible values are: `PRIMARY`, `SECONDARY`.

func (ClusterOutput) ContinuousBackupConfig

func (o ClusterOutput) ContinuousBackupConfig() ClusterContinuousBackupConfigOutput

The continuous backup config for this cluster. If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days. Structure is documented below.

func (ClusterOutput) ContinuousBackupInfos

func (o ClusterOutput) ContinuousBackupInfos() ClusterContinuousBackupInfoArrayOutput

ContinuousBackupInfo describes the continuous backup properties of a cluster. Structure is documented below.

func (ClusterOutput) DatabaseVersion

func (o ClusterOutput) DatabaseVersion() pulumi.StringOutput

The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.

func (ClusterOutput) DeletionPolicy added in v7.1.0

func (o ClusterOutput) DeletionPolicy() pulumi.StringPtrOutput

Policy to determine if the cluster should be deleted forcefully. Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster. Deleting a Secondary cluster with a secondary instance REQUIRES setting deletionPolicy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.

func (ClusterOutput) DisplayName

func (o ClusterOutput) DisplayName() pulumi.StringPtrOutput

User-settable and human-readable display name for the Cluster.

func (ClusterOutput) EffectiveAnnotations

func (o ClusterOutput) EffectiveAnnotations() pulumi.StringMapOutput

All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.

func (ClusterOutput) EffectiveLabels

func (o ClusterOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) EncryptionConfig

func (o ClusterOutput) EncryptionConfig() ClusterEncryptionConfigPtrOutput

EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key). Structure is documented below.

func (ClusterOutput) EncryptionInfos

func (o ClusterOutput) EncryptionInfos() ClusterEncryptionInfoArrayOutput

(Output) Output only. The encryption information for the WALs and backups required for ContinuousBackup. Structure is documented below.

func (ClusterOutput) Etag

For Resource freshness validation (https://google.aip.dev/154)

func (ClusterOutput) InitialUser

Initial user to setup during cluster creation. Structure is documented below.

func (ClusterOutput) Labels

User-defined labels for the alloydb cluster. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (ClusterOutput) Location

func (o ClusterOutput) Location() pulumi.StringOutput

The location where the alloydb cluster should reside.

***

func (ClusterOutput) MigrationSources

func (o ClusterOutput) MigrationSources() ClusterMigrationSourceArrayOutput

Cluster created via DMS migration. Structure is documented below.

func (ClusterOutput) Name

The name of the cluster resource.

func (ClusterOutput) Network deprecated

func (o ClusterOutput) Network() pulumi.StringOutput

(Optional, Deprecated) The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}".

> **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.

Deprecated: `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.

func (ClusterOutput) NetworkConfig

func (o ClusterOutput) NetworkConfig() ClusterNetworkConfigOutput

Metadata related to network configuration. Structure is documented below.

func (ClusterOutput) Project

func (o ClusterOutput) Project() pulumi.StringOutput

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

func (ClusterOutput) PulumiLabels

func (o ClusterOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (ClusterOutput) Reconciling

func (o ClusterOutput) Reconciling() pulumi.BoolOutput

Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.

func (ClusterOutput) RestoreBackupSource

func (o ClusterOutput) RestoreBackupSource() ClusterRestoreBackupSourcePtrOutput

The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together. Structure is documented below.

func (ClusterOutput) RestoreContinuousBackupSource

func (o ClusterOutput) RestoreContinuousBackupSource() ClusterRestoreContinuousBackupSourcePtrOutput

The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together. Structure is documented below.

func (ClusterOutput) SecondaryConfig added in v7.1.0

func (o ClusterOutput) SecondaryConfig() ClusterSecondaryConfigPtrOutput

Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY. Structure is documented below.

func (ClusterOutput) State

func (o ClusterOutput) State() pulumi.StringOutput

Output only. The current serving state of the cluster.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput

func (ClusterOutput) Uid

The system-generated UID of the resource.

type ClusterRestoreBackupSource

type ClusterRestoreBackupSource struct {
	// The name of the backup that this cluster is restored from.
	BackupName string `pulumi:"backupName"`
}

type ClusterRestoreBackupSourceArgs

type ClusterRestoreBackupSourceArgs struct {
	// The name of the backup that this cluster is restored from.
	BackupName pulumi.StringInput `pulumi:"backupName"`
}

func (ClusterRestoreBackupSourceArgs) ElementType

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutput

func (i ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutput() ClusterRestoreBackupSourceOutput

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutputWithContext

func (i ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutputWithContext(ctx context.Context) ClusterRestoreBackupSourceOutput

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutput

func (i ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutputWithContext

func (i ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutputWithContext(ctx context.Context) ClusterRestoreBackupSourcePtrOutput

type ClusterRestoreBackupSourceInput

type ClusterRestoreBackupSourceInput interface {
	pulumi.Input

	ToClusterRestoreBackupSourceOutput() ClusterRestoreBackupSourceOutput
	ToClusterRestoreBackupSourceOutputWithContext(context.Context) ClusterRestoreBackupSourceOutput
}

ClusterRestoreBackupSourceInput is an input type that accepts ClusterRestoreBackupSourceArgs and ClusterRestoreBackupSourceOutput values. You can construct a concrete instance of `ClusterRestoreBackupSourceInput` via:

ClusterRestoreBackupSourceArgs{...}

type ClusterRestoreBackupSourceOutput

type ClusterRestoreBackupSourceOutput struct{ *pulumi.OutputState }

func (ClusterRestoreBackupSourceOutput) BackupName

The name of the backup that this cluster is restored from.

func (ClusterRestoreBackupSourceOutput) ElementType

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutput

func (o ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutput() ClusterRestoreBackupSourceOutput

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutputWithContext

func (o ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutputWithContext(ctx context.Context) ClusterRestoreBackupSourceOutput

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutput

func (o ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutputWithContext

func (o ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutputWithContext(ctx context.Context) ClusterRestoreBackupSourcePtrOutput

type ClusterRestoreBackupSourcePtrInput

type ClusterRestoreBackupSourcePtrInput interface {
	pulumi.Input

	ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput
	ToClusterRestoreBackupSourcePtrOutputWithContext(context.Context) ClusterRestoreBackupSourcePtrOutput
}

ClusterRestoreBackupSourcePtrInput is an input type that accepts ClusterRestoreBackupSourceArgs, ClusterRestoreBackupSourcePtr and ClusterRestoreBackupSourcePtrOutput values. You can construct a concrete instance of `ClusterRestoreBackupSourcePtrInput` via:

        ClusterRestoreBackupSourceArgs{...}

or:

        nil

type ClusterRestoreBackupSourcePtrOutput

type ClusterRestoreBackupSourcePtrOutput struct{ *pulumi.OutputState }

func (ClusterRestoreBackupSourcePtrOutput) BackupName

The name of the backup that this cluster is restored from.

func (ClusterRestoreBackupSourcePtrOutput) Elem

func (ClusterRestoreBackupSourcePtrOutput) ElementType

func (ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutput

func (o ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput

func (ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutputWithContext

func (o ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutputWithContext(ctx context.Context) ClusterRestoreBackupSourcePtrOutput

type ClusterRestoreContinuousBackupSource

type ClusterRestoreContinuousBackupSource struct {
	// The name of the source cluster that this cluster is restored from.
	Cluster string `pulumi:"cluster"`
	// The point in time that this cluster is restored to, in RFC 3339 format.
	PointInTime string `pulumi:"pointInTime"`
}

type ClusterRestoreContinuousBackupSourceArgs

type ClusterRestoreContinuousBackupSourceArgs struct {
	// The name of the source cluster that this cluster is restored from.
	Cluster pulumi.StringInput `pulumi:"cluster"`
	// The point in time that this cluster is restored to, in RFC 3339 format.
	PointInTime pulumi.StringInput `pulumi:"pointInTime"`
}

func (ClusterRestoreContinuousBackupSourceArgs) ElementType

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutput

func (i ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutput() ClusterRestoreContinuousBackupSourceOutput

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutputWithContext

func (i ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutputWithContext(ctx context.Context) ClusterRestoreContinuousBackupSourceOutput

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutput

func (i ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext

func (i ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext(ctx context.Context) ClusterRestoreContinuousBackupSourcePtrOutput

type ClusterRestoreContinuousBackupSourceInput

type ClusterRestoreContinuousBackupSourceInput interface {
	pulumi.Input

	ToClusterRestoreContinuousBackupSourceOutput() ClusterRestoreContinuousBackupSourceOutput
	ToClusterRestoreContinuousBackupSourceOutputWithContext(context.Context) ClusterRestoreContinuousBackupSourceOutput
}

ClusterRestoreContinuousBackupSourceInput is an input type that accepts ClusterRestoreContinuousBackupSourceArgs and ClusterRestoreContinuousBackupSourceOutput values. You can construct a concrete instance of `ClusterRestoreContinuousBackupSourceInput` via:

ClusterRestoreContinuousBackupSourceArgs{...}

type ClusterRestoreContinuousBackupSourceOutput

type ClusterRestoreContinuousBackupSourceOutput struct{ *pulumi.OutputState }

func (ClusterRestoreContinuousBackupSourceOutput) Cluster

The name of the source cluster that this cluster is restored from.

func (ClusterRestoreContinuousBackupSourceOutput) ElementType

func (ClusterRestoreContinuousBackupSourceOutput) PointInTime

The point in time that this cluster is restored to, in RFC 3339 format.

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutput

func (o ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutput() ClusterRestoreContinuousBackupSourceOutput

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutputWithContext

func (o ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutputWithContext(ctx context.Context) ClusterRestoreContinuousBackupSourceOutput

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutput

func (o ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext

func (o ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext(ctx context.Context) ClusterRestoreContinuousBackupSourcePtrOutput

type ClusterRestoreContinuousBackupSourcePtrInput

type ClusterRestoreContinuousBackupSourcePtrInput interface {
	pulumi.Input

	ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput
	ToClusterRestoreContinuousBackupSourcePtrOutputWithContext(context.Context) ClusterRestoreContinuousBackupSourcePtrOutput
}

ClusterRestoreContinuousBackupSourcePtrInput is an input type that accepts ClusterRestoreContinuousBackupSourceArgs, ClusterRestoreContinuousBackupSourcePtr and ClusterRestoreContinuousBackupSourcePtrOutput values. You can construct a concrete instance of `ClusterRestoreContinuousBackupSourcePtrInput` via:

        ClusterRestoreContinuousBackupSourceArgs{...}

or:

        nil

type ClusterRestoreContinuousBackupSourcePtrOutput

type ClusterRestoreContinuousBackupSourcePtrOutput struct{ *pulumi.OutputState }

func (ClusterRestoreContinuousBackupSourcePtrOutput) Cluster

The name of the source cluster that this cluster is restored from.

func (ClusterRestoreContinuousBackupSourcePtrOutput) Elem

func (ClusterRestoreContinuousBackupSourcePtrOutput) ElementType

func (ClusterRestoreContinuousBackupSourcePtrOutput) PointInTime

The point in time that this cluster is restored to, in RFC 3339 format.

func (ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutput

func (o ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput

func (ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext

func (o ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext(ctx context.Context) ClusterRestoreContinuousBackupSourcePtrOutput

type ClusterSecondaryConfig added in v7.1.0

type ClusterSecondaryConfig struct {
	// Name of the primary cluster must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	PrimaryClusterName string `pulumi:"primaryClusterName"`
}

type ClusterSecondaryConfigArgs added in v7.1.0

type ClusterSecondaryConfigArgs struct {
	// Name of the primary cluster must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	PrimaryClusterName pulumi.StringInput `pulumi:"primaryClusterName"`
}

func (ClusterSecondaryConfigArgs) ElementType added in v7.1.0

func (ClusterSecondaryConfigArgs) ElementType() reflect.Type

func (ClusterSecondaryConfigArgs) ToClusterSecondaryConfigOutput added in v7.1.0

func (i ClusterSecondaryConfigArgs) ToClusterSecondaryConfigOutput() ClusterSecondaryConfigOutput

func (ClusterSecondaryConfigArgs) ToClusterSecondaryConfigOutputWithContext added in v7.1.0

func (i ClusterSecondaryConfigArgs) ToClusterSecondaryConfigOutputWithContext(ctx context.Context) ClusterSecondaryConfigOutput

func (ClusterSecondaryConfigArgs) ToClusterSecondaryConfigPtrOutput added in v7.1.0

func (i ClusterSecondaryConfigArgs) ToClusterSecondaryConfigPtrOutput() ClusterSecondaryConfigPtrOutput

func (ClusterSecondaryConfigArgs) ToClusterSecondaryConfigPtrOutputWithContext added in v7.1.0

func (i ClusterSecondaryConfigArgs) ToClusterSecondaryConfigPtrOutputWithContext(ctx context.Context) ClusterSecondaryConfigPtrOutput

type ClusterSecondaryConfigInput added in v7.1.0

type ClusterSecondaryConfigInput interface {
	pulumi.Input

	ToClusterSecondaryConfigOutput() ClusterSecondaryConfigOutput
	ToClusterSecondaryConfigOutputWithContext(context.Context) ClusterSecondaryConfigOutput
}

ClusterSecondaryConfigInput is an input type that accepts ClusterSecondaryConfigArgs and ClusterSecondaryConfigOutput values. You can construct a concrete instance of `ClusterSecondaryConfigInput` via:

ClusterSecondaryConfigArgs{...}

type ClusterSecondaryConfigOutput added in v7.1.0

type ClusterSecondaryConfigOutput struct{ *pulumi.OutputState }

func (ClusterSecondaryConfigOutput) ElementType added in v7.1.0

func (ClusterSecondaryConfigOutput) PrimaryClusterName added in v7.1.0

func (o ClusterSecondaryConfigOutput) PrimaryClusterName() pulumi.StringOutput

Name of the primary cluster must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'

func (ClusterSecondaryConfigOutput) ToClusterSecondaryConfigOutput added in v7.1.0

func (o ClusterSecondaryConfigOutput) ToClusterSecondaryConfigOutput() ClusterSecondaryConfigOutput

func (ClusterSecondaryConfigOutput) ToClusterSecondaryConfigOutputWithContext added in v7.1.0

func (o ClusterSecondaryConfigOutput) ToClusterSecondaryConfigOutputWithContext(ctx context.Context) ClusterSecondaryConfigOutput

func (ClusterSecondaryConfigOutput) ToClusterSecondaryConfigPtrOutput added in v7.1.0

func (o ClusterSecondaryConfigOutput) ToClusterSecondaryConfigPtrOutput() ClusterSecondaryConfigPtrOutput

func (ClusterSecondaryConfigOutput) ToClusterSecondaryConfigPtrOutputWithContext added in v7.1.0

func (o ClusterSecondaryConfigOutput) ToClusterSecondaryConfigPtrOutputWithContext(ctx context.Context) ClusterSecondaryConfigPtrOutput

type ClusterSecondaryConfigPtrInput added in v7.1.0

type ClusterSecondaryConfigPtrInput interface {
	pulumi.Input

	ToClusterSecondaryConfigPtrOutput() ClusterSecondaryConfigPtrOutput
	ToClusterSecondaryConfigPtrOutputWithContext(context.Context) ClusterSecondaryConfigPtrOutput
}

ClusterSecondaryConfigPtrInput is an input type that accepts ClusterSecondaryConfigArgs, ClusterSecondaryConfigPtr and ClusterSecondaryConfigPtrOutput values. You can construct a concrete instance of `ClusterSecondaryConfigPtrInput` via:

        ClusterSecondaryConfigArgs{...}

or:

        nil

func ClusterSecondaryConfigPtr added in v7.1.0

func ClusterSecondaryConfigPtr(v *ClusterSecondaryConfigArgs) ClusterSecondaryConfigPtrInput

type ClusterSecondaryConfigPtrOutput added in v7.1.0

type ClusterSecondaryConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterSecondaryConfigPtrOutput) Elem added in v7.1.0

func (ClusterSecondaryConfigPtrOutput) ElementType added in v7.1.0

func (ClusterSecondaryConfigPtrOutput) PrimaryClusterName added in v7.1.0

Name of the primary cluster must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'

func (ClusterSecondaryConfigPtrOutput) ToClusterSecondaryConfigPtrOutput added in v7.1.0

func (o ClusterSecondaryConfigPtrOutput) ToClusterSecondaryConfigPtrOutput() ClusterSecondaryConfigPtrOutput

func (ClusterSecondaryConfigPtrOutput) ToClusterSecondaryConfigPtrOutputWithContext added in v7.1.0

func (o ClusterSecondaryConfigPtrOutput) ToClusterSecondaryConfigPtrOutputWithContext(ctx context.Context) ClusterSecondaryConfigPtrOutput

type ClusterState

type ClusterState struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	// An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
	//
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// The automated backup policy for this cluster. AutomatedBackupPolicy is disabled by default.
	// Structure is documented below.
	AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrInput
	// Cluster created from backup.
	// Structure is documented below.
	BackupSources ClusterBackupSourceArrayInput
	// The ID of the alloydb cluster.
	ClusterId pulumi.StringPtrInput
	// The type of cluster. If not set, defaults to PRIMARY.
	// Default value is `PRIMARY`.
	// Possible values are: `PRIMARY`, `SECONDARY`.
	ClusterType pulumi.StringPtrInput
	// The continuous backup config for this cluster.
	// If no policy is provided then the default policy will be used. The default policy takes one backup a day and retains backups for 14 days.
	// Structure is documented below.
	ContinuousBackupConfig ClusterContinuousBackupConfigPtrInput
	// ContinuousBackupInfo describes the continuous backup properties of a cluster.
	// Structure is documented below.
	ContinuousBackupInfos ClusterContinuousBackupInfoArrayInput
	// The database engine major version. This is an optional field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
	DatabaseVersion pulumi.StringPtrInput
	// Policy to determine if the cluster should be deleted forcefully.
	// Deleting a cluster forcefully, deletes the cluster and all its associated instances within the cluster.
	// Deleting a Secondary cluster with a secondary instance REQUIRES setting deletionPolicy = "FORCE" otherwise an error is returned. This is needed as there is no support to delete just the secondary instance, and the only way to delete secondary instance is to delete the associated secondary cluster forcefully which also deletes the secondary instance.
	DeletionPolicy pulumi.StringPtrInput
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringPtrInput
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.StringMapInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// EncryptionConfig describes the encryption config of a cluster or a backup that is encrypted with a CMEK (customer-managed encryption key).
	// Structure is documented below.
	EncryptionConfig ClusterEncryptionConfigPtrInput
	// (Output)
	// Output only. The encryption information for the WALs and backups required for ContinuousBackup.
	// Structure is documented below.
	EncryptionInfos ClusterEncryptionInfoArrayInput
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringPtrInput
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrInput
	// User-defined labels for the alloydb cluster.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// The location where the alloydb cluster should reside.
	//
	// ***
	Location pulumi.StringPtrInput
	// Cluster created via DMS migration.
	// Structure is documented below.
	MigrationSources ClusterMigrationSourceArrayInput
	// The name of the cluster resource.
	Name pulumi.StringPtrInput
	// (Optional, Deprecated)
	// The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form:
	// "projects/{projectNumber}/global/networks/{network_id}".
	//
	// > **Warning:** `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
	//
	// Deprecated: `network` is deprecated and will be removed in a future major release. Instead, use `networkConfig` to define the network configuration.
	Network pulumi.StringPtrInput
	// Metadata related to network configuration.
	// Structure is documented below.
	NetworkConfig ClusterNetworkConfigPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Output only. Reconciling (https://google.aip.dev/128#reconciliation).
	// Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them.
	// This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolPtrInput
	// The source when restoring from a backup. Conflicts with 'restore_continuous_backup_source', both can't be set together.
	// Structure is documented below.
	RestoreBackupSource ClusterRestoreBackupSourcePtrInput
	// The source when restoring via point in time recovery (PITR). Conflicts with 'restore_backup_source', both can't be set together.
	// Structure is documented below.
	RestoreContinuousBackupSource ClusterRestoreContinuousBackupSourcePtrInput
	// Configuration of the secondary cluster for Cross Region Replication. This should be set if and only if the cluster is of type SECONDARY.
	// Structure is documented below.
	SecondaryConfig ClusterSecondaryConfigPtrInput
	// Output only. The current serving state of the cluster.
	State pulumi.StringPtrInput
	// The system-generated UID of the resource.
	Uid pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetLocationsArgs

type GetLocationsArgs struct {
	// The ID of the project.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getLocations.

type GetLocationsLocation

type GetLocationsLocation struct {
	// The friendly name for this location, typically a nearby city name. For example, "Tokyo".
	DisplayName string `pulumi:"displayName"`
	// Cross-service attributes for the location. For example `{"cloud.googleapis.com/region": "us-east1"}`.
	Labels map[string]string `pulumi:"labels"`
	// The canonical id for this location. For example: "us-east1"..
	LocationId string `pulumi:"locationId"`
	// Service-specific metadata. For example the available capacity at the given location.
	Metadata map[string]string `pulumi:"metadata"`
	// Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1".
	Name string `pulumi:"name"`
}

type GetLocationsLocationArgs

type GetLocationsLocationArgs struct {
	// The friendly name for this location, typically a nearby city name. For example, "Tokyo".
	DisplayName pulumi.StringInput `pulumi:"displayName"`
	// Cross-service attributes for the location. For example `{"cloud.googleapis.com/region": "us-east1"}`.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// The canonical id for this location. For example: "us-east1"..
	LocationId pulumi.StringInput `pulumi:"locationId"`
	// Service-specific metadata. For example the available capacity at the given location.
	Metadata pulumi.StringMapInput `pulumi:"metadata"`
	// Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1".
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetLocationsLocationArgs) ElementType

func (GetLocationsLocationArgs) ElementType() reflect.Type

func (GetLocationsLocationArgs) ToGetLocationsLocationOutput

func (i GetLocationsLocationArgs) ToGetLocationsLocationOutput() GetLocationsLocationOutput

func (GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext

func (i GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput

type GetLocationsLocationArray

type GetLocationsLocationArray []GetLocationsLocationInput

func (GetLocationsLocationArray) ElementType

func (GetLocationsLocationArray) ElementType() reflect.Type

func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutput

func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput

func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext

func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput

type GetLocationsLocationArrayInput

type GetLocationsLocationArrayInput interface {
	pulumi.Input

	ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput
	ToGetLocationsLocationArrayOutputWithContext(context.Context) GetLocationsLocationArrayOutput
}

GetLocationsLocationArrayInput is an input type that accepts GetLocationsLocationArray and GetLocationsLocationArrayOutput values. You can construct a concrete instance of `GetLocationsLocationArrayInput` via:

GetLocationsLocationArray{ GetLocationsLocationArgs{...} }

type GetLocationsLocationArrayOutput

type GetLocationsLocationArrayOutput struct{ *pulumi.OutputState }

func (GetLocationsLocationArrayOutput) ElementType

func (GetLocationsLocationArrayOutput) Index

func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput

func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput

func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext

func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext(ctx context.Context) GetLocationsLocationArrayOutput

type GetLocationsLocationInput

type GetLocationsLocationInput interface {
	pulumi.Input

	ToGetLocationsLocationOutput() GetLocationsLocationOutput
	ToGetLocationsLocationOutputWithContext(context.Context) GetLocationsLocationOutput
}

GetLocationsLocationInput is an input type that accepts GetLocationsLocationArgs and GetLocationsLocationOutput values. You can construct a concrete instance of `GetLocationsLocationInput` via:

GetLocationsLocationArgs{...}

type GetLocationsLocationOutput

type GetLocationsLocationOutput struct{ *pulumi.OutputState }

func (GetLocationsLocationOutput) DisplayName

The friendly name for this location, typically a nearby city name. For example, "Tokyo".

func (GetLocationsLocationOutput) ElementType

func (GetLocationsLocationOutput) ElementType() reflect.Type

func (GetLocationsLocationOutput) Labels

Cross-service attributes for the location. For example `{"cloud.googleapis.com/region": "us-east1"}`.

func (GetLocationsLocationOutput) LocationId

The canonical id for this location. For example: "us-east1"..

func (GetLocationsLocationOutput) Metadata

Service-specific metadata. For example the available capacity at the given location.

func (GetLocationsLocationOutput) Name

Resource name for the location, which may vary between implementations. For example: "projects/example-project/locations/us-east1".

func (GetLocationsLocationOutput) ToGetLocationsLocationOutput

func (o GetLocationsLocationOutput) ToGetLocationsLocationOutput() GetLocationsLocationOutput

func (GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext

func (o GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext(ctx context.Context) GetLocationsLocationOutput

type GetLocationsOutputArgs

type GetLocationsOutputArgs struct {
	// The ID of the project.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getLocations.

func (GetLocationsOutputArgs) ElementType

func (GetLocationsOutputArgs) ElementType() reflect.Type

type GetLocationsResult

type GetLocationsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Contains a list of `location`, which contains the details about a particular location.
	Locations []GetLocationsLocation `pulumi:"locations"`
	Project   *string                `pulumi:"project"`
}

A collection of values returned by getLocations.

func GetLocations

func GetLocations(ctx *pulumi.Context, args *GetLocationsArgs, opts ...pulumi.InvokeOption) (*GetLocationsResult, error)

Use this data source to get information about the available locations. For more details refer the [API docs](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations).

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alloydb.GetLocations(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetLocationsResultOutput

type GetLocationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLocations.

func (GetLocationsResultOutput) ElementType

func (GetLocationsResultOutput) ElementType() reflect.Type

func (GetLocationsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetLocationsResultOutput) Locations

Contains a list of `location`, which contains the details about a particular location.

func (GetLocationsResultOutput) Project

func (GetLocationsResultOutput) ToGetLocationsResultOutput

func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput

func (GetLocationsResultOutput) ToGetLocationsResultOutputWithContext

func (o GetLocationsResultOutput) ToGetLocationsResultOutputWithContext(ctx context.Context) GetLocationsResultOutput

type GetSupportedDatabaseFlagsArgs

type GetSupportedDatabaseFlagsArgs struct {
	// The canonical id of the location. For example: `us-east1`.
	Location string `pulumi:"location"`
	// The ID of the project.
	Project *string `pulumi:"project"`
}

A collection of arguments for invoking getSupportedDatabaseFlags.

type GetSupportedDatabaseFlagsOutputArgs

type GetSupportedDatabaseFlagsOutputArgs struct {
	// The canonical id of the location. For example: `us-east1`.
	Location pulumi.StringInput `pulumi:"location"`
	// The ID of the project.
	Project pulumi.StringPtrInput `pulumi:"project"`
}

A collection of arguments for invoking getSupportedDatabaseFlags.

func (GetSupportedDatabaseFlagsOutputArgs) ElementType

type GetSupportedDatabaseFlagsResult

type GetSupportedDatabaseFlagsResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id       string  `pulumi:"id"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
	// Contains a list of `flag`, which contains the details about a particular flag.
	SupportedDatabaseFlags []GetSupportedDatabaseFlagsSupportedDatabaseFlag `pulumi:"supportedDatabaseFlags"`
}

A collection of values returned by getSupportedDatabaseFlags.

func GetSupportedDatabaseFlags

func GetSupportedDatabaseFlags(ctx *pulumi.Context, args *GetSupportedDatabaseFlagsArgs, opts ...pulumi.InvokeOption) (*GetSupportedDatabaseFlagsResult, error)

Use this data source to get information about the supported alloydb database flags in a location.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := alloydb.GetSupportedDatabaseFlags(ctx, &alloydb.GetSupportedDatabaseFlagsArgs{
			Location: "us-central1",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetSupportedDatabaseFlagsResultOutput

type GetSupportedDatabaseFlagsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSupportedDatabaseFlags.

func (GetSupportedDatabaseFlagsResultOutput) ElementType

func (GetSupportedDatabaseFlagsResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetSupportedDatabaseFlagsResultOutput) Location

func (GetSupportedDatabaseFlagsResultOutput) Project

func (GetSupportedDatabaseFlagsResultOutput) SupportedDatabaseFlags

Contains a list of `flag`, which contains the details about a particular flag.

func (GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutput

func (o GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutput() GetSupportedDatabaseFlagsResultOutput

func (GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutputWithContext

func (o GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsResultOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlag

type GetSupportedDatabaseFlagsSupportedDatabaseFlag struct {
	// Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
	AcceptsMultipleValues bool `pulumi:"acceptsMultipleValues"`
	// The name of the database flag, e.g. "maxAllowedPackets". The is a possibly key for the Instance.database_flags map field.
	FlagName string `pulumi:"flagName"`
	// Restriction on `INTEGER` type value. Specifies the minimum value and the maximum value that can be specified, if applicable.
	IntegerRestrictions GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictions `pulumi:"integerRestrictions"`
	// The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.
	Name string `pulumi:"name"`
	// Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
	RequiresDbRestart bool `pulumi:"requiresDbRestart"`
	// Restriction on `STRING` type value. The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
	StringRestrictions GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictions `pulumi:"stringRestrictions"`
	// Major database engine versions for which this flag is supported. The supported values are `POSTGRES_14` and `DATABASE_VERSION_UNSPECIFIED`.
	SupportedDbVersions []string `pulumi:"supportedDbVersions"`
	// ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14". The supported values are `VALUE_TYPE_UNSPECIFIED`, `STRING`, `INTEGER`, `FLOAT` and `NONE`.
	ValueType string `pulumi:"valueType"`
}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs struct {
	// Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.
	AcceptsMultipleValues pulumi.BoolInput `pulumi:"acceptsMultipleValues"`
	// The name of the database flag, e.g. "maxAllowedPackets". The is a possibly key for the Instance.database_flags map field.
	FlagName pulumi.StringInput `pulumi:"flagName"`
	// Restriction on `INTEGER` type value. Specifies the minimum value and the maximum value that can be specified, if applicable.
	IntegerRestrictions GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsInput `pulumi:"integerRestrictions"`
	// The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.
	Name pulumi.StringInput `pulumi:"name"`
	// Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).
	RequiresDbRestart pulumi.BoolInput `pulumi:"requiresDbRestart"`
	// Restriction on `STRING` type value. The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
	StringRestrictions GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsInput `pulumi:"stringRestrictions"`
	// Major database engine versions for which this flag is supported. The supported values are `POSTGRES_14` and `DATABASE_VERSION_UNSPECIFIED`.
	SupportedDbVersions pulumi.StringArrayInput `pulumi:"supportedDbVersions"`
	// ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14". The supported values are `VALUE_TYPE_UNSPECIFIED`, `STRING`, `INTEGER`, `FLOAT` and `NONE`.
	ValueType pulumi.StringInput `pulumi:"valueType"`
}

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArray

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArray []GetSupportedDatabaseFlagsSupportedDatabaseFlagInput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayInput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayInput interface {
	pulumi.Input

	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput
	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext(context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput
}

GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayInput is an input type that accepts GetSupportedDatabaseFlagsSupportedDatabaseFlagArray and GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput values. You can construct a concrete instance of `GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayInput` via:

GetSupportedDatabaseFlagsSupportedDatabaseFlagArray{ GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs{...} }

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) Index

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext

func (o GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagInput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagInput interface {
	pulumi.Input

	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput
	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext(context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput
}

GetSupportedDatabaseFlagsSupportedDatabaseFlagInput is an input type that accepts GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs and GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput values. You can construct a concrete instance of `GetSupportedDatabaseFlagsSupportedDatabaseFlagInput` via:

GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs{...}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictions

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictions struct {
	// The maximum value that can be specified, if applicable.
	MaxValue string `pulumi:"maxValue"`
	// The minimum value that can be specified, if applicable.
	MinValue string `pulumi:"minValue"`
}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs struct {
	// The maximum value that can be specified, if applicable.
	MaxValue pulumi.StringInput `pulumi:"maxValue"`
	// The minimum value that can be specified, if applicable.
	MinValue pulumi.StringInput `pulumi:"minValue"`
}

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsInput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsInput interface {
	pulumi.Input

	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput
	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext(context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput
}

GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsInput is an input type that accepts GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs and GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput values. You can construct a concrete instance of `GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsInput` via:

GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs{...}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) MaxValue

The maximum value that can be specified, if applicable.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) MinValue

The minimum value that can be specified, if applicable.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext

func (o GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) AcceptsMultipleValues

Whether the database flag accepts multiple values. If true, a comma-separated list of stringified values may be specified.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) FlagName

The name of the database flag, e.g. "maxAllowedPackets". The is a possibly key for the Instance.database_flags map field.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) IntegerRestrictions

Restriction on `INTEGER` type value. Specifies the minimum value and the maximum value that can be specified, if applicable.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) Name

The name of the flag resource, following Google Cloud conventions, e.g.: * projects/{project}/locations/{location}/flags/{flag} This field currently has no semantic meaning.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) RequiresDbRestart

Whether setting or updating this flag on an Instance requires a database restart. If a flag that requires database restart is set, the backend will automatically restart the database (making sure to satisfy any availability SLO's).

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) StringRestrictions

Restriction on `STRING` type value. The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) SupportedDbVersions

Major database engine versions for which this flag is supported. The supported values are `POSTGRES_14` and `DATABASE_VERSION_UNSPECIFIED`.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext

func (o GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ValueType

ValueType describes the semantic type of the value that the flag accepts. Regardless of the ValueType, the Instance.database_flags field accepts the stringified version of the value, i.e. "20" or "3.14". The supported values are `VALUE_TYPE_UNSPECIFIED`, `STRING`, `INTEGER`, `FLOAT` and `NONE`.

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictions

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictions struct {
	// The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
	AllowedValues []string `pulumi:"allowedValues"`
}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs struct {
	// The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.
	AllowedValues pulumi.StringArrayInput `pulumi:"allowedValues"`
}

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsInput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsInput interface {
	pulumi.Input

	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput
	ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext(context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput
}

GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsInput is an input type that accepts GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs and GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput values. You can construct a concrete instance of `GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsInput` via:

GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs{...}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) AllowedValues

The list of allowed values, if bounded. This field will be empty if there is a unbounded number of allowed values.

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ElementType

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext

func (o GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext(ctx context.Context) GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances.
	// Note that primary and read instances can have different availability types.
	// Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance.
	// Zone is automatically chosen from the list of zones in the region specified.
	// Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
	// can have regional availability (nodes are present in 2 or more zones in a region).'
	// Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
	AvailabilityType pulumi.StringOutput `pulumi:"availabilityType"`
	// Client connection specific configurations.
	// Structure is documented below.
	ClientConnectionConfig InstanceClientConnectionConfigOutput `pulumi:"clientConnectionConfig"`
	// Identifies the alloydb cluster. Must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	Cluster pulumi.StringOutput `pulumi:"cluster"`
	// Time the Instance was created in UTC.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
	DatabaseFlags pulumi.StringMapOutput `pulumi:"databaseFlags"`
	// User-settable and human-readable display name for the Instance.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"`
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"`
	// The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
	GceZone pulumi.StringPtrOutput `pulumi:"gceZone"`
	// The ID of the alloydb instance.
	//
	// ***
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
	// 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
	// secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
	// google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
	// type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
	// instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
	// the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
	// importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
	// "SECONDARY"]
	InstanceType pulumi.StringOutput `pulumi:"instanceType"`
	// The IP address for the Instance. This is the connection endpoint for an end-user application.
	IpAddress pulumi.StringOutput `pulumi:"ipAddress"`
	// User-defined labels for the alloydb instance.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapOutput `pulumi:"labels"`
	// Configurations for the machines that host the underlying database engine.
	// Structure is documented below.
	MachineConfig InstanceMachineConfigOutput `pulumi:"machineConfig"`
	// The name of the instance resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"`
	// Configuration for query insights.
	// Structure is documented below.
	QueryInsightsConfig InstanceQueryInsightsConfigOutput `pulumi:"queryInsightsConfig"`
	// Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
	// Structure is documented below.
	ReadPoolConfig InstanceReadPoolConfigPtrOutput `pulumi:"readPoolConfig"`
	// Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// The current state of the alloydb instance.
	State pulumi.StringOutput `pulumi:"state"`
	// The system-generated UID of the resource.
	Uid pulumi.StringOutput `pulumi:"uid"`
	// Time the Instance was updated in UTC.
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

## Example Usage

### Alloydb Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-network"),
		})
		if err != nil {
			return err
		}
		defaultCluster, err := alloydb.NewCluster(ctx, "default", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   defaultNetwork.ID(),
			InitialUser: &alloydb.ClusterInitialUserArgs{
				Password: pulumi.String("alloydb-cluster"),
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "default", &alloydb.InstanceArgs{
			Cluster:      defaultCluster.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
			MachineConfig: &alloydb.InstanceMachineConfigArgs{
				CpuCount: pulumi.Int(2),
			},
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: defaultNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb Secondary Instance Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-secondary-network"),
		})
		if err != nil {
			return err
		}
		primary, err := alloydb.NewCluster(ctx, "primary", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-primary-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   _default.ID(),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "primary", &alloydb.InstanceArgs{
			Cluster:      primary.Name,
			InstanceId:   pulumi.String("alloydb-primary-instance"),
			InstanceType: pulumi.String("PRIMARY"),
			MachineConfig: &alloydb.InstanceMachineConfigArgs{
				CpuCount: pulumi.Int(2),
			},
		})
		if err != nil {
			return err
		}
		secondary, err := alloydb.NewCluster(ctx, "secondary", &alloydb.ClusterArgs{
			ClusterId:   pulumi.String("alloydb-secondary-cluster"),
			Location:    pulumi.String("us-east1"),
			Network:     _default.ID(),
			ClusterType: pulumi.String("SECONDARY"),
			ContinuousBackupConfig: &alloydb.ClusterContinuousBackupConfigArgs{
				Enabled: pulumi.Bool(false),
			},
			SecondaryConfig: &alloydb.ClusterSecondaryConfigArgs{
				PrimaryClusterName: primary.Name,
			},
			DeletionPolicy: pulumi.String("FORCE"),
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "secondary", &alloydb.InstanceArgs{
			Cluster:      secondary.Name,
			InstanceId:   pulumi.String("alloydb-secondary-instance"),
			InstanceType: secondary.ClusterType,
			MachineConfig: &alloydb.InstanceMachineConfigArgs{
				CpuCount: pulumi.Int(2),
			},
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-secondary-instance"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      _default.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: _default.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Instance can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}}`

* `{{project}}/{{location}}/{{cluster}}/{{instance_id}}`

* `{{location}}/{{cluster}}/{{instance_id}}`

When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:alloydb/instance:Instance default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/instances/{{instance_id}} ```

```sh $ pulumi import gcp:alloydb/instance:Instance default {{project}}/{{location}}/{{cluster}}/{{instance_id}} ```

```sh $ pulumi import gcp:alloydb/instance:Instance default {{location}}/{{cluster}}/{{instance_id}} ```

func GetInstance

func GetInstance(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)

GetInstance gets an existing Instance 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 NewInstance

func NewInstance(ctx *pulumi.Context,
	name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

type InstanceArgs

type InstanceArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances.
	// Note that primary and read instances can have different availability types.
	// Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance.
	// Zone is automatically chosen from the list of zones in the region specified.
	// Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
	// can have regional availability (nodes are present in 2 or more zones in a region).'
	// Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
	AvailabilityType pulumi.StringPtrInput
	// Client connection specific configurations.
	// Structure is documented below.
	ClientConnectionConfig InstanceClientConnectionConfigPtrInput
	// Identifies the alloydb cluster. Must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	Cluster pulumi.StringInput
	// Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
	DatabaseFlags pulumi.StringMapInput
	// User-settable and human-readable display name for the Instance.
	DisplayName pulumi.StringPtrInput
	// The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
	GceZone pulumi.StringPtrInput
	// The ID of the alloydb instance.
	//
	// ***
	InstanceId pulumi.StringInput
	// The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
	// 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
	// secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
	// google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
	// type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
	// instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
	// the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
	// importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
	// "SECONDARY"]
	InstanceType pulumi.StringInput
	// User-defined labels for the alloydb instance.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Configurations for the machines that host the underlying database engine.
	// Structure is documented below.
	MachineConfig InstanceMachineConfigPtrInput
	// Configuration for query insights.
	// Structure is documented below.
	QueryInsightsConfig InstanceQueryInsightsConfigPtrInput
	// Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
	// Structure is documented below.
	ReadPoolConfig InstanceReadPoolConfigPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray

type InstanceArray []InstanceInput

func (InstanceArray) ElementType

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext

func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceArrayInput

type InstanceArrayInput interface {
	pulumi.Input

	ToInstanceArrayOutput() InstanceArrayOutput
	ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput
}

InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:

InstanceArray{ InstanceArgs{...} }

type InstanceArrayOutput

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index

func (InstanceArrayOutput) ToInstanceArrayOutput

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext

func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput

type InstanceClientConnectionConfig added in v7.1.0

type InstanceClientConnectionConfig struct {
	// Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
	RequireConnectors *bool `pulumi:"requireConnectors"`
	// SSL config option for this instance.
	// Structure is documented below.
	SslConfig *InstanceClientConnectionConfigSslConfig `pulumi:"sslConfig"`
}

type InstanceClientConnectionConfigArgs added in v7.1.0

type InstanceClientConnectionConfigArgs struct {
	// Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
	RequireConnectors pulumi.BoolPtrInput `pulumi:"requireConnectors"`
	// SSL config option for this instance.
	// Structure is documented below.
	SslConfig InstanceClientConnectionConfigSslConfigPtrInput `pulumi:"sslConfig"`
}

func (InstanceClientConnectionConfigArgs) ElementType added in v7.1.0

func (InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigOutput added in v7.1.0

func (i InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigOutput() InstanceClientConnectionConfigOutput

func (InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigOutputWithContext added in v7.1.0

func (i InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigOutputWithContext(ctx context.Context) InstanceClientConnectionConfigOutput

func (InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigPtrOutput added in v7.1.0

func (i InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigPtrOutput() InstanceClientConnectionConfigPtrOutput

func (InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigPtrOutputWithContext added in v7.1.0

func (i InstanceClientConnectionConfigArgs) ToInstanceClientConnectionConfigPtrOutputWithContext(ctx context.Context) InstanceClientConnectionConfigPtrOutput

type InstanceClientConnectionConfigInput added in v7.1.0

type InstanceClientConnectionConfigInput interface {
	pulumi.Input

	ToInstanceClientConnectionConfigOutput() InstanceClientConnectionConfigOutput
	ToInstanceClientConnectionConfigOutputWithContext(context.Context) InstanceClientConnectionConfigOutput
}

InstanceClientConnectionConfigInput is an input type that accepts InstanceClientConnectionConfigArgs and InstanceClientConnectionConfigOutput values. You can construct a concrete instance of `InstanceClientConnectionConfigInput` via:

InstanceClientConnectionConfigArgs{...}

type InstanceClientConnectionConfigOutput added in v7.1.0

type InstanceClientConnectionConfigOutput struct{ *pulumi.OutputState }

func (InstanceClientConnectionConfigOutput) ElementType added in v7.1.0

func (InstanceClientConnectionConfigOutput) RequireConnectors added in v7.1.0

Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

func (InstanceClientConnectionConfigOutput) SslConfig added in v7.1.0

SSL config option for this instance. Structure is documented below.

func (InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigOutput added in v7.1.0

func (o InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigOutput() InstanceClientConnectionConfigOutput

func (InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigOutputWithContext added in v7.1.0

func (o InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigOutputWithContext(ctx context.Context) InstanceClientConnectionConfigOutput

func (InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigPtrOutput added in v7.1.0

func (o InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigPtrOutput() InstanceClientConnectionConfigPtrOutput

func (InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigPtrOutputWithContext added in v7.1.0

func (o InstanceClientConnectionConfigOutput) ToInstanceClientConnectionConfigPtrOutputWithContext(ctx context.Context) InstanceClientConnectionConfigPtrOutput

type InstanceClientConnectionConfigPtrInput added in v7.1.0

type InstanceClientConnectionConfigPtrInput interface {
	pulumi.Input

	ToInstanceClientConnectionConfigPtrOutput() InstanceClientConnectionConfigPtrOutput
	ToInstanceClientConnectionConfigPtrOutputWithContext(context.Context) InstanceClientConnectionConfigPtrOutput
}

InstanceClientConnectionConfigPtrInput is an input type that accepts InstanceClientConnectionConfigArgs, InstanceClientConnectionConfigPtr and InstanceClientConnectionConfigPtrOutput values. You can construct a concrete instance of `InstanceClientConnectionConfigPtrInput` via:

        InstanceClientConnectionConfigArgs{...}

or:

        nil

type InstanceClientConnectionConfigPtrOutput added in v7.1.0

type InstanceClientConnectionConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceClientConnectionConfigPtrOutput) Elem added in v7.1.0

func (InstanceClientConnectionConfigPtrOutput) ElementType added in v7.1.0

func (InstanceClientConnectionConfigPtrOutput) RequireConnectors added in v7.1.0

Configuration to enforce connectors only (ex: AuthProxy) connections to the database.

func (InstanceClientConnectionConfigPtrOutput) SslConfig added in v7.1.0

SSL config option for this instance. Structure is documented below.

func (InstanceClientConnectionConfigPtrOutput) ToInstanceClientConnectionConfigPtrOutput added in v7.1.0

func (o InstanceClientConnectionConfigPtrOutput) ToInstanceClientConnectionConfigPtrOutput() InstanceClientConnectionConfigPtrOutput

func (InstanceClientConnectionConfigPtrOutput) ToInstanceClientConnectionConfigPtrOutputWithContext added in v7.1.0

func (o InstanceClientConnectionConfigPtrOutput) ToInstanceClientConnectionConfigPtrOutputWithContext(ctx context.Context) InstanceClientConnectionConfigPtrOutput

type InstanceClientConnectionConfigSslConfig added in v7.1.0

type InstanceClientConnectionConfigSslConfig struct {
	// SSL mode. Specifies client-server SSL/TLS connection behavior.
	// Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
	SslMode *string `pulumi:"sslMode"`
}

type InstanceClientConnectionConfigSslConfigArgs added in v7.1.0

type InstanceClientConnectionConfigSslConfigArgs struct {
	// SSL mode. Specifies client-server SSL/TLS connection behavior.
	// Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.
	SslMode pulumi.StringPtrInput `pulumi:"sslMode"`
}

func (InstanceClientConnectionConfigSslConfigArgs) ElementType added in v7.1.0

func (InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigOutput added in v7.1.0

func (i InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigOutput() InstanceClientConnectionConfigSslConfigOutput

func (InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigOutputWithContext added in v7.1.0

func (i InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigOutputWithContext(ctx context.Context) InstanceClientConnectionConfigSslConfigOutput

func (InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigPtrOutput added in v7.1.0

func (i InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigPtrOutput() InstanceClientConnectionConfigSslConfigPtrOutput

func (InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext added in v7.1.0

func (i InstanceClientConnectionConfigSslConfigArgs) ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext(ctx context.Context) InstanceClientConnectionConfigSslConfigPtrOutput

type InstanceClientConnectionConfigSslConfigInput added in v7.1.0

type InstanceClientConnectionConfigSslConfigInput interface {
	pulumi.Input

	ToInstanceClientConnectionConfigSslConfigOutput() InstanceClientConnectionConfigSslConfigOutput
	ToInstanceClientConnectionConfigSslConfigOutputWithContext(context.Context) InstanceClientConnectionConfigSslConfigOutput
}

InstanceClientConnectionConfigSslConfigInput is an input type that accepts InstanceClientConnectionConfigSslConfigArgs and InstanceClientConnectionConfigSslConfigOutput values. You can construct a concrete instance of `InstanceClientConnectionConfigSslConfigInput` via:

InstanceClientConnectionConfigSslConfigArgs{...}

type InstanceClientConnectionConfigSslConfigOutput added in v7.1.0

type InstanceClientConnectionConfigSslConfigOutput struct{ *pulumi.OutputState }

func (InstanceClientConnectionConfigSslConfigOutput) ElementType added in v7.1.0

func (InstanceClientConnectionConfigSslConfigOutput) SslMode added in v7.1.0

SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.

func (InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigOutput added in v7.1.0

func (o InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigOutput() InstanceClientConnectionConfigSslConfigOutput

func (InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigOutputWithContext added in v7.1.0

func (o InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigOutputWithContext(ctx context.Context) InstanceClientConnectionConfigSslConfigOutput

func (InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigPtrOutput added in v7.1.0

func (o InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigPtrOutput() InstanceClientConnectionConfigSslConfigPtrOutput

func (InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext added in v7.1.0

func (o InstanceClientConnectionConfigSslConfigOutput) ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext(ctx context.Context) InstanceClientConnectionConfigSslConfigPtrOutput

type InstanceClientConnectionConfigSslConfigPtrInput added in v7.1.0

type InstanceClientConnectionConfigSslConfigPtrInput interface {
	pulumi.Input

	ToInstanceClientConnectionConfigSslConfigPtrOutput() InstanceClientConnectionConfigSslConfigPtrOutput
	ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext(context.Context) InstanceClientConnectionConfigSslConfigPtrOutput
}

InstanceClientConnectionConfigSslConfigPtrInput is an input type that accepts InstanceClientConnectionConfigSslConfigArgs, InstanceClientConnectionConfigSslConfigPtr and InstanceClientConnectionConfigSslConfigPtrOutput values. You can construct a concrete instance of `InstanceClientConnectionConfigSslConfigPtrInput` via:

        InstanceClientConnectionConfigSslConfigArgs{...}

or:

        nil

type InstanceClientConnectionConfigSslConfigPtrOutput added in v7.1.0

type InstanceClientConnectionConfigSslConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceClientConnectionConfigSslConfigPtrOutput) Elem added in v7.1.0

func (InstanceClientConnectionConfigSslConfigPtrOutput) ElementType added in v7.1.0

func (InstanceClientConnectionConfigSslConfigPtrOutput) SslMode added in v7.1.0

SSL mode. Specifies client-server SSL/TLS connection behavior. Possible values are: `ENCRYPTED_ONLY`, `ALLOW_UNENCRYPTED_AND_ENCRYPTED`.

func (InstanceClientConnectionConfigSslConfigPtrOutput) ToInstanceClientConnectionConfigSslConfigPtrOutput added in v7.1.0

func (o InstanceClientConnectionConfigSslConfigPtrOutput) ToInstanceClientConnectionConfigSslConfigPtrOutput() InstanceClientConnectionConfigSslConfigPtrOutput

func (InstanceClientConnectionConfigSslConfigPtrOutput) ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext added in v7.1.0

func (o InstanceClientConnectionConfigSslConfigPtrOutput) ToInstanceClientConnectionConfigSslConfigPtrOutputWithContext(ctx context.Context) InstanceClientConnectionConfigSslConfigPtrOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

	ToInstanceOutput() InstanceOutput
	ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
}

type InstanceMachineConfig

type InstanceMachineConfig struct {
	// The number of CPU's in the VM instance.
	CpuCount *int `pulumi:"cpuCount"`
}

type InstanceMachineConfigArgs

type InstanceMachineConfigArgs struct {
	// The number of CPU's in the VM instance.
	CpuCount pulumi.IntPtrInput `pulumi:"cpuCount"`
}

func (InstanceMachineConfigArgs) ElementType

func (InstanceMachineConfigArgs) ElementType() reflect.Type

func (InstanceMachineConfigArgs) ToInstanceMachineConfigOutput

func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput

func (InstanceMachineConfigArgs) ToInstanceMachineConfigOutputWithContext

func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutputWithContext(ctx context.Context) InstanceMachineConfigOutput

func (InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput

func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput

func (InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutputWithContext

func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput

type InstanceMachineConfigInput

type InstanceMachineConfigInput interface {
	pulumi.Input

	ToInstanceMachineConfigOutput() InstanceMachineConfigOutput
	ToInstanceMachineConfigOutputWithContext(context.Context) InstanceMachineConfigOutput
}

InstanceMachineConfigInput is an input type that accepts InstanceMachineConfigArgs and InstanceMachineConfigOutput values. You can construct a concrete instance of `InstanceMachineConfigInput` via:

InstanceMachineConfigArgs{...}

type InstanceMachineConfigOutput

type InstanceMachineConfigOutput struct{ *pulumi.OutputState }

func (InstanceMachineConfigOutput) CpuCount

The number of CPU's in the VM instance.

func (InstanceMachineConfigOutput) ElementType

func (InstanceMachineConfigOutput) ToInstanceMachineConfigOutput

func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput

func (InstanceMachineConfigOutput) ToInstanceMachineConfigOutputWithContext

func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutputWithContext(ctx context.Context) InstanceMachineConfigOutput

func (InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput

func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput

func (InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutputWithContext

func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput

type InstanceMachineConfigPtrInput

type InstanceMachineConfigPtrInput interface {
	pulumi.Input

	ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
	ToInstanceMachineConfigPtrOutputWithContext(context.Context) InstanceMachineConfigPtrOutput
}

InstanceMachineConfigPtrInput is an input type that accepts InstanceMachineConfigArgs, InstanceMachineConfigPtr and InstanceMachineConfigPtrOutput values. You can construct a concrete instance of `InstanceMachineConfigPtrInput` via:

        InstanceMachineConfigArgs{...}

or:

        nil

type InstanceMachineConfigPtrOutput

type InstanceMachineConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceMachineConfigPtrOutput) CpuCount

The number of CPU's in the VM instance.

func (InstanceMachineConfigPtrOutput) Elem

func (InstanceMachineConfigPtrOutput) ElementType

func (InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput

func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput

func (InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutputWithContext

func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput

type InstanceMap

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext

func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceMapInput

type InstanceMapInput interface {
	pulumi.Input

	ToInstanceMapOutput() InstanceMapOutput
	ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput
}

InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:

InstanceMap{ "key": InstanceArgs{...} }

type InstanceMapOutput

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex

func (InstanceMapOutput) ToInstanceMapOutput

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext

func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) Annotations

func (o InstanceOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.

func (InstanceOutput) AvailabilityType

func (o InstanceOutput) AvailabilityType() pulumi.StringOutput

'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. Note that primary and read instances can have different availability types. Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance. Zone is automatically chosen from the list of zones in the region specified. Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more can have regional availability (nodes are present in 2 or more zones in a region).' Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.

func (InstanceOutput) ClientConnectionConfig added in v7.1.0

func (o InstanceOutput) ClientConnectionConfig() InstanceClientConnectionConfigOutput

Client connection specific configurations. Structure is documented below.

func (InstanceOutput) Cluster

func (o InstanceOutput) Cluster() pulumi.StringOutput

Identifies the alloydb cluster. Must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Time the Instance was created in UTC.

func (InstanceOutput) DatabaseFlags

func (o InstanceOutput) DatabaseFlags() pulumi.StringMapOutput

Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.

func (InstanceOutput) DisplayName

func (o InstanceOutput) DisplayName() pulumi.StringPtrOutput

User-settable and human-readable display name for the Instance.

func (InstanceOutput) EffectiveAnnotations

func (o InstanceOutput) EffectiveAnnotations() pulumi.StringMapOutput

All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through Terraform, other clients and services.

func (InstanceOutput) EffectiveLabels

func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput

All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) GceZone

The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.

func (InstanceOutput) InstanceId

func (o InstanceOutput) InstanceId() pulumi.StringOutput

The ID of the alloydb instance.

***

func (InstanceOutput) InstanceType

func (o InstanceOutput) InstanceType() pulumi.StringOutput

The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated secondary cluster instead of mentioning SECONDARY. Example: {instance_type = google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL", "SECONDARY"]

func (InstanceOutput) IpAddress

func (o InstanceOutput) IpAddress() pulumi.StringOutput

The IP address for the Instance. This is the connection endpoint for an end-user application.

func (InstanceOutput) Labels

User-defined labels for the alloydb instance. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.

func (InstanceOutput) MachineConfig

func (o InstanceOutput) MachineConfig() InstanceMachineConfigOutput

Configurations for the machines that host the underlying database engine. Structure is documented below.

func (InstanceOutput) Name

The name of the instance resource.

func (InstanceOutput) PulumiLabels

func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput

The combination of labels configured directly on the resource and default labels configured on the provider.

func (InstanceOutput) QueryInsightsConfig

func (o InstanceOutput) QueryInsightsConfig() InstanceQueryInsightsConfigOutput

Configuration for query insights. Structure is documented below.

func (InstanceOutput) ReadPoolConfig

Read pool specific config. If the instance type is READ_POOL, this configuration must be provided. Structure is documented below.

func (InstanceOutput) Reconciling

func (o InstanceOutput) Reconciling() pulumi.BoolOutput

Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.

func (InstanceOutput) State

The current state of the alloydb instance.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput

func (InstanceOutput) Uid

The system-generated UID of the resource.

func (InstanceOutput) UpdateTime

func (o InstanceOutput) UpdateTime() pulumi.StringOutput

Time the Instance was updated in UTC.

type InstanceQueryInsightsConfig

type InstanceQueryInsightsConfig struct {
	// Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
	QueryPlansPerMinute *int `pulumi:"queryPlansPerMinute"`
	// Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
	QueryStringLength *int `pulumi:"queryStringLength"`
	// Record application tags for an instance. This flag is turned "on" by default.
	RecordApplicationTags *bool `pulumi:"recordApplicationTags"`
	// Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
	RecordClientAddress *bool `pulumi:"recordClientAddress"`
}

type InstanceQueryInsightsConfigArgs

type InstanceQueryInsightsConfigArgs struct {
	// Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.
	QueryPlansPerMinute pulumi.IntPtrInput `pulumi:"queryPlansPerMinute"`
	// Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.
	QueryStringLength pulumi.IntPtrInput `pulumi:"queryStringLength"`
	// Record application tags for an instance. This flag is turned "on" by default.
	RecordApplicationTags pulumi.BoolPtrInput `pulumi:"recordApplicationTags"`
	// Record client address for an instance. Client address is PII information. This flag is turned "on" by default.
	RecordClientAddress pulumi.BoolPtrInput `pulumi:"recordClientAddress"`
}

func (InstanceQueryInsightsConfigArgs) ElementType

func (InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigOutput

func (i InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigOutput() InstanceQueryInsightsConfigOutput

func (InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigOutputWithContext

func (i InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigOutputWithContext(ctx context.Context) InstanceQueryInsightsConfigOutput

func (InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigPtrOutput

func (i InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigPtrOutput() InstanceQueryInsightsConfigPtrOutput

func (InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigPtrOutputWithContext

func (i InstanceQueryInsightsConfigArgs) ToInstanceQueryInsightsConfigPtrOutputWithContext(ctx context.Context) InstanceQueryInsightsConfigPtrOutput

type InstanceQueryInsightsConfigInput

type InstanceQueryInsightsConfigInput interface {
	pulumi.Input

	ToInstanceQueryInsightsConfigOutput() InstanceQueryInsightsConfigOutput
	ToInstanceQueryInsightsConfigOutputWithContext(context.Context) InstanceQueryInsightsConfigOutput
}

InstanceQueryInsightsConfigInput is an input type that accepts InstanceQueryInsightsConfigArgs and InstanceQueryInsightsConfigOutput values. You can construct a concrete instance of `InstanceQueryInsightsConfigInput` via:

InstanceQueryInsightsConfigArgs{...}

type InstanceQueryInsightsConfigOutput

type InstanceQueryInsightsConfigOutput struct{ *pulumi.OutputState }

func (InstanceQueryInsightsConfigOutput) ElementType

func (InstanceQueryInsightsConfigOutput) QueryPlansPerMinute

func (o InstanceQueryInsightsConfigOutput) QueryPlansPerMinute() pulumi.IntPtrOutput

Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.

func (InstanceQueryInsightsConfigOutput) QueryStringLength

Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.

func (InstanceQueryInsightsConfigOutput) RecordApplicationTags

func (o InstanceQueryInsightsConfigOutput) RecordApplicationTags() pulumi.BoolPtrOutput

Record application tags for an instance. This flag is turned "on" by default.

func (InstanceQueryInsightsConfigOutput) RecordClientAddress

func (o InstanceQueryInsightsConfigOutput) RecordClientAddress() pulumi.BoolPtrOutput

Record client address for an instance. Client address is PII information. This flag is turned "on" by default.

func (InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigOutput

func (o InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigOutput() InstanceQueryInsightsConfigOutput

func (InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigOutputWithContext

func (o InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigOutputWithContext(ctx context.Context) InstanceQueryInsightsConfigOutput

func (InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigPtrOutput

func (o InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigPtrOutput() InstanceQueryInsightsConfigPtrOutput

func (InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigPtrOutputWithContext

func (o InstanceQueryInsightsConfigOutput) ToInstanceQueryInsightsConfigPtrOutputWithContext(ctx context.Context) InstanceQueryInsightsConfigPtrOutput

type InstanceQueryInsightsConfigPtrInput

type InstanceQueryInsightsConfigPtrInput interface {
	pulumi.Input

	ToInstanceQueryInsightsConfigPtrOutput() InstanceQueryInsightsConfigPtrOutput
	ToInstanceQueryInsightsConfigPtrOutputWithContext(context.Context) InstanceQueryInsightsConfigPtrOutput
}

InstanceQueryInsightsConfigPtrInput is an input type that accepts InstanceQueryInsightsConfigArgs, InstanceQueryInsightsConfigPtr and InstanceQueryInsightsConfigPtrOutput values. You can construct a concrete instance of `InstanceQueryInsightsConfigPtrInput` via:

        InstanceQueryInsightsConfigArgs{...}

or:

        nil

type InstanceQueryInsightsConfigPtrOutput

type InstanceQueryInsightsConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceQueryInsightsConfigPtrOutput) Elem

func (InstanceQueryInsightsConfigPtrOutput) ElementType

func (InstanceQueryInsightsConfigPtrOutput) QueryPlansPerMinute

Number of query execution plans captured by Insights per minute for all queries combined. The default value is 5. Any integer between 0 and 20 is considered valid.

func (InstanceQueryInsightsConfigPtrOutput) QueryStringLength

Query string length. The default value is 1024. Any integer between 256 and 4500 is considered valid.

func (InstanceQueryInsightsConfigPtrOutput) RecordApplicationTags

func (o InstanceQueryInsightsConfigPtrOutput) RecordApplicationTags() pulumi.BoolPtrOutput

Record application tags for an instance. This flag is turned "on" by default.

func (InstanceQueryInsightsConfigPtrOutput) RecordClientAddress

Record client address for an instance. Client address is PII information. This flag is turned "on" by default.

func (InstanceQueryInsightsConfigPtrOutput) ToInstanceQueryInsightsConfigPtrOutput

func (o InstanceQueryInsightsConfigPtrOutput) ToInstanceQueryInsightsConfigPtrOutput() InstanceQueryInsightsConfigPtrOutput

func (InstanceQueryInsightsConfigPtrOutput) ToInstanceQueryInsightsConfigPtrOutputWithContext

func (o InstanceQueryInsightsConfigPtrOutput) ToInstanceQueryInsightsConfigPtrOutputWithContext(ctx context.Context) InstanceQueryInsightsConfigPtrOutput

type InstanceReadPoolConfig

type InstanceReadPoolConfig struct {
	// Read capacity, i.e. number of nodes in a read pool instance.
	NodeCount *int `pulumi:"nodeCount"`
}

type InstanceReadPoolConfigArgs

type InstanceReadPoolConfigArgs struct {
	// Read capacity, i.e. number of nodes in a read pool instance.
	NodeCount pulumi.IntPtrInput `pulumi:"nodeCount"`
}

func (InstanceReadPoolConfigArgs) ElementType

func (InstanceReadPoolConfigArgs) ElementType() reflect.Type

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput

func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutputWithContext

func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutputWithContext(ctx context.Context) InstanceReadPoolConfigOutput

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput

func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutputWithContext

func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput

type InstanceReadPoolConfigInput

type InstanceReadPoolConfigInput interface {
	pulumi.Input

	ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput
	ToInstanceReadPoolConfigOutputWithContext(context.Context) InstanceReadPoolConfigOutput
}

InstanceReadPoolConfigInput is an input type that accepts InstanceReadPoolConfigArgs and InstanceReadPoolConfigOutput values. You can construct a concrete instance of `InstanceReadPoolConfigInput` via:

InstanceReadPoolConfigArgs{...}

type InstanceReadPoolConfigOutput

type InstanceReadPoolConfigOutput struct{ *pulumi.OutputState }

func (InstanceReadPoolConfigOutput) ElementType

func (InstanceReadPoolConfigOutput) NodeCount

Read capacity, i.e. number of nodes in a read pool instance.

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput

func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutputWithContext

func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutputWithContext(ctx context.Context) InstanceReadPoolConfigOutput

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput

func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutputWithContext

func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput

type InstanceReadPoolConfigPtrInput

type InstanceReadPoolConfigPtrInput interface {
	pulumi.Input

	ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
	ToInstanceReadPoolConfigPtrOutputWithContext(context.Context) InstanceReadPoolConfigPtrOutput
}

InstanceReadPoolConfigPtrInput is an input type that accepts InstanceReadPoolConfigArgs, InstanceReadPoolConfigPtr and InstanceReadPoolConfigPtrOutput values. You can construct a concrete instance of `InstanceReadPoolConfigPtrInput` via:

        InstanceReadPoolConfigArgs{...}

or:

        nil

type InstanceReadPoolConfigPtrOutput

type InstanceReadPoolConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceReadPoolConfigPtrOutput) Elem

func (InstanceReadPoolConfigPtrOutput) ElementType

func (InstanceReadPoolConfigPtrOutput) NodeCount

Read capacity, i.e. number of nodes in a read pool instance.

func (InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput

func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput

func (InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutputWithContext

func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput

type InstanceState

type InstanceState struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
	// **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
	// Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
	Annotations pulumi.StringMapInput
	// 'Availability type of an Instance. Defaults to REGIONAL for both primary and read instances.
	// Note that primary and read instances can have different availability types.
	// Only READ_POOL instance supports ZONAL type. Users can't specify the zone for READ_POOL instance.
	// Zone is automatically chosen from the list of zones in the region specified.
	// Read pool of size 1 can only have zonal availability. Read pools with node count of 2 or more
	// can have regional availability (nodes are present in 2 or more zones in a region).'
	// Possible values are: `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, `REGIONAL`.
	AvailabilityType pulumi.StringPtrInput
	// Client connection specific configurations.
	// Structure is documented below.
	ClientConnectionConfig InstanceClientConnectionConfigPtrInput
	// Identifies the alloydb cluster. Must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	Cluster pulumi.StringPtrInput
	// Time the Instance was created in UTC.
	CreateTime pulumi.StringPtrInput
	// Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
	DatabaseFlags pulumi.StringMapInput
	// User-settable and human-readable display name for the Instance.
	DisplayName pulumi.StringPtrInput
	// All of annotations (key/value pairs) present on the resource in GCP, including the annotations configured through
	// Terraform, other clients and services.
	EffectiveAnnotations pulumi.StringMapInput
	// All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
	EffectiveLabels pulumi.StringMapInput
	// The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
	GceZone pulumi.StringPtrInput
	// The ID of the alloydb instance.
	//
	// ***
	InstanceId pulumi.StringPtrInput
	// The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY/SECONDARY instance in the
	// 'depends_on' meta-data attribute. If the instance type is SECONDARY, point to the cluster_type of the associated
	// secondary cluster instead of mentioning SECONDARY. Example: {instance_type =
	// google_alloydb_cluster.<secondary_cluster_name>.cluster_type} instead of {instance_type = SECONDARY} If the instance
	// type is SECONDARY, the terraform delete instance operation does not delete the secondary instance but abandons it
	// instead. Use deletion_policy = "FORCE" in the associated secondary cluster and delete the cluster forcefully to delete
	// the secondary cluster as well its associated secondary instance. Users can undo the delete secondary instance action by
	// importing the deleted secondary instance by calling terraform import. Possible values: ["PRIMARY", "READ_POOL",
	// "SECONDARY"]
	InstanceType pulumi.StringPtrInput
	// The IP address for the Instance. This is the connection endpoint for an end-user application.
	IpAddress pulumi.StringPtrInput
	// User-defined labels for the alloydb instance.
	// **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
	// Please refer to the field `effectiveLabels` for all of the labels present on the resource.
	Labels pulumi.StringMapInput
	// Configurations for the machines that host the underlying database engine.
	// Structure is documented below.
	MachineConfig InstanceMachineConfigPtrInput
	// The name of the instance resource.
	Name pulumi.StringPtrInput
	// The combination of labels configured directly on the resource
	// and default labels configured on the provider.
	PulumiLabels pulumi.StringMapInput
	// Configuration for query insights.
	// Structure is documented below.
	QueryInsightsConfig InstanceQueryInsightsConfigPtrInput
	// Read pool specific config. If the instance type is READ_POOL, this configuration must be provided.
	// Structure is documented below.
	ReadPoolConfig InstanceReadPoolConfigPtrInput
	// Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolPtrInput
	// The current state of the alloydb instance.
	State pulumi.StringPtrInput
	// The system-generated UID of the resource.
	Uid pulumi.StringPtrInput
	// Time the Instance was updated in UTC.
	UpdateTime pulumi.StringPtrInput
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type User added in v7.1.0

type User struct {
	pulumi.CustomResourceState

	// Identifies the alloydb cluster. Must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	Cluster pulumi.StringOutput `pulumi:"cluster"`
	// List of database roles this database user has.
	DatabaseRoles pulumi.StringArrayOutput `pulumi:"databaseRoles"`
	// Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
	Name pulumi.StringOutput `pulumi:"name"`
	// Password for this database user.
	Password pulumi.StringPtrOutput `pulumi:"password"`
	// The database role name of the user.
	UserId pulumi.StringOutput `pulumi:"userId"`
	// The type of this user.
	// Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
	//
	// ***
	UserType pulumi.StringOutput `pulumi:"userType"`
}

A database user in an AlloyDB cluster.

To get more information about User, see:

* [API documentation](https://cloud.google.com/alloydb/docs/reference/rest/v1/projects.locations.clusters.users/create) * How-to Guides

## Example Usage

### Alloydb User Builtin

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-network"),
		})
		if err != nil {
			return err
		}
		defaultCluster, err := alloydb.NewCluster(ctx, "default", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   defaultNetwork.ID(),
			InitialUser: &alloydb.ClusterInitialUserArgs{
				Password: pulumi.String("cluster_secret"),
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "default", &alloydb.InstanceArgs{
			Cluster:      defaultCluster.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: defaultNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewUser(ctx, "user1", &alloydb.UserArgs{
			Cluster:  defaultCluster.Name,
			UserId:   pulumi.String("user1"),
			UserType: pulumi.String("ALLOYDB_BUILT_IN"),
			Password: pulumi.String("user_secret"),
			DatabaseRoles: pulumi.StringArray{
				pulumi.String("alloydbsuperuser"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb User Iam

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{
			Name: pulumi.String("alloydb-network"),
		})
		if err != nil {
			return err
		}
		defaultCluster, err := alloydb.NewCluster(ctx, "default", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network:   defaultNetwork.ID(),
			InitialUser: &alloydb.ClusterInitialUserArgs{
				Password: pulumi.String("cluster_secret"),
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewInstance(ctx, "default", &alloydb.InstanceArgs{
			Cluster:      defaultCluster.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
		})
		if err != nil {
			return err
		}
		_, err = organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "private_ip_alloc", &compute.GlobalAddressArgs{
			Name:         pulumi.String("alloydb-cluster"),
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      defaultNetwork.ID(),
		})
		if err != nil {
			return err
		}
		_, err = servicenetworking.NewConnection(ctx, "vpc_connection", &servicenetworking.ConnectionArgs{
			Network: defaultNetwork.ID(),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		_, err = alloydb.NewUser(ctx, "user2", &alloydb.UserArgs{
			Cluster:  defaultCluster.Name,
			UserId:   pulumi.String("user2@foo.com"),
			UserType: pulumi.String("ALLOYDB_IAM_USER"),
			DatabaseRoles: pulumi.StringArray{
				pulumi.String("alloydbiamuser"),
			},
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

User can be imported using any of these accepted formats:

* `projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}}`

* `{{project}}/{{location}}/{{cluster}}/{{user_id}}`

* `{{location}}/{{cluster}}/{{user_id}}`

When using the `pulumi import` command, User can be imported using one of the formats above. For example:

```sh $ pulumi import gcp:alloydb/user:User default projects/{{project}}/locations/{{location}}/clusters/{{cluster}}/users/{{user_id}} ```

```sh $ pulumi import gcp:alloydb/user:User default {{project}}/{{location}}/{{cluster}}/{{user_id}} ```

```sh $ pulumi import gcp:alloydb/user:User default {{location}}/{{cluster}}/{{user_id}} ```

func GetUser added in v7.1.0

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 added in v7.1.0

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 added in v7.1.0

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput added in v7.1.0

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext added in v7.1.0

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

type UserArgs added in v7.1.0

type UserArgs struct {
	// Identifies the alloydb cluster. Must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	Cluster pulumi.StringInput
	// List of database roles this database user has.
	DatabaseRoles pulumi.StringArrayInput
	// Password for this database user.
	Password pulumi.StringPtrInput
	// The database role name of the user.
	UserId pulumi.StringInput
	// The type of this user.
	// Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
	//
	// ***
	UserType pulumi.StringInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType added in v7.1.0

func (UserArgs) ElementType() reflect.Type

type UserArray added in v7.1.0

type UserArray []UserInput

func (UserArray) ElementType added in v7.1.0

func (UserArray) ElementType() reflect.Type

func (UserArray) ToUserArrayOutput added in v7.1.0

func (i UserArray) ToUserArrayOutput() UserArrayOutput

func (UserArray) ToUserArrayOutputWithContext added in v7.1.0

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

type UserArrayInput added in v7.1.0

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 added in v7.1.0

type UserArrayOutput struct{ *pulumi.OutputState }

func (UserArrayOutput) ElementType added in v7.1.0

func (UserArrayOutput) ElementType() reflect.Type

func (UserArrayOutput) Index added in v7.1.0

func (UserArrayOutput) ToUserArrayOutput added in v7.1.0

func (o UserArrayOutput) ToUserArrayOutput() UserArrayOutput

func (UserArrayOutput) ToUserArrayOutputWithContext added in v7.1.0

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

type UserInput added in v7.1.0

type UserInput interface {
	pulumi.Input

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

type UserMap added in v7.1.0

type UserMap map[string]UserInput

func (UserMap) ElementType added in v7.1.0

func (UserMap) ElementType() reflect.Type

func (UserMap) ToUserMapOutput added in v7.1.0

func (i UserMap) ToUserMapOutput() UserMapOutput

func (UserMap) ToUserMapOutputWithContext added in v7.1.0

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

type UserMapInput added in v7.1.0

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 added in v7.1.0

type UserMapOutput struct{ *pulumi.OutputState }

func (UserMapOutput) ElementType added in v7.1.0

func (UserMapOutput) ElementType() reflect.Type

func (UserMapOutput) MapIndex added in v7.1.0

func (UserMapOutput) ToUserMapOutput added in v7.1.0

func (o UserMapOutput) ToUserMapOutput() UserMapOutput

func (UserMapOutput) ToUserMapOutputWithContext added in v7.1.0

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

type UserOutput added in v7.1.0

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) Cluster added in v7.1.0

func (o UserOutput) Cluster() pulumi.StringOutput

Identifies the alloydb cluster. Must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'

func (UserOutput) DatabaseRoles added in v7.1.0

func (o UserOutput) DatabaseRoles() pulumi.StringArrayOutput

List of database roles this database user has.

func (UserOutput) ElementType added in v7.1.0

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Name added in v7.1.0

func (o UserOutput) Name() pulumi.StringOutput

Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.

func (UserOutput) Password added in v7.1.0

func (o UserOutput) Password() pulumi.StringPtrOutput

Password for this database user.

func (UserOutput) ToUserOutput added in v7.1.0

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext added in v7.1.0

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

func (UserOutput) UserId added in v7.1.0

func (o UserOutput) UserId() pulumi.StringOutput

The database role name of the user.

func (UserOutput) UserType added in v7.1.0

func (o UserOutput) UserType() pulumi.StringOutput

The type of this user. Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.

***

type UserState added in v7.1.0

type UserState struct {
	// Identifies the alloydb cluster. Must be in the format
	// 'projects/{project}/locations/{location}/clusters/{cluster_id}'
	Cluster pulumi.StringPtrInput
	// List of database roles this database user has.
	DatabaseRoles pulumi.StringArrayInput
	// Name of the resource in the form of projects/{project}/locations/{location}/clusters/{cluster}/users/{user}.
	Name pulumi.StringPtrInput
	// Password for this database user.
	Password pulumi.StringPtrInput
	// The database role name of the user.
	UserId pulumi.StringPtrInput
	// The type of this user.
	// Possible values are: `ALLOYDB_BUILT_IN`, `ALLOYDB_IAM_USER`.
	//
	// ***
	UserType pulumi.StringPtrInput
}

func (UserState) ElementType added in v7.1.0

func (UserState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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