alloydb

package
v6.67.1 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Backup added in v6.46.0

type Backup struct {
	pulumi.CustomResourceState

	// 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"`
	// Time the Backup was created in UTC.
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// User-provided description of the backup.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// 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"`
	// A hash of the resource.
	Etag pulumi.StringOutput `pulumi:"etag"`
	// User-defined labels for the alloydb backup.
	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"`
	// 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"`
	// The current state of the backup.
	State pulumi.StringOutput `pulumi:"state"`
	// 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"`
	// Time the Backup was updated in UTC.
	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/v6/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/servicenetworking"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

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

``` ### Alloydb Backup Full

```go package main

import (

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

)

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

```

## Import

Backup can be imported using any of these accepted formats

```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 added in v6.46.0

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 added in v6.46.0

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 added in v6.46.0

func (*Backup) ElementType() reflect.Type

func (*Backup) ToBackupOutput added in v6.46.0

func (i *Backup) ToBackupOutput() BackupOutput

func (*Backup) ToBackupOutputWithContext added in v6.46.0

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

func (*Backup) ToOutput added in v6.65.1

func (i *Backup) ToOutput(ctx context.Context) pulumix.Output[*Backup]

type BackupArgs added in v6.46.0

type BackupArgs struct {
	// 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
	// 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.
	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 set of arguments for constructing a Backup resource.

func (BackupArgs) ElementType added in v6.46.0

func (BackupArgs) ElementType() reflect.Type

type BackupArray added in v6.46.0

type BackupArray []BackupInput

func (BackupArray) ElementType added in v6.46.0

func (BackupArray) ElementType() reflect.Type

func (BackupArray) ToBackupArrayOutput added in v6.46.0

func (i BackupArray) ToBackupArrayOutput() BackupArrayOutput

func (BackupArray) ToBackupArrayOutputWithContext added in v6.46.0

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

func (BackupArray) ToOutput added in v6.65.1

func (i BackupArray) ToOutput(ctx context.Context) pulumix.Output[[]*Backup]

type BackupArrayInput added in v6.46.0

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 added in v6.46.0

type BackupArrayOutput struct{ *pulumi.OutputState }

func (BackupArrayOutput) ElementType added in v6.46.0

func (BackupArrayOutput) ElementType() reflect.Type

func (BackupArrayOutput) Index added in v6.46.0

func (BackupArrayOutput) ToBackupArrayOutput added in v6.46.0

func (o BackupArrayOutput) ToBackupArrayOutput() BackupArrayOutput

func (BackupArrayOutput) ToBackupArrayOutputWithContext added in v6.46.0

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

func (BackupArrayOutput) ToOutput added in v6.65.1

func (o BackupArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*Backup]

type BackupEncryptionConfig added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (BackupEncryptionConfigArgs) ElementType() reflect.Type

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutput added in v6.56.0

func (i BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutput() BackupEncryptionConfigOutput

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigOutputWithContext added in v6.56.0

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

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutput added in v6.56.0

func (i BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput

func (BackupEncryptionConfigArgs) ToBackupEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (BackupEncryptionConfigArgs) ToOutput added in v6.65.1

type BackupEncryptionConfigInput added in v6.56.0

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 added in v6.56.0

type BackupEncryptionConfigOutput struct{ *pulumi.OutputState }

func (BackupEncryptionConfigOutput) ElementType added in v6.56.0

func (BackupEncryptionConfigOutput) KmsKeyName added in v6.56.0

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 added in v6.56.0

func (o BackupEncryptionConfigOutput) ToBackupEncryptionConfigOutput() BackupEncryptionConfigOutput

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigOutputWithContext added in v6.56.0

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

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutput added in v6.56.0

func (o BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput

func (BackupEncryptionConfigOutput) ToBackupEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (BackupEncryptionConfigOutput) ToOutput added in v6.65.1

type BackupEncryptionConfigPtrInput added in v6.56.0

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

func BackupEncryptionConfigPtr added in v6.56.0

func BackupEncryptionConfigPtr(v *BackupEncryptionConfigArgs) BackupEncryptionConfigPtrInput

type BackupEncryptionConfigPtrOutput added in v6.56.0

type BackupEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (BackupEncryptionConfigPtrOutput) Elem added in v6.56.0

func (BackupEncryptionConfigPtrOutput) ElementType added in v6.56.0

func (BackupEncryptionConfigPtrOutput) KmsKeyName added in v6.56.0

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 added in v6.56.0

func (o BackupEncryptionConfigPtrOutput) ToBackupEncryptionConfigPtrOutput() BackupEncryptionConfigPtrOutput

func (BackupEncryptionConfigPtrOutput) ToBackupEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (BackupEncryptionConfigPtrOutput) ToOutput added in v6.65.1

type BackupEncryptionInfo added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (BackupEncryptionInfoArgs) ElementType() reflect.Type

func (BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutput added in v6.56.0

func (i BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutput() BackupEncryptionInfoOutput

func (BackupEncryptionInfoArgs) ToBackupEncryptionInfoOutputWithContext added in v6.56.0

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

func (BackupEncryptionInfoArgs) ToOutput added in v6.65.1

type BackupEncryptionInfoArray added in v6.56.0

type BackupEncryptionInfoArray []BackupEncryptionInfoInput

func (BackupEncryptionInfoArray) ElementType added in v6.56.0

func (BackupEncryptionInfoArray) ElementType() reflect.Type

func (BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutput added in v6.56.0

func (i BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutput() BackupEncryptionInfoArrayOutput

func (BackupEncryptionInfoArray) ToBackupEncryptionInfoArrayOutputWithContext added in v6.56.0

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

func (BackupEncryptionInfoArray) ToOutput added in v6.65.1

type BackupEncryptionInfoArrayInput added in v6.56.0

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 added in v6.56.0

type BackupEncryptionInfoArrayOutput struct{ *pulumi.OutputState }

func (BackupEncryptionInfoArrayOutput) ElementType added in v6.56.0

func (BackupEncryptionInfoArrayOutput) Index added in v6.56.0

func (BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutput added in v6.56.0

func (o BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutput() BackupEncryptionInfoArrayOutput

func (BackupEncryptionInfoArrayOutput) ToBackupEncryptionInfoArrayOutputWithContext added in v6.56.0

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

func (BackupEncryptionInfoArrayOutput) ToOutput added in v6.65.1

type BackupEncryptionInfoInput added in v6.56.0

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 added in v6.56.0

type BackupEncryptionInfoOutput struct{ *pulumi.OutputState }

func (BackupEncryptionInfoOutput) ElementType added in v6.56.0

func (BackupEncryptionInfoOutput) ElementType() reflect.Type

func (BackupEncryptionInfoOutput) EncryptionType added in v6.56.0

(Output) Output only. Type of encryption.

func (BackupEncryptionInfoOutput) KmsKeyVersions added in v6.56.0

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

func (BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutput added in v6.56.0

func (o BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutput() BackupEncryptionInfoOutput

func (BackupEncryptionInfoOutput) ToBackupEncryptionInfoOutputWithContext added in v6.56.0

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

func (BackupEncryptionInfoOutput) ToOutput added in v6.65.1

type BackupInput added in v6.46.0

type BackupInput interface {
	pulumi.Input

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

type BackupMap added in v6.46.0

type BackupMap map[string]BackupInput

func (BackupMap) ElementType added in v6.46.0

func (BackupMap) ElementType() reflect.Type

func (BackupMap) ToBackupMapOutput added in v6.46.0

func (i BackupMap) ToBackupMapOutput() BackupMapOutput

func (BackupMap) ToBackupMapOutputWithContext added in v6.46.0

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

func (BackupMap) ToOutput added in v6.65.1

func (i BackupMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Backup]

type BackupMapInput added in v6.46.0

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 added in v6.46.0

type BackupMapOutput struct{ *pulumi.OutputState }

func (BackupMapOutput) ElementType added in v6.46.0

func (BackupMapOutput) ElementType() reflect.Type

func (BackupMapOutput) MapIndex added in v6.46.0

func (BackupMapOutput) ToBackupMapOutput added in v6.46.0

func (o BackupMapOutput) ToBackupMapOutput() BackupMapOutput

func (BackupMapOutput) ToBackupMapOutputWithContext added in v6.46.0

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

func (BackupMapOutput) ToOutput added in v6.65.1

func (o BackupMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*Backup]

type BackupOutput added in v6.46.0

type BackupOutput struct{ *pulumi.OutputState }

func (BackupOutput) BackupId added in v6.46.0

func (o BackupOutput) BackupId() pulumi.StringOutput

The ID of the alloydb backup.

func (BackupOutput) ClusterName added in v6.46.0

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) CreateTime added in v6.46.0

func (o BackupOutput) CreateTime() pulumi.StringOutput

Time the Backup was created in UTC.

func (BackupOutput) Description added in v6.46.0

func (o BackupOutput) Description() pulumi.StringPtrOutput

User-provided description of the backup.

func (BackupOutput) ElementType added in v6.46.0

func (BackupOutput) ElementType() reflect.Type

func (BackupOutput) EncryptionConfig added in v6.56.0

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 added in v6.56.0

func (o BackupOutput) EncryptionInfos() BackupEncryptionInfoArrayOutput

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

func (BackupOutput) Etag added in v6.46.0

func (o BackupOutput) Etag() pulumi.StringOutput

A hash of the resource.

func (BackupOutput) Labels added in v6.46.0

func (o BackupOutput) Labels() pulumi.StringMapOutput

User-defined labels for the alloydb backup.

func (BackupOutput) Location added in v6.46.0

func (o BackupOutput) Location() pulumi.StringOutput

The location where the alloydb backup should reside.

***

func (BackupOutput) Name added in v6.46.0

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 added in v6.46.0

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) Reconciling added in v6.46.0

func (o BackupOutput) Reconciling() pulumi.BoolOutput

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) State added in v6.46.0

func (o BackupOutput) State() pulumi.StringOutput

The current state of the backup.

func (BackupOutput) ToBackupOutput added in v6.46.0

func (o BackupOutput) ToBackupOutput() BackupOutput

func (BackupOutput) ToBackupOutputWithContext added in v6.46.0

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

func (BackupOutput) ToOutput added in v6.65.1

func (o BackupOutput) ToOutput(ctx context.Context) pulumix.Output[*Backup]

func (BackupOutput) Uid added in v6.46.0

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 added in v6.46.0

func (o BackupOutput) UpdateTime() pulumi.StringOutput

Time the Backup was updated in UTC.

type BackupState added in v6.46.0

type BackupState struct {
	// 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
	// Time the Backup was created in UTC.
	CreateTime pulumi.StringPtrInput
	// User-provided description of the backup.
	Description 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
	// EncryptionInfo describes the encryption information of a cluster or a backup.
	// Structure is documented below.
	EncryptionInfos BackupEncryptionInfoArrayInput
	// A hash of the resource.
	Etag pulumi.StringPtrInput
	// User-defined labels for the alloydb backup.
	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
	// 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
	// The current state of the backup.
	State 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
	// Time the Backup was updated in UTC.
	UpdateTime pulumi.StringPtrInput
}

func (BackupState) ElementType added in v6.46.0

func (BackupState) ElementType() reflect.Type

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// 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 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 output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
	DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"`
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringPtrOutput `pulumi:"displayName"`
	// 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"`
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrOutput `pulumi:"initialUser"`
	// User-defined labels for the alloydb cluster.
	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 `network_config` 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 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"`
	// 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

> **Warning:** All arguments including the following potentially sensitive values will be stored in the raw state as plain text: `initial_user.password`. Read more about sensitive data in state.

## Example Usage ### Alloydb Cluster Basic

```go package main

import (

"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/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, "defaultNetwork", nil)
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "defaultCluster", &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/v6/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/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", nil)
		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(),
			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/v6/go/gcp/alloydb"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute"
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations"
"github.com/pulumi/pulumi-gcp/sdk/v6/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
		}
		sourceCluster, err := alloydb.NewCluster(ctx, "sourceCluster", &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
		}
		privateIpAlloc, err := compute.NewGlobalAddress(ctx, "privateIpAlloc", &compute.GlobalAddressArgs{
			AddressType:  pulumi.String("INTERNAL"),
			Purpose:      pulumi.String("VPC_PEERING"),
			PrefixLength: pulumi.Int(16),
			Network:      *pulumi.String(_default.Id),
		})
		if err != nil {
			return err
		}
		vpcConnection, err := servicenetworking.NewConnection(ctx, "vpcConnection", &servicenetworking.ConnectionArgs{
			Network: *pulumi.String(_default.Id),
			Service: pulumi.String("servicenetworking.googleapis.com"),
			ReservedPeeringRanges: pulumi.StringArray{
				privateIpAlloc.Name,
			},
		})
		if err != nil {
			return err
		}
		sourceInstance, err := alloydb.NewInstance(ctx, "sourceInstance", &alloydb.InstanceArgs{
			Cluster:      sourceCluster.Name,
			InstanceId:   pulumi.String("alloydb-instance"),
			InstanceType: pulumi.String("PRIMARY"),
			MachineConfig: &alloydb.InstanceMachineConfigArgs{
				CpuCount: pulumi.Int(2),
			},
		}, pulumi.DependsOn([]pulumi.Resource{
			vpcConnection,
		}))
		if err != nil {
			return err
		}
		sourceBackup, err := alloydb.NewBackup(ctx, "sourceBackup", &alloydb.BackupArgs{
			BackupId:    pulumi.String("alloydb-backup"),
			Location:    pulumi.String("us-central1"),
			ClusterName: sourceCluster.Name,
		}, pulumi.DependsOn([]pulumi.Resource{
			sourceInstance,
		}))
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "restoredFromBackup", &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, "restoredViaPitr", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-pitr-restored"),
			Location:  pulumi.String("us-central1"),
			Network:   *pulumi.String(_default.Id),
			RestoreContinuousBackupSource: &alloydb.ClusterRestoreContinuousBackupSourceArgs{
				Cluster:     sourceCluster.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
		}
		return nil
	})
}

```

## Import

Cluster can be imported using any of these accepted formats

```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

func (*Cluster) ToOutput added in v6.65.1

func (i *Cluster) ToOutput(ctx context.Context) pulumix.Output[*Cluster]

type ClusterArgs

type ClusterArgs struct {
	// 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 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
	// 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
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrInput
	// User-defined labels for the alloydb cluster.
	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 `network_config` 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
}

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

func (ClusterArray) ToOutput added in v6.65.1

func (i ClusterArray) ToOutput(ctx context.Context) pulumix.Output[[]*Cluster]

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

func (ClusterArrayOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyArgs) ToOutput added in v6.65.1

type ClusterAutomatedBackupPolicyEncryptionConfig added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutput added in v6.56.0

func (i ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutput() ClusterAutomatedBackupPolicyEncryptionConfigOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext added in v6.56.0

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

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput added in v6.56.0

func (i ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput() ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (ClusterAutomatedBackupPolicyEncryptionConfigArgs) ToOutput added in v6.65.1

type ClusterAutomatedBackupPolicyEncryptionConfigInput added in v6.56.0

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 added in v6.56.0

type ClusterAutomatedBackupPolicyEncryptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ElementType added in v6.56.0

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) KmsKeyName added in v6.56.0

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 added in v6.56.0

func (o ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigOutput() ClusterAutomatedBackupPolicyEncryptionConfigOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigOutputWithContext added in v6.56.0

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

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput added in v6.56.0

func (o ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutput() ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (ClusterAutomatedBackupPolicyEncryptionConfigOutput) ToOutput added in v6.65.1

type ClusterAutomatedBackupPolicyEncryptionConfigPtrInput added in v6.56.0

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 added in v6.56.0

type ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) Elem added in v6.56.0

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ElementType added in v6.56.0

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) KmsKeyName added in v6.56.0

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 added in v6.56.0

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ToClusterAutomatedBackupPolicyEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (ClusterAutomatedBackupPolicyEncryptionConfigPtrOutput) ToOutput added in v6.65.1

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 added in v6.56.0

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) ToOutput added in v6.65.1

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 added in v6.56.0

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) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToOutput added in v6.65.1

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToOutput added in v6.65.1

type ClusterBackupSource

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

type ClusterBackupSourceArgs

type ClusterBackupSourceArgs struct {
	// The name of the backup that this cluster is restored from.
	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

func (ClusterBackupSourceArgs) ToOutput added in v6.65.1

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

func (ClusterBackupSourceArray) ToOutput added in v6.65.1

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

func (ClusterBackupSourceArrayOutput) ToOutput added in v6.65.1

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 that this cluster is restored from.

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

func (ClusterBackupSourceOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupConfig added in v6.64.0

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 added in v6.64.0

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 added in v6.64.0

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutput added in v6.64.0

func (i ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutput() ClusterContinuousBackupConfigOutput

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutput added in v6.64.0

func (i ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput

func (ClusterContinuousBackupConfigArgs) ToClusterContinuousBackupConfigPtrOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigArgs) ToOutput added in v6.65.1

type ClusterContinuousBackupConfigEncryptionConfig added in v6.64.0

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 added in v6.64.0

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 added in v6.64.0

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutput added in v6.64.0

func (i ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutput() ClusterContinuousBackupConfigEncryptionConfigOutput

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput added in v6.64.0

func (i ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput() ClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigEncryptionConfigArgs) ToOutput added in v6.65.1

type ClusterContinuousBackupConfigEncryptionConfigInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupConfigEncryptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupConfigEncryptionConfigOutput) KmsKeyName added in v6.64.0

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 added in v6.64.0

func (o ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigOutput() ClusterContinuousBackupConfigEncryptionConfigOutput

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput added in v6.64.0

func (o ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutput() ClusterContinuousBackupConfigEncryptionConfigPtrOutput

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigEncryptionConfigOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupConfigEncryptionConfigPtrInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupConfigEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) Elem added in v6.64.0

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) KmsKeyName added in v6.64.0

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 added in v6.64.0

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ToClusterContinuousBackupConfigEncryptionConfigPtrOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigEncryptionConfigPtrOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupConfigInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupConfigOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupConfigOutput) Enabled added in v6.64.0

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

func (ClusterContinuousBackupConfigOutput) EncryptionConfig added in v6.64.0

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 added in v6.64.0

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 added in v6.64.0

func (o ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigOutput() ClusterContinuousBackupConfigOutput

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutput added in v6.64.0

func (o ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput

func (ClusterContinuousBackupConfigOutput) ToClusterContinuousBackupConfigPtrOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupConfigPtrInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupConfigPtrOutput) Elem added in v6.64.0

func (ClusterContinuousBackupConfigPtrOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupConfigPtrOutput) Enabled added in v6.64.0

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

func (ClusterContinuousBackupConfigPtrOutput) EncryptionConfig added in v6.64.0

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 added in v6.64.0

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 added in v6.64.0

func (o ClusterContinuousBackupConfigPtrOutput) ToClusterContinuousBackupConfigPtrOutput() ClusterContinuousBackupConfigPtrOutput

func (ClusterContinuousBackupConfigPtrOutput) ToClusterContinuousBackupConfigPtrOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupConfigPtrOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupInfo added in v6.64.0

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 added in v6.64.0

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 added in v6.64.0

func (ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutput added in v6.64.0

func (i ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutput() ClusterContinuousBackupInfoOutput

func (ClusterContinuousBackupInfoArgs) ToClusterContinuousBackupInfoOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoArgs) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoArray added in v6.64.0

type ClusterContinuousBackupInfoArray []ClusterContinuousBackupInfoInput

func (ClusterContinuousBackupInfoArray) ElementType added in v6.64.0

func (ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutput added in v6.64.0

func (i ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutput() ClusterContinuousBackupInfoArrayOutput

func (ClusterContinuousBackupInfoArray) ToClusterContinuousBackupInfoArrayOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoArray) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoArrayInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoArrayOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupInfoArrayOutput) Index added in v6.64.0

func (ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutput added in v6.64.0

func (o ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutput() ClusterContinuousBackupInfoArrayOutput

func (ClusterContinuousBackupInfoArrayOutput) ToClusterContinuousBackupInfoArrayOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoArrayOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoEncryptionInfo added in v6.64.0

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 added in v6.64.0

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 added in v6.64.0

func (ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutput added in v6.64.0

func (i ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutput() ClusterContinuousBackupInfoEncryptionInfoOutput

func (ClusterContinuousBackupInfoEncryptionInfoArgs) ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoEncryptionInfoArgs) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoEncryptionInfoArray added in v6.64.0

type ClusterContinuousBackupInfoEncryptionInfoArray []ClusterContinuousBackupInfoEncryptionInfoInput

func (ClusterContinuousBackupInfoEncryptionInfoArray) ElementType added in v6.64.0

func (ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutput added in v6.64.0

func (i ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutput() ClusterContinuousBackupInfoEncryptionInfoArrayOutput

func (ClusterContinuousBackupInfoEncryptionInfoArray) ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoEncryptionInfoArray) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoEncryptionInfoArrayInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupInfoEncryptionInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) Index added in v6.64.0

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ToClusterContinuousBackupInfoEncryptionInfoArrayOutput added in v6.64.0

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ToClusterContinuousBackupInfoEncryptionInfoArrayOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoEncryptionInfoArrayOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoEncryptionInfoInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupInfoEncryptionInfoOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupInfoEncryptionInfoOutput) EncryptionType added in v6.64.0

(Output) Output only. Type of encryption.

func (ClusterContinuousBackupInfoEncryptionInfoOutput) KmsKeyVersions added in v6.64.0

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

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutput added in v6.64.0

func (o ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutput() ClusterContinuousBackupInfoEncryptionInfoOutput

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ToClusterContinuousBackupInfoEncryptionInfoOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoEncryptionInfoOutput) ToOutput added in v6.65.1

type ClusterContinuousBackupInfoInput added in v6.64.0

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 added in v6.64.0

type ClusterContinuousBackupInfoOutput struct{ *pulumi.OutputState }

func (ClusterContinuousBackupInfoOutput) EarliestRestorableTime added in v6.64.0

func (o ClusterContinuousBackupInfoOutput) EarliestRestorableTime() pulumi.StringPtrOutput

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

func (ClusterContinuousBackupInfoOutput) ElementType added in v6.64.0

func (ClusterContinuousBackupInfoOutput) EnabledTime added in v6.64.0

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

func (ClusterContinuousBackupInfoOutput) EncryptionInfos added in v6.64.0

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

func (ClusterContinuousBackupInfoOutput) Schedules added in v6.64.0

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

func (ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutput added in v6.64.0

func (o ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutput() ClusterContinuousBackupInfoOutput

func (ClusterContinuousBackupInfoOutput) ToClusterContinuousBackupInfoOutputWithContext added in v6.64.0

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

func (ClusterContinuousBackupInfoOutput) ToOutput added in v6.65.1

type ClusterEncryptionConfig added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutput added in v6.56.0

func (i ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutput() ClusterEncryptionConfigOutput

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigOutputWithContext added in v6.56.0

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

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutput added in v6.56.0

func (i ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput

func (ClusterEncryptionConfigArgs) ToClusterEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (ClusterEncryptionConfigArgs) ToOutput added in v6.65.1

type ClusterEncryptionConfigInput added in v6.56.0

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 added in v6.56.0

type ClusterEncryptionConfigOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionConfigOutput) ElementType added in v6.56.0

func (ClusterEncryptionConfigOutput) KmsKeyName added in v6.56.0

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 added in v6.56.0

func (o ClusterEncryptionConfigOutput) ToClusterEncryptionConfigOutput() ClusterEncryptionConfigOutput

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigOutputWithContext added in v6.56.0

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

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutput added in v6.56.0

func (o ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput

func (ClusterEncryptionConfigOutput) ToClusterEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (ClusterEncryptionConfigOutput) ToOutput added in v6.65.1

type ClusterEncryptionConfigPtrInput added in v6.56.0

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

func ClusterEncryptionConfigPtr added in v6.56.0

func ClusterEncryptionConfigPtr(v *ClusterEncryptionConfigArgs) ClusterEncryptionConfigPtrInput

type ClusterEncryptionConfigPtrOutput added in v6.56.0

type ClusterEncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionConfigPtrOutput) Elem added in v6.56.0

func (ClusterEncryptionConfigPtrOutput) ElementType added in v6.56.0

func (ClusterEncryptionConfigPtrOutput) KmsKeyName added in v6.56.0

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 added in v6.56.0

func (o ClusterEncryptionConfigPtrOutput) ToClusterEncryptionConfigPtrOutput() ClusterEncryptionConfigPtrOutput

func (ClusterEncryptionConfigPtrOutput) ToClusterEncryptionConfigPtrOutputWithContext added in v6.56.0

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

func (ClusterEncryptionConfigPtrOutput) ToOutput added in v6.65.1

type ClusterEncryptionInfo added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (ClusterEncryptionInfoArgs) ElementType() reflect.Type

func (ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutput added in v6.56.0

func (i ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutput() ClusterEncryptionInfoOutput

func (ClusterEncryptionInfoArgs) ToClusterEncryptionInfoOutputWithContext added in v6.56.0

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

func (ClusterEncryptionInfoArgs) ToOutput added in v6.65.1

type ClusterEncryptionInfoArray added in v6.56.0

type ClusterEncryptionInfoArray []ClusterEncryptionInfoInput

func (ClusterEncryptionInfoArray) ElementType added in v6.56.0

func (ClusterEncryptionInfoArray) ElementType() reflect.Type

func (ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutput added in v6.56.0

func (i ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutput() ClusterEncryptionInfoArrayOutput

func (ClusterEncryptionInfoArray) ToClusterEncryptionInfoArrayOutputWithContext added in v6.56.0

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

func (ClusterEncryptionInfoArray) ToOutput added in v6.65.1

type ClusterEncryptionInfoArrayInput added in v6.56.0

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 added in v6.56.0

type ClusterEncryptionInfoArrayOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionInfoArrayOutput) ElementType added in v6.56.0

func (ClusterEncryptionInfoArrayOutput) Index added in v6.56.0

func (ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutput added in v6.56.0

func (o ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutput() ClusterEncryptionInfoArrayOutput

func (ClusterEncryptionInfoArrayOutput) ToClusterEncryptionInfoArrayOutputWithContext added in v6.56.0

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

func (ClusterEncryptionInfoArrayOutput) ToOutput added in v6.65.1

type ClusterEncryptionInfoInput added in v6.56.0

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 added in v6.56.0

type ClusterEncryptionInfoOutput struct{ *pulumi.OutputState }

func (ClusterEncryptionInfoOutput) ElementType added in v6.56.0

func (ClusterEncryptionInfoOutput) EncryptionType added in v6.56.0

(Output) Output only. Type of encryption.

func (ClusterEncryptionInfoOutput) KmsKeyVersions added in v6.56.0

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

func (ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutput added in v6.56.0

func (o ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutput() ClusterEncryptionInfoOutput

func (ClusterEncryptionInfoOutput) ToClusterEncryptionInfoOutputWithContext added in v6.56.0

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

func (ClusterEncryptionInfoOutput) ToOutput added in v6.65.1

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

func (ClusterInitialUserArgs) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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) ToOutput added in v6.65.1

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

func (ClusterMap) ToOutput added in v6.65.1

func (i ClusterMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Cluster]

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

func (ClusterMapOutput) ToOutput added in v6.65.1

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

func (ClusterMigrationSourceArgs) ToOutput added in v6.65.1

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

func (ClusterMigrationSourceArray) ToOutput added in v6.65.1

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

func (ClusterMigrationSourceArrayOutput) ToOutput added in v6.65.1

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

func (ClusterMigrationSourceOutput) ToOutput added in v6.65.1

type ClusterNetworkConfig added in v6.67.0

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 added in v6.67.0

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 added in v6.67.0

func (ClusterNetworkConfigArgs) ElementType() reflect.Type

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigOutput added in v6.67.0

func (i ClusterNetworkConfigArgs) ToClusterNetworkConfigOutput() ClusterNetworkConfigOutput

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigOutputWithContext added in v6.67.0

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

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutput added in v6.67.0

func (i ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput

func (ClusterNetworkConfigArgs) ToClusterNetworkConfigPtrOutputWithContext added in v6.67.0

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

func (ClusterNetworkConfigArgs) ToOutput added in v6.67.0

type ClusterNetworkConfigInput added in v6.67.0

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 added in v6.67.0

type ClusterNetworkConfigOutput struct{ *pulumi.OutputState }

func (ClusterNetworkConfigOutput) AllocatedIpRange added in v6.67.0

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 added in v6.67.0

func (ClusterNetworkConfigOutput) ElementType() reflect.Type

func (ClusterNetworkConfigOutput) Network added in v6.67.0

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 added in v6.67.0

func (o ClusterNetworkConfigOutput) ToClusterNetworkConfigOutput() ClusterNetworkConfigOutput

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigOutputWithContext added in v6.67.0

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

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutput added in v6.67.0

func (o ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput

func (ClusterNetworkConfigOutput) ToClusterNetworkConfigPtrOutputWithContext added in v6.67.0

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

func (ClusterNetworkConfigOutput) ToOutput added in v6.67.0

type ClusterNetworkConfigPtrInput added in v6.67.0

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

func ClusterNetworkConfigPtr added in v6.67.0

func ClusterNetworkConfigPtr(v *ClusterNetworkConfigArgs) ClusterNetworkConfigPtrInput

type ClusterNetworkConfigPtrOutput added in v6.67.0

type ClusterNetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (ClusterNetworkConfigPtrOutput) AllocatedIpRange added in v6.67.0

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 added in v6.67.0

func (ClusterNetworkConfigPtrOutput) ElementType added in v6.67.0

func (ClusterNetworkConfigPtrOutput) Network added in v6.67.0

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 added in v6.67.0

func (o ClusterNetworkConfigPtrOutput) ToClusterNetworkConfigPtrOutput() ClusterNetworkConfigPtrOutput

func (ClusterNetworkConfigPtrOutput) ToClusterNetworkConfigPtrOutputWithContext added in v6.67.0

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

func (ClusterNetworkConfigPtrOutput) ToOutput added in v6.67.0

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

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) ContinuousBackupConfig added in v6.64.0

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 added in v6.64.0

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 output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.

func (ClusterOutput) DisplayName

func (o ClusterOutput) DisplayName() pulumi.StringPtrOutput

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

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) EncryptionConfig added in v6.56.0

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 added in v6.56.0

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) InitialUser

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

func (ClusterOutput) Labels

User-defined labels for the alloydb cluster.

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 `network_config` to define the network configuration.

func (ClusterOutput) NetworkConfig added in v6.67.0

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) RestoreBackupSource added in v6.65.0

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 added in v6.65.0

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) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) ToOutput added in v6.65.1

func (o ClusterOutput) ToOutput(ctx context.Context) pulumix.Output[*Cluster]

func (ClusterOutput) Uid

The system-generated UID of the resource.

type ClusterRestoreBackupSource added in v6.65.0

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

type ClusterRestoreBackupSourceArgs added in v6.65.0

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

func (ClusterRestoreBackupSourceArgs) ElementType added in v6.65.0

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutput added in v6.65.0

func (i ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutput() ClusterRestoreBackupSourceOutput

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourceOutputWithContext added in v6.65.0

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

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutput added in v6.65.0

func (i ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput

func (ClusterRestoreBackupSourceArgs) ToClusterRestoreBackupSourcePtrOutputWithContext added in v6.65.0

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

func (ClusterRestoreBackupSourceArgs) ToOutput added in v6.65.1

type ClusterRestoreBackupSourceInput added in v6.65.0

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 added in v6.65.0

type ClusterRestoreBackupSourceOutput struct{ *pulumi.OutputState }

func (ClusterRestoreBackupSourceOutput) BackupName added in v6.65.0

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

func (ClusterRestoreBackupSourceOutput) ElementType added in v6.65.0

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutput added in v6.65.0

func (o ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutput() ClusterRestoreBackupSourceOutput

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourceOutputWithContext added in v6.65.0

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

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutput added in v6.65.0

func (o ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput

func (ClusterRestoreBackupSourceOutput) ToClusterRestoreBackupSourcePtrOutputWithContext added in v6.65.0

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

func (ClusterRestoreBackupSourceOutput) ToOutput added in v6.65.1

type ClusterRestoreBackupSourcePtrInput added in v6.65.0

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

func ClusterRestoreBackupSourcePtr added in v6.65.0

type ClusterRestoreBackupSourcePtrOutput added in v6.65.0

type ClusterRestoreBackupSourcePtrOutput struct{ *pulumi.OutputState }

func (ClusterRestoreBackupSourcePtrOutput) BackupName added in v6.65.0

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

func (ClusterRestoreBackupSourcePtrOutput) Elem added in v6.65.0

func (ClusterRestoreBackupSourcePtrOutput) ElementType added in v6.65.0

func (ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutput added in v6.65.0

func (o ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutput() ClusterRestoreBackupSourcePtrOutput

func (ClusterRestoreBackupSourcePtrOutput) ToClusterRestoreBackupSourcePtrOutputWithContext added in v6.65.0

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

func (ClusterRestoreBackupSourcePtrOutput) ToOutput added in v6.65.1

type ClusterRestoreContinuousBackupSource added in v6.65.0

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 added in v6.65.0

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 added in v6.65.0

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutput added in v6.65.0

func (i ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutput() ClusterRestoreContinuousBackupSourceOutput

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourceOutputWithContext added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutput added in v6.65.0

func (i ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput

func (ClusterRestoreContinuousBackupSourceArgs) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourceArgs) ToOutput added in v6.65.1

type ClusterRestoreContinuousBackupSourceInput added in v6.65.0

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 added in v6.65.0

type ClusterRestoreContinuousBackupSourceOutput struct{ *pulumi.OutputState }

func (ClusterRestoreContinuousBackupSourceOutput) Cluster added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourceOutput) ElementType added in v6.65.0

func (ClusterRestoreContinuousBackupSourceOutput) PointInTime added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutput added in v6.65.0

func (o ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutput() ClusterRestoreContinuousBackupSourceOutput

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourceOutputWithContext added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutput added in v6.65.0

func (o ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput

func (ClusterRestoreContinuousBackupSourceOutput) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourceOutput) ToOutput added in v6.65.1

type ClusterRestoreContinuousBackupSourcePtrInput added in v6.65.0

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 added in v6.65.0

type ClusterRestoreContinuousBackupSourcePtrOutput struct{ *pulumi.OutputState }

func (ClusterRestoreContinuousBackupSourcePtrOutput) Cluster added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourcePtrOutput) Elem added in v6.65.0

func (ClusterRestoreContinuousBackupSourcePtrOutput) ElementType added in v6.65.0

func (ClusterRestoreContinuousBackupSourcePtrOutput) PointInTime added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutput added in v6.65.0

func (o ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutput() ClusterRestoreContinuousBackupSourcePtrOutput

func (ClusterRestoreContinuousBackupSourcePtrOutput) ToClusterRestoreContinuousBackupSourcePtrOutputWithContext added in v6.65.0

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

func (ClusterRestoreContinuousBackupSourcePtrOutput) ToOutput added in v6.65.1

type ClusterState

type ClusterState struct {
	// 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 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 output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
	DatabaseVersion 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
	// (Output)
	// Output only. The encryption information for the WALs and backups required for ContinuousBackup.
	// Structure is documented below.
	EncryptionInfos ClusterEncryptionInfoArrayInput
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrInput
	// User-defined labels for the alloydb cluster.
	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 `network_config` 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
	// The system-generated UID of the resource.
	Uid pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type GetLocationsArgs added in v6.56.0

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

A collection of arguments for invoking getLocations.

type GetLocationsLocation added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (GetLocationsLocationArgs) ElementType() reflect.Type

func (GetLocationsLocationArgs) ToGetLocationsLocationOutput added in v6.56.0

func (i GetLocationsLocationArgs) ToGetLocationsLocationOutput() GetLocationsLocationOutput

func (GetLocationsLocationArgs) ToGetLocationsLocationOutputWithContext added in v6.56.0

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

func (GetLocationsLocationArgs) ToOutput added in v6.65.1

type GetLocationsLocationArray added in v6.56.0

type GetLocationsLocationArray []GetLocationsLocationInput

func (GetLocationsLocationArray) ElementType added in v6.56.0

func (GetLocationsLocationArray) ElementType() reflect.Type

func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutput added in v6.56.0

func (i GetLocationsLocationArray) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput

func (GetLocationsLocationArray) ToGetLocationsLocationArrayOutputWithContext added in v6.56.0

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

func (GetLocationsLocationArray) ToOutput added in v6.65.1

type GetLocationsLocationArrayInput added in v6.56.0

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 added in v6.56.0

type GetLocationsLocationArrayOutput struct{ *pulumi.OutputState }

func (GetLocationsLocationArrayOutput) ElementType added in v6.56.0

func (GetLocationsLocationArrayOutput) Index added in v6.56.0

func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput added in v6.56.0

func (o GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutput() GetLocationsLocationArrayOutput

func (GetLocationsLocationArrayOutput) ToGetLocationsLocationArrayOutputWithContext added in v6.56.0

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

func (GetLocationsLocationArrayOutput) ToOutput added in v6.65.1

type GetLocationsLocationInput added in v6.56.0

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 added in v6.56.0

type GetLocationsLocationOutput struct{ *pulumi.OutputState }

func (GetLocationsLocationOutput) DisplayName added in v6.56.0

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

func (GetLocationsLocationOutput) ElementType added in v6.56.0

func (GetLocationsLocationOutput) ElementType() reflect.Type

func (GetLocationsLocationOutput) Labels added in v6.56.0

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

func (GetLocationsLocationOutput) LocationId added in v6.56.0

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

func (GetLocationsLocationOutput) Metadata added in v6.56.0

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

func (GetLocationsLocationOutput) Name added in v6.56.0

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

func (GetLocationsLocationOutput) ToGetLocationsLocationOutput added in v6.56.0

func (o GetLocationsLocationOutput) ToGetLocationsLocationOutput() GetLocationsLocationOutput

func (GetLocationsLocationOutput) ToGetLocationsLocationOutputWithContext added in v6.56.0

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

func (GetLocationsLocationOutput) ToOutput added in v6.65.1

type GetLocationsOutputArgs added in v6.56.0

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

A collection of arguments for invoking getLocations.

func (GetLocationsOutputArgs) ElementType added in v6.56.0

func (GetLocationsOutputArgs) ElementType() reflect.Type

type GetLocationsResult added in v6.56.0

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 added in v6.56.0

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/v6/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 added in v6.56.0

type GetLocationsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getLocations.

func GetLocationsOutput added in v6.56.0

func GetLocationsOutput(ctx *pulumi.Context, args GetLocationsOutputArgs, opts ...pulumi.InvokeOption) GetLocationsResultOutput

func (GetLocationsResultOutput) ElementType added in v6.56.0

func (GetLocationsResultOutput) ElementType() reflect.Type

func (GetLocationsResultOutput) Id added in v6.56.0

The provider-assigned unique ID for this managed resource.

func (GetLocationsResultOutput) Locations added in v6.56.0

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

func (GetLocationsResultOutput) Project added in v6.56.0

func (GetLocationsResultOutput) ToGetLocationsResultOutput added in v6.56.0

func (o GetLocationsResultOutput) ToGetLocationsResultOutput() GetLocationsResultOutput

func (GetLocationsResultOutput) ToGetLocationsResultOutputWithContext added in v6.56.0

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

func (GetLocationsResultOutput) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsArgs added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

type GetSupportedDatabaseFlagsResult added in v6.56.0

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 added in v6.56.0

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/v6/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 added in v6.56.0

type GetSupportedDatabaseFlagsResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getSupportedDatabaseFlags.

func (GetSupportedDatabaseFlagsResultOutput) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsResultOutput) Id added in v6.56.0

The provider-assigned unique ID for this managed resource.

func (GetSupportedDatabaseFlagsResultOutput) Location added in v6.56.0

func (GetSupportedDatabaseFlagsResultOutput) Project added in v6.56.0

func (GetSupportedDatabaseFlagsResultOutput) SupportedDatabaseFlags added in v6.56.0

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

func (GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutput added in v6.56.0

func (o GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutput() GetSupportedDatabaseFlagsResultOutput

func (GetSupportedDatabaseFlagsResultOutput) ToGetSupportedDatabaseFlagsResultOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsResultOutput) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlag added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput added in v6.56.0

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArgs) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArray added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArray []GetSupportedDatabaseFlagsSupportedDatabaseFlagInput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput added in v6.56.0

func (i GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput() GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArray) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayInput added in v6.56.0

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 added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) Index added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagArrayOutput) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlagInput added in v6.56.0

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 added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictions struct {
	MaxValue string `pulumi:"maxValue"`
	MinValue string `pulumi:"minValue"`
}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs struct {
	MaxValue pulumi.StringInput `pulumi:"maxValue"`
	MinValue pulumi.StringInput `pulumi:"minValue"`
}

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsArgs) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsInput added in v6.56.0

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 added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) MaxValue added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) MinValue added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagIntegerRestrictionsOutput) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) AcceptsMultipleValues added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) FlagName added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) IntegerRestrictions added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) Name added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

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 added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutput added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ToOutput added in v6.65.1

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagOutput) ValueType added in v6.56.0

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 added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictions struct {
	AllowedValues []string `pulumi:"allowedValues"`
}

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs struct {
	AllowedValues pulumi.StringArrayInput `pulumi:"allowedValues"`
}

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsArgs) ToOutput added in v6.65.1

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsInput added in v6.56.0

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 added in v6.56.0

type GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput struct{ *pulumi.OutputState }

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) AllowedValues added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ElementType added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput added in v6.56.0

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ToGetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutputWithContext added in v6.56.0

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

func (GetSupportedDatabaseFlagsSupportedDatabaseFlagStringRestrictionsOutput) ToOutput added in v6.65.1

type Instance added in v6.44.0

type Instance struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
	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"`
	// 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"`
	// 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 instance in the `dependsOn` meta-data attribute.
	// Possible values are: `PRIMARY`, `READ_POOL`.
	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.
	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"`
	// 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"`
}

A managed alloydb cluster instance.

To get more information about Instance, see:

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

## Example Usage ### Alloydb Instance Basic

```go package main

import (

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

)

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

```

## Import

Instance can be imported using any of these accepted formats

```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 added in v6.44.0

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 added in v6.44.0

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 added in v6.44.0

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput added in v6.44.0

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext added in v6.44.0

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

func (*Instance) ToOutput added in v6.65.1

func (i *Instance) ToOutput(ctx context.Context) pulumix.Output[*Instance]

type InstanceArgs added in v6.44.0

type InstanceArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
	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
	// 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 instance in the `dependsOn` meta-data attribute.
	// Possible values are: `PRIMARY`, `READ_POOL`.
	InstanceType pulumi.StringInput
	// User-defined labels for the alloydb instance.
	Labels pulumi.StringMapInput
	// Configurations for the machines that host the underlying database engine.
	// Structure is documented below.
	MachineConfig InstanceMachineConfigPtrInput
	// 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 added in v6.44.0

func (InstanceArgs) ElementType() reflect.Type

type InstanceArray added in v6.44.0

type InstanceArray []InstanceInput

func (InstanceArray) ElementType added in v6.44.0

func (InstanceArray) ElementType() reflect.Type

func (InstanceArray) ToInstanceArrayOutput added in v6.44.0

func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArray) ToInstanceArrayOutputWithContext added in v6.44.0

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

func (InstanceArray) ToOutput added in v6.65.1

func (i InstanceArray) ToOutput(ctx context.Context) pulumix.Output[[]*Instance]

type InstanceArrayInput added in v6.44.0

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 added in v6.44.0

type InstanceArrayOutput struct{ *pulumi.OutputState }

func (InstanceArrayOutput) ElementType added in v6.44.0

func (InstanceArrayOutput) ElementType() reflect.Type

func (InstanceArrayOutput) Index added in v6.44.0

func (InstanceArrayOutput) ToInstanceArrayOutput added in v6.44.0

func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput

func (InstanceArrayOutput) ToInstanceArrayOutputWithContext added in v6.44.0

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

func (InstanceArrayOutput) ToOutput added in v6.65.1

type InstanceInput added in v6.44.0

type InstanceInput interface {
	pulumi.Input

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

type InstanceMachineConfig added in v6.44.0

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

type InstanceMachineConfigArgs added in v6.44.0

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

func (InstanceMachineConfigArgs) ElementType added in v6.44.0

func (InstanceMachineConfigArgs) ElementType() reflect.Type

func (InstanceMachineConfigArgs) ToInstanceMachineConfigOutput added in v6.44.0

func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput

func (InstanceMachineConfigArgs) ToInstanceMachineConfigOutputWithContext added in v6.44.0

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

func (InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput added in v6.44.0

func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput

func (InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutputWithContext added in v6.44.0

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

func (InstanceMachineConfigArgs) ToOutput added in v6.65.1

type InstanceMachineConfigInput added in v6.44.0

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 added in v6.44.0

type InstanceMachineConfigOutput struct{ *pulumi.OutputState }

func (InstanceMachineConfigOutput) CpuCount added in v6.44.0

The number of CPU's in the VM instance.

func (InstanceMachineConfigOutput) ElementType added in v6.44.0

func (InstanceMachineConfigOutput) ToInstanceMachineConfigOutput added in v6.44.0

func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput

func (InstanceMachineConfigOutput) ToInstanceMachineConfigOutputWithContext added in v6.44.0

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

func (InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput added in v6.44.0

func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput

func (InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutputWithContext added in v6.44.0

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

func (InstanceMachineConfigOutput) ToOutput added in v6.65.1

type InstanceMachineConfigPtrInput added in v6.44.0

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

func InstanceMachineConfigPtr added in v6.44.0

func InstanceMachineConfigPtr(v *InstanceMachineConfigArgs) InstanceMachineConfigPtrInput

type InstanceMachineConfigPtrOutput added in v6.44.0

type InstanceMachineConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceMachineConfigPtrOutput) CpuCount added in v6.44.0

The number of CPU's in the VM instance.

func (InstanceMachineConfigPtrOutput) Elem added in v6.44.0

func (InstanceMachineConfigPtrOutput) ElementType added in v6.44.0

func (InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput added in v6.44.0

func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput

func (InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutputWithContext added in v6.44.0

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

func (InstanceMachineConfigPtrOutput) ToOutput added in v6.65.1

type InstanceMap added in v6.44.0

type InstanceMap map[string]InstanceInput

func (InstanceMap) ElementType added in v6.44.0

func (InstanceMap) ElementType() reflect.Type

func (InstanceMap) ToInstanceMapOutput added in v6.44.0

func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMap) ToInstanceMapOutputWithContext added in v6.44.0

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

func (InstanceMap) ToOutput added in v6.65.1

func (i InstanceMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*Instance]

type InstanceMapInput added in v6.44.0

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 added in v6.44.0

type InstanceMapOutput struct{ *pulumi.OutputState }

func (InstanceMapOutput) ElementType added in v6.44.0

func (InstanceMapOutput) ElementType() reflect.Type

func (InstanceMapOutput) MapIndex added in v6.44.0

func (InstanceMapOutput) ToInstanceMapOutput added in v6.44.0

func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput

func (InstanceMapOutput) ToInstanceMapOutputWithContext added in v6.44.0

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

func (InstanceMapOutput) ToOutput added in v6.65.1

type InstanceOutput added in v6.44.0

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) Annotations added in v6.44.0

func (o InstanceOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.

func (InstanceOutput) AvailabilityType added in v6.44.0

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) Cluster added in v6.44.0

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 added in v6.44.0

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Time the Instance was created in UTC.

func (InstanceOutput) DatabaseFlags added in v6.44.0

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 added in v6.44.0

func (o InstanceOutput) DisplayName() pulumi.StringPtrOutput

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

func (InstanceOutput) ElementType added in v6.44.0

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) GceZone added in v6.44.0

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 added in v6.44.0

func (o InstanceOutput) InstanceId() pulumi.StringOutput

The ID of the alloydb instance.

***

func (InstanceOutput) InstanceType added in v6.44.0

func (o InstanceOutput) InstanceType() pulumi.StringOutput

The type of the instance. If the instance type is READ_POOL, provide the associated PRIMARY instance in the `dependsOn` meta-data attribute. Possible values are: `PRIMARY`, `READ_POOL`.

func (InstanceOutput) IpAddress added in v6.44.0

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 added in v6.44.0

User-defined labels for the alloydb instance.

func (InstanceOutput) MachineConfig added in v6.44.0

func (o InstanceOutput) MachineConfig() InstanceMachineConfigOutput

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

func (InstanceOutput) Name added in v6.44.0

The name of the instance resource.

func (InstanceOutput) ReadPoolConfig added in v6.44.0

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

func (InstanceOutput) Reconciling added in v6.44.0

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 added in v6.44.0

The current state of the alloydb instance.

func (InstanceOutput) ToInstanceOutput added in v6.44.0

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext added in v6.44.0

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

func (InstanceOutput) ToOutput added in v6.65.1

func (InstanceOutput) Uid added in v6.44.0

The system-generated UID of the resource.

func (InstanceOutput) UpdateTime added in v6.44.0

func (o InstanceOutput) UpdateTime() pulumi.StringOutput

Time the Instance was updated in UTC.

type InstanceReadPoolConfig added in v6.44.0

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

type InstanceReadPoolConfigArgs added in v6.44.0

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

func (InstanceReadPoolConfigArgs) ElementType added in v6.44.0

func (InstanceReadPoolConfigArgs) ElementType() reflect.Type

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput added in v6.44.0

func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutputWithContext added in v6.44.0

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

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput added in v6.44.0

func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput

func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutputWithContext added in v6.44.0

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

func (InstanceReadPoolConfigArgs) ToOutput added in v6.65.1

type InstanceReadPoolConfigInput added in v6.44.0

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 added in v6.44.0

type InstanceReadPoolConfigOutput struct{ *pulumi.OutputState }

func (InstanceReadPoolConfigOutput) ElementType added in v6.44.0

func (InstanceReadPoolConfigOutput) NodeCount added in v6.44.0

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

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput added in v6.44.0

func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutputWithContext added in v6.44.0

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

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput added in v6.44.0

func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput

func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutputWithContext added in v6.44.0

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

func (InstanceReadPoolConfigOutput) ToOutput added in v6.65.1

type InstanceReadPoolConfigPtrInput added in v6.44.0

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

func InstanceReadPoolConfigPtr added in v6.44.0

func InstanceReadPoolConfigPtr(v *InstanceReadPoolConfigArgs) InstanceReadPoolConfigPtrInput

type InstanceReadPoolConfigPtrOutput added in v6.44.0

type InstanceReadPoolConfigPtrOutput struct{ *pulumi.OutputState }

func (InstanceReadPoolConfigPtrOutput) Elem added in v6.44.0

func (InstanceReadPoolConfigPtrOutput) ElementType added in v6.44.0

func (InstanceReadPoolConfigPtrOutput) NodeCount added in v6.44.0

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

func (InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput added in v6.44.0

func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput

func (InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutputWithContext added in v6.44.0

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

func (InstanceReadPoolConfigPtrOutput) ToOutput added in v6.65.1

type InstanceState added in v6.44.0

type InstanceState struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
	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
	// 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
	// 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 instance in the `dependsOn` meta-data attribute.
	// Possible values are: `PRIMARY`, `READ_POOL`.
	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.
	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
	// 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 added in v6.44.0

func (InstanceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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