第一次提交:阿龙电竞 Django 后端最新版本
This commit is contained in:
@@ -0,0 +1,192 @@
|
||||
# -*- coding: utf8 -*-
|
||||
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
import json
|
||||
|
||||
from tencentcloud.common.exception.tencent_cloud_sdk_exception import TencentCloudSDKException
|
||||
from tencentcloud.common.abstract_client import AbstractClient
|
||||
from tencentcloud.ecdn.v20191012 import models
|
||||
|
||||
|
||||
class EcdnClient(AbstractClient):
|
||||
_apiVersion = '2019-10-12'
|
||||
_endpoint = 'ecdn.tencentcloudapi.com'
|
||||
_service = 'ecdn'
|
||||
|
||||
|
||||
def DescribeDomains(self, request):
|
||||
r"""ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeDomains)用于查询CDN域名基本信息,包括项目id,状态,业务类型,创建时间,更新时间等。
|
||||
|
||||
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41118"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
||||
|
||||
:param request: Request instance for DescribeDomains.
|
||||
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeDomainsRequest`
|
||||
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribeDomainsResponse`
|
||||
|
||||
"""
|
||||
try:
|
||||
params = request._serialize()
|
||||
headers = request.headers
|
||||
body = self.call("DescribeDomains", params, headers=headers)
|
||||
response = json.loads(body)
|
||||
model = models.DescribeDomainsResponse()
|
||||
model._deserialize(response["Response"])
|
||||
return model
|
||||
except Exception as e:
|
||||
if isinstance(e, TencentCloudSDKException):
|
||||
raise
|
||||
else:
|
||||
raise TencentCloudSDKException(type(e).__name__, str(e))
|
||||
|
||||
|
||||
def DescribeDomainsConfig(self, request):
|
||||
r"""ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeDomainsConfig)用于查询CDN加速域名详细配置信息。
|
||||
|
||||
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41117"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
||||
|
||||
:param request: Request instance for DescribeDomainsConfig.
|
||||
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeDomainsConfigRequest`
|
||||
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribeDomainsConfigResponse`
|
||||
|
||||
"""
|
||||
try:
|
||||
params = request._serialize()
|
||||
headers = request.headers
|
||||
body = self.call("DescribeDomainsConfig", params, headers=headers)
|
||||
response = json.loads(body)
|
||||
model = models.DescribeDomainsConfigResponse()
|
||||
model._deserialize(response["Response"])
|
||||
return model
|
||||
except Exception as e:
|
||||
if isinstance(e, TencentCloudSDKException):
|
||||
raise
|
||||
else:
|
||||
raise TencentCloudSDKException(type(e).__name__, str(e))
|
||||
|
||||
|
||||
def DescribeEcdnDomainLogs(self, request):
|
||||
r"""ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeEcdnDomainLogs)用于查询域名的访问日志下载地址。
|
||||
|
||||
:param request: Request instance for DescribeEcdnDomainLogs.
|
||||
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnDomainLogsRequest`
|
||||
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnDomainLogsResponse`
|
||||
|
||||
"""
|
||||
try:
|
||||
params = request._serialize()
|
||||
headers = request.headers
|
||||
body = self.call("DescribeEcdnDomainLogs", params, headers=headers)
|
||||
response = json.loads(body)
|
||||
model = models.DescribeEcdnDomainLogsResponse()
|
||||
model._deserialize(response["Response"])
|
||||
return model
|
||||
except Exception as e:
|
||||
if isinstance(e, TencentCloudSDKException):
|
||||
raise
|
||||
else:
|
||||
raise TencentCloudSDKException(type(e).__name__, str(e))
|
||||
|
||||
|
||||
def DescribeEcdnDomainStatistics(self, request):
|
||||
r"""ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标。
|
||||
|
||||
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/30986"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
||||
|
||||
:param request: Request instance for DescribeEcdnDomainStatistics.
|
||||
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnDomainStatisticsRequest`
|
||||
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnDomainStatisticsResponse`
|
||||
|
||||
"""
|
||||
try:
|
||||
params = request._serialize()
|
||||
headers = request.headers
|
||||
body = self.call("DescribeEcdnDomainStatistics", params, headers=headers)
|
||||
response = json.loads(body)
|
||||
model = models.DescribeEcdnDomainStatisticsResponse()
|
||||
model._deserialize(response["Response"])
|
||||
return model
|
||||
except Exception as e:
|
||||
if isinstance(e, TencentCloudSDKException):
|
||||
raise
|
||||
else:
|
||||
raise TencentCloudSDKException(type(e).__name__, str(e))
|
||||
|
||||
|
||||
def DescribeEcdnStatistics(self, request):
|
||||
r"""ECDN平台下线,接口开始预下线处理
|
||||
|
||||
DescribeEcdnStatistics用于查询 ECDN 实时访问监控数据,支持以下指标查询:
|
||||
|
||||
+ 流量(单位为 byte)
|
||||
+ 带宽(单位为 bps)
|
||||
+ 请求数(单位为 次)
|
||||
+ 状态码 2xx 汇总及各 2 开头状态码明细(单位为 个)
|
||||
+ 状态码 3xx 汇总及各 3 开头状态码明细(单位为 个)
|
||||
+ 状态码 4xx 汇总及各 4 开头状态码明细(单位为 个)
|
||||
+ 状态码 5xx 汇总及各 5 开头状态码明细(单位为 个)
|
||||
|
||||
:param request: Request instance for DescribeEcdnStatistics.
|
||||
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnStatisticsRequest`
|
||||
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribeEcdnStatisticsResponse`
|
||||
|
||||
"""
|
||||
try:
|
||||
params = request._serialize()
|
||||
headers = request.headers
|
||||
body = self.call("DescribeEcdnStatistics", params, headers=headers)
|
||||
response = json.loads(body)
|
||||
model = models.DescribeEcdnStatisticsResponse()
|
||||
model._deserialize(response["Response"])
|
||||
return model
|
||||
except Exception as e:
|
||||
if isinstance(e, TencentCloudSDKException):
|
||||
raise
|
||||
else:
|
||||
raise TencentCloudSDKException(type(e).__name__, str(e))
|
||||
|
||||
|
||||
def DescribeIpStatus(self, request):
|
||||
r"""ECDN平台下线,接口开始预下线处理
|
||||
|
||||
DescribeIpStatus 用于查询域名所在加速平台的所有节点信息, 如果您的源站有白名单设置,可以通过本接口获取ECDN服务的节点IP进行加白, 本接口为内测接口,请联系腾讯云工程师开白。
|
||||
|
||||
由于产品服务节点常有更新,对于源站开白的使用场景,请定期调用接口获取最新节点信息,若新增服务节点发布7日后您尚未更新加白导致回源失败等问题,ECDN侧不对此承担责任。
|
||||
|
||||
:param request: Request instance for DescribeIpStatus.
|
||||
:type request: :class:`tencentcloud.ecdn.v20191012.models.DescribeIpStatusRequest`
|
||||
:rtype: :class:`tencentcloud.ecdn.v20191012.models.DescribeIpStatusResponse`
|
||||
|
||||
"""
|
||||
try:
|
||||
params = request._serialize()
|
||||
headers = request.headers
|
||||
body = self.call("DescribeIpStatus", params, headers=headers)
|
||||
response = json.loads(body)
|
||||
model = models.DescribeIpStatusResponse()
|
||||
model._deserialize(response["Response"])
|
||||
return model
|
||||
except Exception as e:
|
||||
if isinstance(e, TencentCloudSDKException):
|
||||
raise
|
||||
else:
|
||||
raise TencentCloudSDKException(type(e).__name__, str(e))
|
||||
@@ -0,0 +1,162 @@
|
||||
# -*- coding: utf8 -*-
|
||||
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
|
||||
from tencentcloud.common.abstract_client_async import AbstractClient
|
||||
from tencentcloud.ecdn.v20191012 import models
|
||||
from typing import Dict
|
||||
|
||||
|
||||
class EcdnClient(AbstractClient):
|
||||
_apiVersion = '2019-10-12'
|
||||
_endpoint = 'ecdn.tencentcloudapi.com'
|
||||
_service = 'ecdn'
|
||||
|
||||
async def DescribeDomains(
|
||||
self,
|
||||
request: models.DescribeDomainsRequest,
|
||||
opts: Dict = None,
|
||||
) -> models.DescribeDomainsResponse:
|
||||
"""
|
||||
ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeDomains)用于查询CDN域名基本信息,包括项目id,状态,业务类型,创建时间,更新时间等。
|
||||
|
||||
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41118"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
||||
"""
|
||||
|
||||
kwargs = {}
|
||||
kwargs["action"] = "DescribeDomains"
|
||||
kwargs["params"] = request._serialize()
|
||||
kwargs["resp_cls"] = models.DescribeDomainsResponse
|
||||
kwargs["headers"] = request.headers
|
||||
kwargs["opts"] = opts or {}
|
||||
|
||||
return await self.call_and_deserialize(**kwargs)
|
||||
|
||||
async def DescribeDomainsConfig(
|
||||
self,
|
||||
request: models.DescribeDomainsConfigRequest,
|
||||
opts: Dict = None,
|
||||
) -> models.DescribeDomainsConfigResponse:
|
||||
"""
|
||||
ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeDomainsConfig)用于查询CDN加速域名详细配置信息。
|
||||
|
||||
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/41117"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
||||
"""
|
||||
|
||||
kwargs = {}
|
||||
kwargs["action"] = "DescribeDomainsConfig"
|
||||
kwargs["params"] = request._serialize()
|
||||
kwargs["resp_cls"] = models.DescribeDomainsConfigResponse
|
||||
kwargs["headers"] = request.headers
|
||||
kwargs["opts"] = opts or {}
|
||||
|
||||
return await self.call_and_deserialize(**kwargs)
|
||||
|
||||
async def DescribeEcdnDomainLogs(
|
||||
self,
|
||||
request: models.DescribeEcdnDomainLogsRequest,
|
||||
opts: Dict = None,
|
||||
) -> models.DescribeEcdnDomainLogsResponse:
|
||||
"""
|
||||
ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeEcdnDomainLogs)用于查询域名的访问日志下载地址。
|
||||
"""
|
||||
|
||||
kwargs = {}
|
||||
kwargs["action"] = "DescribeEcdnDomainLogs"
|
||||
kwargs["params"] = request._serialize()
|
||||
kwargs["resp_cls"] = models.DescribeEcdnDomainLogsResponse
|
||||
kwargs["headers"] = request.headers
|
||||
kwargs["opts"] = opts or {}
|
||||
|
||||
return await self.call_and_deserialize(**kwargs)
|
||||
|
||||
async def DescribeEcdnDomainStatistics(
|
||||
self,
|
||||
request: models.DescribeEcdnDomainStatisticsRequest,
|
||||
opts: Dict = None,
|
||||
) -> models.DescribeEcdnDomainStatisticsResponse:
|
||||
"""
|
||||
ECDN平台下线,接口开始预下线处理
|
||||
|
||||
本接口(DescribeEcdnDomainStatistics)用于查询指定时间段内的域名访问统计指标。
|
||||
|
||||
>? 若您的业务已迁移至 CDN 控制台,请参考<a href="https://cloud.tencent.com/document/api/228/30986"> CDN 接口文档</a>,使用 CDN 相关API 进行操作。
|
||||
"""
|
||||
|
||||
kwargs = {}
|
||||
kwargs["action"] = "DescribeEcdnDomainStatistics"
|
||||
kwargs["params"] = request._serialize()
|
||||
kwargs["resp_cls"] = models.DescribeEcdnDomainStatisticsResponse
|
||||
kwargs["headers"] = request.headers
|
||||
kwargs["opts"] = opts or {}
|
||||
|
||||
return await self.call_and_deserialize(**kwargs)
|
||||
|
||||
async def DescribeEcdnStatistics(
|
||||
self,
|
||||
request: models.DescribeEcdnStatisticsRequest,
|
||||
opts: Dict = None,
|
||||
) -> models.DescribeEcdnStatisticsResponse:
|
||||
"""
|
||||
ECDN平台下线,接口开始预下线处理
|
||||
|
||||
DescribeEcdnStatistics用于查询 ECDN 实时访问监控数据,支持以下指标查询:
|
||||
|
||||
+ 流量(单位为 byte)
|
||||
+ 带宽(单位为 bps)
|
||||
+ 请求数(单位为 次)
|
||||
+ 状态码 2xx 汇总及各 2 开头状态码明细(单位为 个)
|
||||
+ 状态码 3xx 汇总及各 3 开头状态码明细(单位为 个)
|
||||
+ 状态码 4xx 汇总及各 4 开头状态码明细(单位为 个)
|
||||
+ 状态码 5xx 汇总及各 5 开头状态码明细(单位为 个)
|
||||
"""
|
||||
|
||||
kwargs = {}
|
||||
kwargs["action"] = "DescribeEcdnStatistics"
|
||||
kwargs["params"] = request._serialize()
|
||||
kwargs["resp_cls"] = models.DescribeEcdnStatisticsResponse
|
||||
kwargs["headers"] = request.headers
|
||||
kwargs["opts"] = opts or {}
|
||||
|
||||
return await self.call_and_deserialize(**kwargs)
|
||||
|
||||
async def DescribeIpStatus(
|
||||
self,
|
||||
request: models.DescribeIpStatusRequest,
|
||||
opts: Dict = None,
|
||||
) -> models.DescribeIpStatusResponse:
|
||||
"""
|
||||
ECDN平台下线,接口开始预下线处理
|
||||
|
||||
DescribeIpStatus 用于查询域名所在加速平台的所有节点信息, 如果您的源站有白名单设置,可以通过本接口获取ECDN服务的节点IP进行加白, 本接口为内测接口,请联系腾讯云工程师开白。
|
||||
|
||||
由于产品服务节点常有更新,对于源站开白的使用场景,请定期调用接口获取最新节点信息,若新增服务节点发布7日后您尚未更新加白导致回源失败等问题,ECDN侧不对此承担责任。
|
||||
"""
|
||||
|
||||
kwargs = {}
|
||||
kwargs["action"] = "DescribeIpStatus"
|
||||
kwargs["params"] = request._serialize()
|
||||
kwargs["resp_cls"] = models.DescribeIpStatusResponse
|
||||
kwargs["headers"] = request.headers
|
||||
kwargs["opts"] = opts or {}
|
||||
|
||||
return await self.call_and_deserialize(**kwargs)
|
||||
@@ -0,0 +1,138 @@
|
||||
# -*- coding: utf8 -*-
|
||||
# Copyright (c) 2017-2025 Tencent. All Rights Reserved.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
|
||||
# 域名配置更新操作失败,请重试或联系客服人员解决。
|
||||
FAILEDOPERATION_ECDNCONFIGERROR = 'FailedOperation.EcdnConfigError'
|
||||
|
||||
# CAM鉴权错误,请稍后重试。
|
||||
INTERNALERROR_CAMSYSTEMERROR = 'InternalError.CamSystemError'
|
||||
|
||||
# 内部配置服务错误,请重试或联系客服人员解决。
|
||||
INTERNALERROR_ECDNCONFIGERROR = 'InternalError.EcdnConfigError'
|
||||
|
||||
# 内部数据错误,请联系腾讯云工程师进一步排查。
|
||||
INTERNALERROR_ECDNDBERROR = 'InternalError.EcdnDbError'
|
||||
|
||||
# 系统内部错误,请联系客户人员解决或稍后重试。
|
||||
INTERNALERROR_ECDNQUERYSYSTEMERROR = 'InternalError.EcdnQuerySystemError'
|
||||
|
||||
# 系统错误,请联系腾讯云工程师进一步排查。
|
||||
INTERNALERROR_ECDNSYSTEMERROR = 'InternalError.EcdnSystemError'
|
||||
|
||||
# 内部服务错误,请联系腾讯云工程师进一步排查。
|
||||
INTERNALERROR_ERROR = 'InternalError.Error'
|
||||
|
||||
# 后端服务错误,请稍后重试 。
|
||||
INTERNALERROR_PROXYSERVER = 'InternalError.ProxyServer'
|
||||
|
||||
# 无法解析证书信息。
|
||||
INVALIDPARAMETER_ECDNCERTNOCERTINFO = 'InvalidParameter.EcdnCertNoCertInfo'
|
||||
|
||||
# 缓存配置不合法 。
|
||||
INVALIDPARAMETER_ECDNCONFIGINVALIDCACHE = 'InvalidParameter.EcdnConfigInvalidCache'
|
||||
|
||||
# 内部接口错误,请联系腾讯云工程师进一步排查。
|
||||
INVALIDPARAMETER_ECDNINTERFACEERROR = 'InvalidParameter.EcdnInterfaceError'
|
||||
|
||||
# 统计粒度不合法,请参考文档中统计分析示例。
|
||||
INVALIDPARAMETER_ECDNINVALIDPARAMINTERVAL = 'InvalidParameter.EcdnInvalidParamInterval'
|
||||
|
||||
# 参数错误,请参考文档中示例参数填充。
|
||||
INVALIDPARAMETER_ECDNPARAMERROR = 'InvalidParameter.EcdnParamError'
|
||||
|
||||
# 日期不合法,请参考文档中日期示例。
|
||||
INVALIDPARAMETER_ECDNSTATINVALIDDATE = 'InvalidParameter.EcdnStatInvalidDate'
|
||||
|
||||
# 统计类型不合法,请参考文档中统计分析示例。
|
||||
INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = 'InvalidParameter.EcdnStatInvalidMetric'
|
||||
|
||||
# 参数错误。
|
||||
INVALIDPARAMETER_PARAMERROR = 'InvalidParameter.ParamError'
|
||||
|
||||
# 域名操作过于频繁。
|
||||
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = 'LimitExceeded.EcdnDomainOpTooOften'
|
||||
|
||||
# 账号下无此域名,请确认后重试。
|
||||
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = 'ResourceNotFound.EcdnDomainNotExists'
|
||||
|
||||
# 账号下无此域名,请确认后重试。
|
||||
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = 'ResourceNotFound.EcdnHostNotExists'
|
||||
|
||||
# 项目不存在。
|
||||
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = 'ResourceNotFound.EcdnProjectNotExists'
|
||||
|
||||
# 未开通ECDN服务,请开通后使用此接口。
|
||||
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = 'ResourceNotFound.EcdnUserNotExists'
|
||||
|
||||
# 子账号禁止查询整体数据。
|
||||
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = 'UnauthorizedOperation.CdnAccountUnauthorized'
|
||||
|
||||
# 子账号未配置cam策略。
|
||||
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = 'UnauthorizedOperation.CdnCamUnauthorized'
|
||||
|
||||
# ECDN子账号加速域名未授权。
|
||||
UNAUTHORIZEDOPERATION_CDNDOMAINUNAUTHORIZED = 'UnauthorizedOperation.CdnDomainUnauthorized'
|
||||
|
||||
# ECDN子账号加速域名未授权。
|
||||
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = 'UnauthorizedOperation.CdnHostUnauthorized'
|
||||
|
||||
# 子账号没有授权域名权限,请授权后重试。
|
||||
UNAUTHORIZEDOPERATION_CDNNODOMAINUNAUTHORIZED = 'UnauthorizedOperation.CdnNoDomainUnauthorized'
|
||||
|
||||
# 子账号项目未授权。
|
||||
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = 'UnauthorizedOperation.CdnProjectUnauthorized'
|
||||
|
||||
# ECDN 子账号加速域名未授权。
|
||||
UNAUTHORIZEDOPERATION_DOMAINNOPERMISSION = 'UnauthorizedOperation.DomainNoPermission'
|
||||
|
||||
# ECDN 子账号加速域名未授权。
|
||||
UNAUTHORIZEDOPERATION_DOMAINSNOPERMISSION = 'UnauthorizedOperation.DomainsNoPermission'
|
||||
|
||||
# 子账号禁止查询整体数据。
|
||||
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = 'UnauthorizedOperation.EcdnAccountUnauthorized'
|
||||
|
||||
# 子账号未配置cam策略。
|
||||
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = 'UnauthorizedOperation.EcdnCamUnauthorized'
|
||||
|
||||
# ECDN子账号加速域名未授权。
|
||||
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = 'UnauthorizedOperation.EcdnDomainUnauthorized'
|
||||
|
||||
# ECDN子账号加速域名未授权。
|
||||
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = 'UnauthorizedOperation.EcdnHostUnauthorized'
|
||||
|
||||
# 子账号没有授权域名权限,请授权后重试。
|
||||
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = 'UnauthorizedOperation.EcdnNoDomainUnauthorized'
|
||||
|
||||
# 子账号项目未授权。
|
||||
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = 'UnauthorizedOperation.EcdnProjectUnauthorized'
|
||||
|
||||
# 非内测白名单用户,无该功能使用权限。
|
||||
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = 'UnauthorizedOperation.EcdnUserNoWhitelist'
|
||||
|
||||
# ECDN 子账号cam未授权。
|
||||
UNAUTHORIZEDOPERATION_NOPERMISSION = 'UnauthorizedOperation.NoPermission'
|
||||
|
||||
# 操作过于频繁,请稍后重试 。
|
||||
UNAUTHORIZEDOPERATION_OPERATIONTOOOFTEN = 'UnauthorizedOperation.OperationTooOften'
|
||||
|
||||
# ECDN 子账号项目未授权。
|
||||
UNAUTHORIZEDOPERATION_PROJECTNOPERMISSION = 'UnauthorizedOperation.ProjectNoPermission'
|
||||
|
||||
# ECDN 子账号项目未授权。
|
||||
UNAUTHORIZEDOPERATION_PROJECTSNOPERMISSION = 'UnauthorizedOperation.ProjectsNoPermission'
|
||||
|
||||
# 未知错误,请稍后重试 。
|
||||
UNAUTHORIZEDOPERATION_UNKNOWN = 'UnauthorizedOperation.Unknown'
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user