@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,189 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.Configs = void 0;
|
4
|
+
var Configs = /** @class */ (function () {
|
5
|
+
function Configs() {
|
6
|
+
}
|
7
|
+
Configs.prototype.withOriginRequestHeader = function (originRequestHeader) {
|
8
|
+
this['origin_request_header'] = originRequestHeader;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(Configs.prototype, "originRequestHeader", {
|
12
|
+
get: function () {
|
13
|
+
return this['origin_request_header'];
|
14
|
+
},
|
15
|
+
set: function (originRequestHeader) {
|
16
|
+
this['origin_request_header'] = originRequestHeader;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
Configs.prototype.withHttpResponseHeader = function (httpResponseHeader) {
|
22
|
+
this['http_response_header'] = httpResponseHeader;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(Configs.prototype, "httpResponseHeader", {
|
26
|
+
get: function () {
|
27
|
+
return this['http_response_header'];
|
28
|
+
},
|
29
|
+
set: function (httpResponseHeader) {
|
30
|
+
this['http_response_header'] = httpResponseHeader;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
Configs.prototype.withUrlAuth = function (urlAuth) {
|
36
|
+
this['url_auth'] = urlAuth;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(Configs.prototype, "urlAuth", {
|
40
|
+
get: function () {
|
41
|
+
return this['url_auth'];
|
42
|
+
},
|
43
|
+
set: function (urlAuth) {
|
44
|
+
this['url_auth'] = urlAuth;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
Configs.prototype.withHttps = function (https) {
|
50
|
+
this['https'] = https;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
Configs.prototype.withSources = function (sources) {
|
54
|
+
this['sources'] = sources;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Configs.prototype.withOriginProtocol = function (originProtocol) {
|
58
|
+
this['origin_protocol'] = originProtocol;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(Configs.prototype, "originProtocol", {
|
62
|
+
get: function () {
|
63
|
+
return this['origin_protocol'];
|
64
|
+
},
|
65
|
+
set: function (originProtocol) {
|
66
|
+
this['origin_protocol'] = originProtocol;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
Configs.prototype.withForceRedirect = function (forceRedirect) {
|
72
|
+
this['force_redirect'] = forceRedirect;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(Configs.prototype, "forceRedirect", {
|
76
|
+
get: function () {
|
77
|
+
return this['force_redirect'];
|
78
|
+
},
|
79
|
+
set: function (forceRedirect) {
|
80
|
+
this['force_redirect'] = forceRedirect;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
Configs.prototype.withCompress = function (compress) {
|
86
|
+
this['compress'] = compress;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
Configs.prototype.withCacheUrlParameterFilter = function (cacheUrlParameterFilter) {
|
90
|
+
this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
Object.defineProperty(Configs.prototype, "cacheUrlParameterFilter", {
|
94
|
+
get: function () {
|
95
|
+
return this['cache_url_parameter_filter'];
|
96
|
+
},
|
97
|
+
set: function (cacheUrlParameterFilter) {
|
98
|
+
this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
|
99
|
+
},
|
100
|
+
enumerable: false,
|
101
|
+
configurable: true
|
102
|
+
});
|
103
|
+
Configs.prototype.withIpv6Accelerate = function (ipv6Accelerate) {
|
104
|
+
this['ipv6_accelerate'] = ipv6Accelerate;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(Configs.prototype, "ipv6Accelerate", {
|
108
|
+
get: function () {
|
109
|
+
return this['ipv6_accelerate'];
|
110
|
+
},
|
111
|
+
set: function (ipv6Accelerate) {
|
112
|
+
this['ipv6_accelerate'] = ipv6Accelerate;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
Configs.prototype.withErrorCodeCache = function (errorCodeCache) {
|
118
|
+
this['error_code_cache'] = errorCodeCache;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(Configs.prototype, "errorCodeCache", {
|
122
|
+
get: function () {
|
123
|
+
return this['error_code_cache'];
|
124
|
+
},
|
125
|
+
set: function (errorCodeCache) {
|
126
|
+
this['error_code_cache'] = errorCodeCache;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
Configs.prototype.withOriginRangeStatus = function (originRangeStatus) {
|
132
|
+
this['origin_range_status'] = originRangeStatus;
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
Object.defineProperty(Configs.prototype, "originRangeStatus", {
|
136
|
+
get: function () {
|
137
|
+
return this['origin_range_status'];
|
138
|
+
},
|
139
|
+
set: function (originRangeStatus) {
|
140
|
+
this['origin_range_status'] = originRangeStatus;
|
141
|
+
},
|
142
|
+
enumerable: false,
|
143
|
+
configurable: true
|
144
|
+
});
|
145
|
+
Configs.prototype.withUserAgentFilter = function (userAgentFilter) {
|
146
|
+
this['user_agent_filter'] = userAgentFilter;
|
147
|
+
return this;
|
148
|
+
};
|
149
|
+
Object.defineProperty(Configs.prototype, "userAgentFilter", {
|
150
|
+
get: function () {
|
151
|
+
return this['user_agent_filter'];
|
152
|
+
},
|
153
|
+
set: function (userAgentFilter) {
|
154
|
+
this['user_agent_filter'] = userAgentFilter;
|
155
|
+
},
|
156
|
+
enumerable: false,
|
157
|
+
configurable: true
|
158
|
+
});
|
159
|
+
Configs.prototype.withOriginRequestUrlRewrite = function (originRequestUrlRewrite) {
|
160
|
+
this['origin_request_url_rewrite'] = originRequestUrlRewrite;
|
161
|
+
return this;
|
162
|
+
};
|
163
|
+
Object.defineProperty(Configs.prototype, "originRequestUrlRewrite", {
|
164
|
+
get: function () {
|
165
|
+
return this['origin_request_url_rewrite'];
|
166
|
+
},
|
167
|
+
set: function (originRequestUrlRewrite) {
|
168
|
+
this['origin_request_url_rewrite'] = originRequestUrlRewrite;
|
169
|
+
},
|
170
|
+
enumerable: false,
|
171
|
+
configurable: true
|
172
|
+
});
|
173
|
+
Configs.prototype.withErrorCodeRedirectRules = function (errorCodeRedirectRules) {
|
174
|
+
this['error_code_redirect_rules'] = errorCodeRedirectRules;
|
175
|
+
return this;
|
176
|
+
};
|
177
|
+
Object.defineProperty(Configs.prototype, "errorCodeRedirectRules", {
|
178
|
+
get: function () {
|
179
|
+
return this['error_code_redirect_rules'];
|
180
|
+
},
|
181
|
+
set: function (errorCodeRedirectRules) {
|
182
|
+
this['error_code_redirect_rules'] = errorCodeRedirectRules;
|
183
|
+
},
|
184
|
+
enumerable: false,
|
185
|
+
configurable: true
|
186
|
+
});
|
187
|
+
return Configs;
|
188
|
+
}());
|
189
|
+
exports.Configs = Configs;
|
@@ -0,0 +1,69 @@
|
|
1
|
+
import { CacheUrlParameterFilter } from './CacheUrlParameterFilter';
|
2
|
+
import { Compress } from './Compress';
|
3
|
+
import { ErrorCodeCache } from './ErrorCodeCache';
|
4
|
+
import { ErrorCodeRedirectRules } from './ErrorCodeRedirectRules';
|
5
|
+
import { ForceRedirectConfig } from './ForceRedirectConfig';
|
6
|
+
import { HttpGetBody } from './HttpGetBody';
|
7
|
+
import { HttpResponseHeader } from './HttpResponseHeader';
|
8
|
+
import { OriginRequestHeader } from './OriginRequestHeader';
|
9
|
+
import { OriginRequestUrlRewrite } from './OriginRequestUrlRewrite';
|
10
|
+
import { SourcesConfig } from './SourcesConfig';
|
11
|
+
import { UrlAuthGetBody } from './UrlAuthGetBody';
|
12
|
+
import { UserAgentFilter } from './UserAgentFilter';
|
13
|
+
export declare class ConfigsGetBody {
|
14
|
+
private 'origin_request_header'?;
|
15
|
+
private 'http_response_header'?;
|
16
|
+
private 'url_auth'?;
|
17
|
+
https?: HttpGetBody;
|
18
|
+
sources?: Array<SourcesConfig>;
|
19
|
+
private 'origin_protocol'?;
|
20
|
+
private 'force_redirect'?;
|
21
|
+
compress?: Compress;
|
22
|
+
private 'cache_url_parameter_filter'?;
|
23
|
+
private 'ipv6_accelerate'?;
|
24
|
+
private 'error_code_cache'?;
|
25
|
+
private 'origin_range_status'?;
|
26
|
+
private 'user_agent_filter'?;
|
27
|
+
private 'origin_request_url_rewrite'?;
|
28
|
+
private 'error_code_redirect_rules'?;
|
29
|
+
constructor();
|
30
|
+
withOriginRequestHeader(originRequestHeader: Array<OriginRequestHeader>): ConfigsGetBody;
|
31
|
+
set originRequestHeader(originRequestHeader: Array<OriginRequestHeader> | undefined);
|
32
|
+
get originRequestHeader(): Array<OriginRequestHeader> | undefined;
|
33
|
+
withHttpResponseHeader(httpResponseHeader: Array<HttpResponseHeader>): ConfigsGetBody;
|
34
|
+
set httpResponseHeader(httpResponseHeader: Array<HttpResponseHeader> | undefined);
|
35
|
+
get httpResponseHeader(): Array<HttpResponseHeader> | undefined;
|
36
|
+
withUrlAuth(urlAuth: UrlAuthGetBody): ConfigsGetBody;
|
37
|
+
set urlAuth(urlAuth: UrlAuthGetBody | undefined);
|
38
|
+
get urlAuth(): UrlAuthGetBody | undefined;
|
39
|
+
withHttps(https: HttpGetBody): ConfigsGetBody;
|
40
|
+
withSources(sources: Array<SourcesConfig>): ConfigsGetBody;
|
41
|
+
withOriginProtocol(originProtocol: string): ConfigsGetBody;
|
42
|
+
set originProtocol(originProtocol: string | undefined);
|
43
|
+
get originProtocol(): string | undefined;
|
44
|
+
withForceRedirect(forceRedirect: ForceRedirectConfig): ConfigsGetBody;
|
45
|
+
set forceRedirect(forceRedirect: ForceRedirectConfig | undefined);
|
46
|
+
get forceRedirect(): ForceRedirectConfig | undefined;
|
47
|
+
withCompress(compress: Compress): ConfigsGetBody;
|
48
|
+
withCacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter): ConfigsGetBody;
|
49
|
+
set cacheUrlParameterFilter(cacheUrlParameterFilter: CacheUrlParameterFilter | undefined);
|
50
|
+
get cacheUrlParameterFilter(): CacheUrlParameterFilter | undefined;
|
51
|
+
withIpv6Accelerate(ipv6Accelerate: number): ConfigsGetBody;
|
52
|
+
set ipv6Accelerate(ipv6Accelerate: number | undefined);
|
53
|
+
get ipv6Accelerate(): number | undefined;
|
54
|
+
withErrorCodeCache(errorCodeCache: Array<ErrorCodeCache>): ConfigsGetBody;
|
55
|
+
set errorCodeCache(errorCodeCache: Array<ErrorCodeCache> | undefined);
|
56
|
+
get errorCodeCache(): Array<ErrorCodeCache> | undefined;
|
57
|
+
withOriginRangeStatus(originRangeStatus: string): ConfigsGetBody;
|
58
|
+
set originRangeStatus(originRangeStatus: string | undefined);
|
59
|
+
get originRangeStatus(): string | undefined;
|
60
|
+
withUserAgentFilter(userAgentFilter: UserAgentFilter): ConfigsGetBody;
|
61
|
+
set userAgentFilter(userAgentFilter: UserAgentFilter | undefined);
|
62
|
+
get userAgentFilter(): UserAgentFilter | undefined;
|
63
|
+
withOriginRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite>): ConfigsGetBody;
|
64
|
+
set originRequestUrlRewrite(originRequestUrlRewrite: Array<OriginRequestUrlRewrite> | undefined);
|
65
|
+
get originRequestUrlRewrite(): Array<OriginRequestUrlRewrite> | undefined;
|
66
|
+
withErrorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules>): ConfigsGetBody;
|
67
|
+
set errorCodeRedirectRules(errorCodeRedirectRules: Array<ErrorCodeRedirectRules> | undefined);
|
68
|
+
get errorCodeRedirectRules(): Array<ErrorCodeRedirectRules> | undefined;
|
69
|
+
}
|
@@ -0,0 +1,189 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ConfigsGetBody = void 0;
|
4
|
+
var ConfigsGetBody = /** @class */ (function () {
|
5
|
+
function ConfigsGetBody() {
|
6
|
+
}
|
7
|
+
ConfigsGetBody.prototype.withOriginRequestHeader = function (originRequestHeader) {
|
8
|
+
this['origin_request_header'] = originRequestHeader;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(ConfigsGetBody.prototype, "originRequestHeader", {
|
12
|
+
get: function () {
|
13
|
+
return this['origin_request_header'];
|
14
|
+
},
|
15
|
+
set: function (originRequestHeader) {
|
16
|
+
this['origin_request_header'] = originRequestHeader;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
ConfigsGetBody.prototype.withHttpResponseHeader = function (httpResponseHeader) {
|
22
|
+
this['http_response_header'] = httpResponseHeader;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
Object.defineProperty(ConfigsGetBody.prototype, "httpResponseHeader", {
|
26
|
+
get: function () {
|
27
|
+
return this['http_response_header'];
|
28
|
+
},
|
29
|
+
set: function (httpResponseHeader) {
|
30
|
+
this['http_response_header'] = httpResponseHeader;
|
31
|
+
},
|
32
|
+
enumerable: false,
|
33
|
+
configurable: true
|
34
|
+
});
|
35
|
+
ConfigsGetBody.prototype.withUrlAuth = function (urlAuth) {
|
36
|
+
this['url_auth'] = urlAuth;
|
37
|
+
return this;
|
38
|
+
};
|
39
|
+
Object.defineProperty(ConfigsGetBody.prototype, "urlAuth", {
|
40
|
+
get: function () {
|
41
|
+
return this['url_auth'];
|
42
|
+
},
|
43
|
+
set: function (urlAuth) {
|
44
|
+
this['url_auth'] = urlAuth;
|
45
|
+
},
|
46
|
+
enumerable: false,
|
47
|
+
configurable: true
|
48
|
+
});
|
49
|
+
ConfigsGetBody.prototype.withHttps = function (https) {
|
50
|
+
this['https'] = https;
|
51
|
+
return this;
|
52
|
+
};
|
53
|
+
ConfigsGetBody.prototype.withSources = function (sources) {
|
54
|
+
this['sources'] = sources;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
ConfigsGetBody.prototype.withOriginProtocol = function (originProtocol) {
|
58
|
+
this['origin_protocol'] = originProtocol;
|
59
|
+
return this;
|
60
|
+
};
|
61
|
+
Object.defineProperty(ConfigsGetBody.prototype, "originProtocol", {
|
62
|
+
get: function () {
|
63
|
+
return this['origin_protocol'];
|
64
|
+
},
|
65
|
+
set: function (originProtocol) {
|
66
|
+
this['origin_protocol'] = originProtocol;
|
67
|
+
},
|
68
|
+
enumerable: false,
|
69
|
+
configurable: true
|
70
|
+
});
|
71
|
+
ConfigsGetBody.prototype.withForceRedirect = function (forceRedirect) {
|
72
|
+
this['force_redirect'] = forceRedirect;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Object.defineProperty(ConfigsGetBody.prototype, "forceRedirect", {
|
76
|
+
get: function () {
|
77
|
+
return this['force_redirect'];
|
78
|
+
},
|
79
|
+
set: function (forceRedirect) {
|
80
|
+
this['force_redirect'] = forceRedirect;
|
81
|
+
},
|
82
|
+
enumerable: false,
|
83
|
+
configurable: true
|
84
|
+
});
|
85
|
+
ConfigsGetBody.prototype.withCompress = function (compress) {
|
86
|
+
this['compress'] = compress;
|
87
|
+
return this;
|
88
|
+
};
|
89
|
+
ConfigsGetBody.prototype.withCacheUrlParameterFilter = function (cacheUrlParameterFilter) {
|
90
|
+
this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
Object.defineProperty(ConfigsGetBody.prototype, "cacheUrlParameterFilter", {
|
94
|
+
get: function () {
|
95
|
+
return this['cache_url_parameter_filter'];
|
96
|
+
},
|
97
|
+
set: function (cacheUrlParameterFilter) {
|
98
|
+
this['cache_url_parameter_filter'] = cacheUrlParameterFilter;
|
99
|
+
},
|
100
|
+
enumerable: false,
|
101
|
+
configurable: true
|
102
|
+
});
|
103
|
+
ConfigsGetBody.prototype.withIpv6Accelerate = function (ipv6Accelerate) {
|
104
|
+
this['ipv6_accelerate'] = ipv6Accelerate;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(ConfigsGetBody.prototype, "ipv6Accelerate", {
|
108
|
+
get: function () {
|
109
|
+
return this['ipv6_accelerate'];
|
110
|
+
},
|
111
|
+
set: function (ipv6Accelerate) {
|
112
|
+
this['ipv6_accelerate'] = ipv6Accelerate;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
ConfigsGetBody.prototype.withErrorCodeCache = function (errorCodeCache) {
|
118
|
+
this['error_code_cache'] = errorCodeCache;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(ConfigsGetBody.prototype, "errorCodeCache", {
|
122
|
+
get: function () {
|
123
|
+
return this['error_code_cache'];
|
124
|
+
},
|
125
|
+
set: function (errorCodeCache) {
|
126
|
+
this['error_code_cache'] = errorCodeCache;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
ConfigsGetBody.prototype.withOriginRangeStatus = function (originRangeStatus) {
|
132
|
+
this['origin_range_status'] = originRangeStatus;
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
Object.defineProperty(ConfigsGetBody.prototype, "originRangeStatus", {
|
136
|
+
get: function () {
|
137
|
+
return this['origin_range_status'];
|
138
|
+
},
|
139
|
+
set: function (originRangeStatus) {
|
140
|
+
this['origin_range_status'] = originRangeStatus;
|
141
|
+
},
|
142
|
+
enumerable: false,
|
143
|
+
configurable: true
|
144
|
+
});
|
145
|
+
ConfigsGetBody.prototype.withUserAgentFilter = function (userAgentFilter) {
|
146
|
+
this['user_agent_filter'] = userAgentFilter;
|
147
|
+
return this;
|
148
|
+
};
|
149
|
+
Object.defineProperty(ConfigsGetBody.prototype, "userAgentFilter", {
|
150
|
+
get: function () {
|
151
|
+
return this['user_agent_filter'];
|
152
|
+
},
|
153
|
+
set: function (userAgentFilter) {
|
154
|
+
this['user_agent_filter'] = userAgentFilter;
|
155
|
+
},
|
156
|
+
enumerable: false,
|
157
|
+
configurable: true
|
158
|
+
});
|
159
|
+
ConfigsGetBody.prototype.withOriginRequestUrlRewrite = function (originRequestUrlRewrite) {
|
160
|
+
this['origin_request_url_rewrite'] = originRequestUrlRewrite;
|
161
|
+
return this;
|
162
|
+
};
|
163
|
+
Object.defineProperty(ConfigsGetBody.prototype, "originRequestUrlRewrite", {
|
164
|
+
get: function () {
|
165
|
+
return this['origin_request_url_rewrite'];
|
166
|
+
},
|
167
|
+
set: function (originRequestUrlRewrite) {
|
168
|
+
this['origin_request_url_rewrite'] = originRequestUrlRewrite;
|
169
|
+
},
|
170
|
+
enumerable: false,
|
171
|
+
configurable: true
|
172
|
+
});
|
173
|
+
ConfigsGetBody.prototype.withErrorCodeRedirectRules = function (errorCodeRedirectRules) {
|
174
|
+
this['error_code_redirect_rules'] = errorCodeRedirectRules;
|
175
|
+
return this;
|
176
|
+
};
|
177
|
+
Object.defineProperty(ConfigsGetBody.prototype, "errorCodeRedirectRules", {
|
178
|
+
get: function () {
|
179
|
+
return this['error_code_redirect_rules'];
|
180
|
+
},
|
181
|
+
set: function (errorCodeRedirectRules) {
|
182
|
+
this['error_code_redirect_rules'] = errorCodeRedirectRules;
|
183
|
+
},
|
184
|
+
enumerable: false,
|
185
|
+
configurable: true
|
186
|
+
});
|
187
|
+
return ConfigsGetBody;
|
188
|
+
}());
|
189
|
+
exports.ConfigsGetBody = ConfigsGetBody;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateDomainRequest = void 0;
|
4
|
+
var CreateDomainRequest = /** @class */ (function () {
|
5
|
+
function CreateDomainRequest() {
|
6
|
+
}
|
7
|
+
CreateDomainRequest.prototype.withBody = function (body) {
|
8
|
+
this['body'] = body;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return CreateDomainRequest;
|
12
|
+
}());
|
13
|
+
exports.CreateDomainRequest = CreateDomainRequest;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CreateDomainRequestBody = void 0;
|
4
|
+
var CreateDomainRequestBody = /** @class */ (function () {
|
5
|
+
function CreateDomainRequestBody(domain) {
|
6
|
+
this['domain'] = domain;
|
7
|
+
}
|
8
|
+
CreateDomainRequestBody.prototype.withDomain = function (domain) {
|
9
|
+
this['domain'] = domain;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
return CreateDomainRequestBody;
|
13
|
+
}());
|
14
|
+
exports.CreateDomainRequestBody = CreateDomainRequestBody;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { CreateDomainResponseBodyContent } from './CreateDomainResponseBodyContent';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class CreateDomainResponse extends SdkResponse {
|
4
|
+
domain?: CreateDomainResponseBodyContent;
|
5
|
+
constructor();
|
6
|
+
withDomain(domain: CreateDomainResponseBodyContent): CreateDomainResponse;
|
7
|
+
}
|
@@ -0,0 +1,31 @@
|
|
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.CreateDomainResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var CreateDomainResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(CreateDomainResponse, _super);
|
22
|
+
function CreateDomainResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
CreateDomainResponse.prototype.withDomain = function (domain) {
|
26
|
+
this['domain'] = domain;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
return CreateDomainResponse;
|
30
|
+
}(SdkResponse_1.SdkResponse));
|
31
|
+
exports.CreateDomainResponse = CreateDomainResponse;
|
@@ -0,0 +1,67 @@
|
|
1
|
+
import { DomainOriginHost } from './DomainOriginHost';
|
2
|
+
import { Sources } from './Sources';
|
3
|
+
export declare class CreateDomainResponseBodyContent {
|
4
|
+
id?: string;
|
5
|
+
private 'domain_name'?;
|
6
|
+
private 'business_type'?;
|
7
|
+
private 'service_area'?;
|
8
|
+
private 'user_domain_id'?;
|
9
|
+
private 'domain_status'?;
|
10
|
+
cname?: string;
|
11
|
+
sources?: Array<Sources>;
|
12
|
+
private 'domain_origin_host'?;
|
13
|
+
private 'https_status'?;
|
14
|
+
private 'create_time'?;
|
15
|
+
private 'modify_time'?;
|
16
|
+
disabled?: number;
|
17
|
+
locked?: number;
|
18
|
+
private 'range_status'?;
|
19
|
+
private 'follow_status'?;
|
20
|
+
private 'origin_status'?;
|
21
|
+
private 'auto_refresh_preheat'?;
|
22
|
+
constructor();
|
23
|
+
withId(id: string): CreateDomainResponseBodyContent;
|
24
|
+
withDomainName(domainName: string): CreateDomainResponseBodyContent;
|
25
|
+
set domainName(domainName: string | undefined);
|
26
|
+
get domainName(): string | undefined;
|
27
|
+
withBusinessType(businessType: string): CreateDomainResponseBodyContent;
|
28
|
+
set businessType(businessType: string | undefined);
|
29
|
+
get businessType(): string | undefined;
|
30
|
+
withServiceArea(serviceArea: string): CreateDomainResponseBodyContent;
|
31
|
+
set serviceArea(serviceArea: string | undefined);
|
32
|
+
get serviceArea(): string | undefined;
|
33
|
+
withUserDomainId(userDomainId: string): CreateDomainResponseBodyContent;
|
34
|
+
set userDomainId(userDomainId: string | undefined);
|
35
|
+
get userDomainId(): string | undefined;
|
36
|
+
withDomainStatus(domainStatus: string): CreateDomainResponseBodyContent;
|
37
|
+
set domainStatus(domainStatus: string | undefined);
|
38
|
+
get domainStatus(): string | undefined;
|
39
|
+
withCname(cname: string): CreateDomainResponseBodyContent;
|
40
|
+
withSources(sources: Array<Sources>): CreateDomainResponseBodyContent;
|
41
|
+
withDomainOriginHost(domainOriginHost: DomainOriginHost): CreateDomainResponseBodyContent;
|
42
|
+
set domainOriginHost(domainOriginHost: DomainOriginHost | undefined);
|
43
|
+
get domainOriginHost(): DomainOriginHost | undefined;
|
44
|
+
withHttpsStatus(httpsStatus: number): CreateDomainResponseBodyContent;
|
45
|
+
set httpsStatus(httpsStatus: number | undefined);
|
46
|
+
get httpsStatus(): number | undefined;
|
47
|
+
withCreateTime(createTime: number): CreateDomainResponseBodyContent;
|
48
|
+
set createTime(createTime: number | undefined);
|
49
|
+
get createTime(): number | undefined;
|
50
|
+
withModifyTime(modifyTime: number): CreateDomainResponseBodyContent;
|
51
|
+
set modifyTime(modifyTime: number | undefined);
|
52
|
+
get modifyTime(): number | undefined;
|
53
|
+
withDisabled(disabled: number): CreateDomainResponseBodyContent;
|
54
|
+
withLocked(locked: number): CreateDomainResponseBodyContent;
|
55
|
+
withRangeStatus(rangeStatus: string): CreateDomainResponseBodyContent;
|
56
|
+
set rangeStatus(rangeStatus: string | undefined);
|
57
|
+
get rangeStatus(): string | undefined;
|
58
|
+
withFollowStatus(followStatus: string): CreateDomainResponseBodyContent;
|
59
|
+
set followStatus(followStatus: string | undefined);
|
60
|
+
get followStatus(): string | undefined;
|
61
|
+
withOriginStatus(originStatus: string): CreateDomainResponseBodyContent;
|
62
|
+
set originStatus(originStatus: string | undefined);
|
63
|
+
get originStatus(): string | undefined;
|
64
|
+
withAutoRefreshPreheat(autoRefreshPreheat: number): CreateDomainResponseBodyContent;
|
65
|
+
set autoRefreshPreheat(autoRefreshPreheat: number | undefined);
|
66
|
+
get autoRefreshPreheat(): number | undefined;
|
67
|
+
}
|