调用DescribeScdnService查询SCDN服务状态。包括:服务开通时间,频次攻击保护等数据。

调试

您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。

请求参数

名称 类型 是否必选 示例值 描述
Action String DescribeScdnService

系统规定参数。取值:DescribeScdnService

返回数据

名称 类型 示例值 描述
Bandwidth String 100Mbps

将要生效的CDN保底带宽(带单位)

BandwidthValue String 100

将要生效的CDN保底带宽(不带单位)

CcProtection String 60000Qps

将要生效的频次攻击防护(带单位)

CcProtectionValue String 60000

将要生效的频次攻击防护(不带单位)

ChangingAffectTime String 2018-03-31T16:00:00Z

GMT时间,下次变配生效时间

ChangingChargeType String PayByBandwidth

下次生效的计费类型。

  • PayByTraffic:流量。
  • PayByBandwidth:带宽。
  • PayByBandwidth95:月95。
  • PayByBandwidth_monthavg:月平均带宽。
  • PayByBandwidth_month4th:月第四峰值。
  • PayByBandwidth_monthday95avg:月平均95。
  • PayByBandwidth_nighthalf95:月95夜间减半。
CurrentBandwidth String 3 M

当前的CDN保底带宽(带单位)

CurrentBandwidthValue String 3

当前的CDN保底带宽(不带单位)

CurrentCcProtection String 60,000 QPS

当前的频次攻击防护(带单位)

CurrentCcProtectionValue String 60000

当前的频次攻击防护(不带单位)

CurrentDDoSBasic String 30Gbps

当前的网络攻击保底防护(带单位)

CurrentDDoSBasicValue String 30

当前的网络攻击保底防护(不带单位)

CurrentDomainCount String 20

当前的接入域名数(带单位)

CurrentDomainCountValue String 20

当前的接入域名数(不带单位)

CurrentElasticProtection String 100Gbps

当前的网络攻击弹性防护(带单位)

CurrentElasticProtectionValue String 100

当前的网络攻击弹性防护(不带单位)

CurrentProtectType String 标准防护

当前的资费版本,如基础防护。为空时是标准版本。

CurrentProtectTypeValue String standard

当前的资费版本英文,如base。为空时是标准版本。

DDoSBasic String 20Gbps

将要生效的网络攻击保底防护(带单位)

DDoSBasicValue String 20

将要生效的网络攻击保底防护(不带单位)

DomainCount String 20个

将要生效的接入域名数(带单位)

DomainCountValue String 20

将要生效的接入域名数(不带单位)

ElasticProtection String 100Gbps

将要生效的网络攻击弹性防护(带单位)

ElasticProtectionValue String 100

将要生效的网络攻击弹性防护(不带单位)

EndTime String 2014-12-08T00:00:00Z

服务到期时间,ISO 8601时间格式

InstanceId String example ID

实例ID

InternetChargeType String PayByTraffic

当前计费类型。

  • PayByTraffic:流量。
  • PayByBandwidth:带宽。
  • PayByBandwidth95:月95。
  • PayByBandwidth_monthavg:月平均带宽。
  • PayByBandwidth_month4th:月第四峰值。
  • PayByBandwidth_monthday95avg:月平均95。
  • PayByBandwidth_nighthalf95:月95夜间减半。
OpenTime String 2017-11-07T16:00:00Z

开通服务时间,ISO 8601时间格式

OperationLocks Array of LockReason

业务锁定状态。

LockReason
LockReason String financial

锁定原因。例如:financial(欠费)。

PriceType String monthPrice

付费方式

PricingCycle String Year

付费周期。取值:MonthYear等。

ProtectType String 标准防护

将要生效的资费版本,如基础防护。为空时是标准版本。

ProtectTypeValue String standard

将要生效的资费版本英文,如base。为空时是标准版本。

RequestId String BFFCDFAD-DACC-484E-9BE6-0AF3B3A0DD23

请求ID

示例

请求示例

http(s)://scdn.aliyuncs.com/?Action=DescribeScdnService
&<公共请求参数>

正常返回示例

XML 格式

<DescribeScdnServiceResponse>
      <CurrentDDoSBasicValue>30</CurrentDDoSBasicValue>
      <EndTime>2019-03-25T16:00:00Z</EndTime>
      <CurrentElasticProtectionValue>100</CurrentElasticProtectionValue>
      <ElasticProtection>100Gbps</ElasticProtection>
      <DDoSBasic>20Gbps</DDoSBasic>
      <DomainCountValue>20</DomainCountValue>
      <CurrentDomainCount>20</CurrentDomainCount>
      <CcProtectionValue>60000</CcProtectionValue>
      <ElasticProtectionValue>100</ElasticProtectionValue>
      <OpenTime>2018-12-25T07:27:41Z</OpenTime>
      <ChangingChargeType>PayByBandwidth</ChangingChargeType>
      <DomainCount>20</DomainCount>
      <CurrentElasticProtection>100Gbps</CurrentElasticProtection>
      <RequestId>DD810356-4126-4474-981B-95019A9399D3</RequestId>
      <InstanceId>xxx</InstanceId>
      <CurrentCcProtectionValue>60000</CurrentCcProtectionValue>
      <CurrentProtectType>标准防护</CurrentProtectType>
      <CurrentDDoSBasic>30Gbps</CurrentDDoSBasic>
      <CurrentDomainCountValue>20</CurrentDomainCountValue>
      <ProtectTypeValue>standard</ProtectTypeValue>
      <CurrentProtectTypeValue>standard</CurrentProtectTypeValue>
      <CcProtection>60,000 QPS</CcProtection>
      <OperationLocks>
    </OperationLocks>
      <InternetChargeType>PayByBandwidth</InternetChargeType>
      <DDoSBasicValue>20</DDoSBasicValue>
      <ProtectType>标准防护</ProtectType>
      <CurrentCcProtection>60,000 QPS</CurrentCcProtection>
</DescribeScdnServiceResponse>

JSON 格式

{
    "CurrentDDoSBasicValue": "30",
    "EndTime": "2019-03-25T16:00:00Z",
    "CurrentElasticProtectionValue": "100",
    "ElasticProtection": "100Gbps",
    "DDoSBasic": "20Gbps",
    "DomainCountValue": "20",
    "CurrentDomainCount": "20",
    "CcProtectionValue": "60000",
    "ElasticProtectionValue": "100",
    "OpenTime": "2018-12-25T07:27:41Z",
    "ChangingChargeType": "PayByBandwidth",
    "DomainCount": "20",
    "CurrentElasticProtection": "100Gbps",
    "RequestId": "DD810356-4126-4474-981B-95019A9399D3",
    "InstanceId": "xxx",
    "CurrentCcProtectionValue": "60000",
    "CurrentProtectType": "标准防护",
    "CurrentDDoSBasic": "30Gbps",
    "CurrentDomainCountValue": "20",
    "ProtectTypeValue": "standard",
    "CurrentProtectTypeValue": "standard",
    "CcProtection": "60,000 QPS",
    "OperationLocks": {
        "LockReason": []
    },
    "InternetChargeType": "PayByBandwidth",
    "DDoSBasicValue": "20",
    "ProtectType": "标准防护",
    "CurrentCcProtection": "60,000 QPS"
}