@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,263 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainsServiceAreaEnum = exports.Domains = void 0;
|
4
|
+
var Domains = /** @class */ (function () {
|
5
|
+
function Domains() {
|
6
|
+
}
|
7
|
+
Domains.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
Domains.prototype.withDomainName = function (domainName) {
|
12
|
+
this['domain_name'] = domainName;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(Domains.prototype, "domainName", {
|
16
|
+
get: function () {
|
17
|
+
return this['domain_name'];
|
18
|
+
},
|
19
|
+
set: function (domainName) {
|
20
|
+
this['domain_name'] = domainName;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
Domains.prototype.withBusinessType = function (businessType) {
|
26
|
+
this['business_type'] = businessType;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(Domains.prototype, "businessType", {
|
30
|
+
get: function () {
|
31
|
+
return this['business_type'];
|
32
|
+
},
|
33
|
+
set: function (businessType) {
|
34
|
+
this['business_type'] = businessType;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
Domains.prototype.withUserDomainId = function (userDomainId) {
|
40
|
+
this['user_domain_id'] = userDomainId;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(Domains.prototype, "userDomainId", {
|
44
|
+
get: function () {
|
45
|
+
return this['user_domain_id'];
|
46
|
+
},
|
47
|
+
set: function (userDomainId) {
|
48
|
+
this['user_domain_id'] = userDomainId;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
Domains.prototype.withDomainStatus = function (domainStatus) {
|
54
|
+
this['domain_status'] = domainStatus;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(Domains.prototype, "domainStatus", {
|
58
|
+
get: function () {
|
59
|
+
return this['domain_status'];
|
60
|
+
},
|
61
|
+
set: function (domainStatus) {
|
62
|
+
this['domain_status'] = domainStatus;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
Domains.prototype.withCname = function (cname) {
|
68
|
+
this['cname'] = cname;
|
69
|
+
return this;
|
70
|
+
};
|
71
|
+
Domains.prototype.withSources = function (sources) {
|
72
|
+
this['sources'] = sources;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
Domains.prototype.withDomainOriginHost = function (domainOriginHost) {
|
76
|
+
this['domain_origin_host'] = domainOriginHost;
|
77
|
+
return this;
|
78
|
+
};
|
79
|
+
Object.defineProperty(Domains.prototype, "domainOriginHost", {
|
80
|
+
get: function () {
|
81
|
+
return this['domain_origin_host'];
|
82
|
+
},
|
83
|
+
set: function (domainOriginHost) {
|
84
|
+
this['domain_origin_host'] = domainOriginHost;
|
85
|
+
},
|
86
|
+
enumerable: false,
|
87
|
+
configurable: true
|
88
|
+
});
|
89
|
+
Domains.prototype.withHttpsStatus = function (httpsStatus) {
|
90
|
+
this['https_status'] = httpsStatus;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
Object.defineProperty(Domains.prototype, "httpsStatus", {
|
94
|
+
get: function () {
|
95
|
+
return this['https_status'];
|
96
|
+
},
|
97
|
+
set: function (httpsStatus) {
|
98
|
+
this['https_status'] = httpsStatus;
|
99
|
+
},
|
100
|
+
enumerable: false,
|
101
|
+
configurable: true
|
102
|
+
});
|
103
|
+
Domains.prototype.withCreateTime = function (createTime) {
|
104
|
+
this['create_time'] = createTime;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(Domains.prototype, "createTime", {
|
108
|
+
get: function () {
|
109
|
+
return this['create_time'];
|
110
|
+
},
|
111
|
+
set: function (createTime) {
|
112
|
+
this['create_time'] = createTime;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
Domains.prototype.withModifyTime = function (modifyTime) {
|
118
|
+
this['modify_time'] = modifyTime;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(Domains.prototype, "modifyTime", {
|
122
|
+
get: function () {
|
123
|
+
return this['modify_time'];
|
124
|
+
},
|
125
|
+
set: function (modifyTime) {
|
126
|
+
this['modify_time'] = modifyTime;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
Domains.prototype.withDisabled = function (disabled) {
|
132
|
+
this['disabled'] = disabled;
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
Domains.prototype.withLocked = function (locked) {
|
136
|
+
this['locked'] = locked;
|
137
|
+
return this;
|
138
|
+
};
|
139
|
+
Domains.prototype.withAutoRefreshPreheat = function (autoRefreshPreheat) {
|
140
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
141
|
+
return this;
|
142
|
+
};
|
143
|
+
Object.defineProperty(Domains.prototype, "autoRefreshPreheat", {
|
144
|
+
get: function () {
|
145
|
+
return this['auto_refresh_preheat'];
|
146
|
+
},
|
147
|
+
set: function (autoRefreshPreheat) {
|
148
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
149
|
+
},
|
150
|
+
enumerable: false,
|
151
|
+
configurable: true
|
152
|
+
});
|
153
|
+
Domains.prototype.withServiceArea = function (serviceArea) {
|
154
|
+
this['service_area'] = serviceArea;
|
155
|
+
return this;
|
156
|
+
};
|
157
|
+
Object.defineProperty(Domains.prototype, "serviceArea", {
|
158
|
+
get: function () {
|
159
|
+
return this['service_area'];
|
160
|
+
},
|
161
|
+
set: function (serviceArea) {
|
162
|
+
this['service_area'] = serviceArea;
|
163
|
+
},
|
164
|
+
enumerable: false,
|
165
|
+
configurable: true
|
166
|
+
});
|
167
|
+
Domains.prototype.withRangeStatus = function (rangeStatus) {
|
168
|
+
this['range_status'] = rangeStatus;
|
169
|
+
return this;
|
170
|
+
};
|
171
|
+
Object.defineProperty(Domains.prototype, "rangeStatus", {
|
172
|
+
get: function () {
|
173
|
+
return this['range_status'];
|
174
|
+
},
|
175
|
+
set: function (rangeStatus) {
|
176
|
+
this['range_status'] = rangeStatus;
|
177
|
+
},
|
178
|
+
enumerable: false,
|
179
|
+
configurable: true
|
180
|
+
});
|
181
|
+
Domains.prototype.withFollowStatus = function (followStatus) {
|
182
|
+
this['follow_status'] = followStatus;
|
183
|
+
return this;
|
184
|
+
};
|
185
|
+
Object.defineProperty(Domains.prototype, "followStatus", {
|
186
|
+
get: function () {
|
187
|
+
return this['follow_status'];
|
188
|
+
},
|
189
|
+
set: function (followStatus) {
|
190
|
+
this['follow_status'] = followStatus;
|
191
|
+
},
|
192
|
+
enumerable: false,
|
193
|
+
configurable: true
|
194
|
+
});
|
195
|
+
Domains.prototype.withOriginStatus = function (originStatus) {
|
196
|
+
this['origin_status'] = originStatus;
|
197
|
+
return this;
|
198
|
+
};
|
199
|
+
Object.defineProperty(Domains.prototype, "originStatus", {
|
200
|
+
get: function () {
|
201
|
+
return this['origin_status'];
|
202
|
+
},
|
203
|
+
set: function (originStatus) {
|
204
|
+
this['origin_status'] = originStatus;
|
205
|
+
},
|
206
|
+
enumerable: false,
|
207
|
+
configurable: true
|
208
|
+
});
|
209
|
+
Domains.prototype.withBannedReason = function (bannedReason) {
|
210
|
+
this['banned_reason'] = bannedReason;
|
211
|
+
return this;
|
212
|
+
};
|
213
|
+
Object.defineProperty(Domains.prototype, "bannedReason", {
|
214
|
+
get: function () {
|
215
|
+
return this['banned_reason'];
|
216
|
+
},
|
217
|
+
set: function (bannedReason) {
|
218
|
+
this['banned_reason'] = bannedReason;
|
219
|
+
},
|
220
|
+
enumerable: false,
|
221
|
+
configurable: true
|
222
|
+
});
|
223
|
+
Domains.prototype.withLockedReason = function (lockedReason) {
|
224
|
+
this['locked_reason'] = lockedReason;
|
225
|
+
return this;
|
226
|
+
};
|
227
|
+
Object.defineProperty(Domains.prototype, "lockedReason", {
|
228
|
+
get: function () {
|
229
|
+
return this['locked_reason'];
|
230
|
+
},
|
231
|
+
set: function (lockedReason) {
|
232
|
+
this['locked_reason'] = lockedReason;
|
233
|
+
},
|
234
|
+
enumerable: false,
|
235
|
+
configurable: true
|
236
|
+
});
|
237
|
+
Domains.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
238
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
239
|
+
return this;
|
240
|
+
};
|
241
|
+
Object.defineProperty(Domains.prototype, "enterpriseProjectId", {
|
242
|
+
get: function () {
|
243
|
+
return this['enterprise_project_id'];
|
244
|
+
},
|
245
|
+
set: function (enterpriseProjectId) {
|
246
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
247
|
+
},
|
248
|
+
enumerable: false,
|
249
|
+
configurable: true
|
250
|
+
});
|
251
|
+
return Domains;
|
252
|
+
}());
|
253
|
+
exports.Domains = Domains;
|
254
|
+
/**
|
255
|
+
* @export
|
256
|
+
* @enum {string}
|
257
|
+
*/
|
258
|
+
var DomainsServiceAreaEnum;
|
259
|
+
(function (DomainsServiceAreaEnum) {
|
260
|
+
DomainsServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
261
|
+
DomainsServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
262
|
+
DomainsServiceAreaEnum["GLOBAL"] = "global";
|
263
|
+
})(DomainsServiceAreaEnum = exports.DomainsServiceAreaEnum || (exports.DomainsServiceAreaEnum = {}));
|
@@ -0,0 +1,88 @@
|
|
1
|
+
import { DomainOriginHost } from './DomainOriginHost';
|
2
|
+
import { SourceWithPort } from './SourceWithPort';
|
3
|
+
export declare class DomainsWithPort {
|
4
|
+
id?: string;
|
5
|
+
private 'domain_name'?;
|
6
|
+
private 'business_type'?;
|
7
|
+
private 'user_domain_id'?;
|
8
|
+
private 'domain_status'?;
|
9
|
+
cname?: string;
|
10
|
+
sources?: Array<SourceWithPort>;
|
11
|
+
private 'domain_origin_host'?;
|
12
|
+
private 'https_status'?;
|
13
|
+
private 'create_time'?;
|
14
|
+
private 'modify_time'?;
|
15
|
+
disabled?: number;
|
16
|
+
locked?: number;
|
17
|
+
private 'auto_refresh_preheat'?;
|
18
|
+
private 'service_area'?;
|
19
|
+
private 'range_status'?;
|
20
|
+
private 'follow_status'?;
|
21
|
+
private 'origin_status'?;
|
22
|
+
private 'banned_reason'?;
|
23
|
+
private 'locked_reason'?;
|
24
|
+
private 'enterprise_project_id'?;
|
25
|
+
constructor();
|
26
|
+
withId(id: string): DomainsWithPort;
|
27
|
+
withDomainName(domainName: string): DomainsWithPort;
|
28
|
+
set domainName(domainName: string | undefined);
|
29
|
+
get domainName(): string | undefined;
|
30
|
+
withBusinessType(businessType: string): DomainsWithPort;
|
31
|
+
set businessType(businessType: string | undefined);
|
32
|
+
get businessType(): string | undefined;
|
33
|
+
withUserDomainId(userDomainId: string): DomainsWithPort;
|
34
|
+
set userDomainId(userDomainId: string | undefined);
|
35
|
+
get userDomainId(): string | undefined;
|
36
|
+
withDomainStatus(domainStatus: string): DomainsWithPort;
|
37
|
+
set domainStatus(domainStatus: string | undefined);
|
38
|
+
get domainStatus(): string | undefined;
|
39
|
+
withCname(cname: string): DomainsWithPort;
|
40
|
+
withSources(sources: Array<SourceWithPort>): DomainsWithPort;
|
41
|
+
withDomainOriginHost(domainOriginHost: DomainOriginHost): DomainsWithPort;
|
42
|
+
set domainOriginHost(domainOriginHost: DomainOriginHost | undefined);
|
43
|
+
get domainOriginHost(): DomainOriginHost | undefined;
|
44
|
+
withHttpsStatus(httpsStatus: number): DomainsWithPort;
|
45
|
+
set httpsStatus(httpsStatus: number | undefined);
|
46
|
+
get httpsStatus(): number | undefined;
|
47
|
+
withCreateTime(createTime: number): DomainsWithPort;
|
48
|
+
set createTime(createTime: number | undefined);
|
49
|
+
get createTime(): number | undefined;
|
50
|
+
withModifyTime(modifyTime: number): DomainsWithPort;
|
51
|
+
set modifyTime(modifyTime: number | undefined);
|
52
|
+
get modifyTime(): number | undefined;
|
53
|
+
withDisabled(disabled: number): DomainsWithPort;
|
54
|
+
withLocked(locked: number): DomainsWithPort;
|
55
|
+
withAutoRefreshPreheat(autoRefreshPreheat: number): DomainsWithPort;
|
56
|
+
set autoRefreshPreheat(autoRefreshPreheat: number | undefined);
|
57
|
+
get autoRefreshPreheat(): number | undefined;
|
58
|
+
withServiceArea(serviceArea: DomainsWithPortServiceAreaEnum): DomainsWithPort;
|
59
|
+
set serviceArea(serviceArea: DomainsWithPortServiceAreaEnum | undefined);
|
60
|
+
get serviceArea(): DomainsWithPortServiceAreaEnum | undefined;
|
61
|
+
withRangeStatus(rangeStatus: string): DomainsWithPort;
|
62
|
+
set rangeStatus(rangeStatus: string | undefined);
|
63
|
+
get rangeStatus(): string | undefined;
|
64
|
+
withFollowStatus(followStatus: string): DomainsWithPort;
|
65
|
+
set followStatus(followStatus: string | undefined);
|
66
|
+
get followStatus(): string | undefined;
|
67
|
+
withOriginStatus(originStatus: string): DomainsWithPort;
|
68
|
+
set originStatus(originStatus: string | undefined);
|
69
|
+
get originStatus(): string | undefined;
|
70
|
+
withBannedReason(bannedReason: string): DomainsWithPort;
|
71
|
+
set bannedReason(bannedReason: string | undefined);
|
72
|
+
get bannedReason(): string | undefined;
|
73
|
+
withLockedReason(lockedReason: string): DomainsWithPort;
|
74
|
+
set lockedReason(lockedReason: string | undefined);
|
75
|
+
get lockedReason(): string | undefined;
|
76
|
+
withEnterpriseProjectId(enterpriseProjectId: string): DomainsWithPort;
|
77
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
78
|
+
get enterpriseProjectId(): string | undefined;
|
79
|
+
}
|
80
|
+
/**
|
81
|
+
* @export
|
82
|
+
* @enum {string}
|
83
|
+
*/
|
84
|
+
export declare enum DomainsWithPortServiceAreaEnum {
|
85
|
+
MAINLAND_CHINA = "mainland_china",
|
86
|
+
OUTSIDE_MAINLAND_CHINA = "outside_mainland_china",
|
87
|
+
GLOBAL = "global"
|
88
|
+
}
|
@@ -0,0 +1,263 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DomainsWithPortServiceAreaEnum = exports.DomainsWithPort = void 0;
|
4
|
+
var DomainsWithPort = /** @class */ (function () {
|
5
|
+
function DomainsWithPort() {
|
6
|
+
}
|
7
|
+
DomainsWithPort.prototype.withId = function (id) {
|
8
|
+
this['id'] = id;
|
9
|
+
return this;
|
10
|
+
};
|
11
|
+
DomainsWithPort.prototype.withDomainName = function (domainName) {
|
12
|
+
this['domain_name'] = domainName;
|
13
|
+
return this;
|
14
|
+
};
|
15
|
+
Object.defineProperty(DomainsWithPort.prototype, "domainName", {
|
16
|
+
get: function () {
|
17
|
+
return this['domain_name'];
|
18
|
+
},
|
19
|
+
set: function (domainName) {
|
20
|
+
this['domain_name'] = domainName;
|
21
|
+
},
|
22
|
+
enumerable: false,
|
23
|
+
configurable: true
|
24
|
+
});
|
25
|
+
DomainsWithPort.prototype.withBusinessType = function (businessType) {
|
26
|
+
this['business_type'] = businessType;
|
27
|
+
return this;
|
28
|
+
};
|
29
|
+
Object.defineProperty(DomainsWithPort.prototype, "businessType", {
|
30
|
+
get: function () {
|
31
|
+
return this['business_type'];
|
32
|
+
},
|
33
|
+
set: function (businessType) {
|
34
|
+
this['business_type'] = businessType;
|
35
|
+
},
|
36
|
+
enumerable: false,
|
37
|
+
configurable: true
|
38
|
+
});
|
39
|
+
DomainsWithPort.prototype.withUserDomainId = function (userDomainId) {
|
40
|
+
this['user_domain_id'] = userDomainId;
|
41
|
+
return this;
|
42
|
+
};
|
43
|
+
Object.defineProperty(DomainsWithPort.prototype, "userDomainId", {
|
44
|
+
get: function () {
|
45
|
+
return this['user_domain_id'];
|
46
|
+
},
|
47
|
+
set: function (userDomainId) {
|
48
|
+
this['user_domain_id'] = userDomainId;
|
49
|
+
},
|
50
|
+
enumerable: false,
|
51
|
+
configurable: true
|
52
|
+
});
|
53
|
+
DomainsWithPort.prototype.withDomainStatus = function (domainStatus) {
|
54
|
+
this['domain_status'] = domainStatus;
|
55
|
+
return this;
|
56
|
+
};
|
57
|
+
Object.defineProperty(DomainsWithPort.prototype, "domainStatus", {
|
58
|
+
get: function () {
|
59
|
+
return this['domain_status'];
|
60
|
+
},
|
61
|
+
set: function (domainStatus) {
|
62
|
+
this['domain_status'] = domainStatus;
|
63
|
+
},
|
64
|
+
enumerable: false,
|
65
|
+
configurable: true
|
66
|
+
});
|
67
|
+
DomainsWithPort.prototype.withCname = function (cname) {
|
68
|
+
this['cname'] = cname;
|
69
|
+
return this;
|
70
|
+
};
|
71
|
+
DomainsWithPort.prototype.withSources = function (sources) {
|
72
|
+
this['sources'] = sources;
|
73
|
+
return this;
|
74
|
+
};
|
75
|
+
DomainsWithPort.prototype.withDomainOriginHost = function (domainOriginHost) {
|
76
|
+
this['domain_origin_host'] = domainOriginHost;
|
77
|
+
return this;
|
78
|
+
};
|
79
|
+
Object.defineProperty(DomainsWithPort.prototype, "domainOriginHost", {
|
80
|
+
get: function () {
|
81
|
+
return this['domain_origin_host'];
|
82
|
+
},
|
83
|
+
set: function (domainOriginHost) {
|
84
|
+
this['domain_origin_host'] = domainOriginHost;
|
85
|
+
},
|
86
|
+
enumerable: false,
|
87
|
+
configurable: true
|
88
|
+
});
|
89
|
+
DomainsWithPort.prototype.withHttpsStatus = function (httpsStatus) {
|
90
|
+
this['https_status'] = httpsStatus;
|
91
|
+
return this;
|
92
|
+
};
|
93
|
+
Object.defineProperty(DomainsWithPort.prototype, "httpsStatus", {
|
94
|
+
get: function () {
|
95
|
+
return this['https_status'];
|
96
|
+
},
|
97
|
+
set: function (httpsStatus) {
|
98
|
+
this['https_status'] = httpsStatus;
|
99
|
+
},
|
100
|
+
enumerable: false,
|
101
|
+
configurable: true
|
102
|
+
});
|
103
|
+
DomainsWithPort.prototype.withCreateTime = function (createTime) {
|
104
|
+
this['create_time'] = createTime;
|
105
|
+
return this;
|
106
|
+
};
|
107
|
+
Object.defineProperty(DomainsWithPort.prototype, "createTime", {
|
108
|
+
get: function () {
|
109
|
+
return this['create_time'];
|
110
|
+
},
|
111
|
+
set: function (createTime) {
|
112
|
+
this['create_time'] = createTime;
|
113
|
+
},
|
114
|
+
enumerable: false,
|
115
|
+
configurable: true
|
116
|
+
});
|
117
|
+
DomainsWithPort.prototype.withModifyTime = function (modifyTime) {
|
118
|
+
this['modify_time'] = modifyTime;
|
119
|
+
return this;
|
120
|
+
};
|
121
|
+
Object.defineProperty(DomainsWithPort.prototype, "modifyTime", {
|
122
|
+
get: function () {
|
123
|
+
return this['modify_time'];
|
124
|
+
},
|
125
|
+
set: function (modifyTime) {
|
126
|
+
this['modify_time'] = modifyTime;
|
127
|
+
},
|
128
|
+
enumerable: false,
|
129
|
+
configurable: true
|
130
|
+
});
|
131
|
+
DomainsWithPort.prototype.withDisabled = function (disabled) {
|
132
|
+
this['disabled'] = disabled;
|
133
|
+
return this;
|
134
|
+
};
|
135
|
+
DomainsWithPort.prototype.withLocked = function (locked) {
|
136
|
+
this['locked'] = locked;
|
137
|
+
return this;
|
138
|
+
};
|
139
|
+
DomainsWithPort.prototype.withAutoRefreshPreheat = function (autoRefreshPreheat) {
|
140
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
141
|
+
return this;
|
142
|
+
};
|
143
|
+
Object.defineProperty(DomainsWithPort.prototype, "autoRefreshPreheat", {
|
144
|
+
get: function () {
|
145
|
+
return this['auto_refresh_preheat'];
|
146
|
+
},
|
147
|
+
set: function (autoRefreshPreheat) {
|
148
|
+
this['auto_refresh_preheat'] = autoRefreshPreheat;
|
149
|
+
},
|
150
|
+
enumerable: false,
|
151
|
+
configurable: true
|
152
|
+
});
|
153
|
+
DomainsWithPort.prototype.withServiceArea = function (serviceArea) {
|
154
|
+
this['service_area'] = serviceArea;
|
155
|
+
return this;
|
156
|
+
};
|
157
|
+
Object.defineProperty(DomainsWithPort.prototype, "serviceArea", {
|
158
|
+
get: function () {
|
159
|
+
return this['service_area'];
|
160
|
+
},
|
161
|
+
set: function (serviceArea) {
|
162
|
+
this['service_area'] = serviceArea;
|
163
|
+
},
|
164
|
+
enumerable: false,
|
165
|
+
configurable: true
|
166
|
+
});
|
167
|
+
DomainsWithPort.prototype.withRangeStatus = function (rangeStatus) {
|
168
|
+
this['range_status'] = rangeStatus;
|
169
|
+
return this;
|
170
|
+
};
|
171
|
+
Object.defineProperty(DomainsWithPort.prototype, "rangeStatus", {
|
172
|
+
get: function () {
|
173
|
+
return this['range_status'];
|
174
|
+
},
|
175
|
+
set: function (rangeStatus) {
|
176
|
+
this['range_status'] = rangeStatus;
|
177
|
+
},
|
178
|
+
enumerable: false,
|
179
|
+
configurable: true
|
180
|
+
});
|
181
|
+
DomainsWithPort.prototype.withFollowStatus = function (followStatus) {
|
182
|
+
this['follow_status'] = followStatus;
|
183
|
+
return this;
|
184
|
+
};
|
185
|
+
Object.defineProperty(DomainsWithPort.prototype, "followStatus", {
|
186
|
+
get: function () {
|
187
|
+
return this['follow_status'];
|
188
|
+
},
|
189
|
+
set: function (followStatus) {
|
190
|
+
this['follow_status'] = followStatus;
|
191
|
+
},
|
192
|
+
enumerable: false,
|
193
|
+
configurable: true
|
194
|
+
});
|
195
|
+
DomainsWithPort.prototype.withOriginStatus = function (originStatus) {
|
196
|
+
this['origin_status'] = originStatus;
|
197
|
+
return this;
|
198
|
+
};
|
199
|
+
Object.defineProperty(DomainsWithPort.prototype, "originStatus", {
|
200
|
+
get: function () {
|
201
|
+
return this['origin_status'];
|
202
|
+
},
|
203
|
+
set: function (originStatus) {
|
204
|
+
this['origin_status'] = originStatus;
|
205
|
+
},
|
206
|
+
enumerable: false,
|
207
|
+
configurable: true
|
208
|
+
});
|
209
|
+
DomainsWithPort.prototype.withBannedReason = function (bannedReason) {
|
210
|
+
this['banned_reason'] = bannedReason;
|
211
|
+
return this;
|
212
|
+
};
|
213
|
+
Object.defineProperty(DomainsWithPort.prototype, "bannedReason", {
|
214
|
+
get: function () {
|
215
|
+
return this['banned_reason'];
|
216
|
+
},
|
217
|
+
set: function (bannedReason) {
|
218
|
+
this['banned_reason'] = bannedReason;
|
219
|
+
},
|
220
|
+
enumerable: false,
|
221
|
+
configurable: true
|
222
|
+
});
|
223
|
+
DomainsWithPort.prototype.withLockedReason = function (lockedReason) {
|
224
|
+
this['locked_reason'] = lockedReason;
|
225
|
+
return this;
|
226
|
+
};
|
227
|
+
Object.defineProperty(DomainsWithPort.prototype, "lockedReason", {
|
228
|
+
get: function () {
|
229
|
+
return this['locked_reason'];
|
230
|
+
},
|
231
|
+
set: function (lockedReason) {
|
232
|
+
this['locked_reason'] = lockedReason;
|
233
|
+
},
|
234
|
+
enumerable: false,
|
235
|
+
configurable: true
|
236
|
+
});
|
237
|
+
DomainsWithPort.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
238
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
239
|
+
return this;
|
240
|
+
};
|
241
|
+
Object.defineProperty(DomainsWithPort.prototype, "enterpriseProjectId", {
|
242
|
+
get: function () {
|
243
|
+
return this['enterprise_project_id'];
|
244
|
+
},
|
245
|
+
set: function (enterpriseProjectId) {
|
246
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
247
|
+
},
|
248
|
+
enumerable: false,
|
249
|
+
configurable: true
|
250
|
+
});
|
251
|
+
return DomainsWithPort;
|
252
|
+
}());
|
253
|
+
exports.DomainsWithPort = DomainsWithPort;
|
254
|
+
/**
|
255
|
+
* @export
|
256
|
+
* @enum {string}
|
257
|
+
*/
|
258
|
+
var DomainsWithPortServiceAreaEnum;
|
259
|
+
(function (DomainsWithPortServiceAreaEnum) {
|
260
|
+
DomainsWithPortServiceAreaEnum["MAINLAND_CHINA"] = "mainland_china";
|
261
|
+
DomainsWithPortServiceAreaEnum["OUTSIDE_MAINLAND_CHINA"] = "outside_mainland_china";
|
262
|
+
DomainsWithPortServiceAreaEnum["GLOBAL"] = "global";
|
263
|
+
})(DomainsWithPortServiceAreaEnum = exports.DomainsWithPortServiceAreaEnum || (exports.DomainsWithPortServiceAreaEnum = {}));
|
@@ -0,0 +1,11 @@
|
|
1
|
+
export declare class EnableDomainRequest {
|
2
|
+
private 'domain_id';
|
3
|
+
private 'enterprise_project_id'?;
|
4
|
+
constructor(domainId?: any);
|
5
|
+
withDomainId(domainId: string): EnableDomainRequest;
|
6
|
+
set domainId(domainId: string | undefined);
|
7
|
+
get domainId(): string | undefined;
|
8
|
+
withEnterpriseProjectId(enterpriseProjectId: string): EnableDomainRequest;
|
9
|
+
set enterpriseProjectId(enterpriseProjectId: string | undefined);
|
10
|
+
get enterpriseProjectId(): string | undefined;
|
11
|
+
}
|
@@ -0,0 +1,38 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EnableDomainRequest = void 0;
|
4
|
+
var EnableDomainRequest = /** @class */ (function () {
|
5
|
+
function EnableDomainRequest(domainId) {
|
6
|
+
this['domain_id'] = domainId;
|
7
|
+
}
|
8
|
+
EnableDomainRequest.prototype.withDomainId = function (domainId) {
|
9
|
+
this['domain_id'] = domainId;
|
10
|
+
return this;
|
11
|
+
};
|
12
|
+
Object.defineProperty(EnableDomainRequest.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
|
+
EnableDomainRequest.prototype.withEnterpriseProjectId = function (enterpriseProjectId) {
|
23
|
+
this['enterprise_project_id'] = enterpriseProjectId;
|
24
|
+
return this;
|
25
|
+
};
|
26
|
+
Object.defineProperty(EnableDomainRequest.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
|
+
return EnableDomainRequest;
|
37
|
+
}());
|
38
|
+
exports.EnableDomainRequest = EnableDomainRequest;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DomainsWithPort } from './DomainsWithPort';
|
2
|
+
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse";
|
3
|
+
export declare class EnableDomainResponse extends SdkResponse {
|
4
|
+
domain?: DomainsWithPort;
|
5
|
+
constructor();
|
6
|
+
withDomain(domain: DomainsWithPort): EnableDomainResponse;
|
7
|
+
}
|