v1beta

package
v0.32.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	// Backup Type is unknown.
	BackupTypeTypeUnspecified = BackupType("TYPE_UNSPECIFIED")
	// ON_DEMAND backups that were triggered by the customer (e.g., not AUTOMATED).
	BackupTypeOnDemand = BackupType("ON_DEMAND")
	// AUTOMATED backups triggered by the automated backups scheduler pursuant to an automated backup policy.
	BackupTypeAutomated = BackupType("AUTOMATED")
	// CONTINUOUS backups triggered by the automated backups scheduler due to a continuous backup policy.
	BackupTypeContinuous = BackupType("CONTINUOUS")
)
View Source
const (
	// This is an unknown database version.
	ClusterDatabaseVersionDatabaseVersionUnspecified = ClusterDatabaseVersion("DATABASE_VERSION_UNSPECIFIED")
	// DEPRECATED - The database version is Postgres 13.
	ClusterDatabaseVersionPostgres13 = ClusterDatabaseVersion("POSTGRES_13")
	// The database version is Postgres 14.
	ClusterDatabaseVersionPostgres14 = ClusterDatabaseVersion("POSTGRES_14")
	// The database version is Postgres 15.
	ClusterDatabaseVersionPostgres15 = ClusterDatabaseVersion("POSTGRES_15")
)
View Source
const (
	// This is an unknown Availability type.
	InstanceAvailabilityTypeAvailabilityTypeUnspecified = InstanceAvailabilityType("AVAILABILITY_TYPE_UNSPECIFIED")
	// Zonal available instance.
	InstanceAvailabilityTypeZonal = InstanceAvailabilityType("ZONAL")
	// Regional (or Highly) available instance.
	InstanceAvailabilityTypeRegional = InstanceAvailabilityType("REGIONAL")
)
View Source
const (
	// The type of the instance is unknown.
	InstanceInstanceTypeInstanceTypeUnspecified = InstanceInstanceType("INSTANCE_TYPE_UNSPECIFIED")
	// PRIMARY instances support read and write operations.
	InstanceInstanceTypePrimary = InstanceInstanceType("PRIMARY")
	// READ POOL instances support read operations only. Each read pool instance consists of one or more homogeneous nodes. * 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).
	InstanceInstanceTypeReadPool = InstanceInstanceType("READ_POOL")
	// SECONDARY instances support read operations only. SECONDARY instance is a cross-region read replica
	InstanceInstanceTypeSecondary = InstanceInstanceType("SECONDARY")
)
View Source
const (
	// Certificate Authority (CA) source not specified. Defaults to CA_SOURCE_MANAGED.
	SslConfigCaSourceCaSourceUnspecified = SslConfigCaSource("CA_SOURCE_UNSPECIFIED")
	// Certificate Authority (CA) managed by the AlloyDB Cluster.
	SslConfigCaSourceCaSourceManaged = SslConfigCaSource("CA_SOURCE_MANAGED")
)
View Source
const (
	// SSL mode not specified. Defaults to ENCRYPTED_ONLY.
	SslConfigSslModeSslModeUnspecified = SslConfigSslMode("SSL_MODE_UNSPECIFIED")
	// SSL connections are optional. CA verification not enforced.
	SslConfigSslModeSslModeAllow = SslConfigSslMode("SSL_MODE_ALLOW")
	// SSL connections are required. CA verification not enforced. Clients may use locally self-signed certificates (default psql client behavior).
	SslConfigSslModeSslModeRequire = SslConfigSslMode("SSL_MODE_REQUIRE")
	// SSL connections are required. CA verification enforced. Clients must have certificates signed by a Cluster CA, e.g. via GenerateClientCertificate.
	SslConfigSslModeSslModeVerifyCa = SslConfigSslMode("SSL_MODE_VERIFY_CA")
	// SSL connections are optional. CA verification not enforced.
	SslConfigSslModeAllowUnencryptedAndEncrypted = SslConfigSslMode("ALLOW_UNENCRYPTED_AND_ENCRYPTED")
	// SSL connections are required. CA verification not enforced.
	SslConfigSslModeEncryptedOnly = SslConfigSslMode("ENCRYPTED_ONLY")
)
View Source
const (
	// Mode is unknown.
	UpdatePolicyModeModeUnspecified = UpdatePolicyMode("MODE_UNSPECIFIED")
	// Least disruptive way to apply the update.
	UpdatePolicyModeDefault = UpdatePolicyMode("DEFAULT")
	// Performs a forced update when applicable. This will be fast but may incur a downtime.
	UpdatePolicyModeForceApply = UpdatePolicyMode("FORCE_APPLY")
)
View Source
const (
	// Unspecified user type.
	UserUserTypeUserTypeUnspecified = UserUserType("USER_TYPE_UNSPECIFIED")
	// The default user type that authenticates via password-based authentication.
	UserUserTypeAlloydbBuiltIn = UserUserType("ALLOYDB_BUILT_IN")
	// Database user that can authenticate via IAM-Based authentication.
	UserUserTypeAlloydbIamUser = UserUserType("ALLOYDB_IAM_USER")
)
View Source
const (
	// The day of the week is unspecified.
	WeeklyScheduleDaysOfWeekItemDayOfWeekUnspecified = WeeklyScheduleDaysOfWeekItem("DAY_OF_WEEK_UNSPECIFIED")
	// Monday
	WeeklyScheduleDaysOfWeekItemMonday = WeeklyScheduleDaysOfWeekItem("MONDAY")
	// Tuesday
	WeeklyScheduleDaysOfWeekItemTuesday = WeeklyScheduleDaysOfWeekItem("TUESDAY")
	// Wednesday
	WeeklyScheduleDaysOfWeekItemWednesday = WeeklyScheduleDaysOfWeekItem("WEDNESDAY")
	// Thursday
	WeeklyScheduleDaysOfWeekItemThursday = WeeklyScheduleDaysOfWeekItem("THURSDAY")
	// Friday
	WeeklyScheduleDaysOfWeekItemFriday = WeeklyScheduleDaysOfWeekItem("FRIDAY")
	// Saturday
	WeeklyScheduleDaysOfWeekItemSaturday = WeeklyScheduleDaysOfWeekItem("SATURDAY")
	// Sunday
	WeeklyScheduleDaysOfWeekItemSunday = WeeklyScheduleDaysOfWeekItem("SUNDAY")
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AutomatedBackupPolicy

type AutomatedBackupPolicy 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 defaults to 1 hour.
	BackupWindow *string `pulumi:"backupWindow"`
	// Whether automated automated backups are enabled. If not set, defaults to true.
	Enabled *bool `pulumi:"enabled"`
	// Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig *EncryptionConfig `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. If empty, defaults to the region of the cluster.
	Location *string `pulumi:"location"`
	// Quantity-based Backup retention policy to retain recent backups.
	QuantityBasedRetention *QuantityBasedRetention `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy.
	TimeBasedRetention *TimeBasedRetention `pulumi:"timeBasedRetention"`
	// Weekly schedule for the Backup.
	WeeklySchedule *WeeklySchedule `pulumi:"weeklySchedule"`
}

Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

type AutomatedBackupPolicyArgs

type AutomatedBackupPolicyArgs 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 defaults to 1 hour.
	BackupWindow pulumi.StringPtrInput `pulumi:"backupWindow"`
	// Whether automated automated backups are enabled. If not set, defaults to true.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigPtrInput `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. If empty, defaults to the region of the cluster.
	Location pulumi.StringPtrInput `pulumi:"location"`
	// Quantity-based Backup retention policy to retain recent backups.
	QuantityBasedRetention QuantityBasedRetentionPtrInput `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy.
	TimeBasedRetention TimeBasedRetentionPtrInput `pulumi:"timeBasedRetention"`
	// Weekly schedule for the Backup.
	WeeklySchedule WeeklySchedulePtrInput `pulumi:"weeklySchedule"`
}

Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

func (AutomatedBackupPolicyArgs) ElementType

func (AutomatedBackupPolicyArgs) ElementType() reflect.Type

func (AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyOutput

func (i AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyOutput() AutomatedBackupPolicyOutput

func (AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyOutputWithContext

func (i AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyOutputWithContext(ctx context.Context) AutomatedBackupPolicyOutput

func (AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyPtrOutput

func (i AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyPtrOutput() AutomatedBackupPolicyPtrOutput

func (AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyPtrOutputWithContext

func (i AutomatedBackupPolicyArgs) ToAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) AutomatedBackupPolicyPtrOutput

type AutomatedBackupPolicyInput

type AutomatedBackupPolicyInput interface {
	pulumi.Input

	ToAutomatedBackupPolicyOutput() AutomatedBackupPolicyOutput
	ToAutomatedBackupPolicyOutputWithContext(context.Context) AutomatedBackupPolicyOutput
}

AutomatedBackupPolicyInput is an input type that accepts AutomatedBackupPolicyArgs and AutomatedBackupPolicyOutput values. You can construct a concrete instance of `AutomatedBackupPolicyInput` via:

AutomatedBackupPolicyArgs{...}

type AutomatedBackupPolicyOutput

type AutomatedBackupPolicyOutput struct{ *pulumi.OutputState }

Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

func (AutomatedBackupPolicyOutput) 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 defaults to 1 hour.

func (AutomatedBackupPolicyOutput) ElementType

func (AutomatedBackupPolicyOutput) Enabled

Whether automated automated backups are enabled. If not set, defaults to true.

func (AutomatedBackupPolicyOutput) EncryptionConfig

Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (AutomatedBackupPolicyOutput) Labels

Labels to apply to backups created using this configuration.

func (AutomatedBackupPolicyOutput) 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. If empty, defaults to the region of the cluster.

func (AutomatedBackupPolicyOutput) QuantityBasedRetention

Quantity-based Backup retention policy to retain recent backups.

func (AutomatedBackupPolicyOutput) TimeBasedRetention

Time-based Backup retention policy.

func (AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyOutput

func (o AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyOutput() AutomatedBackupPolicyOutput

func (AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyOutputWithContext

func (o AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyOutputWithContext(ctx context.Context) AutomatedBackupPolicyOutput

func (AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyPtrOutput

func (o AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyPtrOutput() AutomatedBackupPolicyPtrOutput

func (AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyPtrOutputWithContext

func (o AutomatedBackupPolicyOutput) ToAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) AutomatedBackupPolicyPtrOutput

func (AutomatedBackupPolicyOutput) WeeklySchedule

Weekly schedule for the Backup.

type AutomatedBackupPolicyPtrInput

type AutomatedBackupPolicyPtrInput interface {
	pulumi.Input

	ToAutomatedBackupPolicyPtrOutput() AutomatedBackupPolicyPtrOutput
	ToAutomatedBackupPolicyPtrOutputWithContext(context.Context) AutomatedBackupPolicyPtrOutput
}

AutomatedBackupPolicyPtrInput is an input type that accepts AutomatedBackupPolicyArgs, AutomatedBackupPolicyPtr and AutomatedBackupPolicyPtrOutput values. You can construct a concrete instance of `AutomatedBackupPolicyPtrInput` via:

        AutomatedBackupPolicyArgs{...}

or:

        nil

type AutomatedBackupPolicyPtrOutput

type AutomatedBackupPolicyPtrOutput struct{ *pulumi.OutputState }

func (AutomatedBackupPolicyPtrOutput) 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 defaults to 1 hour.

func (AutomatedBackupPolicyPtrOutput) Elem

func (AutomatedBackupPolicyPtrOutput) ElementType

func (AutomatedBackupPolicyPtrOutput) Enabled

Whether automated automated backups are enabled. If not set, defaults to true.

func (AutomatedBackupPolicyPtrOutput) EncryptionConfig

Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (AutomatedBackupPolicyPtrOutput) Labels

Labels to apply to backups created using this configuration.

func (AutomatedBackupPolicyPtrOutput) 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. If empty, defaults to the region of the cluster.

func (AutomatedBackupPolicyPtrOutput) QuantityBasedRetention

Quantity-based Backup retention policy to retain recent backups.

func (AutomatedBackupPolicyPtrOutput) TimeBasedRetention

Time-based Backup retention policy.

func (AutomatedBackupPolicyPtrOutput) ToAutomatedBackupPolicyPtrOutput

func (o AutomatedBackupPolicyPtrOutput) ToAutomatedBackupPolicyPtrOutput() AutomatedBackupPolicyPtrOutput

func (AutomatedBackupPolicyPtrOutput) ToAutomatedBackupPolicyPtrOutputWithContext

func (o AutomatedBackupPolicyPtrOutput) ToAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) AutomatedBackupPolicyPtrOutput

func (AutomatedBackupPolicyPtrOutput) WeeklySchedule

Weekly schedule for the Backup.

type AutomatedBackupPolicyResponse

type AutomatedBackupPolicyResponse 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 defaults to 1 hour.
	BackupWindow string `pulumi:"backupWindow"`
	// Whether automated automated backups are enabled. If not set, defaults to true.
	Enabled bool `pulumi:"enabled"`
	// Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigResponse `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. If empty, defaults to the region of the cluster.
	Location string `pulumi:"location"`
	// Quantity-based Backup retention policy to retain recent backups.
	QuantityBasedRetention QuantityBasedRetentionResponse `pulumi:"quantityBasedRetention"`
	// Time-based Backup retention policy.
	TimeBasedRetention TimeBasedRetentionResponse `pulumi:"timeBasedRetention"`
	// Weekly schedule for the Backup.
	WeeklySchedule WeeklyScheduleResponse `pulumi:"weeklySchedule"`
}

Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

type AutomatedBackupPolicyResponseOutput

type AutomatedBackupPolicyResponseOutput struct{ *pulumi.OutputState }

Message describing the user-specified automated backup policy. All fields in the automated backup policy are optional. Defaults for each field are provided if they are not set.

func (AutomatedBackupPolicyResponseOutput) 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 defaults to 1 hour.

func (AutomatedBackupPolicyResponseOutput) ElementType

func (AutomatedBackupPolicyResponseOutput) Enabled

Whether automated automated backups are enabled. If not set, defaults to true.

func (AutomatedBackupPolicyResponseOutput) EncryptionConfig

Optional. The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (AutomatedBackupPolicyResponseOutput) Labels

Labels to apply to backups created using this configuration.

func (AutomatedBackupPolicyResponseOutput) 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. If empty, defaults to the region of the cluster.

func (AutomatedBackupPolicyResponseOutput) QuantityBasedRetention

Quantity-based Backup retention policy to retain recent backups.

func (AutomatedBackupPolicyResponseOutput) TimeBasedRetention

Time-based Backup retention policy.

func (AutomatedBackupPolicyResponseOutput) ToAutomatedBackupPolicyResponseOutput

func (o AutomatedBackupPolicyResponseOutput) ToAutomatedBackupPolicyResponseOutput() AutomatedBackupPolicyResponseOutput

func (AutomatedBackupPolicyResponseOutput) ToAutomatedBackupPolicyResponseOutputWithContext

func (o AutomatedBackupPolicyResponseOutput) ToAutomatedBackupPolicyResponseOutputWithContext(ctx context.Context) AutomatedBackupPolicyResponseOutput

func (AutomatedBackupPolicyResponseOutput) WeeklySchedule

Weekly schedule for the Backup.

type Backup

type Backup struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Required. ID of the requesting object.
	BackupId pulumi.StringOutput `pulumi:"backupId"`
	// The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
	ClusterName pulumi.StringOutput `pulumi:"clusterName"`
	// The system-generated UID of the cluster which was used to create this resource.
	ClusterUid pulumi.StringOutput `pulumi:"clusterUid"`
	// Create time stamp
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
	DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"`
	// Delete time stamp
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// User-provided description of the backup.
	Description pulumi.StringOutput `pulumi:"description"`
	// User-settable and human-readable display name for the Backup.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigResponseOutput `pulumi:"encryptionConfig"`
	// The encryption information for the backup.
	EncryptionInfo EncryptionInfoResponseOutput `pulumi:"encryptionInfo"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringOutput `pulumi:"etag"`
	// The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
	ExpiryQuantity QuantityBasedExpiryResponseOutput `pulumi:"expiryQuantity"`
	// The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
	ExpiryTime pulumi.StringOutput `pulumi:"expiryTime"`
	// Labels as key value pairs
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}
	Name    pulumi.StringOutput `pulumi:"name"`
	Project pulumi.StringOutput `pulumi:"project"`
	// Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrOutput `pulumi:"requestId"`
	// The size of the backup in bytes.
	SizeBytes pulumi.StringOutput `pulumi:"sizeBytes"`
	// The current state of the backup.
	State pulumi.StringOutput `pulumi:"state"`
	// The backup type, which suggests the trigger for the backup.
	Type pulumi.StringOutput `pulumi:"type"`
	// 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"`
	// Update time stamp
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new Backup in a given project and location. Auto-naming is currently not supported for this resource.

func GetBackup

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

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

func NewBackup

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

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

func (*Backup) ElementType

func (*Backup) ElementType() reflect.Type

func (*Backup) ToBackupOutput

func (i *Backup) ToBackupOutput() BackupOutput

func (*Backup) ToBackupOutputWithContext

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

type BackupArgs

type BackupArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations pulumi.StringMapInput
	// Required. ID of the requesting object.
	BackupId pulumi.StringInput
	// The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
	ClusterName pulumi.StringInput
	// User-provided description of the backup.
	Description pulumi.StringPtrInput
	// User-settable and human-readable display name for the Backup.
	DisplayName pulumi.StringPtrInput
	// Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigPtrInput
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringPtrInput
	// Labels as key value pairs
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrInput
	// The backup type, which suggests the trigger for the backup.
	Type BackupTypePtrInput
}

The set of arguments for constructing a Backup resource.

func (BackupArgs) ElementType

func (BackupArgs) ElementType() reflect.Type

type BackupInput

type BackupInput interface {
	pulumi.Input

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

type BackupOutput

type BackupOutput struct{ *pulumi.OutputState }

func (BackupOutput) Annotations

func (o BackupOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

func (BackupOutput) BackupId

func (o BackupOutput) BackupId() pulumi.StringOutput

Required. ID of the requesting object.

func (BackupOutput) ClusterName

func (o BackupOutput) ClusterName() pulumi.StringOutput

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

func (BackupOutput) ClusterUid

func (o BackupOutput) ClusterUid() pulumi.StringOutput

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

func (BackupOutput) CreateTime

func (o BackupOutput) CreateTime() pulumi.StringOutput

Create time stamp

func (BackupOutput) DatabaseVersion

func (o BackupOutput) DatabaseVersion() pulumi.StringOutput

The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.

func (BackupOutput) DeleteTime

func (o BackupOutput) DeleteTime() pulumi.StringOutput

Delete time stamp

func (BackupOutput) Description

func (o BackupOutput) Description() pulumi.StringOutput

User-provided description of the backup.

func (BackupOutput) DisplayName

func (o BackupOutput) DisplayName() pulumi.StringOutput

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

func (BackupOutput) ElementType

func (BackupOutput) ElementType() reflect.Type

func (BackupOutput) EncryptionConfig

func (o BackupOutput) EncryptionConfig() EncryptionConfigResponseOutput

Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (BackupOutput) EncryptionInfo

func (o BackupOutput) EncryptionInfo() EncryptionInfoResponseOutput

The encryption information for the backup.

func (BackupOutput) Etag

func (o BackupOutput) Etag() pulumi.StringOutput

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

func (BackupOutput) ExpiryQuantity

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

func (BackupOutput) ExpiryTime

func (o BackupOutput) ExpiryTime() pulumi.StringOutput

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

func (BackupOutput) Labels

func (o BackupOutput) Labels() pulumi.StringMapOutput

Labels as key value pairs

func (BackupOutput) Location

func (o BackupOutput) Location() pulumi.StringOutput

func (BackupOutput) Name

func (o BackupOutput) Name() pulumi.StringOutput

The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}

func (BackupOutput) Project

func (o BackupOutput) Project() pulumi.StringOutput

func (BackupOutput) Reconciling

func (o BackupOutput) Reconciling() pulumi.BoolOutput

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

func (BackupOutput) RequestId

func (o BackupOutput) RequestId() pulumi.StringPtrOutput

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (BackupOutput) SizeBytes

func (o BackupOutput) SizeBytes() pulumi.StringOutput

The size of the backup in bytes.

func (BackupOutput) State

func (o BackupOutput) State() pulumi.StringOutput

The current state of the backup.

func (BackupOutput) ToBackupOutput

func (o BackupOutput) ToBackupOutput() BackupOutput

func (BackupOutput) ToBackupOutputWithContext

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

func (BackupOutput) Type

func (o BackupOutput) Type() pulumi.StringOutput

The backup type, which suggests the trigger for the backup.

func (BackupOutput) Uid

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

func (BackupOutput) UpdateTime

func (o BackupOutput) UpdateTime() pulumi.StringOutput

Update time stamp

type BackupSourceResponse

type BackupSourceResponse struct {
	// The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id}
	BackupName string `pulumi:"backupName"`
	// The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.
	BackupUid string `pulumi:"backupUid"`
}

Message describing a BackupSource.

type BackupSourceResponseOutput

type BackupSourceResponseOutput struct{ *pulumi.OutputState }

Message describing a BackupSource.

func (BackupSourceResponseOutput) BackupName

The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id}

func (BackupSourceResponseOutput) BackupUid

The system-generated UID of the backup which was used to create this resource. The UID is generated when the backup is created, and it is retained until the backup is deleted.

func (BackupSourceResponseOutput) ElementType

func (BackupSourceResponseOutput) ElementType() reflect.Type

func (BackupSourceResponseOutput) ToBackupSourceResponseOutput

func (o BackupSourceResponseOutput) ToBackupSourceResponseOutput() BackupSourceResponseOutput

func (BackupSourceResponseOutput) ToBackupSourceResponseOutputWithContext

func (o BackupSourceResponseOutput) ToBackupSourceResponseOutputWithContext(ctx context.Context) BackupSourceResponseOutput

type BackupState

type BackupState struct {
}

func (BackupState) ElementType

func (BackupState) ElementType() reflect.Type

type BackupType

type BackupType string

The backup type, which suggests the trigger for the backup.

func (BackupType) ElementType

func (BackupType) ElementType() reflect.Type

func (BackupType) ToBackupTypeOutput

func (e BackupType) ToBackupTypeOutput() BackupTypeOutput

func (BackupType) ToBackupTypeOutputWithContext

func (e BackupType) ToBackupTypeOutputWithContext(ctx context.Context) BackupTypeOutput

func (BackupType) ToBackupTypePtrOutput

func (e BackupType) ToBackupTypePtrOutput() BackupTypePtrOutput

func (BackupType) ToBackupTypePtrOutputWithContext

func (e BackupType) ToBackupTypePtrOutputWithContext(ctx context.Context) BackupTypePtrOutput

func (BackupType) ToStringOutput

func (e BackupType) ToStringOutput() pulumi.StringOutput

func (BackupType) ToStringOutputWithContext

func (e BackupType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BackupType) ToStringPtrOutput

func (e BackupType) ToStringPtrOutput() pulumi.StringPtrOutput

func (BackupType) ToStringPtrOutputWithContext

func (e BackupType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BackupTypeInput

type BackupTypeInput interface {
	pulumi.Input

	ToBackupTypeOutput() BackupTypeOutput
	ToBackupTypeOutputWithContext(context.Context) BackupTypeOutput
}

BackupTypeInput is an input type that accepts BackupTypeArgs and BackupTypeOutput values. You can construct a concrete instance of `BackupTypeInput` via:

BackupTypeArgs{...}

type BackupTypeOutput

type BackupTypeOutput struct{ *pulumi.OutputState }

func (BackupTypeOutput) ElementType

func (BackupTypeOutput) ElementType() reflect.Type

func (BackupTypeOutput) ToBackupTypeOutput

func (o BackupTypeOutput) ToBackupTypeOutput() BackupTypeOutput

func (BackupTypeOutput) ToBackupTypeOutputWithContext

func (o BackupTypeOutput) ToBackupTypeOutputWithContext(ctx context.Context) BackupTypeOutput

func (BackupTypeOutput) ToBackupTypePtrOutput

func (o BackupTypeOutput) ToBackupTypePtrOutput() BackupTypePtrOutput

func (BackupTypeOutput) ToBackupTypePtrOutputWithContext

func (o BackupTypeOutput) ToBackupTypePtrOutputWithContext(ctx context.Context) BackupTypePtrOutput

func (BackupTypeOutput) ToStringOutput

func (o BackupTypeOutput) ToStringOutput() pulumi.StringOutput

func (BackupTypeOutput) ToStringOutputWithContext

func (o BackupTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (BackupTypeOutput) ToStringPtrOutput

func (o BackupTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (BackupTypeOutput) ToStringPtrOutputWithContext

func (o BackupTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type BackupTypePtrInput

type BackupTypePtrInput interface {
	pulumi.Input

	ToBackupTypePtrOutput() BackupTypePtrOutput
	ToBackupTypePtrOutputWithContext(context.Context) BackupTypePtrOutput
}

func BackupTypePtr

func BackupTypePtr(v string) BackupTypePtrInput

type BackupTypePtrOutput

type BackupTypePtrOutput struct{ *pulumi.OutputState }

func (BackupTypePtrOutput) Elem

func (BackupTypePtrOutput) ElementType

func (BackupTypePtrOutput) ElementType() reflect.Type

func (BackupTypePtrOutput) ToBackupTypePtrOutput

func (o BackupTypePtrOutput) ToBackupTypePtrOutput() BackupTypePtrOutput

func (BackupTypePtrOutput) ToBackupTypePtrOutputWithContext

func (o BackupTypePtrOutput) ToBackupTypePtrOutputWithContext(ctx context.Context) BackupTypePtrOutput

func (BackupTypePtrOutput) ToStringPtrOutput

func (o BackupTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (BackupTypePtrOutput) ToStringPtrOutputWithContext

func (o BackupTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ClientConnectionConfig

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

Client connection configuration

type ClientConnectionConfigArgs

type ClientConnectionConfigArgs struct {
	// Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
	RequireConnectors pulumi.BoolPtrInput `pulumi:"requireConnectors"`
	// Optional. SSL config option for this instance.
	SslConfig SslConfigPtrInput `pulumi:"sslConfig"`
}

Client connection configuration

func (ClientConnectionConfigArgs) ElementType

func (ClientConnectionConfigArgs) ElementType() reflect.Type

func (ClientConnectionConfigArgs) ToClientConnectionConfigOutput

func (i ClientConnectionConfigArgs) ToClientConnectionConfigOutput() ClientConnectionConfigOutput

func (ClientConnectionConfigArgs) ToClientConnectionConfigOutputWithContext

func (i ClientConnectionConfigArgs) ToClientConnectionConfigOutputWithContext(ctx context.Context) ClientConnectionConfigOutput

func (ClientConnectionConfigArgs) ToClientConnectionConfigPtrOutput

func (i ClientConnectionConfigArgs) ToClientConnectionConfigPtrOutput() ClientConnectionConfigPtrOutput

func (ClientConnectionConfigArgs) ToClientConnectionConfigPtrOutputWithContext

func (i ClientConnectionConfigArgs) ToClientConnectionConfigPtrOutputWithContext(ctx context.Context) ClientConnectionConfigPtrOutput

type ClientConnectionConfigInput

type ClientConnectionConfigInput interface {
	pulumi.Input

	ToClientConnectionConfigOutput() ClientConnectionConfigOutput
	ToClientConnectionConfigOutputWithContext(context.Context) ClientConnectionConfigOutput
}

ClientConnectionConfigInput is an input type that accepts ClientConnectionConfigArgs and ClientConnectionConfigOutput values. You can construct a concrete instance of `ClientConnectionConfigInput` via:

ClientConnectionConfigArgs{...}

type ClientConnectionConfigOutput

type ClientConnectionConfigOutput struct{ *pulumi.OutputState }

Client connection configuration

func (ClientConnectionConfigOutput) ElementType

func (ClientConnectionConfigOutput) RequireConnectors

func (o ClientConnectionConfigOutput) RequireConnectors() pulumi.BoolPtrOutput

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

func (ClientConnectionConfigOutput) SslConfig

Optional. SSL config option for this instance.

func (ClientConnectionConfigOutput) ToClientConnectionConfigOutput

func (o ClientConnectionConfigOutput) ToClientConnectionConfigOutput() ClientConnectionConfigOutput

func (ClientConnectionConfigOutput) ToClientConnectionConfigOutputWithContext

func (o ClientConnectionConfigOutput) ToClientConnectionConfigOutputWithContext(ctx context.Context) ClientConnectionConfigOutput

func (ClientConnectionConfigOutput) ToClientConnectionConfigPtrOutput

func (o ClientConnectionConfigOutput) ToClientConnectionConfigPtrOutput() ClientConnectionConfigPtrOutput

func (ClientConnectionConfigOutput) ToClientConnectionConfigPtrOutputWithContext

func (o ClientConnectionConfigOutput) ToClientConnectionConfigPtrOutputWithContext(ctx context.Context) ClientConnectionConfigPtrOutput

type ClientConnectionConfigPtrInput

type ClientConnectionConfigPtrInput interface {
	pulumi.Input

	ToClientConnectionConfigPtrOutput() ClientConnectionConfigPtrOutput
	ToClientConnectionConfigPtrOutputWithContext(context.Context) ClientConnectionConfigPtrOutput
}

ClientConnectionConfigPtrInput is an input type that accepts ClientConnectionConfigArgs, ClientConnectionConfigPtr and ClientConnectionConfigPtrOutput values. You can construct a concrete instance of `ClientConnectionConfigPtrInput` via:

        ClientConnectionConfigArgs{...}

or:

        nil

type ClientConnectionConfigPtrOutput

type ClientConnectionConfigPtrOutput struct{ *pulumi.OutputState }

func (ClientConnectionConfigPtrOutput) Elem

func (ClientConnectionConfigPtrOutput) ElementType

func (ClientConnectionConfigPtrOutput) RequireConnectors

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

func (ClientConnectionConfigPtrOutput) SslConfig

Optional. SSL config option for this instance.

func (ClientConnectionConfigPtrOutput) ToClientConnectionConfigPtrOutput

func (o ClientConnectionConfigPtrOutput) ToClientConnectionConfigPtrOutput() ClientConnectionConfigPtrOutput

func (ClientConnectionConfigPtrOutput) ToClientConnectionConfigPtrOutputWithContext

func (o ClientConnectionConfigPtrOutput) ToClientConnectionConfigPtrOutputWithContext(ctx context.Context) ClientConnectionConfigPtrOutput

type ClientConnectionConfigResponse

type ClientConnectionConfigResponse struct {
	// Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database.
	RequireConnectors bool `pulumi:"requireConnectors"`
	// Optional. SSL config option for this instance.
	SslConfig SslConfigResponse `pulumi:"sslConfig"`
}

Client connection configuration

type ClientConnectionConfigResponseOutput

type ClientConnectionConfigResponseOutput struct{ *pulumi.OutputState }

Client connection configuration

func (ClientConnectionConfigResponseOutput) ElementType

func (ClientConnectionConfigResponseOutput) RequireConnectors

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

func (ClientConnectionConfigResponseOutput) SslConfig

Optional. SSL config option for this instance.

func (ClientConnectionConfigResponseOutput) ToClientConnectionConfigResponseOutput

func (o ClientConnectionConfigResponseOutput) ToClientConnectionConfigResponseOutput() ClientConnectionConfigResponseOutput

func (ClientConnectionConfigResponseOutput) ToClientConnectionConfigResponseOutputWithContext

func (o ClientConnectionConfigResponseOutput) ToClientConnectionConfigResponseOutputWithContext(ctx context.Context) ClientConnectionConfigResponseOutput

type Cluster

type Cluster struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
	AutomatedBackupPolicy AutomatedBackupPolicyResponseOutput `pulumi:"automatedBackupPolicy"`
	// Cluster created from backup.
	BackupSource BackupSourceResponseOutput `pulumi:"backupSource"`
	// Required. ID of the requesting object.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
	ClusterType pulumi.StringOutput `pulumi:"clusterType"`
	// Optional. Continuous backup configuration for this cluster.
	ContinuousBackupConfig ContinuousBackupConfigResponseOutput `pulumi:"continuousBackupConfig"`
	// Continuous backup properties for this cluster.
	ContinuousBackupInfo ContinuousBackupInfoResponseOutput `pulumi:"continuousBackupInfo"`
	// Create time stamp
	CreateTime pulumi.StringOutput `pulumi:"createTime"`
	// Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
	DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"`
	// Delete time stamp
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigResponseOutput `pulumi:"encryptionConfig"`
	// The encryption information for the cluster.
	EncryptionInfo EncryptionInfoResponseOutput `pulumi:"encryptionInfo"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringOutput `pulumi:"etag"`
	// Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
	InitialUser UserPasswordResponseOutput `pulumi:"initialUser"`
	// Labels as key value pairs
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// Cluster created via DMS migration.
	MigrationSource MigrationSourceResponseOutput `pulumi:"migrationSource"`
	// The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}
	Name pulumi.StringOutput `pulumi:"name"`
	// 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
	//
	// Deprecated: Required. 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
	Network       pulumi.StringOutput         `pulumi:"network"`
	NetworkConfig NetworkConfigResponseOutput `pulumi:"networkConfig"`
	// Cross Region replication config specific to PRIMARY cluster.
	PrimaryConfig PrimaryConfigResponseOutput `pulumi:"primaryConfig"`
	Project       pulumi.StringOutput         `pulumi:"project"`
	// Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling pulumi.BoolOutput `pulumi:"reconciling"`
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrOutput `pulumi:"requestId"`
	// Cross Region replication config specific to SECONDARY cluster.
	SecondaryConfig SecondaryConfigResponseOutput `pulumi:"secondaryConfig"`
	// SSL configuration for this AlloyDB cluster.
	SslConfig SslConfigResponseOutput `pulumi:"sslConfig"`
	// The current serving state of the cluster.
	State pulumi.StringOutput `pulumi:"state"`
	// 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"`
	// Update time stamp
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
}

Creates a new Cluster in a given project and location. Auto-naming is currently not supported for this resource.

func GetCluster

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

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

func NewCluster

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

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

func (*Cluster) ElementType

func (*Cluster) ElementType() reflect.Type

func (*Cluster) ToClusterOutput

func (i *Cluster) ToClusterOutput() ClusterOutput

func (*Cluster) ToClusterOutputWithContext

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

type ClusterArgs

type ClusterArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations pulumi.StringMapInput
	// The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
	AutomatedBackupPolicy AutomatedBackupPolicyPtrInput
	// Required. ID of the requesting object.
	ClusterId pulumi.StringInput
	// Optional. Continuous backup configuration for this cluster.
	ContinuousBackupConfig ContinuousBackupConfigPtrInput
	// Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
	DatabaseVersion ClusterDatabaseVersionPtrInput
	// User-settable and human-readable display name for the Cluster.
	DisplayName pulumi.StringPtrInput
	// Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigPtrInput
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringPtrInput
	// Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
	InitialUser UserPasswordPtrInput
	// Labels as key value pairs
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
	//
	// Deprecated: Required. 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
	Network       pulumi.StringInput
	NetworkConfig NetworkConfigPtrInput
	Project       pulumi.StringPtrInput
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrInput
	// Cross Region replication config specific to SECONDARY cluster.
	SecondaryConfig SecondaryConfigPtrInput
	// SSL configuration for this AlloyDB cluster.
	SslConfig SslConfigPtrInput
}

The set of arguments for constructing a Cluster resource.

func (ClusterArgs) ElementType

func (ClusterArgs) ElementType() reflect.Type

type ClusterDatabaseVersion

type ClusterDatabaseVersion string

Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.

func (ClusterDatabaseVersion) ElementType

func (ClusterDatabaseVersion) ElementType() reflect.Type

func (ClusterDatabaseVersion) ToClusterDatabaseVersionOutput

func (e ClusterDatabaseVersion) ToClusterDatabaseVersionOutput() ClusterDatabaseVersionOutput

func (ClusterDatabaseVersion) ToClusterDatabaseVersionOutputWithContext

func (e ClusterDatabaseVersion) ToClusterDatabaseVersionOutputWithContext(ctx context.Context) ClusterDatabaseVersionOutput

func (ClusterDatabaseVersion) ToClusterDatabaseVersionPtrOutput

func (e ClusterDatabaseVersion) ToClusterDatabaseVersionPtrOutput() ClusterDatabaseVersionPtrOutput

func (ClusterDatabaseVersion) ToClusterDatabaseVersionPtrOutputWithContext

func (e ClusterDatabaseVersion) ToClusterDatabaseVersionPtrOutputWithContext(ctx context.Context) ClusterDatabaseVersionPtrOutput

func (ClusterDatabaseVersion) ToStringOutput

func (e ClusterDatabaseVersion) ToStringOutput() pulumi.StringOutput

func (ClusterDatabaseVersion) ToStringOutputWithContext

func (e ClusterDatabaseVersion) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ClusterDatabaseVersion) ToStringPtrOutput

func (e ClusterDatabaseVersion) ToStringPtrOutput() pulumi.StringPtrOutput

func (ClusterDatabaseVersion) ToStringPtrOutputWithContext

func (e ClusterDatabaseVersion) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ClusterDatabaseVersionInput

type ClusterDatabaseVersionInput interface {
	pulumi.Input

	ToClusterDatabaseVersionOutput() ClusterDatabaseVersionOutput
	ToClusterDatabaseVersionOutputWithContext(context.Context) ClusterDatabaseVersionOutput
}

ClusterDatabaseVersionInput is an input type that accepts ClusterDatabaseVersionArgs and ClusterDatabaseVersionOutput values. You can construct a concrete instance of `ClusterDatabaseVersionInput` via:

ClusterDatabaseVersionArgs{...}

type ClusterDatabaseVersionOutput

type ClusterDatabaseVersionOutput struct{ *pulumi.OutputState }

func (ClusterDatabaseVersionOutput) ElementType

func (ClusterDatabaseVersionOutput) ToClusterDatabaseVersionOutput

func (o ClusterDatabaseVersionOutput) ToClusterDatabaseVersionOutput() ClusterDatabaseVersionOutput

func (ClusterDatabaseVersionOutput) ToClusterDatabaseVersionOutputWithContext

func (o ClusterDatabaseVersionOutput) ToClusterDatabaseVersionOutputWithContext(ctx context.Context) ClusterDatabaseVersionOutput

func (ClusterDatabaseVersionOutput) ToClusterDatabaseVersionPtrOutput

func (o ClusterDatabaseVersionOutput) ToClusterDatabaseVersionPtrOutput() ClusterDatabaseVersionPtrOutput

func (ClusterDatabaseVersionOutput) ToClusterDatabaseVersionPtrOutputWithContext

func (o ClusterDatabaseVersionOutput) ToClusterDatabaseVersionPtrOutputWithContext(ctx context.Context) ClusterDatabaseVersionPtrOutput

func (ClusterDatabaseVersionOutput) ToStringOutput

func (ClusterDatabaseVersionOutput) ToStringOutputWithContext

func (o ClusterDatabaseVersionOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (ClusterDatabaseVersionOutput) ToStringPtrOutput

func (o ClusterDatabaseVersionOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (ClusterDatabaseVersionOutput) ToStringPtrOutputWithContext

func (o ClusterDatabaseVersionOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ClusterDatabaseVersionPtrInput

type ClusterDatabaseVersionPtrInput interface {
	pulumi.Input

	ToClusterDatabaseVersionPtrOutput() ClusterDatabaseVersionPtrOutput
	ToClusterDatabaseVersionPtrOutputWithContext(context.Context) ClusterDatabaseVersionPtrOutput
}

func ClusterDatabaseVersionPtr

func ClusterDatabaseVersionPtr(v string) ClusterDatabaseVersionPtrInput

type ClusterDatabaseVersionPtrOutput

type ClusterDatabaseVersionPtrOutput struct{ *pulumi.OutputState }

func (ClusterDatabaseVersionPtrOutput) Elem

func (ClusterDatabaseVersionPtrOutput) ElementType

func (ClusterDatabaseVersionPtrOutput) ToClusterDatabaseVersionPtrOutput

func (o ClusterDatabaseVersionPtrOutput) ToClusterDatabaseVersionPtrOutput() ClusterDatabaseVersionPtrOutput

func (ClusterDatabaseVersionPtrOutput) ToClusterDatabaseVersionPtrOutputWithContext

func (o ClusterDatabaseVersionPtrOutput) ToClusterDatabaseVersionPtrOutputWithContext(ctx context.Context) ClusterDatabaseVersionPtrOutput

func (ClusterDatabaseVersionPtrOutput) ToStringPtrOutput

func (ClusterDatabaseVersionPtrOutput) ToStringPtrOutputWithContext

func (o ClusterDatabaseVersionPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type ClusterInput

type ClusterInput interface {
	pulumi.Input

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

type ClusterOutput

type ClusterOutput struct{ *pulumi.OutputState }

func (ClusterOutput) Annotations

func (o ClusterOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

func (ClusterOutput) AutomatedBackupPolicy

func (o ClusterOutput) AutomatedBackupPolicy() AutomatedBackupPolicyResponseOutput

The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.

func (ClusterOutput) BackupSource

func (o ClusterOutput) BackupSource() BackupSourceResponseOutput

Cluster created from backup.

func (ClusterOutput) ClusterId

func (o ClusterOutput) ClusterId() pulumi.StringOutput

Required. ID of the requesting object.

func (ClusterOutput) ClusterType

func (o ClusterOutput) ClusterType() pulumi.StringOutput

The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`

func (ClusterOutput) ContinuousBackupConfig

func (o ClusterOutput) ContinuousBackupConfig() ContinuousBackupConfigResponseOutput

Optional. Continuous backup configuration for this cluster.

func (ClusterOutput) ContinuousBackupInfo

func (o ClusterOutput) ContinuousBackupInfo() ContinuousBackupInfoResponseOutput

Continuous backup properties for this cluster.

func (ClusterOutput) CreateTime

func (o ClusterOutput) CreateTime() pulumi.StringOutput

Create time stamp

func (ClusterOutput) DatabaseVersion

func (o ClusterOutput) DatabaseVersion() pulumi.StringOutput

Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.

func (ClusterOutput) DeleteTime

func (o ClusterOutput) DeleteTime() pulumi.StringOutput

Delete time stamp

func (ClusterOutput) DisplayName

func (o ClusterOutput) DisplayName() pulumi.StringOutput

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

func (ClusterOutput) ElementType

func (ClusterOutput) ElementType() reflect.Type

func (ClusterOutput) EncryptionConfig

func (o ClusterOutput) EncryptionConfig() EncryptionConfigResponseOutput

Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.

func (ClusterOutput) EncryptionInfo

func (o ClusterOutput) EncryptionInfo() EncryptionInfoResponseOutput

The encryption information for the cluster.

func (ClusterOutput) Etag

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

func (ClusterOutput) InitialUser

func (o ClusterOutput) InitialUser() UserPasswordResponseOutput

Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.

func (ClusterOutput) Labels

Labels as key value pairs

func (ClusterOutput) Location

func (o ClusterOutput) Location() pulumi.StringOutput

func (ClusterOutput) MigrationSource

func (o ClusterOutput) MigrationSource() MigrationSourceResponseOutput

Cluster created via DMS migration.

func (ClusterOutput) Name

The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}

func (ClusterOutput) Network deprecated

func (o ClusterOutput) Network() pulumi.StringOutput

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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.

Deprecated: Required. 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.

func (ClusterOutput) NetworkConfig

func (o ClusterOutput) NetworkConfig() NetworkConfigResponseOutput

func (ClusterOutput) PrimaryConfig

func (o ClusterOutput) PrimaryConfig() PrimaryConfigResponseOutput

Cross Region replication config specific to PRIMARY cluster.

func (ClusterOutput) Project

func (o ClusterOutput) Project() pulumi.StringOutput

func (ClusterOutput) Reconciling

func (o ClusterOutput) Reconciling() pulumi.BoolOutput

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

func (ClusterOutput) RequestId

func (o ClusterOutput) RequestId() pulumi.StringPtrOutput

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (ClusterOutput) SecondaryConfig

func (o ClusterOutput) SecondaryConfig() SecondaryConfigResponseOutput

Cross Region replication config specific to SECONDARY cluster.

func (ClusterOutput) SslConfig

func (o ClusterOutput) SslConfig() SslConfigResponseOutput

SSL configuration for this AlloyDB cluster.

func (ClusterOutput) State

func (o ClusterOutput) State() pulumi.StringOutput

The current serving state of the cluster.

func (ClusterOutput) ToClusterOutput

func (o ClusterOutput) ToClusterOutput() ClusterOutput

func (ClusterOutput) ToClusterOutputWithContext

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

func (ClusterOutput) Uid

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

func (ClusterOutput) UpdateTime

func (o ClusterOutput) UpdateTime() pulumi.StringOutput

Update time stamp

type ClusterState

type ClusterState struct {
}

func (ClusterState) ElementType

func (ClusterState) ElementType() reflect.Type

type ContinuousBackupConfig

type ContinuousBackupConfig struct {
	// Whether ContinuousBackup is enabled.
	Enabled *bool `pulumi:"enabled"`
	// The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig *EncryptionConfig `pulumi:"encryptionConfig"`
	// The number 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"`
}

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

type ContinuousBackupConfigArgs

type ContinuousBackupConfigArgs struct {
	// Whether ContinuousBackup is enabled.
	Enabled pulumi.BoolPtrInput `pulumi:"enabled"`
	// The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigPtrInput `pulumi:"encryptionConfig"`
	// The number 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"`
}

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

func (ContinuousBackupConfigArgs) ElementType

func (ContinuousBackupConfigArgs) ElementType() reflect.Type

func (ContinuousBackupConfigArgs) ToContinuousBackupConfigOutput

func (i ContinuousBackupConfigArgs) ToContinuousBackupConfigOutput() ContinuousBackupConfigOutput

func (ContinuousBackupConfigArgs) ToContinuousBackupConfigOutputWithContext

func (i ContinuousBackupConfigArgs) ToContinuousBackupConfigOutputWithContext(ctx context.Context) ContinuousBackupConfigOutput

func (ContinuousBackupConfigArgs) ToContinuousBackupConfigPtrOutput

func (i ContinuousBackupConfigArgs) ToContinuousBackupConfigPtrOutput() ContinuousBackupConfigPtrOutput

func (ContinuousBackupConfigArgs) ToContinuousBackupConfigPtrOutputWithContext

func (i ContinuousBackupConfigArgs) ToContinuousBackupConfigPtrOutputWithContext(ctx context.Context) ContinuousBackupConfigPtrOutput

type ContinuousBackupConfigInput

type ContinuousBackupConfigInput interface {
	pulumi.Input

	ToContinuousBackupConfigOutput() ContinuousBackupConfigOutput
	ToContinuousBackupConfigOutputWithContext(context.Context) ContinuousBackupConfigOutput
}

ContinuousBackupConfigInput is an input type that accepts ContinuousBackupConfigArgs and ContinuousBackupConfigOutput values. You can construct a concrete instance of `ContinuousBackupConfigInput` via:

ContinuousBackupConfigArgs{...}

type ContinuousBackupConfigOutput

type ContinuousBackupConfigOutput struct{ *pulumi.OutputState }

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

func (ContinuousBackupConfigOutput) ElementType

func (ContinuousBackupConfigOutput) Enabled

Whether ContinuousBackup is enabled.

func (ContinuousBackupConfigOutput) EncryptionConfig

The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (ContinuousBackupConfigOutput) RecoveryWindowDays

func (o ContinuousBackupConfigOutput) RecoveryWindowDays() pulumi.IntPtrOutput

The number 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 (ContinuousBackupConfigOutput) ToContinuousBackupConfigOutput

func (o ContinuousBackupConfigOutput) ToContinuousBackupConfigOutput() ContinuousBackupConfigOutput

func (ContinuousBackupConfigOutput) ToContinuousBackupConfigOutputWithContext

func (o ContinuousBackupConfigOutput) ToContinuousBackupConfigOutputWithContext(ctx context.Context) ContinuousBackupConfigOutput

func (ContinuousBackupConfigOutput) ToContinuousBackupConfigPtrOutput

func (o ContinuousBackupConfigOutput) ToContinuousBackupConfigPtrOutput() ContinuousBackupConfigPtrOutput

func (ContinuousBackupConfigOutput) ToContinuousBackupConfigPtrOutputWithContext

func (o ContinuousBackupConfigOutput) ToContinuousBackupConfigPtrOutputWithContext(ctx context.Context) ContinuousBackupConfigPtrOutput

type ContinuousBackupConfigPtrInput

type ContinuousBackupConfigPtrInput interface {
	pulumi.Input

	ToContinuousBackupConfigPtrOutput() ContinuousBackupConfigPtrOutput
	ToContinuousBackupConfigPtrOutputWithContext(context.Context) ContinuousBackupConfigPtrOutput
}

ContinuousBackupConfigPtrInput is an input type that accepts ContinuousBackupConfigArgs, ContinuousBackupConfigPtr and ContinuousBackupConfigPtrOutput values. You can construct a concrete instance of `ContinuousBackupConfigPtrInput` via:

        ContinuousBackupConfigArgs{...}

or:

        nil

type ContinuousBackupConfigPtrOutput

type ContinuousBackupConfigPtrOutput struct{ *pulumi.OutputState }

func (ContinuousBackupConfigPtrOutput) Elem

func (ContinuousBackupConfigPtrOutput) ElementType

func (ContinuousBackupConfigPtrOutput) Enabled

Whether ContinuousBackup is enabled.

func (ContinuousBackupConfigPtrOutput) EncryptionConfig

The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (ContinuousBackupConfigPtrOutput) RecoveryWindowDays

func (o ContinuousBackupConfigPtrOutput) RecoveryWindowDays() pulumi.IntPtrOutput

The number 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 (ContinuousBackupConfigPtrOutput) ToContinuousBackupConfigPtrOutput

func (o ContinuousBackupConfigPtrOutput) ToContinuousBackupConfigPtrOutput() ContinuousBackupConfigPtrOutput

func (ContinuousBackupConfigPtrOutput) ToContinuousBackupConfigPtrOutputWithContext

func (o ContinuousBackupConfigPtrOutput) ToContinuousBackupConfigPtrOutputWithContext(ctx context.Context) ContinuousBackupConfigPtrOutput

type ContinuousBackupConfigResponse

type ContinuousBackupConfigResponse struct {
	// Whether ContinuousBackup is enabled.
	Enabled bool `pulumi:"enabled"`
	// The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigResponse `pulumi:"encryptionConfig"`
	// The number 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"`
}

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

type ContinuousBackupConfigResponseOutput

type ContinuousBackupConfigResponseOutput struct{ *pulumi.OutputState }

ContinuousBackupConfig describes the continuous backups recovery configurations of a cluster.

func (ContinuousBackupConfigResponseOutput) ElementType

func (ContinuousBackupConfigResponseOutput) Enabled

Whether ContinuousBackup is enabled.

func (ContinuousBackupConfigResponseOutput) EncryptionConfig

The encryption config can be specified to encrypt the backups with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (ContinuousBackupConfigResponseOutput) RecoveryWindowDays

func (o ContinuousBackupConfigResponseOutput) RecoveryWindowDays() pulumi.IntOutput

The number 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 (ContinuousBackupConfigResponseOutput) ToContinuousBackupConfigResponseOutput

func (o ContinuousBackupConfigResponseOutput) ToContinuousBackupConfigResponseOutput() ContinuousBackupConfigResponseOutput

func (ContinuousBackupConfigResponseOutput) ToContinuousBackupConfigResponseOutputWithContext

func (o ContinuousBackupConfigResponseOutput) ToContinuousBackupConfigResponseOutputWithContext(ctx context.Context) ContinuousBackupConfigResponseOutput

type ContinuousBackupInfoResponse

type ContinuousBackupInfoResponse struct {
	// The earliest restorable time that can be restored to. Output only field.
	EarliestRestorableTime string `pulumi:"earliestRestorableTime"`
	// When ContinuousBackup was most recently enabled. Set to null if ContinuousBackup is not enabled.
	EnabledTime string `pulumi:"enabledTime"`
	// The encryption information for the WALs and backups required for ContinuousBackup.
	EncryptionInfo EncryptionInfoResponse `pulumi:"encryptionInfo"`
	// Days of the week on which a continuous backup is taken. Output only field. Ignored if passed into the request.
	Schedule []string `pulumi:"schedule"`
}

ContinuousBackupInfo describes the continuous backup properties of a cluster.

type ContinuousBackupInfoResponseOutput

type ContinuousBackupInfoResponseOutput struct{ *pulumi.OutputState }

ContinuousBackupInfo describes the continuous backup properties of a cluster.

func (ContinuousBackupInfoResponseOutput) EarliestRestorableTime

func (o ContinuousBackupInfoResponseOutput) EarliestRestorableTime() pulumi.StringOutput

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

func (ContinuousBackupInfoResponseOutput) ElementType

func (ContinuousBackupInfoResponseOutput) EnabledTime

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

func (ContinuousBackupInfoResponseOutput) EncryptionInfo

The encryption information for the WALs and backups required for ContinuousBackup.

func (ContinuousBackupInfoResponseOutput) Schedule

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

func (ContinuousBackupInfoResponseOutput) ToContinuousBackupInfoResponseOutput

func (o ContinuousBackupInfoResponseOutput) ToContinuousBackupInfoResponseOutput() ContinuousBackupInfoResponseOutput

func (ContinuousBackupInfoResponseOutput) ToContinuousBackupInfoResponseOutputWithContext

func (o ContinuousBackupInfoResponseOutput) ToContinuousBackupInfoResponseOutputWithContext(ctx context.Context) ContinuousBackupInfoResponseOutput

type EncryptionConfig

type EncryptionConfig 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"`
}

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

type EncryptionConfigArgs

type EncryptionConfigArgs 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"`
}

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

func (EncryptionConfigArgs) ElementType

func (EncryptionConfigArgs) ElementType() reflect.Type

func (EncryptionConfigArgs) ToEncryptionConfigOutput

func (i EncryptionConfigArgs) ToEncryptionConfigOutput() EncryptionConfigOutput

func (EncryptionConfigArgs) ToEncryptionConfigOutputWithContext

func (i EncryptionConfigArgs) ToEncryptionConfigOutputWithContext(ctx context.Context) EncryptionConfigOutput

func (EncryptionConfigArgs) ToEncryptionConfigPtrOutput

func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput

func (EncryptionConfigArgs) ToEncryptionConfigPtrOutputWithContext

func (i EncryptionConfigArgs) ToEncryptionConfigPtrOutputWithContext(ctx context.Context) EncryptionConfigPtrOutput

type EncryptionConfigInput

type EncryptionConfigInput interface {
	pulumi.Input

	ToEncryptionConfigOutput() EncryptionConfigOutput
	ToEncryptionConfigOutputWithContext(context.Context) EncryptionConfigOutput
}

EncryptionConfigInput is an input type that accepts EncryptionConfigArgs and EncryptionConfigOutput values. You can construct a concrete instance of `EncryptionConfigInput` via:

EncryptionConfigArgs{...}

type EncryptionConfigOutput

type EncryptionConfigOutput struct{ *pulumi.OutputState }

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

func (EncryptionConfigOutput) ElementType

func (EncryptionConfigOutput) ElementType() reflect.Type

func (EncryptionConfigOutput) KmsKeyName

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

func (EncryptionConfigOutput) ToEncryptionConfigOutput

func (o EncryptionConfigOutput) ToEncryptionConfigOutput() EncryptionConfigOutput

func (EncryptionConfigOutput) ToEncryptionConfigOutputWithContext

func (o EncryptionConfigOutput) ToEncryptionConfigOutputWithContext(ctx context.Context) EncryptionConfigOutput

func (EncryptionConfigOutput) ToEncryptionConfigPtrOutput

func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput

func (EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext

func (o EncryptionConfigOutput) ToEncryptionConfigPtrOutputWithContext(ctx context.Context) EncryptionConfigPtrOutput

type EncryptionConfigPtrInput

type EncryptionConfigPtrInput interface {
	pulumi.Input

	ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput
	ToEncryptionConfigPtrOutputWithContext(context.Context) EncryptionConfigPtrOutput
}

EncryptionConfigPtrInput is an input type that accepts EncryptionConfigArgs, EncryptionConfigPtr and EncryptionConfigPtrOutput values. You can construct a concrete instance of `EncryptionConfigPtrInput` via:

        EncryptionConfigArgs{...}

or:

        nil

type EncryptionConfigPtrOutput

type EncryptionConfigPtrOutput struct{ *pulumi.OutputState }

func (EncryptionConfigPtrOutput) Elem

func (EncryptionConfigPtrOutput) ElementType

func (EncryptionConfigPtrOutput) ElementType() reflect.Type

func (EncryptionConfigPtrOutput) KmsKeyName

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

func (EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutput

func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutput() EncryptionConfigPtrOutput

func (EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext

func (o EncryptionConfigPtrOutput) ToEncryptionConfigPtrOutputWithContext(ctx context.Context) EncryptionConfigPtrOutput

type EncryptionConfigResponse

type EncryptionConfigResponse 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"`
}

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

type EncryptionConfigResponseOutput

type EncryptionConfigResponseOutput struct{ *pulumi.OutputState }

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

func (EncryptionConfigResponseOutput) ElementType

func (EncryptionConfigResponseOutput) KmsKeyName

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

func (EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutput

func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutput() EncryptionConfigResponseOutput

func (EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithContext

func (o EncryptionConfigResponseOutput) ToEncryptionConfigResponseOutputWithContext(ctx context.Context) EncryptionConfigResponseOutput

type EncryptionInfoResponse

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

EncryptionInfo describes the encryption information of a cluster or a backup.

type EncryptionInfoResponseOutput

type EncryptionInfoResponseOutput struct{ *pulumi.OutputState }

EncryptionInfo describes the encryption information of a cluster or a backup.

func (EncryptionInfoResponseOutput) ElementType

func (EncryptionInfoResponseOutput) EncryptionType

Type of encryption.

func (EncryptionInfoResponseOutput) KmsKeyVersions

Cloud KMS key versions that are being used to protect the database or the backup.

func (EncryptionInfoResponseOutput) ToEncryptionInfoResponseOutput

func (o EncryptionInfoResponseOutput) ToEncryptionInfoResponseOutput() EncryptionInfoResponseOutput

func (EncryptionInfoResponseOutput) ToEncryptionInfoResponseOutputWithContext

func (o EncryptionInfoResponseOutput) ToEncryptionInfoResponseOutputWithContext(ctx context.Context) EncryptionInfoResponseOutput

type GoogleTypeTimeOfDay

type GoogleTypeTimeOfDay 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"`
}

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

type GoogleTypeTimeOfDayArgs

type GoogleTypeTimeOfDayArgs 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"`
}

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

func (GoogleTypeTimeOfDayArgs) ElementType

func (GoogleTypeTimeOfDayArgs) ElementType() reflect.Type

func (GoogleTypeTimeOfDayArgs) ToGoogleTypeTimeOfDayOutput

func (i GoogleTypeTimeOfDayArgs) ToGoogleTypeTimeOfDayOutput() GoogleTypeTimeOfDayOutput

func (GoogleTypeTimeOfDayArgs) ToGoogleTypeTimeOfDayOutputWithContext

func (i GoogleTypeTimeOfDayArgs) ToGoogleTypeTimeOfDayOutputWithContext(ctx context.Context) GoogleTypeTimeOfDayOutput

type GoogleTypeTimeOfDayArray

type GoogleTypeTimeOfDayArray []GoogleTypeTimeOfDayInput

func (GoogleTypeTimeOfDayArray) ElementType

func (GoogleTypeTimeOfDayArray) ElementType() reflect.Type

func (GoogleTypeTimeOfDayArray) ToGoogleTypeTimeOfDayArrayOutput

func (i GoogleTypeTimeOfDayArray) ToGoogleTypeTimeOfDayArrayOutput() GoogleTypeTimeOfDayArrayOutput

func (GoogleTypeTimeOfDayArray) ToGoogleTypeTimeOfDayArrayOutputWithContext

func (i GoogleTypeTimeOfDayArray) ToGoogleTypeTimeOfDayArrayOutputWithContext(ctx context.Context) GoogleTypeTimeOfDayArrayOutput

type GoogleTypeTimeOfDayArrayInput

type GoogleTypeTimeOfDayArrayInput interface {
	pulumi.Input

	ToGoogleTypeTimeOfDayArrayOutput() GoogleTypeTimeOfDayArrayOutput
	ToGoogleTypeTimeOfDayArrayOutputWithContext(context.Context) GoogleTypeTimeOfDayArrayOutput
}

GoogleTypeTimeOfDayArrayInput is an input type that accepts GoogleTypeTimeOfDayArray and GoogleTypeTimeOfDayArrayOutput values. You can construct a concrete instance of `GoogleTypeTimeOfDayArrayInput` via:

GoogleTypeTimeOfDayArray{ GoogleTypeTimeOfDayArgs{...} }

type GoogleTypeTimeOfDayArrayOutput

type GoogleTypeTimeOfDayArrayOutput struct{ *pulumi.OutputState }

func (GoogleTypeTimeOfDayArrayOutput) ElementType

func (GoogleTypeTimeOfDayArrayOutput) Index

func (GoogleTypeTimeOfDayArrayOutput) ToGoogleTypeTimeOfDayArrayOutput

func (o GoogleTypeTimeOfDayArrayOutput) ToGoogleTypeTimeOfDayArrayOutput() GoogleTypeTimeOfDayArrayOutput

func (GoogleTypeTimeOfDayArrayOutput) ToGoogleTypeTimeOfDayArrayOutputWithContext

func (o GoogleTypeTimeOfDayArrayOutput) ToGoogleTypeTimeOfDayArrayOutputWithContext(ctx context.Context) GoogleTypeTimeOfDayArrayOutput

type GoogleTypeTimeOfDayInput

type GoogleTypeTimeOfDayInput interface {
	pulumi.Input

	ToGoogleTypeTimeOfDayOutput() GoogleTypeTimeOfDayOutput
	ToGoogleTypeTimeOfDayOutputWithContext(context.Context) GoogleTypeTimeOfDayOutput
}

GoogleTypeTimeOfDayInput is an input type that accepts GoogleTypeTimeOfDayArgs and GoogleTypeTimeOfDayOutput values. You can construct a concrete instance of `GoogleTypeTimeOfDayInput` via:

GoogleTypeTimeOfDayArgs{...}

type GoogleTypeTimeOfDayOutput

type GoogleTypeTimeOfDayOutput struct{ *pulumi.OutputState }

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

func (GoogleTypeTimeOfDayOutput) ElementType

func (GoogleTypeTimeOfDayOutput) ElementType() reflect.Type

func (GoogleTypeTimeOfDayOutput) 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 (GoogleTypeTimeOfDayOutput) Minutes

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

func (GoogleTypeTimeOfDayOutput) Nanos

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

func (GoogleTypeTimeOfDayOutput) 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 (GoogleTypeTimeOfDayOutput) ToGoogleTypeTimeOfDayOutput

func (o GoogleTypeTimeOfDayOutput) ToGoogleTypeTimeOfDayOutput() GoogleTypeTimeOfDayOutput

func (GoogleTypeTimeOfDayOutput) ToGoogleTypeTimeOfDayOutputWithContext

func (o GoogleTypeTimeOfDayOutput) ToGoogleTypeTimeOfDayOutputWithContext(ctx context.Context) GoogleTypeTimeOfDayOutput

type GoogleTypeTimeOfDayResponse

type GoogleTypeTimeOfDayResponse 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"`
}

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

type GoogleTypeTimeOfDayResponseArrayOutput

type GoogleTypeTimeOfDayResponseArrayOutput struct{ *pulumi.OutputState }

func (GoogleTypeTimeOfDayResponseArrayOutput) ElementType

func (GoogleTypeTimeOfDayResponseArrayOutput) Index

func (GoogleTypeTimeOfDayResponseArrayOutput) ToGoogleTypeTimeOfDayResponseArrayOutput

func (o GoogleTypeTimeOfDayResponseArrayOutput) ToGoogleTypeTimeOfDayResponseArrayOutput() GoogleTypeTimeOfDayResponseArrayOutput

func (GoogleTypeTimeOfDayResponseArrayOutput) ToGoogleTypeTimeOfDayResponseArrayOutputWithContext

func (o GoogleTypeTimeOfDayResponseArrayOutput) ToGoogleTypeTimeOfDayResponseArrayOutputWithContext(ctx context.Context) GoogleTypeTimeOfDayResponseArrayOutput

type GoogleTypeTimeOfDayResponseOutput

type GoogleTypeTimeOfDayResponseOutput struct{ *pulumi.OutputState }

Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.

func (GoogleTypeTimeOfDayResponseOutput) ElementType

func (GoogleTypeTimeOfDayResponseOutput) 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 (GoogleTypeTimeOfDayResponseOutput) Minutes

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

func (GoogleTypeTimeOfDayResponseOutput) Nanos

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

func (GoogleTypeTimeOfDayResponseOutput) 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 (GoogleTypeTimeOfDayResponseOutput) ToGoogleTypeTimeOfDayResponseOutput

func (o GoogleTypeTimeOfDayResponseOutput) ToGoogleTypeTimeOfDayResponseOutput() GoogleTypeTimeOfDayResponseOutput

func (GoogleTypeTimeOfDayResponseOutput) ToGoogleTypeTimeOfDayResponseOutputWithContext

func (o GoogleTypeTimeOfDayResponseOutput) ToGoogleTypeTimeOfDayResponseOutputWithContext(ctx context.Context) GoogleTypeTimeOfDayResponseOutput

type Instance

type Instance struct {
	pulumi.CustomResourceState

	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations pulumi.StringMapOutput `pulumi:"annotations"`
	// Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
	AvailabilityType pulumi.StringOutput `pulumi:"availabilityType"`
	// Optional. Client connection specific configurations
	ClientConnectionConfig ClientConnectionConfigResponseOutput `pulumi:"clientConnectionConfig"`
	ClusterId              pulumi.StringOutput                  `pulumi:"clusterId"`
	// Create time stamp
	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. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
	DatabaseFlags pulumi.StringMapOutput `pulumi:"databaseFlags"`
	// Delete time stamp
	DeleteTime pulumi.StringOutput `pulumi:"deleteTime"`
	// User-settable and human-readable display name for the Instance.
	DisplayName pulumi.StringOutput `pulumi:"displayName"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag pulumi.StringOutput `pulumi:"etag"`
	// 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.StringOutput `pulumi:"gceZone"`
	// Required. ID of the requesting object.
	InstanceId pulumi.StringOutput `pulumi:"instanceId"`
	// The type of the instance. Specified at creation time.
	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"`
	// Labels as key value pairs
	Labels   pulumi.StringMapOutput `pulumi:"labels"`
	Location pulumi.StringOutput    `pulumi:"location"`
	// Configurations for the machines that host the underlying database engine.
	MachineConfig MachineConfigResponseOutput `pulumi:"machineConfig"`
	// The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
	Name pulumi.StringOutput `pulumi:"name"`
	// List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
	Nodes   NodeResponseArrayOutput `pulumi:"nodes"`
	Project pulumi.StringOutput     `pulumi:"project"`
	// Configuration for query insights.
	QueryInsightsConfig QueryInsightsInstanceConfigResponseOutput `pulumi:"queryInsightsConfig"`
	// Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
	ReadPoolConfig ReadPoolConfigResponseOutput `pulumi:"readPoolConfig"`
	// Reconciling (https://google.aip.dev/128#reconciliation). 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"`
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrOutput `pulumi:"requestId"`
	// The current serving state of the instance.
	State pulumi.StringOutput `pulumi:"state"`
	// 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"`
	// Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
	UpdatePolicy UpdatePolicyResponseOutput `pulumi:"updatePolicy"`
	// Update time stamp
	UpdateTime pulumi.StringOutput `pulumi:"updateTime"`
	// This is set for the read-write VM of the PRIMARY instance only.
	WritableNode NodeResponseOutput `pulumi:"writableNode"`
}

Creates a new Instance in a given project and location. Auto-naming is currently not supported for this resource.

func GetInstance

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

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

func NewInstance

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

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

func (*Instance) ElementType

func (*Instance) ElementType() reflect.Type

func (*Instance) ToInstanceOutput

func (i *Instance) ToInstanceOutput() InstanceOutput

func (*Instance) ToInstanceOutputWithContext

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

type InstanceArgs

type InstanceArgs struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations pulumi.StringMapInput
	// Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
	AvailabilityType InstanceAvailabilityTypePtrInput
	// Optional. Client connection specific configurations
	ClientConnectionConfig ClientConnectionConfigPtrInput
	ClusterId              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. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
	DatabaseFlags pulumi.StringMapInput
	// User-settable and human-readable display name for the Instance.
	DisplayName pulumi.StringPtrInput
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag 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
	// Required. ID of the requesting object.
	InstanceId pulumi.StringInput
	// The type of the instance. Specified at creation time.
	InstanceType InstanceInstanceTypeInput
	// Labels as key value pairs
	Labels   pulumi.StringMapInput
	Location pulumi.StringPtrInput
	// Configurations for the machines that host the underlying database engine.
	MachineConfig MachineConfigPtrInput
	Project       pulumi.StringPtrInput
	// Configuration for query insights.
	QueryInsightsConfig QueryInsightsInstanceConfigPtrInput
	// Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
	ReadPoolConfig ReadPoolConfigPtrInput
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrInput
	// Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
	UpdatePolicy UpdatePolicyPtrInput
}

The set of arguments for constructing a Instance resource.

func (InstanceArgs) ElementType

func (InstanceArgs) ElementType() reflect.Type

type InstanceAvailabilityType

type InstanceAvailabilityType string

Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).

func (InstanceAvailabilityType) ElementType

func (InstanceAvailabilityType) ElementType() reflect.Type

func (InstanceAvailabilityType) ToInstanceAvailabilityTypeOutput

func (e InstanceAvailabilityType) ToInstanceAvailabilityTypeOutput() InstanceAvailabilityTypeOutput

func (InstanceAvailabilityType) ToInstanceAvailabilityTypeOutputWithContext

func (e InstanceAvailabilityType) ToInstanceAvailabilityTypeOutputWithContext(ctx context.Context) InstanceAvailabilityTypeOutput

func (InstanceAvailabilityType) ToInstanceAvailabilityTypePtrOutput

func (e InstanceAvailabilityType) ToInstanceAvailabilityTypePtrOutput() InstanceAvailabilityTypePtrOutput

func (InstanceAvailabilityType) ToInstanceAvailabilityTypePtrOutputWithContext

func (e InstanceAvailabilityType) ToInstanceAvailabilityTypePtrOutputWithContext(ctx context.Context) InstanceAvailabilityTypePtrOutput

func (InstanceAvailabilityType) ToStringOutput

func (e InstanceAvailabilityType) ToStringOutput() pulumi.StringOutput

func (InstanceAvailabilityType) ToStringOutputWithContext

func (e InstanceAvailabilityType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceAvailabilityType) ToStringPtrOutput

func (e InstanceAvailabilityType) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceAvailabilityType) ToStringPtrOutputWithContext

func (e InstanceAvailabilityType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceAvailabilityTypeInput

type InstanceAvailabilityTypeInput interface {
	pulumi.Input

	ToInstanceAvailabilityTypeOutput() InstanceAvailabilityTypeOutput
	ToInstanceAvailabilityTypeOutputWithContext(context.Context) InstanceAvailabilityTypeOutput
}

InstanceAvailabilityTypeInput is an input type that accepts InstanceAvailabilityTypeArgs and InstanceAvailabilityTypeOutput values. You can construct a concrete instance of `InstanceAvailabilityTypeInput` via:

InstanceAvailabilityTypeArgs{...}

type InstanceAvailabilityTypeOutput

type InstanceAvailabilityTypeOutput struct{ *pulumi.OutputState }

func (InstanceAvailabilityTypeOutput) ElementType

func (InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypeOutput

func (o InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypeOutput() InstanceAvailabilityTypeOutput

func (InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypeOutputWithContext

func (o InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypeOutputWithContext(ctx context.Context) InstanceAvailabilityTypeOutput

func (InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypePtrOutput

func (o InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypePtrOutput() InstanceAvailabilityTypePtrOutput

func (InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypePtrOutputWithContext

func (o InstanceAvailabilityTypeOutput) ToInstanceAvailabilityTypePtrOutputWithContext(ctx context.Context) InstanceAvailabilityTypePtrOutput

func (InstanceAvailabilityTypeOutput) ToStringOutput

func (InstanceAvailabilityTypeOutput) ToStringOutputWithContext

func (o InstanceAvailabilityTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceAvailabilityTypeOutput) ToStringPtrOutput

func (InstanceAvailabilityTypeOutput) ToStringPtrOutputWithContext

func (o InstanceAvailabilityTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceAvailabilityTypePtrInput

type InstanceAvailabilityTypePtrInput interface {
	pulumi.Input

	ToInstanceAvailabilityTypePtrOutput() InstanceAvailabilityTypePtrOutput
	ToInstanceAvailabilityTypePtrOutputWithContext(context.Context) InstanceAvailabilityTypePtrOutput
}

func InstanceAvailabilityTypePtr

func InstanceAvailabilityTypePtr(v string) InstanceAvailabilityTypePtrInput

type InstanceAvailabilityTypePtrOutput

type InstanceAvailabilityTypePtrOutput struct{ *pulumi.OutputState }

func (InstanceAvailabilityTypePtrOutput) Elem

func (InstanceAvailabilityTypePtrOutput) ElementType

func (InstanceAvailabilityTypePtrOutput) ToInstanceAvailabilityTypePtrOutput

func (o InstanceAvailabilityTypePtrOutput) ToInstanceAvailabilityTypePtrOutput() InstanceAvailabilityTypePtrOutput

func (InstanceAvailabilityTypePtrOutput) ToInstanceAvailabilityTypePtrOutputWithContext

func (o InstanceAvailabilityTypePtrOutput) ToInstanceAvailabilityTypePtrOutputWithContext(ctx context.Context) InstanceAvailabilityTypePtrOutput

func (InstanceAvailabilityTypePtrOutput) ToStringPtrOutput

func (InstanceAvailabilityTypePtrOutput) ToStringPtrOutputWithContext

func (o InstanceAvailabilityTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceInput

type InstanceInput interface {
	pulumi.Input

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

type InstanceInstanceType

type InstanceInstanceType string

Required. The type of the instance. Specified at creation time.

func (InstanceInstanceType) ElementType

func (InstanceInstanceType) ElementType() reflect.Type

func (InstanceInstanceType) ToInstanceInstanceTypeOutput

func (e InstanceInstanceType) ToInstanceInstanceTypeOutput() InstanceInstanceTypeOutput

func (InstanceInstanceType) ToInstanceInstanceTypeOutputWithContext

func (e InstanceInstanceType) ToInstanceInstanceTypeOutputWithContext(ctx context.Context) InstanceInstanceTypeOutput

func (InstanceInstanceType) ToInstanceInstanceTypePtrOutput

func (e InstanceInstanceType) ToInstanceInstanceTypePtrOutput() InstanceInstanceTypePtrOutput

func (InstanceInstanceType) ToInstanceInstanceTypePtrOutputWithContext

func (e InstanceInstanceType) ToInstanceInstanceTypePtrOutputWithContext(ctx context.Context) InstanceInstanceTypePtrOutput

func (InstanceInstanceType) ToStringOutput

func (e InstanceInstanceType) ToStringOutput() pulumi.StringOutput

func (InstanceInstanceType) ToStringOutputWithContext

func (e InstanceInstanceType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceInstanceType) ToStringPtrOutput

func (e InstanceInstanceType) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceInstanceType) ToStringPtrOutputWithContext

func (e InstanceInstanceType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceInstanceTypeInput

type InstanceInstanceTypeInput interface {
	pulumi.Input

	ToInstanceInstanceTypeOutput() InstanceInstanceTypeOutput
	ToInstanceInstanceTypeOutputWithContext(context.Context) InstanceInstanceTypeOutput
}

InstanceInstanceTypeInput is an input type that accepts InstanceInstanceTypeArgs and InstanceInstanceTypeOutput values. You can construct a concrete instance of `InstanceInstanceTypeInput` via:

InstanceInstanceTypeArgs{...}

type InstanceInstanceTypeOutput

type InstanceInstanceTypeOutput struct{ *pulumi.OutputState }

func (InstanceInstanceTypeOutput) ElementType

func (InstanceInstanceTypeOutput) ElementType() reflect.Type

func (InstanceInstanceTypeOutput) ToInstanceInstanceTypeOutput

func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypeOutput() InstanceInstanceTypeOutput

func (InstanceInstanceTypeOutput) ToInstanceInstanceTypeOutputWithContext

func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypeOutputWithContext(ctx context.Context) InstanceInstanceTypeOutput

func (InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutput

func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutput() InstanceInstanceTypePtrOutput

func (InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutputWithContext

func (o InstanceInstanceTypeOutput) ToInstanceInstanceTypePtrOutputWithContext(ctx context.Context) InstanceInstanceTypePtrOutput

func (InstanceInstanceTypeOutput) ToStringOutput

func (o InstanceInstanceTypeOutput) ToStringOutput() pulumi.StringOutput

func (InstanceInstanceTypeOutput) ToStringOutputWithContext

func (o InstanceInstanceTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (InstanceInstanceTypeOutput) ToStringPtrOutput

func (o InstanceInstanceTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (InstanceInstanceTypeOutput) ToStringPtrOutputWithContext

func (o InstanceInstanceTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceInstanceTypePtrInput

type InstanceInstanceTypePtrInput interface {
	pulumi.Input

	ToInstanceInstanceTypePtrOutput() InstanceInstanceTypePtrOutput
	ToInstanceInstanceTypePtrOutputWithContext(context.Context) InstanceInstanceTypePtrOutput
}

func InstanceInstanceTypePtr

func InstanceInstanceTypePtr(v string) InstanceInstanceTypePtrInput

type InstanceInstanceTypePtrOutput

type InstanceInstanceTypePtrOutput struct{ *pulumi.OutputState }

func (InstanceInstanceTypePtrOutput) Elem

func (InstanceInstanceTypePtrOutput) ElementType

func (InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutput

func (o InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutput() InstanceInstanceTypePtrOutput

func (InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutputWithContext

func (o InstanceInstanceTypePtrOutput) ToInstanceInstanceTypePtrOutputWithContext(ctx context.Context) InstanceInstanceTypePtrOutput

func (InstanceInstanceTypePtrOutput) ToStringPtrOutput

func (InstanceInstanceTypePtrOutput) ToStringPtrOutputWithContext

func (o InstanceInstanceTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type InstanceOutput

type InstanceOutput struct{ *pulumi.OutputState }

func (InstanceOutput) Annotations

func (o InstanceOutput) Annotations() pulumi.StringMapOutput

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

func (InstanceOutput) AvailabilityType

func (o InstanceOutput) AvailabilityType() pulumi.StringOutput

Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).

func (InstanceOutput) ClientConnectionConfig

func (o InstanceOutput) ClientConnectionConfig() ClientConnectionConfigResponseOutput

Optional. Client connection specific configurations

func (InstanceOutput) ClusterId

func (o InstanceOutput) ClusterId() pulumi.StringOutput

func (InstanceOutput) CreateTime

func (o InstanceOutput) CreateTime() pulumi.StringOutput

Create time stamp

func (InstanceOutput) DatabaseFlags

func (o InstanceOutput) DatabaseFlags() pulumi.StringMapOutput

Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.

func (InstanceOutput) DeleteTime

func (o InstanceOutput) DeleteTime() pulumi.StringOutput

Delete time stamp

func (InstanceOutput) DisplayName

func (o InstanceOutput) DisplayName() pulumi.StringOutput

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

func (InstanceOutput) ElementType

func (InstanceOutput) ElementType() reflect.Type

func (InstanceOutput) Etag

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

func (InstanceOutput) GceZone

func (o InstanceOutput) GceZone() pulumi.StringOutput

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

func (InstanceOutput) InstanceId

func (o InstanceOutput) InstanceId() pulumi.StringOutput

Required. ID of the requesting object.

func (InstanceOutput) InstanceType

func (o InstanceOutput) InstanceType() pulumi.StringOutput

The type of the instance. Specified at creation time.

func (InstanceOutput) IpAddress

func (o InstanceOutput) IpAddress() pulumi.StringOutput

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

func (InstanceOutput) Labels

Labels as key value pairs

func (InstanceOutput) Location

func (o InstanceOutput) Location() pulumi.StringOutput

func (InstanceOutput) MachineConfig

func (o InstanceOutput) MachineConfig() MachineConfigResponseOutput

Configurations for the machines that host the underlying database engine.

func (InstanceOutput) Name

The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}

func (InstanceOutput) Nodes

List of available read-only VMs in this instance, including the standby for a PRIMARY instance.

func (InstanceOutput) Project

func (o InstanceOutput) Project() pulumi.StringOutput

func (InstanceOutput) QueryInsightsConfig

Configuration for query insights.

func (InstanceOutput) ReadPoolConfig

func (o InstanceOutput) ReadPoolConfig() ReadPoolConfigResponseOutput

Read pool instance configuration. This is required if the value of instanceType is READ_POOL.

func (InstanceOutput) Reconciling

func (o InstanceOutput) Reconciling() pulumi.BoolOutput

Reconciling (https://google.aip.dev/128#reconciliation). 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) RequestId

func (o InstanceOutput) RequestId() pulumi.StringPtrOutput

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (InstanceOutput) State

The current serving state of the instance.

func (InstanceOutput) ToInstanceOutput

func (o InstanceOutput) ToInstanceOutput() InstanceOutput

func (InstanceOutput) ToInstanceOutputWithContext

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

func (InstanceOutput) Uid

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

func (InstanceOutput) UpdatePolicy

func (o InstanceOutput) UpdatePolicy() UpdatePolicyResponseOutput

Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.

func (InstanceOutput) UpdateTime

func (o InstanceOutput) UpdateTime() pulumi.StringOutput

Update time stamp

func (InstanceOutput) WritableNode

func (o InstanceOutput) WritableNode() NodeResponseOutput

This is set for the read-write VM of the PRIMARY instance only.

type InstanceState

type InstanceState struct {
}

func (InstanceState) ElementType

func (InstanceState) ElementType() reflect.Type

type LookupBackupArgs

type LookupBackupArgs struct {
	BackupId string  `pulumi:"backupId"`
	Location string  `pulumi:"location"`
	Project  *string `pulumi:"project"`
}

type LookupBackupOutputArgs

type LookupBackupOutputArgs struct {
	BackupId pulumi.StringInput    `pulumi:"backupId"`
	Location pulumi.StringInput    `pulumi:"location"`
	Project  pulumi.StringPtrInput `pulumi:"project"`
}

func (LookupBackupOutputArgs) ElementType

func (LookupBackupOutputArgs) ElementType() reflect.Type

type LookupBackupResult

type LookupBackupResult struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations map[string]string `pulumi:"annotations"`
	// The full resource name of the backup source cluster (e.g., projects/{project}/locations/{region}/clusters/{cluster_id}).
	ClusterName string `pulumi:"clusterName"`
	// The system-generated UID of the cluster which was used to create this resource.
	ClusterUid string `pulumi:"clusterUid"`
	// Create time stamp
	CreateTime string `pulumi:"createTime"`
	// The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.
	DatabaseVersion string `pulumi:"databaseVersion"`
	// Delete time stamp
	DeleteTime string `pulumi:"deleteTime"`
	// User-provided description of the backup.
	Description string `pulumi:"description"`
	// User-settable and human-readable display name for the Backup.
	DisplayName string `pulumi:"displayName"`
	// Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigResponse `pulumi:"encryptionConfig"`
	// The encryption information for the backup.
	EncryptionInfo EncryptionInfoResponse `pulumi:"encryptionInfo"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag string `pulumi:"etag"`
	// The QuantityBasedExpiry of the backup, specified by the backup's retention policy. Once the expiry quantity is over retention, the backup is eligible to be garbage collected.
	ExpiryQuantity QuantityBasedExpiryResponse `pulumi:"expiryQuantity"`
	// The time at which after the backup is eligible to be garbage collected. It is the duration specified by the backup's retention policy, added to the backup's create_time.
	ExpiryTime string `pulumi:"expiryTime"`
	// Labels as key value pairs
	Labels map[string]string `pulumi:"labels"`
	// The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}
	Name string `pulumi:"name"`
	// Reconciling (https://google.aip.dev/128#reconciliation), if true, indicates that the service is actively updating the resource. This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling bool `pulumi:"reconciling"`
	// The size of the backup in bytes.
	SizeBytes string `pulumi:"sizeBytes"`
	// The current state of the backup.
	State string `pulumi:"state"`
	// The backup type, which suggests the trigger for the backup.
	Type string `pulumi:"type"`
	// 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 string `pulumi:"uid"`
	// Update time stamp
	UpdateTime string `pulumi:"updateTime"`
}

func LookupBackup

func LookupBackup(ctx *pulumi.Context, args *LookupBackupArgs, opts ...pulumi.InvokeOption) (*LookupBackupResult, error)

Gets details of a single Backup.

type LookupBackupResultOutput

type LookupBackupResultOutput struct{ *pulumi.OutputState }

func (LookupBackupResultOutput) Annotations

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

func (LookupBackupResultOutput) ClusterName

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

func (LookupBackupResultOutput) ClusterUid

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

func (LookupBackupResultOutput) CreateTime

Create time stamp

func (LookupBackupResultOutput) DatabaseVersion

func (o LookupBackupResultOutput) DatabaseVersion() pulumi.StringOutput

The database engine major version of the cluster this backup was created from. Any restored cluster created from this backup will have the same database version.

func (LookupBackupResultOutput) DeleteTime

Delete time stamp

func (LookupBackupResultOutput) Description

User-provided description of the backup.

func (LookupBackupResultOutput) DisplayName

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

func (LookupBackupResultOutput) ElementType

func (LookupBackupResultOutput) ElementType() reflect.Type

func (LookupBackupResultOutput) EncryptionConfig

Optional. The encryption config can be specified to encrypt the backup with a customer-managed encryption key (CMEK). When this field is not specified, the backup will then use default encryption scheme to protect the user data.

func (LookupBackupResultOutput) EncryptionInfo

The encryption information for the backup.

func (LookupBackupResultOutput) Etag

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

func (LookupBackupResultOutput) ExpiryQuantity

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

func (LookupBackupResultOutput) ExpiryTime

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

func (LookupBackupResultOutput) Labels

Labels as key value pairs

func (LookupBackupResultOutput) Name

The name of the backup resource with the format: * projects/{project}/locations/{region}/backups/{backup_id} where the cluster and backup ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the backup resource name is the name of the parent resource: * projects/{project}/locations/{region}

func (LookupBackupResultOutput) Reconciling

func (o LookupBackupResultOutput) Reconciling() pulumi.BoolOutput

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

func (LookupBackupResultOutput) SizeBytes

The size of the backup in bytes.

func (LookupBackupResultOutput) State

The current state of the backup.

func (LookupBackupResultOutput) ToLookupBackupResultOutput

func (o LookupBackupResultOutput) ToLookupBackupResultOutput() LookupBackupResultOutput

func (LookupBackupResultOutput) ToLookupBackupResultOutputWithContext

func (o LookupBackupResultOutput) ToLookupBackupResultOutputWithContext(ctx context.Context) LookupBackupResultOutput

func (LookupBackupResultOutput) Type

The backup type, which suggests the trigger for the backup.

func (LookupBackupResultOutput) Uid

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 (LookupBackupResultOutput) UpdateTime

Update time stamp

type LookupClusterArgs

type LookupClusterArgs struct {
	ClusterId string  `pulumi:"clusterId"`
	Location  string  `pulumi:"location"`
	Project   *string `pulumi:"project"`
	View      *string `pulumi:"view"`
}

type LookupClusterOutputArgs

type LookupClusterOutputArgs struct {
	ClusterId pulumi.StringInput    `pulumi:"clusterId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
	View      pulumi.StringPtrInput `pulumi:"view"`
}

func (LookupClusterOutputArgs) ElementType

func (LookupClusterOutputArgs) ElementType() reflect.Type

type LookupClusterResult

type LookupClusterResult struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations map[string]string `pulumi:"annotations"`
	// The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.
	AutomatedBackupPolicy AutomatedBackupPolicyResponse `pulumi:"automatedBackupPolicy"`
	// Cluster created from backup.
	BackupSource BackupSourceResponse `pulumi:"backupSource"`
	// The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`
	ClusterType string `pulumi:"clusterType"`
	// Optional. Continuous backup configuration for this cluster.
	ContinuousBackupConfig ContinuousBackupConfigResponse `pulumi:"continuousBackupConfig"`
	// Continuous backup properties for this cluster.
	ContinuousBackupInfo ContinuousBackupInfoResponse `pulumi:"continuousBackupInfo"`
	// Create time stamp
	CreateTime string `pulumi:"createTime"`
	// Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.
	DatabaseVersion string `pulumi:"databaseVersion"`
	// Delete time stamp
	DeleteTime string `pulumi:"deleteTime"`
	// User-settable and human-readable display name for the Cluster.
	DisplayName string `pulumi:"displayName"`
	// Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.
	EncryptionConfig EncryptionConfigResponse `pulumi:"encryptionConfig"`
	// The encryption information for the cluster.
	EncryptionInfo EncryptionInfoResponse `pulumi:"encryptionInfo"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag string `pulumi:"etag"`
	// Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.
	InitialUser UserPasswordResponse `pulumi:"initialUser"`
	// Labels as key value pairs
	Labels map[string]string `pulumi:"labels"`
	// Cluster created via DMS migration.
	MigrationSource MigrationSourceResponse `pulumi:"migrationSource"`
	// The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}
	Name string `pulumi:"name"`
	// 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
	//
	// Deprecated: Required. 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.
	Network       string                `pulumi:"network"`
	NetworkConfig NetworkConfigResponse `pulumi:"networkConfig"`
	// Cross Region replication config specific to PRIMARY cluster.
	PrimaryConfig PrimaryConfigResponse `pulumi:"primaryConfig"`
	// Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
	Reconciling bool `pulumi:"reconciling"`
	// Cross Region replication config specific to SECONDARY cluster.
	SecondaryConfig SecondaryConfigResponse `pulumi:"secondaryConfig"`
	// SSL configuration for this AlloyDB cluster.
	SslConfig SslConfigResponse `pulumi:"sslConfig"`
	// The current serving state of the cluster.
	State string `pulumi:"state"`
	// 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 string `pulumi:"uid"`
	// Update time stamp
	UpdateTime string `pulumi:"updateTime"`
}

func LookupCluster

func LookupCluster(ctx *pulumi.Context, args *LookupClusterArgs, opts ...pulumi.InvokeOption) (*LookupClusterResult, error)

Gets details of a single Cluster.

type LookupClusterResultOutput

type LookupClusterResultOutput struct{ *pulumi.OutputState }

func (LookupClusterResultOutput) Annotations

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

func (LookupClusterResultOutput) AutomatedBackupPolicy

The automated backup policy for this cluster. If no policy is provided then the default policy will be used. If backups are supported for the cluster, the default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. For more information on the defaults, consult the documentation for the message type.

func (LookupClusterResultOutput) BackupSource

Cluster created from backup.

func (LookupClusterResultOutput) ClusterType

The type of the cluster. This is an output-only field and it's populated at the Cluster creation time or the Cluster promotion time. The cluster type is determined by which RPC was used to create the cluster (i.e. `CreateCluster` vs. `CreateSecondaryCluster`

func (LookupClusterResultOutput) ContinuousBackupConfig

Optional. Continuous backup configuration for this cluster.

func (LookupClusterResultOutput) ContinuousBackupInfo

Continuous backup properties for this cluster.

func (LookupClusterResultOutput) CreateTime

Create time stamp

func (LookupClusterResultOutput) DatabaseVersion

func (o LookupClusterResultOutput) DatabaseVersion() pulumi.StringOutput

Optional. The database engine major version. This is an optional field and it is populated at the Cluster creation time. If a database version is not supplied at cluster creation time, then a default database version will be used.

func (LookupClusterResultOutput) DeleteTime

Delete time stamp

func (LookupClusterResultOutput) DisplayName

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

func (LookupClusterResultOutput) ElementType

func (LookupClusterResultOutput) ElementType() reflect.Type

func (LookupClusterResultOutput) EncryptionConfig

Optional. The encryption config can be specified to encrypt the data disks and other persistent data resources of a cluster with a customer-managed encryption key (CMEK). When this field is not specified, the cluster will then use default encryption scheme to protect the user data.

func (LookupClusterResultOutput) EncryptionInfo

The encryption information for the cluster.

func (LookupClusterResultOutput) Etag

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

func (LookupClusterResultOutput) InitialUser

Input only. Initial user to setup during cluster creation. Required. If used in `RestoreCluster` this is ignored.

func (LookupClusterResultOutput) Labels

Labels as key value pairs

func (LookupClusterResultOutput) MigrationSource

Cluster created via DMS migration.

func (LookupClusterResultOutput) Name

The name of the cluster resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id} where the cluster ID segment should satisfy the regex expression `[a-z0-9-]+`. For more details see https://google.aip.dev/122. The prefix of the cluster resource name is the name of the parent resource: * projects/{project}/locations/{region}

func (LookupClusterResultOutput) Network deprecated

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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.

Deprecated: Required. 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/{project}/global/networks/{network_id}". This is required to create a cluster. Deprecated, use network_config.network instead.

func (LookupClusterResultOutput) NetworkConfig

func (LookupClusterResultOutput) PrimaryConfig

Cross Region replication config specific to PRIMARY cluster.

func (LookupClusterResultOutput) Reconciling

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

func (LookupClusterResultOutput) SecondaryConfig

Cross Region replication config specific to SECONDARY cluster.

func (LookupClusterResultOutput) SslConfig

SSL configuration for this AlloyDB cluster.

func (LookupClusterResultOutput) State

The current serving state of the cluster.

func (LookupClusterResultOutput) ToLookupClusterResultOutput

func (o LookupClusterResultOutput) ToLookupClusterResultOutput() LookupClusterResultOutput

func (LookupClusterResultOutput) ToLookupClusterResultOutputWithContext

func (o LookupClusterResultOutput) ToLookupClusterResultOutputWithContext(ctx context.Context) LookupClusterResultOutput

func (LookupClusterResultOutput) Uid

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 (LookupClusterResultOutput) UpdateTime

Update time stamp

type LookupInstanceArgs

type LookupInstanceArgs struct {
	ClusterId  string  `pulumi:"clusterId"`
	InstanceId string  `pulumi:"instanceId"`
	Location   string  `pulumi:"location"`
	Project    *string `pulumi:"project"`
	View       *string `pulumi:"view"`
}

type LookupInstanceOutputArgs

type LookupInstanceOutputArgs struct {
	ClusterId  pulumi.StringInput    `pulumi:"clusterId"`
	InstanceId pulumi.StringInput    `pulumi:"instanceId"`
	Location   pulumi.StringInput    `pulumi:"location"`
	Project    pulumi.StringPtrInput `pulumi:"project"`
	View       pulumi.StringPtrInput `pulumi:"view"`
}

func (LookupInstanceOutputArgs) ElementType

func (LookupInstanceOutputArgs) ElementType() reflect.Type

type LookupInstanceResult

type LookupInstanceResult struct {
	// Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128
	Annotations map[string]string `pulumi:"annotations"`
	// Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).
	AvailabilityType string `pulumi:"availabilityType"`
	// Optional. Client connection specific configurations
	ClientConnectionConfig ClientConnectionConfigResponse `pulumi:"clientConnectionConfig"`
	// Create time stamp
	CreateTime string `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. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.
	DatabaseFlags map[string]string `pulumi:"databaseFlags"`
	// Delete time stamp
	DeleteTime string `pulumi:"deleteTime"`
	// User-settable and human-readable display name for the Instance.
	DisplayName string `pulumi:"displayName"`
	// For Resource freshness validation (https://google.aip.dev/154)
	Etag string `pulumi:"etag"`
	// 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 string `pulumi:"gceZone"`
	// The type of the instance. Specified at creation time.
	InstanceType string `pulumi:"instanceType"`
	// The IP address for the Instance. This is the connection endpoint for an end-user application.
	IpAddress string `pulumi:"ipAddress"`
	// Labels as key value pairs
	Labels map[string]string `pulumi:"labels"`
	// Configurations for the machines that host the underlying database engine.
	MachineConfig MachineConfigResponse `pulumi:"machineConfig"`
	// The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}
	Name string `pulumi:"name"`
	// List of available read-only VMs in this instance, including the standby for a PRIMARY instance.
	Nodes []NodeResponse `pulumi:"nodes"`
	// Configuration for query insights.
	QueryInsightsConfig QueryInsightsInstanceConfigResponse `pulumi:"queryInsightsConfig"`
	// Read pool instance configuration. This is required if the value of instanceType is READ_POOL.
	ReadPoolConfig ReadPoolConfigResponse `pulumi:"readPoolConfig"`
	// Reconciling (https://google.aip.dev/128#reconciliation). 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 bool `pulumi:"reconciling"`
	// The current serving state of the instance.
	State string `pulumi:"state"`
	// 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 string `pulumi:"uid"`
	// Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.
	UpdatePolicy UpdatePolicyResponse `pulumi:"updatePolicy"`
	// Update time stamp
	UpdateTime string `pulumi:"updateTime"`
	// This is set for the read-write VM of the PRIMARY instance only.
	WritableNode NodeResponse `pulumi:"writableNode"`
}

func LookupInstance

func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)

Gets details of a single Instance.

type LookupInstanceResultOutput

type LookupInstanceResultOutput struct{ *pulumi.OutputState }

func (LookupInstanceResultOutput) Annotations

Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. https://google.aip.dev/128

func (LookupInstanceResultOutput) AvailabilityType

func (o LookupInstanceResultOutput) AvailabilityType() pulumi.StringOutput

Availability type of an Instance. If empty, defaults to REGIONAL for primary instances. For read pools, availability_type is always UNSPECIFIED. Instances in the read pools are evenly distributed across available zones within the region (i.e. read pools with more than one node will have a node in at least two zones).

func (LookupInstanceResultOutput) ClientConnectionConfig

Optional. Client connection specific configurations

func (LookupInstanceResultOutput) CreateTime

Create time stamp

func (LookupInstanceResultOutput) DatabaseFlags

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. This is a list of "key": "value" pairs. "key": The name of the flag. These flags are passed at instance setup time, so include both server options and system variables for Postgres. Flags are specified with underscores, not hyphens. "value": The value of the flag. Booleans are set to **on** for true and **off** for false. This field must be omitted if the flag doesn't take a value.

func (LookupInstanceResultOutput) DeleteTime

Delete time stamp

func (LookupInstanceResultOutput) DisplayName

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

func (LookupInstanceResultOutput) ElementType

func (LookupInstanceResultOutput) ElementType() reflect.Type

func (LookupInstanceResultOutput) Etag

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

func (LookupInstanceResultOutput) GceZone

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

func (LookupInstanceResultOutput) InstanceType

The type of the instance. Specified at creation time.

func (LookupInstanceResultOutput) IpAddress

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

func (LookupInstanceResultOutput) Labels

Labels as key value pairs

func (LookupInstanceResultOutput) MachineConfig

Configurations for the machines that host the underlying database engine.

func (LookupInstanceResultOutput) Name

The name of the instance resource with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}/instances/{instance_id} where the cluster and instance ID segments should satisfy the regex expression `[a-z]([a-z0-9-]{0,61}[a-z0-9])?`, e.g. 1-63 characters of lowercase letters, numbers, and dashes, starting with a letter, and ending with a letter or number. For more details see https://google.aip.dev/122. The prefix of the instance resource name is the name of the parent resource: * projects/{project}/locations/{region}/clusters/{cluster_id}

func (LookupInstanceResultOutput) Nodes

List of available read-only VMs in this instance, including the standby for a PRIMARY instance.

func (LookupInstanceResultOutput) QueryInsightsConfig

Configuration for query insights.

func (LookupInstanceResultOutput) ReadPoolConfig

Read pool instance configuration. This is required if the value of instanceType is READ_POOL.

func (LookupInstanceResultOutput) Reconciling

Reconciling (https://google.aip.dev/128#reconciliation). 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 (LookupInstanceResultOutput) State

The current serving state of the instance.

func (LookupInstanceResultOutput) ToLookupInstanceResultOutput

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput

func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext

func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput

func (LookupInstanceResultOutput) Uid

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 (LookupInstanceResultOutput) UpdatePolicy

Update policy that will be applied during instance update. This field is not persisted when you update the instance. To use a non-default update policy, you must specify explicitly specify the value in each update request.

func (LookupInstanceResultOutput) UpdateTime

Update time stamp

func (LookupInstanceResultOutput) WritableNode

This is set for the read-write VM of the PRIMARY instance only.

type LookupUserArgs

type LookupUserArgs struct {
	ClusterId string  `pulumi:"clusterId"`
	Location  string  `pulumi:"location"`
	Project   *string `pulumi:"project"`
	UserId    string  `pulumi:"userId"`
}

type LookupUserOutputArgs

type LookupUserOutputArgs struct {
	ClusterId pulumi.StringInput    `pulumi:"clusterId"`
	Location  pulumi.StringInput    `pulumi:"location"`
	Project   pulumi.StringPtrInput `pulumi:"project"`
	UserId    pulumi.StringInput    `pulumi:"userId"`
}

func (LookupUserOutputArgs) ElementType

func (LookupUserOutputArgs) ElementType() reflect.Type

type LookupUserResult

type LookupUserResult struct {
	// Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
	DatabaseRoles []string `pulumi:"databaseRoles"`
	// Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
	Name string `pulumi:"name"`
	// Input only. Password for the user.
	Password string `pulumi:"password"`
	// Optional. Type of this user.
	UserType string `pulumi:"userType"`
}

func LookupUser

func LookupUser(ctx *pulumi.Context, args *LookupUserArgs, opts ...pulumi.InvokeOption) (*LookupUserResult, error)

Gets details of a single User.

type LookupUserResultOutput

type LookupUserResultOutput struct{ *pulumi.OutputState }

func (LookupUserResultOutput) DatabaseRoles

Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

func (LookupUserResultOutput) ElementType

func (LookupUserResultOutput) ElementType() reflect.Type

func (LookupUserResultOutput) Name

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

func (LookupUserResultOutput) Password

Input only. Password for the user.

func (LookupUserResultOutput) ToLookupUserResultOutput

func (o LookupUserResultOutput) ToLookupUserResultOutput() LookupUserResultOutput

func (LookupUserResultOutput) ToLookupUserResultOutputWithContext

func (o LookupUserResultOutput) ToLookupUserResultOutputWithContext(ctx context.Context) LookupUserResultOutput

func (LookupUserResultOutput) UserType

Optional. Type of this user.

type MachineConfig

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

MachineConfig describes the configuration of a machine.

type MachineConfigArgs

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

MachineConfig describes the configuration of a machine.

func (MachineConfigArgs) ElementType

func (MachineConfigArgs) ElementType() reflect.Type

func (MachineConfigArgs) ToMachineConfigOutput

func (i MachineConfigArgs) ToMachineConfigOutput() MachineConfigOutput

func (MachineConfigArgs) ToMachineConfigOutputWithContext

func (i MachineConfigArgs) ToMachineConfigOutputWithContext(ctx context.Context) MachineConfigOutput

func (MachineConfigArgs) ToMachineConfigPtrOutput

func (i MachineConfigArgs) ToMachineConfigPtrOutput() MachineConfigPtrOutput

func (MachineConfigArgs) ToMachineConfigPtrOutputWithContext

func (i MachineConfigArgs) ToMachineConfigPtrOutputWithContext(ctx context.Context) MachineConfigPtrOutput

type MachineConfigInput

type MachineConfigInput interface {
	pulumi.Input

	ToMachineConfigOutput() MachineConfigOutput
	ToMachineConfigOutputWithContext(context.Context) MachineConfigOutput
}

MachineConfigInput is an input type that accepts MachineConfigArgs and MachineConfigOutput values. You can construct a concrete instance of `MachineConfigInput` via:

MachineConfigArgs{...}

type MachineConfigOutput

type MachineConfigOutput struct{ *pulumi.OutputState }

MachineConfig describes the configuration of a machine.

func (MachineConfigOutput) CpuCount

The number of CPU's in the VM instance.

func (MachineConfigOutput) ElementType

func (MachineConfigOutput) ElementType() reflect.Type

func (MachineConfigOutput) ToMachineConfigOutput

func (o MachineConfigOutput) ToMachineConfigOutput() MachineConfigOutput

func (MachineConfigOutput) ToMachineConfigOutputWithContext

func (o MachineConfigOutput) ToMachineConfigOutputWithContext(ctx context.Context) MachineConfigOutput

func (MachineConfigOutput) ToMachineConfigPtrOutput

func (o MachineConfigOutput) ToMachineConfigPtrOutput() MachineConfigPtrOutput

func (MachineConfigOutput) ToMachineConfigPtrOutputWithContext

func (o MachineConfigOutput) ToMachineConfigPtrOutputWithContext(ctx context.Context) MachineConfigPtrOutput

type MachineConfigPtrInput

type MachineConfigPtrInput interface {
	pulumi.Input

	ToMachineConfigPtrOutput() MachineConfigPtrOutput
	ToMachineConfigPtrOutputWithContext(context.Context) MachineConfigPtrOutput
}

MachineConfigPtrInput is an input type that accepts MachineConfigArgs, MachineConfigPtr and MachineConfigPtrOutput values. You can construct a concrete instance of `MachineConfigPtrInput` via:

        MachineConfigArgs{...}

or:

        nil

type MachineConfigPtrOutput

type MachineConfigPtrOutput struct{ *pulumi.OutputState }

func (MachineConfigPtrOutput) CpuCount

The number of CPU's in the VM instance.

func (MachineConfigPtrOutput) Elem

func (MachineConfigPtrOutput) ElementType

func (MachineConfigPtrOutput) ElementType() reflect.Type

func (MachineConfigPtrOutput) ToMachineConfigPtrOutput

func (o MachineConfigPtrOutput) ToMachineConfigPtrOutput() MachineConfigPtrOutput

func (MachineConfigPtrOutput) ToMachineConfigPtrOutputWithContext

func (o MachineConfigPtrOutput) ToMachineConfigPtrOutputWithContext(ctx context.Context) MachineConfigPtrOutput

type MachineConfigResponse

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

MachineConfig describes the configuration of a machine.

type MachineConfigResponseOutput

type MachineConfigResponseOutput struct{ *pulumi.OutputState }

MachineConfig describes the configuration of a machine.

func (MachineConfigResponseOutput) CpuCount

The number of CPU's in the VM instance.

func (MachineConfigResponseOutput) ElementType

func (MachineConfigResponseOutput) ToMachineConfigResponseOutput

func (o MachineConfigResponseOutput) ToMachineConfigResponseOutput() MachineConfigResponseOutput

func (MachineConfigResponseOutput) ToMachineConfigResponseOutputWithContext

func (o MachineConfigResponseOutput) ToMachineConfigResponseOutputWithContext(ctx context.Context) MachineConfigResponseOutput

type MigrationSourceResponse

type MigrationSourceResponse 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"`
}

Subset of the source instance configuration that is available when reading the cluster resource.

type MigrationSourceResponseOutput

type MigrationSourceResponseOutput struct{ *pulumi.OutputState }

Subset of the source instance configuration that is available when reading the cluster resource.

func (MigrationSourceResponseOutput) ElementType

func (MigrationSourceResponseOutput) HostPort

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

func (MigrationSourceResponseOutput) ReferenceId

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

func (MigrationSourceResponseOutput) SourceType

Type of migration source.

func (MigrationSourceResponseOutput) ToMigrationSourceResponseOutput

func (o MigrationSourceResponseOutput) ToMigrationSourceResponseOutput() MigrationSourceResponseOutput

func (MigrationSourceResponseOutput) ToMigrationSourceResponseOutputWithContext

func (o MigrationSourceResponseOutput) ToMigrationSourceResponseOutputWithContext(ctx context.Context) MigrationSourceResponseOutput

type NetworkConfig

type NetworkConfig struct {
	// Optional. 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. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
	AllocatedIpRange *string `pulumi:"allocatedIpRange"`
	// Optional. 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/{project_number}/global/networks/{network_id}". This is required to create a cluster.
	Network *string `pulumi:"network"`
}

Metadata related to network configuration.

type NetworkConfigArgs

type NetworkConfigArgs struct {
	// Optional. 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. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
	AllocatedIpRange pulumi.StringPtrInput `pulumi:"allocatedIpRange"`
	// Optional. 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/{project_number}/global/networks/{network_id}". This is required to create a cluster.
	Network pulumi.StringPtrInput `pulumi:"network"`
}

Metadata related to network configuration.

func (NetworkConfigArgs) ElementType

func (NetworkConfigArgs) ElementType() reflect.Type

func (NetworkConfigArgs) ToNetworkConfigOutput

func (i NetworkConfigArgs) ToNetworkConfigOutput() NetworkConfigOutput

func (NetworkConfigArgs) ToNetworkConfigOutputWithContext

func (i NetworkConfigArgs) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput

func (NetworkConfigArgs) ToNetworkConfigPtrOutput

func (i NetworkConfigArgs) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext

func (i NetworkConfigArgs) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigInput

type NetworkConfigInput interface {
	pulumi.Input

	ToNetworkConfigOutput() NetworkConfigOutput
	ToNetworkConfigOutputWithContext(context.Context) NetworkConfigOutput
}

NetworkConfigInput is an input type that accepts NetworkConfigArgs and NetworkConfigOutput values. You can construct a concrete instance of `NetworkConfigInput` via:

NetworkConfigArgs{...}

type NetworkConfigOutput

type NetworkConfigOutput struct{ *pulumi.OutputState }

Metadata related to network configuration.

func (NetworkConfigOutput) AllocatedIpRange

func (o NetworkConfigOutput) AllocatedIpRange() pulumi.StringPtrOutput

Optional. 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. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.

func (NetworkConfigOutput) ElementType

func (NetworkConfigOutput) ElementType() reflect.Type

func (NetworkConfigOutput) Network

Optional. 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/{project_number}/global/networks/{network_id}". This is required to create a cluster.

func (NetworkConfigOutput) ToNetworkConfigOutput

func (o NetworkConfigOutput) ToNetworkConfigOutput() NetworkConfigOutput

func (NetworkConfigOutput) ToNetworkConfigOutputWithContext

func (o NetworkConfigOutput) ToNetworkConfigOutputWithContext(ctx context.Context) NetworkConfigOutput

func (NetworkConfigOutput) ToNetworkConfigPtrOutput

func (o NetworkConfigOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext

func (o NetworkConfigOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigPtrInput

type NetworkConfigPtrInput interface {
	pulumi.Input

	ToNetworkConfigPtrOutput() NetworkConfigPtrOutput
	ToNetworkConfigPtrOutputWithContext(context.Context) NetworkConfigPtrOutput
}

NetworkConfigPtrInput is an input type that accepts NetworkConfigArgs, NetworkConfigPtr and NetworkConfigPtrOutput values. You can construct a concrete instance of `NetworkConfigPtrInput` via:

        NetworkConfigArgs{...}

or:

        nil

type NetworkConfigPtrOutput

type NetworkConfigPtrOutput struct{ *pulumi.OutputState }

func (NetworkConfigPtrOutput) AllocatedIpRange

func (o NetworkConfigPtrOutput) AllocatedIpRange() pulumi.StringPtrOutput

Optional. 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. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.

func (NetworkConfigPtrOutput) Elem

func (NetworkConfigPtrOutput) ElementType

func (NetworkConfigPtrOutput) ElementType() reflect.Type

func (NetworkConfigPtrOutput) Network

Optional. 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/{project_number}/global/networks/{network_id}". This is required to create a cluster.

func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutput

func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutput() NetworkConfigPtrOutput

func (NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext

func (o NetworkConfigPtrOutput) ToNetworkConfigPtrOutputWithContext(ctx context.Context) NetworkConfigPtrOutput

type NetworkConfigResponse

type NetworkConfigResponse struct {
	// Optional. 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. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.
	AllocatedIpRange string `pulumi:"allocatedIpRange"`
	// Optional. 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/{project_number}/global/networks/{network_id}". This is required to create a cluster.
	Network string `pulumi:"network"`
}

Metadata related to network configuration.

type NetworkConfigResponseOutput

type NetworkConfigResponseOutput struct{ *pulumi.OutputState }

Metadata related to network configuration.

func (NetworkConfigResponseOutput) AllocatedIpRange

func (o NetworkConfigResponseOutput) AllocatedIpRange() pulumi.StringOutput

Optional. 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. The range name must comply with RFC 1035. Specifically, the name must be 1-63 characters long and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?`. Field name is intended to be consistent with Cloud SQL.

func (NetworkConfigResponseOutput) ElementType

func (NetworkConfigResponseOutput) Network

Optional. 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/{project_number}/global/networks/{network_id}". This is required to create a cluster.

func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutput

func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutput() NetworkConfigResponseOutput

func (NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext

func (o NetworkConfigResponseOutput) ToNetworkConfigResponseOutputWithContext(ctx context.Context) NetworkConfigResponseOutput

type NodeResponse

type NodeResponse struct {
	// The private IP address of the VM e.g. "10.57.0.34".
	Ip string `pulumi:"ip"`
	// Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.
	State string `pulumi:"state"`
	// The Compute Engine zone of the VM e.g. "us-central1-b".
	Zone string `pulumi:"zone"`
}

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

type NodeResponseArrayOutput

type NodeResponseArrayOutput struct{ *pulumi.OutputState }

func (NodeResponseArrayOutput) ElementType

func (NodeResponseArrayOutput) ElementType() reflect.Type

func (NodeResponseArrayOutput) Index

func (NodeResponseArrayOutput) ToNodeResponseArrayOutput

func (o NodeResponseArrayOutput) ToNodeResponseArrayOutput() NodeResponseArrayOutput

func (NodeResponseArrayOutput) ToNodeResponseArrayOutputWithContext

func (o NodeResponseArrayOutput) ToNodeResponseArrayOutputWithContext(ctx context.Context) NodeResponseArrayOutput

type NodeResponseOutput

type NodeResponseOutput struct{ *pulumi.OutputState }

Details of a single node in the instance. Nodes in an AlloyDB instance are ephemereal, they can change during update, failover, autohealing and resize operations.

func (NodeResponseOutput) ElementType

func (NodeResponseOutput) ElementType() reflect.Type

func (NodeResponseOutput) Ip

The private IP address of the VM e.g. "10.57.0.34".

func (NodeResponseOutput) State

Determined by state of the compute VM and postgres-service health. Compute VM state can have values listed in https://cloud.google.com/compute/docs/instances/instance-life-cycle and postgres-service health can have values: HEALTHY and UNHEALTHY.

func (NodeResponseOutput) ToNodeResponseOutput

func (o NodeResponseOutput) ToNodeResponseOutput() NodeResponseOutput

func (NodeResponseOutput) ToNodeResponseOutputWithContext

func (o NodeResponseOutput) ToNodeResponseOutputWithContext(ctx context.Context) NodeResponseOutput

func (NodeResponseOutput) Zone

The Compute Engine zone of the VM e.g. "us-central1-b".

type PrimaryConfigResponse

type PrimaryConfigResponse struct {
	// Names of the clusters that are replicating from this cluster.
	SecondaryClusterNames []string `pulumi:"secondaryClusterNames"`
}

Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.

type PrimaryConfigResponseOutput

type PrimaryConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for the primary cluster. It has the list of clusters that are replicating from this cluster. This should be set if and only if the cluster is of type PRIMARY.

func (PrimaryConfigResponseOutput) ElementType

func (PrimaryConfigResponseOutput) SecondaryClusterNames

func (o PrimaryConfigResponseOutput) SecondaryClusterNames() pulumi.StringArrayOutput

Names of the clusters that are replicating from this cluster.

func (PrimaryConfigResponseOutput) ToPrimaryConfigResponseOutput

func (o PrimaryConfigResponseOutput) ToPrimaryConfigResponseOutput() PrimaryConfigResponseOutput

func (PrimaryConfigResponseOutput) ToPrimaryConfigResponseOutputWithContext

func (o PrimaryConfigResponseOutput) ToPrimaryConfigResponseOutputWithContext(ctx context.Context) PrimaryConfigResponseOutput

type QuantityBasedExpiryResponse

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

A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)

type QuantityBasedExpiryResponseOutput

type QuantityBasedExpiryResponseOutput struct{ *pulumi.OutputState }

A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)

func (QuantityBasedExpiryResponseOutput) ElementType

func (QuantityBasedExpiryResponseOutput) RetentionCount

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

func (QuantityBasedExpiryResponseOutput) ToQuantityBasedExpiryResponseOutput

func (o QuantityBasedExpiryResponseOutput) ToQuantityBasedExpiryResponseOutput() QuantityBasedExpiryResponseOutput

func (QuantityBasedExpiryResponseOutput) ToQuantityBasedExpiryResponseOutputWithContext

func (o QuantityBasedExpiryResponseOutput) ToQuantityBasedExpiryResponseOutputWithContext(ctx context.Context) QuantityBasedExpiryResponseOutput

func (QuantityBasedExpiryResponseOutput) TotalRetentionCount

func (o QuantityBasedExpiryResponseOutput) TotalRetentionCount() pulumi.IntOutput

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

type QuantityBasedRetention

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

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

type QuantityBasedRetentionArgs

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

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

func (QuantityBasedRetentionArgs) ElementType

func (QuantityBasedRetentionArgs) ElementType() reflect.Type

func (QuantityBasedRetentionArgs) ToQuantityBasedRetentionOutput

func (i QuantityBasedRetentionArgs) ToQuantityBasedRetentionOutput() QuantityBasedRetentionOutput

func (QuantityBasedRetentionArgs) ToQuantityBasedRetentionOutputWithContext

func (i QuantityBasedRetentionArgs) ToQuantityBasedRetentionOutputWithContext(ctx context.Context) QuantityBasedRetentionOutput

func (QuantityBasedRetentionArgs) ToQuantityBasedRetentionPtrOutput

func (i QuantityBasedRetentionArgs) ToQuantityBasedRetentionPtrOutput() QuantityBasedRetentionPtrOutput

func (QuantityBasedRetentionArgs) ToQuantityBasedRetentionPtrOutputWithContext

func (i QuantityBasedRetentionArgs) ToQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) QuantityBasedRetentionPtrOutput

type QuantityBasedRetentionInput

type QuantityBasedRetentionInput interface {
	pulumi.Input

	ToQuantityBasedRetentionOutput() QuantityBasedRetentionOutput
	ToQuantityBasedRetentionOutputWithContext(context.Context) QuantityBasedRetentionOutput
}

QuantityBasedRetentionInput is an input type that accepts QuantityBasedRetentionArgs and QuantityBasedRetentionOutput values. You can construct a concrete instance of `QuantityBasedRetentionInput` via:

QuantityBasedRetentionArgs{...}

type QuantityBasedRetentionOutput

type QuantityBasedRetentionOutput struct{ *pulumi.OutputState }

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

func (QuantityBasedRetentionOutput) Count

The number of backups to retain.

func (QuantityBasedRetentionOutput) ElementType

func (QuantityBasedRetentionOutput) ToQuantityBasedRetentionOutput

func (o QuantityBasedRetentionOutput) ToQuantityBasedRetentionOutput() QuantityBasedRetentionOutput

func (QuantityBasedRetentionOutput) ToQuantityBasedRetentionOutputWithContext

func (o QuantityBasedRetentionOutput) ToQuantityBasedRetentionOutputWithContext(ctx context.Context) QuantityBasedRetentionOutput

func (QuantityBasedRetentionOutput) ToQuantityBasedRetentionPtrOutput

func (o QuantityBasedRetentionOutput) ToQuantityBasedRetentionPtrOutput() QuantityBasedRetentionPtrOutput

func (QuantityBasedRetentionOutput) ToQuantityBasedRetentionPtrOutputWithContext

func (o QuantityBasedRetentionOutput) ToQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) QuantityBasedRetentionPtrOutput

type QuantityBasedRetentionPtrInput

type QuantityBasedRetentionPtrInput interface {
	pulumi.Input

	ToQuantityBasedRetentionPtrOutput() QuantityBasedRetentionPtrOutput
	ToQuantityBasedRetentionPtrOutputWithContext(context.Context) QuantityBasedRetentionPtrOutput
}

QuantityBasedRetentionPtrInput is an input type that accepts QuantityBasedRetentionArgs, QuantityBasedRetentionPtr and QuantityBasedRetentionPtrOutput values. You can construct a concrete instance of `QuantityBasedRetentionPtrInput` via:

        QuantityBasedRetentionArgs{...}

or:

        nil

type QuantityBasedRetentionPtrOutput

type QuantityBasedRetentionPtrOutput struct{ *pulumi.OutputState }

func (QuantityBasedRetentionPtrOutput) Count

The number of backups to retain.

func (QuantityBasedRetentionPtrOutput) Elem

func (QuantityBasedRetentionPtrOutput) ElementType

func (QuantityBasedRetentionPtrOutput) ToQuantityBasedRetentionPtrOutput

func (o QuantityBasedRetentionPtrOutput) ToQuantityBasedRetentionPtrOutput() QuantityBasedRetentionPtrOutput

func (QuantityBasedRetentionPtrOutput) ToQuantityBasedRetentionPtrOutputWithContext

func (o QuantityBasedRetentionPtrOutput) ToQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) QuantityBasedRetentionPtrOutput

type QuantityBasedRetentionResponse

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

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

type QuantityBasedRetentionResponseOutput

type QuantityBasedRetentionResponseOutput struct{ *pulumi.OutputState }

A quantity based policy specifies that a certain number of the most recent successful backups should be retained.

func (QuantityBasedRetentionResponseOutput) Count

The number of backups to retain.

func (QuantityBasedRetentionResponseOutput) ElementType

func (QuantityBasedRetentionResponseOutput) ToQuantityBasedRetentionResponseOutput

func (o QuantityBasedRetentionResponseOutput) ToQuantityBasedRetentionResponseOutput() QuantityBasedRetentionResponseOutput

func (QuantityBasedRetentionResponseOutput) ToQuantityBasedRetentionResponseOutputWithContext

func (o QuantityBasedRetentionResponseOutput) ToQuantityBasedRetentionResponseOutputWithContext(ctx context.Context) QuantityBasedRetentionResponseOutput

type QueryInsightsInstanceConfig

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

QueryInsights Instance specific configuration.

type QueryInsightsInstanceConfigArgs

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

QueryInsights Instance specific configuration.

func (QueryInsightsInstanceConfigArgs) ElementType

func (QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigOutput

func (i QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigOutput() QueryInsightsInstanceConfigOutput

func (QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigOutputWithContext

func (i QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigOutputWithContext(ctx context.Context) QueryInsightsInstanceConfigOutput

func (QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigPtrOutput

func (i QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigPtrOutput() QueryInsightsInstanceConfigPtrOutput

func (QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigPtrOutputWithContext

func (i QueryInsightsInstanceConfigArgs) ToQueryInsightsInstanceConfigPtrOutputWithContext(ctx context.Context) QueryInsightsInstanceConfigPtrOutput

type QueryInsightsInstanceConfigInput

type QueryInsightsInstanceConfigInput interface {
	pulumi.Input

	ToQueryInsightsInstanceConfigOutput() QueryInsightsInstanceConfigOutput
	ToQueryInsightsInstanceConfigOutputWithContext(context.Context) QueryInsightsInstanceConfigOutput
}

QueryInsightsInstanceConfigInput is an input type that accepts QueryInsightsInstanceConfigArgs and QueryInsightsInstanceConfigOutput values. You can construct a concrete instance of `QueryInsightsInstanceConfigInput` via:

QueryInsightsInstanceConfigArgs{...}

type QueryInsightsInstanceConfigOutput

type QueryInsightsInstanceConfigOutput struct{ *pulumi.OutputState }

QueryInsights Instance specific configuration.

func (QueryInsightsInstanceConfigOutput) ElementType

func (QueryInsightsInstanceConfigOutput) QueryPlansPerMinute

func (o QueryInsightsInstanceConfigOutput) QueryPlansPerMinute() pulumi.IntPtrOutput

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

func (QueryInsightsInstanceConfigOutput) QueryStringLength

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

func (QueryInsightsInstanceConfigOutput) RecordApplicationTags

func (o QueryInsightsInstanceConfigOutput) RecordApplicationTags() pulumi.BoolPtrOutput

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

func (QueryInsightsInstanceConfigOutput) RecordClientAddress

func (o QueryInsightsInstanceConfigOutput) RecordClientAddress() pulumi.BoolPtrOutput

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

func (QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigOutput

func (o QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigOutput() QueryInsightsInstanceConfigOutput

func (QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigOutputWithContext

func (o QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigOutputWithContext(ctx context.Context) QueryInsightsInstanceConfigOutput

func (QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigPtrOutput

func (o QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigPtrOutput() QueryInsightsInstanceConfigPtrOutput

func (QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigPtrOutputWithContext

func (o QueryInsightsInstanceConfigOutput) ToQueryInsightsInstanceConfigPtrOutputWithContext(ctx context.Context) QueryInsightsInstanceConfigPtrOutput

type QueryInsightsInstanceConfigPtrInput

type QueryInsightsInstanceConfigPtrInput interface {
	pulumi.Input

	ToQueryInsightsInstanceConfigPtrOutput() QueryInsightsInstanceConfigPtrOutput
	ToQueryInsightsInstanceConfigPtrOutputWithContext(context.Context) QueryInsightsInstanceConfigPtrOutput
}

QueryInsightsInstanceConfigPtrInput is an input type that accepts QueryInsightsInstanceConfigArgs, QueryInsightsInstanceConfigPtr and QueryInsightsInstanceConfigPtrOutput values. You can construct a concrete instance of `QueryInsightsInstanceConfigPtrInput` via:

        QueryInsightsInstanceConfigArgs{...}

or:

        nil

type QueryInsightsInstanceConfigPtrOutput

type QueryInsightsInstanceConfigPtrOutput struct{ *pulumi.OutputState }

func (QueryInsightsInstanceConfigPtrOutput) Elem

func (QueryInsightsInstanceConfigPtrOutput) ElementType

func (QueryInsightsInstanceConfigPtrOutput) QueryPlansPerMinute

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

func (QueryInsightsInstanceConfigPtrOutput) QueryStringLength

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

func (QueryInsightsInstanceConfigPtrOutput) RecordApplicationTags

func (o QueryInsightsInstanceConfigPtrOutput) RecordApplicationTags() pulumi.BoolPtrOutput

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

func (QueryInsightsInstanceConfigPtrOutput) RecordClientAddress

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

func (QueryInsightsInstanceConfigPtrOutput) ToQueryInsightsInstanceConfigPtrOutput

func (o QueryInsightsInstanceConfigPtrOutput) ToQueryInsightsInstanceConfigPtrOutput() QueryInsightsInstanceConfigPtrOutput

func (QueryInsightsInstanceConfigPtrOutput) ToQueryInsightsInstanceConfigPtrOutputWithContext

func (o QueryInsightsInstanceConfigPtrOutput) ToQueryInsightsInstanceConfigPtrOutputWithContext(ctx context.Context) QueryInsightsInstanceConfigPtrOutput

type QueryInsightsInstanceConfigResponse

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

QueryInsights Instance specific configuration.

type QueryInsightsInstanceConfigResponseOutput

type QueryInsightsInstanceConfigResponseOutput struct{ *pulumi.OutputState }

QueryInsights Instance specific configuration.

func (QueryInsightsInstanceConfigResponseOutput) ElementType

func (QueryInsightsInstanceConfigResponseOutput) QueryPlansPerMinute

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

func (QueryInsightsInstanceConfigResponseOutput) QueryStringLength

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

func (QueryInsightsInstanceConfigResponseOutput) RecordApplicationTags

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

func (QueryInsightsInstanceConfigResponseOutput) RecordClientAddress

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

func (QueryInsightsInstanceConfigResponseOutput) ToQueryInsightsInstanceConfigResponseOutput

func (o QueryInsightsInstanceConfigResponseOutput) ToQueryInsightsInstanceConfigResponseOutput() QueryInsightsInstanceConfigResponseOutput

func (QueryInsightsInstanceConfigResponseOutput) ToQueryInsightsInstanceConfigResponseOutputWithContext

func (o QueryInsightsInstanceConfigResponseOutput) ToQueryInsightsInstanceConfigResponseOutputWithContext(ctx context.Context) QueryInsightsInstanceConfigResponseOutput

type ReadPoolConfig

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

Configuration for a read pool instance.

type ReadPoolConfigArgs

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

Configuration for a read pool instance.

func (ReadPoolConfigArgs) ElementType

func (ReadPoolConfigArgs) ElementType() reflect.Type

func (ReadPoolConfigArgs) ToReadPoolConfigOutput

func (i ReadPoolConfigArgs) ToReadPoolConfigOutput() ReadPoolConfigOutput

func (ReadPoolConfigArgs) ToReadPoolConfigOutputWithContext

func (i ReadPoolConfigArgs) ToReadPoolConfigOutputWithContext(ctx context.Context) ReadPoolConfigOutput

func (ReadPoolConfigArgs) ToReadPoolConfigPtrOutput

func (i ReadPoolConfigArgs) ToReadPoolConfigPtrOutput() ReadPoolConfigPtrOutput

func (ReadPoolConfigArgs) ToReadPoolConfigPtrOutputWithContext

func (i ReadPoolConfigArgs) ToReadPoolConfigPtrOutputWithContext(ctx context.Context) ReadPoolConfigPtrOutput

type ReadPoolConfigInput

type ReadPoolConfigInput interface {
	pulumi.Input

	ToReadPoolConfigOutput() ReadPoolConfigOutput
	ToReadPoolConfigOutputWithContext(context.Context) ReadPoolConfigOutput
}

ReadPoolConfigInput is an input type that accepts ReadPoolConfigArgs and ReadPoolConfigOutput values. You can construct a concrete instance of `ReadPoolConfigInput` via:

ReadPoolConfigArgs{...}

type ReadPoolConfigOutput

type ReadPoolConfigOutput struct{ *pulumi.OutputState }

Configuration for a read pool instance.

func (ReadPoolConfigOutput) ElementType

func (ReadPoolConfigOutput) ElementType() reflect.Type

func (ReadPoolConfigOutput) NodeCount

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

func (ReadPoolConfigOutput) ToReadPoolConfigOutput

func (o ReadPoolConfigOutput) ToReadPoolConfigOutput() ReadPoolConfigOutput

func (ReadPoolConfigOutput) ToReadPoolConfigOutputWithContext

func (o ReadPoolConfigOutput) ToReadPoolConfigOutputWithContext(ctx context.Context) ReadPoolConfigOutput

func (ReadPoolConfigOutput) ToReadPoolConfigPtrOutput

func (o ReadPoolConfigOutput) ToReadPoolConfigPtrOutput() ReadPoolConfigPtrOutput

func (ReadPoolConfigOutput) ToReadPoolConfigPtrOutputWithContext

func (o ReadPoolConfigOutput) ToReadPoolConfigPtrOutputWithContext(ctx context.Context) ReadPoolConfigPtrOutput

type ReadPoolConfigPtrInput

type ReadPoolConfigPtrInput interface {
	pulumi.Input

	ToReadPoolConfigPtrOutput() ReadPoolConfigPtrOutput
	ToReadPoolConfigPtrOutputWithContext(context.Context) ReadPoolConfigPtrOutput
}

ReadPoolConfigPtrInput is an input type that accepts ReadPoolConfigArgs, ReadPoolConfigPtr and ReadPoolConfigPtrOutput values. You can construct a concrete instance of `ReadPoolConfigPtrInput` via:

        ReadPoolConfigArgs{...}

or:

        nil

type ReadPoolConfigPtrOutput

type ReadPoolConfigPtrOutput struct{ *pulumi.OutputState }

func (ReadPoolConfigPtrOutput) Elem

func (ReadPoolConfigPtrOutput) ElementType

func (ReadPoolConfigPtrOutput) ElementType() reflect.Type

func (ReadPoolConfigPtrOutput) NodeCount

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

func (ReadPoolConfigPtrOutput) ToReadPoolConfigPtrOutput

func (o ReadPoolConfigPtrOutput) ToReadPoolConfigPtrOutput() ReadPoolConfigPtrOutput

func (ReadPoolConfigPtrOutput) ToReadPoolConfigPtrOutputWithContext

func (o ReadPoolConfigPtrOutput) ToReadPoolConfigPtrOutputWithContext(ctx context.Context) ReadPoolConfigPtrOutput

type ReadPoolConfigResponse

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

Configuration for a read pool instance.

type ReadPoolConfigResponseOutput

type ReadPoolConfigResponseOutput struct{ *pulumi.OutputState }

Configuration for a read pool instance.

func (ReadPoolConfigResponseOutput) ElementType

func (ReadPoolConfigResponseOutput) NodeCount

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

func (ReadPoolConfigResponseOutput) ToReadPoolConfigResponseOutput

func (o ReadPoolConfigResponseOutput) ToReadPoolConfigResponseOutput() ReadPoolConfigResponseOutput

func (ReadPoolConfigResponseOutput) ToReadPoolConfigResponseOutputWithContext

func (o ReadPoolConfigResponseOutput) ToReadPoolConfigResponseOutputWithContext(ctx context.Context) ReadPoolConfigResponseOutput

type SecondaryConfig

type SecondaryConfig struct {
	// The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}
	PrimaryClusterName *string `pulumi:"primaryClusterName"`
}

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

type SecondaryConfigArgs

type SecondaryConfigArgs struct {
	// The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}
	PrimaryClusterName pulumi.StringPtrInput `pulumi:"primaryClusterName"`
}

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

func (SecondaryConfigArgs) ElementType

func (SecondaryConfigArgs) ElementType() reflect.Type

func (SecondaryConfigArgs) ToSecondaryConfigOutput

func (i SecondaryConfigArgs) ToSecondaryConfigOutput() SecondaryConfigOutput

func (SecondaryConfigArgs) ToSecondaryConfigOutputWithContext

func (i SecondaryConfigArgs) ToSecondaryConfigOutputWithContext(ctx context.Context) SecondaryConfigOutput

func (SecondaryConfigArgs) ToSecondaryConfigPtrOutput

func (i SecondaryConfigArgs) ToSecondaryConfigPtrOutput() SecondaryConfigPtrOutput

func (SecondaryConfigArgs) ToSecondaryConfigPtrOutputWithContext

func (i SecondaryConfigArgs) ToSecondaryConfigPtrOutputWithContext(ctx context.Context) SecondaryConfigPtrOutput

type SecondaryConfigInput

type SecondaryConfigInput interface {
	pulumi.Input

	ToSecondaryConfigOutput() SecondaryConfigOutput
	ToSecondaryConfigOutputWithContext(context.Context) SecondaryConfigOutput
}

SecondaryConfigInput is an input type that accepts SecondaryConfigArgs and SecondaryConfigOutput values. You can construct a concrete instance of `SecondaryConfigInput` via:

SecondaryConfigArgs{...}

type SecondaryConfigOutput

type SecondaryConfigOutput struct{ *pulumi.OutputState }

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

func (SecondaryConfigOutput) ElementType

func (SecondaryConfigOutput) ElementType() reflect.Type

func (SecondaryConfigOutput) PrimaryClusterName

func (o SecondaryConfigOutput) PrimaryClusterName() pulumi.StringPtrOutput

The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}

func (SecondaryConfigOutput) ToSecondaryConfigOutput

func (o SecondaryConfigOutput) ToSecondaryConfigOutput() SecondaryConfigOutput

func (SecondaryConfigOutput) ToSecondaryConfigOutputWithContext

func (o SecondaryConfigOutput) ToSecondaryConfigOutputWithContext(ctx context.Context) SecondaryConfigOutput

func (SecondaryConfigOutput) ToSecondaryConfigPtrOutput

func (o SecondaryConfigOutput) ToSecondaryConfigPtrOutput() SecondaryConfigPtrOutput

func (SecondaryConfigOutput) ToSecondaryConfigPtrOutputWithContext

func (o SecondaryConfigOutput) ToSecondaryConfigPtrOutputWithContext(ctx context.Context) SecondaryConfigPtrOutput

type SecondaryConfigPtrInput

type SecondaryConfigPtrInput interface {
	pulumi.Input

	ToSecondaryConfigPtrOutput() SecondaryConfigPtrOutput
	ToSecondaryConfigPtrOutputWithContext(context.Context) SecondaryConfigPtrOutput
}

SecondaryConfigPtrInput is an input type that accepts SecondaryConfigArgs, SecondaryConfigPtr and SecondaryConfigPtrOutput values. You can construct a concrete instance of `SecondaryConfigPtrInput` via:

        SecondaryConfigArgs{...}

or:

        nil

type SecondaryConfigPtrOutput

type SecondaryConfigPtrOutput struct{ *pulumi.OutputState }

func (SecondaryConfigPtrOutput) Elem

func (SecondaryConfigPtrOutput) ElementType

func (SecondaryConfigPtrOutput) ElementType() reflect.Type

func (SecondaryConfigPtrOutput) PrimaryClusterName

func (o SecondaryConfigPtrOutput) PrimaryClusterName() pulumi.StringPtrOutput

The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}

func (SecondaryConfigPtrOutput) ToSecondaryConfigPtrOutput

func (o SecondaryConfigPtrOutput) ToSecondaryConfigPtrOutput() SecondaryConfigPtrOutput

func (SecondaryConfigPtrOutput) ToSecondaryConfigPtrOutputWithContext

func (o SecondaryConfigPtrOutput) ToSecondaryConfigPtrOutputWithContext(ctx context.Context) SecondaryConfigPtrOutput

type SecondaryConfigResponse

type SecondaryConfigResponse struct {
	// The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}
	PrimaryClusterName string `pulumi:"primaryClusterName"`
}

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

type SecondaryConfigResponseOutput

type SecondaryConfigResponseOutput struct{ *pulumi.OutputState }

Configuration information for the secondary cluster. This should be set if and only if the cluster is of type SECONDARY.

func (SecondaryConfigResponseOutput) ElementType

func (SecondaryConfigResponseOutput) PrimaryClusterName

func (o SecondaryConfigResponseOutput) PrimaryClusterName() pulumi.StringOutput

The name of the primary cluster name with the format: * projects/{project}/locations/{region}/clusters/{cluster_id}

func (SecondaryConfigResponseOutput) ToSecondaryConfigResponseOutput

func (o SecondaryConfigResponseOutput) ToSecondaryConfigResponseOutput() SecondaryConfigResponseOutput

func (SecondaryConfigResponseOutput) ToSecondaryConfigResponseOutputWithContext

func (o SecondaryConfigResponseOutput) ToSecondaryConfigResponseOutputWithContext(ctx context.Context) SecondaryConfigResponseOutput

type SslConfig

type SslConfig struct {
	// Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
	CaSource *SslConfigCaSource `pulumi:"caSource"`
	// Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
	SslMode *SslConfigSslMode `pulumi:"sslMode"`
}

SSL configuration.

type SslConfigArgs

type SslConfigArgs struct {
	// Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
	CaSource SslConfigCaSourcePtrInput `pulumi:"caSource"`
	// Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
	SslMode SslConfigSslModePtrInput `pulumi:"sslMode"`
}

SSL configuration.

func (SslConfigArgs) ElementType

func (SslConfigArgs) ElementType() reflect.Type

func (SslConfigArgs) ToSslConfigOutput

func (i SslConfigArgs) ToSslConfigOutput() SslConfigOutput

func (SslConfigArgs) ToSslConfigOutputWithContext

func (i SslConfigArgs) ToSslConfigOutputWithContext(ctx context.Context) SslConfigOutput

func (SslConfigArgs) ToSslConfigPtrOutput

func (i SslConfigArgs) ToSslConfigPtrOutput() SslConfigPtrOutput

func (SslConfigArgs) ToSslConfigPtrOutputWithContext

func (i SslConfigArgs) ToSslConfigPtrOutputWithContext(ctx context.Context) SslConfigPtrOutput

type SslConfigCaSource

type SslConfigCaSource string

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

func (SslConfigCaSource) ElementType

func (SslConfigCaSource) ElementType() reflect.Type

func (SslConfigCaSource) ToSslConfigCaSourceOutput

func (e SslConfigCaSource) ToSslConfigCaSourceOutput() SslConfigCaSourceOutput

func (SslConfigCaSource) ToSslConfigCaSourceOutputWithContext

func (e SslConfigCaSource) ToSslConfigCaSourceOutputWithContext(ctx context.Context) SslConfigCaSourceOutput

func (SslConfigCaSource) ToSslConfigCaSourcePtrOutput

func (e SslConfigCaSource) ToSslConfigCaSourcePtrOutput() SslConfigCaSourcePtrOutput

func (SslConfigCaSource) ToSslConfigCaSourcePtrOutputWithContext

func (e SslConfigCaSource) ToSslConfigCaSourcePtrOutputWithContext(ctx context.Context) SslConfigCaSourcePtrOutput

func (SslConfigCaSource) ToStringOutput

func (e SslConfigCaSource) ToStringOutput() pulumi.StringOutput

func (SslConfigCaSource) ToStringOutputWithContext

func (e SslConfigCaSource) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SslConfigCaSource) ToStringPtrOutput

func (e SslConfigCaSource) ToStringPtrOutput() pulumi.StringPtrOutput

func (SslConfigCaSource) ToStringPtrOutputWithContext

func (e SslConfigCaSource) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SslConfigCaSourceInput

type SslConfigCaSourceInput interface {
	pulumi.Input

	ToSslConfigCaSourceOutput() SslConfigCaSourceOutput
	ToSslConfigCaSourceOutputWithContext(context.Context) SslConfigCaSourceOutput
}

SslConfigCaSourceInput is an input type that accepts SslConfigCaSourceArgs and SslConfigCaSourceOutput values. You can construct a concrete instance of `SslConfigCaSourceInput` via:

SslConfigCaSourceArgs{...}

type SslConfigCaSourceOutput

type SslConfigCaSourceOutput struct{ *pulumi.OutputState }

func (SslConfigCaSourceOutput) ElementType

func (SslConfigCaSourceOutput) ElementType() reflect.Type

func (SslConfigCaSourceOutput) ToSslConfigCaSourceOutput

func (o SslConfigCaSourceOutput) ToSslConfigCaSourceOutput() SslConfigCaSourceOutput

func (SslConfigCaSourceOutput) ToSslConfigCaSourceOutputWithContext

func (o SslConfigCaSourceOutput) ToSslConfigCaSourceOutputWithContext(ctx context.Context) SslConfigCaSourceOutput

func (SslConfigCaSourceOutput) ToSslConfigCaSourcePtrOutput

func (o SslConfigCaSourceOutput) ToSslConfigCaSourcePtrOutput() SslConfigCaSourcePtrOutput

func (SslConfigCaSourceOutput) ToSslConfigCaSourcePtrOutputWithContext

func (o SslConfigCaSourceOutput) ToSslConfigCaSourcePtrOutputWithContext(ctx context.Context) SslConfigCaSourcePtrOutput

func (SslConfigCaSourceOutput) ToStringOutput

func (o SslConfigCaSourceOutput) ToStringOutput() pulumi.StringOutput

func (SslConfigCaSourceOutput) ToStringOutputWithContext

func (o SslConfigCaSourceOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SslConfigCaSourceOutput) ToStringPtrOutput

func (o SslConfigCaSourceOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SslConfigCaSourceOutput) ToStringPtrOutputWithContext

func (o SslConfigCaSourceOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SslConfigCaSourcePtrInput

type SslConfigCaSourcePtrInput interface {
	pulumi.Input

	ToSslConfigCaSourcePtrOutput() SslConfigCaSourcePtrOutput
	ToSslConfigCaSourcePtrOutputWithContext(context.Context) SslConfigCaSourcePtrOutput
}

func SslConfigCaSourcePtr

func SslConfigCaSourcePtr(v string) SslConfigCaSourcePtrInput

type SslConfigCaSourcePtrOutput

type SslConfigCaSourcePtrOutput struct{ *pulumi.OutputState }

func (SslConfigCaSourcePtrOutput) Elem

func (SslConfigCaSourcePtrOutput) ElementType

func (SslConfigCaSourcePtrOutput) ElementType() reflect.Type

func (SslConfigCaSourcePtrOutput) ToSslConfigCaSourcePtrOutput

func (o SslConfigCaSourcePtrOutput) ToSslConfigCaSourcePtrOutput() SslConfigCaSourcePtrOutput

func (SslConfigCaSourcePtrOutput) ToSslConfigCaSourcePtrOutputWithContext

func (o SslConfigCaSourcePtrOutput) ToSslConfigCaSourcePtrOutputWithContext(ctx context.Context) SslConfigCaSourcePtrOutput

func (SslConfigCaSourcePtrOutput) ToStringPtrOutput

func (o SslConfigCaSourcePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SslConfigCaSourcePtrOutput) ToStringPtrOutputWithContext

func (o SslConfigCaSourcePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SslConfigInput

type SslConfigInput interface {
	pulumi.Input

	ToSslConfigOutput() SslConfigOutput
	ToSslConfigOutputWithContext(context.Context) SslConfigOutput
}

SslConfigInput is an input type that accepts SslConfigArgs and SslConfigOutput values. You can construct a concrete instance of `SslConfigInput` via:

SslConfigArgs{...}

type SslConfigOutput

type SslConfigOutput struct{ *pulumi.OutputState }

SSL configuration.

func (SslConfigOutput) CaSource

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

func (SslConfigOutput) ElementType

func (SslConfigOutput) ElementType() reflect.Type

func (SslConfigOutput) SslMode

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

func (SslConfigOutput) ToSslConfigOutput

func (o SslConfigOutput) ToSslConfigOutput() SslConfigOutput

func (SslConfigOutput) ToSslConfigOutputWithContext

func (o SslConfigOutput) ToSslConfigOutputWithContext(ctx context.Context) SslConfigOutput

func (SslConfigOutput) ToSslConfigPtrOutput

func (o SslConfigOutput) ToSslConfigPtrOutput() SslConfigPtrOutput

func (SslConfigOutput) ToSslConfigPtrOutputWithContext

func (o SslConfigOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) SslConfigPtrOutput

type SslConfigPtrInput

type SslConfigPtrInput interface {
	pulumi.Input

	ToSslConfigPtrOutput() SslConfigPtrOutput
	ToSslConfigPtrOutputWithContext(context.Context) SslConfigPtrOutput
}

SslConfigPtrInput is an input type that accepts SslConfigArgs, SslConfigPtr and SslConfigPtrOutput values. You can construct a concrete instance of `SslConfigPtrInput` via:

        SslConfigArgs{...}

or:

        nil

func SslConfigPtr

func SslConfigPtr(v *SslConfigArgs) SslConfigPtrInput

type SslConfigPtrOutput

type SslConfigPtrOutput struct{ *pulumi.OutputState }

func (SslConfigPtrOutput) CaSource

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

func (SslConfigPtrOutput) Elem

func (SslConfigPtrOutput) ElementType

func (SslConfigPtrOutput) ElementType() reflect.Type

func (SslConfigPtrOutput) SslMode

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

func (SslConfigPtrOutput) ToSslConfigPtrOutput

func (o SslConfigPtrOutput) ToSslConfigPtrOutput() SslConfigPtrOutput

func (SslConfigPtrOutput) ToSslConfigPtrOutputWithContext

func (o SslConfigPtrOutput) ToSslConfigPtrOutputWithContext(ctx context.Context) SslConfigPtrOutput

type SslConfigResponse

type SslConfigResponse struct {
	// Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.
	CaSource string `pulumi:"caSource"`
	// Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.
	SslMode string `pulumi:"sslMode"`
}

SSL configuration.

type SslConfigResponseOutput

type SslConfigResponseOutput struct{ *pulumi.OutputState }

SSL configuration.

func (SslConfigResponseOutput) CaSource

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value.

func (SslConfigResponseOutput) ElementType

func (SslConfigResponseOutput) ElementType() reflect.Type

func (SslConfigResponseOutput) SslMode

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

func (SslConfigResponseOutput) ToSslConfigResponseOutput

func (o SslConfigResponseOutput) ToSslConfigResponseOutput() SslConfigResponseOutput

func (SslConfigResponseOutput) ToSslConfigResponseOutputWithContext

func (o SslConfigResponseOutput) ToSslConfigResponseOutputWithContext(ctx context.Context) SslConfigResponseOutput

type SslConfigSslMode

type SslConfigSslMode string

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior.

func (SslConfigSslMode) ElementType

func (SslConfigSslMode) ElementType() reflect.Type

func (SslConfigSslMode) ToSslConfigSslModeOutput

func (e SslConfigSslMode) ToSslConfigSslModeOutput() SslConfigSslModeOutput

func (SslConfigSslMode) ToSslConfigSslModeOutputWithContext

func (e SslConfigSslMode) ToSslConfigSslModeOutputWithContext(ctx context.Context) SslConfigSslModeOutput

func (SslConfigSslMode) ToSslConfigSslModePtrOutput

func (e SslConfigSslMode) ToSslConfigSslModePtrOutput() SslConfigSslModePtrOutput

func (SslConfigSslMode) ToSslConfigSslModePtrOutputWithContext

func (e SslConfigSslMode) ToSslConfigSslModePtrOutputWithContext(ctx context.Context) SslConfigSslModePtrOutput

func (SslConfigSslMode) ToStringOutput

func (e SslConfigSslMode) ToStringOutput() pulumi.StringOutput

func (SslConfigSslMode) ToStringOutputWithContext

func (e SslConfigSslMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SslConfigSslMode) ToStringPtrOutput

func (e SslConfigSslMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (SslConfigSslMode) ToStringPtrOutputWithContext

func (e SslConfigSslMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SslConfigSslModeInput

type SslConfigSslModeInput interface {
	pulumi.Input

	ToSslConfigSslModeOutput() SslConfigSslModeOutput
	ToSslConfigSslModeOutputWithContext(context.Context) SslConfigSslModeOutput
}

SslConfigSslModeInput is an input type that accepts SslConfigSslModeArgs and SslConfigSslModeOutput values. You can construct a concrete instance of `SslConfigSslModeInput` via:

SslConfigSslModeArgs{...}

type SslConfigSslModeOutput

type SslConfigSslModeOutput struct{ *pulumi.OutputState }

func (SslConfigSslModeOutput) ElementType

func (SslConfigSslModeOutput) ElementType() reflect.Type

func (SslConfigSslModeOutput) ToSslConfigSslModeOutput

func (o SslConfigSslModeOutput) ToSslConfigSslModeOutput() SslConfigSslModeOutput

func (SslConfigSslModeOutput) ToSslConfigSslModeOutputWithContext

func (o SslConfigSslModeOutput) ToSslConfigSslModeOutputWithContext(ctx context.Context) SslConfigSslModeOutput

func (SslConfigSslModeOutput) ToSslConfigSslModePtrOutput

func (o SslConfigSslModeOutput) ToSslConfigSslModePtrOutput() SslConfigSslModePtrOutput

func (SslConfigSslModeOutput) ToSslConfigSslModePtrOutputWithContext

func (o SslConfigSslModeOutput) ToSslConfigSslModePtrOutputWithContext(ctx context.Context) SslConfigSslModePtrOutput

func (SslConfigSslModeOutput) ToStringOutput

func (o SslConfigSslModeOutput) ToStringOutput() pulumi.StringOutput

func (SslConfigSslModeOutput) ToStringOutputWithContext

func (o SslConfigSslModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (SslConfigSslModeOutput) ToStringPtrOutput

func (o SslConfigSslModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SslConfigSslModeOutput) ToStringPtrOutputWithContext

func (o SslConfigSslModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type SslConfigSslModePtrInput

type SslConfigSslModePtrInput interface {
	pulumi.Input

	ToSslConfigSslModePtrOutput() SslConfigSslModePtrOutput
	ToSslConfigSslModePtrOutputWithContext(context.Context) SslConfigSslModePtrOutput
}

func SslConfigSslModePtr

func SslConfigSslModePtr(v string) SslConfigSslModePtrInput

type SslConfigSslModePtrOutput

type SslConfigSslModePtrOutput struct{ *pulumi.OutputState }

func (SslConfigSslModePtrOutput) Elem

func (SslConfigSslModePtrOutput) ElementType

func (SslConfigSslModePtrOutput) ElementType() reflect.Type

func (SslConfigSslModePtrOutput) ToSslConfigSslModePtrOutput

func (o SslConfigSslModePtrOutput) ToSslConfigSslModePtrOutput() SslConfigSslModePtrOutput

func (SslConfigSslModePtrOutput) ToSslConfigSslModePtrOutputWithContext

func (o SslConfigSslModePtrOutput) ToSslConfigSslModePtrOutputWithContext(ctx context.Context) SslConfigSslModePtrOutput

func (SslConfigSslModePtrOutput) ToStringPtrOutput

func (o SslConfigSslModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (SslConfigSslModePtrOutput) ToStringPtrOutputWithContext

func (o SslConfigSslModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

type TimeBasedRetention

type TimeBasedRetention struct {
	// The retention period.
	RetentionPeriod *string `pulumi:"retentionPeriod"`
}

A time based retention policy specifies that all backups within a certain time period should be retained.

type TimeBasedRetentionArgs

type TimeBasedRetentionArgs struct {
	// The retention period.
	RetentionPeriod pulumi.StringPtrInput `pulumi:"retentionPeriod"`
}

A time based retention policy specifies that all backups within a certain time period should be retained.

func (TimeBasedRetentionArgs) ElementType

func (TimeBasedRetentionArgs) ElementType() reflect.Type

func (TimeBasedRetentionArgs) ToTimeBasedRetentionOutput

func (i TimeBasedRetentionArgs) ToTimeBasedRetentionOutput() TimeBasedRetentionOutput

func (TimeBasedRetentionArgs) ToTimeBasedRetentionOutputWithContext

func (i TimeBasedRetentionArgs) ToTimeBasedRetentionOutputWithContext(ctx context.Context) TimeBasedRetentionOutput

func (TimeBasedRetentionArgs) ToTimeBasedRetentionPtrOutput

func (i TimeBasedRetentionArgs) ToTimeBasedRetentionPtrOutput() TimeBasedRetentionPtrOutput

func (TimeBasedRetentionArgs) ToTimeBasedRetentionPtrOutputWithContext

func (i TimeBasedRetentionArgs) ToTimeBasedRetentionPtrOutputWithContext(ctx context.Context) TimeBasedRetentionPtrOutput

type TimeBasedRetentionInput

type TimeBasedRetentionInput interface {
	pulumi.Input

	ToTimeBasedRetentionOutput() TimeBasedRetentionOutput
	ToTimeBasedRetentionOutputWithContext(context.Context) TimeBasedRetentionOutput
}

TimeBasedRetentionInput is an input type that accepts TimeBasedRetentionArgs and TimeBasedRetentionOutput values. You can construct a concrete instance of `TimeBasedRetentionInput` via:

TimeBasedRetentionArgs{...}

type TimeBasedRetentionOutput

type TimeBasedRetentionOutput struct{ *pulumi.OutputState }

A time based retention policy specifies that all backups within a certain time period should be retained.

func (TimeBasedRetentionOutput) ElementType

func (TimeBasedRetentionOutput) ElementType() reflect.Type

func (TimeBasedRetentionOutput) RetentionPeriod

func (o TimeBasedRetentionOutput) RetentionPeriod() pulumi.StringPtrOutput

The retention period.

func (TimeBasedRetentionOutput) ToTimeBasedRetentionOutput

func (o TimeBasedRetentionOutput) ToTimeBasedRetentionOutput() TimeBasedRetentionOutput

func (TimeBasedRetentionOutput) ToTimeBasedRetentionOutputWithContext

func (o TimeBasedRetentionOutput) ToTimeBasedRetentionOutputWithContext(ctx context.Context) TimeBasedRetentionOutput

func (TimeBasedRetentionOutput) ToTimeBasedRetentionPtrOutput

func (o TimeBasedRetentionOutput) ToTimeBasedRetentionPtrOutput() TimeBasedRetentionPtrOutput

func (TimeBasedRetentionOutput) ToTimeBasedRetentionPtrOutputWithContext

func (o TimeBasedRetentionOutput) ToTimeBasedRetentionPtrOutputWithContext(ctx context.Context) TimeBasedRetentionPtrOutput

type TimeBasedRetentionPtrInput

type TimeBasedRetentionPtrInput interface {
	pulumi.Input

	ToTimeBasedRetentionPtrOutput() TimeBasedRetentionPtrOutput
	ToTimeBasedRetentionPtrOutputWithContext(context.Context) TimeBasedRetentionPtrOutput
}

TimeBasedRetentionPtrInput is an input type that accepts TimeBasedRetentionArgs, TimeBasedRetentionPtr and TimeBasedRetentionPtrOutput values. You can construct a concrete instance of `TimeBasedRetentionPtrInput` via:

        TimeBasedRetentionArgs{...}

or:

        nil

type TimeBasedRetentionPtrOutput

type TimeBasedRetentionPtrOutput struct{ *pulumi.OutputState }

func (TimeBasedRetentionPtrOutput) Elem

func (TimeBasedRetentionPtrOutput) ElementType

func (TimeBasedRetentionPtrOutput) RetentionPeriod

The retention period.

func (TimeBasedRetentionPtrOutput) ToTimeBasedRetentionPtrOutput

func (o TimeBasedRetentionPtrOutput) ToTimeBasedRetentionPtrOutput() TimeBasedRetentionPtrOutput

func (TimeBasedRetentionPtrOutput) ToTimeBasedRetentionPtrOutputWithContext

func (o TimeBasedRetentionPtrOutput) ToTimeBasedRetentionPtrOutputWithContext(ctx context.Context) TimeBasedRetentionPtrOutput

type TimeBasedRetentionResponse

type TimeBasedRetentionResponse struct {
	// The retention period.
	RetentionPeriod string `pulumi:"retentionPeriod"`
}

A time based retention policy specifies that all backups within a certain time period should be retained.

type TimeBasedRetentionResponseOutput

type TimeBasedRetentionResponseOutput struct{ *pulumi.OutputState }

A time based retention policy specifies that all backups within a certain time period should be retained.

func (TimeBasedRetentionResponseOutput) ElementType

func (TimeBasedRetentionResponseOutput) RetentionPeriod

The retention period.

func (TimeBasedRetentionResponseOutput) ToTimeBasedRetentionResponseOutput

func (o TimeBasedRetentionResponseOutput) ToTimeBasedRetentionResponseOutput() TimeBasedRetentionResponseOutput

func (TimeBasedRetentionResponseOutput) ToTimeBasedRetentionResponseOutputWithContext

func (o TimeBasedRetentionResponseOutput) ToTimeBasedRetentionResponseOutputWithContext(ctx context.Context) TimeBasedRetentionResponseOutput

type UpdatePolicy

type UpdatePolicy struct {
	// Mode for updating the instance.
	Mode *UpdatePolicyMode `pulumi:"mode"`
}

Policy to be used while updating the instance.

type UpdatePolicyArgs

type UpdatePolicyArgs struct {
	// Mode for updating the instance.
	Mode UpdatePolicyModePtrInput `pulumi:"mode"`
}

Policy to be used while updating the instance.

func (UpdatePolicyArgs) ElementType

func (UpdatePolicyArgs) ElementType() reflect.Type

func (UpdatePolicyArgs) ToUpdatePolicyOutput

func (i UpdatePolicyArgs) ToUpdatePolicyOutput() UpdatePolicyOutput

func (UpdatePolicyArgs) ToUpdatePolicyOutputWithContext

func (i UpdatePolicyArgs) ToUpdatePolicyOutputWithContext(ctx context.Context) UpdatePolicyOutput

func (UpdatePolicyArgs) ToUpdatePolicyPtrOutput

func (i UpdatePolicyArgs) ToUpdatePolicyPtrOutput() UpdatePolicyPtrOutput

func (UpdatePolicyArgs) ToUpdatePolicyPtrOutputWithContext

func (i UpdatePolicyArgs) ToUpdatePolicyPtrOutputWithContext(ctx context.Context) UpdatePolicyPtrOutput

type UpdatePolicyInput

type UpdatePolicyInput interface {
	pulumi.Input

	ToUpdatePolicyOutput() UpdatePolicyOutput
	ToUpdatePolicyOutputWithContext(context.Context) UpdatePolicyOutput
}

UpdatePolicyInput is an input type that accepts UpdatePolicyArgs and UpdatePolicyOutput values. You can construct a concrete instance of `UpdatePolicyInput` via:

UpdatePolicyArgs{...}

type UpdatePolicyMode

type UpdatePolicyMode string

Mode for updating the instance.

func (UpdatePolicyMode) ElementType

func (UpdatePolicyMode) ElementType() reflect.Type

func (UpdatePolicyMode) ToStringOutput

func (e UpdatePolicyMode) ToStringOutput() pulumi.StringOutput

func (UpdatePolicyMode) ToStringOutputWithContext

func (e UpdatePolicyMode) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (UpdatePolicyMode) ToStringPtrOutput

func (e UpdatePolicyMode) ToStringPtrOutput() pulumi.StringPtrOutput

func (UpdatePolicyMode) ToStringPtrOutputWithContext

func (e UpdatePolicyMode) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (UpdatePolicyMode) ToUpdatePolicyModeOutput

func (e UpdatePolicyMode) ToUpdatePolicyModeOutput() UpdatePolicyModeOutput

func (UpdatePolicyMode) ToUpdatePolicyModeOutputWithContext

func (e UpdatePolicyMode) ToUpdatePolicyModeOutputWithContext(ctx context.Context) UpdatePolicyModeOutput

func (UpdatePolicyMode) ToUpdatePolicyModePtrOutput

func (e UpdatePolicyMode) ToUpdatePolicyModePtrOutput() UpdatePolicyModePtrOutput

func (UpdatePolicyMode) ToUpdatePolicyModePtrOutputWithContext

func (e UpdatePolicyMode) ToUpdatePolicyModePtrOutputWithContext(ctx context.Context) UpdatePolicyModePtrOutput

type UpdatePolicyModeInput

type UpdatePolicyModeInput interface {
	pulumi.Input

	ToUpdatePolicyModeOutput() UpdatePolicyModeOutput
	ToUpdatePolicyModeOutputWithContext(context.Context) UpdatePolicyModeOutput
}

UpdatePolicyModeInput is an input type that accepts UpdatePolicyModeArgs and UpdatePolicyModeOutput values. You can construct a concrete instance of `UpdatePolicyModeInput` via:

UpdatePolicyModeArgs{...}

type UpdatePolicyModeOutput

type UpdatePolicyModeOutput struct{ *pulumi.OutputState }

func (UpdatePolicyModeOutput) ElementType

func (UpdatePolicyModeOutput) ElementType() reflect.Type

func (UpdatePolicyModeOutput) ToStringOutput

func (o UpdatePolicyModeOutput) ToStringOutput() pulumi.StringOutput

func (UpdatePolicyModeOutput) ToStringOutputWithContext

func (o UpdatePolicyModeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (UpdatePolicyModeOutput) ToStringPtrOutput

func (o UpdatePolicyModeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (UpdatePolicyModeOutput) ToStringPtrOutputWithContext

func (o UpdatePolicyModeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (UpdatePolicyModeOutput) ToUpdatePolicyModeOutput

func (o UpdatePolicyModeOutput) ToUpdatePolicyModeOutput() UpdatePolicyModeOutput

func (UpdatePolicyModeOutput) ToUpdatePolicyModeOutputWithContext

func (o UpdatePolicyModeOutput) ToUpdatePolicyModeOutputWithContext(ctx context.Context) UpdatePolicyModeOutput

func (UpdatePolicyModeOutput) ToUpdatePolicyModePtrOutput

func (o UpdatePolicyModeOutput) ToUpdatePolicyModePtrOutput() UpdatePolicyModePtrOutput

func (UpdatePolicyModeOutput) ToUpdatePolicyModePtrOutputWithContext

func (o UpdatePolicyModeOutput) ToUpdatePolicyModePtrOutputWithContext(ctx context.Context) UpdatePolicyModePtrOutput

type UpdatePolicyModePtrInput

type UpdatePolicyModePtrInput interface {
	pulumi.Input

	ToUpdatePolicyModePtrOutput() UpdatePolicyModePtrOutput
	ToUpdatePolicyModePtrOutputWithContext(context.Context) UpdatePolicyModePtrOutput
}

func UpdatePolicyModePtr

func UpdatePolicyModePtr(v string) UpdatePolicyModePtrInput

type UpdatePolicyModePtrOutput

type UpdatePolicyModePtrOutput struct{ *pulumi.OutputState }

func (UpdatePolicyModePtrOutput) Elem

func (UpdatePolicyModePtrOutput) ElementType

func (UpdatePolicyModePtrOutput) ElementType() reflect.Type

func (UpdatePolicyModePtrOutput) ToStringPtrOutput

func (o UpdatePolicyModePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (UpdatePolicyModePtrOutput) ToStringPtrOutputWithContext

func (o UpdatePolicyModePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (UpdatePolicyModePtrOutput) ToUpdatePolicyModePtrOutput

func (o UpdatePolicyModePtrOutput) ToUpdatePolicyModePtrOutput() UpdatePolicyModePtrOutput

func (UpdatePolicyModePtrOutput) ToUpdatePolicyModePtrOutputWithContext

func (o UpdatePolicyModePtrOutput) ToUpdatePolicyModePtrOutputWithContext(ctx context.Context) UpdatePolicyModePtrOutput

type UpdatePolicyOutput

type UpdatePolicyOutput struct{ *pulumi.OutputState }

Policy to be used while updating the instance.

func (UpdatePolicyOutput) ElementType

func (UpdatePolicyOutput) ElementType() reflect.Type

func (UpdatePolicyOutput) Mode

Mode for updating the instance.

func (UpdatePolicyOutput) ToUpdatePolicyOutput

func (o UpdatePolicyOutput) ToUpdatePolicyOutput() UpdatePolicyOutput

func (UpdatePolicyOutput) ToUpdatePolicyOutputWithContext

func (o UpdatePolicyOutput) ToUpdatePolicyOutputWithContext(ctx context.Context) UpdatePolicyOutput

func (UpdatePolicyOutput) ToUpdatePolicyPtrOutput

func (o UpdatePolicyOutput) ToUpdatePolicyPtrOutput() UpdatePolicyPtrOutput

func (UpdatePolicyOutput) ToUpdatePolicyPtrOutputWithContext

func (o UpdatePolicyOutput) ToUpdatePolicyPtrOutputWithContext(ctx context.Context) UpdatePolicyPtrOutput

type UpdatePolicyPtrInput

type UpdatePolicyPtrInput interface {
	pulumi.Input

	ToUpdatePolicyPtrOutput() UpdatePolicyPtrOutput
	ToUpdatePolicyPtrOutputWithContext(context.Context) UpdatePolicyPtrOutput
}

UpdatePolicyPtrInput is an input type that accepts UpdatePolicyArgs, UpdatePolicyPtr and UpdatePolicyPtrOutput values. You can construct a concrete instance of `UpdatePolicyPtrInput` via:

        UpdatePolicyArgs{...}

or:

        nil

type UpdatePolicyPtrOutput

type UpdatePolicyPtrOutput struct{ *pulumi.OutputState }

func (UpdatePolicyPtrOutput) Elem

func (UpdatePolicyPtrOutput) ElementType

func (UpdatePolicyPtrOutput) ElementType() reflect.Type

func (UpdatePolicyPtrOutput) Mode

Mode for updating the instance.

func (UpdatePolicyPtrOutput) ToUpdatePolicyPtrOutput

func (o UpdatePolicyPtrOutput) ToUpdatePolicyPtrOutput() UpdatePolicyPtrOutput

func (UpdatePolicyPtrOutput) ToUpdatePolicyPtrOutputWithContext

func (o UpdatePolicyPtrOutput) ToUpdatePolicyPtrOutputWithContext(ctx context.Context) UpdatePolicyPtrOutput

type UpdatePolicyResponse

type UpdatePolicyResponse struct {
	// Mode for updating the instance.
	Mode string `pulumi:"mode"`
}

Policy to be used while updating the instance.

type UpdatePolicyResponseOutput

type UpdatePolicyResponseOutput struct{ *pulumi.OutputState }

Policy to be used while updating the instance.

func (UpdatePolicyResponseOutput) ElementType

func (UpdatePolicyResponseOutput) ElementType() reflect.Type

func (UpdatePolicyResponseOutput) Mode

Mode for updating the instance.

func (UpdatePolicyResponseOutput) ToUpdatePolicyResponseOutput

func (o UpdatePolicyResponseOutput) ToUpdatePolicyResponseOutput() UpdatePolicyResponseOutput

func (UpdatePolicyResponseOutput) ToUpdatePolicyResponseOutputWithContext

func (o UpdatePolicyResponseOutput) ToUpdatePolicyResponseOutputWithContext(ctx context.Context) UpdatePolicyResponseOutput

type User

type User struct {
	pulumi.CustomResourceState

	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
	DatabaseRoles pulumi.StringArrayOutput `pulumi:"databaseRoles"`
	Location      pulumi.StringOutput      `pulumi:"location"`
	// Name of the resource in the form of projects/{project}/locations/{location}/cluster/{cluster}/users/{user}.
	Name pulumi.StringOutput `pulumi:"name"`
	// Input only. Password for the user.
	Password pulumi.StringOutput `pulumi:"password"`
	Project  pulumi.StringOutput `pulumi:"project"`
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrOutput `pulumi:"requestId"`
	// Required. ID of the requesting object.
	UserId pulumi.StringOutput `pulumi:"userId"`
	// Optional. Type of this user.
	UserType pulumi.StringOutput `pulumi:"userType"`
}

Creates a new User in a given project, location, and cluster. Auto-naming is currently not supported for this resource.

func GetUser

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

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

func NewUser

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

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

func (*User) ElementType

func (*User) ElementType() reflect.Type

func (*User) ToUserOutput

func (i *User) ToUserOutput() UserOutput

func (*User) ToUserOutputWithContext

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

type UserArgs

type UserArgs struct {
	ClusterId pulumi.StringInput
	// Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.
	DatabaseRoles pulumi.StringArrayInput
	Location      pulumi.StringPtrInput
	// Input only. Password for the user.
	Password pulumi.StringPtrInput
	Project  pulumi.StringPtrInput
	// Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
	RequestId pulumi.StringPtrInput
	// Required. ID of the requesting object.
	UserId pulumi.StringInput
	// Optional. Type of this user.
	UserType UserUserTypePtrInput
}

The set of arguments for constructing a User resource.

func (UserArgs) ElementType

func (UserArgs) ElementType() reflect.Type

type UserInput

type UserInput interface {
	pulumi.Input

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

type UserOutput

type UserOutput struct{ *pulumi.OutputState }

func (UserOutput) ClusterId

func (o UserOutput) ClusterId() pulumi.StringOutput

func (UserOutput) DatabaseRoles

func (o UserOutput) DatabaseRoles() pulumi.StringArrayOutput

Optional. List of database roles this user has. The database role strings are subject to the PostgreSQL naming conventions.

func (UserOutput) ElementType

func (UserOutput) ElementType() reflect.Type

func (UserOutput) Location

func (o UserOutput) Location() pulumi.StringOutput

func (UserOutput) Name

func (o UserOutput) Name() pulumi.StringOutput

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

func (UserOutput) Password

func (o UserOutput) Password() pulumi.StringOutput

Input only. Password for the user.

func (UserOutput) Project

func (o UserOutput) Project() pulumi.StringOutput

func (UserOutput) RequestId

func (o UserOutput) RequestId() pulumi.StringPtrOutput

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

func (UserOutput) ToUserOutput

func (o UserOutput) ToUserOutput() UserOutput

func (UserOutput) ToUserOutputWithContext

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

func (UserOutput) UserId

func (o UserOutput) UserId() pulumi.StringOutput

Required. ID of the requesting object.

func (UserOutput) UserType

func (o UserOutput) UserType() pulumi.StringOutput

Optional. Type of this user.

type UserPassword

type UserPassword struct {
	// The initial password for the user.
	Password *string `pulumi:"password"`
	// The database username.
	User *string `pulumi:"user"`
}

The username/password for a database user. Used for specifying initial users at cluster creation time.

type UserPasswordArgs

type UserPasswordArgs struct {
	// The initial password for the user.
	Password pulumi.StringPtrInput `pulumi:"password"`
	// The database username.
	User pulumi.StringPtrInput `pulumi:"user"`
}

The username/password for a database user. Used for specifying initial users at cluster creation time.

func (UserPasswordArgs) ElementType

func (UserPasswordArgs) ElementType() reflect.Type

func (UserPasswordArgs) ToUserPasswordOutput

func (i UserPasswordArgs) ToUserPasswordOutput() UserPasswordOutput

func (UserPasswordArgs) ToUserPasswordOutputWithContext

func (i UserPasswordArgs) ToUserPasswordOutputWithContext(ctx context.Context) UserPasswordOutput

func (UserPasswordArgs) ToUserPasswordPtrOutput

func (i UserPasswordArgs) ToUserPasswordPtrOutput() UserPasswordPtrOutput

func (UserPasswordArgs) ToUserPasswordPtrOutputWithContext

func (i UserPasswordArgs) ToUserPasswordPtrOutputWithContext(ctx context.Context) UserPasswordPtrOutput

type UserPasswordInput

type UserPasswordInput interface {
	pulumi.Input

	ToUserPasswordOutput() UserPasswordOutput
	ToUserPasswordOutputWithContext(context.Context) UserPasswordOutput
}

UserPasswordInput is an input type that accepts UserPasswordArgs and UserPasswordOutput values. You can construct a concrete instance of `UserPasswordInput` via:

UserPasswordArgs{...}

type UserPasswordOutput

type UserPasswordOutput struct{ *pulumi.OutputState }

The username/password for a database user. Used for specifying initial users at cluster creation time.

func (UserPasswordOutput) ElementType

func (UserPasswordOutput) ElementType() reflect.Type

func (UserPasswordOutput) Password

The initial password for the user.

func (UserPasswordOutput) ToUserPasswordOutput

func (o UserPasswordOutput) ToUserPasswordOutput() UserPasswordOutput

func (UserPasswordOutput) ToUserPasswordOutputWithContext

func (o UserPasswordOutput) ToUserPasswordOutputWithContext(ctx context.Context) UserPasswordOutput

func (UserPasswordOutput) ToUserPasswordPtrOutput

func (o UserPasswordOutput) ToUserPasswordPtrOutput() UserPasswordPtrOutput

func (UserPasswordOutput) ToUserPasswordPtrOutputWithContext

func (o UserPasswordOutput) ToUserPasswordPtrOutputWithContext(ctx context.Context) UserPasswordPtrOutput

func (UserPasswordOutput) User

The database username.

type UserPasswordPtrInput

type UserPasswordPtrInput interface {
	pulumi.Input

	ToUserPasswordPtrOutput() UserPasswordPtrOutput
	ToUserPasswordPtrOutputWithContext(context.Context) UserPasswordPtrOutput
}

UserPasswordPtrInput is an input type that accepts UserPasswordArgs, UserPasswordPtr and UserPasswordPtrOutput values. You can construct a concrete instance of `UserPasswordPtrInput` via:

        UserPasswordArgs{...}

or:

        nil

type UserPasswordPtrOutput

type UserPasswordPtrOutput struct{ *pulumi.OutputState }

func (UserPasswordPtrOutput) Elem

func (UserPasswordPtrOutput) ElementType

func (UserPasswordPtrOutput) ElementType() reflect.Type

func (UserPasswordPtrOutput) Password

The initial password for the user.

func (UserPasswordPtrOutput) ToUserPasswordPtrOutput

func (o UserPasswordPtrOutput) ToUserPasswordPtrOutput() UserPasswordPtrOutput

func (UserPasswordPtrOutput) ToUserPasswordPtrOutputWithContext

func (o UserPasswordPtrOutput) ToUserPasswordPtrOutputWithContext(ctx context.Context) UserPasswordPtrOutput

func (UserPasswordPtrOutput) User

The database username.

type UserPasswordResponse

type UserPasswordResponse struct {
	// The initial password for the user.
	Password string `pulumi:"password"`
	// The database username.
	User string `pulumi:"user"`
}

The username/password for a database user. Used for specifying initial users at cluster creation time.

type UserPasswordResponseOutput

type UserPasswordResponseOutput struct{ *pulumi.OutputState }

The username/password for a database user. Used for specifying initial users at cluster creation time.

func (UserPasswordResponseOutput) ElementType

func (UserPasswordResponseOutput) ElementType() reflect.Type

func (UserPasswordResponseOutput) Password

The initial password for the user.

func (UserPasswordResponseOutput) ToUserPasswordResponseOutput

func (o UserPasswordResponseOutput) ToUserPasswordResponseOutput() UserPasswordResponseOutput

func (UserPasswordResponseOutput) ToUserPasswordResponseOutputWithContext

func (o UserPasswordResponseOutput) ToUserPasswordResponseOutputWithContext(ctx context.Context) UserPasswordResponseOutput

func (UserPasswordResponseOutput) User

The database username.

type UserState

type UserState struct {
}

func (UserState) ElementType

func (UserState) ElementType() reflect.Type

type UserUserType

type UserUserType string

Optional. Type of this user.

func (UserUserType) ElementType

func (UserUserType) ElementType() reflect.Type

func (UserUserType) ToStringOutput

func (e UserUserType) ToStringOutput() pulumi.StringOutput

func (UserUserType) ToStringOutputWithContext

func (e UserUserType) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (UserUserType) ToStringPtrOutput

func (e UserUserType) ToStringPtrOutput() pulumi.StringPtrOutput

func (UserUserType) ToStringPtrOutputWithContext

func (e UserUserType) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (UserUserType) ToUserUserTypeOutput

func (e UserUserType) ToUserUserTypeOutput() UserUserTypeOutput

func (UserUserType) ToUserUserTypeOutputWithContext

func (e UserUserType) ToUserUserTypeOutputWithContext(ctx context.Context) UserUserTypeOutput

func (UserUserType) ToUserUserTypePtrOutput

func (e UserUserType) ToUserUserTypePtrOutput() UserUserTypePtrOutput

func (UserUserType) ToUserUserTypePtrOutputWithContext

func (e UserUserType) ToUserUserTypePtrOutputWithContext(ctx context.Context) UserUserTypePtrOutput

type UserUserTypeInput

type UserUserTypeInput interface {
	pulumi.Input

	ToUserUserTypeOutput() UserUserTypeOutput
	ToUserUserTypeOutputWithContext(context.Context) UserUserTypeOutput
}

UserUserTypeInput is an input type that accepts UserUserTypeArgs and UserUserTypeOutput values. You can construct a concrete instance of `UserUserTypeInput` via:

UserUserTypeArgs{...}

type UserUserTypeOutput

type UserUserTypeOutput struct{ *pulumi.OutputState }

func (UserUserTypeOutput) ElementType

func (UserUserTypeOutput) ElementType() reflect.Type

func (UserUserTypeOutput) ToStringOutput

func (o UserUserTypeOutput) ToStringOutput() pulumi.StringOutput

func (UserUserTypeOutput) ToStringOutputWithContext

func (o UserUserTypeOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (UserUserTypeOutput) ToStringPtrOutput

func (o UserUserTypeOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (UserUserTypeOutput) ToStringPtrOutputWithContext

func (o UserUserTypeOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (UserUserTypeOutput) ToUserUserTypeOutput

func (o UserUserTypeOutput) ToUserUserTypeOutput() UserUserTypeOutput

func (UserUserTypeOutput) ToUserUserTypeOutputWithContext

func (o UserUserTypeOutput) ToUserUserTypeOutputWithContext(ctx context.Context) UserUserTypeOutput

func (UserUserTypeOutput) ToUserUserTypePtrOutput

func (o UserUserTypeOutput) ToUserUserTypePtrOutput() UserUserTypePtrOutput

func (UserUserTypeOutput) ToUserUserTypePtrOutputWithContext

func (o UserUserTypeOutput) ToUserUserTypePtrOutputWithContext(ctx context.Context) UserUserTypePtrOutput

type UserUserTypePtrInput

type UserUserTypePtrInput interface {
	pulumi.Input

	ToUserUserTypePtrOutput() UserUserTypePtrOutput
	ToUserUserTypePtrOutputWithContext(context.Context) UserUserTypePtrOutput
}

func UserUserTypePtr

func UserUserTypePtr(v string) UserUserTypePtrInput

type UserUserTypePtrOutput

type UserUserTypePtrOutput struct{ *pulumi.OutputState }

func (UserUserTypePtrOutput) Elem

func (UserUserTypePtrOutput) ElementType

func (UserUserTypePtrOutput) ElementType() reflect.Type

func (UserUserTypePtrOutput) ToStringPtrOutput

func (o UserUserTypePtrOutput) ToStringPtrOutput() pulumi.StringPtrOutput

func (UserUserTypePtrOutput) ToStringPtrOutputWithContext

func (o UserUserTypePtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (UserUserTypePtrOutput) ToUserUserTypePtrOutput

func (o UserUserTypePtrOutput) ToUserUserTypePtrOutput() UserUserTypePtrOutput

func (UserUserTypePtrOutput) ToUserUserTypePtrOutputWithContext

func (o UserUserTypePtrOutput) ToUserUserTypePtrOutputWithContext(ctx context.Context) UserUserTypePtrOutput

type WeeklySchedule

type WeeklySchedule struct {
	// The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
	DaysOfWeek []WeeklyScheduleDaysOfWeekItem `pulumi:"daysOfWeek"`
	// The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
	StartTimes []GoogleTypeTimeOfDay `pulumi:"startTimes"`
}

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element "22:00" and the `days_of_week` field to have all seven days of the week.

type WeeklyScheduleArgs

type WeeklyScheduleArgs struct {
	// The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
	DaysOfWeek WeeklyScheduleDaysOfWeekItemArrayInput `pulumi:"daysOfWeek"`
	// The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
	StartTimes GoogleTypeTimeOfDayArrayInput `pulumi:"startTimes"`
}

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element "22:00" and the `days_of_week` field to have all seven days of the week.

func (WeeklyScheduleArgs) ElementType

func (WeeklyScheduleArgs) ElementType() reflect.Type

func (WeeklyScheduleArgs) ToWeeklyScheduleOutput

func (i WeeklyScheduleArgs) ToWeeklyScheduleOutput() WeeklyScheduleOutput

func (WeeklyScheduleArgs) ToWeeklyScheduleOutputWithContext

func (i WeeklyScheduleArgs) ToWeeklyScheduleOutputWithContext(ctx context.Context) WeeklyScheduleOutput

func (WeeklyScheduleArgs) ToWeeklySchedulePtrOutput

func (i WeeklyScheduleArgs) ToWeeklySchedulePtrOutput() WeeklySchedulePtrOutput

func (WeeklyScheduleArgs) ToWeeklySchedulePtrOutputWithContext

func (i WeeklyScheduleArgs) ToWeeklySchedulePtrOutputWithContext(ctx context.Context) WeeklySchedulePtrOutput

type WeeklyScheduleDaysOfWeekItem

type WeeklyScheduleDaysOfWeekItem string

func (WeeklyScheduleDaysOfWeekItem) ElementType

func (WeeklyScheduleDaysOfWeekItem) ToStringOutput

func (WeeklyScheduleDaysOfWeekItem) ToStringOutputWithContext

func (e WeeklyScheduleDaysOfWeekItem) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (WeeklyScheduleDaysOfWeekItem) ToStringPtrOutput

func (e WeeklyScheduleDaysOfWeekItem) ToStringPtrOutput() pulumi.StringPtrOutput

func (WeeklyScheduleDaysOfWeekItem) ToStringPtrOutputWithContext

func (e WeeklyScheduleDaysOfWeekItem) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemOutput

func (e WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemOutput() WeeklyScheduleDaysOfWeekItemOutput

func (WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemOutputWithContext

func (e WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemOutput

func (WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemPtrOutput

func (e WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemPtrOutput() WeeklyScheduleDaysOfWeekItemPtrOutput

func (WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext

func (e WeeklyScheduleDaysOfWeekItem) ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemPtrOutput

type WeeklyScheduleDaysOfWeekItemArray

type WeeklyScheduleDaysOfWeekItemArray []WeeklyScheduleDaysOfWeekItem

func (WeeklyScheduleDaysOfWeekItemArray) ElementType

func (WeeklyScheduleDaysOfWeekItemArray) ToWeeklyScheduleDaysOfWeekItemArrayOutput

func (i WeeklyScheduleDaysOfWeekItemArray) ToWeeklyScheduleDaysOfWeekItemArrayOutput() WeeklyScheduleDaysOfWeekItemArrayOutput

func (WeeklyScheduleDaysOfWeekItemArray) ToWeeklyScheduleDaysOfWeekItemArrayOutputWithContext

func (i WeeklyScheduleDaysOfWeekItemArray) ToWeeklyScheduleDaysOfWeekItemArrayOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemArrayOutput

type WeeklyScheduleDaysOfWeekItemArrayInput

type WeeklyScheduleDaysOfWeekItemArrayInput interface {
	pulumi.Input

	ToWeeklyScheduleDaysOfWeekItemArrayOutput() WeeklyScheduleDaysOfWeekItemArrayOutput
	ToWeeklyScheduleDaysOfWeekItemArrayOutputWithContext(context.Context) WeeklyScheduleDaysOfWeekItemArrayOutput
}

WeeklyScheduleDaysOfWeekItemArrayInput is an input type that accepts WeeklyScheduleDaysOfWeekItemArray and WeeklyScheduleDaysOfWeekItemArrayOutput values. You can construct a concrete instance of `WeeklyScheduleDaysOfWeekItemArrayInput` via:

WeeklyScheduleDaysOfWeekItemArray{ WeeklyScheduleDaysOfWeekItemArgs{...} }

type WeeklyScheduleDaysOfWeekItemArrayOutput

type WeeklyScheduleDaysOfWeekItemArrayOutput struct{ *pulumi.OutputState }

func (WeeklyScheduleDaysOfWeekItemArrayOutput) ElementType

func (WeeklyScheduleDaysOfWeekItemArrayOutput) Index

func (WeeklyScheduleDaysOfWeekItemArrayOutput) ToWeeklyScheduleDaysOfWeekItemArrayOutput

func (o WeeklyScheduleDaysOfWeekItemArrayOutput) ToWeeklyScheduleDaysOfWeekItemArrayOutput() WeeklyScheduleDaysOfWeekItemArrayOutput

func (WeeklyScheduleDaysOfWeekItemArrayOutput) ToWeeklyScheduleDaysOfWeekItemArrayOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemArrayOutput) ToWeeklyScheduleDaysOfWeekItemArrayOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemArrayOutput

type WeeklyScheduleDaysOfWeekItemInput

type WeeklyScheduleDaysOfWeekItemInput interface {
	pulumi.Input

	ToWeeklyScheduleDaysOfWeekItemOutput() WeeklyScheduleDaysOfWeekItemOutput
	ToWeeklyScheduleDaysOfWeekItemOutputWithContext(context.Context) WeeklyScheduleDaysOfWeekItemOutput
}

WeeklyScheduleDaysOfWeekItemInput is an input type that accepts WeeklyScheduleDaysOfWeekItemArgs and WeeklyScheduleDaysOfWeekItemOutput values. You can construct a concrete instance of `WeeklyScheduleDaysOfWeekItemInput` via:

WeeklyScheduleDaysOfWeekItemArgs{...}

type WeeklyScheduleDaysOfWeekItemOutput

type WeeklyScheduleDaysOfWeekItemOutput struct{ *pulumi.OutputState }

func (WeeklyScheduleDaysOfWeekItemOutput) ElementType

func (WeeklyScheduleDaysOfWeekItemOutput) ToStringOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToStringOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemOutput) ToStringOutputWithContext(ctx context.Context) pulumi.StringOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToStringPtrOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToStringPtrOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemOutput

func (o WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemOutput() WeeklyScheduleDaysOfWeekItemOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutput

func (o WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutput() WeeklyScheduleDaysOfWeekItemPtrOutput

func (WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemPtrOutput

type WeeklyScheduleDaysOfWeekItemPtrInput

type WeeklyScheduleDaysOfWeekItemPtrInput interface {
	pulumi.Input

	ToWeeklyScheduleDaysOfWeekItemPtrOutput() WeeklyScheduleDaysOfWeekItemPtrOutput
	ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext(context.Context) WeeklyScheduleDaysOfWeekItemPtrOutput
}

func WeeklyScheduleDaysOfWeekItemPtr

func WeeklyScheduleDaysOfWeekItemPtr(v string) WeeklyScheduleDaysOfWeekItemPtrInput

type WeeklyScheduleDaysOfWeekItemPtrOutput

type WeeklyScheduleDaysOfWeekItemPtrOutput struct{ *pulumi.OutputState }

func (WeeklyScheduleDaysOfWeekItemPtrOutput) Elem

func (WeeklyScheduleDaysOfWeekItemPtrOutput) ElementType

func (WeeklyScheduleDaysOfWeekItemPtrOutput) ToStringPtrOutput

func (WeeklyScheduleDaysOfWeekItemPtrOutput) ToStringPtrOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemPtrOutput) ToStringPtrOutputWithContext(ctx context.Context) pulumi.StringPtrOutput

func (WeeklyScheduleDaysOfWeekItemPtrOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutput

func (o WeeklyScheduleDaysOfWeekItemPtrOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutput() WeeklyScheduleDaysOfWeekItemPtrOutput

func (WeeklyScheduleDaysOfWeekItemPtrOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext

func (o WeeklyScheduleDaysOfWeekItemPtrOutput) ToWeeklyScheduleDaysOfWeekItemPtrOutputWithContext(ctx context.Context) WeeklyScheduleDaysOfWeekItemPtrOutput

type WeeklyScheduleInput

type WeeklyScheduleInput interface {
	pulumi.Input

	ToWeeklyScheduleOutput() WeeklyScheduleOutput
	ToWeeklyScheduleOutputWithContext(context.Context) WeeklyScheduleOutput
}

WeeklyScheduleInput is an input type that accepts WeeklyScheduleArgs and WeeklyScheduleOutput values. You can construct a concrete instance of `WeeklyScheduleInput` via:

WeeklyScheduleArgs{...}

type WeeklyScheduleOutput

type WeeklyScheduleOutput struct{ *pulumi.OutputState }

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element "22:00" and the `days_of_week` field to have all seven days of the week.

func (WeeklyScheduleOutput) DaysOfWeek

The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.

func (WeeklyScheduleOutput) ElementType

func (WeeklyScheduleOutput) ElementType() reflect.Type

func (WeeklyScheduleOutput) StartTimes

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.

func (WeeklyScheduleOutput) ToWeeklyScheduleOutput

func (o WeeklyScheduleOutput) ToWeeklyScheduleOutput() WeeklyScheduleOutput

func (WeeklyScheduleOutput) ToWeeklyScheduleOutputWithContext

func (o WeeklyScheduleOutput) ToWeeklyScheduleOutputWithContext(ctx context.Context) WeeklyScheduleOutput

func (WeeklyScheduleOutput) ToWeeklySchedulePtrOutput

func (o WeeklyScheduleOutput) ToWeeklySchedulePtrOutput() WeeklySchedulePtrOutput

func (WeeklyScheduleOutput) ToWeeklySchedulePtrOutputWithContext

func (o WeeklyScheduleOutput) ToWeeklySchedulePtrOutputWithContext(ctx context.Context) WeeklySchedulePtrOutput

type WeeklySchedulePtrInput

type WeeklySchedulePtrInput interface {
	pulumi.Input

	ToWeeklySchedulePtrOutput() WeeklySchedulePtrOutput
	ToWeeklySchedulePtrOutputWithContext(context.Context) WeeklySchedulePtrOutput
}

WeeklySchedulePtrInput is an input type that accepts WeeklyScheduleArgs, WeeklySchedulePtr and WeeklySchedulePtrOutput values. You can construct a concrete instance of `WeeklySchedulePtrInput` via:

        WeeklyScheduleArgs{...}

or:

        nil

type WeeklySchedulePtrOutput

type WeeklySchedulePtrOutput struct{ *pulumi.OutputState }

func (WeeklySchedulePtrOutput) DaysOfWeek

The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.

func (WeeklySchedulePtrOutput) Elem

func (WeeklySchedulePtrOutput) ElementType

func (WeeklySchedulePtrOutput) ElementType() reflect.Type

func (WeeklySchedulePtrOutput) StartTimes

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.

func (WeeklySchedulePtrOutput) ToWeeklySchedulePtrOutput

func (o WeeklySchedulePtrOutput) ToWeeklySchedulePtrOutput() WeeklySchedulePtrOutput

func (WeeklySchedulePtrOutput) ToWeeklySchedulePtrOutputWithContext

func (o WeeklySchedulePtrOutput) ToWeeklySchedulePtrOutputWithContext(ctx context.Context) WeeklySchedulePtrOutput

type WeeklyScheduleResponse

type WeeklyScheduleResponse struct {
	// The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.
	DaysOfWeek []string `pulumi:"daysOfWeek"`
	// The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.
	StartTimes []GoogleTypeTimeOfDayResponse `pulumi:"startTimes"`
}

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element "22:00" and the `days_of_week` field to have all seven days of the week.

type WeeklyScheduleResponseOutput

type WeeklyScheduleResponseOutput struct{ *pulumi.OutputState }

A weekly schedule starts a backup at prescribed start times within a day, for the specified days of the week. The weekly schedule message is flexible and can be used to create many types of schedules. For example, to have a daily backup that starts at 22:00, configure the `start_times` field to have one element "22:00" and the `days_of_week` field to have all seven days of the week.

func (WeeklyScheduleResponseOutput) DaysOfWeek

The days of the week to perform a backup. If this field is left empty, the default of every day of the week is used.

func (WeeklyScheduleResponseOutput) ElementType

func (WeeklyScheduleResponseOutput) StartTimes

The times during the day to start a backup. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). If no start times are provided, a single fixed start time is chosen arbitrarily.

func (WeeklyScheduleResponseOutput) ToWeeklyScheduleResponseOutput

func (o WeeklyScheduleResponseOutput) ToWeeklyScheduleResponseOutput() WeeklyScheduleResponseOutput

func (WeeklyScheduleResponseOutput) ToWeeklyScheduleResponseOutputWithContext

func (o WeeklyScheduleResponseOutput) ToWeeklyScheduleResponseOutputWithContext(ctx context.Context) WeeklyScheduleResponseOutput

Jump to

Keyboard shortcuts

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