Documentation ¶
Index ¶
- type BackupSchedule
- type BackupScheduleArgs
- type BackupScheduleArray
- type BackupScheduleArrayInput
- type BackupScheduleArrayOutput
- func (BackupScheduleArrayOutput) ElementType() reflect.Type
- func (o BackupScheduleArrayOutput) Index(i pulumi.IntInput) BackupScheduleOutput
- func (o BackupScheduleArrayOutput) ToBackupScheduleArrayOutput() BackupScheduleArrayOutput
- func (o BackupScheduleArrayOutput) ToBackupScheduleArrayOutputWithContext(ctx context.Context) BackupScheduleArrayOutput
- type BackupScheduleFullBackupSpec
- type BackupScheduleFullBackupSpecArgs
- func (BackupScheduleFullBackupSpecArgs) ElementType() reflect.Type
- func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecOutput() BackupScheduleFullBackupSpecOutput
- func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecOutput
- func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput
- func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecPtrOutput
- type BackupScheduleFullBackupSpecInput
- type BackupScheduleFullBackupSpecOutput
- func (BackupScheduleFullBackupSpecOutput) ElementType() reflect.Type
- func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecOutput() BackupScheduleFullBackupSpecOutput
- func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecOutput
- func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput
- func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecPtrOutput
- type BackupScheduleFullBackupSpecPtrInput
- type BackupScheduleFullBackupSpecPtrOutput
- func (o BackupScheduleFullBackupSpecPtrOutput) Elem() BackupScheduleFullBackupSpecOutput
- func (BackupScheduleFullBackupSpecPtrOutput) ElementType() reflect.Type
- func (o BackupScheduleFullBackupSpecPtrOutput) ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput
- func (o BackupScheduleFullBackupSpecPtrOutput) ToBackupScheduleFullBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecPtrOutput
- type BackupScheduleIncrementalBackupSpec
- type BackupScheduleIncrementalBackupSpecArgs
- func (BackupScheduleIncrementalBackupSpecArgs) ElementType() reflect.Type
- func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecOutput() BackupScheduleIncrementalBackupSpecOutput
- func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecOutput
- func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput
- func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecPtrOutput
- type BackupScheduleIncrementalBackupSpecInput
- type BackupScheduleIncrementalBackupSpecOutput
- func (BackupScheduleIncrementalBackupSpecOutput) ElementType() reflect.Type
- func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecOutput() BackupScheduleIncrementalBackupSpecOutput
- func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecOutput
- func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput
- func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecPtrOutput
- type BackupScheduleIncrementalBackupSpecPtrInput
- type BackupScheduleIncrementalBackupSpecPtrOutput
- func (o BackupScheduleIncrementalBackupSpecPtrOutput) Elem() BackupScheduleIncrementalBackupSpecOutput
- func (BackupScheduleIncrementalBackupSpecPtrOutput) ElementType() reflect.Type
- func (o BackupScheduleIncrementalBackupSpecPtrOutput) ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput
- func (o BackupScheduleIncrementalBackupSpecPtrOutput) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecPtrOutput
- type BackupScheduleInput
- type BackupScheduleMap
- type BackupScheduleMapInput
- type BackupScheduleMapOutput
- func (BackupScheduleMapOutput) ElementType() reflect.Type
- func (o BackupScheduleMapOutput) MapIndex(k pulumi.StringInput) BackupScheduleOutput
- func (o BackupScheduleMapOutput) ToBackupScheduleMapOutput() BackupScheduleMapOutput
- func (o BackupScheduleMapOutput) ToBackupScheduleMapOutputWithContext(ctx context.Context) BackupScheduleMapOutput
- type BackupScheduleOutput
- func (o BackupScheduleOutput) Database() pulumi.StringOutput
- func (BackupScheduleOutput) ElementType() reflect.Type
- func (o BackupScheduleOutput) FullBackupSpec() BackupScheduleFullBackupSpecPtrOutput
- func (o BackupScheduleOutput) IncrementalBackupSpec() BackupScheduleIncrementalBackupSpecPtrOutput
- func (o BackupScheduleOutput) Instance() pulumi.StringOutput
- func (o BackupScheduleOutput) Name() pulumi.StringOutput
- func (o BackupScheduleOutput) Project() pulumi.StringOutput
- func (o BackupScheduleOutput) RetentionDuration() pulumi.StringOutput
- func (o BackupScheduleOutput) Spec() BackupScheduleSpecPtrOutput
- func (o BackupScheduleOutput) ToBackupScheduleOutput() BackupScheduleOutput
- func (o BackupScheduleOutput) ToBackupScheduleOutputWithContext(ctx context.Context) BackupScheduleOutput
- type BackupScheduleSpec
- type BackupScheduleSpecArgs
- func (BackupScheduleSpecArgs) ElementType() reflect.Type
- func (i BackupScheduleSpecArgs) ToBackupScheduleSpecOutput() BackupScheduleSpecOutput
- func (i BackupScheduleSpecArgs) ToBackupScheduleSpecOutputWithContext(ctx context.Context) BackupScheduleSpecOutput
- func (i BackupScheduleSpecArgs) ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput
- func (i BackupScheduleSpecArgs) ToBackupScheduleSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecPtrOutput
- type BackupScheduleSpecCronSpec
- type BackupScheduleSpecCronSpecArgs
- func (BackupScheduleSpecCronSpecArgs) ElementType() reflect.Type
- func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecOutput() BackupScheduleSpecCronSpecOutput
- func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecOutput
- func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput
- func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecPtrOutput
- type BackupScheduleSpecCronSpecInput
- type BackupScheduleSpecCronSpecOutput
- func (BackupScheduleSpecCronSpecOutput) ElementType() reflect.Type
- func (o BackupScheduleSpecCronSpecOutput) Text() pulumi.StringPtrOutput
- func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecOutput() BackupScheduleSpecCronSpecOutput
- func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecOutput
- func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput
- func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecPtrOutput
- type BackupScheduleSpecCronSpecPtrInput
- type BackupScheduleSpecCronSpecPtrOutput
- func (o BackupScheduleSpecCronSpecPtrOutput) Elem() BackupScheduleSpecCronSpecOutput
- func (BackupScheduleSpecCronSpecPtrOutput) ElementType() reflect.Type
- func (o BackupScheduleSpecCronSpecPtrOutput) Text() pulumi.StringPtrOutput
- func (o BackupScheduleSpecCronSpecPtrOutput) ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput
- func (o BackupScheduleSpecCronSpecPtrOutput) ToBackupScheduleSpecCronSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecPtrOutput
- type BackupScheduleSpecInput
- type BackupScheduleSpecOutput
- func (o BackupScheduleSpecOutput) CronSpec() BackupScheduleSpecCronSpecPtrOutput
- func (BackupScheduleSpecOutput) ElementType() reflect.Type
- func (o BackupScheduleSpecOutput) ToBackupScheduleSpecOutput() BackupScheduleSpecOutput
- func (o BackupScheduleSpecOutput) ToBackupScheduleSpecOutputWithContext(ctx context.Context) BackupScheduleSpecOutput
- func (o BackupScheduleSpecOutput) ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput
- func (o BackupScheduleSpecOutput) ToBackupScheduleSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecPtrOutput
- type BackupScheduleSpecPtrInput
- type BackupScheduleSpecPtrOutput
- func (o BackupScheduleSpecPtrOutput) CronSpec() BackupScheduleSpecCronSpecPtrOutput
- func (o BackupScheduleSpecPtrOutput) Elem() BackupScheduleSpecOutput
- func (BackupScheduleSpecPtrOutput) ElementType() reflect.Type
- func (o BackupScheduleSpecPtrOutput) ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput
- func (o BackupScheduleSpecPtrOutput) ToBackupScheduleSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecPtrOutput
- type BackupScheduleState
- type Database
- type DatabaseArgs
- type DatabaseArray
- type DatabaseArrayInput
- type DatabaseArrayOutput
- type DatabaseEncryptionConfig
- type DatabaseEncryptionConfigArgs
- func (DatabaseEncryptionConfigArgs) ElementType() reflect.Type
- func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigOutput() DatabaseEncryptionConfigOutput
- func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigOutputWithContext(ctx context.Context) DatabaseEncryptionConfigOutput
- func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput
- func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigPtrOutput
- type DatabaseEncryptionConfigInput
- type DatabaseEncryptionConfigOutput
- func (DatabaseEncryptionConfigOutput) ElementType() reflect.Type
- func (o DatabaseEncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o DatabaseEncryptionConfigOutput) KmsKeyNames() pulumi.StringArrayOutput
- func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigOutput() DatabaseEncryptionConfigOutput
- func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigOutputWithContext(ctx context.Context) DatabaseEncryptionConfigOutput
- func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput
- func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigPtrOutput
- type DatabaseEncryptionConfigPtrInput
- type DatabaseEncryptionConfigPtrOutput
- func (o DatabaseEncryptionConfigPtrOutput) Elem() DatabaseEncryptionConfigOutput
- func (DatabaseEncryptionConfigPtrOutput) ElementType() reflect.Type
- func (o DatabaseEncryptionConfigPtrOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o DatabaseEncryptionConfigPtrOutput) KmsKeyNames() pulumi.StringArrayOutput
- func (o DatabaseEncryptionConfigPtrOutput) ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput
- func (o DatabaseEncryptionConfigPtrOutput) ToDatabaseEncryptionConfigPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigPtrOutput
- type DatabaseIAMBinding
- type DatabaseIAMBindingArgs
- type DatabaseIAMBindingArray
- type DatabaseIAMBindingArrayInput
- type DatabaseIAMBindingArrayOutput
- func (DatabaseIAMBindingArrayOutput) ElementType() reflect.Type
- func (o DatabaseIAMBindingArrayOutput) Index(i pulumi.IntInput) DatabaseIAMBindingOutput
- func (o DatabaseIAMBindingArrayOutput) ToDatabaseIAMBindingArrayOutput() DatabaseIAMBindingArrayOutput
- func (o DatabaseIAMBindingArrayOutput) ToDatabaseIAMBindingArrayOutputWithContext(ctx context.Context) DatabaseIAMBindingArrayOutput
- type DatabaseIAMBindingCondition
- type DatabaseIAMBindingConditionArgs
- func (DatabaseIAMBindingConditionArgs) ElementType() reflect.Type
- func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionOutput() DatabaseIAMBindingConditionOutput
- func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionOutput
- func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput
- func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionPtrOutput
- type DatabaseIAMBindingConditionInput
- type DatabaseIAMBindingConditionOutput
- func (o DatabaseIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (DatabaseIAMBindingConditionOutput) ElementType() reflect.Type
- func (o DatabaseIAMBindingConditionOutput) Expression() pulumi.StringOutput
- func (o DatabaseIAMBindingConditionOutput) Title() pulumi.StringOutput
- func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionOutput() DatabaseIAMBindingConditionOutput
- func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionOutput
- func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput
- func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionPtrOutput
- type DatabaseIAMBindingConditionPtrInput
- type DatabaseIAMBindingConditionPtrOutput
- func (o DatabaseIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o DatabaseIAMBindingConditionPtrOutput) Elem() DatabaseIAMBindingConditionOutput
- func (DatabaseIAMBindingConditionPtrOutput) ElementType() reflect.Type
- func (o DatabaseIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o DatabaseIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o DatabaseIAMBindingConditionPtrOutput) ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput
- func (o DatabaseIAMBindingConditionPtrOutput) ToDatabaseIAMBindingConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionPtrOutput
- type DatabaseIAMBindingInput
- type DatabaseIAMBindingMap
- type DatabaseIAMBindingMapInput
- type DatabaseIAMBindingMapOutput
- func (DatabaseIAMBindingMapOutput) ElementType() reflect.Type
- func (o DatabaseIAMBindingMapOutput) MapIndex(k pulumi.StringInput) DatabaseIAMBindingOutput
- func (o DatabaseIAMBindingMapOutput) ToDatabaseIAMBindingMapOutput() DatabaseIAMBindingMapOutput
- func (o DatabaseIAMBindingMapOutput) ToDatabaseIAMBindingMapOutputWithContext(ctx context.Context) DatabaseIAMBindingMapOutput
- type DatabaseIAMBindingOutput
- func (o DatabaseIAMBindingOutput) Condition() DatabaseIAMBindingConditionPtrOutput
- func (o DatabaseIAMBindingOutput) Database() pulumi.StringOutput
- func (DatabaseIAMBindingOutput) ElementType() reflect.Type
- func (o DatabaseIAMBindingOutput) Etag() pulumi.StringOutput
- func (o DatabaseIAMBindingOutput) Instance() pulumi.StringOutput
- func (o DatabaseIAMBindingOutput) Members() pulumi.StringArrayOutput
- func (o DatabaseIAMBindingOutput) Project() pulumi.StringOutput
- func (o DatabaseIAMBindingOutput) Role() pulumi.StringOutput
- func (o DatabaseIAMBindingOutput) ToDatabaseIAMBindingOutput() DatabaseIAMBindingOutput
- func (o DatabaseIAMBindingOutput) ToDatabaseIAMBindingOutputWithContext(ctx context.Context) DatabaseIAMBindingOutput
- type DatabaseIAMBindingState
- type DatabaseIAMMember
- type DatabaseIAMMemberArgs
- type DatabaseIAMMemberArray
- type DatabaseIAMMemberArrayInput
- type DatabaseIAMMemberArrayOutput
- func (DatabaseIAMMemberArrayOutput) ElementType() reflect.Type
- func (o DatabaseIAMMemberArrayOutput) Index(i pulumi.IntInput) DatabaseIAMMemberOutput
- func (o DatabaseIAMMemberArrayOutput) ToDatabaseIAMMemberArrayOutput() DatabaseIAMMemberArrayOutput
- func (o DatabaseIAMMemberArrayOutput) ToDatabaseIAMMemberArrayOutputWithContext(ctx context.Context) DatabaseIAMMemberArrayOutput
- type DatabaseIAMMemberCondition
- type DatabaseIAMMemberConditionArgs
- func (DatabaseIAMMemberConditionArgs) ElementType() reflect.Type
- func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionOutput() DatabaseIAMMemberConditionOutput
- func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionOutput
- func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput
- func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionPtrOutput
- type DatabaseIAMMemberConditionInput
- type DatabaseIAMMemberConditionOutput
- func (o DatabaseIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (DatabaseIAMMemberConditionOutput) ElementType() reflect.Type
- func (o DatabaseIAMMemberConditionOutput) Expression() pulumi.StringOutput
- func (o DatabaseIAMMemberConditionOutput) Title() pulumi.StringOutput
- func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionOutput() DatabaseIAMMemberConditionOutput
- func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionOutput
- func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput
- func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionPtrOutput
- type DatabaseIAMMemberConditionPtrInput
- type DatabaseIAMMemberConditionPtrOutput
- func (o DatabaseIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o DatabaseIAMMemberConditionPtrOutput) Elem() DatabaseIAMMemberConditionOutput
- func (DatabaseIAMMemberConditionPtrOutput) ElementType() reflect.Type
- func (o DatabaseIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o DatabaseIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o DatabaseIAMMemberConditionPtrOutput) ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput
- func (o DatabaseIAMMemberConditionPtrOutput) ToDatabaseIAMMemberConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionPtrOutput
- type DatabaseIAMMemberInput
- type DatabaseIAMMemberMap
- type DatabaseIAMMemberMapInput
- type DatabaseIAMMemberMapOutput
- func (DatabaseIAMMemberMapOutput) ElementType() reflect.Type
- func (o DatabaseIAMMemberMapOutput) MapIndex(k pulumi.StringInput) DatabaseIAMMemberOutput
- func (o DatabaseIAMMemberMapOutput) ToDatabaseIAMMemberMapOutput() DatabaseIAMMemberMapOutput
- func (o DatabaseIAMMemberMapOutput) ToDatabaseIAMMemberMapOutputWithContext(ctx context.Context) DatabaseIAMMemberMapOutput
- type DatabaseIAMMemberOutput
- func (o DatabaseIAMMemberOutput) Condition() DatabaseIAMMemberConditionPtrOutput
- func (o DatabaseIAMMemberOutput) Database() pulumi.StringOutput
- func (DatabaseIAMMemberOutput) ElementType() reflect.Type
- func (o DatabaseIAMMemberOutput) Etag() pulumi.StringOutput
- func (o DatabaseIAMMemberOutput) Instance() pulumi.StringOutput
- func (o DatabaseIAMMemberOutput) Member() pulumi.StringOutput
- func (o DatabaseIAMMemberOutput) Project() pulumi.StringOutput
- func (o DatabaseIAMMemberOutput) Role() pulumi.StringOutput
- func (o DatabaseIAMMemberOutput) ToDatabaseIAMMemberOutput() DatabaseIAMMemberOutput
- func (o DatabaseIAMMemberOutput) ToDatabaseIAMMemberOutputWithContext(ctx context.Context) DatabaseIAMMemberOutput
- type DatabaseIAMMemberState
- type DatabaseIAMPolicy
- type DatabaseIAMPolicyArgs
- type DatabaseIAMPolicyArray
- type DatabaseIAMPolicyArrayInput
- type DatabaseIAMPolicyArrayOutput
- func (DatabaseIAMPolicyArrayOutput) ElementType() reflect.Type
- func (o DatabaseIAMPolicyArrayOutput) Index(i pulumi.IntInput) DatabaseIAMPolicyOutput
- func (o DatabaseIAMPolicyArrayOutput) ToDatabaseIAMPolicyArrayOutput() DatabaseIAMPolicyArrayOutput
- func (o DatabaseIAMPolicyArrayOutput) ToDatabaseIAMPolicyArrayOutputWithContext(ctx context.Context) DatabaseIAMPolicyArrayOutput
- type DatabaseIAMPolicyInput
- type DatabaseIAMPolicyMap
- type DatabaseIAMPolicyMapInput
- type DatabaseIAMPolicyMapOutput
- func (DatabaseIAMPolicyMapOutput) ElementType() reflect.Type
- func (o DatabaseIAMPolicyMapOutput) MapIndex(k pulumi.StringInput) DatabaseIAMPolicyOutput
- func (o DatabaseIAMPolicyMapOutput) ToDatabaseIAMPolicyMapOutput() DatabaseIAMPolicyMapOutput
- func (o DatabaseIAMPolicyMapOutput) ToDatabaseIAMPolicyMapOutputWithContext(ctx context.Context) DatabaseIAMPolicyMapOutput
- type DatabaseIAMPolicyOutput
- func (o DatabaseIAMPolicyOutput) Database() pulumi.StringOutput
- func (DatabaseIAMPolicyOutput) ElementType() reflect.Type
- func (o DatabaseIAMPolicyOutput) Etag() pulumi.StringOutput
- func (o DatabaseIAMPolicyOutput) Instance() pulumi.StringOutput
- func (o DatabaseIAMPolicyOutput) PolicyData() pulumi.StringOutput
- func (o DatabaseIAMPolicyOutput) Project() pulumi.StringOutput
- func (o DatabaseIAMPolicyOutput) ToDatabaseIAMPolicyOutput() DatabaseIAMPolicyOutput
- func (o DatabaseIAMPolicyOutput) ToDatabaseIAMPolicyOutputWithContext(ctx context.Context) DatabaseIAMPolicyOutput
- type DatabaseIAMPolicyState
- type DatabaseInput
- type DatabaseMap
- type DatabaseMapInput
- type DatabaseMapOutput
- type DatabaseOutput
- func (o DatabaseOutput) DatabaseDialect() pulumi.StringOutput
- func (o DatabaseOutput) Ddls() pulumi.StringArrayOutput
- func (o DatabaseOutput) DeletionProtection() pulumi.BoolPtrOutput
- func (DatabaseOutput) ElementType() reflect.Type
- func (o DatabaseOutput) EnableDropProtection() pulumi.BoolPtrOutput
- func (o DatabaseOutput) EncryptionConfig() DatabaseEncryptionConfigPtrOutput
- func (o DatabaseOutput) Instance() pulumi.StringOutput
- func (o DatabaseOutput) Name() pulumi.StringOutput
- func (o DatabaseOutput) Project() pulumi.StringOutput
- func (o DatabaseOutput) State() pulumi.StringOutput
- func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
- func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
- func (o DatabaseOutput) VersionRetentionPeriod() pulumi.StringOutput
- type DatabaseState
- type GetDatabaseEncryptionConfig
- type GetDatabaseEncryptionConfigArgs
- func (GetDatabaseEncryptionConfigArgs) ElementType() reflect.Type
- func (i GetDatabaseEncryptionConfigArgs) ToGetDatabaseEncryptionConfigOutput() GetDatabaseEncryptionConfigOutput
- func (i GetDatabaseEncryptionConfigArgs) ToGetDatabaseEncryptionConfigOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigOutput
- type GetDatabaseEncryptionConfigArray
- func (GetDatabaseEncryptionConfigArray) ElementType() reflect.Type
- func (i GetDatabaseEncryptionConfigArray) ToGetDatabaseEncryptionConfigArrayOutput() GetDatabaseEncryptionConfigArrayOutput
- func (i GetDatabaseEncryptionConfigArray) ToGetDatabaseEncryptionConfigArrayOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigArrayOutput
- type GetDatabaseEncryptionConfigArrayInput
- type GetDatabaseEncryptionConfigArrayOutput
- func (GetDatabaseEncryptionConfigArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseEncryptionConfigArrayOutput) Index(i pulumi.IntInput) GetDatabaseEncryptionConfigOutput
- func (o GetDatabaseEncryptionConfigArrayOutput) ToGetDatabaseEncryptionConfigArrayOutput() GetDatabaseEncryptionConfigArrayOutput
- func (o GetDatabaseEncryptionConfigArrayOutput) ToGetDatabaseEncryptionConfigArrayOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigArrayOutput
- type GetDatabaseEncryptionConfigInput
- type GetDatabaseEncryptionConfigOutput
- func (GetDatabaseEncryptionConfigOutput) ElementType() reflect.Type
- func (o GetDatabaseEncryptionConfigOutput) KmsKeyName() pulumi.StringOutput
- func (o GetDatabaseEncryptionConfigOutput) KmsKeyNames() pulumi.StringArrayOutput
- func (o GetDatabaseEncryptionConfigOutput) ToGetDatabaseEncryptionConfigOutput() GetDatabaseEncryptionConfigOutput
- func (o GetDatabaseEncryptionConfigOutput) ToGetDatabaseEncryptionConfigOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigOutput
- type GetDatabaseIamPolicyArgs
- type GetDatabaseIamPolicyOutputArgs
- type GetDatabaseIamPolicyResult
- type GetDatabaseIamPolicyResultOutput
- func (o GetDatabaseIamPolicyResultOutput) Database() pulumi.StringOutput
- func (GetDatabaseIamPolicyResultOutput) ElementType() reflect.Type
- func (o GetDatabaseIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o GetDatabaseIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o GetDatabaseIamPolicyResultOutput) Instance() pulumi.StringOutput
- func (o GetDatabaseIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o GetDatabaseIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o GetDatabaseIamPolicyResultOutput) ToGetDatabaseIamPolicyResultOutput() GetDatabaseIamPolicyResultOutput
- func (o GetDatabaseIamPolicyResultOutput) ToGetDatabaseIamPolicyResultOutputWithContext(ctx context.Context) GetDatabaseIamPolicyResultOutput
- type GetInstanceAutoscalingConfig
- type GetInstanceAutoscalingConfigArgs
- func (GetInstanceAutoscalingConfigArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigArgs) ToGetInstanceAutoscalingConfigOutput() GetInstanceAutoscalingConfigOutput
- func (i GetInstanceAutoscalingConfigArgs) ToGetInstanceAutoscalingConfigOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigOutput
- type GetInstanceAutoscalingConfigArray
- func (GetInstanceAutoscalingConfigArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigArray) ToGetInstanceAutoscalingConfigArrayOutput() GetInstanceAutoscalingConfigArrayOutput
- func (i GetInstanceAutoscalingConfigArray) ToGetInstanceAutoscalingConfigArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigArrayOutput
- type GetInstanceAutoscalingConfigArrayInput
- type GetInstanceAutoscalingConfigArrayOutput
- func (GetInstanceAutoscalingConfigArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigArrayOutput) Index(i pulumi.IntInput) GetInstanceAutoscalingConfigOutput
- func (o GetInstanceAutoscalingConfigArrayOutput) ToGetInstanceAutoscalingConfigArrayOutput() GetInstanceAutoscalingConfigArrayOutput
- func (o GetInstanceAutoscalingConfigArrayOutput) ToGetInstanceAutoscalingConfigArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigArrayOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOption
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) Index(i pulumi.IntInput) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) Overrides() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ReplicaSelections() ...
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverride
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) Index(i pulumi.IntInput) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimit
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput() ...
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext(ctx context.Context) ...
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput() ...
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext(ctx context.Context) ...
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) Index(i pulumi.IntInput) ...
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput() ...
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext(ctx context.Context) ...
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) MaxNodes() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) MinNodes() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput() ...
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext(ctx context.Context) ...
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) AutoscalingLimits() ...
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput() ...
- func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext(ctx context.Context) ...
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) Index(i pulumi.IntInput) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput() ...
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext(ctx context.Context) ...
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput
- type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) Location() pulumi.StringOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- type GetInstanceAutoscalingConfigAutoscalingLimit
- type GetInstanceAutoscalingConfigAutoscalingLimitArgs
- func (GetInstanceAutoscalingConfigAutoscalingLimitArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAutoscalingLimitOutput() GetInstanceAutoscalingConfigAutoscalingLimitOutput
- func (i GetInstanceAutoscalingConfigAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitOutput
- type GetInstanceAutoscalingConfigAutoscalingLimitArray
- func (GetInstanceAutoscalingConfigAutoscalingLimitArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
- func (i GetInstanceAutoscalingConfigAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
- type GetInstanceAutoscalingConfigAutoscalingLimitArrayInput
- type GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
- func (GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) Index(i pulumi.IntInput) GetInstanceAutoscalingConfigAutoscalingLimitOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
- type GetInstanceAutoscalingConfigAutoscalingLimitInput
- type GetInstanceAutoscalingConfigAutoscalingLimitOutput
- func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MaxNodes() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MaxProcessingUnits() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MinNodes() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MinProcessingUnits() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitOutput() GetInstanceAutoscalingConfigAutoscalingLimitOutput
- func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitOutput
- type GetInstanceAutoscalingConfigAutoscalingTarget
- type GetInstanceAutoscalingConfigAutoscalingTargetArgs
- func (GetInstanceAutoscalingConfigAutoscalingTargetArgs) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAutoscalingTargetArgs) ToGetInstanceAutoscalingConfigAutoscalingTargetOutput() GetInstanceAutoscalingConfigAutoscalingTargetOutput
- func (i GetInstanceAutoscalingConfigAutoscalingTargetArgs) ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetOutput
- type GetInstanceAutoscalingConfigAutoscalingTargetArray
- func (GetInstanceAutoscalingConfigAutoscalingTargetArray) ElementType() reflect.Type
- func (i GetInstanceAutoscalingConfigAutoscalingTargetArray) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
- func (i GetInstanceAutoscalingConfigAutoscalingTargetArray) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
- type GetInstanceAutoscalingConfigAutoscalingTargetArrayInput
- type GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
- func (GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) Index(i pulumi.IntInput) GetInstanceAutoscalingConfigAutoscalingTargetOutput
- func (o GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
- func (o GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
- type GetInstanceAutoscalingConfigAutoscalingTargetInput
- type GetInstanceAutoscalingConfigAutoscalingTargetOutput
- func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) HighPriorityCpuUtilizationPercent() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) StorageUtilizationPercent() pulumi.IntOutput
- func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetOutput() GetInstanceAutoscalingConfigAutoscalingTargetOutput
- func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetOutput
- type GetInstanceAutoscalingConfigInput
- type GetInstanceAutoscalingConfigOutput
- func (o GetInstanceAutoscalingConfigOutput) AsymmetricAutoscalingOptions() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (o GetInstanceAutoscalingConfigOutput) AutoscalingLimits() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
- func (o GetInstanceAutoscalingConfigOutput) AutoscalingTargets() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
- func (GetInstanceAutoscalingConfigOutput) ElementType() reflect.Type
- func (o GetInstanceAutoscalingConfigOutput) ToGetInstanceAutoscalingConfigOutput() GetInstanceAutoscalingConfigOutput
- func (o GetInstanceAutoscalingConfigOutput) ToGetInstanceAutoscalingConfigOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigOutput
- type GetInstanceIamPolicyArgs
- type GetInstanceIamPolicyOutputArgs
- type GetInstanceIamPolicyResult
- type GetInstanceIamPolicyResultOutput
- func (GetInstanceIamPolicyResultOutput) ElementType() reflect.Type
- func (o GetInstanceIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o GetInstanceIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o GetInstanceIamPolicyResultOutput) Instance() pulumi.StringOutput
- func (o GetInstanceIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o GetInstanceIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o GetInstanceIamPolicyResultOutput) ToGetInstanceIamPolicyResultOutput() GetInstanceIamPolicyResultOutput
- func (o GetInstanceIamPolicyResultOutput) ToGetInstanceIamPolicyResultOutputWithContext(ctx context.Context) GetInstanceIamPolicyResultOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceAutoscalingConfig
- type InstanceAutoscalingConfigArgs
- func (InstanceAutoscalingConfigArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigOutput() InstanceAutoscalingConfigOutput
- func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigOutputWithContext(ctx context.Context) InstanceAutoscalingConfigOutput
- func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput
- func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigPtrOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOption
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) Index(i pulumi.IntInput) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionInput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) Overrides() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ReplicaSelection() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrides
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimits
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput() ...
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext(ctx context.Context) ...
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsInput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) MaxNodes() pulumi.IntOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) MinNodes() pulumi.IntOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput() ...
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext(ctx context.Context) ...
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesInput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) AutoscalingLimits() ...
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput
- type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) Location() pulumi.StringOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
- type InstanceAutoscalingConfigAutoscalingLimits
- type InstanceAutoscalingConfigAutoscalingLimitsArgs
- func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsOutput() InstanceAutoscalingConfigAutoscalingLimitsOutput
- func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsOutput
- func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- type InstanceAutoscalingConfigAutoscalingLimitsInput
- type InstanceAutoscalingConfigAutoscalingLimitsOutput
- func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MaxNodes() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MaxProcessingUnits() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MinNodes() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MinProcessingUnits() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsOutput() InstanceAutoscalingConfigAutoscalingLimitsOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- type InstanceAutoscalingConfigAutoscalingLimitsPtrInput
- type InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) Elem() InstanceAutoscalingConfigAutoscalingLimitsOutput
- func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MaxNodes() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MaxProcessingUnits() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MinNodes() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MinProcessingUnits() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- type InstanceAutoscalingConfigAutoscalingTargets
- type InstanceAutoscalingConfigAutoscalingTargetsArgs
- func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ElementType() reflect.Type
- func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsOutput() InstanceAutoscalingConfigAutoscalingTargetsOutput
- func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsOutput
- func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- type InstanceAutoscalingConfigAutoscalingTargetsInput
- type InstanceAutoscalingConfigAutoscalingTargetsOutput
- func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) HighPriorityCpuUtilizationPercent() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) StorageUtilizationPercent() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsOutput() InstanceAutoscalingConfigAutoscalingTargetsOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- type InstanceAutoscalingConfigAutoscalingTargetsPtrInput
- type InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) Elem() InstanceAutoscalingConfigAutoscalingTargetsOutput
- func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) HighPriorityCpuUtilizationPercent() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) StorageUtilizationPercent() pulumi.IntPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- type InstanceAutoscalingConfigInput
- type InstanceAutoscalingConfigOutput
- func (o InstanceAutoscalingConfigOutput) AsymmetricAutoscalingOptions() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (o InstanceAutoscalingConfigOutput) AutoscalingLimits() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- func (o InstanceAutoscalingConfigOutput) AutoscalingTargets() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- func (InstanceAutoscalingConfigOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigOutput() InstanceAutoscalingConfigOutput
- func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigOutputWithContext(ctx context.Context) InstanceAutoscalingConfigOutput
- func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput
- func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigPtrOutput
- type InstanceAutoscalingConfigPtrInput
- type InstanceAutoscalingConfigPtrOutput
- func (o InstanceAutoscalingConfigPtrOutput) AsymmetricAutoscalingOptions() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
- func (o InstanceAutoscalingConfigPtrOutput) AutoscalingLimits() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
- func (o InstanceAutoscalingConfigPtrOutput) AutoscalingTargets() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
- func (o InstanceAutoscalingConfigPtrOutput) Elem() InstanceAutoscalingConfigOutput
- func (InstanceAutoscalingConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceAutoscalingConfigPtrOutput) ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput
- func (o InstanceAutoscalingConfigPtrOutput) ToInstanceAutoscalingConfigPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigPtrOutput
- type InstanceConfig
- type InstanceConfigArgs
- type InstanceConfigArray
- type InstanceConfigArrayInput
- type InstanceConfigArrayOutput
- func (InstanceConfigArrayOutput) ElementType() reflect.Type
- func (o InstanceConfigArrayOutput) Index(i pulumi.IntInput) InstanceConfigOutput
- func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutput() InstanceConfigArrayOutput
- func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutputWithContext(ctx context.Context) InstanceConfigArrayOutput
- type InstanceConfigInput
- type InstanceConfigMap
- type InstanceConfigMapInput
- type InstanceConfigMapOutput
- func (InstanceConfigMapOutput) ElementType() reflect.Type
- func (o InstanceConfigMapOutput) MapIndex(k pulumi.StringInput) InstanceConfigOutput
- func (o InstanceConfigMapOutput) ToInstanceConfigMapOutput() InstanceConfigMapOutput
- func (o InstanceConfigMapOutput) ToInstanceConfigMapOutputWithContext(ctx context.Context) InstanceConfigMapOutput
- type InstanceConfigOutput
- func (o InstanceConfigOutput) BaseConfig() pulumi.StringOutput
- func (o InstanceConfigOutput) ConfigType() pulumi.StringOutput
- func (o InstanceConfigOutput) DisplayName() pulumi.StringOutput
- func (o InstanceConfigOutput) EffectiveLabels() pulumi.StringMapOutput
- func (InstanceConfigOutput) ElementType() reflect.Type
- func (o InstanceConfigOutput) Labels() pulumi.StringMapOutput
- func (o InstanceConfigOutput) Name() pulumi.StringOutput
- func (o InstanceConfigOutput) Project() pulumi.StringOutput
- func (o InstanceConfigOutput) PulumiLabels() pulumi.StringMapOutput
- func (o InstanceConfigOutput) Replicas() InstanceConfigReplicaArrayOutput
- func (o InstanceConfigOutput) ToInstanceConfigOutput() InstanceConfigOutput
- func (o InstanceConfigOutput) ToInstanceConfigOutputWithContext(ctx context.Context) InstanceConfigOutput
- type InstanceConfigReplica
- type InstanceConfigReplicaArgs
- type InstanceConfigReplicaArray
- func (InstanceConfigReplicaArray) ElementType() reflect.Type
- func (i InstanceConfigReplicaArray) ToInstanceConfigReplicaArrayOutput() InstanceConfigReplicaArrayOutput
- func (i InstanceConfigReplicaArray) ToInstanceConfigReplicaArrayOutputWithContext(ctx context.Context) InstanceConfigReplicaArrayOutput
- type InstanceConfigReplicaArrayInput
- type InstanceConfigReplicaArrayOutput
- func (InstanceConfigReplicaArrayOutput) ElementType() reflect.Type
- func (o InstanceConfigReplicaArrayOutput) Index(i pulumi.IntInput) InstanceConfigReplicaOutput
- func (o InstanceConfigReplicaArrayOutput) ToInstanceConfigReplicaArrayOutput() InstanceConfigReplicaArrayOutput
- func (o InstanceConfigReplicaArrayOutput) ToInstanceConfigReplicaArrayOutputWithContext(ctx context.Context) InstanceConfigReplicaArrayOutput
- type InstanceConfigReplicaInput
- type InstanceConfigReplicaOutput
- func (o InstanceConfigReplicaOutput) DefaultLeaderLocation() pulumi.BoolPtrOutput
- func (InstanceConfigReplicaOutput) ElementType() reflect.Type
- func (o InstanceConfigReplicaOutput) Location() pulumi.StringPtrOutput
- func (o InstanceConfigReplicaOutput) ToInstanceConfigReplicaOutput() InstanceConfigReplicaOutput
- func (o InstanceConfigReplicaOutput) ToInstanceConfigReplicaOutputWithContext(ctx context.Context) InstanceConfigReplicaOutput
- func (o InstanceConfigReplicaOutput) Type() pulumi.StringPtrOutput
- type InstanceConfigState
- type InstanceIAMBinding
- type InstanceIAMBindingArgs
- type InstanceIAMBindingArray
- type InstanceIAMBindingArrayInput
- type InstanceIAMBindingArrayOutput
- func (InstanceIAMBindingArrayOutput) ElementType() reflect.Type
- func (o InstanceIAMBindingArrayOutput) Index(i pulumi.IntInput) InstanceIAMBindingOutput
- func (o InstanceIAMBindingArrayOutput) ToInstanceIAMBindingArrayOutput() InstanceIAMBindingArrayOutput
- func (o InstanceIAMBindingArrayOutput) ToInstanceIAMBindingArrayOutputWithContext(ctx context.Context) InstanceIAMBindingArrayOutput
- type InstanceIAMBindingCondition
- type InstanceIAMBindingConditionArgs
- func (InstanceIAMBindingConditionArgs) ElementType() reflect.Type
- func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionOutput() InstanceIAMBindingConditionOutput
- func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionOutputWithContext(ctx context.Context) InstanceIAMBindingConditionOutput
- func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput
- func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIAMBindingConditionPtrOutput
- type InstanceIAMBindingConditionInput
- type InstanceIAMBindingConditionOutput
- func (o InstanceIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (InstanceIAMBindingConditionOutput) ElementType() reflect.Type
- func (o InstanceIAMBindingConditionOutput) Expression() pulumi.StringOutput
- func (o InstanceIAMBindingConditionOutput) Title() pulumi.StringOutput
- func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionOutput() InstanceIAMBindingConditionOutput
- func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionOutputWithContext(ctx context.Context) InstanceIAMBindingConditionOutput
- func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput
- func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIAMBindingConditionPtrOutput
- type InstanceIAMBindingConditionPtrInput
- type InstanceIAMBindingConditionPtrOutput
- func (o InstanceIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceIAMBindingConditionPtrOutput) Elem() InstanceIAMBindingConditionOutput
- func (InstanceIAMBindingConditionPtrOutput) ElementType() reflect.Type
- func (o InstanceIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o InstanceIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o InstanceIAMBindingConditionPtrOutput) ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput
- func (o InstanceIAMBindingConditionPtrOutput) ToInstanceIAMBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIAMBindingConditionPtrOutput
- type InstanceIAMBindingInput
- type InstanceIAMBindingMap
- type InstanceIAMBindingMapInput
- type InstanceIAMBindingMapOutput
- func (InstanceIAMBindingMapOutput) ElementType() reflect.Type
- func (o InstanceIAMBindingMapOutput) MapIndex(k pulumi.StringInput) InstanceIAMBindingOutput
- func (o InstanceIAMBindingMapOutput) ToInstanceIAMBindingMapOutput() InstanceIAMBindingMapOutput
- func (o InstanceIAMBindingMapOutput) ToInstanceIAMBindingMapOutputWithContext(ctx context.Context) InstanceIAMBindingMapOutput
- type InstanceIAMBindingOutput
- func (o InstanceIAMBindingOutput) Condition() InstanceIAMBindingConditionPtrOutput
- func (InstanceIAMBindingOutput) ElementType() reflect.Type
- func (o InstanceIAMBindingOutput) Etag() pulumi.StringOutput
- func (o InstanceIAMBindingOutput) Instance() pulumi.StringOutput
- func (o InstanceIAMBindingOutput) Members() pulumi.StringArrayOutput
- func (o InstanceIAMBindingOutput) Project() pulumi.StringOutput
- func (o InstanceIAMBindingOutput) Role() pulumi.StringOutput
- func (o InstanceIAMBindingOutput) ToInstanceIAMBindingOutput() InstanceIAMBindingOutput
- func (o InstanceIAMBindingOutput) ToInstanceIAMBindingOutputWithContext(ctx context.Context) InstanceIAMBindingOutput
- type InstanceIAMBindingState
- type InstanceIAMMember
- type InstanceIAMMemberArgs
- type InstanceIAMMemberArray
- type InstanceIAMMemberArrayInput
- type InstanceIAMMemberArrayOutput
- func (InstanceIAMMemberArrayOutput) ElementType() reflect.Type
- func (o InstanceIAMMemberArrayOutput) Index(i pulumi.IntInput) InstanceIAMMemberOutput
- func (o InstanceIAMMemberArrayOutput) ToInstanceIAMMemberArrayOutput() InstanceIAMMemberArrayOutput
- func (o InstanceIAMMemberArrayOutput) ToInstanceIAMMemberArrayOutputWithContext(ctx context.Context) InstanceIAMMemberArrayOutput
- type InstanceIAMMemberCondition
- type InstanceIAMMemberConditionArgs
- func (InstanceIAMMemberConditionArgs) ElementType() reflect.Type
- func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionOutput() InstanceIAMMemberConditionOutput
- func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionOutputWithContext(ctx context.Context) InstanceIAMMemberConditionOutput
- func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput
- func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIAMMemberConditionPtrOutput
- type InstanceIAMMemberConditionInput
- type InstanceIAMMemberConditionOutput
- func (o InstanceIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (InstanceIAMMemberConditionOutput) ElementType() reflect.Type
- func (o InstanceIAMMemberConditionOutput) Expression() pulumi.StringOutput
- func (o InstanceIAMMemberConditionOutput) Title() pulumi.StringOutput
- func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionOutput() InstanceIAMMemberConditionOutput
- func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionOutputWithContext(ctx context.Context) InstanceIAMMemberConditionOutput
- func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput
- func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIAMMemberConditionPtrOutput
- type InstanceIAMMemberConditionPtrInput
- type InstanceIAMMemberConditionPtrOutput
- func (o InstanceIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceIAMMemberConditionPtrOutput) Elem() InstanceIAMMemberConditionOutput
- func (InstanceIAMMemberConditionPtrOutput) ElementType() reflect.Type
- func (o InstanceIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o InstanceIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o InstanceIAMMemberConditionPtrOutput) ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput
- func (o InstanceIAMMemberConditionPtrOutput) ToInstanceIAMMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIAMMemberConditionPtrOutput
- type InstanceIAMMemberInput
- type InstanceIAMMemberMap
- type InstanceIAMMemberMapInput
- type InstanceIAMMemberMapOutput
- func (InstanceIAMMemberMapOutput) ElementType() reflect.Type
- func (o InstanceIAMMemberMapOutput) MapIndex(k pulumi.StringInput) InstanceIAMMemberOutput
- func (o InstanceIAMMemberMapOutput) ToInstanceIAMMemberMapOutput() InstanceIAMMemberMapOutput
- func (o InstanceIAMMemberMapOutput) ToInstanceIAMMemberMapOutputWithContext(ctx context.Context) InstanceIAMMemberMapOutput
- type InstanceIAMMemberOutput
- func (o InstanceIAMMemberOutput) Condition() InstanceIAMMemberConditionPtrOutput
- func (InstanceIAMMemberOutput) ElementType() reflect.Type
- func (o InstanceIAMMemberOutput) Etag() pulumi.StringOutput
- func (o InstanceIAMMemberOutput) Instance() pulumi.StringOutput
- func (o InstanceIAMMemberOutput) Member() pulumi.StringOutput
- func (o InstanceIAMMemberOutput) Project() pulumi.StringOutput
- func (o InstanceIAMMemberOutput) Role() pulumi.StringOutput
- func (o InstanceIAMMemberOutput) ToInstanceIAMMemberOutput() InstanceIAMMemberOutput
- func (o InstanceIAMMemberOutput) ToInstanceIAMMemberOutputWithContext(ctx context.Context) InstanceIAMMemberOutput
- type InstanceIAMMemberState
- type InstanceIAMPolicy
- type InstanceIAMPolicyArgs
- type InstanceIAMPolicyArray
- type InstanceIAMPolicyArrayInput
- type InstanceIAMPolicyArrayOutput
- func (InstanceIAMPolicyArrayOutput) ElementType() reflect.Type
- func (o InstanceIAMPolicyArrayOutput) Index(i pulumi.IntInput) InstanceIAMPolicyOutput
- func (o InstanceIAMPolicyArrayOutput) ToInstanceIAMPolicyArrayOutput() InstanceIAMPolicyArrayOutput
- func (o InstanceIAMPolicyArrayOutput) ToInstanceIAMPolicyArrayOutputWithContext(ctx context.Context) InstanceIAMPolicyArrayOutput
- type InstanceIAMPolicyInput
- type InstanceIAMPolicyMap
- type InstanceIAMPolicyMapInput
- type InstanceIAMPolicyMapOutput
- func (InstanceIAMPolicyMapOutput) ElementType() reflect.Type
- func (o InstanceIAMPolicyMapOutput) MapIndex(k pulumi.StringInput) InstanceIAMPolicyOutput
- func (o InstanceIAMPolicyMapOutput) ToInstanceIAMPolicyMapOutput() InstanceIAMPolicyMapOutput
- func (o InstanceIAMPolicyMapOutput) ToInstanceIAMPolicyMapOutputWithContext(ctx context.Context) InstanceIAMPolicyMapOutput
- type InstanceIAMPolicyOutput
- func (InstanceIAMPolicyOutput) ElementType() reflect.Type
- func (o InstanceIAMPolicyOutput) Etag() pulumi.StringOutput
- func (o InstanceIAMPolicyOutput) Instance() pulumi.StringOutput
- func (o InstanceIAMPolicyOutput) PolicyData() pulumi.StringOutput
- func (o InstanceIAMPolicyOutput) Project() pulumi.StringOutput
- func (o InstanceIAMPolicyOutput) ToInstanceIAMPolicyOutput() InstanceIAMPolicyOutput
- func (o InstanceIAMPolicyOutput) ToInstanceIAMPolicyOutputWithContext(ctx context.Context) InstanceIAMPolicyOutput
- type InstanceIAMPolicyState
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AutoscalingConfig() InstanceAutoscalingConfigPtrOutput
- func (o InstanceOutput) Config() pulumi.StringOutput
- func (o InstanceOutput) DefaultBackupScheduleType() pulumi.StringOutput
- func (o InstanceOutput) DisplayName() pulumi.StringOutput
- func (o InstanceOutput) Edition() pulumi.StringOutput
- func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) ForceDestroy() pulumi.BoolPtrOutput
- func (o InstanceOutput) Labels() pulumi.StringMapOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) NumNodes() pulumi.IntOutput
- func (o InstanceOutput) ProcessingUnits() pulumi.IntOutput
- func (o InstanceOutput) Project() pulumi.StringOutput
- func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
- func (o InstanceOutput) State() pulumi.StringOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- type InstanceState
- type LookupDatabaseArgs
- type LookupDatabaseOutputArgs
- type LookupDatabaseResult
- type LookupDatabaseResultOutput
- func (o LookupDatabaseResultOutput) DatabaseDialect() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Ddls() pulumi.StringArrayOutput
- func (o LookupDatabaseResultOutput) DeletionProtection() pulumi.BoolOutput
- func (LookupDatabaseResultOutput) ElementType() reflect.Type
- func (o LookupDatabaseResultOutput) EnableDropProtection() pulumi.BoolOutput
- func (o LookupDatabaseResultOutput) EncryptionConfigs() GetDatabaseEncryptionConfigArrayOutput
- func (o LookupDatabaseResultOutput) Id() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Instance() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Name() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupDatabaseResultOutput) State() pulumi.StringOutput
- func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput
- func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput
- func (o LookupDatabaseResultOutput) VersionRetentionPeriod() pulumi.StringOutput
- type LookupInstanceArgs
- type LookupInstanceOutputArgs
- type LookupInstanceResult
- type LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) AutoscalingConfigs() GetInstanceAutoscalingConfigArrayOutput
- func (o LookupInstanceResultOutput) Config() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) DefaultBackupScheduleType() pulumi.StringOutput
- func (o LookupInstanceResultOutput) DisplayName() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) Edition() pulumi.StringOutput
- func (o LookupInstanceResultOutput) EffectiveLabels() pulumi.StringMapOutput
- func (LookupInstanceResultOutput) ElementType() reflect.Type
- func (o LookupInstanceResultOutput) ForceDestroy() pulumi.BoolOutput
- func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
- func (o LookupInstanceResultOutput) Labels() pulumi.StringMapOutput
- func (o LookupInstanceResultOutput) Name() pulumi.StringOutput
- func (o LookupInstanceResultOutput) NumNodes() pulumi.IntOutput
- func (o LookupInstanceResultOutput) ProcessingUnits() pulumi.IntOutput
- func (o LookupInstanceResultOutput) Project() pulumi.StringPtrOutput
- func (o LookupInstanceResultOutput) PulumiLabels() pulumi.StringMapOutput
- func (o LookupInstanceResultOutput) State() pulumi.StringOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
- func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupSchedule ¶ added in v8.3.0
type BackupSchedule struct { pulumi.CustomResourceState // The database to create the backup schedule on. // // *** Database pulumi.StringOutput `pulumi:"database"` // The schedule creates only full backups.. FullBackupSpec BackupScheduleFullBackupSpecPtrOutput `pulumi:"fullBackupSpec"` // The schedule creates incremental backup chains. IncrementalBackupSpec BackupScheduleIncrementalBackupSpecPtrOutput `pulumi:"incrementalBackupSpec"` // The instance to create the database on. Instance pulumi.StringOutput `pulumi:"instance"` // A unique identifier for the backup schedule, which cannot be changed after // the backup schedule is created. Values are of the form [a-z][-a-z0-9]*[a-z0-9]. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: '3.5s'. // You can set this to a value up to 366 days. RetentionDuration pulumi.StringOutput `pulumi:"retentionDuration"` // Defines specifications of the backup schedule. // Structure is documented below. Spec BackupScheduleSpecPtrOutput `pulumi:"spec"` }
A backup schedule for a Cloud Spanner Database. This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.
To get more information about BackupSchedule, see:
* [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases.backupSchedules) * How-to Guides
- [Official Documentation](https://cloud.google.com/spanner/docs/backup)
> **Warning:** This resource creates a Spanner Backup Schedule on a project that already has a Spanner database. This resource is owned by the database it is backing up, and is deleted along with the database. The actual backups are not though.
## Example Usage
### Spanner Backup Schedule Daily Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := spanner.NewInstance(ctx, "main", &spanner.InstanceArgs{ Name: pulumi.String("instance-id"), Config: pulumi.String("regional-europe-west1"), DisplayName: pulumi.String("main-instance"), NumNodes: pulumi.Int(1), }) if err != nil { return err } database, err := spanner.NewDatabase(ctx, "database", &spanner.DatabaseArgs{ Instance: main.Name, Name: pulumi.String("database-id"), VersionRetentionPeriod: pulumi.String("3d"), Ddls: pulumi.StringArray{ pulumi.String("CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)"), pulumi.String("CREATE TABLE t2 (t2 INT64 NOT NULL,) PRIMARY KEY(t2)"), }, DeletionProtection: pulumi.Bool(true), }) if err != nil { return err } _, err = spanner.NewBackupSchedule(ctx, "full-backup", &spanner.BackupScheduleArgs{ Instance: main.Name, Database: database.Name, Name: pulumi.String("backup-schedule-id"), RetentionDuration: pulumi.String("31620000s"), Spec: &spanner.BackupScheduleSpecArgs{ CronSpec: &spanner.BackupScheduleSpecCronSpecArgs{ Text: pulumi.String("0 12 * * *"), }, }, FullBackupSpec: &spanner.BackupScheduleFullBackupSpecArgs{}, }) if err != nil { return err } return nil }) }
``` ### Spanner Backup Schedule Daily Incremental
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := spanner.NewInstance(ctx, "main", &spanner.InstanceArgs{ Name: pulumi.String("instance-id"), Config: pulumi.String("regional-europe-west1"), DisplayName: pulumi.String("main-instance"), NumNodes: pulumi.Int(1), Edition: pulumi.String("ENTERPRISE"), }) if err != nil { return err } database, err := spanner.NewDatabase(ctx, "database", &spanner.DatabaseArgs{ Instance: main.Name, Name: pulumi.String("database-id"), VersionRetentionPeriod: pulumi.String("3d"), Ddls: pulumi.StringArray{ pulumi.String("CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)"), pulumi.String("CREATE TABLE t2 (t2 INT64 NOT NULL,) PRIMARY KEY(t2)"), }, DeletionProtection: pulumi.Bool(true), }) if err != nil { return err } _, err = spanner.NewBackupSchedule(ctx, "incremental-backup", &spanner.BackupScheduleArgs{ Instance: main.Name, Database: database.Name, Name: pulumi.String("backup-schedule-id"), RetentionDuration: pulumi.String("31620000s"), Spec: &spanner.BackupScheduleSpecArgs{ CronSpec: &spanner.BackupScheduleSpecCronSpecArgs{ Text: pulumi.String("0 12 * * *"), }, }, IncrementalBackupSpec: &spanner.BackupScheduleIncrementalBackupSpecArgs{}, }) if err != nil { return err } return nil }) }
```
## Import
BackupSchedule can be imported using any of these accepted formats:
* `projects/{{project}}/instances/{{instance}}/databases/{{database}}/backupSchedules/{{name}}`
* `{{project}}/{{instance}}/{{database}}/{{name}}`
* `{{instance}}/{{database}}/{{name}}`
When using the `pulumi import` command, BackupSchedule can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:spanner/backupSchedule:BackupSchedule default projects/{{project}}/instances/{{instance}}/databases/{{database}}/backupSchedules/{{name}} ```
```sh $ pulumi import gcp:spanner/backupSchedule:BackupSchedule default {{project}}/{{instance}}/{{database}}/{{name}} ```
```sh $ pulumi import gcp:spanner/backupSchedule:BackupSchedule default {{instance}}/{{database}}/{{name}} ```
func GetBackupSchedule ¶ added in v8.3.0
func GetBackupSchedule(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupScheduleState, opts ...pulumi.ResourceOption) (*BackupSchedule, error)
GetBackupSchedule gets an existing BackupSchedule 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 NewBackupSchedule ¶ added in v8.3.0
func NewBackupSchedule(ctx *pulumi.Context, name string, args *BackupScheduleArgs, opts ...pulumi.ResourceOption) (*BackupSchedule, error)
NewBackupSchedule registers a new resource with the given unique name, arguments, and options.
func (*BackupSchedule) ElementType ¶ added in v8.3.0
func (*BackupSchedule) ElementType() reflect.Type
func (*BackupSchedule) ToBackupScheduleOutput ¶ added in v8.3.0
func (i *BackupSchedule) ToBackupScheduleOutput() BackupScheduleOutput
func (*BackupSchedule) ToBackupScheduleOutputWithContext ¶ added in v8.3.0
func (i *BackupSchedule) ToBackupScheduleOutputWithContext(ctx context.Context) BackupScheduleOutput
type BackupScheduleArgs ¶ added in v8.3.0
type BackupScheduleArgs struct { // The database to create the backup schedule on. // // *** Database pulumi.StringInput // The schedule creates only full backups.. FullBackupSpec BackupScheduleFullBackupSpecPtrInput // The schedule creates incremental backup chains. IncrementalBackupSpec BackupScheduleIncrementalBackupSpecPtrInput // The instance to create the database on. Instance pulumi.StringInput // A unique identifier for the backup schedule, which cannot be changed after // the backup schedule is created. Values are of the form [a-z][-a-z0-9]*[a-z0-9]. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: '3.5s'. // You can set this to a value up to 366 days. RetentionDuration pulumi.StringInput // Defines specifications of the backup schedule. // Structure is documented below. Spec BackupScheduleSpecPtrInput }
The set of arguments for constructing a BackupSchedule resource.
func (BackupScheduleArgs) ElementType ¶ added in v8.3.0
func (BackupScheduleArgs) ElementType() reflect.Type
type BackupScheduleArray ¶ added in v8.3.0
type BackupScheduleArray []BackupScheduleInput
func (BackupScheduleArray) ElementType ¶ added in v8.3.0
func (BackupScheduleArray) ElementType() reflect.Type
func (BackupScheduleArray) ToBackupScheduleArrayOutput ¶ added in v8.3.0
func (i BackupScheduleArray) ToBackupScheduleArrayOutput() BackupScheduleArrayOutput
func (BackupScheduleArray) ToBackupScheduleArrayOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleArray) ToBackupScheduleArrayOutputWithContext(ctx context.Context) BackupScheduleArrayOutput
type BackupScheduleArrayInput ¶ added in v8.3.0
type BackupScheduleArrayInput interface { pulumi.Input ToBackupScheduleArrayOutput() BackupScheduleArrayOutput ToBackupScheduleArrayOutputWithContext(context.Context) BackupScheduleArrayOutput }
BackupScheduleArrayInput is an input type that accepts BackupScheduleArray and BackupScheduleArrayOutput values. You can construct a concrete instance of `BackupScheduleArrayInput` via:
BackupScheduleArray{ BackupScheduleArgs{...} }
type BackupScheduleArrayOutput ¶ added in v8.3.0
type BackupScheduleArrayOutput struct{ *pulumi.OutputState }
func (BackupScheduleArrayOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleArrayOutput) ElementType() reflect.Type
func (BackupScheduleArrayOutput) Index ¶ added in v8.3.0
func (o BackupScheduleArrayOutput) Index(i pulumi.IntInput) BackupScheduleOutput
func (BackupScheduleArrayOutput) ToBackupScheduleArrayOutput ¶ added in v8.3.0
func (o BackupScheduleArrayOutput) ToBackupScheduleArrayOutput() BackupScheduleArrayOutput
func (BackupScheduleArrayOutput) ToBackupScheduleArrayOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleArrayOutput) ToBackupScheduleArrayOutputWithContext(ctx context.Context) BackupScheduleArrayOutput
type BackupScheduleFullBackupSpec ¶ added in v8.3.0
type BackupScheduleFullBackupSpec struct { }
type BackupScheduleFullBackupSpecArgs ¶ added in v8.3.0
type BackupScheduleFullBackupSpecArgs struct { }
func (BackupScheduleFullBackupSpecArgs) ElementType ¶ added in v8.3.0
func (BackupScheduleFullBackupSpecArgs) ElementType() reflect.Type
func (BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecOutput ¶ added in v8.3.0
func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecOutput() BackupScheduleFullBackupSpecOutput
func (BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecOutput
func (BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecPtrOutput ¶ added in v8.3.0
func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput
func (BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecPtrOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleFullBackupSpecArgs) ToBackupScheduleFullBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecPtrOutput
type BackupScheduleFullBackupSpecInput ¶ added in v8.3.0
type BackupScheduleFullBackupSpecInput interface { pulumi.Input ToBackupScheduleFullBackupSpecOutput() BackupScheduleFullBackupSpecOutput ToBackupScheduleFullBackupSpecOutputWithContext(context.Context) BackupScheduleFullBackupSpecOutput }
BackupScheduleFullBackupSpecInput is an input type that accepts BackupScheduleFullBackupSpecArgs and BackupScheduleFullBackupSpecOutput values. You can construct a concrete instance of `BackupScheduleFullBackupSpecInput` via:
BackupScheduleFullBackupSpecArgs{...}
type BackupScheduleFullBackupSpecOutput ¶ added in v8.3.0
type BackupScheduleFullBackupSpecOutput struct{ *pulumi.OutputState }
func (BackupScheduleFullBackupSpecOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleFullBackupSpecOutput) ElementType() reflect.Type
func (BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecOutput ¶ added in v8.3.0
func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecOutput() BackupScheduleFullBackupSpecOutput
func (BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecOutput
func (BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput
func (BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleFullBackupSpecOutput) ToBackupScheduleFullBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecPtrOutput
type BackupScheduleFullBackupSpecPtrInput ¶ added in v8.3.0
type BackupScheduleFullBackupSpecPtrInput interface { pulumi.Input ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput ToBackupScheduleFullBackupSpecPtrOutputWithContext(context.Context) BackupScheduleFullBackupSpecPtrOutput }
BackupScheduleFullBackupSpecPtrInput is an input type that accepts BackupScheduleFullBackupSpecArgs, BackupScheduleFullBackupSpecPtr and BackupScheduleFullBackupSpecPtrOutput values. You can construct a concrete instance of `BackupScheduleFullBackupSpecPtrInput` via:
BackupScheduleFullBackupSpecArgs{...} or: nil
func BackupScheduleFullBackupSpecPtr ¶ added in v8.3.0
func BackupScheduleFullBackupSpecPtr(v *BackupScheduleFullBackupSpecArgs) BackupScheduleFullBackupSpecPtrInput
type BackupScheduleFullBackupSpecPtrOutput ¶ added in v8.3.0
type BackupScheduleFullBackupSpecPtrOutput struct{ *pulumi.OutputState }
func (BackupScheduleFullBackupSpecPtrOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleFullBackupSpecPtrOutput) ElementType() reflect.Type
func (BackupScheduleFullBackupSpecPtrOutput) ToBackupScheduleFullBackupSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleFullBackupSpecPtrOutput) ToBackupScheduleFullBackupSpecPtrOutput() BackupScheduleFullBackupSpecPtrOutput
func (BackupScheduleFullBackupSpecPtrOutput) ToBackupScheduleFullBackupSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleFullBackupSpecPtrOutput) ToBackupScheduleFullBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleFullBackupSpecPtrOutput
type BackupScheduleIncrementalBackupSpec ¶ added in v8.3.0
type BackupScheduleIncrementalBackupSpec struct { }
type BackupScheduleIncrementalBackupSpecArgs ¶ added in v8.3.0
type BackupScheduleIncrementalBackupSpecArgs struct { }
func (BackupScheduleIncrementalBackupSpecArgs) ElementType ¶ added in v8.3.0
func (BackupScheduleIncrementalBackupSpecArgs) ElementType() reflect.Type
func (BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecOutput ¶ added in v8.3.0
func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecOutput() BackupScheduleIncrementalBackupSpecOutput
func (BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecOutput
func (BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecPtrOutput ¶ added in v8.3.0
func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput
func (BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleIncrementalBackupSpecArgs) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecPtrOutput
type BackupScheduleIncrementalBackupSpecInput ¶ added in v8.3.0
type BackupScheduleIncrementalBackupSpecInput interface { pulumi.Input ToBackupScheduleIncrementalBackupSpecOutput() BackupScheduleIncrementalBackupSpecOutput ToBackupScheduleIncrementalBackupSpecOutputWithContext(context.Context) BackupScheduleIncrementalBackupSpecOutput }
BackupScheduleIncrementalBackupSpecInput is an input type that accepts BackupScheduleIncrementalBackupSpecArgs and BackupScheduleIncrementalBackupSpecOutput values. You can construct a concrete instance of `BackupScheduleIncrementalBackupSpecInput` via:
BackupScheduleIncrementalBackupSpecArgs{...}
type BackupScheduleIncrementalBackupSpecOutput ¶ added in v8.3.0
type BackupScheduleIncrementalBackupSpecOutput struct{ *pulumi.OutputState }
func (BackupScheduleIncrementalBackupSpecOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleIncrementalBackupSpecOutput) ElementType() reflect.Type
func (BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecOutput ¶ added in v8.3.0
func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecOutput() BackupScheduleIncrementalBackupSpecOutput
func (BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecOutput
func (BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput
func (BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleIncrementalBackupSpecOutput) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecPtrOutput
type BackupScheduleIncrementalBackupSpecPtrInput ¶ added in v8.3.0
type BackupScheduleIncrementalBackupSpecPtrInput interface { pulumi.Input ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(context.Context) BackupScheduleIncrementalBackupSpecPtrOutput }
BackupScheduleIncrementalBackupSpecPtrInput is an input type that accepts BackupScheduleIncrementalBackupSpecArgs, BackupScheduleIncrementalBackupSpecPtr and BackupScheduleIncrementalBackupSpecPtrOutput values. You can construct a concrete instance of `BackupScheduleIncrementalBackupSpecPtrInput` via:
BackupScheduleIncrementalBackupSpecArgs{...} or: nil
func BackupScheduleIncrementalBackupSpecPtr ¶ added in v8.3.0
func BackupScheduleIncrementalBackupSpecPtr(v *BackupScheduleIncrementalBackupSpecArgs) BackupScheduleIncrementalBackupSpecPtrInput
type BackupScheduleIncrementalBackupSpecPtrOutput ¶ added in v8.3.0
type BackupScheduleIncrementalBackupSpecPtrOutput struct{ *pulumi.OutputState }
func (BackupScheduleIncrementalBackupSpecPtrOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleIncrementalBackupSpecPtrOutput) ElementType() reflect.Type
func (BackupScheduleIncrementalBackupSpecPtrOutput) ToBackupScheduleIncrementalBackupSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleIncrementalBackupSpecPtrOutput) ToBackupScheduleIncrementalBackupSpecPtrOutput() BackupScheduleIncrementalBackupSpecPtrOutput
func (BackupScheduleIncrementalBackupSpecPtrOutput) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleIncrementalBackupSpecPtrOutput) ToBackupScheduleIncrementalBackupSpecPtrOutputWithContext(ctx context.Context) BackupScheduleIncrementalBackupSpecPtrOutput
type BackupScheduleInput ¶ added in v8.3.0
type BackupScheduleInput interface { pulumi.Input ToBackupScheduleOutput() BackupScheduleOutput ToBackupScheduleOutputWithContext(ctx context.Context) BackupScheduleOutput }
type BackupScheduleMap ¶ added in v8.3.0
type BackupScheduleMap map[string]BackupScheduleInput
func (BackupScheduleMap) ElementType ¶ added in v8.3.0
func (BackupScheduleMap) ElementType() reflect.Type
func (BackupScheduleMap) ToBackupScheduleMapOutput ¶ added in v8.3.0
func (i BackupScheduleMap) ToBackupScheduleMapOutput() BackupScheduleMapOutput
func (BackupScheduleMap) ToBackupScheduleMapOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleMap) ToBackupScheduleMapOutputWithContext(ctx context.Context) BackupScheduleMapOutput
type BackupScheduleMapInput ¶ added in v8.3.0
type BackupScheduleMapInput interface { pulumi.Input ToBackupScheduleMapOutput() BackupScheduleMapOutput ToBackupScheduleMapOutputWithContext(context.Context) BackupScheduleMapOutput }
BackupScheduleMapInput is an input type that accepts BackupScheduleMap and BackupScheduleMapOutput values. You can construct a concrete instance of `BackupScheduleMapInput` via:
BackupScheduleMap{ "key": BackupScheduleArgs{...} }
type BackupScheduleMapOutput ¶ added in v8.3.0
type BackupScheduleMapOutput struct{ *pulumi.OutputState }
func (BackupScheduleMapOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleMapOutput) ElementType() reflect.Type
func (BackupScheduleMapOutput) MapIndex ¶ added in v8.3.0
func (o BackupScheduleMapOutput) MapIndex(k pulumi.StringInput) BackupScheduleOutput
func (BackupScheduleMapOutput) ToBackupScheduleMapOutput ¶ added in v8.3.0
func (o BackupScheduleMapOutput) ToBackupScheduleMapOutput() BackupScheduleMapOutput
func (BackupScheduleMapOutput) ToBackupScheduleMapOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleMapOutput) ToBackupScheduleMapOutputWithContext(ctx context.Context) BackupScheduleMapOutput
type BackupScheduleOutput ¶ added in v8.3.0
type BackupScheduleOutput struct{ *pulumi.OutputState }
func (BackupScheduleOutput) Database ¶ added in v8.3.0
func (o BackupScheduleOutput) Database() pulumi.StringOutput
The database to create the backup schedule on.
***
func (BackupScheduleOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleOutput) ElementType() reflect.Type
func (BackupScheduleOutput) FullBackupSpec ¶ added in v8.3.0
func (o BackupScheduleOutput) FullBackupSpec() BackupScheduleFullBackupSpecPtrOutput
The schedule creates only full backups..
func (BackupScheduleOutput) IncrementalBackupSpec ¶ added in v8.3.0
func (o BackupScheduleOutput) IncrementalBackupSpec() BackupScheduleIncrementalBackupSpecPtrOutput
The schedule creates incremental backup chains.
func (BackupScheduleOutput) Instance ¶ added in v8.3.0
func (o BackupScheduleOutput) Instance() pulumi.StringOutput
The instance to create the database on.
func (BackupScheduleOutput) Name ¶ added in v8.3.0
func (o BackupScheduleOutput) Name() pulumi.StringOutput
A unique identifier for the backup schedule, which cannot be changed after the backup schedule is created. Values are of the form [a-z][-a-z0-9]*[a-z0-9].
func (BackupScheduleOutput) Project ¶ added in v8.3.0
func (o BackupScheduleOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (BackupScheduleOutput) RetentionDuration ¶ added in v8.3.0
func (o BackupScheduleOutput) RetentionDuration() pulumi.StringOutput
At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. A duration in seconds with up to nine fractional digits, ending with 's'. Example: '3.5s'. You can set this to a value up to 366 days.
func (BackupScheduleOutput) Spec ¶ added in v8.3.0
func (o BackupScheduleOutput) Spec() BackupScheduleSpecPtrOutput
Defines specifications of the backup schedule. Structure is documented below.
func (BackupScheduleOutput) ToBackupScheduleOutput ¶ added in v8.3.0
func (o BackupScheduleOutput) ToBackupScheduleOutput() BackupScheduleOutput
func (BackupScheduleOutput) ToBackupScheduleOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleOutput) ToBackupScheduleOutputWithContext(ctx context.Context) BackupScheduleOutput
type BackupScheduleSpec ¶ added in v8.3.0
type BackupScheduleSpec struct { // Cron style schedule specification.. // Structure is documented below. CronSpec *BackupScheduleSpecCronSpec `pulumi:"cronSpec"` }
type BackupScheduleSpecArgs ¶ added in v8.3.0
type BackupScheduleSpecArgs struct { // Cron style schedule specification.. // Structure is documented below. CronSpec BackupScheduleSpecCronSpecPtrInput `pulumi:"cronSpec"` }
func (BackupScheduleSpecArgs) ElementType ¶ added in v8.3.0
func (BackupScheduleSpecArgs) ElementType() reflect.Type
func (BackupScheduleSpecArgs) ToBackupScheduleSpecOutput ¶ added in v8.3.0
func (i BackupScheduleSpecArgs) ToBackupScheduleSpecOutput() BackupScheduleSpecOutput
func (BackupScheduleSpecArgs) ToBackupScheduleSpecOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleSpecArgs) ToBackupScheduleSpecOutputWithContext(ctx context.Context) BackupScheduleSpecOutput
func (BackupScheduleSpecArgs) ToBackupScheduleSpecPtrOutput ¶ added in v8.3.0
func (i BackupScheduleSpecArgs) ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput
func (BackupScheduleSpecArgs) ToBackupScheduleSpecPtrOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleSpecArgs) ToBackupScheduleSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecPtrOutput
type BackupScheduleSpecCronSpec ¶ added in v8.3.0
type BackupScheduleSpecCronSpec struct { // Textual representation of the crontab. User can customize the // backup frequency and the backup version time using the cron // expression. The version time must be in UTC timzeone. // The backup will contain an externally consistent copy of the // database at the version time. Allowed frequencies are 12 hour, 1 day, // 1 week and 1 month. Examples of valid cron specifications: // 0 2/12 * * * : every 12 hours at (2, 14) hours past midnight in UTC. // 0 2,14 * * * : every 12 hours at (2,14) hours past midnight in UTC. // 0 2 * * * : once a day at 2 past midnight in UTC. // 0 2 * * 0 : once a week every Sunday at 2 past midnight in UTC. // 0 2 8 * * : once a month on 8th day at 2 past midnight in UTC. Text *string `pulumi:"text"` }
type BackupScheduleSpecCronSpecArgs ¶ added in v8.3.0
type BackupScheduleSpecCronSpecArgs struct { // Textual representation of the crontab. User can customize the // backup frequency and the backup version time using the cron // expression. The version time must be in UTC timzeone. // The backup will contain an externally consistent copy of the // database at the version time. Allowed frequencies are 12 hour, 1 day, // 1 week and 1 month. Examples of valid cron specifications: // 0 2/12 * * * : every 12 hours at (2, 14) hours past midnight in UTC. // 0 2,14 * * * : every 12 hours at (2,14) hours past midnight in UTC. // 0 2 * * * : once a day at 2 past midnight in UTC. // 0 2 * * 0 : once a week every Sunday at 2 past midnight in UTC. // 0 2 8 * * : once a month on 8th day at 2 past midnight in UTC. Text pulumi.StringPtrInput `pulumi:"text"` }
func (BackupScheduleSpecCronSpecArgs) ElementType ¶ added in v8.3.0
func (BackupScheduleSpecCronSpecArgs) ElementType() reflect.Type
func (BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecOutput ¶ added in v8.3.0
func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecOutput() BackupScheduleSpecCronSpecOutput
func (BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecOutput
func (BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecPtrOutput ¶ added in v8.3.0
func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput
func (BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecPtrOutputWithContext ¶ added in v8.3.0
func (i BackupScheduleSpecCronSpecArgs) ToBackupScheduleSpecCronSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecPtrOutput
type BackupScheduleSpecCronSpecInput ¶ added in v8.3.0
type BackupScheduleSpecCronSpecInput interface { pulumi.Input ToBackupScheduleSpecCronSpecOutput() BackupScheduleSpecCronSpecOutput ToBackupScheduleSpecCronSpecOutputWithContext(context.Context) BackupScheduleSpecCronSpecOutput }
BackupScheduleSpecCronSpecInput is an input type that accepts BackupScheduleSpecCronSpecArgs and BackupScheduleSpecCronSpecOutput values. You can construct a concrete instance of `BackupScheduleSpecCronSpecInput` via:
BackupScheduleSpecCronSpecArgs{...}
type BackupScheduleSpecCronSpecOutput ¶ added in v8.3.0
type BackupScheduleSpecCronSpecOutput struct{ *pulumi.OutputState }
func (BackupScheduleSpecCronSpecOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleSpecCronSpecOutput) ElementType() reflect.Type
func (BackupScheduleSpecCronSpecOutput) Text ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecOutput) Text() pulumi.StringPtrOutput
Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timzeone. The backup will contain an externally consistent copy of the database at the version time. Allowed frequencies are 12 hour, 1 day, 1 week and 1 month. Examples of valid cron specifications: 0 2/12 * * * : every 12 hours at (2, 14) hours past midnight in UTC. 0 2,14 * * * : every 12 hours at (2,14) hours past midnight in UTC. 0 2 * * * : once a day at 2 past midnight in UTC. 0 2 * * 0 : once a week every Sunday at 2 past midnight in UTC. 0 2 8 * * : once a month on 8th day at 2 past midnight in UTC.
func (BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecOutput ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecOutput() BackupScheduleSpecCronSpecOutput
func (BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecOutput
func (BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput
func (BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecOutput) ToBackupScheduleSpecCronSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecPtrOutput
type BackupScheduleSpecCronSpecPtrInput ¶ added in v8.3.0
type BackupScheduleSpecCronSpecPtrInput interface { pulumi.Input ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput ToBackupScheduleSpecCronSpecPtrOutputWithContext(context.Context) BackupScheduleSpecCronSpecPtrOutput }
BackupScheduleSpecCronSpecPtrInput is an input type that accepts BackupScheduleSpecCronSpecArgs, BackupScheduleSpecCronSpecPtr and BackupScheduleSpecCronSpecPtrOutput values. You can construct a concrete instance of `BackupScheduleSpecCronSpecPtrInput` via:
BackupScheduleSpecCronSpecArgs{...} or: nil
func BackupScheduleSpecCronSpecPtr ¶ added in v8.3.0
func BackupScheduleSpecCronSpecPtr(v *BackupScheduleSpecCronSpecArgs) BackupScheduleSpecCronSpecPtrInput
type BackupScheduleSpecCronSpecPtrOutput ¶ added in v8.3.0
type BackupScheduleSpecCronSpecPtrOutput struct{ *pulumi.OutputState }
func (BackupScheduleSpecCronSpecPtrOutput) Elem ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecPtrOutput) Elem() BackupScheduleSpecCronSpecOutput
func (BackupScheduleSpecCronSpecPtrOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleSpecCronSpecPtrOutput) ElementType() reflect.Type
func (BackupScheduleSpecCronSpecPtrOutput) Text ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecPtrOutput) Text() pulumi.StringPtrOutput
Textual representation of the crontab. User can customize the backup frequency and the backup version time using the cron expression. The version time must be in UTC timzeone. The backup will contain an externally consistent copy of the database at the version time. Allowed frequencies are 12 hour, 1 day, 1 week and 1 month. Examples of valid cron specifications: 0 2/12 * * * : every 12 hours at (2, 14) hours past midnight in UTC. 0 2,14 * * * : every 12 hours at (2,14) hours past midnight in UTC. 0 2 * * * : once a day at 2 past midnight in UTC. 0 2 * * 0 : once a week every Sunday at 2 past midnight in UTC. 0 2 8 * * : once a month on 8th day at 2 past midnight in UTC.
func (BackupScheduleSpecCronSpecPtrOutput) ToBackupScheduleSpecCronSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecPtrOutput) ToBackupScheduleSpecCronSpecPtrOutput() BackupScheduleSpecCronSpecPtrOutput
func (BackupScheduleSpecCronSpecPtrOutput) ToBackupScheduleSpecCronSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleSpecCronSpecPtrOutput) ToBackupScheduleSpecCronSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecCronSpecPtrOutput
type BackupScheduleSpecInput ¶ added in v8.3.0
type BackupScheduleSpecInput interface { pulumi.Input ToBackupScheduleSpecOutput() BackupScheduleSpecOutput ToBackupScheduleSpecOutputWithContext(context.Context) BackupScheduleSpecOutput }
BackupScheduleSpecInput is an input type that accepts BackupScheduleSpecArgs and BackupScheduleSpecOutput values. You can construct a concrete instance of `BackupScheduleSpecInput` via:
BackupScheduleSpecArgs{...}
type BackupScheduleSpecOutput ¶ added in v8.3.0
type BackupScheduleSpecOutput struct{ *pulumi.OutputState }
func (BackupScheduleSpecOutput) CronSpec ¶ added in v8.3.0
func (o BackupScheduleSpecOutput) CronSpec() BackupScheduleSpecCronSpecPtrOutput
Cron style schedule specification.. Structure is documented below.
func (BackupScheduleSpecOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleSpecOutput) ElementType() reflect.Type
func (BackupScheduleSpecOutput) ToBackupScheduleSpecOutput ¶ added in v8.3.0
func (o BackupScheduleSpecOutput) ToBackupScheduleSpecOutput() BackupScheduleSpecOutput
func (BackupScheduleSpecOutput) ToBackupScheduleSpecOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleSpecOutput) ToBackupScheduleSpecOutputWithContext(ctx context.Context) BackupScheduleSpecOutput
func (BackupScheduleSpecOutput) ToBackupScheduleSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleSpecOutput) ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput
func (BackupScheduleSpecOutput) ToBackupScheduleSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleSpecOutput) ToBackupScheduleSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecPtrOutput
type BackupScheduleSpecPtrInput ¶ added in v8.3.0
type BackupScheduleSpecPtrInput interface { pulumi.Input ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput ToBackupScheduleSpecPtrOutputWithContext(context.Context) BackupScheduleSpecPtrOutput }
BackupScheduleSpecPtrInput is an input type that accepts BackupScheduleSpecArgs, BackupScheduleSpecPtr and BackupScheduleSpecPtrOutput values. You can construct a concrete instance of `BackupScheduleSpecPtrInput` via:
BackupScheduleSpecArgs{...} or: nil
func BackupScheduleSpecPtr ¶ added in v8.3.0
func BackupScheduleSpecPtr(v *BackupScheduleSpecArgs) BackupScheduleSpecPtrInput
type BackupScheduleSpecPtrOutput ¶ added in v8.3.0
type BackupScheduleSpecPtrOutput struct{ *pulumi.OutputState }
func (BackupScheduleSpecPtrOutput) CronSpec ¶ added in v8.3.0
func (o BackupScheduleSpecPtrOutput) CronSpec() BackupScheduleSpecCronSpecPtrOutput
Cron style schedule specification.. Structure is documented below.
func (BackupScheduleSpecPtrOutput) Elem ¶ added in v8.3.0
func (o BackupScheduleSpecPtrOutput) Elem() BackupScheduleSpecOutput
func (BackupScheduleSpecPtrOutput) ElementType ¶ added in v8.3.0
func (BackupScheduleSpecPtrOutput) ElementType() reflect.Type
func (BackupScheduleSpecPtrOutput) ToBackupScheduleSpecPtrOutput ¶ added in v8.3.0
func (o BackupScheduleSpecPtrOutput) ToBackupScheduleSpecPtrOutput() BackupScheduleSpecPtrOutput
func (BackupScheduleSpecPtrOutput) ToBackupScheduleSpecPtrOutputWithContext ¶ added in v8.3.0
func (o BackupScheduleSpecPtrOutput) ToBackupScheduleSpecPtrOutputWithContext(ctx context.Context) BackupScheduleSpecPtrOutput
type BackupScheduleState ¶ added in v8.3.0
type BackupScheduleState struct { // The database to create the backup schedule on. // // *** Database pulumi.StringPtrInput // The schedule creates only full backups.. FullBackupSpec BackupScheduleFullBackupSpecPtrInput // The schedule creates incremental backup chains. IncrementalBackupSpec BackupScheduleIncrementalBackupSpecPtrInput // The instance to create the database on. Instance pulumi.StringPtrInput // A unique identifier for the backup schedule, which cannot be changed after // the backup schedule is created. Values are of the form [a-z][-a-z0-9]*[a-z0-9]. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // At what relative time in the future, compared to its creation time, the backup should be deleted, e.g. keep backups for 7 days. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: '3.5s'. // You can set this to a value up to 366 days. RetentionDuration pulumi.StringPtrInput // Defines specifications of the backup schedule. // Structure is documented below. Spec BackupScheduleSpecPtrInput }
func (BackupScheduleState) ElementType ¶ added in v8.3.0
func (BackupScheduleState) ElementType() reflect.Type
type Database ¶
type Database struct { pulumi.CustomResourceState // The dialect of the Cloud Spanner Database. // If it is not provided, "GOOGLE_STANDARD_SQL" will be used. // Possible values are: `GOOGLE_STANDARD_SQL`, `POSTGRESQL`. DatabaseDialect pulumi.StringOutput `pulumi:"databaseDialect"` // An optional list of DDL statements to run inside the newly created // database. Statements can create tables, indexes, etc. These statements // execute atomically with the creation of the database: if there is an // error in any statement, the database is not created. Ddls pulumi.StringArrayOutput `pulumi:"ddls"` // Whether or not to allow the provider to destroy the instance. Unless this field is set to false // in state, a `destroy` or `update` that would delete the instance will fail. DeletionProtection pulumi.BoolPtrOutput `pulumi:"deletionProtection"` EnableDropProtection pulumi.BoolPtrOutput `pulumi:"enableDropProtection"` // Encryption configuration for the database // Structure is documented below. EncryptionConfig DatabaseEncryptionConfigPtrOutput `pulumi:"encryptionConfig"` // The instance to create the database on. // // *** Instance pulumi.StringOutput `pulumi:"instance"` // A unique identifier for the database, which cannot be changed after the // instance is created. Values are of the form `[a-z][-_a-z0-9]*[a-z0-9]`. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // An explanation of the status of the database. State pulumi.StringOutput `pulumi:"state"` // The retention period for the database. The retention period must be between 1 hour // and 7 days, and can be specified in days, hours, minutes, or seconds. For example, // the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h. // If this property is used, you must avoid adding new DDL statements to `ddl` that // update the database's version_retention_period. VersionRetentionPeriod pulumi.StringOutput `pulumi:"versionRetentionPeriod"` }
A Cloud Spanner Database which is hosted on a Spanner instance.
To get more information about Database, see:
* [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances.databases) * How-to Guides
- [Official Documentation](https://cloud.google.com/spanner/)
> **Warning:** On newer versions of the provider, you must explicitly set `deletion_protection=false` (and run `pulumi up` to write the field to state) in order to destroy an instance. It is recommended to not set this field (or set it to true) until you're ready to destroy. On older versions, it is strongly recommended to set `lifecycle { preventDestroy = true }` on databases in order to prevent accidental data loss.
## Example Usage
### Spanner Database Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { main, err := spanner.NewInstance(ctx, "main", &spanner.InstanceArgs{ Config: pulumi.String("regional-europe-west1"), DisplayName: pulumi.String("main-instance"), NumNodes: pulumi.Int(1), }) if err != nil { return err } _, err = spanner.NewDatabase(ctx, "database", &spanner.DatabaseArgs{ Instance: main.Name, Name: pulumi.String("my-database"), VersionRetentionPeriod: pulumi.String("3d"), Ddls: pulumi.StringArray{ pulumi.String("CREATE TABLE t1 (t1 INT64 NOT NULL,) PRIMARY KEY(t1)"), pulumi.String("CREATE TABLE t2 (t2 INT64 NOT NULL,) PRIMARY KEY(t2)"), }, DeletionProtection: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Database can be imported using any of these accepted formats:
* `projects/{{project}}/instances/{{instance}}/databases/{{name}}`
* `instances/{{instance}}/databases/{{name}}`
* `{{project}}/{{instance}}/{{name}}`
* `{{instance}}/{{name}}`
When using the `pulumi import` command, Database can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:spanner/database:Database default projects/{{project}}/instances/{{instance}}/databases/{{name}} ```
```sh $ pulumi import gcp:spanner/database:Database default instances/{{instance}}/databases/{{name}} ```
```sh $ pulumi import gcp:spanner/database:Database default {{project}}/{{instance}}/{{name}} ```
```sh $ pulumi import gcp:spanner/database:Database default {{instance}}/{{name}} ```
func GetDatabase ¶
func GetDatabase(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseState, opts ...pulumi.ResourceOption) (*Database, error)
GetDatabase gets an existing Database 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 NewDatabase ¶
func NewDatabase(ctx *pulumi.Context, name string, args *DatabaseArgs, opts ...pulumi.ResourceOption) (*Database, error)
NewDatabase registers a new resource with the given unique name, arguments, and options.
func (*Database) ElementType ¶
func (*Database) ToDatabaseOutput ¶
func (i *Database) ToDatabaseOutput() DatabaseOutput
func (*Database) ToDatabaseOutputWithContext ¶
func (i *Database) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
type DatabaseArgs ¶
type DatabaseArgs struct { // The dialect of the Cloud Spanner Database. // If it is not provided, "GOOGLE_STANDARD_SQL" will be used. // Possible values are: `GOOGLE_STANDARD_SQL`, `POSTGRESQL`. DatabaseDialect pulumi.StringPtrInput // An optional list of DDL statements to run inside the newly created // database. Statements can create tables, indexes, etc. These statements // execute atomically with the creation of the database: if there is an // error in any statement, the database is not created. Ddls pulumi.StringArrayInput // Whether or not to allow the provider to destroy the instance. Unless this field is set to false // in state, a `destroy` or `update` that would delete the instance will fail. DeletionProtection pulumi.BoolPtrInput EnableDropProtection pulumi.BoolPtrInput // Encryption configuration for the database // Structure is documented below. EncryptionConfig DatabaseEncryptionConfigPtrInput // The instance to create the database on. // // *** Instance pulumi.StringInput // A unique identifier for the database, which cannot be changed after the // instance is created. Values are of the form `[a-z][-_a-z0-9]*[a-z0-9]`. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The retention period for the database. The retention period must be between 1 hour // and 7 days, and can be specified in days, hours, minutes, or seconds. For example, // the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h. // If this property is used, you must avoid adding new DDL statements to `ddl` that // update the database's version_retention_period. VersionRetentionPeriod pulumi.StringPtrInput }
The set of arguments for constructing a Database resource.
func (DatabaseArgs) ElementType ¶
func (DatabaseArgs) ElementType() reflect.Type
type DatabaseArray ¶
type DatabaseArray []DatabaseInput
func (DatabaseArray) ElementType ¶
func (DatabaseArray) ElementType() reflect.Type
func (DatabaseArray) ToDatabaseArrayOutput ¶
func (i DatabaseArray) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArray) ToDatabaseArrayOutputWithContext ¶
func (i DatabaseArray) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseArrayInput ¶
type DatabaseArrayInput interface { pulumi.Input ToDatabaseArrayOutput() DatabaseArrayOutput ToDatabaseArrayOutputWithContext(context.Context) DatabaseArrayOutput }
DatabaseArrayInput is an input type that accepts DatabaseArray and DatabaseArrayOutput values. You can construct a concrete instance of `DatabaseArrayInput` via:
DatabaseArray{ DatabaseArgs{...} }
type DatabaseArrayOutput ¶
type DatabaseArrayOutput struct{ *pulumi.OutputState }
func (DatabaseArrayOutput) ElementType ¶
func (DatabaseArrayOutput) ElementType() reflect.Type
func (DatabaseArrayOutput) Index ¶
func (o DatabaseArrayOutput) Index(i pulumi.IntInput) DatabaseOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutput ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutput() DatabaseArrayOutput
func (DatabaseArrayOutput) ToDatabaseArrayOutputWithContext ¶
func (o DatabaseArrayOutput) ToDatabaseArrayOutputWithContext(ctx context.Context) DatabaseArrayOutput
type DatabaseEncryptionConfig ¶
type DatabaseEncryptionConfig struct { // Fully qualified name of the KMS key to use to encrypt this database. This key must exist // in the same location as the Spanner Database. KmsKeyName *string `pulumi:"kmsKeyName"` // Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist // in the same locations as the Spanner Database. KmsKeyNames []string `pulumi:"kmsKeyNames"` }
type DatabaseEncryptionConfigArgs ¶
type DatabaseEncryptionConfigArgs struct { // Fully qualified name of the KMS key to use to encrypt this database. This key must exist // in the same location as the Spanner Database. KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"` // Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist // in the same locations as the Spanner Database. KmsKeyNames pulumi.StringArrayInput `pulumi:"kmsKeyNames"` }
func (DatabaseEncryptionConfigArgs) ElementType ¶
func (DatabaseEncryptionConfigArgs) ElementType() reflect.Type
func (DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigOutput ¶
func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigOutput() DatabaseEncryptionConfigOutput
func (DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigOutputWithContext ¶
func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigOutputWithContext(ctx context.Context) DatabaseEncryptionConfigOutput
func (DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigPtrOutput ¶
func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput
func (DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigPtrOutputWithContext ¶
func (i DatabaseEncryptionConfigArgs) ToDatabaseEncryptionConfigPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigPtrOutput
type DatabaseEncryptionConfigInput ¶
type DatabaseEncryptionConfigInput interface { pulumi.Input ToDatabaseEncryptionConfigOutput() DatabaseEncryptionConfigOutput ToDatabaseEncryptionConfigOutputWithContext(context.Context) DatabaseEncryptionConfigOutput }
DatabaseEncryptionConfigInput is an input type that accepts DatabaseEncryptionConfigArgs and DatabaseEncryptionConfigOutput values. You can construct a concrete instance of `DatabaseEncryptionConfigInput` via:
DatabaseEncryptionConfigArgs{...}
type DatabaseEncryptionConfigOutput ¶
type DatabaseEncryptionConfigOutput struct{ *pulumi.OutputState }
func (DatabaseEncryptionConfigOutput) ElementType ¶
func (DatabaseEncryptionConfigOutput) ElementType() reflect.Type
func (DatabaseEncryptionConfigOutput) KmsKeyName ¶
func (o DatabaseEncryptionConfigOutput) KmsKeyName() pulumi.StringPtrOutput
Fully qualified name of the KMS key to use to encrypt this database. This key must exist in the same location as the Spanner Database.
func (DatabaseEncryptionConfigOutput) KmsKeyNames ¶ added in v8.7.0
func (o DatabaseEncryptionConfigOutput) KmsKeyNames() pulumi.StringArrayOutput
Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist in the same locations as the Spanner Database.
func (DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigOutput ¶
func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigOutput() DatabaseEncryptionConfigOutput
func (DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigOutputWithContext ¶
func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigOutputWithContext(ctx context.Context) DatabaseEncryptionConfigOutput
func (DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigPtrOutput ¶
func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput
func (DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigPtrOutputWithContext ¶
func (o DatabaseEncryptionConfigOutput) ToDatabaseEncryptionConfigPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigPtrOutput
type DatabaseEncryptionConfigPtrInput ¶
type DatabaseEncryptionConfigPtrInput interface { pulumi.Input ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput ToDatabaseEncryptionConfigPtrOutputWithContext(context.Context) DatabaseEncryptionConfigPtrOutput }
DatabaseEncryptionConfigPtrInput is an input type that accepts DatabaseEncryptionConfigArgs, DatabaseEncryptionConfigPtr and DatabaseEncryptionConfigPtrOutput values. You can construct a concrete instance of `DatabaseEncryptionConfigPtrInput` via:
DatabaseEncryptionConfigArgs{...} or: nil
func DatabaseEncryptionConfigPtr ¶
func DatabaseEncryptionConfigPtr(v *DatabaseEncryptionConfigArgs) DatabaseEncryptionConfigPtrInput
type DatabaseEncryptionConfigPtrOutput ¶
type DatabaseEncryptionConfigPtrOutput struct{ *pulumi.OutputState }
func (DatabaseEncryptionConfigPtrOutput) Elem ¶
func (o DatabaseEncryptionConfigPtrOutput) Elem() DatabaseEncryptionConfigOutput
func (DatabaseEncryptionConfigPtrOutput) ElementType ¶
func (DatabaseEncryptionConfigPtrOutput) ElementType() reflect.Type
func (DatabaseEncryptionConfigPtrOutput) KmsKeyName ¶
func (o DatabaseEncryptionConfigPtrOutput) KmsKeyName() pulumi.StringPtrOutput
Fully qualified name of the KMS key to use to encrypt this database. This key must exist in the same location as the Spanner Database.
func (DatabaseEncryptionConfigPtrOutput) KmsKeyNames ¶ added in v8.7.0
func (o DatabaseEncryptionConfigPtrOutput) KmsKeyNames() pulumi.StringArrayOutput
Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist in the same locations as the Spanner Database.
func (DatabaseEncryptionConfigPtrOutput) ToDatabaseEncryptionConfigPtrOutput ¶
func (o DatabaseEncryptionConfigPtrOutput) ToDatabaseEncryptionConfigPtrOutput() DatabaseEncryptionConfigPtrOutput
func (DatabaseEncryptionConfigPtrOutput) ToDatabaseEncryptionConfigPtrOutputWithContext ¶
func (o DatabaseEncryptionConfigPtrOutput) ToDatabaseEncryptionConfigPtrOutputWithContext(ctx context.Context) DatabaseEncryptionConfigPtrOutput
type DatabaseIAMBinding ¶
type DatabaseIAMBinding struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition DatabaseIAMBindingConditionPtrOutput `pulumi:"condition"` // The name of the Spanner database. Database pulumi.StringOutput `pulumi:"database"` // (Computed) The etag of the database's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the Spanner instance the database belongs to. Instance pulumi.StringOutput `pulumi:"instance"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayOutput `pulumi:"members"` // 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 role that should be applied. Only one // `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for a Spanner database. Each of these resources serves a different use case:
* `spanner.DatabaseIAMPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
> **Warning:** It's entirely possibly to lock yourself out of your database using `spanner.DatabaseIAMPolicy`. Any permissions granted by default will be removed unless you include them in your config.
* `spanner.DatabaseIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the database are preserved. * `spanner.DatabaseIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
> **Note:** `spanner.DatabaseIAMPolicy` **cannot** be used in conjunction with `spanner.DatabaseIAMBinding` and `spanner.DatabaseIAMMember` or they will fight over what your policy should be.
> **Note:** `spanner.DatabaseIAMBinding` resources **can be** used in conjunction with `spanner.DatabaseIAMMember` resources **only if** they do not grant privilege to the same role.
## spanner.DatabaseIAMPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewDatabaseIAMPolicy(ctx, "database", &spanner.DatabaseIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "My Role", Description: pulumi.StringRef("Grant permissions on my_role"), Expression: "(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewDatabaseIAMPolicy(ctx, "database", &spanner.DatabaseIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &spanner.DatabaseIAMBindingConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), Condition: &spanner.DatabaseIAMMemberConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &spanner.DatabaseIAMBindingConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), Condition: &spanner.DatabaseIAMMemberConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## Import
### Importing IAM policies
IAM policy imports use the identifier of the Spanner Database resource in question. For example:
* `{{project}}/{{instance}}/{{database}}`
An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:
tf
import {
id = {{project}}/{{instance}}/{{database}} to = google_spanner_database_iam_policy.default
}
The `pulumi import` command can also be used:
```sh $ pulumi import gcp:spanner/databaseIAMBinding:DatabaseIAMBinding default {{project}}/{{instance}}/{{database}} ```
func GetDatabaseIAMBinding ¶
func GetDatabaseIAMBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseIAMBindingState, opts ...pulumi.ResourceOption) (*DatabaseIAMBinding, error)
GetDatabaseIAMBinding gets an existing DatabaseIAMBinding 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 NewDatabaseIAMBinding ¶
func NewDatabaseIAMBinding(ctx *pulumi.Context, name string, args *DatabaseIAMBindingArgs, opts ...pulumi.ResourceOption) (*DatabaseIAMBinding, error)
NewDatabaseIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*DatabaseIAMBinding) ElementType ¶
func (*DatabaseIAMBinding) ElementType() reflect.Type
func (*DatabaseIAMBinding) ToDatabaseIAMBindingOutput ¶
func (i *DatabaseIAMBinding) ToDatabaseIAMBindingOutput() DatabaseIAMBindingOutput
func (*DatabaseIAMBinding) ToDatabaseIAMBindingOutputWithContext ¶
func (i *DatabaseIAMBinding) ToDatabaseIAMBindingOutputWithContext(ctx context.Context) DatabaseIAMBindingOutput
type DatabaseIAMBindingArgs ¶
type DatabaseIAMBindingArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition DatabaseIAMBindingConditionPtrInput // The name of the Spanner database. Database pulumi.StringInput // The name of the Spanner instance the database belongs to. Instance pulumi.StringInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a DatabaseIAMBinding resource.
func (DatabaseIAMBindingArgs) ElementType ¶
func (DatabaseIAMBindingArgs) ElementType() reflect.Type
type DatabaseIAMBindingArray ¶
type DatabaseIAMBindingArray []DatabaseIAMBindingInput
func (DatabaseIAMBindingArray) ElementType ¶
func (DatabaseIAMBindingArray) ElementType() reflect.Type
func (DatabaseIAMBindingArray) ToDatabaseIAMBindingArrayOutput ¶
func (i DatabaseIAMBindingArray) ToDatabaseIAMBindingArrayOutput() DatabaseIAMBindingArrayOutput
func (DatabaseIAMBindingArray) ToDatabaseIAMBindingArrayOutputWithContext ¶
func (i DatabaseIAMBindingArray) ToDatabaseIAMBindingArrayOutputWithContext(ctx context.Context) DatabaseIAMBindingArrayOutput
type DatabaseIAMBindingArrayInput ¶
type DatabaseIAMBindingArrayInput interface { pulumi.Input ToDatabaseIAMBindingArrayOutput() DatabaseIAMBindingArrayOutput ToDatabaseIAMBindingArrayOutputWithContext(context.Context) DatabaseIAMBindingArrayOutput }
DatabaseIAMBindingArrayInput is an input type that accepts DatabaseIAMBindingArray and DatabaseIAMBindingArrayOutput values. You can construct a concrete instance of `DatabaseIAMBindingArrayInput` via:
DatabaseIAMBindingArray{ DatabaseIAMBindingArgs{...} }
type DatabaseIAMBindingArrayOutput ¶
type DatabaseIAMBindingArrayOutput struct{ *pulumi.OutputState }
func (DatabaseIAMBindingArrayOutput) ElementType ¶
func (DatabaseIAMBindingArrayOutput) ElementType() reflect.Type
func (DatabaseIAMBindingArrayOutput) Index ¶
func (o DatabaseIAMBindingArrayOutput) Index(i pulumi.IntInput) DatabaseIAMBindingOutput
func (DatabaseIAMBindingArrayOutput) ToDatabaseIAMBindingArrayOutput ¶
func (o DatabaseIAMBindingArrayOutput) ToDatabaseIAMBindingArrayOutput() DatabaseIAMBindingArrayOutput
func (DatabaseIAMBindingArrayOutput) ToDatabaseIAMBindingArrayOutputWithContext ¶
func (o DatabaseIAMBindingArrayOutput) ToDatabaseIAMBindingArrayOutputWithContext(ctx context.Context) DatabaseIAMBindingArrayOutput
type DatabaseIAMBindingCondition ¶
type DatabaseIAMBindingCondition struct { Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type DatabaseIAMBindingConditionArgs ¶
type DatabaseIAMBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (DatabaseIAMBindingConditionArgs) ElementType ¶
func (DatabaseIAMBindingConditionArgs) ElementType() reflect.Type
func (DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionOutput ¶
func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionOutput() DatabaseIAMBindingConditionOutput
func (DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionOutputWithContext ¶
func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionOutput
func (DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionPtrOutput ¶
func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput
func (DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionPtrOutputWithContext ¶
func (i DatabaseIAMBindingConditionArgs) ToDatabaseIAMBindingConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionPtrOutput
type DatabaseIAMBindingConditionInput ¶
type DatabaseIAMBindingConditionInput interface { pulumi.Input ToDatabaseIAMBindingConditionOutput() DatabaseIAMBindingConditionOutput ToDatabaseIAMBindingConditionOutputWithContext(context.Context) DatabaseIAMBindingConditionOutput }
DatabaseIAMBindingConditionInput is an input type that accepts DatabaseIAMBindingConditionArgs and DatabaseIAMBindingConditionOutput values. You can construct a concrete instance of `DatabaseIAMBindingConditionInput` via:
DatabaseIAMBindingConditionArgs{...}
type DatabaseIAMBindingConditionOutput ¶
type DatabaseIAMBindingConditionOutput struct{ *pulumi.OutputState }
func (DatabaseIAMBindingConditionOutput) Description ¶
func (o DatabaseIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
func (DatabaseIAMBindingConditionOutput) ElementType ¶
func (DatabaseIAMBindingConditionOutput) ElementType() reflect.Type
func (DatabaseIAMBindingConditionOutput) Expression ¶
func (o DatabaseIAMBindingConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (DatabaseIAMBindingConditionOutput) Title ¶
func (o DatabaseIAMBindingConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionOutput ¶
func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionOutput() DatabaseIAMBindingConditionOutput
func (DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionOutputWithContext ¶
func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionOutput
func (DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionPtrOutput ¶
func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput
func (DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionPtrOutputWithContext ¶
func (o DatabaseIAMBindingConditionOutput) ToDatabaseIAMBindingConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionPtrOutput
type DatabaseIAMBindingConditionPtrInput ¶
type DatabaseIAMBindingConditionPtrInput interface { pulumi.Input ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput ToDatabaseIAMBindingConditionPtrOutputWithContext(context.Context) DatabaseIAMBindingConditionPtrOutput }
DatabaseIAMBindingConditionPtrInput is an input type that accepts DatabaseIAMBindingConditionArgs, DatabaseIAMBindingConditionPtr and DatabaseIAMBindingConditionPtrOutput values. You can construct a concrete instance of `DatabaseIAMBindingConditionPtrInput` via:
DatabaseIAMBindingConditionArgs{...} or: nil
func DatabaseIAMBindingConditionPtr ¶
func DatabaseIAMBindingConditionPtr(v *DatabaseIAMBindingConditionArgs) DatabaseIAMBindingConditionPtrInput
type DatabaseIAMBindingConditionPtrOutput ¶
type DatabaseIAMBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (DatabaseIAMBindingConditionPtrOutput) Description ¶
func (o DatabaseIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (DatabaseIAMBindingConditionPtrOutput) ElementType ¶
func (DatabaseIAMBindingConditionPtrOutput) ElementType() reflect.Type
func (DatabaseIAMBindingConditionPtrOutput) Expression ¶
func (o DatabaseIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (DatabaseIAMBindingConditionPtrOutput) Title ¶
func (o DatabaseIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (DatabaseIAMBindingConditionPtrOutput) ToDatabaseIAMBindingConditionPtrOutput ¶
func (o DatabaseIAMBindingConditionPtrOutput) ToDatabaseIAMBindingConditionPtrOutput() DatabaseIAMBindingConditionPtrOutput
func (DatabaseIAMBindingConditionPtrOutput) ToDatabaseIAMBindingConditionPtrOutputWithContext ¶
func (o DatabaseIAMBindingConditionPtrOutput) ToDatabaseIAMBindingConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMBindingConditionPtrOutput
type DatabaseIAMBindingInput ¶
type DatabaseIAMBindingInput interface { pulumi.Input ToDatabaseIAMBindingOutput() DatabaseIAMBindingOutput ToDatabaseIAMBindingOutputWithContext(ctx context.Context) DatabaseIAMBindingOutput }
type DatabaseIAMBindingMap ¶
type DatabaseIAMBindingMap map[string]DatabaseIAMBindingInput
func (DatabaseIAMBindingMap) ElementType ¶
func (DatabaseIAMBindingMap) ElementType() reflect.Type
func (DatabaseIAMBindingMap) ToDatabaseIAMBindingMapOutput ¶
func (i DatabaseIAMBindingMap) ToDatabaseIAMBindingMapOutput() DatabaseIAMBindingMapOutput
func (DatabaseIAMBindingMap) ToDatabaseIAMBindingMapOutputWithContext ¶
func (i DatabaseIAMBindingMap) ToDatabaseIAMBindingMapOutputWithContext(ctx context.Context) DatabaseIAMBindingMapOutput
type DatabaseIAMBindingMapInput ¶
type DatabaseIAMBindingMapInput interface { pulumi.Input ToDatabaseIAMBindingMapOutput() DatabaseIAMBindingMapOutput ToDatabaseIAMBindingMapOutputWithContext(context.Context) DatabaseIAMBindingMapOutput }
DatabaseIAMBindingMapInput is an input type that accepts DatabaseIAMBindingMap and DatabaseIAMBindingMapOutput values. You can construct a concrete instance of `DatabaseIAMBindingMapInput` via:
DatabaseIAMBindingMap{ "key": DatabaseIAMBindingArgs{...} }
type DatabaseIAMBindingMapOutput ¶
type DatabaseIAMBindingMapOutput struct{ *pulumi.OutputState }
func (DatabaseIAMBindingMapOutput) ElementType ¶
func (DatabaseIAMBindingMapOutput) ElementType() reflect.Type
func (DatabaseIAMBindingMapOutput) MapIndex ¶
func (o DatabaseIAMBindingMapOutput) MapIndex(k pulumi.StringInput) DatabaseIAMBindingOutput
func (DatabaseIAMBindingMapOutput) ToDatabaseIAMBindingMapOutput ¶
func (o DatabaseIAMBindingMapOutput) ToDatabaseIAMBindingMapOutput() DatabaseIAMBindingMapOutput
func (DatabaseIAMBindingMapOutput) ToDatabaseIAMBindingMapOutputWithContext ¶
func (o DatabaseIAMBindingMapOutput) ToDatabaseIAMBindingMapOutputWithContext(ctx context.Context) DatabaseIAMBindingMapOutput
type DatabaseIAMBindingOutput ¶
type DatabaseIAMBindingOutput struct{ *pulumi.OutputState }
func (DatabaseIAMBindingOutput) Condition ¶
func (o DatabaseIAMBindingOutput) Condition() DatabaseIAMBindingConditionPtrOutput
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.
func (DatabaseIAMBindingOutput) Database ¶
func (o DatabaseIAMBindingOutput) Database() pulumi.StringOutput
The name of the Spanner database.
func (DatabaseIAMBindingOutput) ElementType ¶
func (DatabaseIAMBindingOutput) ElementType() reflect.Type
func (DatabaseIAMBindingOutput) Etag ¶
func (o DatabaseIAMBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the database's IAM policy.
func (DatabaseIAMBindingOutput) Instance ¶
func (o DatabaseIAMBindingOutput) Instance() pulumi.StringOutput
The name of the Spanner instance the database belongs to.
func (DatabaseIAMBindingOutput) Members ¶
func (o DatabaseIAMBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
func (DatabaseIAMBindingOutput) Project ¶
func (o DatabaseIAMBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (DatabaseIAMBindingOutput) Role ¶
func (o DatabaseIAMBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (DatabaseIAMBindingOutput) ToDatabaseIAMBindingOutput ¶
func (o DatabaseIAMBindingOutput) ToDatabaseIAMBindingOutput() DatabaseIAMBindingOutput
func (DatabaseIAMBindingOutput) ToDatabaseIAMBindingOutputWithContext ¶
func (o DatabaseIAMBindingOutput) ToDatabaseIAMBindingOutputWithContext(ctx context.Context) DatabaseIAMBindingOutput
type DatabaseIAMBindingState ¶
type DatabaseIAMBindingState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition DatabaseIAMBindingConditionPtrInput // The name of the Spanner database. Database pulumi.StringPtrInput // (Computed) The etag of the database's IAM policy. Etag pulumi.StringPtrInput // The name of the Spanner instance the database belongs to. Instance pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (DatabaseIAMBindingState) ElementType ¶
func (DatabaseIAMBindingState) ElementType() reflect.Type
type DatabaseIAMMember ¶
type DatabaseIAMMember struct { pulumi.CustomResourceState // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition DatabaseIAMMemberConditionPtrOutput `pulumi:"condition"` // The name of the Spanner database. Database pulumi.StringOutput `pulumi:"database"` // (Computed) The etag of the database's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the Spanner instance the database belongs to. Instance pulumi.StringOutput `pulumi:"instance"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member pulumi.StringOutput `pulumi:"member"` // 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 role that should be applied. Only one // `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for a Spanner database. Each of these resources serves a different use case:
* `spanner.DatabaseIAMPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
> **Warning:** It's entirely possibly to lock yourself out of your database using `spanner.DatabaseIAMPolicy`. Any permissions granted by default will be removed unless you include them in your config.
* `spanner.DatabaseIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the database are preserved. * `spanner.DatabaseIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
> **Note:** `spanner.DatabaseIAMPolicy` **cannot** be used in conjunction with `spanner.DatabaseIAMBinding` and `spanner.DatabaseIAMMember` or they will fight over what your policy should be.
> **Note:** `spanner.DatabaseIAMBinding` resources **can be** used in conjunction with `spanner.DatabaseIAMMember` resources **only if** they do not grant privilege to the same role.
## spanner.DatabaseIAMPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewDatabaseIAMPolicy(ctx, "database", &spanner.DatabaseIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "My Role", Description: pulumi.StringRef("Grant permissions on my_role"), Expression: "(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewDatabaseIAMPolicy(ctx, "database", &spanner.DatabaseIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &spanner.DatabaseIAMBindingConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), Condition: &spanner.DatabaseIAMMemberConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &spanner.DatabaseIAMBindingConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), Condition: &spanner.DatabaseIAMMemberConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## Import
### Importing IAM policies
IAM policy imports use the identifier of the Spanner Database resource in question. For example:
* `{{project}}/{{instance}}/{{database}}`
An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:
tf
import {
id = {{project}}/{{instance}}/{{database}} to = google_spanner_database_iam_policy.default
}
The `pulumi import` command can also be used:
```sh $ pulumi import gcp:spanner/databaseIAMMember:DatabaseIAMMember default {{project}}/{{instance}}/{{database}} ```
func GetDatabaseIAMMember ¶
func GetDatabaseIAMMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseIAMMemberState, opts ...pulumi.ResourceOption) (*DatabaseIAMMember, error)
GetDatabaseIAMMember gets an existing DatabaseIAMMember 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 NewDatabaseIAMMember ¶
func NewDatabaseIAMMember(ctx *pulumi.Context, name string, args *DatabaseIAMMemberArgs, opts ...pulumi.ResourceOption) (*DatabaseIAMMember, error)
NewDatabaseIAMMember registers a new resource with the given unique name, arguments, and options.
func (*DatabaseIAMMember) ElementType ¶
func (*DatabaseIAMMember) ElementType() reflect.Type
func (*DatabaseIAMMember) ToDatabaseIAMMemberOutput ¶
func (i *DatabaseIAMMember) ToDatabaseIAMMemberOutput() DatabaseIAMMemberOutput
func (*DatabaseIAMMember) ToDatabaseIAMMemberOutputWithContext ¶
func (i *DatabaseIAMMember) ToDatabaseIAMMemberOutputWithContext(ctx context.Context) DatabaseIAMMemberOutput
type DatabaseIAMMemberArgs ¶
type DatabaseIAMMemberArgs struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition DatabaseIAMMemberConditionPtrInput // The name of the Spanner database. Database pulumi.StringInput // The name of the Spanner instance the database belongs to. Instance pulumi.StringInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member 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 role that should be applied. Only one // `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a DatabaseIAMMember resource.
func (DatabaseIAMMemberArgs) ElementType ¶
func (DatabaseIAMMemberArgs) ElementType() reflect.Type
type DatabaseIAMMemberArray ¶
type DatabaseIAMMemberArray []DatabaseIAMMemberInput
func (DatabaseIAMMemberArray) ElementType ¶
func (DatabaseIAMMemberArray) ElementType() reflect.Type
func (DatabaseIAMMemberArray) ToDatabaseIAMMemberArrayOutput ¶
func (i DatabaseIAMMemberArray) ToDatabaseIAMMemberArrayOutput() DatabaseIAMMemberArrayOutput
func (DatabaseIAMMemberArray) ToDatabaseIAMMemberArrayOutputWithContext ¶
func (i DatabaseIAMMemberArray) ToDatabaseIAMMemberArrayOutputWithContext(ctx context.Context) DatabaseIAMMemberArrayOutput
type DatabaseIAMMemberArrayInput ¶
type DatabaseIAMMemberArrayInput interface { pulumi.Input ToDatabaseIAMMemberArrayOutput() DatabaseIAMMemberArrayOutput ToDatabaseIAMMemberArrayOutputWithContext(context.Context) DatabaseIAMMemberArrayOutput }
DatabaseIAMMemberArrayInput is an input type that accepts DatabaseIAMMemberArray and DatabaseIAMMemberArrayOutput values. You can construct a concrete instance of `DatabaseIAMMemberArrayInput` via:
DatabaseIAMMemberArray{ DatabaseIAMMemberArgs{...} }
type DatabaseIAMMemberArrayOutput ¶
type DatabaseIAMMemberArrayOutput struct{ *pulumi.OutputState }
func (DatabaseIAMMemberArrayOutput) ElementType ¶
func (DatabaseIAMMemberArrayOutput) ElementType() reflect.Type
func (DatabaseIAMMemberArrayOutput) Index ¶
func (o DatabaseIAMMemberArrayOutput) Index(i pulumi.IntInput) DatabaseIAMMemberOutput
func (DatabaseIAMMemberArrayOutput) ToDatabaseIAMMemberArrayOutput ¶
func (o DatabaseIAMMemberArrayOutput) ToDatabaseIAMMemberArrayOutput() DatabaseIAMMemberArrayOutput
func (DatabaseIAMMemberArrayOutput) ToDatabaseIAMMemberArrayOutputWithContext ¶
func (o DatabaseIAMMemberArrayOutput) ToDatabaseIAMMemberArrayOutputWithContext(ctx context.Context) DatabaseIAMMemberArrayOutput
type DatabaseIAMMemberCondition ¶
type DatabaseIAMMemberCondition struct { Description *string `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression string `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title string `pulumi:"title"` }
type DatabaseIAMMemberConditionArgs ¶
type DatabaseIAMMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` // Textual representation of an expression in Common Expression Language syntax. Expression pulumi.StringInput `pulumi:"expression"` // A title for the expression, i.e. a short string describing its purpose. Title pulumi.StringInput `pulumi:"title"` }
func (DatabaseIAMMemberConditionArgs) ElementType ¶
func (DatabaseIAMMemberConditionArgs) ElementType() reflect.Type
func (DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionOutput ¶
func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionOutput() DatabaseIAMMemberConditionOutput
func (DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionOutputWithContext ¶
func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionOutput
func (DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionPtrOutput ¶
func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput
func (DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionPtrOutputWithContext ¶
func (i DatabaseIAMMemberConditionArgs) ToDatabaseIAMMemberConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionPtrOutput
type DatabaseIAMMemberConditionInput ¶
type DatabaseIAMMemberConditionInput interface { pulumi.Input ToDatabaseIAMMemberConditionOutput() DatabaseIAMMemberConditionOutput ToDatabaseIAMMemberConditionOutputWithContext(context.Context) DatabaseIAMMemberConditionOutput }
DatabaseIAMMemberConditionInput is an input type that accepts DatabaseIAMMemberConditionArgs and DatabaseIAMMemberConditionOutput values. You can construct a concrete instance of `DatabaseIAMMemberConditionInput` via:
DatabaseIAMMemberConditionArgs{...}
type DatabaseIAMMemberConditionOutput ¶
type DatabaseIAMMemberConditionOutput struct{ *pulumi.OutputState }
func (DatabaseIAMMemberConditionOutput) Description ¶
func (o DatabaseIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
func (DatabaseIAMMemberConditionOutput) ElementType ¶
func (DatabaseIAMMemberConditionOutput) ElementType() reflect.Type
func (DatabaseIAMMemberConditionOutput) Expression ¶
func (o DatabaseIAMMemberConditionOutput) Expression() pulumi.StringOutput
Textual representation of an expression in Common Expression Language syntax.
func (DatabaseIAMMemberConditionOutput) Title ¶
func (o DatabaseIAMMemberConditionOutput) Title() pulumi.StringOutput
A title for the expression, i.e. a short string describing its purpose.
func (DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionOutput ¶
func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionOutput() DatabaseIAMMemberConditionOutput
func (DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionOutputWithContext ¶
func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionOutput
func (DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionPtrOutput ¶
func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput
func (DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionPtrOutputWithContext ¶
func (o DatabaseIAMMemberConditionOutput) ToDatabaseIAMMemberConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionPtrOutput
type DatabaseIAMMemberConditionPtrInput ¶
type DatabaseIAMMemberConditionPtrInput interface { pulumi.Input ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput ToDatabaseIAMMemberConditionPtrOutputWithContext(context.Context) DatabaseIAMMemberConditionPtrOutput }
DatabaseIAMMemberConditionPtrInput is an input type that accepts DatabaseIAMMemberConditionArgs, DatabaseIAMMemberConditionPtr and DatabaseIAMMemberConditionPtrOutput values. You can construct a concrete instance of `DatabaseIAMMemberConditionPtrInput` via:
DatabaseIAMMemberConditionArgs{...} or: nil
func DatabaseIAMMemberConditionPtr ¶
func DatabaseIAMMemberConditionPtr(v *DatabaseIAMMemberConditionArgs) DatabaseIAMMemberConditionPtrInput
type DatabaseIAMMemberConditionPtrOutput ¶
type DatabaseIAMMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (DatabaseIAMMemberConditionPtrOutput) Description ¶
func (o DatabaseIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (DatabaseIAMMemberConditionPtrOutput) Elem ¶
func (o DatabaseIAMMemberConditionPtrOutput) Elem() DatabaseIAMMemberConditionOutput
func (DatabaseIAMMemberConditionPtrOutput) ElementType ¶
func (DatabaseIAMMemberConditionPtrOutput) ElementType() reflect.Type
func (DatabaseIAMMemberConditionPtrOutput) Expression ¶
func (o DatabaseIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
Textual representation of an expression in Common Expression Language syntax.
func (DatabaseIAMMemberConditionPtrOutput) Title ¶
func (o DatabaseIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
A title for the expression, i.e. a short string describing its purpose.
func (DatabaseIAMMemberConditionPtrOutput) ToDatabaseIAMMemberConditionPtrOutput ¶
func (o DatabaseIAMMemberConditionPtrOutput) ToDatabaseIAMMemberConditionPtrOutput() DatabaseIAMMemberConditionPtrOutput
func (DatabaseIAMMemberConditionPtrOutput) ToDatabaseIAMMemberConditionPtrOutputWithContext ¶
func (o DatabaseIAMMemberConditionPtrOutput) ToDatabaseIAMMemberConditionPtrOutputWithContext(ctx context.Context) DatabaseIAMMemberConditionPtrOutput
type DatabaseIAMMemberInput ¶
type DatabaseIAMMemberInput interface { pulumi.Input ToDatabaseIAMMemberOutput() DatabaseIAMMemberOutput ToDatabaseIAMMemberOutputWithContext(ctx context.Context) DatabaseIAMMemberOutput }
type DatabaseIAMMemberMap ¶
type DatabaseIAMMemberMap map[string]DatabaseIAMMemberInput
func (DatabaseIAMMemberMap) ElementType ¶
func (DatabaseIAMMemberMap) ElementType() reflect.Type
func (DatabaseIAMMemberMap) ToDatabaseIAMMemberMapOutput ¶
func (i DatabaseIAMMemberMap) ToDatabaseIAMMemberMapOutput() DatabaseIAMMemberMapOutput
func (DatabaseIAMMemberMap) ToDatabaseIAMMemberMapOutputWithContext ¶
func (i DatabaseIAMMemberMap) ToDatabaseIAMMemberMapOutputWithContext(ctx context.Context) DatabaseIAMMemberMapOutput
type DatabaseIAMMemberMapInput ¶
type DatabaseIAMMemberMapInput interface { pulumi.Input ToDatabaseIAMMemberMapOutput() DatabaseIAMMemberMapOutput ToDatabaseIAMMemberMapOutputWithContext(context.Context) DatabaseIAMMemberMapOutput }
DatabaseIAMMemberMapInput is an input type that accepts DatabaseIAMMemberMap and DatabaseIAMMemberMapOutput values. You can construct a concrete instance of `DatabaseIAMMemberMapInput` via:
DatabaseIAMMemberMap{ "key": DatabaseIAMMemberArgs{...} }
type DatabaseIAMMemberMapOutput ¶
type DatabaseIAMMemberMapOutput struct{ *pulumi.OutputState }
func (DatabaseIAMMemberMapOutput) ElementType ¶
func (DatabaseIAMMemberMapOutput) ElementType() reflect.Type
func (DatabaseIAMMemberMapOutput) MapIndex ¶
func (o DatabaseIAMMemberMapOutput) MapIndex(k pulumi.StringInput) DatabaseIAMMemberOutput
func (DatabaseIAMMemberMapOutput) ToDatabaseIAMMemberMapOutput ¶
func (o DatabaseIAMMemberMapOutput) ToDatabaseIAMMemberMapOutput() DatabaseIAMMemberMapOutput
func (DatabaseIAMMemberMapOutput) ToDatabaseIAMMemberMapOutputWithContext ¶
func (o DatabaseIAMMemberMapOutput) ToDatabaseIAMMemberMapOutputWithContext(ctx context.Context) DatabaseIAMMemberMapOutput
type DatabaseIAMMemberOutput ¶
type DatabaseIAMMemberOutput struct{ *pulumi.OutputState }
func (DatabaseIAMMemberOutput) Condition ¶
func (o DatabaseIAMMemberOutput) Condition() DatabaseIAMMemberConditionPtrOutput
An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. Structure is documented below.
func (DatabaseIAMMemberOutput) Database ¶
func (o DatabaseIAMMemberOutput) Database() pulumi.StringOutput
The name of the Spanner database.
func (DatabaseIAMMemberOutput) ElementType ¶
func (DatabaseIAMMemberOutput) ElementType() reflect.Type
func (DatabaseIAMMemberOutput) Etag ¶
func (o DatabaseIAMMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the database's IAM policy.
func (DatabaseIAMMemberOutput) Instance ¶
func (o DatabaseIAMMemberOutput) Instance() pulumi.StringOutput
The name of the Spanner instance the database belongs to.
func (DatabaseIAMMemberOutput) Member ¶
func (o DatabaseIAMMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
func (DatabaseIAMMemberOutput) Project ¶
func (o DatabaseIAMMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (DatabaseIAMMemberOutput) Role ¶
func (o DatabaseIAMMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (DatabaseIAMMemberOutput) ToDatabaseIAMMemberOutput ¶
func (o DatabaseIAMMemberOutput) ToDatabaseIAMMemberOutput() DatabaseIAMMemberOutput
func (DatabaseIAMMemberOutput) ToDatabaseIAMMemberOutputWithContext ¶
func (o DatabaseIAMMemberOutput) ToDatabaseIAMMemberOutputWithContext(ctx context.Context) DatabaseIAMMemberOutput
type DatabaseIAMMemberState ¶
type DatabaseIAMMemberState struct { // An [IAM Condition](https://cloud.google.com/iam/docs/conditions-overview) for a given binding. // Structure is documented below. Condition DatabaseIAMMemberConditionPtrInput // The name of the Spanner database. Database pulumi.StringPtrInput // (Computed) The etag of the database's IAM policy. Etag pulumi.StringPtrInput // The name of the Spanner instance the database belongs to. Instance pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member 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 role that should be applied. Only one // `spanner.DatabaseIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (DatabaseIAMMemberState) ElementType ¶
func (DatabaseIAMMemberState) ElementType() reflect.Type
type DatabaseIAMPolicy ¶
type DatabaseIAMPolicy struct { pulumi.CustomResourceState // The name of the Spanner database. Database pulumi.StringOutput `pulumi:"database"` // (Computed) The etag of the database's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the Spanner instance the database belongs to. Instance pulumi.StringOutput `pulumi:"instance"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // 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"` }
Three different resources help you manage your IAM policy for a Spanner database. Each of these resources serves a different use case:
* `spanner.DatabaseIAMPolicy`: Authoritative. Sets the IAM policy for the database and replaces any existing policy already attached.
> **Warning:** It's entirely possibly to lock yourself out of your database using `spanner.DatabaseIAMPolicy`. Any permissions granted by default will be removed unless you include them in your config.
* `spanner.DatabaseIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the database are preserved. * `spanner.DatabaseIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the database are preserved.
> **Note:** `spanner.DatabaseIAMPolicy` **cannot** be used in conjunction with `spanner.DatabaseIAMBinding` and `spanner.DatabaseIAMMember` or they will fight over what your policy should be.
> **Note:** `spanner.DatabaseIAMBinding` resources **can be** used in conjunction with `spanner.DatabaseIAMMember` resources **only if** they do not grant privilege to the same role.
## spanner.DatabaseIAMPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewDatabaseIAMPolicy(ctx, "database", &spanner.DatabaseIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, Condition: { Title: "My Role", Description: pulumi.StringRef("Grant permissions on my_role"), Expression: "(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewDatabaseIAMPolicy(ctx, "database", &spanner.DatabaseIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &spanner.DatabaseIAMBindingConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), Condition: &spanner.DatabaseIAMMemberConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMBinding(ctx, "database", &spanner.DatabaseIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, Condition: &spanner.DatabaseIAMBindingConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## spanner.DatabaseIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
With IAM Conditions:
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewDatabaseIAMMember(ctx, "database", &spanner.DatabaseIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Database: pulumi.String("your-database-name"), Role: pulumi.String("roles/compute.networkUser"), Member: pulumi.String("user:jane@example.com"), Condition: &spanner.DatabaseIAMMemberConditionArgs{ Title: pulumi.String("My Role"), Description: pulumi.String("Grant permissions on my_role"), Expression: pulumi.String("(resource.type == \"spanner.googleapis.com/DatabaseRole\" && (resource.name.endsWith(\"/myrole\")))"), }, }) if err != nil { return err } return nil }) }
```
## Import
### Importing IAM policies
IAM policy imports use the identifier of the Spanner Database resource in question. For example:
* `{{project}}/{{instance}}/{{database}}`
An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:
tf
import {
id = {{project}}/{{instance}}/{{database}} to = google_spanner_database_iam_policy.default
}
The `pulumi import` command can also be used:
```sh $ pulumi import gcp:spanner/databaseIAMPolicy:DatabaseIAMPolicy default {{project}}/{{instance}}/{{database}} ```
func GetDatabaseIAMPolicy ¶
func GetDatabaseIAMPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseIAMPolicyState, opts ...pulumi.ResourceOption) (*DatabaseIAMPolicy, error)
GetDatabaseIAMPolicy gets an existing DatabaseIAMPolicy 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 NewDatabaseIAMPolicy ¶
func NewDatabaseIAMPolicy(ctx *pulumi.Context, name string, args *DatabaseIAMPolicyArgs, opts ...pulumi.ResourceOption) (*DatabaseIAMPolicy, error)
NewDatabaseIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*DatabaseIAMPolicy) ElementType ¶
func (*DatabaseIAMPolicy) ElementType() reflect.Type
func (*DatabaseIAMPolicy) ToDatabaseIAMPolicyOutput ¶
func (i *DatabaseIAMPolicy) ToDatabaseIAMPolicyOutput() DatabaseIAMPolicyOutput
func (*DatabaseIAMPolicy) ToDatabaseIAMPolicyOutputWithContext ¶
func (i *DatabaseIAMPolicy) ToDatabaseIAMPolicyOutputWithContext(ctx context.Context) DatabaseIAMPolicyOutput
type DatabaseIAMPolicyArgs ¶
type DatabaseIAMPolicyArgs struct { // The name of the Spanner database. Database pulumi.StringInput // The name of the Spanner instance the database belongs to. Instance pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData 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 DatabaseIAMPolicy resource.
func (DatabaseIAMPolicyArgs) ElementType ¶
func (DatabaseIAMPolicyArgs) ElementType() reflect.Type
type DatabaseIAMPolicyArray ¶
type DatabaseIAMPolicyArray []DatabaseIAMPolicyInput
func (DatabaseIAMPolicyArray) ElementType ¶
func (DatabaseIAMPolicyArray) ElementType() reflect.Type
func (DatabaseIAMPolicyArray) ToDatabaseIAMPolicyArrayOutput ¶
func (i DatabaseIAMPolicyArray) ToDatabaseIAMPolicyArrayOutput() DatabaseIAMPolicyArrayOutput
func (DatabaseIAMPolicyArray) ToDatabaseIAMPolicyArrayOutputWithContext ¶
func (i DatabaseIAMPolicyArray) ToDatabaseIAMPolicyArrayOutputWithContext(ctx context.Context) DatabaseIAMPolicyArrayOutput
type DatabaseIAMPolicyArrayInput ¶
type DatabaseIAMPolicyArrayInput interface { pulumi.Input ToDatabaseIAMPolicyArrayOutput() DatabaseIAMPolicyArrayOutput ToDatabaseIAMPolicyArrayOutputWithContext(context.Context) DatabaseIAMPolicyArrayOutput }
DatabaseIAMPolicyArrayInput is an input type that accepts DatabaseIAMPolicyArray and DatabaseIAMPolicyArrayOutput values. You can construct a concrete instance of `DatabaseIAMPolicyArrayInput` via:
DatabaseIAMPolicyArray{ DatabaseIAMPolicyArgs{...} }
type DatabaseIAMPolicyArrayOutput ¶
type DatabaseIAMPolicyArrayOutput struct{ *pulumi.OutputState }
func (DatabaseIAMPolicyArrayOutput) ElementType ¶
func (DatabaseIAMPolicyArrayOutput) ElementType() reflect.Type
func (DatabaseIAMPolicyArrayOutput) Index ¶
func (o DatabaseIAMPolicyArrayOutput) Index(i pulumi.IntInput) DatabaseIAMPolicyOutput
func (DatabaseIAMPolicyArrayOutput) ToDatabaseIAMPolicyArrayOutput ¶
func (o DatabaseIAMPolicyArrayOutput) ToDatabaseIAMPolicyArrayOutput() DatabaseIAMPolicyArrayOutput
func (DatabaseIAMPolicyArrayOutput) ToDatabaseIAMPolicyArrayOutputWithContext ¶
func (o DatabaseIAMPolicyArrayOutput) ToDatabaseIAMPolicyArrayOutputWithContext(ctx context.Context) DatabaseIAMPolicyArrayOutput
type DatabaseIAMPolicyInput ¶
type DatabaseIAMPolicyInput interface { pulumi.Input ToDatabaseIAMPolicyOutput() DatabaseIAMPolicyOutput ToDatabaseIAMPolicyOutputWithContext(ctx context.Context) DatabaseIAMPolicyOutput }
type DatabaseIAMPolicyMap ¶
type DatabaseIAMPolicyMap map[string]DatabaseIAMPolicyInput
func (DatabaseIAMPolicyMap) ElementType ¶
func (DatabaseIAMPolicyMap) ElementType() reflect.Type
func (DatabaseIAMPolicyMap) ToDatabaseIAMPolicyMapOutput ¶
func (i DatabaseIAMPolicyMap) ToDatabaseIAMPolicyMapOutput() DatabaseIAMPolicyMapOutput
func (DatabaseIAMPolicyMap) ToDatabaseIAMPolicyMapOutputWithContext ¶
func (i DatabaseIAMPolicyMap) ToDatabaseIAMPolicyMapOutputWithContext(ctx context.Context) DatabaseIAMPolicyMapOutput
type DatabaseIAMPolicyMapInput ¶
type DatabaseIAMPolicyMapInput interface { pulumi.Input ToDatabaseIAMPolicyMapOutput() DatabaseIAMPolicyMapOutput ToDatabaseIAMPolicyMapOutputWithContext(context.Context) DatabaseIAMPolicyMapOutput }
DatabaseIAMPolicyMapInput is an input type that accepts DatabaseIAMPolicyMap and DatabaseIAMPolicyMapOutput values. You can construct a concrete instance of `DatabaseIAMPolicyMapInput` via:
DatabaseIAMPolicyMap{ "key": DatabaseIAMPolicyArgs{...} }
type DatabaseIAMPolicyMapOutput ¶
type DatabaseIAMPolicyMapOutput struct{ *pulumi.OutputState }
func (DatabaseIAMPolicyMapOutput) ElementType ¶
func (DatabaseIAMPolicyMapOutput) ElementType() reflect.Type
func (DatabaseIAMPolicyMapOutput) MapIndex ¶
func (o DatabaseIAMPolicyMapOutput) MapIndex(k pulumi.StringInput) DatabaseIAMPolicyOutput
func (DatabaseIAMPolicyMapOutput) ToDatabaseIAMPolicyMapOutput ¶
func (o DatabaseIAMPolicyMapOutput) ToDatabaseIAMPolicyMapOutput() DatabaseIAMPolicyMapOutput
func (DatabaseIAMPolicyMapOutput) ToDatabaseIAMPolicyMapOutputWithContext ¶
func (o DatabaseIAMPolicyMapOutput) ToDatabaseIAMPolicyMapOutputWithContext(ctx context.Context) DatabaseIAMPolicyMapOutput
type DatabaseIAMPolicyOutput ¶
type DatabaseIAMPolicyOutput struct{ *pulumi.OutputState }
func (DatabaseIAMPolicyOutput) Database ¶
func (o DatabaseIAMPolicyOutput) Database() pulumi.StringOutput
The name of the Spanner database.
func (DatabaseIAMPolicyOutput) ElementType ¶
func (DatabaseIAMPolicyOutput) ElementType() reflect.Type
func (DatabaseIAMPolicyOutput) Etag ¶
func (o DatabaseIAMPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the database's IAM policy.
func (DatabaseIAMPolicyOutput) Instance ¶
func (o DatabaseIAMPolicyOutput) Instance() pulumi.StringOutput
The name of the Spanner instance the database belongs to.
func (DatabaseIAMPolicyOutput) PolicyData ¶
func (o DatabaseIAMPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (DatabaseIAMPolicyOutput) Project ¶
func (o DatabaseIAMPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (DatabaseIAMPolicyOutput) ToDatabaseIAMPolicyOutput ¶
func (o DatabaseIAMPolicyOutput) ToDatabaseIAMPolicyOutput() DatabaseIAMPolicyOutput
func (DatabaseIAMPolicyOutput) ToDatabaseIAMPolicyOutputWithContext ¶
func (o DatabaseIAMPolicyOutput) ToDatabaseIAMPolicyOutputWithContext(ctx context.Context) DatabaseIAMPolicyOutput
type DatabaseIAMPolicyState ¶
type DatabaseIAMPolicyState struct { // The name of the Spanner database. Database pulumi.StringPtrInput // (Computed) The etag of the database's IAM policy. Etag pulumi.StringPtrInput // The name of the Spanner instance the database belongs to. Instance pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData 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 }
func (DatabaseIAMPolicyState) ElementType ¶
func (DatabaseIAMPolicyState) ElementType() reflect.Type
type DatabaseInput ¶
type DatabaseInput interface { pulumi.Input ToDatabaseOutput() DatabaseOutput ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput }
type DatabaseMap ¶
type DatabaseMap map[string]DatabaseInput
func (DatabaseMap) ElementType ¶
func (DatabaseMap) ElementType() reflect.Type
func (DatabaseMap) ToDatabaseMapOutput ¶
func (i DatabaseMap) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMap) ToDatabaseMapOutputWithContext ¶
func (i DatabaseMap) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseMapInput ¶
type DatabaseMapInput interface { pulumi.Input ToDatabaseMapOutput() DatabaseMapOutput ToDatabaseMapOutputWithContext(context.Context) DatabaseMapOutput }
DatabaseMapInput is an input type that accepts DatabaseMap and DatabaseMapOutput values. You can construct a concrete instance of `DatabaseMapInput` via:
DatabaseMap{ "key": DatabaseArgs{...} }
type DatabaseMapOutput ¶
type DatabaseMapOutput struct{ *pulumi.OutputState }
func (DatabaseMapOutput) ElementType ¶
func (DatabaseMapOutput) ElementType() reflect.Type
func (DatabaseMapOutput) MapIndex ¶
func (o DatabaseMapOutput) MapIndex(k pulumi.StringInput) DatabaseOutput
func (DatabaseMapOutput) ToDatabaseMapOutput ¶
func (o DatabaseMapOutput) ToDatabaseMapOutput() DatabaseMapOutput
func (DatabaseMapOutput) ToDatabaseMapOutputWithContext ¶
func (o DatabaseMapOutput) ToDatabaseMapOutputWithContext(ctx context.Context) DatabaseMapOutput
type DatabaseOutput ¶
type DatabaseOutput struct{ *pulumi.OutputState }
func (DatabaseOutput) DatabaseDialect ¶
func (o DatabaseOutput) DatabaseDialect() pulumi.StringOutput
The dialect of the Cloud Spanner Database. If it is not provided, "GOOGLE_STANDARD_SQL" will be used. Possible values are: `GOOGLE_STANDARD_SQL`, `POSTGRESQL`.
func (DatabaseOutput) Ddls ¶
func (o DatabaseOutput) Ddls() pulumi.StringArrayOutput
An optional list of DDL statements to run inside the newly created database. Statements can create tables, indexes, etc. These statements execute atomically with the creation of the database: if there is an error in any statement, the database is not created.
func (DatabaseOutput) DeletionProtection ¶
func (o DatabaseOutput) DeletionProtection() pulumi.BoolPtrOutput
Whether or not to allow the provider to destroy the instance. Unless this field is set to false in state, a `destroy` or `update` that would delete the instance will fail.
func (DatabaseOutput) ElementType ¶
func (DatabaseOutput) ElementType() reflect.Type
func (DatabaseOutput) EnableDropProtection ¶
func (o DatabaseOutput) EnableDropProtection() pulumi.BoolPtrOutput
func (DatabaseOutput) EncryptionConfig ¶
func (o DatabaseOutput) EncryptionConfig() DatabaseEncryptionConfigPtrOutput
Encryption configuration for the database Structure is documented below.
func (DatabaseOutput) Instance ¶
func (o DatabaseOutput) Instance() pulumi.StringOutput
The instance to create the database on.
***
func (DatabaseOutput) Name ¶
func (o DatabaseOutput) Name() pulumi.StringOutput
A unique identifier for the database, which cannot be changed after the instance is created. Values are of the form `[a-z][-_a-z0-9]*[a-z0-9]`.
func (DatabaseOutput) Project ¶
func (o DatabaseOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (DatabaseOutput) State ¶
func (o DatabaseOutput) State() pulumi.StringOutput
An explanation of the status of the database.
func (DatabaseOutput) ToDatabaseOutput ¶
func (o DatabaseOutput) ToDatabaseOutput() DatabaseOutput
func (DatabaseOutput) ToDatabaseOutputWithContext ¶
func (o DatabaseOutput) ToDatabaseOutputWithContext(ctx context.Context) DatabaseOutput
func (DatabaseOutput) VersionRetentionPeriod ¶
func (o DatabaseOutput) VersionRetentionPeriod() pulumi.StringOutput
The retention period for the database. The retention period must be between 1 hour and 7 days, and can be specified in days, hours, minutes, or seconds. For example, the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h. If this property is used, you must avoid adding new DDL statements to `ddl` that update the database's version_retention_period.
type DatabaseState ¶
type DatabaseState struct { // The dialect of the Cloud Spanner Database. // If it is not provided, "GOOGLE_STANDARD_SQL" will be used. // Possible values are: `GOOGLE_STANDARD_SQL`, `POSTGRESQL`. DatabaseDialect pulumi.StringPtrInput // An optional list of DDL statements to run inside the newly created // database. Statements can create tables, indexes, etc. These statements // execute atomically with the creation of the database: if there is an // error in any statement, the database is not created. Ddls pulumi.StringArrayInput // Whether or not to allow the provider to destroy the instance. Unless this field is set to false // in state, a `destroy` or `update` that would delete the instance will fail. DeletionProtection pulumi.BoolPtrInput EnableDropProtection pulumi.BoolPtrInput // Encryption configuration for the database // Structure is documented below. EncryptionConfig DatabaseEncryptionConfigPtrInput // The instance to create the database on. // // *** Instance pulumi.StringPtrInput // A unique identifier for the database, which cannot be changed after the // instance is created. Values are of the form `[a-z][-_a-z0-9]*[a-z0-9]`. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // An explanation of the status of the database. State pulumi.StringPtrInput // The retention period for the database. The retention period must be between 1 hour // and 7 days, and can be specified in days, hours, minutes, or seconds. For example, // the values 1d, 24h, 1440m, and 86400s are equivalent. Default value is 1h. // If this property is used, you must avoid adding new DDL statements to `ddl` that // update the database's version_retention_period. VersionRetentionPeriod pulumi.StringPtrInput }
func (DatabaseState) ElementType ¶
func (DatabaseState) ElementType() reflect.Type
type GetDatabaseEncryptionConfig ¶ added in v8.9.1
type GetDatabaseEncryptionConfig struct { // Fully qualified name of the KMS key to use to encrypt this database. This key must exist // in the same location as the Spanner Database. KmsKeyName string `pulumi:"kmsKeyName"` // Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist // in the same locations as the Spanner Database. KmsKeyNames []string `pulumi:"kmsKeyNames"` }
type GetDatabaseEncryptionConfigArgs ¶ added in v8.9.1
type GetDatabaseEncryptionConfigArgs struct { // Fully qualified name of the KMS key to use to encrypt this database. This key must exist // in the same location as the Spanner Database. KmsKeyName pulumi.StringInput `pulumi:"kmsKeyName"` // Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist // in the same locations as the Spanner Database. KmsKeyNames pulumi.StringArrayInput `pulumi:"kmsKeyNames"` }
func (GetDatabaseEncryptionConfigArgs) ElementType ¶ added in v8.9.1
func (GetDatabaseEncryptionConfigArgs) ElementType() reflect.Type
func (GetDatabaseEncryptionConfigArgs) ToGetDatabaseEncryptionConfigOutput ¶ added in v8.9.1
func (i GetDatabaseEncryptionConfigArgs) ToGetDatabaseEncryptionConfigOutput() GetDatabaseEncryptionConfigOutput
func (GetDatabaseEncryptionConfigArgs) ToGetDatabaseEncryptionConfigOutputWithContext ¶ added in v8.9.1
func (i GetDatabaseEncryptionConfigArgs) ToGetDatabaseEncryptionConfigOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigOutput
type GetDatabaseEncryptionConfigArray ¶ added in v8.9.1
type GetDatabaseEncryptionConfigArray []GetDatabaseEncryptionConfigInput
func (GetDatabaseEncryptionConfigArray) ElementType ¶ added in v8.9.1
func (GetDatabaseEncryptionConfigArray) ElementType() reflect.Type
func (GetDatabaseEncryptionConfigArray) ToGetDatabaseEncryptionConfigArrayOutput ¶ added in v8.9.1
func (i GetDatabaseEncryptionConfigArray) ToGetDatabaseEncryptionConfigArrayOutput() GetDatabaseEncryptionConfigArrayOutput
func (GetDatabaseEncryptionConfigArray) ToGetDatabaseEncryptionConfigArrayOutputWithContext ¶ added in v8.9.1
func (i GetDatabaseEncryptionConfigArray) ToGetDatabaseEncryptionConfigArrayOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigArrayOutput
type GetDatabaseEncryptionConfigArrayInput ¶ added in v8.9.1
type GetDatabaseEncryptionConfigArrayInput interface { pulumi.Input ToGetDatabaseEncryptionConfigArrayOutput() GetDatabaseEncryptionConfigArrayOutput ToGetDatabaseEncryptionConfigArrayOutputWithContext(context.Context) GetDatabaseEncryptionConfigArrayOutput }
GetDatabaseEncryptionConfigArrayInput is an input type that accepts GetDatabaseEncryptionConfigArray and GetDatabaseEncryptionConfigArrayOutput values. You can construct a concrete instance of `GetDatabaseEncryptionConfigArrayInput` via:
GetDatabaseEncryptionConfigArray{ GetDatabaseEncryptionConfigArgs{...} }
type GetDatabaseEncryptionConfigArrayOutput ¶ added in v8.9.1
type GetDatabaseEncryptionConfigArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseEncryptionConfigArrayOutput) ElementType ¶ added in v8.9.1
func (GetDatabaseEncryptionConfigArrayOutput) ElementType() reflect.Type
func (GetDatabaseEncryptionConfigArrayOutput) ToGetDatabaseEncryptionConfigArrayOutput ¶ added in v8.9.1
func (o GetDatabaseEncryptionConfigArrayOutput) ToGetDatabaseEncryptionConfigArrayOutput() GetDatabaseEncryptionConfigArrayOutput
func (GetDatabaseEncryptionConfigArrayOutput) ToGetDatabaseEncryptionConfigArrayOutputWithContext ¶ added in v8.9.1
func (o GetDatabaseEncryptionConfigArrayOutput) ToGetDatabaseEncryptionConfigArrayOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigArrayOutput
type GetDatabaseEncryptionConfigInput ¶ added in v8.9.1
type GetDatabaseEncryptionConfigInput interface { pulumi.Input ToGetDatabaseEncryptionConfigOutput() GetDatabaseEncryptionConfigOutput ToGetDatabaseEncryptionConfigOutputWithContext(context.Context) GetDatabaseEncryptionConfigOutput }
GetDatabaseEncryptionConfigInput is an input type that accepts GetDatabaseEncryptionConfigArgs and GetDatabaseEncryptionConfigOutput values. You can construct a concrete instance of `GetDatabaseEncryptionConfigInput` via:
GetDatabaseEncryptionConfigArgs{...}
type GetDatabaseEncryptionConfigOutput ¶ added in v8.9.1
type GetDatabaseEncryptionConfigOutput struct{ *pulumi.OutputState }
func (GetDatabaseEncryptionConfigOutput) ElementType ¶ added in v8.9.1
func (GetDatabaseEncryptionConfigOutput) ElementType() reflect.Type
func (GetDatabaseEncryptionConfigOutput) KmsKeyName ¶ added in v8.9.1
func (o GetDatabaseEncryptionConfigOutput) KmsKeyName() pulumi.StringOutput
Fully qualified name of the KMS key to use to encrypt this database. This key must exist in the same location as the Spanner Database.
func (GetDatabaseEncryptionConfigOutput) KmsKeyNames ¶ added in v8.9.1
func (o GetDatabaseEncryptionConfigOutput) KmsKeyNames() pulumi.StringArrayOutput
Fully qualified name of the KMS keys to use to encrypt this database. The keys must exist in the same locations as the Spanner Database.
func (GetDatabaseEncryptionConfigOutput) ToGetDatabaseEncryptionConfigOutput ¶ added in v8.9.1
func (o GetDatabaseEncryptionConfigOutput) ToGetDatabaseEncryptionConfigOutput() GetDatabaseEncryptionConfigOutput
func (GetDatabaseEncryptionConfigOutput) ToGetDatabaseEncryptionConfigOutputWithContext ¶ added in v8.9.1
func (o GetDatabaseEncryptionConfigOutput) ToGetDatabaseEncryptionConfigOutputWithContext(ctx context.Context) GetDatabaseEncryptionConfigOutput
type GetDatabaseIamPolicyArgs ¶
type GetDatabaseIamPolicyArgs struct { // The name of the Spanner database. Database string `pulumi:"database"` // The name of the Spanner instance the database belongs to. Instance string `pulumi:"instance"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getDatabaseIamPolicy.
type GetDatabaseIamPolicyOutputArgs ¶
type GetDatabaseIamPolicyOutputArgs struct { // The name of the Spanner database. Database pulumi.StringInput `pulumi:"database"` // The name of the Spanner instance the database belongs to. Instance pulumi.StringInput `pulumi:"instance"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getDatabaseIamPolicy.
func (GetDatabaseIamPolicyOutputArgs) ElementType ¶
func (GetDatabaseIamPolicyOutputArgs) ElementType() reflect.Type
type GetDatabaseIamPolicyResult ¶
type GetDatabaseIamPolicyResult struct { Database string `pulumi:"database"` // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Instance string `pulumi:"instance"` // (Computed) The policy data PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getDatabaseIamPolicy.
func GetDatabaseIamPolicy ¶
func GetDatabaseIamPolicy(ctx *pulumi.Context, args *GetDatabaseIamPolicyArgs, opts ...pulumi.InvokeOption) (*GetDatabaseIamPolicyResult, error)
Retrieves the current IAM policy data for a Spanner database.
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.GetDatabaseIamPolicy(ctx, &spanner.GetDatabaseIamPolicyArgs{ Project: pulumi.StringRef(database.Project), Database: database.Name, Instance: database.Instance, }, nil) if err != nil { return err } return nil }) }
```
type GetDatabaseIamPolicyResultOutput ¶
type GetDatabaseIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabaseIamPolicy.
func GetDatabaseIamPolicyOutput ¶
func GetDatabaseIamPolicyOutput(ctx *pulumi.Context, args GetDatabaseIamPolicyOutputArgs, opts ...pulumi.InvokeOption) GetDatabaseIamPolicyResultOutput
func (GetDatabaseIamPolicyResultOutput) Database ¶
func (o GetDatabaseIamPolicyResultOutput) Database() pulumi.StringOutput
func (GetDatabaseIamPolicyResultOutput) ElementType ¶
func (GetDatabaseIamPolicyResultOutput) ElementType() reflect.Type
func (GetDatabaseIamPolicyResultOutput) Etag ¶
func (o GetDatabaseIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (GetDatabaseIamPolicyResultOutput) Id ¶
func (o GetDatabaseIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDatabaseIamPolicyResultOutput) Instance ¶
func (o GetDatabaseIamPolicyResultOutput) Instance() pulumi.StringOutput
func (GetDatabaseIamPolicyResultOutput) PolicyData ¶
func (o GetDatabaseIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Computed) The policy data
func (GetDatabaseIamPolicyResultOutput) Project ¶
func (o GetDatabaseIamPolicyResultOutput) Project() pulumi.StringOutput
func (GetDatabaseIamPolicyResultOutput) ToGetDatabaseIamPolicyResultOutput ¶
func (o GetDatabaseIamPolicyResultOutput) ToGetDatabaseIamPolicyResultOutput() GetDatabaseIamPolicyResultOutput
func (GetDatabaseIamPolicyResultOutput) ToGetDatabaseIamPolicyResultOutputWithContext ¶
func (o GetDatabaseIamPolicyResultOutput) ToGetDatabaseIamPolicyResultOutputWithContext(ctx context.Context) GetDatabaseIamPolicyResultOutput
type GetInstanceAutoscalingConfig ¶
type GetInstanceAutoscalingConfig struct { // Asymmetric autoscaling options for specific replicas. AsymmetricAutoscalingOptions []GetInstanceAutoscalingConfigAsymmetricAutoscalingOption `pulumi:"asymmetricAutoscalingOptions"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events. Users can define the minimum and // maximum compute capacity allocated to the instance, and the autoscaler will // only scale within that range. Users can either use nodes or processing // units to specify the limits, but should use the same unit to set both the // minLimit and max_limit. AutoscalingLimits []GetInstanceAutoscalingConfigAutoscalingLimit `pulumi:"autoscalingLimits"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events AutoscalingTargets []GetInstanceAutoscalingConfigAutoscalingTarget `pulumi:"autoscalingTargets"` }
type GetInstanceAutoscalingConfigArgs ¶
type GetInstanceAutoscalingConfigArgs struct { // Asymmetric autoscaling options for specific replicas. AsymmetricAutoscalingOptions GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput `pulumi:"asymmetricAutoscalingOptions"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events. Users can define the minimum and // maximum compute capacity allocated to the instance, and the autoscaler will // only scale within that range. Users can either use nodes or processing // units to specify the limits, but should use the same unit to set both the // minLimit and max_limit. AutoscalingLimits GetInstanceAutoscalingConfigAutoscalingLimitArrayInput `pulumi:"autoscalingLimits"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events AutoscalingTargets GetInstanceAutoscalingConfigAutoscalingTargetArrayInput `pulumi:"autoscalingTargets"` }
func (GetInstanceAutoscalingConfigArgs) ElementType ¶
func (GetInstanceAutoscalingConfigArgs) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigArgs) ToGetInstanceAutoscalingConfigOutput ¶
func (i GetInstanceAutoscalingConfigArgs) ToGetInstanceAutoscalingConfigOutput() GetInstanceAutoscalingConfigOutput
func (GetInstanceAutoscalingConfigArgs) ToGetInstanceAutoscalingConfigOutputWithContext ¶
func (i GetInstanceAutoscalingConfigArgs) ToGetInstanceAutoscalingConfigOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigOutput
type GetInstanceAutoscalingConfigArray ¶
type GetInstanceAutoscalingConfigArray []GetInstanceAutoscalingConfigInput
func (GetInstanceAutoscalingConfigArray) ElementType ¶
func (GetInstanceAutoscalingConfigArray) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigArray) ToGetInstanceAutoscalingConfigArrayOutput ¶
func (i GetInstanceAutoscalingConfigArray) ToGetInstanceAutoscalingConfigArrayOutput() GetInstanceAutoscalingConfigArrayOutput
func (GetInstanceAutoscalingConfigArray) ToGetInstanceAutoscalingConfigArrayOutputWithContext ¶
func (i GetInstanceAutoscalingConfigArray) ToGetInstanceAutoscalingConfigArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigArrayOutput
type GetInstanceAutoscalingConfigArrayInput ¶
type GetInstanceAutoscalingConfigArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigArrayOutput() GetInstanceAutoscalingConfigArrayOutput ToGetInstanceAutoscalingConfigArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigArrayOutput }
GetInstanceAutoscalingConfigArrayInput is an input type that accepts GetInstanceAutoscalingConfigArray and GetInstanceAutoscalingConfigArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigArrayInput` via:
GetInstanceAutoscalingConfigArray{ GetInstanceAutoscalingConfigArgs{...} }
type GetInstanceAutoscalingConfigArrayOutput ¶
type GetInstanceAutoscalingConfigArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigArrayOutput) ElementType ¶
func (GetInstanceAutoscalingConfigArrayOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigArrayOutput) ToGetInstanceAutoscalingConfigArrayOutput ¶
func (o GetInstanceAutoscalingConfigArrayOutput) ToGetInstanceAutoscalingConfigArrayOutput() GetInstanceAutoscalingConfigArrayOutput
func (GetInstanceAutoscalingConfigArrayOutput) ToGetInstanceAutoscalingConfigArrayOutputWithContext ¶
func (o GetInstanceAutoscalingConfigArrayOutput) ToGetInstanceAutoscalingConfigArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOption ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOption struct { // A nested object resource. Overrides []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverride `pulumi:"overrides"` // A nested object resource. ReplicaSelections []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection `pulumi:"replicaSelections"` }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs struct { // A nested object resource. Overrides GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayInput `pulumi:"overrides"` // A nested object resource. ReplicaSelections GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayInput `pulumi:"replicaSelections"` }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionInput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArray{ GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs{...} }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs{...}
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) Overrides ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) Overrides() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
A nested object resource.
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ReplicaSelections ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ReplicaSelections() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput
A nested object resource.
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverride ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverride struct { // A nested object resource. AutoscalingLimits []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimit `pulumi:"autoscalingLimits"` }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs struct { // A nested object resource. AutoscalingLimits GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayInput `pulumi:"autoscalingLimits"` }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideInput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArray{ GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs{...} }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) Index ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimit ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs struct { // The maximum number of nodes for this specific replica. MaxNodes pulumi.IntInput `pulumi:"maxNodes"` // The minimum number of nodes for this specific replica. MinNodes pulumi.IntInput `pulumi:"minNodes"` }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitInput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArray{ GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs{...} }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) Index ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArgs{...}
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) MaxNodes ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) MaxNodes() pulumi.IntOutput
The maximum number of nodes for this specific replica.
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) MinNodes ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) MinNodes() pulumi.IntOutput
The minimum number of nodes for this specific replica.
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideArgs{...}
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) AutoscalingLimits ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) AutoscalingLimits() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideAutoscalingLimitArrayOutput
A nested object resource.
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrideOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection struct { // The location of the replica to apply asymmetric autoscaling options. Location string `pulumi:"location"` }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs struct { // The location of the replica to apply asymmetric autoscaling options. Location pulumi.StringInput `pulumi:"location"` }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray []GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext ¶ added in v8.8.0
func (i GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArray{ GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs{...} }
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) Index ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArrayOutput
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput }
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput is an input type that accepts GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs and GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput` via:
GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs{...}
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ¶ added in v8.8.0
type GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ElementType ¶ added in v8.8.0
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) Location ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) Location() pulumi.StringOutput
The location of the replica to apply asymmetric autoscaling options.
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
func (GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToGetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
type GetInstanceAutoscalingConfigAutoscalingLimit ¶
type GetInstanceAutoscalingConfigAutoscalingLimit struct { // Specifies maximum number of nodes allocated to the instance. If set, this number // should be greater than or equal to min_nodes. MaxNodes int `pulumi:"maxNodes"` // Specifies maximum number of processing units allocated to the instance. // If set, this number should be multiples of 1000 and be greater than or equal to // min_processing_units. MaxProcessingUnits int `pulumi:"maxProcessingUnits"` // Specifies number of nodes allocated to the instance. If set, this number // should be greater than or equal to 1. MinNodes int `pulumi:"minNodes"` // Specifies minimum number of processing units allocated to the instance. // If set, this number should be multiples of 1000. MinProcessingUnits int `pulumi:"minProcessingUnits"` }
type GetInstanceAutoscalingConfigAutoscalingLimitArgs ¶
type GetInstanceAutoscalingConfigAutoscalingLimitArgs struct { // Specifies maximum number of nodes allocated to the instance. If set, this number // should be greater than or equal to min_nodes. MaxNodes pulumi.IntInput `pulumi:"maxNodes"` // Specifies maximum number of processing units allocated to the instance. // If set, this number should be multiples of 1000 and be greater than or equal to // min_processing_units. MaxProcessingUnits pulumi.IntInput `pulumi:"maxProcessingUnits"` // Specifies number of nodes allocated to the instance. If set, this number // should be greater than or equal to 1. MinNodes pulumi.IntInput `pulumi:"minNodes"` // Specifies minimum number of processing units allocated to the instance. // If set, this number should be multiples of 1000. MinProcessingUnits pulumi.IntInput `pulumi:"minProcessingUnits"` }
func (GetInstanceAutoscalingConfigAutoscalingLimitArgs) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingLimitArgs) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAutoscalingLimitOutput ¶
func (i GetInstanceAutoscalingConfigAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAutoscalingLimitOutput() GetInstanceAutoscalingConfigAutoscalingLimitOutput
func (GetInstanceAutoscalingConfigAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext ¶
func (i GetInstanceAutoscalingConfigAutoscalingLimitArgs) ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitOutput
type GetInstanceAutoscalingConfigAutoscalingLimitArray ¶
type GetInstanceAutoscalingConfigAutoscalingLimitArray []GetInstanceAutoscalingConfigAutoscalingLimitInput
func (GetInstanceAutoscalingConfigAutoscalingLimitArray) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingLimitArray) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput ¶
func (i GetInstanceAutoscalingConfigAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
func (GetInstanceAutoscalingConfigAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext ¶
func (i GetInstanceAutoscalingConfigAutoscalingLimitArray) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
type GetInstanceAutoscalingConfigAutoscalingLimitArrayInput ¶
type GetInstanceAutoscalingConfigAutoscalingLimitArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput }
GetInstanceAutoscalingConfigAutoscalingLimitArrayInput is an input type that accepts GetInstanceAutoscalingConfigAutoscalingLimitArray and GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAutoscalingLimitArrayInput` via:
GetInstanceAutoscalingConfigAutoscalingLimitArray{ GetInstanceAutoscalingConfigAutoscalingLimitArgs{...} }
type GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput ¶
type GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutput() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
func (GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
type GetInstanceAutoscalingConfigAutoscalingLimitInput ¶
type GetInstanceAutoscalingConfigAutoscalingLimitInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAutoscalingLimitOutput() GetInstanceAutoscalingConfigAutoscalingLimitOutput ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext(context.Context) GetInstanceAutoscalingConfigAutoscalingLimitOutput }
GetInstanceAutoscalingConfigAutoscalingLimitInput is an input type that accepts GetInstanceAutoscalingConfigAutoscalingLimitArgs and GetInstanceAutoscalingConfigAutoscalingLimitOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAutoscalingLimitInput` via:
GetInstanceAutoscalingConfigAutoscalingLimitArgs{...}
type GetInstanceAutoscalingConfigAutoscalingLimitOutput ¶
type GetInstanceAutoscalingConfigAutoscalingLimitOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) MaxNodes ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MaxNodes() pulumi.IntOutput
Specifies maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) MaxProcessingUnits ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MaxProcessingUnits() pulumi.IntOutput
Specifies maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) MinNodes ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MinNodes() pulumi.IntOutput
Specifies number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) MinProcessingUnits ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) MinProcessingUnits() pulumi.IntOutput
Specifies minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitOutput ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitOutput() GetInstanceAutoscalingConfigAutoscalingLimitOutput
func (GetInstanceAutoscalingConfigAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext ¶
func (o GetInstanceAutoscalingConfigAutoscalingLimitOutput) ToGetInstanceAutoscalingConfigAutoscalingLimitOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingLimitOutput
type GetInstanceAutoscalingConfigAutoscalingTarget ¶
type GetInstanceAutoscalingConfigAutoscalingTarget struct { // Specifies the target high priority cpu utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization).. HighPriorityCpuUtilizationPercent int `pulumi:"highPriorityCpuUtilizationPercent"` // Specifies the target storage utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization). StorageUtilizationPercent int `pulumi:"storageUtilizationPercent"` }
type GetInstanceAutoscalingConfigAutoscalingTargetArgs ¶
type GetInstanceAutoscalingConfigAutoscalingTargetArgs struct { // Specifies the target high priority cpu utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization).. HighPriorityCpuUtilizationPercent pulumi.IntInput `pulumi:"highPriorityCpuUtilizationPercent"` // Specifies the target storage utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization). StorageUtilizationPercent pulumi.IntInput `pulumi:"storageUtilizationPercent"` }
func (GetInstanceAutoscalingConfigAutoscalingTargetArgs) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingTargetArgs) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingTargetArgs) ToGetInstanceAutoscalingConfigAutoscalingTargetOutput ¶
func (i GetInstanceAutoscalingConfigAutoscalingTargetArgs) ToGetInstanceAutoscalingConfigAutoscalingTargetOutput() GetInstanceAutoscalingConfigAutoscalingTargetOutput
func (GetInstanceAutoscalingConfigAutoscalingTargetArgs) ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext ¶
func (i GetInstanceAutoscalingConfigAutoscalingTargetArgs) ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetOutput
type GetInstanceAutoscalingConfigAutoscalingTargetArray ¶
type GetInstanceAutoscalingConfigAutoscalingTargetArray []GetInstanceAutoscalingConfigAutoscalingTargetInput
func (GetInstanceAutoscalingConfigAutoscalingTargetArray) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingTargetArray) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingTargetArray) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput ¶
func (i GetInstanceAutoscalingConfigAutoscalingTargetArray) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
func (GetInstanceAutoscalingConfigAutoscalingTargetArray) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext ¶
func (i GetInstanceAutoscalingConfigAutoscalingTargetArray) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
type GetInstanceAutoscalingConfigAutoscalingTargetArrayInput ¶
type GetInstanceAutoscalingConfigAutoscalingTargetArrayInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext(context.Context) GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput }
GetInstanceAutoscalingConfigAutoscalingTargetArrayInput is an input type that accepts GetInstanceAutoscalingConfigAutoscalingTargetArray and GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAutoscalingTargetArrayInput` via:
GetInstanceAutoscalingConfigAutoscalingTargetArray{ GetInstanceAutoscalingConfigAutoscalingTargetArgs{...} }
type GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput ¶
type GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput ¶
func (o GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutput() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
func (GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext ¶
func (o GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetArrayOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
type GetInstanceAutoscalingConfigAutoscalingTargetInput ¶
type GetInstanceAutoscalingConfigAutoscalingTargetInput interface { pulumi.Input ToGetInstanceAutoscalingConfigAutoscalingTargetOutput() GetInstanceAutoscalingConfigAutoscalingTargetOutput ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext(context.Context) GetInstanceAutoscalingConfigAutoscalingTargetOutput }
GetInstanceAutoscalingConfigAutoscalingTargetInput is an input type that accepts GetInstanceAutoscalingConfigAutoscalingTargetArgs and GetInstanceAutoscalingConfigAutoscalingTargetOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigAutoscalingTargetInput` via:
GetInstanceAutoscalingConfigAutoscalingTargetArgs{...}
type GetInstanceAutoscalingConfigAutoscalingTargetOutput ¶
type GetInstanceAutoscalingConfigAutoscalingTargetOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) ElementType ¶
func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) HighPriorityCpuUtilizationPercent ¶
func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) HighPriorityCpuUtilizationPercent() pulumi.IntOutput
Specifies the target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization)..
func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) StorageUtilizationPercent ¶
func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) StorageUtilizationPercent() pulumi.IntOutput
Specifies the target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization).
func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetOutput ¶
func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetOutput() GetInstanceAutoscalingConfigAutoscalingTargetOutput
func (GetInstanceAutoscalingConfigAutoscalingTargetOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext ¶
func (o GetInstanceAutoscalingConfigAutoscalingTargetOutput) ToGetInstanceAutoscalingConfigAutoscalingTargetOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigAutoscalingTargetOutput
type GetInstanceAutoscalingConfigInput ¶
type GetInstanceAutoscalingConfigInput interface { pulumi.Input ToGetInstanceAutoscalingConfigOutput() GetInstanceAutoscalingConfigOutput ToGetInstanceAutoscalingConfigOutputWithContext(context.Context) GetInstanceAutoscalingConfigOutput }
GetInstanceAutoscalingConfigInput is an input type that accepts GetInstanceAutoscalingConfigArgs and GetInstanceAutoscalingConfigOutput values. You can construct a concrete instance of `GetInstanceAutoscalingConfigInput` via:
GetInstanceAutoscalingConfigArgs{...}
type GetInstanceAutoscalingConfigOutput ¶
type GetInstanceAutoscalingConfigOutput struct{ *pulumi.OutputState }
func (GetInstanceAutoscalingConfigOutput) AsymmetricAutoscalingOptions ¶ added in v8.8.0
func (o GetInstanceAutoscalingConfigOutput) AsymmetricAutoscalingOptions() GetInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
Asymmetric autoscaling options for specific replicas.
func (GetInstanceAutoscalingConfigOutput) AutoscalingLimits ¶
func (o GetInstanceAutoscalingConfigOutput) AutoscalingLimits() GetInstanceAutoscalingConfigAutoscalingLimitArrayOutput
Defines scale in controls to reduce the risk of response latency and outages due to abrupt scale-in events. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the minLimit and max_limit.
func (GetInstanceAutoscalingConfigOutput) AutoscalingTargets ¶
func (o GetInstanceAutoscalingConfigOutput) AutoscalingTargets() GetInstanceAutoscalingConfigAutoscalingTargetArrayOutput
Defines scale in controls to reduce the risk of response latency and outages due to abrupt scale-in events
func (GetInstanceAutoscalingConfigOutput) ElementType ¶
func (GetInstanceAutoscalingConfigOutput) ElementType() reflect.Type
func (GetInstanceAutoscalingConfigOutput) ToGetInstanceAutoscalingConfigOutput ¶
func (o GetInstanceAutoscalingConfigOutput) ToGetInstanceAutoscalingConfigOutput() GetInstanceAutoscalingConfigOutput
func (GetInstanceAutoscalingConfigOutput) ToGetInstanceAutoscalingConfigOutputWithContext ¶
func (o GetInstanceAutoscalingConfigOutput) ToGetInstanceAutoscalingConfigOutputWithContext(ctx context.Context) GetInstanceAutoscalingConfigOutput
type GetInstanceIamPolicyArgs ¶
type GetInstanceIamPolicyArgs struct { // The name of the instance. Instance string `pulumi:"instance"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getInstanceIamPolicy.
type GetInstanceIamPolicyOutputArgs ¶
type GetInstanceIamPolicyOutputArgs struct { // The name of the instance. Instance pulumi.StringInput `pulumi:"instance"` // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getInstanceIamPolicy.
func (GetInstanceIamPolicyOutputArgs) ElementType ¶
func (GetInstanceIamPolicyOutputArgs) ElementType() reflect.Type
type GetInstanceIamPolicyResult ¶
type GetInstanceIamPolicyResult struct { // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Instance string `pulumi:"instance"` // (Computed) The policy data PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getInstanceIamPolicy.
func GetInstanceIamPolicy ¶
func GetInstanceIamPolicy(ctx *pulumi.Context, args *GetInstanceIamPolicyArgs, opts ...pulumi.InvokeOption) (*GetInstanceIamPolicyResult, error)
Retrieves the current IAM policy data for a Spanner instance.
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.GetInstanceIamPolicy(ctx, &spanner.GetInstanceIamPolicyArgs{ Project: pulumi.StringRef(instance.Project), Instance: instance.Name, }, nil) if err != nil { return err } return nil }) }
```
type GetInstanceIamPolicyResultOutput ¶
type GetInstanceIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceIamPolicy.
func GetInstanceIamPolicyOutput ¶
func GetInstanceIamPolicyOutput(ctx *pulumi.Context, args GetInstanceIamPolicyOutputArgs, opts ...pulumi.InvokeOption) GetInstanceIamPolicyResultOutput
func (GetInstanceIamPolicyResultOutput) ElementType ¶
func (GetInstanceIamPolicyResultOutput) ElementType() reflect.Type
func (GetInstanceIamPolicyResultOutput) Etag ¶
func (o GetInstanceIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (GetInstanceIamPolicyResultOutput) Id ¶
func (o GetInstanceIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstanceIamPolicyResultOutput) Instance ¶
func (o GetInstanceIamPolicyResultOutput) Instance() pulumi.StringOutput
func (GetInstanceIamPolicyResultOutput) PolicyData ¶
func (o GetInstanceIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Computed) The policy data
func (GetInstanceIamPolicyResultOutput) Project ¶
func (o GetInstanceIamPolicyResultOutput) Project() pulumi.StringOutput
func (GetInstanceIamPolicyResultOutput) ToGetInstanceIamPolicyResultOutput ¶
func (o GetInstanceIamPolicyResultOutput) ToGetInstanceIamPolicyResultOutput() GetInstanceIamPolicyResultOutput
func (GetInstanceIamPolicyResultOutput) ToGetInstanceIamPolicyResultOutputWithContext ¶
func (o GetInstanceIamPolicyResultOutput) ToGetInstanceIamPolicyResultOutputWithContext(ctx context.Context) GetInstanceIamPolicyResultOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The autoscaling configuration. Autoscaling is enabled if this field is set. // When autoscaling is enabled, numNodes and processingUnits are treated as, // OUTPUT_ONLY fields and reflect the current compute capacity allocated to // the instance. // Structure is documented below. AutoscalingConfig InstanceAutoscalingConfigPtrOutput `pulumi:"autoscalingConfig"` // The name of the instance's configuration (similar but not // quite the same as a region) which defines the geographic placement and // replication of your databases in this instance. It determines where your data // is stored. Values are typically of the form `regional-europe-west1` , `us-central` etc. // In order to obtain a valid list please consult the // [Configuration section of the docs](https://cloud.google.com/spanner/docs/instances). Config pulumi.StringOutput `pulumi:"config"` // Controls the default backup behavior for new databases within the instance. // Note that `AUTOMATIC` is not permitted for free instances, as backups and backup schedules are not allowed for free instances. // if unset or NONE, no default backup schedule will be created for new databases within the instance. // Possible values are: `NONE`, `AUTOMATIC`. DefaultBackupScheduleType pulumi.StringOutput `pulumi:"defaultBackupScheduleType"` // The descriptive name for this instance as it appears in UIs. Must be // unique per project and between 4 and 30 characters in length. // // *** DisplayName pulumi.StringOutput `pulumi:"displayName"` // The edition selected for this instance. Different editions provide different capabilities at different price points. // Possible values are: `EDITION_UNSPECIFIED`, `STANDARD`, `ENTERPRISE`, `ENTERPRISE_PLUS`. Edition pulumi.StringOutput `pulumi:"edition"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // When deleting a spanner instance, this boolean option will delete all backups of this instance. // This must be set to true if you created a backup manually in the console. ForceDestroy pulumi.BoolPtrOutput `pulumi:"forceDestroy"` // An object containing a list of "key": value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // A unique identifier for the instance, which cannot be changed after // the instance is created. The name must be between 6 and 30 characters // in length. // If not provided, a random string starting with `tf-` will be selected. Name pulumi.StringOutput `pulumi:"name"` NumNodes pulumi.IntOutput `pulumi:"numNodes"` ProcessingUnits pulumi.IntOutput `pulumi:"processingUnits"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Instance status: `CREATING` or `READY`. State pulumi.StringOutput `pulumi:"state"` }
An isolated set of Cloud Spanner resources on which databases can be hosted.
To get more information about Instance, see:
* [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instances) * How-to Guides
- [Official Documentation](https://cloud.google.com/spanner/)
## Example Usage
### Spanner Instance Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstance(ctx, "example", &spanner.InstanceArgs{ Config: pulumi.String("regional-us-central1"), DisplayName: pulumi.String("Test Spanner Instance"), NumNodes: pulumi.Int(2), Edition: pulumi.String("STANDARD"), DefaultBackupScheduleType: pulumi.String("AUTOMATIC"), Labels: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
``` ### Spanner Instance Processing Units
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstance(ctx, "example", &spanner.InstanceArgs{ Config: pulumi.String("regional-us-central1"), DisplayName: pulumi.String("Test Spanner Instance"), ProcessingUnits: pulumi.Int(200), Labels: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
``` ### Spanner Instance With Autoscaling
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstance(ctx, "example", &spanner.InstanceArgs{ Config: pulumi.String("regional-us-central1"), DisplayName: pulumi.String("Test Spanner Instance"), AutoscalingConfig: &spanner.InstanceAutoscalingConfigArgs{ AutoscalingLimits: &spanner.InstanceAutoscalingConfigAutoscalingLimitsArgs{ MaxProcessingUnits: pulumi.Int(3000), MinProcessingUnits: pulumi.Int(2000), }, AutoscalingTargets: &spanner.InstanceAutoscalingConfigAutoscalingTargetsArgs{ HighPriorityCpuUtilizationPercent: pulumi.Int(75), StorageUtilizationPercent: pulumi.Int(90), }, }, Labels: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
``` ### Spanner Instance Multi Regional
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstance(ctx, "example", &spanner.InstanceArgs{ Config: pulumi.String("nam-eur-asia1"), DisplayName: pulumi.String("Multi Regional Instance"), NumNodes: pulumi.Int(2), Labels: pulumi.StringMap{ "foo": pulumi.String("bar"), }, }) if err != nil { return err } return nil }) }
```
## Import
Instance can be imported using any of these accepted formats:
* `projects/{{project}}/instances/{{name}}`
* `{{project}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:spanner/instance:Instance default projects/{{project}}/instances/{{name}} ```
```sh $ pulumi import gcp:spanner/instance:Instance default {{project}}/{{name}} ```
```sh $ pulumi import gcp:spanner/instance:Instance default {{name}} ```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceArgs ¶
type InstanceArgs struct { // The autoscaling configuration. Autoscaling is enabled if this field is set. // When autoscaling is enabled, numNodes and processingUnits are treated as, // OUTPUT_ONLY fields and reflect the current compute capacity allocated to // the instance. // Structure is documented below. AutoscalingConfig InstanceAutoscalingConfigPtrInput // The name of the instance's configuration (similar but not // quite the same as a region) which defines the geographic placement and // replication of your databases in this instance. It determines where your data // is stored. Values are typically of the form `regional-europe-west1` , `us-central` etc. // In order to obtain a valid list please consult the // [Configuration section of the docs](https://cloud.google.com/spanner/docs/instances). Config pulumi.StringInput // Controls the default backup behavior for new databases within the instance. // Note that `AUTOMATIC` is not permitted for free instances, as backups and backup schedules are not allowed for free instances. // if unset or NONE, no default backup schedule will be created for new databases within the instance. // Possible values are: `NONE`, `AUTOMATIC`. DefaultBackupScheduleType pulumi.StringPtrInput // The descriptive name for this instance as it appears in UIs. Must be // unique per project and between 4 and 30 characters in length. // // *** DisplayName pulumi.StringInput // The edition selected for this instance. Different editions provide different capabilities at different price points. // Possible values are: `EDITION_UNSPECIFIED`, `STANDARD`, `ENTERPRISE`, `ENTERPRISE_PLUS`. Edition pulumi.StringPtrInput // When deleting a spanner instance, this boolean option will delete all backups of this instance. // This must be set to true if you created a backup manually in the console. ForceDestroy pulumi.BoolPtrInput // An object containing a list of "key": value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // A unique identifier for the instance, which cannot be changed after // the instance is created. The name must be between 6 and 30 characters // in length. // If not provided, a random string starting with `tf-` will be selected. Name pulumi.StringPtrInput NumNodes pulumi.IntPtrInput ProcessingUnits pulumi.IntPtrInput // 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 Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceAutoscalingConfig ¶
type InstanceAutoscalingConfig struct { // Asymmetric autoscaling options for specific replicas. // Structure is documented below. AsymmetricAutoscalingOptions []InstanceAutoscalingConfigAsymmetricAutoscalingOption `pulumi:"asymmetricAutoscalingOptions"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events. Users can define the minimum and // maximum compute capacity allocated to the instance, and the autoscaler will // only scale within that range. Users can either use nodes or processing // units to specify the limits, but should use the same unit to set both the // minLimit and max_limit. // Structure is documented below. AutoscalingLimits *InstanceAutoscalingConfigAutoscalingLimits `pulumi:"autoscalingLimits"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events // Structure is documented below. AutoscalingTargets *InstanceAutoscalingConfigAutoscalingTargets `pulumi:"autoscalingTargets"` }
type InstanceAutoscalingConfigArgs ¶
type InstanceAutoscalingConfigArgs struct { // Asymmetric autoscaling options for specific replicas. // Structure is documented below. AsymmetricAutoscalingOptions InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput `pulumi:"asymmetricAutoscalingOptions"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events. Users can define the minimum and // maximum compute capacity allocated to the instance, and the autoscaler will // only scale within that range. Users can either use nodes or processing // units to specify the limits, but should use the same unit to set both the // minLimit and max_limit. // Structure is documented below. AutoscalingLimits InstanceAutoscalingConfigAutoscalingLimitsPtrInput `pulumi:"autoscalingLimits"` // Defines scale in controls to reduce the risk of response latency // and outages due to abrupt scale-in events // Structure is documented below. AutoscalingTargets InstanceAutoscalingConfigAutoscalingTargetsPtrInput `pulumi:"autoscalingTargets"` }
func (InstanceAutoscalingConfigArgs) ElementType ¶
func (InstanceAutoscalingConfigArgs) ElementType() reflect.Type
func (InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigOutput ¶
func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigOutput() InstanceAutoscalingConfigOutput
func (InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigOutputWithContext ¶
func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigOutputWithContext(ctx context.Context) InstanceAutoscalingConfigOutput
func (InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigPtrOutput ¶
func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput
func (InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigPtrOutputWithContext ¶
func (i InstanceAutoscalingConfigArgs) ToInstanceAutoscalingConfigPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigPtrOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOption ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOption struct { // A nested object resource. // Structure is documented below. Overrides InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrides `pulumi:"overrides"` // A nested object resource. // Structure is documented below. ReplicaSelection InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection `pulumi:"replicaSelection"` }
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs struct { // A nested object resource. // Structure is documented below. Overrides InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesInput `pulumi:"overrides"` // A nested object resource. // Structure is documented below. ReplicaSelection InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput `pulumi:"replicaSelection"` }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray []InstanceAutoscalingConfigAsymmetricAutoscalingOptionInput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput interface { pulumi.Input ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput }
InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput is an input type that accepts InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray and InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayInput` via:
InstanceAutoscalingConfigAsymmetricAutoscalingOptionArray{ InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs{...} }
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionInput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionInput interface { pulumi.Input ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput }
InstanceAutoscalingConfigAsymmetricAutoscalingOptionInput is an input type that accepts InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs and InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAsymmetricAutoscalingOptionInput` via:
InstanceAutoscalingConfigAsymmetricAutoscalingOptionArgs{...}
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) Overrides ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) Overrides() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
A nested object resource. Structure is documented below.
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ReplicaSelection ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ReplicaSelection() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
A nested object resource. Structure is documented below.
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrides ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverrides struct { // A nested object resource. // Structure is documented below. AutoscalingLimits InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimits `pulumi:"autoscalingLimits"` }
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs struct { // A nested object resource. // Structure is documented below. AutoscalingLimits InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsInput `pulumi:"autoscalingLimits"` }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimits ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs struct { // The maximum number of nodes for this specific replica. MaxNodes pulumi.IntInput `pulumi:"maxNodes"` // The minimum number of nodes for this specific replica. MinNodes pulumi.IntInput `pulumi:"minNodes"` }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsInput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsInput interface { pulumi.Input ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext(context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput }
InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsInput is an input type that accepts InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs and InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsInput` via:
InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsArgs{...}
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) MaxNodes ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) MaxNodes() pulumi.IntOutput
The maximum number of nodes for this specific replica.
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) MinNodes ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) MinNodes() pulumi.IntOutput
The minimum number of nodes for this specific replica.
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesInput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesInput interface { pulumi.Input ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext(context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput }
InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesInput is an input type that accepts InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs and InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesInput` via:
InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesArgs{...}
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) AutoscalingLimits ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) AutoscalingLimits() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesAutoscalingLimitsOutput
A nested object resource. Structure is documented below.
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionOverridesOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelection struct { // The location of the replica to apply asymmetric autoscaling options. Location string `pulumi:"location"` }
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs struct { // The location of the replica to apply asymmetric autoscaling options. Location pulumi.StringInput `pulumi:"location"` }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext ¶ added in v8.8.0
func (i InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput interface { pulumi.Input ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput }
InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput is an input type that accepts InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs and InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionInput` via:
InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionArgs{...}
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ¶ added in v8.8.0
type InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ElementType ¶ added in v8.8.0
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) Location ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) Location() pulumi.StringOutput
The location of the replica to apply asymmetric autoscaling options.
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput() InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
func (InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext ¶ added in v8.8.0
func (o InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput) ToInstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAsymmetricAutoscalingOptionReplicaSelectionOutput
type InstanceAutoscalingConfigAutoscalingLimits ¶
type InstanceAutoscalingConfigAutoscalingLimits struct { // The maximum number of nodes for this specific replica. MaxNodes *int `pulumi:"maxNodes"` // Specifies maximum number of processing units allocated to the instance. // If set, this number should be multiples of 1000 and be greater than or equal to // min_processing_units. MaxProcessingUnits *int `pulumi:"maxProcessingUnits"` // The minimum number of nodes for this specific replica. MinNodes *int `pulumi:"minNodes"` // Specifies minimum number of processing units allocated to the instance. // If set, this number should be multiples of 1000. MinProcessingUnits *int `pulumi:"minProcessingUnits"` }
type InstanceAutoscalingConfigAutoscalingLimitsArgs ¶
type InstanceAutoscalingConfigAutoscalingLimitsArgs struct { // The maximum number of nodes for this specific replica. MaxNodes pulumi.IntPtrInput `pulumi:"maxNodes"` // Specifies maximum number of processing units allocated to the instance. // If set, this number should be multiples of 1000 and be greater than or equal to // min_processing_units. MaxProcessingUnits pulumi.IntPtrInput `pulumi:"maxProcessingUnits"` // The minimum number of nodes for this specific replica. MinNodes pulumi.IntPtrInput `pulumi:"minNodes"` // Specifies minimum number of processing units allocated to the instance. // If set, this number should be multiples of 1000. MinProcessingUnits pulumi.IntPtrInput `pulumi:"minProcessingUnits"` }
func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ElementType ¶
func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ElementType() reflect.Type
func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsOutput ¶
func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsOutput() InstanceAutoscalingConfigAutoscalingLimitsOutput
func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext ¶
func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsOutput
func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput ¶
func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
func (InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext ¶
func (i InstanceAutoscalingConfigAutoscalingLimitsArgs) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
type InstanceAutoscalingConfigAutoscalingLimitsInput ¶
type InstanceAutoscalingConfigAutoscalingLimitsInput interface { pulumi.Input ToInstanceAutoscalingConfigAutoscalingLimitsOutput() InstanceAutoscalingConfigAutoscalingLimitsOutput ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext(context.Context) InstanceAutoscalingConfigAutoscalingLimitsOutput }
InstanceAutoscalingConfigAutoscalingLimitsInput is an input type that accepts InstanceAutoscalingConfigAutoscalingLimitsArgs and InstanceAutoscalingConfigAutoscalingLimitsOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAutoscalingLimitsInput` via:
InstanceAutoscalingConfigAutoscalingLimitsArgs{...}
type InstanceAutoscalingConfigAutoscalingLimitsOutput ¶
type InstanceAutoscalingConfigAutoscalingLimitsOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ElementType ¶
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) MaxNodes ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MaxNodes() pulumi.IntPtrOutput
The maximum number of nodes for this specific replica.
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) MaxProcessingUnits ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MaxProcessingUnits() pulumi.IntPtrOutput
Specifies maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) MinNodes ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MinNodes() pulumi.IntPtrOutput
The minimum number of nodes for this specific replica.
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) MinProcessingUnits ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) MinProcessingUnits() pulumi.IntPtrOutput
Specifies minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsOutput ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsOutput() InstanceAutoscalingConfigAutoscalingLimitsOutput
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsOutput
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
func (InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
type InstanceAutoscalingConfigAutoscalingLimitsPtrInput ¶
type InstanceAutoscalingConfigAutoscalingLimitsPtrInput interface { pulumi.Input ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput }
InstanceAutoscalingConfigAutoscalingLimitsPtrInput is an input type that accepts InstanceAutoscalingConfigAutoscalingLimitsArgs, InstanceAutoscalingConfigAutoscalingLimitsPtr and InstanceAutoscalingConfigAutoscalingLimitsPtrOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAutoscalingLimitsPtrInput` via:
InstanceAutoscalingConfigAutoscalingLimitsArgs{...} or: nil
func InstanceAutoscalingConfigAutoscalingLimitsPtr ¶
func InstanceAutoscalingConfigAutoscalingLimitsPtr(v *InstanceAutoscalingConfigAutoscalingLimitsArgs) InstanceAutoscalingConfigAutoscalingLimitsPtrInput
type InstanceAutoscalingConfigAutoscalingLimitsPtrOutput ¶
type InstanceAutoscalingConfigAutoscalingLimitsPtrOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ElementType ¶
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MaxNodes ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MaxNodes() pulumi.IntPtrOutput
The maximum number of nodes for this specific replica.
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MaxProcessingUnits ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MaxProcessingUnits() pulumi.IntPtrOutput
Specifies maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MinNodes ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MinNodes() pulumi.IntPtrOutput
The minimum number of nodes for this specific replica.
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MinProcessingUnits ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) MinProcessingUnits() pulumi.IntPtrOutput
Specifies minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutput() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
func (InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext ¶
func (o InstanceAutoscalingConfigAutoscalingLimitsPtrOutput) ToInstanceAutoscalingConfigAutoscalingLimitsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
type InstanceAutoscalingConfigAutoscalingTargets ¶
type InstanceAutoscalingConfigAutoscalingTargets struct { // Specifies the target high priority cpu utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization).. HighPriorityCpuUtilizationPercent *int `pulumi:"highPriorityCpuUtilizationPercent"` // Specifies the target storage utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization). StorageUtilizationPercent *int `pulumi:"storageUtilizationPercent"` }
type InstanceAutoscalingConfigAutoscalingTargetsArgs ¶
type InstanceAutoscalingConfigAutoscalingTargetsArgs struct { // Specifies the target high priority cpu utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization).. HighPriorityCpuUtilizationPercent pulumi.IntPtrInput `pulumi:"highPriorityCpuUtilizationPercent"` // Specifies the target storage utilization percentage that the autoscaler // should be trying to achieve for the instance. // This number is on a scale from 0 (no utilization) to 100 (full utilization). StorageUtilizationPercent pulumi.IntPtrInput `pulumi:"storageUtilizationPercent"` }
func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ElementType ¶
func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ElementType() reflect.Type
func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsOutput ¶
func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsOutput() InstanceAutoscalingConfigAutoscalingTargetsOutput
func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext ¶
func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsOutput
func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput ¶
func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
func (InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext ¶
func (i InstanceAutoscalingConfigAutoscalingTargetsArgs) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
type InstanceAutoscalingConfigAutoscalingTargetsInput ¶
type InstanceAutoscalingConfigAutoscalingTargetsInput interface { pulumi.Input ToInstanceAutoscalingConfigAutoscalingTargetsOutput() InstanceAutoscalingConfigAutoscalingTargetsOutput ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext(context.Context) InstanceAutoscalingConfigAutoscalingTargetsOutput }
InstanceAutoscalingConfigAutoscalingTargetsInput is an input type that accepts InstanceAutoscalingConfigAutoscalingTargetsArgs and InstanceAutoscalingConfigAutoscalingTargetsOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAutoscalingTargetsInput` via:
InstanceAutoscalingConfigAutoscalingTargetsArgs{...}
type InstanceAutoscalingConfigAutoscalingTargetsOutput ¶
type InstanceAutoscalingConfigAutoscalingTargetsOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ElementType ¶
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) HighPriorityCpuUtilizationPercent ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) HighPriorityCpuUtilizationPercent() pulumi.IntPtrOutput
Specifies the target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization)..
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) StorageUtilizationPercent ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) StorageUtilizationPercent() pulumi.IntPtrOutput
Specifies the target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization).
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsOutput ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsOutput() InstanceAutoscalingConfigAutoscalingTargetsOutput
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsOutput
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
func (InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
type InstanceAutoscalingConfigAutoscalingTargetsPtrInput ¶
type InstanceAutoscalingConfigAutoscalingTargetsPtrInput interface { pulumi.Input ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput }
InstanceAutoscalingConfigAutoscalingTargetsPtrInput is an input type that accepts InstanceAutoscalingConfigAutoscalingTargetsArgs, InstanceAutoscalingConfigAutoscalingTargetsPtr and InstanceAutoscalingConfigAutoscalingTargetsPtrOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigAutoscalingTargetsPtrInput` via:
InstanceAutoscalingConfigAutoscalingTargetsArgs{...} or: nil
func InstanceAutoscalingConfigAutoscalingTargetsPtr ¶
func InstanceAutoscalingConfigAutoscalingTargetsPtr(v *InstanceAutoscalingConfigAutoscalingTargetsArgs) InstanceAutoscalingConfigAutoscalingTargetsPtrInput
type InstanceAutoscalingConfigAutoscalingTargetsPtrOutput ¶
type InstanceAutoscalingConfigAutoscalingTargetsPtrOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ElementType ¶
func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) HighPriorityCpuUtilizationPercent ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) HighPriorityCpuUtilizationPercent() pulumi.IntPtrOutput
Specifies the target high priority cpu utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization)..
func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) StorageUtilizationPercent ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) StorageUtilizationPercent() pulumi.IntPtrOutput
Specifies the target storage utilization percentage that the autoscaler should be trying to achieve for the instance. This number is on a scale from 0 (no utilization) to 100 (full utilization).
func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutput() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
func (InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext ¶
func (o InstanceAutoscalingConfigAutoscalingTargetsPtrOutput) ToInstanceAutoscalingConfigAutoscalingTargetsPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
type InstanceAutoscalingConfigInput ¶
type InstanceAutoscalingConfigInput interface { pulumi.Input ToInstanceAutoscalingConfigOutput() InstanceAutoscalingConfigOutput ToInstanceAutoscalingConfigOutputWithContext(context.Context) InstanceAutoscalingConfigOutput }
InstanceAutoscalingConfigInput is an input type that accepts InstanceAutoscalingConfigArgs and InstanceAutoscalingConfigOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigInput` via:
InstanceAutoscalingConfigArgs{...}
type InstanceAutoscalingConfigOutput ¶
type InstanceAutoscalingConfigOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigOutput) AsymmetricAutoscalingOptions ¶ added in v8.8.0
func (o InstanceAutoscalingConfigOutput) AsymmetricAutoscalingOptions() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
Asymmetric autoscaling options for specific replicas. Structure is documented below.
func (InstanceAutoscalingConfigOutput) AutoscalingLimits ¶
func (o InstanceAutoscalingConfigOutput) AutoscalingLimits() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
Defines scale in controls to reduce the risk of response latency and outages due to abrupt scale-in events. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the minLimit and max_limit. Structure is documented below.
func (InstanceAutoscalingConfigOutput) AutoscalingTargets ¶
func (o InstanceAutoscalingConfigOutput) AutoscalingTargets() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
Defines scale in controls to reduce the risk of response latency and outages due to abrupt scale-in events Structure is documented below.
func (InstanceAutoscalingConfigOutput) ElementType ¶
func (InstanceAutoscalingConfigOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigOutput ¶
func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigOutput() InstanceAutoscalingConfigOutput
func (InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigOutputWithContext ¶
func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigOutputWithContext(ctx context.Context) InstanceAutoscalingConfigOutput
func (InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigPtrOutput ¶
func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput
func (InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigPtrOutputWithContext ¶
func (o InstanceAutoscalingConfigOutput) ToInstanceAutoscalingConfigPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigPtrOutput
type InstanceAutoscalingConfigPtrInput ¶
type InstanceAutoscalingConfigPtrInput interface { pulumi.Input ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput ToInstanceAutoscalingConfigPtrOutputWithContext(context.Context) InstanceAutoscalingConfigPtrOutput }
InstanceAutoscalingConfigPtrInput is an input type that accepts InstanceAutoscalingConfigArgs, InstanceAutoscalingConfigPtr and InstanceAutoscalingConfigPtrOutput values. You can construct a concrete instance of `InstanceAutoscalingConfigPtrInput` via:
InstanceAutoscalingConfigArgs{...} or: nil
func InstanceAutoscalingConfigPtr ¶
func InstanceAutoscalingConfigPtr(v *InstanceAutoscalingConfigArgs) InstanceAutoscalingConfigPtrInput
type InstanceAutoscalingConfigPtrOutput ¶
type InstanceAutoscalingConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceAutoscalingConfigPtrOutput) AsymmetricAutoscalingOptions ¶ added in v8.8.0
func (o InstanceAutoscalingConfigPtrOutput) AsymmetricAutoscalingOptions() InstanceAutoscalingConfigAsymmetricAutoscalingOptionArrayOutput
Asymmetric autoscaling options for specific replicas. Structure is documented below.
func (InstanceAutoscalingConfigPtrOutput) AutoscalingLimits ¶
func (o InstanceAutoscalingConfigPtrOutput) AutoscalingLimits() InstanceAutoscalingConfigAutoscalingLimitsPtrOutput
Defines scale in controls to reduce the risk of response latency and outages due to abrupt scale-in events. Users can define the minimum and maximum compute capacity allocated to the instance, and the autoscaler will only scale within that range. Users can either use nodes or processing units to specify the limits, but should use the same unit to set both the minLimit and max_limit. Structure is documented below.
func (InstanceAutoscalingConfigPtrOutput) AutoscalingTargets ¶
func (o InstanceAutoscalingConfigPtrOutput) AutoscalingTargets() InstanceAutoscalingConfigAutoscalingTargetsPtrOutput
Defines scale in controls to reduce the risk of response latency and outages due to abrupt scale-in events Structure is documented below.
func (InstanceAutoscalingConfigPtrOutput) Elem ¶
func (o InstanceAutoscalingConfigPtrOutput) Elem() InstanceAutoscalingConfigOutput
func (InstanceAutoscalingConfigPtrOutput) ElementType ¶
func (InstanceAutoscalingConfigPtrOutput) ElementType() reflect.Type
func (InstanceAutoscalingConfigPtrOutput) ToInstanceAutoscalingConfigPtrOutput ¶
func (o InstanceAutoscalingConfigPtrOutput) ToInstanceAutoscalingConfigPtrOutput() InstanceAutoscalingConfigPtrOutput
func (InstanceAutoscalingConfigPtrOutput) ToInstanceAutoscalingConfigPtrOutputWithContext ¶
func (o InstanceAutoscalingConfigPtrOutput) ToInstanceAutoscalingConfigPtrOutputWithContext(ctx context.Context) InstanceAutoscalingConfigPtrOutput
type InstanceConfig ¶
type InstanceConfig struct { pulumi.CustomResourceState // Base configuration name, e.g. nam3, based on which this configuration is created. Only set for user managed // configurations. baseConfig must refer to a configuration of type GOOGLE_MANAGED in the same project as this // configuration. BaseConfig pulumi.StringOutput `pulumi:"baseConfig"` // Output only. Whether this instance config is a Google or User Managed Configuration. ConfigType pulumi.StringOutput `pulumi:"configType"` // The name of this instance configuration as it appears in UIs. DisplayName pulumi.StringOutput `pulumi:"displayName"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer // to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // A unique identifier for the instance configuration. Values are of the // form projects/<project>/instanceConfigs/[a-z][-a-z0-9]* Name pulumi.StringOutput `pulumi:"name"` Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // The geographic placement of nodes in this instance configuration and their replication properties. // Structure is documented below. Replicas InstanceConfigReplicaArrayOutput `pulumi:"replicas"` }
A possible configuration for a Cloud Spanner instance. Configurations define the geographic placement of nodes and their replication.
To get more information about InstanceConfig, see:
* [API documentation](https://cloud.google.com/spanner/docs/reference/rest/v1/projects.instanceConfigs) * How-to Guides
- [Official Documentation](https://cloud.google.com/spanner/)
## Example Usage
## Import
InstanceConfig can be imported using any of these accepted formats:
* `projects/{{project}}/instanceConfigs/{{name}}`
* `{{project}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, InstanceConfig can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:spanner/instanceConfig:InstanceConfig default projects/{{project}}/instanceConfigs/{{name}} ```
```sh $ pulumi import gcp:spanner/instanceConfig:InstanceConfig default {{project}}/{{name}} ```
```sh $ pulumi import gcp:spanner/instanceConfig:InstanceConfig default {{name}} ```
func GetInstanceConfig ¶
func GetInstanceConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceConfigState, opts ...pulumi.ResourceOption) (*InstanceConfig, error)
GetInstanceConfig gets an existing InstanceConfig 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 NewInstanceConfig ¶
func NewInstanceConfig(ctx *pulumi.Context, name string, args *InstanceConfigArgs, opts ...pulumi.ResourceOption) (*InstanceConfig, error)
NewInstanceConfig registers a new resource with the given unique name, arguments, and options.
func (*InstanceConfig) ElementType ¶
func (*InstanceConfig) ElementType() reflect.Type
func (*InstanceConfig) ToInstanceConfigOutput ¶
func (i *InstanceConfig) ToInstanceConfigOutput() InstanceConfigOutput
func (*InstanceConfig) ToInstanceConfigOutputWithContext ¶
func (i *InstanceConfig) ToInstanceConfigOutputWithContext(ctx context.Context) InstanceConfigOutput
type InstanceConfigArgs ¶
type InstanceConfigArgs struct { // Base configuration name, e.g. nam3, based on which this configuration is created. Only set for user managed // configurations. baseConfig must refer to a configuration of type GOOGLE_MANAGED in the same project as this // configuration. BaseConfig pulumi.StringPtrInput // The name of this instance configuration as it appears in UIs. DisplayName pulumi.StringInput // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer // to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapInput // A unique identifier for the instance configuration. Values are of the // form projects/<project>/instanceConfigs/[a-z][-a-z0-9]* Name pulumi.StringPtrInput Project pulumi.StringPtrInput // The geographic placement of nodes in this instance configuration and their replication properties. // Structure is documented below. Replicas InstanceConfigReplicaArrayInput }
The set of arguments for constructing a InstanceConfig resource.
func (InstanceConfigArgs) ElementType ¶
func (InstanceConfigArgs) ElementType() reflect.Type
type InstanceConfigArray ¶
type InstanceConfigArray []InstanceConfigInput
func (InstanceConfigArray) ElementType ¶
func (InstanceConfigArray) ElementType() reflect.Type
func (InstanceConfigArray) ToInstanceConfigArrayOutput ¶
func (i InstanceConfigArray) ToInstanceConfigArrayOutput() InstanceConfigArrayOutput
func (InstanceConfigArray) ToInstanceConfigArrayOutputWithContext ¶
func (i InstanceConfigArray) ToInstanceConfigArrayOutputWithContext(ctx context.Context) InstanceConfigArrayOutput
type InstanceConfigArrayInput ¶
type InstanceConfigArrayInput interface { pulumi.Input ToInstanceConfigArrayOutput() InstanceConfigArrayOutput ToInstanceConfigArrayOutputWithContext(context.Context) InstanceConfigArrayOutput }
InstanceConfigArrayInput is an input type that accepts InstanceConfigArray and InstanceConfigArrayOutput values. You can construct a concrete instance of `InstanceConfigArrayInput` via:
InstanceConfigArray{ InstanceConfigArgs{...} }
type InstanceConfigArrayOutput ¶
type InstanceConfigArrayOutput struct{ *pulumi.OutputState }
func (InstanceConfigArrayOutput) ElementType ¶
func (InstanceConfigArrayOutput) ElementType() reflect.Type
func (InstanceConfigArrayOutput) Index ¶
func (o InstanceConfigArrayOutput) Index(i pulumi.IntInput) InstanceConfigOutput
func (InstanceConfigArrayOutput) ToInstanceConfigArrayOutput ¶
func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutput() InstanceConfigArrayOutput
func (InstanceConfigArrayOutput) ToInstanceConfigArrayOutputWithContext ¶
func (o InstanceConfigArrayOutput) ToInstanceConfigArrayOutputWithContext(ctx context.Context) InstanceConfigArrayOutput
type InstanceConfigInput ¶
type InstanceConfigInput interface { pulumi.Input ToInstanceConfigOutput() InstanceConfigOutput ToInstanceConfigOutputWithContext(ctx context.Context) InstanceConfigOutput }
type InstanceConfigMap ¶
type InstanceConfigMap map[string]InstanceConfigInput
func (InstanceConfigMap) ElementType ¶
func (InstanceConfigMap) ElementType() reflect.Type
func (InstanceConfigMap) ToInstanceConfigMapOutput ¶
func (i InstanceConfigMap) ToInstanceConfigMapOutput() InstanceConfigMapOutput
func (InstanceConfigMap) ToInstanceConfigMapOutputWithContext ¶
func (i InstanceConfigMap) ToInstanceConfigMapOutputWithContext(ctx context.Context) InstanceConfigMapOutput
type InstanceConfigMapInput ¶
type InstanceConfigMapInput interface { pulumi.Input ToInstanceConfigMapOutput() InstanceConfigMapOutput ToInstanceConfigMapOutputWithContext(context.Context) InstanceConfigMapOutput }
InstanceConfigMapInput is an input type that accepts InstanceConfigMap and InstanceConfigMapOutput values. You can construct a concrete instance of `InstanceConfigMapInput` via:
InstanceConfigMap{ "key": InstanceConfigArgs{...} }
type InstanceConfigMapOutput ¶
type InstanceConfigMapOutput struct{ *pulumi.OutputState }
func (InstanceConfigMapOutput) ElementType ¶
func (InstanceConfigMapOutput) ElementType() reflect.Type
func (InstanceConfigMapOutput) MapIndex ¶
func (o InstanceConfigMapOutput) MapIndex(k pulumi.StringInput) InstanceConfigOutput
func (InstanceConfigMapOutput) ToInstanceConfigMapOutput ¶
func (o InstanceConfigMapOutput) ToInstanceConfigMapOutput() InstanceConfigMapOutput
func (InstanceConfigMapOutput) ToInstanceConfigMapOutputWithContext ¶
func (o InstanceConfigMapOutput) ToInstanceConfigMapOutputWithContext(ctx context.Context) InstanceConfigMapOutput
type InstanceConfigOutput ¶
type InstanceConfigOutput struct{ *pulumi.OutputState }
func (InstanceConfigOutput) BaseConfig ¶
func (o InstanceConfigOutput) BaseConfig() pulumi.StringOutput
Base configuration name, e.g. nam3, based on which this configuration is created. Only set for user managed configurations. baseConfig must refer to a configuration of type GOOGLE_MANAGED in the same project as this configuration.
func (InstanceConfigOutput) ConfigType ¶
func (o InstanceConfigOutput) ConfigType() pulumi.StringOutput
Output only. Whether this instance config is a Google or User Managed Configuration.
func (InstanceConfigOutput) DisplayName ¶
func (o InstanceConfigOutput) DisplayName() pulumi.StringOutput
The name of this instance configuration as it appears in UIs.
func (InstanceConfigOutput) EffectiveLabels ¶
func (o InstanceConfigOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (InstanceConfigOutput) ElementType ¶
func (InstanceConfigOutput) ElementType() reflect.Type
func (InstanceConfigOutput) Labels ¶
func (o InstanceConfigOutput) Labels() pulumi.StringMapOutput
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the resource.
func (InstanceConfigOutput) Name ¶
func (o InstanceConfigOutput) Name() pulumi.StringOutput
A unique identifier for the instance configuration. Values are of the form projects/<project>/instanceConfigs/[a-z][-a-z0-9]*
func (InstanceConfigOutput) Project ¶
func (o InstanceConfigOutput) Project() pulumi.StringOutput
func (InstanceConfigOutput) PulumiLabels ¶
func (o InstanceConfigOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (InstanceConfigOutput) Replicas ¶
func (o InstanceConfigOutput) Replicas() InstanceConfigReplicaArrayOutput
The geographic placement of nodes in this instance configuration and their replication properties. Structure is documented below.
func (InstanceConfigOutput) ToInstanceConfigOutput ¶
func (o InstanceConfigOutput) ToInstanceConfigOutput() InstanceConfigOutput
func (InstanceConfigOutput) ToInstanceConfigOutputWithContext ¶
func (o InstanceConfigOutput) ToInstanceConfigOutputWithContext(ctx context.Context) InstanceConfigOutput
type InstanceConfigReplica ¶
type InstanceConfigReplica struct { // If true, this location is designated as the default leader location where // leader replicas are placed. // // *** DefaultLeaderLocation *bool `pulumi:"defaultLeaderLocation"` // The location of the serving resources, e.g. "us-central1". Location *string `pulumi:"location"` // Indicates the type of replica. See the [replica types // documentation](https://cloud.google.com/spanner/docs/replication#replica_types) // for more details. // Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`. Type *string `pulumi:"type"` }
type InstanceConfigReplicaArgs ¶
type InstanceConfigReplicaArgs struct { // If true, this location is designated as the default leader location where // leader replicas are placed. // // *** DefaultLeaderLocation pulumi.BoolPtrInput `pulumi:"defaultLeaderLocation"` // The location of the serving resources, e.g. "us-central1". Location pulumi.StringPtrInput `pulumi:"location"` // Indicates the type of replica. See the [replica types // documentation](https://cloud.google.com/spanner/docs/replication#replica_types) // for more details. // Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`. Type pulumi.StringPtrInput `pulumi:"type"` }
func (InstanceConfigReplicaArgs) ElementType ¶
func (InstanceConfigReplicaArgs) ElementType() reflect.Type
func (InstanceConfigReplicaArgs) ToInstanceConfigReplicaOutput ¶
func (i InstanceConfigReplicaArgs) ToInstanceConfigReplicaOutput() InstanceConfigReplicaOutput
func (InstanceConfigReplicaArgs) ToInstanceConfigReplicaOutputWithContext ¶
func (i InstanceConfigReplicaArgs) ToInstanceConfigReplicaOutputWithContext(ctx context.Context) InstanceConfigReplicaOutput
type InstanceConfigReplicaArray ¶
type InstanceConfigReplicaArray []InstanceConfigReplicaInput
func (InstanceConfigReplicaArray) ElementType ¶
func (InstanceConfigReplicaArray) ElementType() reflect.Type
func (InstanceConfigReplicaArray) ToInstanceConfigReplicaArrayOutput ¶
func (i InstanceConfigReplicaArray) ToInstanceConfigReplicaArrayOutput() InstanceConfigReplicaArrayOutput
func (InstanceConfigReplicaArray) ToInstanceConfigReplicaArrayOutputWithContext ¶
func (i InstanceConfigReplicaArray) ToInstanceConfigReplicaArrayOutputWithContext(ctx context.Context) InstanceConfigReplicaArrayOutput
type InstanceConfigReplicaArrayInput ¶
type InstanceConfigReplicaArrayInput interface { pulumi.Input ToInstanceConfigReplicaArrayOutput() InstanceConfigReplicaArrayOutput ToInstanceConfigReplicaArrayOutputWithContext(context.Context) InstanceConfigReplicaArrayOutput }
InstanceConfigReplicaArrayInput is an input type that accepts InstanceConfigReplicaArray and InstanceConfigReplicaArrayOutput values. You can construct a concrete instance of `InstanceConfigReplicaArrayInput` via:
InstanceConfigReplicaArray{ InstanceConfigReplicaArgs{...} }
type InstanceConfigReplicaArrayOutput ¶
type InstanceConfigReplicaArrayOutput struct{ *pulumi.OutputState }
func (InstanceConfigReplicaArrayOutput) ElementType ¶
func (InstanceConfigReplicaArrayOutput) ElementType() reflect.Type
func (InstanceConfigReplicaArrayOutput) Index ¶
func (o InstanceConfigReplicaArrayOutput) Index(i pulumi.IntInput) InstanceConfigReplicaOutput
func (InstanceConfigReplicaArrayOutput) ToInstanceConfigReplicaArrayOutput ¶
func (o InstanceConfigReplicaArrayOutput) ToInstanceConfigReplicaArrayOutput() InstanceConfigReplicaArrayOutput
func (InstanceConfigReplicaArrayOutput) ToInstanceConfigReplicaArrayOutputWithContext ¶
func (o InstanceConfigReplicaArrayOutput) ToInstanceConfigReplicaArrayOutputWithContext(ctx context.Context) InstanceConfigReplicaArrayOutput
type InstanceConfigReplicaInput ¶
type InstanceConfigReplicaInput interface { pulumi.Input ToInstanceConfigReplicaOutput() InstanceConfigReplicaOutput ToInstanceConfigReplicaOutputWithContext(context.Context) InstanceConfigReplicaOutput }
InstanceConfigReplicaInput is an input type that accepts InstanceConfigReplicaArgs and InstanceConfigReplicaOutput values. You can construct a concrete instance of `InstanceConfigReplicaInput` via:
InstanceConfigReplicaArgs{...}
type InstanceConfigReplicaOutput ¶
type InstanceConfigReplicaOutput struct{ *pulumi.OutputState }
func (InstanceConfigReplicaOutput) DefaultLeaderLocation ¶
func (o InstanceConfigReplicaOutput) DefaultLeaderLocation() pulumi.BoolPtrOutput
If true, this location is designated as the default leader location where leader replicas are placed.
***
func (InstanceConfigReplicaOutput) ElementType ¶
func (InstanceConfigReplicaOutput) ElementType() reflect.Type
func (InstanceConfigReplicaOutput) Location ¶
func (o InstanceConfigReplicaOutput) Location() pulumi.StringPtrOutput
The location of the serving resources, e.g. "us-central1".
func (InstanceConfigReplicaOutput) ToInstanceConfigReplicaOutput ¶
func (o InstanceConfigReplicaOutput) ToInstanceConfigReplicaOutput() InstanceConfigReplicaOutput
func (InstanceConfigReplicaOutput) ToInstanceConfigReplicaOutputWithContext ¶
func (o InstanceConfigReplicaOutput) ToInstanceConfigReplicaOutputWithContext(ctx context.Context) InstanceConfigReplicaOutput
func (InstanceConfigReplicaOutput) Type ¶
func (o InstanceConfigReplicaOutput) Type() pulumi.StringPtrOutput
Indicates the type of replica. See the [replica types documentation](https://cloud.google.com/spanner/docs/replication#replica_types) for more details. Possible values are: `READ_WRITE`, `READ_ONLY`, `WITNESS`.
type InstanceConfigState ¶
type InstanceConfigState struct { // Base configuration name, e.g. nam3, based on which this configuration is created. Only set for user managed // configurations. baseConfig must refer to a configuration of type GOOGLE_MANAGED in the same project as this // configuration. BaseConfig pulumi.StringPtrInput // Output only. Whether this instance config is a Google or User Managed Configuration. ConfigType pulumi.StringPtrInput // The name of this instance configuration as it appears in UIs. DisplayName pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer // to the field 'effective_labels' for all of the labels present on the resource. Labels pulumi.StringMapInput // A unique identifier for the instance configuration. Values are of the // form projects/<project>/instanceConfigs/[a-z][-a-z0-9]* Name pulumi.StringPtrInput Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // The geographic placement of nodes in this instance configuration and their replication properties. // Structure is documented below. Replicas InstanceConfigReplicaArrayInput }
func (InstanceConfigState) ElementType ¶
func (InstanceConfigState) ElementType() reflect.Type
type InstanceIAMBinding ¶
type InstanceIAMBinding struct { pulumi.CustomResourceState Condition InstanceIAMBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the instance's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the instance. Instance pulumi.StringOutput `pulumi:"instance"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayOutput `pulumi:"members"` // 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 role that should be applied. Only one // `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for a Spanner instance. Each of these resources serves a different use case:
* `spanner.InstanceIAMPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
> **Warning:** It's entirely possibly to lock yourself out of your instance using `spanner.InstanceIAMPolicy`. Any permissions granted by default will be removed unless you include them in your config.
* `spanner.InstanceIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `spanner.InstanceIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
> **Note:** `spanner.InstanceIAMPolicy` **cannot** be used in conjunction with `spanner.InstanceIAMBinding` and `spanner.InstanceIAMMember` or they will fight over what your policy should be.
> **Note:** `spanner.InstanceIAMBinding` resources **can be** used in conjunction with `spanner.InstanceIAMMember` resources **only if** they do not grant privilege to the same role.
## spanner.InstanceIAMPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewInstanceIAMPolicy(ctx, "instance", &spanner.InstanceIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMBinding(ctx, "instance", &spanner.InstanceIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMMember(ctx, "instance", &spanner.InstanceIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMBinding(ctx, "instance", &spanner.InstanceIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMMember(ctx, "instance", &spanner.InstanceIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
### Importing IAM policies
IAM policy imports use the identifier of the Spanner Instances resource . For example:
* `{{project}}/{{instance}}`
An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:
tf
import {
id = {{project}}/{{instance}} to = google_spanner_instance_iam_policy.default
}
The `pulumi import` command can also be used:
```sh $ pulumi import gcp:spanner/instanceIAMBinding:InstanceIAMBinding default {{project}}/{{instance}} ```
func GetInstanceIAMBinding ¶
func GetInstanceIAMBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIAMBindingState, opts ...pulumi.ResourceOption) (*InstanceIAMBinding, error)
GetInstanceIAMBinding gets an existing InstanceIAMBinding 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 NewInstanceIAMBinding ¶
func NewInstanceIAMBinding(ctx *pulumi.Context, name string, args *InstanceIAMBindingArgs, opts ...pulumi.ResourceOption) (*InstanceIAMBinding, error)
NewInstanceIAMBinding registers a new resource with the given unique name, arguments, and options.
func (*InstanceIAMBinding) ElementType ¶
func (*InstanceIAMBinding) ElementType() reflect.Type
func (*InstanceIAMBinding) ToInstanceIAMBindingOutput ¶
func (i *InstanceIAMBinding) ToInstanceIAMBindingOutput() InstanceIAMBindingOutput
func (*InstanceIAMBinding) ToInstanceIAMBindingOutputWithContext ¶
func (i *InstanceIAMBinding) ToInstanceIAMBindingOutputWithContext(ctx context.Context) InstanceIAMBindingOutput
type InstanceIAMBindingArgs ¶
type InstanceIAMBindingArgs struct { Condition InstanceIAMBindingConditionPtrInput // The name of the instance. Instance pulumi.StringInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a InstanceIAMBinding resource.
func (InstanceIAMBindingArgs) ElementType ¶
func (InstanceIAMBindingArgs) ElementType() reflect.Type
type InstanceIAMBindingArray ¶
type InstanceIAMBindingArray []InstanceIAMBindingInput
func (InstanceIAMBindingArray) ElementType ¶
func (InstanceIAMBindingArray) ElementType() reflect.Type
func (InstanceIAMBindingArray) ToInstanceIAMBindingArrayOutput ¶
func (i InstanceIAMBindingArray) ToInstanceIAMBindingArrayOutput() InstanceIAMBindingArrayOutput
func (InstanceIAMBindingArray) ToInstanceIAMBindingArrayOutputWithContext ¶
func (i InstanceIAMBindingArray) ToInstanceIAMBindingArrayOutputWithContext(ctx context.Context) InstanceIAMBindingArrayOutput
type InstanceIAMBindingArrayInput ¶
type InstanceIAMBindingArrayInput interface { pulumi.Input ToInstanceIAMBindingArrayOutput() InstanceIAMBindingArrayOutput ToInstanceIAMBindingArrayOutputWithContext(context.Context) InstanceIAMBindingArrayOutput }
InstanceIAMBindingArrayInput is an input type that accepts InstanceIAMBindingArray and InstanceIAMBindingArrayOutput values. You can construct a concrete instance of `InstanceIAMBindingArrayInput` via:
InstanceIAMBindingArray{ InstanceIAMBindingArgs{...} }
type InstanceIAMBindingArrayOutput ¶
type InstanceIAMBindingArrayOutput struct{ *pulumi.OutputState }
func (InstanceIAMBindingArrayOutput) ElementType ¶
func (InstanceIAMBindingArrayOutput) ElementType() reflect.Type
func (InstanceIAMBindingArrayOutput) Index ¶
func (o InstanceIAMBindingArrayOutput) Index(i pulumi.IntInput) InstanceIAMBindingOutput
func (InstanceIAMBindingArrayOutput) ToInstanceIAMBindingArrayOutput ¶
func (o InstanceIAMBindingArrayOutput) ToInstanceIAMBindingArrayOutput() InstanceIAMBindingArrayOutput
func (InstanceIAMBindingArrayOutput) ToInstanceIAMBindingArrayOutputWithContext ¶
func (o InstanceIAMBindingArrayOutput) ToInstanceIAMBindingArrayOutputWithContext(ctx context.Context) InstanceIAMBindingArrayOutput
type InstanceIAMBindingConditionArgs ¶
type InstanceIAMBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (InstanceIAMBindingConditionArgs) ElementType ¶
func (InstanceIAMBindingConditionArgs) ElementType() reflect.Type
func (InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionOutput ¶
func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionOutput() InstanceIAMBindingConditionOutput
func (InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionOutputWithContext ¶
func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionOutputWithContext(ctx context.Context) InstanceIAMBindingConditionOutput
func (InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionPtrOutput ¶
func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput
func (InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionPtrOutputWithContext ¶
func (i InstanceIAMBindingConditionArgs) ToInstanceIAMBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIAMBindingConditionPtrOutput
type InstanceIAMBindingConditionInput ¶
type InstanceIAMBindingConditionInput interface { pulumi.Input ToInstanceIAMBindingConditionOutput() InstanceIAMBindingConditionOutput ToInstanceIAMBindingConditionOutputWithContext(context.Context) InstanceIAMBindingConditionOutput }
InstanceIAMBindingConditionInput is an input type that accepts InstanceIAMBindingConditionArgs and InstanceIAMBindingConditionOutput values. You can construct a concrete instance of `InstanceIAMBindingConditionInput` via:
InstanceIAMBindingConditionArgs{...}
type InstanceIAMBindingConditionOutput ¶
type InstanceIAMBindingConditionOutput struct{ *pulumi.OutputState }
func (InstanceIAMBindingConditionOutput) Description ¶
func (o InstanceIAMBindingConditionOutput) Description() pulumi.StringPtrOutput
func (InstanceIAMBindingConditionOutput) ElementType ¶
func (InstanceIAMBindingConditionOutput) ElementType() reflect.Type
func (InstanceIAMBindingConditionOutput) Expression ¶
func (o InstanceIAMBindingConditionOutput) Expression() pulumi.StringOutput
func (InstanceIAMBindingConditionOutput) Title ¶
func (o InstanceIAMBindingConditionOutput) Title() pulumi.StringOutput
func (InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionOutput ¶
func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionOutput() InstanceIAMBindingConditionOutput
func (InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionOutputWithContext ¶
func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionOutputWithContext(ctx context.Context) InstanceIAMBindingConditionOutput
func (InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionPtrOutput ¶
func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput
func (InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionPtrOutputWithContext ¶
func (o InstanceIAMBindingConditionOutput) ToInstanceIAMBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIAMBindingConditionPtrOutput
type InstanceIAMBindingConditionPtrInput ¶
type InstanceIAMBindingConditionPtrInput interface { pulumi.Input ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput ToInstanceIAMBindingConditionPtrOutputWithContext(context.Context) InstanceIAMBindingConditionPtrOutput }
InstanceIAMBindingConditionPtrInput is an input type that accepts InstanceIAMBindingConditionArgs, InstanceIAMBindingConditionPtr and InstanceIAMBindingConditionPtrOutput values. You can construct a concrete instance of `InstanceIAMBindingConditionPtrInput` via:
InstanceIAMBindingConditionArgs{...} or: nil
func InstanceIAMBindingConditionPtr ¶
func InstanceIAMBindingConditionPtr(v *InstanceIAMBindingConditionArgs) InstanceIAMBindingConditionPtrInput
type InstanceIAMBindingConditionPtrOutput ¶
type InstanceIAMBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (InstanceIAMBindingConditionPtrOutput) Description ¶
func (o InstanceIAMBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (InstanceIAMBindingConditionPtrOutput) ElementType ¶
func (InstanceIAMBindingConditionPtrOutput) ElementType() reflect.Type
func (InstanceIAMBindingConditionPtrOutput) Expression ¶
func (o InstanceIAMBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (InstanceIAMBindingConditionPtrOutput) Title ¶
func (o InstanceIAMBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (InstanceIAMBindingConditionPtrOutput) ToInstanceIAMBindingConditionPtrOutput ¶
func (o InstanceIAMBindingConditionPtrOutput) ToInstanceIAMBindingConditionPtrOutput() InstanceIAMBindingConditionPtrOutput
func (InstanceIAMBindingConditionPtrOutput) ToInstanceIAMBindingConditionPtrOutputWithContext ¶
func (o InstanceIAMBindingConditionPtrOutput) ToInstanceIAMBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIAMBindingConditionPtrOutput
type InstanceIAMBindingInput ¶
type InstanceIAMBindingInput interface { pulumi.Input ToInstanceIAMBindingOutput() InstanceIAMBindingOutput ToInstanceIAMBindingOutputWithContext(ctx context.Context) InstanceIAMBindingOutput }
type InstanceIAMBindingMap ¶
type InstanceIAMBindingMap map[string]InstanceIAMBindingInput
func (InstanceIAMBindingMap) ElementType ¶
func (InstanceIAMBindingMap) ElementType() reflect.Type
func (InstanceIAMBindingMap) ToInstanceIAMBindingMapOutput ¶
func (i InstanceIAMBindingMap) ToInstanceIAMBindingMapOutput() InstanceIAMBindingMapOutput
func (InstanceIAMBindingMap) ToInstanceIAMBindingMapOutputWithContext ¶
func (i InstanceIAMBindingMap) ToInstanceIAMBindingMapOutputWithContext(ctx context.Context) InstanceIAMBindingMapOutput
type InstanceIAMBindingMapInput ¶
type InstanceIAMBindingMapInput interface { pulumi.Input ToInstanceIAMBindingMapOutput() InstanceIAMBindingMapOutput ToInstanceIAMBindingMapOutputWithContext(context.Context) InstanceIAMBindingMapOutput }
InstanceIAMBindingMapInput is an input type that accepts InstanceIAMBindingMap and InstanceIAMBindingMapOutput values. You can construct a concrete instance of `InstanceIAMBindingMapInput` via:
InstanceIAMBindingMap{ "key": InstanceIAMBindingArgs{...} }
type InstanceIAMBindingMapOutput ¶
type InstanceIAMBindingMapOutput struct{ *pulumi.OutputState }
func (InstanceIAMBindingMapOutput) ElementType ¶
func (InstanceIAMBindingMapOutput) ElementType() reflect.Type
func (InstanceIAMBindingMapOutput) MapIndex ¶
func (o InstanceIAMBindingMapOutput) MapIndex(k pulumi.StringInput) InstanceIAMBindingOutput
func (InstanceIAMBindingMapOutput) ToInstanceIAMBindingMapOutput ¶
func (o InstanceIAMBindingMapOutput) ToInstanceIAMBindingMapOutput() InstanceIAMBindingMapOutput
func (InstanceIAMBindingMapOutput) ToInstanceIAMBindingMapOutputWithContext ¶
func (o InstanceIAMBindingMapOutput) ToInstanceIAMBindingMapOutputWithContext(ctx context.Context) InstanceIAMBindingMapOutput
type InstanceIAMBindingOutput ¶
type InstanceIAMBindingOutput struct{ *pulumi.OutputState }
func (InstanceIAMBindingOutput) Condition ¶
func (o InstanceIAMBindingOutput) Condition() InstanceIAMBindingConditionPtrOutput
func (InstanceIAMBindingOutput) ElementType ¶
func (InstanceIAMBindingOutput) ElementType() reflect.Type
func (InstanceIAMBindingOutput) Etag ¶
func (o InstanceIAMBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the instance's IAM policy.
func (InstanceIAMBindingOutput) Instance ¶
func (o InstanceIAMBindingOutput) Instance() pulumi.StringOutput
The name of the instance.
func (InstanceIAMBindingOutput) Members ¶
func (o InstanceIAMBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
func (InstanceIAMBindingOutput) Project ¶
func (o InstanceIAMBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InstanceIAMBindingOutput) Role ¶
func (o InstanceIAMBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (InstanceIAMBindingOutput) ToInstanceIAMBindingOutput ¶
func (o InstanceIAMBindingOutput) ToInstanceIAMBindingOutput() InstanceIAMBindingOutput
func (InstanceIAMBindingOutput) ToInstanceIAMBindingOutputWithContext ¶
func (o InstanceIAMBindingOutput) ToInstanceIAMBindingOutputWithContext(ctx context.Context) InstanceIAMBindingOutput
type InstanceIAMBindingState ¶
type InstanceIAMBindingState struct { Condition InstanceIAMBindingConditionPtrInput // (Computed) The etag of the instance's IAM policy. Etag pulumi.StringPtrInput // The name of the instance. Instance pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (InstanceIAMBindingState) ElementType ¶
func (InstanceIAMBindingState) ElementType() reflect.Type
type InstanceIAMMember ¶
type InstanceIAMMember struct { pulumi.CustomResourceState Condition InstanceIAMMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the instance's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the instance. Instance pulumi.StringOutput `pulumi:"instance"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member pulumi.StringOutput `pulumi:"member"` // 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 role that should be applied. Only one // `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for a Spanner instance. Each of these resources serves a different use case:
* `spanner.InstanceIAMPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
> **Warning:** It's entirely possibly to lock yourself out of your instance using `spanner.InstanceIAMPolicy`. Any permissions granted by default will be removed unless you include them in your config.
* `spanner.InstanceIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `spanner.InstanceIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
> **Note:** `spanner.InstanceIAMPolicy` **cannot** be used in conjunction with `spanner.InstanceIAMBinding` and `spanner.InstanceIAMMember` or they will fight over what your policy should be.
> **Note:** `spanner.InstanceIAMBinding` resources **can be** used in conjunction with `spanner.InstanceIAMMember` resources **only if** they do not grant privilege to the same role.
## spanner.InstanceIAMPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewInstanceIAMPolicy(ctx, "instance", &spanner.InstanceIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMBinding(ctx, "instance", &spanner.InstanceIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMMember(ctx, "instance", &spanner.InstanceIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMBinding(ctx, "instance", &spanner.InstanceIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMMember(ctx, "instance", &spanner.InstanceIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
### Importing IAM policies
IAM policy imports use the identifier of the Spanner Instances resource . For example:
* `{{project}}/{{instance}}`
An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:
tf
import {
id = {{project}}/{{instance}} to = google_spanner_instance_iam_policy.default
}
The `pulumi import` command can also be used:
```sh $ pulumi import gcp:spanner/instanceIAMMember:InstanceIAMMember default {{project}}/{{instance}} ```
func GetInstanceIAMMember ¶
func GetInstanceIAMMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIAMMemberState, opts ...pulumi.ResourceOption) (*InstanceIAMMember, error)
GetInstanceIAMMember gets an existing InstanceIAMMember 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 NewInstanceIAMMember ¶
func NewInstanceIAMMember(ctx *pulumi.Context, name string, args *InstanceIAMMemberArgs, opts ...pulumi.ResourceOption) (*InstanceIAMMember, error)
NewInstanceIAMMember registers a new resource with the given unique name, arguments, and options.
func (*InstanceIAMMember) ElementType ¶
func (*InstanceIAMMember) ElementType() reflect.Type
func (*InstanceIAMMember) ToInstanceIAMMemberOutput ¶
func (i *InstanceIAMMember) ToInstanceIAMMemberOutput() InstanceIAMMemberOutput
func (*InstanceIAMMember) ToInstanceIAMMemberOutputWithContext ¶
func (i *InstanceIAMMember) ToInstanceIAMMemberOutputWithContext(ctx context.Context) InstanceIAMMemberOutput
type InstanceIAMMemberArgs ¶
type InstanceIAMMemberArgs struct { Condition InstanceIAMMemberConditionPtrInput // The name of the instance. Instance pulumi.StringInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member 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 role that should be applied. Only one // `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a InstanceIAMMember resource.
func (InstanceIAMMemberArgs) ElementType ¶
func (InstanceIAMMemberArgs) ElementType() reflect.Type
type InstanceIAMMemberArray ¶
type InstanceIAMMemberArray []InstanceIAMMemberInput
func (InstanceIAMMemberArray) ElementType ¶
func (InstanceIAMMemberArray) ElementType() reflect.Type
func (InstanceIAMMemberArray) ToInstanceIAMMemberArrayOutput ¶
func (i InstanceIAMMemberArray) ToInstanceIAMMemberArrayOutput() InstanceIAMMemberArrayOutput
func (InstanceIAMMemberArray) ToInstanceIAMMemberArrayOutputWithContext ¶
func (i InstanceIAMMemberArray) ToInstanceIAMMemberArrayOutputWithContext(ctx context.Context) InstanceIAMMemberArrayOutput
type InstanceIAMMemberArrayInput ¶
type InstanceIAMMemberArrayInput interface { pulumi.Input ToInstanceIAMMemberArrayOutput() InstanceIAMMemberArrayOutput ToInstanceIAMMemberArrayOutputWithContext(context.Context) InstanceIAMMemberArrayOutput }
InstanceIAMMemberArrayInput is an input type that accepts InstanceIAMMemberArray and InstanceIAMMemberArrayOutput values. You can construct a concrete instance of `InstanceIAMMemberArrayInput` via:
InstanceIAMMemberArray{ InstanceIAMMemberArgs{...} }
type InstanceIAMMemberArrayOutput ¶
type InstanceIAMMemberArrayOutput struct{ *pulumi.OutputState }
func (InstanceIAMMemberArrayOutput) ElementType ¶
func (InstanceIAMMemberArrayOutput) ElementType() reflect.Type
func (InstanceIAMMemberArrayOutput) Index ¶
func (o InstanceIAMMemberArrayOutput) Index(i pulumi.IntInput) InstanceIAMMemberOutput
func (InstanceIAMMemberArrayOutput) ToInstanceIAMMemberArrayOutput ¶
func (o InstanceIAMMemberArrayOutput) ToInstanceIAMMemberArrayOutput() InstanceIAMMemberArrayOutput
func (InstanceIAMMemberArrayOutput) ToInstanceIAMMemberArrayOutputWithContext ¶
func (o InstanceIAMMemberArrayOutput) ToInstanceIAMMemberArrayOutputWithContext(ctx context.Context) InstanceIAMMemberArrayOutput
type InstanceIAMMemberConditionArgs ¶
type InstanceIAMMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (InstanceIAMMemberConditionArgs) ElementType ¶
func (InstanceIAMMemberConditionArgs) ElementType() reflect.Type
func (InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionOutput ¶
func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionOutput() InstanceIAMMemberConditionOutput
func (InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionOutputWithContext ¶
func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionOutputWithContext(ctx context.Context) InstanceIAMMemberConditionOutput
func (InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionPtrOutput ¶
func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput
func (InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionPtrOutputWithContext ¶
func (i InstanceIAMMemberConditionArgs) ToInstanceIAMMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIAMMemberConditionPtrOutput
type InstanceIAMMemberConditionInput ¶
type InstanceIAMMemberConditionInput interface { pulumi.Input ToInstanceIAMMemberConditionOutput() InstanceIAMMemberConditionOutput ToInstanceIAMMemberConditionOutputWithContext(context.Context) InstanceIAMMemberConditionOutput }
InstanceIAMMemberConditionInput is an input type that accepts InstanceIAMMemberConditionArgs and InstanceIAMMemberConditionOutput values. You can construct a concrete instance of `InstanceIAMMemberConditionInput` via:
InstanceIAMMemberConditionArgs{...}
type InstanceIAMMemberConditionOutput ¶
type InstanceIAMMemberConditionOutput struct{ *pulumi.OutputState }
func (InstanceIAMMemberConditionOutput) Description ¶
func (o InstanceIAMMemberConditionOutput) Description() pulumi.StringPtrOutput
func (InstanceIAMMemberConditionOutput) ElementType ¶
func (InstanceIAMMemberConditionOutput) ElementType() reflect.Type
func (InstanceIAMMemberConditionOutput) Expression ¶
func (o InstanceIAMMemberConditionOutput) Expression() pulumi.StringOutput
func (InstanceIAMMemberConditionOutput) Title ¶
func (o InstanceIAMMemberConditionOutput) Title() pulumi.StringOutput
func (InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionOutput ¶
func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionOutput() InstanceIAMMemberConditionOutput
func (InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionOutputWithContext ¶
func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionOutputWithContext(ctx context.Context) InstanceIAMMemberConditionOutput
func (InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionPtrOutput ¶
func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput
func (InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionPtrOutputWithContext ¶
func (o InstanceIAMMemberConditionOutput) ToInstanceIAMMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIAMMemberConditionPtrOutput
type InstanceIAMMemberConditionPtrInput ¶
type InstanceIAMMemberConditionPtrInput interface { pulumi.Input ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput ToInstanceIAMMemberConditionPtrOutputWithContext(context.Context) InstanceIAMMemberConditionPtrOutput }
InstanceIAMMemberConditionPtrInput is an input type that accepts InstanceIAMMemberConditionArgs, InstanceIAMMemberConditionPtr and InstanceIAMMemberConditionPtrOutput values. You can construct a concrete instance of `InstanceIAMMemberConditionPtrInput` via:
InstanceIAMMemberConditionArgs{...} or: nil
func InstanceIAMMemberConditionPtr ¶
func InstanceIAMMemberConditionPtr(v *InstanceIAMMemberConditionArgs) InstanceIAMMemberConditionPtrInput
type InstanceIAMMemberConditionPtrOutput ¶
type InstanceIAMMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (InstanceIAMMemberConditionPtrOutput) Description ¶
func (o InstanceIAMMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (InstanceIAMMemberConditionPtrOutput) Elem ¶
func (o InstanceIAMMemberConditionPtrOutput) Elem() InstanceIAMMemberConditionOutput
func (InstanceIAMMemberConditionPtrOutput) ElementType ¶
func (InstanceIAMMemberConditionPtrOutput) ElementType() reflect.Type
func (InstanceIAMMemberConditionPtrOutput) Expression ¶
func (o InstanceIAMMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (InstanceIAMMemberConditionPtrOutput) Title ¶
func (o InstanceIAMMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (InstanceIAMMemberConditionPtrOutput) ToInstanceIAMMemberConditionPtrOutput ¶
func (o InstanceIAMMemberConditionPtrOutput) ToInstanceIAMMemberConditionPtrOutput() InstanceIAMMemberConditionPtrOutput
func (InstanceIAMMemberConditionPtrOutput) ToInstanceIAMMemberConditionPtrOutputWithContext ¶
func (o InstanceIAMMemberConditionPtrOutput) ToInstanceIAMMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIAMMemberConditionPtrOutput
type InstanceIAMMemberInput ¶
type InstanceIAMMemberInput interface { pulumi.Input ToInstanceIAMMemberOutput() InstanceIAMMemberOutput ToInstanceIAMMemberOutputWithContext(ctx context.Context) InstanceIAMMemberOutput }
type InstanceIAMMemberMap ¶
type InstanceIAMMemberMap map[string]InstanceIAMMemberInput
func (InstanceIAMMemberMap) ElementType ¶
func (InstanceIAMMemberMap) ElementType() reflect.Type
func (InstanceIAMMemberMap) ToInstanceIAMMemberMapOutput ¶
func (i InstanceIAMMemberMap) ToInstanceIAMMemberMapOutput() InstanceIAMMemberMapOutput
func (InstanceIAMMemberMap) ToInstanceIAMMemberMapOutputWithContext ¶
func (i InstanceIAMMemberMap) ToInstanceIAMMemberMapOutputWithContext(ctx context.Context) InstanceIAMMemberMapOutput
type InstanceIAMMemberMapInput ¶
type InstanceIAMMemberMapInput interface { pulumi.Input ToInstanceIAMMemberMapOutput() InstanceIAMMemberMapOutput ToInstanceIAMMemberMapOutputWithContext(context.Context) InstanceIAMMemberMapOutput }
InstanceIAMMemberMapInput is an input type that accepts InstanceIAMMemberMap and InstanceIAMMemberMapOutput values. You can construct a concrete instance of `InstanceIAMMemberMapInput` via:
InstanceIAMMemberMap{ "key": InstanceIAMMemberArgs{...} }
type InstanceIAMMemberMapOutput ¶
type InstanceIAMMemberMapOutput struct{ *pulumi.OutputState }
func (InstanceIAMMemberMapOutput) ElementType ¶
func (InstanceIAMMemberMapOutput) ElementType() reflect.Type
func (InstanceIAMMemberMapOutput) MapIndex ¶
func (o InstanceIAMMemberMapOutput) MapIndex(k pulumi.StringInput) InstanceIAMMemberOutput
func (InstanceIAMMemberMapOutput) ToInstanceIAMMemberMapOutput ¶
func (o InstanceIAMMemberMapOutput) ToInstanceIAMMemberMapOutput() InstanceIAMMemberMapOutput
func (InstanceIAMMemberMapOutput) ToInstanceIAMMemberMapOutputWithContext ¶
func (o InstanceIAMMemberMapOutput) ToInstanceIAMMemberMapOutputWithContext(ctx context.Context) InstanceIAMMemberMapOutput
type InstanceIAMMemberOutput ¶
type InstanceIAMMemberOutput struct{ *pulumi.OutputState }
func (InstanceIAMMemberOutput) Condition ¶
func (o InstanceIAMMemberOutput) Condition() InstanceIAMMemberConditionPtrOutput
func (InstanceIAMMemberOutput) ElementType ¶
func (InstanceIAMMemberOutput) ElementType() reflect.Type
func (InstanceIAMMemberOutput) Etag ¶
func (o InstanceIAMMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the instance's IAM policy.
func (InstanceIAMMemberOutput) Instance ¶
func (o InstanceIAMMemberOutput) Instance() pulumi.StringOutput
The name of the instance.
func (InstanceIAMMemberOutput) Member ¶
func (o InstanceIAMMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com.
func (InstanceIAMMemberOutput) Project ¶
func (o InstanceIAMMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InstanceIAMMemberOutput) Role ¶
func (o InstanceIAMMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (InstanceIAMMemberOutput) ToInstanceIAMMemberOutput ¶
func (o InstanceIAMMemberOutput) ToInstanceIAMMemberOutput() InstanceIAMMemberOutput
func (InstanceIAMMemberOutput) ToInstanceIAMMemberOutputWithContext ¶
func (o InstanceIAMMemberOutput) ToInstanceIAMMemberOutputWithContext(ctx context.Context) InstanceIAMMemberOutput
type InstanceIAMMemberState ¶
type InstanceIAMMemberState struct { Condition InstanceIAMMemberConditionPtrInput // (Computed) The etag of the instance's IAM policy. Etag pulumi.StringPtrInput // The name of the instance. Instance pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. Member 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 role that should be applied. Only one // `spanner.InstanceIAMBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (InstanceIAMMemberState) ElementType ¶
func (InstanceIAMMemberState) ElementType() reflect.Type
type InstanceIAMPolicy ¶
type InstanceIAMPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the instance's IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The name of the instance. Instance pulumi.StringOutput `pulumi:"instance"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // 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"` }
Three different resources help you manage your IAM policy for a Spanner instance. Each of these resources serves a different use case:
* `spanner.InstanceIAMPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached.
> **Warning:** It's entirely possibly to lock yourself out of your instance using `spanner.InstanceIAMPolicy`. Any permissions granted by default will be removed unless you include them in your config.
* `spanner.InstanceIAMBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `spanner.InstanceIAMMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
> **Note:** `spanner.InstanceIAMPolicy` **cannot** be used in conjunction with `spanner.InstanceIAMBinding` and `spanner.InstanceIAMMember` or they will fight over what your policy should be.
> **Note:** `spanner.InstanceIAMBinding` resources **can be** used in conjunction with `spanner.InstanceIAMMember` resources **only if** they do not grant privilege to the same role.
## spanner.InstanceIAMPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/editor", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = spanner.NewInstanceIAMPolicy(ctx, "instance", &spanner.InstanceIAMPolicyArgs{ Instance: pulumi.String("your-instance-name"), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMBinding(ctx, "instance", &spanner.InstanceIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMMember(ctx, "instance", &spanner.InstanceIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMBinding(ctx, "instance", &spanner.InstanceIAMBindingArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## spanner.InstanceIAMMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.NewInstanceIAMMember(ctx, "instance", &spanner.InstanceIAMMemberArgs{ Instance: pulumi.String("your-instance-name"), Role: pulumi.String("roles/spanner.databaseAdmin"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
### Importing IAM policies
IAM policy imports use the identifier of the Spanner Instances resource . For example:
* `{{project}}/{{instance}}`
An `import` block (Terraform v1.5.0 and later) can be used to import IAM policies:
tf
import {
id = {{project}}/{{instance}} to = google_spanner_instance_iam_policy.default
}
The `pulumi import` command can also be used:
```sh $ pulumi import gcp:spanner/instanceIAMPolicy:InstanceIAMPolicy default {{project}}/{{instance}} ```
func GetInstanceIAMPolicy ¶
func GetInstanceIAMPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIAMPolicyState, opts ...pulumi.ResourceOption) (*InstanceIAMPolicy, error)
GetInstanceIAMPolicy gets an existing InstanceIAMPolicy 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 NewInstanceIAMPolicy ¶
func NewInstanceIAMPolicy(ctx *pulumi.Context, name string, args *InstanceIAMPolicyArgs, opts ...pulumi.ResourceOption) (*InstanceIAMPolicy, error)
NewInstanceIAMPolicy registers a new resource with the given unique name, arguments, and options.
func (*InstanceIAMPolicy) ElementType ¶
func (*InstanceIAMPolicy) ElementType() reflect.Type
func (*InstanceIAMPolicy) ToInstanceIAMPolicyOutput ¶
func (i *InstanceIAMPolicy) ToInstanceIAMPolicyOutput() InstanceIAMPolicyOutput
func (*InstanceIAMPolicy) ToInstanceIAMPolicyOutputWithContext ¶
func (i *InstanceIAMPolicy) ToInstanceIAMPolicyOutputWithContext(ctx context.Context) InstanceIAMPolicyOutput
type InstanceIAMPolicyArgs ¶
type InstanceIAMPolicyArgs struct { // The name of the instance. Instance pulumi.StringInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData 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 InstanceIAMPolicy resource.
func (InstanceIAMPolicyArgs) ElementType ¶
func (InstanceIAMPolicyArgs) ElementType() reflect.Type
type InstanceIAMPolicyArray ¶
type InstanceIAMPolicyArray []InstanceIAMPolicyInput
func (InstanceIAMPolicyArray) ElementType ¶
func (InstanceIAMPolicyArray) ElementType() reflect.Type
func (InstanceIAMPolicyArray) ToInstanceIAMPolicyArrayOutput ¶
func (i InstanceIAMPolicyArray) ToInstanceIAMPolicyArrayOutput() InstanceIAMPolicyArrayOutput
func (InstanceIAMPolicyArray) ToInstanceIAMPolicyArrayOutputWithContext ¶
func (i InstanceIAMPolicyArray) ToInstanceIAMPolicyArrayOutputWithContext(ctx context.Context) InstanceIAMPolicyArrayOutput
type InstanceIAMPolicyArrayInput ¶
type InstanceIAMPolicyArrayInput interface { pulumi.Input ToInstanceIAMPolicyArrayOutput() InstanceIAMPolicyArrayOutput ToInstanceIAMPolicyArrayOutputWithContext(context.Context) InstanceIAMPolicyArrayOutput }
InstanceIAMPolicyArrayInput is an input type that accepts InstanceIAMPolicyArray and InstanceIAMPolicyArrayOutput values. You can construct a concrete instance of `InstanceIAMPolicyArrayInput` via:
InstanceIAMPolicyArray{ InstanceIAMPolicyArgs{...} }
type InstanceIAMPolicyArrayOutput ¶
type InstanceIAMPolicyArrayOutput struct{ *pulumi.OutputState }
func (InstanceIAMPolicyArrayOutput) ElementType ¶
func (InstanceIAMPolicyArrayOutput) ElementType() reflect.Type
func (InstanceIAMPolicyArrayOutput) Index ¶
func (o InstanceIAMPolicyArrayOutput) Index(i pulumi.IntInput) InstanceIAMPolicyOutput
func (InstanceIAMPolicyArrayOutput) ToInstanceIAMPolicyArrayOutput ¶
func (o InstanceIAMPolicyArrayOutput) ToInstanceIAMPolicyArrayOutput() InstanceIAMPolicyArrayOutput
func (InstanceIAMPolicyArrayOutput) ToInstanceIAMPolicyArrayOutputWithContext ¶
func (o InstanceIAMPolicyArrayOutput) ToInstanceIAMPolicyArrayOutputWithContext(ctx context.Context) InstanceIAMPolicyArrayOutput
type InstanceIAMPolicyInput ¶
type InstanceIAMPolicyInput interface { pulumi.Input ToInstanceIAMPolicyOutput() InstanceIAMPolicyOutput ToInstanceIAMPolicyOutputWithContext(ctx context.Context) InstanceIAMPolicyOutput }
type InstanceIAMPolicyMap ¶
type InstanceIAMPolicyMap map[string]InstanceIAMPolicyInput
func (InstanceIAMPolicyMap) ElementType ¶
func (InstanceIAMPolicyMap) ElementType() reflect.Type
func (InstanceIAMPolicyMap) ToInstanceIAMPolicyMapOutput ¶
func (i InstanceIAMPolicyMap) ToInstanceIAMPolicyMapOutput() InstanceIAMPolicyMapOutput
func (InstanceIAMPolicyMap) ToInstanceIAMPolicyMapOutputWithContext ¶
func (i InstanceIAMPolicyMap) ToInstanceIAMPolicyMapOutputWithContext(ctx context.Context) InstanceIAMPolicyMapOutput
type InstanceIAMPolicyMapInput ¶
type InstanceIAMPolicyMapInput interface { pulumi.Input ToInstanceIAMPolicyMapOutput() InstanceIAMPolicyMapOutput ToInstanceIAMPolicyMapOutputWithContext(context.Context) InstanceIAMPolicyMapOutput }
InstanceIAMPolicyMapInput is an input type that accepts InstanceIAMPolicyMap and InstanceIAMPolicyMapOutput values. You can construct a concrete instance of `InstanceIAMPolicyMapInput` via:
InstanceIAMPolicyMap{ "key": InstanceIAMPolicyArgs{...} }
type InstanceIAMPolicyMapOutput ¶
type InstanceIAMPolicyMapOutput struct{ *pulumi.OutputState }
func (InstanceIAMPolicyMapOutput) ElementType ¶
func (InstanceIAMPolicyMapOutput) ElementType() reflect.Type
func (InstanceIAMPolicyMapOutput) MapIndex ¶
func (o InstanceIAMPolicyMapOutput) MapIndex(k pulumi.StringInput) InstanceIAMPolicyOutput
func (InstanceIAMPolicyMapOutput) ToInstanceIAMPolicyMapOutput ¶
func (o InstanceIAMPolicyMapOutput) ToInstanceIAMPolicyMapOutput() InstanceIAMPolicyMapOutput
func (InstanceIAMPolicyMapOutput) ToInstanceIAMPolicyMapOutputWithContext ¶
func (o InstanceIAMPolicyMapOutput) ToInstanceIAMPolicyMapOutputWithContext(ctx context.Context) InstanceIAMPolicyMapOutput
type InstanceIAMPolicyOutput ¶
type InstanceIAMPolicyOutput struct{ *pulumi.OutputState }
func (InstanceIAMPolicyOutput) ElementType ¶
func (InstanceIAMPolicyOutput) ElementType() reflect.Type
func (InstanceIAMPolicyOutput) Etag ¶
func (o InstanceIAMPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the instance's IAM policy.
func (InstanceIAMPolicyOutput) Instance ¶
func (o InstanceIAMPolicyOutput) Instance() pulumi.StringOutput
The name of the instance.
func (InstanceIAMPolicyOutput) PolicyData ¶
func (o InstanceIAMPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (InstanceIAMPolicyOutput) Project ¶
func (o InstanceIAMPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InstanceIAMPolicyOutput) ToInstanceIAMPolicyOutput ¶
func (o InstanceIAMPolicyOutput) ToInstanceIAMPolicyOutput() InstanceIAMPolicyOutput
func (InstanceIAMPolicyOutput) ToInstanceIAMPolicyOutputWithContext ¶
func (o InstanceIAMPolicyOutput) ToInstanceIAMPolicyOutputWithContext(ctx context.Context) InstanceIAMPolicyOutput
type InstanceIAMPolicyState ¶
type InstanceIAMPolicyState struct { // (Computed) The etag of the instance's IAM policy. Etag pulumi.StringPtrInput // The name of the instance. Instance pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData 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 }
func (InstanceIAMPolicyState) ElementType ¶
func (InstanceIAMPolicyState) ElementType() reflect.Type
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AutoscalingConfig ¶
func (o InstanceOutput) AutoscalingConfig() InstanceAutoscalingConfigPtrOutput
The autoscaling configuration. Autoscaling is enabled if this field is set. When autoscaling is enabled, numNodes and processingUnits are treated as, OUTPUT_ONLY fields and reflect the current compute capacity allocated to the instance. Structure is documented below.
func (InstanceOutput) Config ¶
func (o InstanceOutput) Config() pulumi.StringOutput
The name of the instance's configuration (similar but not quite the same as a region) which defines the geographic placement and replication of your databases in this instance. It determines where your data is stored. Values are typically of the form `regional-europe-west1` , `us-central` etc. In order to obtain a valid list please consult the [Configuration section of the docs](https://cloud.google.com/spanner/docs/instances).
func (InstanceOutput) DefaultBackupScheduleType ¶ added in v8.9.1
func (o InstanceOutput) DefaultBackupScheduleType() pulumi.StringOutput
Controls the default backup behavior for new databases within the instance. Note that `AUTOMATIC` is not permitted for free instances, as backups and backup schedules are not allowed for free instances. if unset or NONE, no default backup schedule will be created for new databases within the instance. Possible values are: `NONE`, `AUTOMATIC`.
func (InstanceOutput) DisplayName ¶
func (o InstanceOutput) DisplayName() pulumi.StringOutput
The descriptive name for this instance as it appears in UIs. Must be unique per project and between 4 and 30 characters in length.
***
func (InstanceOutput) Edition ¶ added in v8.3.0
func (o InstanceOutput) Edition() pulumi.StringOutput
The edition selected for this instance. Different editions provide different capabilities at different price points. Possible values are: `EDITION_UNSPECIFIED`, `STANDARD`, `ENTERPRISE`, `ENTERPRISE_PLUS`.
func (InstanceOutput) EffectiveLabels ¶
func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ForceDestroy ¶
func (o InstanceOutput) ForceDestroy() pulumi.BoolPtrOutput
When deleting a spanner instance, this boolean option will delete all backups of this instance. This must be set to true if you created a backup manually in the console.
func (InstanceOutput) Labels ¶
func (o InstanceOutput) Labels() pulumi.StringMapOutput
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
A unique identifier for the instance, which cannot be changed after the instance is created. The name must be between 6 and 30 characters in length. If not provided, a random string starting with `tf-` will be selected.
func (InstanceOutput) NumNodes ¶
func (o InstanceOutput) NumNodes() pulumi.IntOutput
func (InstanceOutput) ProcessingUnits ¶
func (o InstanceOutput) ProcessingUnits() pulumi.IntOutput
func (InstanceOutput) Project ¶
func (o InstanceOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InstanceOutput) PulumiLabels ¶
func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (InstanceOutput) State ¶
func (o InstanceOutput) State() pulumi.StringOutput
Instance status: `CREATING` or `READY`.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceState ¶
type InstanceState struct { // The autoscaling configuration. Autoscaling is enabled if this field is set. // When autoscaling is enabled, numNodes and processingUnits are treated as, // OUTPUT_ONLY fields and reflect the current compute capacity allocated to // the instance. // Structure is documented below. AutoscalingConfig InstanceAutoscalingConfigPtrInput // The name of the instance's configuration (similar but not // quite the same as a region) which defines the geographic placement and // replication of your databases in this instance. It determines where your data // is stored. Values are typically of the form `regional-europe-west1` , `us-central` etc. // In order to obtain a valid list please consult the // [Configuration section of the docs](https://cloud.google.com/spanner/docs/instances). Config pulumi.StringPtrInput // Controls the default backup behavior for new databases within the instance. // Note that `AUTOMATIC` is not permitted for free instances, as backups and backup schedules are not allowed for free instances. // if unset or NONE, no default backup schedule will be created for new databases within the instance. // Possible values are: `NONE`, `AUTOMATIC`. DefaultBackupScheduleType pulumi.StringPtrInput // The descriptive name for this instance as it appears in UIs. Must be // unique per project and between 4 and 30 characters in length. // // *** DisplayName pulumi.StringPtrInput // The edition selected for this instance. Different editions provide different capabilities at different price points. // Possible values are: `EDITION_UNSPECIFIED`, `STANDARD`, `ENTERPRISE`, `ENTERPRISE_PLUS`. Edition pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // When deleting a spanner instance, this boolean option will delete all backups of this instance. // This must be set to true if you created a backup manually in the console. ForceDestroy pulumi.BoolPtrInput // An object containing a list of "key": value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // A unique identifier for the instance, which cannot be changed after // the instance is created. The name must be between 6 and 30 characters // in length. // If not provided, a random string starting with `tf-` will be selected. Name pulumi.StringPtrInput NumNodes pulumi.IntPtrInput ProcessingUnits pulumi.IntPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Instance status: `CREATING` or `READY`. State pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type LookupDatabaseArgs ¶ added in v8.9.1
type LookupDatabaseArgs struct { // The name of the database's spanner instance. // // *** Instance string `pulumi:"instance"` // The name of the spanner database. Name string `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getDatabase.
type LookupDatabaseOutputArgs ¶ added in v8.9.1
type LookupDatabaseOutputArgs struct { // The name of the database's spanner instance. // // *** Instance pulumi.StringInput `pulumi:"instance"` // The name of the spanner database. Name pulumi.StringInput `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getDatabase.
func (LookupDatabaseOutputArgs) ElementType ¶ added in v8.9.1
func (LookupDatabaseOutputArgs) ElementType() reflect.Type
type LookupDatabaseResult ¶ added in v8.9.1
type LookupDatabaseResult struct { DatabaseDialect string `pulumi:"databaseDialect"` Ddls []string `pulumi:"ddls"` DeletionProtection bool `pulumi:"deletionProtection"` EnableDropProtection bool `pulumi:"enableDropProtection"` EncryptionConfigs []GetDatabaseEncryptionConfig `pulumi:"encryptionConfigs"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Instance string `pulumi:"instance"` Name string `pulumi:"name"` Project *string `pulumi:"project"` State string `pulumi:"state"` VersionRetentionPeriod string `pulumi:"versionRetentionPeriod"` }
A collection of values returned by getDatabase.
func LookupDatabase ¶ added in v8.9.1
func LookupDatabase(ctx *pulumi.Context, args *LookupDatabaseArgs, opts ...pulumi.InvokeOption) (*LookupDatabaseResult, error)
Get a spanner database from Google Cloud by its name and instance name.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.LookupDatabase(ctx, &spanner.LookupDatabaseArgs{ Name: "foo", Instance: instance.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupDatabaseResultOutput ¶ added in v8.9.1
type LookupDatabaseResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabase.
func LookupDatabaseOutput ¶ added in v8.9.1
func LookupDatabaseOutput(ctx *pulumi.Context, args LookupDatabaseOutputArgs, opts ...pulumi.InvokeOption) LookupDatabaseResultOutput
func (LookupDatabaseResultOutput) DatabaseDialect ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) DatabaseDialect() pulumi.StringOutput
func (LookupDatabaseResultOutput) Ddls ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) Ddls() pulumi.StringArrayOutput
func (LookupDatabaseResultOutput) DeletionProtection ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) DeletionProtection() pulumi.BoolOutput
func (LookupDatabaseResultOutput) ElementType ¶ added in v8.9.1
func (LookupDatabaseResultOutput) ElementType() reflect.Type
func (LookupDatabaseResultOutput) EnableDropProtection ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) EnableDropProtection() pulumi.BoolOutput
func (LookupDatabaseResultOutput) EncryptionConfigs ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) EncryptionConfigs() GetDatabaseEncryptionConfigArrayOutput
func (LookupDatabaseResultOutput) Id ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupDatabaseResultOutput) Instance ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) Instance() pulumi.StringOutput
func (LookupDatabaseResultOutput) Name ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) Name() pulumi.StringOutput
func (LookupDatabaseResultOutput) Project ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) Project() pulumi.StringPtrOutput
func (LookupDatabaseResultOutput) State ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) State() pulumi.StringOutput
func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutput ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutput() LookupDatabaseResultOutput
func (LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) ToLookupDatabaseResultOutputWithContext(ctx context.Context) LookupDatabaseResultOutput
func (LookupDatabaseResultOutput) VersionRetentionPeriod ¶ added in v8.9.1
func (o LookupDatabaseResultOutput) VersionRetentionPeriod() pulumi.StringOutput
type LookupInstanceArgs ¶
type LookupInstanceArgs struct { Config *string `pulumi:"config"` DisplayName *string `pulumi:"displayName"` // The name of the spanner instance. // // *** Name string `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getInstance.
type LookupInstanceOutputArgs ¶
type LookupInstanceOutputArgs struct { Config pulumi.StringPtrInput `pulumi:"config"` DisplayName pulumi.StringPtrInput `pulumi:"displayName"` // The name of the spanner instance. // // *** Name pulumi.StringInput `pulumi:"name"` // The project in which the resource belongs. If it // is not provided, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getInstance.
func (LookupInstanceOutputArgs) ElementType ¶
func (LookupInstanceOutputArgs) ElementType() reflect.Type
type LookupInstanceResult ¶
type LookupInstanceResult struct { AutoscalingConfigs []GetInstanceAutoscalingConfig `pulumi:"autoscalingConfigs"` Config *string `pulumi:"config"` DefaultBackupScheduleType string `pulumi:"defaultBackupScheduleType"` DisplayName *string `pulumi:"displayName"` Edition string `pulumi:"edition"` EffectiveLabels map[string]string `pulumi:"effectiveLabels"` ForceDestroy bool `pulumi:"forceDestroy"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Labels map[string]string `pulumi:"labels"` Name string `pulumi:"name"` NumNodes int `pulumi:"numNodes"` ProcessingUnits int `pulumi:"processingUnits"` Project *string `pulumi:"project"` PulumiLabels map[string]string `pulumi:"pulumiLabels"` State string `pulumi:"state"` }
A collection of values returned by getInstance.
func LookupInstance ¶
func LookupInstance(ctx *pulumi.Context, args *LookupInstanceArgs, opts ...pulumi.InvokeOption) (*LookupInstanceResult, error)
Get a spanner instance from Google Cloud by its name.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/spanner" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := spanner.LookupInstance(ctx, &spanner.LookupInstanceArgs{ Name: "bar", }, nil) if err != nil { return err } return nil }) }
```
type LookupInstanceResultOutput ¶
type LookupInstanceResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstance.
func LookupInstanceOutput ¶
func LookupInstanceOutput(ctx *pulumi.Context, args LookupInstanceOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceResultOutput
func (LookupInstanceResultOutput) AutoscalingConfigs ¶
func (o LookupInstanceResultOutput) AutoscalingConfigs() GetInstanceAutoscalingConfigArrayOutput
func (LookupInstanceResultOutput) Config ¶
func (o LookupInstanceResultOutput) Config() pulumi.StringPtrOutput
func (LookupInstanceResultOutput) DefaultBackupScheduleType ¶ added in v8.9.1
func (o LookupInstanceResultOutput) DefaultBackupScheduleType() pulumi.StringOutput
func (LookupInstanceResultOutput) DisplayName ¶
func (o LookupInstanceResultOutput) DisplayName() pulumi.StringPtrOutput
func (LookupInstanceResultOutput) Edition ¶ added in v8.3.0
func (o LookupInstanceResultOutput) Edition() pulumi.StringOutput
func (LookupInstanceResultOutput) EffectiveLabels ¶
func (o LookupInstanceResultOutput) EffectiveLabels() pulumi.StringMapOutput
func (LookupInstanceResultOutput) ElementType ¶
func (LookupInstanceResultOutput) ElementType() reflect.Type
func (LookupInstanceResultOutput) ForceDestroy ¶
func (o LookupInstanceResultOutput) ForceDestroy() pulumi.BoolOutput
func (LookupInstanceResultOutput) Id ¶
func (o LookupInstanceResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInstanceResultOutput) Labels ¶
func (o LookupInstanceResultOutput) Labels() pulumi.StringMapOutput
func (LookupInstanceResultOutput) Name ¶
func (o LookupInstanceResultOutput) Name() pulumi.StringOutput
func (LookupInstanceResultOutput) NumNodes ¶
func (o LookupInstanceResultOutput) NumNodes() pulumi.IntOutput
func (LookupInstanceResultOutput) ProcessingUnits ¶
func (o LookupInstanceResultOutput) ProcessingUnits() pulumi.IntOutput
func (LookupInstanceResultOutput) Project ¶
func (o LookupInstanceResultOutput) Project() pulumi.StringPtrOutput
func (LookupInstanceResultOutput) PulumiLabels ¶
func (o LookupInstanceResultOutput) PulumiLabels() pulumi.StringMapOutput
func (LookupInstanceResultOutput) State ¶
func (o LookupInstanceResultOutput) State() pulumi.StringOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutput ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutput() LookupInstanceResultOutput
func (LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext ¶
func (o LookupInstanceResultOutput) ToLookupInstanceResultOutputWithContext(ctx context.Context) LookupInstanceResultOutput