调用DescribeMultiZoneCluster可以获取多可用区实例的详情信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
请求参数
名称 |
类型 |
是否必选 |
示例值 |
描述 |
名称 |
类型 |
是否必选 |
示例值 |
描述 |
Action | String | 是 | DescribeMultiZoneCluster | 系统规定参数。取值:DescribeMultiZoneCluster。 |
ClusterId | String | 是 | ld-t4nn71xa0yn**** | 多可用区实例的Id,可通过DescribeInstances获取列表,列表中DbType为hbaseue且ModuleStackVersion为2.0的多可用区实例。 |
返回数据
示例
请求示例
http(s)://[Endpoint]/?Action=DescribeMultiZoneCluster
&ClusterId=ld-t4nn71xa0yn****
&<公共请求参数>
正常返回示例
XML
格式
HTTP/1.1 200 OK
Content-Type:application/xml
<StandbyZoneId>ap-southeast-1b</StandbyZoneId>
<ModuleStackVersion>2.0</ModuleStackVersion>
<CreatedTime>2020-10-15T18:04:52</CreatedTime>
<ResourceGroupId>rg-lk51f5fer315e****</ResourceGroupId>
<PrimaryVSwitchIds>vsw-t4n3s1zd2gtidg****</PrimaryVSwitchIds>
<MasterInstanceType>hbase.sn1.large</MasterInstanceType>
<LogDiskCount>4</LogDiskCount>
<IsDeletionProtection>false</IsDeletionProtection>
<LogDiskSize>100</LogDiskSize>
<ModuleId>0</ModuleId>
<ArbiterVSwitchIds>vsw-t4nax9mp3wk0czn****</ArbiterVSwitchIds>
<MaintainEndTime>06:00:00</MaintainEndTime>
<StandbyVSwitchIds>vsw-t4nvvk7xur3rdi****</StandbyVSwitchIds>
<NetworkType>VPC</NetworkType>
<CoreInstanceType>hbase.sn1.large</CoreInstanceType>
<ClusterName>mz_test</ClusterName>
<MasterDiskType>cloud_efficiency</MasterDiskType>
<MaintainStartTime>02:00:00</MaintainStartTime>
<Engine>hbaseue</Engine>
<Tags>
<Tag>
<Value>test_value</Value>
<Key>test_key</Key>
</Tag>
</Tags>
<ArbiterZoneId>ap-southeast-1c</ArbiterZoneId>
<Status>ACTIVATION</Status>
<ParentId>ld-fls1gf31y5s35****</ParentId>
<CoreDiskCount>4</CoreDiskCount>
<MajorVersion>2.0</MajorVersion>
<MultiZoneInstanceModels>
<MultiZoneInstanceModel>
<Role>primary</Role>
<Status>ACTIVATION</Status>
<IsLatestVersion>true</IsLatestVersion>
<MinorVersion>2.1.24</MinorVersion>
<InsName>ld-t4nn71xa0yn****-az-a</InsName>
</MultiZoneInstanceModel>
</MultiZoneInstanceModels>
<PrimaryZoneId>ap-southeast-1a</PrimaryZoneId>
<MasterDiskSize>50</MasterDiskSize>
<ExpireTimeUTC>2020-11-16T00:00:00Z</ExpireTimeUTC>
<MultiZoneCombination>ap-southeast-1-abc-aliyun</MultiZoneCombination>
<RequestId>A02C0E6D-3A47-4FA0-BA7E-60793CE256DA</RequestId>
<CoreNodeCount>6</CoreNodeCount>
<InstanceId>ld-t4nn71xa0yn****</InstanceId>
<ClusterId>ld-t4nn71xa0yn****</ClusterId>
<CreatedTimeUTC>2020-10-15T10:04:52Z</CreatedTimeUTC>
<LogInstanceType>hbase.sn1.large</LogInstanceType>
<Duration>1</Duration>
<EncryptionKey>2a****</EncryptionKey>
<EncryptionType>CloudDisk</EncryptionType>
<PayType>Prepaid</PayType>
<MasterNodeCount>2</MasterNodeCount>
<InstanceName>mz_test</InstanceName>
<VpcId>vpc-t4nx81tmlixcq5****</VpcId>
<AutoRenewal>false</AutoRenewal>
<LogNodeCount>4</LogNodeCount>
<CoreDiskType>cloud_efficiency</CoreDiskType>
<LogDiskType>cloud_efficiency</LogDiskType>
<RegionId>ap-southeast-1</RegionId>
<ExpireTime>2020-11-16T08:00:00</ExpireTime>
<CoreDiskSize>100</CoreDiskSize>
JSON
格式
HTTP/1.1 200 OK
Content-Type:application/json
{
"StandbyZoneId" : "ap-southeast-1b",
"ModuleStackVersion" : "2.0",
"CreatedTime" : "2020-10-15T18:04:52",
"ResourceGroupId" : "rg-lk51f5fer315e****",
"PrimaryVSwitchIds" : "vsw-t4n3s1zd2gtidg****",
"MasterInstanceType" : "hbase.sn1.large",
"LogDiskCount" : "4",
"IsDeletionProtection" : "false",
"LogDiskSize" : "100",
"ModuleId" : "0",
"ArbiterVSwitchIds" : "vsw-t4nax9mp3wk0czn****",
"MaintainEndTime" : "06:00:00",
"StandbyVSwitchIds" : "vsw-t4nvvk7xur3rdi****",
"NetworkType" : "VPC",
"CoreInstanceType" : "hbase.sn1.large",
"ClusterName" : "mz_test",
"MasterDiskType" : "cloud_efficiency",
"MaintainStartTime" : "02:00:00",
"Engine" : "hbaseue",
"Tags" : {
"Tag" : [ {
"Value" : "test_value",
"Key" : "test_key"
} ]
},
"ArbiterZoneId" : "ap-southeast-1c",
"Status" : "ACTIVATION",
"ParentId" : "ld-fls1gf31y5s35****",
"CoreDiskCount" : "4",
"MajorVersion" : "2.0",
"MultiZoneInstanceModels" : {
"MultiZoneInstanceModel" : [ {
"Role" : "primary",
"Status" : "ACTIVATION",
"IsLatestVersion" : "true",
"MinorVersion" : "2.1.24",
"InsName" : "ld-t4nn71xa0yn****-az-a"
} ]
},
"PrimaryZoneId" : "ap-southeast-1a",
"MasterDiskSize" : "50",
"ExpireTimeUTC" : "2020-11-16T00:00:00Z",
"MultiZoneCombination" : "ap-southeast-1-abc-aliyun",
"RequestId" : "A02C0E6D-3A47-4FA0-BA7E-60793CE256DA",
"CoreNodeCount" : "6",
"InstanceId" : "ld-t4nn71xa0yn****",
"ClusterId" : "ld-t4nn71xa0yn****",
"CreatedTimeUTC" : "2020-10-15T10:04:52Z",
"LogInstanceType" : "hbase.sn1.large",
"Duration" : "1",
"EncryptionKey" : "2a****",
"EncryptionType" : "CloudDisk",
"PayType" : "Prepaid",
"MasterNodeCount" : "2",
"InstanceName" : "mz_test",
"VpcId" : "vpc-t4nx81tmlixcq5****",
"AutoRenewal" : "false",
"LogNodeCount" : "4",
"CoreDiskType" : "cloud_efficiency",
"LogDiskType" : "cloud_efficiency",
"RegionId" : "ap-southeast-1",
"ExpireTime" : "2020-11-16T08:00:00",
"CoreDiskSize" : "100"
}
错误码
访问错误中心查看更多错误码。
该文章对您有帮助吗?
- 本页导读 (1)
- 调试
- 请求参数
- 返回数据
- 示例
- 错误码