Queries one or more Quality of Service (QoS) policies.

Debug

Use OpenAPI Explorer to perform debug operations and generate SDK code examples.

Request parameters

Parameter Type Required? Example value Description
RegionId String Yes cn-hangzhou

The ID of the region to which the QoS policy to be queried belongs.

Action String No DescribeQoses

The name of this action.

Value: DescribeQoses

PageNumber Integer No 3

The current page number.

PageSize Integer No 2

The number of entries on the current page.

QosIds String No qos-awfxl1adxeqykl***

The instance ID of the QoS policy to be queried.

QosName String No doctest

The name of the QoS policy.

Response parameters

Parameter Type Example value Description
PageNumber Integer 2

The current page number.

PageSize Integer 3

The number of entries on the current page.

Qoses

The details of the QoS policy.

QosId String qos-xhwhyuo43l********

The instance ID of the QoS policy.

QosName String doctest

The name of the Qos policy.

SagCount String 2

The number of Smart Access Gateway (SAG) instances associated with the QoS policy.

SmartAGIds String sag-x34wj76fe0vhw*****,sag-jp04l844chg16*****

The list of SAG instances associated with the QoS policy.

RequestId String 23DD7A46-C36C-4593-A05C-E890252C5A38

The ID of the request.

TotalCount Integer 3

The total number of entries.

Examples

Request example


http(s)://[Endpoint]/? Action=DescribeQoses
&RegionId=cn-hangzhou
&<CommonParameters>

Response example

XML format

<DescribeQosesResponse>
	  <PageNumber>1</PageNumber>
	  <PageSize>10</PageSize>
	  <Qoses>
		    <Qos>
			      <QosId>qos-1lcl9gv5ew7xaro6b2</QosId>
			      <QosName>bvt-test-name1566440907</QosName>
			      <SagCount>2</SagCount>
			      <SmartAGIds>sag-x34wj76fe0vhwxbpwr,sag-jp04l844chg16vjobw</SmartAGIds>
		    </Qos>
	  </Qoses>
	  <RequestId>CCC5FADB-9363-4D21-8121-7AF72DA3F5EF</RequestId>
	  <TotalCount>1</TotalCount>
    </DescribeQosesResponse>

JSON format

{
	"PageNumber":1,
	"TotalCount":1,
	"PageSize":10,
	"RequestId":"CCC5FADB-9363-4D21-8121-7AF72DA3F5EF",
	"Qoses":{
		"Qos":[
			{
				"SagCount":2,
				"QosName":"bvt-test-name1566440907",
				"SmartAGIds":"sag-x34wj76fe0vhwxbpwr,sag-jp04l844chg16vjobw",
				"QosId":"qos-1lcl9gv5ew7xaro6b2"
			}
		]
	}
}

Errors

HTTP status code Error code Error message Description
403 InvalidParameter The specified parameter is invalid. The specified parameter is invalid.
403 MissingParameter The input parameter is missing, please check your input. One or more required parameters are missing.
403 InternalError An internal server error occurred. An internal error has occurred.

For a list of error codes, visit the API Error Center.