Querying MSDTC Hosts
Function
This API is used to query MSDTC hosts.
- Before calling an API, you need to understand the API in Authentication.
URI
- Parameter description
Table 1 Parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Project ID of a tenant in a region.
For details about how to obtain the project ID, see Obtaining a Project ID.
instance_id
Yes
String
Instance ID.
offset
No
Integer
Pagination parameter. The minimum value is 0.
Default value: 0
limit
No
Integer
Pagination parameter. The value ranges from 1 to 100.
Default value: 10
Request
Response
- Normal response
Table 2 Parameters Parameter
Type
Description
total_count
Integer
Total number of hosts.
hosts
Array of objects
Host list.
For details, see Table 3.
- Example normal response
{ "total_count" : 1, "hosts" : [ { "id" : "527dd9ca-cc2c-4bac-8707-f9b4f55343f4", "host" : "192.168.0.90", "host_name" : "MSSQL-00E5FB7A" } ] }
- Abnormal response
For details, see Abnormal Request Results.
Status Code
- Normal
- Abnormal
For details, see Status Codes.
Error Code
For details, see Error Codes.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot