Documentation
¶
Index ¶
- type DedicatedHost
- type DedicatedHostAccount
- type DedicatedHostAccountArgs
- type DedicatedHostAccountArray
- type DedicatedHostAccountArrayInput
- type DedicatedHostAccountArrayOutput
- func (DedicatedHostAccountArrayOutput) ElementType() reflect.Type
- func (o DedicatedHostAccountArrayOutput) Index(i pulumi.IntInput) DedicatedHostAccountOutput
- func (o DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput
- func (o DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutputWithContext(ctx context.Context) DedicatedHostAccountArrayOutput
- type DedicatedHostAccountInput
- type DedicatedHostAccountMap
- type DedicatedHostAccountMapInput
- type DedicatedHostAccountMapOutput
- func (DedicatedHostAccountMapOutput) ElementType() reflect.Type
- func (o DedicatedHostAccountMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostAccountOutput
- func (o DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput
- func (o DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutputWithContext(ctx context.Context) DedicatedHostAccountMapOutput
- type DedicatedHostAccountOutput
- func (o DedicatedHostAccountOutput) AccountName() pulumi.StringOutput
- func (o DedicatedHostAccountOutput) AccountPassword() pulumi.StringOutput
- func (o DedicatedHostAccountOutput) AccountType() pulumi.StringPtrOutput
- func (o DedicatedHostAccountOutput) DedicatedHostId() pulumi.StringOutput
- func (DedicatedHostAccountOutput) ElementType() reflect.Type
- func (o DedicatedHostAccountOutput) ToDedicatedHostAccountOutput() DedicatedHostAccountOutput
- func (o DedicatedHostAccountOutput) ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput
- type DedicatedHostAccountState
- type DedicatedHostArgs
- type DedicatedHostArray
- type DedicatedHostArrayInput
- type DedicatedHostArrayOutput
- func (DedicatedHostArrayOutput) ElementType() reflect.Type
- func (o DedicatedHostArrayOutput) Index(i pulumi.IntInput) DedicatedHostOutput
- func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
- func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
- type DedicatedHostGroup
- type DedicatedHostGroupArgs
- type DedicatedHostGroupArray
- type DedicatedHostGroupArrayInput
- type DedicatedHostGroupArrayOutput
- func (DedicatedHostGroupArrayOutput) ElementType() reflect.Type
- func (o DedicatedHostGroupArrayOutput) Index(i pulumi.IntInput) DedicatedHostGroupOutput
- func (o DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput
- func (o DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutputWithContext(ctx context.Context) DedicatedHostGroupArrayOutput
- type DedicatedHostGroupInput
- type DedicatedHostGroupMap
- type DedicatedHostGroupMapInput
- type DedicatedHostGroupMapOutput
- func (DedicatedHostGroupMapOutput) ElementType() reflect.Type
- func (o DedicatedHostGroupMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostGroupOutput
- func (o DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput
- func (o DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutputWithContext(ctx context.Context) DedicatedHostGroupMapOutput
- type DedicatedHostGroupOutput
- func (o DedicatedHostGroupOutput) AllocationPolicy() pulumi.StringOutput
- func (o DedicatedHostGroupOutput) CpuAllocationRatio() pulumi.IntOutput
- func (o DedicatedHostGroupOutput) DedicatedHostGroupDesc() pulumi.StringPtrOutput
- func (o DedicatedHostGroupOutput) DiskAllocationRatio() pulumi.IntOutput
- func (DedicatedHostGroupOutput) ElementType() reflect.Type
- func (o DedicatedHostGroupOutput) Engine() pulumi.StringOutput
- func (o DedicatedHostGroupOutput) HostReplacePolicy() pulumi.StringOutput
- func (o DedicatedHostGroupOutput) MemAllocationRatio() pulumi.IntOutput
- func (o DedicatedHostGroupOutput) OpenPermission() pulumi.BoolOutput
- func (o DedicatedHostGroupOutput) ToDedicatedHostGroupOutput() DedicatedHostGroupOutput
- func (o DedicatedHostGroupOutput) ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput
- func (o DedicatedHostGroupOutput) VpcId() pulumi.StringOutput
- type DedicatedHostGroupState
- type DedicatedHostInput
- type DedicatedHostMap
- type DedicatedHostMapInput
- type DedicatedHostMapOutput
- func (DedicatedHostMapOutput) ElementType() reflect.Type
- func (o DedicatedHostMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostOutput
- func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput
- func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
- type DedicatedHostOutput
- func (o DedicatedHostOutput) AllocationStatus() pulumi.StringOutput
- func (o DedicatedHostOutput) AutoRenew() pulumi.BoolPtrOutput
- func (o DedicatedHostOutput) DedicatedHostGroupId() pulumi.StringOutput
- func (o DedicatedHostOutput) DedicatedHostId() pulumi.StringOutput
- func (DedicatedHostOutput) ElementType() reflect.Type
- func (o DedicatedHostOutput) HostClass() pulumi.StringOutput
- func (o DedicatedHostOutput) HostName() pulumi.StringOutput
- func (o DedicatedHostOutput) ImageCategory() pulumi.StringPtrOutput
- func (o DedicatedHostOutput) OsPassword() pulumi.StringPtrOutput
- func (o DedicatedHostOutput) PaymentType() pulumi.StringOutput
- func (o DedicatedHostOutput) Period() pulumi.StringPtrOutput
- func (o DedicatedHostOutput) Status() pulumi.StringOutput
- func (o DedicatedHostOutput) Tags() pulumi.MapOutput
- func (o DedicatedHostOutput) ToDedicatedHostOutput() DedicatedHostOutput
- func (o DedicatedHostOutput) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
- func (o DedicatedHostOutput) UsedTime() pulumi.IntPtrOutput
- func (o DedicatedHostOutput) VswitchId() pulumi.StringOutput
- func (o DedicatedHostOutput) ZoneId() pulumi.StringOutput
- type DedicatedHostState
- type GetDedicatedHostAccountsAccount
- type GetDedicatedHostAccountsAccountArgs
- func (GetDedicatedHostAccountsAccountArgs) ElementType() reflect.Type
- func (i GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput
- func (i GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountOutput
- type GetDedicatedHostAccountsAccountArray
- func (GetDedicatedHostAccountsAccountArray) ElementType() reflect.Type
- func (i GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput
- func (i GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountArrayOutput
- type GetDedicatedHostAccountsAccountArrayInput
- type GetDedicatedHostAccountsAccountArrayOutput
- func (GetDedicatedHostAccountsAccountArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostAccountsAccountArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostAccountsAccountOutput
- func (o GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput
- func (o GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountArrayOutput
- type GetDedicatedHostAccountsAccountInput
- type GetDedicatedHostAccountsAccountOutput
- func (o GetDedicatedHostAccountsAccountOutput) AccountName() pulumi.StringOutput
- func (o GetDedicatedHostAccountsAccountOutput) DedicatedHostId() pulumi.StringOutput
- func (GetDedicatedHostAccountsAccountOutput) ElementType() reflect.Type
- func (o GetDedicatedHostAccountsAccountOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput
- func (o GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountOutput
- type GetDedicatedHostAccountsArgs
- type GetDedicatedHostAccountsOutputArgs
- type GetDedicatedHostAccountsResult
- type GetDedicatedHostAccountsResultOutput
- func (o GetDedicatedHostAccountsResultOutput) Accounts() GetDedicatedHostAccountsAccountArrayOutput
- func (o GetDedicatedHostAccountsResultOutput) DedicatedHostId() pulumi.StringPtrOutput
- func (GetDedicatedHostAccountsResultOutput) ElementType() reflect.Type
- func (o GetDedicatedHostAccountsResultOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostAccountsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDedicatedHostAccountsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDedicatedHostAccountsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDedicatedHostAccountsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDedicatedHostAccountsResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetDedicatedHostAccountsResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutput() GetDedicatedHostAccountsResultOutput
- func (o GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutputWithContext(ctx context.Context) GetDedicatedHostAccountsResultOutput
- type GetDedicatedHostGroupsArgs
- type GetDedicatedHostGroupsGroup
- type GetDedicatedHostGroupsGroupArgs
- func (GetDedicatedHostGroupsGroupArgs) ElementType() reflect.Type
- func (i GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput
- func (i GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupOutput
- type GetDedicatedHostGroupsGroupArray
- func (GetDedicatedHostGroupsGroupArray) ElementType() reflect.Type
- func (i GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput
- func (i GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupArrayOutput
- type GetDedicatedHostGroupsGroupArrayInput
- type GetDedicatedHostGroupsGroupArrayOutput
- func (GetDedicatedHostGroupsGroupArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsGroupArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostGroupsGroupOutput
- func (o GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput
- func (o GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupArrayOutput
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs
- func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ElementType() reflect.Type
- func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
- func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray
- func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ElementType() reflect.Type
- func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
- func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
- func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
- func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
- func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput
- type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
- func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) PlaceHolder() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
- func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
- type GetDedicatedHostGroupsGroupInput
- type GetDedicatedHostGroupsGroupOutput
- func (o GetDedicatedHostGroupsGroupOutput) AllocationPolicy() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) BastionInstanceId() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) CpuAllocateRation() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) CpuAllocatedAmount() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) CpuAllocationRatio() pulumi.IntOutput
- func (o GetDedicatedHostGroupsGroupOutput) CreateTime() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostCountGroupByHostTypes() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
- func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupDesc() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupId() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) DeployType() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) DiskAllocateRation() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) DiskAllocatedAmount() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) DiskAllocationRatio() pulumi.IntOutput
- func (o GetDedicatedHostGroupsGroupOutput) DiskUsedAmount() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) DiskUtility() pulumi.Float64Output
- func (GetDedicatedHostGroupsGroupOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsGroupOutput) Engine() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) HostNumber() pulumi.IntOutput
- func (o GetDedicatedHostGroupsGroupOutput) HostReplacePolicy() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) InstanceNumber() pulumi.IntOutput
- func (o GetDedicatedHostGroupsGroupOutput) MemAllocateRation() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) MemAllocatedAmount() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) MemAllocationRatio() pulumi.IntOutput
- func (o GetDedicatedHostGroupsGroupOutput) MemUsedAmount() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) MemUtility() pulumi.Float64Output
- func (o GetDedicatedHostGroupsGroupOutput) Text() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput
- func (o GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupOutput
- func (o GetDedicatedHostGroupsGroupOutput) VpcId() pulumi.StringOutput
- func (o GetDedicatedHostGroupsGroupOutput) ZoneIdLists() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
- type GetDedicatedHostGroupsGroupZoneIdList
- type GetDedicatedHostGroupsGroupZoneIdListArgs
- func (GetDedicatedHostGroupsGroupZoneIdListArgs) ElementType() reflect.Type
- func (i GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput
- func (i GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput
- type GetDedicatedHostGroupsGroupZoneIdListArray
- func (GetDedicatedHostGroupsGroupZoneIdListArray) ElementType() reflect.Type
- func (i GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
- func (i GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput
- type GetDedicatedHostGroupsGroupZoneIdListArrayInput
- type GetDedicatedHostGroupsGroupZoneIdListArrayOutput
- func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostGroupsGroupZoneIdListOutput
- func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
- func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput
- type GetDedicatedHostGroupsGroupZoneIdListInput
- type GetDedicatedHostGroupsGroupZoneIdListOutput
- func (GetDedicatedHostGroupsGroupZoneIdListOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput
- func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput
- func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ZoneIdLists() pulumi.StringArrayOutput
- type GetDedicatedHostGroupsOutputArgs
- type GetDedicatedHostGroupsResult
- type GetDedicatedHostGroupsResultOutput
- func (GetDedicatedHostGroupsResultOutput) ElementType() reflect.Type
- func (o GetDedicatedHostGroupsResultOutput) Engine() pulumi.StringPtrOutput
- func (o GetDedicatedHostGroupsResultOutput) Groups() GetDedicatedHostGroupsGroupArrayOutput
- func (o GetDedicatedHostGroupsResultOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostGroupsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDedicatedHostGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetDedicatedHostGroupsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetDedicatedHostGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutput() GetDedicatedHostGroupsResultOutput
- func (o GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutputWithContext(ctx context.Context) GetDedicatedHostGroupsResultOutput
- type GetDedicatedHostsArgs
- type GetDedicatedHostsHost
- type GetDedicatedHostsHostArgs
- type GetDedicatedHostsHostArray
- func (GetDedicatedHostsHostArray) ElementType() reflect.Type
- func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
- func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
- type GetDedicatedHostsHostArrayInput
- type GetDedicatedHostsHostArrayOutput
- func (GetDedicatedHostsHostArrayOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
- func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
- type GetDedicatedHostsHostInput
- type GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostOutput) AllocationStatus() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) BastionInstanceId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) CpuAllocationRatio() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) CpuUsed() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) CreateTime() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) DedicatedHostGroupId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) DedicatedHostId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) DiskAllocationRatio() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) EcsClassCode() pulumi.StringOutput
- func (GetDedicatedHostsHostOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsHostOutput) EndTime() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Engine() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) ExpiredTime() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) HostClass() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) HostCpu() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) HostMem() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) HostName() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) HostStorage() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) HostType() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) ImageCategory() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) IpAddress() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) MemAllocationRatio() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) MemoryUsed() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) OpenPermission() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Status() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) StorageUsed() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) Tags() pulumi.MapOutput
- func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput
- func (o GetDedicatedHostsHostOutput) VpcId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) VswitchId() pulumi.StringOutput
- func (o GetDedicatedHostsHostOutput) ZoneId() pulumi.StringOutput
- type GetDedicatedHostsOutputArgs
- type GetDedicatedHostsResult
- type GetDedicatedHostsResultOutput
- func (o GetDedicatedHostsResultOutput) AllocationStatus() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) DedicatedHostGroupId() pulumi.StringOutput
- func (GetDedicatedHostsResultOutput) ElementType() reflect.Type
- func (o GetDedicatedHostsResultOutput) EnableDetails() pulumi.BoolPtrOutput
- func (o GetDedicatedHostsResultOutput) HostType() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) Hosts() GetDedicatedHostsHostArrayOutput
- func (o GetDedicatedHostsResultOutput) Id() pulumi.StringOutput
- func (o GetDedicatedHostsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetDedicatedHostsResultOutput) OrderId() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetDedicatedHostsResultOutput) Tags() pulumi.MapOutput
- func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput() GetDedicatedHostsResultOutput
- func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext(ctx context.Context) GetDedicatedHostsResultOutput
- func (o GetDedicatedHostsResultOutput) ZoneId() pulumi.StringPtrOutput
- type GetHostEcsLevelInfosArgs
- type GetHostEcsLevelInfosInfo
- type GetHostEcsLevelInfosInfoArgs
- func (GetHostEcsLevelInfosInfoArgs) ElementType() reflect.Type
- func (i GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput
- func (i GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoOutput
- type GetHostEcsLevelInfosInfoArray
- func (GetHostEcsLevelInfosInfoArray) ElementType() reflect.Type
- func (i GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput
- func (i GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoArrayOutput
- type GetHostEcsLevelInfosInfoArrayInput
- type GetHostEcsLevelInfosInfoArrayOutput
- func (GetHostEcsLevelInfosInfoArrayOutput) ElementType() reflect.Type
- func (o GetHostEcsLevelInfosInfoArrayOutput) Index(i pulumi.IntInput) GetHostEcsLevelInfosInfoOutput
- func (o GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput
- func (o GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoArrayOutput
- type GetHostEcsLevelInfosInfoInput
- type GetHostEcsLevelInfosInfoOutput
- func (o GetHostEcsLevelInfosInfoOutput) Description() pulumi.StringOutput
- func (o GetHostEcsLevelInfosInfoOutput) EcsClass() pulumi.StringOutput
- func (o GetHostEcsLevelInfosInfoOutput) EcsClassCode() pulumi.StringOutput
- func (GetHostEcsLevelInfosInfoOutput) ElementType() reflect.Type
- func (o GetHostEcsLevelInfosInfoOutput) ResClassCode() pulumi.StringOutput
- func (o GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput
- func (o GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoOutput
- type GetHostEcsLevelInfosOutputArgs
- type GetHostEcsLevelInfosResult
- type GetHostEcsLevelInfosResultOutput
- func (o GetHostEcsLevelInfosResultOutput) DbType() pulumi.StringOutput
- func (GetHostEcsLevelInfosResultOutput) ElementType() reflect.Type
- func (o GetHostEcsLevelInfosResultOutput) Id() pulumi.StringOutput
- func (o GetHostEcsLevelInfosResultOutput) ImageCategory() pulumi.StringPtrOutput
- func (o GetHostEcsLevelInfosResultOutput) Infos() GetHostEcsLevelInfosInfoArrayOutput
- func (o GetHostEcsLevelInfosResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetHostEcsLevelInfosResultOutput) StorageType() pulumi.StringOutput
- func (o GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutput() GetHostEcsLevelInfosResultOutput
- func (o GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutputWithContext(ctx context.Context) GetHostEcsLevelInfosResultOutput
- func (o GetHostEcsLevelInfosResultOutput) ZoneId() pulumi.StringOutput
- type GetZonesArgs
- type GetZonesOutputArgs
- type GetZonesResult
- type GetZonesResultOutput
- func (GetZonesResultOutput) ElementType() reflect.Type
- func (o GetZonesResultOutput) Id() pulumi.StringOutput
- func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
- func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
- func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
- type GetZonesZone
- type GetZonesZoneArgs
- type GetZonesZoneArray
- type GetZonesZoneArrayInput
- type GetZonesZoneArrayOutput
- func (GetZonesZoneArrayOutput) ElementType() reflect.Type
- func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
- func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
- type GetZonesZoneInput
- type GetZonesZoneOutput
- func (GetZonesZoneOutput) ElementType() reflect.Type
- func (o GetZonesZoneOutput) Id() pulumi.StringOutput
- func (o GetZonesZoneOutput) RegionId() pulumi.StringOutput
- func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
- func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
- func (o GetZonesZoneOutput) ZoneId() pulumi.StringOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DedicatedHost ¶ added in v3.12.0
type DedicatedHost struct { pulumi.CustomResourceState // Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host. AllocationStatus pulumi.StringOutput `pulumi:"allocationStatus"` // Specifies whether to enable the auto-renewal feature. AutoRenew pulumi.BoolPtrOutput `pulumi:"autoRenew"` // The ID of the dedicated cluster. DedicatedHostGroupId pulumi.StringOutput `pulumi:"dedicatedHostGroupId"` // The ID of the host. DedicatedHostId pulumi.StringOutput `pulumi:"dedicatedHostId"` // The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm). HostClass pulumi.StringOutput `pulumi:"hostClass"` // The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. HostName pulumi.StringOutput `pulumi:"hostName"` // Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`. ImageCategory pulumi.StringPtrOutput `pulumi:"imageCategory"` // Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`. OsPassword pulumi.StringPtrOutput `pulumi:"osPassword"` // The payment type of the resource. Valid values: `Subscription`. PaymentType pulumi.StringOutput `pulumi:"paymentType"` // The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`. Period pulumi.StringPtrOutput `pulumi:"period"` // The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked. Status pulumi.StringOutput `pulumi:"status"` // A mapping of tags to assign to the resource. Tags pulumi.MapOutput `pulumi:"tags"` // The subscription duration of the host. Valid values: // * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. // * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. // * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`. UsedTime pulumi.IntPtrOutput `pulumi:"usedTime"` // The ID of the vSwitch to which the host is connected. VswitchId pulumi.StringOutput `pulumi:"vswitchId"` // The ID of the zone. ZoneId pulumi.StringOutput `pulumi:"zoneId"` }
Provides a ApsaraDB for MyBase Dedicated Host resource.
For information about ApsaraDB for MyBase Dedicated Host and how to use it, see [What is Dedicated Host](https://www.alibabacloud.com/help/doc-detail/210864.html).
> **NOTE:** Available in v1.147.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetworks, err := vpc.GetNetworks(ctx, &vpc.GetNetworksArgs{ NameRegex: pulumi.StringRef("default-NODELETING"), }, nil) if err != nil { return err } defaultZones, err := cddc.GetZones(ctx, nil, nil) if err != nil { return err } defaultHostEcsLevelInfos, err := cddc.GetHostEcsLevelInfos(ctx, &cddc.GetHostEcsLevelInfosArgs{ DbType: "mysql", ZoneId: defaultZones.Ids[0], StorageType: "cloud_essd", }, nil) if err != nil { return err } defaultSwitches, err := vpc.GetSwitches(ctx, &vpc.GetSwitchesArgs{ VpcId: pulumi.StringRef(defaultNetworks.Ids[0]), ZoneId: pulumi.StringRef(defaultZones.Ids[0]), }, nil) if err != nil { return err } defaultDedicatedHostGroup, err := cddc.NewDedicatedHostGroup(ctx, "defaultDedicatedHostGroup", &cddc.DedicatedHostGroupArgs{ Engine: pulumi.String("MySQL"), VpcId: *pulumi.String(defaultNetworks.Ids[0]), CpuAllocationRatio: pulumi.Int(101), MemAllocationRatio: pulumi.Int(50), DiskAllocationRatio: pulumi.Int(200), AllocationPolicy: pulumi.String("Evenly"), HostReplacePolicy: pulumi.String("Manual"), DedicatedHostGroupDesc: pulumi.String("example_value"), }) if err != nil { return err } _, err = cddc.NewDedicatedHost(ctx, "defaultDedicatedHost", &cddc.DedicatedHostArgs{ HostName: pulumi.String("example_value"), DedicatedHostGroupId: defaultDedicatedHostGroup.ID(), HostClass: *pulumi.String(defaultHostEcsLevelInfos.Infos[0].ResClassCode), ZoneId: *pulumi.String(defaultZones.Ids[0]), VswitchId: *pulumi.String(defaultSwitches.Ids[0]), PaymentType: pulumi.String("Subscription"), Tags: pulumi.AnyMap{ "Created": pulumi.Any("TF"), "For": pulumi.Any("CDDC_DEDICATED"), }, }) if err != nil { return err } return nil }) }
```
## Import
ApsaraDB for MyBase Dedicated Host can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cddc/dedicatedHost:DedicatedHost example <dedicated_host_group_id>:<dedicated_host_id>
```
func GetDedicatedHost ¶ added in v3.12.0
func GetDedicatedHost(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DedicatedHostState, opts ...pulumi.ResourceOption) (*DedicatedHost, error)
GetDedicatedHost gets an existing DedicatedHost 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 NewDedicatedHost ¶ added in v3.12.0
func NewDedicatedHost(ctx *pulumi.Context, name string, args *DedicatedHostArgs, opts ...pulumi.ResourceOption) (*DedicatedHost, error)
NewDedicatedHost registers a new resource with the given unique name, arguments, and options.
func (*DedicatedHost) ElementType ¶ added in v3.12.0
func (*DedicatedHost) ElementType() reflect.Type
func (*DedicatedHost) ToDedicatedHostOutput ¶ added in v3.12.0
func (i *DedicatedHost) ToDedicatedHostOutput() DedicatedHostOutput
func (*DedicatedHost) ToDedicatedHostOutputWithContext ¶ added in v3.12.0
func (i *DedicatedHost) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
type DedicatedHostAccount ¶ added in v3.12.0
type DedicatedHostAccount struct { pulumi.CustomResourceState // The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number. AccountName pulumi.StringOutput `pulumi:"accountName"` // The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`. AccountPassword pulumi.StringOutput `pulumi:"accountPassword"` // The type of the Dedicated host account. Valid values: `Admin`, `Normal`. AccountType pulumi.StringPtrOutput `pulumi:"accountType"` // The ID of Dedicated the host. DedicatedHostId pulumi.StringOutput `pulumi:"dedicatedHostId"` }
Provides a ApsaraDB for MyBase Dedicated Host Account resource.
For information about ApsaraDB for MyBase Dedicated Host Account and how to use it, see [What is Dedicated Host Account](https://www.alibabacloud.com/help/en/doc-detail/196877.html).
> **NOTE:** Available in v1.148.0+.
> **NOTE:** Each Dedicated host can have only one account. Before you create an account for a host, make sure that the existing account is deleted.
## Import
ApsaraDB for MyBase Dedicated Host Account can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cddc/dedicatedHostAccount:DedicatedHostAccount example <dedicated_host_id>:<account_name>
```
func GetDedicatedHostAccount ¶ added in v3.12.0
func GetDedicatedHostAccount(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DedicatedHostAccountState, opts ...pulumi.ResourceOption) (*DedicatedHostAccount, error)
GetDedicatedHostAccount gets an existing DedicatedHostAccount 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 NewDedicatedHostAccount ¶ added in v3.12.0
func NewDedicatedHostAccount(ctx *pulumi.Context, name string, args *DedicatedHostAccountArgs, opts ...pulumi.ResourceOption) (*DedicatedHostAccount, error)
NewDedicatedHostAccount registers a new resource with the given unique name, arguments, and options.
func (*DedicatedHostAccount) ElementType ¶ added in v3.12.0
func (*DedicatedHostAccount) ElementType() reflect.Type
func (*DedicatedHostAccount) ToDedicatedHostAccountOutput ¶ added in v3.12.0
func (i *DedicatedHostAccount) ToDedicatedHostAccountOutput() DedicatedHostAccountOutput
func (*DedicatedHostAccount) ToDedicatedHostAccountOutputWithContext ¶ added in v3.12.0
func (i *DedicatedHostAccount) ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput
type DedicatedHostAccountArgs ¶ added in v3.12.0
type DedicatedHostAccountArgs struct { // The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number. AccountName pulumi.StringInput // The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`. AccountPassword pulumi.StringInput // The type of the Dedicated host account. Valid values: `Admin`, `Normal`. AccountType pulumi.StringPtrInput // The ID of Dedicated the host. DedicatedHostId pulumi.StringInput }
The set of arguments for constructing a DedicatedHostAccount resource.
func (DedicatedHostAccountArgs) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountArgs) ElementType() reflect.Type
type DedicatedHostAccountArray ¶ added in v3.12.0
type DedicatedHostAccountArray []DedicatedHostAccountInput
func (DedicatedHostAccountArray) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountArray) ElementType() reflect.Type
func (DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutput ¶ added in v3.12.0
func (i DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput
func (DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutputWithContext ¶ added in v3.12.0
func (i DedicatedHostAccountArray) ToDedicatedHostAccountArrayOutputWithContext(ctx context.Context) DedicatedHostAccountArrayOutput
type DedicatedHostAccountArrayInput ¶ added in v3.12.0
type DedicatedHostAccountArrayInput interface { pulumi.Input ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput ToDedicatedHostAccountArrayOutputWithContext(context.Context) DedicatedHostAccountArrayOutput }
DedicatedHostAccountArrayInput is an input type that accepts DedicatedHostAccountArray and DedicatedHostAccountArrayOutput values. You can construct a concrete instance of `DedicatedHostAccountArrayInput` via:
DedicatedHostAccountArray{ DedicatedHostAccountArgs{...} }
type DedicatedHostAccountArrayOutput ¶ added in v3.12.0
type DedicatedHostAccountArrayOutput struct{ *pulumi.OutputState }
func (DedicatedHostAccountArrayOutput) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountArrayOutput) ElementType() reflect.Type
func (DedicatedHostAccountArrayOutput) Index ¶ added in v3.12.0
func (o DedicatedHostAccountArrayOutput) Index(i pulumi.IntInput) DedicatedHostAccountOutput
func (DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutput ¶ added in v3.12.0
func (o DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutput() DedicatedHostAccountArrayOutput
func (DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutputWithContext ¶ added in v3.12.0
func (o DedicatedHostAccountArrayOutput) ToDedicatedHostAccountArrayOutputWithContext(ctx context.Context) DedicatedHostAccountArrayOutput
type DedicatedHostAccountInput ¶ added in v3.12.0
type DedicatedHostAccountInput interface { pulumi.Input ToDedicatedHostAccountOutput() DedicatedHostAccountOutput ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput }
type DedicatedHostAccountMap ¶ added in v3.12.0
type DedicatedHostAccountMap map[string]DedicatedHostAccountInput
func (DedicatedHostAccountMap) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountMap) ElementType() reflect.Type
func (DedicatedHostAccountMap) ToDedicatedHostAccountMapOutput ¶ added in v3.12.0
func (i DedicatedHostAccountMap) ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput
func (DedicatedHostAccountMap) ToDedicatedHostAccountMapOutputWithContext ¶ added in v3.12.0
func (i DedicatedHostAccountMap) ToDedicatedHostAccountMapOutputWithContext(ctx context.Context) DedicatedHostAccountMapOutput
type DedicatedHostAccountMapInput ¶ added in v3.12.0
type DedicatedHostAccountMapInput interface { pulumi.Input ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput ToDedicatedHostAccountMapOutputWithContext(context.Context) DedicatedHostAccountMapOutput }
DedicatedHostAccountMapInput is an input type that accepts DedicatedHostAccountMap and DedicatedHostAccountMapOutput values. You can construct a concrete instance of `DedicatedHostAccountMapInput` via:
DedicatedHostAccountMap{ "key": DedicatedHostAccountArgs{...} }
type DedicatedHostAccountMapOutput ¶ added in v3.12.0
type DedicatedHostAccountMapOutput struct{ *pulumi.OutputState }
func (DedicatedHostAccountMapOutput) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountMapOutput) ElementType() reflect.Type
func (DedicatedHostAccountMapOutput) MapIndex ¶ added in v3.12.0
func (o DedicatedHostAccountMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostAccountOutput
func (DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutput ¶ added in v3.12.0
func (o DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutput() DedicatedHostAccountMapOutput
func (DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutputWithContext ¶ added in v3.12.0
func (o DedicatedHostAccountMapOutput) ToDedicatedHostAccountMapOutputWithContext(ctx context.Context) DedicatedHostAccountMapOutput
type DedicatedHostAccountOutput ¶ added in v3.12.0
type DedicatedHostAccountOutput struct{ *pulumi.OutputState }
func (DedicatedHostAccountOutput) AccountName ¶ added in v3.27.0
func (o DedicatedHostAccountOutput) AccountName() pulumi.StringOutput
The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number.
func (DedicatedHostAccountOutput) AccountPassword ¶ added in v3.27.0
func (o DedicatedHostAccountOutput) AccountPassword() pulumi.StringOutput
The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`.
func (DedicatedHostAccountOutput) AccountType ¶ added in v3.27.0
func (o DedicatedHostAccountOutput) AccountType() pulumi.StringPtrOutput
The type of the Dedicated host account. Valid values: `Admin`, `Normal`.
func (DedicatedHostAccountOutput) DedicatedHostId ¶ added in v3.27.0
func (o DedicatedHostAccountOutput) DedicatedHostId() pulumi.StringOutput
The ID of Dedicated the host.
func (DedicatedHostAccountOutput) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountOutput) ElementType() reflect.Type
func (DedicatedHostAccountOutput) ToDedicatedHostAccountOutput ¶ added in v3.12.0
func (o DedicatedHostAccountOutput) ToDedicatedHostAccountOutput() DedicatedHostAccountOutput
func (DedicatedHostAccountOutput) ToDedicatedHostAccountOutputWithContext ¶ added in v3.12.0
func (o DedicatedHostAccountOutput) ToDedicatedHostAccountOutputWithContext(ctx context.Context) DedicatedHostAccountOutput
type DedicatedHostAccountState ¶ added in v3.12.0
type DedicatedHostAccountState struct { // The name of the Dedicated host account. The account name must be 2 to 16 characters in length, contain lower case letters, digits, and underscore(_). At the same time, the name must start with a letter and end with a letter or number. AccountName pulumi.StringPtrInput // The password of the Dedicated host account. The account password must be 6 to 32 characters in length, and can contain letters, digits, and special characters `!@#$%^&*()_+-=`. AccountPassword pulumi.StringPtrInput // The type of the Dedicated host account. Valid values: `Admin`, `Normal`. AccountType pulumi.StringPtrInput // The ID of Dedicated the host. DedicatedHostId pulumi.StringPtrInput }
func (DedicatedHostAccountState) ElementType ¶ added in v3.12.0
func (DedicatedHostAccountState) ElementType() reflect.Type
type DedicatedHostArgs ¶ added in v3.12.0
type DedicatedHostArgs struct { // Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host. AllocationStatus pulumi.StringPtrInput // Specifies whether to enable the auto-renewal feature. AutoRenew pulumi.BoolPtrInput // The ID of the dedicated cluster. DedicatedHostGroupId pulumi.StringInput // The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm). HostClass pulumi.StringInput // The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. HostName pulumi.StringPtrInput // Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`. ImageCategory pulumi.StringPtrInput // Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`. OsPassword pulumi.StringPtrInput // The payment type of the resource. Valid values: `Subscription`. PaymentType pulumi.StringInput // The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`. Period pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The subscription duration of the host. Valid values: // * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. // * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. // * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`. UsedTime pulumi.IntPtrInput // The ID of the vSwitch to which the host is connected. VswitchId pulumi.StringInput // The ID of the zone. ZoneId pulumi.StringInput }
The set of arguments for constructing a DedicatedHost resource.
func (DedicatedHostArgs) ElementType ¶ added in v3.12.0
func (DedicatedHostArgs) ElementType() reflect.Type
type DedicatedHostArray ¶ added in v3.12.0
type DedicatedHostArray []DedicatedHostInput
func (DedicatedHostArray) ElementType ¶ added in v3.12.0
func (DedicatedHostArray) ElementType() reflect.Type
func (DedicatedHostArray) ToDedicatedHostArrayOutput ¶ added in v3.12.0
func (i DedicatedHostArray) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
func (DedicatedHostArray) ToDedicatedHostArrayOutputWithContext ¶ added in v3.12.0
func (i DedicatedHostArray) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
type DedicatedHostArrayInput ¶ added in v3.12.0
type DedicatedHostArrayInput interface { pulumi.Input ToDedicatedHostArrayOutput() DedicatedHostArrayOutput ToDedicatedHostArrayOutputWithContext(context.Context) DedicatedHostArrayOutput }
DedicatedHostArrayInput is an input type that accepts DedicatedHostArray and DedicatedHostArrayOutput values. You can construct a concrete instance of `DedicatedHostArrayInput` via:
DedicatedHostArray{ DedicatedHostArgs{...} }
type DedicatedHostArrayOutput ¶ added in v3.12.0
type DedicatedHostArrayOutput struct{ *pulumi.OutputState }
func (DedicatedHostArrayOutput) ElementType ¶ added in v3.12.0
func (DedicatedHostArrayOutput) ElementType() reflect.Type
func (DedicatedHostArrayOutput) Index ¶ added in v3.12.0
func (o DedicatedHostArrayOutput) Index(i pulumi.IntInput) DedicatedHostOutput
func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutput ¶ added in v3.12.0
func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutput() DedicatedHostArrayOutput
func (DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext ¶ added in v3.12.0
func (o DedicatedHostArrayOutput) ToDedicatedHostArrayOutputWithContext(ctx context.Context) DedicatedHostArrayOutput
type DedicatedHostGroup ¶
type DedicatedHostGroup struct { pulumi.CustomResourceState // AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively` AllocationPolicy pulumi.StringOutput `pulumi:"allocationPolicy"` // The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. CpuAllocationRatio pulumi.IntOutput `pulumi:"cpuAllocationRatio"` // The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter. DedicatedHostGroupDesc pulumi.StringPtrOutput `pulumi:"dedicatedHostGroupDesc"` // The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set. DiskAllocationRatio pulumi.IntOutput `pulumi:"diskAllocationRatio"` // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine pulumi.StringOutput `pulumi:"engine"` // The policy based on which the system handles host failures. Valid values:`Auto`,`Manual` HostReplacePolicy pulumi.StringOutput `pulumi:"hostReplacePolicy"` // The Memory Allocation Ratio of the Dedicated Host Group. MemAllocationRatio pulumi.IntOutput `pulumi:"memAllocationRatio"` // Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`. // **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"` OpenPermission pulumi.BoolOutput `pulumi:"openPermission"` // The virtual private cloud (VPC) ID of the dedicated cluster. VpcId pulumi.StringOutput `pulumi:"vpcId"` }
Provides a ApsaraDB for MyBase Dedicated Host Group resource.
For information about ApsaraDB for MyBase Dedicated Host Group and how to use it, see [What is Dedicated Host Group](https://www.alibabacloud.com/help/doc-detail/141455.htm).
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc" "github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { vpc, err := vpc.NewNetwork(ctx, "vpc", &vpc.NetworkArgs{ VpcName: pulumi.String("tf_test_foo"), CidrBlock: pulumi.String("172.16.0.0/12"), }) if err != nil { return err } _, err = cddc.NewDedicatedHostGroup(ctx, "default", &cddc.DedicatedHostGroupArgs{ Engine: pulumi.String("MongoDB"), VpcId: vpc.ID(), CpuAllocationRatio: pulumi.Int(101), MemAllocationRatio: pulumi.Int(50), DiskAllocationRatio: pulumi.Int(200), AllocationPolicy: pulumi.String("Evenly"), HostReplacePolicy: pulumi.String("Manual"), DedicatedHostGroupDesc: pulumi.String("tf-testaccDesc"), }) if err != nil { return err } return nil }) }
```
## Import
ApsaraDB for MyBase Dedicated Host Group can be imported using the id, e.g.
```sh
$ pulumi import alicloud:cddc/dedicatedHostGroup:DedicatedHostGroup example <id>
```
func GetDedicatedHostGroup ¶
func GetDedicatedHostGroup(ctx *pulumi.Context, name string, id pulumi.IDInput, state *DedicatedHostGroupState, opts ...pulumi.ResourceOption) (*DedicatedHostGroup, error)
GetDedicatedHostGroup gets an existing DedicatedHostGroup 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 NewDedicatedHostGroup ¶
func NewDedicatedHostGroup(ctx *pulumi.Context, name string, args *DedicatedHostGroupArgs, opts ...pulumi.ResourceOption) (*DedicatedHostGroup, error)
NewDedicatedHostGroup registers a new resource with the given unique name, arguments, and options.
func (*DedicatedHostGroup) ElementType ¶
func (*DedicatedHostGroup) ElementType() reflect.Type
func (*DedicatedHostGroup) ToDedicatedHostGroupOutput ¶
func (i *DedicatedHostGroup) ToDedicatedHostGroupOutput() DedicatedHostGroupOutput
func (*DedicatedHostGroup) ToDedicatedHostGroupOutputWithContext ¶
func (i *DedicatedHostGroup) ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput
type DedicatedHostGroupArgs ¶
type DedicatedHostGroupArgs struct { // AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively` AllocationPolicy pulumi.StringPtrInput // The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. CpuAllocationRatio pulumi.IntPtrInput // The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter. DedicatedHostGroupDesc pulumi.StringPtrInput // The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set. DiskAllocationRatio pulumi.IntPtrInput // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine pulumi.StringInput // The policy based on which the system handles host failures. Valid values:`Auto`,`Manual` HostReplacePolicy pulumi.StringPtrInput // The Memory Allocation Ratio of the Dedicated Host Group. MemAllocationRatio pulumi.IntPtrInput // Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`. // **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"` OpenPermission pulumi.BoolPtrInput // The virtual private cloud (VPC) ID of the dedicated cluster. VpcId pulumi.StringInput }
The set of arguments for constructing a DedicatedHostGroup resource.
func (DedicatedHostGroupArgs) ElementType ¶
func (DedicatedHostGroupArgs) ElementType() reflect.Type
type DedicatedHostGroupArray ¶
type DedicatedHostGroupArray []DedicatedHostGroupInput
func (DedicatedHostGroupArray) ElementType ¶
func (DedicatedHostGroupArray) ElementType() reflect.Type
func (DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutput ¶
func (i DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput
func (DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutputWithContext ¶
func (i DedicatedHostGroupArray) ToDedicatedHostGroupArrayOutputWithContext(ctx context.Context) DedicatedHostGroupArrayOutput
type DedicatedHostGroupArrayInput ¶
type DedicatedHostGroupArrayInput interface { pulumi.Input ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput ToDedicatedHostGroupArrayOutputWithContext(context.Context) DedicatedHostGroupArrayOutput }
DedicatedHostGroupArrayInput is an input type that accepts DedicatedHostGroupArray and DedicatedHostGroupArrayOutput values. You can construct a concrete instance of `DedicatedHostGroupArrayInput` via:
DedicatedHostGroupArray{ DedicatedHostGroupArgs{...} }
type DedicatedHostGroupArrayOutput ¶
type DedicatedHostGroupArrayOutput struct{ *pulumi.OutputState }
func (DedicatedHostGroupArrayOutput) ElementType ¶
func (DedicatedHostGroupArrayOutput) ElementType() reflect.Type
func (DedicatedHostGroupArrayOutput) Index ¶
func (o DedicatedHostGroupArrayOutput) Index(i pulumi.IntInput) DedicatedHostGroupOutput
func (DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutput ¶
func (o DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutput() DedicatedHostGroupArrayOutput
func (DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutputWithContext ¶
func (o DedicatedHostGroupArrayOutput) ToDedicatedHostGroupArrayOutputWithContext(ctx context.Context) DedicatedHostGroupArrayOutput
type DedicatedHostGroupInput ¶
type DedicatedHostGroupInput interface { pulumi.Input ToDedicatedHostGroupOutput() DedicatedHostGroupOutput ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput }
type DedicatedHostGroupMap ¶
type DedicatedHostGroupMap map[string]DedicatedHostGroupInput
func (DedicatedHostGroupMap) ElementType ¶
func (DedicatedHostGroupMap) ElementType() reflect.Type
func (DedicatedHostGroupMap) ToDedicatedHostGroupMapOutput ¶
func (i DedicatedHostGroupMap) ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput
func (DedicatedHostGroupMap) ToDedicatedHostGroupMapOutputWithContext ¶
func (i DedicatedHostGroupMap) ToDedicatedHostGroupMapOutputWithContext(ctx context.Context) DedicatedHostGroupMapOutput
type DedicatedHostGroupMapInput ¶
type DedicatedHostGroupMapInput interface { pulumi.Input ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput ToDedicatedHostGroupMapOutputWithContext(context.Context) DedicatedHostGroupMapOutput }
DedicatedHostGroupMapInput is an input type that accepts DedicatedHostGroupMap and DedicatedHostGroupMapOutput values. You can construct a concrete instance of `DedicatedHostGroupMapInput` via:
DedicatedHostGroupMap{ "key": DedicatedHostGroupArgs{...} }
type DedicatedHostGroupMapOutput ¶
type DedicatedHostGroupMapOutput struct{ *pulumi.OutputState }
func (DedicatedHostGroupMapOutput) ElementType ¶
func (DedicatedHostGroupMapOutput) ElementType() reflect.Type
func (DedicatedHostGroupMapOutput) MapIndex ¶
func (o DedicatedHostGroupMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostGroupOutput
func (DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutput ¶
func (o DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutput() DedicatedHostGroupMapOutput
func (DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutputWithContext ¶
func (o DedicatedHostGroupMapOutput) ToDedicatedHostGroupMapOutputWithContext(ctx context.Context) DedicatedHostGroupMapOutput
type DedicatedHostGroupOutput ¶
type DedicatedHostGroupOutput struct{ *pulumi.OutputState }
func (DedicatedHostGroupOutput) AllocationPolicy ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) AllocationPolicy() pulumi.StringOutput
AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
func (DedicatedHostGroupOutput) CpuAllocationRatio ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) CpuAllocationRatio() pulumi.IntOutput
The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
func (DedicatedHostGroupOutput) DedicatedHostGroupDesc ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) DedicatedHostGroupDesc() pulumi.StringPtrOutput
The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
func (DedicatedHostGroupOutput) DiskAllocationRatio ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) DiskAllocationRatio() pulumi.IntOutput
The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set.
func (DedicatedHostGroupOutput) ElementType ¶
func (DedicatedHostGroupOutput) ElementType() reflect.Type
func (DedicatedHostGroupOutput) Engine ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) Engine() pulumi.StringOutput
Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`
func (DedicatedHostGroupOutput) HostReplacePolicy ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) HostReplacePolicy() pulumi.StringOutput
The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
func (DedicatedHostGroupOutput) MemAllocationRatio ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) MemAllocationRatio() pulumi.IntOutput
The Memory Allocation Ratio of the Dedicated Host Group.
func (DedicatedHostGroupOutput) OpenPermission ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) OpenPermission() pulumi.BoolOutput
Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`. **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"`
func (DedicatedHostGroupOutput) ToDedicatedHostGroupOutput ¶
func (o DedicatedHostGroupOutput) ToDedicatedHostGroupOutput() DedicatedHostGroupOutput
func (DedicatedHostGroupOutput) ToDedicatedHostGroupOutputWithContext ¶
func (o DedicatedHostGroupOutput) ToDedicatedHostGroupOutputWithContext(ctx context.Context) DedicatedHostGroupOutput
func (DedicatedHostGroupOutput) VpcId ¶ added in v3.27.0
func (o DedicatedHostGroupOutput) VpcId() pulumi.StringOutput
The virtual private cloud (VPC) ID of the dedicated cluster.
type DedicatedHostGroupState ¶
type DedicatedHostGroupState struct { // AThe policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively` AllocationPolicy pulumi.StringPtrInput // The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. CpuAllocationRatio pulumi.IntPtrInput // The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter. DedicatedHostGroupDesc pulumi.StringPtrInput // The Disk Allocation Ratio of the Dedicated Host Group. **NOTE:** When `engine = SQLServer`, this attribute does not support to set. DiskAllocationRatio pulumi.IntPtrInput // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine pulumi.StringPtrInput // The policy based on which the system handles host failures. Valid values:`Auto`,`Manual` HostReplacePolicy pulumi.StringPtrInput // The Memory Allocation Ratio of the Dedicated Host Group. MemAllocationRatio pulumi.IntPtrInput // Whether to enable the feature that allows you to have OS permissions on the hosts in the dedicated cluster. Valid values: `true` and `false`. // **NOTE:** The `openPermission` should be `true` when `engine = "SQLServer"` OpenPermission pulumi.BoolPtrInput // The virtual private cloud (VPC) ID of the dedicated cluster. VpcId pulumi.StringPtrInput }
func (DedicatedHostGroupState) ElementType ¶
func (DedicatedHostGroupState) ElementType() reflect.Type
type DedicatedHostInput ¶ added in v3.12.0
type DedicatedHostInput interface { pulumi.Input ToDedicatedHostOutput() DedicatedHostOutput ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput }
type DedicatedHostMap ¶ added in v3.12.0
type DedicatedHostMap map[string]DedicatedHostInput
func (DedicatedHostMap) ElementType ¶ added in v3.12.0
func (DedicatedHostMap) ElementType() reflect.Type
func (DedicatedHostMap) ToDedicatedHostMapOutput ¶ added in v3.12.0
func (i DedicatedHostMap) ToDedicatedHostMapOutput() DedicatedHostMapOutput
func (DedicatedHostMap) ToDedicatedHostMapOutputWithContext ¶ added in v3.12.0
func (i DedicatedHostMap) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
type DedicatedHostMapInput ¶ added in v3.12.0
type DedicatedHostMapInput interface { pulumi.Input ToDedicatedHostMapOutput() DedicatedHostMapOutput ToDedicatedHostMapOutputWithContext(context.Context) DedicatedHostMapOutput }
DedicatedHostMapInput is an input type that accepts DedicatedHostMap and DedicatedHostMapOutput values. You can construct a concrete instance of `DedicatedHostMapInput` via:
DedicatedHostMap{ "key": DedicatedHostArgs{...} }
type DedicatedHostMapOutput ¶ added in v3.12.0
type DedicatedHostMapOutput struct{ *pulumi.OutputState }
func (DedicatedHostMapOutput) ElementType ¶ added in v3.12.0
func (DedicatedHostMapOutput) ElementType() reflect.Type
func (DedicatedHostMapOutput) MapIndex ¶ added in v3.12.0
func (o DedicatedHostMapOutput) MapIndex(k pulumi.StringInput) DedicatedHostOutput
func (DedicatedHostMapOutput) ToDedicatedHostMapOutput ¶ added in v3.12.0
func (o DedicatedHostMapOutput) ToDedicatedHostMapOutput() DedicatedHostMapOutput
func (DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext ¶ added in v3.12.0
func (o DedicatedHostMapOutput) ToDedicatedHostMapOutputWithContext(ctx context.Context) DedicatedHostMapOutput
type DedicatedHostOutput ¶ added in v3.12.0
type DedicatedHostOutput struct{ *pulumi.OutputState }
func (DedicatedHostOutput) AllocationStatus ¶ added in v3.27.0
func (o DedicatedHostOutput) AllocationStatus() pulumi.StringOutput
Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host.
func (DedicatedHostOutput) AutoRenew ¶ added in v3.27.0
func (o DedicatedHostOutput) AutoRenew() pulumi.BoolPtrOutput
Specifies whether to enable the auto-renewal feature.
func (DedicatedHostOutput) DedicatedHostGroupId ¶ added in v3.27.0
func (o DedicatedHostOutput) DedicatedHostGroupId() pulumi.StringOutput
The ID of the dedicated cluster.
func (DedicatedHostOutput) DedicatedHostId ¶ added in v3.27.0
func (o DedicatedHostOutput) DedicatedHostId() pulumi.StringOutput
The ID of the host.
func (DedicatedHostOutput) ElementType ¶ added in v3.12.0
func (DedicatedHostOutput) ElementType() reflect.Type
func (DedicatedHostOutput) HostClass ¶ added in v3.27.0
func (o DedicatedHostOutput) HostClass() pulumi.StringOutput
The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm).
func (DedicatedHostOutput) HostName ¶ added in v3.27.0
func (o DedicatedHostOutput) HostName() pulumi.StringOutput
The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter.
func (DedicatedHostOutput) ImageCategory ¶ added in v3.27.0
func (o DedicatedHostOutput) ImageCategory() pulumi.StringPtrOutput
Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`.
func (DedicatedHostOutput) OsPassword ¶ added in v3.27.0
func (o DedicatedHostOutput) OsPassword() pulumi.StringPtrOutput
Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`.
func (DedicatedHostOutput) PaymentType ¶ added in v3.27.0
func (o DedicatedHostOutput) PaymentType() pulumi.StringOutput
The payment type of the resource. Valid values: `Subscription`.
func (DedicatedHostOutput) Period ¶ added in v3.27.0
func (o DedicatedHostOutput) Period() pulumi.StringPtrOutput
The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`.
func (DedicatedHostOutput) Status ¶ added in v3.27.0
func (o DedicatedHostOutput) Status() pulumi.StringOutput
The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked.
func (DedicatedHostOutput) Tags ¶ added in v3.27.0
func (o DedicatedHostOutput) Tags() pulumi.MapOutput
A mapping of tags to assign to the resource.
func (DedicatedHostOutput) ToDedicatedHostOutput ¶ added in v3.12.0
func (o DedicatedHostOutput) ToDedicatedHostOutput() DedicatedHostOutput
func (DedicatedHostOutput) ToDedicatedHostOutputWithContext ¶ added in v3.12.0
func (o DedicatedHostOutput) ToDedicatedHostOutputWithContext(ctx context.Context) DedicatedHostOutput
func (DedicatedHostOutput) UsedTime ¶ added in v3.27.0
func (o DedicatedHostOutput) UsedTime() pulumi.IntPtrOutput
The subscription duration of the host. Valid values: * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`.
func (DedicatedHostOutput) VswitchId ¶ added in v3.27.0
func (o DedicatedHostOutput) VswitchId() pulumi.StringOutput
The ID of the vSwitch to which the host is connected.
func (DedicatedHostOutput) ZoneId ¶ added in v3.27.0
func (o DedicatedHostOutput) ZoneId() pulumi.StringOutput
The ID of the zone.
type DedicatedHostState ¶ added in v3.12.0
type DedicatedHostState struct { // Specifies whether instances can be created on the host. Valid values: `Allocatable` or `Suspended`. `Allocatable`: Instances can be created on the host. `Suspended`: Instances cannot be created on the host. AllocationStatus pulumi.StringPtrInput // Specifies whether to enable the auto-renewal feature. AutoRenew pulumi.BoolPtrInput // The ID of the dedicated cluster. DedicatedHostGroupId pulumi.StringPtrInput // The ID of the host. DedicatedHostId pulumi.StringPtrInput // The instance type of the host. For more information about the supported instance types of hosts, see [Host specification details](https://www.alibabacloud.com/help/doc-detail/206343.htm). HostClass pulumi.StringPtrInput // The name of the host. The name must be `1` to `64` characters in length and can contain letters, digits, underscores (_), and hyphens (-). The name must start with a letter. HostName pulumi.StringPtrInput // Host Image Category. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`. ImageCategory pulumi.StringPtrInput // Host password. **NOTE:** The creation of a host password is supported only when the database type is `Tair-PMem`. OsPassword pulumi.StringPtrInput // The payment type of the resource. Valid values: `Subscription`. PaymentType pulumi.StringPtrInput // The unit of the subscription duration. Valid values: `Year`, `Month`, `Week`. Period pulumi.StringPtrInput // The state of the host. Valid values: `0:` The host is being created. `1`: The host is running. `2`: The host is faulty. `3`: The host is ready for deactivation. `4`: The host is being maintained. `5`: The host is deactivated. `6`: The host is restarting. `7`: The host is locked. Status pulumi.StringPtrInput // A mapping of tags to assign to the resource. Tags pulumi.MapInput // The subscription duration of the host. Valid values: // * If the Period parameter is set to `Year`, the value of the UsedTime parameter ranges from `1` to `5`. // * If the Period parameter is set to `Month`, the value of the UsedTime parameter ranges from `1` to `9`. // * If the Period parameter is set to `Week`, the value of the UsedTime parameter ranges from `1`, `2` and `3`. UsedTime pulumi.IntPtrInput // The ID of the vSwitch to which the host is connected. VswitchId pulumi.StringPtrInput // The ID of the zone. ZoneId pulumi.StringPtrInput }
func (DedicatedHostState) ElementType ¶ added in v3.12.0
func (DedicatedHostState) ElementType() reflect.Type
type GetDedicatedHostAccountsAccount ¶ added in v3.12.0
type GetDedicatedHostAccountsAccount struct { // The name of the Dedicated host account. AccountName string `pulumi:"accountName"` // The ID of the Dedicated host. DedicatedHostId string `pulumi:"dedicatedHostId"` // The ID of the Dedicated Host Account. The value formats as `<dedicated_host_id>:<account_name>`. Id string `pulumi:"id"` }
type GetDedicatedHostAccountsAccountArgs ¶ added in v3.12.0
type GetDedicatedHostAccountsAccountArgs struct { // The name of the Dedicated host account. AccountName pulumi.StringInput `pulumi:"accountName"` // The ID of the Dedicated host. DedicatedHostId pulumi.StringInput `pulumi:"dedicatedHostId"` // The ID of the Dedicated Host Account. The value formats as `<dedicated_host_id>:<account_name>`. Id pulumi.StringInput `pulumi:"id"` }
func (GetDedicatedHostAccountsAccountArgs) ElementType ¶ added in v3.12.0
func (GetDedicatedHostAccountsAccountArgs) ElementType() reflect.Type
func (GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutput ¶ added in v3.12.0
func (i GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput
func (GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutputWithContext ¶ added in v3.12.0
func (i GetDedicatedHostAccountsAccountArgs) ToGetDedicatedHostAccountsAccountOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountOutput
type GetDedicatedHostAccountsAccountArray ¶ added in v3.12.0
type GetDedicatedHostAccountsAccountArray []GetDedicatedHostAccountsAccountInput
func (GetDedicatedHostAccountsAccountArray) ElementType ¶ added in v3.12.0
func (GetDedicatedHostAccountsAccountArray) ElementType() reflect.Type
func (GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutput ¶ added in v3.12.0
func (i GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput
func (GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutputWithContext ¶ added in v3.12.0
func (i GetDedicatedHostAccountsAccountArray) ToGetDedicatedHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountArrayOutput
type GetDedicatedHostAccountsAccountArrayInput ¶ added in v3.12.0
type GetDedicatedHostAccountsAccountArrayInput interface { pulumi.Input ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput ToGetDedicatedHostAccountsAccountArrayOutputWithContext(context.Context) GetDedicatedHostAccountsAccountArrayOutput }
GetDedicatedHostAccountsAccountArrayInput is an input type that accepts GetDedicatedHostAccountsAccountArray and GetDedicatedHostAccountsAccountArrayOutput values. You can construct a concrete instance of `GetDedicatedHostAccountsAccountArrayInput` via:
GetDedicatedHostAccountsAccountArray{ GetDedicatedHostAccountsAccountArgs{...} }
type GetDedicatedHostAccountsAccountArrayOutput ¶ added in v3.12.0
type GetDedicatedHostAccountsAccountArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostAccountsAccountArrayOutput) ElementType ¶ added in v3.12.0
func (GetDedicatedHostAccountsAccountArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutput ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutput() GetDedicatedHostAccountsAccountArrayOutput
func (GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutputWithContext ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountArrayOutput) ToGetDedicatedHostAccountsAccountArrayOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountArrayOutput
type GetDedicatedHostAccountsAccountInput ¶ added in v3.12.0
type GetDedicatedHostAccountsAccountInput interface { pulumi.Input ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput ToGetDedicatedHostAccountsAccountOutputWithContext(context.Context) GetDedicatedHostAccountsAccountOutput }
GetDedicatedHostAccountsAccountInput is an input type that accepts GetDedicatedHostAccountsAccountArgs and GetDedicatedHostAccountsAccountOutput values. You can construct a concrete instance of `GetDedicatedHostAccountsAccountInput` via:
GetDedicatedHostAccountsAccountArgs{...}
type GetDedicatedHostAccountsAccountOutput ¶ added in v3.12.0
type GetDedicatedHostAccountsAccountOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostAccountsAccountOutput) AccountName ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountOutput) AccountName() pulumi.StringOutput
The name of the Dedicated host account.
func (GetDedicatedHostAccountsAccountOutput) DedicatedHostId ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountOutput) DedicatedHostId() pulumi.StringOutput
The ID of the Dedicated host.
func (GetDedicatedHostAccountsAccountOutput) ElementType ¶ added in v3.12.0
func (GetDedicatedHostAccountsAccountOutput) ElementType() reflect.Type
func (GetDedicatedHostAccountsAccountOutput) Id ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountOutput) Id() pulumi.StringOutput
The ID of the Dedicated Host Account. The value formats as `<dedicated_host_id>:<account_name>`.
func (GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutput ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutput() GetDedicatedHostAccountsAccountOutput
func (GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutputWithContext ¶ added in v3.12.0
func (o GetDedicatedHostAccountsAccountOutput) ToGetDedicatedHostAccountsAccountOutputWithContext(ctx context.Context) GetDedicatedHostAccountsAccountOutput
type GetDedicatedHostAccountsArgs ¶ added in v3.12.0
type GetDedicatedHostAccountsArgs struct { // The ID of the Dedicated host. DedicatedHostId *string `pulumi:"dedicatedHostId"` // A list of Dedicated Host Account IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Account name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of arguments for invoking getDedicatedHostAccounts.
type GetDedicatedHostAccountsOutputArgs ¶ added in v3.12.0
type GetDedicatedHostAccountsOutputArgs struct { // The ID of the Dedicated host. DedicatedHostId pulumi.StringPtrInput `pulumi:"dedicatedHostId"` // A list of Dedicated Host Account IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Account name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` }
A collection of arguments for invoking getDedicatedHostAccounts.
func (GetDedicatedHostAccountsOutputArgs) ElementType ¶ added in v3.12.0
func (GetDedicatedHostAccountsOutputArgs) ElementType() reflect.Type
type GetDedicatedHostAccountsResult ¶ added in v3.12.0
type GetDedicatedHostAccountsResult struct { Accounts []GetDedicatedHostAccountsAccount `pulumi:"accounts"` DedicatedHostId *string `pulumi:"dedicatedHostId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` }
A collection of values returned by getDedicatedHostAccounts.
func GetDedicatedHostAccounts ¶ added in v3.12.0
func GetDedicatedHostAccounts(ctx *pulumi.Context, args *GetDedicatedHostAccountsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostAccountsResult, error)
This data source provides the Cddc Dedicated Host Accounts of the current Alibaba Cloud user.
> **NOTE:** Available in v1.148.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := cddc.GetDedicatedHostAccounts(ctx, nil, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostAccountId1", ids.Accounts[0].Id) return nil }) }
```
type GetDedicatedHostAccountsResultOutput ¶ added in v3.12.0
type GetDedicatedHostAccountsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDedicatedHostAccounts.
func GetDedicatedHostAccountsOutput ¶ added in v3.12.0
func GetDedicatedHostAccountsOutput(ctx *pulumi.Context, args GetDedicatedHostAccountsOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedHostAccountsResultOutput
func (GetDedicatedHostAccountsResultOutput) Accounts ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) Accounts() GetDedicatedHostAccountsAccountArrayOutput
func (GetDedicatedHostAccountsResultOutput) DedicatedHostId ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) DedicatedHostId() pulumi.StringPtrOutput
func (GetDedicatedHostAccountsResultOutput) ElementType ¶ added in v3.12.0
func (GetDedicatedHostAccountsResultOutput) ElementType() reflect.Type
func (GetDedicatedHostAccountsResultOutput) Id ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDedicatedHostAccountsResultOutput) Ids ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) Ids() pulumi.StringArrayOutput
func (GetDedicatedHostAccountsResultOutput) NameRegex ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDedicatedHostAccountsResultOutput) Names ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) Names() pulumi.StringArrayOutput
func (GetDedicatedHostAccountsResultOutput) OutputFile ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDedicatedHostAccountsResultOutput) PageNumber ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetDedicatedHostAccountsResultOutput) PageSize ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) PageSize() pulumi.IntPtrOutput
func (GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutput ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutput() GetDedicatedHostAccountsResultOutput
func (GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutputWithContext ¶ added in v3.12.0
func (o GetDedicatedHostAccountsResultOutput) ToGetDedicatedHostAccountsResultOutputWithContext(ctx context.Context) GetDedicatedHostAccountsResultOutput
type GetDedicatedHostGroupsArgs ¶
type GetDedicatedHostGroupsArgs struct { // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine *string `pulumi:"engine"` // A list of Dedicated Host Group IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Dedicated Host Group name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getDedicatedHostGroups.
type GetDedicatedHostGroupsGroup ¶
type GetDedicatedHostGroupsGroup struct { // The policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively` AllocationPolicy string `pulumi:"allocationPolicy"` // The Bastion Instance id of the Dedicated Host Group. BastionInstanceId string `pulumi:"bastionInstanceId"` // The CPU overcommitment ratio of the dedicated cluster. If you set this parameter to 200, the CPU resources that can be allocated are twice as many as the CPU resources that are provided. This maximizes the CPU utilization. Valid values: 100 to 300. Default value: 200. CpuAllocateRation float64 `pulumi:"cpuAllocateRation"` // The CPU Allocated Amount of the Dedicated Host Group. CpuAllocatedAmount float64 `pulumi:"cpuAllocatedAmount"` // The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. CpuAllocationRatio int `pulumi:"cpuAllocationRatio"` // The Created Time of the Dedicated Host Group. CreateTime string `pulumi:"createTime"` // The Dedicated Host Count Group by Host Type of the Dedicated Host Group. DedicatedHostCountGroupByHostTypes []GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType `pulumi:"dedicatedHostCountGroupByHostTypes"` // The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter. DedicatedHostGroupDesc string `pulumi:"dedicatedHostGroupDesc"` // Dedicated Host Group ID. DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"` // The Deployment Type of the Dedicated Host Group. DeployType string `pulumi:"deployType"` // The storage overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. DiskAllocateRation float64 `pulumi:"diskAllocateRation"` // The Disk Allocated Amount of the Dedicated Host Group. DiskAllocatedAmount float64 `pulumi:"diskAllocatedAmount"` // The Disk Allocation Ratio of the Dedicated Host Group. DiskAllocationRatio int `pulumi:"diskAllocationRatio"` // The DiskUsedAmount of the Dedicated Host Group. DiskUsedAmount float64 `pulumi:"diskUsedAmount"` // The DiskUtility of the Dedicated Host Group. DiskUtility float64 `pulumi:"diskUtility"` // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine string `pulumi:"engine"` // The Total Host Number of the Dedicated Host Group. HostNumber int `pulumi:"hostNumber"` // The policy based on which the system handles host failures. Valid values:`Auto`,`Manual` HostReplacePolicy string `pulumi:"hostReplacePolicy"` // The ID of the Dedicated Host Group. Id string `pulumi:"id"` // The Total Instance Number of the Dedicated Host Group. InstanceNumber int `pulumi:"instanceNumber"` // The maximum memory usage of each host in the dedicated cluster.Valid values: 0 to 90. Default value: 90. MemAllocateRation float64 `pulumi:"memAllocateRation"` // The MemAllocatedAmount of the Dedicated Host Group. MemAllocatedAmount float64 `pulumi:"memAllocatedAmount"` // The Memory Allocation Ratio of the Dedicated Host Group. MemAllocationRatio int `pulumi:"memAllocationRatio"` // The MemUsedAmount of the Dedicated Host Group. MemUsedAmount float64 `pulumi:"memUsedAmount"` // The Mem Utility of the Dedicated Host Group. MemUtility float64 `pulumi:"memUtility"` // The Text of the Dedicated Host Group. Text string `pulumi:"text"` // The virtual private cloud (VPC) ID of the dedicated cluster. VpcId string `pulumi:"vpcId"` // The ZoneIDList of the Dedicated Host Group. ZoneIdLists []GetDedicatedHostGroupsGroupZoneIdList `pulumi:"zoneIdLists"` }
type GetDedicatedHostGroupsGroupArgs ¶
type GetDedicatedHostGroupsGroupArgs struct { // The policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively` AllocationPolicy pulumi.StringInput `pulumi:"allocationPolicy"` // The Bastion Instance id of the Dedicated Host Group. BastionInstanceId pulumi.StringInput `pulumi:"bastionInstanceId"` // The CPU overcommitment ratio of the dedicated cluster. If you set this parameter to 200, the CPU resources that can be allocated are twice as many as the CPU resources that are provided. This maximizes the CPU utilization. Valid values: 100 to 300. Default value: 200. CpuAllocateRation pulumi.Float64Input `pulumi:"cpuAllocateRation"` // The CPU Allocated Amount of the Dedicated Host Group. CpuAllocatedAmount pulumi.Float64Input `pulumi:"cpuAllocatedAmount"` // The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. CpuAllocationRatio pulumi.IntInput `pulumi:"cpuAllocationRatio"` // The Created Time of the Dedicated Host Group. CreateTime pulumi.StringInput `pulumi:"createTime"` // The Dedicated Host Count Group by Host Type of the Dedicated Host Group. DedicatedHostCountGroupByHostTypes GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput `pulumi:"dedicatedHostCountGroupByHostTypes"` // The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter. DedicatedHostGroupDesc pulumi.StringInput `pulumi:"dedicatedHostGroupDesc"` // Dedicated Host Group ID. DedicatedHostGroupId pulumi.StringInput `pulumi:"dedicatedHostGroupId"` // The Deployment Type of the Dedicated Host Group. DeployType pulumi.StringInput `pulumi:"deployType"` // The storage overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200. DiskAllocateRation pulumi.Float64Input `pulumi:"diskAllocateRation"` // The Disk Allocated Amount of the Dedicated Host Group. DiskAllocatedAmount pulumi.Float64Input `pulumi:"diskAllocatedAmount"` // The Disk Allocation Ratio of the Dedicated Host Group. DiskAllocationRatio pulumi.IntInput `pulumi:"diskAllocationRatio"` // The DiskUsedAmount of the Dedicated Host Group. DiskUsedAmount pulumi.Float64Input `pulumi:"diskUsedAmount"` // The DiskUtility of the Dedicated Host Group. DiskUtility pulumi.Float64Input `pulumi:"diskUtility"` // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine pulumi.StringInput `pulumi:"engine"` // The Total Host Number of the Dedicated Host Group. HostNumber pulumi.IntInput `pulumi:"hostNumber"` // The policy based on which the system handles host failures. Valid values:`Auto`,`Manual` HostReplacePolicy pulumi.StringInput `pulumi:"hostReplacePolicy"` // The ID of the Dedicated Host Group. Id pulumi.StringInput `pulumi:"id"` // The Total Instance Number of the Dedicated Host Group. InstanceNumber pulumi.IntInput `pulumi:"instanceNumber"` // The maximum memory usage of each host in the dedicated cluster.Valid values: 0 to 90. Default value: 90. MemAllocateRation pulumi.Float64Input `pulumi:"memAllocateRation"` // The MemAllocatedAmount of the Dedicated Host Group. MemAllocatedAmount pulumi.Float64Input `pulumi:"memAllocatedAmount"` // The Memory Allocation Ratio of the Dedicated Host Group. MemAllocationRatio pulumi.IntInput `pulumi:"memAllocationRatio"` // The MemUsedAmount of the Dedicated Host Group. MemUsedAmount pulumi.Float64Input `pulumi:"memUsedAmount"` // The Mem Utility of the Dedicated Host Group. MemUtility pulumi.Float64Input `pulumi:"memUtility"` // The Text of the Dedicated Host Group. Text pulumi.StringInput `pulumi:"text"` // The virtual private cloud (VPC) ID of the dedicated cluster. VpcId pulumi.StringInput `pulumi:"vpcId"` // The ZoneIDList of the Dedicated Host Group. ZoneIdLists GetDedicatedHostGroupsGroupZoneIdListArrayInput `pulumi:"zoneIdLists"` }
func (GetDedicatedHostGroupsGroupArgs) ElementType ¶
func (GetDedicatedHostGroupsGroupArgs) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutput ¶
func (i GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput
func (GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutputWithContext ¶
func (i GetDedicatedHostGroupsGroupArgs) ToGetDedicatedHostGroupsGroupOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupOutput
type GetDedicatedHostGroupsGroupArray ¶
type GetDedicatedHostGroupsGroupArray []GetDedicatedHostGroupsGroupInput
func (GetDedicatedHostGroupsGroupArray) ElementType ¶
func (GetDedicatedHostGroupsGroupArray) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutput ¶
func (i GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput
func (GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutputWithContext ¶
func (i GetDedicatedHostGroupsGroupArray) ToGetDedicatedHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupArrayOutput
type GetDedicatedHostGroupsGroupArrayInput ¶
type GetDedicatedHostGroupsGroupArrayInput interface { pulumi.Input ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput ToGetDedicatedHostGroupsGroupArrayOutputWithContext(context.Context) GetDedicatedHostGroupsGroupArrayOutput }
GetDedicatedHostGroupsGroupArrayInput is an input type that accepts GetDedicatedHostGroupsGroupArray and GetDedicatedHostGroupsGroupArrayOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupArrayInput` via:
GetDedicatedHostGroupsGroupArray{ GetDedicatedHostGroupsGroupArgs{...} }
type GetDedicatedHostGroupsGroupArrayOutput ¶
type GetDedicatedHostGroupsGroupArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostGroupsGroupArrayOutput) ElementType ¶
func (GetDedicatedHostGroupsGroupArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutput ¶
func (o GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutput() GetDedicatedHostGroupsGroupArrayOutput
func (GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutputWithContext ¶
func (o GetDedicatedHostGroupsGroupArrayOutput) ToGetDedicatedHostGroupsGroupArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupArrayOutput
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostType struct {
PlaceHolder string `pulumi:"placeHolder"`
}
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs struct {
PlaceHolder pulumi.StringInput `pulumi:"placeHolder"`
}
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ElementType ¶
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput ¶
func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext ¶
func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray []GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ElementType ¶
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput ¶
func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext ¶
func (i GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput interface { pulumi.Input ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput }
GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput is an input type that accepts GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray and GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayInput` via:
GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArray{ GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs{...} }
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ElementType ¶
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput ¶
func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext ¶
func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput interface { pulumi.Input ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput }
GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput is an input type that accepts GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs and GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeInput` via:
GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArgs{...}
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput ¶
type GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ElementType ¶
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) PlaceHolder ¶
func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) PlaceHolder() pulumi.StringOutput
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput ¶
func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
func (GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext ¶
func (o GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput) ToGetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeOutput
type GetDedicatedHostGroupsGroupInput ¶
type GetDedicatedHostGroupsGroupInput interface { pulumi.Input ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput ToGetDedicatedHostGroupsGroupOutputWithContext(context.Context) GetDedicatedHostGroupsGroupOutput }
GetDedicatedHostGroupsGroupInput is an input type that accepts GetDedicatedHostGroupsGroupArgs and GetDedicatedHostGroupsGroupOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupInput` via:
GetDedicatedHostGroupsGroupArgs{...}
type GetDedicatedHostGroupsGroupOutput ¶
type GetDedicatedHostGroupsGroupOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostGroupsGroupOutput) AllocationPolicy ¶
func (o GetDedicatedHostGroupsGroupOutput) AllocationPolicy() pulumi.StringOutput
The policy that is used to allocate resources in the dedicated cluster. Valid values:`Evenly`,`Intensively`
func (GetDedicatedHostGroupsGroupOutput) BastionInstanceId ¶
func (o GetDedicatedHostGroupsGroupOutput) BastionInstanceId() pulumi.StringOutput
The Bastion Instance id of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) CpuAllocateRation ¶
func (o GetDedicatedHostGroupsGroupOutput) CpuAllocateRation() pulumi.Float64Output
The CPU overcommitment ratio of the dedicated cluster. If you set this parameter to 200, the CPU resources that can be allocated are twice as many as the CPU resources that are provided. This maximizes the CPU utilization. Valid values: 100 to 300. Default value: 200.
func (GetDedicatedHostGroupsGroupOutput) CpuAllocatedAmount ¶
func (o GetDedicatedHostGroupsGroupOutput) CpuAllocatedAmount() pulumi.Float64Output
The CPU Allocated Amount of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) CpuAllocationRatio ¶
func (o GetDedicatedHostGroupsGroupOutput) CpuAllocationRatio() pulumi.IntOutput
The CPU overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
func (GetDedicatedHostGroupsGroupOutput) CreateTime ¶
func (o GetDedicatedHostGroupsGroupOutput) CreateTime() pulumi.StringOutput
The Created Time of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) DedicatedHostCountGroupByHostTypes ¶
func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostCountGroupByHostTypes() GetDedicatedHostGroupsGroupDedicatedHostCountGroupByHostTypeArrayOutput
The Dedicated Host Count Group by Host Type of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupDesc ¶
func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupDesc() pulumi.StringOutput
The name of the dedicated cluster. The name must be 1 to 64 characters in length and can contain letters, digits, underscores (_), and hyphens (-). It must start with a letter.
func (GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupId ¶
func (o GetDedicatedHostGroupsGroupOutput) DedicatedHostGroupId() pulumi.StringOutput
Dedicated Host Group ID.
func (GetDedicatedHostGroupsGroupOutput) DeployType ¶
func (o GetDedicatedHostGroupsGroupOutput) DeployType() pulumi.StringOutput
The Deployment Type of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) DiskAllocateRation ¶
func (o GetDedicatedHostGroupsGroupOutput) DiskAllocateRation() pulumi.Float64Output
The storage overcommitment ratio of the dedicated cluster.Valid values: 100 to 300. Default value: 200.
func (GetDedicatedHostGroupsGroupOutput) DiskAllocatedAmount ¶
func (o GetDedicatedHostGroupsGroupOutput) DiskAllocatedAmount() pulumi.Float64Output
The Disk Allocated Amount of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) DiskAllocationRatio ¶
func (o GetDedicatedHostGroupsGroupOutput) DiskAllocationRatio() pulumi.IntOutput
The Disk Allocation Ratio of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) DiskUsedAmount ¶
func (o GetDedicatedHostGroupsGroupOutput) DiskUsedAmount() pulumi.Float64Output
The DiskUsedAmount of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) DiskUtility ¶
func (o GetDedicatedHostGroupsGroupOutput) DiskUtility() pulumi.Float64Output
The DiskUtility of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) ElementType ¶
func (GetDedicatedHostGroupsGroupOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupOutput) Engine ¶
func (o GetDedicatedHostGroupsGroupOutput) Engine() pulumi.StringOutput
Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB`
func (GetDedicatedHostGroupsGroupOutput) HostNumber ¶
func (o GetDedicatedHostGroupsGroupOutput) HostNumber() pulumi.IntOutput
The Total Host Number of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) HostReplacePolicy ¶
func (o GetDedicatedHostGroupsGroupOutput) HostReplacePolicy() pulumi.StringOutput
The policy based on which the system handles host failures. Valid values:`Auto`,`Manual`
func (GetDedicatedHostGroupsGroupOutput) Id ¶
func (o GetDedicatedHostGroupsGroupOutput) Id() pulumi.StringOutput
The ID of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) InstanceNumber ¶
func (o GetDedicatedHostGroupsGroupOutput) InstanceNumber() pulumi.IntOutput
The Total Instance Number of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) MemAllocateRation ¶
func (o GetDedicatedHostGroupsGroupOutput) MemAllocateRation() pulumi.Float64Output
The maximum memory usage of each host in the dedicated cluster.Valid values: 0 to 90. Default value: 90.
func (GetDedicatedHostGroupsGroupOutput) MemAllocatedAmount ¶
func (o GetDedicatedHostGroupsGroupOutput) MemAllocatedAmount() pulumi.Float64Output
The MemAllocatedAmount of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) MemAllocationRatio ¶
func (o GetDedicatedHostGroupsGroupOutput) MemAllocationRatio() pulumi.IntOutput
The Memory Allocation Ratio of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) MemUsedAmount ¶
func (o GetDedicatedHostGroupsGroupOutput) MemUsedAmount() pulumi.Float64Output
The MemUsedAmount of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) MemUtility ¶
func (o GetDedicatedHostGroupsGroupOutput) MemUtility() pulumi.Float64Output
The Mem Utility of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) Text ¶
func (o GetDedicatedHostGroupsGroupOutput) Text() pulumi.StringOutput
The Text of the Dedicated Host Group.
func (GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutput ¶
func (o GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutput() GetDedicatedHostGroupsGroupOutput
func (GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutputWithContext ¶
func (o GetDedicatedHostGroupsGroupOutput) ToGetDedicatedHostGroupsGroupOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupOutput
func (GetDedicatedHostGroupsGroupOutput) VpcId ¶
func (o GetDedicatedHostGroupsGroupOutput) VpcId() pulumi.StringOutput
The virtual private cloud (VPC) ID of the dedicated cluster.
func (GetDedicatedHostGroupsGroupOutput) ZoneIdLists ¶
func (o GetDedicatedHostGroupsGroupOutput) ZoneIdLists() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
The ZoneIDList of the Dedicated Host Group.
type GetDedicatedHostGroupsGroupZoneIdList ¶
type GetDedicatedHostGroupsGroupZoneIdList struct { // The ZoneIDList of the Dedicated Host Group. ZoneIdLists []string `pulumi:"zoneIdLists"` }
type GetDedicatedHostGroupsGroupZoneIdListArgs ¶
type GetDedicatedHostGroupsGroupZoneIdListArgs struct { // The ZoneIDList of the Dedicated Host Group. ZoneIdLists pulumi.StringArrayInput `pulumi:"zoneIdLists"` }
func (GetDedicatedHostGroupsGroupZoneIdListArgs) ElementType ¶
func (GetDedicatedHostGroupsGroupZoneIdListArgs) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutput ¶
func (i GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput
func (GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext ¶
func (i GetDedicatedHostGroupsGroupZoneIdListArgs) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput
type GetDedicatedHostGroupsGroupZoneIdListArray ¶
type GetDedicatedHostGroupsGroupZoneIdListArray []GetDedicatedHostGroupsGroupZoneIdListInput
func (GetDedicatedHostGroupsGroupZoneIdListArray) ElementType ¶
func (GetDedicatedHostGroupsGroupZoneIdListArray) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput ¶
func (i GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
func (GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext ¶
func (i GetDedicatedHostGroupsGroupZoneIdListArray) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput
type GetDedicatedHostGroupsGroupZoneIdListArrayInput ¶
type GetDedicatedHostGroupsGroupZoneIdListArrayInput interface { pulumi.Input ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput }
GetDedicatedHostGroupsGroupZoneIdListArrayInput is an input type that accepts GetDedicatedHostGroupsGroupZoneIdListArray and GetDedicatedHostGroupsGroupZoneIdListArrayOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupZoneIdListArrayInput` via:
GetDedicatedHostGroupsGroupZoneIdListArray{ GetDedicatedHostGroupsGroupZoneIdListArgs{...} }
type GetDedicatedHostGroupsGroupZoneIdListArrayOutput ¶
type GetDedicatedHostGroupsGroupZoneIdListArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ElementType ¶
func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput ¶
func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutput() GetDedicatedHostGroupsGroupZoneIdListArrayOutput
func (GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext ¶
func (o GetDedicatedHostGroupsGroupZoneIdListArrayOutput) ToGetDedicatedHostGroupsGroupZoneIdListArrayOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListArrayOutput
type GetDedicatedHostGroupsGroupZoneIdListInput ¶
type GetDedicatedHostGroupsGroupZoneIdListInput interface { pulumi.Input ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput }
GetDedicatedHostGroupsGroupZoneIdListInput is an input type that accepts GetDedicatedHostGroupsGroupZoneIdListArgs and GetDedicatedHostGroupsGroupZoneIdListOutput values. You can construct a concrete instance of `GetDedicatedHostGroupsGroupZoneIdListInput` via:
GetDedicatedHostGroupsGroupZoneIdListArgs{...}
type GetDedicatedHostGroupsGroupZoneIdListOutput ¶
type GetDedicatedHostGroupsGroupZoneIdListOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostGroupsGroupZoneIdListOutput) ElementType ¶
func (GetDedicatedHostGroupsGroupZoneIdListOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutput ¶
func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutput() GetDedicatedHostGroupsGroupZoneIdListOutput
func (GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext ¶
func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ToGetDedicatedHostGroupsGroupZoneIdListOutputWithContext(ctx context.Context) GetDedicatedHostGroupsGroupZoneIdListOutput
func (GetDedicatedHostGroupsGroupZoneIdListOutput) ZoneIdLists ¶
func (o GetDedicatedHostGroupsGroupZoneIdListOutput) ZoneIdLists() pulumi.StringArrayOutput
The ZoneIDList of the Dedicated Host Group.
type GetDedicatedHostGroupsOutputArgs ¶ added in v3.9.0
type GetDedicatedHostGroupsOutputArgs struct { // Database Engine Type.The database engine of the dedicated cluster. Valid values:`Redis`, `SQLServer`, `MySQL`, `PostgreSQL`, `MongoDB` Engine pulumi.StringPtrInput `pulumi:"engine"` // A list of Dedicated Host Group IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Dedicated Host Group name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getDedicatedHostGroups.
func (GetDedicatedHostGroupsOutputArgs) ElementType ¶ added in v3.9.0
func (GetDedicatedHostGroupsOutputArgs) ElementType() reflect.Type
type GetDedicatedHostGroupsResult ¶
type GetDedicatedHostGroupsResult struct { Engine *string `pulumi:"engine"` Groups []GetDedicatedHostGroupsGroup `pulumi:"groups"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` }
A collection of values returned by getDedicatedHostGroups.
func GetDedicatedHostGroups ¶
func GetDedicatedHostGroups(ctx *pulumi.Context, args *GetDedicatedHostGroupsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostGroupsResult, error)
This data source provides the Cddc Dedicated Host Groups of the current Alibaba Cloud user.
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := cddc.GetDedicatedHostGroups(ctx, &cddc.GetDedicatedHostGroupsArgs{ Engine: pulumi.StringRef("MongoDB"), }, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostGroupId", _default.Id) return nil }) }
```
type GetDedicatedHostGroupsResultOutput ¶ added in v3.9.0
type GetDedicatedHostGroupsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDedicatedHostGroups.
func GetDedicatedHostGroupsOutput ¶ added in v3.9.0
func GetDedicatedHostGroupsOutput(ctx *pulumi.Context, args GetDedicatedHostGroupsOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedHostGroupsResultOutput
func (GetDedicatedHostGroupsResultOutput) ElementType ¶ added in v3.9.0
func (GetDedicatedHostGroupsResultOutput) ElementType() reflect.Type
func (GetDedicatedHostGroupsResultOutput) Engine ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) Engine() pulumi.StringPtrOutput
func (GetDedicatedHostGroupsResultOutput) Groups ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) Groups() GetDedicatedHostGroupsGroupArrayOutput
func (GetDedicatedHostGroupsResultOutput) Id ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDedicatedHostGroupsResultOutput) Ids ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) Ids() pulumi.StringArrayOutput
func (GetDedicatedHostGroupsResultOutput) NameRegex ¶ added in v3.12.0
func (o GetDedicatedHostGroupsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetDedicatedHostGroupsResultOutput) Names ¶ added in v3.12.0
func (o GetDedicatedHostGroupsResultOutput) Names() pulumi.StringArrayOutput
func (GetDedicatedHostGroupsResultOutput) OutputFile ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutput ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutput() GetDedicatedHostGroupsResultOutput
func (GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutputWithContext ¶ added in v3.9.0
func (o GetDedicatedHostGroupsResultOutput) ToGetDedicatedHostGroupsResultOutputWithContext(ctx context.Context) GetDedicatedHostGroupsResultOutput
type GetDedicatedHostsArgs ¶ added in v3.12.0
type GetDedicatedHostsArgs struct { // Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host. AllocationStatus *string `pulumi:"allocationStatus"` // The ID of the dedicated cluster in which the host is created. DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails *bool `pulumi:"enableDetails"` // The storage type of the host. HostType *string `pulumi:"hostType"` // A list of Dedicated Host IDs. Ids []string `pulumi:"ids"` // The ID of the order. OrderId *string `pulumi:"orderId"` OutputFile *string `pulumi:"outputFile"` // The state of the host. Status *string `pulumi:"status"` // The tag of the resource. Tags map[string]interface{} `pulumi:"tags"` // The zone ID of the host. ZoneId *string `pulumi:"zoneId"` }
A collection of arguments for invoking getDedicatedHosts.
type GetDedicatedHostsHost ¶ added in v3.12.0
type GetDedicatedHostsHost struct { // Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host. AllocationStatus string `pulumi:"allocationStatus"` // The ID of the bastion host with which the host is associated. BastionInstanceId string `pulumi:"bastionInstanceId"` // The numeric value of the CPU over commit ratio of the dedicated cluster. CpuAllocationRatio string `pulumi:"cpuAllocationRatio"` // The number of CPU cores used by the host. CpuUsed string `pulumi:"cpuUsed"` // The time when the host was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. CreateTime string `pulumi:"createTime"` // The ID of the dedicated cluster in which the host is created. DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"` // The ID of the host. DedicatedHostId string `pulumi:"dedicatedHostId"` // The disk usage in percentage. DiskAllocationRatio string `pulumi:"diskAllocationRatio"` // The Elastic Compute Service (ECS) instance type. EcsClassCode string `pulumi:"ecsClassCode"` // The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. EndTime string `pulumi:"endTime"` // The type of the database engine that is used by the host. Engine string `pulumi:"engine"` // The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. ExpiredTime string `pulumi:"expiredTime"` // The instance type of the host. HostClass string `pulumi:"hostClass"` // The number of CPU cores specified for the host. Unit: `core`. HostCpu string `pulumi:"hostCpu"` // The memory of the host. Unit: `GB`. HostMem string `pulumi:"hostMem"` // The name of the host. HostName string `pulumi:"hostName"` // The total storage capacity of the host. Unit: `GB`. HostStorage string `pulumi:"hostStorage"` // The storage type of the host. HostType string `pulumi:"hostType"` // The ID of the Dedicated Host. The value formats as `<dedicated_host_group_id>:<dedicated_host_id>`. Id string `pulumi:"id"` // The image type of the host. ImageCategory string `pulumi:"imageCategory"` // The IP address of the host. IpAddress string `pulumi:"ipAddress"` // The memory usage in percentage. MemAllocationRatio string `pulumi:"memAllocationRatio"` // The amount of memory used by the host. Unit: `GB`. MemoryUsed string `pulumi:"memoryUsed"` // Indicates whether you have the OS permissions on the host. Valid values: `0`: You do not have the OS permissions on the host. `1`: You have the OS permissions on the host. OpenPermission string `pulumi:"openPermission"` // The state of the host. Status string `pulumi:"status"` // The storage usage of the host. Unit: `GB`. StorageUsed string `pulumi:"storageUsed"` // The tag of the resource. Tags map[string]interface{} `pulumi:"tags"` // The ID of the virtual private cloud (VPC) to which the host is connected. VpcId string `pulumi:"vpcId"` // The ID of the vSwitch. VswitchId string `pulumi:"vswitchId"` // The zone ID of the host. ZoneId string `pulumi:"zoneId"` }
type GetDedicatedHostsHostArgs ¶ added in v3.12.0
type GetDedicatedHostsHostArgs struct { // Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host. AllocationStatus pulumi.StringInput `pulumi:"allocationStatus"` // The ID of the bastion host with which the host is associated. BastionInstanceId pulumi.StringInput `pulumi:"bastionInstanceId"` // The numeric value of the CPU over commit ratio of the dedicated cluster. CpuAllocationRatio pulumi.StringInput `pulumi:"cpuAllocationRatio"` // The number of CPU cores used by the host. CpuUsed pulumi.StringInput `pulumi:"cpuUsed"` // The time when the host was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. CreateTime pulumi.StringInput `pulumi:"createTime"` // The ID of the dedicated cluster in which the host is created. DedicatedHostGroupId pulumi.StringInput `pulumi:"dedicatedHostGroupId"` // The ID of the host. DedicatedHostId pulumi.StringInput `pulumi:"dedicatedHostId"` // The disk usage in percentage. DiskAllocationRatio pulumi.StringInput `pulumi:"diskAllocationRatio"` // The Elastic Compute Service (ECS) instance type. EcsClassCode pulumi.StringInput `pulumi:"ecsClassCode"` // The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. EndTime pulumi.StringInput `pulumi:"endTime"` // The type of the database engine that is used by the host. Engine pulumi.StringInput `pulumi:"engine"` // The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC. ExpiredTime pulumi.StringInput `pulumi:"expiredTime"` // The instance type of the host. HostClass pulumi.StringInput `pulumi:"hostClass"` // The number of CPU cores specified for the host. Unit: `core`. HostCpu pulumi.StringInput `pulumi:"hostCpu"` // The memory of the host. Unit: `GB`. HostMem pulumi.StringInput `pulumi:"hostMem"` // The name of the host. HostName pulumi.StringInput `pulumi:"hostName"` // The total storage capacity of the host. Unit: `GB`. HostStorage pulumi.StringInput `pulumi:"hostStorage"` // The storage type of the host. HostType pulumi.StringInput `pulumi:"hostType"` // The ID of the Dedicated Host. The value formats as `<dedicated_host_group_id>:<dedicated_host_id>`. Id pulumi.StringInput `pulumi:"id"` // The image type of the host. ImageCategory pulumi.StringInput `pulumi:"imageCategory"` // The IP address of the host. IpAddress pulumi.StringInput `pulumi:"ipAddress"` // The memory usage in percentage. MemAllocationRatio pulumi.StringInput `pulumi:"memAllocationRatio"` // The amount of memory used by the host. Unit: `GB`. MemoryUsed pulumi.StringInput `pulumi:"memoryUsed"` // Indicates whether you have the OS permissions on the host. Valid values: `0`: You do not have the OS permissions on the host. `1`: You have the OS permissions on the host. OpenPermission pulumi.StringInput `pulumi:"openPermission"` // The state of the host. Status pulumi.StringInput `pulumi:"status"` // The storage usage of the host. Unit: `GB`. StorageUsed pulumi.StringInput `pulumi:"storageUsed"` // The tag of the resource. Tags pulumi.MapInput `pulumi:"tags"` // The ID of the virtual private cloud (VPC) to which the host is connected. VpcId pulumi.StringInput `pulumi:"vpcId"` // The ID of the vSwitch. VswitchId pulumi.StringInput `pulumi:"vswitchId"` // The zone ID of the host. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetDedicatedHostsHostArgs) ElementType ¶ added in v3.12.0
func (GetDedicatedHostsHostArgs) ElementType() reflect.Type
func (GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutput ¶ added in v3.12.0
func (i GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutputWithContext ¶ added in v3.12.0
func (i GetDedicatedHostsHostArgs) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput
type GetDedicatedHostsHostArray ¶ added in v3.12.0
type GetDedicatedHostsHostArray []GetDedicatedHostsHostInput
func (GetDedicatedHostsHostArray) ElementType ¶ added in v3.12.0
func (GetDedicatedHostsHostArray) ElementType() reflect.Type
func (GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput ¶ added in v3.12.0
func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
func (GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext ¶ added in v3.12.0
func (i GetDedicatedHostsHostArray) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
type GetDedicatedHostsHostArrayInput ¶ added in v3.12.0
type GetDedicatedHostsHostArrayInput interface { pulumi.Input ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput ToGetDedicatedHostsHostArrayOutputWithContext(context.Context) GetDedicatedHostsHostArrayOutput }
GetDedicatedHostsHostArrayInput is an input type that accepts GetDedicatedHostsHostArray and GetDedicatedHostsHostArrayOutput values. You can construct a concrete instance of `GetDedicatedHostsHostArrayInput` via:
GetDedicatedHostsHostArray{ GetDedicatedHostsHostArgs{...} }
type GetDedicatedHostsHostArrayOutput ¶ added in v3.12.0
type GetDedicatedHostsHostArrayOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostArrayOutput) ElementType ¶ added in v3.12.0
func (GetDedicatedHostsHostArrayOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostArrayOutput) Index ¶ added in v3.12.0
func (o GetDedicatedHostsHostArrayOutput) Index(i pulumi.IntInput) GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput ¶ added in v3.12.0
func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutput() GetDedicatedHostsHostArrayOutput
func (GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext ¶ added in v3.12.0
func (o GetDedicatedHostsHostArrayOutput) ToGetDedicatedHostsHostArrayOutputWithContext(ctx context.Context) GetDedicatedHostsHostArrayOutput
type GetDedicatedHostsHostInput ¶ added in v3.12.0
type GetDedicatedHostsHostInput interface { pulumi.Input ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput ToGetDedicatedHostsHostOutputWithContext(context.Context) GetDedicatedHostsHostOutput }
GetDedicatedHostsHostInput is an input type that accepts GetDedicatedHostsHostArgs and GetDedicatedHostsHostOutput values. You can construct a concrete instance of `GetDedicatedHostsHostInput` via:
GetDedicatedHostsHostArgs{...}
type GetDedicatedHostsHostOutput ¶ added in v3.12.0
type GetDedicatedHostsHostOutput struct{ *pulumi.OutputState }
func (GetDedicatedHostsHostOutput) AllocationStatus ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) AllocationStatus() pulumi.StringOutput
Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host.
func (GetDedicatedHostsHostOutput) BastionInstanceId ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) BastionInstanceId() pulumi.StringOutput
The ID of the bastion host with which the host is associated.
func (GetDedicatedHostsHostOutput) CpuAllocationRatio ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) CpuAllocationRatio() pulumi.StringOutput
The numeric value of the CPU over commit ratio of the dedicated cluster.
func (GetDedicatedHostsHostOutput) CpuUsed ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) CpuUsed() pulumi.StringOutput
The number of CPU cores used by the host.
func (GetDedicatedHostsHostOutput) CreateTime ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) CreateTime() pulumi.StringOutput
The time when the host was created. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
func (GetDedicatedHostsHostOutput) DedicatedHostGroupId ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) DedicatedHostGroupId() pulumi.StringOutput
The ID of the dedicated cluster in which the host is created.
func (GetDedicatedHostsHostOutput) DedicatedHostId ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) DedicatedHostId() pulumi.StringOutput
The ID of the host.
func (GetDedicatedHostsHostOutput) DiskAllocationRatio ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) DiskAllocationRatio() pulumi.StringOutput
The disk usage in percentage.
func (GetDedicatedHostsHostOutput) EcsClassCode ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) EcsClassCode() pulumi.StringOutput
The Elastic Compute Service (ECS) instance type.
func (GetDedicatedHostsHostOutput) ElementType ¶ added in v3.12.0
func (GetDedicatedHostsHostOutput) ElementType() reflect.Type
func (GetDedicatedHostsHostOutput) EndTime ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) EndTime() pulumi.StringOutput
The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
func (GetDedicatedHostsHostOutput) Engine ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) Engine() pulumi.StringOutput
The type of the database engine that is used by the host.
func (GetDedicatedHostsHostOutput) ExpiredTime ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) ExpiredTime() pulumi.StringOutput
The time when the host expires. The time follows the ISO 8601 standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
func (GetDedicatedHostsHostOutput) HostClass ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) HostClass() pulumi.StringOutput
The instance type of the host.
func (GetDedicatedHostsHostOutput) HostCpu ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) HostCpu() pulumi.StringOutput
The number of CPU cores specified for the host. Unit: `core`.
func (GetDedicatedHostsHostOutput) HostMem ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) HostMem() pulumi.StringOutput
The memory of the host. Unit: `GB`.
func (GetDedicatedHostsHostOutput) HostName ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) HostName() pulumi.StringOutput
The name of the host.
func (GetDedicatedHostsHostOutput) HostStorage ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) HostStorage() pulumi.StringOutput
The total storage capacity of the host. Unit: `GB`.
func (GetDedicatedHostsHostOutput) HostType ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) HostType() pulumi.StringOutput
The storage type of the host.
func (GetDedicatedHostsHostOutput) Id ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) Id() pulumi.StringOutput
The ID of the Dedicated Host. The value formats as `<dedicated_host_group_id>:<dedicated_host_id>`.
func (GetDedicatedHostsHostOutput) ImageCategory ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) ImageCategory() pulumi.StringOutput
The image type of the host.
func (GetDedicatedHostsHostOutput) IpAddress ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) IpAddress() pulumi.StringOutput
The IP address of the host.
func (GetDedicatedHostsHostOutput) MemAllocationRatio ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) MemAllocationRatio() pulumi.StringOutput
The memory usage in percentage.
func (GetDedicatedHostsHostOutput) MemoryUsed ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) MemoryUsed() pulumi.StringOutput
The amount of memory used by the host. Unit: `GB`.
func (GetDedicatedHostsHostOutput) OpenPermission ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) OpenPermission() pulumi.StringOutput
Indicates whether you have the OS permissions on the host. Valid values: `0`: You do not have the OS permissions on the host. `1`: You have the OS permissions on the host.
func (GetDedicatedHostsHostOutput) Status ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) Status() pulumi.StringOutput
The state of the host.
func (GetDedicatedHostsHostOutput) StorageUsed ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) StorageUsed() pulumi.StringOutput
The storage usage of the host. Unit: `GB`.
func (GetDedicatedHostsHostOutput) Tags ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) Tags() pulumi.MapOutput
The tag of the resource.
func (GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutput() GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) ToGetDedicatedHostsHostOutputWithContext(ctx context.Context) GetDedicatedHostsHostOutput
func (GetDedicatedHostsHostOutput) VpcId ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) VpcId() pulumi.StringOutput
The ID of the virtual private cloud (VPC) to which the host is connected.
func (GetDedicatedHostsHostOutput) VswitchId ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) VswitchId() pulumi.StringOutput
The ID of the vSwitch.
func (GetDedicatedHostsHostOutput) ZoneId ¶ added in v3.12.0
func (o GetDedicatedHostsHostOutput) ZoneId() pulumi.StringOutput
The zone ID of the host.
type GetDedicatedHostsOutputArgs ¶ added in v3.12.0
type GetDedicatedHostsOutputArgs struct { // Specifies whether instances can be created on the host. Valid values: `1` or `0`. `1`: Instances can be created on the host. `0`: Instances cannot be created on the host. AllocationStatus pulumi.StringPtrInput `pulumi:"allocationStatus"` // The ID of the dedicated cluster in which the host is created. DedicatedHostGroupId pulumi.StringInput `pulumi:"dedicatedHostGroupId"` // Default to `false`. Set it to `true` can output more details about resource attributes. EnableDetails pulumi.BoolPtrInput `pulumi:"enableDetails"` // The storage type of the host. HostType pulumi.StringPtrInput `pulumi:"hostType"` // A list of Dedicated Host IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The ID of the order. OrderId pulumi.StringPtrInput `pulumi:"orderId"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The state of the host. Status pulumi.StringPtrInput `pulumi:"status"` // The tag of the resource. Tags pulumi.MapInput `pulumi:"tags"` // The zone ID of the host. ZoneId pulumi.StringPtrInput `pulumi:"zoneId"` }
A collection of arguments for invoking getDedicatedHosts.
func (GetDedicatedHostsOutputArgs) ElementType ¶ added in v3.12.0
func (GetDedicatedHostsOutputArgs) ElementType() reflect.Type
type GetDedicatedHostsResult ¶ added in v3.12.0
type GetDedicatedHostsResult struct { AllocationStatus *string `pulumi:"allocationStatus"` DedicatedHostGroupId string `pulumi:"dedicatedHostGroupId"` EnableDetails *bool `pulumi:"enableDetails"` HostType *string `pulumi:"hostType"` Hosts []GetDedicatedHostsHost `pulumi:"hosts"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OrderId *string `pulumi:"orderId"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` Tags map[string]interface{} `pulumi:"tags"` ZoneId *string `pulumi:"zoneId"` }
A collection of values returned by getDedicatedHosts.
func GetDedicatedHosts ¶ added in v3.12.0
func GetDedicatedHosts(ctx *pulumi.Context, args *GetDedicatedHostsArgs, opts ...pulumi.InvokeOption) (*GetDedicatedHostsResult, error)
This data source provides the Cddc Dedicated Hosts of the current Alibaba Cloud user.
> **NOTE:** Available in v1.147.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{ DedicatedHostGroupId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, }, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostId1", ids.Hosts[0].Id) status, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{ DedicatedHostGroupId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, Status: pulumi.StringRef("1"), }, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostId2", status.Hosts[0].Id) zoneId, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{ DedicatedHostGroupId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, ZoneId: pulumi.StringRef("example_value"), }, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostId3", zoneId.Hosts[0].Id) allocationStatus, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{ DedicatedHostGroupId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, AllocationStatus: pulumi.StringRef("Allocatable"), }, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostId4", allocationStatus.Hosts[0].Id) hostType, err := cddc.GetDedicatedHosts(ctx, &cddc.GetDedicatedHostsArgs{ DedicatedHostGroupId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, HostType: pulumi.StringRef("dhg_cloud_ssd"), }, nil) if err != nil { return err } ctx.Export("cddcDedicatedHostId5", hostType.Hosts[0].Id) return nil }) }
```
type GetDedicatedHostsResultOutput ¶ added in v3.12.0
type GetDedicatedHostsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getDedicatedHosts.
func GetDedicatedHostsOutput ¶ added in v3.12.0
func GetDedicatedHostsOutput(ctx *pulumi.Context, args GetDedicatedHostsOutputArgs, opts ...pulumi.InvokeOption) GetDedicatedHostsResultOutput
func (GetDedicatedHostsResultOutput) AllocationStatus ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) AllocationStatus() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) DedicatedHostGroupId ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) DedicatedHostGroupId() pulumi.StringOutput
func (GetDedicatedHostsResultOutput) ElementType ¶ added in v3.12.0
func (GetDedicatedHostsResultOutput) ElementType() reflect.Type
func (GetDedicatedHostsResultOutput) EnableDetails ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) EnableDetails() pulumi.BoolPtrOutput
func (GetDedicatedHostsResultOutput) HostType ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) HostType() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) Hosts ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) Hosts() GetDedicatedHostsHostArrayOutput
func (GetDedicatedHostsResultOutput) Id ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetDedicatedHostsResultOutput) Ids ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) Ids() pulumi.StringArrayOutput
func (GetDedicatedHostsResultOutput) OrderId ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) OrderId() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) OutputFile ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) Status ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) Status() pulumi.StringPtrOutput
func (GetDedicatedHostsResultOutput) Tags ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) Tags() pulumi.MapOutput
func (GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutput() GetDedicatedHostsResultOutput
func (GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) ToGetDedicatedHostsResultOutputWithContext(ctx context.Context) GetDedicatedHostsResultOutput
func (GetDedicatedHostsResultOutput) ZoneId ¶ added in v3.12.0
func (o GetDedicatedHostsResultOutput) ZoneId() pulumi.StringPtrOutput
type GetHostEcsLevelInfosArgs ¶ added in v3.12.0
type GetHostEcsLevelInfosArgs struct { // The database engine of the host. Valid values: `mysql`, `mssql`, `pgsql`, `redis`. DbType string `pulumi:"dbType"` // Host image. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`. ImageCategory *string `pulumi:"imageCategory"` OutputFile *string `pulumi:"outputFile"` // The storage type of the host ecs level info. Valid values: `localSsd`, `cloudEssd`, `cloudEssd2`, `cloudEssd3`. StorageType string `pulumi:"storageType"` // The ID of the zone in the region. ZoneId string `pulumi:"zoneId"` }
A collection of arguments for invoking getHostEcsLevelInfos.
type GetHostEcsLevelInfosInfo ¶ added in v3.12.0
type GetHostEcsLevelInfosInfo struct { // The description of the host ecs level info. Description string `pulumi:"description"` // The instance family of the host ecs level info. EcsClass string `pulumi:"ecsClass"` // The Elastic Compute Service (ECS) instance type. EcsClassCode string `pulumi:"ecsClassCode"` // The ApsaraDB RDS instance type of the host ecs level info. ResClassCode string `pulumi:"resClassCode"` }
type GetHostEcsLevelInfosInfoArgs ¶ added in v3.12.0
type GetHostEcsLevelInfosInfoArgs struct { // The description of the host ecs level info. Description pulumi.StringInput `pulumi:"description"` // The instance family of the host ecs level info. EcsClass pulumi.StringInput `pulumi:"ecsClass"` // The Elastic Compute Service (ECS) instance type. EcsClassCode pulumi.StringInput `pulumi:"ecsClassCode"` // The ApsaraDB RDS instance type of the host ecs level info. ResClassCode pulumi.StringInput `pulumi:"resClassCode"` }
func (GetHostEcsLevelInfosInfoArgs) ElementType ¶ added in v3.12.0
func (GetHostEcsLevelInfosInfoArgs) ElementType() reflect.Type
func (GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutput ¶ added in v3.12.0
func (i GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput
func (GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutputWithContext ¶ added in v3.12.0
func (i GetHostEcsLevelInfosInfoArgs) ToGetHostEcsLevelInfosInfoOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoOutput
type GetHostEcsLevelInfosInfoArray ¶ added in v3.12.0
type GetHostEcsLevelInfosInfoArray []GetHostEcsLevelInfosInfoInput
func (GetHostEcsLevelInfosInfoArray) ElementType ¶ added in v3.12.0
func (GetHostEcsLevelInfosInfoArray) ElementType() reflect.Type
func (GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutput ¶ added in v3.12.0
func (i GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput
func (GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutputWithContext ¶ added in v3.12.0
func (i GetHostEcsLevelInfosInfoArray) ToGetHostEcsLevelInfosInfoArrayOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoArrayOutput
type GetHostEcsLevelInfosInfoArrayInput ¶ added in v3.12.0
type GetHostEcsLevelInfosInfoArrayInput interface { pulumi.Input ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput ToGetHostEcsLevelInfosInfoArrayOutputWithContext(context.Context) GetHostEcsLevelInfosInfoArrayOutput }
GetHostEcsLevelInfosInfoArrayInput is an input type that accepts GetHostEcsLevelInfosInfoArray and GetHostEcsLevelInfosInfoArrayOutput values. You can construct a concrete instance of `GetHostEcsLevelInfosInfoArrayInput` via:
GetHostEcsLevelInfosInfoArray{ GetHostEcsLevelInfosInfoArgs{...} }
type GetHostEcsLevelInfosInfoArrayOutput ¶ added in v3.12.0
type GetHostEcsLevelInfosInfoArrayOutput struct{ *pulumi.OutputState }
func (GetHostEcsLevelInfosInfoArrayOutput) ElementType ¶ added in v3.12.0
func (GetHostEcsLevelInfosInfoArrayOutput) ElementType() reflect.Type
func (GetHostEcsLevelInfosInfoArrayOutput) Index ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoArrayOutput) Index(i pulumi.IntInput) GetHostEcsLevelInfosInfoOutput
func (GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutput ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutput() GetHostEcsLevelInfosInfoArrayOutput
func (GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutputWithContext ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoArrayOutput) ToGetHostEcsLevelInfosInfoArrayOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoArrayOutput
type GetHostEcsLevelInfosInfoInput ¶ added in v3.12.0
type GetHostEcsLevelInfosInfoInput interface { pulumi.Input ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput ToGetHostEcsLevelInfosInfoOutputWithContext(context.Context) GetHostEcsLevelInfosInfoOutput }
GetHostEcsLevelInfosInfoInput is an input type that accepts GetHostEcsLevelInfosInfoArgs and GetHostEcsLevelInfosInfoOutput values. You can construct a concrete instance of `GetHostEcsLevelInfosInfoInput` via:
GetHostEcsLevelInfosInfoArgs{...}
type GetHostEcsLevelInfosInfoOutput ¶ added in v3.12.0
type GetHostEcsLevelInfosInfoOutput struct{ *pulumi.OutputState }
func (GetHostEcsLevelInfosInfoOutput) Description ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoOutput) Description() pulumi.StringOutput
The description of the host ecs level info.
func (GetHostEcsLevelInfosInfoOutput) EcsClass ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoOutput) EcsClass() pulumi.StringOutput
The instance family of the host ecs level info.
func (GetHostEcsLevelInfosInfoOutput) EcsClassCode ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoOutput) EcsClassCode() pulumi.StringOutput
The Elastic Compute Service (ECS) instance type.
func (GetHostEcsLevelInfosInfoOutput) ElementType ¶ added in v3.12.0
func (GetHostEcsLevelInfosInfoOutput) ElementType() reflect.Type
func (GetHostEcsLevelInfosInfoOutput) ResClassCode ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoOutput) ResClassCode() pulumi.StringOutput
The ApsaraDB RDS instance type of the host ecs level info.
func (GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutput ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutput() GetHostEcsLevelInfosInfoOutput
func (GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutputWithContext ¶ added in v3.12.0
func (o GetHostEcsLevelInfosInfoOutput) ToGetHostEcsLevelInfosInfoOutputWithContext(ctx context.Context) GetHostEcsLevelInfosInfoOutput
type GetHostEcsLevelInfosOutputArgs ¶ added in v3.12.0
type GetHostEcsLevelInfosOutputArgs struct { // The database engine of the host. Valid values: `mysql`, `mssql`, `pgsql`, `redis`. DbType pulumi.StringInput `pulumi:"dbType"` // Host image. Valid values: `WindowsWithMssqlEntAlwaysonLicense`, `WindowsWithMssqlStdLicense`, `WindowsWithMssqlEntLicense`, `WindowsWithMssqlWebLicense`, `AliLinux`. ImageCategory pulumi.StringPtrInput `pulumi:"imageCategory"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The storage type of the host ecs level info. Valid values: `localSsd`, `cloudEssd`, `cloudEssd2`, `cloudEssd3`. StorageType pulumi.StringInput `pulumi:"storageType"` // The ID of the zone in the region. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
A collection of arguments for invoking getHostEcsLevelInfos.
func (GetHostEcsLevelInfosOutputArgs) ElementType ¶ added in v3.12.0
func (GetHostEcsLevelInfosOutputArgs) ElementType() reflect.Type
type GetHostEcsLevelInfosResult ¶ added in v3.12.0
type GetHostEcsLevelInfosResult struct { DbType string `pulumi:"dbType"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` ImageCategory *string `pulumi:"imageCategory"` Infos []GetHostEcsLevelInfosInfo `pulumi:"infos"` OutputFile *string `pulumi:"outputFile"` StorageType string `pulumi:"storageType"` ZoneId string `pulumi:"zoneId"` }
A collection of values returned by getHostEcsLevelInfos.
func GetHostEcsLevelInfos ¶ added in v3.12.0
func GetHostEcsLevelInfos(ctx *pulumi.Context, args *GetHostEcsLevelInfosArgs, opts ...pulumi.InvokeOption) (*GetHostEcsLevelInfosResult, error)
This data source provides the Cddc Host Ecs Level Infos of the current Alibaba Cloud user.
> **NOTE:** Available in v1.147.0+.
type GetHostEcsLevelInfosResultOutput ¶ added in v3.12.0
type GetHostEcsLevelInfosResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHostEcsLevelInfos.
func GetHostEcsLevelInfosOutput ¶ added in v3.12.0
func GetHostEcsLevelInfosOutput(ctx *pulumi.Context, args GetHostEcsLevelInfosOutputArgs, opts ...pulumi.InvokeOption) GetHostEcsLevelInfosResultOutput
func (GetHostEcsLevelInfosResultOutput) DbType ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) DbType() pulumi.StringOutput
func (GetHostEcsLevelInfosResultOutput) ElementType ¶ added in v3.12.0
func (GetHostEcsLevelInfosResultOutput) ElementType() reflect.Type
func (GetHostEcsLevelInfosResultOutput) Id ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHostEcsLevelInfosResultOutput) ImageCategory ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) ImageCategory() pulumi.StringPtrOutput
func (GetHostEcsLevelInfosResultOutput) Infos ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) Infos() GetHostEcsLevelInfosInfoArrayOutput
func (GetHostEcsLevelInfosResultOutput) OutputFile ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetHostEcsLevelInfosResultOutput) StorageType ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) StorageType() pulumi.StringOutput
func (GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutput ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutput() GetHostEcsLevelInfosResultOutput
func (GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutputWithContext ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) ToGetHostEcsLevelInfosResultOutputWithContext(ctx context.Context) GetHostEcsLevelInfosResultOutput
func (GetHostEcsLevelInfosResultOutput) ZoneId ¶ added in v3.12.0
func (o GetHostEcsLevelInfosResultOutput) ZoneId() pulumi.StringOutput
type GetZonesArgs ¶ added in v3.12.0
type GetZonesArgs struct {
OutputFile *string `pulumi:"outputFile"`
}
A collection of arguments for invoking getZones.
type GetZonesOutputArgs ¶ added in v3.12.0
type GetZonesOutputArgs struct {
OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}
A collection of arguments for invoking getZones.
func (GetZonesOutputArgs) ElementType ¶ added in v3.12.0
func (GetZonesOutputArgs) ElementType() reflect.Type
type GetZonesResult ¶ added in v3.12.0
type GetZonesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` Zones []GetZonesZone `pulumi:"zones"` }
A collection of values returned by getZones.
func GetZones ¶ added in v3.12.0
func GetZones(ctx *pulumi.Context, args *GetZonesArgs, opts ...pulumi.InvokeOption) (*GetZonesResult, error)
This data source provides the Cddc Zones of the current Alibaba Cloud user.
> **NOTE:** Available in v1.147.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/cddc" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { example, err := cddc.GetZones(ctx, nil, nil) if err != nil { return err } ctx.Export("cddcZonesId1", example.Zones[0].Id) return nil }) }
```
type GetZonesResultOutput ¶ added in v3.12.0
type GetZonesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getZones.
func GetZonesOutput ¶ added in v3.12.0
func GetZonesOutput(ctx *pulumi.Context, args GetZonesOutputArgs, opts ...pulumi.InvokeOption) GetZonesResultOutput
func (GetZonesResultOutput) ElementType ¶ added in v3.12.0
func (GetZonesResultOutput) ElementType() reflect.Type
func (GetZonesResultOutput) Id ¶ added in v3.12.0
func (o GetZonesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetZonesResultOutput) Ids ¶ added in v3.12.0
func (o GetZonesResultOutput) Ids() pulumi.StringArrayOutput
func (GetZonesResultOutput) OutputFile ¶ added in v3.12.0
func (o GetZonesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetZonesResultOutput) ToGetZonesResultOutput ¶ added in v3.12.0
func (o GetZonesResultOutput) ToGetZonesResultOutput() GetZonesResultOutput
func (GetZonesResultOutput) ToGetZonesResultOutputWithContext ¶ added in v3.12.0
func (o GetZonesResultOutput) ToGetZonesResultOutputWithContext(ctx context.Context) GetZonesResultOutput
func (GetZonesResultOutput) Zones ¶ added in v3.12.0
func (o GetZonesResultOutput) Zones() GetZonesZoneArrayOutput
type GetZonesZone ¶ added in v3.12.0
type GetZonesZoneArgs ¶ added in v3.12.0
type GetZonesZoneArgs struct { // The ID of the zone. Id pulumi.StringInput `pulumi:"id"` // The ID of the region. RegionId pulumi.StringInput `pulumi:"regionId"` // The ID of the zone. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetZonesZoneArgs) ElementType ¶ added in v3.12.0
func (GetZonesZoneArgs) ElementType() reflect.Type
func (GetZonesZoneArgs) ToGetZonesZoneOutput ¶ added in v3.12.0
func (i GetZonesZoneArgs) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneArgs) ToGetZonesZoneOutputWithContext ¶ added in v3.12.0
func (i GetZonesZoneArgs) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
type GetZonesZoneArray ¶ added in v3.12.0
type GetZonesZoneArray []GetZonesZoneInput
func (GetZonesZoneArray) ElementType ¶ added in v3.12.0
func (GetZonesZoneArray) ElementType() reflect.Type
func (GetZonesZoneArray) ToGetZonesZoneArrayOutput ¶ added in v3.12.0
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext ¶ added in v3.12.0
func (i GetZonesZoneArray) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneArrayInput ¶ added in v3.12.0
type GetZonesZoneArrayInput interface { pulumi.Input ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput ToGetZonesZoneArrayOutputWithContext(context.Context) GetZonesZoneArrayOutput }
GetZonesZoneArrayInput is an input type that accepts GetZonesZoneArray and GetZonesZoneArrayOutput values. You can construct a concrete instance of `GetZonesZoneArrayInput` via:
GetZonesZoneArray{ GetZonesZoneArgs{...} }
type GetZonesZoneArrayOutput ¶ added in v3.12.0
type GetZonesZoneArrayOutput struct{ *pulumi.OutputState }
func (GetZonesZoneArrayOutput) ElementType ¶ added in v3.12.0
func (GetZonesZoneArrayOutput) ElementType() reflect.Type
func (GetZonesZoneArrayOutput) Index ¶ added in v3.12.0
func (o GetZonesZoneArrayOutput) Index(i pulumi.IntInput) GetZonesZoneOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput ¶ added in v3.12.0
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutput() GetZonesZoneArrayOutput
func (GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext ¶ added in v3.12.0
func (o GetZonesZoneArrayOutput) ToGetZonesZoneArrayOutputWithContext(ctx context.Context) GetZonesZoneArrayOutput
type GetZonesZoneInput ¶ added in v3.12.0
type GetZonesZoneInput interface { pulumi.Input ToGetZonesZoneOutput() GetZonesZoneOutput ToGetZonesZoneOutputWithContext(context.Context) GetZonesZoneOutput }
GetZonesZoneInput is an input type that accepts GetZonesZoneArgs and GetZonesZoneOutput values. You can construct a concrete instance of `GetZonesZoneInput` via:
GetZonesZoneArgs{...}
type GetZonesZoneOutput ¶ added in v3.12.0
type GetZonesZoneOutput struct{ *pulumi.OutputState }
func (GetZonesZoneOutput) ElementType ¶ added in v3.12.0
func (GetZonesZoneOutput) ElementType() reflect.Type
func (GetZonesZoneOutput) Id ¶ added in v3.12.0
func (o GetZonesZoneOutput) Id() pulumi.StringOutput
The ID of the zone.
func (GetZonesZoneOutput) RegionId ¶ added in v3.12.0
func (o GetZonesZoneOutput) RegionId() pulumi.StringOutput
The ID of the region.
func (GetZonesZoneOutput) ToGetZonesZoneOutput ¶ added in v3.12.0
func (o GetZonesZoneOutput) ToGetZonesZoneOutput() GetZonesZoneOutput
func (GetZonesZoneOutput) ToGetZonesZoneOutputWithContext ¶ added in v3.12.0
func (o GetZonesZoneOutput) ToGetZonesZoneOutputWithContext(ctx context.Context) GetZonesZoneOutput
func (GetZonesZoneOutput) ZoneId ¶ added in v3.12.0
func (o GetZonesZoneOutput) ZoneId() pulumi.StringOutput
The ID of the zone.