Queries the status of outbound data transfer billing for the current account.
Usage notes
You can call this API operation to query the status of outbound data transfer billing for the current account. For more information about outbound data transfer billing, see Outbound data transfer billing and Billing.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | GetPhysicalConnectionServiceStatus |
The operation that you want to perform. Set the value to GetPhysicalConnectionServiceStatus. |
RegionId | String | Yes | cn-hangzhou |
The ID of the region for which you want to query the status of outbound data transfer billing. You can call the DescribeRegions operation to query the most recent region list. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 54B48E3D-DF70-471B-AA93-08E683A1B45 |
The ID of the request. |
Enabled | Boolean | true |
Indicates whether billing for outbound data transfer is enabled. Valid values:
|
Examples
Sample requests
http(s)://[Endpoint]/?Action=GetPhysicalConnectionServiceStatus
&RegionId=cn-hangzhou
&Common request parameters
Sample success responses
XML
format
HTTP/1.1 200 OK
Content-Type:application/xml
<GetPhysicalConnectionServiceStatusResponse>
<RequestId>54B48E3D-DF70-471B-AA93-08E683A1B45</RequestId>
<Enabled>true</Enabled>
</GetPhysicalConnectionServiceStatusResponse>
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "54B48E3D-DF70-471B-AA93-08E683A1B45",
"Enabled" : true
}
Error codes
For a list of error codes, visit the API Error Center.