@huaweicloud/huaweicloud-sdk-cdn 3.1.23
Sign up to get free protection for your applications and to get access to all the features.
- package/LICENSE +13 -0
- package/README.md +1 -0
- package/huaweicloud-sdk-cdn.d.ts +2 -0
- package/huaweicloud-sdk-cdn.js +18 -0
- package/package.json +19 -0
- package/v1/CdnClient.d.ts +1372 -0
- package/v1/CdnClient.js +3128 -0
- package/v1/CdnRegion.d.ts +7 -0
- package/v1/CdnRegion.js +29 -0
- package/v1/model/BatchDeleteTagsRequest.d.ts +6 -0
- package/v1/model/BatchDeleteTagsRequest.js +13 -0
- package/v1/model/BatchDeleteTagsResponse.d.ts +4 -0
- package/v1/model/BatchDeleteTagsResponse.js +27 -0
- package/v1/model/BlackWhiteListBody.d.ts +9 -0
- package/v1/model/BlackWhiteListBody.js +28 -0
- package/v1/model/CacheConfig.d.ts +17 -0
- package/v1/model/CacheConfig.js +45 -0
- package/v1/model/CacheConfigRequest.d.ts +17 -0
- package/v1/model/CacheConfigRequest.js +45 -0
- package/v1/model/CacheConfigRequestBody.d.ts +8 -0
- package/v1/model/CacheConfigRequestBody.js +24 -0
- package/v1/model/CacheUrlParameterFilter.d.ts +7 -0
- package/v1/model/CacheUrlParameterFilter.js +17 -0
- package/v1/model/CdnIps.d.ts +13 -0
- package/v1/model/CdnIps.js +29 -0
- package/v1/model/Compress.d.ts +7 -0
- package/v1/model/Compress.js +18 -0
- package/v1/model/CompressRequest.d.ts +7 -0
- package/v1/model/CompressRequest.js +23 -0
- package/v1/model/CompressResponse.d.ts +12 -0
- package/v1/model/CompressResponse.js +38 -0
- package/v1/model/CompressRules.d.ts +11 -0
- package/v1/model/CompressRules.js +37 -0
- package/v1/model/Configs.d.ts +69 -0
- package/v1/model/Configs.js +189 -0
- package/v1/model/ConfigsGetBody.d.ts +69 -0
- package/v1/model/ConfigsGetBody.js +189 -0
- package/v1/model/CreateDomainRequest.d.ts +6 -0
- package/v1/model/CreateDomainRequest.js +13 -0
- package/v1/model/CreateDomainRequestBody.d.ts +6 -0
- package/v1/model/CreateDomainRequestBody.js +14 -0
- package/v1/model/CreateDomainResponse.d.ts +7 -0
- package/v1/model/CreateDomainResponse.js +31 -0
- package/v1/model/CreateDomainResponseBodyContent.d.ts +67 -0
- package/v1/model/CreateDomainResponseBodyContent.js +211 -0
- package/v1/model/CreatePreheatingTasksRequest.d.ts +10 -0
- package/v1/model/CreatePreheatingTasksRequest.js +27 -0
- package/v1/model/CreatePreheatingTasksResponse.d.ts +8 -0
- package/v1/model/CreatePreheatingTasksResponse.js +41 -0
- package/v1/model/CreateRefreshTasksRequest.d.ts +10 -0
- package/v1/model/CreateRefreshTasksRequest.js +27 -0
- package/v1/model/CreateRefreshTasksResponse.d.ts +8 -0
- package/v1/model/CreateRefreshTasksResponse.js +41 -0
- package/v1/model/CreateTagsRequest.d.ts +6 -0
- package/v1/model/CreateTagsRequest.js +13 -0
- package/v1/model/CreateTagsRequestBody.d.ts +9 -0
- package/v1/model/CreateTagsRequestBody.js +29 -0
- package/v1/model/CreateTagsResponse.d.ts +4 -0
- package/v1/model/CreateTagsResponse.js +27 -0
- package/v1/model/DeleteDomainRequest.d.ts +11 -0
- package/v1/model/DeleteDomainRequest.js +38 -0
- package/v1/model/DeleteDomainResponse.d.ts +7 -0
- package/v1/model/DeleteDomainResponse.js +31 -0
- package/v1/model/DeleteTagsRequestBody.d.ts +9 -0
- package/v1/model/DeleteTagsRequestBody.js +29 -0
- package/v1/model/DisableDomainRequest.d.ts +11 -0
- package/v1/model/DisableDomainRequest.js +38 -0
- package/v1/model/DisableDomainResponse.d.ts +7 -0
- package/v1/model/DisableDomainResponse.js +31 -0
- package/v1/model/DomainBody.d.ts +41 -0
- package/v1/model/DomainBody.js +94 -0
- package/v1/model/DomainItemDetail.d.ts +21 -0
- package/v1/model/DomainItemDetail.js +55 -0
- package/v1/model/DomainItemLocationDetails.d.ts +18 -0
- package/v1/model/DomainItemLocationDetails.js +55 -0
- package/v1/model/DomainOriginHost.d.ts +15 -0
- package/v1/model/DomainOriginHost.js +52 -0
- package/v1/model/DomainRegion.d.ts +17 -0
- package/v1/model/DomainRegion.js +37 -0
- package/v1/model/Domains.d.ts +88 -0
- package/v1/model/Domains.js +263 -0
- package/v1/model/DomainsWithPort.d.ts +88 -0
- package/v1/model/DomainsWithPort.js +263 -0
- package/v1/model/EnableDomainRequest.d.ts +11 -0
- package/v1/model/EnableDomainRequest.js +38 -0
- package/v1/model/EnableDomainResponse.d.ts +7 -0
- package/v1/model/EnableDomainResponse.js +31 -0
- package/v1/model/ErrorCodeCache.d.ts +7 -0
- package/v1/model/ErrorCodeCache.js +17 -0
- package/v1/model/ErrorCodeRedirectRules.d.ts +15 -0
- package/v1/model/ErrorCodeRedirectRules.js +54 -0
- package/v1/model/Follow302StatusBody.d.ts +19 -0
- package/v1/model/Follow302StatusBody.js +46 -0
- package/v1/model/Follow302StatusRequest.d.ts +15 -0
- package/v1/model/Follow302StatusRequest.js +33 -0
- package/v1/model/ForceRedirect.d.ts +11 -0
- package/v1/model/ForceRedirect.js +38 -0
- package/v1/model/ForceRedirectConfig.d.ts +7 -0
- package/v1/model/ForceRedirectConfig.js +18 -0
- package/v1/model/HeaderBody.d.ts +6 -0
- package/v1/model/HeaderBody.js +13 -0
- package/v1/model/HeaderMap.d.ts +27 -0
- package/v1/model/HeaderMap.js +93 -0
- package/v1/model/HttpGetBody.d.ts +27 -0
- package/v1/model/HttpGetBody.js +93 -0
- package/v1/model/HttpInfoRequest.d.ts +6 -0
- package/v1/model/HttpInfoRequest.js +14 -0
- package/v1/model/HttpInfoRequestBody.d.ts +32 -0
- package/v1/model/HttpInfoRequestBody.js +103 -0
- package/v1/model/HttpInfoResponseBody.d.ts +36 -0
- package/v1/model/HttpInfoResponseBody.js +115 -0
- package/v1/model/HttpPutBody.d.ts +31 -0
- package/v1/model/HttpPutBody.js +107 -0
- package/v1/model/HttpResponseHeader.d.ts +9 -0
- package/v1/model/HttpResponseHeader.js +23 -0
- package/v1/model/HttpsDetail.d.ts +44 -0
- package/v1/model/HttpsDetail.js +143 -0
- package/v1/model/ListDomainsRequest.d.ts +63 -0
- package/v1/model/ListDomainsRequest.js +142 -0
- package/v1/model/ListDomainsResponse.d.ts +9 -0
- package/v1/model/ListDomainsResponse.js +35 -0
- package/v1/model/LogObject.d.ts +21 -0
- package/v1/model/LogObject.js +63 -0
- package/v1/model/ModelMap.d.ts +7 -0
- package/v1/model/ModelMap.js +18 -0
- package/v1/model/ModifyDomainConfigRequestBody.d.ts +6 -0
- package/v1/model/ModifyDomainConfigRequestBody.js +13 -0
- package/v1/model/OriginHostBody.d.ts +19 -0
- package/v1/model/OriginHostBody.js +47 -0
- package/v1/model/OriginHostRequest.d.ts +8 -0
- package/v1/model/OriginHostRequest.js +24 -0
- package/v1/model/OriginRangeBody.d.ts +19 -0
- package/v1/model/OriginRangeBody.js +46 -0
- package/v1/model/OriginRequest.d.ts +6 -0
- package/v1/model/OriginRequest.js +14 -0
- package/v1/model/OriginRequestHeader.d.ts +9 -0
- package/v1/model/OriginRequestHeader.js +23 -0
- package/v1/model/OriginRequestUrlRewrite.d.ts +17 -0
- package/v1/model/OriginRequestUrlRewrite.js +58 -0
- package/v1/model/PreheatingTaskRequest.d.ts +8 -0
- package/v1/model/PreheatingTaskRequest.js +24 -0
- package/v1/model/PreheatingTaskRequestBody.d.ts +5 -0
- package/v1/model/PreheatingTaskRequestBody.js +14 -0
- package/v1/model/Quotas.d.ts +15 -0
- package/v1/model/Quotas.js +45 -0
- package/v1/model/RangeStatusRequest.d.ts +15 -0
- package/v1/model/RangeStatusRequest.js +33 -0
- package/v1/model/Referer.d.ts +15 -0
- package/v1/model/Referer.js +52 -0
- package/v1/model/RefererBody.d.ts +6 -0
- package/v1/model/RefererBody.js +14 -0
- package/v1/model/RefererRsp.d.ts +15 -0
- package/v1/model/RefererRsp.js +51 -0
- package/v1/model/RefreshTaskRequest.d.ts +8 -0
- package/v1/model/RefreshTaskRequest.js +24 -0
- package/v1/model/RefreshTaskRequestBody.d.ts +15 -0
- package/v1/model/RefreshTaskRequestBody.js +27 -0
- package/v1/model/ResourceBody.d.ts +6 -0
- package/v1/model/ResourceBody.js +14 -0
- package/v1/model/Rules.d.ts +17 -0
- package/v1/model/Rules.js +53 -0
- package/v1/model/ShowBlackWhiteListRequest.d.ts +11 -0
- package/v1/model/ShowBlackWhiteListRequest.js +38 -0
- package/v1/model/ShowBlackWhiteListResponse.d.ts +10 -0
- package/v1/model/ShowBlackWhiteListResponse.js +45 -0
- package/v1/model/ShowCacheRulesRequest.d.ts +11 -0
- package/v1/model/ShowCacheRulesRequest.js +38 -0
- package/v1/model/ShowCacheRulesResponse.d.ts +9 -0
- package/v1/model/ShowCacheRulesResponse.js +41 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.d.ts +23 -0
- package/v1/model/ShowCertificatesHttpsInfoRequest.js +79 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.d.ts +9 -0
- package/v1/model/ShowCertificatesHttpsInfoResponse.js +35 -0
- package/v1/model/ShowDomainDetailRequest.d.ts +11 -0
- package/v1/model/ShowDomainDetailRequest.js +38 -0
- package/v1/model/ShowDomainDetailResponse.d.ts +7 -0
- package/v1/model/ShowDomainDetailResponse.js +31 -0
- package/v1/model/ShowDomainFullConfigRequest.d.ts +11 -0
- package/v1/model/ShowDomainFullConfigRequest.js +38 -0
- package/v1/model/ShowDomainFullConfigResponse.d.ts +7 -0
- package/v1/model/ShowDomainFullConfigResponse.js +31 -0
- package/v1/model/ShowDomainItemDetailsRequest.d.ts +27 -0
- package/v1/model/ShowDomainItemDetailsRequest.js +97 -0
- package/v1/model/ShowDomainItemDetailsResponse.d.ts +9 -0
- package/v1/model/ShowDomainItemDetailsResponse.js +41 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.d.ts +27 -0
- package/v1/model/ShowDomainItemLocationDetailsRequest.js +93 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.d.ts +9 -0
- package/v1/model/ShowDomainItemLocationDetailsResponse.js +41 -0
- package/v1/model/ShowDomainLocationStatsRequest.d.ts +37 -0
- package/v1/model/ShowDomainLocationStatsRequest.js +118 -0
- package/v1/model/ShowDomainLocationStatsResponse.d.ts +14 -0
- package/v1/model/ShowDomainLocationStatsResponse.js +45 -0
- package/v1/model/ShowDomainStatsRequest.d.ts +35 -0
- package/v1/model/ShowDomainStatsRequest.js +120 -0
- package/v1/model/ShowDomainStatsResponse.d.ts +10 -0
- package/v1/model/ShowDomainStatsResponse.js +31 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.d.ts +27 -0
- package/v1/model/ShowHistoryTaskDetailsRequest.js +88 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.d.ts +31 -0
- package/v1/model/ShowHistoryTaskDetailsResponse.js +97 -0
- package/v1/model/ShowHistoryTasksRequest.d.ts +53 -0
- package/v1/model/ShowHistoryTasksRequest.js +143 -0
- package/v1/model/ShowHistoryTasksResponse.d.ts +9 -0
- package/v1/model/ShowHistoryTasksResponse.js +35 -0
- package/v1/model/ShowHttpInfoRequest.d.ts +11 -0
- package/v1/model/ShowHttpInfoRequest.js +38 -0
- package/v1/model/ShowHttpInfoResponse.d.ts +7 -0
- package/v1/model/ShowHttpInfoResponse.js +31 -0
- package/v1/model/ShowIpInfoRequest.d.ts +9 -0
- package/v1/model/ShowIpInfoRequest.js +28 -0
- package/v1/model/ShowIpInfoResponse.d.ts +9 -0
- package/v1/model/ShowIpInfoResponse.js +41 -0
- package/v1/model/ShowLogsRequest.d.ts +23 -0
- package/v1/model/ShowLogsRequest.js +81 -0
- package/v1/model/ShowLogsResponse.d.ts +9 -0
- package/v1/model/ShowLogsResponse.js +35 -0
- package/v1/model/ShowOriginHostRequest.d.ts +11 -0
- package/v1/model/ShowOriginHostRequest.js +38 -0
- package/v1/model/ShowOriginHostResponse.d.ts +9 -0
- package/v1/model/ShowOriginHostResponse.js +41 -0
- package/v1/model/ShowQuotaRequest.d.ts +3 -0
- package/v1/model/ShowQuotaRequest.js +9 -0
- package/v1/model/ShowQuotaResponse.d.ts +7 -0
- package/v1/model/ShowQuotaResponse.js +31 -0
- package/v1/model/ShowReferRequest.d.ts +11 -0
- package/v1/model/ShowReferRequest.js +38 -0
- package/v1/model/ShowReferResponse.d.ts +7 -0
- package/v1/model/ShowReferResponse.js +31 -0
- package/v1/model/ShowResponseHeaderRequest.d.ts +11 -0
- package/v1/model/ShowResponseHeaderRequest.js +38 -0
- package/v1/model/ShowResponseHeaderResponse.d.ts +7 -0
- package/v1/model/ShowResponseHeaderResponse.js +31 -0
- package/v1/model/ShowTagsRequest.d.ts +7 -0
- package/v1/model/ShowTagsRequest.js +24 -0
- package/v1/model/ShowTagsResponse.d.ts +6 -0
- package/v1/model/ShowTagsResponse.js +31 -0
- package/v1/model/ShowTopUrlRequest.d.ts +43 -0
- package/v1/model/ShowTopUrlRequest.js +115 -0
- package/v1/model/ShowTopUrlResponse.d.ts +13 -0
- package/v1/model/ShowTopUrlResponse.js +55 -0
- package/v1/model/ShowUrlTaskInfoRequest.d.ts +27 -0
- package/v1/model/ShowUrlTaskInfoRequest.js +81 -0
- package/v1/model/ShowUrlTaskInfoResponse.d.ts +15 -0
- package/v1/model/ShowUrlTaskInfoResponse.js +53 -0
- package/v1/model/SourceWithPort.d.ts +40 -0
- package/v1/model/SourceWithPort.js +120 -0
- package/v1/model/Sources.d.ts +32 -0
- package/v1/model/Sources.js +92 -0
- package/v1/model/SourcesConfig.d.ts +29 -0
- package/v1/model/SourcesConfig.js +100 -0
- package/v1/model/TasksObject.d.ts +43 -0
- package/v1/model/TasksObject.js +93 -0
- package/v1/model/TopUrlSummary.d.ts +19 -0
- package/v1/model/TopUrlSummary.js +59 -0
- package/v1/model/UpdateBlackWhiteListRequest.d.ts +14 -0
- package/v1/model/UpdateBlackWhiteListRequest.js +42 -0
- package/v1/model/UpdateBlackWhiteListResponse.d.ts +10 -0
- package/v1/model/UpdateBlackWhiteListResponse.js +39 -0
- package/v1/model/UpdateCacheRulesRequest.d.ts +14 -0
- package/v1/model/UpdateCacheRulesRequest.js +42 -0
- package/v1/model/UpdateCacheRulesResponse.d.ts +9 -0
- package/v1/model/UpdateCacheRulesResponse.js +41 -0
- package/v1/model/UpdateDomainFullConfigRequest.d.ts +14 -0
- package/v1/model/UpdateDomainFullConfigRequest.js +42 -0
- package/v1/model/UpdateDomainFullConfigResponse.d.ts +4 -0
- package/v1/model/UpdateDomainFullConfigResponse.js +27 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.d.ts +10 -0
- package/v1/model/UpdateDomainMultiCertificatesRequest.js +27 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.d.ts +6 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBody.js +13 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.d.ts +40 -0
- package/v1/model/UpdateDomainMultiCertificatesRequestBodyContent.js +131 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.d.ts +7 -0
- package/v1/model/UpdateDomainMultiCertificatesResponse.js +31 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.d.ts +40 -0
- package/v1/model/UpdateDomainMultiCertificatesResponseBodyContent.js +130 -0
- package/v1/model/UpdateDomainOriginRequest.d.ts +14 -0
- package/v1/model/UpdateDomainOriginRequest.js +42 -0
- package/v1/model/UpdateDomainOriginResponse.d.ts +7 -0
- package/v1/model/UpdateDomainOriginResponse.js +31 -0
- package/v1/model/UpdateFollow302SwitchRequest.d.ts +14 -0
- package/v1/model/UpdateFollow302SwitchRequest.js +42 -0
- package/v1/model/UpdateFollow302SwitchResponse.d.ts +9 -0
- package/v1/model/UpdateFollow302SwitchResponse.js +41 -0
- package/v1/model/UpdateHttpsInfoRequest.d.ts +14 -0
- package/v1/model/UpdateHttpsInfoRequest.js +42 -0
- package/v1/model/UpdateHttpsInfoResponse.d.ts +7 -0
- package/v1/model/UpdateHttpsInfoResponse.js +31 -0
- package/v1/model/UpdateOriginHostRequest.d.ts +14 -0
- package/v1/model/UpdateOriginHostRequest.js +42 -0
- package/v1/model/UpdateOriginHostResponse.d.ts +9 -0
- package/v1/model/UpdateOriginHostResponse.js +41 -0
- package/v1/model/UpdatePrivateBucketAccessBody.d.ts +5 -0
- package/v1/model/UpdatePrivateBucketAccessBody.js +13 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.d.ts +14 -0
- package/v1/model/UpdatePrivateBucketAccessRequest.js +42 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.d.ts +6 -0
- package/v1/model/UpdatePrivateBucketAccessResponse.js +31 -0
- package/v1/model/UpdateRangeSwitchRequest.d.ts +14 -0
- package/v1/model/UpdateRangeSwitchRequest.js +42 -0
- package/v1/model/UpdateRangeSwitchResponse.d.ts +9 -0
- package/v1/model/UpdateRangeSwitchResponse.js +41 -0
- package/v1/model/UpdateReferRequest.d.ts +14 -0
- package/v1/model/UpdateReferRequest.js +42 -0
- package/v1/model/UpdateReferResponse.d.ts +7 -0
- package/v1/model/UpdateReferResponse.js +31 -0
- package/v1/model/UpdateResponseHeaderRequest.d.ts +14 -0
- package/v1/model/UpdateResponseHeaderRequest.js +42 -0
- package/v1/model/UpdateResponseHeaderResponse.d.ts +7 -0
- package/v1/model/UpdateResponseHeaderResponse.js +31 -0
- package/v1/model/UrlAuth.d.ts +17 -0
- package/v1/model/UrlAuth.js +50 -0
- package/v1/model/UrlAuthGetBody.d.ts +15 -0
- package/v1/model/UrlAuthGetBody.js +46 -0
- package/v1/model/UrlObject.d.ts +21 -0
- package/v1/model/UrlObject.js +63 -0
- package/v1/model/Urls.d.ts +27 -0
- package/v1/model/Urls.js +81 -0
- package/v1/model/UserAgentFilter.d.ts +7 -0
- package/v1/model/UserAgentFilter.js +18 -0
- package/v1/public-api.d.ts +158 -0
- package/v1/public-api.js +174 -0
- package/v2/CdnClient.d.ts +532 -0
- package/v2/CdnClient.js +1196 -0
- package/v2/CdnRegion.d.ts +7 -0
- package/v2/CdnRegion.js +29 -0
- package/v2/model/BatchCopyConfigs.d.ts +15 -0
- package/v2/model/BatchCopyConfigs.js +54 -0
- package/v2/model/BatchCopyDRequestBody.d.ts +6 -0
- package/v2/model/BatchCopyDRequestBody.js +14 -0
- package/v2/model/BatchCopyDomainRequest.d.ts +6 -0
- package/v2/model/BatchCopyDomainRequest.js +13 -0
- package/v2/model/BatchCopyDomainResponse.d.ts +7 -0
- package/v2/model/BatchCopyDomainResponse.js +31 -0
- package/v2/model/BatchCopyErrorRsp.d.ts +6 -0
- package/v2/model/BatchCopyErrorRsp.js +13 -0
- package/v2/model/BatchCopyErrorRspError.d.ts +11 -0
- package/v2/model/BatchCopyErrorRspError.js +37 -0
- package/v2/model/BatchCopyResultVo.d.ts +19 -0
- package/v2/model/BatchCopyResultVo.js +42 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.d.ts +35 -0
- package/v2/model/DownloadRegionCarrierExcelRequest.js +113 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.d.ts +4 -0
- package/v2/model/DownloadRegionCarrierExcelResponse.js +27 -0
- package/v2/model/DownloadStatisticsExcelRequest.d.ts +33 -0
- package/v2/model/DownloadStatisticsExcelRequest.js +115 -0
- package/v2/model/DownloadStatisticsExcelResponse.d.ts +4 -0
- package/v2/model/DownloadStatisticsExcelResponse.js +27 -0
- package/v2/model/ErrMsg.d.ts +11 -0
- package/v2/model/ErrMsg.js +39 -0
- package/v2/model/ErrRsp.d.ts +6 -0
- package/v2/model/ErrRsp.js +14 -0
- package/v2/model/SetChargeModesBody.d.ts +15 -0
- package/v2/model/SetChargeModesBody.js +54 -0
- package/v2/model/SetChargeModesRequest.d.ts +6 -0
- package/v2/model/SetChargeModesRequest.js +13 -0
- package/v2/model/SetChargeModesResponse.d.ts +26 -0
- package/v2/model/SetChargeModesResponse.js +101 -0
- package/v2/model/ShowBandwidthCalcRequest.d.ts +27 -0
- package/v2/model/ShowBandwidthCalcRequest.js +97 -0
- package/v2/model/ShowBandwidthCalcResponse.d.ts +14 -0
- package/v2/model/ShowBandwidthCalcResponse.js +41 -0
- package/v2/model/ShowChargeModesRequest.d.ts +13 -0
- package/v2/model/ShowChargeModesRequest.js +42 -0
- package/v2/model/ShowChargeModesResponse.d.ts +10 -0
- package/v2/model/ShowChargeModesResponse.js +31 -0
- package/v2/model/ShowDomainLocationStatsRequest.d.ts +37 -0
- package/v2/model/ShowDomainLocationStatsRequest.js +118 -0
- package/v2/model/ShowDomainLocationStatsResponse.d.ts +14 -0
- package/v2/model/ShowDomainLocationStatsResponse.js +45 -0
- package/v2/model/ShowDomainStatsRequest.d.ts +35 -0
- package/v2/model/ShowDomainStatsRequest.js +120 -0
- package/v2/model/ShowDomainStatsResponse.d.ts +10 -0
- package/v2/model/ShowDomainStatsResponse.js +31 -0
- package/v2/model/ShowTopDomainNamesRequest.d.ts +25 -0
- package/v2/model/ShowTopDomainNamesRequest.js +86 -0
- package/v2/model/ShowTopDomainNamesResponse.d.ts +14 -0
- package/v2/model/ShowTopDomainNamesResponse.js +41 -0
- package/v2/model/ShowTopUrlRequest.d.ts +27 -0
- package/v2/model/ShowTopUrlRequest.js +97 -0
- package/v2/model/ShowTopUrlResponse.d.ts +13 -0
- package/v2/model/ShowTopUrlResponse.js +55 -0
- package/v2/model/TopUrlSummary.d.ts +19 -0
- package/v2/model/TopUrlSummary.js +59 -0
- package/v2/public-api.d.ts +31 -0
- package/v2/public-api.js +47 -0
@@ -0,0 +1,142 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ListDomainsRequestServiceAreaEnum = exports.ListDomainsRequestDomainStatusEnum = exports.ListDomainsRequestBusinessTypeEnum = exports.ListDomainsRequest = void 0;
|
4
|
+
var ListDomainsRequest = /** @class */ (function () {
|
5
|
+
function ListDomainsRequest() {
|
6
|
+
}
|
7
|
+
ListDomainsRequest.prototype.withDomainName = function (domainName) {
|
8
|
+
this['domain_name'] = domainName;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ListDomainsRequest.prototype, "domainName", {
|
12
|
+
get: function () {
|
13
|
+
return this['domain_name'];
|
14
|
+
},
|
15
|
+
set: function (domainName) {
|
16
|
+
this['domain_name'] = domainName;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ListDomainsRequest.prototype.withBusinessType = function (businessType) {
|
22
|
+
this['business_type'] = businessType;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(ListDomainsRequest.prototype, "businessType", {
|
26
|
+
get: function () {
|
27
|
+
return this['business_type'];
|
28
|
+
},
|
29
|
+
set: function (businessType) {
|
30
|
+
this['business_type'] = businessType;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
ListDomainsRequest.prototype.withDomainStatus = function (domainStatus) {
|
36
|
+
this['domain_status'] = domainStatus;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(ListDomainsRequest.prototype, "domainStatus", {
|
40
|
+
get: function () {
|
41
|
+
return this['domain_status'];
|
42
|
+
},
|
43
|
+
set: function (domainStatus) {
|
44
|
+
this['domain_status'] = domainStatus;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
ListDomainsRequest.prototype.withServiceArea = function (serviceArea) {
|
50
|
+
this['service_area'] = serviceArea;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
Object.defineProperty(ListDomainsRequest.prototype, "serviceArea", {
|
54
|
+
get: function () {
|
55
|
+
return this['service_area'];
|
56
|
+
},
|
57
|
+
set: function (serviceArea) {
|
58
|
+
this['service_area'] = serviceArea;
|
59
|
+
},
|
60
|
+
enumerable: false,
|
61
|
+
configurable: true
|
62
|
+
});
|
63
|
+
ListDomainsRequest.prototype.withPageSize = function (pageSize) {
|
64
|
+
this['page_size'] = pageSize;
|
65
|
+
return this;
|
66
|
+
};
|
67
|
+
Object.defineProperty(ListDomainsRequest.prototype, "pageSize", {
|
68
|
+
get: function () {
|
69
|
+
return this['page_size'];
|
70
|
+
},
|
71
|
+
set: function (pageSize) {
|
72
|
+
this['page_size'] = pageSize;
|
73
|
+
},
|
74
|
+
enumerable: false,
|
75
|
+
configurable: true
|
76
|
+
});
|
77
|
+
ListDomainsRequest.prototype.withPageNumber = function (pageNumber) {
|
78
|
+
this['page_number'] = pageNumber;
|
79
|
+
return this;
|
80
|
+
};
|
81
|
+
Object.defineProperty(ListDomainsRequest.prototype, "pageNumber", {
|
82
|
+
get: function () {
|
83
|
+
return this['page_number'];
|
84
|
+
},
|
85
|
+
set: function (pageNumber) {
|
86
|
+
this['page_number'] = pageNumber;
|
87
|
+
},
|
88
|
+
enumerable: false,
|
89
|
+
configurable: true
|
90
|
+
});
|
91
|
+
ListDomainsRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
92
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
93
|
+
return this;
|
94
|
+
};
|
95
|
+
Object.defineProperty(ListDomainsRequest.prototype, "enterpriseProjectId", {
|
96
|
+
get: function () {
|
97
|
+
return this['enterprise_project_id'];
|
98
|
+
},
|
99
|
+
set: function (enterpriseProjectId) {
|
100
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
101
|
+
},
|
102
|
+
enumerable: false,
|
103
|
+
configurable: true
|
104
|
+
});
|
105
|
+
return ListDomainsRequest;
|
106
|
+
}());
|
107
|
+
exports.ListDomainsRequest = ListDomainsRequest;
|
108
|
+
/**
|
109
|
+
* @export
|
110
|
+
* @enum {string}
|
111
|
+
*/
|
112
|
+
var ListDomainsRequestBusinessTypeEnum;
|
113
|
+
(function (ListDomainsRequestBusinessTypeEnum) {
|
114
|
+
ListDomainsRequestBusinessTypeEnum["WEB"] = "web";
|
115
|
+
ListDomainsRequestBusinessTypeEnum["DOWNLOAD"] = "download";
|
116
|
+
ListDomainsRequestBusinessTypeEnum["VIDEO"] = "video";
|
117
|
+
ListDomainsRequestBusinessTypeEnum["WHOLESITE"] = "wholeSite";
|
118
|
+
})(ListDomainsRequestBusinessTypeEnum = exports.ListDomainsRequestBusinessTypeEnum || (exports.ListDomainsRequestBusinessTypeEnum = {}));
|
119
|
+
/**
|
120
|
+
* @export
|
121
|
+
* @enum {string}
|
122
|
+
*/
|
123
|
+
var ListDomainsRequestDomainStatusEnum;
|
124
|
+
(function (ListDomainsRequestDomainStatusEnum) {
|
125
|
+
ListDomainsRequestDomainStatusEnum["ONLINE"] = "online";
|
126
|
+
ListDomainsRequestDomainStatusEnum["OFFLINE"] = "offline";
|
127
|
+
ListDomainsRequestDomainStatusEnum["CONFIGURING"] = "configuring";
|
128
|
+
ListDomainsRequestDomainStatusEnum["CONFIGURE_FAILED"] = "configure_failed";
|
129
|
+
ListDomainsRequestDomainStatusEnum["CHECKING"] = "checking";
|
130
|
+
ListDomainsRequestDomainStatusEnum["CHECK_FAILED"] = "check_failed";
|
131
|
+
ListDomainsRequestDomainStatusEnum["DELETING"] = "deleting";
|
132
|
+
})(ListDomainsRequestDomainStatusEnum = exports.ListDomainsRequestDomainStatusEnum || (exports.ListDomainsRequestDomainStatusEnum = {}));
|
133
|
+
/**
|
134
|
+
* @export
|
135
|
+
* @enum {string}
|
136
|
+
*/
|
137
|
+
var ListDomainsRequestServiceAreaEnum;
|
138
|
+
(function (ListDomainsRequestServiceAreaEnum) {
|
139
|
+
ListDomainsRequestServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
140
|
+
ListDomainsRequestServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
141
|
+
ListDomainsRequestServiceAreaEnum["GLOBAL"] = "global";
|
142
|
+
})(ListDomainsRequestServiceAreaEnum = exports.ListDomainsRequestServiceAreaEnum || (exports.ListDomainsRequestServiceAreaEnum = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { Domains } from './Domains';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class ListDomainsResponse extends SdkResponse {
|
4
|
+
total?: number;
|
5
|
+
domains?: Array<Domains>;
|
6
|
+
constructor();
|
7
|
+
withTotal(total: number): ListDomainsResponse;
|
8
|
+
withDomains(domains: Array<Domains>): ListDomainsResponse;
|
9
|
+
}
|
@@ -0,0 +1,35 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __extends = (this && this.__extends) || (function () {
|
3
|
+
var extendStatics = function (d, b) {
|
4
|
+
extendStatics = Object.setPrototypeOf ||
|
5
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
6
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
7
|
+
return extendStatics(d, b);
|
8
|
+
};
|
9
|
+
return function (d, b) {
|
10
|
+
if (typeof b !== "function" && b !== null)
|
11
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
12
|
+
extendStatics(d, b);
|
13
|
+
function __() { this.constructor = d; }
|
14
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
15
|
+
};
|
16
|
+
})();
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
18
|
+
exports.ListDomainsResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var ListDomainsResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(ListDomainsResponse, _super);
|
22
|
+
function ListDomainsResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
ListDomainsResponse.prototype.withTotal = function (total) {
|
26
|
+
this['total'] = total;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
ListDomainsResponse.prototype.withDomains = function (domains) {
|
30
|
+
this['domains'] = domains;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
return ListDomainsResponse;
|
34
|
+
}(SdkResponse_1.SdkResponse));
|
35
|
+
exports.ListDomainsResponse = ListDomainsResponse;
|
@@ -0,0 +1,21 @@
|
|
1
|
+
export declare class LogObject {
|
2
|
+
private 'domain_name'?;
|
3
|
+
private 'start_time'?;
|
4
|
+
private 'end_time'?;
|
5
|
+
name?: string;
|
6
|
+
size?: number;
|
7
|
+
link?: string;
|
8
|
+
constructor();
|
9
|
+
withDomainName(domainName: string): LogObject;
|
10
|
+
set domainName(domainName: string | undefined);
|
11
|
+
get domainName(): string | undefined;
|
12
|
+
withStartTime(startTime: number): LogObject;
|
13
|
+
set startTime(startTime: number | undefined);
|
14
|
+
get startTime(): number | undefined;
|
15
|
+
withEndTime(endTime: number): LogObject;
|
16
|
+
set endTime(endTime: number | undefined);
|
17
|
+
get endTime(): number | undefined;
|
18
|
+
withName(name: string): LogObject;
|
19
|
+
withSize(size: number): LogObject;
|
20
|
+
withLink(link: string): LogObject;
|
21
|
+
}
|
@@ -0,0 +1,63 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.LogObject = void 0;
|
4
|
+
var LogObject = /** @class */ (function () {
|
5
|
+
function LogObject() {
|
6
|
+
}
|
7
|
+
LogObject.prototype.withDomainName = function (domainName) {
|
8
|
+
this['domain_name'] = domainName;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(LogObject.prototype, "domainName", {
|
12
|
+
get: function () {
|
13
|
+
return this['domain_name'];
|
14
|
+
},
|
15
|
+
set: function (domainName) {
|
16
|
+
this['domain_name'] = domainName;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
LogObject.prototype.withStartTime = function (startTime) {
|
22
|
+
this['start_time'] = startTime;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(LogObject.prototype, "startTime", {
|
26
|
+
get: function () {
|
27
|
+
return this['start_time'];
|
28
|
+
},
|
29
|
+
set: function (startTime) {
|
30
|
+
this['start_time'] = startTime;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
LogObject.prototype.withEndTime = function (endTime) {
|
36
|
+
this['end_time'] = endTime;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(LogObject.prototype, "endTime", {
|
40
|
+
get: function () {
|
41
|
+
return this['end_time'];
|
42
|
+
},
|
43
|
+
set: function (endTime) {
|
44
|
+
this['end_time'] = endTime;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
LogObject.prototype.withName = function (name) {
|
50
|
+
this['name'] = name;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
LogObject.prototype.withSize = function (size) {
|
54
|
+
this['size'] = size;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
LogObject.prototype.withLink = function (link) {
|
58
|
+
this['link'] = link;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
return LogObject;
|
62
|
+
}());
|
63
|
+
exports.LogObject = LogObject;
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ModelMap = void 0;
|
4
|
+
var ModelMap = /** @class */ (function () {
|
5
|
+
function ModelMap(key) {
|
6
|
+
this['key'] = key;
|
7
|
+
}
|
8
|
+
ModelMap.prototype.withKey = function (key) {
|
9
|
+
this['key'] = key;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
ModelMap.prototype.withValue = function (value) {
|
13
|
+
this['value'] = value;
|
14
|
+
return this;
|
15
|
+
};
|
16
|
+
return ModelMap;
|
17
|
+
}());
|
18
|
+
exports.ModelMap = ModelMap;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ModifyDomainConfigRequestBody = void 0;
|
4
|
+
var ModifyDomainConfigRequestBody = /** @class */ (function () {
|
5
|
+
function ModifyDomainConfigRequestBody() {
|
6
|
+
}
|
7
|
+
ModifyDomainConfigRequestBody.prototype.withConfigs = function (configs) {
|
8
|
+
this['configs'] = configs;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return ModifyDomainConfigRequestBody;
|
12
|
+
}());
|
13
|
+
exports.ModifyDomainConfigRequestBody = ModifyDomainConfigRequestBody;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class OriginHostBody {
|
2
|
+
private 'origin_host_type';
|
3
|
+
private 'customize_domain'?;
|
4
|
+
constructor(originHostType?: any);
|
5
|
+
withOriginHostType(originHostType: OriginHostBodyOriginHostTypeEnum): OriginHostBody;
|
6
|
+
set originHostType(originHostType: OriginHostBodyOriginHostTypeEnum | undefined);
|
7
|
+
get originHostType(): OriginHostBodyOriginHostTypeEnum | undefined;
|
8
|
+
withCustomizeDomain(customizeDomain: string): OriginHostBody;
|
9
|
+
set customizeDomain(customizeDomain: string | undefined);
|
10
|
+
get customizeDomain(): string | undefined;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @export
|
14
|
+
* @enum {string}
|
15
|
+
*/
|
16
|
+
export declare enum OriginHostBodyOriginHostTypeEnum {
|
17
|
+
ACCELERATE = "accelerate",
|
18
|
+
CUSTOMIZE = "customize"
|
19
|
+
}
|
@@ -0,0 +1,47 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginHostBodyOriginHostTypeEnum = exports.OriginHostBody = void 0;
|
4
|
+
var OriginHostBody = /** @class */ (function () {
|
5
|
+
function OriginHostBody(originHostType) {
|
6
|
+
this['origin_host_type'] = originHostType;
|
7
|
+
}
|
8
|
+
OriginHostBody.prototype.withOriginHostType = function (originHostType) {
|
9
|
+
this['origin_host_type'] = originHostType;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(OriginHostBody.prototype, "originHostType", {
|
13
|
+
get: function () {
|
14
|
+
return this['origin_host_type'];
|
15
|
+
},
|
16
|
+
set: function (originHostType) {
|
17
|
+
this['origin_host_type'] = originHostType;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
OriginHostBody.prototype.withCustomizeDomain = function (customizeDomain) {
|
23
|
+
this['customize_domain'] = customizeDomain;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(OriginHostBody.prototype, "customizeDomain", {
|
27
|
+
get: function () {
|
28
|
+
return this['customize_domain'];
|
29
|
+
},
|
30
|
+
set: function (customizeDomain) {
|
31
|
+
this['customize_domain'] = customizeDomain;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
return OriginHostBody;
|
37
|
+
}());
|
38
|
+
exports.OriginHostBody = OriginHostBody;
|
39
|
+
/**
|
40
|
+
* @export
|
41
|
+
* @enum {string}
|
42
|
+
*/
|
43
|
+
var OriginHostBodyOriginHostTypeEnum;
|
44
|
+
(function (OriginHostBodyOriginHostTypeEnum) {
|
45
|
+
OriginHostBodyOriginHostTypeEnum["ACCELERATE"] = "accelerate";
|
46
|
+
OriginHostBodyOriginHostTypeEnum["CUSTOMIZE"] = "customize";
|
47
|
+
})(OriginHostBodyOriginHostTypeEnum = exports.OriginHostBodyOriginHostTypeEnum || (exports.OriginHostBodyOriginHostTypeEnum = {}));
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { OriginHostBody } from './OriginHostBody';
|
2
|
+
export declare class OriginHostRequest {
|
3
|
+
private 'origin_host';
|
4
|
+
constructor(originHost?: any);
|
5
|
+
withOriginHost(originHost: OriginHostBody): OriginHostRequest;
|
6
|
+
set originHost(originHost: OriginHostBody | undefined);
|
7
|
+
get originHost(): OriginHostBody | undefined;
|
8
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginHostRequest = void 0;
|
4
|
+
var OriginHostRequest = /** @class */ (function () {
|
5
|
+
function OriginHostRequest(originHost) {
|
6
|
+
this['origin_host'] = originHost;
|
7
|
+
}
|
8
|
+
OriginHostRequest.prototype.withOriginHost = function (originHost) {
|
9
|
+
this['origin_host'] = originHost;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(OriginHostRequest.prototype, "originHost", {
|
13
|
+
get: function () {
|
14
|
+
return this['origin_host'];
|
15
|
+
},
|
16
|
+
set: function (originHost) {
|
17
|
+
this['origin_host'] = originHost;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return OriginHostRequest;
|
23
|
+
}());
|
24
|
+
exports.OriginHostRequest = OriginHostRequest;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class OriginRangeBody {
|
2
|
+
private 'range_status'?;
|
3
|
+
private 'domain_id'?;
|
4
|
+
constructor();
|
5
|
+
withRangeStatus(rangeStatus: OriginRangeBodyRangeStatusEnum): OriginRangeBody;
|
6
|
+
set rangeStatus(rangeStatus: OriginRangeBodyRangeStatusEnum | undefined);
|
7
|
+
get rangeStatus(): OriginRangeBodyRangeStatusEnum | undefined;
|
8
|
+
withDomainId(domainId: string): OriginRangeBody;
|
9
|
+
set domainId(domainId: string | undefined);
|
10
|
+
get domainId(): string | undefined;
|
11
|
+
}
|
12
|
+
/**
|
13
|
+
* @export
|
14
|
+
* @enum {string}
|
15
|
+
*/
|
16
|
+
export declare enum OriginRangeBodyRangeStatusEnum {
|
17
|
+
OFF = "off",
|
18
|
+
ON = "on"
|
19
|
+
}
|
@@ -0,0 +1,46 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginRangeBodyRangeStatusEnum = exports.OriginRangeBody = void 0;
|
4
|
+
var OriginRangeBody = /** @class */ (function () {
|
5
|
+
function OriginRangeBody() {
|
6
|
+
}
|
7
|
+
OriginRangeBody.prototype.withRangeStatus = function (rangeStatus) {
|
8
|
+
this['range_status'] = rangeStatus;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(OriginRangeBody.prototype, "rangeStatus", {
|
12
|
+
get: function () {
|
13
|
+
return this['range_status'];
|
14
|
+
},
|
15
|
+
set: function (rangeStatus) {
|
16
|
+
this['range_status'] = rangeStatus;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
OriginRangeBody.prototype.withDomainId = function (domainId) {
|
22
|
+
this['domain_id'] = domainId;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(OriginRangeBody.prototype, "domainId", {
|
26
|
+
get: function () {
|
27
|
+
return this['domain_id'];
|
28
|
+
},
|
29
|
+
set: function (domainId) {
|
30
|
+
this['domain_id'] = domainId;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
return OriginRangeBody;
|
36
|
+
}());
|
37
|
+
exports.OriginRangeBody = OriginRangeBody;
|
38
|
+
/**
|
39
|
+
* @export
|
40
|
+
* @enum {string}
|
41
|
+
*/
|
42
|
+
var OriginRangeBodyRangeStatusEnum;
|
43
|
+
(function (OriginRangeBodyRangeStatusEnum) {
|
44
|
+
OriginRangeBodyRangeStatusEnum["OFF"] = "off";
|
45
|
+
OriginRangeBodyRangeStatusEnum["ON"] = "on";
|
46
|
+
})(OriginRangeBodyRangeStatusEnum = exports.OriginRangeBodyRangeStatusEnum || (exports.OriginRangeBodyRangeStatusEnum = {}));
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginRequest = void 0;
|
4
|
+
var OriginRequest = /** @class */ (function () {
|
5
|
+
function OriginRequest(origin) {
|
6
|
+
this['origin'] = origin;
|
7
|
+
}
|
8
|
+
OriginRequest.prototype.withOrigin = function (origin) {
|
9
|
+
this['origin'] = origin;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return OriginRequest;
|
13
|
+
}());
|
14
|
+
exports.OriginRequest = OriginRequest;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
export declare class OriginRequestHeader {
|
2
|
+
name: string;
|
3
|
+
value?: string;
|
4
|
+
action: string;
|
5
|
+
constructor(name?: any, action?: any);
|
6
|
+
withName(name: string): OriginRequestHeader;
|
7
|
+
withValue(value: string): OriginRequestHeader;
|
8
|
+
withAction(action: string): OriginRequestHeader;
|
9
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginRequestHeader = void 0;
|
4
|
+
var OriginRequestHeader = /** @class */ (function () {
|
5
|
+
function OriginRequestHeader(name, action) {
|
6
|
+
this['name'] = name;
|
7
|
+
this['action'] = action;
|
8
|
+
}
|
9
|
+
OriginRequestHeader.prototype.withName = function (name) {
|
10
|
+
this['name'] = name;
|
11
|
+
return this;
|
12
|
+
};
|
13
|
+
OriginRequestHeader.prototype.withValue = function (value) {
|
14
|
+
this['value'] = value;
|
15
|
+
return this;
|
16
|
+
};
|
17
|
+
OriginRequestHeader.prototype.withAction = function (action) {
|
18
|
+
this['action'] = action;
|
19
|
+
return this;
|
20
|
+
};
|
21
|
+
return OriginRequestHeader;
|
22
|
+
}());
|
23
|
+
exports.OriginRequestHeader = OriginRequestHeader;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
export declare class OriginRequestUrlRewrite {
|
2
|
+
priority: number;
|
3
|
+
private 'match_type';
|
4
|
+
private 'source_url'?;
|
5
|
+
private 'target_url';
|
6
|
+
constructor(priority?: any, matchType?: any, targetUrl?: any);
|
7
|
+
withPriority(priority: number): OriginRequestUrlRewrite;
|
8
|
+
withMatchType(matchType: string): OriginRequestUrlRewrite;
|
9
|
+
set matchType(matchType: string | undefined);
|
10
|
+
get matchType(): string | undefined;
|
11
|
+
withSourceUrl(sourceUrl: string): OriginRequestUrlRewrite;
|
12
|
+
set sourceUrl(sourceUrl: string | undefined);
|
13
|
+
get sourceUrl(): string | undefined;
|
14
|
+
withTargetUrl(targetUrl: string): OriginRequestUrlRewrite;
|
15
|
+
set targetUrl(targetUrl: string | undefined);
|
16
|
+
get targetUrl(): string | undefined;
|
17
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.OriginRequestUrlRewrite = void 0;
|
4
|
+
var OriginRequestUrlRewrite = /** @class */ (function () {
|
5
|
+
function OriginRequestUrlRewrite(priority, matchType, targetUrl) {
|
6
|
+
this['priority'] = priority;
|
7
|
+
this['match_type'] = matchType;
|
8
|
+
this['target_url'] = targetUrl;
|
9
|
+
}
|
10
|
+
OriginRequestUrlRewrite.prototype.withPriority = function (priority) {
|
11
|
+
this['priority'] = priority;
|
12
|
+
return this;
|
13
|
+
};
|
14
|
+
OriginRequestUrlRewrite.prototype.withMatchType = function (matchType) {
|
15
|
+
this['match_type'] = matchType;
|
16
|
+
return this;
|
17
|
+
};
|
18
|
+
Object.defineProperty(OriginRequestUrlRewrite.prototype, "matchType", {
|
19
|
+
get: function () {
|
20
|
+
return this['match_type'];
|
21
|
+
},
|
22
|
+
set: function (matchType) {
|
23
|
+
this['match_type'] = matchType;
|
24
|
+
},
|
25
|
+
enumerable: false,
|
26
|
+
configurable: true
|
27
|
+
});
|
28
|
+
OriginRequestUrlRewrite.prototype.withSourceUrl = function (sourceUrl) {
|
29
|
+
this['source_url'] = sourceUrl;
|
30
|
+
return this;
|
31
|
+
};
|
32
|
+
Object.defineProperty(OriginRequestUrlRewrite.prototype, "sourceUrl", {
|
33
|
+
get: function () {
|
34
|
+
return this['source_url'];
|
35
|
+
},
|
36
|
+
set: function (sourceUrl) {
|
37
|
+
this['source_url'] = sourceUrl;
|
38
|
+
},
|
39
|
+
enumerable: false,
|
40
|
+
configurable: true
|
41
|
+
});
|
42
|
+
OriginRequestUrlRewrite.prototype.withTargetUrl = function (targetUrl) {
|
43
|
+
this['target_url'] = targetUrl;
|
44
|
+
return this;
|
45
|
+
};
|
46
|
+
Object.defineProperty(OriginRequestUrlRewrite.prototype, "targetUrl", {
|
47
|
+
get: function () {
|
48
|
+
return this['target_url'];
|
49
|
+
},
|
50
|
+
set: function (targetUrl) {
|
51
|
+
this['target_url'] = targetUrl;
|
52
|
+
},
|
53
|
+
enumerable: false,
|
54
|
+
configurable: true
|
55
|
+
});
|
56
|
+
return OriginRequestUrlRewrite;
|
57
|
+
}());
|
58
|
+
exports.OriginRequestUrlRewrite = OriginRequestUrlRewrite;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { PreheatingTaskRequestBody } from './PreheatingTaskRequestBody';
|
2
|
+
export declare class PreheatingTaskRequest {
|
3
|
+
private 'preheating_task';
|
4
|
+
constructor(preheatingTask?: any);
|
5
|
+
withPreheatingTask(preheatingTask: PreheatingTaskRequestBody): PreheatingTaskRequest;
|
6
|
+
set preheatingTask(preheatingTask: PreheatingTaskRequestBody | undefined);
|
7
|
+
get preheatingTask(): PreheatingTaskRequestBody | undefined;
|
8
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PreheatingTaskRequest = void 0;
|
4
|
+
var PreheatingTaskRequest = /** @class */ (function () {
|
5
|
+
function PreheatingTaskRequest(preheatingTask) {
|
6
|
+
this['preheating_task'] = preheatingTask;
|
7
|
+
}
|
8
|
+
PreheatingTaskRequest.prototype.withPreheatingTask = function (preheatingTask) {
|
9
|
+
this['preheating_task'] = preheatingTask;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(PreheatingTaskRequest.prototype, "preheatingTask", {
|
13
|
+
get: function () {
|
14
|
+
return this['preheating_task'];
|
15
|
+
},
|
16
|
+
set: function (preheatingTask) {
|
17
|
+
this['preheating_task'] = preheatingTask;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
return PreheatingTaskRequest;
|
23
|
+
}());
|
24
|
+
exports.PreheatingTaskRequest = PreheatingTaskRequest;
|