@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,43 @@
|
|
1
|
+
export declare class TasksObject {
|
2
|
+
id?: string;
|
3
|
+
private 'task_type'?;
|
4
|
+
status?: string;
|
5
|
+
processing?: number;
|
6
|
+
succeed?: number;
|
7
|
+
failed?: number;
|
8
|
+
total?: number;
|
9
|
+
private 'create_time'?;
|
10
|
+
private 'file_type'?;
|
11
|
+
constructor();
|
12
|
+
withId(id: string): TasksObject;
|
13
|
+
withTaskType(taskType: TasksObjectTaskTypeEnum): TasksObject;
|
14
|
+
set taskType(taskType: TasksObjectTaskTypeEnum | undefined);
|
15
|
+
get taskType(): TasksObjectTaskTypeEnum | undefined;
|
16
|
+
withStatus(status: string): TasksObject;
|
17
|
+
withProcessing(processing: number): TasksObject;
|
18
|
+
withSucceed(succeed: number): TasksObject;
|
19
|
+
withFailed(failed: number): TasksObject;
|
20
|
+
withTotal(total: number): TasksObject;
|
21
|
+
withCreateTime(createTime: number): TasksObject;
|
22
|
+
set createTime(createTime: number | undefined);
|
23
|
+
get createTime(): number | undefined;
|
24
|
+
withFileType(fileType: TasksObjectFileTypeEnum): TasksObject;
|
25
|
+
set fileType(fileType: TasksObjectFileTypeEnum | undefined);
|
26
|
+
get fileType(): TasksObjectFileTypeEnum | undefined;
|
27
|
+
}
|
28
|
+
/**
|
29
|
+
* @export
|
30
|
+
* @enum {string}
|
31
|
+
*/
|
32
|
+
export declare enum TasksObjectTaskTypeEnum {
|
33
|
+
REFRESH = "refresh",
|
34
|
+
PREHEATING = "preheating"
|
35
|
+
}
|
36
|
+
/**
|
37
|
+
* @export
|
38
|
+
* @enum {string}
|
39
|
+
*/
|
40
|
+
export declare enum TasksObjectFileTypeEnum {
|
41
|
+
FILE = "file",
|
42
|
+
DIRECTORY = "directory"
|
43
|
+
}
|
@@ -0,0 +1,93 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TasksObjectFileTypeEnum = exports.TasksObjectTaskTypeEnum = exports.TasksObject = void 0;
|
4
|
+
var TasksObject = /** @class */ (function () {
|
5
|
+
function TasksObject() {
|
6
|
+
}
|
7
|
+
TasksObject.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
TasksObject.prototype.withTaskType = function (taskType) {
|
12
|
+
this['task_type'] = taskType;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(TasksObject.prototype, "taskType", {
|
16
|
+
get: function () {
|
17
|
+
return this['task_type'];
|
18
|
+
},
|
19
|
+
set: function (taskType) {
|
20
|
+
this['task_type'] = taskType;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
TasksObject.prototype.withStatus = function (status) {
|
26
|
+
this['status'] = status;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
TasksObject.prototype.withProcessing = function (processing) {
|
30
|
+
this['processing'] = processing;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
TasksObject.prototype.withSucceed = function (succeed) {
|
34
|
+
this['succeed'] = succeed;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
TasksObject.prototype.withFailed = function (failed) {
|
38
|
+
this['failed'] = failed;
|
39
|
+
return this;
|
40
|
+
};
|
41
|
+
TasksObject.prototype.withTotal = function (total) {
|
42
|
+
this['total'] = total;
|
43
|
+
return this;
|
44
|
+
};
|
45
|
+
TasksObject.prototype.withCreateTime = function (createTime) {
|
46
|
+
this['create_time'] = createTime;
|
47
|
+
return this;
|
48
|
+
};
|
49
|
+
Object.defineProperty(TasksObject.prototype, "createTime", {
|
50
|
+
get: function () {
|
51
|
+
return this['create_time'];
|
52
|
+
},
|
53
|
+
set: function (createTime) {
|
54
|
+
this['create_time'] = createTime;
|
55
|
+
},
|
56
|
+
enumerable: false,
|
57
|
+
configurable: true
|
58
|
+
});
|
59
|
+
TasksObject.prototype.withFileType = function (fileType) {
|
60
|
+
this['file_type'] = fileType;
|
61
|
+
return this;
|
62
|
+
};
|
63
|
+
Object.defineProperty(TasksObject.prototype, "fileType", {
|
64
|
+
get: function () {
|
65
|
+
return this['file_type'];
|
66
|
+
},
|
67
|
+
set: function (fileType) {
|
68
|
+
this['file_type'] = fileType;
|
69
|
+
},
|
70
|
+
enumerable: false,
|
71
|
+
configurable: true
|
72
|
+
});
|
73
|
+
return TasksObject;
|
74
|
+
}());
|
75
|
+
exports.TasksObject = TasksObject;
|
76
|
+
/**
|
77
|
+
* @export
|
78
|
+
* @enum {string}
|
79
|
+
*/
|
80
|
+
var TasksObjectTaskTypeEnum;
|
81
|
+
(function (TasksObjectTaskTypeEnum) {
|
82
|
+
TasksObjectTaskTypeEnum["REFRESH"] = "refresh";
|
83
|
+
TasksObjectTaskTypeEnum["PREHEATING"] = "preheating";
|
84
|
+
})(TasksObjectTaskTypeEnum = exports.TasksObjectTaskTypeEnum || (exports.TasksObjectTaskTypeEnum = {}));
|
85
|
+
/**
|
86
|
+
* @export
|
87
|
+
* @enum {string}
|
88
|
+
*/
|
89
|
+
var TasksObjectFileTypeEnum;
|
90
|
+
(function (TasksObjectFileTypeEnum) {
|
91
|
+
TasksObjectFileTypeEnum["FILE"] = "file";
|
92
|
+
TasksObjectFileTypeEnum["DIRECTORY"] = "directory";
|
93
|
+
})(TasksObjectFileTypeEnum = exports.TasksObjectFileTypeEnum || (exports.TasksObjectFileTypeEnum = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export declare class TopUrlSummary {
|
2
|
+
url?: string;
|
3
|
+
value?: number;
|
4
|
+
private 'start_time'?;
|
5
|
+
private 'end_time'?;
|
6
|
+
private 'stat_type'?;
|
7
|
+
constructor();
|
8
|
+
withUrl(url: string): TopUrlSummary;
|
9
|
+
withValue(value: number): TopUrlSummary;
|
10
|
+
withStartTime(startTime: number): TopUrlSummary;
|
11
|
+
set startTime(startTime: number | undefined);
|
12
|
+
get startTime(): number | undefined;
|
13
|
+
withEndTime(endTime: number): TopUrlSummary;
|
14
|
+
set endTime(endTime: number | undefined);
|
15
|
+
get endTime(): number | undefined;
|
16
|
+
withStatType(statType: string): TopUrlSummary;
|
17
|
+
set statType(statType: string | undefined);
|
18
|
+
get statType(): string | undefined;
|
19
|
+
}
|
@@ -0,0 +1,59 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.TopUrlSummary = void 0;
|
4
|
+
var TopUrlSummary = /** @class */ (function () {
|
5
|
+
function TopUrlSummary() {
|
6
|
+
}
|
7
|
+
TopUrlSummary.prototype.withUrl = function (url) {
|
8
|
+
this['url'] = url;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
TopUrlSummary.prototype.withValue = function (value) {
|
12
|
+
this['value'] = value;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
TopUrlSummary.prototype.withStartTime = function (startTime) {
|
16
|
+
this['start_time'] = startTime;
|
17
|
+
return this;
|
18
|
+
};
|
19
|
+
Object.defineProperty(TopUrlSummary.prototype, "startTime", {
|
20
|
+
get: function () {
|
21
|
+
return this['start_time'];
|
22
|
+
},
|
23
|
+
set: function (startTime) {
|
24
|
+
this['start_time'] = startTime;
|
25
|
+
},
|
26
|
+
enumerable: false,
|
27
|
+
configurable: true
|
28
|
+
});
|
29
|
+
TopUrlSummary.prototype.withEndTime = function (endTime) {
|
30
|
+
this['end_time'] = endTime;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
Object.defineProperty(TopUrlSummary.prototype, "endTime", {
|
34
|
+
get: function () {
|
35
|
+
return this['end_time'];
|
36
|
+
},
|
37
|
+
set: function (endTime) {
|
38
|
+
this['end_time'] = endTime;
|
39
|
+
},
|
40
|
+
enumerable: false,
|
41
|
+
configurable: true
|
42
|
+
});
|
43
|
+
TopUrlSummary.prototype.withStatType = function (statType) {
|
44
|
+
this['stat_type'] = statType;
|
45
|
+
return this;
|
46
|
+
};
|
47
|
+
Object.defineProperty(TopUrlSummary.prototype, "statType", {
|
48
|
+
get: function () {
|
49
|
+
return this['stat_type'];
|
50
|
+
},
|
51
|
+
set: function (statType) {
|
52
|
+
this['stat_type'] = statType;
|
53
|
+
},
|
54
|
+
enumerable: false,
|
55
|
+
configurable: true
|
56
|
+
});
|
57
|
+
return TopUrlSummary;
|
58
|
+
}());
|
59
|
+
exports.TopUrlSummary = TopUrlSummary;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { BlackWhiteListBody } from './BlackWhiteListBody';
|
2
|
+
export declare class UpdateBlackWhiteListRequest {
|
3
|
+
private 'domain_id';
|
4
|
+
private 'enterprise_project_id'?;
|
5
|
+
body?: BlackWhiteListBody;
|
6
|
+
constructor(domainId?: any);
|
7
|
+
withDomainId(domainId: string): UpdateBlackWhiteListRequest;
|
8
|
+
set domainId(domainId: string | undefined);
|
9
|
+
get domainId(): string | undefined;
|
10
|
+
withEnterpriseProjectId(enterpriseProjectId: string): UpdateBlackWhiteListRequest;
|
11
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
12
|
+
get enterpriseProjectId(): string | undefined;
|
13
|
+
withBody(body: BlackWhiteListBody): UpdateBlackWhiteListRequest;
|
14
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateBlackWhiteListRequest = void 0;
|
4
|
+
var UpdateBlackWhiteListRequest = /** @class */ (function () {
|
5
|
+
function UpdateBlackWhiteListRequest(domainId) {
|
6
|
+
this['domain_id'] = domainId;
|
7
|
+
}
|
8
|
+
UpdateBlackWhiteListRequest.prototype.withDomainId = function (domainId) {
|
9
|
+
this['domain_id'] = domainId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateBlackWhiteListRequest.prototype, "domainId", {
|
13
|
+
get: function () {
|
14
|
+
return this['domain_id'];
|
15
|
+
},
|
16
|
+
set: function (domainId) {
|
17
|
+
this['domain_id'] = domainId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
UpdateBlackWhiteListRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(UpdateBlackWhiteListRequest.prototype, "enterpriseProjectId", {
|
27
|
+
get: function () {
|
28
|
+
return this['enterprise_project_id'];
|
29
|
+
},
|
30
|
+
set: function (enterpriseProjectId) {
|
31
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
UpdateBlackWhiteListRequest.prototype.withBody = function (body) {
|
37
|
+
this['body'] = body;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
return UpdateBlackWhiteListRequest;
|
41
|
+
}());
|
42
|
+
exports.UpdateBlackWhiteListRequest = UpdateBlackWhiteListRequest;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
2
|
+
export declare class UpdateBlackWhiteListResponse extends SdkResponse {
|
3
|
+
code?: string;
|
4
|
+
result?: string;
|
5
|
+
data?: object;
|
6
|
+
constructor();
|
7
|
+
withCode(code: string): UpdateBlackWhiteListResponse;
|
8
|
+
withResult(result: string): UpdateBlackWhiteListResponse;
|
9
|
+
withData(data: object): UpdateBlackWhiteListResponse;
|
10
|
+
}
|
@@ -0,0 +1,39 @@
|
|
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.UpdateBlackWhiteListResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateBlackWhiteListResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateBlackWhiteListResponse, _super);
|
22
|
+
function UpdateBlackWhiteListResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateBlackWhiteListResponse.prototype.withCode = function (code) {
|
26
|
+
this['code'] = code;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
UpdateBlackWhiteListResponse.prototype.withResult = function (result) {
|
30
|
+
this['result'] = result;
|
31
|
+
return this;
|
32
|
+
};
|
33
|
+
UpdateBlackWhiteListResponse.prototype.withData = function (data) {
|
34
|
+
this['data'] = data;
|
35
|
+
return this;
|
36
|
+
};
|
37
|
+
return UpdateBlackWhiteListResponse;
|
38
|
+
}(SdkResponse_1.SdkResponse));
|
39
|
+
exports.UpdateBlackWhiteListResponse = UpdateBlackWhiteListResponse;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CacheConfigRequestBody } from './CacheConfigRequestBody';
|
2
|
+
export declare class UpdateCacheRulesRequest {
|
3
|
+
private 'domain_id';
|
4
|
+
private 'enterprise_project_id'?;
|
5
|
+
body?: CacheConfigRequestBody;
|
6
|
+
constructor(domainId?: any);
|
7
|
+
withDomainId(domainId: string): UpdateCacheRulesRequest;
|
8
|
+
set domainId(domainId: string | undefined);
|
9
|
+
get domainId(): string | undefined;
|
10
|
+
withEnterpriseProjectId(enterpriseProjectId: string): UpdateCacheRulesRequest;
|
11
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
12
|
+
get enterpriseProjectId(): string | undefined;
|
13
|
+
withBody(body: CacheConfigRequestBody): UpdateCacheRulesRequest;
|
14
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateCacheRulesRequest = void 0;
|
4
|
+
var UpdateCacheRulesRequest = /** @class */ (function () {
|
5
|
+
function UpdateCacheRulesRequest(domainId) {
|
6
|
+
this['domain_id'] = domainId;
|
7
|
+
}
|
8
|
+
UpdateCacheRulesRequest.prototype.withDomainId = function (domainId) {
|
9
|
+
this['domain_id'] = domainId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateCacheRulesRequest.prototype, "domainId", {
|
13
|
+
get: function () {
|
14
|
+
return this['domain_id'];
|
15
|
+
},
|
16
|
+
set: function (domainId) {
|
17
|
+
this['domain_id'] = domainId;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
UpdateCacheRulesRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(UpdateCacheRulesRequest.prototype, "enterpriseProjectId", {
|
27
|
+
get: function () {
|
28
|
+
return this['enterprise_project_id'];
|
29
|
+
},
|
30
|
+
set: function (enterpriseProjectId) {
|
31
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
UpdateCacheRulesRequest.prototype.withBody = function (body) {
|
37
|
+
this['body'] = body;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
return UpdateCacheRulesRequest;
|
41
|
+
}());
|
42
|
+
exports.UpdateCacheRulesRequest = UpdateCacheRulesRequest;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
import { CacheConfig } from './CacheConfig';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class UpdateCacheRulesResponse extends SdkResponse {
|
4
|
+
private 'cache_config'?;
|
5
|
+
constructor();
|
6
|
+
withCacheConfig(cacheConfig: CacheConfig): UpdateCacheRulesResponse;
|
7
|
+
set cacheConfig(cacheConfig: CacheConfig | undefined);
|
8
|
+
get cacheConfig(): CacheConfig | undefined;
|
9
|
+
}
|
@@ -0,0 +1,41 @@
|
|
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.UpdateCacheRulesResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateCacheRulesResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateCacheRulesResponse, _super);
|
22
|
+
function UpdateCacheRulesResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
UpdateCacheRulesResponse.prototype.withCacheConfig = function (cacheConfig) {
|
26
|
+
this['cache_config'] = cacheConfig;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(UpdateCacheRulesResponse.prototype, "cacheConfig", {
|
30
|
+
get: function () {
|
31
|
+
return this['cache_config'];
|
32
|
+
},
|
33
|
+
set: function (cacheConfig) {
|
34
|
+
this['cache_config'] = cacheConfig;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
return UpdateCacheRulesResponse;
|
40
|
+
}(SdkResponse_1.SdkResponse));
|
41
|
+
exports.UpdateCacheRulesResponse = UpdateCacheRulesResponse;
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { ModifyDomainConfigRequestBody } from './ModifyDomainConfigRequestBody';
|
2
|
+
export declare class UpdateDomainFullConfigRequest {
|
3
|
+
private 'domain_name';
|
4
|
+
private 'enterprise_project_id'?;
|
5
|
+
body?: ModifyDomainConfigRequestBody;
|
6
|
+
constructor(domainName?: any);
|
7
|
+
withDomainName(domainName: string): UpdateDomainFullConfigRequest;
|
8
|
+
set domainName(domainName: string | undefined);
|
9
|
+
get domainName(): string | undefined;
|
10
|
+
withEnterpriseProjectId(enterpriseProjectId: string): UpdateDomainFullConfigRequest;
|
11
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
12
|
+
get enterpriseProjectId(): string | undefined;
|
13
|
+
withBody(body: ModifyDomainConfigRequestBody): UpdateDomainFullConfigRequest;
|
14
|
+
}
|
@@ -0,0 +1,42 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDomainFullConfigRequest = void 0;
|
4
|
+
var UpdateDomainFullConfigRequest = /** @class */ (function () {
|
5
|
+
function UpdateDomainFullConfigRequest(domainName) {
|
6
|
+
this['domain_name'] = domainName;
|
7
|
+
}
|
8
|
+
UpdateDomainFullConfigRequest.prototype.withDomainName = function (domainName) {
|
9
|
+
this['domain_name'] = domainName;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(UpdateDomainFullConfigRequest.prototype, "domainName", {
|
13
|
+
get: function () {
|
14
|
+
return this['domain_name'];
|
15
|
+
},
|
16
|
+
set: function (domainName) {
|
17
|
+
this['domain_name'] = domainName;
|
18
|
+
},
|
19
|
+
enumerable: false,
|
20
|
+
configurable: true
|
21
|
+
});
|
22
|
+
UpdateDomainFullConfigRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(UpdateDomainFullConfigRequest.prototype, "enterpriseProjectId", {
|
27
|
+
get: function () {
|
28
|
+
return this['enterprise_project_id'];
|
29
|
+
},
|
30
|
+
set: function (enterpriseProjectId) {
|
31
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
32
|
+
},
|
33
|
+
enumerable: false,
|
34
|
+
configurable: true
|
35
|
+
});
|
36
|
+
UpdateDomainFullConfigRequest.prototype.withBody = function (body) {
|
37
|
+
this['body'] = body;
|
38
|
+
return this;
|
39
|
+
};
|
40
|
+
return UpdateDomainFullConfigRequest;
|
41
|
+
}());
|
42
|
+
exports.UpdateDomainFullConfigRequest = UpdateDomainFullConfigRequest;
|
@@ -0,0 +1,27 @@
|
|
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.UpdateDomainFullConfigResponse = void 0;
|
19
|
+
var SdkResponse_1 = require("@huaweicloud/huaweicloud-sdk-core/SdkResponse");
|
20
|
+
var UpdateDomainFullConfigResponse = /** @class */ (function (_super) {
|
21
|
+
__extends(UpdateDomainFullConfigResponse, _super);
|
22
|
+
function UpdateDomainFullConfigResponse() {
|
23
|
+
return _super.call(this) || this;
|
24
|
+
}
|
25
|
+
return UpdateDomainFullConfigResponse;
|
26
|
+
}(SdkResponse_1.SdkResponse));
|
27
|
+
exports.UpdateDomainFullConfigResponse = UpdateDomainFullConfigResponse;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { UpdateDomainMultiCertificatesRequestBody } from './UpdateDomainMultiCertificatesRequestBody';
|
2
|
+
export declare class UpdateDomainMultiCertificatesRequest {
|
3
|
+
private 'enterprise_project_id'?;
|
4
|
+
body?: UpdateDomainMultiCertificatesRequestBody;
|
5
|
+
constructor();
|
6
|
+
withEnterpriseProjectId(enterpriseProjectId: string): UpdateDomainMultiCertificatesRequest;
|
7
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
8
|
+
get enterpriseProjectId(): string | undefined;
|
9
|
+
withBody(body: UpdateDomainMultiCertificatesRequestBody): UpdateDomainMultiCertificatesRequest;
|
10
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDomainMultiCertificatesRequest = void 0;
|
4
|
+
var UpdateDomainMultiCertificatesRequest = /** @class */ (function () {
|
5
|
+
function UpdateDomainMultiCertificatesRequest() {
|
6
|
+
}
|
7
|
+
UpdateDomainMultiCertificatesRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
8
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Object.defineProperty(UpdateDomainMultiCertificatesRequest.prototype, "enterpriseProjectId", {
|
12
|
+
get: function () {
|
13
|
+
return this['enterprise_project_id'];
|
14
|
+
},
|
15
|
+
set: function (enterpriseProjectId) {
|
16
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
17
|
+
},
|
18
|
+
enumerable: false,
|
19
|
+
configurable: true
|
20
|
+
});
|
21
|
+
UpdateDomainMultiCertificatesRequest.prototype.withBody = function (body) {
|
22
|
+
this['body'] = body;
|
23
|
+
return this;
|
24
|
+
};
|
25
|
+
return UpdateDomainMultiCertificatesRequest;
|
26
|
+
}());
|
27
|
+
exports.UpdateDomainMultiCertificatesRequest = UpdateDomainMultiCertificatesRequest;
|
@@ -0,0 +1,6 @@
|
|
1
|
+
import { UpdateDomainMultiCertificatesRequestBodyContent } from './UpdateDomainMultiCertificatesRequestBodyContent';
|
2
|
+
export declare class UpdateDomainMultiCertificatesRequestBody {
|
3
|
+
https?: UpdateDomainMultiCertificatesRequestBodyContent;
|
4
|
+
constructor();
|
5
|
+
withHttps(https: UpdateDomainMultiCertificatesRequestBodyContent): UpdateDomainMultiCertificatesRequestBody;
|
6
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.UpdateDomainMultiCertificatesRequestBody = void 0;
|
4
|
+
var UpdateDomainMultiCertificatesRequestBody = /** @class */ (function () {
|
5
|
+
function UpdateDomainMultiCertificatesRequestBody() {
|
6
|
+
}
|
7
|
+
UpdateDomainMultiCertificatesRequestBody.prototype.withHttps = function (https) {
|
8
|
+
this['https'] = https;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
return UpdateDomainMultiCertificatesRequestBody;
|
12
|
+
}());
|
13
|
+
exports.UpdateDomainMultiCertificatesRequestBody = UpdateDomainMultiCertificatesRequestBody;
|
@@ -0,0 +1,40 @@
|
|
1
|
+
import { ForceRedirect } from './ForceRedirect';
|
2
|
+
export declare class UpdateDomainMultiCertificatesRequestBodyContent {
|
3
|
+
private 'domain_name';
|
4
|
+
private 'https_switch';
|
5
|
+
private 'access_origin_way'?;
|
6
|
+
private 'force_redirect_https'?;
|
7
|
+
private 'force_redirect_config'?;
|
8
|
+
http2?: number;
|
9
|
+
private 'cert_name'?;
|
10
|
+
certificate?: string;
|
11
|
+
private 'private_key'?;
|
12
|
+
private 'certificate_type'?;
|
13
|
+
constructor(domainName?: any, httpsSwitch?: any);
|
14
|
+
withDomainName(domainName: string): UpdateDomainMultiCertificatesRequestBodyContent;
|
15
|
+
set domainName(domainName: string | undefined);
|
16
|
+
get domainName(): string | undefined;
|
17
|
+
withHttpsSwitch(httpsSwitch: number): UpdateDomainMultiCertificatesRequestBodyContent;
|
18
|
+
set httpsSwitch(httpsSwitch: number | undefined);
|
19
|
+
get httpsSwitch(): number | undefined;
|
20
|
+
withAccessOriginWay(accessOriginWay: number): UpdateDomainMultiCertificatesRequestBodyContent;
|
21
|
+
set accessOriginWay(accessOriginWay: number | undefined);
|
22
|
+
get accessOriginWay(): number | undefined;
|
23
|
+
withForceRedirectHttps(forceRedirectHttps: number): UpdateDomainMultiCertificatesRequestBodyContent;
|
24
|
+
set forceRedirectHttps(forceRedirectHttps: number | undefined);
|
25
|
+
get forceRedirectHttps(): number | undefined;
|
26
|
+
withForceRedirectConfig(forceRedirectConfig: ForceRedirect): UpdateDomainMultiCertificatesRequestBodyContent;
|
27
|
+
set forceRedirectConfig(forceRedirectConfig: ForceRedirect | undefined);
|
28
|
+
get forceRedirectConfig(): ForceRedirect | undefined;
|
29
|
+
withHttp2(http2: number): UpdateDomainMultiCertificatesRequestBodyContent;
|
30
|
+
withCertName(certName: string): UpdateDomainMultiCertificatesRequestBodyContent;
|
31
|
+
set certName(certName: string | undefined);
|
32
|
+
get certName(): string | undefined;
|
33
|
+
withCertificate(certificate: string): UpdateDomainMultiCertificatesRequestBodyContent;
|
34
|
+
withPrivateKey(privateKey: string): UpdateDomainMultiCertificatesRequestBodyContent;
|
35
|
+
set privateKey(privateKey: string | undefined);
|
36
|
+
get privateKey(): string | undefined;
|
37
|
+
withCertificateType(certificateType: number): UpdateDomainMultiCertificatesRequestBodyContent;
|
38
|
+
set certificateType(certificateType: number | undefined);
|
39
|
+
get certificateType(): number | undefined;
|
40
|
+
}
|