Documentation ¶
Index ¶
- type Cluster
- type ClusterArgs
- type ClusterArray
- type ClusterArrayInput
- type ClusterArrayOutput
- type ClusterAutomatedBackupPolicy
- type ClusterAutomatedBackupPolicyArgs
- func (ClusterAutomatedBackupPolicyArgs) ElementType() reflect.Type
- func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput
- func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyOutput
- func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
- func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput
- type ClusterAutomatedBackupPolicyInput
- type ClusterAutomatedBackupPolicyOutput
- func (o ClusterAutomatedBackupPolicyOutput) BackupWindow() pulumi.StringPtrOutput
- func (ClusterAutomatedBackupPolicyOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyOutput) Enabled() pulumi.BoolPtrOutput
- func (o ClusterAutomatedBackupPolicyOutput) Labels() pulumi.StringMapOutput
- func (o ClusterAutomatedBackupPolicyOutput) Location() pulumi.StringPtrOutput
- func (o ClusterAutomatedBackupPolicyOutput) QuantityBasedRetention() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyOutput) TimeBasedRetention() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput
- func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyOutput
- func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
- func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput
- func (o ClusterAutomatedBackupPolicyOutput) WeeklySchedule() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- type ClusterAutomatedBackupPolicyPtrInput
- type ClusterAutomatedBackupPolicyPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) BackupWindow() pulumi.StringPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) Elem() ClusterAutomatedBackupPolicyOutput
- func (ClusterAutomatedBackupPolicyPtrOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) Labels() pulumi.StringMapOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) Location() pulumi.StringPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) QuantityBasedRetention() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) TimeBasedRetention() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput
- func (o ClusterAutomatedBackupPolicyPtrOutput) WeeklySchedule() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- type ClusterAutomatedBackupPolicyQuantityBasedRetention
- type ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs
- func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ElementType() reflect.Type
- func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
- func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
- func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput
- type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) Count() pulumi.IntPtrOutput
- func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput
- type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Count() pulumi.IntPtrOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Elem() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
- func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
- type ClusterAutomatedBackupPolicyTimeBasedRetention
- type ClusterAutomatedBackupPolicyTimeBasedRetentionArgs
- func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ElementType() reflect.Type
- func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
- func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
- func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- type ClusterAutomatedBackupPolicyTimeBasedRetentionInput
- type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
- func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) RetentionPeriod() pulumi.StringPtrOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput
- type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) Elem() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
- func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) RetentionPeriod() pulumi.StringPtrOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
- type ClusterAutomatedBackupPolicyWeeklySchedule
- type ClusterAutomatedBackupPolicyWeeklyScheduleArgs
- func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ElementType() reflect.Type
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- type ClusterAutomatedBackupPolicyWeeklyScheduleInput
- type ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) DaysOfWeeks() pulumi.StringArrayOutput
- func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) StartTimes() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput
- type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) DaysOfWeeks() pulumi.StringArrayOutput
- func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) Elem() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
- func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) StartTimes() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs
- func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ElementType() reflect.Type
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray
- func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ElementType() reflect.Type
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) Index(i pulumi.IntInput) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput
- type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
- func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ElementType() reflect.Type
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Hours() pulumi.IntPtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Minutes() pulumi.IntPtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Nanos() pulumi.IntPtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Seconds() pulumi.IntPtrOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
- func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
- type ClusterBackupSource
- type ClusterBackupSourceArgs
- type ClusterBackupSourceArray
- type ClusterBackupSourceArrayInput
- type ClusterBackupSourceArrayOutput
- func (ClusterBackupSourceArrayOutput) ElementType() reflect.Type
- func (o ClusterBackupSourceArrayOutput) Index(i pulumi.IntInput) ClusterBackupSourceOutput
- func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput
- func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutputWithContext(ctx context.Context) ClusterBackupSourceArrayOutput
- type ClusterBackupSourceInput
- type ClusterBackupSourceOutput
- func (o ClusterBackupSourceOutput) BackupName() pulumi.StringPtrOutput
- func (ClusterBackupSourceOutput) ElementType() reflect.Type
- func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutput() ClusterBackupSourceOutput
- func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutputWithContext(ctx context.Context) ClusterBackupSourceOutput
- type ClusterInitialUser
- type ClusterInitialUserArgs
- func (ClusterInitialUserArgs) ElementType() reflect.Type
- func (i ClusterInitialUserArgs) ToClusterInitialUserOutput() ClusterInitialUserOutput
- func (i ClusterInitialUserArgs) ToClusterInitialUserOutputWithContext(ctx context.Context) ClusterInitialUserOutput
- func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
- func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput
- type ClusterInitialUserInput
- type ClusterInitialUserOutput
- func (ClusterInitialUserOutput) ElementType() reflect.Type
- func (o ClusterInitialUserOutput) Password() pulumi.StringOutput
- func (o ClusterInitialUserOutput) ToClusterInitialUserOutput() ClusterInitialUserOutput
- func (o ClusterInitialUserOutput) ToClusterInitialUserOutputWithContext(ctx context.Context) ClusterInitialUserOutput
- func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
- func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput
- func (o ClusterInitialUserOutput) User() pulumi.StringPtrOutput
- type ClusterInitialUserPtrInput
- type ClusterInitialUserPtrOutput
- func (o ClusterInitialUserPtrOutput) Elem() ClusterInitialUserOutput
- func (ClusterInitialUserPtrOutput) ElementType() reflect.Type
- func (o ClusterInitialUserPtrOutput) Password() pulumi.StringPtrOutput
- func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
- func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput
- func (o ClusterInitialUserPtrOutput) User() pulumi.StringPtrOutput
- type ClusterInput
- type ClusterMap
- type ClusterMapInput
- type ClusterMapOutput
- type ClusterMigrationSource
- type ClusterMigrationSourceArgs
- type ClusterMigrationSourceArray
- func (ClusterMigrationSourceArray) ElementType() reflect.Type
- func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput
- func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutputWithContext(ctx context.Context) ClusterMigrationSourceArrayOutput
- type ClusterMigrationSourceArrayInput
- type ClusterMigrationSourceArrayOutput
- func (ClusterMigrationSourceArrayOutput) ElementType() reflect.Type
- func (o ClusterMigrationSourceArrayOutput) Index(i pulumi.IntInput) ClusterMigrationSourceOutput
- func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput
- func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutputWithContext(ctx context.Context) ClusterMigrationSourceArrayOutput
- type ClusterMigrationSourceInput
- type ClusterMigrationSourceOutput
- func (ClusterMigrationSourceOutput) ElementType() reflect.Type
- func (o ClusterMigrationSourceOutput) HostPort() pulumi.StringPtrOutput
- func (o ClusterMigrationSourceOutput) ReferenceId() pulumi.StringPtrOutput
- func (o ClusterMigrationSourceOutput) SourceType() pulumi.StringPtrOutput
- func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput
- func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutputWithContext(ctx context.Context) ClusterMigrationSourceOutput
- type ClusterOutput
- func (o ClusterOutput) AutomatedBackupPolicy() ClusterAutomatedBackupPolicyPtrOutput
- func (o ClusterOutput) BackupSources() ClusterBackupSourceArrayOutput
- func (o ClusterOutput) ClusterId() pulumi.StringOutput
- func (o ClusterOutput) DatabaseVersion() pulumi.StringOutput
- func (o ClusterOutput) DisplayName() pulumi.StringPtrOutput
- func (ClusterOutput) ElementType() reflect.Type
- func (o ClusterOutput) InitialUser() ClusterInitialUserPtrOutput
- func (o ClusterOutput) Labels() pulumi.StringMapOutput
- func (o ClusterOutput) Location() pulumi.StringPtrOutput
- func (o ClusterOutput) MigrationSources() ClusterMigrationSourceArrayOutput
- func (o ClusterOutput) Name() pulumi.StringOutput
- func (o ClusterOutput) Network() pulumi.StringOutput
- func (o ClusterOutput) Project() pulumi.StringOutput
- func (o ClusterOutput) ToClusterOutput() ClusterOutput
- func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
- func (o ClusterOutput) Uid() pulumi.StringOutput
- type ClusterState
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceInput
- type InstanceMachineConfig
- type InstanceMachineConfigArgs
- func (InstanceMachineConfigArgs) ElementType() reflect.Type
- func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput
- func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutputWithContext(ctx context.Context) InstanceMachineConfigOutput
- func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
- func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput
- type InstanceMachineConfigInput
- type InstanceMachineConfigOutput
- func (o InstanceMachineConfigOutput) CpuCount() pulumi.IntPtrOutput
- func (InstanceMachineConfigOutput) ElementType() reflect.Type
- func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput
- func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutputWithContext(ctx context.Context) InstanceMachineConfigOutput
- func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
- func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput
- type InstanceMachineConfigPtrInput
- type InstanceMachineConfigPtrOutput
- func (o InstanceMachineConfigPtrOutput) CpuCount() pulumi.IntPtrOutput
- func (o InstanceMachineConfigPtrOutput) Elem() InstanceMachineConfigOutput
- func (InstanceMachineConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
- func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) Annotations() pulumi.StringMapOutput
- func (o InstanceOutput) AvailabilityType() pulumi.StringOutput
- func (o InstanceOutput) Cluster() pulumi.StringOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstanceOutput) DatabaseFlags() pulumi.StringMapOutput
- func (o InstanceOutput) DisplayName() pulumi.StringPtrOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) GceZone() pulumi.StringPtrOutput
- func (o InstanceOutput) InstanceId() pulumi.StringOutput
- func (o InstanceOutput) InstanceType() pulumi.StringOutput
- func (o InstanceOutput) IpAddress() pulumi.StringOutput
- func (o InstanceOutput) Labels() pulumi.StringMapOutput
- func (o InstanceOutput) MachineConfig() InstanceMachineConfigOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) ReadPoolConfig() InstanceReadPoolConfigPtrOutput
- func (o InstanceOutput) Reconciling() pulumi.BoolOutput
- func (o InstanceOutput) State() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) Uid() pulumi.StringOutput
- func (o InstanceOutput) UpdateTime() pulumi.StringOutput
- type InstanceReadPoolConfig
- type InstanceReadPoolConfigArgs
- func (InstanceReadPoolConfigArgs) ElementType() reflect.Type
- func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput
- func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutputWithContext(ctx context.Context) InstanceReadPoolConfigOutput
- func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
- func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput
- type InstanceReadPoolConfigInput
- type InstanceReadPoolConfigOutput
- func (InstanceReadPoolConfigOutput) ElementType() reflect.Type
- func (o InstanceReadPoolConfigOutput) NodeCount() pulumi.IntPtrOutput
- func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput
- func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutputWithContext(ctx context.Context) InstanceReadPoolConfigOutput
- func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
- func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput
- type InstanceReadPoolConfigPtrInput
- type InstanceReadPoolConfigPtrOutput
- func (o InstanceReadPoolConfigPtrOutput) Elem() InstanceReadPoolConfigOutput
- func (InstanceReadPoolConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceReadPoolConfigPtrOutput) NodeCount() pulumi.IntPtrOutput
- func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
- func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput
- type InstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct { pulumi.CustomResourceState // The automated backup policy for this cluster. // If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. // Structure is documented below. AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrOutput `pulumi:"automatedBackupPolicy"` // Cluster created from backup. BackupSources ClusterBackupSourceArrayOutput `pulumi:"backupSources"` // The ID of the alloydb cluster. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This // field cannot be changed after cluster creation. DatabaseVersion pulumi.StringOutput `pulumi:"databaseVersion"` // User-settable and human-readable display name for the Cluster. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Initial user to setup during cluster creation. // Structure is documented below. InitialUser ClusterInitialUserPtrOutput `pulumi:"initialUser"` // Labels to apply to backups created using this configuration. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. Location pulumi.StringPtrOutput `pulumi:"location"` // Cluster created via DMS migration. MigrationSources ClusterMigrationSourceArrayOutput `pulumi:"migrationSources"` // The name of the cluster resource. Name pulumi.StringOutput `pulumi:"name"` // The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: // "projects/{projectNumber}/global/networks/{network_id}". Network pulumi.StringOutput `pulumi:"network"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The system-generated UID of the resource. Uid pulumi.StringOutput `pulumi:"uid"` }
## Example Usage ### Alloydb Cluster Basic
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/alloydb" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := organizations.LookupProject(ctx, nil, nil) if err != nil { return err } defaultNetwork, err := compute.NewNetwork(ctx, "defaultNetwork", nil, pulumi.Provider(google_beta)) if err != nil { return err } _, err = alloydb.NewCluster(ctx, "defaultCluster", &alloydb.ClusterArgs{ ClusterId: pulumi.String("alloydb-cluster"), Location: pulumi.String("us-central1"), Network: defaultNetwork.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("projects/%v/global/networks/%v", project.Number, name), nil }).(pulumi.StringOutput), }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
``` ### Alloydb Cluster Full
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/alloydb" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := organizations.LookupProject(ctx, nil, nil) if err != nil { return err } _, err = compute.NewNetwork(ctx, "default", nil, pulumi.Provider(google_beta)) if err != nil { return err } _, err = alloydb.NewCluster(ctx, "full", &alloydb.ClusterArgs{ ClusterId: pulumi.String("alloydb-cluster-full"), Location: pulumi.String("us-central1"), Network: _default.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("projects/%v/global/networks/%v", project.Number, name), nil }).(pulumi.StringOutput), InitialUser: &alloydb.ClusterInitialUserArgs{ User: pulumi.String("alloydb-cluster-full"), Password: pulumi.String("alloydb-cluster-full"), }, AutomatedBackupPolicy: &alloydb.ClusterAutomatedBackupPolicyArgs{ Location: pulumi.String("us-central1"), BackupWindow: pulumi.String("1800s"), Enabled: pulumi.Bool(true), WeeklySchedule: &alloydb.ClusterAutomatedBackupPolicyWeeklyScheduleArgs{ DaysOfWeeks: pulumi.StringArray{ pulumi.String("MONDAY"), }, StartTimes: alloydb.ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray{ &alloydb.ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{ Hours: pulumi.Int(23), Minutes: pulumi.Int(0), Seconds: pulumi.Int(0), Nanos: pulumi.Int(0), }, }, }, QuantityBasedRetention: &alloydb.ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{ Count: pulumi.Int(1), }, Labels: pulumi.StringMap{ "test": pulumi.String("alloydb-cluster-full"), }, }, Labels: pulumi.StringMap{ "test": pulumi.String("alloydb-cluster-full"), }, }, pulumi.Provider(google_beta)) if err != nil { return err } return nil }) }
```
## Import
Cluster can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:alloydb/cluster:Cluster default projects/{{project}}/locations/{{location}}/clusters/{{cluster_id}}
```
```sh
$ pulumi import gcp:alloydb/cluster:Cluster default {{project}}/{{location}}/{{cluster_id}}
```
```sh
$ pulumi import gcp:alloydb/cluster:Cluster default {{location}}/{{cluster_id}}
```
```sh
$ pulumi import gcp:alloydb/cluster:Cluster default {{cluster_id}}
```
func GetCluster ¶
func GetCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ClusterState, opts ...pulumi.ResourceOption) (*Cluster, error)
GetCluster gets an existing Cluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewCluster ¶
func NewCluster(ctx *pulumi.Context, name string, args *ClusterArgs, opts ...pulumi.ResourceOption) (*Cluster, error)
NewCluster registers a new resource with the given unique name, arguments, and options.
func (*Cluster) ElementType ¶
func (*Cluster) ToClusterOutput ¶
func (i *Cluster) ToClusterOutput() ClusterOutput
func (*Cluster) ToClusterOutputWithContext ¶
func (i *Cluster) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
type ClusterArgs ¶
type ClusterArgs struct { // The automated backup policy for this cluster. // If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. // Structure is documented below. AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrInput // The ID of the alloydb cluster. ClusterId pulumi.StringInput // User-settable and human-readable display name for the Cluster. DisplayName pulumi.StringPtrInput // Initial user to setup during cluster creation. // Structure is documented below. InitialUser ClusterInitialUserPtrInput // Labels to apply to backups created using this configuration. Labels pulumi.StringMapInput // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. Location pulumi.StringPtrInput // The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: // "projects/{projectNumber}/global/networks/{network_id}". Network pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a Cluster resource.
func (ClusterArgs) ElementType ¶
func (ClusterArgs) ElementType() reflect.Type
type ClusterArray ¶
type ClusterArray []ClusterInput
func (ClusterArray) ElementType ¶
func (ClusterArray) ElementType() reflect.Type
func (ClusterArray) ToClusterArrayOutput ¶
func (i ClusterArray) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArray) ToClusterArrayOutputWithContext ¶
func (i ClusterArray) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterArrayInput ¶
type ClusterArrayInput interface { pulumi.Input ToClusterArrayOutput() ClusterArrayOutput ToClusterArrayOutputWithContext(context.Context) ClusterArrayOutput }
ClusterArrayInput is an input type that accepts ClusterArray and ClusterArrayOutput values. You can construct a concrete instance of `ClusterArrayInput` via:
ClusterArray{ ClusterArgs{...} }
type ClusterArrayOutput ¶
type ClusterArrayOutput struct{ *pulumi.OutputState }
func (ClusterArrayOutput) ElementType ¶
func (ClusterArrayOutput) ElementType() reflect.Type
func (ClusterArrayOutput) Index ¶
func (o ClusterArrayOutput) Index(i pulumi.IntInput) ClusterOutput
func (ClusterArrayOutput) ToClusterArrayOutput ¶
func (o ClusterArrayOutput) ToClusterArrayOutput() ClusterArrayOutput
func (ClusterArrayOutput) ToClusterArrayOutputWithContext ¶
func (o ClusterArrayOutput) ToClusterArrayOutputWithContext(ctx context.Context) ClusterArrayOutput
type ClusterAutomatedBackupPolicy ¶
type ClusterAutomatedBackupPolicy struct { // The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. // The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". BackupWindow *string `pulumi:"backupWindow"` // Whether automated automated backups are enabled. Enabled *bool `pulumi:"enabled"` // Labels to apply to backups created using this configuration. Labels map[string]string `pulumi:"labels"` // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. Location *string `pulumi:"location"` // Quantity-based Backup retention policy to retain recent backups. // Structure is documented below. QuantityBasedRetention *ClusterAutomatedBackupPolicyQuantityBasedRetention `pulumi:"quantityBasedRetention"` // Time-based Backup retention policy. // Structure is documented below. TimeBasedRetention *ClusterAutomatedBackupPolicyTimeBasedRetention `pulumi:"timeBasedRetention"` // Weekly schedule for the Backup. // Structure is documented below. WeeklySchedule ClusterAutomatedBackupPolicyWeeklySchedule `pulumi:"weeklySchedule"` }
type ClusterAutomatedBackupPolicyArgs ¶
type ClusterAutomatedBackupPolicyArgs struct { // The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. // The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". BackupWindow pulumi.StringPtrInput `pulumi:"backupWindow"` // Whether automated automated backups are enabled. Enabled pulumi.BoolPtrInput `pulumi:"enabled"` // Labels to apply to backups created using this configuration. Labels pulumi.StringMapInput `pulumi:"labels"` // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. Location pulumi.StringPtrInput `pulumi:"location"` // Quantity-based Backup retention policy to retain recent backups. // Structure is documented below. QuantityBasedRetention ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput `pulumi:"quantityBasedRetention"` // Time-based Backup retention policy. // Structure is documented below. TimeBasedRetention ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput `pulumi:"timeBasedRetention"` // Weekly schedule for the Backup. // Structure is documented below. WeeklySchedule ClusterAutomatedBackupPolicyWeeklyScheduleInput `pulumi:"weeklySchedule"` }
func (ClusterAutomatedBackupPolicyArgs) ElementType ¶
func (ClusterAutomatedBackupPolicyArgs) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput ¶
func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput
func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyOutput
func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput ¶
func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
func (ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyArgs) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput
type ClusterAutomatedBackupPolicyInput ¶
type ClusterAutomatedBackupPolicyInput interface { pulumi.Input ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput ToClusterAutomatedBackupPolicyOutputWithContext(context.Context) ClusterAutomatedBackupPolicyOutput }
ClusterAutomatedBackupPolicyInput is an input type that accepts ClusterAutomatedBackupPolicyArgs and ClusterAutomatedBackupPolicyOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyInput` via:
ClusterAutomatedBackupPolicyArgs{...}
type ClusterAutomatedBackupPolicyOutput ¶
type ClusterAutomatedBackupPolicyOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyOutput) BackupWindow ¶
func (o ClusterAutomatedBackupPolicyOutput) BackupWindow() pulumi.StringPtrOutput
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (ClusterAutomatedBackupPolicyOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyOutput) Enabled ¶
func (o ClusterAutomatedBackupPolicyOutput) Enabled() pulumi.BoolPtrOutput
Whether automated automated backups are enabled.
func (ClusterAutomatedBackupPolicyOutput) Labels ¶
func (o ClusterAutomatedBackupPolicyOutput) Labels() pulumi.StringMapOutput
Labels to apply to backups created using this configuration.
func (ClusterAutomatedBackupPolicyOutput) Location ¶
func (o ClusterAutomatedBackupPolicyOutput) Location() pulumi.StringPtrOutput
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.
func (ClusterAutomatedBackupPolicyOutput) QuantityBasedRetention ¶
func (o ClusterAutomatedBackupPolicyOutput) QuantityBasedRetention() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
Quantity-based Backup retention policy to retain recent backups. Structure is documented below.
func (ClusterAutomatedBackupPolicyOutput) TimeBasedRetention ¶
func (o ClusterAutomatedBackupPolicyOutput) TimeBasedRetention() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
Time-based Backup retention policy. Structure is documented below.
func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput ¶
func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutput() ClusterAutomatedBackupPolicyOutput
func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyOutput
func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput ¶
func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
func (ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput
func (ClusterAutomatedBackupPolicyOutput) WeeklySchedule ¶
func (o ClusterAutomatedBackupPolicyOutput) WeeklySchedule() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
Weekly schedule for the Backup. Structure is documented below.
type ClusterAutomatedBackupPolicyPtrInput ¶
type ClusterAutomatedBackupPolicyPtrInput interface { pulumi.Input ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput ToClusterAutomatedBackupPolicyPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyPtrOutput }
ClusterAutomatedBackupPolicyPtrInput is an input type that accepts ClusterAutomatedBackupPolicyArgs, ClusterAutomatedBackupPolicyPtr and ClusterAutomatedBackupPolicyPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyPtrInput` via:
ClusterAutomatedBackupPolicyArgs{...} or: nil
func ClusterAutomatedBackupPolicyPtr ¶
func ClusterAutomatedBackupPolicyPtr(v *ClusterAutomatedBackupPolicyArgs) ClusterAutomatedBackupPolicyPtrInput
type ClusterAutomatedBackupPolicyPtrOutput ¶
type ClusterAutomatedBackupPolicyPtrOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyPtrOutput) BackupWindow ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) BackupWindow() pulumi.StringPtrOutput
The length of the time window during which a backup can be taken. If a backup does not succeed within this time window, it will be canceled and considered failed. The backup window must be at least 5 minutes long. There is no upper bound on the window. If not set, it will default to 1 hour. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (ClusterAutomatedBackupPolicyPtrOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyPtrOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyPtrOutput) Enabled ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) Enabled() pulumi.BoolPtrOutput
Whether automated automated backups are enabled.
func (ClusterAutomatedBackupPolicyPtrOutput) Labels ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) Labels() pulumi.StringMapOutput
Labels to apply to backups created using this configuration.
func (ClusterAutomatedBackupPolicyPtrOutput) Location ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) Location() pulumi.StringPtrOutput
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.
func (ClusterAutomatedBackupPolicyPtrOutput) QuantityBasedRetention ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) QuantityBasedRetention() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
Quantity-based Backup retention policy to retain recent backups. Structure is documented below.
func (ClusterAutomatedBackupPolicyPtrOutput) TimeBasedRetention ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) TimeBasedRetention() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
Time-based Backup retention policy. Structure is documented below.
func (ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutput() ClusterAutomatedBackupPolicyPtrOutput
func (ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) ToClusterAutomatedBackupPolicyPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyPtrOutput
func (ClusterAutomatedBackupPolicyPtrOutput) WeeklySchedule ¶
func (o ClusterAutomatedBackupPolicyPtrOutput) WeeklySchedule() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
Weekly schedule for the Backup. Structure is documented below.
type ClusterAutomatedBackupPolicyQuantityBasedRetention ¶
type ClusterAutomatedBackupPolicyQuantityBasedRetention struct { // The number of backups to retain. Count *int `pulumi:"count"` }
type ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs ¶
type ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs struct { // The number of backups to retain. Count pulumi.IntPtrInput `pulumi:"count"` }
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ElementType ¶
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput ¶
func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput ¶
func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput ¶
type ClusterAutomatedBackupPolicyQuantityBasedRetentionInput interface { pulumi.Input ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput }
ClusterAutomatedBackupPolicyQuantityBasedRetentionInput is an input type that accepts ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs and ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyQuantityBasedRetentionInput` via:
ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{...}
type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput ¶
type ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) Count ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) Count() pulumi.IntPtrOutput
The number of backups to retain.
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput ¶
type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput interface { pulumi.Input ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput }
ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput is an input type that accepts ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs, ClusterAutomatedBackupPolicyQuantityBasedRetentionPtr and ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput` via:
ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs{...} or: nil
func ClusterAutomatedBackupPolicyQuantityBasedRetentionPtr ¶
func ClusterAutomatedBackupPolicyQuantityBasedRetentionPtr(v *ClusterAutomatedBackupPolicyQuantityBasedRetentionArgs) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrInput
type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput ¶
type ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) Count ¶
The number of backups to retain.
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
func (ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyQuantityBasedRetentionPtrOutput
type ClusterAutomatedBackupPolicyTimeBasedRetention ¶
type ClusterAutomatedBackupPolicyTimeBasedRetention struct { // The retention period. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". RetentionPeriod *string `pulumi:"retentionPeriod"` }
type ClusterAutomatedBackupPolicyTimeBasedRetentionArgs ¶
type ClusterAutomatedBackupPolicyTimeBasedRetentionArgs struct { // The retention period. // A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s". RetentionPeriod pulumi.StringPtrInput `pulumi:"retentionPeriod"` }
func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ElementType ¶
func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput ¶
func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput ¶
func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
type ClusterAutomatedBackupPolicyTimeBasedRetentionInput ¶
type ClusterAutomatedBackupPolicyTimeBasedRetentionInput interface { pulumi.Input ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput }
ClusterAutomatedBackupPolicyTimeBasedRetentionInput is an input type that accepts ClusterAutomatedBackupPolicyTimeBasedRetentionArgs and ClusterAutomatedBackupPolicyTimeBasedRetentionOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyTimeBasedRetentionInput` via:
ClusterAutomatedBackupPolicyTimeBasedRetentionArgs{...}
type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput ¶
type ClusterAutomatedBackupPolicyTimeBasedRetentionOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) RetentionPeriod ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) RetentionPeriod() pulumi.StringPtrOutput
The retention period. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput ¶
type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput interface { pulumi.Input ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput }
ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput is an input type that accepts ClusterAutomatedBackupPolicyTimeBasedRetentionArgs, ClusterAutomatedBackupPolicyTimeBasedRetentionPtr and ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput` via:
ClusterAutomatedBackupPolicyTimeBasedRetentionArgs{...} or: nil
func ClusterAutomatedBackupPolicyTimeBasedRetentionPtr ¶
func ClusterAutomatedBackupPolicyTimeBasedRetentionPtr(v *ClusterAutomatedBackupPolicyTimeBasedRetentionArgs) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrInput
type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput ¶
type ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) RetentionPeriod ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) RetentionPeriod() pulumi.StringPtrOutput
The retention period. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput() ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
func (ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput) ToClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyTimeBasedRetentionPtrOutput
type ClusterAutomatedBackupPolicyWeeklySchedule ¶
type ClusterAutomatedBackupPolicyWeeklySchedule struct { // The days of the week to perform a backup. At least one day of the week must be provided. // Each value may be one of `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, and `SUNDAY`. DaysOfWeeks []string `pulumi:"daysOfWeeks"` // The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). // Structure is documented below. StartTimes []ClusterAutomatedBackupPolicyWeeklyScheduleStartTime `pulumi:"startTimes"` }
type ClusterAutomatedBackupPolicyWeeklyScheduleArgs ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleArgs struct { // The days of the week to perform a backup. At least one day of the week must be provided. // Each value may be one of `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, and `SUNDAY`. DaysOfWeeks pulumi.StringArrayInput `pulumi:"daysOfWeeks"` // The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). // Structure is documented below. StartTimes ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput `pulumi:"startTimes"` }
func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
type ClusterAutomatedBackupPolicyWeeklyScheduleInput ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleInput interface { pulumi.Input ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput }
ClusterAutomatedBackupPolicyWeeklyScheduleInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleArgs and ClusterAutomatedBackupPolicyWeeklyScheduleOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklyScheduleInput` via:
ClusterAutomatedBackupPolicyWeeklyScheduleArgs{...}
type ClusterAutomatedBackupPolicyWeeklyScheduleOutput ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) DaysOfWeeks ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) DaysOfWeeks() pulumi.StringArrayOutput
The days of the week to perform a backup. At least one day of the week must be provided. Each value may be one of `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, and `SUNDAY`.
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) StartTimes ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) StartTimes() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). Structure is documented below.
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutput() ClusterAutomatedBackupPolicyWeeklyScheduleOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput ¶
type ClusterAutomatedBackupPolicyWeeklySchedulePtrInput interface { pulumi.Input ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput }
ClusterAutomatedBackupPolicyWeeklySchedulePtrInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleArgs, ClusterAutomatedBackupPolicyWeeklySchedulePtr and ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklySchedulePtrInput` via:
ClusterAutomatedBackupPolicyWeeklyScheduleArgs{...} or: nil
func ClusterAutomatedBackupPolicyWeeklySchedulePtr ¶
func ClusterAutomatedBackupPolicyWeeklySchedulePtr(v *ClusterAutomatedBackupPolicyWeeklyScheduleArgs) ClusterAutomatedBackupPolicyWeeklySchedulePtrInput
type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput ¶
type ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) DaysOfWeeks ¶
func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) DaysOfWeeks() pulumi.StringArrayOutput
The days of the week to perform a backup. At least one day of the week must be provided. Each value may be one of `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, and `SUNDAY`.
func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) StartTimes ¶
func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) StartTimes() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
The times during the day to start a backup. At least one start time must be provided. The start times are assumed to be in UTC and to be an exact hour (e.g., 04:00:00). Structure is documented below.
func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput ¶
func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutput() ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
func (ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput) ToClusterAutomatedBackupPolicyWeeklySchedulePtrOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklySchedulePtrOutput
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTime struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours *int `pulumi:"hours"` // Minutes of hour of day. Must be from 0 to 59. Minutes *int `pulumi:"minutes"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos *int `pulumi:"nanos"` // Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. Seconds *int `pulumi:"seconds"` }
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs struct { // Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time. Hours pulumi.IntPtrInput `pulumi:"hours"` // Minutes of hour of day. Must be from 0 to 59. Minutes pulumi.IntPtrInput `pulumi:"minutes"` // Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999. Nanos pulumi.IntPtrInput `pulumi:"nanos"` // Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds. Seconds pulumi.IntPtrInput `pulumi:"seconds"` }
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray []ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext ¶
func (i ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput interface { pulumi.Input ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput }
ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray and ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayInput` via:
ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArray{ ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{...} }
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArrayOutput
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput interface { pulumi.Input ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput }
ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput is an input type that accepts ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs and ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput values. You can construct a concrete instance of `ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeInput` via:
ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeArgs{...}
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput ¶
type ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput struct{ *pulumi.OutputState }
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ElementType ¶
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ElementType() reflect.Type
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Hours ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Hours() pulumi.IntPtrOutput
Hours of day in 24 hour format. Should be from 0 to 23. An API may choose to allow the value "24:00:00" for scenarios like business closing time.
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Minutes ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Minutes() pulumi.IntPtrOutput
Minutes of hour of day. Must be from 0 to 59.
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Nanos ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Nanos() pulumi.IntPtrOutput
Fractions of seconds in nanoseconds. Must be from 0 to 999,999,999.
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Seconds ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) Seconds() pulumi.IntPtrOutput
Seconds of minutes of the time. Must normally be from 0 to 59. An API may allow the value 60 if it allows leap-seconds.
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput() ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
func (ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext ¶
func (o ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput) ToClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutputWithContext(ctx context.Context) ClusterAutomatedBackupPolicyWeeklyScheduleStartTimeOutput
type ClusterBackupSource ¶
type ClusterBackupSource struct {
BackupName *string `pulumi:"backupName"`
}
type ClusterBackupSourceArgs ¶
type ClusterBackupSourceArgs struct {
BackupName pulumi.StringPtrInput `pulumi:"backupName"`
}
func (ClusterBackupSourceArgs) ElementType ¶
func (ClusterBackupSourceArgs) ElementType() reflect.Type
func (ClusterBackupSourceArgs) ToClusterBackupSourceOutput ¶
func (i ClusterBackupSourceArgs) ToClusterBackupSourceOutput() ClusterBackupSourceOutput
func (ClusterBackupSourceArgs) ToClusterBackupSourceOutputWithContext ¶
func (i ClusterBackupSourceArgs) ToClusterBackupSourceOutputWithContext(ctx context.Context) ClusterBackupSourceOutput
type ClusterBackupSourceArray ¶
type ClusterBackupSourceArray []ClusterBackupSourceInput
func (ClusterBackupSourceArray) ElementType ¶
func (ClusterBackupSourceArray) ElementType() reflect.Type
func (ClusterBackupSourceArray) ToClusterBackupSourceArrayOutput ¶
func (i ClusterBackupSourceArray) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput
func (ClusterBackupSourceArray) ToClusterBackupSourceArrayOutputWithContext ¶
func (i ClusterBackupSourceArray) ToClusterBackupSourceArrayOutputWithContext(ctx context.Context) ClusterBackupSourceArrayOutput
type ClusterBackupSourceArrayInput ¶
type ClusterBackupSourceArrayInput interface { pulumi.Input ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput ToClusterBackupSourceArrayOutputWithContext(context.Context) ClusterBackupSourceArrayOutput }
ClusterBackupSourceArrayInput is an input type that accepts ClusterBackupSourceArray and ClusterBackupSourceArrayOutput values. You can construct a concrete instance of `ClusterBackupSourceArrayInput` via:
ClusterBackupSourceArray{ ClusterBackupSourceArgs{...} }
type ClusterBackupSourceArrayOutput ¶
type ClusterBackupSourceArrayOutput struct{ *pulumi.OutputState }
func (ClusterBackupSourceArrayOutput) ElementType ¶
func (ClusterBackupSourceArrayOutput) ElementType() reflect.Type
func (ClusterBackupSourceArrayOutput) Index ¶
func (o ClusterBackupSourceArrayOutput) Index(i pulumi.IntInput) ClusterBackupSourceOutput
func (ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput ¶
func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutput() ClusterBackupSourceArrayOutput
func (ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutputWithContext ¶
func (o ClusterBackupSourceArrayOutput) ToClusterBackupSourceArrayOutputWithContext(ctx context.Context) ClusterBackupSourceArrayOutput
type ClusterBackupSourceInput ¶
type ClusterBackupSourceInput interface { pulumi.Input ToClusterBackupSourceOutput() ClusterBackupSourceOutput ToClusterBackupSourceOutputWithContext(context.Context) ClusterBackupSourceOutput }
ClusterBackupSourceInput is an input type that accepts ClusterBackupSourceArgs and ClusterBackupSourceOutput values. You can construct a concrete instance of `ClusterBackupSourceInput` via:
ClusterBackupSourceArgs{...}
type ClusterBackupSourceOutput ¶
type ClusterBackupSourceOutput struct{ *pulumi.OutputState }
func (ClusterBackupSourceOutput) BackupName ¶
func (o ClusterBackupSourceOutput) BackupName() pulumi.StringPtrOutput
func (ClusterBackupSourceOutput) ElementType ¶
func (ClusterBackupSourceOutput) ElementType() reflect.Type
func (ClusterBackupSourceOutput) ToClusterBackupSourceOutput ¶
func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutput() ClusterBackupSourceOutput
func (ClusterBackupSourceOutput) ToClusterBackupSourceOutputWithContext ¶
func (o ClusterBackupSourceOutput) ToClusterBackupSourceOutputWithContext(ctx context.Context) ClusterBackupSourceOutput
type ClusterInitialUser ¶
type ClusterInitialUserArgs ¶
type ClusterInitialUserArgs struct { // The initial password for the user. // **Note**: This property is sensitive and will not be displayed in the plan. Password pulumi.StringInput `pulumi:"password"` // The database username. User pulumi.StringPtrInput `pulumi:"user"` }
func (ClusterInitialUserArgs) ElementType ¶
func (ClusterInitialUserArgs) ElementType() reflect.Type
func (ClusterInitialUserArgs) ToClusterInitialUserOutput ¶
func (i ClusterInitialUserArgs) ToClusterInitialUserOutput() ClusterInitialUserOutput
func (ClusterInitialUserArgs) ToClusterInitialUserOutputWithContext ¶
func (i ClusterInitialUserArgs) ToClusterInitialUserOutputWithContext(ctx context.Context) ClusterInitialUserOutput
func (ClusterInitialUserArgs) ToClusterInitialUserPtrOutput ¶
func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
func (ClusterInitialUserArgs) ToClusterInitialUserPtrOutputWithContext ¶
func (i ClusterInitialUserArgs) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput
type ClusterInitialUserInput ¶
type ClusterInitialUserInput interface { pulumi.Input ToClusterInitialUserOutput() ClusterInitialUserOutput ToClusterInitialUserOutputWithContext(context.Context) ClusterInitialUserOutput }
ClusterInitialUserInput is an input type that accepts ClusterInitialUserArgs and ClusterInitialUserOutput values. You can construct a concrete instance of `ClusterInitialUserInput` via:
ClusterInitialUserArgs{...}
type ClusterInitialUserOutput ¶
type ClusterInitialUserOutput struct{ *pulumi.OutputState }
func (ClusterInitialUserOutput) ElementType ¶
func (ClusterInitialUserOutput) ElementType() reflect.Type
func (ClusterInitialUserOutput) Password ¶
func (o ClusterInitialUserOutput) Password() pulumi.StringOutput
The initial password for the user. **Note**: This property is sensitive and will not be displayed in the plan.
func (ClusterInitialUserOutput) ToClusterInitialUserOutput ¶
func (o ClusterInitialUserOutput) ToClusterInitialUserOutput() ClusterInitialUserOutput
func (ClusterInitialUserOutput) ToClusterInitialUserOutputWithContext ¶
func (o ClusterInitialUserOutput) ToClusterInitialUserOutputWithContext(ctx context.Context) ClusterInitialUserOutput
func (ClusterInitialUserOutput) ToClusterInitialUserPtrOutput ¶
func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
func (ClusterInitialUserOutput) ToClusterInitialUserPtrOutputWithContext ¶
func (o ClusterInitialUserOutput) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput
func (ClusterInitialUserOutput) User ¶
func (o ClusterInitialUserOutput) User() pulumi.StringPtrOutput
The database username.
type ClusterInitialUserPtrInput ¶
type ClusterInitialUserPtrInput interface { pulumi.Input ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput ToClusterInitialUserPtrOutputWithContext(context.Context) ClusterInitialUserPtrOutput }
ClusterInitialUserPtrInput is an input type that accepts ClusterInitialUserArgs, ClusterInitialUserPtr and ClusterInitialUserPtrOutput values. You can construct a concrete instance of `ClusterInitialUserPtrInput` via:
ClusterInitialUserArgs{...} or: nil
func ClusterInitialUserPtr ¶
func ClusterInitialUserPtr(v *ClusterInitialUserArgs) ClusterInitialUserPtrInput
type ClusterInitialUserPtrOutput ¶
type ClusterInitialUserPtrOutput struct{ *pulumi.OutputState }
func (ClusterInitialUserPtrOutput) Elem ¶
func (o ClusterInitialUserPtrOutput) Elem() ClusterInitialUserOutput
func (ClusterInitialUserPtrOutput) ElementType ¶
func (ClusterInitialUserPtrOutput) ElementType() reflect.Type
func (ClusterInitialUserPtrOutput) Password ¶
func (o ClusterInitialUserPtrOutput) Password() pulumi.StringPtrOutput
The initial password for the user. **Note**: This property is sensitive and will not be displayed in the plan.
func (ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput ¶
func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutput() ClusterInitialUserPtrOutput
func (ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutputWithContext ¶
func (o ClusterInitialUserPtrOutput) ToClusterInitialUserPtrOutputWithContext(ctx context.Context) ClusterInitialUserPtrOutput
func (ClusterInitialUserPtrOutput) User ¶
func (o ClusterInitialUserPtrOutput) User() pulumi.StringPtrOutput
The database username.
type ClusterInput ¶
type ClusterInput interface { pulumi.Input ToClusterOutput() ClusterOutput ToClusterOutputWithContext(ctx context.Context) ClusterOutput }
type ClusterMap ¶
type ClusterMap map[string]ClusterInput
func (ClusterMap) ElementType ¶
func (ClusterMap) ElementType() reflect.Type
func (ClusterMap) ToClusterMapOutput ¶
func (i ClusterMap) ToClusterMapOutput() ClusterMapOutput
func (ClusterMap) ToClusterMapOutputWithContext ¶
func (i ClusterMap) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMapInput ¶
type ClusterMapInput interface { pulumi.Input ToClusterMapOutput() ClusterMapOutput ToClusterMapOutputWithContext(context.Context) ClusterMapOutput }
ClusterMapInput is an input type that accepts ClusterMap and ClusterMapOutput values. You can construct a concrete instance of `ClusterMapInput` via:
ClusterMap{ "key": ClusterArgs{...} }
type ClusterMapOutput ¶
type ClusterMapOutput struct{ *pulumi.OutputState }
func (ClusterMapOutput) ElementType ¶
func (ClusterMapOutput) ElementType() reflect.Type
func (ClusterMapOutput) MapIndex ¶
func (o ClusterMapOutput) MapIndex(k pulumi.StringInput) ClusterOutput
func (ClusterMapOutput) ToClusterMapOutput ¶
func (o ClusterMapOutput) ToClusterMapOutput() ClusterMapOutput
func (ClusterMapOutput) ToClusterMapOutputWithContext ¶
func (o ClusterMapOutput) ToClusterMapOutputWithContext(ctx context.Context) ClusterMapOutput
type ClusterMigrationSource ¶
type ClusterMigrationSourceArgs ¶
type ClusterMigrationSourceArgs struct { HostPort pulumi.StringPtrInput `pulumi:"hostPort"` ReferenceId pulumi.StringPtrInput `pulumi:"referenceId"` SourceType pulumi.StringPtrInput `pulumi:"sourceType"` }
func (ClusterMigrationSourceArgs) ElementType ¶
func (ClusterMigrationSourceArgs) ElementType() reflect.Type
func (ClusterMigrationSourceArgs) ToClusterMigrationSourceOutput ¶
func (i ClusterMigrationSourceArgs) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput
func (ClusterMigrationSourceArgs) ToClusterMigrationSourceOutputWithContext ¶
func (i ClusterMigrationSourceArgs) ToClusterMigrationSourceOutputWithContext(ctx context.Context) ClusterMigrationSourceOutput
type ClusterMigrationSourceArray ¶
type ClusterMigrationSourceArray []ClusterMigrationSourceInput
func (ClusterMigrationSourceArray) ElementType ¶
func (ClusterMigrationSourceArray) ElementType() reflect.Type
func (ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput ¶
func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput
func (ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutputWithContext ¶
func (i ClusterMigrationSourceArray) ToClusterMigrationSourceArrayOutputWithContext(ctx context.Context) ClusterMigrationSourceArrayOutput
type ClusterMigrationSourceArrayInput ¶
type ClusterMigrationSourceArrayInput interface { pulumi.Input ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput ToClusterMigrationSourceArrayOutputWithContext(context.Context) ClusterMigrationSourceArrayOutput }
ClusterMigrationSourceArrayInput is an input type that accepts ClusterMigrationSourceArray and ClusterMigrationSourceArrayOutput values. You can construct a concrete instance of `ClusterMigrationSourceArrayInput` via:
ClusterMigrationSourceArray{ ClusterMigrationSourceArgs{...} }
type ClusterMigrationSourceArrayOutput ¶
type ClusterMigrationSourceArrayOutput struct{ *pulumi.OutputState }
func (ClusterMigrationSourceArrayOutput) ElementType ¶
func (ClusterMigrationSourceArrayOutput) ElementType() reflect.Type
func (ClusterMigrationSourceArrayOutput) Index ¶
func (o ClusterMigrationSourceArrayOutput) Index(i pulumi.IntInput) ClusterMigrationSourceOutput
func (ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput ¶
func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutput() ClusterMigrationSourceArrayOutput
func (ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutputWithContext ¶
func (o ClusterMigrationSourceArrayOutput) ToClusterMigrationSourceArrayOutputWithContext(ctx context.Context) ClusterMigrationSourceArrayOutput
type ClusterMigrationSourceInput ¶
type ClusterMigrationSourceInput interface { pulumi.Input ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput ToClusterMigrationSourceOutputWithContext(context.Context) ClusterMigrationSourceOutput }
ClusterMigrationSourceInput is an input type that accepts ClusterMigrationSourceArgs and ClusterMigrationSourceOutput values. You can construct a concrete instance of `ClusterMigrationSourceInput` via:
ClusterMigrationSourceArgs{...}
type ClusterMigrationSourceOutput ¶
type ClusterMigrationSourceOutput struct{ *pulumi.OutputState }
func (ClusterMigrationSourceOutput) ElementType ¶
func (ClusterMigrationSourceOutput) ElementType() reflect.Type
func (ClusterMigrationSourceOutput) HostPort ¶
func (o ClusterMigrationSourceOutput) HostPort() pulumi.StringPtrOutput
func (ClusterMigrationSourceOutput) ReferenceId ¶
func (o ClusterMigrationSourceOutput) ReferenceId() pulumi.StringPtrOutput
func (ClusterMigrationSourceOutput) SourceType ¶
func (o ClusterMigrationSourceOutput) SourceType() pulumi.StringPtrOutput
func (ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput ¶
func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutput() ClusterMigrationSourceOutput
func (ClusterMigrationSourceOutput) ToClusterMigrationSourceOutputWithContext ¶
func (o ClusterMigrationSourceOutput) ToClusterMigrationSourceOutputWithContext(ctx context.Context) ClusterMigrationSourceOutput
type ClusterOutput ¶
type ClusterOutput struct{ *pulumi.OutputState }
func (ClusterOutput) AutomatedBackupPolicy ¶
func (o ClusterOutput) AutomatedBackupPolicy() ClusterAutomatedBackupPolicyPtrOutput
The automated backup policy for this cluster. If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. Structure is documented below.
func (ClusterOutput) BackupSources ¶
func (o ClusterOutput) BackupSources() ClusterBackupSourceArrayOutput
Cluster created from backup.
func (ClusterOutput) ClusterId ¶
func (o ClusterOutput) ClusterId() pulumi.StringOutput
The ID of the alloydb cluster.
func (ClusterOutput) DatabaseVersion ¶
func (o ClusterOutput) DatabaseVersion() pulumi.StringOutput
The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This field cannot be changed after cluster creation.
func (ClusterOutput) DisplayName ¶
func (o ClusterOutput) DisplayName() pulumi.StringPtrOutput
User-settable and human-readable display name for the Cluster.
func (ClusterOutput) ElementType ¶
func (ClusterOutput) ElementType() reflect.Type
func (ClusterOutput) InitialUser ¶
func (o ClusterOutput) InitialUser() ClusterInitialUserPtrOutput
Initial user to setup during cluster creation. Structure is documented below.
func (ClusterOutput) Labels ¶
func (o ClusterOutput) Labels() pulumi.StringMapOutput
Labels to apply to backups created using this configuration.
func (ClusterOutput) Location ¶
func (o ClusterOutput) Location() pulumi.StringPtrOutput
The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster.
func (ClusterOutput) MigrationSources ¶
func (o ClusterOutput) MigrationSources() ClusterMigrationSourceArrayOutput
Cluster created via DMS migration.
func (ClusterOutput) Name ¶
func (o ClusterOutput) Name() pulumi.StringOutput
The name of the cluster resource.
func (ClusterOutput) Network ¶
func (o ClusterOutput) Network() pulumi.StringOutput
The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}".
func (ClusterOutput) Project ¶
func (o ClusterOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (ClusterOutput) ToClusterOutput ¶
func (o ClusterOutput) ToClusterOutput() ClusterOutput
func (ClusterOutput) ToClusterOutputWithContext ¶
func (o ClusterOutput) ToClusterOutputWithContext(ctx context.Context) ClusterOutput
func (ClusterOutput) Uid ¶
func (o ClusterOutput) Uid() pulumi.StringOutput
The system-generated UID of the resource.
type ClusterState ¶
type ClusterState struct { // The automated backup policy for this cluster. // If no policy is provided then the default policy will be used. The default policy takes one backup a day, has a backup window of 1 hour, and retains backups for 14 days. // Structure is documented below. AutomatedBackupPolicy ClusterAutomatedBackupPolicyPtrInput // Cluster created from backup. BackupSources ClusterBackupSourceArrayInput // The ID of the alloydb cluster. ClusterId pulumi.StringPtrInput // The database engine major version. This is an output-only field and it's populated at the Cluster creation time. This // field cannot be changed after cluster creation. DatabaseVersion pulumi.StringPtrInput // User-settable and human-readable display name for the Cluster. DisplayName pulumi.StringPtrInput // Initial user to setup during cluster creation. // Structure is documented below. InitialUser ClusterInitialUserPtrInput // Labels to apply to backups created using this configuration. Labels pulumi.StringMapInput // The location where the backup will be stored. Currently, the only supported option is to store the backup in the same region as the cluster. Location pulumi.StringPtrInput // Cluster created via DMS migration. MigrationSources ClusterMigrationSourceArrayInput // The name of the cluster resource. Name pulumi.StringPtrInput // The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: // "projects/{projectNumber}/global/networks/{network_id}". Network pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The system-generated UID of the resource. Uid pulumi.StringPtrInput }
func (ClusterState) ElementType ¶
func (ClusterState) ElementType() reflect.Type
type Instance ¶ added in v6.44.0
type Instance struct { pulumi.CustomResourceState // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. Note that primary and read instances can have different availability types. // Possible values are `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, and `REGIONAL`. AvailabilityType pulumi.StringOutput `pulumi:"availabilityType"` // Identifies the alloydb cluster. Must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' Cluster pulumi.StringOutput `pulumi:"cluster"` // Time the Instance was created in UTC. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. DatabaseFlags pulumi.StringMapOutput `pulumi:"databaseFlags"` // User-settable and human-readable display name for the Instance. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. GceZone pulumi.StringPtrOutput `pulumi:"gceZone"` // The ID of the alloydb instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The type of the instance. // Possible values are `PRIMARY` and `READ_POOL`. InstanceType pulumi.StringOutput `pulumi:"instanceType"` // The IP address for the Instance. This is the connection endpoint for an end-user application. IpAddress pulumi.StringOutput `pulumi:"ipAddress"` // User-defined labels for the alloydb instance. Labels pulumi.StringMapOutput `pulumi:"labels"` // Configurations for the machines that host the underlying database engine. // Structure is documented below. MachineConfig InstanceMachineConfigOutput `pulumi:"machineConfig"` // The name of the instance resource. Name pulumi.StringOutput `pulumi:"name"` // Read pool specific config. // Structure is documented below. ReadPoolConfig InstanceReadPoolConfigPtrOutput `pulumi:"readPoolConfig"` // Set to true if the current state of Instance does not match the user's intended state, and the service is actively // updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover // or maintenance. Reconciling pulumi.BoolOutput `pulumi:"reconciling"` // The current state of the alloydb instance. State pulumi.StringOutput `pulumi:"state"` // The system-generated UID of the resource. Uid pulumi.StringOutput `pulumi:"uid"` // Time the Instance was updated in UTC. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` }
## Example Usage ### Alloydb Instance Basic
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/alloydb" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/servicenetworking" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { project, err := organizations.LookupProject(ctx, nil, nil) if err != nil { return err } defaultNetwork, err := compute.NewNetwork(ctx, "defaultNetwork", nil, pulumi.Provider(google_beta)) if err != nil { return err } defaultCluster, err := alloydb.NewCluster(ctx, "defaultCluster", &alloydb.ClusterArgs{ ClusterId: pulumi.String("alloydb-cluster"), Location: pulumi.String("us-central1"), Network: defaultNetwork.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("projects/%v/global/networks/%v", project.Number, name), nil }).(pulumi.StringOutput), InitialUser: &alloydb.ClusterInitialUserArgs{ Password: pulumi.String("alloydb-cluster"), }, }, pulumi.Provider(google_beta)) if err != nil { return err } privateIpAlloc, err := compute.NewGlobalAddress(ctx, "privateIpAlloc", &compute.GlobalAddressArgs{ AddressType: pulumi.String("INTERNAL"), Purpose: pulumi.String("VPC_PEERING"), PrefixLength: pulumi.Int(16), Network: defaultNetwork.ID(), }, pulumi.Provider(google_beta)) if err != nil { return err } vpcConnection, err := servicenetworking.NewConnection(ctx, "vpcConnection", &servicenetworking.ConnectionArgs{ Network: defaultNetwork.ID(), Service: pulumi.String("servicenetworking.googleapis.com"), ReservedPeeringRanges: pulumi.StringArray{ privateIpAlloc.Name, }, }, pulumi.Provider(google_beta)) if err != nil { return err } _, err = alloydb.NewInstance(ctx, "defaultInstance", &alloydb.InstanceArgs{ Cluster: defaultCluster.Name, InstanceId: pulumi.String("alloydb-instance"), InstanceType: pulumi.String("PRIMARY"), }, pulumi.Provider(google_beta), pulumi.DependsOn([]pulumi.Resource{ vpcConnection, })) if err != nil { return err } return nil }) }
```
## Import
Instance can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:alloydb/instance:Instance default {{cluster}}/instances/{{instance_id}}
```
```sh
$ pulumi import gcp:alloydb/instance:Instance default {{cluster}}/{{instance_id}}
```
func GetInstance ¶ added in v6.44.0
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶ added in v6.44.0
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶ added in v6.44.0
func (*Instance) ToInstanceOutput ¶ added in v6.44.0
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶ added in v6.44.0
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶ added in v6.44.0
type InstanceArgs struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. Annotations pulumi.StringMapInput // Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. Note that primary and read instances can have different availability types. // Possible values are `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, and `REGIONAL`. AvailabilityType pulumi.StringPtrInput // Identifies the alloydb cluster. Must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' Cluster pulumi.StringInput // Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. DatabaseFlags pulumi.StringMapInput // User-settable and human-readable display name for the Instance. DisplayName pulumi.StringPtrInput // The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. GceZone pulumi.StringPtrInput // The ID of the alloydb instance. InstanceId pulumi.StringInput // The type of the instance. // Possible values are `PRIMARY` and `READ_POOL`. InstanceType pulumi.StringInput // User-defined labels for the alloydb instance. Labels pulumi.StringMapInput // Configurations for the machines that host the underlying database engine. // Structure is documented below. MachineConfig InstanceMachineConfigPtrInput // Read pool specific config. // Structure is documented below. ReadPoolConfig InstanceReadPoolConfigPtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶ added in v6.44.0
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶ added in v6.44.0
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶ added in v6.44.0
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶ added in v6.44.0
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶ added in v6.44.0
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶ added in v6.44.0
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶ added in v6.44.0
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶ added in v6.44.0
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶ added in v6.44.0
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶ added in v6.44.0
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶ added in v6.44.0
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceInput ¶ added in v6.44.0
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMachineConfig ¶ added in v6.44.0
type InstanceMachineConfig struct { // The number of CPU's in the VM instance. CpuCount *int `pulumi:"cpuCount"` }
type InstanceMachineConfigArgs ¶ added in v6.44.0
type InstanceMachineConfigArgs struct { // The number of CPU's in the VM instance. CpuCount pulumi.IntPtrInput `pulumi:"cpuCount"` }
func (InstanceMachineConfigArgs) ElementType ¶ added in v6.44.0
func (InstanceMachineConfigArgs) ElementType() reflect.Type
func (InstanceMachineConfigArgs) ToInstanceMachineConfigOutput ¶ added in v6.44.0
func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput
func (InstanceMachineConfigArgs) ToInstanceMachineConfigOutputWithContext ¶ added in v6.44.0
func (i InstanceMachineConfigArgs) ToInstanceMachineConfigOutputWithContext(ctx context.Context) InstanceMachineConfigOutput
func (InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput ¶ added in v6.44.0
func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
func (InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutputWithContext ¶ added in v6.44.0
func (i InstanceMachineConfigArgs) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput
type InstanceMachineConfigInput ¶ added in v6.44.0
type InstanceMachineConfigInput interface { pulumi.Input ToInstanceMachineConfigOutput() InstanceMachineConfigOutput ToInstanceMachineConfigOutputWithContext(context.Context) InstanceMachineConfigOutput }
InstanceMachineConfigInput is an input type that accepts InstanceMachineConfigArgs and InstanceMachineConfigOutput values. You can construct a concrete instance of `InstanceMachineConfigInput` via:
InstanceMachineConfigArgs{...}
type InstanceMachineConfigOutput ¶ added in v6.44.0
type InstanceMachineConfigOutput struct{ *pulumi.OutputState }
func (InstanceMachineConfigOutput) CpuCount ¶ added in v6.44.0
func (o InstanceMachineConfigOutput) CpuCount() pulumi.IntPtrOutput
The number of CPU's in the VM instance.
func (InstanceMachineConfigOutput) ElementType ¶ added in v6.44.0
func (InstanceMachineConfigOutput) ElementType() reflect.Type
func (InstanceMachineConfigOutput) ToInstanceMachineConfigOutput ¶ added in v6.44.0
func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutput() InstanceMachineConfigOutput
func (InstanceMachineConfigOutput) ToInstanceMachineConfigOutputWithContext ¶ added in v6.44.0
func (o InstanceMachineConfigOutput) ToInstanceMachineConfigOutputWithContext(ctx context.Context) InstanceMachineConfigOutput
func (InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput ¶ added in v6.44.0
func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
func (InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutputWithContext ¶ added in v6.44.0
func (o InstanceMachineConfigOutput) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput
type InstanceMachineConfigPtrInput ¶ added in v6.44.0
type InstanceMachineConfigPtrInput interface { pulumi.Input ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput ToInstanceMachineConfigPtrOutputWithContext(context.Context) InstanceMachineConfigPtrOutput }
InstanceMachineConfigPtrInput is an input type that accepts InstanceMachineConfigArgs, InstanceMachineConfigPtr and InstanceMachineConfigPtrOutput values. You can construct a concrete instance of `InstanceMachineConfigPtrInput` via:
InstanceMachineConfigArgs{...} or: nil
func InstanceMachineConfigPtr ¶ added in v6.44.0
func InstanceMachineConfigPtr(v *InstanceMachineConfigArgs) InstanceMachineConfigPtrInput
type InstanceMachineConfigPtrOutput ¶ added in v6.44.0
type InstanceMachineConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceMachineConfigPtrOutput) CpuCount ¶ added in v6.44.0
func (o InstanceMachineConfigPtrOutput) CpuCount() pulumi.IntPtrOutput
The number of CPU's in the VM instance.
func (InstanceMachineConfigPtrOutput) Elem ¶ added in v6.44.0
func (o InstanceMachineConfigPtrOutput) Elem() InstanceMachineConfigOutput
func (InstanceMachineConfigPtrOutput) ElementType ¶ added in v6.44.0
func (InstanceMachineConfigPtrOutput) ElementType() reflect.Type
func (InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput ¶ added in v6.44.0
func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutput() InstanceMachineConfigPtrOutput
func (InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutputWithContext ¶ added in v6.44.0
func (o InstanceMachineConfigPtrOutput) ToInstanceMachineConfigPtrOutputWithContext(ctx context.Context) InstanceMachineConfigPtrOutput
type InstanceMap ¶ added in v6.44.0
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶ added in v6.44.0
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶ added in v6.44.0
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶ added in v6.44.0
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶ added in v6.44.0
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶ added in v6.44.0
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶ added in v6.44.0
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶ added in v6.44.0
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶ added in v6.44.0
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶ added in v6.44.0
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶ added in v6.44.0
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) Annotations ¶ added in v6.44.0
func (o InstanceOutput) Annotations() pulumi.StringMapOutput
Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels.
func (InstanceOutput) AvailabilityType ¶ added in v6.44.0
func (o InstanceOutput) AvailabilityType() pulumi.StringOutput
Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. Note that primary and read instances can have different availability types. Possible values are `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, and `REGIONAL`.
func (InstanceOutput) Cluster ¶ added in v6.44.0
func (o InstanceOutput) Cluster() pulumi.StringOutput
Identifies the alloydb cluster. Must be in the format 'projects/{project}/locations/{location}/clusters/{cluster_id}'
func (InstanceOutput) CreateTime ¶ added in v6.44.0
func (o InstanceOutput) CreateTime() pulumi.StringOutput
Time the Instance was created in UTC.
func (InstanceOutput) DatabaseFlags ¶ added in v6.44.0
func (o InstanceOutput) DatabaseFlags() pulumi.StringMapOutput
Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary.
func (InstanceOutput) DisplayName ¶ added in v6.44.0
func (o InstanceOutput) DisplayName() pulumi.StringPtrOutput
User-settable and human-readable display name for the Instance.
func (InstanceOutput) ElementType ¶ added in v6.44.0
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) GceZone ¶ added in v6.44.0
func (o InstanceOutput) GceZone() pulumi.StringPtrOutput
The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity.
func (InstanceOutput) InstanceId ¶ added in v6.44.0
func (o InstanceOutput) InstanceId() pulumi.StringOutput
The ID of the alloydb instance.
func (InstanceOutput) InstanceType ¶ added in v6.44.0
func (o InstanceOutput) InstanceType() pulumi.StringOutput
The type of the instance. Possible values are `PRIMARY` and `READ_POOL`.
func (InstanceOutput) IpAddress ¶ added in v6.44.0
func (o InstanceOutput) IpAddress() pulumi.StringOutput
The IP address for the Instance. This is the connection endpoint for an end-user application.
func (InstanceOutput) Labels ¶ added in v6.44.0
func (o InstanceOutput) Labels() pulumi.StringMapOutput
User-defined labels for the alloydb instance.
func (InstanceOutput) MachineConfig ¶ added in v6.44.0
func (o InstanceOutput) MachineConfig() InstanceMachineConfigOutput
Configurations for the machines that host the underlying database engine. Structure is documented below.
func (InstanceOutput) Name ¶ added in v6.44.0
func (o InstanceOutput) Name() pulumi.StringOutput
The name of the instance resource.
func (InstanceOutput) ReadPoolConfig ¶ added in v6.44.0
func (o InstanceOutput) ReadPoolConfig() InstanceReadPoolConfigPtrOutput
Read pool specific config. Structure is documented below.
func (InstanceOutput) Reconciling ¶ added in v6.44.0
func (o InstanceOutput) Reconciling() pulumi.BoolOutput
Set to true if the current state of Instance does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.
func (InstanceOutput) State ¶ added in v6.44.0
func (o InstanceOutput) State() pulumi.StringOutput
The current state of the alloydb instance.
func (InstanceOutput) ToInstanceOutput ¶ added in v6.44.0
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶ added in v6.44.0
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) Uid ¶ added in v6.44.0
func (o InstanceOutput) Uid() pulumi.StringOutput
The system-generated UID of the resource.
func (InstanceOutput) UpdateTime ¶ added in v6.44.0
func (o InstanceOutput) UpdateTime() pulumi.StringOutput
Time the Instance was updated in UTC.
type InstanceReadPoolConfig ¶ added in v6.44.0
type InstanceReadPoolConfig struct { // Read capacity, i.e. number of nodes in a read pool instance. NodeCount *int `pulumi:"nodeCount"` }
type InstanceReadPoolConfigArgs ¶ added in v6.44.0
type InstanceReadPoolConfigArgs struct { // Read capacity, i.e. number of nodes in a read pool instance. NodeCount pulumi.IntPtrInput `pulumi:"nodeCount"` }
func (InstanceReadPoolConfigArgs) ElementType ¶ added in v6.44.0
func (InstanceReadPoolConfigArgs) ElementType() reflect.Type
func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput ¶ added in v6.44.0
func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput
func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutputWithContext ¶ added in v6.44.0
func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigOutputWithContext(ctx context.Context) InstanceReadPoolConfigOutput
func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput ¶ added in v6.44.0
func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
func (InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutputWithContext ¶ added in v6.44.0
func (i InstanceReadPoolConfigArgs) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput
type InstanceReadPoolConfigInput ¶ added in v6.44.0
type InstanceReadPoolConfigInput interface { pulumi.Input ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput ToInstanceReadPoolConfigOutputWithContext(context.Context) InstanceReadPoolConfigOutput }
InstanceReadPoolConfigInput is an input type that accepts InstanceReadPoolConfigArgs and InstanceReadPoolConfigOutput values. You can construct a concrete instance of `InstanceReadPoolConfigInput` via:
InstanceReadPoolConfigArgs{...}
type InstanceReadPoolConfigOutput ¶ added in v6.44.0
type InstanceReadPoolConfigOutput struct{ *pulumi.OutputState }
func (InstanceReadPoolConfigOutput) ElementType ¶ added in v6.44.0
func (InstanceReadPoolConfigOutput) ElementType() reflect.Type
func (InstanceReadPoolConfigOutput) NodeCount ¶ added in v6.44.0
func (o InstanceReadPoolConfigOutput) NodeCount() pulumi.IntPtrOutput
Read capacity, i.e. number of nodes in a read pool instance.
func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput ¶ added in v6.44.0
func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutput() InstanceReadPoolConfigOutput
func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutputWithContext ¶ added in v6.44.0
func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigOutputWithContext(ctx context.Context) InstanceReadPoolConfigOutput
func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput ¶ added in v6.44.0
func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
func (InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutputWithContext ¶ added in v6.44.0
func (o InstanceReadPoolConfigOutput) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput
type InstanceReadPoolConfigPtrInput ¶ added in v6.44.0
type InstanceReadPoolConfigPtrInput interface { pulumi.Input ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput ToInstanceReadPoolConfigPtrOutputWithContext(context.Context) InstanceReadPoolConfigPtrOutput }
InstanceReadPoolConfigPtrInput is an input type that accepts InstanceReadPoolConfigArgs, InstanceReadPoolConfigPtr and InstanceReadPoolConfigPtrOutput values. You can construct a concrete instance of `InstanceReadPoolConfigPtrInput` via:
InstanceReadPoolConfigArgs{...} or: nil
func InstanceReadPoolConfigPtr ¶ added in v6.44.0
func InstanceReadPoolConfigPtr(v *InstanceReadPoolConfigArgs) InstanceReadPoolConfigPtrInput
type InstanceReadPoolConfigPtrOutput ¶ added in v6.44.0
type InstanceReadPoolConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceReadPoolConfigPtrOutput) Elem ¶ added in v6.44.0
func (o InstanceReadPoolConfigPtrOutput) Elem() InstanceReadPoolConfigOutput
func (InstanceReadPoolConfigPtrOutput) ElementType ¶ added in v6.44.0
func (InstanceReadPoolConfigPtrOutput) ElementType() reflect.Type
func (InstanceReadPoolConfigPtrOutput) NodeCount ¶ added in v6.44.0
func (o InstanceReadPoolConfigPtrOutput) NodeCount() pulumi.IntPtrOutput
Read capacity, i.e. number of nodes in a read pool instance.
func (InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput ¶ added in v6.44.0
func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutput() InstanceReadPoolConfigPtrOutput
func (InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutputWithContext ¶ added in v6.44.0
func (o InstanceReadPoolConfigPtrOutput) ToInstanceReadPoolConfigPtrOutputWithContext(ctx context.Context) InstanceReadPoolConfigPtrOutput
type InstanceState ¶ added in v6.44.0
type InstanceState struct { // Annotations to allow client tools to store small amount of arbitrary data. This is distinct from labels. Annotations pulumi.StringMapInput // Availability type of an Instance. Defaults to REGIONAL for both primary and read instances. Note that primary and read instances can have different availability types. // Possible values are `AVAILABILITY_TYPE_UNSPECIFIED`, `ZONAL`, and `REGIONAL`. AvailabilityType pulumi.StringPtrInput // Identifies the alloydb cluster. Must be in the format // 'projects/{project}/locations/{location}/clusters/{cluster_id}' Cluster pulumi.StringPtrInput // Time the Instance was created in UTC. CreateTime pulumi.StringPtrInput // Database flags. Set at instance level. * They are copied from primary instance on read instance creation. * Read instances can set new or override existing flags that are relevant for reads, e.g. for enabling columnar cache on a read instance. Flags set on read instance may or may not be present on primary. DatabaseFlags pulumi.StringMapInput // User-settable and human-readable display name for the Instance. DisplayName pulumi.StringPtrInput // The Compute Engine zone that the instance should serve from, per https://cloud.google.com/compute/docs/regions-zones This can ONLY be specified for ZONAL instances. If present for a REGIONAL instance, an error will be thrown. If this is absent for a ZONAL instance, instance is created in a random zone with available capacity. GceZone pulumi.StringPtrInput // The ID of the alloydb instance. InstanceId pulumi.StringPtrInput // The type of the instance. // Possible values are `PRIMARY` and `READ_POOL`. InstanceType pulumi.StringPtrInput // The IP address for the Instance. This is the connection endpoint for an end-user application. IpAddress pulumi.StringPtrInput // User-defined labels for the alloydb instance. Labels pulumi.StringMapInput // Configurations for the machines that host the underlying database engine. // Structure is documented below. MachineConfig InstanceMachineConfigPtrInput // The name of the instance resource. Name pulumi.StringPtrInput // Read pool specific config. // Structure is documented below. ReadPoolConfig InstanceReadPoolConfigPtrInput // Set to true if the current state of Instance does not match the user's intended state, and the service is actively // updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover // or maintenance. Reconciling pulumi.BoolPtrInput // The current state of the alloydb instance. State pulumi.StringPtrInput // The system-generated UID of the resource. Uid pulumi.StringPtrInput // Time the Instance was updated in UTC. UpdateTime pulumi.StringPtrInput }
func (InstanceState) ElementType ¶ added in v6.44.0
func (InstanceState) ElementType() reflect.Type