Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type DatabaseRole
- type DatabaseRoleArgs
- type DatabaseRoleArray
- type DatabaseRoleArrayInput
- type DatabaseRoleArrayOutput
- func (DatabaseRoleArrayOutput) ElementType() reflect.Type
- func (o DatabaseRoleArrayOutput) Index(i pulumi.IntInput) DatabaseRoleOutput
- func (o DatabaseRoleArrayOutput) ToDatabaseRoleArrayOutput() DatabaseRoleArrayOutput
- func (o DatabaseRoleArrayOutput) ToDatabaseRoleArrayOutputWithContext(ctx context.Context) DatabaseRoleArrayOutput
- type DatabaseRoleInheritedPrivilege
- type DatabaseRoleInheritedPrivilegeArgs
- func (DatabaseRoleInheritedPrivilegeArgs) ElementType() reflect.Type
- func (i DatabaseRoleInheritedPrivilegeArgs) ToDatabaseRoleInheritedPrivilegeOutput() DatabaseRoleInheritedPrivilegeOutput
- func (i DatabaseRoleInheritedPrivilegeArgs) ToDatabaseRoleInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeOutput
- type DatabaseRoleInheritedPrivilegeArray
- func (DatabaseRoleInheritedPrivilegeArray) ElementType() reflect.Type
- func (i DatabaseRoleInheritedPrivilegeArray) ToDatabaseRoleInheritedPrivilegeArrayOutput() DatabaseRoleInheritedPrivilegeArrayOutput
- func (i DatabaseRoleInheritedPrivilegeArray) ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeArrayOutput
- type DatabaseRoleInheritedPrivilegeArrayInput
- type DatabaseRoleInheritedPrivilegeArrayOutput
- func (DatabaseRoleInheritedPrivilegeArrayOutput) ElementType() reflect.Type
- func (o DatabaseRoleInheritedPrivilegeArrayOutput) Index(i pulumi.IntInput) DatabaseRoleInheritedPrivilegeOutput
- func (o DatabaseRoleInheritedPrivilegeArrayOutput) ToDatabaseRoleInheritedPrivilegeArrayOutput() DatabaseRoleInheritedPrivilegeArrayOutput
- func (o DatabaseRoleInheritedPrivilegeArrayOutput) ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeArrayOutput
- type DatabaseRoleInheritedPrivilegeInput
- type DatabaseRoleInheritedPrivilegeOutput
- func (o DatabaseRoleInheritedPrivilegeOutput) Actions() pulumi.StringArrayOutput
- func (DatabaseRoleInheritedPrivilegeOutput) ElementType() reflect.Type
- func (o DatabaseRoleInheritedPrivilegeOutput) Resources() DatabaseRoleInheritedPrivilegeResourceArrayOutput
- func (o DatabaseRoleInheritedPrivilegeOutput) ToDatabaseRoleInheritedPrivilegeOutput() DatabaseRoleInheritedPrivilegeOutput
- func (o DatabaseRoleInheritedPrivilegeOutput) ToDatabaseRoleInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeOutput
- type DatabaseRoleInheritedPrivilegeResource
- type DatabaseRoleInheritedPrivilegeResourceArgs
- func (DatabaseRoleInheritedPrivilegeResourceArgs) ElementType() reflect.Type
- func (i DatabaseRoleInheritedPrivilegeResourceArgs) ToDatabaseRoleInheritedPrivilegeResourceOutput() DatabaseRoleInheritedPrivilegeResourceOutput
- func (i DatabaseRoleInheritedPrivilegeResourceArgs) ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceOutput
- type DatabaseRoleInheritedPrivilegeResourceArray
- func (DatabaseRoleInheritedPrivilegeResourceArray) ElementType() reflect.Type
- func (i DatabaseRoleInheritedPrivilegeResourceArray) ToDatabaseRoleInheritedPrivilegeResourceArrayOutput() DatabaseRoleInheritedPrivilegeResourceArrayOutput
- func (i DatabaseRoleInheritedPrivilegeResourceArray) ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceArrayOutput
- type DatabaseRoleInheritedPrivilegeResourceArrayInput
- type DatabaseRoleInheritedPrivilegeResourceArrayOutput
- func (DatabaseRoleInheritedPrivilegeResourceArrayOutput) ElementType() reflect.Type
- func (o DatabaseRoleInheritedPrivilegeResourceArrayOutput) Index(i pulumi.IntInput) DatabaseRoleInheritedPrivilegeResourceOutput
- func (o DatabaseRoleInheritedPrivilegeResourceArrayOutput) ToDatabaseRoleInheritedPrivilegeResourceArrayOutput() DatabaseRoleInheritedPrivilegeResourceArrayOutput
- func (o DatabaseRoleInheritedPrivilegeResourceArrayOutput) ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceArrayOutput
- type DatabaseRoleInheritedPrivilegeResourceInput
- type DatabaseRoleInheritedPrivilegeResourceOutput
- func (o DatabaseRoleInheritedPrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
- func (o DatabaseRoleInheritedPrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
- func (DatabaseRoleInheritedPrivilegeResourceOutput) ElementType() reflect.Type
- func (o DatabaseRoleInheritedPrivilegeResourceOutput) ToDatabaseRoleInheritedPrivilegeResourceOutput() DatabaseRoleInheritedPrivilegeResourceOutput
- func (o DatabaseRoleInheritedPrivilegeResourceOutput) ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceOutput
- type DatabaseRoleInput
- type DatabaseRoleMap
- type DatabaseRoleMapInput
- type DatabaseRoleMapOutput
- func (DatabaseRoleMapOutput) ElementType() reflect.Type
- func (o DatabaseRoleMapOutput) MapIndex(k pulumi.StringInput) DatabaseRoleOutput
- func (o DatabaseRoleMapOutput) ToDatabaseRoleMapOutput() DatabaseRoleMapOutput
- func (o DatabaseRoleMapOutput) ToDatabaseRoleMapOutputWithContext(ctx context.Context) DatabaseRoleMapOutput
- type DatabaseRoleOutput
- func (o DatabaseRoleOutput) DbName() pulumi.StringOutput
- func (DatabaseRoleOutput) ElementType() reflect.Type
- func (o DatabaseRoleOutput) InheritedPrivileges() DatabaseRoleInheritedPrivilegeArrayOutput
- func (o DatabaseRoleOutput) InstanceId() pulumi.StringOutput
- func (o DatabaseRoleOutput) Name() pulumi.StringOutput
- func (o DatabaseRoleOutput) Privileges() DatabaseRolePrivilegeArrayOutput
- func (o DatabaseRoleOutput) Region() pulumi.StringOutput
- func (o DatabaseRoleOutput) Roles() DatabaseRoleRoleArrayOutput
- func (o DatabaseRoleOutput) ToDatabaseRoleOutput() DatabaseRoleOutput
- func (o DatabaseRoleOutput) ToDatabaseRoleOutputWithContext(ctx context.Context) DatabaseRoleOutput
- type DatabaseRolePrivilege
- type DatabaseRolePrivilegeArgs
- type DatabaseRolePrivilegeArray
- func (DatabaseRolePrivilegeArray) ElementType() reflect.Type
- func (i DatabaseRolePrivilegeArray) ToDatabaseRolePrivilegeArrayOutput() DatabaseRolePrivilegeArrayOutput
- func (i DatabaseRolePrivilegeArray) ToDatabaseRolePrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeArrayOutput
- type DatabaseRolePrivilegeArrayInput
- type DatabaseRolePrivilegeArrayOutput
- func (DatabaseRolePrivilegeArrayOutput) ElementType() reflect.Type
- func (o DatabaseRolePrivilegeArrayOutput) Index(i pulumi.IntInput) DatabaseRolePrivilegeOutput
- func (o DatabaseRolePrivilegeArrayOutput) ToDatabaseRolePrivilegeArrayOutput() DatabaseRolePrivilegeArrayOutput
- func (o DatabaseRolePrivilegeArrayOutput) ToDatabaseRolePrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeArrayOutput
- type DatabaseRolePrivilegeInput
- type DatabaseRolePrivilegeOutput
- func (o DatabaseRolePrivilegeOutput) Actions() pulumi.StringArrayOutput
- func (DatabaseRolePrivilegeOutput) ElementType() reflect.Type
- func (o DatabaseRolePrivilegeOutput) Resources() DatabaseRolePrivilegeResourceArrayOutput
- func (o DatabaseRolePrivilegeOutput) ToDatabaseRolePrivilegeOutput() DatabaseRolePrivilegeOutput
- func (o DatabaseRolePrivilegeOutput) ToDatabaseRolePrivilegeOutputWithContext(ctx context.Context) DatabaseRolePrivilegeOutput
- type DatabaseRolePrivilegeResource
- type DatabaseRolePrivilegeResourceArgs
- func (DatabaseRolePrivilegeResourceArgs) ElementType() reflect.Type
- func (i DatabaseRolePrivilegeResourceArgs) ToDatabaseRolePrivilegeResourceOutput() DatabaseRolePrivilegeResourceOutput
- func (i DatabaseRolePrivilegeResourceArgs) ToDatabaseRolePrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceOutput
- type DatabaseRolePrivilegeResourceArray
- func (DatabaseRolePrivilegeResourceArray) ElementType() reflect.Type
- func (i DatabaseRolePrivilegeResourceArray) ToDatabaseRolePrivilegeResourceArrayOutput() DatabaseRolePrivilegeResourceArrayOutput
- func (i DatabaseRolePrivilegeResourceArray) ToDatabaseRolePrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceArrayOutput
- type DatabaseRolePrivilegeResourceArrayInput
- type DatabaseRolePrivilegeResourceArrayOutput
- func (DatabaseRolePrivilegeResourceArrayOutput) ElementType() reflect.Type
- func (o DatabaseRolePrivilegeResourceArrayOutput) Index(i pulumi.IntInput) DatabaseRolePrivilegeResourceOutput
- func (o DatabaseRolePrivilegeResourceArrayOutput) ToDatabaseRolePrivilegeResourceArrayOutput() DatabaseRolePrivilegeResourceArrayOutput
- func (o DatabaseRolePrivilegeResourceArrayOutput) ToDatabaseRolePrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceArrayOutput
- type DatabaseRolePrivilegeResourceInput
- type DatabaseRolePrivilegeResourceOutput
- func (o DatabaseRolePrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
- func (o DatabaseRolePrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
- func (DatabaseRolePrivilegeResourceOutput) ElementType() reflect.Type
- func (o DatabaseRolePrivilegeResourceOutput) ToDatabaseRolePrivilegeResourceOutput() DatabaseRolePrivilegeResourceOutput
- func (o DatabaseRolePrivilegeResourceOutput) ToDatabaseRolePrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceOutput
- type DatabaseRoleRole
- type DatabaseRoleRoleArgs
- type DatabaseRoleRoleArray
- type DatabaseRoleRoleArrayInput
- type DatabaseRoleRoleArrayOutput
- func (DatabaseRoleRoleArrayOutput) ElementType() reflect.Type
- func (o DatabaseRoleRoleArrayOutput) Index(i pulumi.IntInput) DatabaseRoleRoleOutput
- func (o DatabaseRoleRoleArrayOutput) ToDatabaseRoleRoleArrayOutput() DatabaseRoleRoleArrayOutput
- func (o DatabaseRoleRoleArrayOutput) ToDatabaseRoleRoleArrayOutputWithContext(ctx context.Context) DatabaseRoleRoleArrayOutput
- type DatabaseRoleRoleInput
- type DatabaseRoleRoleOutput
- func (o DatabaseRoleRoleOutput) DbName() pulumi.StringOutput
- func (DatabaseRoleRoleOutput) ElementType() reflect.Type
- func (o DatabaseRoleRoleOutput) Name() pulumi.StringOutput
- func (o DatabaseRoleRoleOutput) ToDatabaseRoleRoleOutput() DatabaseRoleRoleOutput
- func (o DatabaseRoleRoleOutput) ToDatabaseRoleRoleOutputWithContext(ctx context.Context) DatabaseRoleRoleOutput
- type DatabaseRoleState
- type DatabaseUser
- type DatabaseUserArgs
- type DatabaseUserArray
- type DatabaseUserArrayInput
- type DatabaseUserArrayOutput
- func (DatabaseUserArrayOutput) ElementType() reflect.Type
- func (o DatabaseUserArrayOutput) Index(i pulumi.IntInput) DatabaseUserOutput
- func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput
- func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput
- type DatabaseUserInheritedPrivilege
- type DatabaseUserInheritedPrivilegeArgs
- func (DatabaseUserInheritedPrivilegeArgs) ElementType() reflect.Type
- func (i DatabaseUserInheritedPrivilegeArgs) ToDatabaseUserInheritedPrivilegeOutput() DatabaseUserInheritedPrivilegeOutput
- func (i DatabaseUserInheritedPrivilegeArgs) ToDatabaseUserInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeOutput
- type DatabaseUserInheritedPrivilegeArray
- func (DatabaseUserInheritedPrivilegeArray) ElementType() reflect.Type
- func (i DatabaseUserInheritedPrivilegeArray) ToDatabaseUserInheritedPrivilegeArrayOutput() DatabaseUserInheritedPrivilegeArrayOutput
- func (i DatabaseUserInheritedPrivilegeArray) ToDatabaseUserInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeArrayOutput
- type DatabaseUserInheritedPrivilegeArrayInput
- type DatabaseUserInheritedPrivilegeArrayOutput
- func (DatabaseUserInheritedPrivilegeArrayOutput) ElementType() reflect.Type
- func (o DatabaseUserInheritedPrivilegeArrayOutput) Index(i pulumi.IntInput) DatabaseUserInheritedPrivilegeOutput
- func (o DatabaseUserInheritedPrivilegeArrayOutput) ToDatabaseUserInheritedPrivilegeArrayOutput() DatabaseUserInheritedPrivilegeArrayOutput
- func (o DatabaseUserInheritedPrivilegeArrayOutput) ToDatabaseUserInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeArrayOutput
- type DatabaseUserInheritedPrivilegeInput
- type DatabaseUserInheritedPrivilegeOutput
- func (o DatabaseUserInheritedPrivilegeOutput) Actions() pulumi.StringArrayOutput
- func (DatabaseUserInheritedPrivilegeOutput) ElementType() reflect.Type
- func (o DatabaseUserInheritedPrivilegeOutput) Resources() DatabaseUserInheritedPrivilegeResourceArrayOutput
- func (o DatabaseUserInheritedPrivilegeOutput) ToDatabaseUserInheritedPrivilegeOutput() DatabaseUserInheritedPrivilegeOutput
- func (o DatabaseUserInheritedPrivilegeOutput) ToDatabaseUserInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeOutput
- type DatabaseUserInheritedPrivilegeResource
- type DatabaseUserInheritedPrivilegeResourceArgs
- func (DatabaseUserInheritedPrivilegeResourceArgs) ElementType() reflect.Type
- func (i DatabaseUserInheritedPrivilegeResourceArgs) ToDatabaseUserInheritedPrivilegeResourceOutput() DatabaseUserInheritedPrivilegeResourceOutput
- func (i DatabaseUserInheritedPrivilegeResourceArgs) ToDatabaseUserInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceOutput
- type DatabaseUserInheritedPrivilegeResourceArray
- func (DatabaseUserInheritedPrivilegeResourceArray) ElementType() reflect.Type
- func (i DatabaseUserInheritedPrivilegeResourceArray) ToDatabaseUserInheritedPrivilegeResourceArrayOutput() DatabaseUserInheritedPrivilegeResourceArrayOutput
- func (i DatabaseUserInheritedPrivilegeResourceArray) ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceArrayOutput
- type DatabaseUserInheritedPrivilegeResourceArrayInput
- type DatabaseUserInheritedPrivilegeResourceArrayOutput
- func (DatabaseUserInheritedPrivilegeResourceArrayOutput) ElementType() reflect.Type
- func (o DatabaseUserInheritedPrivilegeResourceArrayOutput) Index(i pulumi.IntInput) DatabaseUserInheritedPrivilegeResourceOutput
- func (o DatabaseUserInheritedPrivilegeResourceArrayOutput) ToDatabaseUserInheritedPrivilegeResourceArrayOutput() DatabaseUserInheritedPrivilegeResourceArrayOutput
- func (o DatabaseUserInheritedPrivilegeResourceArrayOutput) ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceArrayOutput
- type DatabaseUserInheritedPrivilegeResourceInput
- type DatabaseUserInheritedPrivilegeResourceOutput
- func (o DatabaseUserInheritedPrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
- func (o DatabaseUserInheritedPrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
- func (DatabaseUserInheritedPrivilegeResourceOutput) ElementType() reflect.Type
- func (o DatabaseUserInheritedPrivilegeResourceOutput) ToDatabaseUserInheritedPrivilegeResourceOutput() DatabaseUserInheritedPrivilegeResourceOutput
- func (o DatabaseUserInheritedPrivilegeResourceOutput) ToDatabaseUserInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceOutput
- type DatabaseUserInput
- type DatabaseUserMap
- type DatabaseUserMapInput
- type DatabaseUserMapOutput
- func (DatabaseUserMapOutput) ElementType() reflect.Type
- func (o DatabaseUserMapOutput) MapIndex(k pulumi.StringInput) DatabaseUserOutput
- func (o DatabaseUserMapOutput) ToDatabaseUserMapOutput() DatabaseUserMapOutput
- func (o DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput
- type DatabaseUserOutput
- func (o DatabaseUserOutput) DbName() pulumi.StringOutput
- func (DatabaseUserOutput) ElementType() reflect.Type
- func (o DatabaseUserOutput) InheritedPrivileges() DatabaseUserInheritedPrivilegeArrayOutput
- func (o DatabaseUserOutput) InstanceId() pulumi.StringOutput
- func (o DatabaseUserOutput) Name() pulumi.StringOutput
- func (o DatabaseUserOutput) Password() pulumi.StringOutput
- func (o DatabaseUserOutput) Privileges() DatabaseUserPrivilegeArrayOutput
- func (o DatabaseUserOutput) Region() pulumi.StringOutput
- func (o DatabaseUserOutput) Roles() DatabaseUserRoleArrayOutput
- func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput
- func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput
- type DatabaseUserPrivilege
- type DatabaseUserPrivilegeArgs
- type DatabaseUserPrivilegeArray
- func (DatabaseUserPrivilegeArray) ElementType() reflect.Type
- func (i DatabaseUserPrivilegeArray) ToDatabaseUserPrivilegeArrayOutput() DatabaseUserPrivilegeArrayOutput
- func (i DatabaseUserPrivilegeArray) ToDatabaseUserPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeArrayOutput
- type DatabaseUserPrivilegeArrayInput
- type DatabaseUserPrivilegeArrayOutput
- func (DatabaseUserPrivilegeArrayOutput) ElementType() reflect.Type
- func (o DatabaseUserPrivilegeArrayOutput) Index(i pulumi.IntInput) DatabaseUserPrivilegeOutput
- func (o DatabaseUserPrivilegeArrayOutput) ToDatabaseUserPrivilegeArrayOutput() DatabaseUserPrivilegeArrayOutput
- func (o DatabaseUserPrivilegeArrayOutput) ToDatabaseUserPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeArrayOutput
- type DatabaseUserPrivilegeInput
- type DatabaseUserPrivilegeOutput
- func (o DatabaseUserPrivilegeOutput) Actions() pulumi.StringArrayOutput
- func (DatabaseUserPrivilegeOutput) ElementType() reflect.Type
- func (o DatabaseUserPrivilegeOutput) Resources() DatabaseUserPrivilegeResourceArrayOutput
- func (o DatabaseUserPrivilegeOutput) ToDatabaseUserPrivilegeOutput() DatabaseUserPrivilegeOutput
- func (o DatabaseUserPrivilegeOutput) ToDatabaseUserPrivilegeOutputWithContext(ctx context.Context) DatabaseUserPrivilegeOutput
- type DatabaseUserPrivilegeResource
- type DatabaseUserPrivilegeResourceArgs
- func (DatabaseUserPrivilegeResourceArgs) ElementType() reflect.Type
- func (i DatabaseUserPrivilegeResourceArgs) ToDatabaseUserPrivilegeResourceOutput() DatabaseUserPrivilegeResourceOutput
- func (i DatabaseUserPrivilegeResourceArgs) ToDatabaseUserPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceOutput
- type DatabaseUserPrivilegeResourceArray
- func (DatabaseUserPrivilegeResourceArray) ElementType() reflect.Type
- func (i DatabaseUserPrivilegeResourceArray) ToDatabaseUserPrivilegeResourceArrayOutput() DatabaseUserPrivilegeResourceArrayOutput
- func (i DatabaseUserPrivilegeResourceArray) ToDatabaseUserPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceArrayOutput
- type DatabaseUserPrivilegeResourceArrayInput
- type DatabaseUserPrivilegeResourceArrayOutput
- func (DatabaseUserPrivilegeResourceArrayOutput) ElementType() reflect.Type
- func (o DatabaseUserPrivilegeResourceArrayOutput) Index(i pulumi.IntInput) DatabaseUserPrivilegeResourceOutput
- func (o DatabaseUserPrivilegeResourceArrayOutput) ToDatabaseUserPrivilegeResourceArrayOutput() DatabaseUserPrivilegeResourceArrayOutput
- func (o DatabaseUserPrivilegeResourceArrayOutput) ToDatabaseUserPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceArrayOutput
- type DatabaseUserPrivilegeResourceInput
- type DatabaseUserPrivilegeResourceOutput
- func (o DatabaseUserPrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
- func (o DatabaseUserPrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
- func (DatabaseUserPrivilegeResourceOutput) ElementType() reflect.Type
- func (o DatabaseUserPrivilegeResourceOutput) ToDatabaseUserPrivilegeResourceOutput() DatabaseUserPrivilegeResourceOutput
- func (o DatabaseUserPrivilegeResourceOutput) ToDatabaseUserPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceOutput
- type DatabaseUserRole
- type DatabaseUserRoleArgs
- type DatabaseUserRoleArray
- type DatabaseUserRoleArrayInput
- type DatabaseUserRoleArrayOutput
- func (DatabaseUserRoleArrayOutput) ElementType() reflect.Type
- func (o DatabaseUserRoleArrayOutput) Index(i pulumi.IntInput) DatabaseUserRoleOutput
- func (o DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput
- func (o DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutputWithContext(ctx context.Context) DatabaseUserRoleArrayOutput
- type DatabaseUserRoleInput
- type DatabaseUserRoleOutput
- func (o DatabaseUserRoleOutput) DbName() pulumi.StringOutput
- func (DatabaseUserRoleOutput) ElementType() reflect.Type
- func (o DatabaseUserRoleOutput) Name() pulumi.StringOutput
- func (o DatabaseUserRoleOutput) ToDatabaseUserRoleOutput() DatabaseUserRoleOutput
- func (o DatabaseUserRoleOutput) ToDatabaseUserRoleOutputWithContext(ctx context.Context) DatabaseUserRoleOutput
- type DatabaseUserState
- type GetFlavorsArgs
- type GetFlavorsFlavor
- type GetFlavorsFlavorArgs
- type GetFlavorsFlavorArray
- type GetFlavorsFlavorArrayInput
- type GetFlavorsFlavorArrayOutput
- func (GetFlavorsFlavorArrayOutput) ElementType() reflect.Type
- func (o GetFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetFlavorsFlavorOutput
- func (o GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput
- func (o GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetFlavorsFlavorArrayOutput
- type GetFlavorsFlavorInput
- type GetFlavorsFlavorOutput
- func (GetFlavorsFlavorOutput) ElementType() reflect.Type
- func (o GetFlavorsFlavorOutput) Memory() pulumi.StringOutput
- func (o GetFlavorsFlavorOutput) SpecCode() pulumi.StringOutput
- func (o GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput
- func (o GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutputWithContext(ctx context.Context) GetFlavorsFlavorOutput
- func (o GetFlavorsFlavorOutput) Type() pulumi.StringOutput
- func (o GetFlavorsFlavorOutput) Vcpus() pulumi.StringOutput
- type GetFlavorsOutputArgs
- type GetFlavorsResult
- type GetFlavorsResultOutput
- func (GetFlavorsResultOutput) ElementType() reflect.Type
- func (o GetFlavorsResultOutput) EngineName() pulumi.StringOutput
- func (o GetFlavorsResultOutput) Flavors() GetFlavorsFlavorArrayOutput
- func (o GetFlavorsResultOutput) Id() pulumi.StringOutput
- func (o GetFlavorsResultOutput) Memory() pulumi.StringPtrOutput
- func (o GetFlavorsResultOutput) Region() pulumi.StringOutput
- func (o GetFlavorsResultOutput) ToGetFlavorsResultOutput() GetFlavorsResultOutput
- func (o GetFlavorsResultOutput) ToGetFlavorsResultOutputWithContext(ctx context.Context) GetFlavorsResultOutput
- func (o GetFlavorsResultOutput) Type() pulumi.StringPtrOutput
- func (o GetFlavorsResultOutput) Vcpus() pulumi.StringPtrOutput
- type Instance
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceBackupStrategy
- type InstanceBackupStrategyArgs
- func (InstanceBackupStrategyArgs) ElementType() reflect.Type
- func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyOutput() InstanceBackupStrategyOutput
- func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyOutputWithContext(ctx context.Context) InstanceBackupStrategyOutput
- func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput
- func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InstanceBackupStrategyPtrOutput
- type InstanceBackupStrategyInput
- type InstanceBackupStrategyOutput
- func (InstanceBackupStrategyOutput) ElementType() reflect.Type
- func (o InstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
- func (o InstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
- func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyOutput() InstanceBackupStrategyOutput
- func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyOutputWithContext(ctx context.Context) InstanceBackupStrategyOutput
- func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput
- func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InstanceBackupStrategyPtrOutput
- type InstanceBackupStrategyPtrInput
- type InstanceBackupStrategyPtrOutput
- func (o InstanceBackupStrategyPtrOutput) Elem() InstanceBackupStrategyOutput
- func (InstanceBackupStrategyPtrOutput) ElementType() reflect.Type
- func (o InstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
- func (o InstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
- func (o InstanceBackupStrategyPtrOutput) ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput
- func (o InstanceBackupStrategyPtrOutput) ToInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InstanceBackupStrategyPtrOutput
- type InstanceConfiguration
- type InstanceConfigurationArgs
- type InstanceConfigurationArray
- func (InstanceConfigurationArray) ElementType() reflect.Type
- func (i InstanceConfigurationArray) ToInstanceConfigurationArrayOutput() InstanceConfigurationArrayOutput
- func (i InstanceConfigurationArray) ToInstanceConfigurationArrayOutputWithContext(ctx context.Context) InstanceConfigurationArrayOutput
- type InstanceConfigurationArrayInput
- type InstanceConfigurationArrayOutput
- func (InstanceConfigurationArrayOutput) ElementType() reflect.Type
- func (o InstanceConfigurationArrayOutput) Index(i pulumi.IntInput) InstanceConfigurationOutput
- func (o InstanceConfigurationArrayOutput) ToInstanceConfigurationArrayOutput() InstanceConfigurationArrayOutput
- func (o InstanceConfigurationArrayOutput) ToInstanceConfigurationArrayOutputWithContext(ctx context.Context) InstanceConfigurationArrayOutput
- type InstanceConfigurationInput
- type InstanceConfigurationOutput
- func (InstanceConfigurationOutput) ElementType() reflect.Type
- func (o InstanceConfigurationOutput) Id() pulumi.StringOutput
- func (o InstanceConfigurationOutput) ToInstanceConfigurationOutput() InstanceConfigurationOutput
- func (o InstanceConfigurationOutput) ToInstanceConfigurationOutputWithContext(ctx context.Context) InstanceConfigurationOutput
- func (o InstanceConfigurationOutput) Type() pulumi.StringOutput
- type InstanceDatastore
- type InstanceDatastoreArgs
- func (InstanceDatastoreArgs) ElementType() reflect.Type
- func (i InstanceDatastoreArgs) ToInstanceDatastoreOutput() InstanceDatastoreOutput
- func (i InstanceDatastoreArgs) ToInstanceDatastoreOutputWithContext(ctx context.Context) InstanceDatastoreOutput
- func (i InstanceDatastoreArgs) ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput
- func (i InstanceDatastoreArgs) ToInstanceDatastorePtrOutputWithContext(ctx context.Context) InstanceDatastorePtrOutput
- type InstanceDatastoreInput
- type InstanceDatastoreOutput
- func (InstanceDatastoreOutput) ElementType() reflect.Type
- func (o InstanceDatastoreOutput) StorageEngine() pulumi.StringPtrOutput
- func (o InstanceDatastoreOutput) ToInstanceDatastoreOutput() InstanceDatastoreOutput
- func (o InstanceDatastoreOutput) ToInstanceDatastoreOutputWithContext(ctx context.Context) InstanceDatastoreOutput
- func (o InstanceDatastoreOutput) ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput
- func (o InstanceDatastoreOutput) ToInstanceDatastorePtrOutputWithContext(ctx context.Context) InstanceDatastorePtrOutput
- func (o InstanceDatastoreOutput) Type() pulumi.StringOutput
- func (o InstanceDatastoreOutput) Version() pulumi.StringOutput
- type InstanceDatastorePtrInput
- type InstanceDatastorePtrOutput
- func (o InstanceDatastorePtrOutput) Elem() InstanceDatastoreOutput
- func (InstanceDatastorePtrOutput) ElementType() reflect.Type
- func (o InstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
- func (o InstanceDatastorePtrOutput) ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput
- func (o InstanceDatastorePtrOutput) ToInstanceDatastorePtrOutputWithContext(ctx context.Context) InstanceDatastorePtrOutput
- func (o InstanceDatastorePtrOutput) Type() pulumi.StringPtrOutput
- func (o InstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
- type InstanceFlavor
- type InstanceFlavorArgs
- type InstanceFlavorArray
- type InstanceFlavorArrayInput
- type InstanceFlavorArrayOutput
- func (InstanceFlavorArrayOutput) ElementType() reflect.Type
- func (o InstanceFlavorArrayOutput) Index(i pulumi.IntInput) InstanceFlavorOutput
- func (o InstanceFlavorArrayOutput) ToInstanceFlavorArrayOutput() InstanceFlavorArrayOutput
- func (o InstanceFlavorArrayOutput) ToInstanceFlavorArrayOutputWithContext(ctx context.Context) InstanceFlavorArrayOutput
- type InstanceFlavorInput
- type InstanceFlavorOutput
- func (InstanceFlavorOutput) ElementType() reflect.Type
- func (o InstanceFlavorOutput) Num() pulumi.IntOutput
- func (o InstanceFlavorOutput) Size() pulumi.IntPtrOutput
- func (o InstanceFlavorOutput) SpecCode() pulumi.StringOutput
- func (o InstanceFlavorOutput) Storage() pulumi.StringPtrOutput
- func (o InstanceFlavorOutput) ToInstanceFlavorOutput() InstanceFlavorOutput
- func (o InstanceFlavorOutput) ToInstanceFlavorOutputWithContext(ctx context.Context) InstanceFlavorOutput
- func (o InstanceFlavorOutput) Type() pulumi.StringOutput
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceNode
- type InstanceNodeArgs
- type InstanceNodeArray
- type InstanceNodeArrayInput
- type InstanceNodeArrayOutput
- func (InstanceNodeArrayOutput) ElementType() reflect.Type
- func (o InstanceNodeArrayOutput) Index(i pulumi.IntInput) InstanceNodeOutput
- func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput
- func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutputWithContext(ctx context.Context) InstanceNodeArrayOutput
- type InstanceNodeInput
- type InstanceNodeOutput
- func (InstanceNodeOutput) ElementType() reflect.Type
- func (o InstanceNodeOutput) Id() pulumi.StringPtrOutput
- func (o InstanceNodeOutput) Name() pulumi.StringPtrOutput
- func (o InstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
- func (o InstanceNodeOutput) PublicIp() pulumi.StringPtrOutput
- func (o InstanceNodeOutput) Role() pulumi.StringPtrOutput
- func (o InstanceNodeOutput) Status() pulumi.StringPtrOutput
- func (o InstanceNodeOutput) ToInstanceNodeOutput() InstanceNodeOutput
- func (o InstanceNodeOutput) ToInstanceNodeOutputWithContext(ctx context.Context) InstanceNodeOutput
- func (o InstanceNodeOutput) Type() pulumi.StringPtrOutput
- type InstanceOutput
- func (o InstanceOutput) AutoPay() pulumi.StringPtrOutputdeprecated
- func (o InstanceOutput) AutoRenew() pulumi.StringPtrOutput
- func (o InstanceOutput) AvailabilityZone() pulumi.StringOutput
- func (o InstanceOutput) BackupStrategy() InstanceBackupStrategyOutput
- func (o InstanceOutput) ChargingMode() pulumi.StringOutput
- func (o InstanceOutput) Configurations() InstanceConfigurationArrayOutput
- func (o InstanceOutput) Datastore() InstanceDatastoreOutput
- func (o InstanceOutput) DbUsername() pulumi.StringOutput
- func (o InstanceOutput) DiskEncryptionId() pulumi.StringPtrOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) EnterpriseProjectId() pulumi.StringOutput
- func (o InstanceOutput) Flavors() InstanceFlavorArrayOutput
- func (o InstanceOutput) Mode() pulumi.StringOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) Nodes() InstanceNodeArrayOutput
- func (o InstanceOutput) Password() pulumi.StringOutput
- func (o InstanceOutput) Period() pulumi.IntPtrOutput
- func (o InstanceOutput) PeriodUnit() pulumi.StringPtrOutput
- func (o InstanceOutput) Port() pulumi.IntOutput
- func (o InstanceOutput) Region() pulumi.StringOutput
- func (o InstanceOutput) SecurityGroupId() pulumi.StringOutput
- func (o InstanceOutput) Ssl() pulumi.BoolPtrOutput
- func (o InstanceOutput) Status() pulumi.StringOutput
- func (o InstanceOutput) SubnetId() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.StringMapOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) VpcId() pulumi.StringOutput
- type InstanceState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.2
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type DatabaseRole ¶
type DatabaseRole struct { pulumi.CustomResourceState // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName pulumi.StringOutput `pulumi:"dbName"` // The list of database privileges owned by the current role, includes all privileges // inherited by owned roles. The object structure is documented below. InheritedPrivileges DatabaseRoleInheritedPrivilegeArrayOutput `pulumi:"inheritedPrivileges"` // Specifies the DDS instance ID to which the role belongs. // Changing this parameter will create a new role. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Specifies the name of role owned by the current role. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new role. Name pulumi.StringOutput `pulumi:"name"` // The list of database privileges owned by the current role. // The object structure is documented below. Privileges DatabaseRolePrivilegeArrayOutput `pulumi:"privileges"` // Specifies the region where the DDS instance is located. // Changing this parameter will create a new role. Region pulumi.StringOutput `pulumi:"region"` // Specifies the list of roles owned by the current role. // The object structure is documented below. // Changing this parameter will create a new role. Roles DatabaseRoleRoleArrayOutput `pulumi:"roles"` }
Manages a database role resource within HuaweiCloud.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") instanceId := cfg.RequireObject("instanceId") roleName := cfg.RequireObject("roleName") dbName := cfg.RequireObject("dbName") ownedRoleName := cfg.RequireObject("ownedRoleName") ownedRoleDbName := cfg.RequireObject("ownedRoleDbName") _, err := Dds.NewDatabaseRole(ctx, "test", &Dds.DatabaseRoleArgs{ InstanceId: pulumi.Any(instanceId), DbName: pulumi.Any(dbName), Roles: dds.DatabaseRoleRoleArray{ &dds.DatabaseRoleRoleArgs{ Name: pulumi.Any(ownedRoleName), DbName: pulumi.Any(ownedRoleDbName), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Database roles can be imported using their `id` (combination of `instance_id`, `db_name` and `name`), separated by a slash (/), e.g.
```sh
$ pulumi import huaweicloud:Dds/databaseRole:DatabaseRole test <instance_id>/<db_name>/<name>
```
func GetDatabaseRole ¶
func GetDatabaseRole(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseRoleState, opts ...pulumi.ResourceOption) (*DatabaseRole, error)
GetDatabaseRole gets an existing DatabaseRole 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 NewDatabaseRole ¶
func NewDatabaseRole(ctx *pulumi.Context, name string, args *DatabaseRoleArgs, opts ...pulumi.ResourceOption) (*DatabaseRole, error)
NewDatabaseRole registers a new resource with the given unique name, arguments, and options.
func (*DatabaseRole) ElementType ¶
func (*DatabaseRole) ElementType() reflect.Type
func (*DatabaseRole) ToDatabaseRoleOutput ¶
func (i *DatabaseRole) ToDatabaseRoleOutput() DatabaseRoleOutput
func (*DatabaseRole) ToDatabaseRoleOutputWithContext ¶
func (i *DatabaseRole) ToDatabaseRoleOutputWithContext(ctx context.Context) DatabaseRoleOutput
type DatabaseRoleArgs ¶
type DatabaseRoleArgs struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName pulumi.StringInput // Specifies the DDS instance ID to which the role belongs. // Changing this parameter will create a new role. InstanceId pulumi.StringInput // Specifies the name of role owned by the current role. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new role. Name pulumi.StringPtrInput // Specifies the region where the DDS instance is located. // Changing this parameter will create a new role. Region pulumi.StringPtrInput // Specifies the list of roles owned by the current role. // The object structure is documented below. // Changing this parameter will create a new role. Roles DatabaseRoleRoleArrayInput }
The set of arguments for constructing a DatabaseRole resource.
func (DatabaseRoleArgs) ElementType ¶
func (DatabaseRoleArgs) ElementType() reflect.Type
type DatabaseRoleArray ¶
type DatabaseRoleArray []DatabaseRoleInput
func (DatabaseRoleArray) ElementType ¶
func (DatabaseRoleArray) ElementType() reflect.Type
func (DatabaseRoleArray) ToDatabaseRoleArrayOutput ¶
func (i DatabaseRoleArray) ToDatabaseRoleArrayOutput() DatabaseRoleArrayOutput
func (DatabaseRoleArray) ToDatabaseRoleArrayOutputWithContext ¶
func (i DatabaseRoleArray) ToDatabaseRoleArrayOutputWithContext(ctx context.Context) DatabaseRoleArrayOutput
type DatabaseRoleArrayInput ¶
type DatabaseRoleArrayInput interface { pulumi.Input ToDatabaseRoleArrayOutput() DatabaseRoleArrayOutput ToDatabaseRoleArrayOutputWithContext(context.Context) DatabaseRoleArrayOutput }
DatabaseRoleArrayInput is an input type that accepts DatabaseRoleArray and DatabaseRoleArrayOutput values. You can construct a concrete instance of `DatabaseRoleArrayInput` via:
DatabaseRoleArray{ DatabaseRoleArgs{...} }
type DatabaseRoleArrayOutput ¶
type DatabaseRoleArrayOutput struct{ *pulumi.OutputState }
func (DatabaseRoleArrayOutput) ElementType ¶
func (DatabaseRoleArrayOutput) ElementType() reflect.Type
func (DatabaseRoleArrayOutput) Index ¶
func (o DatabaseRoleArrayOutput) Index(i pulumi.IntInput) DatabaseRoleOutput
func (DatabaseRoleArrayOutput) ToDatabaseRoleArrayOutput ¶
func (o DatabaseRoleArrayOutput) ToDatabaseRoleArrayOutput() DatabaseRoleArrayOutput
func (DatabaseRoleArrayOutput) ToDatabaseRoleArrayOutputWithContext ¶
func (o DatabaseRoleArrayOutput) ToDatabaseRoleArrayOutputWithContext(ctx context.Context) DatabaseRoleArrayOutput
type DatabaseRoleInheritedPrivilege ¶
type DatabaseRoleInheritedPrivilege struct { // The operation permission list. Actions []string `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources []DatabaseRoleInheritedPrivilegeResource `pulumi:"resources"` }
type DatabaseRoleInheritedPrivilegeArgs ¶
type DatabaseRoleInheritedPrivilegeArgs struct { // The operation permission list. Actions pulumi.StringArrayInput `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources DatabaseRoleInheritedPrivilegeResourceArrayInput `pulumi:"resources"` }
func (DatabaseRoleInheritedPrivilegeArgs) ElementType ¶
func (DatabaseRoleInheritedPrivilegeArgs) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeArgs) ToDatabaseRoleInheritedPrivilegeOutput ¶
func (i DatabaseRoleInheritedPrivilegeArgs) ToDatabaseRoleInheritedPrivilegeOutput() DatabaseRoleInheritedPrivilegeOutput
func (DatabaseRoleInheritedPrivilegeArgs) ToDatabaseRoleInheritedPrivilegeOutputWithContext ¶
func (i DatabaseRoleInheritedPrivilegeArgs) ToDatabaseRoleInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeOutput
type DatabaseRoleInheritedPrivilegeArray ¶
type DatabaseRoleInheritedPrivilegeArray []DatabaseRoleInheritedPrivilegeInput
func (DatabaseRoleInheritedPrivilegeArray) ElementType ¶
func (DatabaseRoleInheritedPrivilegeArray) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeArray) ToDatabaseRoleInheritedPrivilegeArrayOutput ¶
func (i DatabaseRoleInheritedPrivilegeArray) ToDatabaseRoleInheritedPrivilegeArrayOutput() DatabaseRoleInheritedPrivilegeArrayOutput
func (DatabaseRoleInheritedPrivilegeArray) ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext ¶
func (i DatabaseRoleInheritedPrivilegeArray) ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeArrayOutput
type DatabaseRoleInheritedPrivilegeArrayInput ¶
type DatabaseRoleInheritedPrivilegeArrayInput interface { pulumi.Input ToDatabaseRoleInheritedPrivilegeArrayOutput() DatabaseRoleInheritedPrivilegeArrayOutput ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext(context.Context) DatabaseRoleInheritedPrivilegeArrayOutput }
DatabaseRoleInheritedPrivilegeArrayInput is an input type that accepts DatabaseRoleInheritedPrivilegeArray and DatabaseRoleInheritedPrivilegeArrayOutput values. You can construct a concrete instance of `DatabaseRoleInheritedPrivilegeArrayInput` via:
DatabaseRoleInheritedPrivilegeArray{ DatabaseRoleInheritedPrivilegeArgs{...} }
type DatabaseRoleInheritedPrivilegeArrayOutput ¶
type DatabaseRoleInheritedPrivilegeArrayOutput struct{ *pulumi.OutputState }
func (DatabaseRoleInheritedPrivilegeArrayOutput) ElementType ¶
func (DatabaseRoleInheritedPrivilegeArrayOutput) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeArrayOutput) ToDatabaseRoleInheritedPrivilegeArrayOutput ¶
func (o DatabaseRoleInheritedPrivilegeArrayOutput) ToDatabaseRoleInheritedPrivilegeArrayOutput() DatabaseRoleInheritedPrivilegeArrayOutput
func (DatabaseRoleInheritedPrivilegeArrayOutput) ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext ¶
func (o DatabaseRoleInheritedPrivilegeArrayOutput) ToDatabaseRoleInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeArrayOutput
type DatabaseRoleInheritedPrivilegeInput ¶
type DatabaseRoleInheritedPrivilegeInput interface { pulumi.Input ToDatabaseRoleInheritedPrivilegeOutput() DatabaseRoleInheritedPrivilegeOutput ToDatabaseRoleInheritedPrivilegeOutputWithContext(context.Context) DatabaseRoleInheritedPrivilegeOutput }
DatabaseRoleInheritedPrivilegeInput is an input type that accepts DatabaseRoleInheritedPrivilegeArgs and DatabaseRoleInheritedPrivilegeOutput values. You can construct a concrete instance of `DatabaseRoleInheritedPrivilegeInput` via:
DatabaseRoleInheritedPrivilegeArgs{...}
type DatabaseRoleInheritedPrivilegeOutput ¶
type DatabaseRoleInheritedPrivilegeOutput struct{ *pulumi.OutputState }
func (DatabaseRoleInheritedPrivilegeOutput) Actions ¶
func (o DatabaseRoleInheritedPrivilegeOutput) Actions() pulumi.StringArrayOutput
The operation permission list.
func (DatabaseRoleInheritedPrivilegeOutput) ElementType ¶
func (DatabaseRoleInheritedPrivilegeOutput) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeOutput) Resources ¶
func (o DatabaseRoleInheritedPrivilegeOutput) Resources() DatabaseRoleInheritedPrivilegeResourceArrayOutput
The details of the resource to which the privilege belongs. The object structure is documented below.
func (DatabaseRoleInheritedPrivilegeOutput) ToDatabaseRoleInheritedPrivilegeOutput ¶
func (o DatabaseRoleInheritedPrivilegeOutput) ToDatabaseRoleInheritedPrivilegeOutput() DatabaseRoleInheritedPrivilegeOutput
func (DatabaseRoleInheritedPrivilegeOutput) ToDatabaseRoleInheritedPrivilegeOutputWithContext ¶
func (o DatabaseRoleInheritedPrivilegeOutput) ToDatabaseRoleInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeOutput
type DatabaseRoleInheritedPrivilegeResourceArgs ¶
type DatabaseRoleInheritedPrivilegeResourceArgs struct { // The database collection type. Collection pulumi.StringPtrInput `pulumi:"collection"` // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName pulumi.StringPtrInput `pulumi:"dbName"` }
func (DatabaseRoleInheritedPrivilegeResourceArgs) ElementType ¶
func (DatabaseRoleInheritedPrivilegeResourceArgs) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeResourceArgs) ToDatabaseRoleInheritedPrivilegeResourceOutput ¶
func (i DatabaseRoleInheritedPrivilegeResourceArgs) ToDatabaseRoleInheritedPrivilegeResourceOutput() DatabaseRoleInheritedPrivilegeResourceOutput
func (DatabaseRoleInheritedPrivilegeResourceArgs) ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext ¶
func (i DatabaseRoleInheritedPrivilegeResourceArgs) ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceOutput
type DatabaseRoleInheritedPrivilegeResourceArray ¶
type DatabaseRoleInheritedPrivilegeResourceArray []DatabaseRoleInheritedPrivilegeResourceInput
func (DatabaseRoleInheritedPrivilegeResourceArray) ElementType ¶
func (DatabaseRoleInheritedPrivilegeResourceArray) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeResourceArray) ToDatabaseRoleInheritedPrivilegeResourceArrayOutput ¶
func (i DatabaseRoleInheritedPrivilegeResourceArray) ToDatabaseRoleInheritedPrivilegeResourceArrayOutput() DatabaseRoleInheritedPrivilegeResourceArrayOutput
func (DatabaseRoleInheritedPrivilegeResourceArray) ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext ¶
func (i DatabaseRoleInheritedPrivilegeResourceArray) ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceArrayOutput
type DatabaseRoleInheritedPrivilegeResourceArrayInput ¶
type DatabaseRoleInheritedPrivilegeResourceArrayInput interface { pulumi.Input ToDatabaseRoleInheritedPrivilegeResourceArrayOutput() DatabaseRoleInheritedPrivilegeResourceArrayOutput ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext(context.Context) DatabaseRoleInheritedPrivilegeResourceArrayOutput }
DatabaseRoleInheritedPrivilegeResourceArrayInput is an input type that accepts DatabaseRoleInheritedPrivilegeResourceArray and DatabaseRoleInheritedPrivilegeResourceArrayOutput values. You can construct a concrete instance of `DatabaseRoleInheritedPrivilegeResourceArrayInput` via:
DatabaseRoleInheritedPrivilegeResourceArray{ DatabaseRoleInheritedPrivilegeResourceArgs{...} }
type DatabaseRoleInheritedPrivilegeResourceArrayOutput ¶
type DatabaseRoleInheritedPrivilegeResourceArrayOutput struct{ *pulumi.OutputState }
func (DatabaseRoleInheritedPrivilegeResourceArrayOutput) ElementType ¶
func (DatabaseRoleInheritedPrivilegeResourceArrayOutput) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeResourceArrayOutput) ToDatabaseRoleInheritedPrivilegeResourceArrayOutput ¶
func (o DatabaseRoleInheritedPrivilegeResourceArrayOutput) ToDatabaseRoleInheritedPrivilegeResourceArrayOutput() DatabaseRoleInheritedPrivilegeResourceArrayOutput
func (DatabaseRoleInheritedPrivilegeResourceArrayOutput) ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext ¶
func (o DatabaseRoleInheritedPrivilegeResourceArrayOutput) ToDatabaseRoleInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceArrayOutput
type DatabaseRoleInheritedPrivilegeResourceInput ¶
type DatabaseRoleInheritedPrivilegeResourceInput interface { pulumi.Input ToDatabaseRoleInheritedPrivilegeResourceOutput() DatabaseRoleInheritedPrivilegeResourceOutput ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext(context.Context) DatabaseRoleInheritedPrivilegeResourceOutput }
DatabaseRoleInheritedPrivilegeResourceInput is an input type that accepts DatabaseRoleInheritedPrivilegeResourceArgs and DatabaseRoleInheritedPrivilegeResourceOutput values. You can construct a concrete instance of `DatabaseRoleInheritedPrivilegeResourceInput` via:
DatabaseRoleInheritedPrivilegeResourceArgs{...}
type DatabaseRoleInheritedPrivilegeResourceOutput ¶
type DatabaseRoleInheritedPrivilegeResourceOutput struct{ *pulumi.OutputState }
func (DatabaseRoleInheritedPrivilegeResourceOutput) Collection ¶
func (o DatabaseRoleInheritedPrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
The database collection type.
func (DatabaseRoleInheritedPrivilegeResourceOutput) DbName ¶
func (o DatabaseRoleInheritedPrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new role.
func (DatabaseRoleInheritedPrivilegeResourceOutput) ElementType ¶
func (DatabaseRoleInheritedPrivilegeResourceOutput) ElementType() reflect.Type
func (DatabaseRoleInheritedPrivilegeResourceOutput) ToDatabaseRoleInheritedPrivilegeResourceOutput ¶
func (o DatabaseRoleInheritedPrivilegeResourceOutput) ToDatabaseRoleInheritedPrivilegeResourceOutput() DatabaseRoleInheritedPrivilegeResourceOutput
func (DatabaseRoleInheritedPrivilegeResourceOutput) ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext ¶
func (o DatabaseRoleInheritedPrivilegeResourceOutput) ToDatabaseRoleInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRoleInheritedPrivilegeResourceOutput
type DatabaseRoleInput ¶
type DatabaseRoleInput interface { pulumi.Input ToDatabaseRoleOutput() DatabaseRoleOutput ToDatabaseRoleOutputWithContext(ctx context.Context) DatabaseRoleOutput }
type DatabaseRoleMap ¶
type DatabaseRoleMap map[string]DatabaseRoleInput
func (DatabaseRoleMap) ElementType ¶
func (DatabaseRoleMap) ElementType() reflect.Type
func (DatabaseRoleMap) ToDatabaseRoleMapOutput ¶
func (i DatabaseRoleMap) ToDatabaseRoleMapOutput() DatabaseRoleMapOutput
func (DatabaseRoleMap) ToDatabaseRoleMapOutputWithContext ¶
func (i DatabaseRoleMap) ToDatabaseRoleMapOutputWithContext(ctx context.Context) DatabaseRoleMapOutput
type DatabaseRoleMapInput ¶
type DatabaseRoleMapInput interface { pulumi.Input ToDatabaseRoleMapOutput() DatabaseRoleMapOutput ToDatabaseRoleMapOutputWithContext(context.Context) DatabaseRoleMapOutput }
DatabaseRoleMapInput is an input type that accepts DatabaseRoleMap and DatabaseRoleMapOutput values. You can construct a concrete instance of `DatabaseRoleMapInput` via:
DatabaseRoleMap{ "key": DatabaseRoleArgs{...} }
type DatabaseRoleMapOutput ¶
type DatabaseRoleMapOutput struct{ *pulumi.OutputState }
func (DatabaseRoleMapOutput) ElementType ¶
func (DatabaseRoleMapOutput) ElementType() reflect.Type
func (DatabaseRoleMapOutput) MapIndex ¶
func (o DatabaseRoleMapOutput) MapIndex(k pulumi.StringInput) DatabaseRoleOutput
func (DatabaseRoleMapOutput) ToDatabaseRoleMapOutput ¶
func (o DatabaseRoleMapOutput) ToDatabaseRoleMapOutput() DatabaseRoleMapOutput
func (DatabaseRoleMapOutput) ToDatabaseRoleMapOutputWithContext ¶
func (o DatabaseRoleMapOutput) ToDatabaseRoleMapOutputWithContext(ctx context.Context) DatabaseRoleMapOutput
type DatabaseRoleOutput ¶
type DatabaseRoleOutput struct{ *pulumi.OutputState }
func (DatabaseRoleOutput) DbName ¶
func (o DatabaseRoleOutput) DbName() pulumi.StringOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new role.
func (DatabaseRoleOutput) ElementType ¶
func (DatabaseRoleOutput) ElementType() reflect.Type
func (DatabaseRoleOutput) InheritedPrivileges ¶
func (o DatabaseRoleOutput) InheritedPrivileges() DatabaseRoleInheritedPrivilegeArrayOutput
The list of database privileges owned by the current role, includes all privileges inherited by owned roles. The object structure is documented below.
func (DatabaseRoleOutput) InstanceId ¶
func (o DatabaseRoleOutput) InstanceId() pulumi.StringOutput
Specifies the DDS instance ID to which the role belongs. Changing this parameter will create a new role.
func (DatabaseRoleOutput) Name ¶
func (o DatabaseRoleOutput) Name() pulumi.StringOutput
Specifies the name of role owned by the current role. The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are allowed. Changing this parameter will create a new role.
func (DatabaseRoleOutput) Privileges ¶
func (o DatabaseRoleOutput) Privileges() DatabaseRolePrivilegeArrayOutput
The list of database privileges owned by the current role. The object structure is documented below.
func (DatabaseRoleOutput) Region ¶
func (o DatabaseRoleOutput) Region() pulumi.StringOutput
Specifies the region where the DDS instance is located. Changing this parameter will create a new role.
func (DatabaseRoleOutput) Roles ¶
func (o DatabaseRoleOutput) Roles() DatabaseRoleRoleArrayOutput
Specifies the list of roles owned by the current role. The object structure is documented below. Changing this parameter will create a new role.
func (DatabaseRoleOutput) ToDatabaseRoleOutput ¶
func (o DatabaseRoleOutput) ToDatabaseRoleOutput() DatabaseRoleOutput
func (DatabaseRoleOutput) ToDatabaseRoleOutputWithContext ¶
func (o DatabaseRoleOutput) ToDatabaseRoleOutputWithContext(ctx context.Context) DatabaseRoleOutput
type DatabaseRolePrivilege ¶
type DatabaseRolePrivilege struct { // The operation permission list. Actions []string `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources []DatabaseRolePrivilegeResource `pulumi:"resources"` }
type DatabaseRolePrivilegeArgs ¶
type DatabaseRolePrivilegeArgs struct { // The operation permission list. Actions pulumi.StringArrayInput `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources DatabaseRolePrivilegeResourceArrayInput `pulumi:"resources"` }
func (DatabaseRolePrivilegeArgs) ElementType ¶
func (DatabaseRolePrivilegeArgs) ElementType() reflect.Type
func (DatabaseRolePrivilegeArgs) ToDatabaseRolePrivilegeOutput ¶
func (i DatabaseRolePrivilegeArgs) ToDatabaseRolePrivilegeOutput() DatabaseRolePrivilegeOutput
func (DatabaseRolePrivilegeArgs) ToDatabaseRolePrivilegeOutputWithContext ¶
func (i DatabaseRolePrivilegeArgs) ToDatabaseRolePrivilegeOutputWithContext(ctx context.Context) DatabaseRolePrivilegeOutput
type DatabaseRolePrivilegeArray ¶
type DatabaseRolePrivilegeArray []DatabaseRolePrivilegeInput
func (DatabaseRolePrivilegeArray) ElementType ¶
func (DatabaseRolePrivilegeArray) ElementType() reflect.Type
func (DatabaseRolePrivilegeArray) ToDatabaseRolePrivilegeArrayOutput ¶
func (i DatabaseRolePrivilegeArray) ToDatabaseRolePrivilegeArrayOutput() DatabaseRolePrivilegeArrayOutput
func (DatabaseRolePrivilegeArray) ToDatabaseRolePrivilegeArrayOutputWithContext ¶
func (i DatabaseRolePrivilegeArray) ToDatabaseRolePrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeArrayOutput
type DatabaseRolePrivilegeArrayInput ¶
type DatabaseRolePrivilegeArrayInput interface { pulumi.Input ToDatabaseRolePrivilegeArrayOutput() DatabaseRolePrivilegeArrayOutput ToDatabaseRolePrivilegeArrayOutputWithContext(context.Context) DatabaseRolePrivilegeArrayOutput }
DatabaseRolePrivilegeArrayInput is an input type that accepts DatabaseRolePrivilegeArray and DatabaseRolePrivilegeArrayOutput values. You can construct a concrete instance of `DatabaseRolePrivilegeArrayInput` via:
DatabaseRolePrivilegeArray{ DatabaseRolePrivilegeArgs{...} }
type DatabaseRolePrivilegeArrayOutput ¶
type DatabaseRolePrivilegeArrayOutput struct{ *pulumi.OutputState }
func (DatabaseRolePrivilegeArrayOutput) ElementType ¶
func (DatabaseRolePrivilegeArrayOutput) ElementType() reflect.Type
func (DatabaseRolePrivilegeArrayOutput) Index ¶
func (o DatabaseRolePrivilegeArrayOutput) Index(i pulumi.IntInput) DatabaseRolePrivilegeOutput
func (DatabaseRolePrivilegeArrayOutput) ToDatabaseRolePrivilegeArrayOutput ¶
func (o DatabaseRolePrivilegeArrayOutput) ToDatabaseRolePrivilegeArrayOutput() DatabaseRolePrivilegeArrayOutput
func (DatabaseRolePrivilegeArrayOutput) ToDatabaseRolePrivilegeArrayOutputWithContext ¶
func (o DatabaseRolePrivilegeArrayOutput) ToDatabaseRolePrivilegeArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeArrayOutput
type DatabaseRolePrivilegeInput ¶
type DatabaseRolePrivilegeInput interface { pulumi.Input ToDatabaseRolePrivilegeOutput() DatabaseRolePrivilegeOutput ToDatabaseRolePrivilegeOutputWithContext(context.Context) DatabaseRolePrivilegeOutput }
DatabaseRolePrivilegeInput is an input type that accepts DatabaseRolePrivilegeArgs and DatabaseRolePrivilegeOutput values. You can construct a concrete instance of `DatabaseRolePrivilegeInput` via:
DatabaseRolePrivilegeArgs{...}
type DatabaseRolePrivilegeOutput ¶
type DatabaseRolePrivilegeOutput struct{ *pulumi.OutputState }
func (DatabaseRolePrivilegeOutput) Actions ¶
func (o DatabaseRolePrivilegeOutput) Actions() pulumi.StringArrayOutput
The operation permission list.
func (DatabaseRolePrivilegeOutput) ElementType ¶
func (DatabaseRolePrivilegeOutput) ElementType() reflect.Type
func (DatabaseRolePrivilegeOutput) Resources ¶
func (o DatabaseRolePrivilegeOutput) Resources() DatabaseRolePrivilegeResourceArrayOutput
The details of the resource to which the privilege belongs. The object structure is documented below.
func (DatabaseRolePrivilegeOutput) ToDatabaseRolePrivilegeOutput ¶
func (o DatabaseRolePrivilegeOutput) ToDatabaseRolePrivilegeOutput() DatabaseRolePrivilegeOutput
func (DatabaseRolePrivilegeOutput) ToDatabaseRolePrivilegeOutputWithContext ¶
func (o DatabaseRolePrivilegeOutput) ToDatabaseRolePrivilegeOutputWithContext(ctx context.Context) DatabaseRolePrivilegeOutput
type DatabaseRolePrivilegeResourceArgs ¶
type DatabaseRolePrivilegeResourceArgs struct { // The database collection type. Collection pulumi.StringPtrInput `pulumi:"collection"` // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName pulumi.StringPtrInput `pulumi:"dbName"` }
func (DatabaseRolePrivilegeResourceArgs) ElementType ¶
func (DatabaseRolePrivilegeResourceArgs) ElementType() reflect.Type
func (DatabaseRolePrivilegeResourceArgs) ToDatabaseRolePrivilegeResourceOutput ¶
func (i DatabaseRolePrivilegeResourceArgs) ToDatabaseRolePrivilegeResourceOutput() DatabaseRolePrivilegeResourceOutput
func (DatabaseRolePrivilegeResourceArgs) ToDatabaseRolePrivilegeResourceOutputWithContext ¶
func (i DatabaseRolePrivilegeResourceArgs) ToDatabaseRolePrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceOutput
type DatabaseRolePrivilegeResourceArray ¶
type DatabaseRolePrivilegeResourceArray []DatabaseRolePrivilegeResourceInput
func (DatabaseRolePrivilegeResourceArray) ElementType ¶
func (DatabaseRolePrivilegeResourceArray) ElementType() reflect.Type
func (DatabaseRolePrivilegeResourceArray) ToDatabaseRolePrivilegeResourceArrayOutput ¶
func (i DatabaseRolePrivilegeResourceArray) ToDatabaseRolePrivilegeResourceArrayOutput() DatabaseRolePrivilegeResourceArrayOutput
func (DatabaseRolePrivilegeResourceArray) ToDatabaseRolePrivilegeResourceArrayOutputWithContext ¶
func (i DatabaseRolePrivilegeResourceArray) ToDatabaseRolePrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceArrayOutput
type DatabaseRolePrivilegeResourceArrayInput ¶
type DatabaseRolePrivilegeResourceArrayInput interface { pulumi.Input ToDatabaseRolePrivilegeResourceArrayOutput() DatabaseRolePrivilegeResourceArrayOutput ToDatabaseRolePrivilegeResourceArrayOutputWithContext(context.Context) DatabaseRolePrivilegeResourceArrayOutput }
DatabaseRolePrivilegeResourceArrayInput is an input type that accepts DatabaseRolePrivilegeResourceArray and DatabaseRolePrivilegeResourceArrayOutput values. You can construct a concrete instance of `DatabaseRolePrivilegeResourceArrayInput` via:
DatabaseRolePrivilegeResourceArray{ DatabaseRolePrivilegeResourceArgs{...} }
type DatabaseRolePrivilegeResourceArrayOutput ¶
type DatabaseRolePrivilegeResourceArrayOutput struct{ *pulumi.OutputState }
func (DatabaseRolePrivilegeResourceArrayOutput) ElementType ¶
func (DatabaseRolePrivilegeResourceArrayOutput) ElementType() reflect.Type
func (DatabaseRolePrivilegeResourceArrayOutput) ToDatabaseRolePrivilegeResourceArrayOutput ¶
func (o DatabaseRolePrivilegeResourceArrayOutput) ToDatabaseRolePrivilegeResourceArrayOutput() DatabaseRolePrivilegeResourceArrayOutput
func (DatabaseRolePrivilegeResourceArrayOutput) ToDatabaseRolePrivilegeResourceArrayOutputWithContext ¶
func (o DatabaseRolePrivilegeResourceArrayOutput) ToDatabaseRolePrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceArrayOutput
type DatabaseRolePrivilegeResourceInput ¶
type DatabaseRolePrivilegeResourceInput interface { pulumi.Input ToDatabaseRolePrivilegeResourceOutput() DatabaseRolePrivilegeResourceOutput ToDatabaseRolePrivilegeResourceOutputWithContext(context.Context) DatabaseRolePrivilegeResourceOutput }
DatabaseRolePrivilegeResourceInput is an input type that accepts DatabaseRolePrivilegeResourceArgs and DatabaseRolePrivilegeResourceOutput values. You can construct a concrete instance of `DatabaseRolePrivilegeResourceInput` via:
DatabaseRolePrivilegeResourceArgs{...}
type DatabaseRolePrivilegeResourceOutput ¶
type DatabaseRolePrivilegeResourceOutput struct{ *pulumi.OutputState }
func (DatabaseRolePrivilegeResourceOutput) Collection ¶
func (o DatabaseRolePrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
The database collection type.
func (DatabaseRolePrivilegeResourceOutput) DbName ¶
func (o DatabaseRolePrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new role.
func (DatabaseRolePrivilegeResourceOutput) ElementType ¶
func (DatabaseRolePrivilegeResourceOutput) ElementType() reflect.Type
func (DatabaseRolePrivilegeResourceOutput) ToDatabaseRolePrivilegeResourceOutput ¶
func (o DatabaseRolePrivilegeResourceOutput) ToDatabaseRolePrivilegeResourceOutput() DatabaseRolePrivilegeResourceOutput
func (DatabaseRolePrivilegeResourceOutput) ToDatabaseRolePrivilegeResourceOutputWithContext ¶
func (o DatabaseRolePrivilegeResourceOutput) ToDatabaseRolePrivilegeResourceOutputWithContext(ctx context.Context) DatabaseRolePrivilegeResourceOutput
type DatabaseRoleRole ¶
type DatabaseRoleRole struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName string `pulumi:"dbName"` // Specifies the name of role owned by the current role. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new role. Name string `pulumi:"name"` }
type DatabaseRoleRoleArgs ¶
type DatabaseRoleRoleArgs struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName pulumi.StringInput `pulumi:"dbName"` // Specifies the name of role owned by the current role. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new role. Name pulumi.StringInput `pulumi:"name"` }
func (DatabaseRoleRoleArgs) ElementType ¶
func (DatabaseRoleRoleArgs) ElementType() reflect.Type
func (DatabaseRoleRoleArgs) ToDatabaseRoleRoleOutput ¶
func (i DatabaseRoleRoleArgs) ToDatabaseRoleRoleOutput() DatabaseRoleRoleOutput
func (DatabaseRoleRoleArgs) ToDatabaseRoleRoleOutputWithContext ¶
func (i DatabaseRoleRoleArgs) ToDatabaseRoleRoleOutputWithContext(ctx context.Context) DatabaseRoleRoleOutput
type DatabaseRoleRoleArray ¶
type DatabaseRoleRoleArray []DatabaseRoleRoleInput
func (DatabaseRoleRoleArray) ElementType ¶
func (DatabaseRoleRoleArray) ElementType() reflect.Type
func (DatabaseRoleRoleArray) ToDatabaseRoleRoleArrayOutput ¶
func (i DatabaseRoleRoleArray) ToDatabaseRoleRoleArrayOutput() DatabaseRoleRoleArrayOutput
func (DatabaseRoleRoleArray) ToDatabaseRoleRoleArrayOutputWithContext ¶
func (i DatabaseRoleRoleArray) ToDatabaseRoleRoleArrayOutputWithContext(ctx context.Context) DatabaseRoleRoleArrayOutput
type DatabaseRoleRoleArrayInput ¶
type DatabaseRoleRoleArrayInput interface { pulumi.Input ToDatabaseRoleRoleArrayOutput() DatabaseRoleRoleArrayOutput ToDatabaseRoleRoleArrayOutputWithContext(context.Context) DatabaseRoleRoleArrayOutput }
DatabaseRoleRoleArrayInput is an input type that accepts DatabaseRoleRoleArray and DatabaseRoleRoleArrayOutput values. You can construct a concrete instance of `DatabaseRoleRoleArrayInput` via:
DatabaseRoleRoleArray{ DatabaseRoleRoleArgs{...} }
type DatabaseRoleRoleArrayOutput ¶
type DatabaseRoleRoleArrayOutput struct{ *pulumi.OutputState }
func (DatabaseRoleRoleArrayOutput) ElementType ¶
func (DatabaseRoleRoleArrayOutput) ElementType() reflect.Type
func (DatabaseRoleRoleArrayOutput) Index ¶
func (o DatabaseRoleRoleArrayOutput) Index(i pulumi.IntInput) DatabaseRoleRoleOutput
func (DatabaseRoleRoleArrayOutput) ToDatabaseRoleRoleArrayOutput ¶
func (o DatabaseRoleRoleArrayOutput) ToDatabaseRoleRoleArrayOutput() DatabaseRoleRoleArrayOutput
func (DatabaseRoleRoleArrayOutput) ToDatabaseRoleRoleArrayOutputWithContext ¶
func (o DatabaseRoleRoleArrayOutput) ToDatabaseRoleRoleArrayOutputWithContext(ctx context.Context) DatabaseRoleRoleArrayOutput
type DatabaseRoleRoleInput ¶
type DatabaseRoleRoleInput interface { pulumi.Input ToDatabaseRoleRoleOutput() DatabaseRoleRoleOutput ToDatabaseRoleRoleOutputWithContext(context.Context) DatabaseRoleRoleOutput }
DatabaseRoleRoleInput is an input type that accepts DatabaseRoleRoleArgs and DatabaseRoleRoleOutput values. You can construct a concrete instance of `DatabaseRoleRoleInput` via:
DatabaseRoleRoleArgs{...}
type DatabaseRoleRoleOutput ¶
type DatabaseRoleRoleOutput struct{ *pulumi.OutputState }
func (DatabaseRoleRoleOutput) DbName ¶
func (o DatabaseRoleRoleOutput) DbName() pulumi.StringOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new role.
func (DatabaseRoleRoleOutput) ElementType ¶
func (DatabaseRoleRoleOutput) ElementType() reflect.Type
func (DatabaseRoleRoleOutput) Name ¶
func (o DatabaseRoleRoleOutput) Name() pulumi.StringOutput
Specifies the name of role owned by the current role. The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are allowed. Changing this parameter will create a new role.
func (DatabaseRoleRoleOutput) ToDatabaseRoleRoleOutput ¶
func (o DatabaseRoleRoleOutput) ToDatabaseRoleRoleOutput() DatabaseRoleRoleOutput
func (DatabaseRoleRoleOutput) ToDatabaseRoleRoleOutputWithContext ¶
func (o DatabaseRoleRoleOutput) ToDatabaseRoleRoleOutputWithContext(ctx context.Context) DatabaseRoleRoleOutput
type DatabaseRoleState ¶
type DatabaseRoleState struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new role. DbName pulumi.StringPtrInput // The list of database privileges owned by the current role, includes all privileges // inherited by owned roles. The object structure is documented below. InheritedPrivileges DatabaseRoleInheritedPrivilegeArrayInput // Specifies the DDS instance ID to which the role belongs. // Changing this parameter will create a new role. InstanceId pulumi.StringPtrInput // Specifies the name of role owned by the current role. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new role. Name pulumi.StringPtrInput // The list of database privileges owned by the current role. // The object structure is documented below. Privileges DatabaseRolePrivilegeArrayInput // Specifies the region where the DDS instance is located. // Changing this parameter will create a new role. Region pulumi.StringPtrInput // Specifies the list of roles owned by the current role. // The object structure is documented below. // Changing this parameter will create a new role. Roles DatabaseRoleRoleArrayInput }
func (DatabaseRoleState) ElementType ¶
func (DatabaseRoleState) ElementType() reflect.Type
type DatabaseUser ¶
type DatabaseUser struct { pulumi.CustomResourceState // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName pulumi.StringOutput `pulumi:"dbName"` // The list of database privileges owned by the current user, includes all privileges // inherited by owned roles. The object structure is documented below. InheritedPrivileges DatabaseUserInheritedPrivilegeArrayOutput `pulumi:"inheritedPrivileges"` // Specifies the DDS instance ID to which the user belongs. // Changing this parameter will create a new user. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Specifies the name of role owned by the current user. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new user. Name pulumi.StringOutput `pulumi:"name"` // Specifies the user password. // The assword content must meet the following conditions: Password pulumi.StringOutput `pulumi:"password"` // The list of database privileges owned by the current user. // The object structure is documented below. Privileges DatabaseUserPrivilegeArrayOutput `pulumi:"privileges"` // Specifies the region where the DDS instance is located. // Changing this parameter will create a new user. Region pulumi.StringOutput `pulumi:"region"` // Specifies the list of roles owned by the current user. // The object structure is documented below. Changing this parameter will create a new user. Roles DatabaseUserRoleArrayOutput `pulumi:"roles"` }
Manages a database user resource within HuaweiCloud.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") instanceId := cfg.RequireObject("instanceId") userName := cfg.RequireObject("userName") userPassword := cfg.RequireObject("userPassword") ownedRoleName := cfg.RequireObject("ownedRoleName") ownedRoleDbName := cfg.RequireObject("ownedRoleDbName") _, err := Dds.NewDatabaseUser(ctx, "test", &Dds.DatabaseUserArgs{ InstanceId: pulumi.Any(instanceId), Password: pulumi.Any(userPassword), DbName: pulumi.Any(_var.Db_name), Roles: dds.DatabaseUserRoleArray{ &dds.DatabaseUserRoleArgs{ Name: pulumi.Any(ownedRoleName), DbName: pulumi.Any(ownedRoleDbName), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Database users can be imported using their `id` (combination of `instance_id`, `db_name` and `name`), separated by a slash (/), e.g.
```sh
$ pulumi import huaweicloud:Dds/databaseUser:DatabaseUser test <instance_id>/<db_name>/<name>
```
Due to security reason, the imported state may not be identical to your resource definition (`password` parameter). It is generally recommended running `terraform plan` after importing a user resource. You can then decide if changes should be applied to the user, or the resource definition should be updated to align with the user. Also you can ignore changes as below. resource "huaweicloud_dds_database_user" "test" { ... lifecycle { ignore_changes = [ password, ] } }
func GetDatabaseUser ¶
func GetDatabaseUser(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DatabaseUserState, opts ...pulumi.ResourceOption) (*DatabaseUser, error)
GetDatabaseUser gets an existing DatabaseUser 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 NewDatabaseUser ¶
func NewDatabaseUser(ctx *pulumi.Context, name string, args *DatabaseUserArgs, opts ...pulumi.ResourceOption) (*DatabaseUser, error)
NewDatabaseUser registers a new resource with the given unique name, arguments, and options.
func (*DatabaseUser) ElementType ¶
func (*DatabaseUser) ElementType() reflect.Type
func (*DatabaseUser) ToDatabaseUserOutput ¶
func (i *DatabaseUser) ToDatabaseUserOutput() DatabaseUserOutput
func (*DatabaseUser) ToDatabaseUserOutputWithContext ¶
func (i *DatabaseUser) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput
type DatabaseUserArgs ¶
type DatabaseUserArgs struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName pulumi.StringInput // Specifies the DDS instance ID to which the user belongs. // Changing this parameter will create a new user. InstanceId pulumi.StringInput // Specifies the name of role owned by the current user. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new user. Name pulumi.StringPtrInput // Specifies the user password. // The assword content must meet the following conditions: Password pulumi.StringInput // Specifies the region where the DDS instance is located. // Changing this parameter will create a new user. Region pulumi.StringPtrInput // Specifies the list of roles owned by the current user. // The object structure is documented below. Changing this parameter will create a new user. Roles DatabaseUserRoleArrayInput }
The set of arguments for constructing a DatabaseUser resource.
func (DatabaseUserArgs) ElementType ¶
func (DatabaseUserArgs) ElementType() reflect.Type
type DatabaseUserArray ¶
type DatabaseUserArray []DatabaseUserInput
func (DatabaseUserArray) ElementType ¶
func (DatabaseUserArray) ElementType() reflect.Type
func (DatabaseUserArray) ToDatabaseUserArrayOutput ¶
func (i DatabaseUserArray) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput
func (DatabaseUserArray) ToDatabaseUserArrayOutputWithContext ¶
func (i DatabaseUserArray) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput
type DatabaseUserArrayInput ¶
type DatabaseUserArrayInput interface { pulumi.Input ToDatabaseUserArrayOutput() DatabaseUserArrayOutput ToDatabaseUserArrayOutputWithContext(context.Context) DatabaseUserArrayOutput }
DatabaseUserArrayInput is an input type that accepts DatabaseUserArray and DatabaseUserArrayOutput values. You can construct a concrete instance of `DatabaseUserArrayInput` via:
DatabaseUserArray{ DatabaseUserArgs{...} }
type DatabaseUserArrayOutput ¶
type DatabaseUserArrayOutput struct{ *pulumi.OutputState }
func (DatabaseUserArrayOutput) ElementType ¶
func (DatabaseUserArrayOutput) ElementType() reflect.Type
func (DatabaseUserArrayOutput) Index ¶
func (o DatabaseUserArrayOutput) Index(i pulumi.IntInput) DatabaseUserOutput
func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutput ¶
func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutput() DatabaseUserArrayOutput
func (DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext ¶
func (o DatabaseUserArrayOutput) ToDatabaseUserArrayOutputWithContext(ctx context.Context) DatabaseUserArrayOutput
type DatabaseUserInheritedPrivilege ¶
type DatabaseUserInheritedPrivilege struct { // The operation permission list. Actions []string `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources []DatabaseUserInheritedPrivilegeResource `pulumi:"resources"` }
type DatabaseUserInheritedPrivilegeArgs ¶
type DatabaseUserInheritedPrivilegeArgs struct { // The operation permission list. Actions pulumi.StringArrayInput `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources DatabaseUserInheritedPrivilegeResourceArrayInput `pulumi:"resources"` }
func (DatabaseUserInheritedPrivilegeArgs) ElementType ¶
func (DatabaseUserInheritedPrivilegeArgs) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeArgs) ToDatabaseUserInheritedPrivilegeOutput ¶
func (i DatabaseUserInheritedPrivilegeArgs) ToDatabaseUserInheritedPrivilegeOutput() DatabaseUserInheritedPrivilegeOutput
func (DatabaseUserInheritedPrivilegeArgs) ToDatabaseUserInheritedPrivilegeOutputWithContext ¶
func (i DatabaseUserInheritedPrivilegeArgs) ToDatabaseUserInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeOutput
type DatabaseUserInheritedPrivilegeArray ¶
type DatabaseUserInheritedPrivilegeArray []DatabaseUserInheritedPrivilegeInput
func (DatabaseUserInheritedPrivilegeArray) ElementType ¶
func (DatabaseUserInheritedPrivilegeArray) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeArray) ToDatabaseUserInheritedPrivilegeArrayOutput ¶
func (i DatabaseUserInheritedPrivilegeArray) ToDatabaseUserInheritedPrivilegeArrayOutput() DatabaseUserInheritedPrivilegeArrayOutput
func (DatabaseUserInheritedPrivilegeArray) ToDatabaseUserInheritedPrivilegeArrayOutputWithContext ¶
func (i DatabaseUserInheritedPrivilegeArray) ToDatabaseUserInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeArrayOutput
type DatabaseUserInheritedPrivilegeArrayInput ¶
type DatabaseUserInheritedPrivilegeArrayInput interface { pulumi.Input ToDatabaseUserInheritedPrivilegeArrayOutput() DatabaseUserInheritedPrivilegeArrayOutput ToDatabaseUserInheritedPrivilegeArrayOutputWithContext(context.Context) DatabaseUserInheritedPrivilegeArrayOutput }
DatabaseUserInheritedPrivilegeArrayInput is an input type that accepts DatabaseUserInheritedPrivilegeArray and DatabaseUserInheritedPrivilegeArrayOutput values. You can construct a concrete instance of `DatabaseUserInheritedPrivilegeArrayInput` via:
DatabaseUserInheritedPrivilegeArray{ DatabaseUserInheritedPrivilegeArgs{...} }
type DatabaseUserInheritedPrivilegeArrayOutput ¶
type DatabaseUserInheritedPrivilegeArrayOutput struct{ *pulumi.OutputState }
func (DatabaseUserInheritedPrivilegeArrayOutput) ElementType ¶
func (DatabaseUserInheritedPrivilegeArrayOutput) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeArrayOutput) ToDatabaseUserInheritedPrivilegeArrayOutput ¶
func (o DatabaseUserInheritedPrivilegeArrayOutput) ToDatabaseUserInheritedPrivilegeArrayOutput() DatabaseUserInheritedPrivilegeArrayOutput
func (DatabaseUserInheritedPrivilegeArrayOutput) ToDatabaseUserInheritedPrivilegeArrayOutputWithContext ¶
func (o DatabaseUserInheritedPrivilegeArrayOutput) ToDatabaseUserInheritedPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeArrayOutput
type DatabaseUserInheritedPrivilegeInput ¶
type DatabaseUserInheritedPrivilegeInput interface { pulumi.Input ToDatabaseUserInheritedPrivilegeOutput() DatabaseUserInheritedPrivilegeOutput ToDatabaseUserInheritedPrivilegeOutputWithContext(context.Context) DatabaseUserInheritedPrivilegeOutput }
DatabaseUserInheritedPrivilegeInput is an input type that accepts DatabaseUserInheritedPrivilegeArgs and DatabaseUserInheritedPrivilegeOutput values. You can construct a concrete instance of `DatabaseUserInheritedPrivilegeInput` via:
DatabaseUserInheritedPrivilegeArgs{...}
type DatabaseUserInheritedPrivilegeOutput ¶
type DatabaseUserInheritedPrivilegeOutput struct{ *pulumi.OutputState }
func (DatabaseUserInheritedPrivilegeOutput) Actions ¶
func (o DatabaseUserInheritedPrivilegeOutput) Actions() pulumi.StringArrayOutput
The operation permission list.
func (DatabaseUserInheritedPrivilegeOutput) ElementType ¶
func (DatabaseUserInheritedPrivilegeOutput) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeOutput) Resources ¶
func (o DatabaseUserInheritedPrivilegeOutput) Resources() DatabaseUserInheritedPrivilegeResourceArrayOutput
The details of the resource to which the privilege belongs. The object structure is documented below.
func (DatabaseUserInheritedPrivilegeOutput) ToDatabaseUserInheritedPrivilegeOutput ¶
func (o DatabaseUserInheritedPrivilegeOutput) ToDatabaseUserInheritedPrivilegeOutput() DatabaseUserInheritedPrivilegeOutput
func (DatabaseUserInheritedPrivilegeOutput) ToDatabaseUserInheritedPrivilegeOutputWithContext ¶
func (o DatabaseUserInheritedPrivilegeOutput) ToDatabaseUserInheritedPrivilegeOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeOutput
type DatabaseUserInheritedPrivilegeResourceArgs ¶
type DatabaseUserInheritedPrivilegeResourceArgs struct { // The database collection type. Collection pulumi.StringPtrInput `pulumi:"collection"` // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName pulumi.StringPtrInput `pulumi:"dbName"` }
func (DatabaseUserInheritedPrivilegeResourceArgs) ElementType ¶
func (DatabaseUserInheritedPrivilegeResourceArgs) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeResourceArgs) ToDatabaseUserInheritedPrivilegeResourceOutput ¶
func (i DatabaseUserInheritedPrivilegeResourceArgs) ToDatabaseUserInheritedPrivilegeResourceOutput() DatabaseUserInheritedPrivilegeResourceOutput
func (DatabaseUserInheritedPrivilegeResourceArgs) ToDatabaseUserInheritedPrivilegeResourceOutputWithContext ¶
func (i DatabaseUserInheritedPrivilegeResourceArgs) ToDatabaseUserInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceOutput
type DatabaseUserInheritedPrivilegeResourceArray ¶
type DatabaseUserInheritedPrivilegeResourceArray []DatabaseUserInheritedPrivilegeResourceInput
func (DatabaseUserInheritedPrivilegeResourceArray) ElementType ¶
func (DatabaseUserInheritedPrivilegeResourceArray) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeResourceArray) ToDatabaseUserInheritedPrivilegeResourceArrayOutput ¶
func (i DatabaseUserInheritedPrivilegeResourceArray) ToDatabaseUserInheritedPrivilegeResourceArrayOutput() DatabaseUserInheritedPrivilegeResourceArrayOutput
func (DatabaseUserInheritedPrivilegeResourceArray) ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext ¶
func (i DatabaseUserInheritedPrivilegeResourceArray) ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceArrayOutput
type DatabaseUserInheritedPrivilegeResourceArrayInput ¶
type DatabaseUserInheritedPrivilegeResourceArrayInput interface { pulumi.Input ToDatabaseUserInheritedPrivilegeResourceArrayOutput() DatabaseUserInheritedPrivilegeResourceArrayOutput ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext(context.Context) DatabaseUserInheritedPrivilegeResourceArrayOutput }
DatabaseUserInheritedPrivilegeResourceArrayInput is an input type that accepts DatabaseUserInheritedPrivilegeResourceArray and DatabaseUserInheritedPrivilegeResourceArrayOutput values. You can construct a concrete instance of `DatabaseUserInheritedPrivilegeResourceArrayInput` via:
DatabaseUserInheritedPrivilegeResourceArray{ DatabaseUserInheritedPrivilegeResourceArgs{...} }
type DatabaseUserInheritedPrivilegeResourceArrayOutput ¶
type DatabaseUserInheritedPrivilegeResourceArrayOutput struct{ *pulumi.OutputState }
func (DatabaseUserInheritedPrivilegeResourceArrayOutput) ElementType ¶
func (DatabaseUserInheritedPrivilegeResourceArrayOutput) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeResourceArrayOutput) ToDatabaseUserInheritedPrivilegeResourceArrayOutput ¶
func (o DatabaseUserInheritedPrivilegeResourceArrayOutput) ToDatabaseUserInheritedPrivilegeResourceArrayOutput() DatabaseUserInheritedPrivilegeResourceArrayOutput
func (DatabaseUserInheritedPrivilegeResourceArrayOutput) ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext ¶
func (o DatabaseUserInheritedPrivilegeResourceArrayOutput) ToDatabaseUserInheritedPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceArrayOutput
type DatabaseUserInheritedPrivilegeResourceInput ¶
type DatabaseUserInheritedPrivilegeResourceInput interface { pulumi.Input ToDatabaseUserInheritedPrivilegeResourceOutput() DatabaseUserInheritedPrivilegeResourceOutput ToDatabaseUserInheritedPrivilegeResourceOutputWithContext(context.Context) DatabaseUserInheritedPrivilegeResourceOutput }
DatabaseUserInheritedPrivilegeResourceInput is an input type that accepts DatabaseUserInheritedPrivilegeResourceArgs and DatabaseUserInheritedPrivilegeResourceOutput values. You can construct a concrete instance of `DatabaseUserInheritedPrivilegeResourceInput` via:
DatabaseUserInheritedPrivilegeResourceArgs{...}
type DatabaseUserInheritedPrivilegeResourceOutput ¶
type DatabaseUserInheritedPrivilegeResourceOutput struct{ *pulumi.OutputState }
func (DatabaseUserInheritedPrivilegeResourceOutput) Collection ¶
func (o DatabaseUserInheritedPrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
The database collection type.
func (DatabaseUserInheritedPrivilegeResourceOutput) DbName ¶
func (o DatabaseUserInheritedPrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new user.
func (DatabaseUserInheritedPrivilegeResourceOutput) ElementType ¶
func (DatabaseUserInheritedPrivilegeResourceOutput) ElementType() reflect.Type
func (DatabaseUserInheritedPrivilegeResourceOutput) ToDatabaseUserInheritedPrivilegeResourceOutput ¶
func (o DatabaseUserInheritedPrivilegeResourceOutput) ToDatabaseUserInheritedPrivilegeResourceOutput() DatabaseUserInheritedPrivilegeResourceOutput
func (DatabaseUserInheritedPrivilegeResourceOutput) ToDatabaseUserInheritedPrivilegeResourceOutputWithContext ¶
func (o DatabaseUserInheritedPrivilegeResourceOutput) ToDatabaseUserInheritedPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserInheritedPrivilegeResourceOutput
type DatabaseUserInput ¶
type DatabaseUserInput interface { pulumi.Input ToDatabaseUserOutput() DatabaseUserOutput ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput }
type DatabaseUserMap ¶
type DatabaseUserMap map[string]DatabaseUserInput
func (DatabaseUserMap) ElementType ¶
func (DatabaseUserMap) ElementType() reflect.Type
func (DatabaseUserMap) ToDatabaseUserMapOutput ¶
func (i DatabaseUserMap) ToDatabaseUserMapOutput() DatabaseUserMapOutput
func (DatabaseUserMap) ToDatabaseUserMapOutputWithContext ¶
func (i DatabaseUserMap) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput
type DatabaseUserMapInput ¶
type DatabaseUserMapInput interface { pulumi.Input ToDatabaseUserMapOutput() DatabaseUserMapOutput ToDatabaseUserMapOutputWithContext(context.Context) DatabaseUserMapOutput }
DatabaseUserMapInput is an input type that accepts DatabaseUserMap and DatabaseUserMapOutput values. You can construct a concrete instance of `DatabaseUserMapInput` via:
DatabaseUserMap{ "key": DatabaseUserArgs{...} }
type DatabaseUserMapOutput ¶
type DatabaseUserMapOutput struct{ *pulumi.OutputState }
func (DatabaseUserMapOutput) ElementType ¶
func (DatabaseUserMapOutput) ElementType() reflect.Type
func (DatabaseUserMapOutput) MapIndex ¶
func (o DatabaseUserMapOutput) MapIndex(k pulumi.StringInput) DatabaseUserOutput
func (DatabaseUserMapOutput) ToDatabaseUserMapOutput ¶
func (o DatabaseUserMapOutput) ToDatabaseUserMapOutput() DatabaseUserMapOutput
func (DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext ¶
func (o DatabaseUserMapOutput) ToDatabaseUserMapOutputWithContext(ctx context.Context) DatabaseUserMapOutput
type DatabaseUserOutput ¶
type DatabaseUserOutput struct{ *pulumi.OutputState }
func (DatabaseUserOutput) DbName ¶
func (o DatabaseUserOutput) DbName() pulumi.StringOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new user.
func (DatabaseUserOutput) ElementType ¶
func (DatabaseUserOutput) ElementType() reflect.Type
func (DatabaseUserOutput) InheritedPrivileges ¶
func (o DatabaseUserOutput) InheritedPrivileges() DatabaseUserInheritedPrivilegeArrayOutput
The list of database privileges owned by the current user, includes all privileges inherited by owned roles. The object structure is documented below.
func (DatabaseUserOutput) InstanceId ¶
func (o DatabaseUserOutput) InstanceId() pulumi.StringOutput
Specifies the DDS instance ID to which the user belongs. Changing this parameter will create a new user.
func (DatabaseUserOutput) Name ¶
func (o DatabaseUserOutput) Name() pulumi.StringOutput
Specifies the name of role owned by the current user. The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are allowed. Changing this parameter will create a new user.
func (DatabaseUserOutput) Password ¶
func (o DatabaseUserOutput) Password() pulumi.StringOutput
Specifies the user password. The assword content must meet the following conditions:
func (DatabaseUserOutput) Privileges ¶
func (o DatabaseUserOutput) Privileges() DatabaseUserPrivilegeArrayOutput
The list of database privileges owned by the current user. The object structure is documented below.
func (DatabaseUserOutput) Region ¶
func (o DatabaseUserOutput) Region() pulumi.StringOutput
Specifies the region where the DDS instance is located. Changing this parameter will create a new user.
func (DatabaseUserOutput) Roles ¶
func (o DatabaseUserOutput) Roles() DatabaseUserRoleArrayOutput
Specifies the list of roles owned by the current user. The object structure is documented below. Changing this parameter will create a new user.
func (DatabaseUserOutput) ToDatabaseUserOutput ¶
func (o DatabaseUserOutput) ToDatabaseUserOutput() DatabaseUserOutput
func (DatabaseUserOutput) ToDatabaseUserOutputWithContext ¶
func (o DatabaseUserOutput) ToDatabaseUserOutputWithContext(ctx context.Context) DatabaseUserOutput
type DatabaseUserPrivilege ¶
type DatabaseUserPrivilege struct { // The operation permission list. Actions []string `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources []DatabaseUserPrivilegeResource `pulumi:"resources"` }
type DatabaseUserPrivilegeArgs ¶
type DatabaseUserPrivilegeArgs struct { // The operation permission list. Actions pulumi.StringArrayInput `pulumi:"actions"` // The details of the resource to which the privilege belongs. // The object structure is documented below. Resources DatabaseUserPrivilegeResourceArrayInput `pulumi:"resources"` }
func (DatabaseUserPrivilegeArgs) ElementType ¶
func (DatabaseUserPrivilegeArgs) ElementType() reflect.Type
func (DatabaseUserPrivilegeArgs) ToDatabaseUserPrivilegeOutput ¶
func (i DatabaseUserPrivilegeArgs) ToDatabaseUserPrivilegeOutput() DatabaseUserPrivilegeOutput
func (DatabaseUserPrivilegeArgs) ToDatabaseUserPrivilegeOutputWithContext ¶
func (i DatabaseUserPrivilegeArgs) ToDatabaseUserPrivilegeOutputWithContext(ctx context.Context) DatabaseUserPrivilegeOutput
type DatabaseUserPrivilegeArray ¶
type DatabaseUserPrivilegeArray []DatabaseUserPrivilegeInput
func (DatabaseUserPrivilegeArray) ElementType ¶
func (DatabaseUserPrivilegeArray) ElementType() reflect.Type
func (DatabaseUserPrivilegeArray) ToDatabaseUserPrivilegeArrayOutput ¶
func (i DatabaseUserPrivilegeArray) ToDatabaseUserPrivilegeArrayOutput() DatabaseUserPrivilegeArrayOutput
func (DatabaseUserPrivilegeArray) ToDatabaseUserPrivilegeArrayOutputWithContext ¶
func (i DatabaseUserPrivilegeArray) ToDatabaseUserPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeArrayOutput
type DatabaseUserPrivilegeArrayInput ¶
type DatabaseUserPrivilegeArrayInput interface { pulumi.Input ToDatabaseUserPrivilegeArrayOutput() DatabaseUserPrivilegeArrayOutput ToDatabaseUserPrivilegeArrayOutputWithContext(context.Context) DatabaseUserPrivilegeArrayOutput }
DatabaseUserPrivilegeArrayInput is an input type that accepts DatabaseUserPrivilegeArray and DatabaseUserPrivilegeArrayOutput values. You can construct a concrete instance of `DatabaseUserPrivilegeArrayInput` via:
DatabaseUserPrivilegeArray{ DatabaseUserPrivilegeArgs{...} }
type DatabaseUserPrivilegeArrayOutput ¶
type DatabaseUserPrivilegeArrayOutput struct{ *pulumi.OutputState }
func (DatabaseUserPrivilegeArrayOutput) ElementType ¶
func (DatabaseUserPrivilegeArrayOutput) ElementType() reflect.Type
func (DatabaseUserPrivilegeArrayOutput) Index ¶
func (o DatabaseUserPrivilegeArrayOutput) Index(i pulumi.IntInput) DatabaseUserPrivilegeOutput
func (DatabaseUserPrivilegeArrayOutput) ToDatabaseUserPrivilegeArrayOutput ¶
func (o DatabaseUserPrivilegeArrayOutput) ToDatabaseUserPrivilegeArrayOutput() DatabaseUserPrivilegeArrayOutput
func (DatabaseUserPrivilegeArrayOutput) ToDatabaseUserPrivilegeArrayOutputWithContext ¶
func (o DatabaseUserPrivilegeArrayOutput) ToDatabaseUserPrivilegeArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeArrayOutput
type DatabaseUserPrivilegeInput ¶
type DatabaseUserPrivilegeInput interface { pulumi.Input ToDatabaseUserPrivilegeOutput() DatabaseUserPrivilegeOutput ToDatabaseUserPrivilegeOutputWithContext(context.Context) DatabaseUserPrivilegeOutput }
DatabaseUserPrivilegeInput is an input type that accepts DatabaseUserPrivilegeArgs and DatabaseUserPrivilegeOutput values. You can construct a concrete instance of `DatabaseUserPrivilegeInput` via:
DatabaseUserPrivilegeArgs{...}
type DatabaseUserPrivilegeOutput ¶
type DatabaseUserPrivilegeOutput struct{ *pulumi.OutputState }
func (DatabaseUserPrivilegeOutput) Actions ¶
func (o DatabaseUserPrivilegeOutput) Actions() pulumi.StringArrayOutput
The operation permission list.
func (DatabaseUserPrivilegeOutput) ElementType ¶
func (DatabaseUserPrivilegeOutput) ElementType() reflect.Type
func (DatabaseUserPrivilegeOutput) Resources ¶
func (o DatabaseUserPrivilegeOutput) Resources() DatabaseUserPrivilegeResourceArrayOutput
The details of the resource to which the privilege belongs. The object structure is documented below.
func (DatabaseUserPrivilegeOutput) ToDatabaseUserPrivilegeOutput ¶
func (o DatabaseUserPrivilegeOutput) ToDatabaseUserPrivilegeOutput() DatabaseUserPrivilegeOutput
func (DatabaseUserPrivilegeOutput) ToDatabaseUserPrivilegeOutputWithContext ¶
func (o DatabaseUserPrivilegeOutput) ToDatabaseUserPrivilegeOutputWithContext(ctx context.Context) DatabaseUserPrivilegeOutput
type DatabaseUserPrivilegeResourceArgs ¶
type DatabaseUserPrivilegeResourceArgs struct { // The database collection type. Collection pulumi.StringPtrInput `pulumi:"collection"` // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName pulumi.StringPtrInput `pulumi:"dbName"` }
func (DatabaseUserPrivilegeResourceArgs) ElementType ¶
func (DatabaseUserPrivilegeResourceArgs) ElementType() reflect.Type
func (DatabaseUserPrivilegeResourceArgs) ToDatabaseUserPrivilegeResourceOutput ¶
func (i DatabaseUserPrivilegeResourceArgs) ToDatabaseUserPrivilegeResourceOutput() DatabaseUserPrivilegeResourceOutput
func (DatabaseUserPrivilegeResourceArgs) ToDatabaseUserPrivilegeResourceOutputWithContext ¶
func (i DatabaseUserPrivilegeResourceArgs) ToDatabaseUserPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceOutput
type DatabaseUserPrivilegeResourceArray ¶
type DatabaseUserPrivilegeResourceArray []DatabaseUserPrivilegeResourceInput
func (DatabaseUserPrivilegeResourceArray) ElementType ¶
func (DatabaseUserPrivilegeResourceArray) ElementType() reflect.Type
func (DatabaseUserPrivilegeResourceArray) ToDatabaseUserPrivilegeResourceArrayOutput ¶
func (i DatabaseUserPrivilegeResourceArray) ToDatabaseUserPrivilegeResourceArrayOutput() DatabaseUserPrivilegeResourceArrayOutput
func (DatabaseUserPrivilegeResourceArray) ToDatabaseUserPrivilegeResourceArrayOutputWithContext ¶
func (i DatabaseUserPrivilegeResourceArray) ToDatabaseUserPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceArrayOutput
type DatabaseUserPrivilegeResourceArrayInput ¶
type DatabaseUserPrivilegeResourceArrayInput interface { pulumi.Input ToDatabaseUserPrivilegeResourceArrayOutput() DatabaseUserPrivilegeResourceArrayOutput ToDatabaseUserPrivilegeResourceArrayOutputWithContext(context.Context) DatabaseUserPrivilegeResourceArrayOutput }
DatabaseUserPrivilegeResourceArrayInput is an input type that accepts DatabaseUserPrivilegeResourceArray and DatabaseUserPrivilegeResourceArrayOutput values. You can construct a concrete instance of `DatabaseUserPrivilegeResourceArrayInput` via:
DatabaseUserPrivilegeResourceArray{ DatabaseUserPrivilegeResourceArgs{...} }
type DatabaseUserPrivilegeResourceArrayOutput ¶
type DatabaseUserPrivilegeResourceArrayOutput struct{ *pulumi.OutputState }
func (DatabaseUserPrivilegeResourceArrayOutput) ElementType ¶
func (DatabaseUserPrivilegeResourceArrayOutput) ElementType() reflect.Type
func (DatabaseUserPrivilegeResourceArrayOutput) ToDatabaseUserPrivilegeResourceArrayOutput ¶
func (o DatabaseUserPrivilegeResourceArrayOutput) ToDatabaseUserPrivilegeResourceArrayOutput() DatabaseUserPrivilegeResourceArrayOutput
func (DatabaseUserPrivilegeResourceArrayOutput) ToDatabaseUserPrivilegeResourceArrayOutputWithContext ¶
func (o DatabaseUserPrivilegeResourceArrayOutput) ToDatabaseUserPrivilegeResourceArrayOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceArrayOutput
type DatabaseUserPrivilegeResourceInput ¶
type DatabaseUserPrivilegeResourceInput interface { pulumi.Input ToDatabaseUserPrivilegeResourceOutput() DatabaseUserPrivilegeResourceOutput ToDatabaseUserPrivilegeResourceOutputWithContext(context.Context) DatabaseUserPrivilegeResourceOutput }
DatabaseUserPrivilegeResourceInput is an input type that accepts DatabaseUserPrivilegeResourceArgs and DatabaseUserPrivilegeResourceOutput values. You can construct a concrete instance of `DatabaseUserPrivilegeResourceInput` via:
DatabaseUserPrivilegeResourceArgs{...}
type DatabaseUserPrivilegeResourceOutput ¶
type DatabaseUserPrivilegeResourceOutput struct{ *pulumi.OutputState }
func (DatabaseUserPrivilegeResourceOutput) Collection ¶
func (o DatabaseUserPrivilegeResourceOutput) Collection() pulumi.StringPtrOutput
The database collection type.
func (DatabaseUserPrivilegeResourceOutput) DbName ¶
func (o DatabaseUserPrivilegeResourceOutput) DbName() pulumi.StringPtrOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new user.
func (DatabaseUserPrivilegeResourceOutput) ElementType ¶
func (DatabaseUserPrivilegeResourceOutput) ElementType() reflect.Type
func (DatabaseUserPrivilegeResourceOutput) ToDatabaseUserPrivilegeResourceOutput ¶
func (o DatabaseUserPrivilegeResourceOutput) ToDatabaseUserPrivilegeResourceOutput() DatabaseUserPrivilegeResourceOutput
func (DatabaseUserPrivilegeResourceOutput) ToDatabaseUserPrivilegeResourceOutputWithContext ¶
func (o DatabaseUserPrivilegeResourceOutput) ToDatabaseUserPrivilegeResourceOutputWithContext(ctx context.Context) DatabaseUserPrivilegeResourceOutput
type DatabaseUserRole ¶
type DatabaseUserRole struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName string `pulumi:"dbName"` // Specifies the name of role owned by the current user. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new user. Name string `pulumi:"name"` }
type DatabaseUserRoleArgs ¶
type DatabaseUserRoleArgs struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName pulumi.StringInput `pulumi:"dbName"` // Specifies the name of role owned by the current user. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new user. Name pulumi.StringInput `pulumi:"name"` }
func (DatabaseUserRoleArgs) ElementType ¶
func (DatabaseUserRoleArgs) ElementType() reflect.Type
func (DatabaseUserRoleArgs) ToDatabaseUserRoleOutput ¶
func (i DatabaseUserRoleArgs) ToDatabaseUserRoleOutput() DatabaseUserRoleOutput
func (DatabaseUserRoleArgs) ToDatabaseUserRoleOutputWithContext ¶
func (i DatabaseUserRoleArgs) ToDatabaseUserRoleOutputWithContext(ctx context.Context) DatabaseUserRoleOutput
type DatabaseUserRoleArray ¶
type DatabaseUserRoleArray []DatabaseUserRoleInput
func (DatabaseUserRoleArray) ElementType ¶
func (DatabaseUserRoleArray) ElementType() reflect.Type
func (DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutput ¶
func (i DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput
func (DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutputWithContext ¶
func (i DatabaseUserRoleArray) ToDatabaseUserRoleArrayOutputWithContext(ctx context.Context) DatabaseUserRoleArrayOutput
type DatabaseUserRoleArrayInput ¶
type DatabaseUserRoleArrayInput interface { pulumi.Input ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput ToDatabaseUserRoleArrayOutputWithContext(context.Context) DatabaseUserRoleArrayOutput }
DatabaseUserRoleArrayInput is an input type that accepts DatabaseUserRoleArray and DatabaseUserRoleArrayOutput values. You can construct a concrete instance of `DatabaseUserRoleArrayInput` via:
DatabaseUserRoleArray{ DatabaseUserRoleArgs{...} }
type DatabaseUserRoleArrayOutput ¶
type DatabaseUserRoleArrayOutput struct{ *pulumi.OutputState }
func (DatabaseUserRoleArrayOutput) ElementType ¶
func (DatabaseUserRoleArrayOutput) ElementType() reflect.Type
func (DatabaseUserRoleArrayOutput) Index ¶
func (o DatabaseUserRoleArrayOutput) Index(i pulumi.IntInput) DatabaseUserRoleOutput
func (DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutput ¶
func (o DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutput() DatabaseUserRoleArrayOutput
func (DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutputWithContext ¶
func (o DatabaseUserRoleArrayOutput) ToDatabaseUserRoleArrayOutputWithContext(ctx context.Context) DatabaseUserRoleArrayOutput
type DatabaseUserRoleInput ¶
type DatabaseUserRoleInput interface { pulumi.Input ToDatabaseUserRoleOutput() DatabaseUserRoleOutput ToDatabaseUserRoleOutputWithContext(context.Context) DatabaseUserRoleOutput }
DatabaseUserRoleInput is an input type that accepts DatabaseUserRoleArgs and DatabaseUserRoleOutput values. You can construct a concrete instance of `DatabaseUserRoleInput` via:
DatabaseUserRoleArgs{...}
type DatabaseUserRoleOutput ¶
type DatabaseUserRoleOutput struct{ *pulumi.OutputState }
func (DatabaseUserRoleOutput) DbName ¶
func (o DatabaseUserRoleOutput) DbName() pulumi.StringOutput
Specifies the database name to which this owned role belongs. Changing this parameter will create a new user.
func (DatabaseUserRoleOutput) ElementType ¶
func (DatabaseUserRoleOutput) ElementType() reflect.Type
func (DatabaseUserRoleOutput) Name ¶
func (o DatabaseUserRoleOutput) Name() pulumi.StringOutput
Specifies the name of role owned by the current user. The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are allowed. Changing this parameter will create a new user.
func (DatabaseUserRoleOutput) ToDatabaseUserRoleOutput ¶
func (o DatabaseUserRoleOutput) ToDatabaseUserRoleOutput() DatabaseUserRoleOutput
func (DatabaseUserRoleOutput) ToDatabaseUserRoleOutputWithContext ¶
func (o DatabaseUserRoleOutput) ToDatabaseUserRoleOutputWithContext(ctx context.Context) DatabaseUserRoleOutput
type DatabaseUserState ¶
type DatabaseUserState struct { // Specifies the database name to which this owned role belongs. // Changing this parameter will create a new user. DbName pulumi.StringPtrInput // The list of database privileges owned by the current user, includes all privileges // inherited by owned roles. The object structure is documented below. InheritedPrivileges DatabaseUserInheritedPrivilegeArrayInput // Specifies the DDS instance ID to which the user belongs. // Changing this parameter will create a new user. InstanceId pulumi.StringPtrInput // Specifies the name of role owned by the current user. // The name can contain `1` to `64` characters, only letters, digits, underscores (_), hyphens (-) and dots (.) are // allowed. Changing this parameter will create a new user. Name pulumi.StringPtrInput // Specifies the user password. // The assword content must meet the following conditions: Password pulumi.StringPtrInput // The list of database privileges owned by the current user. // The object structure is documented below. Privileges DatabaseUserPrivilegeArrayInput // Specifies the region where the DDS instance is located. // Changing this parameter will create a new user. Region pulumi.StringPtrInput // Specifies the list of roles owned by the current user. // The object structure is documented below. Changing this parameter will create a new user. Roles DatabaseUserRoleArrayInput }
func (DatabaseUserState) ElementType ¶
func (DatabaseUserState) ElementType() reflect.Type
type GetFlavorsArgs ¶
type GetFlavorsArgs struct { // Specifies the engine name of the dds, "DDS-Community" and "DDS-Enhanced" are // supported. EngineName string `pulumi:"engineName"` // Specifies the ram of the dds flavor in GB. Memory *string `pulumi:"memory"` // Specifies the region in which to obtain the flavors. If omitted, // the provider-level region will be used. Region *string `pulumi:"region"` // Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" // are supported. Type *string `pulumi:"type"` // Specifies the vcpus of the dds flavor. Vcpus *string `pulumi:"vcpus"` }
A collection of arguments for invoking getFlavors.
type GetFlavorsFlavor ¶
type GetFlavorsFlavor struct { // Specifies the ram of the dds flavor in GB. Memory string `pulumi:"memory"` // The name of the dds flavor. SpecCode string `pulumi:"specCode"` // Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" // are supported. Type string `pulumi:"type"` // Specifies the vcpus of the dds flavor. Vcpus string `pulumi:"vcpus"` }
type GetFlavorsFlavorArgs ¶
type GetFlavorsFlavorArgs struct { // Specifies the ram of the dds flavor in GB. Memory pulumi.StringInput `pulumi:"memory"` // The name of the dds flavor. SpecCode pulumi.StringInput `pulumi:"specCode"` // Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" // are supported. Type pulumi.StringInput `pulumi:"type"` // Specifies the vcpus of the dds flavor. Vcpus pulumi.StringInput `pulumi:"vcpus"` }
func (GetFlavorsFlavorArgs) ElementType ¶
func (GetFlavorsFlavorArgs) ElementType() reflect.Type
func (GetFlavorsFlavorArgs) ToGetFlavorsFlavorOutput ¶
func (i GetFlavorsFlavorArgs) ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput
func (GetFlavorsFlavorArgs) ToGetFlavorsFlavorOutputWithContext ¶
func (i GetFlavorsFlavorArgs) ToGetFlavorsFlavorOutputWithContext(ctx context.Context) GetFlavorsFlavorOutput
type GetFlavorsFlavorArray ¶
type GetFlavorsFlavorArray []GetFlavorsFlavorInput
func (GetFlavorsFlavorArray) ElementType ¶
func (GetFlavorsFlavorArray) ElementType() reflect.Type
func (GetFlavorsFlavorArray) ToGetFlavorsFlavorArrayOutput ¶
func (i GetFlavorsFlavorArray) ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput
func (GetFlavorsFlavorArray) ToGetFlavorsFlavorArrayOutputWithContext ¶
func (i GetFlavorsFlavorArray) ToGetFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetFlavorsFlavorArrayOutput
type GetFlavorsFlavorArrayInput ¶
type GetFlavorsFlavorArrayInput interface { pulumi.Input ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput ToGetFlavorsFlavorArrayOutputWithContext(context.Context) GetFlavorsFlavorArrayOutput }
GetFlavorsFlavorArrayInput is an input type that accepts GetFlavorsFlavorArray and GetFlavorsFlavorArrayOutput values. You can construct a concrete instance of `GetFlavorsFlavorArrayInput` via:
GetFlavorsFlavorArray{ GetFlavorsFlavorArgs{...} }
type GetFlavorsFlavorArrayOutput ¶
type GetFlavorsFlavorArrayOutput struct{ *pulumi.OutputState }
func (GetFlavorsFlavorArrayOutput) ElementType ¶
func (GetFlavorsFlavorArrayOutput) ElementType() reflect.Type
func (GetFlavorsFlavorArrayOutput) Index ¶
func (o GetFlavorsFlavorArrayOutput) Index(i pulumi.IntInput) GetFlavorsFlavorOutput
func (GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutput ¶
func (o GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutput() GetFlavorsFlavorArrayOutput
func (GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutputWithContext ¶
func (o GetFlavorsFlavorArrayOutput) ToGetFlavorsFlavorArrayOutputWithContext(ctx context.Context) GetFlavorsFlavorArrayOutput
type GetFlavorsFlavorInput ¶
type GetFlavorsFlavorInput interface { pulumi.Input ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput ToGetFlavorsFlavorOutputWithContext(context.Context) GetFlavorsFlavorOutput }
GetFlavorsFlavorInput is an input type that accepts GetFlavorsFlavorArgs and GetFlavorsFlavorOutput values. You can construct a concrete instance of `GetFlavorsFlavorInput` via:
GetFlavorsFlavorArgs{...}
type GetFlavorsFlavorOutput ¶
type GetFlavorsFlavorOutput struct{ *pulumi.OutputState }
func (GetFlavorsFlavorOutput) ElementType ¶
func (GetFlavorsFlavorOutput) ElementType() reflect.Type
func (GetFlavorsFlavorOutput) Memory ¶
func (o GetFlavorsFlavorOutput) Memory() pulumi.StringOutput
Specifies the ram of the dds flavor in GB.
func (GetFlavorsFlavorOutput) SpecCode ¶
func (o GetFlavorsFlavorOutput) SpecCode() pulumi.StringOutput
The name of the dds flavor.
func (GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutput ¶
func (o GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutput() GetFlavorsFlavorOutput
func (GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutputWithContext ¶
func (o GetFlavorsFlavorOutput) ToGetFlavorsFlavorOutputWithContext(ctx context.Context) GetFlavorsFlavorOutput
func (GetFlavorsFlavorOutput) Type ¶
func (o GetFlavorsFlavorOutput) Type() pulumi.StringOutput
Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" are supported.
func (GetFlavorsFlavorOutput) Vcpus ¶
func (o GetFlavorsFlavorOutput) Vcpus() pulumi.StringOutput
Specifies the vcpus of the dds flavor.
type GetFlavorsOutputArgs ¶
type GetFlavorsOutputArgs struct { // Specifies the engine name of the dds, "DDS-Community" and "DDS-Enhanced" are // supported. EngineName pulumi.StringInput `pulumi:"engineName"` // Specifies the ram of the dds flavor in GB. Memory pulumi.StringPtrInput `pulumi:"memory"` // Specifies the region in which to obtain the flavors. If omitted, // the provider-level region will be used. Region pulumi.StringPtrInput `pulumi:"region"` // Specifies the type of the dds falvor. "mongos", "shard", "config", "replica" and "single" // are supported. Type pulumi.StringPtrInput `pulumi:"type"` // Specifies the vcpus of the dds flavor. Vcpus pulumi.StringPtrInput `pulumi:"vcpus"` }
A collection of arguments for invoking getFlavors.
func (GetFlavorsOutputArgs) ElementType ¶
func (GetFlavorsOutputArgs) ElementType() reflect.Type
type GetFlavorsResult ¶
type GetFlavorsResult struct { EngineName string `pulumi:"engineName"` // Indicates the flavors information. Structure is documented below. Flavors []GetFlavorsFlavor `pulumi:"flavors"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // See `memory` above. Memory *string `pulumi:"memory"` Region string `pulumi:"region"` // See `type` above. Type *string `pulumi:"type"` // See `vcpus` above. Vcpus *string `pulumi:"vcpus"` }
A collection of values returned by getFlavors.
func GetFlavors ¶
func GetFlavors(ctx *pulumi.Context, args *GetFlavorsArgs, opts ...pulumi.InvokeOption) (*GetFlavorsResult, error)
Use this data source to get the details of available DDS flavors.
## Example Usage
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dds.GetFlavors(ctx, &dds.GetFlavorsArgs{ EngineName: "DDS-Community", Vcpus: pulumi.StringRef("8"), }, nil) if err != nil { return err } return nil }) }
```
type GetFlavorsResultOutput ¶
type GetFlavorsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getFlavors.
func GetFlavorsOutput ¶
func GetFlavorsOutput(ctx *pulumi.Context, args GetFlavorsOutputArgs, opts ...pulumi.InvokeOption) GetFlavorsResultOutput
func (GetFlavorsResultOutput) ElementType ¶
func (GetFlavorsResultOutput) ElementType() reflect.Type
func (GetFlavorsResultOutput) EngineName ¶
func (o GetFlavorsResultOutput) EngineName() pulumi.StringOutput
func (GetFlavorsResultOutput) Flavors ¶
func (o GetFlavorsResultOutput) Flavors() GetFlavorsFlavorArrayOutput
Indicates the flavors information. Structure is documented below.
func (GetFlavorsResultOutput) Id ¶
func (o GetFlavorsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetFlavorsResultOutput) Memory ¶
func (o GetFlavorsResultOutput) Memory() pulumi.StringPtrOutput
See `memory` above.
func (GetFlavorsResultOutput) Region ¶
func (o GetFlavorsResultOutput) Region() pulumi.StringOutput
func (GetFlavorsResultOutput) ToGetFlavorsResultOutput ¶
func (o GetFlavorsResultOutput) ToGetFlavorsResultOutput() GetFlavorsResultOutput
func (GetFlavorsResultOutput) ToGetFlavorsResultOutputWithContext ¶
func (o GetFlavorsResultOutput) ToGetFlavorsResultOutputWithContext(ctx context.Context) GetFlavorsResultOutput
func (GetFlavorsResultOutput) Type ¶
func (o GetFlavorsResultOutput) Type() pulumi.StringPtrOutput
See `type` above.
func (GetFlavorsResultOutput) Vcpus ¶
func (o GetFlavorsResultOutput) Vcpus() pulumi.StringPtrOutput
See `vcpus` above.
type Instance ¶
type Instance struct { pulumi.CustomResourceState // Deprecated: Deprecated AutoPay pulumi.StringPtrOutput `pulumi:"autoPay"` // Specifies whether auto-renew is enabled. // Valid values are `true` and `false`, defaults to `false`. // Changing this creates a new instance. AutoRenew pulumi.StringPtrOutput `pulumi:"autoRenew"` // Specifies the ID of the availability zone. Changing this creates a // new instance. AvailabilityZone pulumi.StringOutput `pulumi:"availabilityZone"` // Specifies the advanced backup policy. The structure is described below. BackupStrategy InstanceBackupStrategyOutput `pulumi:"backupStrategy"` // Specifies the charging mode of the instance. // The valid values are as follows: // + `prePaid`: indicates the yearly/monthly billing mode. // + `postPaid`: indicates the pay-per-use billing mode. ChargingMode pulumi.StringOutput `pulumi:"chargingMode"` // Specifies the configuration information. // The structure is described below. Changing this creates a new instance. Configurations InstanceConfigurationArrayOutput `pulumi:"configurations"` // Specifies database information. The structure is described below. Changing // this creates a new instance. Datastore InstanceDatastoreOutput `pulumi:"datastore"` // Indicates the DB Administator name. DbUsername pulumi.StringOutput `pulumi:"dbUsername"` // Specifies the disk encryption ID of the instance. Changing this // creates a new instance. DiskEncryptionId pulumi.StringPtrOutput `pulumi:"diskEncryptionId"` // Specifies the enterprise project id of the dds instance. // Changing this creates a new instance. EnterpriseProjectId pulumi.StringOutput `pulumi:"enterpriseProjectId"` // Specifies the flavors information. The structure is described below. Changing // this creates a new instance. Flavors InstanceFlavorArrayOutput `pulumi:"flavors"` // Specifies the mode of the database instance. **Sharding**, **ReplicaSet**, // **Single** are supported. Changing this creates a new instance. Mode pulumi.StringOutput `pulumi:"mode"` // Specifies the DB instance name. The DB instance name of the same type is unique in the // same tenant. Name pulumi.StringOutput `pulumi:"name"` // Indicates the instance nodes information. Structure is documented below. Nodes InstanceNodeArrayOutput `pulumi:"nodes"` // Specifies the Administrator password of the database instance. Password pulumi.StringOutput `pulumi:"password"` // Specifies the charging period of the instance. // If `periodUnit` is set to *month*, the value ranges from 1 to 9. // If `periodUnit` is set to *year*, the value ranges from 1 to 3. // This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this creates a new instance. Period pulumi.IntPtrOutput `pulumi:"period"` // Specifies the charging period unit of the instance. // Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this creates a new instance. PeriodUnit pulumi.StringPtrOutput `pulumi:"periodUnit"` // Specifies the database access port. The valid values are range from `2100` to `9500` and // `27017`, `27018`, `27019`. Defaults to `8635`. Port pulumi.IntOutput `pulumi:"port"` // Specifies the region of the DDS instance. Changing this creates a new // instance. Region pulumi.StringOutput `pulumi:"region"` // Specifies the security group ID of the DDS instance. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` // Specifies whether to enable or disable SSL. Defaults to true. Ssl pulumi.BoolPtrOutput `pulumi:"ssl"` // Indicates the node status. Status pulumi.StringOutput `pulumi:"status"` // Specifies the subnet Network ID. Changing this creates a new instance. SubnetId pulumi.StringOutput `pulumi:"subnetId"` // The key/value pairs to associate with the DDS instance. Tags pulumi.StringMapOutput `pulumi:"tags"` // Specifies the VPC ID. Changing this creates a new instance. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Manages dds instance resource within HuaweiCloud.
## Example Usage ### Creating A Cluster Community Edition
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dds.NewInstance(ctx, "instance", &Dds.InstanceArgs{ AvailabilityZone: pulumi.String("{{ availability_zone }}"), BackupStrategy: &dds.InstanceBackupStrategyArgs{ KeepDays: pulumi.Int(8), StartTime: pulumi.String("08:00-09:00"), }, Datastore: &dds.InstanceDatastoreArgs{ StorageEngine: pulumi.String("wiredTiger"), Type: pulumi.String("DDS-Community"), Version: pulumi.String("3.4"), }, Flavors: dds.InstanceFlavorArray{ &dds.InstanceFlavorArgs{ Num: pulumi.Int(2), SpecCode: pulumi.String("dds.mongodb.c3.medium.4.mongos"), Type: pulumi.String("mongos"), }, &dds.InstanceFlavorArgs{ Num: pulumi.Int(2), Size: pulumi.Int(20), SpecCode: pulumi.String("dds.mongodb.c3.medium.4.shard"), Storage: pulumi.String("ULTRAHIGH"), Type: pulumi.String("shard"), }, &dds.InstanceFlavorArgs{ Num: pulumi.Int(1), Size: pulumi.Int(20), SpecCode: pulumi.String("dds.mongodb.c3.large.2.config"), Storage: pulumi.String("ULTRAHIGH"), Type: pulumi.String("config"), }, }, Mode: pulumi.String("Sharding"), Password: pulumi.String("Test@123"), SecurityGroupId: pulumi.String("{{ security_group_id }}"), SubnetId: pulumi.String("{{ subnet_network_id }}}"), VpcId: pulumi.String("{{ vpc_id }}"), }) if err != nil { return err } return nil }) }
``` ### Creating A Replica Set Community Edition
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dds.NewInstance(ctx, "instance", &Dds.InstanceArgs{ AvailabilityZone: pulumi.String("{{ availability_zone }}"), Datastore: &dds.InstanceDatastoreArgs{ StorageEngine: pulumi.String("wiredTiger"), Type: pulumi.String("DDS-Community"), Version: pulumi.String("3.4"), }, Flavors: dds.InstanceFlavorArray{ &dds.InstanceFlavorArgs{ Num: pulumi.Int(1), Size: pulumi.Int(30), SpecCode: pulumi.String("dds.mongodb.c3.medium.4.repset"), Storage: pulumi.String("ULTRAHIGH"), Type: pulumi.String("replica"), }, }, Mode: pulumi.String("ReplicaSet"), Password: pulumi.String("Test@123"), SecurityGroupId: pulumi.String("{{ security_group_id }}"), SubnetId: pulumi.String("{{ subnet_network_id }}}"), VpcId: pulumi.String("{{ vpc_id }}"), }) if err != nil { return err } return nil }) }
``` ### Creating A Single Community Edition
```go package main
import (
"github.com/huaweicloud/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi-huaweicloud/sdk/go/huaweicloud/Dds" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dds.NewInstance(ctx, "instance", &Dds.InstanceArgs{ AvailabilityZone: pulumi.String("{{ availability_zone }}"), Datastore: &dds.InstanceDatastoreArgs{ StorageEngine: pulumi.String("wiredTiger"), Type: pulumi.String("DDS-Community"), Version: pulumi.String("3.4"), }, Flavors: dds.InstanceFlavorArray{ &dds.InstanceFlavorArgs{ Num: pulumi.Int(1), Size: pulumi.Int(30), SpecCode: pulumi.String("dds.mongodb.s6.large.2.single"), Storage: pulumi.String("ULTRAHIGH"), Type: pulumi.String("single"), }, }, Mode: pulumi.String("Single"), Password: pulumi.String("Test@123"), SecurityGroupId: pulumi.String("{{ security_group_id }}"), SubnetId: pulumi.String("{{ subnet_network_id }}}"), VpcId: pulumi.String("{{ vpc_id }}"), }) if err != nil { return err } return nil }) }
```
## Import
DDS instance can be imported using the `id`, e.g.
```sh
$ pulumi import huaweicloud:Dds/instance:Instance instance 9c6d6ff2cba3434293fd479571517e16in02
```
Note that the imported state may not be identical to your resource definition, due to some attributes missing from the API response, security or some other reason. The missing attributes include`password`, `availability_zone`, `flavor`, configuration. It is generally recommended running `terraform plan` after importing an instance. You can then decide if changes should be applied to the instance, or the resource definition should be updated to align with the instance. Also you can ignore changes as below. resource "huaweicloud_dds_instance" "instance" { ... lifecycle { ignore_changes = [ password, availability_zone, flavor, configuration, ] } }
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 { // Deprecated: Deprecated AutoPay pulumi.StringPtrInput // Specifies whether auto-renew is enabled. // Valid values are `true` and `false`, defaults to `false`. // Changing this creates a new instance. AutoRenew pulumi.StringPtrInput // Specifies the ID of the availability zone. Changing this creates a // new instance. AvailabilityZone pulumi.StringInput // Specifies the advanced backup policy. The structure is described below. BackupStrategy InstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. // The valid values are as follows: // + `prePaid`: indicates the yearly/monthly billing mode. // + `postPaid`: indicates the pay-per-use billing mode. ChargingMode pulumi.StringPtrInput // Specifies the configuration information. // The structure is described below. Changing this creates a new instance. Configurations InstanceConfigurationArrayInput // Specifies database information. The structure is described below. Changing // this creates a new instance. Datastore InstanceDatastoreInput // Specifies the disk encryption ID of the instance. Changing this // creates a new instance. DiskEncryptionId pulumi.StringPtrInput // Specifies the enterprise project id of the dds instance. // Changing this creates a new instance. EnterpriseProjectId pulumi.StringPtrInput // Specifies the flavors information. The structure is described below. Changing // this creates a new instance. Flavors InstanceFlavorArrayInput // Specifies the mode of the database instance. **Sharding**, **ReplicaSet**, // **Single** are supported. Changing this creates a new instance. Mode pulumi.StringInput // Specifies the DB instance name. The DB instance name of the same type is unique in the // same tenant. Name pulumi.StringPtrInput // Specifies the Administrator password of the database instance. Password pulumi.StringInput // Specifies the charging period of the instance. // If `periodUnit` is set to *month*, the value ranges from 1 to 9. // If `periodUnit` is set to *year*, the value ranges from 1 to 3. // This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this creates a new instance. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this creates a new instance. PeriodUnit pulumi.StringPtrInput // Specifies the database access port. The valid values are range from `2100` to `9500` and // `27017`, `27018`, `27019`. Defaults to `8635`. Port pulumi.IntPtrInput // Specifies the region of the DDS instance. Changing this creates a new // instance. Region pulumi.StringPtrInput // Specifies the security group ID of the DDS instance. SecurityGroupId pulumi.StringInput // Specifies whether to enable or disable SSL. Defaults to true. Ssl pulumi.BoolPtrInput // Specifies the subnet Network ID. Changing this creates a new instance. SubnetId pulumi.StringInput // The key/value pairs to associate with the DDS instance. Tags pulumi.StringMapInput // Specifies the VPC ID. Changing this creates a new instance. VpcId pulumi.StringInput }
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 InstanceBackupStrategy ¶
type InstanceBackupStrategy struct { // Specifies the number of days to retain the generated backup files. The value range is // from 0 to 732. // + If this parameter is set to 0, the automated backup policy is not set. // + If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored // for seven days by default. KeepDays int `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. The value cannot be empty. It must be a valid value in the // "hh:mm-HH:MM" format. The current time is in the UTC format. // + The HH value must be 1 greater than the hh value. // + The values from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45. StartTime string `pulumi:"startTime"` }
type InstanceBackupStrategyArgs ¶
type InstanceBackupStrategyArgs struct { // Specifies the number of days to retain the generated backup files. The value range is // from 0 to 732. // + If this parameter is set to 0, the automated backup policy is not set. // + If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored // for seven days by default. KeepDays pulumi.IntInput `pulumi:"keepDays"` // Specifies the backup time window. Automated backups will be triggered during the // backup time window. The value cannot be empty. It must be a valid value in the // "hh:mm-HH:MM" format. The current time is in the UTC format. // + The HH value must be 1 greater than the hh value. // + The values from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45. StartTime pulumi.StringInput `pulumi:"startTime"` }
func (InstanceBackupStrategyArgs) ElementType ¶
func (InstanceBackupStrategyArgs) ElementType() reflect.Type
func (InstanceBackupStrategyArgs) ToInstanceBackupStrategyOutput ¶
func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyOutput() InstanceBackupStrategyOutput
func (InstanceBackupStrategyArgs) ToInstanceBackupStrategyOutputWithContext ¶
func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyOutputWithContext(ctx context.Context) InstanceBackupStrategyOutput
func (InstanceBackupStrategyArgs) ToInstanceBackupStrategyPtrOutput ¶
func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput
func (InstanceBackupStrategyArgs) ToInstanceBackupStrategyPtrOutputWithContext ¶
func (i InstanceBackupStrategyArgs) ToInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InstanceBackupStrategyPtrOutput
type InstanceBackupStrategyInput ¶
type InstanceBackupStrategyInput interface { pulumi.Input ToInstanceBackupStrategyOutput() InstanceBackupStrategyOutput ToInstanceBackupStrategyOutputWithContext(context.Context) InstanceBackupStrategyOutput }
InstanceBackupStrategyInput is an input type that accepts InstanceBackupStrategyArgs and InstanceBackupStrategyOutput values. You can construct a concrete instance of `InstanceBackupStrategyInput` via:
InstanceBackupStrategyArgs{...}
type InstanceBackupStrategyOutput ¶
type InstanceBackupStrategyOutput struct{ *pulumi.OutputState }
func (InstanceBackupStrategyOutput) ElementType ¶
func (InstanceBackupStrategyOutput) ElementType() reflect.Type
func (InstanceBackupStrategyOutput) KeepDays ¶
func (o InstanceBackupStrategyOutput) KeepDays() pulumi.IntOutput
Specifies the number of days to retain the generated backup files. The value range is from 0 to 732.
- If this parameter is set to 0, the automated backup policy is not set.
- If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (InstanceBackupStrategyOutput) StartTime ¶
func (o InstanceBackupStrategyOutput) StartTime() pulumi.StringOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. The value cannot be empty. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. + The HH value must be 1 greater than the hh value. + The values from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
func (InstanceBackupStrategyOutput) ToInstanceBackupStrategyOutput ¶
func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyOutput() InstanceBackupStrategyOutput
func (InstanceBackupStrategyOutput) ToInstanceBackupStrategyOutputWithContext ¶
func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyOutputWithContext(ctx context.Context) InstanceBackupStrategyOutput
func (InstanceBackupStrategyOutput) ToInstanceBackupStrategyPtrOutput ¶
func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput
func (InstanceBackupStrategyOutput) ToInstanceBackupStrategyPtrOutputWithContext ¶
func (o InstanceBackupStrategyOutput) ToInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InstanceBackupStrategyPtrOutput
type InstanceBackupStrategyPtrInput ¶
type InstanceBackupStrategyPtrInput interface { pulumi.Input ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput ToInstanceBackupStrategyPtrOutputWithContext(context.Context) InstanceBackupStrategyPtrOutput }
InstanceBackupStrategyPtrInput is an input type that accepts InstanceBackupStrategyArgs, InstanceBackupStrategyPtr and InstanceBackupStrategyPtrOutput values. You can construct a concrete instance of `InstanceBackupStrategyPtrInput` via:
InstanceBackupStrategyArgs{...} or: nil
func InstanceBackupStrategyPtr ¶
func InstanceBackupStrategyPtr(v *InstanceBackupStrategyArgs) InstanceBackupStrategyPtrInput
type InstanceBackupStrategyPtrOutput ¶
type InstanceBackupStrategyPtrOutput struct{ *pulumi.OutputState }
func (InstanceBackupStrategyPtrOutput) Elem ¶
func (o InstanceBackupStrategyPtrOutput) Elem() InstanceBackupStrategyOutput
func (InstanceBackupStrategyPtrOutput) ElementType ¶
func (InstanceBackupStrategyPtrOutput) ElementType() reflect.Type
func (InstanceBackupStrategyPtrOutput) KeepDays ¶
func (o InstanceBackupStrategyPtrOutput) KeepDays() pulumi.IntPtrOutput
Specifies the number of days to retain the generated backup files. The value range is from 0 to 732.
- If this parameter is set to 0, the automated backup policy is not set.
- If this parameter is not transferred, the automated backup policy is enabled by default. Backup files are stored for seven days by default.
func (InstanceBackupStrategyPtrOutput) StartTime ¶
func (o InstanceBackupStrategyPtrOutput) StartTime() pulumi.StringPtrOutput
Specifies the backup time window. Automated backups will be triggered during the backup time window. The value cannot be empty. It must be a valid value in the "hh:mm-HH:MM" format. The current time is in the UTC format. + The HH value must be 1 greater than the hh value. + The values from mm and MM must be the same and must be set to any of the following 00, 15, 30, or 45.
func (InstanceBackupStrategyPtrOutput) ToInstanceBackupStrategyPtrOutput ¶
func (o InstanceBackupStrategyPtrOutput) ToInstanceBackupStrategyPtrOutput() InstanceBackupStrategyPtrOutput
func (InstanceBackupStrategyPtrOutput) ToInstanceBackupStrategyPtrOutputWithContext ¶
func (o InstanceBackupStrategyPtrOutput) ToInstanceBackupStrategyPtrOutputWithContext(ctx context.Context) InstanceBackupStrategyPtrOutput
type InstanceConfiguration ¶ added in v0.0.8
type InstanceConfiguration struct { // Specifies the ID of the template. // Changing this creates a new instance. Id string `pulumi:"id"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type string `pulumi:"type"` }
type InstanceConfigurationArgs ¶ added in v0.0.8
type InstanceConfigurationArgs struct { // Specifies the ID of the template. // Changing this creates a new instance. Id pulumi.StringInput `pulumi:"id"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type pulumi.StringInput `pulumi:"type"` }
func (InstanceConfigurationArgs) ElementType ¶ added in v0.0.8
func (InstanceConfigurationArgs) ElementType() reflect.Type
func (InstanceConfigurationArgs) ToInstanceConfigurationOutput ¶ added in v0.0.8
func (i InstanceConfigurationArgs) ToInstanceConfigurationOutput() InstanceConfigurationOutput
func (InstanceConfigurationArgs) ToInstanceConfigurationOutputWithContext ¶ added in v0.0.8
func (i InstanceConfigurationArgs) ToInstanceConfigurationOutputWithContext(ctx context.Context) InstanceConfigurationOutput
type InstanceConfigurationArray ¶ added in v0.0.8
type InstanceConfigurationArray []InstanceConfigurationInput
func (InstanceConfigurationArray) ElementType ¶ added in v0.0.8
func (InstanceConfigurationArray) ElementType() reflect.Type
func (InstanceConfigurationArray) ToInstanceConfigurationArrayOutput ¶ added in v0.0.8
func (i InstanceConfigurationArray) ToInstanceConfigurationArrayOutput() InstanceConfigurationArrayOutput
func (InstanceConfigurationArray) ToInstanceConfigurationArrayOutputWithContext ¶ added in v0.0.8
func (i InstanceConfigurationArray) ToInstanceConfigurationArrayOutputWithContext(ctx context.Context) InstanceConfigurationArrayOutput
type InstanceConfigurationArrayInput ¶ added in v0.0.8
type InstanceConfigurationArrayInput interface { pulumi.Input ToInstanceConfigurationArrayOutput() InstanceConfigurationArrayOutput ToInstanceConfigurationArrayOutputWithContext(context.Context) InstanceConfigurationArrayOutput }
InstanceConfigurationArrayInput is an input type that accepts InstanceConfigurationArray and InstanceConfigurationArrayOutput values. You can construct a concrete instance of `InstanceConfigurationArrayInput` via:
InstanceConfigurationArray{ InstanceConfigurationArgs{...} }
type InstanceConfigurationArrayOutput ¶ added in v0.0.8
type InstanceConfigurationArrayOutput struct{ *pulumi.OutputState }
func (InstanceConfigurationArrayOutput) ElementType ¶ added in v0.0.8
func (InstanceConfigurationArrayOutput) ElementType() reflect.Type
func (InstanceConfigurationArrayOutput) Index ¶ added in v0.0.8
func (o InstanceConfigurationArrayOutput) Index(i pulumi.IntInput) InstanceConfigurationOutput
func (InstanceConfigurationArrayOutput) ToInstanceConfigurationArrayOutput ¶ added in v0.0.8
func (o InstanceConfigurationArrayOutput) ToInstanceConfigurationArrayOutput() InstanceConfigurationArrayOutput
func (InstanceConfigurationArrayOutput) ToInstanceConfigurationArrayOutputWithContext ¶ added in v0.0.8
func (o InstanceConfigurationArrayOutput) ToInstanceConfigurationArrayOutputWithContext(ctx context.Context) InstanceConfigurationArrayOutput
type InstanceConfigurationInput ¶ added in v0.0.8
type InstanceConfigurationInput interface { pulumi.Input ToInstanceConfigurationOutput() InstanceConfigurationOutput ToInstanceConfigurationOutputWithContext(context.Context) InstanceConfigurationOutput }
InstanceConfigurationInput is an input type that accepts InstanceConfigurationArgs and InstanceConfigurationOutput values. You can construct a concrete instance of `InstanceConfigurationInput` via:
InstanceConfigurationArgs{...}
type InstanceConfigurationOutput ¶ added in v0.0.8
type InstanceConfigurationOutput struct{ *pulumi.OutputState }
func (InstanceConfigurationOutput) ElementType ¶ added in v0.0.8
func (InstanceConfigurationOutput) ElementType() reflect.Type
func (InstanceConfigurationOutput) Id ¶ added in v0.0.8
func (o InstanceConfigurationOutput) Id() pulumi.StringOutput
Specifies the ID of the template. Changing this creates a new instance.
func (InstanceConfigurationOutput) ToInstanceConfigurationOutput ¶ added in v0.0.8
func (o InstanceConfigurationOutput) ToInstanceConfigurationOutput() InstanceConfigurationOutput
func (InstanceConfigurationOutput) ToInstanceConfigurationOutputWithContext ¶ added in v0.0.8
func (o InstanceConfigurationOutput) ToInstanceConfigurationOutputWithContext(ctx context.Context) InstanceConfigurationOutput
func (InstanceConfigurationOutput) Type ¶ added in v0.0.8
func (o InstanceConfigurationOutput) Type() pulumi.StringOutput
Specifies the node type. Valid value: + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. + For an Enhanced Edition cluster instance, the value is **shard**. + For a Community Edition replica set instance, the value is **replica**. + For a Community Edition single node instance, the value is **single**.
type InstanceDatastore ¶
type InstanceDatastore struct { // Specifies the storage engine of the DB instance. // If `version` is set to `3.2`, `3.4`, or `4.0`, the value is **wiredTiger**. // If `version` is set to `4.2`, or `4.4`, the value is **rocksDB**. StorageEngine *string `pulumi:"storageEngine"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type string `pulumi:"type"` // Specifies the DB instance version. For the Community Edition, the valid // values are `3.2`, `3.4`, `4.0`, `4.2`, or `4.4`. Version string `pulumi:"version"` }
type InstanceDatastoreArgs ¶
type InstanceDatastoreArgs struct { // Specifies the storage engine of the DB instance. // If `version` is set to `3.2`, `3.4`, or `4.0`, the value is **wiredTiger**. // If `version` is set to `4.2`, or `4.4`, the value is **rocksDB**. StorageEngine pulumi.StringPtrInput `pulumi:"storageEngine"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type pulumi.StringInput `pulumi:"type"` // Specifies the DB instance version. For the Community Edition, the valid // values are `3.2`, `3.4`, `4.0`, `4.2`, or `4.4`. Version pulumi.StringInput `pulumi:"version"` }
func (InstanceDatastoreArgs) ElementType ¶
func (InstanceDatastoreArgs) ElementType() reflect.Type
func (InstanceDatastoreArgs) ToInstanceDatastoreOutput ¶
func (i InstanceDatastoreArgs) ToInstanceDatastoreOutput() InstanceDatastoreOutput
func (InstanceDatastoreArgs) ToInstanceDatastoreOutputWithContext ¶
func (i InstanceDatastoreArgs) ToInstanceDatastoreOutputWithContext(ctx context.Context) InstanceDatastoreOutput
func (InstanceDatastoreArgs) ToInstanceDatastorePtrOutput ¶
func (i InstanceDatastoreArgs) ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput
func (InstanceDatastoreArgs) ToInstanceDatastorePtrOutputWithContext ¶
func (i InstanceDatastoreArgs) ToInstanceDatastorePtrOutputWithContext(ctx context.Context) InstanceDatastorePtrOutput
type InstanceDatastoreInput ¶
type InstanceDatastoreInput interface { pulumi.Input ToInstanceDatastoreOutput() InstanceDatastoreOutput ToInstanceDatastoreOutputWithContext(context.Context) InstanceDatastoreOutput }
InstanceDatastoreInput is an input type that accepts InstanceDatastoreArgs and InstanceDatastoreOutput values. You can construct a concrete instance of `InstanceDatastoreInput` via:
InstanceDatastoreArgs{...}
type InstanceDatastoreOutput ¶
type InstanceDatastoreOutput struct{ *pulumi.OutputState }
func (InstanceDatastoreOutput) ElementType ¶
func (InstanceDatastoreOutput) ElementType() reflect.Type
func (InstanceDatastoreOutput) StorageEngine ¶
func (o InstanceDatastoreOutput) StorageEngine() pulumi.StringPtrOutput
Specifies the storage engine of the DB instance. If `version` is set to `3.2`, `3.4`, or `4.0`, the value is **wiredTiger**. If `version` is set to `4.2`, or `4.4`, the value is **rocksDB**.
func (InstanceDatastoreOutput) ToInstanceDatastoreOutput ¶
func (o InstanceDatastoreOutput) ToInstanceDatastoreOutput() InstanceDatastoreOutput
func (InstanceDatastoreOutput) ToInstanceDatastoreOutputWithContext ¶
func (o InstanceDatastoreOutput) ToInstanceDatastoreOutputWithContext(ctx context.Context) InstanceDatastoreOutput
func (InstanceDatastoreOutput) ToInstanceDatastorePtrOutput ¶
func (o InstanceDatastoreOutput) ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput
func (InstanceDatastoreOutput) ToInstanceDatastorePtrOutputWithContext ¶
func (o InstanceDatastoreOutput) ToInstanceDatastorePtrOutputWithContext(ctx context.Context) InstanceDatastorePtrOutput
func (InstanceDatastoreOutput) Type ¶
func (o InstanceDatastoreOutput) Type() pulumi.StringOutput
Specifies the node type. Valid value: + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. + For an Enhanced Edition cluster instance, the value is **shard**. + For a Community Edition replica set instance, the value is **replica**. + For a Community Edition single node instance, the value is **single**.
func (InstanceDatastoreOutput) Version ¶
func (o InstanceDatastoreOutput) Version() pulumi.StringOutput
Specifies the DB instance version. For the Community Edition, the valid values are `3.2`, `3.4`, `4.0`, `4.2`, or `4.4`.
type InstanceDatastorePtrInput ¶
type InstanceDatastorePtrInput interface { pulumi.Input ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput ToInstanceDatastorePtrOutputWithContext(context.Context) InstanceDatastorePtrOutput }
InstanceDatastorePtrInput is an input type that accepts InstanceDatastoreArgs, InstanceDatastorePtr and InstanceDatastorePtrOutput values. You can construct a concrete instance of `InstanceDatastorePtrInput` via:
InstanceDatastoreArgs{...} or: nil
func InstanceDatastorePtr ¶
func InstanceDatastorePtr(v *InstanceDatastoreArgs) InstanceDatastorePtrInput
type InstanceDatastorePtrOutput ¶
type InstanceDatastorePtrOutput struct{ *pulumi.OutputState }
func (InstanceDatastorePtrOutput) Elem ¶
func (o InstanceDatastorePtrOutput) Elem() InstanceDatastoreOutput
func (InstanceDatastorePtrOutput) ElementType ¶
func (InstanceDatastorePtrOutput) ElementType() reflect.Type
func (InstanceDatastorePtrOutput) StorageEngine ¶
func (o InstanceDatastorePtrOutput) StorageEngine() pulumi.StringPtrOutput
Specifies the storage engine of the DB instance. If `version` is set to `3.2`, `3.4`, or `4.0`, the value is **wiredTiger**. If `version` is set to `4.2`, or `4.4`, the value is **rocksDB**.
func (InstanceDatastorePtrOutput) ToInstanceDatastorePtrOutput ¶
func (o InstanceDatastorePtrOutput) ToInstanceDatastorePtrOutput() InstanceDatastorePtrOutput
func (InstanceDatastorePtrOutput) ToInstanceDatastorePtrOutputWithContext ¶
func (o InstanceDatastorePtrOutput) ToInstanceDatastorePtrOutputWithContext(ctx context.Context) InstanceDatastorePtrOutput
func (InstanceDatastorePtrOutput) Type ¶
func (o InstanceDatastorePtrOutput) Type() pulumi.StringPtrOutput
Specifies the node type. Valid value: + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. + For an Enhanced Edition cluster instance, the value is **shard**. + For a Community Edition replica set instance, the value is **replica**. + For a Community Edition single node instance, the value is **single**.
func (InstanceDatastorePtrOutput) Version ¶
func (o InstanceDatastorePtrOutput) Version() pulumi.StringPtrOutput
Specifies the DB instance version. For the Community Edition, the valid values are `3.2`, `3.4`, `4.0`, `4.2`, or `4.4`.
type InstanceFlavor ¶
type InstanceFlavor struct { // Specifies the node quantity. Valid value: // + In a Community Edition cluster instance,the number of mongos ranges from 2 to 16. // + In a Community Edition cluster instance,the number of shards ranges from 2 to 16. // + In an Enhanced Edition cluster instance, the number of shards ranges from 2 to 12. // + config: the value is 1. // + replica: the value is 1. // + single: The value is 1. This parameter can be updated when the value of `type` is mongos or shard. Num int `pulumi:"num"` // Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter // is mandatory for nodes except mongos and invalid for mongos. This parameter can be updated when the value of `type` is // shard, replica or single. Size *int `pulumi:"size"` // Specifies the resource specification code. In a cluster instance, multiple // specifications need to be specified. All specifications must be of the same series, that is, general-purpose (s6), // enhanced (c3), or enhanced II (c6). For example: // + dds.mongodb.s6.large.4.mongos and dds.mongodb.s6.large.4.config have the same specifications. // + dds.mongodb.s6.large.4.mongos and dds.mongodb.c3.large.4.config are not of the same specifications. This parameter // can be updated when the value of `type` is mongos, shard, replica or single. SpecCode string `pulumi:"specCode"` // Specifies the disk type. // Valid value: **ULTRAHIGH** which indicates the type SSD. Storage *string `pulumi:"storage"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type string `pulumi:"type"` }
type InstanceFlavorArgs ¶
type InstanceFlavorArgs struct { // Specifies the node quantity. Valid value: // + In a Community Edition cluster instance,the number of mongos ranges from 2 to 16. // + In a Community Edition cluster instance,the number of shards ranges from 2 to 16. // + In an Enhanced Edition cluster instance, the number of shards ranges from 2 to 12. // + config: the value is 1. // + replica: the value is 1. // + single: The value is 1. This parameter can be updated when the value of `type` is mongos or shard. Num pulumi.IntInput `pulumi:"num"` // Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter // is mandatory for nodes except mongos and invalid for mongos. This parameter can be updated when the value of `type` is // shard, replica or single. Size pulumi.IntPtrInput `pulumi:"size"` // Specifies the resource specification code. In a cluster instance, multiple // specifications need to be specified. All specifications must be of the same series, that is, general-purpose (s6), // enhanced (c3), or enhanced II (c6). For example: // + dds.mongodb.s6.large.4.mongos and dds.mongodb.s6.large.4.config have the same specifications. // + dds.mongodb.s6.large.4.mongos and dds.mongodb.c3.large.4.config are not of the same specifications. This parameter // can be updated when the value of `type` is mongos, shard, replica or single. SpecCode pulumi.StringInput `pulumi:"specCode"` // Specifies the disk type. // Valid value: **ULTRAHIGH** which indicates the type SSD. Storage pulumi.StringPtrInput `pulumi:"storage"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type pulumi.StringInput `pulumi:"type"` }
func (InstanceFlavorArgs) ElementType ¶
func (InstanceFlavorArgs) ElementType() reflect.Type
func (InstanceFlavorArgs) ToInstanceFlavorOutput ¶
func (i InstanceFlavorArgs) ToInstanceFlavorOutput() InstanceFlavorOutput
func (InstanceFlavorArgs) ToInstanceFlavorOutputWithContext ¶
func (i InstanceFlavorArgs) ToInstanceFlavorOutputWithContext(ctx context.Context) InstanceFlavorOutput
type InstanceFlavorArray ¶
type InstanceFlavorArray []InstanceFlavorInput
func (InstanceFlavorArray) ElementType ¶
func (InstanceFlavorArray) ElementType() reflect.Type
func (InstanceFlavorArray) ToInstanceFlavorArrayOutput ¶
func (i InstanceFlavorArray) ToInstanceFlavorArrayOutput() InstanceFlavorArrayOutput
func (InstanceFlavorArray) ToInstanceFlavorArrayOutputWithContext ¶
func (i InstanceFlavorArray) ToInstanceFlavorArrayOutputWithContext(ctx context.Context) InstanceFlavorArrayOutput
type InstanceFlavorArrayInput ¶
type InstanceFlavorArrayInput interface { pulumi.Input ToInstanceFlavorArrayOutput() InstanceFlavorArrayOutput ToInstanceFlavorArrayOutputWithContext(context.Context) InstanceFlavorArrayOutput }
InstanceFlavorArrayInput is an input type that accepts InstanceFlavorArray and InstanceFlavorArrayOutput values. You can construct a concrete instance of `InstanceFlavorArrayInput` via:
InstanceFlavorArray{ InstanceFlavorArgs{...} }
type InstanceFlavorArrayOutput ¶
type InstanceFlavorArrayOutput struct{ *pulumi.OutputState }
func (InstanceFlavorArrayOutput) ElementType ¶
func (InstanceFlavorArrayOutput) ElementType() reflect.Type
func (InstanceFlavorArrayOutput) Index ¶
func (o InstanceFlavorArrayOutput) Index(i pulumi.IntInput) InstanceFlavorOutput
func (InstanceFlavorArrayOutput) ToInstanceFlavorArrayOutput ¶
func (o InstanceFlavorArrayOutput) ToInstanceFlavorArrayOutput() InstanceFlavorArrayOutput
func (InstanceFlavorArrayOutput) ToInstanceFlavorArrayOutputWithContext ¶
func (o InstanceFlavorArrayOutput) ToInstanceFlavorArrayOutputWithContext(ctx context.Context) InstanceFlavorArrayOutput
type InstanceFlavorInput ¶
type InstanceFlavorInput interface { pulumi.Input ToInstanceFlavorOutput() InstanceFlavorOutput ToInstanceFlavorOutputWithContext(context.Context) InstanceFlavorOutput }
InstanceFlavorInput is an input type that accepts InstanceFlavorArgs and InstanceFlavorOutput values. You can construct a concrete instance of `InstanceFlavorInput` via:
InstanceFlavorArgs{...}
type InstanceFlavorOutput ¶
type InstanceFlavorOutput struct{ *pulumi.OutputState }
func (InstanceFlavorOutput) ElementType ¶
func (InstanceFlavorOutput) ElementType() reflect.Type
func (InstanceFlavorOutput) Num ¶
func (o InstanceFlavorOutput) Num() pulumi.IntOutput
Specifies the node quantity. Valid value: + In a Community Edition cluster instance,the number of mongos ranges from 2 to 16. + In a Community Edition cluster instance,the number of shards ranges from 2 to 16. + In an Enhanced Edition cluster instance, the number of shards ranges from 2 to 12. + config: the value is 1. + replica: the value is 1. + single: The value is 1. This parameter can be updated when the value of `type` is mongos or shard.
func (InstanceFlavorOutput) Size ¶
func (o InstanceFlavorOutput) Size() pulumi.IntPtrOutput
Specifies the disk size. The value must be a multiple of 10. The unit is GB. This parameter is mandatory for nodes except mongos and invalid for mongos. This parameter can be updated when the value of `type` is shard, replica or single.
func (InstanceFlavorOutput) SpecCode ¶
func (o InstanceFlavorOutput) SpecCode() pulumi.StringOutput
Specifies the resource specification code. In a cluster instance, multiple specifications need to be specified. All specifications must be of the same series, that is, general-purpose (s6), enhanced (c3), or enhanced II (c6). For example:
- dds.mongodb.s6.large.4.mongos and dds.mongodb.s6.large.4.config have the same specifications.
- dds.mongodb.s6.large.4.mongos and dds.mongodb.c3.large.4.config are not of the same specifications. This parameter can be updated when the value of `type` is mongos, shard, replica or single.
func (InstanceFlavorOutput) Storage ¶
func (o InstanceFlavorOutput) Storage() pulumi.StringPtrOutput
Specifies the disk type. Valid value: **ULTRAHIGH** which indicates the type SSD.
func (InstanceFlavorOutput) ToInstanceFlavorOutput ¶
func (o InstanceFlavorOutput) ToInstanceFlavorOutput() InstanceFlavorOutput
func (InstanceFlavorOutput) ToInstanceFlavorOutputWithContext ¶
func (o InstanceFlavorOutput) ToInstanceFlavorOutputWithContext(ctx context.Context) InstanceFlavorOutput
func (InstanceFlavorOutput) Type ¶
func (o InstanceFlavorOutput) Type() pulumi.StringOutput
Specifies the node type. Valid value: + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. + For an Enhanced Edition cluster instance, the value is **shard**. + For a Community Edition replica set instance, the value is **replica**. + For a Community Edition single node instance, the value is **single**.
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 InstanceNode ¶
type InstanceNode struct { // Specifies the ID of the template. // Changing this creates a new instance. Id *string `pulumi:"id"` // Specifies the DB instance name. The DB instance name of the same type is unique in the // same tenant. Name *string `pulumi:"name"` // Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set // instances, and single node instances. PrivateIp *string `pulumi:"privateIp"` // Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of // cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances. PublicIp *string `pulumi:"publicIp"` // Indicates the node role. Role *string `pulumi:"role"` // Indicates the node status. Status *string `pulumi:"status"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type *string `pulumi:"type"` }
type InstanceNodeArgs ¶
type InstanceNodeArgs struct { // Specifies the ID of the template. // Changing this creates a new instance. Id pulumi.StringPtrInput `pulumi:"id"` // Specifies the DB instance name. The DB instance name of the same type is unique in the // same tenant. Name pulumi.StringPtrInput `pulumi:"name"` // Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set // instances, and single node instances. PrivateIp pulumi.StringPtrInput `pulumi:"privateIp"` // Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of // cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances. PublicIp pulumi.StringPtrInput `pulumi:"publicIp"` // Indicates the node role. Role pulumi.StringPtrInput `pulumi:"role"` // Indicates the node status. Status pulumi.StringPtrInput `pulumi:"status"` // Specifies the node type. Valid value: // + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. // + For an Enhanced Edition cluster instance, the value is **shard**. // + For a Community Edition replica set instance, the value is **replica**. // + For a Community Edition single node instance, the value is **single**. Type pulumi.StringPtrInput `pulumi:"type"` }
func (InstanceNodeArgs) ElementType ¶
func (InstanceNodeArgs) ElementType() reflect.Type
func (InstanceNodeArgs) ToInstanceNodeOutput ¶
func (i InstanceNodeArgs) ToInstanceNodeOutput() InstanceNodeOutput
func (InstanceNodeArgs) ToInstanceNodeOutputWithContext ¶
func (i InstanceNodeArgs) ToInstanceNodeOutputWithContext(ctx context.Context) InstanceNodeOutput
type InstanceNodeArray ¶
type InstanceNodeArray []InstanceNodeInput
func (InstanceNodeArray) ElementType ¶
func (InstanceNodeArray) ElementType() reflect.Type
func (InstanceNodeArray) ToInstanceNodeArrayOutput ¶
func (i InstanceNodeArray) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput
func (InstanceNodeArray) ToInstanceNodeArrayOutputWithContext ¶
func (i InstanceNodeArray) ToInstanceNodeArrayOutputWithContext(ctx context.Context) InstanceNodeArrayOutput
type InstanceNodeArrayInput ¶
type InstanceNodeArrayInput interface { pulumi.Input ToInstanceNodeArrayOutput() InstanceNodeArrayOutput ToInstanceNodeArrayOutputWithContext(context.Context) InstanceNodeArrayOutput }
InstanceNodeArrayInput is an input type that accepts InstanceNodeArray and InstanceNodeArrayOutput values. You can construct a concrete instance of `InstanceNodeArrayInput` via:
InstanceNodeArray{ InstanceNodeArgs{...} }
type InstanceNodeArrayOutput ¶
type InstanceNodeArrayOutput struct{ *pulumi.OutputState }
func (InstanceNodeArrayOutput) ElementType ¶
func (InstanceNodeArrayOutput) ElementType() reflect.Type
func (InstanceNodeArrayOutput) Index ¶
func (o InstanceNodeArrayOutput) Index(i pulumi.IntInput) InstanceNodeOutput
func (InstanceNodeArrayOutput) ToInstanceNodeArrayOutput ¶
func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutput() InstanceNodeArrayOutput
func (InstanceNodeArrayOutput) ToInstanceNodeArrayOutputWithContext ¶
func (o InstanceNodeArrayOutput) ToInstanceNodeArrayOutputWithContext(ctx context.Context) InstanceNodeArrayOutput
type InstanceNodeInput ¶
type InstanceNodeInput interface { pulumi.Input ToInstanceNodeOutput() InstanceNodeOutput ToInstanceNodeOutputWithContext(context.Context) InstanceNodeOutput }
InstanceNodeInput is an input type that accepts InstanceNodeArgs and InstanceNodeOutput values. You can construct a concrete instance of `InstanceNodeInput` via:
InstanceNodeArgs{...}
type InstanceNodeOutput ¶
type InstanceNodeOutput struct{ *pulumi.OutputState }
func (InstanceNodeOutput) ElementType ¶
func (InstanceNodeOutput) ElementType() reflect.Type
func (InstanceNodeOutput) Id ¶
func (o InstanceNodeOutput) Id() pulumi.StringPtrOutput
Specifies the ID of the template. Changing this creates a new instance.
func (InstanceNodeOutput) Name ¶
func (o InstanceNodeOutput) Name() pulumi.StringPtrOutput
Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
func (InstanceNodeOutput) PrivateIp ¶
func (o InstanceNodeOutput) PrivateIp() pulumi.StringPtrOutput
Indicates the private IP address of a node. This parameter is valid only for mongos nodes, replica set instances, and single node instances.
func (InstanceNodeOutput) PublicIp ¶
func (o InstanceNodeOutput) PublicIp() pulumi.StringPtrOutput
Indicates the EIP that has been bound on a node. This parameter is valid only for mongos nodes of cluster instances, primary nodes and secondary nodes of replica set instances, and single node instances.
func (InstanceNodeOutput) Role ¶
func (o InstanceNodeOutput) Role() pulumi.StringPtrOutput
Indicates the node role.
func (InstanceNodeOutput) Status ¶
func (o InstanceNodeOutput) Status() pulumi.StringPtrOutput
Indicates the node status.
func (InstanceNodeOutput) ToInstanceNodeOutput ¶
func (o InstanceNodeOutput) ToInstanceNodeOutput() InstanceNodeOutput
func (InstanceNodeOutput) ToInstanceNodeOutputWithContext ¶
func (o InstanceNodeOutput) ToInstanceNodeOutputWithContext(ctx context.Context) InstanceNodeOutput
func (InstanceNodeOutput) Type ¶
func (o InstanceNodeOutput) Type() pulumi.StringPtrOutput
Specifies the node type. Valid value: + For a Community Edition cluster instance, the value can be **mongos**, **shard**, or **config**. + For an Enhanced Edition cluster instance, the value is **shard**. + For a Community Edition replica set instance, the value is **replica**. + For a Community Edition single node instance, the value is **single**.
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AutoPay
deprecated
func (o InstanceOutput) AutoPay() pulumi.StringPtrOutput
Deprecated: Deprecated
func (InstanceOutput) AutoRenew ¶
func (o InstanceOutput) AutoRenew() pulumi.StringPtrOutput
Specifies whether auto-renew is enabled. Valid values are `true` and `false`, defaults to `false`. Changing this creates a new instance.
func (InstanceOutput) AvailabilityZone ¶
func (o InstanceOutput) AvailabilityZone() pulumi.StringOutput
Specifies the ID of the availability zone. Changing this creates a new instance.
func (InstanceOutput) BackupStrategy ¶
func (o InstanceOutput) BackupStrategy() InstanceBackupStrategyOutput
Specifies the advanced backup policy. The structure is described below.
func (InstanceOutput) ChargingMode ¶
func (o InstanceOutput) ChargingMode() pulumi.StringOutput
Specifies the charging mode of the instance. The valid values are as follows: + `prePaid`: indicates the yearly/monthly billing mode. + `postPaid`: indicates the pay-per-use billing mode.
func (InstanceOutput) Configurations ¶ added in v0.0.8
func (o InstanceOutput) Configurations() InstanceConfigurationArrayOutput
Specifies the configuration information. The structure is described below. Changing this creates a new instance.
func (InstanceOutput) Datastore ¶
func (o InstanceOutput) Datastore() InstanceDatastoreOutput
Specifies database information. The structure is described below. Changing this creates a new instance.
func (InstanceOutput) DbUsername ¶
func (o InstanceOutput) DbUsername() pulumi.StringOutput
Indicates the DB Administator name.
func (InstanceOutput) DiskEncryptionId ¶
func (o InstanceOutput) DiskEncryptionId() pulumi.StringPtrOutput
Specifies the disk encryption ID of the instance. Changing this creates a new instance.
func (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) EnterpriseProjectId ¶
func (o InstanceOutput) EnterpriseProjectId() pulumi.StringOutput
Specifies the enterprise project id of the dds instance. Changing this creates a new instance.
func (InstanceOutput) Flavors ¶
func (o InstanceOutput) Flavors() InstanceFlavorArrayOutput
Specifies the flavors information. The structure is described below. Changing this creates a new instance.
func (InstanceOutput) Mode ¶
func (o InstanceOutput) Mode() pulumi.StringOutput
Specifies the mode of the database instance. **Sharding**, **ReplicaSet**, **Single** are supported. Changing this creates a new instance.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
Specifies the DB instance name. The DB instance name of the same type is unique in the same tenant.
func (InstanceOutput) Nodes ¶
func (o InstanceOutput) Nodes() InstanceNodeArrayOutput
Indicates the instance nodes information. Structure is documented below.
func (InstanceOutput) Password ¶
func (o InstanceOutput) Password() pulumi.StringOutput
Specifies the Administrator password of the database instance.
func (InstanceOutput) Period ¶
func (o InstanceOutput) Period() pulumi.IntPtrOutput
Specifies the charging period of the instance. If `periodUnit` is set to *month*, the value ranges from 1 to 9. If `periodUnit` is set to *year*, the value ranges from 1 to 3. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this creates a new instance.
func (InstanceOutput) PeriodUnit ¶
func (o InstanceOutput) PeriodUnit() pulumi.StringPtrOutput
Specifies the charging period unit of the instance. Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. Changing this creates a new instance.
func (InstanceOutput) Port ¶
func (o InstanceOutput) Port() pulumi.IntOutput
Specifies the database access port. The valid values are range from `2100` to `9500` and `27017`, `27018`, `27019`. Defaults to `8635`.
func (InstanceOutput) Region ¶
func (o InstanceOutput) Region() pulumi.StringOutput
Specifies the region of the DDS instance. Changing this creates a new instance.
func (InstanceOutput) SecurityGroupId ¶
func (o InstanceOutput) SecurityGroupId() pulumi.StringOutput
Specifies the security group ID of the DDS instance.
func (InstanceOutput) Ssl ¶
func (o InstanceOutput) Ssl() pulumi.BoolPtrOutput
Specifies whether to enable or disable SSL. Defaults to true.
func (InstanceOutput) Status ¶
func (o InstanceOutput) Status() pulumi.StringOutput
Indicates the node status.
func (InstanceOutput) SubnetId ¶
func (o InstanceOutput) SubnetId() pulumi.StringOutput
Specifies the subnet Network ID. Changing this creates a new instance.
func (InstanceOutput) Tags ¶
func (o InstanceOutput) Tags() pulumi.StringMapOutput
The key/value pairs to associate with the DDS instance.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) VpcId ¶
func (o InstanceOutput) VpcId() pulumi.StringOutput
Specifies the VPC ID. Changing this creates a new instance.
type InstanceState ¶
type InstanceState struct { // Deprecated: Deprecated AutoPay pulumi.StringPtrInput // Specifies whether auto-renew is enabled. // Valid values are `true` and `false`, defaults to `false`. // Changing this creates a new instance. AutoRenew pulumi.StringPtrInput // Specifies the ID of the availability zone. Changing this creates a // new instance. AvailabilityZone pulumi.StringPtrInput // Specifies the advanced backup policy. The structure is described below. BackupStrategy InstanceBackupStrategyPtrInput // Specifies the charging mode of the instance. // The valid values are as follows: // + `prePaid`: indicates the yearly/monthly billing mode. // + `postPaid`: indicates the pay-per-use billing mode. ChargingMode pulumi.StringPtrInput // Specifies the configuration information. // The structure is described below. Changing this creates a new instance. Configurations InstanceConfigurationArrayInput // Specifies database information. The structure is described below. Changing // this creates a new instance. Datastore InstanceDatastorePtrInput // Indicates the DB Administator name. DbUsername pulumi.StringPtrInput // Specifies the disk encryption ID of the instance. Changing this // creates a new instance. DiskEncryptionId pulumi.StringPtrInput // Specifies the enterprise project id of the dds instance. // Changing this creates a new instance. EnterpriseProjectId pulumi.StringPtrInput // Specifies the flavors information. The structure is described below. Changing // this creates a new instance. Flavors InstanceFlavorArrayInput // Specifies the mode of the database instance. **Sharding**, **ReplicaSet**, // **Single** are supported. Changing this creates a new instance. Mode pulumi.StringPtrInput // Specifies the DB instance name. The DB instance name of the same type is unique in the // same tenant. Name pulumi.StringPtrInput // Indicates the instance nodes information. Structure is documented below. Nodes InstanceNodeArrayInput // Specifies the Administrator password of the database instance. Password pulumi.StringPtrInput // Specifies the charging period of the instance. // If `periodUnit` is set to *month*, the value ranges from 1 to 9. // If `periodUnit` is set to *year*, the value ranges from 1 to 3. // This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this creates a new instance. Period pulumi.IntPtrInput // Specifies the charging period unit of the instance. // Valid values are *month* and *year*. This parameter is mandatory if `chargingMode` is set to *prePaid*. // Changing this creates a new instance. PeriodUnit pulumi.StringPtrInput // Specifies the database access port. The valid values are range from `2100` to `9500` and // `27017`, `27018`, `27019`. Defaults to `8635`. Port pulumi.IntPtrInput // Specifies the region of the DDS instance. Changing this creates a new // instance. Region pulumi.StringPtrInput // Specifies the security group ID of the DDS instance. SecurityGroupId pulumi.StringPtrInput // Specifies whether to enable or disable SSL. Defaults to true. Ssl pulumi.BoolPtrInput // Indicates the node status. Status pulumi.StringPtrInput // Specifies the subnet Network ID. Changing this creates a new instance. SubnetId pulumi.StringPtrInput // The key/value pairs to associate with the DDS instance. Tags pulumi.StringMapInput // Specifies the VPC ID. Changing this creates a new instance. VpcId pulumi.StringPtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type