Queries regions in which log storage is supported.
Debugging
Request parameter
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DescribeDcdnOfflineLogDeliveryRegions |
The operation that you want to perform. Set the value to DescribeDcdnOfflineLogDeliveryRegions. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
Areas | Array of Area |
The information about the region where the log data is stored. |
|
AreaId | String | cn |
The ID of the region. |
AreaName | String | Mainland China |
The name of the region. |
RegionInfos | Array of RegionInfo |
The region settings. |
|
IsOverseas | String | N |
Indicates whether the region is outside the Chinese mainland. Valid values:
|
OssEndpoint | String | oss-cn-hangzhou.aliyuncs.com |
The endpoint of the Object Storage Service (OSS) bucket to which the log data is delivered. |
RegionId | String | cn-hangzhou |
The ID of the region. |
RegionName | String | China (Hangzhou) |
The name of the region. |
RequestId | String | A946DC89-6F22-493A-83AA-3A25B80CCA67 |
The ID of the request. |
Examples
Sample requests
http(s)://dcdn.aliyuncs.com/?Action=DescribeDcdnOfflineLogDeliveryRegions
&<Common request parameters>
Sample success responses
XML
format
<DescribeDcdnOfflineLogDeliveryRegionsResponse>
<RequestId>A946DC89-6F22-493A-83AA-3A25B80CCA67</RequestId>
<Areas>
<AreaName>Mainland China</AreaName>
<AreaId>cn</AreaId>
<RegionInfos>
<IsOverseas>N</IsOverseas>
<OssEndpoint>oss-cn-shanghai.aliyuncs.com</OssEndpoint>
<RegionName>China (Shanghai)</RegionName>
<RegionId>cn-shanghai</RegionId>
</RegionInfos>
<RegionInfos>
<IsOverseas>N</IsOverseas>
<OssEndpoint>oss-cn-beijing.aliyuncs.com</OssEndpoint>
<RegionName>China (Beijing)</RegionName>
<RegionId>cn-beijing</RegionId>
</RegionInfos>
<RegionInfos>
<IsOverseas>N</IsOverseas>
<OssEndpoint>oss-cn-hangzhou.aliyuncs.com</OssEndpoint>
<RegionName>China (Hangzhou)</RegionName>
<RegionId>cn-hangzhou</RegionId>
</RegionInfos>
</Areas>
<Areas>
<AreaName>Other regions</AreaName>
<AreaId>sg</AreaId>
<RegionInfos>
<IsOverseas>Y</IsOverseas>
<OssEndpoint>oss-ap-southeast-1.aliyuncs.com</OssEndpoint>
<RegionName>Singapore (Singapore)</RegionName>
<RegionId>ap-southeast-1</RegionId>
</RegionInfos>
</Areas>
<Areas>
<AreaName>India</AreaName>
<AreaId>in</AreaId>
<RegionInfos>
<IsOverseas>Y</IsOverseas>
<OssEndpoint>oss-ap-south-1.aliyuncs.com</OssEndpoint>
<RegionName>India (Mumbai)</RegionName>
<RegionId>ap-south-1</RegionId>
</RegionInfos>
</Areas>
<Areas>
<AreaName>Europe</AreaName>
<AreaId>eu</AreaId>
<RegionInfos>
<IsOverseas>Y</IsOverseas>
<OssEndpoint>oss-eu-central-1.aliyuncs.com</OssEndpoint>
<RegionName>Germany (Frankfurt)</RegionName>
<RegionId>eu-central-1</RegionId>
</RegionInfos>
</Areas>
<Areas>
<AreaName>US</AreaName>
<AreaId>us</AreaId>
<RegionInfos>
<IsOverseas>Y</IsOverseas>
<OssEndpoint>oss-us-west-1.aliyuncs.com</OssEndpoint>
<RegionName>US (Silicon Valley)</RegionName>
<RegionId>us-west-1</RegionId>
</RegionInfos>
</Areas>
</DescribeDcdnOfflineLogDeliveryRegionsResponse>
JSON
format
{
"RequestId": "A946DC89-6F22-493A-83AA-3A25B80CCA67",
"Areas": [
{
"AreaName": "Mainland China",
"AreaId": "cn",
"RegionInfos": [
{
"IsOverseas": "N",
"OssEndpoint": "oss-cn-shanghai.aliyuncs.com",
"RegionName": "China (Shanghai)",
"RegionId": "cn-shanghai"
},
{
"IsOverseas": "N",
"OssEndpoint": "oss-cn-beijing.aliyuncs.com",
"RegionName": "China (Beijing)",
"RegionId": "cn-beijing"
},
{
"IsOverseas": "N",
"OssEndpoint": "oss-cn-hangzhou.aliyuncs.com",
"RegionName": "China (Hangzhou)",
"RegionId": "cn-hangzhou"
}
]
},
{
"AreaName": "Other regions",
"AreaId": "sg",
"RegionInfos": [
{
"IsOverseas": "Y",
"OssEndpoint": "oss-ap-southeast-1.aliyuncs.com",
"RegionName": "Singapore (Singapore)",
"RegionId": "ap-southeast-1"
}
]
},
{
"AreaName": "India",
"AreaId": "in",
"RegionInfos": [
{
"IsOverseas": "Y",
"OssEndpoint": "oss-ap-south-1.aliyuncs.com",
"RegionName": "India (Mumbai)",
"RegionId": "ap-south-1"
}
]
},
{
"AreaName": "Europe",
"AreaId": "eu",
"RegionInfos": [
{
"IsOverseas": "Y",
"OssEndpoint": "oss-eu-central-1.aliyuncs.com",
"RegionName": "Germany (Frankfurt)",
"RegionId": "eu-central-1"
}
]
},
{
"AreaName": "US",
"AreaId": "us",
"RegionInfos": [
{
"IsOverseas": "Y",
"OssEndpoint": "oss-us-west-1.aliyuncs.com",
"RegionName": "US (Silicon Valley)",
"RegionId": "us-west-1"
}
]
}
]
}
Error codes
For a list of error codes, visit the API Error Center.