Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type Account
- type AccountArgs
- type AccountArray
- type AccountArrayInput
- type AccountArrayOutput
- type AccountInput
- type AccountMap
- type AccountMapInput
- type AccountMapOutput
- type AccountOutput
- func (o AccountOutput) Description() pulumi.StringPtrOutput
- func (AccountOutput) ElementType() reflect.Type
- func (o AccountOutput) Host() pulumi.StringOutput
- func (o AccountOutput) InstanceId() pulumi.StringOutput
- func (o AccountOutput) MaxUserConnections() pulumi.IntPtrOutput
- func (o AccountOutput) Password() pulumi.StringOutput
- func (o AccountOutput) ReadOnly() pulumi.IntPtrOutput
- func (o AccountOutput) ToAccountOutput() AccountOutput
- func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
- func (o AccountOutput) UserName() pulumi.StringOutput
- type AccountPrivileges
- type AccountPrivilegesAccount
- type AccountPrivilegesAccountArgs
- func (AccountPrivilegesAccountArgs) ElementType() reflect.Type
- func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput
- func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutputWithContext(ctx context.Context) AccountPrivilegesAccountOutput
- func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
- func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput
- type AccountPrivilegesAccountInput
- type AccountPrivilegesAccountOutput
- func (AccountPrivilegesAccountOutput) ElementType() reflect.Type
- func (o AccountPrivilegesAccountOutput) Host() pulumi.StringOutput
- func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput
- func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutputWithContext(ctx context.Context) AccountPrivilegesAccountOutput
- func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
- func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput
- func (o AccountPrivilegesAccountOutput) User() pulumi.StringOutput
- type AccountPrivilegesAccountPtrInput
- type AccountPrivilegesAccountPtrOutput
- func (o AccountPrivilegesAccountPtrOutput) Elem() AccountPrivilegesAccountOutput
- func (AccountPrivilegesAccountPtrOutput) ElementType() reflect.Type
- func (o AccountPrivilegesAccountPtrOutput) Host() pulumi.StringPtrOutput
- func (o AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
- func (o AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput
- func (o AccountPrivilegesAccountPtrOutput) User() pulumi.StringPtrOutput
- type AccountPrivilegesArgs
- type AccountPrivilegesArray
- type AccountPrivilegesArrayInput
- type AccountPrivilegesArrayOutput
- func (AccountPrivilegesArrayOutput) ElementType() reflect.Type
- func (o AccountPrivilegesArrayOutput) Index(i pulumi.IntInput) AccountPrivilegesOutput
- func (o AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput
- func (o AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutputWithContext(ctx context.Context) AccountPrivilegesArrayOutput
- type AccountPrivilegesColumnPrivileges
- type AccountPrivilegesColumnPrivilegesArgs
- func (AccountPrivilegesColumnPrivilegesArgs) ElementType() reflect.Type
- func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput
- func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesOutput
- func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
- func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
- type AccountPrivilegesColumnPrivilegesInput
- type AccountPrivilegesColumnPrivilegesOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) Column() pulumi.StringOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) Database() pulumi.StringOutput
- func (AccountPrivilegesColumnPrivilegesOutput) ElementType() reflect.Type
- func (o AccountPrivilegesColumnPrivilegesOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) Table() pulumi.StringOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
- func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
- type AccountPrivilegesColumnPrivilegesPtrInput
- type AccountPrivilegesColumnPrivilegesPtrOutput
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) Column() pulumi.StringPtrOutput
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) Database() pulumi.StringPtrOutput
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) Elem() AccountPrivilegesColumnPrivilegesOutput
- func (AccountPrivilegesColumnPrivilegesPtrOutput) ElementType() reflect.Type
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) Table() pulumi.StringPtrOutput
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
- func (o AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
- type AccountPrivilegesDatabasePrivileges
- type AccountPrivilegesDatabasePrivilegesArgs
- func (AccountPrivilegesDatabasePrivilegesArgs) ElementType() reflect.Type
- func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput
- func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesOutput
- func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
- func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
- type AccountPrivilegesDatabasePrivilegesInput
- type AccountPrivilegesDatabasePrivilegesOutput
- func (o AccountPrivilegesDatabasePrivilegesOutput) Database() pulumi.StringOutput
- func (AccountPrivilegesDatabasePrivilegesOutput) ElementType() reflect.Type
- func (o AccountPrivilegesDatabasePrivilegesOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput
- func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesOutput
- func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
- func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
- type AccountPrivilegesDatabasePrivilegesPtrInput
- type AccountPrivilegesDatabasePrivilegesPtrOutput
- func (o AccountPrivilegesDatabasePrivilegesPtrOutput) Database() pulumi.StringPtrOutput
- func (o AccountPrivilegesDatabasePrivilegesPtrOutput) Elem() AccountPrivilegesDatabasePrivilegesOutput
- func (AccountPrivilegesDatabasePrivilegesPtrOutput) ElementType() reflect.Type
- func (o AccountPrivilegesDatabasePrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
- func (o AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
- type AccountPrivilegesInput
- type AccountPrivilegesMap
- type AccountPrivilegesMapInput
- type AccountPrivilegesMapOutput
- func (AccountPrivilegesMapOutput) ElementType() reflect.Type
- func (o AccountPrivilegesMapOutput) MapIndex(k pulumi.StringInput) AccountPrivilegesOutput
- func (o AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput
- func (o AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutputWithContext(ctx context.Context) AccountPrivilegesMapOutput
- type AccountPrivilegesOutput
- func (o AccountPrivilegesOutput) Account() AccountPrivilegesAccountOutput
- func (o AccountPrivilegesOutput) ColumnPrivileges() AccountPrivilegesColumnPrivilegesPtrOutput
- func (o AccountPrivilegesOutput) DatabasePrivileges() AccountPrivilegesDatabasePrivilegesPtrOutput
- func (AccountPrivilegesOutput) ElementType() reflect.Type
- func (o AccountPrivilegesOutput) GlobalPrivileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesOutput) InstanceId() pulumi.StringOutput
- func (o AccountPrivilegesOutput) TablePrivileges() AccountPrivilegesTablePrivilegesPtrOutput
- func (o AccountPrivilegesOutput) ToAccountPrivilegesOutput() AccountPrivilegesOutput
- func (o AccountPrivilegesOutput) ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput
- func (o AccountPrivilegesOutput) ViewPrivileges() AccountPrivilegesViewPrivilegesPtrOutput
- type AccountPrivilegesState
- type AccountPrivilegesTablePrivileges
- type AccountPrivilegesTablePrivilegesArgs
- func (AccountPrivilegesTablePrivilegesArgs) ElementType() reflect.Type
- func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput
- func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesOutput
- func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
- func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput
- type AccountPrivilegesTablePrivilegesInput
- type AccountPrivilegesTablePrivilegesOutput
- func (o AccountPrivilegesTablePrivilegesOutput) Database() pulumi.StringOutput
- func (AccountPrivilegesTablePrivilegesOutput) ElementType() reflect.Type
- func (o AccountPrivilegesTablePrivilegesOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesTablePrivilegesOutput) Table() pulumi.StringOutput
- func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput
- func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesOutput
- func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
- func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput
- type AccountPrivilegesTablePrivilegesPtrInput
- type AccountPrivilegesTablePrivilegesPtrOutput
- func (o AccountPrivilegesTablePrivilegesPtrOutput) Database() pulumi.StringPtrOutput
- func (o AccountPrivilegesTablePrivilegesPtrOutput) Elem() AccountPrivilegesTablePrivilegesOutput
- func (AccountPrivilegesTablePrivilegesPtrOutput) ElementType() reflect.Type
- func (o AccountPrivilegesTablePrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesTablePrivilegesPtrOutput) Table() pulumi.StringPtrOutput
- func (o AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
- func (o AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput
- type AccountPrivilegesViewPrivileges
- type AccountPrivilegesViewPrivilegesArgs
- func (AccountPrivilegesViewPrivilegesArgs) ElementType() reflect.Type
- func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput
- func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesOutput
- func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
- func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput
- type AccountPrivilegesViewPrivilegesInput
- type AccountPrivilegesViewPrivilegesOutput
- func (o AccountPrivilegesViewPrivilegesOutput) Database() pulumi.StringOutput
- func (AccountPrivilegesViewPrivilegesOutput) ElementType() reflect.Type
- func (o AccountPrivilegesViewPrivilegesOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput
- func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesOutput
- func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
- func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput
- func (o AccountPrivilegesViewPrivilegesOutput) View() pulumi.StringOutput
- type AccountPrivilegesViewPrivilegesPtrInput
- type AccountPrivilegesViewPrivilegesPtrOutput
- func (o AccountPrivilegesViewPrivilegesPtrOutput) Database() pulumi.StringPtrOutput
- func (o AccountPrivilegesViewPrivilegesPtrOutput) Elem() AccountPrivilegesViewPrivilegesOutput
- func (AccountPrivilegesViewPrivilegesPtrOutput) ElementType() reflect.Type
- func (o AccountPrivilegesViewPrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
- func (o AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
- func (o AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput
- func (o AccountPrivilegesViewPrivilegesPtrOutput) View() pulumi.StringPtrOutput
- type AccountState
- type DbInstance
- type DbInstanceArgs
- type DbInstanceArray
- type DbInstanceArrayInput
- type DbInstanceArrayOutput
- func (DbInstanceArrayOutput) ElementType() reflect.Type
- func (o DbInstanceArrayOutput) Index(i pulumi.IntInput) DbInstanceOutput
- func (o DbInstanceArrayOutput) ToDbInstanceArrayOutput() DbInstanceArrayOutput
- func (o DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput
- type DbInstanceInitParam
- type DbInstanceInitParamArgs
- type DbInstanceInitParamArray
- type DbInstanceInitParamArrayInput
- type DbInstanceInitParamArrayOutput
- func (DbInstanceInitParamArrayOutput) ElementType() reflect.Type
- func (o DbInstanceInitParamArrayOutput) Index(i pulumi.IntInput) DbInstanceInitParamOutput
- func (o DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput
- func (o DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutputWithContext(ctx context.Context) DbInstanceInitParamArrayOutput
- type DbInstanceInitParamInput
- type DbInstanceInitParamOutput
- func (DbInstanceInitParamOutput) ElementType() reflect.Type
- func (o DbInstanceInitParamOutput) Param() pulumi.StringOutput
- func (o DbInstanceInitParamOutput) ToDbInstanceInitParamOutput() DbInstanceInitParamOutput
- func (o DbInstanceInitParamOutput) ToDbInstanceInitParamOutputWithContext(ctx context.Context) DbInstanceInitParamOutput
- func (o DbInstanceInitParamOutput) Value() pulumi.StringOutput
- type DbInstanceInput
- type DbInstanceMap
- type DbInstanceMapInput
- type DbInstanceMapOutput
- func (DbInstanceMapOutput) ElementType() reflect.Type
- func (o DbInstanceMapOutput) MapIndex(k pulumi.StringInput) DbInstanceOutput
- func (o DbInstanceMapOutput) ToDbInstanceMapOutput() DbInstanceMapOutput
- func (o DbInstanceMapOutput) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput
- type DbInstanceOutput
- func (o DbInstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput
- func (o DbInstanceOutput) AutoVoucher() pulumi.BoolPtrOutput
- func (o DbInstanceOutput) DbVersionId() pulumi.StringPtrOutput
- func (o DbInstanceOutput) DcnInstanceId() pulumi.StringPtrOutput
- func (o DbInstanceOutput) DcnRegion() pulumi.StringPtrOutput
- func (DbInstanceOutput) ElementType() reflect.Type
- func (o DbInstanceOutput) InitParams() DbInstanceInitParamArrayOutput
- func (o DbInstanceOutput) InstanceName() pulumi.StringPtrOutput
- func (o DbInstanceOutput) Ipv6Flag() pulumi.IntPtrOutput
- func (o DbInstanceOutput) Period() pulumi.IntOutput
- func (o DbInstanceOutput) ProjectId() pulumi.IntPtrOutput
- func (o DbInstanceOutput) ResourceTags() DbInstanceResourceTagArrayOutput
- func (o DbInstanceOutput) SecurityGroupIds() pulumi.StringArrayOutput
- func (o DbInstanceOutput) ShardCount() pulumi.IntOutput
- func (o DbInstanceOutput) ShardMemory() pulumi.IntOutput
- func (o DbInstanceOutput) ShardNodeCount() pulumi.IntOutput
- func (o DbInstanceOutput) ShardStorage() pulumi.IntOutput
- func (o DbInstanceOutput) SubnetId() pulumi.StringPtrOutput
- func (o DbInstanceOutput) ToDbInstanceOutput() DbInstanceOutput
- func (o DbInstanceOutput) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
- func (o DbInstanceOutput) VoucherIds() pulumi.StringArrayOutput
- func (o DbInstanceOutput) VpcId() pulumi.StringPtrOutput
- func (o DbInstanceOutput) Zones() pulumi.StringArrayOutput
- type DbInstanceResourceTag
- type DbInstanceResourceTagArgs
- type DbInstanceResourceTagArray
- func (DbInstanceResourceTagArray) ElementType() reflect.Type
- func (i DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput
- func (i DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutputWithContext(ctx context.Context) DbInstanceResourceTagArrayOutput
- type DbInstanceResourceTagArrayInput
- type DbInstanceResourceTagArrayOutput
- func (DbInstanceResourceTagArrayOutput) ElementType() reflect.Type
- func (o DbInstanceResourceTagArrayOutput) Index(i pulumi.IntInput) DbInstanceResourceTagOutput
- func (o DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput
- func (o DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutputWithContext(ctx context.Context) DbInstanceResourceTagArrayOutput
- type DbInstanceResourceTagInput
- type DbInstanceResourceTagOutput
- func (DbInstanceResourceTagOutput) ElementType() reflect.Type
- func (o DbInstanceResourceTagOutput) TagKey() pulumi.StringOutput
- func (o DbInstanceResourceTagOutput) TagValue() pulumi.StringOutput
- func (o DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput
- func (o DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutputWithContext(ctx context.Context) DbInstanceResourceTagOutput
- type DbInstanceState
- type DbParameters
- type DbParametersArgs
- type DbParametersArray
- type DbParametersArrayInput
- type DbParametersArrayOutput
- func (DbParametersArrayOutput) ElementType() reflect.Type
- func (o DbParametersArrayOutput) Index(i pulumi.IntInput) DbParametersOutput
- func (o DbParametersArrayOutput) ToDbParametersArrayOutput() DbParametersArrayOutput
- func (o DbParametersArrayOutput) ToDbParametersArrayOutputWithContext(ctx context.Context) DbParametersArrayOutput
- type DbParametersInput
- type DbParametersMap
- type DbParametersMapInput
- type DbParametersMapOutput
- func (DbParametersMapOutput) ElementType() reflect.Type
- func (o DbParametersMapOutput) MapIndex(k pulumi.StringInput) DbParametersOutput
- func (o DbParametersMapOutput) ToDbParametersMapOutput() DbParametersMapOutput
- func (o DbParametersMapOutput) ToDbParametersMapOutputWithContext(ctx context.Context) DbParametersMapOutput
- type DbParametersOutput
- func (DbParametersOutput) ElementType() reflect.Type
- func (o DbParametersOutput) InstanceId() pulumi.StringOutput
- func (o DbParametersOutput) Params() DbParametersParamsOutput
- func (o DbParametersOutput) ToDbParametersOutput() DbParametersOutput
- func (o DbParametersOutput) ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput
- type DbParametersParams
- type DbParametersParamsArgs
- func (DbParametersParamsArgs) ElementType() reflect.Type
- func (i DbParametersParamsArgs) ToDbParametersParamsOutput() DbParametersParamsOutput
- func (i DbParametersParamsArgs) ToDbParametersParamsOutputWithContext(ctx context.Context) DbParametersParamsOutput
- func (i DbParametersParamsArgs) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
- func (i DbParametersParamsArgs) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput
- type DbParametersParamsInput
- type DbParametersParamsOutput
- func (DbParametersParamsOutput) ElementType() reflect.Type
- func (o DbParametersParamsOutput) Param() pulumi.StringOutput
- func (o DbParametersParamsOutput) ToDbParametersParamsOutput() DbParametersParamsOutput
- func (o DbParametersParamsOutput) ToDbParametersParamsOutputWithContext(ctx context.Context) DbParametersParamsOutput
- func (o DbParametersParamsOutput) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
- func (o DbParametersParamsOutput) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput
- func (o DbParametersParamsOutput) Value() pulumi.StringOutput
- type DbParametersParamsPtrInput
- type DbParametersParamsPtrOutput
- func (o DbParametersParamsPtrOutput) Elem() DbParametersParamsOutput
- func (DbParametersParamsPtrOutput) ElementType() reflect.Type
- func (o DbParametersParamsPtrOutput) Param() pulumi.StringPtrOutput
- func (o DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
- func (o DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput
- func (o DbParametersParamsPtrOutput) Value() pulumi.StringPtrOutput
- type DbParametersState
- type GetAccountsArgs
- type GetAccountsList
- type GetAccountsListArgs
- type GetAccountsListArray
- type GetAccountsListArrayInput
- type GetAccountsListArrayOutput
- func (GetAccountsListArrayOutput) ElementType() reflect.Type
- func (o GetAccountsListArrayOutput) Index(i pulumi.IntInput) GetAccountsListOutput
- func (o GetAccountsListArrayOutput) ToGetAccountsListArrayOutput() GetAccountsListArrayOutput
- func (o GetAccountsListArrayOutput) ToGetAccountsListArrayOutputWithContext(ctx context.Context) GetAccountsListArrayOutput
- type GetAccountsListInput
- type GetAccountsListOutput
- func (o GetAccountsListOutput) CreateTime() pulumi.StringOutput
- func (o GetAccountsListOutput) DelayThresh() pulumi.IntOutput
- func (o GetAccountsListOutput) Description() pulumi.StringOutput
- func (GetAccountsListOutput) ElementType() reflect.Type
- func (o GetAccountsListOutput) Host() pulumi.StringOutput
- func (o GetAccountsListOutput) ReadOnly() pulumi.IntOutput
- func (o GetAccountsListOutput) SlaveConst() pulumi.IntOutput
- func (o GetAccountsListOutput) ToGetAccountsListOutput() GetAccountsListOutput
- func (o GetAccountsListOutput) ToGetAccountsListOutputWithContext(ctx context.Context) GetAccountsListOutput
- func (o GetAccountsListOutput) UpdateTime() pulumi.StringOutput
- func (o GetAccountsListOutput) UserName() pulumi.StringOutput
- type GetAccountsOutputArgs
- type GetAccountsResult
- type GetAccountsResultOutput
- func (GetAccountsResultOutput) ElementType() reflect.Type
- func (o GetAccountsResultOutput) Id() pulumi.StringOutput
- func (o GetAccountsResultOutput) InstanceId() pulumi.StringOutput
- func (o GetAccountsResultOutput) Lists() GetAccountsListArrayOutput
- func (o GetAccountsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetAccountsResultOutput) ToGetAccountsResultOutput() GetAccountsResultOutput
- func (o GetAccountsResultOutput) ToGetAccountsResultOutputWithContext(ctx context.Context) GetAccountsResultOutput
- type GetDatabaseObjectsArgs
- type GetDatabaseObjectsFunc
- type GetDatabaseObjectsFuncArgs
- type GetDatabaseObjectsFuncArray
- func (GetDatabaseObjectsFuncArray) ElementType() reflect.Type
- func (i GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput
- func (i GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncArrayOutput
- type GetDatabaseObjectsFuncArrayInput
- type GetDatabaseObjectsFuncArrayOutput
- func (GetDatabaseObjectsFuncArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsFuncArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsFuncOutput
- func (o GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput
- func (o GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncArrayOutput
- type GetDatabaseObjectsFuncInput
- type GetDatabaseObjectsFuncOutput
- func (GetDatabaseObjectsFuncOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsFuncOutput) Func() pulumi.StringOutput
- func (o GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput
- func (o GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncOutput
- type GetDatabaseObjectsOutputArgs
- type GetDatabaseObjectsProc
- type GetDatabaseObjectsProcArgs
- type GetDatabaseObjectsProcArray
- func (GetDatabaseObjectsProcArray) ElementType() reflect.Type
- func (i GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput
- func (i GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsProcArrayOutput
- type GetDatabaseObjectsProcArrayInput
- type GetDatabaseObjectsProcArrayOutput
- func (GetDatabaseObjectsProcArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsProcArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsProcOutput
- func (o GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput
- func (o GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsProcArrayOutput
- type GetDatabaseObjectsProcInput
- type GetDatabaseObjectsProcOutput
- func (GetDatabaseObjectsProcOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsProcOutput) Proc() pulumi.StringOutput
- func (o GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput
- func (o GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutputWithContext(ctx context.Context) GetDatabaseObjectsProcOutput
- type GetDatabaseObjectsResult
- type GetDatabaseObjectsResultOutput
- func (o GetDatabaseObjectsResultOutput) DbName() pulumi.StringOutput
- func (GetDatabaseObjectsResultOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsResultOutput) Funcs() GetDatabaseObjectsFuncArrayOutput
- func (o GetDatabaseObjectsResultOutput) Id() pulumi.StringOutput
- func (o GetDatabaseObjectsResultOutput) InstanceId() pulumi.StringOutput
- func (o GetDatabaseObjectsResultOutput) Procs() GetDatabaseObjectsProcArrayOutput
- func (o GetDatabaseObjectsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetDatabaseObjectsResultOutput) Tables() GetDatabaseObjectsTableArrayOutput
- func (o GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutput() GetDatabaseObjectsResultOutput
- func (o GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutputWithContext(ctx context.Context) GetDatabaseObjectsResultOutput
- func (o GetDatabaseObjectsResultOutput) Views() GetDatabaseObjectsViewArrayOutput
- type GetDatabaseObjectsTable
- type GetDatabaseObjectsTableArgs
- type GetDatabaseObjectsTableArray
- func (GetDatabaseObjectsTableArray) ElementType() reflect.Type
- func (i GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput
- func (i GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsTableArrayOutput
- type GetDatabaseObjectsTableArrayInput
- type GetDatabaseObjectsTableArrayOutput
- func (GetDatabaseObjectsTableArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsTableArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsTableOutput
- func (o GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput
- func (o GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsTableArrayOutput
- type GetDatabaseObjectsTableInput
- type GetDatabaseObjectsTableOutput
- func (GetDatabaseObjectsTableOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsTableOutput) Table() pulumi.StringOutput
- func (o GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput
- func (o GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutputWithContext(ctx context.Context) GetDatabaseObjectsTableOutput
- type GetDatabaseObjectsView
- type GetDatabaseObjectsViewArgs
- type GetDatabaseObjectsViewArray
- func (GetDatabaseObjectsViewArray) ElementType() reflect.Type
- func (i GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput
- func (i GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsViewArrayOutput
- type GetDatabaseObjectsViewArrayInput
- type GetDatabaseObjectsViewArrayOutput
- func (GetDatabaseObjectsViewArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsViewArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsViewOutput
- func (o GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput
- func (o GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsViewArrayOutput
- type GetDatabaseObjectsViewInput
- type GetDatabaseObjectsViewOutput
- func (GetDatabaseObjectsViewOutput) ElementType() reflect.Type
- func (o GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput
- func (o GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutputWithContext(ctx context.Context) GetDatabaseObjectsViewOutput
- func (o GetDatabaseObjectsViewOutput) View() pulumi.StringOutput
- type GetDatabaseTablesArgs
- type GetDatabaseTablesCol
- type GetDatabaseTablesColArgs
- type GetDatabaseTablesColArray
- type GetDatabaseTablesColArrayInput
- type GetDatabaseTablesColArrayOutput
- func (GetDatabaseTablesColArrayOutput) ElementType() reflect.Type
- func (o GetDatabaseTablesColArrayOutput) Index(i pulumi.IntInput) GetDatabaseTablesColOutput
- func (o GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput
- func (o GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutputWithContext(ctx context.Context) GetDatabaseTablesColArrayOutput
- type GetDatabaseTablesColInput
- type GetDatabaseTablesColOutput
- func (o GetDatabaseTablesColOutput) Col() pulumi.StringOutput
- func (GetDatabaseTablesColOutput) ElementType() reflect.Type
- func (o GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput
- func (o GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutputWithContext(ctx context.Context) GetDatabaseTablesColOutput
- func (o GetDatabaseTablesColOutput) Type() pulumi.StringOutput
- type GetDatabaseTablesOutputArgs
- type GetDatabaseTablesResult
- type GetDatabaseTablesResultOutput
- func (o GetDatabaseTablesResultOutput) Cols() GetDatabaseTablesColArrayOutput
- func (o GetDatabaseTablesResultOutput) DbName() pulumi.StringOutput
- func (GetDatabaseTablesResultOutput) ElementType() reflect.Type
- func (o GetDatabaseTablesResultOutput) Id() pulumi.StringOutput
- func (o GetDatabaseTablesResultOutput) InstanceId() pulumi.StringOutput
- func (o GetDatabaseTablesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetDatabaseTablesResultOutput) Table() pulumi.StringOutput
- func (o GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutput() GetDatabaseTablesResultOutput
- func (o GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutputWithContext(ctx context.Context) GetDatabaseTablesResultOutput
- type GetDatabasesArgs
- type GetDatabasesList
- type GetDatabasesListArgs
- type GetDatabasesListArray
- type GetDatabasesListArrayInput
- type GetDatabasesListArrayOutput
- func (GetDatabasesListArrayOutput) ElementType() reflect.Type
- func (o GetDatabasesListArrayOutput) Index(i pulumi.IntInput) GetDatabasesListOutput
- func (o GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput
- func (o GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutputWithContext(ctx context.Context) GetDatabasesListArrayOutput
- type GetDatabasesListInput
- type GetDatabasesListOutput
- func (o GetDatabasesListOutput) DbName() pulumi.StringOutput
- func (GetDatabasesListOutput) ElementType() reflect.Type
- func (o GetDatabasesListOutput) ToGetDatabasesListOutput() GetDatabasesListOutput
- func (o GetDatabasesListOutput) ToGetDatabasesListOutputWithContext(ctx context.Context) GetDatabasesListOutput
- type GetDatabasesOutputArgs
- type GetDatabasesResult
- type GetDatabasesResultOutput
- func (GetDatabasesResultOutput) ElementType() reflect.Type
- func (o GetDatabasesResultOutput) Id() pulumi.StringOutput
- func (o GetDatabasesResultOutput) InstanceId() pulumi.StringOutput
- func (o GetDatabasesResultOutput) Lists() GetDatabasesListArrayOutput
- func (o GetDatabasesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetDatabasesResultOutput) ToGetDatabasesResultOutput() GetDatabasesResultOutput
- func (o GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext(ctx context.Context) GetDatabasesResultOutput
- type GetInstancesArgs
- type GetInstancesList
- type GetInstancesListArgs
- type GetInstancesListArray
- type GetInstancesListArrayInput
- type GetInstancesListArrayOutput
- func (GetInstancesListArrayOutput) ElementType() reflect.Type
- func (o GetInstancesListArrayOutput) Index(i pulumi.IntInput) GetInstancesListOutput
- func (o GetInstancesListArrayOutput) ToGetInstancesListArrayOutput() GetInstancesListArrayOutput
- func (o GetInstancesListArrayOutput) ToGetInstancesListArrayOutputWithContext(ctx context.Context) GetInstancesListArrayOutput
- type GetInstancesListInput
- type GetInstancesListOutput
- func (o GetInstancesListOutput) AppId() pulumi.IntOutput
- func (o GetInstancesListOutput) AutoRenewFlag() pulumi.IntOutput
- func (o GetInstancesListOutput) CreateTime() pulumi.StringOutput
- func (o GetInstancesListOutput) DbEngine() pulumi.StringOutput
- func (o GetInstancesListOutput) DbVersion() pulumi.StringOutput
- func (GetInstancesListOutput) ElementType() reflect.Type
- func (o GetInstancesListOutput) InstanceId() pulumi.StringOutput
- func (o GetInstancesListOutput) InstanceName() pulumi.StringOutput
- func (o GetInstancesListOutput) InstanceType() pulumi.IntOutput
- func (o GetInstancesListOutput) IsAuditSupported() pulumi.IntOutput
- func (o GetInstancesListOutput) IsTmp() pulumi.IntOutput
- func (o GetInstancesListOutput) IsolatedTimestamp() pulumi.StringOutput
- func (o GetInstancesListOutput) Memory() pulumi.IntOutput
- func (o GetInstancesListOutput) NodeCount() pulumi.IntOutput
- func (o GetInstancesListOutput) Paymode() pulumi.StringOutput
- func (o GetInstancesListOutput) PeriodEndTime() pulumi.StringOutput
- func (o GetInstancesListOutput) ProjectId() pulumi.IntOutput
- func (o GetInstancesListOutput) Region() pulumi.StringOutput
- func (o GetInstancesListOutput) ResourceTags() GetInstancesListResourceTagArrayOutput
- func (o GetInstancesListOutput) ShardCount() pulumi.IntOutput
- func (o GetInstancesListOutput) ShardDetails() GetInstancesListShardDetailArrayOutput
- func (o GetInstancesListOutput) Status() pulumi.IntOutput
- func (o GetInstancesListOutput) StatusDesc() pulumi.StringOutput
- func (o GetInstancesListOutput) Storage() pulumi.IntOutput
- func (o GetInstancesListOutput) SubnetId() pulumi.IntOutput
- func (o GetInstancesListOutput) ToGetInstancesListOutput() GetInstancesListOutput
- func (o GetInstancesListOutput) ToGetInstancesListOutputWithContext(ctx context.Context) GetInstancesListOutput
- func (o GetInstancesListOutput) Uin() pulumi.StringOutput
- func (o GetInstancesListOutput) UpdateTime() pulumi.StringOutput
- func (o GetInstancesListOutput) Vip() pulumi.StringOutput
- func (o GetInstancesListOutput) VpcId() pulumi.IntOutput
- func (o GetInstancesListOutput) Vport() pulumi.IntOutput
- func (o GetInstancesListOutput) WanDomain() pulumi.StringOutput
- func (o GetInstancesListOutput) WanPort() pulumi.IntOutput
- func (o GetInstancesListOutput) WanStatus() pulumi.IntOutput
- func (o GetInstancesListOutput) WanVip() pulumi.StringOutput
- type GetInstancesListResourceTag
- type GetInstancesListResourceTagArgs
- func (GetInstancesListResourceTagArgs) ElementType() reflect.Type
- func (i GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput
- func (i GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutputWithContext(ctx context.Context) GetInstancesListResourceTagOutput
- type GetInstancesListResourceTagArray
- func (GetInstancesListResourceTagArray) ElementType() reflect.Type
- func (i GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput
- func (i GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutputWithContext(ctx context.Context) GetInstancesListResourceTagArrayOutput
- type GetInstancesListResourceTagArrayInput
- type GetInstancesListResourceTagArrayOutput
- func (GetInstancesListResourceTagArrayOutput) ElementType() reflect.Type
- func (o GetInstancesListResourceTagArrayOutput) Index(i pulumi.IntInput) GetInstancesListResourceTagOutput
- func (o GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput
- func (o GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutputWithContext(ctx context.Context) GetInstancesListResourceTagArrayOutput
- type GetInstancesListResourceTagInput
- type GetInstancesListResourceTagOutput
- func (GetInstancesListResourceTagOutput) ElementType() reflect.Type
- func (o GetInstancesListResourceTagOutput) TagKey() pulumi.StringOutput
- func (o GetInstancesListResourceTagOutput) TagValue() pulumi.StringOutput
- func (o GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput
- func (o GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutputWithContext(ctx context.Context) GetInstancesListResourceTagOutput
- type GetInstancesListShardDetail
- type GetInstancesListShardDetailArgs
- func (GetInstancesListShardDetailArgs) ElementType() reflect.Type
- func (i GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput
- func (i GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutputWithContext(ctx context.Context) GetInstancesListShardDetailOutput
- type GetInstancesListShardDetailArray
- func (GetInstancesListShardDetailArray) ElementType() reflect.Type
- func (i GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput
- func (i GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutputWithContext(ctx context.Context) GetInstancesListShardDetailArrayOutput
- type GetInstancesListShardDetailArrayInput
- type GetInstancesListShardDetailArrayOutput
- func (GetInstancesListShardDetailArrayOutput) ElementType() reflect.Type
- func (o GetInstancesListShardDetailArrayOutput) Index(i pulumi.IntInput) GetInstancesListShardDetailOutput
- func (o GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput
- func (o GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutputWithContext(ctx context.Context) GetInstancesListShardDetailArrayOutput
- type GetInstancesListShardDetailInput
- type GetInstancesListShardDetailOutput
- func (o GetInstancesListShardDetailOutput) Cpu() pulumi.IntOutput
- func (o GetInstancesListShardDetailOutput) Createtime() pulumi.StringOutput
- func (GetInstancesListShardDetailOutput) ElementType() reflect.Type
- func (o GetInstancesListShardDetailOutput) Memory() pulumi.IntOutput
- func (o GetInstancesListShardDetailOutput) NodeCount() pulumi.IntOutput
- func (o GetInstancesListShardDetailOutput) ShardId() pulumi.IntOutput
- func (o GetInstancesListShardDetailOutput) ShardInstanceId() pulumi.StringOutput
- func (o GetInstancesListShardDetailOutput) ShardSerialId() pulumi.StringOutput
- func (o GetInstancesListShardDetailOutput) Status() pulumi.IntOutput
- func (o GetInstancesListShardDetailOutput) Storage() pulumi.IntOutput
- func (o GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput
- func (o GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutputWithContext(ctx context.Context) GetInstancesListShardDetailOutput
- type GetInstancesOutputArgs
- type GetInstancesResult
- type GetInstancesResultOutput
- func (GetInstancesResultOutput) ElementType() reflect.Type
- func (o GetInstancesResultOutput) ExclusterType() pulumi.IntPtrOutput
- func (o GetInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetInstancesResultOutput) InstanceIds() pulumi.StringArrayOutput
- func (o GetInstancesResultOutput) IsFilterExcluster() pulumi.BoolPtrOutput
- func (o GetInstancesResultOutput) IsFilterVpc() pulumi.BoolPtrOutput
- func (o GetInstancesResultOutput) Lists() GetInstancesListArrayOutput
- func (o GetInstancesResultOutput) ProjectIds() pulumi.IntArrayOutput
- func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) SearchKey() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) SearchName() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) SubnetId() pulumi.StringPtrOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
- func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
- func (o GetInstancesResultOutput) VpcId() pulumi.StringOutput
- type GetParametersArgs
- type GetParametersList
- type GetParametersListArgs
- type GetParametersListArray
- type GetParametersListArrayInput
- type GetParametersListArrayOutput
- func (GetParametersListArrayOutput) ElementType() reflect.Type
- func (o GetParametersListArrayOutput) Index(i pulumi.IntInput) GetParametersListOutput
- func (o GetParametersListArrayOutput) ToGetParametersListArrayOutput() GetParametersListArrayOutput
- func (o GetParametersListArrayOutput) ToGetParametersListArrayOutputWithContext(ctx context.Context) GetParametersListArrayOutput
- type GetParametersListConstraint
- type GetParametersListConstraintArgs
- func (GetParametersListConstraintArgs) ElementType() reflect.Type
- func (i GetParametersListConstraintArgs) ToGetParametersListConstraintOutput() GetParametersListConstraintOutput
- func (i GetParametersListConstraintArgs) ToGetParametersListConstraintOutputWithContext(ctx context.Context) GetParametersListConstraintOutput
- type GetParametersListConstraintArray
- func (GetParametersListConstraintArray) ElementType() reflect.Type
- func (i GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput
- func (i GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutputWithContext(ctx context.Context) GetParametersListConstraintArrayOutput
- type GetParametersListConstraintArrayInput
- type GetParametersListConstraintArrayOutput
- func (GetParametersListConstraintArrayOutput) ElementType() reflect.Type
- func (o GetParametersListConstraintArrayOutput) Index(i pulumi.IntInput) GetParametersListConstraintOutput
- func (o GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput
- func (o GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutputWithContext(ctx context.Context) GetParametersListConstraintArrayOutput
- type GetParametersListConstraintInput
- type GetParametersListConstraintOutput
- func (GetParametersListConstraintOutput) ElementType() reflect.Type
- func (o GetParametersListConstraintOutput) Enum() pulumi.StringOutput
- func (o GetParametersListConstraintOutput) Ranges() GetParametersListConstraintRangeArrayOutput
- func (o GetParametersListConstraintOutput) String() pulumi.StringOutput
- func (o GetParametersListConstraintOutput) ToGetParametersListConstraintOutput() GetParametersListConstraintOutput
- func (o GetParametersListConstraintOutput) ToGetParametersListConstraintOutputWithContext(ctx context.Context) GetParametersListConstraintOutput
- func (o GetParametersListConstraintOutput) Type() pulumi.StringOutput
- type GetParametersListConstraintRange
- type GetParametersListConstraintRangeArgs
- func (GetParametersListConstraintRangeArgs) ElementType() reflect.Type
- func (i GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput
- func (i GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutputWithContext(ctx context.Context) GetParametersListConstraintRangeOutput
- type GetParametersListConstraintRangeArray
- func (GetParametersListConstraintRangeArray) ElementType() reflect.Type
- func (i GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput
- func (i GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutputWithContext(ctx context.Context) GetParametersListConstraintRangeArrayOutput
- type GetParametersListConstraintRangeArrayInput
- type GetParametersListConstraintRangeArrayOutput
- func (GetParametersListConstraintRangeArrayOutput) ElementType() reflect.Type
- func (o GetParametersListConstraintRangeArrayOutput) Index(i pulumi.IntInput) GetParametersListConstraintRangeOutput
- func (o GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput
- func (o GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutputWithContext(ctx context.Context) GetParametersListConstraintRangeArrayOutput
- type GetParametersListConstraintRangeInput
- type GetParametersListConstraintRangeOutput
- func (GetParametersListConstraintRangeOutput) ElementType() reflect.Type
- func (o GetParametersListConstraintRangeOutput) Max() pulumi.StringOutput
- func (o GetParametersListConstraintRangeOutput) Min() pulumi.StringOutput
- func (o GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput
- func (o GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutputWithContext(ctx context.Context) GetParametersListConstraintRangeOutput
- type GetParametersListInput
- type GetParametersListOutput
- func (o GetParametersListOutput) Constraints() GetParametersListConstraintArrayOutput
- func (o GetParametersListOutput) Default() pulumi.StringOutput
- func (GetParametersListOutput) ElementType() reflect.Type
- func (o GetParametersListOutput) HaveSetValue() pulumi.BoolOutput
- func (o GetParametersListOutput) NeedRestart() pulumi.BoolOutput
- func (o GetParametersListOutput) Param() pulumi.StringOutput
- func (o GetParametersListOutput) ToGetParametersListOutput() GetParametersListOutput
- func (o GetParametersListOutput) ToGetParametersListOutputWithContext(ctx context.Context) GetParametersListOutput
- func (o GetParametersListOutput) Value() pulumi.StringOutput
- type GetParametersOutputArgs
- type GetParametersResult
- type GetParametersResultOutput
- func (GetParametersResultOutput) ElementType() reflect.Type
- func (o GetParametersResultOutput) Id() pulumi.StringOutput
- func (o GetParametersResultOutput) InstanceId() pulumi.StringOutput
- func (o GetParametersResultOutput) Lists() GetParametersListArrayOutput
- func (o GetParametersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetParametersResultOutput) ToGetParametersResultOutput() GetParametersResultOutput
- func (o GetParametersResultOutput) ToGetParametersResultOutputWithContext(ctx context.Context) GetParametersResultOutput
- type GetSecurityGroupsArgs
- type GetSecurityGroupsList
- type GetSecurityGroupsListArgs
- type GetSecurityGroupsListArray
- func (GetSecurityGroupsListArray) ElementType() reflect.Type
- func (i GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput
- func (i GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListArrayOutput
- type GetSecurityGroupsListArrayInput
- type GetSecurityGroupsListArrayOutput
- func (GetSecurityGroupsListArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsListArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsListOutput
- func (o GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput
- func (o GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListArrayOutput
- type GetSecurityGroupsListInbound
- type GetSecurityGroupsListInboundArgs
- func (GetSecurityGroupsListInboundArgs) ElementType() reflect.Type
- func (i GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput
- func (i GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundOutput
- type GetSecurityGroupsListInboundArray
- func (GetSecurityGroupsListInboundArray) ElementType() reflect.Type
- func (i GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput
- func (i GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundArrayOutput
- type GetSecurityGroupsListInboundArrayInput
- type GetSecurityGroupsListInboundArrayOutput
- func (GetSecurityGroupsListInboundArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsListInboundArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsListInboundOutput
- func (o GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput
- func (o GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundArrayOutput
- type GetSecurityGroupsListInboundInput
- type GetSecurityGroupsListInboundOutput
- func (o GetSecurityGroupsListInboundOutput) Action() pulumi.StringOutput
- func (o GetSecurityGroupsListInboundOutput) CidrIp() pulumi.StringOutput
- func (GetSecurityGroupsListInboundOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsListInboundOutput) IpProtocol() pulumi.StringOutput
- func (o GetSecurityGroupsListInboundOutput) PortRange() pulumi.StringOutput
- func (o GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput
- func (o GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundOutput
- type GetSecurityGroupsListInput
- type GetSecurityGroupsListOutbound
- type GetSecurityGroupsListOutboundArgs
- func (GetSecurityGroupsListOutboundArgs) ElementType() reflect.Type
- func (i GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput
- func (i GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundOutput
- type GetSecurityGroupsListOutboundArray
- func (GetSecurityGroupsListOutboundArray) ElementType() reflect.Type
- func (i GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput
- func (i GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundArrayOutput
- type GetSecurityGroupsListOutboundArrayInput
- type GetSecurityGroupsListOutboundArrayOutput
- func (GetSecurityGroupsListOutboundArrayOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsListOutboundArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsListOutboundOutput
- func (o GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput
- func (o GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundArrayOutput
- type GetSecurityGroupsListOutboundInput
- type GetSecurityGroupsListOutboundOutput
- func (o GetSecurityGroupsListOutboundOutput) Action() pulumi.StringOutput
- func (o GetSecurityGroupsListOutboundOutput) CidrIp() pulumi.StringOutput
- func (GetSecurityGroupsListOutboundOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsListOutboundOutput) IpProtocol() pulumi.StringOutput
- func (o GetSecurityGroupsListOutboundOutput) PortRange() pulumi.StringOutput
- func (o GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput
- func (o GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundOutput
- type GetSecurityGroupsListOutput
- func (o GetSecurityGroupsListOutput) CreateTime() pulumi.StringOutput
- func (GetSecurityGroupsListOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsListOutput) Inbounds() GetSecurityGroupsListInboundArrayOutput
- func (o GetSecurityGroupsListOutput) Outbounds() GetSecurityGroupsListOutboundArrayOutput
- func (o GetSecurityGroupsListOutput) ProjectId() pulumi.IntOutput
- func (o GetSecurityGroupsListOutput) SecurityGroupId() pulumi.StringOutput
- func (o GetSecurityGroupsListOutput) SecurityGroupName() pulumi.StringOutput
- func (o GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput
- func (o GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutputWithContext(ctx context.Context) GetSecurityGroupsListOutput
- type GetSecurityGroupsOutputArgs
- type GetSecurityGroupsResult
- type GetSecurityGroupsResultOutput
- func (GetSecurityGroupsResultOutput) ElementType() reflect.Type
- func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetSecurityGroupsResultOutput) InstanceId() pulumi.StringOutput
- func (o GetSecurityGroupsResultOutput) Lists() GetSecurityGroupsListArrayOutput
- func (o GetSecurityGroupsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput
- func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput
- type GetShardsArgs
- type GetShardsList
- type GetShardsListArgs
- type GetShardsListArray
- type GetShardsListArrayInput
- type GetShardsListArrayOutput
- func (GetShardsListArrayOutput) ElementType() reflect.Type
- func (o GetShardsListArrayOutput) Index(i pulumi.IntInput) GetShardsListOutput
- func (o GetShardsListArrayOutput) ToGetShardsListArrayOutput() GetShardsListArrayOutput
- func (o GetShardsListArrayOutput) ToGetShardsListArrayOutputWithContext(ctx context.Context) GetShardsListArrayOutput
- type GetShardsListInput
- type GetShardsListOutput
- func (o GetShardsListOutput) Cpu() pulumi.IntOutput
- func (o GetShardsListOutput) CreateTime() pulumi.StringOutput
- func (GetShardsListOutput) ElementType() reflect.Type
- func (o GetShardsListOutput) InstanceId() pulumi.StringOutput
- func (o GetShardsListOutput) Memory() pulumi.IntOutput
- func (o GetShardsListOutput) MemoryUsage() pulumi.IntOutput
- func (o GetShardsListOutput) NodeCount() pulumi.IntOutput
- func (o GetShardsListOutput) Paymode() pulumi.StringOutput
- func (o GetShardsListOutput) PeriodEndTime() pulumi.StringOutput
- func (o GetShardsListOutput) ProjectId() pulumi.IntOutput
- func (o GetShardsListOutput) ProxyVersion() pulumi.StringOutput
- func (o GetShardsListOutput) Range() pulumi.StringOutput
- func (o GetShardsListOutput) Region() pulumi.StringOutput
- func (o GetShardsListOutput) ShardInstanceId() pulumi.StringOutput
- func (o GetShardsListOutput) ShardMasterZone() pulumi.StringOutput
- func (o GetShardsListOutput) ShardSerialId() pulumi.StringOutput
- func (o GetShardsListOutput) ShardSlaveZones() pulumi.StringArrayOutput
- func (o GetShardsListOutput) Status() pulumi.IntOutput
- func (o GetShardsListOutput) StatusDesc() pulumi.StringOutput
- func (o GetShardsListOutput) Storage() pulumi.IntOutput
- func (o GetShardsListOutput) StorageUsage() pulumi.IntOutput
- func (o GetShardsListOutput) SubnetId() pulumi.StringOutput
- func (o GetShardsListOutput) ToGetShardsListOutput() GetShardsListOutput
- func (o GetShardsListOutput) ToGetShardsListOutputWithContext(ctx context.Context) GetShardsListOutput
- func (o GetShardsListOutput) VpcId() pulumi.StringOutput
- func (o GetShardsListOutput) Zone() pulumi.StringOutput
- type GetShardsOutputArgs
- type GetShardsResult
- type GetShardsResultOutput
- func (GetShardsResultOutput) ElementType() reflect.Type
- func (o GetShardsResultOutput) Id() pulumi.StringOutput
- func (o GetShardsResultOutput) InstanceId() pulumi.StringOutput
- func (o GetShardsResultOutput) Lists() GetShardsListArrayOutput
- func (o GetShardsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
- func (o GetShardsResultOutput) ShardInstanceIds() pulumi.StringArrayOutput
- func (o GetShardsResultOutput) ToGetShardsResultOutput() GetShardsResultOutput
- func (o GetShardsResultOutput) ToGetShardsResultOutputWithContext(ctx context.Context) GetShardsResultOutput
- type HourdbInstance
- type HourdbInstanceArgs
- type HourdbInstanceArray
- type HourdbInstanceArrayInput
- type HourdbInstanceArrayOutput
- func (HourdbInstanceArrayOutput) ElementType() reflect.Type
- func (o HourdbInstanceArrayOutput) Index(i pulumi.IntInput) HourdbInstanceOutput
- func (o HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput
- func (o HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutputWithContext(ctx context.Context) HourdbInstanceArrayOutput
- type HourdbInstanceInput
- type HourdbInstanceMap
- type HourdbInstanceMapInput
- type HourdbInstanceMapOutput
- func (HourdbInstanceMapOutput) ElementType() reflect.Type
- func (o HourdbInstanceMapOutput) MapIndex(k pulumi.StringInput) HourdbInstanceOutput
- func (o HourdbInstanceMapOutput) ToHourdbInstanceMapOutput() HourdbInstanceMapOutput
- func (o HourdbInstanceMapOutput) ToHourdbInstanceMapOutputWithContext(ctx context.Context) HourdbInstanceMapOutput
- type HourdbInstanceOutput
- func (o HourdbInstanceOutput) DbVersionId() pulumi.StringPtrOutput
- func (HourdbInstanceOutput) ElementType() reflect.Type
- func (o HourdbInstanceOutput) InstanceName() pulumi.StringPtrOutput
- func (o HourdbInstanceOutput) ProjectId() pulumi.IntPtrOutput
- func (o HourdbInstanceOutput) ResourceTags() HourdbInstanceResourceTagArrayOutput
- func (o HourdbInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
- func (o HourdbInstanceOutput) ShardCount() pulumi.IntOutput
- func (o HourdbInstanceOutput) ShardMemory() pulumi.IntOutput
- func (o HourdbInstanceOutput) ShardNodeCount() pulumi.IntOutput
- func (o HourdbInstanceOutput) ShardStorage() pulumi.IntOutput
- func (o HourdbInstanceOutput) SubnetId() pulumi.StringPtrOutput
- func (o HourdbInstanceOutput) ToHourdbInstanceOutput() HourdbInstanceOutput
- func (o HourdbInstanceOutput) ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput
- func (o HourdbInstanceOutput) VpcId() pulumi.StringPtrOutput
- func (o HourdbInstanceOutput) Zones() pulumi.StringArrayOutput
- type HourdbInstanceResourceTag
- type HourdbInstanceResourceTagArgs
- func (HourdbInstanceResourceTagArgs) ElementType() reflect.Type
- func (i HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput
- func (i HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutputWithContext(ctx context.Context) HourdbInstanceResourceTagOutput
- type HourdbInstanceResourceTagArray
- func (HourdbInstanceResourceTagArray) ElementType() reflect.Type
- func (i HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput
- func (i HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutputWithContext(ctx context.Context) HourdbInstanceResourceTagArrayOutput
- type HourdbInstanceResourceTagArrayInput
- type HourdbInstanceResourceTagArrayOutput
- func (HourdbInstanceResourceTagArrayOutput) ElementType() reflect.Type
- func (o HourdbInstanceResourceTagArrayOutput) Index(i pulumi.IntInput) HourdbInstanceResourceTagOutput
- func (o HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput
- func (o HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutputWithContext(ctx context.Context) HourdbInstanceResourceTagArrayOutput
- type HourdbInstanceResourceTagInput
- type HourdbInstanceResourceTagOutput
- func (HourdbInstanceResourceTagOutput) ElementType() reflect.Type
- func (o HourdbInstanceResourceTagOutput) TagKey() pulumi.StringOutput
- func (o HourdbInstanceResourceTagOutput) TagValue() pulumi.StringOutput
- func (o HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput
- func (o HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutputWithContext(ctx context.Context) HourdbInstanceResourceTagOutput
- type HourdbInstanceState
- type SecurityGroupAttachment
- type SecurityGroupAttachmentArgs
- type SecurityGroupAttachmentArray
- func (SecurityGroupAttachmentArray) ElementType() reflect.Type
- func (i SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput
- func (i SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) SecurityGroupAttachmentArrayOutput
- type SecurityGroupAttachmentArrayInput
- type SecurityGroupAttachmentArrayOutput
- func (SecurityGroupAttachmentArrayOutput) ElementType() reflect.Type
- func (o SecurityGroupAttachmentArrayOutput) Index(i pulumi.IntInput) SecurityGroupAttachmentOutput
- func (o SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput
- func (o SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) SecurityGroupAttachmentArrayOutput
- type SecurityGroupAttachmentInput
- type SecurityGroupAttachmentMap
- func (SecurityGroupAttachmentMap) ElementType() reflect.Type
- func (i SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput
- func (i SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) SecurityGroupAttachmentMapOutput
- type SecurityGroupAttachmentMapInput
- type SecurityGroupAttachmentMapOutput
- func (SecurityGroupAttachmentMapOutput) ElementType() reflect.Type
- func (o SecurityGroupAttachmentMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupAttachmentOutput
- func (o SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput
- func (o SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) SecurityGroupAttachmentMapOutput
- type SecurityGroupAttachmentOutput
- func (SecurityGroupAttachmentOutput) ElementType() reflect.Type
- func (o SecurityGroupAttachmentOutput) InstanceId() pulumi.StringOutput
- func (o SecurityGroupAttachmentOutput) SecurityGroupId() pulumi.StringOutput
- func (o SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput
- func (o SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput
- type SecurityGroupAttachmentState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
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 Account ¶
type Account struct { pulumi.CustomResourceState // description for account. Description pulumi.StringPtrOutput `pulumi:"description"` // db host. Host pulumi.StringOutput `pulumi:"host"` // instance id. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // max user connections. MaxUserConnections pulumi.IntPtrOutput `pulumi:"maxUserConnections"` // password. Password pulumi.StringOutput `pulumi:"password"` // whether the account is readonly. 0 means not a readonly account. ReadOnly pulumi.IntPtrOutput `pulumi:"readOnly"` // account name. UserName pulumi.StringOutput `pulumi:"userName"` }
Provides a resource to create a dcdb account
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.NewAccount(ctx, "account", &Dcdb.AccountArgs{ Description: pulumi.String("this is a test account"), Host: pulumi.String("127.0.0.1"), InstanceId: pulumi.String("tdsqlshard-kkpoxvnv"), MaxUserConnections: pulumi.Int(10), Password: pulumi.String("===password==="), ReadOnly: pulumi.Int(0), UserName: pulumi.String("mysql"), }) if err != nil { return err } return nil }) }
```
## Import
dcdb account can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dcdb/account:Account account account_id
```
func GetAccount ¶
func GetAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountState, opts ...pulumi.ResourceOption) (*Account, error)
GetAccount gets an existing Account 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 NewAccount ¶
func NewAccount(ctx *pulumi.Context, name string, args *AccountArgs, opts ...pulumi.ResourceOption) (*Account, error)
NewAccount registers a new resource with the given unique name, arguments, and options.
func (*Account) ElementType ¶
func (*Account) ToAccountOutput ¶
func (i *Account) ToAccountOutput() AccountOutput
func (*Account) ToAccountOutputWithContext ¶
func (i *Account) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountArgs ¶
type AccountArgs struct { // description for account. Description pulumi.StringPtrInput // db host. Host pulumi.StringInput // instance id. InstanceId pulumi.StringInput // max user connections. MaxUserConnections pulumi.IntPtrInput // password. Password pulumi.StringInput // whether the account is readonly. 0 means not a readonly account. ReadOnly pulumi.IntPtrInput // account name. UserName pulumi.StringInput }
The set of arguments for constructing a Account resource.
func (AccountArgs) ElementType ¶
func (AccountArgs) ElementType() reflect.Type
type AccountArray ¶
type AccountArray []AccountInput
func (AccountArray) ElementType ¶
func (AccountArray) ElementType() reflect.Type
func (AccountArray) ToAccountArrayOutput ¶
func (i AccountArray) ToAccountArrayOutput() AccountArrayOutput
func (AccountArray) ToAccountArrayOutputWithContext ¶
func (i AccountArray) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountArrayInput ¶
type AccountArrayInput interface { pulumi.Input ToAccountArrayOutput() AccountArrayOutput ToAccountArrayOutputWithContext(context.Context) AccountArrayOutput }
AccountArrayInput is an input type that accepts AccountArray and AccountArrayOutput values. You can construct a concrete instance of `AccountArrayInput` via:
AccountArray{ AccountArgs{...} }
type AccountArrayOutput ¶
type AccountArrayOutput struct{ *pulumi.OutputState }
func (AccountArrayOutput) ElementType ¶
func (AccountArrayOutput) ElementType() reflect.Type
func (AccountArrayOutput) Index ¶
func (o AccountArrayOutput) Index(i pulumi.IntInput) AccountOutput
func (AccountArrayOutput) ToAccountArrayOutput ¶
func (o AccountArrayOutput) ToAccountArrayOutput() AccountArrayOutput
func (AccountArrayOutput) ToAccountArrayOutputWithContext ¶
func (o AccountArrayOutput) ToAccountArrayOutputWithContext(ctx context.Context) AccountArrayOutput
type AccountInput ¶
type AccountInput interface { pulumi.Input ToAccountOutput() AccountOutput ToAccountOutputWithContext(ctx context.Context) AccountOutput }
type AccountMap ¶
type AccountMap map[string]AccountInput
func (AccountMap) ElementType ¶
func (AccountMap) ElementType() reflect.Type
func (AccountMap) ToAccountMapOutput ¶
func (i AccountMap) ToAccountMapOutput() AccountMapOutput
func (AccountMap) ToAccountMapOutputWithContext ¶
func (i AccountMap) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountMapInput ¶
type AccountMapInput interface { pulumi.Input ToAccountMapOutput() AccountMapOutput ToAccountMapOutputWithContext(context.Context) AccountMapOutput }
AccountMapInput is an input type that accepts AccountMap and AccountMapOutput values. You can construct a concrete instance of `AccountMapInput` via:
AccountMap{ "key": AccountArgs{...} }
type AccountMapOutput ¶
type AccountMapOutput struct{ *pulumi.OutputState }
func (AccountMapOutput) ElementType ¶
func (AccountMapOutput) ElementType() reflect.Type
func (AccountMapOutput) MapIndex ¶
func (o AccountMapOutput) MapIndex(k pulumi.StringInput) AccountOutput
func (AccountMapOutput) ToAccountMapOutput ¶
func (o AccountMapOutput) ToAccountMapOutput() AccountMapOutput
func (AccountMapOutput) ToAccountMapOutputWithContext ¶
func (o AccountMapOutput) ToAccountMapOutputWithContext(ctx context.Context) AccountMapOutput
type AccountOutput ¶
type AccountOutput struct{ *pulumi.OutputState }
func (AccountOutput) Description ¶
func (o AccountOutput) Description() pulumi.StringPtrOutput
description for account.
func (AccountOutput) ElementType ¶
func (AccountOutput) ElementType() reflect.Type
func (AccountOutput) InstanceId ¶
func (o AccountOutput) InstanceId() pulumi.StringOutput
instance id.
func (AccountOutput) MaxUserConnections ¶
func (o AccountOutput) MaxUserConnections() pulumi.IntPtrOutput
max user connections.
func (AccountOutput) ReadOnly ¶
func (o AccountOutput) ReadOnly() pulumi.IntPtrOutput
whether the account is readonly. 0 means not a readonly account.
func (AccountOutput) ToAccountOutput ¶
func (o AccountOutput) ToAccountOutput() AccountOutput
func (AccountOutput) ToAccountOutputWithContext ¶
func (o AccountOutput) ToAccountOutputWithContext(ctx context.Context) AccountOutput
type AccountPrivileges ¶
type AccountPrivileges struct { pulumi.CustomResourceState // The account of the database, including username and host. Account AccountPrivilegesAccountOutput `pulumi:"account"` // "Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". ColumnPrivileges AccountPrivilegesColumnPrivilegesPtrOutput `pulumi:"columnPrivileges"` // "Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". DatabasePrivileges AccountPrivilegesDatabasePrivilegesPtrOutput `pulumi:"databasePrivileges"` // "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.". GlobalPrivileges pulumi.StringArrayOutput `pulumi:"globalPrivileges"` // The ID of instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // "Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". TablePrivileges AccountPrivilegesTablePrivilegesPtrOutput `pulumi:"tablePrivileges"` // "Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". ViewPrivileges AccountPrivilegesViewPrivilegesPtrOutput `pulumi:"viewPrivileges"` }
Provides a resource to create a dcdb accountPrivileges
## Import
dcdb account_privileges can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dcdb/accountPrivileges:AccountPrivileges account_privileges instanceId#userName#host#dbName#tabName#viewName#colName
```
func GetAccountPrivileges ¶
func GetAccountPrivileges(ctx *pulumi.Context, name string, id pulumi.IDInput, state *AccountPrivilegesState, opts ...pulumi.ResourceOption) (*AccountPrivileges, error)
GetAccountPrivileges gets an existing AccountPrivileges 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 NewAccountPrivileges ¶
func NewAccountPrivileges(ctx *pulumi.Context, name string, args *AccountPrivilegesArgs, opts ...pulumi.ResourceOption) (*AccountPrivileges, error)
NewAccountPrivileges registers a new resource with the given unique name, arguments, and options.
func (*AccountPrivileges) ElementType ¶
func (*AccountPrivileges) ElementType() reflect.Type
func (*AccountPrivileges) ToAccountPrivilegesOutput ¶
func (i *AccountPrivileges) ToAccountPrivilegesOutput() AccountPrivilegesOutput
func (*AccountPrivileges) ToAccountPrivilegesOutputWithContext ¶
func (i *AccountPrivileges) ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput
type AccountPrivilegesAccountArgs ¶
type AccountPrivilegesAccountArgs struct { // account host. Host pulumi.StringInput `pulumi:"host"` // account name. User pulumi.StringInput `pulumi:"user"` }
func (AccountPrivilegesAccountArgs) ElementType ¶
func (AccountPrivilegesAccountArgs) ElementType() reflect.Type
func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutput ¶
func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput
func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutputWithContext ¶
func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountOutputWithContext(ctx context.Context) AccountPrivilegesAccountOutput
func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutput ¶
func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
func (AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutputWithContext ¶
func (i AccountPrivilegesAccountArgs) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput
type AccountPrivilegesAccountInput ¶
type AccountPrivilegesAccountInput interface { pulumi.Input ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput ToAccountPrivilegesAccountOutputWithContext(context.Context) AccountPrivilegesAccountOutput }
AccountPrivilegesAccountInput is an input type that accepts AccountPrivilegesAccountArgs and AccountPrivilegesAccountOutput values. You can construct a concrete instance of `AccountPrivilegesAccountInput` via:
AccountPrivilegesAccountArgs{...}
type AccountPrivilegesAccountOutput ¶
type AccountPrivilegesAccountOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesAccountOutput) ElementType ¶
func (AccountPrivilegesAccountOutput) ElementType() reflect.Type
func (AccountPrivilegesAccountOutput) Host ¶
func (o AccountPrivilegesAccountOutput) Host() pulumi.StringOutput
account host.
func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutput ¶
func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutput() AccountPrivilegesAccountOutput
func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutputWithContext ¶
func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountOutputWithContext(ctx context.Context) AccountPrivilegesAccountOutput
func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutput ¶
func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
func (AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutputWithContext ¶
func (o AccountPrivilegesAccountOutput) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput
func (AccountPrivilegesAccountOutput) User ¶
func (o AccountPrivilegesAccountOutput) User() pulumi.StringOutput
account name.
type AccountPrivilegesAccountPtrInput ¶
type AccountPrivilegesAccountPtrInput interface { pulumi.Input ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput ToAccountPrivilegesAccountPtrOutputWithContext(context.Context) AccountPrivilegesAccountPtrOutput }
AccountPrivilegesAccountPtrInput is an input type that accepts AccountPrivilegesAccountArgs, AccountPrivilegesAccountPtr and AccountPrivilegesAccountPtrOutput values. You can construct a concrete instance of `AccountPrivilegesAccountPtrInput` via:
AccountPrivilegesAccountArgs{...} or: nil
func AccountPrivilegesAccountPtr ¶
func AccountPrivilegesAccountPtr(v *AccountPrivilegesAccountArgs) AccountPrivilegesAccountPtrInput
type AccountPrivilegesAccountPtrOutput ¶
type AccountPrivilegesAccountPtrOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesAccountPtrOutput) Elem ¶
func (o AccountPrivilegesAccountPtrOutput) Elem() AccountPrivilegesAccountOutput
func (AccountPrivilegesAccountPtrOutput) ElementType ¶
func (AccountPrivilegesAccountPtrOutput) ElementType() reflect.Type
func (AccountPrivilegesAccountPtrOutput) Host ¶
func (o AccountPrivilegesAccountPtrOutput) Host() pulumi.StringPtrOutput
account host.
func (AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutput ¶
func (o AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutput() AccountPrivilegesAccountPtrOutput
func (AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutputWithContext ¶
func (o AccountPrivilegesAccountPtrOutput) ToAccountPrivilegesAccountPtrOutputWithContext(ctx context.Context) AccountPrivilegesAccountPtrOutput
func (AccountPrivilegesAccountPtrOutput) User ¶
func (o AccountPrivilegesAccountPtrOutput) User() pulumi.StringPtrOutput
account name.
type AccountPrivilegesArgs ¶
type AccountPrivilegesArgs struct { // The account of the database, including username and host. Account AccountPrivilegesAccountInput // "Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". ColumnPrivileges AccountPrivilegesColumnPrivilegesPtrInput // "Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". DatabasePrivileges AccountPrivilegesDatabasePrivilegesPtrInput // "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.". GlobalPrivileges pulumi.StringArrayInput // The ID of instance. InstanceId pulumi.StringInput // "Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". TablePrivileges AccountPrivilegesTablePrivilegesPtrInput // "Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". ViewPrivileges AccountPrivilegesViewPrivilegesPtrInput }
The set of arguments for constructing a AccountPrivileges resource.
func (AccountPrivilegesArgs) ElementType ¶
func (AccountPrivilegesArgs) ElementType() reflect.Type
type AccountPrivilegesArray ¶
type AccountPrivilegesArray []AccountPrivilegesInput
func (AccountPrivilegesArray) ElementType ¶
func (AccountPrivilegesArray) ElementType() reflect.Type
func (AccountPrivilegesArray) ToAccountPrivilegesArrayOutput ¶
func (i AccountPrivilegesArray) ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput
func (AccountPrivilegesArray) ToAccountPrivilegesArrayOutputWithContext ¶
func (i AccountPrivilegesArray) ToAccountPrivilegesArrayOutputWithContext(ctx context.Context) AccountPrivilegesArrayOutput
type AccountPrivilegesArrayInput ¶
type AccountPrivilegesArrayInput interface { pulumi.Input ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput ToAccountPrivilegesArrayOutputWithContext(context.Context) AccountPrivilegesArrayOutput }
AccountPrivilegesArrayInput is an input type that accepts AccountPrivilegesArray and AccountPrivilegesArrayOutput values. You can construct a concrete instance of `AccountPrivilegesArrayInput` via:
AccountPrivilegesArray{ AccountPrivilegesArgs{...} }
type AccountPrivilegesArrayOutput ¶
type AccountPrivilegesArrayOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesArrayOutput) ElementType ¶
func (AccountPrivilegesArrayOutput) ElementType() reflect.Type
func (AccountPrivilegesArrayOutput) Index ¶
func (o AccountPrivilegesArrayOutput) Index(i pulumi.IntInput) AccountPrivilegesOutput
func (AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutput ¶
func (o AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutput() AccountPrivilegesArrayOutput
func (AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutputWithContext ¶
func (o AccountPrivilegesArrayOutput) ToAccountPrivilegesArrayOutputWithContext(ctx context.Context) AccountPrivilegesArrayOutput
type AccountPrivilegesColumnPrivilegesArgs ¶
type AccountPrivilegesColumnPrivilegesArgs struct { // Database column name. Column pulumi.StringInput `pulumi:"column"` // The name of database. Database pulumi.StringInput `pulumi:"database"` // Permission information. Privileges pulumi.StringArrayInput `pulumi:"privileges"` // Database table name. Table pulumi.StringInput `pulumi:"table"` }
func (AccountPrivilegesColumnPrivilegesArgs) ElementType ¶
func (AccountPrivilegesColumnPrivilegesArgs) ElementType() reflect.Type
func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutput ¶
func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput
func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutputWithContext ¶
func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesOutput
func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutput ¶
func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
func (AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext ¶
func (i AccountPrivilegesColumnPrivilegesArgs) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
type AccountPrivilegesColumnPrivilegesInput ¶
type AccountPrivilegesColumnPrivilegesInput interface { pulumi.Input ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput ToAccountPrivilegesColumnPrivilegesOutputWithContext(context.Context) AccountPrivilegesColumnPrivilegesOutput }
AccountPrivilegesColumnPrivilegesInput is an input type that accepts AccountPrivilegesColumnPrivilegesArgs and AccountPrivilegesColumnPrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesColumnPrivilegesInput` via:
AccountPrivilegesColumnPrivilegesArgs{...}
type AccountPrivilegesColumnPrivilegesOutput ¶
type AccountPrivilegesColumnPrivilegesOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesColumnPrivilegesOutput) Column ¶
func (o AccountPrivilegesColumnPrivilegesOutput) Column() pulumi.StringOutput
Database column name.
func (AccountPrivilegesColumnPrivilegesOutput) Database ¶
func (o AccountPrivilegesColumnPrivilegesOutput) Database() pulumi.StringOutput
The name of database.
func (AccountPrivilegesColumnPrivilegesOutput) ElementType ¶
func (AccountPrivilegesColumnPrivilegesOutput) ElementType() reflect.Type
func (AccountPrivilegesColumnPrivilegesOutput) Privileges ¶
func (o AccountPrivilegesColumnPrivilegesOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesColumnPrivilegesOutput) Table ¶
func (o AccountPrivilegesColumnPrivilegesOutput) Table() pulumi.StringOutput
Database table name.
func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutput ¶
func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutput() AccountPrivilegesColumnPrivilegesOutput
func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutputWithContext ¶
func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesOutput
func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput ¶
func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
func (AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesColumnPrivilegesOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
type AccountPrivilegesColumnPrivilegesPtrInput ¶
type AccountPrivilegesColumnPrivilegesPtrInput interface { pulumi.Input ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesColumnPrivilegesPtrOutput }
AccountPrivilegesColumnPrivilegesPtrInput is an input type that accepts AccountPrivilegesColumnPrivilegesArgs, AccountPrivilegesColumnPrivilegesPtr and AccountPrivilegesColumnPrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesColumnPrivilegesPtrInput` via:
AccountPrivilegesColumnPrivilegesArgs{...} or: nil
func AccountPrivilegesColumnPrivilegesPtr ¶
func AccountPrivilegesColumnPrivilegesPtr(v *AccountPrivilegesColumnPrivilegesArgs) AccountPrivilegesColumnPrivilegesPtrInput
type AccountPrivilegesColumnPrivilegesPtrOutput ¶
type AccountPrivilegesColumnPrivilegesPtrOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesColumnPrivilegesPtrOutput) Column ¶
func (o AccountPrivilegesColumnPrivilegesPtrOutput) Column() pulumi.StringPtrOutput
Database column name.
func (AccountPrivilegesColumnPrivilegesPtrOutput) Database ¶
func (o AccountPrivilegesColumnPrivilegesPtrOutput) Database() pulumi.StringPtrOutput
The name of database.
func (AccountPrivilegesColumnPrivilegesPtrOutput) ElementType ¶
func (AccountPrivilegesColumnPrivilegesPtrOutput) ElementType() reflect.Type
func (AccountPrivilegesColumnPrivilegesPtrOutput) Privileges ¶
func (o AccountPrivilegesColumnPrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesColumnPrivilegesPtrOutput) Table ¶
func (o AccountPrivilegesColumnPrivilegesPtrOutput) Table() pulumi.StringPtrOutput
Database table name.
func (AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput ¶
func (o AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutput() AccountPrivilegesColumnPrivilegesPtrOutput
func (AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesColumnPrivilegesPtrOutput) ToAccountPrivilegesColumnPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesColumnPrivilegesPtrOutput
type AccountPrivilegesDatabasePrivilegesArgs ¶
type AccountPrivilegesDatabasePrivilegesArgs struct { // The name of database. Database pulumi.StringInput `pulumi:"database"` // Permission information. Privileges pulumi.StringArrayInput `pulumi:"privileges"` }
func (AccountPrivilegesDatabasePrivilegesArgs) ElementType ¶
func (AccountPrivilegesDatabasePrivilegesArgs) ElementType() reflect.Type
func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutput ¶
func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput
func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutputWithContext ¶
func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesOutput
func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutput ¶
func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
func (AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext ¶
func (i AccountPrivilegesDatabasePrivilegesArgs) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
type AccountPrivilegesDatabasePrivilegesInput ¶
type AccountPrivilegesDatabasePrivilegesInput interface { pulumi.Input ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput ToAccountPrivilegesDatabasePrivilegesOutputWithContext(context.Context) AccountPrivilegesDatabasePrivilegesOutput }
AccountPrivilegesDatabasePrivilegesInput is an input type that accepts AccountPrivilegesDatabasePrivilegesArgs and AccountPrivilegesDatabasePrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesDatabasePrivilegesInput` via:
AccountPrivilegesDatabasePrivilegesArgs{...}
type AccountPrivilegesDatabasePrivilegesOutput ¶
type AccountPrivilegesDatabasePrivilegesOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesDatabasePrivilegesOutput) Database ¶
func (o AccountPrivilegesDatabasePrivilegesOutput) Database() pulumi.StringOutput
The name of database.
func (AccountPrivilegesDatabasePrivilegesOutput) ElementType ¶
func (AccountPrivilegesDatabasePrivilegesOutput) ElementType() reflect.Type
func (AccountPrivilegesDatabasePrivilegesOutput) Privileges ¶
func (o AccountPrivilegesDatabasePrivilegesOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutput ¶
func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutput() AccountPrivilegesDatabasePrivilegesOutput
func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutputWithContext ¶
func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesOutput
func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput ¶
func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
func (AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesDatabasePrivilegesOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
type AccountPrivilegesDatabasePrivilegesPtrInput ¶
type AccountPrivilegesDatabasePrivilegesPtrInput interface { pulumi.Input ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput }
AccountPrivilegesDatabasePrivilegesPtrInput is an input type that accepts AccountPrivilegesDatabasePrivilegesArgs, AccountPrivilegesDatabasePrivilegesPtr and AccountPrivilegesDatabasePrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesDatabasePrivilegesPtrInput` via:
AccountPrivilegesDatabasePrivilegesArgs{...} or: nil
func AccountPrivilegesDatabasePrivilegesPtr ¶
func AccountPrivilegesDatabasePrivilegesPtr(v *AccountPrivilegesDatabasePrivilegesArgs) AccountPrivilegesDatabasePrivilegesPtrInput
type AccountPrivilegesDatabasePrivilegesPtrOutput ¶
type AccountPrivilegesDatabasePrivilegesPtrOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesDatabasePrivilegesPtrOutput) Database ¶
func (o AccountPrivilegesDatabasePrivilegesPtrOutput) Database() pulumi.StringPtrOutput
The name of database.
func (AccountPrivilegesDatabasePrivilegesPtrOutput) ElementType ¶
func (AccountPrivilegesDatabasePrivilegesPtrOutput) ElementType() reflect.Type
func (AccountPrivilegesDatabasePrivilegesPtrOutput) Privileges ¶
func (o AccountPrivilegesDatabasePrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput ¶
func (o AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutput() AccountPrivilegesDatabasePrivilegesPtrOutput
func (AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesDatabasePrivilegesPtrOutput) ToAccountPrivilegesDatabasePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesDatabasePrivilegesPtrOutput
type AccountPrivilegesInput ¶
type AccountPrivilegesInput interface { pulumi.Input ToAccountPrivilegesOutput() AccountPrivilegesOutput ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput }
type AccountPrivilegesMap ¶
type AccountPrivilegesMap map[string]AccountPrivilegesInput
func (AccountPrivilegesMap) ElementType ¶
func (AccountPrivilegesMap) ElementType() reflect.Type
func (AccountPrivilegesMap) ToAccountPrivilegesMapOutput ¶
func (i AccountPrivilegesMap) ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput
func (AccountPrivilegesMap) ToAccountPrivilegesMapOutputWithContext ¶
func (i AccountPrivilegesMap) ToAccountPrivilegesMapOutputWithContext(ctx context.Context) AccountPrivilegesMapOutput
type AccountPrivilegesMapInput ¶
type AccountPrivilegesMapInput interface { pulumi.Input ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput ToAccountPrivilegesMapOutputWithContext(context.Context) AccountPrivilegesMapOutput }
AccountPrivilegesMapInput is an input type that accepts AccountPrivilegesMap and AccountPrivilegesMapOutput values. You can construct a concrete instance of `AccountPrivilegesMapInput` via:
AccountPrivilegesMap{ "key": AccountPrivilegesArgs{...} }
type AccountPrivilegesMapOutput ¶
type AccountPrivilegesMapOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesMapOutput) ElementType ¶
func (AccountPrivilegesMapOutput) ElementType() reflect.Type
func (AccountPrivilegesMapOutput) MapIndex ¶
func (o AccountPrivilegesMapOutput) MapIndex(k pulumi.StringInput) AccountPrivilegesOutput
func (AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutput ¶
func (o AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutput() AccountPrivilegesMapOutput
func (AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutputWithContext ¶
func (o AccountPrivilegesMapOutput) ToAccountPrivilegesMapOutputWithContext(ctx context.Context) AccountPrivilegesMapOutput
type AccountPrivilegesOutput ¶
type AccountPrivilegesOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesOutput) Account ¶
func (o AccountPrivilegesOutput) Account() AccountPrivilegesAccountOutput
The account of the database, including username and host.
func (AccountPrivilegesOutput) ColumnPrivileges ¶
func (o AccountPrivilegesOutput) ColumnPrivileges() AccountPrivilegesColumnPrivilegesPtrOutput
"Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
func (AccountPrivilegesOutput) DatabasePrivileges ¶
func (o AccountPrivilegesOutput) DatabasePrivileges() AccountPrivilegesDatabasePrivilegesPtrOutput
"Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
func (AccountPrivilegesOutput) ElementType ¶
func (AccountPrivilegesOutput) ElementType() reflect.Type
func (AccountPrivilegesOutput) GlobalPrivileges ¶
func (o AccountPrivilegesOutput) GlobalPrivileges() pulumi.StringArrayOutput
"Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.".
func (AccountPrivilegesOutput) InstanceId ¶
func (o AccountPrivilegesOutput) InstanceId() pulumi.StringOutput
The ID of instance.
func (AccountPrivilegesOutput) TablePrivileges ¶
func (o AccountPrivilegesOutput) TablePrivileges() AccountPrivilegesTablePrivilegesPtrOutput
"Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
func (AccountPrivilegesOutput) ToAccountPrivilegesOutput ¶
func (o AccountPrivilegesOutput) ToAccountPrivilegesOutput() AccountPrivilegesOutput
func (AccountPrivilegesOutput) ToAccountPrivilegesOutputWithContext ¶
func (o AccountPrivilegesOutput) ToAccountPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesOutput
func (AccountPrivilegesOutput) ViewPrivileges ¶
func (o AccountPrivilegesOutput) ViewPrivileges() AccountPrivilegesViewPrivilegesPtrOutput
"Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.".
type AccountPrivilegesState ¶
type AccountPrivilegesState struct { // The account of the database, including username and host. Account AccountPrivilegesAccountPtrInput // "Permissions for columns in database tables. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, REFERENCES.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". ColumnPrivileges AccountPrivilegesColumnPrivilegesPtrInput // "Database permissions. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE TEMPORARY TABLES,""LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". DatabasePrivileges AccountPrivilegesDatabasePrivilegesPtrInput // "Global permissions. Among them, the optional value of the permission in GlobalPrivileges is:""SELECT, INSERT, UPDATE, DELETE, CREATE, PROCESS, DROP, REFERENCES, INDEX, ALTER, SHOW DATABASES,""CREATE TEMPORARY TABLES, LOCK TABLES, EXECUTE, CREATE VIEW, SHOW VIEW, CREATE ROUTINE, ALTER ROUTINE, EVENT, TRIGGER.""Note that if this parameter is not passed, it means that the existing permissions are reserved. If it needs to be cleared, pass an empty array in this field.". GlobalPrivileges pulumi.StringArrayInput // The ID of instance. InstanceId pulumi.StringPtrInput // "Permissions for tables in the database. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". TablePrivileges AccountPrivilegesTablePrivilegesPtrInput // "Permissions for database views. Optional values for the Privileges permission are:""SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, REFERENCES, INDEX, ALTER, CREATE VIEW, SHOW VIEW, TRIGGER.""Note that if this parameter is not passed, the existing privileges are reserved. If you need to clear them, please pass an empty array in the complex type Privileges field.". ViewPrivileges AccountPrivilegesViewPrivilegesPtrInput }
func (AccountPrivilegesState) ElementType ¶
func (AccountPrivilegesState) ElementType() reflect.Type
type AccountPrivilegesTablePrivilegesArgs ¶
type AccountPrivilegesTablePrivilegesArgs struct { // The name of database. Database pulumi.StringInput `pulumi:"database"` // Permission information. Privileges pulumi.StringArrayInput `pulumi:"privileges"` // Database table name. Table pulumi.StringInput `pulumi:"table"` }
func (AccountPrivilegesTablePrivilegesArgs) ElementType ¶
func (AccountPrivilegesTablePrivilegesArgs) ElementType() reflect.Type
func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutput ¶
func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput
func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutputWithContext ¶
func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesOutput
func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutput ¶
func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
func (AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext ¶
func (i AccountPrivilegesTablePrivilegesArgs) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput
type AccountPrivilegesTablePrivilegesInput ¶
type AccountPrivilegesTablePrivilegesInput interface { pulumi.Input ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput ToAccountPrivilegesTablePrivilegesOutputWithContext(context.Context) AccountPrivilegesTablePrivilegesOutput }
AccountPrivilegesTablePrivilegesInput is an input type that accepts AccountPrivilegesTablePrivilegesArgs and AccountPrivilegesTablePrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesTablePrivilegesInput` via:
AccountPrivilegesTablePrivilegesArgs{...}
type AccountPrivilegesTablePrivilegesOutput ¶
type AccountPrivilegesTablePrivilegesOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesTablePrivilegesOutput) Database ¶
func (o AccountPrivilegesTablePrivilegesOutput) Database() pulumi.StringOutput
The name of database.
func (AccountPrivilegesTablePrivilegesOutput) ElementType ¶
func (AccountPrivilegesTablePrivilegesOutput) ElementType() reflect.Type
func (AccountPrivilegesTablePrivilegesOutput) Privileges ¶
func (o AccountPrivilegesTablePrivilegesOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesTablePrivilegesOutput) Table ¶
func (o AccountPrivilegesTablePrivilegesOutput) Table() pulumi.StringOutput
Database table name.
func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutput ¶
func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutput() AccountPrivilegesTablePrivilegesOutput
func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutputWithContext ¶
func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesOutput
func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutput ¶
func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
func (AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesTablePrivilegesOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput
type AccountPrivilegesTablePrivilegesPtrInput ¶
type AccountPrivilegesTablePrivilegesPtrInput interface { pulumi.Input ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesTablePrivilegesPtrOutput }
AccountPrivilegesTablePrivilegesPtrInput is an input type that accepts AccountPrivilegesTablePrivilegesArgs, AccountPrivilegesTablePrivilegesPtr and AccountPrivilegesTablePrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesTablePrivilegesPtrInput` via:
AccountPrivilegesTablePrivilegesArgs{...} or: nil
func AccountPrivilegesTablePrivilegesPtr ¶
func AccountPrivilegesTablePrivilegesPtr(v *AccountPrivilegesTablePrivilegesArgs) AccountPrivilegesTablePrivilegesPtrInput
type AccountPrivilegesTablePrivilegesPtrOutput ¶
type AccountPrivilegesTablePrivilegesPtrOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesTablePrivilegesPtrOutput) Database ¶
func (o AccountPrivilegesTablePrivilegesPtrOutput) Database() pulumi.StringPtrOutput
The name of database.
func (AccountPrivilegesTablePrivilegesPtrOutput) ElementType ¶
func (AccountPrivilegesTablePrivilegesPtrOutput) ElementType() reflect.Type
func (AccountPrivilegesTablePrivilegesPtrOutput) Privileges ¶
func (o AccountPrivilegesTablePrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesTablePrivilegesPtrOutput) Table ¶
func (o AccountPrivilegesTablePrivilegesPtrOutput) Table() pulumi.StringPtrOutput
Database table name.
func (AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutput ¶
func (o AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutput() AccountPrivilegesTablePrivilegesPtrOutput
func (AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesTablePrivilegesPtrOutput) ToAccountPrivilegesTablePrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesTablePrivilegesPtrOutput
type AccountPrivilegesViewPrivilegesArgs ¶
type AccountPrivilegesViewPrivilegesArgs struct { // The name of database. Database pulumi.StringInput `pulumi:"database"` // Permission information. Privileges pulumi.StringArrayInput `pulumi:"privileges"` // Database view name. View pulumi.StringInput `pulumi:"view"` }
func (AccountPrivilegesViewPrivilegesArgs) ElementType ¶
func (AccountPrivilegesViewPrivilegesArgs) ElementType() reflect.Type
func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutput ¶
func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput
func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutputWithContext ¶
func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesOutput
func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutput ¶
func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
func (AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext ¶
func (i AccountPrivilegesViewPrivilegesArgs) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput
type AccountPrivilegesViewPrivilegesInput ¶
type AccountPrivilegesViewPrivilegesInput interface { pulumi.Input ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput ToAccountPrivilegesViewPrivilegesOutputWithContext(context.Context) AccountPrivilegesViewPrivilegesOutput }
AccountPrivilegesViewPrivilegesInput is an input type that accepts AccountPrivilegesViewPrivilegesArgs and AccountPrivilegesViewPrivilegesOutput values. You can construct a concrete instance of `AccountPrivilegesViewPrivilegesInput` via:
AccountPrivilegesViewPrivilegesArgs{...}
type AccountPrivilegesViewPrivilegesOutput ¶
type AccountPrivilegesViewPrivilegesOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesViewPrivilegesOutput) Database ¶
func (o AccountPrivilegesViewPrivilegesOutput) Database() pulumi.StringOutput
The name of database.
func (AccountPrivilegesViewPrivilegesOutput) ElementType ¶
func (AccountPrivilegesViewPrivilegesOutput) ElementType() reflect.Type
func (AccountPrivilegesViewPrivilegesOutput) Privileges ¶
func (o AccountPrivilegesViewPrivilegesOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutput ¶
func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutput() AccountPrivilegesViewPrivilegesOutput
func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutputWithContext ¶
func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesOutput
func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutput ¶
func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
func (AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesViewPrivilegesOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput
func (AccountPrivilegesViewPrivilegesOutput) View ¶
func (o AccountPrivilegesViewPrivilegesOutput) View() pulumi.StringOutput
Database view name.
type AccountPrivilegesViewPrivilegesPtrInput ¶
type AccountPrivilegesViewPrivilegesPtrInput interface { pulumi.Input ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(context.Context) AccountPrivilegesViewPrivilegesPtrOutput }
AccountPrivilegesViewPrivilegesPtrInput is an input type that accepts AccountPrivilegesViewPrivilegesArgs, AccountPrivilegesViewPrivilegesPtr and AccountPrivilegesViewPrivilegesPtrOutput values. You can construct a concrete instance of `AccountPrivilegesViewPrivilegesPtrInput` via:
AccountPrivilegesViewPrivilegesArgs{...} or: nil
func AccountPrivilegesViewPrivilegesPtr ¶
func AccountPrivilegesViewPrivilegesPtr(v *AccountPrivilegesViewPrivilegesArgs) AccountPrivilegesViewPrivilegesPtrInput
type AccountPrivilegesViewPrivilegesPtrOutput ¶
type AccountPrivilegesViewPrivilegesPtrOutput struct{ *pulumi.OutputState }
func (AccountPrivilegesViewPrivilegesPtrOutput) Database ¶
func (o AccountPrivilegesViewPrivilegesPtrOutput) Database() pulumi.StringPtrOutput
The name of database.
func (AccountPrivilegesViewPrivilegesPtrOutput) ElementType ¶
func (AccountPrivilegesViewPrivilegesPtrOutput) ElementType() reflect.Type
func (AccountPrivilegesViewPrivilegesPtrOutput) Privileges ¶
func (o AccountPrivilegesViewPrivilegesPtrOutput) Privileges() pulumi.StringArrayOutput
Permission information.
func (AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutput ¶
func (o AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutput() AccountPrivilegesViewPrivilegesPtrOutput
func (AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext ¶
func (o AccountPrivilegesViewPrivilegesPtrOutput) ToAccountPrivilegesViewPrivilegesPtrOutputWithContext(ctx context.Context) AccountPrivilegesViewPrivilegesPtrOutput
func (AccountPrivilegesViewPrivilegesPtrOutput) View ¶
func (o AccountPrivilegesViewPrivilegesPtrOutput) View() pulumi.StringPtrOutput
Database view name.
type AccountState ¶
type AccountState struct { // description for account. Description pulumi.StringPtrInput // db host. Host pulumi.StringPtrInput // instance id. InstanceId pulumi.StringPtrInput // max user connections. MaxUserConnections pulumi.IntPtrInput // password. Password pulumi.StringPtrInput // whether the account is readonly. 0 means not a readonly account. ReadOnly pulumi.IntPtrInput // account name. UserName pulumi.StringPtrInput }
func (AccountState) ElementType ¶
func (AccountState) ElementType() reflect.Type
type DbInstance ¶
type DbInstance struct { pulumi.CustomResourceState // "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.". AutoRenewFlag pulumi.IntPtrOutput `pulumi:"autoRenewFlag"` // Whether to automatically use vouchers for payment, not used by default. AutoVoucher pulumi.BoolPtrOutput `pulumi:"autoVoucher"` // "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.". DbVersionId pulumi.StringPtrOutput `pulumi:"dbVersionId"` // DCN source instance ID. DcnInstanceId pulumi.StringPtrOutput `pulumi:"dcnInstanceId"` // DCN source region. DcnRegion pulumi.StringPtrOutput `pulumi:"dcnRegion"` // "parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)". InitParams DbInstanceInitParamArrayOutput `pulumi:"initParams"` // Instance name, you can set the name of the instance independently through this field. InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // Whether to support IPv6. Ipv6Flag pulumi.IntPtrOutput `pulumi:"ipv6Flag"` // The length of time you want to buy, unit: month. Period pulumi.IntOutput `pulumi:"period"` // Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project. ProjectId pulumi.IntPtrOutput `pulumi:"projectId"` // Array of tag key-value pairs. ResourceTags DbInstanceResourceTagArrayOutput `pulumi:"resourceTags"` // Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter. SecurityGroupIds pulumi.StringArrayOutput `pulumi:"securityGroupIds"` // The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance. ShardCount pulumi.IntOutput `pulumi:"shardCount"` // "Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardMemory pulumi.IntOutput `pulumi:"shardMemory"` // "Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardNodeCount pulumi.IntOutput `pulumi:"shardNodeCount"` // "Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardStorage pulumi.IntOutput `pulumi:"shardStorage"` // Virtual private network subnet ID, required when VpcId is not empty. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` // Voucher ID list, currently only supports specifying one voucher. VoucherIds pulumi.StringArrayOutput `pulumi:"voucherIds"` // Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network. VpcId pulumi.StringPtrOutput `pulumi:"vpcId"` // "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.". Zones pulumi.StringArrayOutput `pulumi:"zones"` }
Provides a resource to create a dcdb dbInstance
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.NewDbInstance(ctx, "dbInstance", &Dcdb.DbInstanceArgs{ InstanceName: pulumi.String("test_dcdb_db_instance"), Zones: pulumi.StringArray{ pulumi.String("ap-guangzhou-5"), }, Period: pulumi.Int(1), ShardMemory: pulumi.Int(2), ShardStorage: pulumi.Int(10), ShardNodeCount: pulumi.Int(2), ShardCount: pulumi.Int(2), VpcId: pulumi.Any(local.Vpc_id), SubnetId: pulumi.Any(local.Subnet_id), DbVersionId: pulumi.String("8.0"), ResourceTags: dcdb.DbInstanceResourceTagArray{ &dcdb.DbInstanceResourceTagArgs{ TagKey: pulumi.String("aaa"), TagValue: pulumi.String("bbb"), }, }, InitParams: dcdb.DbInstanceInitParamArray{ &dcdb.DbInstanceInitParamArgs{ Param: pulumi.String("character_set_server"), Value: pulumi.String("utf8mb4"), }, &dcdb.DbInstanceInitParamArgs{ Param: pulumi.String("lower_case_table_names"), Value: pulumi.String("1"), }, &dcdb.DbInstanceInitParamArgs{ Param: pulumi.String("sync_mode"), Value: pulumi.String("2"), }, &dcdb.DbInstanceInitParamArgs{ Param: pulumi.String("innodb_page_size"), Value: pulumi.String("16384"), }, }, SecurityGroupIds: pulumi.StringArray{ pulumi.Any(local.Sg_id), }, }) if err != nil { return err } return nil }) }
```
## Import
dcdb db_instance can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dcdb/dbInstance:DbInstance db_instance db_instance_id
```
func GetDbInstance ¶
func GetDbInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DbInstanceState, opts ...pulumi.ResourceOption) (*DbInstance, error)
GetDbInstance gets an existing DbInstance 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 NewDbInstance ¶
func NewDbInstance(ctx *pulumi.Context, name string, args *DbInstanceArgs, opts ...pulumi.ResourceOption) (*DbInstance, error)
NewDbInstance registers a new resource with the given unique name, arguments, and options.
func (*DbInstance) ElementType ¶
func (*DbInstance) ElementType() reflect.Type
func (*DbInstance) ToDbInstanceOutput ¶
func (i *DbInstance) ToDbInstanceOutput() DbInstanceOutput
func (*DbInstance) ToDbInstanceOutputWithContext ¶
func (i *DbInstance) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
type DbInstanceArgs ¶
type DbInstanceArgs struct { // "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.". AutoRenewFlag pulumi.IntPtrInput // Whether to automatically use vouchers for payment, not used by default. AutoVoucher pulumi.BoolPtrInput // "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.". DbVersionId pulumi.StringPtrInput // DCN source instance ID. DcnInstanceId pulumi.StringPtrInput // DCN source region. DcnRegion pulumi.StringPtrInput // "parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)". InitParams DbInstanceInitParamArrayInput // Instance name, you can set the name of the instance independently through this field. InstanceName pulumi.StringPtrInput // Whether to support IPv6. Ipv6Flag pulumi.IntPtrInput // The length of time you want to buy, unit: month. Period pulumi.IntInput // Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project. ProjectId pulumi.IntPtrInput // Array of tag key-value pairs. ResourceTags DbInstanceResourceTagArrayInput // Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter. SecurityGroupIds pulumi.StringArrayInput // The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance. ShardCount pulumi.IntInput // "Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardMemory pulumi.IntInput // "Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardNodeCount pulumi.IntInput // "Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardStorage pulumi.IntInput // Virtual private network subnet ID, required when VpcId is not empty. SubnetId pulumi.StringPtrInput // Voucher ID list, currently only supports specifying one voucher. VoucherIds pulumi.StringArrayInput // Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network. VpcId pulumi.StringPtrInput // "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.". Zones pulumi.StringArrayInput }
The set of arguments for constructing a DbInstance resource.
func (DbInstanceArgs) ElementType ¶
func (DbInstanceArgs) ElementType() reflect.Type
type DbInstanceArray ¶
type DbInstanceArray []DbInstanceInput
func (DbInstanceArray) ElementType ¶
func (DbInstanceArray) ElementType() reflect.Type
func (DbInstanceArray) ToDbInstanceArrayOutput ¶
func (i DbInstanceArray) ToDbInstanceArrayOutput() DbInstanceArrayOutput
func (DbInstanceArray) ToDbInstanceArrayOutputWithContext ¶
func (i DbInstanceArray) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput
type DbInstanceArrayInput ¶
type DbInstanceArrayInput interface { pulumi.Input ToDbInstanceArrayOutput() DbInstanceArrayOutput ToDbInstanceArrayOutputWithContext(context.Context) DbInstanceArrayOutput }
DbInstanceArrayInput is an input type that accepts DbInstanceArray and DbInstanceArrayOutput values. You can construct a concrete instance of `DbInstanceArrayInput` via:
DbInstanceArray{ DbInstanceArgs{...} }
type DbInstanceArrayOutput ¶
type DbInstanceArrayOutput struct{ *pulumi.OutputState }
func (DbInstanceArrayOutput) ElementType ¶
func (DbInstanceArrayOutput) ElementType() reflect.Type
func (DbInstanceArrayOutput) Index ¶
func (o DbInstanceArrayOutput) Index(i pulumi.IntInput) DbInstanceOutput
func (DbInstanceArrayOutput) ToDbInstanceArrayOutput ¶
func (o DbInstanceArrayOutput) ToDbInstanceArrayOutput() DbInstanceArrayOutput
func (DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext ¶
func (o DbInstanceArrayOutput) ToDbInstanceArrayOutputWithContext(ctx context.Context) DbInstanceArrayOutput
type DbInstanceInitParam ¶
type DbInstanceInitParamArgs ¶
type DbInstanceInitParamArgs struct { // The name of parameter. Param pulumi.StringInput `pulumi:"param"` // The value of parameter. Value pulumi.StringInput `pulumi:"value"` }
func (DbInstanceInitParamArgs) ElementType ¶
func (DbInstanceInitParamArgs) ElementType() reflect.Type
func (DbInstanceInitParamArgs) ToDbInstanceInitParamOutput ¶
func (i DbInstanceInitParamArgs) ToDbInstanceInitParamOutput() DbInstanceInitParamOutput
func (DbInstanceInitParamArgs) ToDbInstanceInitParamOutputWithContext ¶
func (i DbInstanceInitParamArgs) ToDbInstanceInitParamOutputWithContext(ctx context.Context) DbInstanceInitParamOutput
type DbInstanceInitParamArray ¶
type DbInstanceInitParamArray []DbInstanceInitParamInput
func (DbInstanceInitParamArray) ElementType ¶
func (DbInstanceInitParamArray) ElementType() reflect.Type
func (DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutput ¶
func (i DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput
func (DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutputWithContext ¶
func (i DbInstanceInitParamArray) ToDbInstanceInitParamArrayOutputWithContext(ctx context.Context) DbInstanceInitParamArrayOutput
type DbInstanceInitParamArrayInput ¶
type DbInstanceInitParamArrayInput interface { pulumi.Input ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput ToDbInstanceInitParamArrayOutputWithContext(context.Context) DbInstanceInitParamArrayOutput }
DbInstanceInitParamArrayInput is an input type that accepts DbInstanceInitParamArray and DbInstanceInitParamArrayOutput values. You can construct a concrete instance of `DbInstanceInitParamArrayInput` via:
DbInstanceInitParamArray{ DbInstanceInitParamArgs{...} }
type DbInstanceInitParamArrayOutput ¶
type DbInstanceInitParamArrayOutput struct{ *pulumi.OutputState }
func (DbInstanceInitParamArrayOutput) ElementType ¶
func (DbInstanceInitParamArrayOutput) ElementType() reflect.Type
func (DbInstanceInitParamArrayOutput) Index ¶
func (o DbInstanceInitParamArrayOutput) Index(i pulumi.IntInput) DbInstanceInitParamOutput
func (DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutput ¶
func (o DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutput() DbInstanceInitParamArrayOutput
func (DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutputWithContext ¶
func (o DbInstanceInitParamArrayOutput) ToDbInstanceInitParamArrayOutputWithContext(ctx context.Context) DbInstanceInitParamArrayOutput
type DbInstanceInitParamInput ¶
type DbInstanceInitParamInput interface { pulumi.Input ToDbInstanceInitParamOutput() DbInstanceInitParamOutput ToDbInstanceInitParamOutputWithContext(context.Context) DbInstanceInitParamOutput }
DbInstanceInitParamInput is an input type that accepts DbInstanceInitParamArgs and DbInstanceInitParamOutput values. You can construct a concrete instance of `DbInstanceInitParamInput` via:
DbInstanceInitParamArgs{...}
type DbInstanceInitParamOutput ¶
type DbInstanceInitParamOutput struct{ *pulumi.OutputState }
func (DbInstanceInitParamOutput) ElementType ¶
func (DbInstanceInitParamOutput) ElementType() reflect.Type
func (DbInstanceInitParamOutput) Param ¶
func (o DbInstanceInitParamOutput) Param() pulumi.StringOutput
The name of parameter.
func (DbInstanceInitParamOutput) ToDbInstanceInitParamOutput ¶
func (o DbInstanceInitParamOutput) ToDbInstanceInitParamOutput() DbInstanceInitParamOutput
func (DbInstanceInitParamOutput) ToDbInstanceInitParamOutputWithContext ¶
func (o DbInstanceInitParamOutput) ToDbInstanceInitParamOutputWithContext(ctx context.Context) DbInstanceInitParamOutput
func (DbInstanceInitParamOutput) Value ¶
func (o DbInstanceInitParamOutput) Value() pulumi.StringOutput
The value of parameter.
type DbInstanceInput ¶
type DbInstanceInput interface { pulumi.Input ToDbInstanceOutput() DbInstanceOutput ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput }
type DbInstanceMap ¶
type DbInstanceMap map[string]DbInstanceInput
func (DbInstanceMap) ElementType ¶
func (DbInstanceMap) ElementType() reflect.Type
func (DbInstanceMap) ToDbInstanceMapOutput ¶
func (i DbInstanceMap) ToDbInstanceMapOutput() DbInstanceMapOutput
func (DbInstanceMap) ToDbInstanceMapOutputWithContext ¶
func (i DbInstanceMap) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput
type DbInstanceMapInput ¶
type DbInstanceMapInput interface { pulumi.Input ToDbInstanceMapOutput() DbInstanceMapOutput ToDbInstanceMapOutputWithContext(context.Context) DbInstanceMapOutput }
DbInstanceMapInput is an input type that accepts DbInstanceMap and DbInstanceMapOutput values. You can construct a concrete instance of `DbInstanceMapInput` via:
DbInstanceMap{ "key": DbInstanceArgs{...} }
type DbInstanceMapOutput ¶
type DbInstanceMapOutput struct{ *pulumi.OutputState }
func (DbInstanceMapOutput) ElementType ¶
func (DbInstanceMapOutput) ElementType() reflect.Type
func (DbInstanceMapOutput) MapIndex ¶
func (o DbInstanceMapOutput) MapIndex(k pulumi.StringInput) DbInstanceOutput
func (DbInstanceMapOutput) ToDbInstanceMapOutput ¶
func (o DbInstanceMapOutput) ToDbInstanceMapOutput() DbInstanceMapOutput
func (DbInstanceMapOutput) ToDbInstanceMapOutputWithContext ¶
func (o DbInstanceMapOutput) ToDbInstanceMapOutputWithContext(ctx context.Context) DbInstanceMapOutput
type DbInstanceOutput ¶
type DbInstanceOutput struct{ *pulumi.OutputState }
func (DbInstanceOutput) AutoRenewFlag ¶
func (o DbInstanceOutput) AutoRenewFlag() pulumi.IntPtrOutput
"Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.".
func (DbInstanceOutput) AutoVoucher ¶
func (o DbInstanceOutput) AutoVoucher() pulumi.BoolPtrOutput
Whether to automatically use vouchers for payment, not used by default.
func (DbInstanceOutput) DbVersionId ¶
func (o DbInstanceOutput) DbVersionId() pulumi.StringPtrOutput
"Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.".
func (DbInstanceOutput) DcnInstanceId ¶
func (o DbInstanceOutput) DcnInstanceId() pulumi.StringPtrOutput
DCN source instance ID.
func (DbInstanceOutput) DcnRegion ¶
func (o DbInstanceOutput) DcnRegion() pulumi.StringPtrOutput
DCN source region.
func (DbInstanceOutput) ElementType ¶
func (DbInstanceOutput) ElementType() reflect.Type
func (DbInstanceOutput) InitParams ¶
func (o DbInstanceOutput) InitParams() DbInstanceInitParamArrayOutput
"parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)".
func (DbInstanceOutput) InstanceName ¶
func (o DbInstanceOutput) InstanceName() pulumi.StringPtrOutput
Instance name, you can set the name of the instance independently through this field.
func (DbInstanceOutput) Ipv6Flag ¶
func (o DbInstanceOutput) Ipv6Flag() pulumi.IntPtrOutput
Whether to support IPv6.
func (DbInstanceOutput) Period ¶
func (o DbInstanceOutput) Period() pulumi.IntOutput
The length of time you want to buy, unit: month.
func (DbInstanceOutput) ProjectId ¶
func (o DbInstanceOutput) ProjectId() pulumi.IntPtrOutput
Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project.
func (DbInstanceOutput) ResourceTags ¶
func (o DbInstanceOutput) ResourceTags() DbInstanceResourceTagArrayOutput
Array of tag key-value pairs.
func (DbInstanceOutput) SecurityGroupIds ¶
func (o DbInstanceOutput) SecurityGroupIds() pulumi.StringArrayOutput
Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter.
func (DbInstanceOutput) ShardCount ¶
func (o DbInstanceOutput) ShardCount() pulumi.IntOutput
The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance.
func (DbInstanceOutput) ShardMemory ¶
func (o DbInstanceOutput) ShardMemory() pulumi.IntOutput
"Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
func (DbInstanceOutput) ShardNodeCount ¶
func (o DbInstanceOutput) ShardNodeCount() pulumi.IntOutput
"Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.".
func (DbInstanceOutput) ShardStorage ¶
func (o DbInstanceOutput) ShardStorage() pulumi.IntOutput
"Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.".
func (DbInstanceOutput) SubnetId ¶
func (o DbInstanceOutput) SubnetId() pulumi.StringPtrOutput
Virtual private network subnet ID, required when VpcId is not empty.
func (DbInstanceOutput) ToDbInstanceOutput ¶
func (o DbInstanceOutput) ToDbInstanceOutput() DbInstanceOutput
func (DbInstanceOutput) ToDbInstanceOutputWithContext ¶
func (o DbInstanceOutput) ToDbInstanceOutputWithContext(ctx context.Context) DbInstanceOutput
func (DbInstanceOutput) VoucherIds ¶
func (o DbInstanceOutput) VoucherIds() pulumi.StringArrayOutput
Voucher ID list, currently only supports specifying one voucher.
func (DbInstanceOutput) VpcId ¶
func (o DbInstanceOutput) VpcId() pulumi.StringPtrOutput
Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network.
func (DbInstanceOutput) Zones ¶
func (o DbInstanceOutput) Zones() pulumi.StringArrayOutput
"The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.".
type DbInstanceResourceTag ¶
type DbInstanceResourceTagArgs ¶
type DbInstanceResourceTagArgs struct { // The key of tag. TagKey pulumi.StringInput `pulumi:"tagKey"` // The value of tag. TagValue pulumi.StringInput `pulumi:"tagValue"` }
func (DbInstanceResourceTagArgs) ElementType ¶
func (DbInstanceResourceTagArgs) ElementType() reflect.Type
func (DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutput ¶
func (i DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput
func (DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutputWithContext ¶
func (i DbInstanceResourceTagArgs) ToDbInstanceResourceTagOutputWithContext(ctx context.Context) DbInstanceResourceTagOutput
type DbInstanceResourceTagArray ¶
type DbInstanceResourceTagArray []DbInstanceResourceTagInput
func (DbInstanceResourceTagArray) ElementType ¶
func (DbInstanceResourceTagArray) ElementType() reflect.Type
func (DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutput ¶
func (i DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput
func (DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutputWithContext ¶
func (i DbInstanceResourceTagArray) ToDbInstanceResourceTagArrayOutputWithContext(ctx context.Context) DbInstanceResourceTagArrayOutput
type DbInstanceResourceTagArrayInput ¶
type DbInstanceResourceTagArrayInput interface { pulumi.Input ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput ToDbInstanceResourceTagArrayOutputWithContext(context.Context) DbInstanceResourceTagArrayOutput }
DbInstanceResourceTagArrayInput is an input type that accepts DbInstanceResourceTagArray and DbInstanceResourceTagArrayOutput values. You can construct a concrete instance of `DbInstanceResourceTagArrayInput` via:
DbInstanceResourceTagArray{ DbInstanceResourceTagArgs{...} }
type DbInstanceResourceTagArrayOutput ¶
type DbInstanceResourceTagArrayOutput struct{ *pulumi.OutputState }
func (DbInstanceResourceTagArrayOutput) ElementType ¶
func (DbInstanceResourceTagArrayOutput) ElementType() reflect.Type
func (DbInstanceResourceTagArrayOutput) Index ¶
func (o DbInstanceResourceTagArrayOutput) Index(i pulumi.IntInput) DbInstanceResourceTagOutput
func (DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutput ¶
func (o DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutput() DbInstanceResourceTagArrayOutput
func (DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutputWithContext ¶
func (o DbInstanceResourceTagArrayOutput) ToDbInstanceResourceTagArrayOutputWithContext(ctx context.Context) DbInstanceResourceTagArrayOutput
type DbInstanceResourceTagInput ¶
type DbInstanceResourceTagInput interface { pulumi.Input ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput ToDbInstanceResourceTagOutputWithContext(context.Context) DbInstanceResourceTagOutput }
DbInstanceResourceTagInput is an input type that accepts DbInstanceResourceTagArgs and DbInstanceResourceTagOutput values. You can construct a concrete instance of `DbInstanceResourceTagInput` via:
DbInstanceResourceTagArgs{...}
type DbInstanceResourceTagOutput ¶
type DbInstanceResourceTagOutput struct{ *pulumi.OutputState }
func (DbInstanceResourceTagOutput) ElementType ¶
func (DbInstanceResourceTagOutput) ElementType() reflect.Type
func (DbInstanceResourceTagOutput) TagKey ¶
func (o DbInstanceResourceTagOutput) TagKey() pulumi.StringOutput
The key of tag.
func (DbInstanceResourceTagOutput) TagValue ¶
func (o DbInstanceResourceTagOutput) TagValue() pulumi.StringOutput
The value of tag.
func (DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutput ¶
func (o DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutput() DbInstanceResourceTagOutput
func (DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutputWithContext ¶
func (o DbInstanceResourceTagOutput) ToDbInstanceResourceTagOutputWithContext(ctx context.Context) DbInstanceResourceTagOutput
type DbInstanceState ¶
type DbInstanceState struct { // "Automatic renewal flag, 0 means the default state (the user has not set it, that is, the initial state is manual renewal, and the user has activated the prepaid non-stop privilege and will also perform automatic renewal).""1 means automatic renewal, 2 means no automatic renewal (user setting).""if the business has no concept of renewal or automatic renewal is not required, it needs to be set to 0.". AutoRenewFlag pulumi.IntPtrInput // Whether to automatically use vouchers for payment, not used by default. AutoVoucher pulumi.BoolPtrInput // "Database engine version, currently available: 8.0.18, 10.1.9, 5.7.17.""8.0.18 - MySQL 8.0.18;""10.1.9 - Mariadb 10.1.9;""5.7.17 - Percona 5.7.17""If not filled, the default is 5.7.17, which means Percona 5.7.17.". DbVersionId pulumi.StringPtrInput // DCN source instance ID. DcnInstanceId pulumi.StringPtrInput // DCN source region. DcnRegion pulumi.StringPtrInput // "parameter list. The optional values of this interface are:""character_set_server (character set, must be passed),""lower_case_table_names (table name is case sensitive, must be passed, 0 - sensitive; 1 - insensitive),""innodb_page_size (innodb data page, default 16K),""sync_mode ( Synchronous mode: 0 - asynchronous; 1 - strong synchronous; 2 - strong synchronous degenerate. The default is strong synchronous degenerate)". InitParams DbInstanceInitParamArrayInput // Instance name, you can set the name of the instance independently through this field. InstanceName pulumi.StringPtrInput // Whether to support IPv6. Ipv6Flag pulumi.IntPtrInput // The length of time you want to buy, unit: month. Period pulumi.IntPtrInput // Project ID, which can be obtained by viewing the project list, if not passed, it will be associated with the default project. ProjectId pulumi.IntPtrInput // Array of tag key-value pairs. ResourceTags DbInstanceResourceTagArrayInput // Security group ids, the security group can be passed in the form of an array, compatible with the previous SecurityGroupId parameter. SecurityGroupIds pulumi.StringArrayInput // The number of instance fragments, the optional range is 2-8, and new fragments can be added to a maximum of 64 fragments by upgrading the instance. ShardCount pulumi.IntPtrInput // "Shard memory size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardMemory pulumi.IntPtrInput // "Number of single shard nodes, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardNodeCount pulumi.IntPtrInput // "Shard storage size, unit: GB, can pass DescribeShardSpec""Query the instance specification to obtain.". ShardStorage pulumi.IntPtrInput // Virtual private network subnet ID, required when VpcId is not empty. SubnetId pulumi.StringPtrInput // Voucher ID list, currently only supports specifying one voucher. VoucherIds pulumi.StringArrayInput // Virtual private network ID, if not passed or passed empty, it means that it is created as a basic network. VpcId pulumi.StringPtrInput // "The availability zone distribution of shard nodes can be filled with up to two availability zones. When the shard specification is one master and two slaves, two of the nodes are in the first availability zone.""Note that the current availability zone that can be sold needs to be pulled through the DescribeDCDBSaleInfo interface.". Zones pulumi.StringArrayInput }
func (DbInstanceState) ElementType ¶
func (DbInstanceState) ElementType() reflect.Type
type DbParameters ¶
type DbParameters struct { pulumi.CustomResourceState // The ID of instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Parameter list, each element is a combination of Param and Value. Params DbParametersParamsOutput `pulumi:"params"` }
Provides a resource to create a dcdb dbParameters
## Example Usage
```go package main
import (
"fmt" "github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.NewDbParameters(ctx, "dbParameters", &Dcdb.DbParametersArgs{ InstanceId: pulumi.String(fmt.Sprintf("%v%v", "%", "s")), Params: &dcdb.DbParametersParamsArgs{ Param: pulumi.String("max_connections"), Value: pulumi.String("9999"), }, }) if err != nil { return err } return nil }) }
```
## Import
dcdb db_parameters can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dcdb/dbParameters:DbParameters db_parameters instanceId#paramName
```
func GetDbParameters ¶
func GetDbParameters(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DbParametersState, opts ...pulumi.ResourceOption) (*DbParameters, error)
GetDbParameters gets an existing DbParameters 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 NewDbParameters ¶
func NewDbParameters(ctx *pulumi.Context, name string, args *DbParametersArgs, opts ...pulumi.ResourceOption) (*DbParameters, error)
NewDbParameters registers a new resource with the given unique name, arguments, and options.
func (*DbParameters) ElementType ¶
func (*DbParameters) ElementType() reflect.Type
func (*DbParameters) ToDbParametersOutput ¶
func (i *DbParameters) ToDbParametersOutput() DbParametersOutput
func (*DbParameters) ToDbParametersOutputWithContext ¶
func (i *DbParameters) ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput
type DbParametersArgs ¶
type DbParametersArgs struct { // The ID of instance. InstanceId pulumi.StringInput // Parameter list, each element is a combination of Param and Value. Params DbParametersParamsInput }
The set of arguments for constructing a DbParameters resource.
func (DbParametersArgs) ElementType ¶
func (DbParametersArgs) ElementType() reflect.Type
type DbParametersArray ¶
type DbParametersArray []DbParametersInput
func (DbParametersArray) ElementType ¶
func (DbParametersArray) ElementType() reflect.Type
func (DbParametersArray) ToDbParametersArrayOutput ¶
func (i DbParametersArray) ToDbParametersArrayOutput() DbParametersArrayOutput
func (DbParametersArray) ToDbParametersArrayOutputWithContext ¶
func (i DbParametersArray) ToDbParametersArrayOutputWithContext(ctx context.Context) DbParametersArrayOutput
type DbParametersArrayInput ¶
type DbParametersArrayInput interface { pulumi.Input ToDbParametersArrayOutput() DbParametersArrayOutput ToDbParametersArrayOutputWithContext(context.Context) DbParametersArrayOutput }
DbParametersArrayInput is an input type that accepts DbParametersArray and DbParametersArrayOutput values. You can construct a concrete instance of `DbParametersArrayInput` via:
DbParametersArray{ DbParametersArgs{...} }
type DbParametersArrayOutput ¶
type DbParametersArrayOutput struct{ *pulumi.OutputState }
func (DbParametersArrayOutput) ElementType ¶
func (DbParametersArrayOutput) ElementType() reflect.Type
func (DbParametersArrayOutput) Index ¶
func (o DbParametersArrayOutput) Index(i pulumi.IntInput) DbParametersOutput
func (DbParametersArrayOutput) ToDbParametersArrayOutput ¶
func (o DbParametersArrayOutput) ToDbParametersArrayOutput() DbParametersArrayOutput
func (DbParametersArrayOutput) ToDbParametersArrayOutputWithContext ¶
func (o DbParametersArrayOutput) ToDbParametersArrayOutputWithContext(ctx context.Context) DbParametersArrayOutput
type DbParametersInput ¶
type DbParametersInput interface { pulumi.Input ToDbParametersOutput() DbParametersOutput ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput }
type DbParametersMap ¶
type DbParametersMap map[string]DbParametersInput
func (DbParametersMap) ElementType ¶
func (DbParametersMap) ElementType() reflect.Type
func (DbParametersMap) ToDbParametersMapOutput ¶
func (i DbParametersMap) ToDbParametersMapOutput() DbParametersMapOutput
func (DbParametersMap) ToDbParametersMapOutputWithContext ¶
func (i DbParametersMap) ToDbParametersMapOutputWithContext(ctx context.Context) DbParametersMapOutput
type DbParametersMapInput ¶
type DbParametersMapInput interface { pulumi.Input ToDbParametersMapOutput() DbParametersMapOutput ToDbParametersMapOutputWithContext(context.Context) DbParametersMapOutput }
DbParametersMapInput is an input type that accepts DbParametersMap and DbParametersMapOutput values. You can construct a concrete instance of `DbParametersMapInput` via:
DbParametersMap{ "key": DbParametersArgs{...} }
type DbParametersMapOutput ¶
type DbParametersMapOutput struct{ *pulumi.OutputState }
func (DbParametersMapOutput) ElementType ¶
func (DbParametersMapOutput) ElementType() reflect.Type
func (DbParametersMapOutput) MapIndex ¶
func (o DbParametersMapOutput) MapIndex(k pulumi.StringInput) DbParametersOutput
func (DbParametersMapOutput) ToDbParametersMapOutput ¶
func (o DbParametersMapOutput) ToDbParametersMapOutput() DbParametersMapOutput
func (DbParametersMapOutput) ToDbParametersMapOutputWithContext ¶
func (o DbParametersMapOutput) ToDbParametersMapOutputWithContext(ctx context.Context) DbParametersMapOutput
type DbParametersOutput ¶
type DbParametersOutput struct{ *pulumi.OutputState }
func (DbParametersOutput) ElementType ¶
func (DbParametersOutput) ElementType() reflect.Type
func (DbParametersOutput) InstanceId ¶
func (o DbParametersOutput) InstanceId() pulumi.StringOutput
The ID of instance.
func (DbParametersOutput) Params ¶
func (o DbParametersOutput) Params() DbParametersParamsOutput
Parameter list, each element is a combination of Param and Value.
func (DbParametersOutput) ToDbParametersOutput ¶
func (o DbParametersOutput) ToDbParametersOutput() DbParametersOutput
func (DbParametersOutput) ToDbParametersOutputWithContext ¶
func (o DbParametersOutput) ToDbParametersOutputWithContext(ctx context.Context) DbParametersOutput
type DbParametersParams ¶
type DbParametersParamsArgs ¶
type DbParametersParamsArgs struct { // The name of parameter. Param pulumi.StringInput `pulumi:"param"` // The value of parameter. Value pulumi.StringInput `pulumi:"value"` }
func (DbParametersParamsArgs) ElementType ¶
func (DbParametersParamsArgs) ElementType() reflect.Type
func (DbParametersParamsArgs) ToDbParametersParamsOutput ¶
func (i DbParametersParamsArgs) ToDbParametersParamsOutput() DbParametersParamsOutput
func (DbParametersParamsArgs) ToDbParametersParamsOutputWithContext ¶
func (i DbParametersParamsArgs) ToDbParametersParamsOutputWithContext(ctx context.Context) DbParametersParamsOutput
func (DbParametersParamsArgs) ToDbParametersParamsPtrOutput ¶
func (i DbParametersParamsArgs) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
func (DbParametersParamsArgs) ToDbParametersParamsPtrOutputWithContext ¶
func (i DbParametersParamsArgs) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput
type DbParametersParamsInput ¶
type DbParametersParamsInput interface { pulumi.Input ToDbParametersParamsOutput() DbParametersParamsOutput ToDbParametersParamsOutputWithContext(context.Context) DbParametersParamsOutput }
DbParametersParamsInput is an input type that accepts DbParametersParamsArgs and DbParametersParamsOutput values. You can construct a concrete instance of `DbParametersParamsInput` via:
DbParametersParamsArgs{...}
type DbParametersParamsOutput ¶
type DbParametersParamsOutput struct{ *pulumi.OutputState }
func (DbParametersParamsOutput) ElementType ¶
func (DbParametersParamsOutput) ElementType() reflect.Type
func (DbParametersParamsOutput) Param ¶
func (o DbParametersParamsOutput) Param() pulumi.StringOutput
The name of parameter.
func (DbParametersParamsOutput) ToDbParametersParamsOutput ¶
func (o DbParametersParamsOutput) ToDbParametersParamsOutput() DbParametersParamsOutput
func (DbParametersParamsOutput) ToDbParametersParamsOutputWithContext ¶
func (o DbParametersParamsOutput) ToDbParametersParamsOutputWithContext(ctx context.Context) DbParametersParamsOutput
func (DbParametersParamsOutput) ToDbParametersParamsPtrOutput ¶
func (o DbParametersParamsOutput) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
func (DbParametersParamsOutput) ToDbParametersParamsPtrOutputWithContext ¶
func (o DbParametersParamsOutput) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput
func (DbParametersParamsOutput) Value ¶
func (o DbParametersParamsOutput) Value() pulumi.StringOutput
The value of parameter.
type DbParametersParamsPtrInput ¶
type DbParametersParamsPtrInput interface { pulumi.Input ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput ToDbParametersParamsPtrOutputWithContext(context.Context) DbParametersParamsPtrOutput }
DbParametersParamsPtrInput is an input type that accepts DbParametersParamsArgs, DbParametersParamsPtr and DbParametersParamsPtrOutput values. You can construct a concrete instance of `DbParametersParamsPtrInput` via:
DbParametersParamsArgs{...} or: nil
func DbParametersParamsPtr ¶
func DbParametersParamsPtr(v *DbParametersParamsArgs) DbParametersParamsPtrInput
type DbParametersParamsPtrOutput ¶
type DbParametersParamsPtrOutput struct{ *pulumi.OutputState }
func (DbParametersParamsPtrOutput) Elem ¶
func (o DbParametersParamsPtrOutput) Elem() DbParametersParamsOutput
func (DbParametersParamsPtrOutput) ElementType ¶
func (DbParametersParamsPtrOutput) ElementType() reflect.Type
func (DbParametersParamsPtrOutput) Param ¶
func (o DbParametersParamsPtrOutput) Param() pulumi.StringPtrOutput
The name of parameter.
func (DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutput ¶
func (o DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutput() DbParametersParamsPtrOutput
func (DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutputWithContext ¶
func (o DbParametersParamsPtrOutput) ToDbParametersParamsPtrOutputWithContext(ctx context.Context) DbParametersParamsPtrOutput
func (DbParametersParamsPtrOutput) Value ¶
func (o DbParametersParamsPtrOutput) Value() pulumi.StringPtrOutput
The value of parameter.
type DbParametersState ¶
type DbParametersState struct { // The ID of instance. InstanceId pulumi.StringPtrInput // Parameter list, each element is a combination of Param and Value. Params DbParametersParamsPtrInput }
func (DbParametersState) ElementType ¶
func (DbParametersState) ElementType() reflect.Type
type GetAccountsArgs ¶
type GetAccountsArgs struct { // instance id. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getAccounts.
type GetAccountsList ¶
type GetAccountsList struct { // Creation time. CreateTime string `pulumi:"createTime"` // If the standby machine delay exceeds the setting value of this parameter, the system will consider that the standby machine is faulty and recommend that the parameter value be greater than 10. This parameter takes effect when ReadOnly selects 1 and 2. DelayThresh int `pulumi:"delayThresh"` // User remarks info. Description string `pulumi:"description"` // From which host the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, the IP segment ends with %; supports filling in %; if it is empty, it defaults to %). Host string `pulumi:"host"` // Read-only flag, 0: No, 1: The SQL request of this account is preferentially executed on the standby machine, and the host is selected for execution when the standby machine is unavailable. 2: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable. ReadOnly int `pulumi:"readOnly"` // For read-only accounts, set the policy whether to fix the standby machine, 0: not fix the standby machine, that is, the standby machine will not disconnect from the client if it does not meet the conditions, the Proxy selects other available standby machines, 1: the standby machine will be disconnected if the conditions are not met, Make sure a connection is secured to the standby machine. SlaveConst int `pulumi:"slaveConst"` // Last update time. UpdateTime string `pulumi:"updateTime"` // User Name. UserName string `pulumi:"userName"` }
type GetAccountsListArgs ¶
type GetAccountsListArgs struct { // Creation time. CreateTime pulumi.StringInput `pulumi:"createTime"` // If the standby machine delay exceeds the setting value of this parameter, the system will consider that the standby machine is faulty and recommend that the parameter value be greater than 10. This parameter takes effect when ReadOnly selects 1 and 2. DelayThresh pulumi.IntInput `pulumi:"delayThresh"` // User remarks info. Description pulumi.StringInput `pulumi:"description"` // From which host the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, the IP segment ends with %; supports filling in %; if it is empty, it defaults to %). Host pulumi.StringInput `pulumi:"host"` // Read-only flag, 0: No, 1: The SQL request of this account is preferentially executed on the standby machine, and the host is selected for execution when the standby machine is unavailable. 2: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable. ReadOnly pulumi.IntInput `pulumi:"readOnly"` // For read-only accounts, set the policy whether to fix the standby machine, 0: not fix the standby machine, that is, the standby machine will not disconnect from the client if it does not meet the conditions, the Proxy selects other available standby machines, 1: the standby machine will be disconnected if the conditions are not met, Make sure a connection is secured to the standby machine. SlaveConst pulumi.IntInput `pulumi:"slaveConst"` // Last update time. UpdateTime pulumi.StringInput `pulumi:"updateTime"` // User Name. UserName pulumi.StringInput `pulumi:"userName"` }
func (GetAccountsListArgs) ElementType ¶
func (GetAccountsListArgs) ElementType() reflect.Type
func (GetAccountsListArgs) ToGetAccountsListOutput ¶
func (i GetAccountsListArgs) ToGetAccountsListOutput() GetAccountsListOutput
func (GetAccountsListArgs) ToGetAccountsListOutputWithContext ¶
func (i GetAccountsListArgs) ToGetAccountsListOutputWithContext(ctx context.Context) GetAccountsListOutput
type GetAccountsListArray ¶
type GetAccountsListArray []GetAccountsListInput
func (GetAccountsListArray) ElementType ¶
func (GetAccountsListArray) ElementType() reflect.Type
func (GetAccountsListArray) ToGetAccountsListArrayOutput ¶
func (i GetAccountsListArray) ToGetAccountsListArrayOutput() GetAccountsListArrayOutput
func (GetAccountsListArray) ToGetAccountsListArrayOutputWithContext ¶
func (i GetAccountsListArray) ToGetAccountsListArrayOutputWithContext(ctx context.Context) GetAccountsListArrayOutput
type GetAccountsListArrayInput ¶
type GetAccountsListArrayInput interface { pulumi.Input ToGetAccountsListArrayOutput() GetAccountsListArrayOutput ToGetAccountsListArrayOutputWithContext(context.Context) GetAccountsListArrayOutput }
GetAccountsListArrayInput is an input type that accepts GetAccountsListArray and GetAccountsListArrayOutput values. You can construct a concrete instance of `GetAccountsListArrayInput` via:
GetAccountsListArray{ GetAccountsListArgs{...} }
type GetAccountsListArrayOutput ¶
type GetAccountsListArrayOutput struct{ *pulumi.OutputState }
func (GetAccountsListArrayOutput) ElementType ¶
func (GetAccountsListArrayOutput) ElementType() reflect.Type
func (GetAccountsListArrayOutput) Index ¶
func (o GetAccountsListArrayOutput) Index(i pulumi.IntInput) GetAccountsListOutput
func (GetAccountsListArrayOutput) ToGetAccountsListArrayOutput ¶
func (o GetAccountsListArrayOutput) ToGetAccountsListArrayOutput() GetAccountsListArrayOutput
func (GetAccountsListArrayOutput) ToGetAccountsListArrayOutputWithContext ¶
func (o GetAccountsListArrayOutput) ToGetAccountsListArrayOutputWithContext(ctx context.Context) GetAccountsListArrayOutput
type GetAccountsListInput ¶
type GetAccountsListInput interface { pulumi.Input ToGetAccountsListOutput() GetAccountsListOutput ToGetAccountsListOutputWithContext(context.Context) GetAccountsListOutput }
GetAccountsListInput is an input type that accepts GetAccountsListArgs and GetAccountsListOutput values. You can construct a concrete instance of `GetAccountsListInput` via:
GetAccountsListArgs{...}
type GetAccountsListOutput ¶
type GetAccountsListOutput struct{ *pulumi.OutputState }
func (GetAccountsListOutput) CreateTime ¶
func (o GetAccountsListOutput) CreateTime() pulumi.StringOutput
Creation time.
func (GetAccountsListOutput) DelayThresh ¶
func (o GetAccountsListOutput) DelayThresh() pulumi.IntOutput
If the standby machine delay exceeds the setting value of this parameter, the system will consider that the standby machine is faulty and recommend that the parameter value be greater than 10. This parameter takes effect when ReadOnly selects 1 and 2.
func (GetAccountsListOutput) Description ¶
func (o GetAccountsListOutput) Description() pulumi.StringOutput
User remarks info.
func (GetAccountsListOutput) ElementType ¶
func (GetAccountsListOutput) ElementType() reflect.Type
func (GetAccountsListOutput) Host ¶
func (o GetAccountsListOutput) Host() pulumi.StringOutput
From which host the user can log in (corresponding to the host field of MySQL users, UserName + Host uniquely identifies a user, in the form of IP, the IP segment ends with %; supports filling in %; if it is empty, it defaults to %).
func (GetAccountsListOutput) ReadOnly ¶
func (o GetAccountsListOutput) ReadOnly() pulumi.IntOutput
Read-only flag, 0: No, 1: The SQL request of this account is preferentially executed on the standby machine, and the host is selected for execution when the standby machine is unavailable. 2: The standby machine is preferentially selected for execution, and the operation fails when the standby machine is unavailable.
func (GetAccountsListOutput) SlaveConst ¶
func (o GetAccountsListOutput) SlaveConst() pulumi.IntOutput
For read-only accounts, set the policy whether to fix the standby machine, 0: not fix the standby machine, that is, the standby machine will not disconnect from the client if it does not meet the conditions, the Proxy selects other available standby machines, 1: the standby machine will be disconnected if the conditions are not met, Make sure a connection is secured to the standby machine.
func (GetAccountsListOutput) ToGetAccountsListOutput ¶
func (o GetAccountsListOutput) ToGetAccountsListOutput() GetAccountsListOutput
func (GetAccountsListOutput) ToGetAccountsListOutputWithContext ¶
func (o GetAccountsListOutput) ToGetAccountsListOutputWithContext(ctx context.Context) GetAccountsListOutput
func (GetAccountsListOutput) UpdateTime ¶
func (o GetAccountsListOutput) UpdateTime() pulumi.StringOutput
Last update time.
func (GetAccountsListOutput) UserName ¶
func (o GetAccountsListOutput) UserName() pulumi.StringOutput
User Name.
type GetAccountsOutputArgs ¶
type GetAccountsOutputArgs struct { // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getAccounts.
func (GetAccountsOutputArgs) ElementType ¶
func (GetAccountsOutputArgs) ElementType() reflect.Type
type GetAccountsResult ¶
type GetAccountsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` // Cloud database account information. Lists []GetAccountsList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getAccounts.
func GetAccounts ¶
func GetAccounts(ctx *pulumi.Context, args *GetAccountsArgs, opts ...pulumi.InvokeOption) (*GetAccountsResult, error)
Use this data source to query detailed information of dcdb accounts.
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetAccounts(ctx, &dcdb.GetAccountsArgs{ InstanceId: tencentcloud_dcdb_account.Foo.Instance_id, }, nil) if err != nil { return err } return nil }) }
```
type GetAccountsResultOutput ¶
type GetAccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getAccounts.
func GetAccountsOutput ¶
func GetAccountsOutput(ctx *pulumi.Context, args GetAccountsOutputArgs, opts ...pulumi.InvokeOption) GetAccountsResultOutput
func (GetAccountsResultOutput) ElementType ¶
func (GetAccountsResultOutput) ElementType() reflect.Type
func (GetAccountsResultOutput) Id ¶
func (o GetAccountsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetAccountsResultOutput) InstanceId ¶
func (o GetAccountsResultOutput) InstanceId() pulumi.StringOutput
func (GetAccountsResultOutput) Lists ¶
func (o GetAccountsResultOutput) Lists() GetAccountsListArrayOutput
Cloud database account information.
func (GetAccountsResultOutput) ResultOutputFile ¶
func (o GetAccountsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetAccountsResultOutput) ToGetAccountsResultOutput ¶
func (o GetAccountsResultOutput) ToGetAccountsResultOutput() GetAccountsResultOutput
func (GetAccountsResultOutput) ToGetAccountsResultOutputWithContext ¶
func (o GetAccountsResultOutput) ToGetAccountsResultOutputWithContext(ctx context.Context) GetAccountsResultOutput
type GetDatabaseObjectsArgs ¶
type GetDatabaseObjectsArgs struct { // Database name, obtained through the DescribeDatabases api. DbName string `pulumi:"dbName"` // The ID of instance. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getDatabaseObjects.
type GetDatabaseObjectsFunc ¶
type GetDatabaseObjectsFunc struct { // The name of function. Func string `pulumi:"func"` }
type GetDatabaseObjectsFuncArgs ¶
type GetDatabaseObjectsFuncArgs struct { // The name of function. Func pulumi.StringInput `pulumi:"func"` }
func (GetDatabaseObjectsFuncArgs) ElementType ¶
func (GetDatabaseObjectsFuncArgs) ElementType() reflect.Type
func (GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutput ¶
func (i GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput
func (GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutputWithContext ¶
func (i GetDatabaseObjectsFuncArgs) ToGetDatabaseObjectsFuncOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncOutput
type GetDatabaseObjectsFuncArray ¶
type GetDatabaseObjectsFuncArray []GetDatabaseObjectsFuncInput
func (GetDatabaseObjectsFuncArray) ElementType ¶
func (GetDatabaseObjectsFuncArray) ElementType() reflect.Type
func (GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutput ¶
func (i GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput
func (GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutputWithContext ¶
func (i GetDatabaseObjectsFuncArray) ToGetDatabaseObjectsFuncArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncArrayOutput
type GetDatabaseObjectsFuncArrayInput ¶
type GetDatabaseObjectsFuncArrayInput interface { pulumi.Input ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput ToGetDatabaseObjectsFuncArrayOutputWithContext(context.Context) GetDatabaseObjectsFuncArrayOutput }
GetDatabaseObjectsFuncArrayInput is an input type that accepts GetDatabaseObjectsFuncArray and GetDatabaseObjectsFuncArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsFuncArrayInput` via:
GetDatabaseObjectsFuncArray{ GetDatabaseObjectsFuncArgs{...} }
type GetDatabaseObjectsFuncArrayOutput ¶
type GetDatabaseObjectsFuncArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsFuncArrayOutput) ElementType ¶
func (GetDatabaseObjectsFuncArrayOutput) ElementType() reflect.Type
func (GetDatabaseObjectsFuncArrayOutput) Index ¶
func (o GetDatabaseObjectsFuncArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsFuncOutput
func (GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutput ¶
func (o GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutput() GetDatabaseObjectsFuncArrayOutput
func (GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutputWithContext ¶
func (o GetDatabaseObjectsFuncArrayOutput) ToGetDatabaseObjectsFuncArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncArrayOutput
type GetDatabaseObjectsFuncInput ¶
type GetDatabaseObjectsFuncInput interface { pulumi.Input ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput ToGetDatabaseObjectsFuncOutputWithContext(context.Context) GetDatabaseObjectsFuncOutput }
GetDatabaseObjectsFuncInput is an input type that accepts GetDatabaseObjectsFuncArgs and GetDatabaseObjectsFuncOutput values. You can construct a concrete instance of `GetDatabaseObjectsFuncInput` via:
GetDatabaseObjectsFuncArgs{...}
type GetDatabaseObjectsFuncOutput ¶
type GetDatabaseObjectsFuncOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsFuncOutput) ElementType ¶
func (GetDatabaseObjectsFuncOutput) ElementType() reflect.Type
func (GetDatabaseObjectsFuncOutput) Func ¶
func (o GetDatabaseObjectsFuncOutput) Func() pulumi.StringOutput
The name of function.
func (GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutput ¶
func (o GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutput() GetDatabaseObjectsFuncOutput
func (GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutputWithContext ¶
func (o GetDatabaseObjectsFuncOutput) ToGetDatabaseObjectsFuncOutputWithContext(ctx context.Context) GetDatabaseObjectsFuncOutput
type GetDatabaseObjectsOutputArgs ¶
type GetDatabaseObjectsOutputArgs struct { // Database name, obtained through the DescribeDatabases api. DbName pulumi.StringInput `pulumi:"dbName"` // The ID of instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getDatabaseObjects.
func (GetDatabaseObjectsOutputArgs) ElementType ¶
func (GetDatabaseObjectsOutputArgs) ElementType() reflect.Type
type GetDatabaseObjectsProc ¶
type GetDatabaseObjectsProc struct { // The name of procedure. Proc string `pulumi:"proc"` }
type GetDatabaseObjectsProcArgs ¶
type GetDatabaseObjectsProcArgs struct { // The name of procedure. Proc pulumi.StringInput `pulumi:"proc"` }
func (GetDatabaseObjectsProcArgs) ElementType ¶
func (GetDatabaseObjectsProcArgs) ElementType() reflect.Type
func (GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutput ¶
func (i GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput
func (GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutputWithContext ¶
func (i GetDatabaseObjectsProcArgs) ToGetDatabaseObjectsProcOutputWithContext(ctx context.Context) GetDatabaseObjectsProcOutput
type GetDatabaseObjectsProcArray ¶
type GetDatabaseObjectsProcArray []GetDatabaseObjectsProcInput
func (GetDatabaseObjectsProcArray) ElementType ¶
func (GetDatabaseObjectsProcArray) ElementType() reflect.Type
func (GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutput ¶
func (i GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput
func (GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutputWithContext ¶
func (i GetDatabaseObjectsProcArray) ToGetDatabaseObjectsProcArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsProcArrayOutput
type GetDatabaseObjectsProcArrayInput ¶
type GetDatabaseObjectsProcArrayInput interface { pulumi.Input ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput ToGetDatabaseObjectsProcArrayOutputWithContext(context.Context) GetDatabaseObjectsProcArrayOutput }
GetDatabaseObjectsProcArrayInput is an input type that accepts GetDatabaseObjectsProcArray and GetDatabaseObjectsProcArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsProcArrayInput` via:
GetDatabaseObjectsProcArray{ GetDatabaseObjectsProcArgs{...} }
type GetDatabaseObjectsProcArrayOutput ¶
type GetDatabaseObjectsProcArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsProcArrayOutput) ElementType ¶
func (GetDatabaseObjectsProcArrayOutput) ElementType() reflect.Type
func (GetDatabaseObjectsProcArrayOutput) Index ¶
func (o GetDatabaseObjectsProcArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsProcOutput
func (GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutput ¶
func (o GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutput() GetDatabaseObjectsProcArrayOutput
func (GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutputWithContext ¶
func (o GetDatabaseObjectsProcArrayOutput) ToGetDatabaseObjectsProcArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsProcArrayOutput
type GetDatabaseObjectsProcInput ¶
type GetDatabaseObjectsProcInput interface { pulumi.Input ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput ToGetDatabaseObjectsProcOutputWithContext(context.Context) GetDatabaseObjectsProcOutput }
GetDatabaseObjectsProcInput is an input type that accepts GetDatabaseObjectsProcArgs and GetDatabaseObjectsProcOutput values. You can construct a concrete instance of `GetDatabaseObjectsProcInput` via:
GetDatabaseObjectsProcArgs{...}
type GetDatabaseObjectsProcOutput ¶
type GetDatabaseObjectsProcOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsProcOutput) ElementType ¶
func (GetDatabaseObjectsProcOutput) ElementType() reflect.Type
func (GetDatabaseObjectsProcOutput) Proc ¶
func (o GetDatabaseObjectsProcOutput) Proc() pulumi.StringOutput
The name of procedure.
func (GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutput ¶
func (o GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutput() GetDatabaseObjectsProcOutput
func (GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutputWithContext ¶
func (o GetDatabaseObjectsProcOutput) ToGetDatabaseObjectsProcOutputWithContext(ctx context.Context) GetDatabaseObjectsProcOutput
type GetDatabaseObjectsResult ¶
type GetDatabaseObjectsResult struct { DbName string `pulumi:"dbName"` // Function list. Funcs []GetDatabaseObjectsFunc `pulumi:"funcs"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` // Procedure list. Procs []GetDatabaseObjectsProc `pulumi:"procs"` ResultOutputFile *string `pulumi:"resultOutputFile"` // Table list. Tables []GetDatabaseObjectsTable `pulumi:"tables"` // View list. Views []GetDatabaseObjectsView `pulumi:"views"` }
A collection of values returned by getDatabaseObjects.
func GetDatabaseObjects ¶
func GetDatabaseObjects(ctx *pulumi.Context, args *GetDatabaseObjectsArgs, opts ...pulumi.InvokeOption) (*GetDatabaseObjectsResult, error)
Use this data source to query detailed information of dcdb databaseObjects
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetDatabaseObjects(ctx, &dcdb.GetDatabaseObjectsArgs{ DbName: "", Gt: []map[string]interface{}{ nil, }, InstanceId: "dcdbt-ow7t8lmc", Lt: []map[string]interface{}{ nil, }, Nil: []map[string]interface{}{ nil, }, }, nil) if err != nil { return err } return nil }) }
```
type GetDatabaseObjectsResultOutput ¶
type GetDatabaseObjectsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabaseObjects.
func GetDatabaseObjectsOutput ¶
func GetDatabaseObjectsOutput(ctx *pulumi.Context, args GetDatabaseObjectsOutputArgs, opts ...pulumi.InvokeOption) GetDatabaseObjectsResultOutput
func (GetDatabaseObjectsResultOutput) DbName ¶
func (o GetDatabaseObjectsResultOutput) DbName() pulumi.StringOutput
func (GetDatabaseObjectsResultOutput) ElementType ¶
func (GetDatabaseObjectsResultOutput) ElementType() reflect.Type
func (GetDatabaseObjectsResultOutput) Funcs ¶
func (o GetDatabaseObjectsResultOutput) Funcs() GetDatabaseObjectsFuncArrayOutput
Function list.
func (GetDatabaseObjectsResultOutput) Id ¶
func (o GetDatabaseObjectsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDatabaseObjectsResultOutput) InstanceId ¶
func (o GetDatabaseObjectsResultOutput) InstanceId() pulumi.StringOutput
func (GetDatabaseObjectsResultOutput) Procs ¶
func (o GetDatabaseObjectsResultOutput) Procs() GetDatabaseObjectsProcArrayOutput
Procedure list.
func (GetDatabaseObjectsResultOutput) ResultOutputFile ¶
func (o GetDatabaseObjectsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetDatabaseObjectsResultOutput) Tables ¶
func (o GetDatabaseObjectsResultOutput) Tables() GetDatabaseObjectsTableArrayOutput
Table list.
func (GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutput ¶
func (o GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutput() GetDatabaseObjectsResultOutput
func (GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutputWithContext ¶
func (o GetDatabaseObjectsResultOutput) ToGetDatabaseObjectsResultOutputWithContext(ctx context.Context) GetDatabaseObjectsResultOutput
func (GetDatabaseObjectsResultOutput) Views ¶
func (o GetDatabaseObjectsResultOutput) Views() GetDatabaseObjectsViewArrayOutput
View list.
type GetDatabaseObjectsTable ¶
type GetDatabaseObjectsTable struct { // The name of table. Table string `pulumi:"table"` }
type GetDatabaseObjectsTableArgs ¶
type GetDatabaseObjectsTableArgs struct { // The name of table. Table pulumi.StringInput `pulumi:"table"` }
func (GetDatabaseObjectsTableArgs) ElementType ¶
func (GetDatabaseObjectsTableArgs) ElementType() reflect.Type
func (GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutput ¶
func (i GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput
func (GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutputWithContext ¶
func (i GetDatabaseObjectsTableArgs) ToGetDatabaseObjectsTableOutputWithContext(ctx context.Context) GetDatabaseObjectsTableOutput
type GetDatabaseObjectsTableArray ¶
type GetDatabaseObjectsTableArray []GetDatabaseObjectsTableInput
func (GetDatabaseObjectsTableArray) ElementType ¶
func (GetDatabaseObjectsTableArray) ElementType() reflect.Type
func (GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutput ¶
func (i GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput
func (GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutputWithContext ¶
func (i GetDatabaseObjectsTableArray) ToGetDatabaseObjectsTableArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsTableArrayOutput
type GetDatabaseObjectsTableArrayInput ¶
type GetDatabaseObjectsTableArrayInput interface { pulumi.Input ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput ToGetDatabaseObjectsTableArrayOutputWithContext(context.Context) GetDatabaseObjectsTableArrayOutput }
GetDatabaseObjectsTableArrayInput is an input type that accepts GetDatabaseObjectsTableArray and GetDatabaseObjectsTableArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsTableArrayInput` via:
GetDatabaseObjectsTableArray{ GetDatabaseObjectsTableArgs{...} }
type GetDatabaseObjectsTableArrayOutput ¶
type GetDatabaseObjectsTableArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsTableArrayOutput) ElementType ¶
func (GetDatabaseObjectsTableArrayOutput) ElementType() reflect.Type
func (GetDatabaseObjectsTableArrayOutput) Index ¶
func (o GetDatabaseObjectsTableArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsTableOutput
func (GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutput ¶
func (o GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutput() GetDatabaseObjectsTableArrayOutput
func (GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutputWithContext ¶
func (o GetDatabaseObjectsTableArrayOutput) ToGetDatabaseObjectsTableArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsTableArrayOutput
type GetDatabaseObjectsTableInput ¶
type GetDatabaseObjectsTableInput interface { pulumi.Input ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput ToGetDatabaseObjectsTableOutputWithContext(context.Context) GetDatabaseObjectsTableOutput }
GetDatabaseObjectsTableInput is an input type that accepts GetDatabaseObjectsTableArgs and GetDatabaseObjectsTableOutput values. You can construct a concrete instance of `GetDatabaseObjectsTableInput` via:
GetDatabaseObjectsTableArgs{...}
type GetDatabaseObjectsTableOutput ¶
type GetDatabaseObjectsTableOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsTableOutput) ElementType ¶
func (GetDatabaseObjectsTableOutput) ElementType() reflect.Type
func (GetDatabaseObjectsTableOutput) Table ¶
func (o GetDatabaseObjectsTableOutput) Table() pulumi.StringOutput
The name of table.
func (GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutput ¶
func (o GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutput() GetDatabaseObjectsTableOutput
func (GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutputWithContext ¶
func (o GetDatabaseObjectsTableOutput) ToGetDatabaseObjectsTableOutputWithContext(ctx context.Context) GetDatabaseObjectsTableOutput
type GetDatabaseObjectsView ¶
type GetDatabaseObjectsView struct { // The name of view. View string `pulumi:"view"` }
type GetDatabaseObjectsViewArgs ¶
type GetDatabaseObjectsViewArgs struct { // The name of view. View pulumi.StringInput `pulumi:"view"` }
func (GetDatabaseObjectsViewArgs) ElementType ¶
func (GetDatabaseObjectsViewArgs) ElementType() reflect.Type
func (GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutput ¶
func (i GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput
func (GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutputWithContext ¶
func (i GetDatabaseObjectsViewArgs) ToGetDatabaseObjectsViewOutputWithContext(ctx context.Context) GetDatabaseObjectsViewOutput
type GetDatabaseObjectsViewArray ¶
type GetDatabaseObjectsViewArray []GetDatabaseObjectsViewInput
func (GetDatabaseObjectsViewArray) ElementType ¶
func (GetDatabaseObjectsViewArray) ElementType() reflect.Type
func (GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutput ¶
func (i GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput
func (GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutputWithContext ¶
func (i GetDatabaseObjectsViewArray) ToGetDatabaseObjectsViewArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsViewArrayOutput
type GetDatabaseObjectsViewArrayInput ¶
type GetDatabaseObjectsViewArrayInput interface { pulumi.Input ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput ToGetDatabaseObjectsViewArrayOutputWithContext(context.Context) GetDatabaseObjectsViewArrayOutput }
GetDatabaseObjectsViewArrayInput is an input type that accepts GetDatabaseObjectsViewArray and GetDatabaseObjectsViewArrayOutput values. You can construct a concrete instance of `GetDatabaseObjectsViewArrayInput` via:
GetDatabaseObjectsViewArray{ GetDatabaseObjectsViewArgs{...} }
type GetDatabaseObjectsViewArrayOutput ¶
type GetDatabaseObjectsViewArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsViewArrayOutput) ElementType ¶
func (GetDatabaseObjectsViewArrayOutput) ElementType() reflect.Type
func (GetDatabaseObjectsViewArrayOutput) Index ¶
func (o GetDatabaseObjectsViewArrayOutput) Index(i pulumi.IntInput) GetDatabaseObjectsViewOutput
func (GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutput ¶
func (o GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutput() GetDatabaseObjectsViewArrayOutput
func (GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutputWithContext ¶
func (o GetDatabaseObjectsViewArrayOutput) ToGetDatabaseObjectsViewArrayOutputWithContext(ctx context.Context) GetDatabaseObjectsViewArrayOutput
type GetDatabaseObjectsViewInput ¶
type GetDatabaseObjectsViewInput interface { pulumi.Input ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput ToGetDatabaseObjectsViewOutputWithContext(context.Context) GetDatabaseObjectsViewOutput }
GetDatabaseObjectsViewInput is an input type that accepts GetDatabaseObjectsViewArgs and GetDatabaseObjectsViewOutput values. You can construct a concrete instance of `GetDatabaseObjectsViewInput` via:
GetDatabaseObjectsViewArgs{...}
type GetDatabaseObjectsViewOutput ¶
type GetDatabaseObjectsViewOutput struct{ *pulumi.OutputState }
func (GetDatabaseObjectsViewOutput) ElementType ¶
func (GetDatabaseObjectsViewOutput) ElementType() reflect.Type
func (GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutput ¶
func (o GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutput() GetDatabaseObjectsViewOutput
func (GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutputWithContext ¶
func (o GetDatabaseObjectsViewOutput) ToGetDatabaseObjectsViewOutputWithContext(ctx context.Context) GetDatabaseObjectsViewOutput
func (GetDatabaseObjectsViewOutput) View ¶
func (o GetDatabaseObjectsViewOutput) View() pulumi.StringOutput
The name of view.
type GetDatabaseTablesArgs ¶
type GetDatabaseTablesArgs struct { // Database name, obtained through the DescribeDatabases api. DbName string `pulumi:"dbName"` // The ID of instance. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // Table name, obtained through the DescribeDatabaseObjects api. Table string `pulumi:"table"` }
A collection of arguments for invoking getDatabaseTables.
type GetDatabaseTablesCol ¶
type GetDatabaseTablesColArgs ¶
type GetDatabaseTablesColArgs struct { // The name of column. Col pulumi.StringInput `pulumi:"col"` // Column type. Type pulumi.StringInput `pulumi:"type"` }
func (GetDatabaseTablesColArgs) ElementType ¶
func (GetDatabaseTablesColArgs) ElementType() reflect.Type
func (GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutput ¶
func (i GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput
func (GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutputWithContext ¶
func (i GetDatabaseTablesColArgs) ToGetDatabaseTablesColOutputWithContext(ctx context.Context) GetDatabaseTablesColOutput
type GetDatabaseTablesColArray ¶
type GetDatabaseTablesColArray []GetDatabaseTablesColInput
func (GetDatabaseTablesColArray) ElementType ¶
func (GetDatabaseTablesColArray) ElementType() reflect.Type
func (GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutput ¶
func (i GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput
func (GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutputWithContext ¶
func (i GetDatabaseTablesColArray) ToGetDatabaseTablesColArrayOutputWithContext(ctx context.Context) GetDatabaseTablesColArrayOutput
type GetDatabaseTablesColArrayInput ¶
type GetDatabaseTablesColArrayInput interface { pulumi.Input ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput ToGetDatabaseTablesColArrayOutputWithContext(context.Context) GetDatabaseTablesColArrayOutput }
GetDatabaseTablesColArrayInput is an input type that accepts GetDatabaseTablesColArray and GetDatabaseTablesColArrayOutput values. You can construct a concrete instance of `GetDatabaseTablesColArrayInput` via:
GetDatabaseTablesColArray{ GetDatabaseTablesColArgs{...} }
type GetDatabaseTablesColArrayOutput ¶
type GetDatabaseTablesColArrayOutput struct{ *pulumi.OutputState }
func (GetDatabaseTablesColArrayOutput) ElementType ¶
func (GetDatabaseTablesColArrayOutput) ElementType() reflect.Type
func (GetDatabaseTablesColArrayOutput) Index ¶
func (o GetDatabaseTablesColArrayOutput) Index(i pulumi.IntInput) GetDatabaseTablesColOutput
func (GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutput ¶
func (o GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutput() GetDatabaseTablesColArrayOutput
func (GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutputWithContext ¶
func (o GetDatabaseTablesColArrayOutput) ToGetDatabaseTablesColArrayOutputWithContext(ctx context.Context) GetDatabaseTablesColArrayOutput
type GetDatabaseTablesColInput ¶
type GetDatabaseTablesColInput interface { pulumi.Input ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput ToGetDatabaseTablesColOutputWithContext(context.Context) GetDatabaseTablesColOutput }
GetDatabaseTablesColInput is an input type that accepts GetDatabaseTablesColArgs and GetDatabaseTablesColOutput values. You can construct a concrete instance of `GetDatabaseTablesColInput` via:
GetDatabaseTablesColArgs{...}
type GetDatabaseTablesColOutput ¶
type GetDatabaseTablesColOutput struct{ *pulumi.OutputState }
func (GetDatabaseTablesColOutput) Col ¶
func (o GetDatabaseTablesColOutput) Col() pulumi.StringOutput
The name of column.
func (GetDatabaseTablesColOutput) ElementType ¶
func (GetDatabaseTablesColOutput) ElementType() reflect.Type
func (GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutput ¶
func (o GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutput() GetDatabaseTablesColOutput
func (GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutputWithContext ¶
func (o GetDatabaseTablesColOutput) ToGetDatabaseTablesColOutputWithContext(ctx context.Context) GetDatabaseTablesColOutput
func (GetDatabaseTablesColOutput) Type ¶
func (o GetDatabaseTablesColOutput) Type() pulumi.StringOutput
Column type.
type GetDatabaseTablesOutputArgs ¶
type GetDatabaseTablesOutputArgs struct { // Database name, obtained through the DescribeDatabases api. DbName pulumi.StringInput `pulumi:"dbName"` // The ID of instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // Table name, obtained through the DescribeDatabaseObjects api. Table pulumi.StringInput `pulumi:"table"` }
A collection of arguments for invoking getDatabaseTables.
func (GetDatabaseTablesOutputArgs) ElementType ¶
func (GetDatabaseTablesOutputArgs) ElementType() reflect.Type
type GetDatabaseTablesResult ¶
type GetDatabaseTablesResult struct { // Column information. Cols []GetDatabaseTablesCol `pulumi:"cols"` DbName string `pulumi:"dbName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` ResultOutputFile *string `pulumi:"resultOutputFile"` Table string `pulumi:"table"` }
A collection of values returned by getDatabaseTables.
func GetDatabaseTables ¶
func GetDatabaseTables(ctx *pulumi.Context, args *GetDatabaseTablesArgs, opts ...pulumi.InvokeOption) (*GetDatabaseTablesResult, error)
Use this data source to query detailed information of dcdb databaseTables
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetDatabaseTables(ctx, &dcdb.GetDatabaseTablesArgs{ Cols: []map[string]interface{}{ map[string]interface{}{ "col": "", "gt": []map[string]interface{}{ nil, nil, }, "lt": []map[string]interface{}{ nil, nil, }, "nil": []map[string]interface{}{ nil, nil, }, "type": "", }, }, DbName: "", Gt: []map[string]interface{}{ nil, nil, nil, }, InstanceId: "dcdbt-ow7t8lmc", Lt: []map[string]interface{}{ nil, nil, nil, }, Nil: []map[string]interface{}{ nil, nil, nil, }, Table: "", }, nil) if err != nil { return err } return nil }) }
```
type GetDatabaseTablesResultOutput ¶
type GetDatabaseTablesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabaseTables.
func GetDatabaseTablesOutput ¶
func GetDatabaseTablesOutput(ctx *pulumi.Context, args GetDatabaseTablesOutputArgs, opts ...pulumi.InvokeOption) GetDatabaseTablesResultOutput
func (GetDatabaseTablesResultOutput) Cols ¶
func (o GetDatabaseTablesResultOutput) Cols() GetDatabaseTablesColArrayOutput
Column information.
func (GetDatabaseTablesResultOutput) DbName ¶
func (o GetDatabaseTablesResultOutput) DbName() pulumi.StringOutput
func (GetDatabaseTablesResultOutput) ElementType ¶
func (GetDatabaseTablesResultOutput) ElementType() reflect.Type
func (GetDatabaseTablesResultOutput) Id ¶
func (o GetDatabaseTablesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDatabaseTablesResultOutput) InstanceId ¶
func (o GetDatabaseTablesResultOutput) InstanceId() pulumi.StringOutput
func (GetDatabaseTablesResultOutput) ResultOutputFile ¶
func (o GetDatabaseTablesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetDatabaseTablesResultOutput) Table ¶
func (o GetDatabaseTablesResultOutput) Table() pulumi.StringOutput
func (GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutput ¶
func (o GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutput() GetDatabaseTablesResultOutput
func (GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutputWithContext ¶
func (o GetDatabaseTablesResultOutput) ToGetDatabaseTablesResultOutputWithContext(ctx context.Context) GetDatabaseTablesResultOutput
type GetDatabasesArgs ¶
type GetDatabasesArgs struct { // instance id. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getDatabases.
type GetDatabasesList ¶
type GetDatabasesList struct { // Database Name. DbName string `pulumi:"dbName"` }
type GetDatabasesListArgs ¶
type GetDatabasesListArgs struct { // Database Name. DbName pulumi.StringInput `pulumi:"dbName"` }
func (GetDatabasesListArgs) ElementType ¶
func (GetDatabasesListArgs) ElementType() reflect.Type
func (GetDatabasesListArgs) ToGetDatabasesListOutput ¶
func (i GetDatabasesListArgs) ToGetDatabasesListOutput() GetDatabasesListOutput
func (GetDatabasesListArgs) ToGetDatabasesListOutputWithContext ¶
func (i GetDatabasesListArgs) ToGetDatabasesListOutputWithContext(ctx context.Context) GetDatabasesListOutput
type GetDatabasesListArray ¶
type GetDatabasesListArray []GetDatabasesListInput
func (GetDatabasesListArray) ElementType ¶
func (GetDatabasesListArray) ElementType() reflect.Type
func (GetDatabasesListArray) ToGetDatabasesListArrayOutput ¶
func (i GetDatabasesListArray) ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput
func (GetDatabasesListArray) ToGetDatabasesListArrayOutputWithContext ¶
func (i GetDatabasesListArray) ToGetDatabasesListArrayOutputWithContext(ctx context.Context) GetDatabasesListArrayOutput
type GetDatabasesListArrayInput ¶
type GetDatabasesListArrayInput interface { pulumi.Input ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput ToGetDatabasesListArrayOutputWithContext(context.Context) GetDatabasesListArrayOutput }
GetDatabasesListArrayInput is an input type that accepts GetDatabasesListArray and GetDatabasesListArrayOutput values. You can construct a concrete instance of `GetDatabasesListArrayInput` via:
GetDatabasesListArray{ GetDatabasesListArgs{...} }
type GetDatabasesListArrayOutput ¶
type GetDatabasesListArrayOutput struct{ *pulumi.OutputState }
func (GetDatabasesListArrayOutput) ElementType ¶
func (GetDatabasesListArrayOutput) ElementType() reflect.Type
func (GetDatabasesListArrayOutput) Index ¶
func (o GetDatabasesListArrayOutput) Index(i pulumi.IntInput) GetDatabasesListOutput
func (GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutput ¶
func (o GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutput() GetDatabasesListArrayOutput
func (GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutputWithContext ¶
func (o GetDatabasesListArrayOutput) ToGetDatabasesListArrayOutputWithContext(ctx context.Context) GetDatabasesListArrayOutput
type GetDatabasesListInput ¶
type GetDatabasesListInput interface { pulumi.Input ToGetDatabasesListOutput() GetDatabasesListOutput ToGetDatabasesListOutputWithContext(context.Context) GetDatabasesListOutput }
GetDatabasesListInput is an input type that accepts GetDatabasesListArgs and GetDatabasesListOutput values. You can construct a concrete instance of `GetDatabasesListInput` via:
GetDatabasesListArgs{...}
type GetDatabasesListOutput ¶
type GetDatabasesListOutput struct{ *pulumi.OutputState }
func (GetDatabasesListOutput) DbName ¶
func (o GetDatabasesListOutput) DbName() pulumi.StringOutput
Database Name.
func (GetDatabasesListOutput) ElementType ¶
func (GetDatabasesListOutput) ElementType() reflect.Type
func (GetDatabasesListOutput) ToGetDatabasesListOutput ¶
func (o GetDatabasesListOutput) ToGetDatabasesListOutput() GetDatabasesListOutput
func (GetDatabasesListOutput) ToGetDatabasesListOutputWithContext ¶
func (o GetDatabasesListOutput) ToGetDatabasesListOutputWithContext(ctx context.Context) GetDatabasesListOutput
type GetDatabasesOutputArgs ¶
type GetDatabasesOutputArgs struct { // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getDatabases.
func (GetDatabasesOutputArgs) ElementType ¶
func (GetDatabasesOutputArgs) ElementType() reflect.Type
type GetDatabasesResult ¶
type GetDatabasesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` // Database information. Lists []GetDatabasesList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getDatabases.
func GetDatabases ¶
func GetDatabases(ctx *pulumi.Context, args *GetDatabasesArgs, opts ...pulumi.InvokeOption) (*GetDatabasesResult, error)
Use this data source to query detailed information of dcdb databases
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetDatabases(ctx, &dcdb.GetDatabasesArgs{ InstanceId: "your_dcdb_instance_id", }, nil) if err != nil { return err } return nil }) }
```
type GetDatabasesResultOutput ¶
type GetDatabasesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDatabases.
func GetDatabasesOutput ¶
func GetDatabasesOutput(ctx *pulumi.Context, args GetDatabasesOutputArgs, opts ...pulumi.InvokeOption) GetDatabasesResultOutput
func (GetDatabasesResultOutput) ElementType ¶
func (GetDatabasesResultOutput) ElementType() reflect.Type
func (GetDatabasesResultOutput) Id ¶
func (o GetDatabasesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDatabasesResultOutput) InstanceId ¶
func (o GetDatabasesResultOutput) InstanceId() pulumi.StringOutput
func (GetDatabasesResultOutput) Lists ¶
func (o GetDatabasesResultOutput) Lists() GetDatabasesListArrayOutput
Database information.
func (GetDatabasesResultOutput) ResultOutputFile ¶
func (o GetDatabasesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetDatabasesResultOutput) ToGetDatabasesResultOutput ¶
func (o GetDatabasesResultOutput) ToGetDatabasesResultOutput() GetDatabasesResultOutput
func (GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext ¶
func (o GetDatabasesResultOutput) ToGetDatabasesResultOutputWithContext(ctx context.Context) GetDatabasesResultOutput
type GetInstancesArgs ¶
type GetInstancesArgs struct { // cluster excluster type. ExclusterType *int `pulumi:"exclusterType"` // instance ids. InstanceIds []string `pulumi:"instanceIds"` // search according to the cluster excluter type. IsFilterExcluster *bool `pulumi:"isFilterExcluster"` // search according to the vpc. IsFilterVpc *bool `pulumi:"isFilterVpc"` // project ids. ProjectIds []int `pulumi:"projectIds"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // search key, support fuzzy query. SearchKey *string `pulumi:"searchKey"` // search name, support instancename, vip, all. SearchName *string `pulumi:"searchName"` // subnet id, valid when IsFilterVpc is true. SubnetId *string `pulumi:"subnetId"` // vpc id, valid when IsFilterVpc is true. VpcId *string `pulumi:"vpcId"` }
A collection of arguments for invoking getInstances.
type GetInstancesList ¶
type GetInstancesList struct { // app id. AppId int `pulumi:"appId"` // auto renew flag. AutoRenewFlag int `pulumi:"autoRenewFlag"` // create time. CreateTime string `pulumi:"createTime"` // db engine. DbEngine string `pulumi:"dbEngine"` // db engine version. DbVersion string `pulumi:"dbVersion"` // instance id. InstanceId string `pulumi:"instanceId"` // instance name. InstanceName string `pulumi:"instanceName"` // instance type. InstanceType int `pulumi:"instanceType"` // aduit support, 0:support, 1:unsupport. IsAuditSupported int `pulumi:"isAuditSupported"` // tmp instance mark. IsTmp int `pulumi:"isTmp"` // isolated time. IsolatedTimestamp string `pulumi:"isolatedTimestamp"` // memory. Memory int `pulumi:"memory"` // node count. NodeCount int `pulumi:"nodeCount"` // pay mode. Paymode string `pulumi:"paymode"` // expired time. PeriodEndTime string `pulumi:"periodEndTime"` // project id. ProjectId int `pulumi:"projectId"` // region. Region string `pulumi:"region"` // resource tags. ResourceTags []GetInstancesListResourceTag `pulumi:"resourceTags"` // shard count. ShardCount int `pulumi:"shardCount"` // shard detail. ShardDetails []GetInstancesListShardDetail `pulumi:"shardDetails"` // status. Status int `pulumi:"status"` // status description. StatusDesc string `pulumi:"statusDesc"` // memory, the unit is GB. Storage int `pulumi:"storage"` // subnet id, valid when IsFilterVpc is true. SubnetId int `pulumi:"subnetId"` // account uin. Uin string `pulumi:"uin"` // update time. UpdateTime string `pulumi:"updateTime"` // vip. Vip string `pulumi:"vip"` // vpc id, valid when IsFilterVpc is true. VpcId int `pulumi:"vpcId"` // vport. Vport int `pulumi:"vport"` // wan domain. WanDomain string `pulumi:"wanDomain"` // wan port. WanPort int `pulumi:"wanPort"` // wan status, 0:nonactivated, 1:activated, 2:closed, 3:activating. WanStatus int `pulumi:"wanStatus"` // wan vip. WanVip string `pulumi:"wanVip"` }
type GetInstancesListArgs ¶
type GetInstancesListArgs struct { // app id. AppId pulumi.IntInput `pulumi:"appId"` // auto renew flag. AutoRenewFlag pulumi.IntInput `pulumi:"autoRenewFlag"` // create time. CreateTime pulumi.StringInput `pulumi:"createTime"` // db engine. DbEngine pulumi.StringInput `pulumi:"dbEngine"` // db engine version. DbVersion pulumi.StringInput `pulumi:"dbVersion"` // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // instance name. InstanceName pulumi.StringInput `pulumi:"instanceName"` // instance type. InstanceType pulumi.IntInput `pulumi:"instanceType"` // aduit support, 0:support, 1:unsupport. IsAuditSupported pulumi.IntInput `pulumi:"isAuditSupported"` // tmp instance mark. IsTmp pulumi.IntInput `pulumi:"isTmp"` // isolated time. IsolatedTimestamp pulumi.StringInput `pulumi:"isolatedTimestamp"` // memory. Memory pulumi.IntInput `pulumi:"memory"` // node count. NodeCount pulumi.IntInput `pulumi:"nodeCount"` // pay mode. Paymode pulumi.StringInput `pulumi:"paymode"` // expired time. PeriodEndTime pulumi.StringInput `pulumi:"periodEndTime"` // project id. ProjectId pulumi.IntInput `pulumi:"projectId"` // region. Region pulumi.StringInput `pulumi:"region"` // resource tags. ResourceTags GetInstancesListResourceTagArrayInput `pulumi:"resourceTags"` // shard count. ShardCount pulumi.IntInput `pulumi:"shardCount"` // shard detail. ShardDetails GetInstancesListShardDetailArrayInput `pulumi:"shardDetails"` // status. Status pulumi.IntInput `pulumi:"status"` // status description. StatusDesc pulumi.StringInput `pulumi:"statusDesc"` // memory, the unit is GB. Storage pulumi.IntInput `pulumi:"storage"` // subnet id, valid when IsFilterVpc is true. SubnetId pulumi.IntInput `pulumi:"subnetId"` // account uin. Uin pulumi.StringInput `pulumi:"uin"` // update time. UpdateTime pulumi.StringInput `pulumi:"updateTime"` // vip. Vip pulumi.StringInput `pulumi:"vip"` // vpc id, valid when IsFilterVpc is true. VpcId pulumi.IntInput `pulumi:"vpcId"` // vport. Vport pulumi.IntInput `pulumi:"vport"` // wan domain. WanDomain pulumi.StringInput `pulumi:"wanDomain"` // wan port. WanPort pulumi.IntInput `pulumi:"wanPort"` // wan status, 0:nonactivated, 1:activated, 2:closed, 3:activating. WanStatus pulumi.IntInput `pulumi:"wanStatus"` // wan vip. WanVip pulumi.StringInput `pulumi:"wanVip"` }
func (GetInstancesListArgs) ElementType ¶
func (GetInstancesListArgs) ElementType() reflect.Type
func (GetInstancesListArgs) ToGetInstancesListOutput ¶
func (i GetInstancesListArgs) ToGetInstancesListOutput() GetInstancesListOutput
func (GetInstancesListArgs) ToGetInstancesListOutputWithContext ¶
func (i GetInstancesListArgs) ToGetInstancesListOutputWithContext(ctx context.Context) GetInstancesListOutput
type GetInstancesListArray ¶
type GetInstancesListArray []GetInstancesListInput
func (GetInstancesListArray) ElementType ¶
func (GetInstancesListArray) ElementType() reflect.Type
func (GetInstancesListArray) ToGetInstancesListArrayOutput ¶
func (i GetInstancesListArray) ToGetInstancesListArrayOutput() GetInstancesListArrayOutput
func (GetInstancesListArray) ToGetInstancesListArrayOutputWithContext ¶
func (i GetInstancesListArray) ToGetInstancesListArrayOutputWithContext(ctx context.Context) GetInstancesListArrayOutput
type GetInstancesListArrayInput ¶
type GetInstancesListArrayInput interface { pulumi.Input ToGetInstancesListArrayOutput() GetInstancesListArrayOutput ToGetInstancesListArrayOutputWithContext(context.Context) GetInstancesListArrayOutput }
GetInstancesListArrayInput is an input type that accepts GetInstancesListArray and GetInstancesListArrayOutput values. You can construct a concrete instance of `GetInstancesListArrayInput` via:
GetInstancesListArray{ GetInstancesListArgs{...} }
type GetInstancesListArrayOutput ¶
type GetInstancesListArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesListArrayOutput) ElementType ¶
func (GetInstancesListArrayOutput) ElementType() reflect.Type
func (GetInstancesListArrayOutput) Index ¶
func (o GetInstancesListArrayOutput) Index(i pulumi.IntInput) GetInstancesListOutput
func (GetInstancesListArrayOutput) ToGetInstancesListArrayOutput ¶
func (o GetInstancesListArrayOutput) ToGetInstancesListArrayOutput() GetInstancesListArrayOutput
func (GetInstancesListArrayOutput) ToGetInstancesListArrayOutputWithContext ¶
func (o GetInstancesListArrayOutput) ToGetInstancesListArrayOutputWithContext(ctx context.Context) GetInstancesListArrayOutput
type GetInstancesListInput ¶
type GetInstancesListInput interface { pulumi.Input ToGetInstancesListOutput() GetInstancesListOutput ToGetInstancesListOutputWithContext(context.Context) GetInstancesListOutput }
GetInstancesListInput is an input type that accepts GetInstancesListArgs and GetInstancesListOutput values. You can construct a concrete instance of `GetInstancesListInput` via:
GetInstancesListArgs{...}
type GetInstancesListOutput ¶
type GetInstancesListOutput struct{ *pulumi.OutputState }
func (GetInstancesListOutput) AppId ¶
func (o GetInstancesListOutput) AppId() pulumi.IntOutput
app id.
func (GetInstancesListOutput) AutoRenewFlag ¶
func (o GetInstancesListOutput) AutoRenewFlag() pulumi.IntOutput
auto renew flag.
func (GetInstancesListOutput) CreateTime ¶
func (o GetInstancesListOutput) CreateTime() pulumi.StringOutput
create time.
func (GetInstancesListOutput) DbEngine ¶
func (o GetInstancesListOutput) DbEngine() pulumi.StringOutput
db engine.
func (GetInstancesListOutput) DbVersion ¶
func (o GetInstancesListOutput) DbVersion() pulumi.StringOutput
db engine version.
func (GetInstancesListOutput) ElementType ¶
func (GetInstancesListOutput) ElementType() reflect.Type
func (GetInstancesListOutput) InstanceId ¶
func (o GetInstancesListOutput) InstanceId() pulumi.StringOutput
instance id.
func (GetInstancesListOutput) InstanceName ¶
func (o GetInstancesListOutput) InstanceName() pulumi.StringOutput
instance name.
func (GetInstancesListOutput) InstanceType ¶
func (o GetInstancesListOutput) InstanceType() pulumi.IntOutput
instance type.
func (GetInstancesListOutput) IsAuditSupported ¶
func (o GetInstancesListOutput) IsAuditSupported() pulumi.IntOutput
aduit support, 0:support, 1:unsupport.
func (GetInstancesListOutput) IsTmp ¶
func (o GetInstancesListOutput) IsTmp() pulumi.IntOutput
tmp instance mark.
func (GetInstancesListOutput) IsolatedTimestamp ¶
func (o GetInstancesListOutput) IsolatedTimestamp() pulumi.StringOutput
isolated time.
func (GetInstancesListOutput) Memory ¶
func (o GetInstancesListOutput) Memory() pulumi.IntOutput
memory.
func (GetInstancesListOutput) NodeCount ¶
func (o GetInstancesListOutput) NodeCount() pulumi.IntOutput
node count.
func (GetInstancesListOutput) Paymode ¶
func (o GetInstancesListOutput) Paymode() pulumi.StringOutput
pay mode.
func (GetInstancesListOutput) PeriodEndTime ¶
func (o GetInstancesListOutput) PeriodEndTime() pulumi.StringOutput
expired time.
func (GetInstancesListOutput) ProjectId ¶
func (o GetInstancesListOutput) ProjectId() pulumi.IntOutput
project id.
func (GetInstancesListOutput) Region ¶
func (o GetInstancesListOutput) Region() pulumi.StringOutput
region.
func (GetInstancesListOutput) ResourceTags ¶
func (o GetInstancesListOutput) ResourceTags() GetInstancesListResourceTagArrayOutput
resource tags.
func (GetInstancesListOutput) ShardCount ¶
func (o GetInstancesListOutput) ShardCount() pulumi.IntOutput
shard count.
func (GetInstancesListOutput) ShardDetails ¶
func (o GetInstancesListOutput) ShardDetails() GetInstancesListShardDetailArrayOutput
shard detail.
func (GetInstancesListOutput) Status ¶
func (o GetInstancesListOutput) Status() pulumi.IntOutput
status.
func (GetInstancesListOutput) StatusDesc ¶
func (o GetInstancesListOutput) StatusDesc() pulumi.StringOutput
status description.
func (GetInstancesListOutput) Storage ¶
func (o GetInstancesListOutput) Storage() pulumi.IntOutput
memory, the unit is GB.
func (GetInstancesListOutput) SubnetId ¶
func (o GetInstancesListOutput) SubnetId() pulumi.IntOutput
subnet id, valid when IsFilterVpc is true.
func (GetInstancesListOutput) ToGetInstancesListOutput ¶
func (o GetInstancesListOutput) ToGetInstancesListOutput() GetInstancesListOutput
func (GetInstancesListOutput) ToGetInstancesListOutputWithContext ¶
func (o GetInstancesListOutput) ToGetInstancesListOutputWithContext(ctx context.Context) GetInstancesListOutput
func (GetInstancesListOutput) Uin ¶
func (o GetInstancesListOutput) Uin() pulumi.StringOutput
account uin.
func (GetInstancesListOutput) UpdateTime ¶
func (o GetInstancesListOutput) UpdateTime() pulumi.StringOutput
update time.
func (GetInstancesListOutput) VpcId ¶
func (o GetInstancesListOutput) VpcId() pulumi.IntOutput
vpc id, valid when IsFilterVpc is true.
func (GetInstancesListOutput) Vport ¶
func (o GetInstancesListOutput) Vport() pulumi.IntOutput
vport.
func (GetInstancesListOutput) WanDomain ¶
func (o GetInstancesListOutput) WanDomain() pulumi.StringOutput
wan domain.
func (GetInstancesListOutput) WanPort ¶
func (o GetInstancesListOutput) WanPort() pulumi.IntOutput
wan port.
func (GetInstancesListOutput) WanStatus ¶
func (o GetInstancesListOutput) WanStatus() pulumi.IntOutput
wan status, 0:nonactivated, 1:activated, 2:closed, 3:activating.
func (GetInstancesListOutput) WanVip ¶
func (o GetInstancesListOutput) WanVip() pulumi.StringOutput
wan vip.
type GetInstancesListResourceTagArgs ¶
type GetInstancesListResourceTagArgs struct { // tag key. TagKey pulumi.StringInput `pulumi:"tagKey"` // tag value. TagValue pulumi.StringInput `pulumi:"tagValue"` }
func (GetInstancesListResourceTagArgs) ElementType ¶
func (GetInstancesListResourceTagArgs) ElementType() reflect.Type
func (GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutput ¶
func (i GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput
func (GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutputWithContext ¶
func (i GetInstancesListResourceTagArgs) ToGetInstancesListResourceTagOutputWithContext(ctx context.Context) GetInstancesListResourceTagOutput
type GetInstancesListResourceTagArray ¶
type GetInstancesListResourceTagArray []GetInstancesListResourceTagInput
func (GetInstancesListResourceTagArray) ElementType ¶
func (GetInstancesListResourceTagArray) ElementType() reflect.Type
func (GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutput ¶
func (i GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput
func (GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutputWithContext ¶
func (i GetInstancesListResourceTagArray) ToGetInstancesListResourceTagArrayOutputWithContext(ctx context.Context) GetInstancesListResourceTagArrayOutput
type GetInstancesListResourceTagArrayInput ¶
type GetInstancesListResourceTagArrayInput interface { pulumi.Input ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput ToGetInstancesListResourceTagArrayOutputWithContext(context.Context) GetInstancesListResourceTagArrayOutput }
GetInstancesListResourceTagArrayInput is an input type that accepts GetInstancesListResourceTagArray and GetInstancesListResourceTagArrayOutput values. You can construct a concrete instance of `GetInstancesListResourceTagArrayInput` via:
GetInstancesListResourceTagArray{ GetInstancesListResourceTagArgs{...} }
type GetInstancesListResourceTagArrayOutput ¶
type GetInstancesListResourceTagArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesListResourceTagArrayOutput) ElementType ¶
func (GetInstancesListResourceTagArrayOutput) ElementType() reflect.Type
func (GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutput ¶
func (o GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutput() GetInstancesListResourceTagArrayOutput
func (GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutputWithContext ¶
func (o GetInstancesListResourceTagArrayOutput) ToGetInstancesListResourceTagArrayOutputWithContext(ctx context.Context) GetInstancesListResourceTagArrayOutput
type GetInstancesListResourceTagInput ¶
type GetInstancesListResourceTagInput interface { pulumi.Input ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput ToGetInstancesListResourceTagOutputWithContext(context.Context) GetInstancesListResourceTagOutput }
GetInstancesListResourceTagInput is an input type that accepts GetInstancesListResourceTagArgs and GetInstancesListResourceTagOutput values. You can construct a concrete instance of `GetInstancesListResourceTagInput` via:
GetInstancesListResourceTagArgs{...}
type GetInstancesListResourceTagOutput ¶
type GetInstancesListResourceTagOutput struct{ *pulumi.OutputState }
func (GetInstancesListResourceTagOutput) ElementType ¶
func (GetInstancesListResourceTagOutput) ElementType() reflect.Type
func (GetInstancesListResourceTagOutput) TagKey ¶
func (o GetInstancesListResourceTagOutput) TagKey() pulumi.StringOutput
tag key.
func (GetInstancesListResourceTagOutput) TagValue ¶
func (o GetInstancesListResourceTagOutput) TagValue() pulumi.StringOutput
tag value.
func (GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutput ¶
func (o GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutput() GetInstancesListResourceTagOutput
func (GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutputWithContext ¶
func (o GetInstancesListResourceTagOutput) ToGetInstancesListResourceTagOutputWithContext(ctx context.Context) GetInstancesListResourceTagOutput
type GetInstancesListShardDetail ¶
type GetInstancesListShardDetail struct { // cpu cores. Cpu int `pulumi:"cpu"` // shard create time. Createtime string `pulumi:"createtime"` // memory. Memory int `pulumi:"memory"` // node count. NodeCount int `pulumi:"nodeCount"` // shard id. ShardId int `pulumi:"shardId"` // shard instance id. ShardInstanceId string `pulumi:"shardInstanceId"` // shard serial id. ShardSerialId string `pulumi:"shardSerialId"` // status. Status int `pulumi:"status"` // memory, the unit is GB. Storage int `pulumi:"storage"` }
type GetInstancesListShardDetailArgs ¶
type GetInstancesListShardDetailArgs struct { // cpu cores. Cpu pulumi.IntInput `pulumi:"cpu"` // shard create time. Createtime pulumi.StringInput `pulumi:"createtime"` // memory. Memory pulumi.IntInput `pulumi:"memory"` // node count. NodeCount pulumi.IntInput `pulumi:"nodeCount"` // shard id. ShardId pulumi.IntInput `pulumi:"shardId"` // shard instance id. ShardInstanceId pulumi.StringInput `pulumi:"shardInstanceId"` // shard serial id. ShardSerialId pulumi.StringInput `pulumi:"shardSerialId"` // status. Status pulumi.IntInput `pulumi:"status"` // memory, the unit is GB. Storage pulumi.IntInput `pulumi:"storage"` }
func (GetInstancesListShardDetailArgs) ElementType ¶
func (GetInstancesListShardDetailArgs) ElementType() reflect.Type
func (GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutput ¶
func (i GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput
func (GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutputWithContext ¶
func (i GetInstancesListShardDetailArgs) ToGetInstancesListShardDetailOutputWithContext(ctx context.Context) GetInstancesListShardDetailOutput
type GetInstancesListShardDetailArray ¶
type GetInstancesListShardDetailArray []GetInstancesListShardDetailInput
func (GetInstancesListShardDetailArray) ElementType ¶
func (GetInstancesListShardDetailArray) ElementType() reflect.Type
func (GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutput ¶
func (i GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput
func (GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutputWithContext ¶
func (i GetInstancesListShardDetailArray) ToGetInstancesListShardDetailArrayOutputWithContext(ctx context.Context) GetInstancesListShardDetailArrayOutput
type GetInstancesListShardDetailArrayInput ¶
type GetInstancesListShardDetailArrayInput interface { pulumi.Input ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput ToGetInstancesListShardDetailArrayOutputWithContext(context.Context) GetInstancesListShardDetailArrayOutput }
GetInstancesListShardDetailArrayInput is an input type that accepts GetInstancesListShardDetailArray and GetInstancesListShardDetailArrayOutput values. You can construct a concrete instance of `GetInstancesListShardDetailArrayInput` via:
GetInstancesListShardDetailArray{ GetInstancesListShardDetailArgs{...} }
type GetInstancesListShardDetailArrayOutput ¶
type GetInstancesListShardDetailArrayOutput struct{ *pulumi.OutputState }
func (GetInstancesListShardDetailArrayOutput) ElementType ¶
func (GetInstancesListShardDetailArrayOutput) ElementType() reflect.Type
func (GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutput ¶
func (o GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutput() GetInstancesListShardDetailArrayOutput
func (GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutputWithContext ¶
func (o GetInstancesListShardDetailArrayOutput) ToGetInstancesListShardDetailArrayOutputWithContext(ctx context.Context) GetInstancesListShardDetailArrayOutput
type GetInstancesListShardDetailInput ¶
type GetInstancesListShardDetailInput interface { pulumi.Input ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput ToGetInstancesListShardDetailOutputWithContext(context.Context) GetInstancesListShardDetailOutput }
GetInstancesListShardDetailInput is an input type that accepts GetInstancesListShardDetailArgs and GetInstancesListShardDetailOutput values. You can construct a concrete instance of `GetInstancesListShardDetailInput` via:
GetInstancesListShardDetailArgs{...}
type GetInstancesListShardDetailOutput ¶
type GetInstancesListShardDetailOutput struct{ *pulumi.OutputState }
func (GetInstancesListShardDetailOutput) Cpu ¶
func (o GetInstancesListShardDetailOutput) Cpu() pulumi.IntOutput
cpu cores.
func (GetInstancesListShardDetailOutput) Createtime ¶
func (o GetInstancesListShardDetailOutput) Createtime() pulumi.StringOutput
shard create time.
func (GetInstancesListShardDetailOutput) ElementType ¶
func (GetInstancesListShardDetailOutput) ElementType() reflect.Type
func (GetInstancesListShardDetailOutput) Memory ¶
func (o GetInstancesListShardDetailOutput) Memory() pulumi.IntOutput
memory.
func (GetInstancesListShardDetailOutput) NodeCount ¶
func (o GetInstancesListShardDetailOutput) NodeCount() pulumi.IntOutput
node count.
func (GetInstancesListShardDetailOutput) ShardId ¶
func (o GetInstancesListShardDetailOutput) ShardId() pulumi.IntOutput
shard id.
func (GetInstancesListShardDetailOutput) ShardInstanceId ¶
func (o GetInstancesListShardDetailOutput) ShardInstanceId() pulumi.StringOutput
shard instance id.
func (GetInstancesListShardDetailOutput) ShardSerialId ¶
func (o GetInstancesListShardDetailOutput) ShardSerialId() pulumi.StringOutput
shard serial id.
func (GetInstancesListShardDetailOutput) Status ¶
func (o GetInstancesListShardDetailOutput) Status() pulumi.IntOutput
status.
func (GetInstancesListShardDetailOutput) Storage ¶
func (o GetInstancesListShardDetailOutput) Storage() pulumi.IntOutput
memory, the unit is GB.
func (GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutput ¶
func (o GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutput() GetInstancesListShardDetailOutput
func (GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutputWithContext ¶
func (o GetInstancesListShardDetailOutput) ToGetInstancesListShardDetailOutputWithContext(ctx context.Context) GetInstancesListShardDetailOutput
type GetInstancesOutputArgs ¶
type GetInstancesOutputArgs struct { // cluster excluster type. ExclusterType pulumi.IntPtrInput `pulumi:"exclusterType"` // instance ids. InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"` // search according to the cluster excluter type. IsFilterExcluster pulumi.BoolPtrInput `pulumi:"isFilterExcluster"` // search according to the vpc. IsFilterVpc pulumi.BoolPtrInput `pulumi:"isFilterVpc"` // project ids. ProjectIds pulumi.IntArrayInput `pulumi:"projectIds"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // search key, support fuzzy query. SearchKey pulumi.StringPtrInput `pulumi:"searchKey"` // search name, support instancename, vip, all. SearchName pulumi.StringPtrInput `pulumi:"searchName"` // subnet id, valid when IsFilterVpc is true. SubnetId pulumi.StringPtrInput `pulumi:"subnetId"` // vpc id, valid when IsFilterVpc is true. VpcId pulumi.StringPtrInput `pulumi:"vpcId"` }
A collection of arguments for invoking getInstances.
func (GetInstancesOutputArgs) ElementType ¶
func (GetInstancesOutputArgs) ElementType() reflect.Type
type GetInstancesResult ¶
type GetInstancesResult struct { ExclusterType *int `pulumi:"exclusterType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceIds []string `pulumi:"instanceIds"` IsFilterExcluster *bool `pulumi:"isFilterExcluster"` IsFilterVpc *bool `pulumi:"isFilterVpc"` // instance list. Lists []GetInstancesList `pulumi:"lists"` ProjectIds []int `pulumi:"projectIds"` ResultOutputFile *string `pulumi:"resultOutputFile"` SearchKey *string `pulumi:"searchKey"` SearchName *string `pulumi:"searchName"` // subnet id. SubnetId *string `pulumi:"subnetId"` // vpc id. VpcId string `pulumi:"vpcId"` }
A collection of values returned by getInstances.
func GetInstances ¶
func GetInstances(ctx *pulumi.Context, args *GetInstancesArgs, opts ...pulumi.InvokeOption) (*GetInstancesResult, error)
Use this data source to query detailed information of dcdb instances
type GetInstancesResultOutput ¶
type GetInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstances.
func GetInstancesOutput ¶
func GetInstancesOutput(ctx *pulumi.Context, args GetInstancesOutputArgs, opts ...pulumi.InvokeOption) GetInstancesResultOutput
func (GetInstancesResultOutput) ElementType ¶
func (GetInstancesResultOutput) ElementType() reflect.Type
func (GetInstancesResultOutput) ExclusterType ¶
func (o GetInstancesResultOutput) ExclusterType() pulumi.IntPtrOutput
func (GetInstancesResultOutput) Id ¶
func (o GetInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetInstancesResultOutput) InstanceIds ¶
func (o GetInstancesResultOutput) InstanceIds() pulumi.StringArrayOutput
func (GetInstancesResultOutput) IsFilterExcluster ¶
func (o GetInstancesResultOutput) IsFilterExcluster() pulumi.BoolPtrOutput
func (GetInstancesResultOutput) IsFilterVpc ¶
func (o GetInstancesResultOutput) IsFilterVpc() pulumi.BoolPtrOutput
func (GetInstancesResultOutput) Lists ¶
func (o GetInstancesResultOutput) Lists() GetInstancesListArrayOutput
instance list.
func (GetInstancesResultOutput) ProjectIds ¶
func (o GetInstancesResultOutput) ProjectIds() pulumi.IntArrayOutput
func (GetInstancesResultOutput) ResultOutputFile ¶
func (o GetInstancesResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetInstancesResultOutput) SearchKey ¶
func (o GetInstancesResultOutput) SearchKey() pulumi.StringPtrOutput
func (GetInstancesResultOutput) SearchName ¶
func (o GetInstancesResultOutput) SearchName() pulumi.StringPtrOutput
func (GetInstancesResultOutput) SubnetId ¶
func (o GetInstancesResultOutput) SubnetId() pulumi.StringPtrOutput
subnet id.
func (GetInstancesResultOutput) ToGetInstancesResultOutput ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutput() GetInstancesResultOutput
func (GetInstancesResultOutput) ToGetInstancesResultOutputWithContext ¶
func (o GetInstancesResultOutput) ToGetInstancesResultOutputWithContext(ctx context.Context) GetInstancesResultOutput
func (GetInstancesResultOutput) VpcId ¶
func (o GetInstancesResultOutput) VpcId() pulumi.StringOutput
vpc id.
type GetParametersArgs ¶
type GetParametersArgs struct { // instance id. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getParameters.
type GetParametersList ¶
type GetParametersList struct { // params constraint. Constraints []GetParametersListConstraint `pulumi:"constraints"` // default value. Default string `pulumi:"default"` // have set value. HaveSetValue bool `pulumi:"haveSetValue"` // need restart. NeedRestart bool `pulumi:"needRestart"` // parameter name. Param string `pulumi:"param"` // parameter value. Value string `pulumi:"value"` }
type GetParametersListArgs ¶
type GetParametersListArgs struct { // params constraint. Constraints GetParametersListConstraintArrayInput `pulumi:"constraints"` // default value. Default pulumi.StringInput `pulumi:"default"` // have set value. HaveSetValue pulumi.BoolInput `pulumi:"haveSetValue"` // need restart. NeedRestart pulumi.BoolInput `pulumi:"needRestart"` // parameter name. Param pulumi.StringInput `pulumi:"param"` // parameter value. Value pulumi.StringInput `pulumi:"value"` }
func (GetParametersListArgs) ElementType ¶
func (GetParametersListArgs) ElementType() reflect.Type
func (GetParametersListArgs) ToGetParametersListOutput ¶
func (i GetParametersListArgs) ToGetParametersListOutput() GetParametersListOutput
func (GetParametersListArgs) ToGetParametersListOutputWithContext ¶
func (i GetParametersListArgs) ToGetParametersListOutputWithContext(ctx context.Context) GetParametersListOutput
type GetParametersListArray ¶
type GetParametersListArray []GetParametersListInput
func (GetParametersListArray) ElementType ¶
func (GetParametersListArray) ElementType() reflect.Type
func (GetParametersListArray) ToGetParametersListArrayOutput ¶
func (i GetParametersListArray) ToGetParametersListArrayOutput() GetParametersListArrayOutput
func (GetParametersListArray) ToGetParametersListArrayOutputWithContext ¶
func (i GetParametersListArray) ToGetParametersListArrayOutputWithContext(ctx context.Context) GetParametersListArrayOutput
type GetParametersListArrayInput ¶
type GetParametersListArrayInput interface { pulumi.Input ToGetParametersListArrayOutput() GetParametersListArrayOutput ToGetParametersListArrayOutputWithContext(context.Context) GetParametersListArrayOutput }
GetParametersListArrayInput is an input type that accepts GetParametersListArray and GetParametersListArrayOutput values. You can construct a concrete instance of `GetParametersListArrayInput` via:
GetParametersListArray{ GetParametersListArgs{...} }
type GetParametersListArrayOutput ¶
type GetParametersListArrayOutput struct{ *pulumi.OutputState }
func (GetParametersListArrayOutput) ElementType ¶
func (GetParametersListArrayOutput) ElementType() reflect.Type
func (GetParametersListArrayOutput) Index ¶
func (o GetParametersListArrayOutput) Index(i pulumi.IntInput) GetParametersListOutput
func (GetParametersListArrayOutput) ToGetParametersListArrayOutput ¶
func (o GetParametersListArrayOutput) ToGetParametersListArrayOutput() GetParametersListArrayOutput
func (GetParametersListArrayOutput) ToGetParametersListArrayOutputWithContext ¶
func (o GetParametersListArrayOutput) ToGetParametersListArrayOutputWithContext(ctx context.Context) GetParametersListArrayOutput
type GetParametersListConstraint ¶
type GetParametersListConstraint struct { // a list of optional values of type num. Enum string `pulumi:"enum"` // range constraint. Ranges []GetParametersListConstraintRange `pulumi:"ranges"` // constraint type is string. String string `pulumi:"string"` // type. Type string `pulumi:"type"` }
type GetParametersListConstraintArgs ¶
type GetParametersListConstraintArgs struct { // a list of optional values of type num. Enum pulumi.StringInput `pulumi:"enum"` // range constraint. Ranges GetParametersListConstraintRangeArrayInput `pulumi:"ranges"` // constraint type is string. String pulumi.StringInput `pulumi:"string"` // type. Type pulumi.StringInput `pulumi:"type"` }
func (GetParametersListConstraintArgs) ElementType ¶
func (GetParametersListConstraintArgs) ElementType() reflect.Type
func (GetParametersListConstraintArgs) ToGetParametersListConstraintOutput ¶
func (i GetParametersListConstraintArgs) ToGetParametersListConstraintOutput() GetParametersListConstraintOutput
func (GetParametersListConstraintArgs) ToGetParametersListConstraintOutputWithContext ¶
func (i GetParametersListConstraintArgs) ToGetParametersListConstraintOutputWithContext(ctx context.Context) GetParametersListConstraintOutput
type GetParametersListConstraintArray ¶
type GetParametersListConstraintArray []GetParametersListConstraintInput
func (GetParametersListConstraintArray) ElementType ¶
func (GetParametersListConstraintArray) ElementType() reflect.Type
func (GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutput ¶
func (i GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput
func (GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutputWithContext ¶
func (i GetParametersListConstraintArray) ToGetParametersListConstraintArrayOutputWithContext(ctx context.Context) GetParametersListConstraintArrayOutput
type GetParametersListConstraintArrayInput ¶
type GetParametersListConstraintArrayInput interface { pulumi.Input ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput ToGetParametersListConstraintArrayOutputWithContext(context.Context) GetParametersListConstraintArrayOutput }
GetParametersListConstraintArrayInput is an input type that accepts GetParametersListConstraintArray and GetParametersListConstraintArrayOutput values. You can construct a concrete instance of `GetParametersListConstraintArrayInput` via:
GetParametersListConstraintArray{ GetParametersListConstraintArgs{...} }
type GetParametersListConstraintArrayOutput ¶
type GetParametersListConstraintArrayOutput struct{ *pulumi.OutputState }
func (GetParametersListConstraintArrayOutput) ElementType ¶
func (GetParametersListConstraintArrayOutput) ElementType() reflect.Type
func (GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutput ¶
func (o GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutput() GetParametersListConstraintArrayOutput
func (GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutputWithContext ¶
func (o GetParametersListConstraintArrayOutput) ToGetParametersListConstraintArrayOutputWithContext(ctx context.Context) GetParametersListConstraintArrayOutput
type GetParametersListConstraintInput ¶
type GetParametersListConstraintInput interface { pulumi.Input ToGetParametersListConstraintOutput() GetParametersListConstraintOutput ToGetParametersListConstraintOutputWithContext(context.Context) GetParametersListConstraintOutput }
GetParametersListConstraintInput is an input type that accepts GetParametersListConstraintArgs and GetParametersListConstraintOutput values. You can construct a concrete instance of `GetParametersListConstraintInput` via:
GetParametersListConstraintArgs{...}
type GetParametersListConstraintOutput ¶
type GetParametersListConstraintOutput struct{ *pulumi.OutputState }
func (GetParametersListConstraintOutput) ElementType ¶
func (GetParametersListConstraintOutput) ElementType() reflect.Type
func (GetParametersListConstraintOutput) Enum ¶
func (o GetParametersListConstraintOutput) Enum() pulumi.StringOutput
a list of optional values of type num.
func (GetParametersListConstraintOutput) Ranges ¶
func (o GetParametersListConstraintOutput) Ranges() GetParametersListConstraintRangeArrayOutput
range constraint.
func (GetParametersListConstraintOutput) String ¶
func (o GetParametersListConstraintOutput) String() pulumi.StringOutput
constraint type is string.
func (GetParametersListConstraintOutput) ToGetParametersListConstraintOutput ¶
func (o GetParametersListConstraintOutput) ToGetParametersListConstraintOutput() GetParametersListConstraintOutput
func (GetParametersListConstraintOutput) ToGetParametersListConstraintOutputWithContext ¶
func (o GetParametersListConstraintOutput) ToGetParametersListConstraintOutputWithContext(ctx context.Context) GetParametersListConstraintOutput
func (GetParametersListConstraintOutput) Type ¶
func (o GetParametersListConstraintOutput) Type() pulumi.StringOutput
type.
type GetParametersListConstraintRangeArgs ¶
type GetParametersListConstraintRangeArgs struct { // max value. Max pulumi.StringInput `pulumi:"max"` // min value. Min pulumi.StringInput `pulumi:"min"` }
func (GetParametersListConstraintRangeArgs) ElementType ¶
func (GetParametersListConstraintRangeArgs) ElementType() reflect.Type
func (GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutput ¶
func (i GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput
func (GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutputWithContext ¶
func (i GetParametersListConstraintRangeArgs) ToGetParametersListConstraintRangeOutputWithContext(ctx context.Context) GetParametersListConstraintRangeOutput
type GetParametersListConstraintRangeArray ¶
type GetParametersListConstraintRangeArray []GetParametersListConstraintRangeInput
func (GetParametersListConstraintRangeArray) ElementType ¶
func (GetParametersListConstraintRangeArray) ElementType() reflect.Type
func (GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutput ¶
func (i GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput
func (GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutputWithContext ¶
func (i GetParametersListConstraintRangeArray) ToGetParametersListConstraintRangeArrayOutputWithContext(ctx context.Context) GetParametersListConstraintRangeArrayOutput
type GetParametersListConstraintRangeArrayInput ¶
type GetParametersListConstraintRangeArrayInput interface { pulumi.Input ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput ToGetParametersListConstraintRangeArrayOutputWithContext(context.Context) GetParametersListConstraintRangeArrayOutput }
GetParametersListConstraintRangeArrayInput is an input type that accepts GetParametersListConstraintRangeArray and GetParametersListConstraintRangeArrayOutput values. You can construct a concrete instance of `GetParametersListConstraintRangeArrayInput` via:
GetParametersListConstraintRangeArray{ GetParametersListConstraintRangeArgs{...} }
type GetParametersListConstraintRangeArrayOutput ¶
type GetParametersListConstraintRangeArrayOutput struct{ *pulumi.OutputState }
func (GetParametersListConstraintRangeArrayOutput) ElementType ¶
func (GetParametersListConstraintRangeArrayOutput) ElementType() reflect.Type
func (GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutput ¶
func (o GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutput() GetParametersListConstraintRangeArrayOutput
func (GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutputWithContext ¶
func (o GetParametersListConstraintRangeArrayOutput) ToGetParametersListConstraintRangeArrayOutputWithContext(ctx context.Context) GetParametersListConstraintRangeArrayOutput
type GetParametersListConstraintRangeInput ¶
type GetParametersListConstraintRangeInput interface { pulumi.Input ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput ToGetParametersListConstraintRangeOutputWithContext(context.Context) GetParametersListConstraintRangeOutput }
GetParametersListConstraintRangeInput is an input type that accepts GetParametersListConstraintRangeArgs and GetParametersListConstraintRangeOutput values. You can construct a concrete instance of `GetParametersListConstraintRangeInput` via:
GetParametersListConstraintRangeArgs{...}
type GetParametersListConstraintRangeOutput ¶
type GetParametersListConstraintRangeOutput struct{ *pulumi.OutputState }
func (GetParametersListConstraintRangeOutput) ElementType ¶
func (GetParametersListConstraintRangeOutput) ElementType() reflect.Type
func (GetParametersListConstraintRangeOutput) Max ¶
func (o GetParametersListConstraintRangeOutput) Max() pulumi.StringOutput
max value.
func (GetParametersListConstraintRangeOutput) Min ¶
func (o GetParametersListConstraintRangeOutput) Min() pulumi.StringOutput
min value.
func (GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutput ¶
func (o GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutput() GetParametersListConstraintRangeOutput
func (GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutputWithContext ¶
func (o GetParametersListConstraintRangeOutput) ToGetParametersListConstraintRangeOutputWithContext(ctx context.Context) GetParametersListConstraintRangeOutput
type GetParametersListInput ¶
type GetParametersListInput interface { pulumi.Input ToGetParametersListOutput() GetParametersListOutput ToGetParametersListOutputWithContext(context.Context) GetParametersListOutput }
GetParametersListInput is an input type that accepts GetParametersListArgs and GetParametersListOutput values. You can construct a concrete instance of `GetParametersListInput` via:
GetParametersListArgs{...}
type GetParametersListOutput ¶
type GetParametersListOutput struct{ *pulumi.OutputState }
func (GetParametersListOutput) Constraints ¶
func (o GetParametersListOutput) Constraints() GetParametersListConstraintArrayOutput
params constraint.
func (GetParametersListOutput) Default ¶
func (o GetParametersListOutput) Default() pulumi.StringOutput
default value.
func (GetParametersListOutput) ElementType ¶
func (GetParametersListOutput) ElementType() reflect.Type
func (GetParametersListOutput) HaveSetValue ¶
func (o GetParametersListOutput) HaveSetValue() pulumi.BoolOutput
have set value.
func (GetParametersListOutput) NeedRestart ¶
func (o GetParametersListOutput) NeedRestart() pulumi.BoolOutput
need restart.
func (GetParametersListOutput) Param ¶
func (o GetParametersListOutput) Param() pulumi.StringOutput
parameter name.
func (GetParametersListOutput) ToGetParametersListOutput ¶
func (o GetParametersListOutput) ToGetParametersListOutput() GetParametersListOutput
func (GetParametersListOutput) ToGetParametersListOutputWithContext ¶
func (o GetParametersListOutput) ToGetParametersListOutputWithContext(ctx context.Context) GetParametersListOutput
func (GetParametersListOutput) Value ¶
func (o GetParametersListOutput) Value() pulumi.StringOutput
parameter value.
type GetParametersOutputArgs ¶
type GetParametersOutputArgs struct { // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getParameters.
func (GetParametersOutputArgs) ElementType ¶
func (GetParametersOutputArgs) ElementType() reflect.Type
type GetParametersResult ¶
type GetParametersResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` // parameter list. Lists []GetParametersList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getParameters.
func GetParameters ¶
func GetParameters(ctx *pulumi.Context, args *GetParametersArgs, opts ...pulumi.InvokeOption) (*GetParametersResult, error)
Use this data source to query detailed information of dcdb parameters
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetParameters(ctx, &dcdb.GetParametersArgs{ InstanceId: "your_instance_id", }, nil) if err != nil { return err } return nil }) }
```
type GetParametersResultOutput ¶
type GetParametersResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getParameters.
func GetParametersOutput ¶
func GetParametersOutput(ctx *pulumi.Context, args GetParametersOutputArgs, opts ...pulumi.InvokeOption) GetParametersResultOutput
func (GetParametersResultOutput) ElementType ¶
func (GetParametersResultOutput) ElementType() reflect.Type
func (GetParametersResultOutput) Id ¶
func (o GetParametersResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetParametersResultOutput) InstanceId ¶
func (o GetParametersResultOutput) InstanceId() pulumi.StringOutput
func (GetParametersResultOutput) Lists ¶
func (o GetParametersResultOutput) Lists() GetParametersListArrayOutput
parameter list.
func (GetParametersResultOutput) ResultOutputFile ¶
func (o GetParametersResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetParametersResultOutput) ToGetParametersResultOutput ¶
func (o GetParametersResultOutput) ToGetParametersResultOutput() GetParametersResultOutput
func (GetParametersResultOutput) ToGetParametersResultOutputWithContext ¶
func (o GetParametersResultOutput) ToGetParametersResultOutputWithContext(ctx context.Context) GetParametersResultOutput
type GetSecurityGroupsArgs ¶
type GetSecurityGroupsArgs struct { // instance id. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getSecurityGroups.
type GetSecurityGroupsList ¶
type GetSecurityGroupsList struct { // create time. CreateTime string `pulumi:"createTime"` // inbound rules. Inbounds []GetSecurityGroupsListInbound `pulumi:"inbounds"` // outbound rules. Outbounds []GetSecurityGroupsListOutbound `pulumi:"outbounds"` // project id. ProjectId int `pulumi:"projectId"` // security group id. SecurityGroupId string `pulumi:"securityGroupId"` // security group name. SecurityGroupName string `pulumi:"securityGroupName"` }
type GetSecurityGroupsListArgs ¶
type GetSecurityGroupsListArgs struct { // create time. CreateTime pulumi.StringInput `pulumi:"createTime"` // inbound rules. Inbounds GetSecurityGroupsListInboundArrayInput `pulumi:"inbounds"` // outbound rules. Outbounds GetSecurityGroupsListOutboundArrayInput `pulumi:"outbounds"` // project id. ProjectId pulumi.IntInput `pulumi:"projectId"` // security group id. SecurityGroupId pulumi.StringInput `pulumi:"securityGroupId"` // security group name. SecurityGroupName pulumi.StringInput `pulumi:"securityGroupName"` }
func (GetSecurityGroupsListArgs) ElementType ¶
func (GetSecurityGroupsListArgs) ElementType() reflect.Type
func (GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutput ¶
func (i GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput
func (GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutputWithContext ¶
func (i GetSecurityGroupsListArgs) ToGetSecurityGroupsListOutputWithContext(ctx context.Context) GetSecurityGroupsListOutput
type GetSecurityGroupsListArray ¶
type GetSecurityGroupsListArray []GetSecurityGroupsListInput
func (GetSecurityGroupsListArray) ElementType ¶
func (GetSecurityGroupsListArray) ElementType() reflect.Type
func (GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutput ¶
func (i GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput
func (GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutputWithContext ¶
func (i GetSecurityGroupsListArray) ToGetSecurityGroupsListArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListArrayOutput
type GetSecurityGroupsListArrayInput ¶
type GetSecurityGroupsListArrayInput interface { pulumi.Input ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput ToGetSecurityGroupsListArrayOutputWithContext(context.Context) GetSecurityGroupsListArrayOutput }
GetSecurityGroupsListArrayInput is an input type that accepts GetSecurityGroupsListArray and GetSecurityGroupsListArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsListArrayInput` via:
GetSecurityGroupsListArray{ GetSecurityGroupsListArgs{...} }
type GetSecurityGroupsListArrayOutput ¶
type GetSecurityGroupsListArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsListArrayOutput) ElementType ¶
func (GetSecurityGroupsListArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupsListArrayOutput) Index ¶
func (o GetSecurityGroupsListArrayOutput) Index(i pulumi.IntInput) GetSecurityGroupsListOutput
func (GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutput ¶
func (o GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutput() GetSecurityGroupsListArrayOutput
func (GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutputWithContext ¶
func (o GetSecurityGroupsListArrayOutput) ToGetSecurityGroupsListArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListArrayOutput
type GetSecurityGroupsListInboundArgs ¶
type GetSecurityGroupsListInboundArgs struct { // policy action. Action pulumi.StringInput `pulumi:"action"` // cidr ip. CidrIp pulumi.StringInput `pulumi:"cidrIp"` // internet protocol. IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` // port range. PortRange pulumi.StringInput `pulumi:"portRange"` }
func (GetSecurityGroupsListInboundArgs) ElementType ¶
func (GetSecurityGroupsListInboundArgs) ElementType() reflect.Type
func (GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutput ¶
func (i GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput
func (GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutputWithContext ¶
func (i GetSecurityGroupsListInboundArgs) ToGetSecurityGroupsListInboundOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundOutput
type GetSecurityGroupsListInboundArray ¶
type GetSecurityGroupsListInboundArray []GetSecurityGroupsListInboundInput
func (GetSecurityGroupsListInboundArray) ElementType ¶
func (GetSecurityGroupsListInboundArray) ElementType() reflect.Type
func (GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutput ¶
func (i GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput
func (GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutputWithContext ¶
func (i GetSecurityGroupsListInboundArray) ToGetSecurityGroupsListInboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundArrayOutput
type GetSecurityGroupsListInboundArrayInput ¶
type GetSecurityGroupsListInboundArrayInput interface { pulumi.Input ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput ToGetSecurityGroupsListInboundArrayOutputWithContext(context.Context) GetSecurityGroupsListInboundArrayOutput }
GetSecurityGroupsListInboundArrayInput is an input type that accepts GetSecurityGroupsListInboundArray and GetSecurityGroupsListInboundArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsListInboundArrayInput` via:
GetSecurityGroupsListInboundArray{ GetSecurityGroupsListInboundArgs{...} }
type GetSecurityGroupsListInboundArrayOutput ¶
type GetSecurityGroupsListInboundArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsListInboundArrayOutput) ElementType ¶
func (GetSecurityGroupsListInboundArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutput ¶
func (o GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutput() GetSecurityGroupsListInboundArrayOutput
func (GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutputWithContext ¶
func (o GetSecurityGroupsListInboundArrayOutput) ToGetSecurityGroupsListInboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundArrayOutput
type GetSecurityGroupsListInboundInput ¶
type GetSecurityGroupsListInboundInput interface { pulumi.Input ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput ToGetSecurityGroupsListInboundOutputWithContext(context.Context) GetSecurityGroupsListInboundOutput }
GetSecurityGroupsListInboundInput is an input type that accepts GetSecurityGroupsListInboundArgs and GetSecurityGroupsListInboundOutput values. You can construct a concrete instance of `GetSecurityGroupsListInboundInput` via:
GetSecurityGroupsListInboundArgs{...}
type GetSecurityGroupsListInboundOutput ¶
type GetSecurityGroupsListInboundOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsListInboundOutput) Action ¶
func (o GetSecurityGroupsListInboundOutput) Action() pulumi.StringOutput
policy action.
func (GetSecurityGroupsListInboundOutput) CidrIp ¶
func (o GetSecurityGroupsListInboundOutput) CidrIp() pulumi.StringOutput
cidr ip.
func (GetSecurityGroupsListInboundOutput) ElementType ¶
func (GetSecurityGroupsListInboundOutput) ElementType() reflect.Type
func (GetSecurityGroupsListInboundOutput) IpProtocol ¶
func (o GetSecurityGroupsListInboundOutput) IpProtocol() pulumi.StringOutput
internet protocol.
func (GetSecurityGroupsListInboundOutput) PortRange ¶
func (o GetSecurityGroupsListInboundOutput) PortRange() pulumi.StringOutput
port range.
func (GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutput ¶
func (o GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutput() GetSecurityGroupsListInboundOutput
func (GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutputWithContext ¶
func (o GetSecurityGroupsListInboundOutput) ToGetSecurityGroupsListInboundOutputWithContext(ctx context.Context) GetSecurityGroupsListInboundOutput
type GetSecurityGroupsListInput ¶
type GetSecurityGroupsListInput interface { pulumi.Input ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput ToGetSecurityGroupsListOutputWithContext(context.Context) GetSecurityGroupsListOutput }
GetSecurityGroupsListInput is an input type that accepts GetSecurityGroupsListArgs and GetSecurityGroupsListOutput values. You can construct a concrete instance of `GetSecurityGroupsListInput` via:
GetSecurityGroupsListArgs{...}
type GetSecurityGroupsListOutboundArgs ¶
type GetSecurityGroupsListOutboundArgs struct { // policy action. Action pulumi.StringInput `pulumi:"action"` // cidr ip. CidrIp pulumi.StringInput `pulumi:"cidrIp"` // internet protocol. IpProtocol pulumi.StringInput `pulumi:"ipProtocol"` // port range. PortRange pulumi.StringInput `pulumi:"portRange"` }
func (GetSecurityGroupsListOutboundArgs) ElementType ¶
func (GetSecurityGroupsListOutboundArgs) ElementType() reflect.Type
func (GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutput ¶
func (i GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput
func (GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutputWithContext ¶
func (i GetSecurityGroupsListOutboundArgs) ToGetSecurityGroupsListOutboundOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundOutput
type GetSecurityGroupsListOutboundArray ¶
type GetSecurityGroupsListOutboundArray []GetSecurityGroupsListOutboundInput
func (GetSecurityGroupsListOutboundArray) ElementType ¶
func (GetSecurityGroupsListOutboundArray) ElementType() reflect.Type
func (GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutput ¶
func (i GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput
func (GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutputWithContext ¶
func (i GetSecurityGroupsListOutboundArray) ToGetSecurityGroupsListOutboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundArrayOutput
type GetSecurityGroupsListOutboundArrayInput ¶
type GetSecurityGroupsListOutboundArrayInput interface { pulumi.Input ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput ToGetSecurityGroupsListOutboundArrayOutputWithContext(context.Context) GetSecurityGroupsListOutboundArrayOutput }
GetSecurityGroupsListOutboundArrayInput is an input type that accepts GetSecurityGroupsListOutboundArray and GetSecurityGroupsListOutboundArrayOutput values. You can construct a concrete instance of `GetSecurityGroupsListOutboundArrayInput` via:
GetSecurityGroupsListOutboundArray{ GetSecurityGroupsListOutboundArgs{...} }
type GetSecurityGroupsListOutboundArrayOutput ¶
type GetSecurityGroupsListOutboundArrayOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsListOutboundArrayOutput) ElementType ¶
func (GetSecurityGroupsListOutboundArrayOutput) ElementType() reflect.Type
func (GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutput ¶
func (o GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutput() GetSecurityGroupsListOutboundArrayOutput
func (GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutputWithContext ¶
func (o GetSecurityGroupsListOutboundArrayOutput) ToGetSecurityGroupsListOutboundArrayOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundArrayOutput
type GetSecurityGroupsListOutboundInput ¶
type GetSecurityGroupsListOutboundInput interface { pulumi.Input ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput ToGetSecurityGroupsListOutboundOutputWithContext(context.Context) GetSecurityGroupsListOutboundOutput }
GetSecurityGroupsListOutboundInput is an input type that accepts GetSecurityGroupsListOutboundArgs and GetSecurityGroupsListOutboundOutput values. You can construct a concrete instance of `GetSecurityGroupsListOutboundInput` via:
GetSecurityGroupsListOutboundArgs{...}
type GetSecurityGroupsListOutboundOutput ¶
type GetSecurityGroupsListOutboundOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsListOutboundOutput) Action ¶
func (o GetSecurityGroupsListOutboundOutput) Action() pulumi.StringOutput
policy action.
func (GetSecurityGroupsListOutboundOutput) CidrIp ¶
func (o GetSecurityGroupsListOutboundOutput) CidrIp() pulumi.StringOutput
cidr ip.
func (GetSecurityGroupsListOutboundOutput) ElementType ¶
func (GetSecurityGroupsListOutboundOutput) ElementType() reflect.Type
func (GetSecurityGroupsListOutboundOutput) IpProtocol ¶
func (o GetSecurityGroupsListOutboundOutput) IpProtocol() pulumi.StringOutput
internet protocol.
func (GetSecurityGroupsListOutboundOutput) PortRange ¶
func (o GetSecurityGroupsListOutboundOutput) PortRange() pulumi.StringOutput
port range.
func (GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutput ¶
func (o GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutput() GetSecurityGroupsListOutboundOutput
func (GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutputWithContext ¶
func (o GetSecurityGroupsListOutboundOutput) ToGetSecurityGroupsListOutboundOutputWithContext(ctx context.Context) GetSecurityGroupsListOutboundOutput
type GetSecurityGroupsListOutput ¶
type GetSecurityGroupsListOutput struct{ *pulumi.OutputState }
func (GetSecurityGroupsListOutput) CreateTime ¶
func (o GetSecurityGroupsListOutput) CreateTime() pulumi.StringOutput
create time.
func (GetSecurityGroupsListOutput) ElementType ¶
func (GetSecurityGroupsListOutput) ElementType() reflect.Type
func (GetSecurityGroupsListOutput) Inbounds ¶
func (o GetSecurityGroupsListOutput) Inbounds() GetSecurityGroupsListInboundArrayOutput
inbound rules.
func (GetSecurityGroupsListOutput) Outbounds ¶
func (o GetSecurityGroupsListOutput) Outbounds() GetSecurityGroupsListOutboundArrayOutput
outbound rules.
func (GetSecurityGroupsListOutput) ProjectId ¶
func (o GetSecurityGroupsListOutput) ProjectId() pulumi.IntOutput
project id.
func (GetSecurityGroupsListOutput) SecurityGroupId ¶
func (o GetSecurityGroupsListOutput) SecurityGroupId() pulumi.StringOutput
security group id.
func (GetSecurityGroupsListOutput) SecurityGroupName ¶
func (o GetSecurityGroupsListOutput) SecurityGroupName() pulumi.StringOutput
security group name.
func (GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutput ¶
func (o GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutput() GetSecurityGroupsListOutput
func (GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutputWithContext ¶
func (o GetSecurityGroupsListOutput) ToGetSecurityGroupsListOutputWithContext(ctx context.Context) GetSecurityGroupsListOutput
type GetSecurityGroupsOutputArgs ¶
type GetSecurityGroupsOutputArgs struct { // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` }
A collection of arguments for invoking getSecurityGroups.
func (GetSecurityGroupsOutputArgs) ElementType ¶
func (GetSecurityGroupsOutputArgs) ElementType() reflect.Type
type GetSecurityGroupsResult ¶
type GetSecurityGroupsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` InstanceId string `pulumi:"instanceId"` // security group list. Lists []GetSecurityGroupsList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` }
A collection of values returned by getSecurityGroups.
func GetSecurityGroups ¶
func GetSecurityGroups(ctx *pulumi.Context, args *GetSecurityGroupsArgs, opts ...pulumi.InvokeOption) (*GetSecurityGroupsResult, error)
Use this data source to query detailed information of dcdb securityGroups
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetSecurityGroups(ctx, &dcdb.GetSecurityGroupsArgs{ InstanceId: "your_instance_id", }, nil) if err != nil { return err } return nil }) }
```
type GetSecurityGroupsResultOutput ¶
type GetSecurityGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSecurityGroups.
func GetSecurityGroupsOutput ¶
func GetSecurityGroupsOutput(ctx *pulumi.Context, args GetSecurityGroupsOutputArgs, opts ...pulumi.InvokeOption) GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) ElementType ¶
func (GetSecurityGroupsResultOutput) ElementType() reflect.Type
func (GetSecurityGroupsResultOutput) Id ¶
func (o GetSecurityGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSecurityGroupsResultOutput) InstanceId ¶
func (o GetSecurityGroupsResultOutput) InstanceId() pulumi.StringOutput
func (GetSecurityGroupsResultOutput) Lists ¶
func (o GetSecurityGroupsResultOutput) Lists() GetSecurityGroupsListArrayOutput
security group list.
func (GetSecurityGroupsResultOutput) ResultOutputFile ¶
func (o GetSecurityGroupsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput ¶
func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutput() GetSecurityGroupsResultOutput
func (GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext ¶
func (o GetSecurityGroupsResultOutput) ToGetSecurityGroupsResultOutputWithContext(ctx context.Context) GetSecurityGroupsResultOutput
type GetShardsArgs ¶
type GetShardsArgs struct { // instance id. InstanceId string `pulumi:"instanceId"` // Used to save results. ResultOutputFile *string `pulumi:"resultOutputFile"` // shard instance ids. ShardInstanceIds []string `pulumi:"shardInstanceIds"` }
A collection of arguments for invoking getShards.
type GetShardsList ¶
type GetShardsList struct { // cpu cores. Cpu int `pulumi:"cpu"` // create time. CreateTime string `pulumi:"createTime"` // instance id. InstanceId string `pulumi:"instanceId"` // memory, the unit is GB. Memory int `pulumi:"memory"` // memory usage. MemoryUsage int `pulumi:"memoryUsage"` // node count. NodeCount int `pulumi:"nodeCount"` // pay mode. Paymode string `pulumi:"paymode"` // expired time. PeriodEndTime string `pulumi:"periodEndTime"` // project id. ProjectId int `pulumi:"projectId"` // proxy version. ProxyVersion string `pulumi:"proxyVersion"` // the range of shard key. Range string `pulumi:"range"` // region. Region string `pulumi:"region"` // shard instance id. ShardInstanceId string `pulumi:"shardInstanceId"` // shard master zone. ShardMasterZone string `pulumi:"shardMasterZone"` // shard serial id. ShardSerialId string `pulumi:"shardSerialId"` // shard slave zones. ShardSlaveZones []string `pulumi:"shardSlaveZones"` // status. Status int `pulumi:"status"` // status description. StatusDesc string `pulumi:"statusDesc"` // memory, the unit is GB. Storage int `pulumi:"storage"` // storage usage. StorageUsage int `pulumi:"storageUsage"` // subnet id. SubnetId string `pulumi:"subnetId"` // vpc id. VpcId string `pulumi:"vpcId"` // zone. Zone string `pulumi:"zone"` }
type GetShardsListArgs ¶
type GetShardsListArgs struct { // cpu cores. Cpu pulumi.IntInput `pulumi:"cpu"` // create time. CreateTime pulumi.StringInput `pulumi:"createTime"` // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // memory, the unit is GB. Memory pulumi.IntInput `pulumi:"memory"` // memory usage. MemoryUsage pulumi.IntInput `pulumi:"memoryUsage"` // node count. NodeCount pulumi.IntInput `pulumi:"nodeCount"` // pay mode. Paymode pulumi.StringInput `pulumi:"paymode"` // expired time. PeriodEndTime pulumi.StringInput `pulumi:"periodEndTime"` // project id. ProjectId pulumi.IntInput `pulumi:"projectId"` // proxy version. ProxyVersion pulumi.StringInput `pulumi:"proxyVersion"` // the range of shard key. Range pulumi.StringInput `pulumi:"range"` // region. Region pulumi.StringInput `pulumi:"region"` // shard instance id. ShardInstanceId pulumi.StringInput `pulumi:"shardInstanceId"` // shard master zone. ShardMasterZone pulumi.StringInput `pulumi:"shardMasterZone"` // shard serial id. ShardSerialId pulumi.StringInput `pulumi:"shardSerialId"` // shard slave zones. ShardSlaveZones pulumi.StringArrayInput `pulumi:"shardSlaveZones"` // status. Status pulumi.IntInput `pulumi:"status"` // status description. StatusDesc pulumi.StringInput `pulumi:"statusDesc"` // memory, the unit is GB. Storage pulumi.IntInput `pulumi:"storage"` // storage usage. StorageUsage pulumi.IntInput `pulumi:"storageUsage"` // subnet id. SubnetId pulumi.StringInput `pulumi:"subnetId"` // vpc id. VpcId pulumi.StringInput `pulumi:"vpcId"` // zone. Zone pulumi.StringInput `pulumi:"zone"` }
func (GetShardsListArgs) ElementType ¶
func (GetShardsListArgs) ElementType() reflect.Type
func (GetShardsListArgs) ToGetShardsListOutput ¶
func (i GetShardsListArgs) ToGetShardsListOutput() GetShardsListOutput
func (GetShardsListArgs) ToGetShardsListOutputWithContext ¶
func (i GetShardsListArgs) ToGetShardsListOutputWithContext(ctx context.Context) GetShardsListOutput
type GetShardsListArray ¶
type GetShardsListArray []GetShardsListInput
func (GetShardsListArray) ElementType ¶
func (GetShardsListArray) ElementType() reflect.Type
func (GetShardsListArray) ToGetShardsListArrayOutput ¶
func (i GetShardsListArray) ToGetShardsListArrayOutput() GetShardsListArrayOutput
func (GetShardsListArray) ToGetShardsListArrayOutputWithContext ¶
func (i GetShardsListArray) ToGetShardsListArrayOutputWithContext(ctx context.Context) GetShardsListArrayOutput
type GetShardsListArrayInput ¶
type GetShardsListArrayInput interface { pulumi.Input ToGetShardsListArrayOutput() GetShardsListArrayOutput ToGetShardsListArrayOutputWithContext(context.Context) GetShardsListArrayOutput }
GetShardsListArrayInput is an input type that accepts GetShardsListArray and GetShardsListArrayOutput values. You can construct a concrete instance of `GetShardsListArrayInput` via:
GetShardsListArray{ GetShardsListArgs{...} }
type GetShardsListArrayOutput ¶
type GetShardsListArrayOutput struct{ *pulumi.OutputState }
func (GetShardsListArrayOutput) ElementType ¶
func (GetShardsListArrayOutput) ElementType() reflect.Type
func (GetShardsListArrayOutput) Index ¶
func (o GetShardsListArrayOutput) Index(i pulumi.IntInput) GetShardsListOutput
func (GetShardsListArrayOutput) ToGetShardsListArrayOutput ¶
func (o GetShardsListArrayOutput) ToGetShardsListArrayOutput() GetShardsListArrayOutput
func (GetShardsListArrayOutput) ToGetShardsListArrayOutputWithContext ¶
func (o GetShardsListArrayOutput) ToGetShardsListArrayOutputWithContext(ctx context.Context) GetShardsListArrayOutput
type GetShardsListInput ¶
type GetShardsListInput interface { pulumi.Input ToGetShardsListOutput() GetShardsListOutput ToGetShardsListOutputWithContext(context.Context) GetShardsListOutput }
GetShardsListInput is an input type that accepts GetShardsListArgs and GetShardsListOutput values. You can construct a concrete instance of `GetShardsListInput` via:
GetShardsListArgs{...}
type GetShardsListOutput ¶
type GetShardsListOutput struct{ *pulumi.OutputState }
func (GetShardsListOutput) CreateTime ¶
func (o GetShardsListOutput) CreateTime() pulumi.StringOutput
create time.
func (GetShardsListOutput) ElementType ¶
func (GetShardsListOutput) ElementType() reflect.Type
func (GetShardsListOutput) InstanceId ¶
func (o GetShardsListOutput) InstanceId() pulumi.StringOutput
instance id.
func (GetShardsListOutput) Memory ¶
func (o GetShardsListOutput) Memory() pulumi.IntOutput
memory, the unit is GB.
func (GetShardsListOutput) MemoryUsage ¶
func (o GetShardsListOutput) MemoryUsage() pulumi.IntOutput
memory usage.
func (GetShardsListOutput) NodeCount ¶
func (o GetShardsListOutput) NodeCount() pulumi.IntOutput
node count.
func (GetShardsListOutput) Paymode ¶
func (o GetShardsListOutput) Paymode() pulumi.StringOutput
pay mode.
func (GetShardsListOutput) PeriodEndTime ¶
func (o GetShardsListOutput) PeriodEndTime() pulumi.StringOutput
expired time.
func (GetShardsListOutput) ProjectId ¶
func (o GetShardsListOutput) ProjectId() pulumi.IntOutput
project id.
func (GetShardsListOutput) ProxyVersion ¶
func (o GetShardsListOutput) ProxyVersion() pulumi.StringOutput
proxy version.
func (GetShardsListOutput) Range ¶
func (o GetShardsListOutput) Range() pulumi.StringOutput
the range of shard key.
func (GetShardsListOutput) Region ¶
func (o GetShardsListOutput) Region() pulumi.StringOutput
region.
func (GetShardsListOutput) ShardInstanceId ¶
func (o GetShardsListOutput) ShardInstanceId() pulumi.StringOutput
shard instance id.
func (GetShardsListOutput) ShardMasterZone ¶
func (o GetShardsListOutput) ShardMasterZone() pulumi.StringOutput
shard master zone.
func (GetShardsListOutput) ShardSerialId ¶
func (o GetShardsListOutput) ShardSerialId() pulumi.StringOutput
shard serial id.
func (GetShardsListOutput) ShardSlaveZones ¶
func (o GetShardsListOutput) ShardSlaveZones() pulumi.StringArrayOutput
shard slave zones.
func (GetShardsListOutput) StatusDesc ¶
func (o GetShardsListOutput) StatusDesc() pulumi.StringOutput
status description.
func (GetShardsListOutput) Storage ¶
func (o GetShardsListOutput) Storage() pulumi.IntOutput
memory, the unit is GB.
func (GetShardsListOutput) StorageUsage ¶
func (o GetShardsListOutput) StorageUsage() pulumi.IntOutput
storage usage.
func (GetShardsListOutput) SubnetId ¶
func (o GetShardsListOutput) SubnetId() pulumi.StringOutput
subnet id.
func (GetShardsListOutput) ToGetShardsListOutput ¶
func (o GetShardsListOutput) ToGetShardsListOutput() GetShardsListOutput
func (GetShardsListOutput) ToGetShardsListOutputWithContext ¶
func (o GetShardsListOutput) ToGetShardsListOutputWithContext(ctx context.Context) GetShardsListOutput
type GetShardsOutputArgs ¶
type GetShardsOutputArgs struct { // instance id. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Used to save results. ResultOutputFile pulumi.StringPtrInput `pulumi:"resultOutputFile"` // shard instance ids. ShardInstanceIds pulumi.StringArrayInput `pulumi:"shardInstanceIds"` }
A collection of arguments for invoking getShards.
func (GetShardsOutputArgs) ElementType ¶
func (GetShardsOutputArgs) ElementType() reflect.Type
type GetShardsResult ¶
type GetShardsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` // instance id. InstanceId string `pulumi:"instanceId"` // shard list. Lists []GetShardsList `pulumi:"lists"` ResultOutputFile *string `pulumi:"resultOutputFile"` ShardInstanceIds []string `pulumi:"shardInstanceIds"` }
A collection of values returned by getShards.
func GetShards ¶
func GetShards(ctx *pulumi.Context, args *GetShardsArgs, opts ...pulumi.InvokeOption) (*GetShardsResult, error)
Use this data source to query detailed information of dcdb shards
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.GetShards(ctx, &dcdb.GetShardsArgs{ InstanceId: "your_instance_id", ShardInstanceIds: []string{ "shard1_id", }, }, nil) if err != nil { return err } return nil }) }
```
type GetShardsResultOutput ¶
type GetShardsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getShards.
func GetShardsOutput ¶
func GetShardsOutput(ctx *pulumi.Context, args GetShardsOutputArgs, opts ...pulumi.InvokeOption) GetShardsResultOutput
func (GetShardsResultOutput) ElementType ¶
func (GetShardsResultOutput) ElementType() reflect.Type
func (GetShardsResultOutput) Id ¶
func (o GetShardsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetShardsResultOutput) InstanceId ¶
func (o GetShardsResultOutput) InstanceId() pulumi.StringOutput
instance id.
func (GetShardsResultOutput) Lists ¶
func (o GetShardsResultOutput) Lists() GetShardsListArrayOutput
shard list.
func (GetShardsResultOutput) ResultOutputFile ¶
func (o GetShardsResultOutput) ResultOutputFile() pulumi.StringPtrOutput
func (GetShardsResultOutput) ShardInstanceIds ¶
func (o GetShardsResultOutput) ShardInstanceIds() pulumi.StringArrayOutput
func (GetShardsResultOutput) ToGetShardsResultOutput ¶
func (o GetShardsResultOutput) ToGetShardsResultOutput() GetShardsResultOutput
func (GetShardsResultOutput) ToGetShardsResultOutputWithContext ¶
func (o GetShardsResultOutput) ToGetShardsResultOutputWithContext(ctx context.Context) GetShardsResultOutput
type HourdbInstance ¶
type HourdbInstance struct { pulumi.CustomResourceState // db engine version, default to Percona 5.7.17. DbVersionId pulumi.StringPtrOutput `pulumi:"dbVersionId"` // name of this instance. InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // project id. ProjectId pulumi.IntPtrOutput `pulumi:"projectId"` // resource tags. ResourceTags HourdbInstanceResourceTagArrayOutput `pulumi:"resourceTags"` // security group id. SecurityGroupId pulumi.StringPtrOutput `pulumi:"securityGroupId"` // instance shard count. ShardCount pulumi.IntOutput `pulumi:"shardCount"` // memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec. ShardMemory pulumi.IntOutput `pulumi:"shardMemory"` // node count for each shard. It can be obtained by querying api DescribeShardSpec. ShardNodeCount pulumi.IntOutput `pulumi:"shardNodeCount"` // storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec. ShardStorage pulumi.IntOutput `pulumi:"shardStorage"` // subnet id, it's required when vpcId is set. SubnetId pulumi.StringPtrOutput `pulumi:"subnetId"` // vpc id. VpcId pulumi.StringPtrOutput `pulumi:"vpcId"` // available zone. Zones pulumi.StringArrayOutput `pulumi:"zones"` }
Provides a resource to create a dcdb hourdbInstance
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.NewHourdbInstance(ctx, "hourdbInstance", &Dcdb.HourdbInstanceArgs{ InstanceName: pulumi.String("test_dcdc_dc_instance"), Zones: pulumi.StringArray{ pulumi.String("ap-guangzhou-5"), pulumi.String("ap-guangzhou-6"), }, ShardMemory: pulumi.Int(2), ShardStorage: pulumi.Int(10), ShardNodeCount: pulumi.Int(2), ShardCount: pulumi.Int(2), VpcId: pulumi.Any(local.Vpc_id), SubnetId: pulumi.Any(local.Subnet_id), SecurityGroupId: pulumi.Any(local.Sg_id), DbVersionId: pulumi.String("8.0"), ResourceTags: dcdb.HourdbInstanceResourceTagArray{ &dcdb.HourdbInstanceResourceTagArgs{ TagKey: pulumi.String("aaa"), TagValue: pulumi.String("bbb"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
dcdb hourdb_instance can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dcdb/hourdbInstance:HourdbInstance hourdb_instance hourdbInstance_id
```
func GetHourdbInstance ¶
func GetHourdbInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HourdbInstanceState, opts ...pulumi.ResourceOption) (*HourdbInstance, error)
GetHourdbInstance gets an existing HourdbInstance 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 NewHourdbInstance ¶
func NewHourdbInstance(ctx *pulumi.Context, name string, args *HourdbInstanceArgs, opts ...pulumi.ResourceOption) (*HourdbInstance, error)
NewHourdbInstance registers a new resource with the given unique name, arguments, and options.
func (*HourdbInstance) ElementType ¶
func (*HourdbInstance) ElementType() reflect.Type
func (*HourdbInstance) ToHourdbInstanceOutput ¶
func (i *HourdbInstance) ToHourdbInstanceOutput() HourdbInstanceOutput
func (*HourdbInstance) ToHourdbInstanceOutputWithContext ¶
func (i *HourdbInstance) ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput
type HourdbInstanceArgs ¶
type HourdbInstanceArgs struct { // db engine version, default to Percona 5.7.17. DbVersionId pulumi.StringPtrInput // name of this instance. InstanceName pulumi.StringPtrInput // project id. ProjectId pulumi.IntPtrInput // resource tags. ResourceTags HourdbInstanceResourceTagArrayInput // security group id. SecurityGroupId pulumi.StringPtrInput // instance shard count. ShardCount pulumi.IntInput // memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec. ShardMemory pulumi.IntInput // node count for each shard. It can be obtained by querying api DescribeShardSpec. ShardNodeCount pulumi.IntInput // storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec. ShardStorage pulumi.IntInput // subnet id, it's required when vpcId is set. SubnetId pulumi.StringPtrInput // vpc id. VpcId pulumi.StringPtrInput // available zone. Zones pulumi.StringArrayInput }
The set of arguments for constructing a HourdbInstance resource.
func (HourdbInstanceArgs) ElementType ¶
func (HourdbInstanceArgs) ElementType() reflect.Type
type HourdbInstanceArray ¶
type HourdbInstanceArray []HourdbInstanceInput
func (HourdbInstanceArray) ElementType ¶
func (HourdbInstanceArray) ElementType() reflect.Type
func (HourdbInstanceArray) ToHourdbInstanceArrayOutput ¶
func (i HourdbInstanceArray) ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput
func (HourdbInstanceArray) ToHourdbInstanceArrayOutputWithContext ¶
func (i HourdbInstanceArray) ToHourdbInstanceArrayOutputWithContext(ctx context.Context) HourdbInstanceArrayOutput
type HourdbInstanceArrayInput ¶
type HourdbInstanceArrayInput interface { pulumi.Input ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput ToHourdbInstanceArrayOutputWithContext(context.Context) HourdbInstanceArrayOutput }
HourdbInstanceArrayInput is an input type that accepts HourdbInstanceArray and HourdbInstanceArrayOutput values. You can construct a concrete instance of `HourdbInstanceArrayInput` via:
HourdbInstanceArray{ HourdbInstanceArgs{...} }
type HourdbInstanceArrayOutput ¶
type HourdbInstanceArrayOutput struct{ *pulumi.OutputState }
func (HourdbInstanceArrayOutput) ElementType ¶
func (HourdbInstanceArrayOutput) ElementType() reflect.Type
func (HourdbInstanceArrayOutput) Index ¶
func (o HourdbInstanceArrayOutput) Index(i pulumi.IntInput) HourdbInstanceOutput
func (HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutput ¶
func (o HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutput() HourdbInstanceArrayOutput
func (HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutputWithContext ¶
func (o HourdbInstanceArrayOutput) ToHourdbInstanceArrayOutputWithContext(ctx context.Context) HourdbInstanceArrayOutput
type HourdbInstanceInput ¶
type HourdbInstanceInput interface { pulumi.Input ToHourdbInstanceOutput() HourdbInstanceOutput ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput }
type HourdbInstanceMap ¶
type HourdbInstanceMap map[string]HourdbInstanceInput
func (HourdbInstanceMap) ElementType ¶
func (HourdbInstanceMap) ElementType() reflect.Type
func (HourdbInstanceMap) ToHourdbInstanceMapOutput ¶
func (i HourdbInstanceMap) ToHourdbInstanceMapOutput() HourdbInstanceMapOutput
func (HourdbInstanceMap) ToHourdbInstanceMapOutputWithContext ¶
func (i HourdbInstanceMap) ToHourdbInstanceMapOutputWithContext(ctx context.Context) HourdbInstanceMapOutput
type HourdbInstanceMapInput ¶
type HourdbInstanceMapInput interface { pulumi.Input ToHourdbInstanceMapOutput() HourdbInstanceMapOutput ToHourdbInstanceMapOutputWithContext(context.Context) HourdbInstanceMapOutput }
HourdbInstanceMapInput is an input type that accepts HourdbInstanceMap and HourdbInstanceMapOutput values. You can construct a concrete instance of `HourdbInstanceMapInput` via:
HourdbInstanceMap{ "key": HourdbInstanceArgs{...} }
type HourdbInstanceMapOutput ¶
type HourdbInstanceMapOutput struct{ *pulumi.OutputState }
func (HourdbInstanceMapOutput) ElementType ¶
func (HourdbInstanceMapOutput) ElementType() reflect.Type
func (HourdbInstanceMapOutput) MapIndex ¶
func (o HourdbInstanceMapOutput) MapIndex(k pulumi.StringInput) HourdbInstanceOutput
func (HourdbInstanceMapOutput) ToHourdbInstanceMapOutput ¶
func (o HourdbInstanceMapOutput) ToHourdbInstanceMapOutput() HourdbInstanceMapOutput
func (HourdbInstanceMapOutput) ToHourdbInstanceMapOutputWithContext ¶
func (o HourdbInstanceMapOutput) ToHourdbInstanceMapOutputWithContext(ctx context.Context) HourdbInstanceMapOutput
type HourdbInstanceOutput ¶
type HourdbInstanceOutput struct{ *pulumi.OutputState }
func (HourdbInstanceOutput) DbVersionId ¶
func (o HourdbInstanceOutput) DbVersionId() pulumi.StringPtrOutput
db engine version, default to Percona 5.7.17.
func (HourdbInstanceOutput) ElementType ¶
func (HourdbInstanceOutput) ElementType() reflect.Type
func (HourdbInstanceOutput) InstanceName ¶
func (o HourdbInstanceOutput) InstanceName() pulumi.StringPtrOutput
name of this instance.
func (HourdbInstanceOutput) ProjectId ¶
func (o HourdbInstanceOutput) ProjectId() pulumi.IntPtrOutput
project id.
func (HourdbInstanceOutput) ResourceTags ¶
func (o HourdbInstanceOutput) ResourceTags() HourdbInstanceResourceTagArrayOutput
resource tags.
func (HourdbInstanceOutput) SecurityGroupId ¶
func (o HourdbInstanceOutput) SecurityGroupId() pulumi.StringPtrOutput
security group id.
func (HourdbInstanceOutput) ShardCount ¶
func (o HourdbInstanceOutput) ShardCount() pulumi.IntOutput
instance shard count.
func (HourdbInstanceOutput) ShardMemory ¶
func (o HourdbInstanceOutput) ShardMemory() pulumi.IntOutput
memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
func (HourdbInstanceOutput) ShardNodeCount ¶
func (o HourdbInstanceOutput) ShardNodeCount() pulumi.IntOutput
node count for each shard. It can be obtained by querying api DescribeShardSpec.
func (HourdbInstanceOutput) ShardStorage ¶
func (o HourdbInstanceOutput) ShardStorage() pulumi.IntOutput
storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec.
func (HourdbInstanceOutput) SubnetId ¶
func (o HourdbInstanceOutput) SubnetId() pulumi.StringPtrOutput
subnet id, it's required when vpcId is set.
func (HourdbInstanceOutput) ToHourdbInstanceOutput ¶
func (o HourdbInstanceOutput) ToHourdbInstanceOutput() HourdbInstanceOutput
func (HourdbInstanceOutput) ToHourdbInstanceOutputWithContext ¶
func (o HourdbInstanceOutput) ToHourdbInstanceOutputWithContext(ctx context.Context) HourdbInstanceOutput
func (HourdbInstanceOutput) VpcId ¶
func (o HourdbInstanceOutput) VpcId() pulumi.StringPtrOutput
vpc id.
func (HourdbInstanceOutput) Zones ¶
func (o HourdbInstanceOutput) Zones() pulumi.StringArrayOutput
available zone.
type HourdbInstanceResourceTagArgs ¶
type HourdbInstanceResourceTagArgs struct { // tag key. TagKey pulumi.StringInput `pulumi:"tagKey"` // tag value. TagValue pulumi.StringInput `pulumi:"tagValue"` }
func (HourdbInstanceResourceTagArgs) ElementType ¶
func (HourdbInstanceResourceTagArgs) ElementType() reflect.Type
func (HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutput ¶
func (i HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput
func (HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutputWithContext ¶
func (i HourdbInstanceResourceTagArgs) ToHourdbInstanceResourceTagOutputWithContext(ctx context.Context) HourdbInstanceResourceTagOutput
type HourdbInstanceResourceTagArray ¶
type HourdbInstanceResourceTagArray []HourdbInstanceResourceTagInput
func (HourdbInstanceResourceTagArray) ElementType ¶
func (HourdbInstanceResourceTagArray) ElementType() reflect.Type
func (HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutput ¶
func (i HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput
func (HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutputWithContext ¶
func (i HourdbInstanceResourceTagArray) ToHourdbInstanceResourceTagArrayOutputWithContext(ctx context.Context) HourdbInstanceResourceTagArrayOutput
type HourdbInstanceResourceTagArrayInput ¶
type HourdbInstanceResourceTagArrayInput interface { pulumi.Input ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput ToHourdbInstanceResourceTagArrayOutputWithContext(context.Context) HourdbInstanceResourceTagArrayOutput }
HourdbInstanceResourceTagArrayInput is an input type that accepts HourdbInstanceResourceTagArray and HourdbInstanceResourceTagArrayOutput values. You can construct a concrete instance of `HourdbInstanceResourceTagArrayInput` via:
HourdbInstanceResourceTagArray{ HourdbInstanceResourceTagArgs{...} }
type HourdbInstanceResourceTagArrayOutput ¶
type HourdbInstanceResourceTagArrayOutput struct{ *pulumi.OutputState }
func (HourdbInstanceResourceTagArrayOutput) ElementType ¶
func (HourdbInstanceResourceTagArrayOutput) ElementType() reflect.Type
func (HourdbInstanceResourceTagArrayOutput) Index ¶
func (o HourdbInstanceResourceTagArrayOutput) Index(i pulumi.IntInput) HourdbInstanceResourceTagOutput
func (HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutput ¶
func (o HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutput() HourdbInstanceResourceTagArrayOutput
func (HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutputWithContext ¶
func (o HourdbInstanceResourceTagArrayOutput) ToHourdbInstanceResourceTagArrayOutputWithContext(ctx context.Context) HourdbInstanceResourceTagArrayOutput
type HourdbInstanceResourceTagInput ¶
type HourdbInstanceResourceTagInput interface { pulumi.Input ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput ToHourdbInstanceResourceTagOutputWithContext(context.Context) HourdbInstanceResourceTagOutput }
HourdbInstanceResourceTagInput is an input type that accepts HourdbInstanceResourceTagArgs and HourdbInstanceResourceTagOutput values. You can construct a concrete instance of `HourdbInstanceResourceTagInput` via:
HourdbInstanceResourceTagArgs{...}
type HourdbInstanceResourceTagOutput ¶
type HourdbInstanceResourceTagOutput struct{ *pulumi.OutputState }
func (HourdbInstanceResourceTagOutput) ElementType ¶
func (HourdbInstanceResourceTagOutput) ElementType() reflect.Type
func (HourdbInstanceResourceTagOutput) TagKey ¶
func (o HourdbInstanceResourceTagOutput) TagKey() pulumi.StringOutput
tag key.
func (HourdbInstanceResourceTagOutput) TagValue ¶
func (o HourdbInstanceResourceTagOutput) TagValue() pulumi.StringOutput
tag value.
func (HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutput ¶
func (o HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutput() HourdbInstanceResourceTagOutput
func (HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutputWithContext ¶
func (o HourdbInstanceResourceTagOutput) ToHourdbInstanceResourceTagOutputWithContext(ctx context.Context) HourdbInstanceResourceTagOutput
type HourdbInstanceState ¶
type HourdbInstanceState struct { // db engine version, default to Percona 5.7.17. DbVersionId pulumi.StringPtrInput // name of this instance. InstanceName pulumi.StringPtrInput // project id. ProjectId pulumi.IntPtrInput // resource tags. ResourceTags HourdbInstanceResourceTagArrayInput // security group id. SecurityGroupId pulumi.StringPtrInput // instance shard count. ShardCount pulumi.IntPtrInput // memory(GB) for each shard. It can be obtained by querying api DescribeShardSpec. ShardMemory pulumi.IntPtrInput // node count for each shard. It can be obtained by querying api DescribeShardSpec. ShardNodeCount pulumi.IntPtrInput // storage(GB) for each shard. It can be obtained by querying api DescribeShardSpec. ShardStorage pulumi.IntPtrInput // subnet id, it's required when vpcId is set. SubnetId pulumi.StringPtrInput // vpc id. VpcId pulumi.StringPtrInput // available zone. Zones pulumi.StringArrayInput }
func (HourdbInstanceState) ElementType ¶
func (HourdbInstanceState) ElementType() reflect.Type
type SecurityGroupAttachment ¶
type SecurityGroupAttachment struct { pulumi.CustomResourceState // attached instance id. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // security group id. SecurityGroupId pulumi.StringOutput `pulumi:"securityGroupId"` }
Provides a resource to create a dcdb securityGroupAttachment
## Example Usage
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/tencentcloudstack/pulumi-tencentcloud/sdk/go/tencentcloud/Dcdb"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := Dcdb.NewSecurityGroupAttachment(ctx, "securityGroupAttachment", &Dcdb.SecurityGroupAttachmentArgs{ InstanceId: pulumi.String(""), SecurityGroupId: pulumi.String(""), }) if err != nil { return err } return nil }) }
```
## Import
dcdb security_group_attachment can be imported using the id, e.g.
```sh
$ pulumi import tencentcloud:Dcdb/securityGroupAttachment:SecurityGroupAttachment security_group_attachment securityGroupAttachment_id
```
func GetSecurityGroupAttachment ¶
func GetSecurityGroupAttachment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *SecurityGroupAttachmentState, opts ...pulumi.ResourceOption) (*SecurityGroupAttachment, error)
GetSecurityGroupAttachment gets an existing SecurityGroupAttachment 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 NewSecurityGroupAttachment ¶
func NewSecurityGroupAttachment(ctx *pulumi.Context, name string, args *SecurityGroupAttachmentArgs, opts ...pulumi.ResourceOption) (*SecurityGroupAttachment, error)
NewSecurityGroupAttachment registers a new resource with the given unique name, arguments, and options.
func (*SecurityGroupAttachment) ElementType ¶
func (*SecurityGroupAttachment) ElementType() reflect.Type
func (*SecurityGroupAttachment) ToSecurityGroupAttachmentOutput ¶
func (i *SecurityGroupAttachment) ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput
func (*SecurityGroupAttachment) ToSecurityGroupAttachmentOutputWithContext ¶
func (i *SecurityGroupAttachment) ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput
type SecurityGroupAttachmentArgs ¶
type SecurityGroupAttachmentArgs struct { // attached instance id. InstanceId pulumi.StringInput // security group id. SecurityGroupId pulumi.StringInput }
The set of arguments for constructing a SecurityGroupAttachment resource.
func (SecurityGroupAttachmentArgs) ElementType ¶
func (SecurityGroupAttachmentArgs) ElementType() reflect.Type
type SecurityGroupAttachmentArray ¶
type SecurityGroupAttachmentArray []SecurityGroupAttachmentInput
func (SecurityGroupAttachmentArray) ElementType ¶
func (SecurityGroupAttachmentArray) ElementType() reflect.Type
func (SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutput ¶
func (i SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput
func (SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutputWithContext ¶
func (i SecurityGroupAttachmentArray) ToSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) SecurityGroupAttachmentArrayOutput
type SecurityGroupAttachmentArrayInput ¶
type SecurityGroupAttachmentArrayInput interface { pulumi.Input ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput ToSecurityGroupAttachmentArrayOutputWithContext(context.Context) SecurityGroupAttachmentArrayOutput }
SecurityGroupAttachmentArrayInput is an input type that accepts SecurityGroupAttachmentArray and SecurityGroupAttachmentArrayOutput values. You can construct a concrete instance of `SecurityGroupAttachmentArrayInput` via:
SecurityGroupAttachmentArray{ SecurityGroupAttachmentArgs{...} }
type SecurityGroupAttachmentArrayOutput ¶
type SecurityGroupAttachmentArrayOutput struct{ *pulumi.OutputState }
func (SecurityGroupAttachmentArrayOutput) ElementType ¶
func (SecurityGroupAttachmentArrayOutput) ElementType() reflect.Type
func (SecurityGroupAttachmentArrayOutput) Index ¶
func (o SecurityGroupAttachmentArrayOutput) Index(i pulumi.IntInput) SecurityGroupAttachmentOutput
func (SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutput ¶
func (o SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutput() SecurityGroupAttachmentArrayOutput
func (SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutputWithContext ¶
func (o SecurityGroupAttachmentArrayOutput) ToSecurityGroupAttachmentArrayOutputWithContext(ctx context.Context) SecurityGroupAttachmentArrayOutput
type SecurityGroupAttachmentInput ¶
type SecurityGroupAttachmentInput interface { pulumi.Input ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput }
type SecurityGroupAttachmentMap ¶
type SecurityGroupAttachmentMap map[string]SecurityGroupAttachmentInput
func (SecurityGroupAttachmentMap) ElementType ¶
func (SecurityGroupAttachmentMap) ElementType() reflect.Type
func (SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutput ¶
func (i SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput
func (SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutputWithContext ¶
func (i SecurityGroupAttachmentMap) ToSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) SecurityGroupAttachmentMapOutput
type SecurityGroupAttachmentMapInput ¶
type SecurityGroupAttachmentMapInput interface { pulumi.Input ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput ToSecurityGroupAttachmentMapOutputWithContext(context.Context) SecurityGroupAttachmentMapOutput }
SecurityGroupAttachmentMapInput is an input type that accepts SecurityGroupAttachmentMap and SecurityGroupAttachmentMapOutput values. You can construct a concrete instance of `SecurityGroupAttachmentMapInput` via:
SecurityGroupAttachmentMap{ "key": SecurityGroupAttachmentArgs{...} }
type SecurityGroupAttachmentMapOutput ¶
type SecurityGroupAttachmentMapOutput struct{ *pulumi.OutputState }
func (SecurityGroupAttachmentMapOutput) ElementType ¶
func (SecurityGroupAttachmentMapOutput) ElementType() reflect.Type
func (SecurityGroupAttachmentMapOutput) MapIndex ¶
func (o SecurityGroupAttachmentMapOutput) MapIndex(k pulumi.StringInput) SecurityGroupAttachmentOutput
func (SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutput ¶
func (o SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutput() SecurityGroupAttachmentMapOutput
func (SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutputWithContext ¶
func (o SecurityGroupAttachmentMapOutput) ToSecurityGroupAttachmentMapOutputWithContext(ctx context.Context) SecurityGroupAttachmentMapOutput
type SecurityGroupAttachmentOutput ¶
type SecurityGroupAttachmentOutput struct{ *pulumi.OutputState }
func (SecurityGroupAttachmentOutput) ElementType ¶
func (SecurityGroupAttachmentOutput) ElementType() reflect.Type
func (SecurityGroupAttachmentOutput) InstanceId ¶
func (o SecurityGroupAttachmentOutput) InstanceId() pulumi.StringOutput
attached instance id.
func (SecurityGroupAttachmentOutput) SecurityGroupId ¶
func (o SecurityGroupAttachmentOutput) SecurityGroupId() pulumi.StringOutput
security group id.
func (SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutput ¶
func (o SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutput() SecurityGroupAttachmentOutput
func (SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutputWithContext ¶
func (o SecurityGroupAttachmentOutput) ToSecurityGroupAttachmentOutputWithContext(ctx context.Context) SecurityGroupAttachmentOutput
type SecurityGroupAttachmentState ¶
type SecurityGroupAttachmentState struct { // attached instance id. InstanceId pulumi.StringPtrInput // security group id. SecurityGroupId pulumi.StringPtrInput }
func (SecurityGroupAttachmentState) ElementType ¶
func (SecurityGroupAttachmentState) ElementType() reflect.Type