@huaweicloud/huaweicloud-sdk-cdn 3.1.46 → 3.1.48
Sign up to get free protection for your applications and to get access to all the features.
- package/huaweicloud-sdk-cdn.d.ts +4 -0
- package/huaweicloud-sdk-cdn.d.ts.map +1 -0
- package/huaweicloud-sdk-cdn.js +33 -0
- package/huaweicloud-sdk-cdn.js.map +1 -0
- package/package.json +8 -4
- package/v1/CdnClient.d.ts +1359 -0
- package/v1/CdnClient.d.ts.map +1 -0
- package/v1/CdnClient.js +3107 -0
- package/v1/CdnClient.js.map +1 -0
- package/v1/CdnRegion.d.ts +8 -0
- package/v1/CdnRegion.d.ts.map +1 -0
- package/v1/CdnRegion.js +24 -0
- package/v1/CdnRegion.js.map +1 -0
- package/v1/model/BatchDeleteTagsRequest.d.ts +7 -0
- package/v1/model/BatchDeleteTagsRequest.d.ts.map +1 -0
- package/v1/model/BatchDeleteTagsRequest.js +13 -0
- package/v1/model/BatchDeleteTagsRequest.js.map +1 -0
- package/v1/model/BatchDeleteTagsResponse.d.ts +5 -0
- package/v1/model/BatchDeleteTagsResponse.d.ts.map +1 -0
- package/v1/model/BatchDeleteTagsResponse.js +11 -0
- package/v1/model/BatchDeleteTagsResponse.js.map +1 -0
- package/v1/model/BlackWhiteListBody.d.ts +10 -0
- package/v1/model/BlackWhiteListBody.d.ts.map +1 -0
- package/v1/model/BlackWhiteListBody.js +24 -0
- package/v1/model/BlackWhiteListBody.js.map +1 -0
- package/v1/model/CacheConfig.d.ts +18 -0
- package/v1/model/CacheConfig.d.ts.map +1 -0
- package/v1/model/CacheConfig.js +37 -0
- package/v1/model/CacheConfig.js.map +1 -0
- package/v1/model/CacheConfigRequest.d.ts +18 -0
- package/v1/model/CacheConfigRequest.d.ts.map +1 -0
- package/v1/model/CacheConfigRequest.js +37 -0
- package/v1/model/CacheConfigRequest.js.map +1 -0
- package/v1/model/CacheConfigRequestBody.d.ts +9 -0
- package/v1/model/CacheConfigRequestBody.d.ts.map +1 -0
- package/v1/model/CacheConfigRequestBody.js +20 -0
- package/v1/model/CacheConfigRequestBody.js.map +1 -0
- package/v1/model/CacheRules.d.ts +32 -0
- package/v1/model/CacheRules.d.ts.map +1 -0
- package/v1/model/CacheRules.js +83 -0
- package/v1/model/CacheRules.js.map +1 -0
- package/v1/model/CacheUrlParameterFilter.d.ts +8 -0
- package/v1/model/CacheUrlParameterFilter.d.ts.map +1 -0
- package/v1/model/CacheUrlParameterFilter.js +17 -0
- package/v1/model/CacheUrlParameterFilter.js.map +1 -0
- package/v1/model/CdnIps.d.ts +14 -0
- package/v1/model/CdnIps.d.ts.map +1 -0
- package/v1/model/CdnIps.js +29 -0
- package/v1/model/CdnIps.js.map +1 -0
- package/v1/model/Compress.d.ts +8 -0
- package/v1/model/Compress.d.ts.map +1 -0
- package/v1/model/Compress.js +18 -0
- package/v1/model/Compress.js.map +1 -0
- package/v1/model/CompressRequest.d.ts +8 -0
- package/v1/model/CompressRequest.d.ts.map +1 -0
- package/v1/model/CompressRequest.js +19 -0
- package/v1/model/CompressRequest.js.map +1 -0
- package/v1/model/CompressResponse.d.ts +13 -0
- package/v1/model/CompressResponse.d.ts.map +1 -0
- package/v1/model/CompressResponse.js +30 -0
- package/v1/model/CompressResponse.js.map +1 -0
- package/v1/model/CompressRules.d.ts +12 -0
- package/v1/model/CompressRules.d.ts.map +1 -0
- package/v1/model/CompressRules.js +29 -0
- package/v1/model/CompressRules.js.map +1 -0
- package/v1/model/Configs.d.ts +87 -0
- package/v1/model/Configs.d.ts.map +1 -0
- package/v1/model/Configs.js +175 -0
- package/v1/model/Configs.js.map +1 -0
- package/v1/model/ConfigsGetBody.d.ts +87 -0
- package/v1/model/ConfigsGetBody.d.ts.map +1 -0
- package/v1/model/ConfigsGetBody.js +175 -0
- package/v1/model/ConfigsGetBody.js.map +1 -0
- package/v1/model/CreateDomainRequest.d.ts +7 -0
- package/v1/model/CreateDomainRequest.d.ts.map +1 -0
- package/v1/model/CreateDomainRequest.js +13 -0
- package/v1/model/CreateDomainRequest.js.map +1 -0
- package/v1/model/CreateDomainRequestBody.d.ts +7 -0
- package/v1/model/CreateDomainRequestBody.d.ts.map +1 -0
- package/v1/model/CreateDomainRequestBody.js +14 -0
- package/v1/model/CreateDomainRequestBody.js.map +1 -0
- package/v1/model/CreateDomainResponse.d.ts +8 -0
- package/v1/model/CreateDomainResponse.d.ts.map +1 -0
- package/v1/model/CreateDomainResponse.js +15 -0
- package/v1/model/CreateDomainResponse.js.map +1 -0
- package/v1/model/CreateDomainResponseBodyContent.d.ts +68 -0
- package/v1/model/CreateDomainResponseBodyContent.d.ts.map +1 -0
- package/v1/model/CreateDomainResponseBodyContent.js +159 -0
- package/v1/model/CreateDomainResponseBodyContent.js.map +1 -0
- package/v1/model/CreatePreheatingTasksRequest.d.ts +11 -0
- package/v1/model/CreatePreheatingTasksRequest.d.ts.map +1 -0
- package/v1/model/CreatePreheatingTasksRequest.js +23 -0
- package/v1/model/CreatePreheatingTasksRequest.js.map +1 -0
- package/v1/model/CreatePreheatingTasksResponse.d.ts +9 -0
- package/v1/model/CreatePreheatingTasksResponse.d.ts.map +1 -0
- package/v1/model/CreatePreheatingTasksResponse.js +21 -0
- package/v1/model/CreatePreheatingTasksResponse.js.map +1 -0
- package/v1/model/CreateRefreshTasksRequest.d.ts +11 -0
- package/v1/model/CreateRefreshTasksRequest.d.ts.map +1 -0
- package/v1/model/CreateRefreshTasksRequest.js +23 -0
- package/v1/model/CreateRefreshTasksRequest.js.map +1 -0
- package/v1/model/CreateRefreshTasksResponse.d.ts +9 -0
- package/v1/model/CreateRefreshTasksResponse.d.ts.map +1 -0
- package/v1/model/CreateRefreshTasksResponse.js +21 -0
- package/v1/model/CreateRefreshTasksResponse.js.map +1 -0
- package/v1/model/CreateTagsRequest.d.ts +7 -0
- package/v1/model/CreateTagsRequest.d.ts.map +1 -0
- package/v1/model/CreateTagsRequest.js +13 -0
- package/v1/model/CreateTagsRequest.js.map +1 -0
- package/v1/model/CreateTagsRequestBody.d.ts +10 -0
- package/v1/model/CreateTagsRequestBody.d.ts.map +1 -0
- package/v1/model/CreateTagsRequestBody.js +25 -0
- package/v1/model/CreateTagsRequestBody.js.map +1 -0
- package/v1/model/CreateTagsResponse.d.ts +5 -0
- package/v1/model/CreateTagsResponse.d.ts.map +1 -0
- package/v1/model/CreateTagsResponse.js +11 -0
- package/v1/model/CreateTagsResponse.js.map +1 -0
- package/v1/model/DeleteDomainRequest.d.ts +12 -0
- package/v1/model/DeleteDomainRequest.d.ts.map +1 -0
- package/v1/model/DeleteDomainRequest.js +30 -0
- package/v1/model/DeleteDomainRequest.js.map +1 -0
- package/v1/model/DeleteDomainResponse.d.ts +8 -0
- package/v1/model/DeleteDomainResponse.d.ts.map +1 -0
- package/v1/model/DeleteDomainResponse.js +15 -0
- package/v1/model/DeleteDomainResponse.js.map +1 -0
- package/v1/model/DeleteTagsRequestBody.d.ts +10 -0
- package/v1/model/DeleteTagsRequestBody.d.ts.map +1 -0
- package/v1/model/DeleteTagsRequestBody.js +25 -0
- package/v1/model/DeleteTagsRequestBody.js.map +1 -0
- package/v1/model/DisableDomainRequest.d.ts +12 -0
- package/v1/model/DisableDomainRequest.d.ts.map +1 -0
- package/v1/model/DisableDomainRequest.js +30 -0
- package/v1/model/DisableDomainRequest.js.map +1 -0
- package/v1/model/DisableDomainResponse.d.ts +8 -0
- package/v1/model/DisableDomainResponse.d.ts.map +1 -0
- package/v1/model/DisableDomainResponse.js +15 -0
- package/v1/model/DisableDomainResponse.js.map +1 -0
- package/v1/model/DomainBody.d.ts +42 -0
- package/v1/model/DomainBody.d.ts.map +1 -0
- package/v1/model/DomainBody.js +78 -0
- package/v1/model/DomainBody.js.map +1 -0
- package/v1/model/DomainItemDetail.d.ts +22 -0
- package/v1/model/DomainItemDetail.d.ts.map +1 -0
- package/v1/model/DomainItemDetail.js +43 -0
- package/v1/model/DomainItemDetail.js.map +1 -0
- package/v1/model/DomainItemLocationDetails.d.ts +19 -0
- package/v1/model/DomainItemLocationDetails.d.ts.map +1 -0
- package/v1/model/DomainItemLocationDetails.js +43 -0
- package/v1/model/DomainItemLocationDetails.js.map +1 -0
- package/v1/model/DomainOriginHost.d.ts +16 -0
- package/v1/model/DomainOriginHost.d.ts.map +1 -0
- package/v1/model/DomainOriginHost.js +40 -0
- package/v1/model/DomainOriginHost.js.map +1 -0
- package/v1/model/DomainRegion.d.ts +18 -0
- package/v1/model/DomainRegion.d.ts.map +1 -0
- package/v1/model/DomainRegion.js +29 -0
- package/v1/model/DomainRegion.js.map +1 -0
- package/v1/model/Domains.d.ts +92 -0
- package/v1/model/Domains.d.ts.map +1 -0
- package/v1/model/Domains.js +203 -0
- package/v1/model/Domains.js.map +1 -0
- package/v1/model/DomainsWithPort.d.ts +89 -0
- package/v1/model/DomainsWithPort.d.ts.map +1 -0
- package/v1/model/DomainsWithPort.js +199 -0
- package/v1/model/DomainsWithPort.js.map +1 -0
- package/v1/model/EnableDomainRequest.d.ts +12 -0
- package/v1/model/EnableDomainRequest.d.ts.map +1 -0
- package/v1/model/EnableDomainRequest.js +30 -0
- package/v1/model/EnableDomainRequest.js.map +1 -0
- package/v1/model/EnableDomainResponse.d.ts +8 -0
- package/v1/model/EnableDomainResponse.d.ts.map +1 -0
- package/v1/model/EnableDomainResponse.js +15 -0
- package/v1/model/EnableDomainResponse.js.map +1 -0
- package/v1/model/EpResourceTag.d.ts +8 -0
- package/v1/model/EpResourceTag.d.ts.map +1 -0
- package/v1/model/EpResourceTag.js +19 -0
- package/v1/model/EpResourceTag.js.map +1 -0
- package/v1/model/ErrorCodeCache.d.ts +8 -0
- package/v1/model/ErrorCodeCache.d.ts.map +1 -0
- package/v1/model/ErrorCodeCache.js +17 -0
- package/v1/model/ErrorCodeCache.js.map +1 -0
- package/v1/model/ErrorCodeRedirectRules.d.ts +16 -0
- package/v1/model/ErrorCodeRedirectRules.d.ts.map +1 -0
- package/v1/model/ErrorCodeRedirectRules.js +42 -0
- package/v1/model/ErrorCodeRedirectRules.js.map +1 -0
- package/v1/model/Follow302StatusBody.d.ts +20 -0
- package/v1/model/Follow302StatusBody.d.ts.map +1 -0
- package/v1/model/Follow302StatusBody.js +38 -0
- package/v1/model/Follow302StatusBody.js.map +1 -0
- package/v1/model/Follow302StatusRequest.d.ts +16 -0
- package/v1/model/Follow302StatusRequest.d.ts.map +1 -0
- package/v1/model/Follow302StatusRequest.js +29 -0
- package/v1/model/Follow302StatusRequest.js.map +1 -0
- package/v1/model/ForceRedirect.d.ts +12 -0
- package/v1/model/ForceRedirect.d.ts.map +1 -0
- package/v1/model/ForceRedirect.js +30 -0
- package/v1/model/ForceRedirect.js.map +1 -0
- package/v1/model/ForceRedirectConfig.d.ts +12 -0
- package/v1/model/ForceRedirectConfig.d.ts.map +1 -0
- package/v1/model/ForceRedirectConfig.js +28 -0
- package/v1/model/ForceRedirectConfig.js.map +1 -0
- package/v1/model/HeaderBody.d.ts +7 -0
- package/v1/model/HeaderBody.d.ts.map +1 -0
- package/v1/model/HeaderBody.js +13 -0
- package/v1/model/HeaderBody.js.map +1 -0
- package/v1/model/HeaderMap.d.ts +28 -0
- package/v1/model/HeaderMap.d.ts.map +1 -0
- package/v1/model/HeaderMap.js +69 -0
- package/v1/model/HeaderMap.js.map +1 -0
- package/v1/model/HttpGetBody.d.ts +28 -0
- package/v1/model/HttpGetBody.d.ts.map +1 -0
- package/v1/model/HttpGetBody.js +69 -0
- package/v1/model/HttpGetBody.js.map +1 -0
- package/v1/model/HttpInfoRequest.d.ts +7 -0
- package/v1/model/HttpInfoRequest.d.ts.map +1 -0
- package/v1/model/HttpInfoRequest.js +14 -0
- package/v1/model/HttpInfoRequest.js.map +1 -0
- package/v1/model/HttpInfoRequestBody.d.ts +33 -0
- package/v1/model/HttpInfoRequestBody.d.ts.map +1 -0
- package/v1/model/HttpInfoRequestBody.js +79 -0
- package/v1/model/HttpInfoRequestBody.js.map +1 -0
- package/v1/model/HttpInfoResponseBody.d.ts +37 -0
- package/v1/model/HttpInfoResponseBody.d.ts.map +1 -0
- package/v1/model/HttpInfoResponseBody.js +87 -0
- package/v1/model/HttpInfoResponseBody.js.map +1 -0
- package/v1/model/HttpPutBody.d.ts +32 -0
- package/v1/model/HttpPutBody.d.ts.map +1 -0
- package/v1/model/HttpPutBody.js +79 -0
- package/v1/model/HttpPutBody.js.map +1 -0
- package/v1/model/HttpResponseHeader.d.ts +10 -0
- package/v1/model/HttpResponseHeader.d.ts.map +1 -0
- package/v1/model/HttpResponseHeader.js +23 -0
- package/v1/model/HttpResponseHeader.js.map +1 -0
- package/v1/model/HttpsDetail.d.ts +45 -0
- package/v1/model/HttpsDetail.d.ts.map +1 -0
- package/v1/model/HttpsDetail.js +107 -0
- package/v1/model/HttpsDetail.js.map +1 -0
- package/v1/model/IpFilter.d.ts +8 -0
- package/v1/model/IpFilter.d.ts.map +1 -0
- package/v1/model/IpFilter.js +18 -0
- package/v1/model/IpFilter.js.map +1 -0
- package/v1/model/ListDomainsRequest.d.ts +72 -0
- package/v1/model/ListDomainsRequest.d.ts.map +1 -0
- package/v1/model/ListDomainsRequest.js +134 -0
- package/v1/model/ListDomainsRequest.js.map +1 -0
- package/v1/model/ListDomainsResponse.d.ts +10 -0
- package/v1/model/ListDomainsResponse.d.ts.map +1 -0
- package/v1/model/ListDomainsResponse.js +19 -0
- package/v1/model/ListDomainsResponse.js.map +1 -0
- package/v1/model/LogObject.d.ts +22 -0
- package/v1/model/LogObject.d.ts.map +1 -0
- package/v1/model/LogObject.js +51 -0
- package/v1/model/LogObject.js.map +1 -0
- package/v1/model/ModelMap.d.ts +8 -0
- package/v1/model/ModelMap.d.ts.map +1 -0
- package/v1/model/ModelMap.js +18 -0
- package/v1/model/ModelMap.js.map +1 -0
- package/v1/model/ModifyDomainConfigRequestBody.d.ts +7 -0
- package/v1/model/ModifyDomainConfigRequestBody.d.ts.map +1 -0
- package/v1/model/ModifyDomainConfigRequestBody.js +13 -0
- package/v1/model/ModifyDomainConfigRequestBody.js.map +1 -0
- package/v1/model/OriginHostBody.d.ts +20 -0
- package/v1/model/OriginHostBody.d.ts.map +1 -0
- package/v1/model/OriginHostBody.js +39 -0
- package/v1/model/OriginHostBody.js.map +1 -0
- package/v1/model/OriginHostRequest.d.ts +9 -0
- package/v1/model/OriginHostRequest.d.ts.map +1 -0
- package/v1/model/OriginHostRequest.js +20 -0
- package/v1/model/OriginHostRequest.js.map +1 -0
- package/v1/model/OriginRangeBody.d.ts +20 -0
- package/v1/model/OriginRangeBody.d.ts.map +1 -0
- package/v1/model/OriginRangeBody.js +38 -0
- package/v1/model/OriginRangeBody.js.map +1 -0
- package/v1/model/OriginRequest.d.ts +7 -0
- package/v1/model/OriginRequest.d.ts.map +1 -0
- package/v1/model/OriginRequest.js +14 -0
- package/v1/model/OriginRequest.js.map +1 -0
- package/v1/model/OriginRequestHeader.d.ts +10 -0
- package/v1/model/OriginRequestHeader.d.ts.map +1 -0
- package/v1/model/OriginRequestHeader.js +23 -0
- package/v1/model/OriginRequestHeader.js.map +1 -0
- package/v1/model/OriginRequestUrlRewrite.d.ts +18 -0
- package/v1/model/OriginRequestUrlRewrite.d.ts.map +1 -0
- package/v1/model/OriginRequestUrlRewrite.js +46 -0
- package/v1/model/OriginRequestUrlRewrite.js.map +1 -0
- package/v1/model/PreheatingTaskRequest.d.ts +9 -0
- package/v1/model/PreheatingTaskRequest.d.ts.map +1 -0
- package/v1/model/PreheatingTaskRequest.js +20 -0
- package/v1/model/PreheatingTaskRequest.js.map +1 -0
- package/v1/model/PreheatingTaskRequestBody.d.ts +6 -0
- package/v1/model/PreheatingTaskRequestBody.d.ts.map +1 -0
- package/v1/model/PreheatingTaskRequestBody.js +14 -0
- package/v1/model/PreheatingTaskRequestBody.js.map +1 -0
- package/v1/model/Quotas.d.ts +16 -0
- package/v1/model/Quotas.d.ts.map +1 -0
- package/v1/model/Quotas.js +37 -0
- package/v1/model/Quotas.js.map +1 -0
- package/v1/model/RangeStatusRequest.d.ts +16 -0
- package/v1/model/RangeStatusRequest.d.ts.map +1 -0
- package/v1/model/RangeStatusRequest.js +29 -0
- package/v1/model/RangeStatusRequest.js.map +1 -0
- package/v1/model/Referer.d.ts +16 -0
- package/v1/model/Referer.d.ts.map +1 -0
- package/v1/model/Referer.js +40 -0
- package/v1/model/Referer.js.map +1 -0
- package/v1/model/RefererBody.d.ts +7 -0
- package/v1/model/RefererBody.d.ts.map +1 -0
- package/v1/model/RefererBody.js +14 -0
- package/v1/model/RefererBody.js.map +1 -0
- package/v1/model/RefererConfig.d.ts +12 -0
- package/v1/model/RefererConfig.d.ts.map +1 -0
- package/v1/model/RefererConfig.js +28 -0
- package/v1/model/RefererConfig.js.map +1 -0
- package/v1/model/RefererRsp.d.ts +16 -0
- package/v1/model/RefererRsp.d.ts.map +1 -0
- package/v1/model/RefererRsp.js +39 -0
- package/v1/model/RefererRsp.js.map +1 -0
- package/v1/model/RefreshTaskRequest.d.ts +9 -0
- package/v1/model/RefreshTaskRequest.d.ts.map +1 -0
- package/v1/model/RefreshTaskRequest.js +20 -0
- package/v1/model/RefreshTaskRequest.js.map +1 -0
- package/v1/model/RefreshTaskRequestBody.d.ts +26 -0
- package/v1/model/RefreshTaskRequestBody.d.ts.map +1 -0
- package/v1/model/RefreshTaskRequestBody.js +40 -0
- package/v1/model/RefreshTaskRequestBody.js.map +1 -0
- package/v1/model/ResourceBody.d.ts +7 -0
- package/v1/model/ResourceBody.d.ts.map +1 -0
- package/v1/model/ResourceBody.js +14 -0
- package/v1/model/ResourceBody.js.map +1 -0
- package/v1/model/Rules.d.ts +18 -0
- package/v1/model/Rules.d.ts.map +1 -0
- package/v1/model/Rules.js +45 -0
- package/v1/model/Rules.js.map +1 -0
- package/v1/model/ShowBlackWhiteListRequest.d.ts +12 -0
- package/v1/model/ShowBlackWhiteListRequest.d.ts.map +1 -0
- package/v1/model/ShowBlackWhiteListRequest.js +30 -0
- package/v1/model/ShowBlackWhiteListRequest.js.map +1 -0
- package/v1/model/ShowBlackWhiteListResponse.d.ts +11 -0
- package/v1/model/ShowBlackWhiteListResponse.d.ts.map +1 -0
- package/v1/model/ShowBlackWhiteListResponse.js +25 -0
- package/v1/model/ShowBlackWhiteListResponse.js.map +1 -0
- package/v1/model/ShowCacheRulesRequest.d.ts +12 -0
- package/v1/model/ShowCacheRulesRequest.d.ts.map +1 -0
- package/v1/model/ShowCacheRulesRequest.js +30 -0
- package/v1/model/ShowCacheRulesRequest.js.map +1 -0
- package/v1/model/ShowCacheRulesResponse.d.ts +10 -0
- package/v1/model/ShowCacheRulesResponse.d.ts.map +1 -0
- package/v1/model/ShowCacheRulesResponse.js +21 -0
- package/v1/model/ShowCacheRulesResponse.js.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +24 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.js +59 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.js.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +10 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.js +19 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.js.map +1 -0
- package/v1/model/ShowDomainDetailRequest.d.ts +12 -0
- package/v1/model/ShowDomainDetailRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainDetailRequest.js +30 -0
- package/v1/model/ShowDomainDetailRequest.js.map +1 -0
- package/v1/model/ShowDomainDetailResponse.d.ts +8 -0
- package/v1/model/ShowDomainDetailResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainDetailResponse.js +15 -0
- package/v1/model/ShowDomainDetailResponse.js.map +1 -0
- package/v1/model/ShowDomainFullConfigRequest.d.ts +12 -0
- package/v1/model/ShowDomainFullConfigRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainFullConfigRequest.js +30 -0
- package/v1/model/ShowDomainFullConfigRequest.js.map +1 -0
- package/v1/model/ShowDomainFullConfigResponse.d.ts +8 -0
- package/v1/model/ShowDomainFullConfigResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainFullConfigResponse.js +15 -0
- package/v1/model/ShowDomainFullConfigResponse.js.map +1 -0
- package/v1/model/ShowDomainItemDetailsRequest.d.ts +28 -0
- package/v1/model/ShowDomainItemDetailsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainItemDetailsRequest.js +73 -0
- package/v1/model/ShowDomainItemDetailsRequest.js.map +1 -0
- package/v1/model/ShowDomainItemDetailsResponse.d.ts +10 -0
- package/v1/model/ShowDomainItemDetailsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainItemDetailsResponse.js +21 -0
- package/v1/model/ShowDomainItemDetailsResponse.js.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +28 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.js +73 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.js.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +10 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.js +21 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.js.map +1 -0
- package/v1/model/ShowDomainLocationStatsRequest.d.ts +38 -0
- package/v1/model/ShowDomainLocationStatsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainLocationStatsRequest.js +94 -0
- package/v1/model/ShowDomainLocationStatsRequest.js.map +1 -0
- package/v1/model/ShowDomainLocationStatsResponse.d.ts +15 -0
- package/v1/model/ShowDomainLocationStatsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainLocationStatsResponse.js +25 -0
- package/v1/model/ShowDomainLocationStatsResponse.js.map +1 -0
- package/v1/model/ShowDomainStatsRequest.d.ts +36 -0
- package/v1/model/ShowDomainStatsRequest.d.ts.map +1 -0
- package/v1/model/ShowDomainStatsRequest.js +92 -0
- package/v1/model/ShowDomainStatsRequest.js.map +1 -0
- package/v1/model/ShowDomainStatsResponse.d.ts +11 -0
- package/v1/model/ShowDomainStatsResponse.d.ts.map +1 -0
- package/v1/model/ShowDomainStatsResponse.js +15 -0
- package/v1/model/ShowDomainStatsResponse.js.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +28 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.js +68 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.js.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +32 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts.map +1 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.js +69 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.js.map +1 -0
- package/v1/model/ShowHistoryTasksRequest.d.ts +54 -0
- package/v1/model/ShowHistoryTasksRequest.d.ts.map +1 -0
- package/v1/model/ShowHistoryTasksRequest.js +111 -0
- package/v1/model/ShowHistoryTasksRequest.js.map +1 -0
- package/v1/model/ShowHistoryTasksResponse.d.ts +10 -0
- package/v1/model/ShowHistoryTasksResponse.d.ts.map +1 -0
- package/v1/model/ShowHistoryTasksResponse.js +19 -0
- package/v1/model/ShowHistoryTasksResponse.js.map +1 -0
- package/v1/model/ShowHttpInfoRequest.d.ts +12 -0
- package/v1/model/ShowHttpInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowHttpInfoRequest.js +30 -0
- package/v1/model/ShowHttpInfoRequest.js.map +1 -0
- package/v1/model/ShowHttpInfoResponse.d.ts +8 -0
- package/v1/model/ShowHttpInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowHttpInfoResponse.js +15 -0
- package/v1/model/ShowHttpInfoResponse.js.map +1 -0
- package/v1/model/ShowIpInfoRequest.d.ts +10 -0
- package/v1/model/ShowIpInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowIpInfoRequest.js +24 -0
- package/v1/model/ShowIpInfoRequest.js.map +1 -0
- package/v1/model/ShowIpInfoResponse.d.ts +10 -0
- package/v1/model/ShowIpInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowIpInfoResponse.js +21 -0
- package/v1/model/ShowIpInfoResponse.js.map +1 -0
- package/v1/model/ShowLogsRequest.d.ts +28 -0
- package/v1/model/ShowLogsRequest.d.ts.map +1 -0
- package/v1/model/ShowLogsRequest.js +70 -0
- package/v1/model/ShowLogsRequest.js.map +1 -0
- package/v1/model/ShowLogsResponse.d.ts +10 -0
- package/v1/model/ShowLogsResponse.d.ts.map +1 -0
- package/v1/model/ShowLogsResponse.js +19 -0
- package/v1/model/ShowLogsResponse.js.map +1 -0
- package/v1/model/ShowOriginHostRequest.d.ts +12 -0
- package/v1/model/ShowOriginHostRequest.d.ts.map +1 -0
- package/v1/model/ShowOriginHostRequest.js +30 -0
- package/v1/model/ShowOriginHostRequest.js.map +1 -0
- package/v1/model/ShowOriginHostResponse.d.ts +10 -0
- package/v1/model/ShowOriginHostResponse.d.ts.map +1 -0
- package/v1/model/ShowOriginHostResponse.js +21 -0
- package/v1/model/ShowOriginHostResponse.js.map +1 -0
- package/v1/model/ShowQuotaRequest.d.ts +4 -0
- package/v1/model/ShowQuotaRequest.d.ts.map +1 -0
- package/v1/model/ShowQuotaRequest.js +9 -0
- package/v1/model/ShowQuotaRequest.js.map +1 -0
- package/v1/model/ShowQuotaResponse.d.ts +8 -0
- package/v1/model/ShowQuotaResponse.d.ts.map +1 -0
- package/v1/model/ShowQuotaResponse.js +15 -0
- package/v1/model/ShowQuotaResponse.js.map +1 -0
- package/v1/model/ShowReferRequest.d.ts +12 -0
- package/v1/model/ShowReferRequest.d.ts.map +1 -0
- package/v1/model/ShowReferRequest.js +30 -0
- package/v1/model/ShowReferRequest.js.map +1 -0
- package/v1/model/ShowReferResponse.d.ts +8 -0
- package/v1/model/ShowReferResponse.d.ts.map +1 -0
- package/v1/model/ShowReferResponse.js +15 -0
- package/v1/model/ShowReferResponse.js.map +1 -0
- package/v1/model/ShowResponseHeaderRequest.d.ts +12 -0
- package/v1/model/ShowResponseHeaderRequest.d.ts.map +1 -0
- package/v1/model/ShowResponseHeaderRequest.js +30 -0
- package/v1/model/ShowResponseHeaderRequest.js.map +1 -0
- package/v1/model/ShowResponseHeaderResponse.d.ts +8 -0
- package/v1/model/ShowResponseHeaderResponse.d.ts.map +1 -0
- package/v1/model/ShowResponseHeaderResponse.js +15 -0
- package/v1/model/ShowResponseHeaderResponse.js.map +1 -0
- package/v1/model/ShowTagsRequest.d.ts +8 -0
- package/v1/model/ShowTagsRequest.d.ts.map +1 -0
- package/v1/model/ShowTagsRequest.js +20 -0
- package/v1/model/ShowTagsRequest.js.map +1 -0
- package/v1/model/ShowTagsResponse.d.ts +7 -0
- package/v1/model/ShowTagsResponse.d.ts.map +1 -0
- package/v1/model/ShowTagsResponse.js +15 -0
- package/v1/model/ShowTagsResponse.js.map +1 -0
- package/v1/model/ShowTopUrlRequest.d.ts +44 -0
- package/v1/model/ShowTopUrlRequest.d.ts.map +1 -0
- package/v1/model/ShowTopUrlRequest.js +91 -0
- package/v1/model/ShowTopUrlRequest.js.map +1 -0
- package/v1/model/ShowTopUrlResponse.d.ts +14 -0
- package/v1/model/ShowTopUrlResponse.d.ts.map +1 -0
- package/v1/model/ShowTopUrlResponse.js +31 -0
- package/v1/model/ShowTopUrlResponse.js.map +1 -0
- package/v1/model/ShowUrlTaskInfoRequest.d.ts +28 -0
- package/v1/model/ShowUrlTaskInfoRequest.d.ts.map +1 -0
- package/v1/model/ShowUrlTaskInfoRequest.js +65 -0
- package/v1/model/ShowUrlTaskInfoRequest.js.map +1 -0
- package/v1/model/ShowUrlTaskInfoResponse.d.ts +16 -0
- package/v1/model/ShowUrlTaskInfoResponse.d.ts.map +1 -0
- package/v1/model/ShowUrlTaskInfoResponse.js +33 -0
- package/v1/model/ShowUrlTaskInfoResponse.js.map +1 -0
- package/v1/model/SourceWithPort.d.ts +41 -0
- package/v1/model/SourceWithPort.d.ts.map +1 -0
- package/v1/model/SourceWithPort.js +92 -0
- package/v1/model/SourceWithPort.js.map +1 -0
- package/v1/model/Sources.d.ts +33 -0
- package/v1/model/Sources.d.ts.map +1 -0
- package/v1/model/Sources.js +72 -0
- package/v1/model/Sources.js.map +1 -0
- package/v1/model/SourcesConfig.d.ts +30 -0
- package/v1/model/SourcesConfig.d.ts.map +1 -0
- package/v1/model/SourcesConfig.js +76 -0
- package/v1/model/SourcesConfig.js.map +1 -0
- package/v1/model/TasksObject.d.ts +44 -0
- package/v1/model/TasksObject.d.ts.map +1 -0
- package/v1/model/TasksObject.js +81 -0
- package/v1/model/TasksObject.js.map +1 -0
- package/v1/model/TopUrlSummary.d.ts +20 -0
- package/v1/model/TopUrlSummary.d.ts.map +1 -0
- package/v1/model/TopUrlSummary.js +47 -0
- package/v1/model/TopUrlSummary.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListRequest.d.ts +15 -0
- package/v1/model/UpdateBlackWhiteListRequest.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListRequest.js +34 -0
- package/v1/model/UpdateBlackWhiteListRequest.js.map +1 -0
- package/v1/model/UpdateBlackWhiteListResponse.d.ts +11 -0
- package/v1/model/UpdateBlackWhiteListResponse.d.ts.map +1 -0
- package/v1/model/UpdateBlackWhiteListResponse.js +23 -0
- package/v1/model/UpdateBlackWhiteListResponse.js.map +1 -0
- package/v1/model/UpdateCacheRulesRequest.d.ts +15 -0
- package/v1/model/UpdateCacheRulesRequest.d.ts.map +1 -0
- package/v1/model/UpdateCacheRulesRequest.js +34 -0
- package/v1/model/UpdateCacheRulesRequest.js.map +1 -0
- package/v1/model/UpdateCacheRulesResponse.d.ts +10 -0
- package/v1/model/UpdateCacheRulesResponse.d.ts.map +1 -0
- package/v1/model/UpdateCacheRulesResponse.js +21 -0
- package/v1/model/UpdateCacheRulesResponse.js.map +1 -0
- package/v1/model/UpdateDomainFullConfigRequest.d.ts +15 -0
- package/v1/model/UpdateDomainFullConfigRequest.d.ts.map +1 -0
- package/v1/model/UpdateDomainFullConfigRequest.js +34 -0
- package/v1/model/UpdateDomainFullConfigRequest.js.map +1 -0
- package/v1/model/UpdateDomainFullConfigResponse.d.ts +5 -0
- package/v1/model/UpdateDomainFullConfigResponse.d.ts.map +1 -0
- package/v1/model/UpdateDomainFullConfigResponse.js +11 -0
- package/v1/model/UpdateDomainFullConfigResponse.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +11 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.js +23 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +7 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +13 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +41 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +99 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +8 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.js +15 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.js.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +41 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts.map +1 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +98 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js.map +1 -0
- package/v1/model/UpdateDomainOriginRequest.d.ts +15 -0
- package/v1/model/UpdateDomainOriginRequest.d.ts.map +1 -0
- package/v1/model/UpdateDomainOriginRequest.js +34 -0
- package/v1/model/UpdateDomainOriginRequest.js.map +1 -0
- package/v1/model/UpdateDomainOriginResponse.d.ts +8 -0
- package/v1/model/UpdateDomainOriginResponse.d.ts.map +1 -0
- package/v1/model/UpdateDomainOriginResponse.js +15 -0
- package/v1/model/UpdateDomainOriginResponse.js.map +1 -0
- package/v1/model/UpdateFollow302SwitchRequest.d.ts +15 -0
- package/v1/model/UpdateFollow302SwitchRequest.d.ts.map +1 -0
- package/v1/model/UpdateFollow302SwitchRequest.js +34 -0
- package/v1/model/UpdateFollow302SwitchRequest.js.map +1 -0
- package/v1/model/UpdateFollow302SwitchResponse.d.ts +10 -0
- package/v1/model/UpdateFollow302SwitchResponse.d.ts.map +1 -0
- package/v1/model/UpdateFollow302SwitchResponse.js +21 -0
- package/v1/model/UpdateFollow302SwitchResponse.js.map +1 -0
- package/v1/model/UpdateHttpsInfoRequest.d.ts +15 -0
- package/v1/model/UpdateHttpsInfoRequest.d.ts.map +1 -0
- package/v1/model/UpdateHttpsInfoRequest.js +34 -0
- package/v1/model/UpdateHttpsInfoRequest.js.map +1 -0
- package/v1/model/UpdateHttpsInfoResponse.d.ts +8 -0
- package/v1/model/UpdateHttpsInfoResponse.d.ts.map +1 -0
- package/v1/model/UpdateHttpsInfoResponse.js +15 -0
- package/v1/model/UpdateHttpsInfoResponse.js.map +1 -0
- package/v1/model/UpdateOriginHostRequest.d.ts +15 -0
- package/v1/model/UpdateOriginHostRequest.d.ts.map +1 -0
- package/v1/model/UpdateOriginHostRequest.js +34 -0
- package/v1/model/UpdateOriginHostRequest.js.map +1 -0
- package/v1/model/UpdateOriginHostResponse.d.ts +10 -0
- package/v1/model/UpdateOriginHostResponse.d.ts.map +1 -0
- package/v1/model/UpdateOriginHostResponse.js +21 -0
- package/v1/model/UpdateOriginHostResponse.js.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts +6 -0
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessBody.js +13 -0
- package/v1/model/UpdatePrivateBucketAccessBody.js.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +15 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.js +34 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.js.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +7 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts.map +1 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.js +15 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.js.map +1 -0
- package/v1/model/UpdateRangeSwitchRequest.d.ts +15 -0
- package/v1/model/UpdateRangeSwitchRequest.d.ts.map +1 -0
- package/v1/model/UpdateRangeSwitchRequest.js +34 -0
- package/v1/model/UpdateRangeSwitchRequest.js.map +1 -0
- package/v1/model/UpdateRangeSwitchResponse.d.ts +10 -0
- package/v1/model/UpdateRangeSwitchResponse.d.ts.map +1 -0
- package/v1/model/UpdateRangeSwitchResponse.js +21 -0
- package/v1/model/UpdateRangeSwitchResponse.js.map +1 -0
- package/v1/model/UpdateReferRequest.d.ts +15 -0
- package/v1/model/UpdateReferRequest.d.ts.map +1 -0
- package/v1/model/UpdateReferRequest.js +34 -0
- package/v1/model/UpdateReferRequest.js.map +1 -0
- package/v1/model/UpdateReferResponse.d.ts +8 -0
- package/v1/model/UpdateReferResponse.d.ts.map +1 -0
- package/v1/model/UpdateReferResponse.js +15 -0
- package/v1/model/UpdateReferResponse.js.map +1 -0
- package/v1/model/UpdateResponseHeaderRequest.d.ts +15 -0
- package/v1/model/UpdateResponseHeaderRequest.d.ts.map +1 -0
- package/v1/model/UpdateResponseHeaderRequest.js +34 -0
- package/v1/model/UpdateResponseHeaderRequest.js.map +1 -0
- package/v1/model/UpdateResponseHeaderResponse.d.ts +8 -0
- package/v1/model/UpdateResponseHeaderResponse.d.ts.map +1 -0
- package/v1/model/UpdateResponseHeaderResponse.js +15 -0
- package/v1/model/UpdateResponseHeaderResponse.js.map +1 -0
- package/v1/model/UrlAuth.d.ts +18 -0
- package/v1/model/UrlAuth.d.ts.map +1 -0
- package/v1/model/UrlAuth.js +42 -0
- package/v1/model/UrlAuth.js.map +1 -0
- package/v1/model/UrlAuthGetBody.d.ts +16 -0
- package/v1/model/UrlAuthGetBody.d.ts.map +1 -0
- package/v1/model/UrlAuthGetBody.js +38 -0
- package/v1/model/UrlAuthGetBody.js.map +1 -0
- package/v1/model/UrlObject.d.ts +22 -0
- package/v1/model/UrlObject.d.ts.map +1 -0
- package/v1/model/UrlObject.js +51 -0
- package/v1/model/UrlObject.js.map +1 -0
- package/v1/model/Urls.d.ts +28 -0
- package/v1/model/Urls.d.ts.map +1 -0
- package/v1/model/Urls.js +65 -0
- package/v1/model/Urls.js.map +1 -0
- package/v1/model/UserAgentFilter.d.ts +8 -0
- package/v1/model/UserAgentFilter.d.ts.map +1 -0
- package/v1/model/UserAgentFilter.js +18 -0
- package/v1/model/UserAgentFilter.js.map +1 -0
- package/v1/public-api.d.ts +163 -0
- package/v1/public-api.d.ts.map +1 -0
- package/v1/public-api.js +179 -0
- package/v1/public-api.js.map +1 -0
- package/v2/CdnClient.d.ts +651 -0
- package/v2/CdnClient.d.ts.map +1 -0
- package/v2/CdnClient.js +1466 -0
- package/v2/CdnClient.js.map +1 -0
- package/v2/CdnRegion.d.ts +8 -0
- package/v2/CdnRegion.d.ts.map +1 -0
- package/v2/CdnRegion.js +24 -0
- package/v2/CdnRegion.js.map +1 -0
- package/v2/model/BackSources.d.ts +24 -0
- package/v2/model/BackSources.d.ts.map +1 -0
- package/v2/model/BackSources.js +61 -0
- package/v2/model/BackSources.js.map +1 -0
- package/v2/model/BatchCopyConfigs.d.ts +16 -0
- package/v2/model/BatchCopyConfigs.d.ts.map +1 -0
- package/v2/model/BatchCopyConfigs.js +42 -0
- package/v2/model/BatchCopyConfigs.js.map +1 -0
- package/v2/model/BatchCopyDRequestBody.d.ts +7 -0
- package/v2/model/BatchCopyDRequestBody.d.ts.map +1 -0
- package/v2/model/BatchCopyDRequestBody.js +14 -0
- package/v2/model/BatchCopyDRequestBody.js.map +1 -0
- package/v2/model/BatchCopyDomainRequest.d.ts +7 -0
- package/v2/model/BatchCopyDomainRequest.d.ts.map +1 -0
- package/v2/model/BatchCopyDomainRequest.js +13 -0
- package/v2/model/BatchCopyDomainRequest.js.map +1 -0
- package/v2/model/BatchCopyDomainResponse.d.ts +8 -0
- package/v2/model/BatchCopyDomainResponse.d.ts.map +1 -0
- package/v2/model/BatchCopyDomainResponse.js +15 -0
- package/v2/model/BatchCopyDomainResponse.js.map +1 -0
- package/v2/model/BatchCopyErrorRsp.d.ts +7 -0
- package/v2/model/BatchCopyErrorRsp.d.ts.map +1 -0
- package/v2/model/BatchCopyErrorRsp.js +13 -0
- package/v2/model/BatchCopyErrorRsp.js.map +1 -0
- package/v2/model/BatchCopyErrorRspError.d.ts +12 -0
- package/v2/model/BatchCopyErrorRspError.d.ts.map +1 -0
- package/v2/model/BatchCopyErrorRspError.js +29 -0
- package/v2/model/BatchCopyErrorRspError.js.map +1 -0
- package/v2/model/BatchCopyResultVo.d.ts +20 -0
- package/v2/model/BatchCopyResultVo.d.ts.map +1 -0
- package/v2/model/BatchCopyResultVo.js +38 -0
- package/v2/model/BatchCopyResultVo.js.map +1 -0
- package/v2/model/CacheRules.d.ts +32 -0
- package/v2/model/CacheRules.d.ts.map +1 -0
- package/v2/model/CacheRules.js +83 -0
- package/v2/model/CacheRules.js.map +1 -0
- package/v2/model/CacheUrlParameterFilter.d.ts +8 -0
- package/v2/model/CacheUrlParameterFilter.d.ts.map +1 -0
- package/v2/model/CacheUrlParameterFilter.js +17 -0
- package/v2/model/CacheUrlParameterFilter.js.map +1 -0
- package/v2/model/CommonRemoteAuth.d.ts +13 -0
- package/v2/model/CommonRemoteAuth.d.ts.map +1 -0
- package/v2/model/CommonRemoteAuth.js +31 -0
- package/v2/model/CommonRemoteAuth.js.map +1 -0
- package/v2/model/Compress.d.ts +12 -0
- package/v2/model/Compress.d.ts.map +1 -0
- package/v2/model/Compress.js +29 -0
- package/v2/model/Compress.js.map +1 -0
- package/v2/model/Configs.d.ts +126 -0
- package/v2/model/Configs.d.ts.map +1 -0
- package/v2/model/Configs.js +259 -0
- package/v2/model/Configs.js.map +1 -0
- package/v2/model/ConfigsGetBody.d.ts +126 -0
- package/v2/model/ConfigsGetBody.d.ts.map +1 -0
- package/v2/model/ConfigsGetBody.js +259 -0
- package/v2/model/ConfigsGetBody.js.map +1 -0
- package/v2/model/CustomArgs.d.ts +10 -0
- package/v2/model/CustomArgs.d.ts.map +1 -0
- package/v2/model/CustomArgs.js +24 -0
- package/v2/model/CustomArgs.js.map +1 -0
- package/v2/model/DomainOriginHost.d.ts +16 -0
- package/v2/model/DomainOriginHost.d.ts.map +1 -0
- package/v2/model/DomainOriginHost.js +40 -0
- package/v2/model/DomainOriginHost.js.map +1 -0
- package/v2/model/Domains.d.ts +88 -0
- package/v2/model/Domains.d.ts.map +1 -0
- package/v2/model/Domains.js +193 -0
- package/v2/model/Domains.js.map +1 -0
- package/v2/model/DomainsWithPort.d.ts +52 -0
- package/v2/model/DomainsWithPort.d.ts.map +1 -0
- package/v2/model/DomainsWithPort.js +109 -0
- package/v2/model/DomainsWithPort.js.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +36 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.js +89 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.js.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +5 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts.map +1 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.js +11 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.js.map +1 -0
- package/v2/model/DownloadStatisticsExcelRequest.d.ts +34 -0
- package/v2/model/DownloadStatisticsExcelRequest.d.ts.map +1 -0
- package/v2/model/DownloadStatisticsExcelRequest.js +87 -0
- package/v2/model/DownloadStatisticsExcelRequest.js.map +1 -0
- package/v2/model/DownloadStatisticsExcelResponse.d.ts +5 -0
- package/v2/model/DownloadStatisticsExcelResponse.d.ts.map +1 -0
- package/v2/model/DownloadStatisticsExcelResponse.js +11 -0
- package/v2/model/DownloadStatisticsExcelResponse.js.map +1 -0
- package/v2/model/EpResourceTag.d.ts +8 -0
- package/v2/model/EpResourceTag.d.ts.map +1 -0
- package/v2/model/EpResourceTag.js +19 -0
- package/v2/model/EpResourceTag.js.map +1 -0
- package/v2/model/ErrMsg.d.ts +12 -0
- package/v2/model/ErrMsg.d.ts.map +1 -0
- package/v2/model/ErrMsg.js +31 -0
- package/v2/model/ErrMsg.js.map +1 -0
- package/v2/model/ErrRsp.d.ts +7 -0
- package/v2/model/ErrRsp.d.ts.map +1 -0
- package/v2/model/ErrRsp.js +14 -0
- package/v2/model/ErrRsp.js.map +1 -0
- package/v2/model/ErrorCodeCache.d.ts +8 -0
- package/v2/model/ErrorCodeCache.d.ts.map +1 -0
- package/v2/model/ErrorCodeCache.js +17 -0
- package/v2/model/ErrorCodeCache.js.map +1 -0
- package/v2/model/ErrorCodeRedirectRules.d.ts +16 -0
- package/v2/model/ErrorCodeRedirectRules.d.ts.map +1 -0
- package/v2/model/ErrorCodeRedirectRules.js +42 -0
- package/v2/model/ErrorCodeRedirectRules.js.map +1 -0
- package/v2/model/FlexibleOrigins.d.ts +19 -0
- package/v2/model/FlexibleOrigins.d.ts.map +1 -0
- package/v2/model/FlexibleOrigins.js +47 -0
- package/v2/model/FlexibleOrigins.js.map +1 -0
- package/v2/model/ForceRedirectConfig.d.ts +12 -0
- package/v2/model/ForceRedirectConfig.d.ts.map +1 -0
- package/v2/model/ForceRedirectConfig.js +28 -0
- package/v2/model/ForceRedirectConfig.js.map +1 -0
- package/v2/model/HttpGetBody.d.ts +40 -0
- package/v2/model/HttpGetBody.d.ts.map +1 -0
- package/v2/model/HttpGetBody.js +99 -0
- package/v2/model/HttpGetBody.js.map +1 -0
- package/v2/model/HttpPutBody.d.ts +40 -0
- package/v2/model/HttpPutBody.d.ts.map +1 -0
- package/v2/model/HttpPutBody.js +99 -0
- package/v2/model/HttpPutBody.js.map +1 -0
- package/v2/model/HttpResponseHeader.d.ts +10 -0
- package/v2/model/HttpResponseHeader.d.ts.map +1 -0
- package/v2/model/HttpResponseHeader.js +23 -0
- package/v2/model/HttpResponseHeader.js.map +1 -0
- package/v2/model/IpFilter.d.ts +8 -0
- package/v2/model/IpFilter.d.ts.map +1 -0
- package/v2/model/IpFilter.js +18 -0
- package/v2/model/IpFilter.js.map +1 -0
- package/v2/model/ListDomainsRequest.d.ts +40 -0
- package/v2/model/ListDomainsRequest.d.ts.map +1 -0
- package/v2/model/ListDomainsRequest.js +99 -0
- package/v2/model/ListDomainsRequest.js.map +1 -0
- package/v2/model/ListDomainsResponse.d.ts +10 -0
- package/v2/model/ListDomainsResponse.d.ts.map +1 -0
- package/v2/model/ListDomainsResponse.js +19 -0
- package/v2/model/ListDomainsResponse.js.map +1 -0
- package/v2/model/ModifyDomainConfigRequestBody.d.ts +7 -0
- package/v2/model/ModifyDomainConfigRequestBody.d.ts.map +1 -0
- package/v2/model/ModifyDomainConfigRequestBody.js +13 -0
- package/v2/model/ModifyDomainConfigRequestBody.js.map +1 -0
- package/v2/model/OriginRequestHeader.d.ts +10 -0
- package/v2/model/OriginRequestHeader.d.ts.map +1 -0
- package/v2/model/OriginRequestHeader.js +23 -0
- package/v2/model/OriginRequestHeader.js.map +1 -0
- package/v2/model/OriginRequestUrlRewrite.d.ts +18 -0
- package/v2/model/OriginRequestUrlRewrite.d.ts.map +1 -0
- package/v2/model/OriginRequestUrlRewrite.js +46 -0
- package/v2/model/OriginRequestUrlRewrite.js.map +1 -0
- package/v2/model/RefererConfig.d.ts +12 -0
- package/v2/model/RefererConfig.d.ts.map +1 -0
- package/v2/model/RefererConfig.js +28 -0
- package/v2/model/RefererConfig.js.map +1 -0
- package/v2/model/RemoteAuthRuleVo.d.ts +63 -0
- package/v2/model/RemoteAuthRuleVo.d.ts.map +1 -0
- package/v2/model/RemoteAuthRuleVo.js +163 -0
- package/v2/model/RemoteAuthRuleVo.js.map +1 -0
- package/v2/model/RequestLimitRules.d.ts +16 -0
- package/v2/model/RequestLimitRules.d.ts.map +1 -0
- package/v2/model/RequestLimitRules.js +39 -0
- package/v2/model/RequestLimitRules.js.map +1 -0
- package/v2/model/SetChargeModesBody.d.ts +16 -0
- package/v2/model/SetChargeModesBody.d.ts.map +1 -0
- package/v2/model/SetChargeModesBody.js +42 -0
- package/v2/model/SetChargeModesBody.js.map +1 -0
- package/v2/model/SetChargeModesRequest.d.ts +7 -0
- package/v2/model/SetChargeModesRequest.d.ts.map +1 -0
- package/v2/model/SetChargeModesRequest.js +13 -0
- package/v2/model/SetChargeModesRequest.js.map +1 -0
- package/v2/model/SetChargeModesResponse.d.ts +27 -0
- package/v2/model/SetChargeModesResponse.d.ts.map +1 -0
- package/v2/model/SetChargeModesResponse.js +65 -0
- package/v2/model/SetChargeModesResponse.js.map +1 -0
- package/v2/model/ShowBandwidthCalcRequest.d.ts +28 -0
- package/v2/model/ShowBandwidthCalcRequest.d.ts.map +1 -0
- package/v2/model/ShowBandwidthCalcRequest.js +73 -0
- package/v2/model/ShowBandwidthCalcRequest.js.map +1 -0
- package/v2/model/ShowBandwidthCalcResponse.d.ts +15 -0
- package/v2/model/ShowBandwidthCalcResponse.d.ts.map +1 -0
- package/v2/model/ShowBandwidthCalcResponse.js +21 -0
- package/v2/model/ShowBandwidthCalcResponse.js.map +1 -0
- package/v2/model/ShowChargeModesRequest.d.ts +14 -0
- package/v2/model/ShowChargeModesRequest.d.ts.map +1 -0
- package/v2/model/ShowChargeModesRequest.js +34 -0
- package/v2/model/ShowChargeModesRequest.js.map +1 -0
- package/v2/model/ShowChargeModesResponse.d.ts +11 -0
- package/v2/model/ShowChargeModesResponse.d.ts.map +1 -0
- package/v2/model/ShowChargeModesResponse.js +15 -0
- package/v2/model/ShowChargeModesResponse.js.map +1 -0
- package/v2/model/ShowDomainDetailByNameRequest.d.ts +12 -0
- package/v2/model/ShowDomainDetailByNameRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainDetailByNameRequest.js +30 -0
- package/v2/model/ShowDomainDetailByNameRequest.js.map +1 -0
- package/v2/model/ShowDomainDetailByNameResponse.d.ts +8 -0
- package/v2/model/ShowDomainDetailByNameResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainDetailByNameResponse.js +15 -0
- package/v2/model/ShowDomainDetailByNameResponse.js.map +1 -0
- package/v2/model/ShowDomainFullConfigRequest.d.ts +16 -0
- package/v2/model/ShowDomainFullConfigRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainFullConfigRequest.js +40 -0
- package/v2/model/ShowDomainFullConfigRequest.js.map +1 -0
- package/v2/model/ShowDomainFullConfigResponse.d.ts +8 -0
- package/v2/model/ShowDomainFullConfigResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainFullConfigResponse.js +15 -0
- package/v2/model/ShowDomainFullConfigResponse.js.map +1 -0
- package/v2/model/ShowDomainLocationStatsRequest.d.ts +38 -0
- package/v2/model/ShowDomainLocationStatsRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainLocationStatsRequest.js +94 -0
- package/v2/model/ShowDomainLocationStatsRequest.js.map +1 -0
- package/v2/model/ShowDomainLocationStatsResponse.d.ts +15 -0
- package/v2/model/ShowDomainLocationStatsResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainLocationStatsResponse.js +25 -0
- package/v2/model/ShowDomainLocationStatsResponse.js.map +1 -0
- package/v2/model/ShowDomainStatsRequest.d.ts +36 -0
- package/v2/model/ShowDomainStatsRequest.d.ts.map +1 -0
- package/v2/model/ShowDomainStatsRequest.js +92 -0
- package/v2/model/ShowDomainStatsRequest.js.map +1 -0
- package/v2/model/ShowDomainStatsResponse.d.ts +11 -0
- package/v2/model/ShowDomainStatsResponse.d.ts.map +1 -0
- package/v2/model/ShowDomainStatsResponse.js +15 -0
- package/v2/model/ShowDomainStatsResponse.js.map +1 -0
- package/v2/model/ShowTopDomainNamesRequest.d.ts +26 -0
- package/v2/model/ShowTopDomainNamesRequest.d.ts.map +1 -0
- package/v2/model/ShowTopDomainNamesRequest.js +66 -0
- package/v2/model/ShowTopDomainNamesRequest.js.map +1 -0
- package/v2/model/ShowTopDomainNamesResponse.d.ts +15 -0
- package/v2/model/ShowTopDomainNamesResponse.d.ts.map +1 -0
- package/v2/model/ShowTopDomainNamesResponse.js +21 -0
- package/v2/model/ShowTopDomainNamesResponse.js.map +1 -0
- package/v2/model/ShowTopUrlRequest.d.ts +28 -0
- package/v2/model/ShowTopUrlRequest.d.ts.map +1 -0
- package/v2/model/ShowTopUrlRequest.js +73 -0
- package/v2/model/ShowTopUrlRequest.js.map +1 -0
- package/v2/model/ShowTopUrlResponse.d.ts +14 -0
- package/v2/model/ShowTopUrlResponse.d.ts.map +1 -0
- package/v2/model/ShowTopUrlResponse.js +31 -0
- package/v2/model/ShowTopUrlResponse.js.map +1 -0
- package/v2/model/Sources.d.ts +33 -0
- package/v2/model/Sources.d.ts.map +1 -0
- package/v2/model/Sources.js +72 -0
- package/v2/model/Sources.js.map +1 -0
- package/v2/model/SourcesConfig.d.ts +36 -0
- package/v2/model/SourcesConfig.d.ts.map +1 -0
- package/v2/model/SourcesConfig.js +90 -0
- package/v2/model/SourcesConfig.js.map +1 -0
- package/v2/model/TopUrlSummary.d.ts +20 -0
- package/v2/model/TopUrlSummary.d.ts.map +1 -0
- package/v2/model/TopUrlSummary.js +47 -0
- package/v2/model/TopUrlSummary.js.map +1 -0
- package/v2/model/UpdateDomainFullConfigRequest.d.ts +15 -0
- package/v2/model/UpdateDomainFullConfigRequest.d.ts.map +1 -0
- package/v2/model/UpdateDomainFullConfigRequest.js +34 -0
- package/v2/model/UpdateDomainFullConfigRequest.js.map +1 -0
- package/v2/model/UpdateDomainFullConfigResponse.d.ts +5 -0
- package/v2/model/UpdateDomainFullConfigResponse.d.ts.map +1 -0
- package/v2/model/UpdateDomainFullConfigResponse.js +11 -0
- package/v2/model/UpdateDomainFullConfigResponse.js.map +1 -0
- package/v2/model/UrlAuth.d.ts +34 -0
- package/v2/model/UrlAuth.d.ts.map +1 -0
- package/v2/model/UrlAuth.js +85 -0
- package/v2/model/UrlAuth.js.map +1 -0
- package/v2/model/UrlAuthGetBody.d.ts +34 -0
- package/v2/model/UrlAuthGetBody.d.ts.map +1 -0
- package/v2/model/UrlAuthGetBody.js +82 -0
- package/v2/model/UrlAuthGetBody.js.map +1 -0
- package/v2/model/UserAgentFilter.d.ts +12 -0
- package/v2/model/UserAgentFilter.d.ts.map +1 -0
- package/v2/model/UserAgentFilter.js +28 -0
- package/v2/model/UserAgentFilter.js.map +1 -0
- package/v2/model/VideoSeek.d.ts +20 -0
- package/v2/model/VideoSeek.d.ts.map +1 -0
- package/v2/model/VideoSeek.js +50 -0
- package/v2/model/VideoSeek.js.map +1 -0
- package/v2/model/WebSocketSeek.d.ts +8 -0
- package/v2/model/WebSocketSeek.d.ts.map +1 -0
- package/v2/model/WebSocketSeek.js +19 -0
- package/v2/model/WebSocketSeek.js.map +1 -0
- package/v2/public-api.d.ts +73 -0
- package/v2/public-api.d.ts.map +1 -0
- package/v2/public-api.js +89 -0
- package/v2/public-api.js.map +1 -0
- package/huaweicloud-sdk-cdn.ts +0 -6
- package/v1/CdnClient.ts +0 -3659
- package/v1/CdnRegion.ts +0 -28
- package/v1/model/BatchDeleteTagsRequest.ts +0 -12
- package/v1/model/BatchDeleteTagsResponse.ts +0 -8
- package/v1/model/BlackWhiteListBody.ts +0 -23
- package/v1/model/CacheConfig.ts +0 -40
- package/v1/model/CacheConfigRequest.ts +0 -40
- package/v1/model/CacheConfigRequestBody.ts +0 -19
- package/v1/model/CacheRules.ts +0 -88
- package/v1/model/CacheUrlParameterFilter.ts +0 -16
- package/v1/model/CdnIps.ts +0 -31
- package/v1/model/Compress.ts +0 -17
- package/v1/model/CompressRequest.ts +0 -17
- package/v1/model/CompressResponse.ts +0 -30
- package/v1/model/CompressRules.ts +0 -28
- package/v1/model/Configs.ts +0 -206
- package/v1/model/ConfigsGetBody.ts +0 -206
- package/v1/model/CreateDomainRequest.ts +0 -12
- package/v1/model/CreateDomainRequestBody.ts +0 -13
- package/v1/model/CreateDomainResponse.ts +0 -14
- package/v1/model/CreateDomainResponseBodyContent.ts +0 -176
- package/v1/model/CreatePreheatingTasksRequest.ts +0 -23
- package/v1/model/CreatePreheatingTasksResponse.ts +0 -19
- package/v1/model/CreateRefreshTasksRequest.ts +0 -23
- package/v1/model/CreateRefreshTasksResponse.ts +0 -19
- package/v1/model/CreateTagsRequest.ts +0 -12
- package/v1/model/CreateTagsRequestBody.ts +0 -24
- package/v1/model/CreateTagsResponse.ts +0 -8
- package/v1/model/DeleteDomainRequest.ts +0 -29
- package/v1/model/DeleteDomainResponse.ts +0 -14
- package/v1/model/DeleteTagsRequestBody.ts +0 -24
- package/v1/model/DisableDomainRequest.ts +0 -29
- package/v1/model/DisableDomainResponse.ts +0 -14
- package/v1/model/DomainBody.ts +0 -80
- package/v1/model/DomainItemDetail.ts +0 -44
- package/v1/model/DomainItemLocationDetails.ts +0 -45
- package/v1/model/DomainOriginHost.ts +0 -40
- package/v1/model/DomainRegion.ts +0 -28
- package/v1/model/Domains.ts +0 -225
- package/v1/model/DomainsWithPort.ts +0 -219
- package/v1/model/EnableDomainRequest.ts +0 -29
- package/v1/model/EnableDomainResponse.ts +0 -14
- package/v1/model/EpResourceTag.ts +0 -18
- package/v1/model/ErrorCodeCache.ts +0 -16
- package/v1/model/ErrorCodeRedirectRules.ts +0 -42
- package/v1/model/Follow302StatusBody.ts +0 -37
- package/v1/model/Follow302StatusRequest.ts +0 -27
- package/v1/model/ForceRedirect.ts +0 -29
- package/v1/model/ForceRedirectConfig.ts +0 -28
- package/v1/model/HeaderBody.ts +0 -12
- package/v1/model/HeaderMap.ts +0 -72
- package/v1/model/HttpGetBody.ts +0 -72
- package/v1/model/HttpInfoRequest.ts +0 -13
- package/v1/model/HttpInfoRequestBody.ts +0 -85
- package/v1/model/HttpInfoResponseBody.ts +0 -94
- package/v1/model/HttpPutBody.ts +0 -83
- package/v1/model/HttpResponseHeader.ts +0 -23
- package/v1/model/HttpsDetail.ts +0 -116
- package/v1/model/IpFilter.ts +0 -17
- package/v1/model/ListDomainsRequest.ts +0 -138
- package/v1/model/ListDomainsResponse.ts +0 -19
- package/v1/model/LogObject.ts +0 -54
- package/v1/model/ModelMap.ts +0 -17
- package/v1/model/ModifyDomainConfigRequestBody.ts +0 -12
- package/v1/model/OriginHostBody.ts +0 -38
- package/v1/model/OriginHostRequest.ts +0 -19
- package/v1/model/OriginRangeBody.ts +0 -37
- package/v1/model/OriginRequest.ts +0 -13
- package/v1/model/OriginRequestHeader.ts +0 -23
- package/v1/model/OriginRequestUrlRewrite.ts +0 -47
- package/v1/model/PreheatingTaskRequest.ts +0 -19
- package/v1/model/PreheatingTaskRequestBody.ts +0 -12
- package/v1/model/Quotas.ts +0 -38
- package/v1/model/RangeStatusRequest.ts +0 -27
- package/v1/model/Referer.ts +0 -40
- package/v1/model/RefererBody.ts +0 -13
- package/v1/model/RefererConfig.ts +0 -28
- package/v1/model/RefererRsp.ts +0 -39
- package/v1/model/RefreshTaskRequest.ts +0 -19
- package/v1/model/RefreshTaskRequestBody.ts +0 -39
- package/v1/model/ResourceBody.ts +0 -13
- package/v1/model/Rules.ts +0 -47
- package/v1/model/ShowBlackWhiteListRequest.ts +0 -29
- package/v1/model/ShowBlackWhiteListResponse.ts +0 -24
- package/v1/model/ShowCacheRulesRequest.ts +0 -29
- package/v1/model/ShowCacheRulesResponse.ts +0 -20
- package/v1/model/ShowCertificatesHttpsInfoRequest.ts +0 -61
- package/v1/model/ShowCertificatesHttpsInfoResponse.ts +0 -19
- package/v1/model/ShowDomainDetailRequest.ts +0 -29
- package/v1/model/ShowDomainDetailResponse.ts +0 -14
- package/v1/model/ShowDomainFullConfigRequest.ts +0 -29
- package/v1/model/ShowDomainFullConfigResponse.ts +0 -14
- package/v1/model/ShowDomainItemDetailsRequest.ts +0 -76
- package/v1/model/ShowDomainItemDetailsResponse.ts +0 -20
- package/v1/model/ShowDomainItemLocationDetailsRequest.ts +0 -77
- package/v1/model/ShowDomainItemLocationDetailsResponse.ts +0 -20
- package/v1/model/ShowDomainLocationStatsRequest.ts +0 -102
- package/v1/model/ShowDomainLocationStatsResponse.ts +0 -24
- package/v1/model/ShowDomainStatsRequest.ts +0 -98
- package/v1/model/ShowDomainStatsResponse.ts +0 -13
- package/v1/model/ShowHistoryTaskDetailsRequest.ts +0 -72
- package/v1/model/ShowHistoryTaskDetailsResponse.ts +0 -77
- package/v1/model/ShowHistoryTasksRequest.ts +0 -116
- package/v1/model/ShowHistoryTasksResponse.ts +0 -19
- package/v1/model/ShowHttpInfoRequest.ts +0 -29
- package/v1/model/ShowHttpInfoResponse.ts +0 -14
- package/v1/model/ShowIpInfoRequest.ts +0 -23
- package/v1/model/ShowIpInfoResponse.ts +0 -20
- package/v1/model/ShowLogsRequest.ts +0 -73
- package/v1/model/ShowLogsResponse.ts +0 -19
- package/v1/model/ShowOriginHostRequest.ts +0 -29
- package/v1/model/ShowOriginHostResponse.ts +0 -20
- package/v1/model/ShowQuotaRequest.ts +0 -6
- package/v1/model/ShowQuotaResponse.ts +0 -14
- package/v1/model/ShowReferRequest.ts +0 -29
- package/v1/model/ShowReferResponse.ts +0 -14
- package/v1/model/ShowResponseHeaderRequest.ts +0 -29
- package/v1/model/ShowResponseHeaderResponse.ts +0 -14
- package/v1/model/ShowTagsRequest.ts +0 -18
- package/v1/model/ShowTagsResponse.ts +0 -13
- package/v1/model/ShowTopUrlRequest.ts +0 -93
- package/v1/model/ShowTopUrlResponse.ts +0 -31
- package/v1/model/ShowUrlTaskInfoRequest.ts +0 -70
- package/v1/model/ShowUrlTaskInfoResponse.ts +0 -35
- package/v1/model/SourceWithPort.ts +0 -96
- package/v1/model/Sources.ts +0 -74
- package/v1/model/SourcesConfig.ts +0 -80
- package/v1/model/TasksObject.ts +0 -86
- package/v1/model/TopUrlSummary.ts +0 -49
- package/v1/model/UpdateBlackWhiteListRequest.ts +0 -35
- package/v1/model/UpdateBlackWhiteListResponse.ts +0 -23
- package/v1/model/UpdateCacheRulesRequest.ts +0 -35
- package/v1/model/UpdateCacheRulesResponse.ts +0 -20
- package/v1/model/UpdateDomainFullConfigRequest.ts +0 -35
- package/v1/model/UpdateDomainFullConfigResponse.ts +0 -8
- package/v1/model/UpdateDomainMultiCertificatesRequest.ts +0 -23
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.ts +0 -12
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.ts +0 -107
- package/v1/model/UpdateDomainMultiCertificatesResponse.ts +0 -14
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.ts +0 -106
- package/v1/model/UpdateDomainOriginRequest.ts +0 -35
- package/v1/model/UpdateDomainOriginResponse.ts +0 -14
- package/v1/model/UpdateFollow302SwitchRequest.ts +0 -35
- package/v1/model/UpdateFollow302SwitchResponse.ts +0 -20
- package/v1/model/UpdateHttpsInfoRequest.ts +0 -35
- package/v1/model/UpdateHttpsInfoResponse.ts +0 -14
- package/v1/model/UpdateOriginHostRequest.ts +0 -35
- package/v1/model/UpdateOriginHostResponse.ts +0 -20
- package/v1/model/UpdatePrivateBucketAccessBody.ts +0 -11
- package/v1/model/UpdatePrivateBucketAccessRequest.ts +0 -35
- package/v1/model/UpdatePrivateBucketAccessResponse.ts +0 -13
- package/v1/model/UpdateRangeSwitchRequest.ts +0 -35
- package/v1/model/UpdateRangeSwitchResponse.ts +0 -20
- package/v1/model/UpdateReferRequest.ts +0 -35
- package/v1/model/UpdateReferResponse.ts +0 -14
- package/v1/model/UpdateResponseHeaderRequest.ts +0 -35
- package/v1/model/UpdateResponseHeaderResponse.ts +0 -14
- package/v1/model/UrlAuth.ts +0 -44
- package/v1/model/UrlAuthGetBody.ts +0 -39
- package/v1/model/UrlObject.ts +0 -54
- package/v1/model/Urls.ts +0 -70
- package/v1/model/UserAgentFilter.ts +0 -17
- package/v1/public-api.ts +0 -163
- package/v2/CdnClient.ts +0 -1701
- package/v2/CdnRegion.ts +0 -28
- package/v2/model/BackSources.ts +0 -63
- package/v2/model/BatchCopyConfigs.ts +0 -42
- package/v2/model/BatchCopyDRequestBody.ts +0 -13
- package/v2/model/BatchCopyDomainRequest.ts +0 -12
- package/v2/model/BatchCopyDomainResponse.ts +0 -14
- package/v2/model/BatchCopyErrorRsp.ts +0 -12
- package/v2/model/BatchCopyErrorRspError.ts +0 -28
- package/v2/model/BatchCopyResultVo.ts +0 -38
- package/v2/model/CacheRules.ts +0 -88
- package/v2/model/CacheUrlParameterFilter.ts +0 -16
- package/v2/model/CommonRemoteAuth.ts +0 -31
- package/v2/model/Compress.ts +0 -29
- package/v2/model/Configs.ts +0 -304
- package/v2/model/ConfigsGetBody.ts +0 -304
- package/v2/model/CustomArgs.ts +0 -24
- package/v2/model/DomainOriginHost.ts +0 -40
- package/v2/model/Domains.ts +0 -214
- package/v2/model/DomainsWithPort.ts +0 -119
- package/v2/model/DownloadRegionCarrierExcelRequest.ts +0 -96
- package/v2/model/DownloadRegionCarrierExcelResponse.ts +0 -8
- package/v2/model/DownloadStatisticsExcelRequest.ts +0 -92
- package/v2/model/DownloadStatisticsExcelResponse.ts +0 -8
- package/v2/model/EpResourceTag.ts +0 -18
- package/v2/model/ErrMsg.ts +0 -30
- package/v2/model/ErrRsp.ts +0 -13
- package/v2/model/ErrorCodeCache.ts +0 -16
- package/v2/model/ErrorCodeRedirectRules.ts +0 -42
- package/v2/model/FlexibleOrigins.ts +0 -49
- package/v2/model/ForceRedirectConfig.ts +0 -28
- package/v2/model/HttpGetBody.ts +0 -105
- package/v2/model/HttpPutBody.ts +0 -105
- package/v2/model/HttpResponseHeader.ts +0 -23
- package/v2/model/IpFilter.ts +0 -17
- package/v2/model/ListDomainsRequest.ts +0 -105
- package/v2/model/ListDomainsResponse.ts +0 -19
- package/v2/model/ModifyDomainConfigRequestBody.ts +0 -12
- package/v2/model/OriginRequestHeader.ts +0 -23
- package/v2/model/OriginRequestUrlRewrite.ts +0 -47
- package/v2/model/RefererConfig.ts +0 -28
- package/v2/model/RemoteAuthRuleVo.ts +0 -176
- package/v2/model/RequestLimitRules.ts +0 -40
- package/v2/model/SetChargeModesBody.ts +0 -42
- package/v2/model/SetChargeModesRequest.ts +0 -12
- package/v2/model/SetChargeModesResponse.ts +0 -68
- package/v2/model/ShowBandwidthCalcRequest.ts +0 -76
- package/v2/model/ShowBandwidthCalcResponse.ts +0 -19
- package/v2/model/ShowChargeModesRequest.ts +0 -34
- package/v2/model/ShowChargeModesResponse.ts +0 -13
- package/v2/model/ShowDomainDetailByNameRequest.ts +0 -29
- package/v2/model/ShowDomainDetailByNameResponse.ts +0 -14
- package/v2/model/ShowDomainFullConfigRequest.ts +0 -40
- package/v2/model/ShowDomainFullConfigResponse.ts +0 -14
- package/v2/model/ShowDomainLocationStatsRequest.ts +0 -102
- package/v2/model/ShowDomainLocationStatsResponse.ts +0 -24
- package/v2/model/ShowDomainStatsRequest.ts +0 -98
- package/v2/model/ShowDomainStatsResponse.ts +0 -13
- package/v2/model/ShowTopDomainNamesRequest.ts +0 -69
- package/v2/model/ShowTopDomainNamesResponse.ts +0 -19
- package/v2/model/ShowTopUrlRequest.ts +0 -76
- package/v2/model/ShowTopUrlResponse.ts +0 -31
- package/v2/model/Sources.ts +0 -74
- package/v2/model/SourcesConfig.ts +0 -96
- package/v2/model/TopUrlSummary.ts +0 -49
- package/v2/model/UpdateDomainFullConfigRequest.ts +0 -35
- package/v2/model/UpdateDomainFullConfigResponse.ts +0 -8
- package/v2/model/UrlAuth.ts +0 -91
- package/v2/model/UrlAuthGetBody.ts +0 -88
- package/v2/model/UserAgentFilter.ts +0 -28
- package/v2/model/VideoSeek.ts +0 -51
- package/v2/model/WebSocketSeek.ts +0 -18
- package/v2/public-api.ts +0 -73
package/v2/CdnClient.ts
DELETED
@@ -1,1701 +0,0 @@
|
|
1
|
-
import { HcClient } from "@huaweicloud/huaweicloud-sdk-core/HcClient";
|
2
|
-
import { ClientBuilder } from "@huaweicloud/huaweicloud-sdk-core/ClientBuilder";
|
3
|
-
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
4
|
-
|
5
|
-
import { BackSources } from './model/BackSources';
|
6
|
-
import { BatchCopyConfigs } from './model/BatchCopyConfigs';
|
7
|
-
import { BatchCopyDRequestBody } from './model/BatchCopyDRequestBody';
|
8
|
-
import { BatchCopyDomainRequest } from './model/BatchCopyDomainRequest';
|
9
|
-
import { BatchCopyDomainResponse } from './model/BatchCopyDomainResponse';
|
10
|
-
import { BatchCopyErrorRsp } from './model/BatchCopyErrorRsp';
|
11
|
-
import { BatchCopyErrorRspError } from './model/BatchCopyErrorRspError';
|
12
|
-
import { BatchCopyResultVo } from './model/BatchCopyResultVo';
|
13
|
-
import { CacheRules } from './model/CacheRules';
|
14
|
-
import { CacheUrlParameterFilter } from './model/CacheUrlParameterFilter';
|
15
|
-
import { CommonRemoteAuth } from './model/CommonRemoteAuth';
|
16
|
-
import { Compress } from './model/Compress';
|
17
|
-
import { Configs } from './model/Configs';
|
18
|
-
import { ConfigsGetBody } from './model/ConfigsGetBody';
|
19
|
-
import { CustomArgs } from './model/CustomArgs';
|
20
|
-
import { DomainOriginHost } from './model/DomainOriginHost';
|
21
|
-
import { Domains } from './model/Domains';
|
22
|
-
import { DomainsWithPort } from './model/DomainsWithPort';
|
23
|
-
import { DownloadRegionCarrierExcelRequest } from './model/DownloadRegionCarrierExcelRequest';
|
24
|
-
import { DownloadRegionCarrierExcelResponse } from './model/DownloadRegionCarrierExcelResponse';
|
25
|
-
import { DownloadStatisticsExcelRequest } from './model/DownloadStatisticsExcelRequest';
|
26
|
-
import { DownloadStatisticsExcelResponse } from './model/DownloadStatisticsExcelResponse';
|
27
|
-
import { EpResourceTag } from './model/EpResourceTag';
|
28
|
-
import { ErrMsg } from './model/ErrMsg';
|
29
|
-
import { ErrRsp } from './model/ErrRsp';
|
30
|
-
import { ErrorCodeCache } from './model/ErrorCodeCache';
|
31
|
-
import { ErrorCodeRedirectRules } from './model/ErrorCodeRedirectRules';
|
32
|
-
import { FlexibleOrigins } from './model/FlexibleOrigins';
|
33
|
-
import { ForceRedirectConfig } from './model/ForceRedirectConfig';
|
34
|
-
import { HttpGetBody } from './model/HttpGetBody';
|
35
|
-
import { HttpPutBody } from './model/HttpPutBody';
|
36
|
-
import { HttpResponseHeader } from './model/HttpResponseHeader';
|
37
|
-
import { IpFilter } from './model/IpFilter';
|
38
|
-
import { ListDomainsRequest } from './model/ListDomainsRequest';
|
39
|
-
import { ListDomainsResponse } from './model/ListDomainsResponse';
|
40
|
-
import { ModifyDomainConfigRequestBody } from './model/ModifyDomainConfigRequestBody';
|
41
|
-
import { OriginRequestHeader } from './model/OriginRequestHeader';
|
42
|
-
import { OriginRequestUrlRewrite } from './model/OriginRequestUrlRewrite';
|
43
|
-
import { RefererConfig } from './model/RefererConfig';
|
44
|
-
import { RemoteAuthRuleVo } from './model/RemoteAuthRuleVo';
|
45
|
-
import { RequestLimitRules } from './model/RequestLimitRules';
|
46
|
-
import { SetChargeModesBody } from './model/SetChargeModesBody';
|
47
|
-
import { SetChargeModesRequest } from './model/SetChargeModesRequest';
|
48
|
-
import { SetChargeModesResponse } from './model/SetChargeModesResponse';
|
49
|
-
import { ShowBandwidthCalcRequest } from './model/ShowBandwidthCalcRequest';
|
50
|
-
import { ShowBandwidthCalcResponse } from './model/ShowBandwidthCalcResponse';
|
51
|
-
import { ShowChargeModesRequest } from './model/ShowChargeModesRequest';
|
52
|
-
import { ShowChargeModesResponse } from './model/ShowChargeModesResponse';
|
53
|
-
import { ShowDomainDetailByNameRequest } from './model/ShowDomainDetailByNameRequest';
|
54
|
-
import { ShowDomainDetailByNameResponse } from './model/ShowDomainDetailByNameResponse';
|
55
|
-
import { ShowDomainFullConfigRequest } from './model/ShowDomainFullConfigRequest';
|
56
|
-
import { ShowDomainFullConfigResponse } from './model/ShowDomainFullConfigResponse';
|
57
|
-
import { ShowDomainLocationStatsRequest } from './model/ShowDomainLocationStatsRequest';
|
58
|
-
import { ShowDomainLocationStatsResponse } from './model/ShowDomainLocationStatsResponse';
|
59
|
-
import { ShowDomainStatsRequest } from './model/ShowDomainStatsRequest';
|
60
|
-
import { ShowDomainStatsResponse } from './model/ShowDomainStatsResponse';
|
61
|
-
import { ShowTopDomainNamesRequest } from './model/ShowTopDomainNamesRequest';
|
62
|
-
import { ShowTopDomainNamesResponse } from './model/ShowTopDomainNamesResponse';
|
63
|
-
import { ShowTopUrlRequest } from './model/ShowTopUrlRequest';
|
64
|
-
import { ShowTopUrlResponse } from './model/ShowTopUrlResponse';
|
65
|
-
import { Sources } from './model/Sources';
|
66
|
-
import { SourcesConfig } from './model/SourcesConfig';
|
67
|
-
import { TopUrlSummary } from './model/TopUrlSummary';
|
68
|
-
import { UpdateDomainFullConfigRequest } from './model/UpdateDomainFullConfigRequest';
|
69
|
-
import { UpdateDomainFullConfigResponse } from './model/UpdateDomainFullConfigResponse';
|
70
|
-
import { UrlAuth } from './model/UrlAuth';
|
71
|
-
import { UrlAuthGetBody } from './model/UrlAuthGetBody';
|
72
|
-
import { UserAgentFilter } from './model/UserAgentFilter';
|
73
|
-
import { VideoSeek } from './model/VideoSeek';
|
74
|
-
import { WebSocketSeek } from './model/WebSocketSeek';
|
75
|
-
|
76
|
-
export class CdnClient {
|
77
|
-
public static newBuilder(): ClientBuilder<CdnClient> {
|
78
|
-
return new ClientBuilder<CdnClient>(newClient);
|
79
|
-
}
|
80
|
-
|
81
|
-
private hcClient: HcClient;
|
82
|
-
public constructor(client: HcClient) {
|
83
|
-
this.hcClient = client;
|
84
|
-
}
|
85
|
-
|
86
|
-
public getPath() {
|
87
|
-
return __dirname;
|
88
|
-
}
|
89
|
-
|
90
|
-
|
91
|
-
/**
|
92
|
-
* 批量域名复制接口。
|
93
|
-
* > 将某个加速域名的配置批量复制到其他域名。
|
94
|
-
*
|
95
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
96
|
-
*
|
97
|
-
* @summary 批量域名复制
|
98
|
-
* @param {BatchCopyDRequestBody} batchCopyDRequestBody 域名复制参数请求体。
|
99
|
-
* @param {*} [options] Override http request option.
|
100
|
-
* @throws {RequiredError}
|
101
|
-
*/
|
102
|
-
public batchCopyDomain(batchCopyDomainRequest?: BatchCopyDomainRequest): Promise<BatchCopyDomainResponse> {
|
103
|
-
const options = ParamCreater().batchCopyDomain(batchCopyDomainRequest);
|
104
|
-
|
105
|
-
// @ts-ignore
|
106
|
-
options['responseHeaders'] = [''];
|
107
|
-
|
108
|
-
return this.hcClient.sendRequest(options);
|
109
|
-
}
|
110
|
-
|
111
|
-
/**
|
112
|
-
* - 下载区域运营商指标数据表格文件。
|
113
|
-
*
|
114
|
-
* - 支持下载90天内的指标数据表格。
|
115
|
-
*
|
116
|
-
* - 时间跨度不能超过31天。
|
117
|
-
*
|
118
|
-
* - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
119
|
-
*
|
120
|
-
* - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
|
121
|
-
*
|
122
|
-
* - 单租户调用频率:10次/min。
|
123
|
-
*
|
124
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
125
|
-
*
|
126
|
-
* @summary 下载区域运营商指标数据表格文件
|
127
|
-
* @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
|
128
|
-
* @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
|
129
|
-
* @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
|
130
|
-
* @param {string} excelType 统计数据表格类型,目前支持 - 区域用量统计数据(excel_type_usage) - 区域访问情况统计数据(excel_type_access) - 区域情况统计数据(excel_type_region) - 区域运营商情况统计数据(excel_type_carrier) - 国家情况统计数据(excel_type_country) - top_url统计数据(excel_type_top_url)
|
131
|
-
* @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
|
132
|
-
* @param {string} [country] - 国家&地区编码,多个以英文逗号分隔,all表示全部,取值见附录 - 访问运营商统计数据时不能填写 - 访问top_url数据时不能填写 - 访问区域情况数据时只能填写cn(中国)
|
133
|
-
* @param {string} [excelLanguage] 创建表格语言,支持zh(中文),en(英文)两种,如果不传默认为zh
|
134
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
135
|
-
* @param {string} [region] - 地区区域,当country为cn(中国)时有效 - 访问运营商统计数据时不能填写 - 访问国家统计数据时不能填写 - 访问top_url数据时不能填写
|
136
|
-
* @param {string} [carrier] - 运营商编码 - 访问区域统计数据时不能填写 - 访问国家统计数据时不能填写 - 访问top_url数据时不能填写
|
137
|
-
* @param {*} [options] Override http request option.
|
138
|
-
* @throws {RequiredError}
|
139
|
-
*/
|
140
|
-
public downloadRegionCarrierExcel(downloadRegionCarrierExcelRequest?: DownloadRegionCarrierExcelRequest): Promise<DownloadRegionCarrierExcelResponse> {
|
141
|
-
const options = ParamCreater().downloadRegionCarrierExcel(downloadRegionCarrierExcelRequest);
|
142
|
-
|
143
|
-
// @ts-ignore
|
144
|
-
options['responseHeaders'] = [''];
|
145
|
-
|
146
|
-
return this.hcClient.sendRequest(options);
|
147
|
-
}
|
148
|
-
|
149
|
-
/**
|
150
|
-
* - 下载统计指标数据表格文件。
|
151
|
-
*
|
152
|
-
* - 支持下载90天内的指标数据。
|
153
|
-
*
|
154
|
-
* - 时间跨度不能超过31天。
|
155
|
-
*
|
156
|
-
* - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
157
|
-
*
|
158
|
-
* - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
|
159
|
-
*
|
160
|
-
* - 单租户调用频率:10次/min。
|
161
|
-
*
|
162
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
163
|
-
*
|
164
|
-
* @summary 下载统计指标数据表格文件
|
165
|
-
* @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
|
166
|
-
* @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
|
167
|
-
* @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
|
168
|
-
* @param {string} excelType 统计数据表格类型,目前支持 - 用量统计数据(excel_type_usage) - 访问情况统计数据(excel_type_access) - 回源情况统计数据(excel_type_origin) - http_code统计数据(excel_type_http_code)
|
169
|
-
* @param {string} [excelLanguage] 创建表格语言,支持zh(中文),en(英文)两种,如果不传默认为zh
|
170
|
-
* @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
|
171
|
-
* @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
|
172
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
173
|
-
* @param {*} [options] Override http request option.
|
174
|
-
* @throws {RequiredError}
|
175
|
-
*/
|
176
|
-
public downloadStatisticsExcel(downloadStatisticsExcelRequest?: DownloadStatisticsExcelRequest): Promise<DownloadStatisticsExcelResponse> {
|
177
|
-
const options = ParamCreater().downloadStatisticsExcel(downloadStatisticsExcelRequest);
|
178
|
-
|
179
|
-
// @ts-ignore
|
180
|
-
options['responseHeaders'] = [''];
|
181
|
-
|
182
|
-
return this.hcClient.sendRequest(options);
|
183
|
-
}
|
184
|
-
|
185
|
-
/**
|
186
|
-
* 查询加速域名。
|
187
|
-
*
|
188
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
189
|
-
*
|
190
|
-
* @summary 查询加速域名
|
191
|
-
* @param {string} [domainName] 加速域名,采用模糊匹配的方式。(长度限制为1-255字符)。
|
192
|
-
* @param {string} [businessType] 加速域名的业务类型。取值: - web(网站加速) - download(文件下载加速) - video(点播加速) - wholeSite(全站加速)
|
193
|
-
* @param {string} [domainStatus] 加速域名状态。取值意义: - online表示“已开启” - offline表示“已停用” - configuring表示“配置中” - configure_failed表示“配置失败” - checking表示“审核中” - check_failed表示“审核未通过” - deleting表示“删除中”。
|
194
|
-
* @param {string} [serviceArea] 华为云CDN提供的加速服务范围,包含: - mainland_china 中国大陆 - outside_mainland_china 中国大陆境外 - global 全球。
|
195
|
-
* @param {number} [pageSize] 每页加速域名的数量。
|
196
|
-
* @param {number} [pageNumber] 查询的页码,即:从哪一页开始查询。
|
197
|
-
* @param {boolean} [showTags] 展示标签标识 true:不展示 false:展示。
|
198
|
-
* @param {boolean} [exactMatch] 精准匹配 true:开启 false:关闭。
|
199
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
200
|
-
* @param {*} [options] Override http request option.
|
201
|
-
* @throws {RequiredError}
|
202
|
-
*/
|
203
|
-
public listDomains(listDomainsRequest?: ListDomainsRequest): Promise<ListDomainsResponse> {
|
204
|
-
const options = ParamCreater().listDomains(listDomainsRequest);
|
205
|
-
|
206
|
-
// @ts-ignore
|
207
|
-
options['responseHeaders'] = [''];
|
208
|
-
|
209
|
-
return this.hcClient.sendRequest(options);
|
210
|
-
}
|
211
|
-
|
212
|
-
/**
|
213
|
-
* - 设置用户计费模式。
|
214
|
-
*
|
215
|
-
* - 服务区域仅支持mainland_china(国内)
|
216
|
-
*
|
217
|
-
* - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
|
218
|
-
*
|
219
|
-
* - 加速类型仅支持base(基础加速)
|
220
|
-
*
|
221
|
-
* - 单租户调用频率:10次/min。
|
222
|
-
*
|
223
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
224
|
-
*
|
225
|
-
* @summary 设置用户计费模式
|
226
|
-
* @param {SetChargeModesBody} setChargeModesBody 设置计费模式参数请求体
|
227
|
-
* @param {*} [options] Override http request option.
|
228
|
-
* @throws {RequiredError}
|
229
|
-
*/
|
230
|
-
public setChargeModes(setChargeModesRequest?: SetChargeModesRequest): Promise<SetChargeModesResponse> {
|
231
|
-
const options = ParamCreater().setChargeModes(setChargeModesRequest);
|
232
|
-
|
233
|
-
// @ts-ignore
|
234
|
-
options['responseHeaders'] = [''];
|
235
|
-
|
236
|
-
return this.hcClient.sendRequest(options);
|
237
|
-
}
|
238
|
-
|
239
|
-
/**
|
240
|
-
* - 查询域名带宽峰值类数据。
|
241
|
-
*
|
242
|
-
* - 支持查询90天内的数据。
|
243
|
-
*
|
244
|
-
* - 查询时间跨度不能超过31天。
|
245
|
-
*
|
246
|
-
* - 起始时间和结束时间,左闭右开。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
247
|
-
*
|
248
|
-
* - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
|
249
|
-
*
|
250
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、峰值类指标单位统一为bps(比特率),请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
251
|
-
*
|
252
|
-
* - 单租户调用频率:2次/s。
|
253
|
-
*
|
254
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
255
|
-
*
|
256
|
-
* @summary 查询域名带宽峰值类数据
|
257
|
-
* @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
|
258
|
-
* @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
|
259
|
-
* @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
|
260
|
-
* @param {string} calcType 查询类别,目前支持bw_95(95峰值带宽),bw_peak(日峰值月平均带宽),bw_95_average(95月平均带宽)
|
261
|
-
* @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
|
262
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
263
|
-
* @param {*} [options] Override http request option.
|
264
|
-
* @throws {RequiredError}
|
265
|
-
*/
|
266
|
-
public showBandwidthCalc(showBandwidthCalcRequest?: ShowBandwidthCalcRequest): Promise<ShowBandwidthCalcResponse> {
|
267
|
-
const options = ParamCreater().showBandwidthCalc(showBandwidthCalcRequest);
|
268
|
-
|
269
|
-
// @ts-ignore
|
270
|
-
options['responseHeaders'] = [''];
|
271
|
-
|
272
|
-
return this.hcClient.sendRequest(options);
|
273
|
-
}
|
274
|
-
|
275
|
-
/**
|
276
|
-
* - 查询用户计费模式。
|
277
|
-
*
|
278
|
-
* - 服务区域仅支持mainland_china(国内,默认)和outside_mainland_china(海外)
|
279
|
-
*
|
280
|
-
* - 计费模式状态支持active(已生效),upcoming(待生效)两种状态,默认为active(已生效)
|
281
|
-
*
|
282
|
-
* - 加速类型仅支持base(基础加速)
|
283
|
-
*
|
284
|
-
* - 单租户调用频率:5次/s。
|
285
|
-
*
|
286
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
287
|
-
*
|
288
|
-
* @summary 查询用户计费模式
|
289
|
-
* @param {string} productType 加速类型,base(基础加速)
|
290
|
-
* @param {string} [status] 查询计费模式状态,active(已生效),upcoming(待生效),不传默认为active(已生效)
|
291
|
-
* @param {string} [serviceArea] 服务区域,mainland_china(国内),outside_mainland_china(海外),不传默认为mainland_china(国内)
|
292
|
-
* @param {*} [options] Override http request option.
|
293
|
-
* @throws {RequiredError}
|
294
|
-
*/
|
295
|
-
public showChargeModes(showChargeModesRequest?: ShowChargeModesRequest): Promise<ShowChargeModesResponse> {
|
296
|
-
const options = ParamCreater().showChargeModes(showChargeModesRequest);
|
297
|
-
|
298
|
-
// @ts-ignore
|
299
|
-
options['responseHeaders'] = [''];
|
300
|
-
|
301
|
-
return this.hcClient.sendRequest(options);
|
302
|
-
}
|
303
|
-
|
304
|
-
/**
|
305
|
-
* 加速域名详情信息接口。
|
306
|
-
*
|
307
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
308
|
-
*
|
309
|
-
* @summary 查询加速域名详情
|
310
|
-
* @param {string} domainName 加速域名名称。
|
311
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
312
|
-
* @param {*} [options] Override http request option.
|
313
|
-
* @throws {RequiredError}
|
314
|
-
*/
|
315
|
-
public showDomainDetailByName(showDomainDetailByNameRequest?: ShowDomainDetailByNameRequest): Promise<ShowDomainDetailByNameResponse> {
|
316
|
-
const options = ParamCreater().showDomainDetailByName(showDomainDetailByNameRequest);
|
317
|
-
|
318
|
-
// @ts-ignore
|
319
|
-
options['responseHeaders'] = [''];
|
320
|
-
|
321
|
-
return this.hcClient.sendRequest(options);
|
322
|
-
}
|
323
|
-
|
324
|
-
/**
|
325
|
-
* 查询域名配置接口,
|
326
|
-
* 支持查询回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
327
|
-
*
|
328
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
329
|
-
*
|
330
|
-
* @summary 查询域名配置接口
|
331
|
-
* @param {string} domainName 加速域名。
|
332
|
-
* @param {string} [enterpriseProjectId] 企业项目ID, all:所有项目。
|
333
|
-
* @param {string} [showSpecialConfigs] 取值为auth_key,用来查询鉴权KEY和鉴权备KEY的值。
|
334
|
-
* @param {*} [options] Override http request option.
|
335
|
-
* @throws {RequiredError}
|
336
|
-
*/
|
337
|
-
public showDomainFullConfig(showDomainFullConfigRequest?: ShowDomainFullConfigRequest): Promise<ShowDomainFullConfigResponse> {
|
338
|
-
const options = ParamCreater().showDomainFullConfig(showDomainFullConfigRequest);
|
339
|
-
|
340
|
-
// @ts-ignore
|
341
|
-
options['responseHeaders'] = [''];
|
342
|
-
|
343
|
-
return this.hcClient.sendRequest(options);
|
344
|
-
}
|
345
|
-
|
346
|
-
/**
|
347
|
-
* - 支持查询90天内的数据。
|
348
|
-
*
|
349
|
-
* - 支持多指标同时查询,不超过5个。
|
350
|
-
*
|
351
|
-
* - 最多同时指定20个域名。
|
352
|
-
*
|
353
|
-
* - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
|
354
|
-
*
|
355
|
-
* - action取值:location_detail,location_summary
|
356
|
-
*
|
357
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的区域运营商明细数据。
|
358
|
-
*
|
359
|
-
* - 单租户调用频率:15次/s。
|
360
|
-
*
|
361
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
362
|
-
*
|
363
|
-
* @summary 按区域运营商查询域名统计数据
|
364
|
-
* @param {string} action - 动作名称,可选location_summary、location_detail。 - location_summary:查询汇总数据 - location_detail:查询数据详情。
|
365
|
-
* @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
|
366
|
-
* @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
|
367
|
-
* @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
|
368
|
-
* @param {string} statType - 网络资源消耗 - bw(带宽) - flux(流量) - 访问情况 - req_num(请求总数) - HTTP状态码(组合指标) - http_code_2xx(状态码汇总2xx) - http_code_3xx(状态码汇总3xx) - http_code_4xx(状态码汇总4xx) - http_code_5xx(状态码汇总5xx) - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx)
|
369
|
-
* @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
|
370
|
-
* @param {string} [country] - 国家&地区编码,多个以英文逗号分隔,all表示全部,取值见附录 - 访问运营商统计数据时不能填写 - 访问top_url数据时不能填写 - 访问区域情况数据时只能填写cn(中国)
|
371
|
-
* @param {string} [province] 省份编码,当country为cn(中国)时有效,多个以英文逗号分隔,all表示全部,取值见附录
|
372
|
-
* @param {string} [isp] 运营商编码,多个以英文逗号分隔,all表示全部,取值见附录
|
373
|
-
* @param {string} [groupBy] 数据分组方式,多个以英文逗号分隔,可选domain、country、province、isp,默认不分组
|
374
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
375
|
-
* @param {*} [options] Override http request option.
|
376
|
-
* @throws {RequiredError}
|
377
|
-
*/
|
378
|
-
public showDomainLocationStats(showDomainLocationStatsRequest?: ShowDomainLocationStatsRequest): Promise<ShowDomainLocationStatsResponse> {
|
379
|
-
const options = ParamCreater().showDomainLocationStats(showDomainLocationStatsRequest);
|
380
|
-
|
381
|
-
// @ts-ignore
|
382
|
-
options['responseHeaders'] = [''];
|
383
|
-
|
384
|
-
return this.hcClient.sendRequest(options);
|
385
|
-
}
|
386
|
-
|
387
|
-
/**
|
388
|
-
* - 支持查询90天内的数据。
|
389
|
-
*
|
390
|
-
* - 支持多指标同时查询,不超过5个。
|
391
|
-
*
|
392
|
-
* - 最多同时指定20个域名。
|
393
|
-
*
|
394
|
-
* - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
|
395
|
-
*
|
396
|
-
* - action取值:detail,summary
|
397
|
-
*
|
398
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
399
|
-
*
|
400
|
-
* - 单租户调用频率:15次/s。
|
401
|
-
*
|
402
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
403
|
-
*
|
404
|
-
* @summary 查询域名统计基础数据
|
405
|
-
* @param {string} action - 动作名称,可选summary、detail。 - summary:查询汇总数据 - detail:查询数据详情。
|
406
|
-
* @param {number} startTime - 查询起始时间戳,需与结束时间戳同时指定,左闭右开,设置方式如下: - interval为300时,start_time设置为整5分钟时刻点,如:1631240100000(对应2021-09-10 10:15:00) - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
|
407
|
-
* @param {number} endTime - 查询结束时间戳,需与开始时间戳同时指定,左闭右开,设置方式如下: - interval为300时,end_time设置为整5分钟时刻点,如:1631243700000(对应2021-09-10 11:15:00) - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
|
408
|
-
* @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
|
409
|
-
* @param {string} statType - 网络资源消耗: - bw(带宽) - flux(流量) - bs_bw(回源带宽) - bs_flux(回源流量) - 访问情况 - req_num(请求总数) - hit_num(请求命中次数) - bs_num(回源总数) - bs_fail_num(回源失败数) - hit_flux(命中流量) - HTTP状态码(组合指标) - http_code_2xx(状态码汇总2xx) - http_code_3xx(状态码汇总3xx) - http_code_4xx(状态码汇总4xx) - http_code_5xx(状态码汇总5xx) - bs_http_code_2xx(回源状态码汇总2xx) - bs_http_code_3xx(回源状态码汇总3xx) - bs_http_code_4xx(回源状态码汇总4xx) - bs_http_code_5xx(回源状态码汇总5xx) - status_code_2xx(状态码详情2xx) - status_code_3xx(状态码详情3xx) - status_code_4xx(状态码详情4xx) - status_code_5xx(状态码详情5xx) - bs_status_code_2xx(回源状态码详情2xx) - bs_status_code_3xx(回源状态码详情3xx) - bs_status_code_4xx(回源状态码详情4xx) - bs_status_code_5xx(回源状态码详情5xx) - status_code和bs_status_code不能一起查询
|
410
|
-
* @param {number} [interval] - 查询时间间隔,单位:秒,取值说明: - 300(5分钟):最大查询跨度2天 - 3600(1小时):最大查询跨度7天 - 86400(1天):最大查询跨度31天 - 如果不传,默认取对应时间跨度的最小间隔。
|
411
|
-
* @param {string} [groupBy] 数据分组方式,可选domain,默认不分组
|
412
|
-
* @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
|
413
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
414
|
-
* @param {*} [options] Override http request option.
|
415
|
-
* @throws {RequiredError}
|
416
|
-
*/
|
417
|
-
public showDomainStats(showDomainStatsRequest?: ShowDomainStatsRequest): Promise<ShowDomainStatsResponse> {
|
418
|
-
const options = ParamCreater().showDomainStats(showDomainStatsRequest);
|
419
|
-
|
420
|
-
// @ts-ignore
|
421
|
-
options['responseHeaders'] = [''];
|
422
|
-
|
423
|
-
return this.hcClient.sendRequest(options);
|
424
|
-
}
|
425
|
-
|
426
|
-
/**
|
427
|
-
* - 查询TOP域名。
|
428
|
-
*
|
429
|
-
* - 支持查询90天内的数据。
|
430
|
-
*
|
431
|
-
* - 查询时间跨度不能超过1天。
|
432
|
-
*
|
433
|
-
* - 起始时间和结束时间,左闭右开,必须同时指定。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
434
|
-
*
|
435
|
-
* - 起始时间、结束时间必须传整点毫秒级时间戳。
|
436
|
-
*
|
437
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
438
|
-
*
|
439
|
-
* - 单租户调用频率:5次/s。
|
440
|
-
*
|
441
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
442
|
-
*
|
443
|
-
* @summary 查询TOP域名
|
444
|
-
* @param {number} startTime - 查询起始时间戳,时间戳应设置需为整点时间戳,设置方式如下: - interval为3600时,start_time设置为整小时时刻点,如:1631239200000(对应2021-09-10 10:00:00) - interval为86400时,start_time设置为东8区零点时刻点,如:1631203200000(对应2021-09-10 00:00:00)
|
445
|
-
* @param {number} endTime - 查询结束时间戳,时间戳应设置需为整点时间戳,设置方式如下: - interval为3600时,end_time设置为整小时时刻点,如:1631325600000(对应2021-09-11 10:00:00) - interval为86400时,end_time设置为东8区零点时刻点,如:1631376000000(对应2021-09-12 00:00:00)
|
446
|
-
* @param {string} statType - 统计类型 - 目前只支持bw(带宽),flux(流量),req_num(请求总数)
|
447
|
-
* @param {string} [serviceArea] 服务区域:mainland_china(默认)、outside_mainland_china,当查询回源类指标时该参数无效。
|
448
|
-
* @param {number} [limit] top域名查询数量,默认为20,最大为500,最小为0
|
449
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
450
|
-
* @param {*} [options] Override http request option.
|
451
|
-
* @throws {RequiredError}
|
452
|
-
*/
|
453
|
-
public showTopDomainNames(showTopDomainNamesRequest?: ShowTopDomainNamesRequest): Promise<ShowTopDomainNamesResponse> {
|
454
|
-
const options = ParamCreater().showTopDomainNames(showTopDomainNamesRequest);
|
455
|
-
|
456
|
-
// @ts-ignore
|
457
|
-
options['responseHeaders'] = [''];
|
458
|
-
|
459
|
-
return this.hcClient.sendRequest(options);
|
460
|
-
}
|
461
|
-
|
462
|
-
/**
|
463
|
-
* - 查询TOP100 URL明细。
|
464
|
-
*
|
465
|
-
* - 支持查询90天内的数据。
|
466
|
-
*
|
467
|
-
* - 查询跨度不能超过31天。
|
468
|
-
*
|
469
|
-
* - 起始时间和结束时间,左闭右开,需要同时指定。如查询2021-10-24 00:00:00 到 2021-10-25 00:00:00 的数据,表示取 [2021-10-24 00:00:00, 2021-10-25 00:00:00)的统计数据。
|
470
|
-
*
|
471
|
-
* - 开始时间、结束时间必须传毫秒级时间戳,且必须为凌晨0点整时刻点,如果传的不是凌晨0点整时刻点,返回数据可能与预期不一致。
|
472
|
-
*
|
473
|
-
* - 流量类指标单位统一为Byte(字节)、请求数类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
474
|
-
*
|
475
|
-
* - 单租户调用频率:5次/s。
|
476
|
-
*
|
477
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
478
|
-
*
|
479
|
-
* @summary 查询TOP100 URL明细
|
480
|
-
* @param {number} startTime 查询起始时间戳,只能传0点毫秒时间戳
|
481
|
-
* @param {number} endTime 查询结束时间戳,只能传0点毫秒时间戳
|
482
|
-
* @param {string} domainName 域名列表,多个域名以逗号(半角)分隔,如:www.test1.com,www.test2.com all表示查询名下全部域名
|
483
|
-
* @param {string} statType - 参数类型支持:flux(流量),req_num(请求数)
|
484
|
-
* @param {string} [serviceArea] 服务区域:mainland_china(大陆),outside_mainland_china(海外),默认为mainland_china
|
485
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示查询资源所属项目,\"all\"表示所有项目。注意:当使用子账号调用接口时,该参数必传。
|
486
|
-
* @param {*} [options] Override http request option.
|
487
|
-
* @throws {RequiredError}
|
488
|
-
*/
|
489
|
-
public showTopUrl(showTopUrlRequest?: ShowTopUrlRequest): Promise<ShowTopUrlResponse> {
|
490
|
-
const options = ParamCreater().showTopUrl(showTopUrlRequest);
|
491
|
-
|
492
|
-
// @ts-ignore
|
493
|
-
options['responseHeaders'] = [''];
|
494
|
-
|
495
|
-
return this.hcClient.sendRequest(options);
|
496
|
-
}
|
497
|
-
|
498
|
-
/**
|
499
|
-
* 修改域名配置接口,
|
500
|
-
* 支持修改回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
501
|
-
*
|
502
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
503
|
-
*
|
504
|
-
* @summary 修改域名全量配置接口
|
505
|
-
* @param {string} domainName 加速域名。
|
506
|
-
* @param {string} [enterpriseProjectId] 当用户开启企业项目功能时,该参数生效,表示修改当前企业项目下加速域名的配置,\"all\"代表所有项目。 > 当使用子帐号调用接口时,该参数必传。 您可以通过调用企业项目管理服务(EPS)的查询企业项目列表接口(ListEnterpriseProject)查询企业项目id。
|
507
|
-
* @param {ModifyDomainConfigRequestBody} [modifyDomainConfigRequestBody] 域名配置。
|
508
|
-
* @param {*} [options] Override http request option.
|
509
|
-
* @throws {RequiredError}
|
510
|
-
*/
|
511
|
-
public updateDomainFullConfig(updateDomainFullConfigRequest?: UpdateDomainFullConfigRequest): Promise<UpdateDomainFullConfigResponse> {
|
512
|
-
const options = ParamCreater().updateDomainFullConfig(updateDomainFullConfigRequest);
|
513
|
-
|
514
|
-
// @ts-ignore
|
515
|
-
options['responseHeaders'] = [''];
|
516
|
-
|
517
|
-
return this.hcClient.sendRequest(options);
|
518
|
-
}
|
519
|
-
}
|
520
|
-
|
521
|
-
export const ParamCreater = function () {
|
522
|
-
return {
|
523
|
-
|
524
|
-
/**
|
525
|
-
* 批量域名复制接口。
|
526
|
-
* > 将某个加速域名的配置批量复制到其他域名。
|
527
|
-
*
|
528
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
529
|
-
*/
|
530
|
-
batchCopyDomain(batchCopyDomainRequest?: BatchCopyDomainRequest) {
|
531
|
-
const options = {
|
532
|
-
method: "POST",
|
533
|
-
url: "/v1.0/cdn/configuration/domains/batch-copy",
|
534
|
-
contentType: "application/json",
|
535
|
-
queryParams: {},
|
536
|
-
pathParams: {},
|
537
|
-
headers: {},
|
538
|
-
data: {}
|
539
|
-
};
|
540
|
-
const localVarHeaderParameter = {} as any;
|
541
|
-
|
542
|
-
let body: any;
|
543
|
-
|
544
|
-
if (batchCopyDomainRequest !== null && batchCopyDomainRequest !== undefined) {
|
545
|
-
if (batchCopyDomainRequest instanceof BatchCopyDomainRequest) {
|
546
|
-
body = batchCopyDomainRequest.body
|
547
|
-
} else {
|
548
|
-
body = batchCopyDomainRequest['body'];
|
549
|
-
}
|
550
|
-
}
|
551
|
-
|
552
|
-
|
553
|
-
if (body === null || body === undefined) {
|
554
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
555
|
-
}
|
556
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
557
|
-
|
558
|
-
options.data = body !== undefined ? body : {};
|
559
|
-
options.headers = localVarHeaderParameter;
|
560
|
-
return options;
|
561
|
-
},
|
562
|
-
|
563
|
-
/**
|
564
|
-
* - 下载区域运营商指标数据表格文件。
|
565
|
-
*
|
566
|
-
* - 支持下载90天内的指标数据表格。
|
567
|
-
*
|
568
|
-
* - 时间跨度不能超过31天。
|
569
|
-
*
|
570
|
-
* - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
571
|
-
*
|
572
|
-
* - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
|
573
|
-
*
|
574
|
-
* - 单租户调用频率:10次/min。
|
575
|
-
*
|
576
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
577
|
-
*/
|
578
|
-
downloadRegionCarrierExcel(downloadRegionCarrierExcelRequest?: DownloadRegionCarrierExcelRequest) {
|
579
|
-
const options = {
|
580
|
-
method: "GET",
|
581
|
-
url: "/v1.0/cdn/statistics/region-carrier-excel",
|
582
|
-
contentType: "application/json",
|
583
|
-
queryParams: {},
|
584
|
-
pathParams: {},
|
585
|
-
headers: {}
|
586
|
-
};
|
587
|
-
const localVarHeaderParameter = {} as any;
|
588
|
-
const localVarQueryParameter = {} as any;
|
589
|
-
|
590
|
-
let startTime;
|
591
|
-
|
592
|
-
let endTime;
|
593
|
-
|
594
|
-
let domainName;
|
595
|
-
|
596
|
-
let excelType;
|
597
|
-
|
598
|
-
let interval;
|
599
|
-
|
600
|
-
let country;
|
601
|
-
|
602
|
-
let excelLanguage;
|
603
|
-
|
604
|
-
let enterpriseProjectId;
|
605
|
-
|
606
|
-
let region;
|
607
|
-
|
608
|
-
let carrier;
|
609
|
-
|
610
|
-
if (downloadRegionCarrierExcelRequest !== null && downloadRegionCarrierExcelRequest !== undefined) {
|
611
|
-
if (downloadRegionCarrierExcelRequest instanceof DownloadRegionCarrierExcelRequest) {
|
612
|
-
startTime = downloadRegionCarrierExcelRequest.startTime;
|
613
|
-
endTime = downloadRegionCarrierExcelRequest.endTime;
|
614
|
-
domainName = downloadRegionCarrierExcelRequest.domainName;
|
615
|
-
excelType = downloadRegionCarrierExcelRequest.excelType;
|
616
|
-
interval = downloadRegionCarrierExcelRequest.interval;
|
617
|
-
country = downloadRegionCarrierExcelRequest.country;
|
618
|
-
excelLanguage = downloadRegionCarrierExcelRequest.excelLanguage;
|
619
|
-
enterpriseProjectId = downloadRegionCarrierExcelRequest.enterpriseProjectId;
|
620
|
-
region = downloadRegionCarrierExcelRequest.region;
|
621
|
-
carrier = downloadRegionCarrierExcelRequest.carrier;
|
622
|
-
} else {
|
623
|
-
startTime = downloadRegionCarrierExcelRequest['start_time'];
|
624
|
-
endTime = downloadRegionCarrierExcelRequest['end_time'];
|
625
|
-
domainName = downloadRegionCarrierExcelRequest['domain_name'];
|
626
|
-
excelType = downloadRegionCarrierExcelRequest['excel_type'];
|
627
|
-
interval = downloadRegionCarrierExcelRequest['interval'];
|
628
|
-
country = downloadRegionCarrierExcelRequest['country'];
|
629
|
-
excelLanguage = downloadRegionCarrierExcelRequest['excel_language'];
|
630
|
-
enterpriseProjectId = downloadRegionCarrierExcelRequest['enterprise_project_id'];
|
631
|
-
region = downloadRegionCarrierExcelRequest['region'];
|
632
|
-
carrier = downloadRegionCarrierExcelRequest['carrier'];
|
633
|
-
}
|
634
|
-
}
|
635
|
-
|
636
|
-
|
637
|
-
if (startTime === null || startTime === undefined) {
|
638
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling downloadRegionCarrierExcel.');
|
639
|
-
}
|
640
|
-
if (startTime !== null && startTime !== undefined) {
|
641
|
-
localVarQueryParameter['start_time'] = startTime;
|
642
|
-
}
|
643
|
-
if (endTime === null || endTime === undefined) {
|
644
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling downloadRegionCarrierExcel.');
|
645
|
-
}
|
646
|
-
if (endTime !== null && endTime !== undefined) {
|
647
|
-
localVarQueryParameter['end_time'] = endTime;
|
648
|
-
}
|
649
|
-
if (domainName === null || domainName === undefined) {
|
650
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling downloadRegionCarrierExcel.');
|
651
|
-
}
|
652
|
-
if (domainName !== null && domainName !== undefined) {
|
653
|
-
localVarQueryParameter['domain_name'] = domainName;
|
654
|
-
}
|
655
|
-
if (excelType === null || excelType === undefined) {
|
656
|
-
throw new RequiredError('excelType','Required parameter excelType was null or undefined when calling downloadRegionCarrierExcel.');
|
657
|
-
}
|
658
|
-
if (excelType !== null && excelType !== undefined) {
|
659
|
-
localVarQueryParameter['excel_type'] = excelType;
|
660
|
-
}
|
661
|
-
if (interval !== null && interval !== undefined) {
|
662
|
-
localVarQueryParameter['interval'] = interval;
|
663
|
-
}
|
664
|
-
if (country !== null && country !== undefined) {
|
665
|
-
localVarQueryParameter['country'] = country;
|
666
|
-
}
|
667
|
-
if (excelLanguage !== null && excelLanguage !== undefined) {
|
668
|
-
localVarQueryParameter['excel_language'] = excelLanguage;
|
669
|
-
}
|
670
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
671
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
672
|
-
}
|
673
|
-
if (region !== null && region !== undefined) {
|
674
|
-
localVarQueryParameter['region'] = region;
|
675
|
-
}
|
676
|
-
if (carrier !== null && carrier !== undefined) {
|
677
|
-
localVarQueryParameter['carrier'] = carrier;
|
678
|
-
}
|
679
|
-
|
680
|
-
options.queryParams = localVarQueryParameter;
|
681
|
-
options.headers = localVarHeaderParameter;
|
682
|
-
return options;
|
683
|
-
},
|
684
|
-
|
685
|
-
/**
|
686
|
-
* - 下载统计指标数据表格文件。
|
687
|
-
*
|
688
|
-
* - 支持下载90天内的指标数据。
|
689
|
-
*
|
690
|
-
* - 时间跨度不能超过31天。
|
691
|
-
*
|
692
|
-
* - 起始时间和结束时间,左闭右开。如时间跨度为2022-10-24 00:00:00 到 2022-10-25 00:00:00,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
693
|
-
*
|
694
|
-
* - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
|
695
|
-
*
|
696
|
-
* - 单租户调用频率:10次/min。
|
697
|
-
*
|
698
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
699
|
-
*/
|
700
|
-
downloadStatisticsExcel(downloadStatisticsExcelRequest?: DownloadStatisticsExcelRequest) {
|
701
|
-
const options = {
|
702
|
-
method: "GET",
|
703
|
-
url: "/v1.0/cdn/statistics/statistics-excel",
|
704
|
-
contentType: "application/json",
|
705
|
-
queryParams: {},
|
706
|
-
pathParams: {},
|
707
|
-
headers: {}
|
708
|
-
};
|
709
|
-
const localVarHeaderParameter = {} as any;
|
710
|
-
const localVarQueryParameter = {} as any;
|
711
|
-
|
712
|
-
let startTime;
|
713
|
-
|
714
|
-
let endTime;
|
715
|
-
|
716
|
-
let domainName;
|
717
|
-
|
718
|
-
let excelType;
|
719
|
-
|
720
|
-
let excelLanguage;
|
721
|
-
|
722
|
-
let serviceArea;
|
723
|
-
|
724
|
-
let interval;
|
725
|
-
|
726
|
-
let enterpriseProjectId;
|
727
|
-
|
728
|
-
if (downloadStatisticsExcelRequest !== null && downloadStatisticsExcelRequest !== undefined) {
|
729
|
-
if (downloadStatisticsExcelRequest instanceof DownloadStatisticsExcelRequest) {
|
730
|
-
startTime = downloadStatisticsExcelRequest.startTime;
|
731
|
-
endTime = downloadStatisticsExcelRequest.endTime;
|
732
|
-
domainName = downloadStatisticsExcelRequest.domainName;
|
733
|
-
excelType = downloadStatisticsExcelRequest.excelType;
|
734
|
-
excelLanguage = downloadStatisticsExcelRequest.excelLanguage;
|
735
|
-
serviceArea = downloadStatisticsExcelRequest.serviceArea;
|
736
|
-
interval = downloadStatisticsExcelRequest.interval;
|
737
|
-
enterpriseProjectId = downloadStatisticsExcelRequest.enterpriseProjectId;
|
738
|
-
} else {
|
739
|
-
startTime = downloadStatisticsExcelRequest['start_time'];
|
740
|
-
endTime = downloadStatisticsExcelRequest['end_time'];
|
741
|
-
domainName = downloadStatisticsExcelRequest['domain_name'];
|
742
|
-
excelType = downloadStatisticsExcelRequest['excel_type'];
|
743
|
-
excelLanguage = downloadStatisticsExcelRequest['excel_language'];
|
744
|
-
serviceArea = downloadStatisticsExcelRequest['service_area'];
|
745
|
-
interval = downloadStatisticsExcelRequest['interval'];
|
746
|
-
enterpriseProjectId = downloadStatisticsExcelRequest['enterprise_project_id'];
|
747
|
-
}
|
748
|
-
}
|
749
|
-
|
750
|
-
|
751
|
-
if (startTime === null || startTime === undefined) {
|
752
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling downloadStatisticsExcel.');
|
753
|
-
}
|
754
|
-
if (startTime !== null && startTime !== undefined) {
|
755
|
-
localVarQueryParameter['start_time'] = startTime;
|
756
|
-
}
|
757
|
-
if (endTime === null || endTime === undefined) {
|
758
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling downloadStatisticsExcel.');
|
759
|
-
}
|
760
|
-
if (endTime !== null && endTime !== undefined) {
|
761
|
-
localVarQueryParameter['end_time'] = endTime;
|
762
|
-
}
|
763
|
-
if (domainName === null || domainName === undefined) {
|
764
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling downloadStatisticsExcel.');
|
765
|
-
}
|
766
|
-
if (domainName !== null && domainName !== undefined) {
|
767
|
-
localVarQueryParameter['domain_name'] = domainName;
|
768
|
-
}
|
769
|
-
if (excelType === null || excelType === undefined) {
|
770
|
-
throw new RequiredError('excelType','Required parameter excelType was null or undefined when calling downloadStatisticsExcel.');
|
771
|
-
}
|
772
|
-
if (excelType !== null && excelType !== undefined) {
|
773
|
-
localVarQueryParameter['excel_type'] = excelType;
|
774
|
-
}
|
775
|
-
if (excelLanguage !== null && excelLanguage !== undefined) {
|
776
|
-
localVarQueryParameter['excel_language'] = excelLanguage;
|
777
|
-
}
|
778
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
779
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
780
|
-
}
|
781
|
-
if (interval !== null && interval !== undefined) {
|
782
|
-
localVarQueryParameter['interval'] = interval;
|
783
|
-
}
|
784
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
785
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
786
|
-
}
|
787
|
-
|
788
|
-
options.queryParams = localVarQueryParameter;
|
789
|
-
options.headers = localVarHeaderParameter;
|
790
|
-
return options;
|
791
|
-
},
|
792
|
-
|
793
|
-
/**
|
794
|
-
* 查询加速域名。
|
795
|
-
*
|
796
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
797
|
-
*/
|
798
|
-
listDomains(listDomainsRequest?: ListDomainsRequest) {
|
799
|
-
const options = {
|
800
|
-
method: "GET",
|
801
|
-
url: "/v1.0/cdn/domains",
|
802
|
-
contentType: "application/json",
|
803
|
-
queryParams: {},
|
804
|
-
pathParams: {},
|
805
|
-
headers: {}
|
806
|
-
};
|
807
|
-
const localVarHeaderParameter = {} as any;
|
808
|
-
const localVarQueryParameter = {} as any;
|
809
|
-
|
810
|
-
let domainName;
|
811
|
-
|
812
|
-
let businessType;
|
813
|
-
|
814
|
-
let domainStatus;
|
815
|
-
|
816
|
-
let serviceArea;
|
817
|
-
|
818
|
-
let pageSize;
|
819
|
-
|
820
|
-
let pageNumber;
|
821
|
-
|
822
|
-
let showTags;
|
823
|
-
|
824
|
-
let exactMatch;
|
825
|
-
|
826
|
-
let enterpriseProjectId;
|
827
|
-
|
828
|
-
if (listDomainsRequest !== null && listDomainsRequest !== undefined) {
|
829
|
-
if (listDomainsRequest instanceof ListDomainsRequest) {
|
830
|
-
domainName = listDomainsRequest.domainName;
|
831
|
-
businessType = listDomainsRequest.businessType;
|
832
|
-
domainStatus = listDomainsRequest.domainStatus;
|
833
|
-
serviceArea = listDomainsRequest.serviceArea;
|
834
|
-
pageSize = listDomainsRequest.pageSize;
|
835
|
-
pageNumber = listDomainsRequest.pageNumber;
|
836
|
-
showTags = listDomainsRequest.showTags;
|
837
|
-
exactMatch = listDomainsRequest.exactMatch;
|
838
|
-
enterpriseProjectId = listDomainsRequest.enterpriseProjectId;
|
839
|
-
} else {
|
840
|
-
domainName = listDomainsRequest['domain_name'];
|
841
|
-
businessType = listDomainsRequest['business_type'];
|
842
|
-
domainStatus = listDomainsRequest['domain_status'];
|
843
|
-
serviceArea = listDomainsRequest['service_area'];
|
844
|
-
pageSize = listDomainsRequest['page_size'];
|
845
|
-
pageNumber = listDomainsRequest['page_number'];
|
846
|
-
showTags = listDomainsRequest['show_tags'];
|
847
|
-
exactMatch = listDomainsRequest['exact_match'];
|
848
|
-
enterpriseProjectId = listDomainsRequest['enterprise_project_id'];
|
849
|
-
}
|
850
|
-
}
|
851
|
-
|
852
|
-
|
853
|
-
if (domainName !== null && domainName !== undefined) {
|
854
|
-
localVarQueryParameter['domain_name'] = domainName;
|
855
|
-
}
|
856
|
-
if (businessType !== null && businessType !== undefined) {
|
857
|
-
localVarQueryParameter['business_type'] = businessType;
|
858
|
-
}
|
859
|
-
if (domainStatus !== null && domainStatus !== undefined) {
|
860
|
-
localVarQueryParameter['domain_status'] = domainStatus;
|
861
|
-
}
|
862
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
863
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
864
|
-
}
|
865
|
-
if (pageSize !== null && pageSize !== undefined) {
|
866
|
-
localVarQueryParameter['page_size'] = pageSize;
|
867
|
-
}
|
868
|
-
if (pageNumber !== null && pageNumber !== undefined) {
|
869
|
-
localVarQueryParameter['page_number'] = pageNumber;
|
870
|
-
}
|
871
|
-
if (showTags !== null && showTags !== undefined) {
|
872
|
-
localVarQueryParameter['show_tags'] = showTags;
|
873
|
-
}
|
874
|
-
if (exactMatch !== null && exactMatch !== undefined) {
|
875
|
-
localVarQueryParameter['exact_match'] = exactMatch;
|
876
|
-
}
|
877
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
878
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
879
|
-
}
|
880
|
-
|
881
|
-
options.queryParams = localVarQueryParameter;
|
882
|
-
options.headers = localVarHeaderParameter;
|
883
|
-
return options;
|
884
|
-
},
|
885
|
-
|
886
|
-
/**
|
887
|
-
* - 设置用户计费模式。
|
888
|
-
*
|
889
|
-
* - 服务区域仅支持mainland_china(国内)
|
890
|
-
*
|
891
|
-
* - 计费模式仅支持设置flux(流量),v2及以上客户支持bw(带宽)
|
892
|
-
*
|
893
|
-
* - 加速类型仅支持base(基础加速)
|
894
|
-
*
|
895
|
-
* - 单租户调用频率:10次/min。
|
896
|
-
*
|
897
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
898
|
-
*/
|
899
|
-
setChargeModes(setChargeModesRequest?: SetChargeModesRequest) {
|
900
|
-
const options = {
|
901
|
-
method: "PUT",
|
902
|
-
url: "/v1.0/cdn/charge/charge-modes",
|
903
|
-
contentType: "application/json",
|
904
|
-
queryParams: {},
|
905
|
-
pathParams: {},
|
906
|
-
headers: {},
|
907
|
-
data: {}
|
908
|
-
};
|
909
|
-
const localVarHeaderParameter = {} as any;
|
910
|
-
|
911
|
-
let body: any;
|
912
|
-
|
913
|
-
if (setChargeModesRequest !== null && setChargeModesRequest !== undefined) {
|
914
|
-
if (setChargeModesRequest instanceof SetChargeModesRequest) {
|
915
|
-
body = setChargeModesRequest.body
|
916
|
-
} else {
|
917
|
-
body = setChargeModesRequest['body'];
|
918
|
-
}
|
919
|
-
}
|
920
|
-
|
921
|
-
|
922
|
-
if (body === null || body === undefined) {
|
923
|
-
throw new RequiredError('body','Required parameter body was null or undefined when calling body.');
|
924
|
-
}
|
925
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
926
|
-
|
927
|
-
options.data = body !== undefined ? body : {};
|
928
|
-
options.headers = localVarHeaderParameter;
|
929
|
-
return options;
|
930
|
-
},
|
931
|
-
|
932
|
-
/**
|
933
|
-
* - 查询域名带宽峰值类数据。
|
934
|
-
*
|
935
|
-
* - 支持查询90天内的数据。
|
936
|
-
*
|
937
|
-
* - 查询时间跨度不能超过31天。
|
938
|
-
*
|
939
|
-
* - 起始时间和结束时间,左闭右开。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
940
|
-
*
|
941
|
-
* - 起始时间、结束时间必须传毫秒级时间戳,起始时间和结束时间必须同时指定。
|
942
|
-
*
|
943
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、峰值类指标单位统一为bps(比特率),请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
944
|
-
*
|
945
|
-
* - 单租户调用频率:2次/s。
|
946
|
-
*
|
947
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
948
|
-
*/
|
949
|
-
showBandwidthCalc(showBandwidthCalcRequest?: ShowBandwidthCalcRequest) {
|
950
|
-
const options = {
|
951
|
-
method: "GET",
|
952
|
-
url: "/v1.0/cdn/statistics/bandwidth-calc",
|
953
|
-
contentType: "application/json",
|
954
|
-
queryParams: {},
|
955
|
-
pathParams: {},
|
956
|
-
headers: {}
|
957
|
-
};
|
958
|
-
const localVarHeaderParameter = {} as any;
|
959
|
-
const localVarQueryParameter = {} as any;
|
960
|
-
|
961
|
-
let startTime;
|
962
|
-
|
963
|
-
let endTime;
|
964
|
-
|
965
|
-
let domainName;
|
966
|
-
|
967
|
-
let calcType;
|
968
|
-
|
969
|
-
let serviceArea;
|
970
|
-
|
971
|
-
let enterpriseProjectId;
|
972
|
-
|
973
|
-
if (showBandwidthCalcRequest !== null && showBandwidthCalcRequest !== undefined) {
|
974
|
-
if (showBandwidthCalcRequest instanceof ShowBandwidthCalcRequest) {
|
975
|
-
startTime = showBandwidthCalcRequest.startTime;
|
976
|
-
endTime = showBandwidthCalcRequest.endTime;
|
977
|
-
domainName = showBandwidthCalcRequest.domainName;
|
978
|
-
calcType = showBandwidthCalcRequest.calcType;
|
979
|
-
serviceArea = showBandwidthCalcRequest.serviceArea;
|
980
|
-
enterpriseProjectId = showBandwidthCalcRequest.enterpriseProjectId;
|
981
|
-
} else {
|
982
|
-
startTime = showBandwidthCalcRequest['start_time'];
|
983
|
-
endTime = showBandwidthCalcRequest['end_time'];
|
984
|
-
domainName = showBandwidthCalcRequest['domain_name'];
|
985
|
-
calcType = showBandwidthCalcRequest['calc_type'];
|
986
|
-
serviceArea = showBandwidthCalcRequest['service_area'];
|
987
|
-
enterpriseProjectId = showBandwidthCalcRequest['enterprise_project_id'];
|
988
|
-
}
|
989
|
-
}
|
990
|
-
|
991
|
-
|
992
|
-
if (startTime === null || startTime === undefined) {
|
993
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showBandwidthCalc.');
|
994
|
-
}
|
995
|
-
if (startTime !== null && startTime !== undefined) {
|
996
|
-
localVarQueryParameter['start_time'] = startTime;
|
997
|
-
}
|
998
|
-
if (endTime === null || endTime === undefined) {
|
999
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showBandwidthCalc.');
|
1000
|
-
}
|
1001
|
-
if (endTime !== null && endTime !== undefined) {
|
1002
|
-
localVarQueryParameter['end_time'] = endTime;
|
1003
|
-
}
|
1004
|
-
if (domainName === null || domainName === undefined) {
|
1005
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling showBandwidthCalc.');
|
1006
|
-
}
|
1007
|
-
if (domainName !== null && domainName !== undefined) {
|
1008
|
-
localVarQueryParameter['domain_name'] = domainName;
|
1009
|
-
}
|
1010
|
-
if (calcType === null || calcType === undefined) {
|
1011
|
-
throw new RequiredError('calcType','Required parameter calcType was null or undefined when calling showBandwidthCalc.');
|
1012
|
-
}
|
1013
|
-
if (calcType !== null && calcType !== undefined) {
|
1014
|
-
localVarQueryParameter['calc_type'] = calcType;
|
1015
|
-
}
|
1016
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
1017
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
1018
|
-
}
|
1019
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1020
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1021
|
-
}
|
1022
|
-
|
1023
|
-
options.queryParams = localVarQueryParameter;
|
1024
|
-
options.headers = localVarHeaderParameter;
|
1025
|
-
return options;
|
1026
|
-
},
|
1027
|
-
|
1028
|
-
/**
|
1029
|
-
* - 查询用户计费模式。
|
1030
|
-
*
|
1031
|
-
* - 服务区域仅支持mainland_china(国内,默认)和outside_mainland_china(海外)
|
1032
|
-
*
|
1033
|
-
* - 计费模式状态支持active(已生效),upcoming(待生效)两种状态,默认为active(已生效)
|
1034
|
-
*
|
1035
|
-
* - 加速类型仅支持base(基础加速)
|
1036
|
-
*
|
1037
|
-
* - 单租户调用频率:5次/s。
|
1038
|
-
*
|
1039
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1040
|
-
*/
|
1041
|
-
showChargeModes(showChargeModesRequest?: ShowChargeModesRequest) {
|
1042
|
-
const options = {
|
1043
|
-
method: "GET",
|
1044
|
-
url: "/v1.0/cdn/charge/charge-modes",
|
1045
|
-
contentType: "application/json",
|
1046
|
-
queryParams: {},
|
1047
|
-
pathParams: {},
|
1048
|
-
headers: {}
|
1049
|
-
};
|
1050
|
-
const localVarHeaderParameter = {} as any;
|
1051
|
-
const localVarQueryParameter = {} as any;
|
1052
|
-
|
1053
|
-
let productType;
|
1054
|
-
|
1055
|
-
let status;
|
1056
|
-
|
1057
|
-
let serviceArea;
|
1058
|
-
|
1059
|
-
if (showChargeModesRequest !== null && showChargeModesRequest !== undefined) {
|
1060
|
-
if (showChargeModesRequest instanceof ShowChargeModesRequest) {
|
1061
|
-
productType = showChargeModesRequest.productType;
|
1062
|
-
status = showChargeModesRequest.status;
|
1063
|
-
serviceArea = showChargeModesRequest.serviceArea;
|
1064
|
-
} else {
|
1065
|
-
productType = showChargeModesRequest['product_type'];
|
1066
|
-
status = showChargeModesRequest['status'];
|
1067
|
-
serviceArea = showChargeModesRequest['service_area'];
|
1068
|
-
}
|
1069
|
-
}
|
1070
|
-
|
1071
|
-
|
1072
|
-
if (productType === null || productType === undefined) {
|
1073
|
-
throw new RequiredError('productType','Required parameter productType was null or undefined when calling showChargeModes.');
|
1074
|
-
}
|
1075
|
-
if (productType !== null && productType !== undefined) {
|
1076
|
-
localVarQueryParameter['product_type'] = productType;
|
1077
|
-
}
|
1078
|
-
if (status !== null && status !== undefined) {
|
1079
|
-
localVarQueryParameter['status'] = status;
|
1080
|
-
}
|
1081
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
1082
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
1083
|
-
}
|
1084
|
-
|
1085
|
-
options.queryParams = localVarQueryParameter;
|
1086
|
-
options.headers = localVarHeaderParameter;
|
1087
|
-
return options;
|
1088
|
-
},
|
1089
|
-
|
1090
|
-
/**
|
1091
|
-
* 加速域名详情信息接口。
|
1092
|
-
*
|
1093
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1094
|
-
*/
|
1095
|
-
showDomainDetailByName(showDomainDetailByNameRequest?: ShowDomainDetailByNameRequest) {
|
1096
|
-
const options = {
|
1097
|
-
method: "GET",
|
1098
|
-
url: "/v1.0/cdn/configuration/domains/{domain_name}",
|
1099
|
-
contentType: "application/json",
|
1100
|
-
queryParams: {},
|
1101
|
-
pathParams: {},
|
1102
|
-
headers: {}
|
1103
|
-
};
|
1104
|
-
const localVarHeaderParameter = {} as any;
|
1105
|
-
const localVarQueryParameter = {} as any;
|
1106
|
-
|
1107
|
-
let domainName;
|
1108
|
-
|
1109
|
-
let enterpriseProjectId;
|
1110
|
-
|
1111
|
-
if (showDomainDetailByNameRequest !== null && showDomainDetailByNameRequest !== undefined) {
|
1112
|
-
if (showDomainDetailByNameRequest instanceof ShowDomainDetailByNameRequest) {
|
1113
|
-
domainName = showDomainDetailByNameRequest.domainName;
|
1114
|
-
enterpriseProjectId = showDomainDetailByNameRequest.enterpriseProjectId;
|
1115
|
-
} else {
|
1116
|
-
domainName = showDomainDetailByNameRequest['domain_name'];
|
1117
|
-
enterpriseProjectId = showDomainDetailByNameRequest['enterprise_project_id'];
|
1118
|
-
}
|
1119
|
-
}
|
1120
|
-
|
1121
|
-
|
1122
|
-
if (domainName === null || domainName === undefined) {
|
1123
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling showDomainDetailByName.');
|
1124
|
-
}
|
1125
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1126
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1127
|
-
}
|
1128
|
-
|
1129
|
-
options.queryParams = localVarQueryParameter;
|
1130
|
-
options.pathParams = { 'domain_name': domainName, };
|
1131
|
-
options.headers = localVarHeaderParameter;
|
1132
|
-
return options;
|
1133
|
-
},
|
1134
|
-
|
1135
|
-
/**
|
1136
|
-
* 查询域名配置接口,
|
1137
|
-
* 支持查询回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
1138
|
-
*
|
1139
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1140
|
-
*/
|
1141
|
-
showDomainFullConfig(showDomainFullConfigRequest?: ShowDomainFullConfigRequest) {
|
1142
|
-
const options = {
|
1143
|
-
method: "GET",
|
1144
|
-
url: "/v1.1/cdn/configuration/domains/{domain_name}/configs",
|
1145
|
-
contentType: "application/json",
|
1146
|
-
queryParams: {},
|
1147
|
-
pathParams: {},
|
1148
|
-
headers: {}
|
1149
|
-
};
|
1150
|
-
const localVarHeaderParameter = {} as any;
|
1151
|
-
const localVarQueryParameter = {} as any;
|
1152
|
-
|
1153
|
-
let domainName;
|
1154
|
-
|
1155
|
-
let enterpriseProjectId;
|
1156
|
-
|
1157
|
-
let showSpecialConfigs;
|
1158
|
-
|
1159
|
-
if (showDomainFullConfigRequest !== null && showDomainFullConfigRequest !== undefined) {
|
1160
|
-
if (showDomainFullConfigRequest instanceof ShowDomainFullConfigRequest) {
|
1161
|
-
domainName = showDomainFullConfigRequest.domainName;
|
1162
|
-
enterpriseProjectId = showDomainFullConfigRequest.enterpriseProjectId;
|
1163
|
-
showSpecialConfigs = showDomainFullConfigRequest.showSpecialConfigs;
|
1164
|
-
} else {
|
1165
|
-
domainName = showDomainFullConfigRequest['domain_name'];
|
1166
|
-
enterpriseProjectId = showDomainFullConfigRequest['enterprise_project_id'];
|
1167
|
-
showSpecialConfigs = showDomainFullConfigRequest['show_special_configs'];
|
1168
|
-
}
|
1169
|
-
}
|
1170
|
-
|
1171
|
-
|
1172
|
-
if (domainName === null || domainName === undefined) {
|
1173
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling showDomainFullConfig.');
|
1174
|
-
}
|
1175
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1176
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1177
|
-
}
|
1178
|
-
if (showSpecialConfigs !== null && showSpecialConfigs !== undefined) {
|
1179
|
-
localVarQueryParameter['show_special_configs'] = showSpecialConfigs;
|
1180
|
-
}
|
1181
|
-
|
1182
|
-
options.queryParams = localVarQueryParameter;
|
1183
|
-
options.pathParams = { 'domain_name': domainName, };
|
1184
|
-
options.headers = localVarHeaderParameter;
|
1185
|
-
return options;
|
1186
|
-
},
|
1187
|
-
|
1188
|
-
/**
|
1189
|
-
* - 支持查询90天内的数据。
|
1190
|
-
*
|
1191
|
-
* - 支持多指标同时查询,不超过5个。
|
1192
|
-
*
|
1193
|
-
* - 最多同时指定20个域名。
|
1194
|
-
*
|
1195
|
-
* - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
|
1196
|
-
*
|
1197
|
-
* - action取值:location_detail,location_summary
|
1198
|
-
*
|
1199
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的区域运营商明细数据。
|
1200
|
-
*
|
1201
|
-
* - 单租户调用频率:15次/s。
|
1202
|
-
*
|
1203
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1204
|
-
*/
|
1205
|
-
showDomainLocationStats(showDomainLocationStatsRequest?: ShowDomainLocationStatsRequest) {
|
1206
|
-
const options = {
|
1207
|
-
method: "GET",
|
1208
|
-
url: "/v1.0/cdn/statistics/domain-location-stats",
|
1209
|
-
contentType: "application/json",
|
1210
|
-
queryParams: {},
|
1211
|
-
pathParams: {},
|
1212
|
-
headers: {}
|
1213
|
-
};
|
1214
|
-
const localVarHeaderParameter = {} as any;
|
1215
|
-
const localVarQueryParameter = {} as any;
|
1216
|
-
|
1217
|
-
let action;
|
1218
|
-
|
1219
|
-
let startTime;
|
1220
|
-
|
1221
|
-
let endTime;
|
1222
|
-
|
1223
|
-
let domainName;
|
1224
|
-
|
1225
|
-
let statType;
|
1226
|
-
|
1227
|
-
let interval;
|
1228
|
-
|
1229
|
-
let country;
|
1230
|
-
|
1231
|
-
let province;
|
1232
|
-
|
1233
|
-
let isp;
|
1234
|
-
|
1235
|
-
let groupBy;
|
1236
|
-
|
1237
|
-
let enterpriseProjectId;
|
1238
|
-
|
1239
|
-
if (showDomainLocationStatsRequest !== null && showDomainLocationStatsRequest !== undefined) {
|
1240
|
-
if (showDomainLocationStatsRequest instanceof ShowDomainLocationStatsRequest) {
|
1241
|
-
action = showDomainLocationStatsRequest.action;
|
1242
|
-
startTime = showDomainLocationStatsRequest.startTime;
|
1243
|
-
endTime = showDomainLocationStatsRequest.endTime;
|
1244
|
-
domainName = showDomainLocationStatsRequest.domainName;
|
1245
|
-
statType = showDomainLocationStatsRequest.statType;
|
1246
|
-
interval = showDomainLocationStatsRequest.interval;
|
1247
|
-
country = showDomainLocationStatsRequest.country;
|
1248
|
-
province = showDomainLocationStatsRequest.province;
|
1249
|
-
isp = showDomainLocationStatsRequest.isp;
|
1250
|
-
groupBy = showDomainLocationStatsRequest.groupBy;
|
1251
|
-
enterpriseProjectId = showDomainLocationStatsRequest.enterpriseProjectId;
|
1252
|
-
} else {
|
1253
|
-
action = showDomainLocationStatsRequest['action'];
|
1254
|
-
startTime = showDomainLocationStatsRequest['start_time'];
|
1255
|
-
endTime = showDomainLocationStatsRequest['end_time'];
|
1256
|
-
domainName = showDomainLocationStatsRequest['domain_name'];
|
1257
|
-
statType = showDomainLocationStatsRequest['stat_type'];
|
1258
|
-
interval = showDomainLocationStatsRequest['interval'];
|
1259
|
-
country = showDomainLocationStatsRequest['country'];
|
1260
|
-
province = showDomainLocationStatsRequest['province'];
|
1261
|
-
isp = showDomainLocationStatsRequest['isp'];
|
1262
|
-
groupBy = showDomainLocationStatsRequest['group_by'];
|
1263
|
-
enterpriseProjectId = showDomainLocationStatsRequest['enterprise_project_id'];
|
1264
|
-
}
|
1265
|
-
}
|
1266
|
-
|
1267
|
-
|
1268
|
-
if (action === null || action === undefined) {
|
1269
|
-
throw new RequiredError('action','Required parameter action was null or undefined when calling showDomainLocationStats.');
|
1270
|
-
}
|
1271
|
-
if (action !== null && action !== undefined) {
|
1272
|
-
localVarQueryParameter['action'] = action;
|
1273
|
-
}
|
1274
|
-
if (startTime === null || startTime === undefined) {
|
1275
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showDomainLocationStats.');
|
1276
|
-
}
|
1277
|
-
if (startTime !== null && startTime !== undefined) {
|
1278
|
-
localVarQueryParameter['start_time'] = startTime;
|
1279
|
-
}
|
1280
|
-
if (endTime === null || endTime === undefined) {
|
1281
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showDomainLocationStats.');
|
1282
|
-
}
|
1283
|
-
if (endTime !== null && endTime !== undefined) {
|
1284
|
-
localVarQueryParameter['end_time'] = endTime;
|
1285
|
-
}
|
1286
|
-
if (domainName === null || domainName === undefined) {
|
1287
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling showDomainLocationStats.');
|
1288
|
-
}
|
1289
|
-
if (domainName !== null && domainName !== undefined) {
|
1290
|
-
localVarQueryParameter['domain_name'] = domainName;
|
1291
|
-
}
|
1292
|
-
if (statType === null || statType === undefined) {
|
1293
|
-
throw new RequiredError('statType','Required parameter statType was null or undefined when calling showDomainLocationStats.');
|
1294
|
-
}
|
1295
|
-
if (statType !== null && statType !== undefined) {
|
1296
|
-
localVarQueryParameter['stat_type'] = statType;
|
1297
|
-
}
|
1298
|
-
if (interval !== null && interval !== undefined) {
|
1299
|
-
localVarQueryParameter['interval'] = interval;
|
1300
|
-
}
|
1301
|
-
if (country !== null && country !== undefined) {
|
1302
|
-
localVarQueryParameter['country'] = country;
|
1303
|
-
}
|
1304
|
-
if (province !== null && province !== undefined) {
|
1305
|
-
localVarQueryParameter['province'] = province;
|
1306
|
-
}
|
1307
|
-
if (isp !== null && isp !== undefined) {
|
1308
|
-
localVarQueryParameter['isp'] = isp;
|
1309
|
-
}
|
1310
|
-
if (groupBy !== null && groupBy !== undefined) {
|
1311
|
-
localVarQueryParameter['group_by'] = groupBy;
|
1312
|
-
}
|
1313
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1314
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1315
|
-
}
|
1316
|
-
|
1317
|
-
options.queryParams = localVarQueryParameter;
|
1318
|
-
options.headers = localVarHeaderParameter;
|
1319
|
-
return options;
|
1320
|
-
},
|
1321
|
-
|
1322
|
-
/**
|
1323
|
-
* - 支持查询90天内的数据。
|
1324
|
-
*
|
1325
|
-
* - 支持多指标同时查询,不超过5个。
|
1326
|
-
*
|
1327
|
-
* - 最多同时指定20个域名。
|
1328
|
-
*
|
1329
|
-
* - 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
|
1330
|
-
*
|
1331
|
-
* - action取值:detail,summary
|
1332
|
-
*
|
1333
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
1334
|
-
*
|
1335
|
-
* - 单租户调用频率:15次/s。
|
1336
|
-
*
|
1337
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1338
|
-
*/
|
1339
|
-
showDomainStats(showDomainStatsRequest?: ShowDomainStatsRequest) {
|
1340
|
-
const options = {
|
1341
|
-
method: "GET",
|
1342
|
-
url: "/v1.0/cdn/statistics/domain-stats",
|
1343
|
-
contentType: "application/json",
|
1344
|
-
queryParams: {},
|
1345
|
-
pathParams: {},
|
1346
|
-
headers: {}
|
1347
|
-
};
|
1348
|
-
const localVarHeaderParameter = {} as any;
|
1349
|
-
const localVarQueryParameter = {} as any;
|
1350
|
-
|
1351
|
-
let action;
|
1352
|
-
|
1353
|
-
let startTime;
|
1354
|
-
|
1355
|
-
let endTime;
|
1356
|
-
|
1357
|
-
let domainName;
|
1358
|
-
|
1359
|
-
let statType;
|
1360
|
-
|
1361
|
-
let interval;
|
1362
|
-
|
1363
|
-
let groupBy;
|
1364
|
-
|
1365
|
-
let serviceArea;
|
1366
|
-
|
1367
|
-
let enterpriseProjectId;
|
1368
|
-
|
1369
|
-
if (showDomainStatsRequest !== null && showDomainStatsRequest !== undefined) {
|
1370
|
-
if (showDomainStatsRequest instanceof ShowDomainStatsRequest) {
|
1371
|
-
action = showDomainStatsRequest.action;
|
1372
|
-
startTime = showDomainStatsRequest.startTime;
|
1373
|
-
endTime = showDomainStatsRequest.endTime;
|
1374
|
-
domainName = showDomainStatsRequest.domainName;
|
1375
|
-
statType = showDomainStatsRequest.statType;
|
1376
|
-
interval = showDomainStatsRequest.interval;
|
1377
|
-
groupBy = showDomainStatsRequest.groupBy;
|
1378
|
-
serviceArea = showDomainStatsRequest.serviceArea;
|
1379
|
-
enterpriseProjectId = showDomainStatsRequest.enterpriseProjectId;
|
1380
|
-
} else {
|
1381
|
-
action = showDomainStatsRequest['action'];
|
1382
|
-
startTime = showDomainStatsRequest['start_time'];
|
1383
|
-
endTime = showDomainStatsRequest['end_time'];
|
1384
|
-
domainName = showDomainStatsRequest['domain_name'];
|
1385
|
-
statType = showDomainStatsRequest['stat_type'];
|
1386
|
-
interval = showDomainStatsRequest['interval'];
|
1387
|
-
groupBy = showDomainStatsRequest['group_by'];
|
1388
|
-
serviceArea = showDomainStatsRequest['service_area'];
|
1389
|
-
enterpriseProjectId = showDomainStatsRequest['enterprise_project_id'];
|
1390
|
-
}
|
1391
|
-
}
|
1392
|
-
|
1393
|
-
|
1394
|
-
if (action === null || action === undefined) {
|
1395
|
-
throw new RequiredError('action','Required parameter action was null or undefined when calling showDomainStats.');
|
1396
|
-
}
|
1397
|
-
if (action !== null && action !== undefined) {
|
1398
|
-
localVarQueryParameter['action'] = action;
|
1399
|
-
}
|
1400
|
-
if (startTime === null || startTime === undefined) {
|
1401
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showDomainStats.');
|
1402
|
-
}
|
1403
|
-
if (startTime !== null && startTime !== undefined) {
|
1404
|
-
localVarQueryParameter['start_time'] = startTime;
|
1405
|
-
}
|
1406
|
-
if (endTime === null || endTime === undefined) {
|
1407
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showDomainStats.');
|
1408
|
-
}
|
1409
|
-
if (endTime !== null && endTime !== undefined) {
|
1410
|
-
localVarQueryParameter['end_time'] = endTime;
|
1411
|
-
}
|
1412
|
-
if (domainName === null || domainName === undefined) {
|
1413
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling showDomainStats.');
|
1414
|
-
}
|
1415
|
-
if (domainName !== null && domainName !== undefined) {
|
1416
|
-
localVarQueryParameter['domain_name'] = domainName;
|
1417
|
-
}
|
1418
|
-
if (statType === null || statType === undefined) {
|
1419
|
-
throw new RequiredError('statType','Required parameter statType was null or undefined when calling showDomainStats.');
|
1420
|
-
}
|
1421
|
-
if (statType !== null && statType !== undefined) {
|
1422
|
-
localVarQueryParameter['stat_type'] = statType;
|
1423
|
-
}
|
1424
|
-
if (interval !== null && interval !== undefined) {
|
1425
|
-
localVarQueryParameter['interval'] = interval;
|
1426
|
-
}
|
1427
|
-
if (groupBy !== null && groupBy !== undefined) {
|
1428
|
-
localVarQueryParameter['group_by'] = groupBy;
|
1429
|
-
}
|
1430
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
1431
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
1432
|
-
}
|
1433
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1434
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1435
|
-
}
|
1436
|
-
|
1437
|
-
options.queryParams = localVarQueryParameter;
|
1438
|
-
options.headers = localVarHeaderParameter;
|
1439
|
-
return options;
|
1440
|
-
},
|
1441
|
-
|
1442
|
-
/**
|
1443
|
-
* - 查询TOP域名。
|
1444
|
-
*
|
1445
|
-
* - 支持查询90天内的数据。
|
1446
|
-
*
|
1447
|
-
* - 查询时间跨度不能超过1天。
|
1448
|
-
*
|
1449
|
-
* - 起始时间和结束时间,左闭右开,必须同时指定。如查询2022-10-24 00:00:00 到 2022-10-25 00:00:00 的数据,表示取 [2022-10-24 00:00:00, 2022-10-25 00:00:00)的统计数据。
|
1450
|
-
*
|
1451
|
-
* - 起始时间、结束时间必须传整点毫秒级时间戳。
|
1452
|
-
*
|
1453
|
-
* - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
1454
|
-
*
|
1455
|
-
* - 单租户调用频率:5次/s。
|
1456
|
-
*
|
1457
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1458
|
-
*/
|
1459
|
-
showTopDomainNames(showTopDomainNamesRequest?: ShowTopDomainNamesRequest) {
|
1460
|
-
const options = {
|
1461
|
-
method: "GET",
|
1462
|
-
url: "/v1/cdn/statistics/top-domain-names",
|
1463
|
-
contentType: "application/json",
|
1464
|
-
queryParams: {},
|
1465
|
-
pathParams: {},
|
1466
|
-
headers: {}
|
1467
|
-
};
|
1468
|
-
const localVarHeaderParameter = {} as any;
|
1469
|
-
const localVarQueryParameter = {} as any;
|
1470
|
-
|
1471
|
-
let startTime;
|
1472
|
-
|
1473
|
-
let endTime;
|
1474
|
-
|
1475
|
-
let statType;
|
1476
|
-
|
1477
|
-
let serviceArea;
|
1478
|
-
|
1479
|
-
let limit;
|
1480
|
-
|
1481
|
-
let enterpriseProjectId;
|
1482
|
-
|
1483
|
-
if (showTopDomainNamesRequest !== null && showTopDomainNamesRequest !== undefined) {
|
1484
|
-
if (showTopDomainNamesRequest instanceof ShowTopDomainNamesRequest) {
|
1485
|
-
startTime = showTopDomainNamesRequest.startTime;
|
1486
|
-
endTime = showTopDomainNamesRequest.endTime;
|
1487
|
-
statType = showTopDomainNamesRequest.statType;
|
1488
|
-
serviceArea = showTopDomainNamesRequest.serviceArea;
|
1489
|
-
limit = showTopDomainNamesRequest.limit;
|
1490
|
-
enterpriseProjectId = showTopDomainNamesRequest.enterpriseProjectId;
|
1491
|
-
} else {
|
1492
|
-
startTime = showTopDomainNamesRequest['start_time'];
|
1493
|
-
endTime = showTopDomainNamesRequest['end_time'];
|
1494
|
-
statType = showTopDomainNamesRequest['stat_type'];
|
1495
|
-
serviceArea = showTopDomainNamesRequest['service_area'];
|
1496
|
-
limit = showTopDomainNamesRequest['limit'];
|
1497
|
-
enterpriseProjectId = showTopDomainNamesRequest['enterprise_project_id'];
|
1498
|
-
}
|
1499
|
-
}
|
1500
|
-
|
1501
|
-
|
1502
|
-
if (startTime === null || startTime === undefined) {
|
1503
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showTopDomainNames.');
|
1504
|
-
}
|
1505
|
-
if (startTime !== null && startTime !== undefined) {
|
1506
|
-
localVarQueryParameter['start_time'] = startTime;
|
1507
|
-
}
|
1508
|
-
if (endTime === null || endTime === undefined) {
|
1509
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showTopDomainNames.');
|
1510
|
-
}
|
1511
|
-
if (endTime !== null && endTime !== undefined) {
|
1512
|
-
localVarQueryParameter['end_time'] = endTime;
|
1513
|
-
}
|
1514
|
-
if (statType === null || statType === undefined) {
|
1515
|
-
throw new RequiredError('statType','Required parameter statType was null or undefined when calling showTopDomainNames.');
|
1516
|
-
}
|
1517
|
-
if (statType !== null && statType !== undefined) {
|
1518
|
-
localVarQueryParameter['stat_type'] = statType;
|
1519
|
-
}
|
1520
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
1521
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
1522
|
-
}
|
1523
|
-
if (limit !== null && limit !== undefined) {
|
1524
|
-
localVarQueryParameter['limit'] = limit;
|
1525
|
-
}
|
1526
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1527
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1528
|
-
}
|
1529
|
-
|
1530
|
-
options.queryParams = localVarQueryParameter;
|
1531
|
-
options.headers = localVarHeaderParameter;
|
1532
|
-
return options;
|
1533
|
-
},
|
1534
|
-
|
1535
|
-
/**
|
1536
|
-
* - 查询TOP100 URL明细。
|
1537
|
-
*
|
1538
|
-
* - 支持查询90天内的数据。
|
1539
|
-
*
|
1540
|
-
* - 查询跨度不能超过31天。
|
1541
|
-
*
|
1542
|
-
* - 起始时间和结束时间,左闭右开,需要同时指定。如查询2021-10-24 00:00:00 到 2021-10-25 00:00:00 的数据,表示取 [2021-10-24 00:00:00, 2021-10-25 00:00:00)的统计数据。
|
1543
|
-
*
|
1544
|
-
* - 开始时间、结束时间必须传毫秒级时间戳,且必须为凌晨0点整时刻点,如果传的不是凌晨0点整时刻点,返回数据可能与预期不一致。
|
1545
|
-
*
|
1546
|
-
* - 流量类指标单位统一为Byte(字节)、请求数类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
|
1547
|
-
*
|
1548
|
-
* - 单租户调用频率:5次/s。
|
1549
|
-
*
|
1550
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1551
|
-
*/
|
1552
|
-
showTopUrl(showTopUrlRequest?: ShowTopUrlRequest) {
|
1553
|
-
const options = {
|
1554
|
-
method: "GET",
|
1555
|
-
url: "/v1.0/cdn/statistics/top-url",
|
1556
|
-
contentType: "application/json",
|
1557
|
-
queryParams: {},
|
1558
|
-
pathParams: {},
|
1559
|
-
headers: {}
|
1560
|
-
};
|
1561
|
-
const localVarHeaderParameter = {} as any;
|
1562
|
-
const localVarQueryParameter = {} as any;
|
1563
|
-
|
1564
|
-
let startTime;
|
1565
|
-
|
1566
|
-
let endTime;
|
1567
|
-
|
1568
|
-
let domainName;
|
1569
|
-
|
1570
|
-
let statType;
|
1571
|
-
|
1572
|
-
let serviceArea;
|
1573
|
-
|
1574
|
-
let enterpriseProjectId;
|
1575
|
-
|
1576
|
-
if (showTopUrlRequest !== null && showTopUrlRequest !== undefined) {
|
1577
|
-
if (showTopUrlRequest instanceof ShowTopUrlRequest) {
|
1578
|
-
startTime = showTopUrlRequest.startTime;
|
1579
|
-
endTime = showTopUrlRequest.endTime;
|
1580
|
-
domainName = showTopUrlRequest.domainName;
|
1581
|
-
statType = showTopUrlRequest.statType;
|
1582
|
-
serviceArea = showTopUrlRequest.serviceArea;
|
1583
|
-
enterpriseProjectId = showTopUrlRequest.enterpriseProjectId;
|
1584
|
-
} else {
|
1585
|
-
startTime = showTopUrlRequest['start_time'];
|
1586
|
-
endTime = showTopUrlRequest['end_time'];
|
1587
|
-
domainName = showTopUrlRequest['domain_name'];
|
1588
|
-
statType = showTopUrlRequest['stat_type'];
|
1589
|
-
serviceArea = showTopUrlRequest['service_area'];
|
1590
|
-
enterpriseProjectId = showTopUrlRequest['enterprise_project_id'];
|
1591
|
-
}
|
1592
|
-
}
|
1593
|
-
|
1594
|
-
|
1595
|
-
if (startTime === null || startTime === undefined) {
|
1596
|
-
throw new RequiredError('startTime','Required parameter startTime was null or undefined when calling showTopUrl.');
|
1597
|
-
}
|
1598
|
-
if (startTime !== null && startTime !== undefined) {
|
1599
|
-
localVarQueryParameter['start_time'] = startTime;
|
1600
|
-
}
|
1601
|
-
if (endTime === null || endTime === undefined) {
|
1602
|
-
throw new RequiredError('endTime','Required parameter endTime was null or undefined when calling showTopUrl.');
|
1603
|
-
}
|
1604
|
-
if (endTime !== null && endTime !== undefined) {
|
1605
|
-
localVarQueryParameter['end_time'] = endTime;
|
1606
|
-
}
|
1607
|
-
if (domainName === null || domainName === undefined) {
|
1608
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling showTopUrl.');
|
1609
|
-
}
|
1610
|
-
if (domainName !== null && domainName !== undefined) {
|
1611
|
-
localVarQueryParameter['domain_name'] = domainName;
|
1612
|
-
}
|
1613
|
-
if (statType === null || statType === undefined) {
|
1614
|
-
throw new RequiredError('statType','Required parameter statType was null or undefined when calling showTopUrl.');
|
1615
|
-
}
|
1616
|
-
if (statType !== null && statType !== undefined) {
|
1617
|
-
localVarQueryParameter['stat_type'] = statType;
|
1618
|
-
}
|
1619
|
-
if (serviceArea !== null && serviceArea !== undefined) {
|
1620
|
-
localVarQueryParameter['service_area'] = serviceArea;
|
1621
|
-
}
|
1622
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1623
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1624
|
-
}
|
1625
|
-
|
1626
|
-
options.queryParams = localVarQueryParameter;
|
1627
|
-
options.headers = localVarHeaderParameter;
|
1628
|
-
return options;
|
1629
|
-
},
|
1630
|
-
|
1631
|
-
/**
|
1632
|
-
* 修改域名配置接口,
|
1633
|
-
* 支持修改回源请求头、业务类型、服务区域、HTTP header配置、URL鉴权、证书、源站、回源协议、回源跟随、ipv6设置、智能压缩、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转、高级回源、回源是否校验Etag、回源超时时间、远程鉴权配置、webSocket配置、视频拖拽、请求限速。
|
1634
|
-
*
|
1635
|
-
* Please refer to HUAWEI cloud API Explorer for details.
|
1636
|
-
*/
|
1637
|
-
updateDomainFullConfig(updateDomainFullConfigRequest?: UpdateDomainFullConfigRequest) {
|
1638
|
-
const options = {
|
1639
|
-
method: "PUT",
|
1640
|
-
url: "/v1.1/cdn/configuration/domains/{domain_name}/configs",
|
1641
|
-
contentType: "application/json",
|
1642
|
-
queryParams: {},
|
1643
|
-
pathParams: {},
|
1644
|
-
headers: {},
|
1645
|
-
data: {}
|
1646
|
-
};
|
1647
|
-
const localVarHeaderParameter = {} as any;
|
1648
|
-
const localVarQueryParameter = {} as any;
|
1649
|
-
let body: any;
|
1650
|
-
|
1651
|
-
let domainName;
|
1652
|
-
|
1653
|
-
let enterpriseProjectId;
|
1654
|
-
|
1655
|
-
if (updateDomainFullConfigRequest !== null && updateDomainFullConfigRequest !== undefined) {
|
1656
|
-
if (updateDomainFullConfigRequest instanceof UpdateDomainFullConfigRequest) {
|
1657
|
-
domainName = updateDomainFullConfigRequest.domainName;
|
1658
|
-
enterpriseProjectId = updateDomainFullConfigRequest.enterpriseProjectId;
|
1659
|
-
body = updateDomainFullConfigRequest.body
|
1660
|
-
} else {
|
1661
|
-
domainName = updateDomainFullConfigRequest['domain_name'];
|
1662
|
-
enterpriseProjectId = updateDomainFullConfigRequest['enterprise_project_id'];
|
1663
|
-
body = updateDomainFullConfigRequest['body'];
|
1664
|
-
}
|
1665
|
-
}
|
1666
|
-
|
1667
|
-
|
1668
|
-
if (domainName === null || domainName === undefined) {
|
1669
|
-
throw new RequiredError('domainName','Required parameter domainName was null or undefined when calling updateDomainFullConfig.');
|
1670
|
-
}
|
1671
|
-
if (enterpriseProjectId !== null && enterpriseProjectId !== undefined) {
|
1672
|
-
localVarQueryParameter['enterprise_project_id'] = enterpriseProjectId;
|
1673
|
-
}
|
1674
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
1675
|
-
|
1676
|
-
options.data = body !== undefined ? body : {};
|
1677
|
-
options.queryParams = localVarQueryParameter;
|
1678
|
-
options.pathParams = { 'domain_name': domainName, };
|
1679
|
-
options.headers = localVarHeaderParameter;
|
1680
|
-
return options;
|
1681
|
-
},
|
1682
|
-
|
1683
|
-
}
|
1684
|
-
};
|
1685
|
-
|
1686
|
-
function newClient(client: HcClient): CdnClient {
|
1687
|
-
return new CdnClient(client);
|
1688
|
-
}
|
1689
|
-
|
1690
|
-
/**
|
1691
|
-
*
|
1692
|
-
* @export
|
1693
|
-
* @class RequiredError
|
1694
|
-
* @extends {Error}
|
1695
|
-
*/
|
1696
|
-
export class RequiredError extends Error {
|
1697
|
-
name: "RequiredError" = "RequiredError";
|
1698
|
-
constructor(public field: string, msg?: string) {
|
1699
|
-
super(msg);
|
1700
|
-
}
|
1701
|
-
}
|