Queries the parameter settings of a host in a dedicated cluster.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RegionId | string | No | cn-hangzhou | |
DedicatedHostId | string | Yes | The host ID. You can log on to the ApsaraDB for MyBase console and go to the Hosts page to view the host ID. | ch-bp10a5id3boqi**** |
DedicatedHostGroupId | string | Yes | The ID of the dedicated cluster in which the host is created. You can log on to the ApsaraDB for MyBase console and go to the Dedicated Clusters page to view the dedicated cluster ID. | dhg-34639v1jt4y4**** |
Response parameters
Examples
Sample success responses
JSON
format
{
"HostType": "dhg_cloud_ssd",
"HostStorage": 100,
"InstanceNumberROSlave": 1,
"AccountType": "Admin",
"MemoryUsed": "24576",
"DedicatedHostGroupId": "dhg-34639v1jt4y4****",
"RequestId": "00A001D6-2630-5CBD-A23C-80BC1BAFDC31",
"InstanceNumberROMaster": 1,
"AllocationStatus": "Suspended",
"StorageUsed": "588800",
"EcsClassCode": "ecs.r5.16xlarge",
"DedicatedHostId": "ch-bp10a5id3boqi****",
"MemAllocationRatio": "90",
"CreatedTime": "2021-11-13T07:14:22Z",
"IPAddress": "192.168.XX.XX",
"AutoRenew": "false",
"HostStatus": "1",
"HostName": "ch-8vbj9x74z874o****",
"HostCPU": 16,
"OpenPermission": "1",
"InstanceNumber": 3,
"CpuUsed": "36",
"VPCId": "vpc-wz9vu1jb32wn3sdd6****",
"HostClass": "mssql.host.c2xlarge",
"RegionId": "cn-hangzhou",
"InstanceNumberMaster": 4,
"VSwitchId": "vsw-bp1kaugqyrzb58oc1****",
"InstanceNumberSlave": 1,
"ExpiredTime": "2022-03-16T16:00:00Z",
"ZoneId": "cn-hangzhou-h",
"CPUAllocationRatio": "200",
"ImageCategory": "WindowsWithMssqlStdLicense",
"DiskAllocationRatio": "200",
"HostMem": 2048,
"AccountName": "cdp_system",
"DistributionTag": "tag"
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
400 | InvalidUserId.NotSupport | The userid have no permission. | - |
403 | Forbidden.RAM | User not authorized to operate on the specified resource, or this API does not support RAM. | The user is not authorized to operate on the specified resource. |
403 | Permission.NotSupport | The user permission does not support the operation. | The user does not have permission to perform the operation. |
404 | InvalidDedicatedHostGroup.NotFound | Specified DedicatedHostGroup does not exists. | - |
For a list of error codes, visit the Service error codes.