alloydb

package
v6.41.0 Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// The automated backup policy for this cluster.
	// If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days.
	// Structure is documented below.
	AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrOutput `pulumi:"automatedBackupPolicy"`
	// Cluster created from backup.
	BackupSources ClusterBackupSourceArrayOutput `pulumi:"backupSources"`
	// The ID of the alloydb cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// 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"`
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrOutput `pulumi:"initialUser"`
	// Labels to apply to backups created using this configuration.
	Labels pulumi.StringMapOutput `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.StringPtrOutput `pulumi:"location"`
	// Cluster created via DMS migration.
	MigrationSources ClusterMigrationSourceArrayOutput `pulumi:"migrationSources"`
	// The name of the cluster resource.
	Name pulumi.StringOutput `pulumi:"name"`
	// 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}".
	Network pulumi.StringOutput `pulumi:"network"`
	// 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 system-generated UID of the resource.
	Uid pulumi.StringOutput `pulumi:"uid"`
}

## Example Usage ### Alloydb Cluster Basic

```go package main

import (

"fmt"

"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 {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		defaultNetwork, err := compute.NewNetwork(ctx, "defaultNetwork", nil, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		_, err = alloydb.NewCluster(ctx, "defaultCluster", &alloydb.ClusterArgs{
			ClusterId: pulumi.String("alloydb-cluster"),
			Location:  pulumi.String("us-central1"),
			Network: defaultNetwork.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("projects/%v/global/networks/%v", project.Number, name), nil
			}).(pulumi.StringOutput),
		}, pulumi.Provider(google_beta))
		if err != nil {
			return err
		}
		return nil
	})
}

``` ### Alloydb Cluster Full

```go package main

import (

"fmt"

"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 {
		project, err := organizations.LookupProject(ctx, nil, nil)
		if err != nil {
			return err
		}
		_, err = compute.NewNetwork(ctx, "default", nil, pulumi.Provider(google_beta))
		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.Name.ApplyT(func(name string) (string, error) {
				return fmt.Sprintf("projects/%v/global/networks/%v", project.Number, name), nil
			}).(pulumi.StringOutput),
			InitialUser: &alloydb.ClusterInitialUserArgs{
				User:     pulumi.String("alloydb-cluster-full"),
				Password: pulumi.String("alloydb-cluster-full"),
			},
			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"),
			},
		}, pulumi.Provider(google_beta))
		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

type ClusterArgs

type ClusterArgs struct {
	// The automated backup policy for this cluster.
	// If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days.
	// Structure is documented below.
	AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrInput
	// The ID of the alloydb cluster.
	ClusterId pulumi.StringInput
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringPtrInput
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrInput
	// Labels to apply to backups created using this configuration.
	Labels pulumi.StringMapInput
	// 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
	// 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}".
	Network 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 Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterArray

type ClusterArray []ClusterInput

func (ClusterArray) ElementType

func (ClusterArray) ElementType() reflect.Type

func (ClusterArray) ToClusterArrayOutput

func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArray) ToClusterArrayOutputWithContext

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

type ClusterArrayInput

type ClusterArrayInput interface {
	pulumi.Input

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

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

ClusterArray{ ClusterArgs{...} }

type ClusterArrayOutput

type ClusterArrayOutput struct{ *pulumi.OutputState }

func (ClusterArrayOutput) ElementType

func (ClusterArrayOutput) ElementType() reflect.Type

func (ClusterArrayOutput) Index

func (ClusterArrayOutput) ToClusterArrayOutput

func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput

func (ClusterArrayOutput) ToClusterArrayOutputWithContext

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

type ClusterAutomatedBackupPolicy

type ClusterAutomatedBackupPolicy struct {
	// The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed.
	// The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour.
	// A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
	BackupWindow *string `pulumi:"backupWindow"`
	// Whether automated automated backups are enabled.
	Enabled *bool `pulumi:"enabled"`
	// 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.
	// Structure is documented below.
	QuantityBasedRetention *ClusterAutomatedBackupPolicyQuantityBasedRetention `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy.
	// 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 automated backups are enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// 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.
	// Structure is documented below.
	QuantityBasedRetention ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy.
	// Structure is documented below.
	TimeBasedRetention ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput `pulumi:"timeBasedRetention"`
	// Weekly schedule for the Backup.
	// Structure is documented below.
	WeeklySchedule ClusterAutomatedBackupPolicyWeeklyScheduleInput `pulumi:"weeklySchedule"`
}

func (ClusterAutomatedBackupPolicyArgs) ElementType

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput

func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutputWithContext

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

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput

func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutputWithContext

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

type 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 automated backups are enabled.

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. Structure is documented below.

func (ClusterAutomatedBackupPolicyOutput) TimeBasedRetention

Time-based Backup retention policy. Structure is documented below.

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput

func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutputWithContext

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

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput

func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext

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

func (ClusterAutomatedBackupPolicyOutput) WeeklySchedule

Weekly schedule for the Backup. Structure is documented below.

type ClusterAutomatedBackupPolicyPtrInput

type ClusterAutomatedBackupPolicyPtrInput interface {
	pulumi.Input

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

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

        ClusterAutomatedBackupPolicyArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyPtrOutput

type ClusterAutomatedBackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyPtrOutput) BackupWindow

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

func (ClusterAutomatedBackupPolicyPtrOutput) Elem

func (ClusterAutomatedBackupPolicyPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyPtrOutput) Enabled

Whether automated automated backups are enabled.

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. Structure is documented below.

func (ClusterAutomatedBackupPolicyPtrOutput) TimeBasedRetention

Time-based Backup retention policy. Structure is documented below.

func (ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput

func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput

func (ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext

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

func (ClusterAutomatedBackupPolicyPtrOutput) WeeklySchedule

Weekly schedule for the Backup. Structure is documented below.

type ClusterAutomatedBackupPolicyQuantityBasedRetention

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

type ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs

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

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ElementType

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext

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

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext

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

type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput interface {
	pulumi.Input

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

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

ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{...}

type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) Count

The number of backups to retain.

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ElementType

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext

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

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext

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

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput interface {
	pulumi.Input

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

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

        ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Count

The number of backups to retain.

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Elem

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext

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

type ClusterAutomatedBackupPolicyTimeBasedRetention

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

type ClusterAutomatedBackupPolicyTimeBasedRetentionArgs

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ElementType

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext

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

type ClusterAutomatedBackupPolicyTimeBasedRetentionInput

type ClusterAutomatedBackupPolicyTimeBasedRetentionInput interface {
	pulumi.Input

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

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

ClusterAutomatedBackupPolicyTimeBasedRetentionArgs{...}

type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput

type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ElementType

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) RetentionPeriod

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext

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

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput interface {
	pulumi.Input

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

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

        ClusterAutomatedBackupPolicyTimeBasedRetentionArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) Elem

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ElementType

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) RetentionPeriod

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

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput

func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklySchedule

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklyScheduleInput

type ClusterAutomatedBackupPolicyWeeklyScheduleInput interface {
	pulumi.Input

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

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

ClusterAutomatedBackupPolicyWeeklyScheduleArgs{...}

type ClusterAutomatedBackupPolicyWeeklyScheduleOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) DaysOfWeeks

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) StartTimes

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput

type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput interface {
	pulumi.Input

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

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

        ClusterAutomatedBackupPolicyWeeklyScheduleArgs{...}

or:

        nil

type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) DaysOfWeeks

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

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) Elem

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) StartTimes

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

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput

func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime struct {
	// Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
	Hours *int `pulumi:"hours"`
	// Minutes of hour of day. Must be from 0 to 59.
	Minutes *int `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	Nanos *int `pulumi:"nanos"`
	// Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
	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. Must be from 0 to 59.
	Minutes pulumi.IntPtrInput `pulumi:"minutes"`
	// Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
	Nanos pulumi.IntPtrInput `pulumi:"nanos"`
	// Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
	Seconds pulumi.IntPtrInput `pulumi:"seconds"`
}

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray []ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput interface {
	pulumi.Input

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

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

ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray{ ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{...} }

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) Index

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext

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

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput interface {
	pulumi.Input

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

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

ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{...}

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput struct{ *pulumi.OutputState }

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ElementType

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Hours

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

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Minutes

Minutes of hour of day. Must be from 0 to 59.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Nanos

Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Seconds

Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput

func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext

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

type ClusterBackupSource

type ClusterBackupSource struct {
	BackupName *string `pulumi:"backupName"`
}

type ClusterBackupSourceArgs

type ClusterBackupSourceArgs struct {
	BackupName pulumi.StringPtrInput `pulumi:"backupName"`
}

func (ClusterBackupSourceArgs) ElementType

func (ClusterBackupSourceArgs) ElementType() reflect.Type

func (ClusterBackupSourceArgs) ToClusterBackupSourceOutput

func (i ClusterBackupSourceArgs) ToClusterBackupSourceOutput() ClusterBackupSourceOutput

func (ClusterBackupSourceArgs) ToClusterBackupSourceOutputWithContext

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

type ClusterBackupSourceArray

type ClusterBackupSourceArray []ClusterBackupSourceInput

func (ClusterBackupSourceArray) ElementType

func (ClusterBackupSourceArray) ElementType() reflect.Type

func (ClusterBackupSourceArray) ToClusterBackupSourceArrayOutput

func (i ClusterBackupSourceArray) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput

func (ClusterBackupSourceArray) ToClusterBackupSourceArrayOutputWithContext

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

type ClusterBackupSourceArrayInput

type ClusterBackupSourceArrayInput interface {
	pulumi.Input

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

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

ClusterBackupSourceArray{ ClusterBackupSourceArgs{...} }

type ClusterBackupSourceArrayOutput

type ClusterBackupSourceArrayOutput struct{ *pulumi.OutputState }

func (ClusterBackupSourceArrayOutput) ElementType

func (ClusterBackupSourceArrayOutput) Index

func (ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput

func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput

func (ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutputWithContext

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

type ClusterBackupSourceInput

type ClusterBackupSourceInput interface {
	pulumi.Input

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

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

ClusterBackupSourceArgs{...}

type ClusterBackupSourceOutput

type ClusterBackupSourceOutput struct{ *pulumi.OutputState }

func (ClusterBackupSourceOutput) BackupName

func (ClusterBackupSourceOutput) ElementType

func (ClusterBackupSourceOutput) ElementType() reflect.Type

func (ClusterBackupSourceOutput) ToClusterBackupSourceOutput

func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutput() ClusterBackupSourceOutput

func (ClusterBackupSourceOutput) ToClusterBackupSourceOutputWithContext

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

type ClusterInitialUser

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

type ClusterInitialUserArgs

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

func (ClusterInitialUserArgs) ElementType

func (ClusterInitialUserArgs) ElementType() reflect.Type

func (ClusterInitialUserArgs) ToClusterInitialUserOutput

func (i ClusterInitialUserArgs) ToClusterInitialUserOutput() ClusterInitialUserOutput

func (ClusterInitialUserArgs) ToClusterInitialUserOutputWithContext

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

func (ClusterInitialUserArgs) ToClusterInitialUserPtrOutput

func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput

func (ClusterInitialUserArgs) ToClusterInitialUserPtrOutputWithContext

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

type ClusterInitialUserInput

type ClusterInitialUserInput interface {
	pulumi.Input

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

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

ClusterInitialUserArgs{...}

type ClusterInitialUserOutput

type ClusterInitialUserOutput struct{ *pulumi.OutputState }

func (ClusterInitialUserOutput) ElementType

func (ClusterInitialUserOutput) ElementType() reflect.Type

func (ClusterInitialUserOutput) Password

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

func (ClusterInitialUserOutput) ToClusterInitialUserOutput

func (o ClusterInitialUserOutput) ToClusterInitialUserOutput() ClusterInitialUserOutput

func (ClusterInitialUserOutput) ToClusterInitialUserOutputWithContext

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

func (ClusterInitialUserOutput) ToClusterInitialUserPtrOutput

func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput

func (ClusterInitialUserOutput) ToClusterInitialUserPtrOutputWithContext

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

func (ClusterInitialUserOutput) User

The database username.

type ClusterInitialUserPtrInput

type ClusterInitialUserPtrInput interface {
	pulumi.Input

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

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

        ClusterInitialUserArgs{...}

or:

        nil

type ClusterInitialUserPtrOutput

type ClusterInitialUserPtrOutput struct{ *pulumi.OutputState }

func (ClusterInitialUserPtrOutput) Elem

func (ClusterInitialUserPtrOutput) ElementType

func (ClusterInitialUserPtrOutput) Password

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

func (ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput

func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput

func (ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutputWithContext

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

func (ClusterInitialUserPtrOutput) User

The database username.

type ClusterInput

type ClusterInput interface {
	pulumi.Input

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

type ClusterMap

type ClusterMap map[string]ClusterInput

func (ClusterMap) ElementType

func (ClusterMap) ElementType() reflect.Type

func (ClusterMap) ToClusterMapOutput

func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput

func (ClusterMap) ToClusterMapOutputWithContext

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

type ClusterMapInput

type ClusterMapInput interface {
	pulumi.Input

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

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

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

type ClusterMapOutput

type ClusterMapOutput struct{ *pulumi.OutputState }

func (ClusterMapOutput) ElementType

func (ClusterMapOutput) ElementType() reflect.Type

func (ClusterMapOutput) MapIndex

func (ClusterMapOutput) ToClusterMapOutput

func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput

func (ClusterMapOutput) ToClusterMapOutputWithContext

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

type ClusterMigrationSource

type ClusterMigrationSource struct {
	HostPort    *string `pulumi:"hostPort"`
	ReferenceId *string `pulumi:"referenceId"`
	SourceType  *string `pulumi:"sourceType"`
}

type ClusterMigrationSourceArgs

type ClusterMigrationSourceArgs struct {
	HostPort    pulumi.StringPtrInput `pulumi:"hostPort"`
	ReferenceId pulumi.StringPtrInput `pulumi:"referenceId"`
	SourceType  pulumi.StringPtrInput `pulumi:"sourceType"`
}

func (ClusterMigrationSourceArgs) ElementType

func (ClusterMigrationSourceArgs) ElementType() reflect.Type

func (ClusterMigrationSourceArgs) ToClusterMigrationSourceOutput

func (i ClusterMigrationSourceArgs) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput

func (ClusterMigrationSourceArgs) ToClusterMigrationSourceOutputWithContext

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

type ClusterMigrationSourceArray

type ClusterMigrationSourceArray []ClusterMigrationSourceInput

func (ClusterMigrationSourceArray) ElementType

func (ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput

func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput

func (ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutputWithContext

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

type ClusterMigrationSourceArrayInput

type ClusterMigrationSourceArrayInput interface {
	pulumi.Input

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

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

ClusterMigrationSourceArray{ ClusterMigrationSourceArgs{...} }

type ClusterMigrationSourceArrayOutput

type ClusterMigrationSourceArrayOutput struct{ *pulumi.OutputState }

func (ClusterMigrationSourceArrayOutput) ElementType

func (ClusterMigrationSourceArrayOutput) Index

func (ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput

func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput

func (ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutputWithContext

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

type ClusterMigrationSourceInput

type ClusterMigrationSourceInput interface {
	pulumi.Input

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

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

ClusterMigrationSourceArgs{...}

type ClusterMigrationSourceOutput

type ClusterMigrationSourceOutput struct{ *pulumi.OutputState }

func (ClusterMigrationSourceOutput) ElementType

func (ClusterMigrationSourceOutput) HostPort

func (ClusterMigrationSourceOutput) ReferenceId

func (ClusterMigrationSourceOutput) SourceType

func (ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput

func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput

func (ClusterMigrationSourceOutput) ToClusterMigrationSourceOutputWithContext

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

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) AutomatedBackupPolicy

func (o ClusterOutput) AutomatedBackupPolicy() ClusterAutomatedBackupPolicyPtrOutput

The automated backup policy for this cluster. If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. Structure is documented below.

func (ClusterOutput) BackupSources

Cluster created from backup.

func (ClusterOutput) ClusterId

func (o ClusterOutput) ClusterId() pulumi.StringOutput

The ID of the alloydb cluster.

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

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

func (ClusterOutput) Labels

Labels to apply to backups created using this configuration.

func (ClusterOutput) Location

func (o ClusterOutput) Location() pulumi.StringPtrOutput

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 (ClusterOutput) MigrationSources

func (o ClusterOutput) MigrationSources() ClusterMigrationSourceArrayOutput

Cluster created via DMS migration.

func (ClusterOutput) Name

The name of the cluster resource.

func (ClusterOutput) Network

func (o ClusterOutput) Network() pulumi.StringOutput

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}".

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

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) Uid

The system-generated UID of the resource.

type ClusterState

type ClusterState struct {
	// The automated backup policy for this cluster.
	// If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days.
	// Structure is documented below.
	AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrInput
	// Cluster created from backup.
	BackupSources ClusterBackupSourceArrayInput
	// The ID of the alloydb cluster.
	ClusterId pulumi.StringPtrInput
	// 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
	// Initial user to setup during cluster creation.
	// Structure is documented below.
	InitialUser ClusterInitialUserPtrInput
	// Labels to apply to backups created using this configuration.
	Labels pulumi.StringMapInput
	// 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
	// Cluster created via DMS migration.
	MigrationSources ClusterMigrationSourceArrayInput
	// The name of the cluster resource.
	Name pulumi.StringPtrInput
	// 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}".
	Network pulumi.StringPtrInput
	// The ID of the project in which the resource belongs.
	// If it is not provided, the provider project is used.
	Project pulumi.StringPtrInput
	// The system-generated UID of the resource.
	Uid pulumi.StringPtrInput
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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