Querying MSDTC Hosts
Function
This API is used to query MSDTC hosts.
- Before calling this API, learn how to authenticate it.
- Before calling this API, learn about request header parameters.
URI
- Parameter description
Table 1 Parameters Parameter
Mandatory
Type
Description
project_id
Yes
String
Definition
Project ID of a tenant in a region.
To obtain the value, see Obtaining a Project ID.
Constraints
N/A
Range
N/A
Default Value
N/A
instance_id
Yes
String
Definition
Instance ID.
Constraints
N/A
Range
N/A
Default Value
N/A
offset
No
Integer
Definition
Index offset. The query starts from the next piece of data indexed by this parameter.
Constraints
N/A
Range
The value must be a non-negative number.
Default Value
The default value is 0, indicating that the query starts from the first data record.
limit
No
Integer
Definition
Number of records returned by a query.
Constraints
N/A
Range
1–100
Default Value
10
Request
Response
- Normal response
Table 2 Parameters Parameter
Type
Description
total_count
Integer
Definition
Total number of hosts.
Range
N/A
hosts
Array of objects
Definition
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