Documentation
¶
Index ¶
- type BatCreatePrefetchTaskRequest
- type BatCreatePrefetchTaskResponse
- type BatCreatePrefetchTaskResult
- type BatchCreateLiveDomainRequest
- func (r BatchCreateLiveDomainRequest) GetRegionId() string
- func (r *BatchCreateLiveDomainRequest) SetAccelerateRegion(accelerateRegion string)
- func (r *BatchCreateLiveDomainRequest) SetBackHttpType(backHttpType string)
- func (r *BatchCreateLiveDomainRequest) SetBackSourceType(backSourceType string)
- func (r *BatchCreateLiveDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
- func (r *BatchCreateLiveDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
- func (r *BatchCreateLiveDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
- func (r *BatchCreateLiveDomainRequest) SetPlayDomain(playDomain string)
- func (r *BatchCreateLiveDomainRequest) SetPublishDomain(publishDomain string)
- func (r *BatchCreateLiveDomainRequest) SetSiteType(siteType string)
- func (r *BatchCreateLiveDomainRequest) SetSourceType(sourceType string)
- type BatchCreateLiveDomainResponse
- type BatchCreateLiveDomainResult
- type BatchCreateRequest
- func (r BatchCreateRequest) GetRegionId() string
- func (r *BatchCreateRequest) SetAccelerateRegion(accelerateRegion string)
- func (r *BatchCreateRequest) SetAvgFileSize(avgFileSize int64)
- func (r *BatchCreateRequest) SetBackSourceType(backSourceType string)
- func (r *BatchCreateRequest) SetCdnType(cdnType string)
- func (r *BatchCreateRequest) SetDailyBandWidth(dailyBandWidth int64)
- func (r *BatchCreateRequest) SetDefaultSourceHost(defaultSourceHost string)
- func (r *BatchCreateRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
- func (r *BatchCreateRequest) SetDomains(domains []string)
- func (r *BatchCreateRequest) SetHttpType(httpType string)
- func (r *BatchCreateRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
- func (r *BatchCreateRequest) SetMaxFileSize(maxFileSize int64)
- func (r *BatchCreateRequest) SetMinFileSize(minFileSize int64)
- func (r *BatchCreateRequest) SetOssSource(ossSource string)
- func (r *BatchCreateRequest) SetQuaility(quaility string)
- func (r *BatchCreateRequest) SetSourceType(sourceType string)
- func (r *BatchCreateRequest) SetSumFileSize(sumFileSize int64)
- func (r *BatchCreateRequest) SetTempInstId(tempInstId int64)
- type BatchCreateResponse
- type BatchCreateResult
- type BatchDeleteDomainGroupRequest
- type BatchDeleteDomainGroupResponse
- type BatchDeleteDomainGroupResult
- type BatchIpBlackListRequest
- func (r BatchIpBlackListRequest) GetRegionId() string
- func (r *BatchIpBlackListRequest) SetAction(action string)
- func (r *BatchIpBlackListRequest) SetDomains(domains []string)
- func (r *BatchIpBlackListRequest) SetForbidTime(forbidTime int64)
- func (r *BatchIpBlackListRequest) SetIpList(ipList []string)
- type BatchIpBlackListResponse
- type BatchIpBlackListResult
- type BatchSetExtraCacheTimeRequest
- type BatchSetExtraCacheTimeResponse
- type BatchSetExtraCacheTimeResult
- type CheckWhetherIpBelongToJCloudRequest
- type CheckWhetherIpBelongToJCloudResponse
- type CheckWhetherIpBelongToJCloudResult
- type ConfigBackSourceOssRequest
- func NewConfigBackSourceOssRequest(domain string) *ConfigBackSourceOssRequest
- func NewConfigBackSourceOssRequestWithAllParams(domain string, status *string, accessKey *string, secretKey *string, ...) *ConfigBackSourceOssRequest
- func NewConfigBackSourceOssRequestWithoutParam() *ConfigBackSourceOssRequest
- func (r ConfigBackSourceOssRequest) GetRegionId() string
- func (r *ConfigBackSourceOssRequest) SetAccessKey(accessKey string)
- func (r *ConfigBackSourceOssRequest) SetBucket(bucket string)
- func (r *ConfigBackSourceOssRequest) SetDomain(domain string)
- func (r *ConfigBackSourceOssRequest) SetDomain2(domain2 string)
- func (r *ConfigBackSourceOssRequest) SetSecretKey(secretKey string)
- func (r *ConfigBackSourceOssRequest) SetStatus(status string)
- func (r *ConfigBackSourceOssRequest) SetSuffix(suffix string)
- type ConfigBackSourceOssResponse
- type ConfigBackSourceOssResult
- type ConfigBackSourcePathRequest
- type ConfigBackSourcePathResponse
- type ConfigBackSourcePathResult
- type ConfigBackSourceRuleRequest
- type ConfigBackSourceRuleResponse
- type ConfigBackSourceRuleResult
- type ConfigBackSourceRulesRequest
- func NewConfigBackSourceRulesRequest(domain string) *ConfigBackSourceRulesRequest
- func NewConfigBackSourceRulesRequestWithAllParams(domain string, status *string, rules []cdn.BackSourceRule) *ConfigBackSourceRulesRequest
- func NewConfigBackSourceRulesRequestWithoutParam() *ConfigBackSourceRulesRequest
- type ConfigBackSourceRulesResponse
- type ConfigBackSourceRulesResult
- type ConfigHttp2Request
- type ConfigHttp2Response
- type ConfigHttp2Result
- type ConfigServiceNoticeRequest
- func (r ConfigServiceNoticeRequest) GetRegionId() string
- func (r *ConfigServiceNoticeRequest) SetId(id int64)
- func (r *ConfigServiceNoticeRequest) SetNoticeCC(noticeCC string)
- func (r *ConfigServiceNoticeRequest) SetNoticeContent(noticeContent string)
- func (r *ConfigServiceNoticeRequest) SetNoticePeriod(noticePeriod []string)
- func (r *ConfigServiceNoticeRequest) SetNoticeStatus(noticeStatus string)
- func (r *ConfigServiceNoticeRequest) SetNoticeTo(noticeTo string)
- func (r *ConfigServiceNoticeRequest) SetNoticeType(noticeType string)
- func (r *ConfigServiceNoticeRequest) SetNoticeWay(noticeWay string)
- type ConfigServiceNoticeResponse
- type ConfigServiceNoticeResult
- type ConfigUrlRuleRequest
- type ConfigUrlRuleResponse
- type ConfigUrlRuleResult
- type CreateCCProtectRuleRequest
- func NewCreateCCProtectRuleRequest(domain string) *CreateCCProtectRuleRequest
- func NewCreateCCProtectRuleRequestWithAllParams(domain string, uri *string, detectPeriod *int, singleIpLimit *int, ...) *CreateCCProtectRuleRequest
- func NewCreateCCProtectRuleRequestWithoutParam() *CreateCCProtectRuleRequest
- func (r CreateCCProtectRuleRequest) GetRegionId() string
- func (r *CreateCCProtectRuleRequest) SetBlockTime(blockTime int)
- func (r *CreateCCProtectRuleRequest) SetBlockType(blockType int)
- func (r *CreateCCProtectRuleRequest) SetDetectPeriod(detectPeriod int)
- func (r *CreateCCProtectRuleRequest) SetDomain(domain string)
- func (r *CreateCCProtectRuleRequest) SetSingleIpLimit(singleIpLimit int)
- func (r *CreateCCProtectRuleRequest) SetUri(uri string)
- type CreateCCProtectRuleResponse
- type CreateCCProtectRuleResult
- type CreateCacheRuleRequest
- func (r CreateCacheRuleRequest) GetRegionId() string
- func (r *CreateCacheRuleRequest) SetCacheType(cacheType int)
- func (r *CreateCacheRuleRequest) SetContents(contents string)
- func (r *CreateCacheRuleRequest) SetDomain(domain string)
- func (r *CreateCacheRuleRequest) SetTtl(ttl int64)
- func (r *CreateCacheRuleRequest) SetWeight(weight int)
- type CreateCacheRuleResponse
- type CreateCacheRuleResult
- type CreateDomainGroupRequest
- func (r CreateDomainGroupRequest) GetRegionId() string
- func (r *CreateDomainGroupRequest) SetDomainGroupName(domainGroupName string)
- func (r *CreateDomainGroupRequest) SetDomains(domains []string)
- func (r *CreateDomainGroupRequest) SetPrimaryDomain(primaryDomain string)
- func (r *CreateDomainGroupRequest) SetShareCache(shareCache string)
- type CreateDomainGroupResponse
- type CreateDomainGroupResult
- type CreateDomainRequest
- func (r CreateDomainRequest) GetRegionId() string
- func (r *CreateDomainRequest) SetAccelerateRegion(accelerateRegion string)
- func (r *CreateDomainRequest) SetAvgFileSize(avgFileSize int64)
- func (r *CreateDomainRequest) SetBackSourceType(backSourceType string)
- func (r *CreateDomainRequest) SetCdnType(cdnType string)
- func (r *CreateDomainRequest) SetDailyBandWidth(dailyBandWidth int64)
- func (r *CreateDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
- func (r *CreateDomainRequest) SetDomain(domain string)
- func (r *CreateDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
- func (r *CreateDomainRequest) SetHttpType(httpType string)
- func (r *CreateDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
- func (r *CreateDomainRequest) SetMaxFileSize(maxFileSize int64)
- func (r *CreateDomainRequest) SetMinFileSize(minFileSize int64)
- func (r *CreateDomainRequest) SetOssSource(ossSource string)
- func (r *CreateDomainRequest) SetQuaility(quaility string)
- func (r *CreateDomainRequest) SetSourceType(sourceType string)
- func (r *CreateDomainRequest) SetSumFileSize(sumFileSize int64)
- func (r *CreateDomainRequest) SetTempInstId(tempInstId int64)
- type CreateDomainResponse
- type CreateDomainResult
- type CreateForbiddenInfoRequest
- func (r CreateForbiddenInfoRequest) GetRegionId() string
- func (r *CreateForbiddenInfoRequest) SetForbiddenDomain(forbiddenDomain string)
- func (r *CreateForbiddenInfoRequest) SetForbiddenType(forbiddenType string)
- func (r *CreateForbiddenInfoRequest) SetForbiddenUrl(forbiddenUrl string)
- func (r *CreateForbiddenInfoRequest) SetLinkOther(linkOther string)
- func (r *CreateForbiddenInfoRequest) SetReason(reason string)
- func (r *CreateForbiddenInfoRequest) SetShareCacheDomainFlag(shareCacheDomainFlag string)
- func (r *CreateForbiddenInfoRequest) SetToken(token string)
- type CreateForbiddenInfoResponse
- type CreateForbiddenInfoResult
- type CreateLiveDomainPrefecthTaskRequest
- func NewCreateLiveDomainPrefecthTaskRequest() *CreateLiveDomainPrefecthTaskRequest
- func NewCreateLiveDomainPrefecthTaskRequestWithAllParams(urlList []string, prefetchTime *int, action *string) *CreateLiveDomainPrefecthTaskRequest
- func NewCreateLiveDomainPrefecthTaskRequestWithoutParam() *CreateLiveDomainPrefecthTaskRequest
- type CreateLiveDomainPrefecthTaskResponse
- type CreateLiveDomainPrefecthTaskResult
- type CreateRefreshTaskForCallbackRequest
- func NewCreateRefreshTaskForCallbackRequest() *CreateRefreshTaskForCallbackRequest
- func NewCreateRefreshTaskForCallbackRequestWithAllParams(taskType *string, urlItems []cdn.UrlItem) *CreateRefreshTaskForCallbackRequest
- func NewCreateRefreshTaskForCallbackRequestWithoutParam() *CreateRefreshTaskForCallbackRequest
- type CreateRefreshTaskForCallbackResponse
- type CreateRefreshTaskForCallbackResult
- type CreateRefreshTaskForCallbackV2Request
- func NewCreateRefreshTaskForCallbackV2Request() *CreateRefreshTaskForCallbackV2Request
- func NewCreateRefreshTaskForCallbackV2RequestWithAllParams(taskType *string, urlItems []cdn.UrlItemV2) *CreateRefreshTaskForCallbackV2Request
- func NewCreateRefreshTaskForCallbackV2RequestWithoutParam() *CreateRefreshTaskForCallbackV2Request
- type CreateRefreshTaskForCallbackV2Response
- type CreateRefreshTaskForCallbackV2Result
- type CreateRefreshTaskRequest
- type CreateRefreshTaskResponse
- type CreateRefreshTaskResult
- type CreateWafBlackRuleRequest
- func NewCreateWafBlackRuleRequest(domain string) *CreateWafBlackRuleRequest
- func NewCreateWafBlackRuleRequestWithAllParams(domain string, ruleType *string, matchOp *int, val *string, atOp *int, ...) *CreateWafBlackRuleRequest
- func NewCreateWafBlackRuleRequestWithoutParam() *CreateWafBlackRuleRequest
- func (r CreateWafBlackRuleRequest) GetRegionId() string
- func (r *CreateWafBlackRuleRequest) SetAtOp(atOp int)
- func (r *CreateWafBlackRuleRequest) SetAtVal(atVal string)
- func (r *CreateWafBlackRuleRequest) SetDomain(domain string)
- func (r *CreateWafBlackRuleRequest) SetMatchOp(matchOp int)
- func (r *CreateWafBlackRuleRequest) SetRuleType(ruleType string)
- func (r *CreateWafBlackRuleRequest) SetVal(val string)
- type CreateWafBlackRuleResponse
- type CreateWafBlackRuleResult
- type CreateWafWhiteRuleRequest
- func NewCreateWafWhiteRuleRequest(domain string) *CreateWafWhiteRuleRequest
- func NewCreateWafWhiteRuleRequestWithAllParams(domain string, ruleType *string, matchOp *int, val *string, actions []string) *CreateWafWhiteRuleRequest
- func NewCreateWafWhiteRuleRequestWithoutParam() *CreateWafWhiteRuleRequest
- func (r CreateWafWhiteRuleRequest) GetRegionId() string
- func (r *CreateWafWhiteRuleRequest) SetActions(actions []string)
- func (r *CreateWafWhiteRuleRequest) SetDomain(domain string)
- func (r *CreateWafWhiteRuleRequest) SetMatchOp(matchOp int)
- func (r *CreateWafWhiteRuleRequest) SetRuleType(ruleType string)
- func (r *CreateWafWhiteRuleRequest) SetVal(val string)
- type CreateWafWhiteRuleResponse
- type CreateWafWhiteRuleResult
- type DelDomainTempInstanceRequest
- type DelDomainTempInstanceResponse
- type DelDomainTempInstanceResult
- type DeleteCCProtectRuleRequest
- type DeleteCCProtectRuleResponse
- type DeleteCCProtectRuleResult
- type DeleteCacheRuleRequest
- type DeleteCacheRuleResponse
- type DeleteCacheRuleResult
- type DeleteDomainRequest
- type DeleteDomainResponse
- type DeleteDomainResult
- type DeleteExtraCacheTimeRequest
- type DeleteExtraCacheTimeResponse
- type DeleteExtraCacheTimeResult
- type DeleteForbiddenInfoRequest
- func (r DeleteForbiddenInfoRequest) GetRegionId() string
- func (r *DeleteForbiddenInfoRequest) SetForbiddenDomain(forbiddenDomain string)
- func (r *DeleteForbiddenInfoRequest) SetForbiddenType(forbiddenType string)
- func (r *DeleteForbiddenInfoRequest) SetForbiddenUrl(forbiddenUrl string)
- func (r *DeleteForbiddenInfoRequest) SetShareCacheDomainFlag(shareCacheDomainFlag string)
- func (r *DeleteForbiddenInfoRequest) SetToken(token string)
- type DeleteForbiddenInfoResponse
- type DeleteForbiddenInfoResult
- type DeleteForbiddenStreamRequest
- type DeleteForbiddenStreamResponse
- type DeleteForbiddenStreamResult
- type DeleteHttpHeaderRequest
- func (r DeleteHttpHeaderRequest) GetRegionId() string
- func (r *DeleteHttpHeaderRequest) SetDomain(domain string)
- func (r *DeleteHttpHeaderRequest) SetEdgeType(edgeType int)
- func (r *DeleteHttpHeaderRequest) SetHeaderName(headerName string)
- func (r *DeleteHttpHeaderRequest) SetHeaderType(headerType string)
- type DeleteHttpHeaderResponse
- type DeleteHttpHeaderResult
- type DeleteWafBlackRulesRequest
- func NewDeleteWafBlackRulesRequest(domain string, ids string, ruleType string) *DeleteWafBlackRulesRequest
- func NewDeleteWafBlackRulesRequestWithAllParams(domain string, ids string, ruleType string) *DeleteWafBlackRulesRequest
- func NewDeleteWafBlackRulesRequestWithoutParam() *DeleteWafBlackRulesRequest
- type DeleteWafBlackRulesResponse
- type DeleteWafBlackRulesResult
- type DeleteWafWhiteRulesRequest
- func NewDeleteWafWhiteRulesRequest(domain string, ids string, ruleType string) *DeleteWafWhiteRulesRequest
- func NewDeleteWafWhiteRulesRequestWithAllParams(domain string, ids string, ruleType string) *DeleteWafWhiteRulesRequest
- func NewDeleteWafWhiteRulesRequestWithoutParam() *DeleteWafWhiteRulesRequest
- type DeleteWafWhiteRulesResponse
- type DeleteWafWhiteRulesResult
- type DisableCCProtectRuleRequest
- type DisableCCProtectRuleResponse
- type DisableCCProtectRuleResult
- type DisableWafBlackRulesRequest
- type DisableWafBlackRulesResponse
- type DisableWafBlackRulesResult
- type DisableWafWhiteRulesRequest
- type DisableWafWhiteRulesResponse
- type DisableWafWhiteRulesResult
- type EnableCCProtectRuleRequest
- type EnableCCProtectRuleResponse
- type EnableCCProtectRuleResult
- type EnableWafBlackRulesRequest
- type EnableWafBlackRulesResponse
- type EnableWafBlackRulesResult
- type EnableWafWhiteRulesRequest
- type EnableWafWhiteRulesResponse
- type EnableWafWhiteRulesResult
- type ExecuteDomainCopyRequest
- type ExecuteDomainCopyResponse
- type ExecuteDomainCopyResult
- type GetAllUpperNodeIpListRequest
- type GetAllUpperNodeIpListResponse
- type GetAllUpperNodeIpListResult
- type GetDomainDetailRequest
- type GetDomainDetailResponse
- type GetDomainDetailResult
- type GetDomainListByFilterRequest
- func NewGetDomainListByFilterRequest() *GetDomainListByFilterRequest
- func NewGetDomainListByFilterRequestWithAllParams(keyWord *string, pageNumber *int, pageSize *int, status *string, type_ *string, ...) *GetDomainListByFilterRequest
- func NewGetDomainListByFilterRequestWithoutParam() *GetDomainListByFilterRequest
- func (r GetDomainListByFilterRequest) GetRegionId() string
- func (r *GetDomainListByFilterRequest) SetAccelerateRegion(accelerateRegion string)
- func (r *GetDomainListByFilterRequest) SetFilterBy(filterBy int)
- func (r *GetDomainListByFilterRequest) SetKeyWord(keyWord string)
- func (r *GetDomainListByFilterRequest) SetPageNumber(pageNumber int)
- func (r *GetDomainListByFilterRequest) SetPageSize(pageSize int)
- func (r *GetDomainListByFilterRequest) SetStatus(status string)
- func (r *GetDomainListByFilterRequest) SetTagFilters(tagFilters []cdn.TagFilter)
- func (r *GetDomainListByFilterRequest) SetType(type_ string)
- type GetDomainListByFilterResponse
- type GetDomainListByFilterResult
- type GetDomainListRequest
- func (r GetDomainListRequest) GetRegionId() string
- func (r *GetDomainListRequest) SetAccelerateRegion(accelerateRegion string)
- func (r *GetDomainListRequest) SetKeyWord(keyWord string)
- func (r *GetDomainListRequest) SetPageNumber(pageNumber int)
- func (r *GetDomainListRequest) SetPageSize(pageSize int)
- func (r *GetDomainListRequest) SetStatus(status string)
- func (r *GetDomainListRequest) SetType(type_ string)
- type GetDomainListResponse
- type GetDomainListResult
- type GetSslCertDetailRequest
- type GetSslCertDetailResponse
- type GetSslCertDetailResult
- type GetSslCertListRequest
- type GetSslCertListResponse
- type GetSslCertListResult
- type ModifyDomainTempInstRequest
- func NewModifyDomainTempInstRequest() *ModifyDomainTempInstRequest
- func NewModifyDomainTempInstRequestWithAllParams(tempId *int64, instId *int64, instName *string, instProInfoMap *interface{}) *ModifyDomainTempInstRequest
- func NewModifyDomainTempInstRequestWithoutParam() *ModifyDomainTempInstRequest
- func (r ModifyDomainTempInstRequest) GetRegionId() string
- func (r *ModifyDomainTempInstRequest) SetInstId(instId int64)
- func (r *ModifyDomainTempInstRequest) SetInstName(instName string)
- func (r *ModifyDomainTempInstRequest) SetInstProInfoMap(instProInfoMap interface{})
- func (r *ModifyDomainTempInstRequest) SetTempId(tempId int64)
- type ModifyDomainTempInstResponse
- type ModifyDomainTempInstResult
- type OperateIpBlackListRequest
- type OperateIpBlackListResponse
- type OperateIpBlackListResult
- type OperateLiveDomainIpBlackListRequest
- func NewOperateLiveDomainIpBlackListRequest(domain string) *OperateLiveDomainIpBlackListRequest
- func NewOperateLiveDomainIpBlackListRequestWithAllParams(domain string, blackIpsEnable *string) *OperateLiveDomainIpBlackListRequest
- func NewOperateLiveDomainIpBlackListRequestWithoutParam() *OperateLiveDomainIpBlackListRequest
- type OperateLiveDomainIpBlackListResponse
- type OperateLiveDomainIpBlackListResult
- type OperatePurgeTaskRequest
- type OperatePurgeTaskResponse
- type OperatePurgeTaskResult
- type OperateShareCacheRequest
- type OperateShareCacheResponse
- type OperateShareCacheResult
- type PreviewCertificateRequest
- type PreviewCertificateResponse
- type PreviewCertificateResult
- type QueryAccesskeyConfigRequest
- type QueryAccesskeyConfigResponse
- type QueryAccesskeyConfigResult
- type QueryAreaIspListRequest
- type QueryAreaIspListResponse
- type QueryAreaIspListResult
- type QueryAreaIspListV2Request
- type QueryAreaIspListV2Response
- type QueryAreaIspListV2Result
- type QueryAttackTypeCountRequest
- type QueryAttackTypeCountResponse
- type QueryAttackTypeCountResult
- type QueryAvgBandwidthForPCdnRequest
- func NewQueryAvgBandwidthForPCdnRequest(starttime string, stoptime string) *QueryAvgBandwidthForPCdnRequest
- func NewQueryAvgBandwidthForPCdnRequestWithAllParams(starttime string, stoptime string, clientid *string, page *int, size *int) *QueryAvgBandwidthForPCdnRequest
- func NewQueryAvgBandwidthForPCdnRequestWithoutParam() *QueryAvgBandwidthForPCdnRequest
- func (r QueryAvgBandwidthForPCdnRequest) GetRegionId() string
- func (r *QueryAvgBandwidthForPCdnRequest) SetClientid(clientid string)
- func (r *QueryAvgBandwidthForPCdnRequest) SetPage(page int)
- func (r *QueryAvgBandwidthForPCdnRequest) SetSize(size int)
- func (r *QueryAvgBandwidthForPCdnRequest) SetStarttime(starttime string)
- func (r *QueryAvgBandwidthForPCdnRequest) SetStoptime(stoptime string)
- type QueryAvgBandwidthForPCdnResponse
- type QueryAvgBandwidthForPCdnResult
- type QueryBackSourceOssRequest
- type QueryBackSourceOssResponse
- type QueryBackSourceOssResult
- type QueryBackSourcePathRequest
- type QueryBackSourcePathResponse
- type QueryBackSourcePathResult
- type QueryBackSourceRuleRequest
- type QueryBackSourceRuleResponse
- type QueryBackSourceRuleResult
- type QueryBackSourceRulesRequest
- type QueryBackSourceRulesResponse
- type QueryBackSourceRulesResult
- type QueryBandRequest
- func (r QueryBandRequest) GetRegionId() string
- func (r *QueryBandRequest) SetArea(area string)
- func (r *QueryBandRequest) SetDomain(domain string)
- func (r *QueryBandRequest) SetEndTime(endTime string)
- func (r *QueryBandRequest) SetIsp(isp string)
- func (r *QueryBandRequest) SetPeriod(period string)
- func (r *QueryBandRequest) SetStartTime(startTime string)
- type QueryBandResponse
- type QueryBandResult
- type QueryBandWithAreaRequest
- func (r QueryBandWithAreaRequest) GetRegionId() string
- func (r *QueryBandWithAreaRequest) SetArea(area string)
- func (r *QueryBandWithAreaRequest) SetDomain(domain string)
- func (r *QueryBandWithAreaRequest) SetEndTime(endTime string)
- func (r *QueryBandWithAreaRequest) SetIsp(isp string)
- func (r *QueryBandWithAreaRequest) SetPeriod(period string)
- func (r *QueryBandWithAreaRequest) SetStartTime(startTime string)
- type QueryBandWithAreaResponse
- type QueryBandWithAreaResult
- type QueryCCProtectRulesRequest
- func (r QueryCCProtectRulesRequest) GetRegionId() string
- func (r *QueryCCProtectRulesRequest) SetDomain(domain string)
- func (r *QueryCCProtectRulesRequest) SetId(id string)
- func (r *QueryCCProtectRulesRequest) SetPageIndex(pageIndex int)
- func (r *QueryCCProtectRulesRequest) SetPageSize(pageSize int)
- type QueryCCProtectRulesResponse
- type QueryCCProtectRulesResult
- type QueryCCProtectSwitchRequest
- type QueryCCProtectSwitchResponse
- type QueryCCProtectSwitchResult
- type QueryCdnUserQuotaRequest
- type QueryCdnUserQuotaResponse
- type QueryCdnUserQuotaResult
- type QueryCustomErrorPageRequest
- type QueryCustomErrorPageResponse
- type QueryCustomErrorPageResult
- type QueryCustomizedDirBandWidthRequest
- func NewQueryCustomizedDirBandWidthRequest() *QueryCustomizedDirBandWidthRequest
- func NewQueryCustomizedDirBandWidthRequestWithAllParams(startTime *string, endTime *string, domain *string, dir *string) *QueryCustomizedDirBandWidthRequest
- func NewQueryCustomizedDirBandWidthRequestWithoutParam() *QueryCustomizedDirBandWidthRequest
- func (r QueryCustomizedDirBandWidthRequest) GetRegionId() string
- func (r *QueryCustomizedDirBandWidthRequest) SetDir(dir string)
- func (r *QueryCustomizedDirBandWidthRequest) SetDomain(domain string)
- func (r *QueryCustomizedDirBandWidthRequest) SetEndTime(endTime string)
- func (r *QueryCustomizedDirBandWidthRequest) SetStartTime(startTime string)
- type QueryCustomizedDirBandWidthResponse
- type QueryCustomizedDirBandWidthResult
- type QueryDdosGraphRequest
- type QueryDdosGraphResponse
- type QueryDdosGraphResult
- type QueryDefaultHttpHeaderKeyRequest
- type QueryDefaultHttpHeaderKeyResponse
- type QueryDefaultHttpHeaderKeyResult
- type QueryDeviceStatusForPCdnRequest
- type QueryDeviceStatusForPCdnResponse
- type QueryDeviceStatusForPCdnResult
- type QueryDirBandwidthRequest
- func (r QueryDirBandwidthRequest) GetRegionId() string
- func (r *QueryDirBandwidthRequest) SetCacheType(cacheType string)
- func (r *QueryDirBandwidthRequest) SetDirs(dirs string)
- func (r *QueryDirBandwidthRequest) SetDomain(domain string)
- func (r *QueryDirBandwidthRequest) SetEndTime(endTime string)
- func (r *QueryDirBandwidthRequest) SetRegions(regions string)
- func (r *QueryDirBandwidthRequest) SetStartTime(startTime string)
- type QueryDirBandwidthResponse
- type QueryDirBandwidthResult
- type QueryDirStatsDataRequest
- func (r QueryDirStatsDataRequest) GetRegionId() string
- func (r *QueryDirStatsDataRequest) SetCacheType(cacheType string)
- func (r *QueryDirStatsDataRequest) SetDirs(dirs string)
- func (r *QueryDirStatsDataRequest) SetDomain(domain string)
- func (r *QueryDirStatsDataRequest) SetEndTime(endTime string)
- func (r *QueryDirStatsDataRequest) SetStartTime(startTime string)
- type QueryDirStatsDataResponse
- type QueryDirStatsDataResult
- type QueryDomainAllConfigClassifyRequest
- type QueryDomainAllConfigClassifyResponse
- type QueryDomainAllConfigClassifyResult
- type QueryDomainConfigRequest
- type QueryDomainConfigResponse
- type QueryDomainConfigResult
- type QueryDomainConfigStatusRequest
- type QueryDomainConfigStatusResponse
- type QueryDomainConfigStatusResult
- type QueryDomainGroupDetailRequest
- type QueryDomainGroupDetailResponse
- type QueryDomainGroupDetailResult
- type QueryDomainGroupListRequest
- func NewQueryDomainGroupListRequest() *QueryDomainGroupListRequest
- func NewQueryDomainGroupListRequestWithAllParams(shareCache *string, pageNumber *int, pageSize *int, primaryDomain *string, ...) *QueryDomainGroupListRequest
- func NewQueryDomainGroupListRequestWithoutParam() *QueryDomainGroupListRequest
- func (r QueryDomainGroupListRequest) GetRegionId() string
- func (r *QueryDomainGroupListRequest) SetDomainGroupName(domainGroupName string)
- func (r *QueryDomainGroupListRequest) SetPageNumber(pageNumber int)
- func (r *QueryDomainGroupListRequest) SetPageSize(pageSize int)
- func (r *QueryDomainGroupListRequest) SetPrimaryDomain(primaryDomain string)
- func (r *QueryDomainGroupListRequest) SetShareCache(shareCache string)
- type QueryDomainGroupListResponse
- type QueryDomainGroupListResult
- type QueryDomainLogRequest
- func (r QueryDomainLogRequest) GetRegionId() string
- func (r *QueryDomainLogRequest) SetDomain(domain string)
- func (r *QueryDomainLogRequest) SetEndTime(endTime string)
- func (r *QueryDomainLogRequest) SetInterval(interval string)
- func (r *QueryDomainLogRequest) SetLogType(logType string)
- func (r *QueryDomainLogRequest) SetPageNumber(pageNumber int)
- func (r *QueryDomainLogRequest) SetPageSize(pageSize int)
- func (r *QueryDomainLogRequest) SetStartTime(startTime string)
- type QueryDomainLogResponse
- type QueryDomainLogResult
- type QueryDomainTempInstListRequest
- type QueryDomainTempInstListResponse
- type QueryDomainTempInstListResult
- type QueryDomainTempInstRequest
- type QueryDomainTempInstResponse
- type QueryDomainTempInstResult
- type QueryDomainTempProKeysRequest
- type QueryDomainTempProKeysResponse
- type QueryDomainTempProKeysResult
- type QueryDomainsLogRequest
- func (r QueryDomainsLogRequest) GetRegionId() string
- func (r *QueryDomainsLogRequest) SetDomains(domains []string)
- func (r *QueryDomainsLogRequest) SetEndTime(endTime string)
- func (r *QueryDomainsLogRequest) SetInterval(interval string)
- func (r *QueryDomainsLogRequest) SetLogType(logType string)
- func (r *QueryDomainsLogRequest) SetStartTime(startTime string)
- type QueryDomainsLogResponse
- type QueryDomainsLogResult
- type QueryDomainsNotInGroupRequest
- type QueryDomainsNotInGroupResponse
- type QueryDomainsNotInGroupResult
- type QueryExtraCacheTimeRequest
- type QueryExtraCacheTimeResponse
- type QueryExtraCacheTimeResult
- type QueryFilterArgsRequest
- type QueryFilterArgsResponse
- type QueryFilterArgsResult
- type QueryFollowRedirectRequest
- type QueryFollowRedirectResponse
- type QueryFollowRedirectResult
- type QueryFollowSourceProtocolRequest
- type QueryFollowSourceProtocolResponse
- type QueryFollowSourceProtocolResult
- type QueryForbiddenInfoListRequest
- func NewQueryForbiddenInfoListRequest() *QueryForbiddenInfoListRequest
- func NewQueryForbiddenInfoListRequestWithAllParams(queryDomain *string, forbiddenUrl *string, pageNumber *int, pageSize *int) *QueryForbiddenInfoListRequest
- func NewQueryForbiddenInfoListRequestWithoutParam() *QueryForbiddenInfoListRequest
- func (r QueryForbiddenInfoListRequest) GetRegionId() string
- func (r *QueryForbiddenInfoListRequest) SetForbiddenUrl(forbiddenUrl string)
- func (r *QueryForbiddenInfoListRequest) SetPageNumber(pageNumber int)
- func (r *QueryForbiddenInfoListRequest) SetPageSize(pageSize int)
- func (r *QueryForbiddenInfoListRequest) SetQueryDomain(queryDomain string)
- type QueryForbiddenInfoListResponse
- type QueryForbiddenInfoListResult
- type QueryGeoAreasRequest
- type QueryGeoAreasResponse
- type QueryGeoAreasResult
- type QueryHttp2Request
- type QueryHttp2Response
- type QueryHttp2Result
- type QueryHttpHeaderRequest
- type QueryHttpHeaderResponse
- type QueryHttpHeaderResult
- type QueryIpBlackListRequest
- type QueryIpBlackListResponse
- type QueryIpBlackListResult
- type QueryIpBlackSettingStatusRequest
- type QueryIpBlackSettingStatusResponse
- type QueryIpBlackSettingStatusResult
- type QueryJBoxAvgBandwidthRequest
- func NewQueryJBoxAvgBandwidthRequest(starttime string, stoptime string, pluginPin string) *QueryJBoxAvgBandwidthRequest
- func NewQueryJBoxAvgBandwidthRequestWithAllParams(starttime string, stoptime string, pluginPin string, clientid *string, ...) *QueryJBoxAvgBandwidthRequest
- func NewQueryJBoxAvgBandwidthRequestWithoutParam() *QueryJBoxAvgBandwidthRequest
- func (r QueryJBoxAvgBandwidthRequest) GetRegionId() string
- func (r *QueryJBoxAvgBandwidthRequest) SetClientid(clientid string)
- func (r *QueryJBoxAvgBandwidthRequest) SetPage(page int)
- func (r *QueryJBoxAvgBandwidthRequest) SetPluginPin(pluginPin string)
- func (r *QueryJBoxAvgBandwidthRequest) SetSize(size int)
- func (r *QueryJBoxAvgBandwidthRequest) SetStarttime(starttime string)
- func (r *QueryJBoxAvgBandwidthRequest) SetStoptime(stoptime string)
- type QueryJBoxAvgBandwidthResponse
- type QueryJBoxAvgBandwidthResult
- type QueryJDBoxStatisticsDataRequest
- func NewQueryJDBoxStatisticsDataRequest() *QueryJDBoxStatisticsDataRequest
- func NewQueryJDBoxStatisticsDataRequestWithAllParams(startTime *int64, endTime *int64, fields *string, area *string, isp *string, ...) *QueryJDBoxStatisticsDataRequest
- func NewQueryJDBoxStatisticsDataRequestWithoutParam() *QueryJDBoxStatisticsDataRequest
- func (r QueryJDBoxStatisticsDataRequest) GetRegionId() string
- func (r *QueryJDBoxStatisticsDataRequest) SetArea(area string)
- func (r *QueryJDBoxStatisticsDataRequest) SetCategory(category string)
- func (r *QueryJDBoxStatisticsDataRequest) SetEndTime(endTime int64)
- func (r *QueryJDBoxStatisticsDataRequest) SetFields(fields string)
- func (r *QueryJDBoxStatisticsDataRequest) SetIsp(isp string)
- func (r *QueryJDBoxStatisticsDataRequest) SetMacAddr(macAddr string)
- func (r *QueryJDBoxStatisticsDataRequest) SetPeriod(period string)
- func (r *QueryJDBoxStatisticsDataRequest) SetPluginPin(pluginPin string)
- func (r *QueryJDBoxStatisticsDataRequest) SetStartTime(startTime int64)
- type QueryJDBoxStatisticsDataResponse
- type QueryJDBoxStatisticsDataResult
- type QueryJDBoxStatisticsDataWithGroupRequest
- func NewQueryJDBoxStatisticsDataWithGroupRequest() *QueryJDBoxStatisticsDataWithGroupRequest
- func NewQueryJDBoxStatisticsDataWithGroupRequestWithAllParams(startTime *int64, endTime *int64, groupBy *string, fields *string, ...) *QueryJDBoxStatisticsDataWithGroupRequest
- func NewQueryJDBoxStatisticsDataWithGroupRequestWithoutParam() *QueryJDBoxStatisticsDataWithGroupRequest
- func (r QueryJDBoxStatisticsDataWithGroupRequest) GetRegionId() string
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetArea(area string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetCategory(category string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetEndTime(endTime int64)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetFields(fields string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetGroupBy(groupBy string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetIsp(isp string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetMacAddr(macAddr string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetPeriod(period string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetPluginPin(pluginPin string)
- func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetStartTime(startTime int64)
- type QueryJDBoxStatisticsDataWithGroupResponse
- type QueryJDBoxStatisticsDataWithGroupResult
- type QueryLiveDomainAppsRequest
- type QueryLiveDomainAppsResponse
- type QueryLiveDomainAppsResult
- type QueryLiveDomainDetailRequest
- type QueryLiveDomainDetailResponse
- type QueryLiveDomainDetailResult
- type QueryLiveDomainIpBlackWhiteListRequest
- func NewQueryLiveDomainIpBlackWhiteListRequest(domain string) *QueryLiveDomainIpBlackWhiteListRequest
- func NewQueryLiveDomainIpBlackWhiteListRequestWithAllParams(domain string) *QueryLiveDomainIpBlackWhiteListRequest
- func NewQueryLiveDomainIpBlackWhiteListRequestWithoutParam() *QueryLiveDomainIpBlackWhiteListRequest
- type QueryLiveDomainIpBlackWhiteListResponse
- type QueryLiveDomainIpBlackWhiteListResult
- type QueryLivePrefetchTaskRequest
- type QueryLivePrefetchTaskResponse
- type QueryLivePrefetchTaskResult
- type QueryLiveStatisticsAreaDataGroupByRequest
- func NewQueryLiveStatisticsAreaDataGroupByRequest() *QueryLiveStatisticsAreaDataGroupByRequest
- func NewQueryLiveStatisticsAreaDataGroupByRequestWithAllParams(startTime *string, endTime *string, domain *string, appName *string, ...) *QueryLiveStatisticsAreaDataGroupByRequest
- func NewQueryLiveStatisticsAreaDataGroupByRequestWithoutParam() *QueryLiveStatisticsAreaDataGroupByRequest
- func (r QueryLiveStatisticsAreaDataGroupByRequest) GetRegionId() string
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetAppName(appName string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetArea(area string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetCacheLevel(cacheLevel string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetCacheType(cacheType string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetDomain(domain string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetEndTime(endTime string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetFields(fields string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetGroupBy(groupBy string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetIsp(isp string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetPeriod(period string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetReqMethod(reqMethod string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetScheme(scheme string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetStartTime(startTime string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetStreamName(streamName string)
- func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetSubDomain(subDomain string)
- type QueryLiveStatisticsAreaDataGroupByResponse
- type QueryLiveStatisticsAreaDataGroupByResult
- type QueryLiveStatisticsDataRequest
- func NewQueryLiveStatisticsDataRequest() *QueryLiveStatisticsDataRequest
- func NewQueryLiveStatisticsDataRequestWithAllParams(startTime *string, endTime *string, domain *string, appName *string, ...) *QueryLiveStatisticsDataRequest
- func NewQueryLiveStatisticsDataRequestWithoutParam() *QueryLiveStatisticsDataRequest
- func (r QueryLiveStatisticsDataRequest) GetRegionId() string
- func (r *QueryLiveStatisticsDataRequest) SetAppName(appName string)
- func (r *QueryLiveStatisticsDataRequest) SetArea(area string)
- func (r *QueryLiveStatisticsDataRequest) SetCacheLevel(cacheLevel string)
- func (r *QueryLiveStatisticsDataRequest) SetCacheType(cacheType string)
- func (r *QueryLiveStatisticsDataRequest) SetDomain(domain string)
- func (r *QueryLiveStatisticsDataRequest) SetEndTime(endTime string)
- func (r *QueryLiveStatisticsDataRequest) SetFields(fields string)
- func (r *QueryLiveStatisticsDataRequest) SetIsp(isp string)
- func (r *QueryLiveStatisticsDataRequest) SetPeriod(period string)
- func (r *QueryLiveStatisticsDataRequest) SetReqMethod(reqMethod string)
- func (r *QueryLiveStatisticsDataRequest) SetScheme(scheme string)
- func (r *QueryLiveStatisticsDataRequest) SetStartTime(startTime string)
- func (r *QueryLiveStatisticsDataRequest) SetStreamName(streamName string)
- func (r *QueryLiveStatisticsDataRequest) SetSubDomain(subDomain string)
- type QueryLiveStatisticsDataResponse
- type QueryLiveStatisticsDataResult
- type QueryLiveTrafficGroupSumRequest
- func NewQueryLiveTrafficGroupSumRequest() *QueryLiveTrafficGroupSumRequest
- func NewQueryLiveTrafficGroupSumRequestWithAllParams(startTime *string, endTime *string, domain *string, subDomain *string, ...) *QueryLiveTrafficGroupSumRequest
- func NewQueryLiveTrafficGroupSumRequestWithoutParam() *QueryLiveTrafficGroupSumRequest
- func (r QueryLiveTrafficGroupSumRequest) GetRegionId() string
- func (r *QueryLiveTrafficGroupSumRequest) SetAppName(appName string)
- func (r *QueryLiveTrafficGroupSumRequest) SetArea(area string)
- func (r *QueryLiveTrafficGroupSumRequest) SetCacheLevel(cacheLevel string)
- func (r *QueryLiveTrafficGroupSumRequest) SetCacheType(cacheType string)
- func (r *QueryLiveTrafficGroupSumRequest) SetDomain(domain string)
- func (r *QueryLiveTrafficGroupSumRequest) SetEndTime(endTime string)
- func (r *QueryLiveTrafficGroupSumRequest) SetFields(fields string)
- func (r *QueryLiveTrafficGroupSumRequest) SetGroupBy(groupBy string)
- func (r *QueryLiveTrafficGroupSumRequest) SetIsp(isp string)
- func (r *QueryLiveTrafficGroupSumRequest) SetPeriod(period string)
- func (r *QueryLiveTrafficGroupSumRequest) SetReqMethod(reqMethod string)
- func (r *QueryLiveTrafficGroupSumRequest) SetScheme(scheme string)
- func (r *QueryLiveTrafficGroupSumRequest) SetStartTime(startTime string)
- func (r *QueryLiveTrafficGroupSumRequest) SetStreamName(streamName string)
- func (r *QueryLiveTrafficGroupSumRequest) SetSubDomain(subDomain string)
- type QueryLiveTrafficGroupSumResponse
- type QueryLiveTrafficGroupSumResult
- type QueryMixStatisticsDataRequest
- func NewQueryMixStatisticsDataRequest() *QueryMixStatisticsDataRequest
- func NewQueryMixStatisticsDataRequestWithAllParams(startTime *string, endTime *string, domain *string, fields *string, ...) *QueryMixStatisticsDataRequest
- func NewQueryMixStatisticsDataRequestWithoutParam() *QueryMixStatisticsDataRequest
- func (r QueryMixStatisticsDataRequest) GetRegionId() string
- func (r *QueryMixStatisticsDataRequest) SetArea(area string)
- func (r *QueryMixStatisticsDataRequest) SetCacheType(cacheType string)
- func (r *QueryMixStatisticsDataRequest) SetDomain(domain string)
- func (r *QueryMixStatisticsDataRequest) SetEndTime(endTime string)
- func (r *QueryMixStatisticsDataRequest) SetFields(fields string)
- func (r *QueryMixStatisticsDataRequest) SetIpType(ipType string)
- func (r *QueryMixStatisticsDataRequest) SetIsp(isp string)
- func (r *QueryMixStatisticsDataRequest) SetPeriod(period string)
- func (r *QueryMixStatisticsDataRequest) SetScheme(scheme string)
- func (r *QueryMixStatisticsDataRequest) SetStartTime(startTime string)
- type QueryMixStatisticsDataResponse
- type QueryMixStatisticsDataResult
- type QueryMixStatisticsWithAreaDataRequest
- func NewQueryMixStatisticsWithAreaDataRequest() *QueryMixStatisticsWithAreaDataRequest
- func NewQueryMixStatisticsWithAreaDataRequestWithAllParams(startTime *string, endTime *string, domain *string, fields *string, ...) *QueryMixStatisticsWithAreaDataRequest
- func NewQueryMixStatisticsWithAreaDataRequestWithoutParam() *QueryMixStatisticsWithAreaDataRequest
- func (r QueryMixStatisticsWithAreaDataRequest) GetRegionId() string
- func (r *QueryMixStatisticsWithAreaDataRequest) SetArea(area string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetCacheType(cacheType string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetDomain(domain string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetEndTime(endTime string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetFields(fields string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetIpType(ipType string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetIsp(isp string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetPeriod(period string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetStartTime(startTime string)
- type QueryMixStatisticsWithAreaDataResponse
- type QueryMixStatisticsWithAreaDataResult
- type QueryMixTrafficGroupSumRequest
- func NewQueryMixTrafficGroupSumRequest() *QueryMixTrafficGroupSumRequest
- func NewQueryMixTrafficGroupSumRequestWithAllParams(startTime *string, endTime *string, domain *string, fields *string, ...) *QueryMixTrafficGroupSumRequest
- func NewQueryMixTrafficGroupSumRequestWithoutParam() *QueryMixTrafficGroupSumRequest
- func (r QueryMixTrafficGroupSumRequest) GetRegionId() string
- func (r *QueryMixTrafficGroupSumRequest) SetArea(area string)
- func (r *QueryMixTrafficGroupSumRequest) SetCacheType(cacheType string)
- func (r *QueryMixTrafficGroupSumRequest) SetDomain(domain string)
- func (r *QueryMixTrafficGroupSumRequest) SetEndTime(endTime string)
- func (r *QueryMixTrafficGroupSumRequest) SetFields(fields string)
- func (r *QueryMixTrafficGroupSumRequest) SetGroupBy(groupBy string)
- func (r *QueryMixTrafficGroupSumRequest) SetIpType(ipType string)
- func (r *QueryMixTrafficGroupSumRequest) SetIsp(isp string)
- func (r *QueryMixTrafficGroupSumRequest) SetPeriod(period string)
- func (r *QueryMixTrafficGroupSumRequest) SetStartTime(startTime string)
- type QueryMixTrafficGroupSumResponse
- type QueryMixTrafficGroupSumResult
- type QueryMonitorRequest
- type QueryMonitorResponse
- type QueryMonitorResult
- type QueryNetProtectionRulesRequest
- type QueryNetProtectionRulesResponse
- type QueryNetProtectionRulesResult
- type QueryNetProtectionRulesSwitchRequest
- type QueryNetProtectionRulesSwitchResponse
- type QueryNetProtectionRulesSwitchResult
- type QueryOnlineBillingTypeRequest
- type QueryOnlineBillingTypeResponse
- type QueryOnlineBillingTypeResult
- type QueryOssBucketsRequest
- type QueryOssBucketsResponse
- type QueryOssBucketsResult
- type QueryPinCanIPTypeRequest
- type QueryPinCanIPTypeResponse
- type QueryPinCanIPTypeResult
- type QueryPrefetchTaskRequest
- func (r QueryPrefetchTaskRequest) GetRegionId() string
- func (r *QueryPrefetchTaskRequest) SetDomain(domain string)
- func (r *QueryPrefetchTaskRequest) SetFileId(fileId string)
- func (r *QueryPrefetchTaskRequest) SetIsp(isp string)
- func (r *QueryPrefetchTaskRequest) SetPageNumber(pageNumber int)
- func (r *QueryPrefetchTaskRequest) SetPageSize(pageSize int)
- func (r *QueryPrefetchTaskRequest) SetRegion(region string)
- func (r *QueryPrefetchTaskRequest) SetStatus(status int)
- func (r *QueryPrefetchTaskRequest) SetTaskType(taskType int)
- func (r *QueryPrefetchTaskRequest) SetUrl(url string)
- type QueryPrefetchTaskResponse
- type QueryPrefetchTaskResult
- type QueryPurgeTaskRequest
- func (r QueryPurgeTaskRequest) GetRegionId() string
- func (r *QueryPurgeTaskRequest) SetDomain(domain string)
- func (r *QueryPurgeTaskRequest) SetFileId(fileId string)
- func (r *QueryPurgeTaskRequest) SetPageNumber(pageNumber int)
- func (r *QueryPurgeTaskRequest) SetPageSize(pageSize int)
- func (r *QueryPurgeTaskRequest) SetStatus(status int)
- func (r *QueryPurgeTaskRequest) SetUrl(url string)
- type QueryPurgeTaskResponse
- type QueryPurgeTaskResult
- type QueryPushDomainORAppOrStreamRequest
- func NewQueryPushDomainORAppOrStreamRequest(domain string) *QueryPushDomainORAppOrStreamRequest
- func NewQueryPushDomainORAppOrStreamRequestWithAllParams(domain string, app *string, stream *string, limit *int) *QueryPushDomainORAppOrStreamRequest
- func NewQueryPushDomainORAppOrStreamRequestWithoutParam() *QueryPushDomainORAppOrStreamRequest
- func (r QueryPushDomainORAppOrStreamRequest) GetRegionId() string
- func (r *QueryPushDomainORAppOrStreamRequest) SetApp(app string)
- func (r *QueryPushDomainORAppOrStreamRequest) SetDomain(domain string)
- func (r *QueryPushDomainORAppOrStreamRequest) SetLimit(limit int)
- func (r *QueryPushDomainORAppOrStreamRequest) SetStream(stream string)
- type QueryPushDomainORAppOrStreamResponse
- type QueryPushDomainORAppOrStreamResult
- type QueryRefreshLimitRequest
- type QueryRefreshLimitResponse
- type QueryRefreshLimitResult
- type QueryRefreshTaskByIdRequest
- type QueryRefreshTaskByIdResponse
- type QueryRefreshTaskByIdResult
- type QueryRefreshTaskByIdsRequest
- type QueryRefreshTaskByIdsResponse
- type QueryRefreshTaskByIdsResult
- type QueryRefreshTaskRequest
- func (r QueryRefreshTaskRequest) GetRegionId() string
- func (r *QueryRefreshTaskRequest) SetAccountType(accountType string)
- func (r *QueryRefreshTaskRequest) SetEndTime(endTime string)
- func (r *QueryRefreshTaskRequest) SetKeyword(keyword string)
- func (r *QueryRefreshTaskRequest) SetPageNumber(pageNumber int)
- func (r *QueryRefreshTaskRequest) SetPageSize(pageSize int)
- func (r *QueryRefreshTaskRequest) SetStartTime(startTime string)
- func (r *QueryRefreshTaskRequest) SetSubUsers(subUsers string)
- func (r *QueryRefreshTaskRequest) SetTaskId(taskId string)
- func (r *QueryRefreshTaskRequest) SetTaskStatus(taskStatus string)
- func (r *QueryRefreshTaskRequest) SetTaskType(taskType string)
- type QueryRefreshTaskResponse
- type QueryRefreshTaskResult
- type QueryServiceIpRequest
- type QueryServiceIpResponse
- type QueryServiceIpResult
- type QueryServiceNoticeRequest
- type QueryServiceNoticeResponse
- type QueryServiceNoticeResult
- type QueryStatisticsDataGroupByAreaRequest
- func NewQueryStatisticsDataGroupByAreaRequest() *QueryStatisticsDataGroupByAreaRequest
- func NewQueryStatisticsDataGroupByAreaRequestWithAllParams(startTime *string, endTime *string, domain *string, subDomain *string, ...) *QueryStatisticsDataGroupByAreaRequest
- func NewQueryStatisticsDataGroupByAreaRequestWithoutParam() *QueryStatisticsDataGroupByAreaRequest
- func (r QueryStatisticsDataGroupByAreaRequest) GetRegionId() string
- func (r *QueryStatisticsDataGroupByAreaRequest) SetAbroad(abroad bool)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetArea(area string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetCacheType(cacheType string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetDomain(domain string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetEndTime(endTime string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetFields(fields string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetGroupBy(groupBy string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetIpType(ipType string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetIsp(isp string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetOrigin(origin bool)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetPeriod(period string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetScheme(scheme string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetStartTime(startTime string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetSubDomain(subDomain string)
- type QueryStatisticsDataGroupByAreaResponse
- type QueryStatisticsDataGroupByAreaResult
- type QueryStatisticsDataGroupSumRequest
- func NewQueryStatisticsDataGroupSumRequest() *QueryStatisticsDataGroupSumRequest
- func NewQueryStatisticsDataGroupSumRequestWithAllParams(startTime *string, endTime *string, domain *string, subDomain *string, ...) *QueryStatisticsDataGroupSumRequest
- func NewQueryStatisticsDataGroupSumRequestWithoutParam() *QueryStatisticsDataGroupSumRequest
- func (r QueryStatisticsDataGroupSumRequest) GetRegionId() string
- func (r *QueryStatisticsDataGroupSumRequest) SetAbroad(abroad bool)
- func (r *QueryStatisticsDataGroupSumRequest) SetArea(area string)
- func (r *QueryStatisticsDataGroupSumRequest) SetCacheType(cacheType string)
- func (r *QueryStatisticsDataGroupSumRequest) SetDomain(domain string)
- func (r *QueryStatisticsDataGroupSumRequest) SetEndTime(endTime string)
- func (r *QueryStatisticsDataGroupSumRequest) SetFields(fields string)
- func (r *QueryStatisticsDataGroupSumRequest) SetGroupBy(groupBy string)
- func (r *QueryStatisticsDataGroupSumRequest) SetIpType(ipType string)
- func (r *QueryStatisticsDataGroupSumRequest) SetIsp(isp string)
- func (r *QueryStatisticsDataGroupSumRequest) SetOrigin(origin bool)
- func (r *QueryStatisticsDataGroupSumRequest) SetPeriod(period string)
- func (r *QueryStatisticsDataGroupSumRequest) SetStartTime(startTime string)
- func (r *QueryStatisticsDataGroupSumRequest) SetSubDomain(subDomain string)
- type QueryStatisticsDataGroupSumResponse
- type QueryStatisticsDataGroupSumResult
- type QueryStatisticsDataRequest
- func (r QueryStatisticsDataRequest) GetRegionId() string
- func (r *QueryStatisticsDataRequest) SetAbroad(abroad bool)
- func (r *QueryStatisticsDataRequest) SetArea(area string)
- func (r *QueryStatisticsDataRequest) SetCacheType(cacheType string)
- func (r *QueryStatisticsDataRequest) SetDomain(domain string)
- func (r *QueryStatisticsDataRequest) SetEndTime(endTime string)
- func (r *QueryStatisticsDataRequest) SetFields(fields string)
- func (r *QueryStatisticsDataRequest) SetIpType(ipType string)
- func (r *QueryStatisticsDataRequest) SetIsp(isp string)
- func (r *QueryStatisticsDataRequest) SetOrigin(origin bool)
- func (r *QueryStatisticsDataRequest) SetPeriod(period string)
- func (r *QueryStatisticsDataRequest) SetStartTime(startTime string)
- func (r *QueryStatisticsDataRequest) SetSubDomain(subDomain string)
- type QueryStatisticsDataResponse
- type QueryStatisticsDataResult
- type QueryStatisticsTopIpRequest
- func (r QueryStatisticsTopIpRequest) GetRegionId() string
- func (r *QueryStatisticsTopIpRequest) SetDomain(domain string)
- func (r *QueryStatisticsTopIpRequest) SetEndTime(endTime string)
- func (r *QueryStatisticsTopIpRequest) SetSize(size int)
- func (r *QueryStatisticsTopIpRequest) SetStartTime(startTime string)
- func (r *QueryStatisticsTopIpRequest) SetSubDomain(subDomain string)
- func (r *QueryStatisticsTopIpRequest) SetTopBy(topBy string)
- type QueryStatisticsTopIpResponse
- type QueryStatisticsTopIpResult
- type QueryStatisticsTopUrlRequest
- func NewQueryStatisticsTopUrlRequest() *QueryStatisticsTopUrlRequest
- func NewQueryStatisticsTopUrlRequestWithAllParams(startTime *string, endTime *string, domain *string, subDomain *string, ...) *QueryStatisticsTopUrlRequest
- func NewQueryStatisticsTopUrlRequestWithoutParam() *QueryStatisticsTopUrlRequest
- func (r QueryStatisticsTopUrlRequest) GetRegionId() string
- func (r *QueryStatisticsTopUrlRequest) SetDomain(domain string)
- func (r *QueryStatisticsTopUrlRequest) SetEndTime(endTime string)
- func (r *QueryStatisticsTopUrlRequest) SetSize(size int)
- func (r *QueryStatisticsTopUrlRequest) SetStartTime(startTime string)
- func (r *QueryStatisticsTopUrlRequest) SetSubDomain(subDomain string)
- func (r *QueryStatisticsTopUrlRequest) SetTopBy(topBy string)
- type QueryStatisticsTopUrlResponse
- type QueryStatisticsTopUrlResult
- type QueryStreamInfoRequest
- func (r QueryStreamInfoRequest) GetRegionId() string
- func (r *QueryStreamInfoRequest) SetAppName(appName string)
- func (r *QueryStreamInfoRequest) SetDomain(domain string)
- func (r *QueryStreamInfoRequest) SetEndTime(endTime string)
- func (r *QueryStreamInfoRequest) SetPageNum(pageNum int)
- func (r *QueryStreamInfoRequest) SetPageSize(pageSize int)
- func (r *QueryStreamInfoRequest) SetStartTime(startTime string)
- func (r *QueryStreamInfoRequest) SetStreamName(streamName string)
- type QueryStreamInfoResponse
- type QueryStreamInfoResult
- type QueryUnForbiddenStatusRequest
- func NewQueryUnForbiddenStatusRequest() *QueryUnForbiddenStatusRequest
- func NewQueryUnForbiddenStatusRequestWithAllParams(domain *string, url *string, taskId *string, pageNumber *int, pageSize *int) *QueryUnForbiddenStatusRequest
- func NewQueryUnForbiddenStatusRequestWithoutParam() *QueryUnForbiddenStatusRequest
- func (r QueryUnForbiddenStatusRequest) GetRegionId() string
- func (r *QueryUnForbiddenStatusRequest) SetDomain(domain string)
- func (r *QueryUnForbiddenStatusRequest) SetPageNumber(pageNumber int)
- func (r *QueryUnForbiddenStatusRequest) SetPageSize(pageSize int)
- func (r *QueryUnForbiddenStatusRequest) SetTaskId(taskId string)
- func (r *QueryUnForbiddenStatusRequest) SetUrl(url string)
- type QueryUnForbiddenStatusResponse
- type QueryUnForbiddenStatusResult
- type QueryUrlRuleRequest
- type QueryUrlRuleResponse
- type QueryUrlRuleResult
- type QueryUserAgentRequest
- type QueryUserAgentResponse
- type QueryUserAgentResult
- type QueryWafBlackRuleSwitchRequest
- type QueryWafBlackRuleSwitchResponse
- type QueryWafBlackRuleSwitchResult
- type QueryWafRegionsRequest
- type QueryWafRegionsResponse
- type QueryWafRegionsResult
- type QueryWafSwitchRequest
- type QueryWafSwitchResponse
- type QueryWafSwitchResult
- type QueryWafWhiteRuleSwitchRequest
- type QueryWafWhiteRuleSwitchResponse
- type QueryWafWhiteRuleSwitchResult
- type QueryWebProtectSettingsRequest
- type QueryWebProtectSettingsResponse
- type QueryWebProtectSettingsResult
- type QueryWebProtectSwitchRequest
- type QueryWebProtectSwitchResponse
- type QueryWebProtectSwitchResult
- type QuerywafBlackRulesRequest
- func NewQuerywafBlackRulesRequest(domain string, ruleType string) *QuerywafBlackRulesRequest
- func NewQuerywafBlackRulesRequestWithAllParams(domain string, ruleType string, id *string, pageSize *int, pageIndex *int) *QuerywafBlackRulesRequest
- func NewQuerywafBlackRulesRequestWithoutParam() *QuerywafBlackRulesRequest
- func (r QuerywafBlackRulesRequest) GetRegionId() string
- func (r *QuerywafBlackRulesRequest) SetDomain(domain string)
- func (r *QuerywafBlackRulesRequest) SetId(id string)
- func (r *QuerywafBlackRulesRequest) SetPageIndex(pageIndex int)
- func (r *QuerywafBlackRulesRequest) SetPageSize(pageSize int)
- func (r *QuerywafBlackRulesRequest) SetRuleType(ruleType string)
- type QuerywafBlackRulesResponse
- type QuerywafBlackRulesResult
- type QuerywafWhiteRulesRequest
- func NewQuerywafWhiteRulesRequest(domain string, ruleType string) *QuerywafWhiteRulesRequest
- func NewQuerywafWhiteRulesRequestWithAllParams(domain string, ruleType string, id *string, pageSize *int, pageIndex *int) *QuerywafWhiteRulesRequest
- func NewQuerywafWhiteRulesRequestWithoutParam() *QuerywafWhiteRulesRequest
- func (r QuerywafWhiteRulesRequest) GetRegionId() string
- func (r *QuerywafWhiteRulesRequest) SetDomain(domain string)
- func (r *QuerywafWhiteRulesRequest) SetId(id string)
- func (r *QuerywafWhiteRulesRequest) SetPageIndex(pageIndex int)
- func (r *QuerywafWhiteRulesRequest) SetPageSize(pageSize int)
- func (r *QuerywafWhiteRulesRequest) SetRuleType(ruleType string)
- type QuerywafWhiteRulesResponse
- type QuerywafWhiteRulesResult
- type SearchAttackLogRequest
- func (r SearchAttackLogRequest) GetRegionId() string
- func (r *SearchAttackLogRequest) SetEndTime(endTime string)
- func (r *SearchAttackLogRequest) SetPageNumber(pageNumber int)
- func (r *SearchAttackLogRequest) SetPageSize(pageSize int)
- func (r *SearchAttackLogRequest) SetSortField(sortField string)
- func (r *SearchAttackLogRequest) SetSortRule(sortRule string)
- func (r *SearchAttackLogRequest) SetStartTime(startTime string)
- type SearchAttackLogResponse
- type SearchAttackLogResult
- type SetAccelerateRegionRequest
- type SetAccelerateRegionResponse
- type SetAccelerateRegionResult
- type SetAccesskeyConfigRequest
- func NewSetAccesskeyConfigRequest(domain string) *SetAccesskeyConfigRequest
- func NewSetAccesskeyConfigRequestWithAllParams(domain string, accesskeyType *int, accesskeyKey *string, accesskeyKeep *int) *SetAccesskeyConfigRequest
- func NewSetAccesskeyConfigRequestWithoutParam() *SetAccesskeyConfigRequest
- func (r SetAccesskeyConfigRequest) GetRegionId() string
- func (r *SetAccesskeyConfigRequest) SetAccesskeyKeep(accesskeyKeep int)
- func (r *SetAccesskeyConfigRequest) SetAccesskeyKey(accesskeyKey string)
- func (r *SetAccesskeyConfigRequest) SetAccesskeyType(accesskeyType int)
- func (r *SetAccesskeyConfigRequest) SetDomain(domain string)
- type SetAccesskeyConfigResponse
- type SetAccesskeyConfigResult
- type SetAuthConfigRequest
- func (r SetAuthConfigRequest) GetRegionId() string
- func (r *SetAuthConfigRequest) SetAge(age int)
- func (r *SetAuthConfigRequest) SetAuthKey(authKey string)
- func (r *SetAuthConfigRequest) SetDomain(domain string)
- func (r *SetAuthConfigRequest) SetEnableUrlAuth(enableUrlAuth string)
- func (r *SetAuthConfigRequest) SetEncAlgorithm(encAlgorithm string)
- func (r *SetAuthConfigRequest) SetRule(rule string)
- func (r *SetAuthConfigRequest) SetTimeFormat(timeFormat string)
- func (r *SetAuthConfigRequest) SetUriType(uriType string)
- type SetAuthConfigResponse
- type SetAuthConfigResult
- type SetCCProtectSwitchRequest
- type SetCCProtectSwitchResponse
- type SetCCProtectSwitchResult
- type SetCacheRulesRequest
- type SetCacheRulesResponse
- type SetCacheRulesResult
- type SetCustomErrorPageRequest
- type SetCustomErrorPageResponse
- type SetCustomErrorPageResult
- type SetDomainConfigRequest
- func (r SetDomainConfigRequest) GetRegionId() string
- func (r *SetDomainConfigRequest) SetBackSourceType(backSourceType string)
- func (r *SetDomainConfigRequest) SetDomain(domain string)
- func (r *SetDomainConfigRequest) SetHdrCtrl(hdrCtrl string)
- func (r *SetDomainConfigRequest) SetHttpType(httpType string)
- func (r *SetDomainConfigRequest) SetJcdnTimeAnti(jcdnTimeAnti string)
- func (r *SetDomainConfigRequest) SetJumpType(jumpType string)
- func (r *SetDomainConfigRequest) SetToutiaoHeader(toutiaoHeader string)
- type SetDomainConfigResponse
- type SetDomainConfigResult
- type SetExtraCacheTimeRequest
- type SetExtraCacheTimeResponse
- type SetExtraCacheTimeResult
- type SetFilterArgsRequest
- type SetFilterArgsResponse
- type SetFilterArgsResult
- type SetFollowRedirectRequest
- type SetFollowRedirectResponse
- type SetFollowRedirectResult
- type SetFollowSourceProtocolRequest
- type SetFollowSourceProtocolResponse
- type SetFollowSourceProtocolResult
- type SetGzipRequest
- type SetGzipResponse
- type SetGzipResult
- type SetHttpHeaderRequest
- func (r SetHttpHeaderRequest) GetRegionId() string
- func (r *SetHttpHeaderRequest) SetDomain(domain string)
- func (r *SetHttpHeaderRequest) SetEdgeType(edgeType int)
- func (r *SetHttpHeaderRequest) SetHeaderName(headerName string)
- func (r *SetHttpHeaderRequest) SetHeaderType(headerType string)
- func (r *SetHttpHeaderRequest) SetHeaderValue(headerValue string)
- type SetHttpHeaderResponse
- type SetHttpHeaderResult
- type SetHttpTypeRequest
- func (r SetHttpTypeRequest) GetRegionId() string
- func (r *SetHttpTypeRequest) SetCertFrom(certFrom string)
- func (r *SetHttpTypeRequest) SetCertName(certName string)
- func (r *SetHttpTypeRequest) SetCertificate(certificate string)
- func (r *SetHttpTypeRequest) SetDomain(domain string)
- func (r *SetHttpTypeRequest) SetHttpType(httpType string)
- func (r *SetHttpTypeRequest) SetJumpType(jumpType string)
- func (r *SetHttpTypeRequest) SetRsaKey(rsaKey string)
- func (r *SetHttpTypeRequest) SetSslCertId(sslCertId string)
- func (r *SetHttpTypeRequest) SetSyncToSsl(syncToSsl bool)
- type SetHttpTypeResponse
- type SetHttpTypeResult
- type SetIgnoreQueryStringRequest
- type SetIgnoreQueryStringResponse
- type SetIgnoreQueryStringResult
- type SetIpBlackListRequest
- type SetIpBlackListResponse
- type SetIpBlackListResult
- type SetLiveDomainAccessKeyRequest
- func NewSetLiveDomainAccessKeyRequest(domain string) *SetLiveDomainAccessKeyRequest
- func NewSetLiveDomainAccessKeyRequestWithAllParams(domain string, accesskeyType *int, accesskeyKey *string, authLifeTime *int) *SetLiveDomainAccessKeyRequest
- func NewSetLiveDomainAccessKeyRequestWithoutParam() *SetLiveDomainAccessKeyRequest
- func (r SetLiveDomainAccessKeyRequest) GetRegionId() string
- func (r *SetLiveDomainAccessKeyRequest) SetAccesskeyKey(accesskeyKey string)
- func (r *SetLiveDomainAccessKeyRequest) SetAccesskeyType(accesskeyType int)
- func (r *SetLiveDomainAccessKeyRequest) SetAuthLifeTime(authLifeTime int)
- func (r *SetLiveDomainAccessKeyRequest) SetDomain(domain string)
- type SetLiveDomainAccessKeyResponse
- type SetLiveDomainAccessKeyResult
- type SetLiveDomainBackSourceHostRequest
- func NewSetLiveDomainBackSourceHostRequest(domain string) *SetLiveDomainBackSourceHostRequest
- func NewSetLiveDomainBackSourceHostRequestWithAllParams(domain string, sourceHost *string) *SetLiveDomainBackSourceHostRequest
- func NewSetLiveDomainBackSourceHostRequestWithoutParam() *SetLiveDomainBackSourceHostRequest
- type SetLiveDomainBackSourceHostResponse
- type SetLiveDomainBackSourceHostResult
- type SetLiveDomainBackSourceRequest
- func NewSetLiveDomainBackSourceRequest(domain string) *SetLiveDomainBackSourceRequest
- func NewSetLiveDomainBackSourceRequestWithAllParams(domain string, sourceType *string, backSourceType *string, ...) *SetLiveDomainBackSourceRequest
- func NewSetLiveDomainBackSourceRequestWithoutParam() *SetLiveDomainBackSourceRequest
- func (r SetLiveDomainBackSourceRequest) GetRegionId() string
- func (r *SetLiveDomainBackSourceRequest) SetBackSourceType(backSourceType string)
- func (r *SetLiveDomainBackSourceRequest) SetDefaultSourceHost(defaultSourceHost string)
- func (r *SetLiveDomainBackSourceRequest) SetDomain(domain string)
- func (r *SetLiveDomainBackSourceRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
- func (r *SetLiveDomainBackSourceRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
- func (r *SetLiveDomainBackSourceRequest) SetSourceType(sourceType string)
- type SetLiveDomainBackSourceResponse
- type SetLiveDomainBackSourceResult
- type SetLiveDomainIpBlackListRequest
- func NewSetLiveDomainIpBlackListRequest(domain string) *SetLiveDomainIpBlackListRequest
- func NewSetLiveDomainIpBlackListRequestWithAllParams(domain string, ips []string, ipListType *string) *SetLiveDomainIpBlackListRequest
- func NewSetLiveDomainIpBlackListRequestWithoutParam() *SetLiveDomainIpBlackListRequest
- type SetLiveDomainIpBlackListResponse
- type SetLiveDomainIpBlackListResult
- type SetLiveDomainReferRequest
- func (r SetLiveDomainReferRequest) GetRegionId() string
- func (r *SetLiveDomainReferRequest) SetAllowNoReferHeader(allowNoReferHeader string)
- func (r *SetLiveDomainReferRequest) SetAllowNullReferHeader(allowNullReferHeader string)
- func (r *SetLiveDomainReferRequest) SetDomain(domain string)
- func (r *SetLiveDomainReferRequest) SetReferList(referList []string)
- func (r *SetLiveDomainReferRequest) SetReferType(referType string)
- type SetLiveDomainReferResponse
- type SetLiveDomainReferResult
- type SetMonitorRequest
- type SetMonitorResponse
- type SetMonitorResult
- type SetNetProtectionRulesRequest
- func (r SetNetProtectionRulesRequest) GetRegionId() string
- func (r *SetNetProtectionRulesRequest) SetDatagramRangeMax(datagramRangeMax int64)
- func (r *SetNetProtectionRulesRequest) SetDatagramRangeMin(datagramRangeMin int64)
- func (r *SetNetProtectionRulesRequest) SetDstNewConnLimitEnable(dstNewConnLimitEnable string)
- func (r *SetNetProtectionRulesRequest) SetDstNewConnLimitValue(dstNewConnLimitValue int64)
- func (r *SetNetProtectionRulesRequest) SetGeoBlack(geoBlack []string)
- func (r *SetNetProtectionRulesRequest) SetIpBlack(ipBlack []string)
- func (r *SetNetProtectionRulesRequest) SetIpWhite(ipWhite []string)
- func (r *SetNetProtectionRulesRequest) SetSrcNewConnLimitEnable(srcNewConnLimitEnable string)
- func (r *SetNetProtectionRulesRequest) SetSrcNewConnLimitValue(srcNewConnLimitValue int64)
- type SetNetProtectionRulesResponse
- type SetNetProtectionRulesResult
- type SetNetProtectionRulesSwitchRequest
- type SetNetProtectionRulesSwitchResponse
- type SetNetProtectionRulesSwitchResult
- type SetOnlineBillingTypeRequest
- type SetOnlineBillingTypeResponse
- type SetOnlineBillingTypeResult
- type SetProtocolConvertRequest
- func (r SetProtocolConvertRequest) GetRegionId() string
- func (r *SetProtocolConvertRequest) SetCertFrom(certFrom string)
- func (r *SetProtocolConvertRequest) SetCertName(certName string)
- func (r *SetProtocolConvertRequest) SetCertificate(certificate string)
- func (r *SetProtocolConvertRequest) SetDomain(domain string)
- func (r *SetProtocolConvertRequest) SetProtocolConverts(protocolConverts []cdn.ProtocolConvert)
- func (r *SetProtocolConvertRequest) SetRsaKey(rsaKey string)
- func (r *SetProtocolConvertRequest) SetSslCertId(sslCertId string)
- func (r *SetProtocolConvertRequest) SetSyncToSsl(syncToSsl bool)
- type SetProtocolConvertResponse
- type SetProtocolConvertResult
- type SetRangeRequest
- type SetRangeResponse
- type SetRangeResult
- type SetReferRequest
- func (r SetReferRequest) GetRegionId() string
- func (r *SetReferRequest) SetAllowNoReferHeader(allowNoReferHeader string)
- func (r *SetReferRequest) SetAllowNullReferHeader(allowNullReferHeader string)
- func (r *SetReferRequest) SetDomain(domain string)
- func (r *SetReferRequest) SetReferList(referList []string)
- func (r *SetReferRequest) SetReferType(referType string)
- type SetReferResponse
- type SetReferResult
- type SetRefreshLimitRequest
- func (r SetRefreshLimitRequest) GetRegionId() string
- func (r *SetRefreshLimitRequest) SetDirCount(dirCount int64)
- func (r *SetRefreshLimitRequest) SetPrefetchCount(prefetchCount int64)
- func (r *SetRefreshLimitRequest) SetRefreshCount(refreshCount int64)
- func (r *SetRefreshLimitRequest) SetSubUsers(subUsers []string)
- type SetRefreshLimitResponse
- type SetRefreshLimitResult
- type SetSourceAuthConfigRequest
- func NewSetSourceAuthConfigRequest(domain string) *SetSourceAuthConfigRequest
- func NewSetSourceAuthConfigRequestWithAllParams(domain string, enable *string, originRole *string, authType *string, ...) *SetSourceAuthConfigRequest
- func NewSetSourceAuthConfigRequestWithoutParam() *SetSourceAuthConfigRequest
- func (r SetSourceAuthConfigRequest) GetRegionId() string
- func (r *SetSourceAuthConfigRequest) SetAuthType(authType string)
- func (r *SetSourceAuthConfigRequest) SetDomain(domain string)
- func (r *SetSourceAuthConfigRequest) SetEnable(enable string)
- func (r *SetSourceAuthConfigRequest) SetOriginRole(originRole string)
- func (r *SetSourceAuthConfigRequest) SetOssAuthInfo(ossAuthInfo *cdn.OSSAuthInfo)
- func (r *SetSourceAuthConfigRequest) SetTosAuthInfo(tosAuthInfo *cdn.TOSAuthInfo)
- type SetSourceAuthConfigResponse
- type SetSourceAuthConfigResult
- type SetSourceRequest
- func (r SetSourceRequest) GetRegionId() string
- func (r *SetSourceRequest) SetAccelerateRegion(accelerateRegion string)
- func (r *SetSourceRequest) SetBackSourceType(backSourceType string)
- func (r *SetSourceRequest) SetDefaultSourceHost(defaultSourceHost string)
- func (r *SetSourceRequest) SetDomain(domain string)
- func (r *SetSourceRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
- func (r *SetSourceRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
- func (r *SetSourceRequest) SetOssSource(ossSource string)
- func (r *SetSourceRequest) SetSourceType(sourceType string)
- type SetSourceResponse
- type SetSourceResult
- type SetUserAgentConfigRequest
- type SetUserAgentConfigResponse
- type SetUserAgentConfigResult
- type SetVideoDraftRequest
- type SetVideoDraftResponse
- type SetVideoDraftResult
- type SetWafBlackRuleSwitchRequest
- type SetWafBlackRuleSwitchResponse
- type SetWafBlackRuleSwitchResult
- type SetWafSwitchRequest
- type SetWafSwitchResponse
- type SetWafSwitchResult
- type SetWafWhiteRuleSwitchRequest
- type SetWafWhiteRuleSwitchResponse
- type SetWafWhiteRuleSwitchResult
- type SetWebProtectSwitchRequest
- type SetWebProtectSwitchResponse
- type SetWebProtectSwitchResult
- type SpeedLimitRequest
- type SpeedLimitResponse
- type SpeedLimitResult
- type StartDomainRequest
- type StartDomainResponse
- type StartDomainResult
- type StopDomainRequest
- type StopDomainResponse
- type StopDomainResult
- type StopMonitorRequest
- type StopMonitorResponse
- type StopMonitorResult
- type StopPrefetchTaskRequest
- type StopPrefetchTaskResponse
- type StopPrefetchTaskResult
- type UpdateCCProtectRuleRequest
- func NewUpdateCCProtectRuleRequest(domain string, id string) *UpdateCCProtectRuleRequest
- func NewUpdateCCProtectRuleRequestWithAllParams(domain string, id string, uri *string, detectPeriod *int, singleIpLimit *int, ...) *UpdateCCProtectRuleRequest
- func NewUpdateCCProtectRuleRequestWithoutParam() *UpdateCCProtectRuleRequest
- func (r UpdateCCProtectRuleRequest) GetRegionId() string
- func (r *UpdateCCProtectRuleRequest) SetBlockTime(blockTime int)
- func (r *UpdateCCProtectRuleRequest) SetBlockType(blockType int)
- func (r *UpdateCCProtectRuleRequest) SetDetectPeriod(detectPeriod int)
- func (r *UpdateCCProtectRuleRequest) SetDomain(domain string)
- func (r *UpdateCCProtectRuleRequest) SetId(id string)
- func (r *UpdateCCProtectRuleRequest) SetSingleIpLimit(singleIpLimit int)
- func (r *UpdateCCProtectRuleRequest) SetUri(uri string)
- type UpdateCCProtectRuleResponse
- type UpdateCCProtectRuleResult
- type UpdateCacheRuleRequest
- func (r UpdateCacheRuleRequest) GetRegionId() string
- func (r *UpdateCacheRuleRequest) SetCacheType(cacheType int)
- func (r *UpdateCacheRuleRequest) SetConfigId(configId int64)
- func (r *UpdateCacheRuleRequest) SetContents(contents string)
- func (r *UpdateCacheRuleRequest) SetDomain(domain string)
- func (r *UpdateCacheRuleRequest) SetTtl(ttl int64)
- func (r *UpdateCacheRuleRequest) SetWeight(weight int)
- type UpdateCacheRuleResponse
- type UpdateCacheRuleResult
- type UpdateDomainGroupRequest
- func (r UpdateDomainGroupRequest) GetRegionId() string
- func (r *UpdateDomainGroupRequest) SetDomainGroupName(domainGroupName string)
- func (r *UpdateDomainGroupRequest) SetDomains(domains []string)
- func (r *UpdateDomainGroupRequest) SetId(id int)
- func (r *UpdateDomainGroupRequest) SetPrimaryDomain(primaryDomain string)
- func (r *UpdateDomainGroupRequest) SetShareCache(shareCache string)
- type UpdateDomainGroupResponse
- type UpdateDomainGroupResult
- type UpdatePrefetchTaskRequest
- type UpdatePrefetchTaskResponse
- type UpdatePrefetchTaskResult
- type UpdateWafBlackRuleRequest
- func NewUpdateWafBlackRuleRequest(domain string, id string) *UpdateWafBlackRuleRequest
- func NewUpdateWafBlackRuleRequestWithAllParams(domain string, id string, ruleType *string, matchOp *int, val *string, ...) *UpdateWafBlackRuleRequest
- func NewUpdateWafBlackRuleRequestWithoutParam() *UpdateWafBlackRuleRequest
- func (r UpdateWafBlackRuleRequest) GetRegionId() string
- func (r *UpdateWafBlackRuleRequest) SetAtOp(atOp int)
- func (r *UpdateWafBlackRuleRequest) SetAtVal(atVal string)
- func (r *UpdateWafBlackRuleRequest) SetDomain(domain string)
- func (r *UpdateWafBlackRuleRequest) SetId(id string)
- func (r *UpdateWafBlackRuleRequest) SetMatchOp(matchOp int)
- func (r *UpdateWafBlackRuleRequest) SetRuleType(ruleType string)
- func (r *UpdateWafBlackRuleRequest) SetVal(val string)
- type UpdateWafBlackRuleResponse
- type UpdateWafBlackRuleResult
- type UpdateWafWhiteRuleRequest
- func NewUpdateWafWhiteRuleRequest(domain string, id string) *UpdateWafWhiteRuleRequest
- func NewUpdateWafWhiteRuleRequestWithAllParams(domain string, id string, ruleType *string, matchOp *int, val *string, ...) *UpdateWafWhiteRuleRequest
- func NewUpdateWafWhiteRuleRequestWithoutParam() *UpdateWafWhiteRuleRequest
- func (r UpdateWafWhiteRuleRequest) GetRegionId() string
- func (r *UpdateWafWhiteRuleRequest) SetActions(actions []string)
- func (r *UpdateWafWhiteRuleRequest) SetDomain(domain string)
- func (r *UpdateWafWhiteRuleRequest) SetId(id string)
- func (r *UpdateWafWhiteRuleRequest) SetMatchOp(matchOp int)
- func (r *UpdateWafWhiteRuleRequest) SetRuleType(ruleType string)
- func (r *UpdateWafWhiteRuleRequest) SetVal(val string)
- type UpdateWafWhiteRuleResponse
- type UpdateWafWhiteRuleResult
- type UpdateWebProtectSettingsRequest
- func NewUpdateWebProtectSettingsRequest(domain string) *UpdateWebProtectSettingsRequest
- func NewUpdateWebProtectSettingsRequestWithAllParams(domain string, wafMode *string, wafLevel *int, redirection *string) *UpdateWebProtectSettingsRequest
- func NewUpdateWebProtectSettingsRequestWithoutParam() *UpdateWebProtectSettingsRequest
- func (r UpdateWebProtectSettingsRequest) GetRegionId() string
- func (r *UpdateWebProtectSettingsRequest) SetDomain(domain string)
- func (r *UpdateWebProtectSettingsRequest) SetRedirection(redirection string)
- func (r *UpdateWebProtectSettingsRequest) SetWafLevel(wafLevel int)
- func (r *UpdateWebProtectSettingsRequest) SetWafMode(wafMode string)
- type UpdateWebProtectSettingsResponse
- type UpdateWebProtectSettingsResult
- type UploadCertRequest
- type UploadCertResponse
- type UploadCertResult
- type WafQueryAttackDetailsRequest
- func NewWafQueryAttackDetailsRequest() *WafQueryAttackDetailsRequest
- func NewWafQueryAttackDetailsRequestWithAllParams(startTime *string, endTime *string, domain *string, sortField *string, ...) *WafQueryAttackDetailsRequest
- func NewWafQueryAttackDetailsRequestWithoutParam() *WafQueryAttackDetailsRequest
- func (r WafQueryAttackDetailsRequest) GetRegionId() string
- func (r *WafQueryAttackDetailsRequest) SetDomain(domain string)
- func (r *WafQueryAttackDetailsRequest) SetEndTime(endTime string)
- func (r *WafQueryAttackDetailsRequest) SetPageNumber(pageNumber int)
- func (r *WafQueryAttackDetailsRequest) SetPageSize(pageSize int)
- func (r *WafQueryAttackDetailsRequest) SetSortField(sortField string)
- func (r *WafQueryAttackDetailsRequest) SetSortRule(sortRule string)
- func (r *WafQueryAttackDetailsRequest) SetStartTime(startTime string)
- type WafQueryAttackDetailsResponse
- type WafQueryAttackDetailsResult
- type WafQueryPvForAreaAndIpRequest
- type WafQueryPvForAreaAndIpResponse
- type WafQueryPvForAreaAndIpResult
- type WafQueryPvRequest
- type WafQueryPvResponse
- type WafQueryPvResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatCreatePrefetchTaskRequest ¶
type BatCreatePrefetchTaskRequest struct {
core.JDCloudRequest
/* (Optional) */
Tasks []cdn.VodPrefetchTaskItem `json:"tasks"`
}
func NewBatCreatePrefetchTaskRequest ¶
func NewBatCreatePrefetchTaskRequest() *BatCreatePrefetchTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewBatCreatePrefetchTaskRequestWithAllParams ¶
func NewBatCreatePrefetchTaskRequestWithAllParams( tasks []cdn.VodPrefetchTaskItem, ) *BatCreatePrefetchTaskRequest
* param tasks: (Optional)
func NewBatCreatePrefetchTaskRequestWithoutParam ¶
func NewBatCreatePrefetchTaskRequestWithoutParam() *BatCreatePrefetchTaskRequest
This constructor has better compatible ability when API parameters changed
func (BatCreatePrefetchTaskRequest) GetRegionId ¶
func (r BatCreatePrefetchTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatCreatePrefetchTaskRequest) SetTasks ¶
func (r *BatCreatePrefetchTaskRequest) SetTasks(tasks []cdn.VodPrefetchTaskItem)
param tasks: (Optional)
type BatCreatePrefetchTaskResponse ¶
type BatCreatePrefetchTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatCreatePrefetchTaskResult `json:"result"`
}
type BatCreatePrefetchTaskResult ¶
type BatCreatePrefetchTaskResult struct {
}
type BatchCreateLiveDomainRequest ¶
type BatchCreateLiveDomainRequest struct {
core.JDCloudRequest
/* 播放域名 (Optional) */
PlayDomain *string `json:"playDomain"`
/* 创建推流域名时,必传推流域名 (Optional) */
PublishDomain *string `json:"publishDomain"`
/* 回源类型只能是[ips,domain]中的一种 (Optional) */
SourceType *string `json:"sourceType"`
/* (Optional) */
BackHttpType *string `json:"backHttpType"`
/* 默认回源host (Optional) */
DefaultSourceHost *string `json:"defaultSourceHost"`
/* 站点类型pull(拉流)push(推流) (Optional) */
SiteType *string `json:"siteType"`
/* 回源类型,目前只能为rtmp (Optional) */
BackSourceType *string `json:"backSourceType"`
/* (Optional) */
IpSource []cdn.IpSourceInfo `json:"ipSource"`
/* (Optional) */
DomainSource []cdn.DomainSourceInfo `json:"domainSource"`
/* 加速区域(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆 (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
}
func NewBatchCreateLiveDomainRequest ¶
func NewBatchCreateLiveDomainRequest() *BatchCreateLiveDomainRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewBatchCreateLiveDomainRequestWithAllParams ¶
func NewBatchCreateLiveDomainRequestWithAllParams( playDomain *string, publishDomain *string, sourceType *string, backHttpType *string, defaultSourceHost *string, siteType *string, backSourceType *string, ipSource []cdn.IpSourceInfo, domainSource []cdn.DomainSourceInfo, accelerateRegion *string, ) *BatchCreateLiveDomainRequest
* param playDomain: 播放域名 (Optional) * param publishDomain: 创建推流域名时,必传推流域名 (Optional) * param sourceType: 回源类型只能是[ips,domain]中的一种 (Optional) * param backHttpType: (Optional) * param defaultSourceHost: 默认回源host (Optional) * param siteType: 站点类型pull(拉流)push(推流) (Optional) * param backSourceType: 回源类型,目前只能为rtmp (Optional) * param ipSource: (Optional) * param domainSource: (Optional) * param accelerateRegion: 加速区域(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆 (Optional)
func NewBatchCreateLiveDomainRequestWithoutParam ¶
func NewBatchCreateLiveDomainRequestWithoutParam() *BatchCreateLiveDomainRequest
This constructor has better compatible ability when API parameters changed
func (BatchCreateLiveDomainRequest) GetRegionId ¶
func (r BatchCreateLiveDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchCreateLiveDomainRequest) SetAccelerateRegion ¶
func (r *BatchCreateLiveDomainRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆(Optional)
func (*BatchCreateLiveDomainRequest) SetBackHttpType ¶
func (r *BatchCreateLiveDomainRequest) SetBackHttpType(backHttpType string)
param backHttpType: (Optional)
func (*BatchCreateLiveDomainRequest) SetBackSourceType ¶
func (r *BatchCreateLiveDomainRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源类型,目前只能为rtmp(Optional)
func (*BatchCreateLiveDomainRequest) SetDefaultSourceHost ¶
func (r *BatchCreateLiveDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: 默认回源host(Optional)
func (*BatchCreateLiveDomainRequest) SetDomainSource ¶
func (r *BatchCreateLiveDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*BatchCreateLiveDomainRequest) SetIpSource ¶
func (r *BatchCreateLiveDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*BatchCreateLiveDomainRequest) SetPlayDomain ¶
func (r *BatchCreateLiveDomainRequest) SetPlayDomain(playDomain string)
param playDomain: 播放域名(Optional)
func (*BatchCreateLiveDomainRequest) SetPublishDomain ¶
func (r *BatchCreateLiveDomainRequest) SetPublishDomain(publishDomain string)
param publishDomain: 创建推流域名时,必传推流域名(Optional)
func (*BatchCreateLiveDomainRequest) SetSiteType ¶
func (r *BatchCreateLiveDomainRequest) SetSiteType(siteType string)
param siteType: 站点类型pull(拉流)push(推流)(Optional)
func (*BatchCreateLiveDomainRequest) SetSourceType ¶
func (r *BatchCreateLiveDomainRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain]中的一种(Optional)
type BatchCreateLiveDomainResponse ¶
type BatchCreateLiveDomainResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchCreateLiveDomainResult `json:"result"`
}
type BatchCreateLiveDomainResult ¶
type BatchCreateLiveDomainResult struct {
}
type BatchCreateRequest ¶
type BatchCreateRequest struct {
core.JDCloudRequest
/* (Optional) */
Domains []string `json:"domains"`
/* 回源类型只能是[ips,domain,oss]中的一种 (Optional) */
SourceType *string `json:"sourceType"`
/* 点播域名的类型只能是[vod,download,web]中的一种 (Optional) */
CdnType *string `json:"cdnType"`
/* 回源方式,只能是[https,http]中的一种,默认http (Optional) */
BackSourceType *string `json:"backSourceType"`
/* 日带宽(Mbps) (Optional) */
DailyBandWidth *int64 `json:"dailyBandWidth"`
/* 服务质量,只能是[good,general]中的一种,默认为good (Optional) */
Quaility *string `json:"quaility"`
/* (Optional) */
MaxFileSize *int64 `json:"maxFileSize"`
/* (Optional) */
MinFileSize *int64 `json:"minFileSize"`
/* (Optional) */
SumFileSize *int64 `json:"sumFileSize"`
/* (Optional) */
AvgFileSize *int64 `json:"avgFileSize"`
/* (Optional) */
DefaultSourceHost *string `json:"defaultSourceHost"`
/* (Optional) */
HttpType *string `json:"httpType"`
/* (Optional) */
IpSource []cdn.IpSourceInfo `json:"ipSource"`
/* (Optional) */
DomainSource []cdn.DomainSourceInfo `json:"domainSource"`
/* (Optional) */
OssSource *string `json:"ossSource"`
/* 加速区域 (mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆 (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
/* (Optional) */
TempInstId *int64 `json:"tempInstId"`
}
func NewBatchCreateRequest ¶
func NewBatchCreateRequest() *BatchCreateRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewBatchCreateRequestWithAllParams ¶
func NewBatchCreateRequestWithAllParams( domains []string, sourceType *string, cdnType *string, backSourceType *string, dailyBandWidth *int64, quaility *string, maxFileSize *int64, minFileSize *int64, sumFileSize *int64, avgFileSize *int64, defaultSourceHost *string, httpType *string, ipSource []cdn.IpSourceInfo, domainSource []cdn.DomainSourceInfo, ossSource *string, accelerateRegion *string, tempInstId *int64, ) *BatchCreateRequest
* param domains: (Optional) * param sourceType: 回源类型只能是[ips,domain,oss]中的一种 (Optional) * param cdnType: 点播域名的类型只能是[vod,download,web]中的一种 (Optional) * param backSourceType: 回源方式,只能是[https,http]中的一种,默认http (Optional) * param dailyBandWidth: 日带宽(Mbps) (Optional) * param quaility: 服务质量,只能是[good,general]中的一种,默认为good (Optional) * param maxFileSize: (Optional) * param minFileSize: (Optional) * param sumFileSize: (Optional) * param avgFileSize: (Optional) * param defaultSourceHost: (Optional) * param httpType: (Optional) * param ipSource: (Optional) * param domainSource: (Optional) * param ossSource: (Optional) * param accelerateRegion: 加速区域 (mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆 (Optional) * param tempInstId: (Optional)
func NewBatchCreateRequestWithoutParam ¶
func NewBatchCreateRequestWithoutParam() *BatchCreateRequest
This constructor has better compatible ability when API parameters changed
func (BatchCreateRequest) GetRegionId ¶
func (r BatchCreateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchCreateRequest) SetAccelerateRegion ¶
func (r *BatchCreateRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域 (mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆(Optional)
func (*BatchCreateRequest) SetAvgFileSize ¶
func (r *BatchCreateRequest) SetAvgFileSize(avgFileSize int64)
param avgFileSize: (Optional)
func (*BatchCreateRequest) SetBackSourceType ¶
func (r *BatchCreateRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源方式,只能是[https,http]中的一种,默认http(Optional)
func (*BatchCreateRequest) SetCdnType ¶
func (r *BatchCreateRequest) SetCdnType(cdnType string)
param cdnType: 点播域名的类型只能是[vod,download,web]中的一种(Optional)
func (*BatchCreateRequest) SetDailyBandWidth ¶
func (r *BatchCreateRequest) SetDailyBandWidth(dailyBandWidth int64)
param dailyBandWidth: 日带宽(Mbps)(Optional)
func (*BatchCreateRequest) SetDefaultSourceHost ¶
func (r *BatchCreateRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: (Optional)
func (*BatchCreateRequest) SetDomainSource ¶
func (r *BatchCreateRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*BatchCreateRequest) SetDomains ¶
func (r *BatchCreateRequest) SetDomains(domains []string)
param domains: (Optional)
func (*BatchCreateRequest) SetHttpType ¶
func (r *BatchCreateRequest) SetHttpType(httpType string)
param httpType: (Optional)
func (*BatchCreateRequest) SetIpSource ¶
func (r *BatchCreateRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*BatchCreateRequest) SetMaxFileSize ¶
func (r *BatchCreateRequest) SetMaxFileSize(maxFileSize int64)
param maxFileSize: (Optional)
func (*BatchCreateRequest) SetMinFileSize ¶
func (r *BatchCreateRequest) SetMinFileSize(minFileSize int64)
param minFileSize: (Optional)
func (*BatchCreateRequest) SetOssSource ¶
func (r *BatchCreateRequest) SetOssSource(ossSource string)
param ossSource: (Optional)
func (*BatchCreateRequest) SetQuaility ¶
func (r *BatchCreateRequest) SetQuaility(quaility string)
param quaility: 服务质量,只能是[good,general]中的一种,默认为good(Optional)
func (*BatchCreateRequest) SetSourceType ¶
func (r *BatchCreateRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain,oss]中的一种(Optional)
func (*BatchCreateRequest) SetSumFileSize ¶
func (r *BatchCreateRequest) SetSumFileSize(sumFileSize int64)
param sumFileSize: (Optional)
func (*BatchCreateRequest) SetTempInstId ¶
func (r *BatchCreateRequest) SetTempInstId(tempInstId int64)
param tempInstId: (Optional)
type BatchCreateResponse ¶
type BatchCreateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchCreateResult `json:"result"`
}
type BatchCreateResult ¶
type BatchCreateResult struct {
}
type BatchDeleteDomainGroupRequest ¶
type BatchDeleteDomainGroupRequest struct {
core.JDCloudRequest
/* */
Ids []int64 `json:"ids"`
}
func NewBatchDeleteDomainGroupRequest ¶
func NewBatchDeleteDomainGroupRequest( ids []int64, ) *BatchDeleteDomainGroupRequest
* param ids: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewBatchDeleteDomainGroupRequestWithAllParams ¶
func NewBatchDeleteDomainGroupRequestWithAllParams( ids []int64, ) *BatchDeleteDomainGroupRequest
* param ids: (Required)
func NewBatchDeleteDomainGroupRequestWithoutParam ¶
func NewBatchDeleteDomainGroupRequestWithoutParam() *BatchDeleteDomainGroupRequest
This constructor has better compatible ability when API parameters changed
func (BatchDeleteDomainGroupRequest) GetRegionId ¶
func (r BatchDeleteDomainGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchDeleteDomainGroupRequest) SetIds ¶
func (r *BatchDeleteDomainGroupRequest) SetIds(ids []int64)
param ids: (Required)
type BatchDeleteDomainGroupResponse ¶
type BatchDeleteDomainGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchDeleteDomainGroupResult `json:"result"`
}
type BatchDeleteDomainGroupResult ¶
type BatchDeleteDomainGroupResult struct {
}
type BatchIpBlackListRequest ¶
type BatchIpBlackListRequest struct {
core.JDCloudRequest
/* 域名列表。最多30个 (Optional) */
Domains []string `json:"domains"`
/* ip列表。最多50个 (Optional) */
IpList []string `json:"ipList"`
/* 封禁时长,单位分钟。默认1440 (Optional) */
ForbidTime *int64 `json:"forbidTime"`
/* forbid or resume.代表封禁和解封。 (Optional) */
Action *string `json:"action"`
}
func NewBatchIpBlackListRequest ¶
func NewBatchIpBlackListRequest() *BatchIpBlackListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewBatchIpBlackListRequestWithAllParams ¶
func NewBatchIpBlackListRequestWithAllParams( domains []string, ipList []string, forbidTime *int64, action *string, ) *BatchIpBlackListRequest
* param domains: 域名列表。最多30个 (Optional) * param ipList: ip列表。最多50个 (Optional) * param forbidTime: 封禁时长,单位分钟。默认1440 (Optional) * param action: forbid or resume.代表封禁和解封。 (Optional)
func NewBatchIpBlackListRequestWithoutParam ¶
func NewBatchIpBlackListRequestWithoutParam() *BatchIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (BatchIpBlackListRequest) GetRegionId ¶
func (r BatchIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchIpBlackListRequest) SetAction ¶
func (r *BatchIpBlackListRequest) SetAction(action string)
param action: forbid or resume.代表封禁和解封。(Optional)
func (*BatchIpBlackListRequest) SetDomains ¶
func (r *BatchIpBlackListRequest) SetDomains(domains []string)
param domains: 域名列表。最多30个(Optional)
func (*BatchIpBlackListRequest) SetForbidTime ¶
func (r *BatchIpBlackListRequest) SetForbidTime(forbidTime int64)
param forbidTime: 封禁时长,单位分钟。默认1440(Optional)
func (*BatchIpBlackListRequest) SetIpList ¶
func (r *BatchIpBlackListRequest) SetIpList(ipList []string)
param ipList: ip列表。最多50个(Optional)
type BatchIpBlackListResponse ¶
type BatchIpBlackListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchIpBlackListResult `json:"result"`
}
type BatchIpBlackListResult ¶
type BatchIpBlackListResult struct {
}
type BatchSetExtraCacheTimeRequest ¶
type BatchSetExtraCacheTimeRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 状态码和过期时间,多个用英文分号分隔,如404:3;500:10;异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个,缓存时间(单位:秒) (Optional) */
Content *string `json:"content"`
}
func NewBatchSetExtraCacheTimeRequest ¶
func NewBatchSetExtraCacheTimeRequest( domain string, ) *BatchSetExtraCacheTimeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewBatchSetExtraCacheTimeRequestWithAllParams ¶
func NewBatchSetExtraCacheTimeRequestWithAllParams( domain string, content *string, ) *BatchSetExtraCacheTimeRequest
* param domain: 用户域名 (Required) * param content: 状态码和过期时间,多个用英文分号分隔,如404:3;500:10;异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个,缓存时间(单位:秒) (Optional)
func NewBatchSetExtraCacheTimeRequestWithoutParam ¶
func NewBatchSetExtraCacheTimeRequestWithoutParam() *BatchSetExtraCacheTimeRequest
This constructor has better compatible ability when API parameters changed
func (BatchSetExtraCacheTimeRequest) GetRegionId ¶
func (r BatchSetExtraCacheTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchSetExtraCacheTimeRequest) SetContent ¶
func (r *BatchSetExtraCacheTimeRequest) SetContent(content string)
param content: 状态码和过期时间,多个用英文分号分隔,如404:3;500:10;异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个,缓存时间(单位:秒)(Optional)
func (*BatchSetExtraCacheTimeRequest) SetDomain ¶
func (r *BatchSetExtraCacheTimeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type BatchSetExtraCacheTimeResponse ¶
type BatchSetExtraCacheTimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result BatchSetExtraCacheTimeResult `json:"result"`
}
type BatchSetExtraCacheTimeResult ¶
type BatchSetExtraCacheTimeResult struct {
}
type CheckWhetherIpBelongToJCloudRequest ¶
type CheckWhetherIpBelongToJCloudRequest struct {
core.JDCloudRequest
/* (Optional) */
Ips []string `json:"ips"`
}
func NewCheckWhetherIpBelongToJCloudRequest ¶
func NewCheckWhetherIpBelongToJCloudRequest() *CheckWhetherIpBelongToJCloudRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCheckWhetherIpBelongToJCloudRequestWithAllParams ¶
func NewCheckWhetherIpBelongToJCloudRequestWithAllParams( ips []string, ) *CheckWhetherIpBelongToJCloudRequest
* param ips: (Optional)
func NewCheckWhetherIpBelongToJCloudRequestWithoutParam ¶
func NewCheckWhetherIpBelongToJCloudRequestWithoutParam() *CheckWhetherIpBelongToJCloudRequest
This constructor has better compatible ability when API parameters changed
func (CheckWhetherIpBelongToJCloudRequest) GetRegionId ¶
func (r CheckWhetherIpBelongToJCloudRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CheckWhetherIpBelongToJCloudRequest) SetIps ¶
func (r *CheckWhetherIpBelongToJCloudRequest) SetIps(ips []string)
param ips: (Optional)
type CheckWhetherIpBelongToJCloudResponse ¶
type CheckWhetherIpBelongToJCloudResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CheckWhetherIpBelongToJCloudResult `json:"result"`
}
type CheckWhetherIpBelongToJCloudResult ¶
type CheckWhetherIpBelongToJCloudResult struct {
IpList []cdn.CheckWhetherIpBelongToJCloudItem `json:"ipList"`
}
type ConfigBackSourceOssRequest ¶
type ConfigBackSourceOssRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* on/off,若为on则以下必传参数不可为空[accessKey,secretKey,bucket,domain2],若为off则以下参数均不能有值[accessKey,secretKey,bucket,suffix,domain2] (Optional) */
Status *string `json:"status"`
/* status 为on时必填 (Optional) */
AccessKey *string `json:"accessKey"`
/* status 为on时必填 (Optional) */
SecretKey *string `json:"secretKey"`
/* oss桶名,status 为on时必填 (Optional) */
Bucket *string `json:"bucket"`
/* oss后缀,status 为on时选填 (Optional) */
Suffix *string `json:"suffix"`
/* status 为on时必填 (Optional) */
Domain2 *string `json:"domain2"`
}
func NewConfigBackSourceOssRequest ¶
func NewConfigBackSourceOssRequest( domain string, ) *ConfigBackSourceOssRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewConfigBackSourceOssRequestWithAllParams ¶
func NewConfigBackSourceOssRequestWithAllParams( domain string, status *string, accessKey *string, secretKey *string, bucket *string, suffix *string, domain2 *string, ) *ConfigBackSourceOssRequest
* param domain: 用户域名 (Required) * param status: on/off,若为on则以下必传参数不可为空[accessKey,secretKey,bucket,domain2],若为off则以下参数均不能有值[accessKey,secretKey,bucket,suffix,domain2] (Optional) * param accessKey: status 为on时必填 (Optional) * param secretKey: status 为on时必填 (Optional) * param bucket: oss桶名,status 为on时必填 (Optional) * param suffix: oss后缀,status 为on时选填 (Optional) * param domain2: status 为on时必填 (Optional)
func NewConfigBackSourceOssRequestWithoutParam ¶
func NewConfigBackSourceOssRequestWithoutParam() *ConfigBackSourceOssRequest
This constructor has better compatible ability when API parameters changed
func (ConfigBackSourceOssRequest) GetRegionId ¶
func (r ConfigBackSourceOssRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigBackSourceOssRequest) SetAccessKey ¶
func (r *ConfigBackSourceOssRequest) SetAccessKey(accessKey string)
param accessKey: status 为on时必填(Optional)
func (*ConfigBackSourceOssRequest) SetBucket ¶
func (r *ConfigBackSourceOssRequest) SetBucket(bucket string)
param bucket: oss桶名,status 为on时必填(Optional)
func (*ConfigBackSourceOssRequest) SetDomain ¶
func (r *ConfigBackSourceOssRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*ConfigBackSourceOssRequest) SetDomain2 ¶
func (r *ConfigBackSourceOssRequest) SetDomain2(domain2 string)
param domain2: status 为on时必填(Optional)
func (*ConfigBackSourceOssRequest) SetSecretKey ¶
func (r *ConfigBackSourceOssRequest) SetSecretKey(secretKey string)
param secretKey: status 为on时必填(Optional)
func (*ConfigBackSourceOssRequest) SetStatus ¶
func (r *ConfigBackSourceOssRequest) SetStatus(status string)
param status: on/off,若为on则以下必传参数不可为空[accessKey,secretKey,bucket,domain2],若为off则以下参数均不能有值[accessKey,secretKey,bucket,suffix,domain2](Optional)
func (*ConfigBackSourceOssRequest) SetSuffix ¶
func (r *ConfigBackSourceOssRequest) SetSuffix(suffix string)
param suffix: oss后缀,status 为on时选填(Optional)
type ConfigBackSourceOssResponse ¶
type ConfigBackSourceOssResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigBackSourceOssResult `json:"result"`
}
type ConfigBackSourceOssResult ¶
type ConfigBackSourceOssResult struct {
}
type ConfigBackSourcePathRequest ¶
type ConfigBackSourcePathRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Configs []cdn.ConfigBackSourcePathItems `json:"configs"`
}
func NewConfigBackSourcePathRequest ¶
func NewConfigBackSourcePathRequest( domain string, ) *ConfigBackSourcePathRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewConfigBackSourcePathRequestWithAllParams ¶
func NewConfigBackSourcePathRequestWithAllParams( domain string, configs []cdn.ConfigBackSourcePathItems, ) *ConfigBackSourcePathRequest
* param domain: 用户域名 (Required) * param configs: (Optional)
func NewConfigBackSourcePathRequestWithoutParam ¶
func NewConfigBackSourcePathRequestWithoutParam() *ConfigBackSourcePathRequest
This constructor has better compatible ability when API parameters changed
func (ConfigBackSourcePathRequest) GetRegionId ¶
func (r ConfigBackSourcePathRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigBackSourcePathRequest) SetConfigs ¶
func (r *ConfigBackSourcePathRequest) SetConfigs(configs []cdn.ConfigBackSourcePathItems)
param configs: (Optional)
func (*ConfigBackSourcePathRequest) SetDomain ¶
func (r *ConfigBackSourcePathRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type ConfigBackSourcePathResponse ¶
type ConfigBackSourcePathResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigBackSourcePathResult `json:"result"`
}
type ConfigBackSourcePathResult ¶
type ConfigBackSourcePathResult struct {
}
type ConfigBackSourceRuleRequest ¶
type ConfigBackSourceRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 回源改写之前的正则表达式 (Optional) */
BeforeRegex *string `json:"beforeRegex"`
/* 回源改写之后的正则表达式 (Optional) */
AfterRegex *string `json:"afterRegex"`
}
func NewConfigBackSourceRuleRequest ¶
func NewConfigBackSourceRuleRequest( domain string, ) *ConfigBackSourceRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewConfigBackSourceRuleRequestWithAllParams ¶
func NewConfigBackSourceRuleRequestWithAllParams( domain string, beforeRegex *string, afterRegex *string, ) *ConfigBackSourceRuleRequest
* param domain: 用户域名 (Required) * param beforeRegex: 回源改写之前的正则表达式 (Optional) * param afterRegex: 回源改写之后的正则表达式 (Optional)
func NewConfigBackSourceRuleRequestWithoutParam ¶
func NewConfigBackSourceRuleRequestWithoutParam() *ConfigBackSourceRuleRequest
This constructor has better compatible ability when API parameters changed
func (ConfigBackSourceRuleRequest) GetRegionId ¶
func (r ConfigBackSourceRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigBackSourceRuleRequest) SetAfterRegex ¶
func (r *ConfigBackSourceRuleRequest) SetAfterRegex(afterRegex string)
param afterRegex: 回源改写之后的正则表达式(Optional)
func (*ConfigBackSourceRuleRequest) SetBeforeRegex ¶
func (r *ConfigBackSourceRuleRequest) SetBeforeRegex(beforeRegex string)
param beforeRegex: 回源改写之前的正则表达式(Optional)
func (*ConfigBackSourceRuleRequest) SetDomain ¶
func (r *ConfigBackSourceRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type ConfigBackSourceRuleResponse ¶
type ConfigBackSourceRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigBackSourceRuleResult `json:"result"`
}
type ConfigBackSourceRuleResult ¶
type ConfigBackSourceRuleResult struct {
}
type ConfigBackSourceRulesRequest ¶
type ConfigBackSourceRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* on/off,若为off则数组需为空,若为on则数组不可为空 (Optional) */
Status *string `json:"status"`
/* (Optional) */
Rules []cdn.BackSourceRule `json:"rules"`
}
func NewConfigBackSourceRulesRequest ¶
func NewConfigBackSourceRulesRequest( domain string, ) *ConfigBackSourceRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewConfigBackSourceRulesRequestWithAllParams ¶
func NewConfigBackSourceRulesRequestWithAllParams( domain string, status *string, rules []cdn.BackSourceRule, ) *ConfigBackSourceRulesRequest
* param domain: 用户域名 (Required) * param status: on/off,若为off则数组需为空,若为on则数组不可为空 (Optional) * param rules: (Optional)
func NewConfigBackSourceRulesRequestWithoutParam ¶
func NewConfigBackSourceRulesRequestWithoutParam() *ConfigBackSourceRulesRequest
This constructor has better compatible ability when API parameters changed
func (ConfigBackSourceRulesRequest) GetRegionId ¶
func (r ConfigBackSourceRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigBackSourceRulesRequest) SetDomain ¶
func (r *ConfigBackSourceRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*ConfigBackSourceRulesRequest) SetRules ¶
func (r *ConfigBackSourceRulesRequest) SetRules(rules []cdn.BackSourceRule)
param rules: (Optional)
func (*ConfigBackSourceRulesRequest) SetStatus ¶
func (r *ConfigBackSourceRulesRequest) SetStatus(status string)
param status: on/off,若为off则数组需为空,若为on则数组不可为空(Optional)
type ConfigBackSourceRulesResponse ¶
type ConfigBackSourceRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigBackSourceRulesResult `json:"result"`
}
type ConfigBackSourceRulesResult ¶
type ConfigBackSourceRulesResult struct {
}
type ConfigHttp2Request ¶
type ConfigHttp2Request struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* HTTP2功能开关,取值on/off (Optional) */
Status *string `json:"status"`
}
func NewConfigHttp2Request ¶
func NewConfigHttp2Request( domain string, ) *ConfigHttp2Request
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewConfigHttp2RequestWithAllParams ¶
func NewConfigHttp2RequestWithAllParams( domain string, status *string, ) *ConfigHttp2Request
* param domain: 用户域名 (Required) * param status: HTTP2功能开关,取值on/off (Optional)
func NewConfigHttp2RequestWithoutParam ¶
func NewConfigHttp2RequestWithoutParam() *ConfigHttp2Request
This constructor has better compatible ability when API parameters changed
func (ConfigHttp2Request) GetRegionId ¶
func (r ConfigHttp2Request) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigHttp2Request) SetDomain ¶
func (r *ConfigHttp2Request) SetDomain(domain string)
param domain: 用户域名(Required)
func (*ConfigHttp2Request) SetStatus ¶
func (r *ConfigHttp2Request) SetStatus(status string)
param status: HTTP2功能开关,取值on/off(Optional)
type ConfigHttp2Response ¶
type ConfigHttp2Response struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigHttp2Result `json:"result"`
}
type ConfigHttp2Result ¶
type ConfigHttp2Result struct {
}
type ConfigServiceNoticeRequest ¶
type ConfigServiceNoticeRequest struct {
core.JDCloudRequest
/* id 修改操作必传 (Optional) */
Id *int64 `json:"id"`
/* 通知类型,取值[reportForm],reportForm:报表. (Optional) */
NoticeType *string `json:"noticeType"`
/* 通知方式,取值[mail],mail:邮件. (Optional) */
NoticeWay *string `json:"noticeWay"`
/* 通知接收人,多个用逗号隔开. (Optional) */
NoticeTo *string `json:"noticeTo"`
/* 通知抄送人,多个用逗号隔开. (Optional) */
NoticeCC *string `json:"noticeCC"`
/* 通知正文. (Optional) */
NoticeContent *string `json:"noticeContent"`
/* 通知周期,取值[daily,weekly,monthly]. (Optional) */
NoticePeriod []string `json:"noticePeriod"`
/* 通知状态,取值[init,start,stop] (Optional) */
NoticeStatus *string `json:"noticeStatus"`
}
func NewConfigServiceNoticeRequest ¶
func NewConfigServiceNoticeRequest() *ConfigServiceNoticeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewConfigServiceNoticeRequestWithAllParams ¶
func NewConfigServiceNoticeRequestWithAllParams( id *int64, noticeType *string, noticeWay *string, noticeTo *string, noticeCC *string, noticeContent *string, noticePeriod []string, noticeStatus *string, ) *ConfigServiceNoticeRequest
* param id: id 修改操作必传 (Optional) * param noticeType: 通知类型,取值[reportForm],reportForm:报表. (Optional) * param noticeWay: 通知方式,取值[mail],mail:邮件. (Optional) * param noticeTo: 通知接收人,多个用逗号隔开. (Optional) * param noticeCC: 通知抄送人,多个用逗号隔开. (Optional) * param noticeContent: 通知正文. (Optional) * param noticePeriod: 通知周期,取值[daily,weekly,monthly]. (Optional) * param noticeStatus: 通知状态,取值[init,start,stop] (Optional)
func NewConfigServiceNoticeRequestWithoutParam ¶
func NewConfigServiceNoticeRequestWithoutParam() *ConfigServiceNoticeRequest
This constructor has better compatible ability when API parameters changed
func (ConfigServiceNoticeRequest) GetRegionId ¶
func (r ConfigServiceNoticeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigServiceNoticeRequest) SetId ¶
func (r *ConfigServiceNoticeRequest) SetId(id int64)
param id: id 修改操作必传(Optional)
func (*ConfigServiceNoticeRequest) SetNoticeCC ¶
func (r *ConfigServiceNoticeRequest) SetNoticeCC(noticeCC string)
param noticeCC: 通知抄送人,多个用逗号隔开.(Optional)
func (*ConfigServiceNoticeRequest) SetNoticeContent ¶
func (r *ConfigServiceNoticeRequest) SetNoticeContent(noticeContent string)
param noticeContent: 通知正文.(Optional)
func (*ConfigServiceNoticeRequest) SetNoticePeriod ¶
func (r *ConfigServiceNoticeRequest) SetNoticePeriod(noticePeriod []string)
param noticePeriod: 通知周期,取值[daily,weekly,monthly].(Optional)
func (*ConfigServiceNoticeRequest) SetNoticeStatus ¶
func (r *ConfigServiceNoticeRequest) SetNoticeStatus(noticeStatus string)
param noticeStatus: 通知状态,取值[init,start,stop](Optional)
func (*ConfigServiceNoticeRequest) SetNoticeTo ¶
func (r *ConfigServiceNoticeRequest) SetNoticeTo(noticeTo string)
param noticeTo: 通知接收人,多个用逗号隔开.(Optional)
func (*ConfigServiceNoticeRequest) SetNoticeType ¶
func (r *ConfigServiceNoticeRequest) SetNoticeType(noticeType string)
param noticeType: 通知类型,取值[reportForm],reportForm:报表.(Optional)
func (*ConfigServiceNoticeRequest) SetNoticeWay ¶
func (r *ConfigServiceNoticeRequest) SetNoticeWay(noticeWay string)
param noticeWay: 通知方式,取值[mail],mail:邮件.(Optional)
type ConfigServiceNoticeResponse ¶
type ConfigServiceNoticeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigServiceNoticeResult `json:"result"`
}
type ConfigServiceNoticeResult ¶
type ConfigServiceNoticeResult struct {
}
type ConfigUrlRuleRequest ¶
type ConfigUrlRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* url改写之前的正则表达式 (Optional) */
BeforeRegex *string `json:"beforeRegex"`
/* url改写之后的正则表达式 (Optional) */
AfterRegex *string `json:"afterRegex"`
}
func NewConfigUrlRuleRequest ¶
func NewConfigUrlRuleRequest( domain string, ) *ConfigUrlRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewConfigUrlRuleRequestWithAllParams ¶
func NewConfigUrlRuleRequestWithAllParams( domain string, beforeRegex *string, afterRegex *string, ) *ConfigUrlRuleRequest
* param domain: 用户域名 (Required) * param beforeRegex: url改写之前的正则表达式 (Optional) * param afterRegex: url改写之后的正则表达式 (Optional)
func NewConfigUrlRuleRequestWithoutParam ¶
func NewConfigUrlRuleRequestWithoutParam() *ConfigUrlRuleRequest
This constructor has better compatible ability when API parameters changed
func (ConfigUrlRuleRequest) GetRegionId ¶
func (r ConfigUrlRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ConfigUrlRuleRequest) SetAfterRegex ¶
func (r *ConfigUrlRuleRequest) SetAfterRegex(afterRegex string)
param afterRegex: url改写之后的正则表达式(Optional)
func (*ConfigUrlRuleRequest) SetBeforeRegex ¶
func (r *ConfigUrlRuleRequest) SetBeforeRegex(beforeRegex string)
param beforeRegex: url改写之前的正则表达式(Optional)
func (*ConfigUrlRuleRequest) SetDomain ¶
func (r *ConfigUrlRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type ConfigUrlRuleResponse ¶
type ConfigUrlRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ConfigUrlRuleResult `json:"result"`
}
type ConfigUrlRuleResult ¶
type ConfigUrlRuleResult struct {
}
type CreateCCProtectRuleRequest ¶
type CreateCCProtectRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* null (Optional) */
Uri *string `json:"uri"`
/* null (Optional) */
DetectPeriod *int `json:"detectPeriod"`
/* null (Optional) */
SingleIpLimit *int `json:"singleIpLimit"`
/* null (Optional) */
BlockType *int `json:"blockType"`
/* null (Optional) */
BlockTime *int `json:"blockTime"`
}
func NewCreateCCProtectRuleRequest ¶
func NewCreateCCProtectRuleRequest( domain string, ) *CreateCCProtectRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCCProtectRuleRequestWithAllParams ¶
func NewCreateCCProtectRuleRequestWithAllParams( domain string, uri *string, detectPeriod *int, singleIpLimit *int, blockType *int, blockTime *int, ) *CreateCCProtectRuleRequest
* param domain: 用户域名 (Required) * param uri: null (Optional) * param detectPeriod: null (Optional) * param singleIpLimit: null (Optional) * param blockType: null (Optional) * param blockTime: null (Optional)
func NewCreateCCProtectRuleRequestWithoutParam ¶
func NewCreateCCProtectRuleRequestWithoutParam() *CreateCCProtectRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateCCProtectRuleRequest) GetRegionId ¶
func (r CreateCCProtectRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCCProtectRuleRequest) SetBlockTime ¶
func (r *CreateCCProtectRuleRequest) SetBlockTime(blockTime int)
param blockTime: null(Optional)
func (*CreateCCProtectRuleRequest) SetBlockType ¶
func (r *CreateCCProtectRuleRequest) SetBlockType(blockType int)
param blockType: null(Optional)
func (*CreateCCProtectRuleRequest) SetDetectPeriod ¶
func (r *CreateCCProtectRuleRequest) SetDetectPeriod(detectPeriod int)
param detectPeriod: null(Optional)
func (*CreateCCProtectRuleRequest) SetDomain ¶
func (r *CreateCCProtectRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateCCProtectRuleRequest) SetSingleIpLimit ¶
func (r *CreateCCProtectRuleRequest) SetSingleIpLimit(singleIpLimit int)
param singleIpLimit: null(Optional)
func (*CreateCCProtectRuleRequest) SetUri ¶
func (r *CreateCCProtectRuleRequest) SetUri(uri string)
param uri: null(Optional)
type CreateCCProtectRuleResponse ¶
type CreateCCProtectRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateCCProtectRuleResult `json:"result"`
}
type CreateCCProtectRuleResult ¶
type CreateCCProtectRuleResult struct {
}
type CreateCacheRuleRequest ¶
type CreateCacheRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 此条配置的权重值, 取值范围为1-10,1最大 (Optional) */
Weight *int `json:"weight"`
/* 缓存时间,单位秒,中国境内加速域名最长可配置2年,中国境外/全球加速域名最长可配置1年 (Optional) */
Ttl *int64 `json:"ttl"`
/* 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) */
Contents *string `json:"contents"`
/* 缓存方式:0、不缓存,1自定义 (Optional) */
CacheType *int `json:"cacheType"`
}
func NewCreateCacheRuleRequest ¶
func NewCreateCacheRuleRequest( domain string, ) *CreateCacheRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCacheRuleRequestWithAllParams ¶
func NewCreateCacheRuleRequestWithAllParams( domain string, weight *int, ttl *int64, contents *string, cacheType *int, ) *CreateCacheRuleRequest
* param domain: 用户域名 (Required) * param weight: 此条配置的权重值, 取值范围为1-10,1最大 (Optional) * param ttl: 缓存时间,单位秒,中国境内加速域名最长可配置2年,中国境外/全球加速域名最长可配置1年 (Optional) * param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) * param cacheType: 缓存方式:0、不缓存,1自定义 (Optional)
func NewCreateCacheRuleRequestWithoutParam ¶
func NewCreateCacheRuleRequestWithoutParam() *CreateCacheRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateCacheRuleRequest) GetRegionId ¶
func (r CreateCacheRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCacheRuleRequest) SetCacheType ¶
func (r *CreateCacheRuleRequest) SetCacheType(cacheType int)
param cacheType: 缓存方式:0、不缓存,1自定义(Optional)
func (*CreateCacheRuleRequest) SetContents ¶
func (r *CreateCacheRuleRequest) SetContents(contents string)
param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg(Optional)
func (*CreateCacheRuleRequest) SetDomain ¶
func (r *CreateCacheRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateCacheRuleRequest) SetTtl ¶
func (r *CreateCacheRuleRequest) SetTtl(ttl int64)
param ttl: 缓存时间,单位秒,中国境内加速域名最长可配置2年,中国境外/全球加速域名最长可配置1年(Optional)
func (*CreateCacheRuleRequest) SetWeight ¶
func (r *CreateCacheRuleRequest) SetWeight(weight int)
param weight: 此条配置的权重值, 取值范围为1-10,1最大(Optional)
type CreateCacheRuleResponse ¶
type CreateCacheRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateCacheRuleResult `json:"result"`
}
type CreateCacheRuleResult ¶
type CreateCacheRuleResult struct {
ConfigId int64 `json:"configId"`
}
type CreateDomainGroupRequest ¶
type CreateDomainGroupRequest struct {
core.JDCloudRequest
ShareCache *string `json:"shareCache"`
/* 主域名,开启共享缓存时必传 (Optional) */
PrimaryDomain *string `json:"primaryDomain"`
/* 域名组名称 (Optional) */
DomainGroupName *string `json:"domainGroupName"`
/* 域名组内域名包含主域名 (Optional) */
Domains []string `json:"domains"`
}
func NewCreateDomainGroupRequest ¶
func NewCreateDomainGroupRequest() *CreateDomainGroupRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateDomainGroupRequestWithAllParams ¶
func NewCreateDomainGroupRequestWithAllParams( shareCache *string, primaryDomain *string, domainGroupName *string, domains []string, ) *CreateDomainGroupRequest
* param shareCache: 是否共享内存,共享缓存仅对中国境内加速域名生效 (Optional) * param primaryDomain: 主域名,开启共享缓存时必传 (Optional) * param domainGroupName: 域名组名称 (Optional) * param domains: 域名组内域名包含主域名 (Optional)
func NewCreateDomainGroupRequestWithoutParam ¶
func NewCreateDomainGroupRequestWithoutParam() *CreateDomainGroupRequest
This constructor has better compatible ability when API parameters changed
func (CreateDomainGroupRequest) GetRegionId ¶
func (r CreateDomainGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateDomainGroupRequest) SetDomainGroupName ¶
func (r *CreateDomainGroupRequest) SetDomainGroupName(domainGroupName string)
param domainGroupName: 域名组名称(Optional)
func (*CreateDomainGroupRequest) SetDomains ¶
func (r *CreateDomainGroupRequest) SetDomains(domains []string)
param domains: 域名组内域名包含主域名(Optional)
func (*CreateDomainGroupRequest) SetPrimaryDomain ¶
func (r *CreateDomainGroupRequest) SetPrimaryDomain(primaryDomain string)
param primaryDomain: 主域名,开启共享缓存时必传(Optional)
func (*CreateDomainGroupRequest) SetShareCache ¶
func (r *CreateDomainGroupRequest) SetShareCache(shareCache string)
param shareCache: 是否共享内存,共享缓存仅对中国境内加速域名生效(Optional)
type CreateDomainGroupResponse ¶
type CreateDomainGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateDomainGroupResult `json:"result"`
}
type CreateDomainGroupResult ¶
type CreateDomainGroupResult struct {
}
type CreateDomainRequest ¶
type CreateDomainRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 回源类型只能是[ips,domain,oss]中的一种 (Optional) */
SourceType *string `json:"sourceType"`
/* 点播域名的类型只能是[vod,download,web]中的一种 (Optional) */
CdnType *string `json:"cdnType"`
/* 回源方式,只能是[https,http]中的一种,默认http (Optional) */
BackSourceType *string `json:"backSourceType"`
/* 日带宽(Mbps) (Optional) */
DailyBandWidth *int64 `json:"dailyBandWidth"`
/* 服务质量,只能是[good,general]中的一种,默认为good (Optional) */
Quaility *string `json:"quaility"`
/* (Optional) */
MaxFileSize *int64 `json:"maxFileSize"`
/* (Optional) */
MinFileSize *int64 `json:"minFileSize"`
/* (Optional) */
SumFileSize *int64 `json:"sumFileSize"`
/* (Optional) */
AvgFileSize *int64 `json:"avgFileSize"`
/* (Optional) */
DefaultSourceHost *string `json:"defaultSourceHost"`
/* (Optional) */
HttpType *string `json:"httpType"`
/* (Optional) */
IpSource []cdn.IpSourceInfo `json:"ipSource"`
/* (Optional) */
DomainSource []cdn.DomainSourceInfo `json:"domainSource"`
/* (Optional) */
OssSource *string `json:"ossSource"`
/* 加速区域:(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆 (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
/* (Optional) */
TempInstId *int64 `json:"tempInstId"`
}
func NewCreateDomainRequest ¶
func NewCreateDomainRequest( domain string, ) *CreateDomainRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateDomainRequestWithAllParams ¶
func NewCreateDomainRequestWithAllParams( domain string, sourceType *string, cdnType *string, backSourceType *string, dailyBandWidth *int64, quaility *string, maxFileSize *int64, minFileSize *int64, sumFileSize *int64, avgFileSize *int64, defaultSourceHost *string, httpType *string, ipSource []cdn.IpSourceInfo, domainSource []cdn.DomainSourceInfo, ossSource *string, accelerateRegion *string, tempInstId *int64, ) *CreateDomainRequest
* param domain: 用户域名 (Required) * param sourceType: 回源类型只能是[ips,domain,oss]中的一种 (Optional) * param cdnType: 点播域名的类型只能是[vod,download,web]中的一种 (Optional) * param backSourceType: 回源方式,只能是[https,http]中的一种,默认http (Optional) * param dailyBandWidth: 日带宽(Mbps) (Optional) * param quaility: 服务质量,只能是[good,general]中的一种,默认为good (Optional) * param maxFileSize: (Optional) * param minFileSize: (Optional) * param sumFileSize: (Optional) * param avgFileSize: (Optional) * param defaultSourceHost: (Optional) * param httpType: (Optional) * param ipSource: (Optional) * param domainSource: (Optional) * param ossSource: (Optional) * param accelerateRegion: 加速区域:(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆 (Optional) * param tempInstId: (Optional)
func NewCreateDomainRequestWithoutParam ¶
func NewCreateDomainRequestWithoutParam() *CreateDomainRequest
This constructor has better compatible ability when API parameters changed
func (CreateDomainRequest) GetRegionId ¶
func (r CreateDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateDomainRequest) SetAccelerateRegion ¶
func (r *CreateDomainRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域:(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球)默认为中国大陆(Optional)
func (*CreateDomainRequest) SetAvgFileSize ¶
func (r *CreateDomainRequest) SetAvgFileSize(avgFileSize int64)
param avgFileSize: (Optional)
func (*CreateDomainRequest) SetBackSourceType ¶
func (r *CreateDomainRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源方式,只能是[https,http]中的一种,默认http(Optional)
func (*CreateDomainRequest) SetCdnType ¶
func (r *CreateDomainRequest) SetCdnType(cdnType string)
param cdnType: 点播域名的类型只能是[vod,download,web]中的一种(Optional)
func (*CreateDomainRequest) SetDailyBandWidth ¶
func (r *CreateDomainRequest) SetDailyBandWidth(dailyBandWidth int64)
param dailyBandWidth: 日带宽(Mbps)(Optional)
func (*CreateDomainRequest) SetDefaultSourceHost ¶
func (r *CreateDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: (Optional)
func (*CreateDomainRequest) SetDomain ¶
func (r *CreateDomainRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateDomainRequest) SetDomainSource ¶
func (r *CreateDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*CreateDomainRequest) SetHttpType ¶
func (r *CreateDomainRequest) SetHttpType(httpType string)
param httpType: (Optional)
func (*CreateDomainRequest) SetIpSource ¶
func (r *CreateDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*CreateDomainRequest) SetMaxFileSize ¶
func (r *CreateDomainRequest) SetMaxFileSize(maxFileSize int64)
param maxFileSize: (Optional)
func (*CreateDomainRequest) SetMinFileSize ¶
func (r *CreateDomainRequest) SetMinFileSize(minFileSize int64)
param minFileSize: (Optional)
func (*CreateDomainRequest) SetOssSource ¶
func (r *CreateDomainRequest) SetOssSource(ossSource string)
param ossSource: (Optional)
func (*CreateDomainRequest) SetQuaility ¶
func (r *CreateDomainRequest) SetQuaility(quaility string)
param quaility: 服务质量,只能是[good,general]中的一种,默认为good(Optional)
func (*CreateDomainRequest) SetSourceType ¶
func (r *CreateDomainRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain,oss]中的一种(Optional)
func (*CreateDomainRequest) SetSumFileSize ¶
func (r *CreateDomainRequest) SetSumFileSize(sumFileSize int64)
param sumFileSize: (Optional)
func (*CreateDomainRequest) SetTempInstId ¶
func (r *CreateDomainRequest) SetTempInstId(tempInstId int64)
param tempInstId: (Optional)
type CreateDomainResponse ¶
type CreateDomainResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateDomainResult `json:"result"`
}
type CreateDomainResult ¶
type CreateDomainResult struct {
}
type CreateForbiddenInfoRequest ¶
type CreateForbiddenInfoRequest struct {
core.JDCloudRequest
/* 封禁类型,domain 域名封禁,url url封禁 (Optional) */
ForbiddenType *string `json:"forbiddenType"`
/* 封禁域名 (Optional) */
ForbiddenDomain *string `json:"forbiddenDomain"`
/* 封禁url,多个以;隔开 (Optional) */
ForbiddenUrl *string `json:"forbiddenUrl"`
/* 封禁原因 (Optional) */
Reason *string `json:"reason"`
/* y,n y表示是,n表示否 (Optional) */
LinkOther *string `json:"linkOther"`
ShareCacheDomainFlag *string `json:"shareCacheDomainFlag"`
/* 用于封禁前缀识别的URL,应为单个特殊字符,如:~ (Optional) */
Token *string `json:"token"`
}
func NewCreateForbiddenInfoRequest ¶
func NewCreateForbiddenInfoRequest() *CreateForbiddenInfoRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateForbiddenInfoRequestWithAllParams ¶
func NewCreateForbiddenInfoRequestWithAllParams( forbiddenType *string, forbiddenDomain *string, forbiddenUrl *string, reason *string, linkOther *string, shareCacheDomainFlag *string, token *string, ) *CreateForbiddenInfoRequest
* param forbiddenType: 封禁类型,domain 域名封禁,url url封禁 (Optional) * param forbiddenDomain: 封禁域名 (Optional) * param forbiddenUrl: 封禁url,多个以;隔开 (Optional) * param reason: 封禁原因 (Optional) * param linkOther: y,n y表示是,n表示否 (Optional) * param shareCacheDomainFlag: 是否同步操作共享缓存域名,0:仅操作本域名,1:同步操作共享缓存域名,默认为0 (Optional) * param token: 用于封禁前缀识别的URL,应为单个特殊字符,如:~ (Optional)
func NewCreateForbiddenInfoRequestWithoutParam ¶
func NewCreateForbiddenInfoRequestWithoutParam() *CreateForbiddenInfoRequest
This constructor has better compatible ability when API parameters changed
func (CreateForbiddenInfoRequest) GetRegionId ¶
func (r CreateForbiddenInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateForbiddenInfoRequest) SetForbiddenDomain ¶
func (r *CreateForbiddenInfoRequest) SetForbiddenDomain(forbiddenDomain string)
param forbiddenDomain: 封禁域名(Optional)
func (*CreateForbiddenInfoRequest) SetForbiddenType ¶
func (r *CreateForbiddenInfoRequest) SetForbiddenType(forbiddenType string)
param forbiddenType: 封禁类型,domain 域名封禁,url url封禁(Optional)
func (*CreateForbiddenInfoRequest) SetForbiddenUrl ¶
func (r *CreateForbiddenInfoRequest) SetForbiddenUrl(forbiddenUrl string)
param forbiddenUrl: 封禁url,多个以;隔开(Optional)
func (*CreateForbiddenInfoRequest) SetLinkOther ¶
func (r *CreateForbiddenInfoRequest) SetLinkOther(linkOther string)
param linkOther: y,n y表示是,n表示否(Optional)
func (*CreateForbiddenInfoRequest) SetReason ¶
func (r *CreateForbiddenInfoRequest) SetReason(reason string)
param reason: 封禁原因(Optional)
func (*CreateForbiddenInfoRequest) SetShareCacheDomainFlag ¶
func (r *CreateForbiddenInfoRequest) SetShareCacheDomainFlag(shareCacheDomainFlag string)
param shareCacheDomainFlag: 是否同步操作共享缓存域名,0:仅操作本域名,1:同步操作共享缓存域名,默认为0(Optional)
func (*CreateForbiddenInfoRequest) SetToken ¶
func (r *CreateForbiddenInfoRequest) SetToken(token string)
param token: 用于封禁前缀识别的URL,应为单个特殊字符,如:~(Optional)
type CreateForbiddenInfoResponse ¶
type CreateForbiddenInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateForbiddenInfoResult `json:"result"`
}
type CreateForbiddenInfoResult ¶
type CreateForbiddenInfoResult struct {
}
type CreateLiveDomainPrefecthTaskRequest ¶
type CreateLiveDomainPrefecthTaskRequest struct {
core.JDCloudRequest
/* 预热的URL (Optional) */
UrlList []string `json:"urlList"`
/* 预热时长 (Optional) */
PrefetchTime *int `json:"prefetchTime"`
/* 操作类型只能是[start,stop]中的一种 (Optional) */
Action *string `json:"action"`
}
func NewCreateLiveDomainPrefecthTaskRequest ¶
func NewCreateLiveDomainPrefecthTaskRequest() *CreateLiveDomainPrefecthTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateLiveDomainPrefecthTaskRequestWithAllParams ¶
func NewCreateLiveDomainPrefecthTaskRequestWithAllParams( urlList []string, prefetchTime *int, action *string, ) *CreateLiveDomainPrefecthTaskRequest
* param urlList: 预热的URL (Optional) * param prefetchTime: 预热时长 (Optional) * param action: 操作类型只能是[start,stop]中的一种 (Optional)
func NewCreateLiveDomainPrefecthTaskRequestWithoutParam ¶
func NewCreateLiveDomainPrefecthTaskRequestWithoutParam() *CreateLiveDomainPrefecthTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateLiveDomainPrefecthTaskRequest) GetRegionId ¶
func (r CreateLiveDomainPrefecthTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateLiveDomainPrefecthTaskRequest) SetAction ¶
func (r *CreateLiveDomainPrefecthTaskRequest) SetAction(action string)
param action: 操作类型只能是[start,stop]中的一种(Optional)
func (*CreateLiveDomainPrefecthTaskRequest) SetPrefetchTime ¶
func (r *CreateLiveDomainPrefecthTaskRequest) SetPrefetchTime(prefetchTime int)
param prefetchTime: 预热时长(Optional)
func (*CreateLiveDomainPrefecthTaskRequest) SetUrlList ¶
func (r *CreateLiveDomainPrefecthTaskRequest) SetUrlList(urlList []string)
param urlList: 预热的URL(Optional)
type CreateLiveDomainPrefecthTaskResponse ¶
type CreateLiveDomainPrefecthTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateLiveDomainPrefecthTaskResult `json:"result"`
}
type CreateLiveDomainPrefecthTaskResult ¶
type CreateLiveDomainPrefecthTaskResult struct {
}
type CreateRefreshTaskForCallbackRequest ¶
type CreateRefreshTaskForCallbackRequest struct {
core.JDCloudRequest
/* 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热) (Optional) */
TaskType *string `json:"taskType"`
/* (Optional) */
UrlItems []cdn.UrlItem `json:"urlItems"`
}
func NewCreateRefreshTaskForCallbackRequest ¶
func NewCreateRefreshTaskForCallbackRequest() *CreateRefreshTaskForCallbackRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRefreshTaskForCallbackRequestWithAllParams ¶
func NewCreateRefreshTaskForCallbackRequestWithAllParams( taskType *string, urlItems []cdn.UrlItem, ) *CreateRefreshTaskForCallbackRequest
* param taskType: 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热) (Optional) * param urlItems: (Optional)
func NewCreateRefreshTaskForCallbackRequestWithoutParam ¶
func NewCreateRefreshTaskForCallbackRequestWithoutParam() *CreateRefreshTaskForCallbackRequest
This constructor has better compatible ability when API parameters changed
func (CreateRefreshTaskForCallbackRequest) GetRegionId ¶
func (r CreateRefreshTaskForCallbackRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRefreshTaskForCallbackRequest) SetTaskType ¶
func (r *CreateRefreshTaskForCallbackRequest) SetTaskType(taskType string)
param taskType: 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热)(Optional)
func (*CreateRefreshTaskForCallbackRequest) SetUrlItems ¶
func (r *CreateRefreshTaskForCallbackRequest) SetUrlItems(urlItems []cdn.UrlItem)
param urlItems: (Optional)
type CreateRefreshTaskForCallbackResponse ¶
type CreateRefreshTaskForCallbackResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRefreshTaskForCallbackResult `json:"result"`
}
type CreateRefreshTaskForCallbackV2Request ¶
type CreateRefreshTaskForCallbackV2Request struct {
core.JDCloudRequest
/* 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热) (Optional) */
TaskType *string `json:"taskType"`
/* (Optional) */
UrlItems []cdn.UrlItemV2 `json:"urlItems"`
}
func NewCreateRefreshTaskForCallbackV2Request ¶
func NewCreateRefreshTaskForCallbackV2Request() *CreateRefreshTaskForCallbackV2Request
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRefreshTaskForCallbackV2RequestWithAllParams ¶
func NewCreateRefreshTaskForCallbackV2RequestWithAllParams( taskType *string, urlItems []cdn.UrlItemV2, ) *CreateRefreshTaskForCallbackV2Request
* param taskType: 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热) (Optional) * param urlItems: (Optional)
func NewCreateRefreshTaskForCallbackV2RequestWithoutParam ¶
func NewCreateRefreshTaskForCallbackV2RequestWithoutParam() *CreateRefreshTaskForCallbackV2Request
This constructor has better compatible ability when API parameters changed
func (CreateRefreshTaskForCallbackV2Request) GetRegionId ¶
func (r CreateRefreshTaskForCallbackV2Request) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRefreshTaskForCallbackV2Request) SetTaskType ¶
func (r *CreateRefreshTaskForCallbackV2Request) SetTaskType(taskType string)
param taskType: 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热)(Optional)
func (*CreateRefreshTaskForCallbackV2Request) SetUrlItems ¶
func (r *CreateRefreshTaskForCallbackV2Request) SetUrlItems(urlItems []cdn.UrlItemV2)
param urlItems: (Optional)
type CreateRefreshTaskForCallbackV2Response ¶
type CreateRefreshTaskForCallbackV2Response struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRefreshTaskForCallbackV2Result `json:"result"`
}
type CreateRefreshTaskRequest ¶
type CreateRefreshTaskRequest struct {
core.JDCloudRequest
/* 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热),中国境外/全球加速域名暂不支持预热功能 (Optional) */
TaskType *string `json:"taskType"`
/* (Optional) */
Urls []string `json:"urls"`
}
func NewCreateRefreshTaskRequest ¶
func NewCreateRefreshTaskRequest() *CreateRefreshTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateRefreshTaskRequestWithAllParams ¶
func NewCreateRefreshTaskRequestWithAllParams( taskType *string, urls []string, ) *CreateRefreshTaskRequest
* param taskType: 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热),中国境外/全球加速域名暂不支持预热功能 (Optional) * param urls: (Optional)
func NewCreateRefreshTaskRequestWithoutParam ¶
func NewCreateRefreshTaskRequestWithoutParam() *CreateRefreshTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateRefreshTaskRequest) GetRegionId ¶
func (r CreateRefreshTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateRefreshTaskRequest) SetTaskType ¶
func (r *CreateRefreshTaskRequest) SetTaskType(taskType string)
param taskType: 刷新预热类型,(url:url刷新,dir:目录刷新,prefetch:预热),中国境外/全球加速域名暂不支持预热功能(Optional)
func (*CreateRefreshTaskRequest) SetUrls ¶
func (r *CreateRefreshTaskRequest) SetUrls(urls []string)
param urls: (Optional)
type CreateRefreshTaskResponse ¶
type CreateRefreshTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateRefreshTaskResult `json:"result"`
}
type CreateRefreshTaskResult ¶
type CreateWafBlackRuleRequest ¶
type CreateWafBlackRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 黑名单类型, uri ip geo (Optional) */
RuleType *string `json:"ruleType"`
/* 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) */
MatchOp *int `json:"matchOp"`
/* 匹配值 (Optional) */
Val *string `json:"val"`
/* 1:forbidden,493封禁并返回自定义页面 2:redirect,302跳转 3: verify@captcha 4: verify@jscookie (Optional) */
AtOp *int `json:"atOp"`
/* action为1时为自定义页面名称,空值或缺省值default为默认页面,2时为跳转url,其他时无效 (Optional) */
AtVal *string `json:"atVal"`
}
func NewCreateWafBlackRuleRequest ¶
func NewCreateWafBlackRuleRequest( domain string, ) *CreateWafBlackRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateWafBlackRuleRequestWithAllParams ¶
func NewCreateWafBlackRuleRequestWithAllParams( domain string, ruleType *string, matchOp *int, val *string, atOp *int, atVal *string, ) *CreateWafBlackRuleRequest
* param domain: 用户域名 (Required) * param ruleType: 黑名单类型, uri ip geo (Optional) * param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) * param val: 匹配值 (Optional) * param atOp: 1:forbidden,493封禁并返回自定义页面 2:redirect,302跳转 3: verify@captcha 4: verify@jscookie (Optional) * param atVal: action为1时为自定义页面名称,空值或缺省值default为默认页面,2时为跳转url,其他时无效 (Optional)
func NewCreateWafBlackRuleRequestWithoutParam ¶
func NewCreateWafBlackRuleRequestWithoutParam() *CreateWafBlackRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateWafBlackRuleRequest) GetRegionId ¶
func (r CreateWafBlackRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateWafBlackRuleRequest) SetAtOp ¶
func (r *CreateWafBlackRuleRequest) SetAtOp(atOp int)
param atOp: 1:forbidden,493封禁并返回自定义页面 2:redirect,302跳转 3: verify@captcha 4: verify@jscookie(Optional)
func (*CreateWafBlackRuleRequest) SetAtVal ¶
func (r *CreateWafBlackRuleRequest) SetAtVal(atVal string)
param atVal: action为1时为自定义页面名称,空值或缺省值default为默认页面,2时为跳转url,其他时无效(Optional)
func (*CreateWafBlackRuleRequest) SetDomain ¶
func (r *CreateWafBlackRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateWafBlackRuleRequest) SetMatchOp ¶
func (r *CreateWafBlackRuleRequest) SetMatchOp(matchOp int)
param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀(Optional)
func (*CreateWafBlackRuleRequest) SetRuleType ¶
func (r *CreateWafBlackRuleRequest) SetRuleType(ruleType string)
param ruleType: 黑名单类型, uri ip geo(Optional)
func (*CreateWafBlackRuleRequest) SetVal ¶
func (r *CreateWafBlackRuleRequest) SetVal(val string)
param val: 匹配值(Optional)
type CreateWafBlackRuleResponse ¶
type CreateWafBlackRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateWafBlackRuleResult `json:"result"`
}
type CreateWafBlackRuleResult ¶
type CreateWafBlackRuleResult struct {
}
type CreateWafWhiteRuleRequest ¶
type CreateWafWhiteRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 白名单类型, uri ip geo (Optional) */
RuleType *string `json:"ruleType"`
/* 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) */
MatchOp *int `json:"matchOp"`
/* 匹配值 (Optional) */
Val *string `json:"val"`
/* 后续处理 "waf" "cc" "deny"自由组合,空表示跳过后续所有阶段 (Optional) */
Actions []string `json:"actions"`
}
func NewCreateWafWhiteRuleRequest ¶
func NewCreateWafWhiteRuleRequest( domain string, ) *CreateWafWhiteRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateWafWhiteRuleRequestWithAllParams ¶
func NewCreateWafWhiteRuleRequestWithAllParams( domain string, ruleType *string, matchOp *int, val *string, actions []string, ) *CreateWafWhiteRuleRequest
* param domain: 用户域名 (Required) * param ruleType: 白名单类型, uri ip geo (Optional) * param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) * param val: 匹配值 (Optional) * param actions: 后续处理 "waf" "cc" "deny"自由组合,空表示跳过后续所有阶段 (Optional)
func NewCreateWafWhiteRuleRequestWithoutParam ¶
func NewCreateWafWhiteRuleRequestWithoutParam() *CreateWafWhiteRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateWafWhiteRuleRequest) GetRegionId ¶
func (r CreateWafWhiteRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateWafWhiteRuleRequest) SetActions ¶
func (r *CreateWafWhiteRuleRequest) SetActions(actions []string)
param actions: 后续处理 "waf" "cc" "deny"自由组合,空表示跳过后续所有阶段(Optional)
func (*CreateWafWhiteRuleRequest) SetDomain ¶
func (r *CreateWafWhiteRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateWafWhiteRuleRequest) SetMatchOp ¶
func (r *CreateWafWhiteRuleRequest) SetMatchOp(matchOp int)
param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀(Optional)
func (*CreateWafWhiteRuleRequest) SetRuleType ¶
func (r *CreateWafWhiteRuleRequest) SetRuleType(ruleType string)
param ruleType: 白名单类型, uri ip geo(Optional)
func (*CreateWafWhiteRuleRequest) SetVal ¶
func (r *CreateWafWhiteRuleRequest) SetVal(val string)
param val: 匹配值(Optional)
type CreateWafWhiteRuleResponse ¶
type CreateWafWhiteRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result CreateWafWhiteRuleResult `json:"result"`
}
type CreateWafWhiteRuleResult ¶
type CreateWafWhiteRuleResult struct {
}
type DelDomainTempInstanceRequest ¶
type DelDomainTempInstanceRequest struct {
core.JDCloudRequest
/* 模板实例id */
InstId int `json:"instId"`
}
func NewDelDomainTempInstanceRequest ¶
func NewDelDomainTempInstanceRequest( instId int, ) *DelDomainTempInstanceRequest
* param instId: 模板实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDelDomainTempInstanceRequestWithAllParams ¶
func NewDelDomainTempInstanceRequestWithAllParams( instId int, ) *DelDomainTempInstanceRequest
* param instId: 模板实例id (Required)
func NewDelDomainTempInstanceRequestWithoutParam ¶
func NewDelDomainTempInstanceRequestWithoutParam() *DelDomainTempInstanceRequest
This constructor has better compatible ability when API parameters changed
func (DelDomainTempInstanceRequest) GetRegionId ¶
func (r DelDomainTempInstanceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DelDomainTempInstanceRequest) SetInstId ¶
func (r *DelDomainTempInstanceRequest) SetInstId(instId int)
param instId: 模板实例id(Required)
type DelDomainTempInstanceResponse ¶
type DelDomainTempInstanceResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DelDomainTempInstanceResult `json:"result"`
}
type DelDomainTempInstanceResult ¶
type DelDomainTempInstanceResult struct {
}
type DeleteCCProtectRuleRequest ¶
type DeleteCCProtectRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* */
Ids string `json:"ids"`
}
func NewDeleteCCProtectRuleRequest ¶
func NewDeleteCCProtectRuleRequest( domain string, ids string, ) *DeleteCCProtectRuleRequest
* param domain: 用户域名 (Required) * param ids: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCCProtectRuleRequestWithAllParams ¶
func NewDeleteCCProtectRuleRequestWithAllParams( domain string, ids string, ) *DeleteCCProtectRuleRequest
* param domain: 用户域名 (Required) * param ids: (Required)
func NewDeleteCCProtectRuleRequestWithoutParam ¶
func NewDeleteCCProtectRuleRequestWithoutParam() *DeleteCCProtectRuleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCCProtectRuleRequest) GetRegionId ¶
func (r DeleteCCProtectRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCCProtectRuleRequest) SetDomain ¶
func (r *DeleteCCProtectRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DeleteCCProtectRuleRequest) SetIds ¶
func (r *DeleteCCProtectRuleRequest) SetIds(ids string)
param ids: (Required)
type DeleteCCProtectRuleResponse ¶
type DeleteCCProtectRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteCCProtectRuleResult `json:"result"`
}
type DeleteCCProtectRuleResult ¶
type DeleteCCProtectRuleResult struct {
}
type DeleteCacheRuleRequest ¶
type DeleteCacheRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 缓存规则配置ID (Optional) */
ConfigId *int64 `json:"configId"`
}
func NewDeleteCacheRuleRequest ¶
func NewDeleteCacheRuleRequest( domain string, ) *DeleteCacheRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCacheRuleRequestWithAllParams ¶
func NewDeleteCacheRuleRequestWithAllParams( domain string, configId *int64, ) *DeleteCacheRuleRequest
* param domain: 用户域名 (Required) * param configId: 缓存规则配置ID (Optional)
func NewDeleteCacheRuleRequestWithoutParam ¶
func NewDeleteCacheRuleRequestWithoutParam() *DeleteCacheRuleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCacheRuleRequest) GetRegionId ¶
func (r DeleteCacheRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCacheRuleRequest) SetConfigId ¶
func (r *DeleteCacheRuleRequest) SetConfigId(configId int64)
param configId: 缓存规则配置ID(Optional)
func (*DeleteCacheRuleRequest) SetDomain ¶
func (r *DeleteCacheRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type DeleteCacheRuleResponse ¶
type DeleteCacheRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteCacheRuleResult `json:"result"`
}
type DeleteCacheRuleResult ¶
type DeleteCacheRuleResult struct {
}
type DeleteDomainRequest ¶
type DeleteDomainRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewDeleteDomainRequest ¶
func NewDeleteDomainRequest( domain string, ) *DeleteDomainRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteDomainRequestWithAllParams ¶
func NewDeleteDomainRequestWithAllParams( domain string, ) *DeleteDomainRequest
* param domain: 用户域名 (Required)
func NewDeleteDomainRequestWithoutParam ¶
func NewDeleteDomainRequestWithoutParam() *DeleteDomainRequest
This constructor has better compatible ability when API parameters changed
func (DeleteDomainRequest) GetRegionId ¶
func (r DeleteDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteDomainRequest) SetDomain ¶
func (r *DeleteDomainRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type DeleteDomainResponse ¶
type DeleteDomainResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteDomainResult `json:"result"`
}
type DeleteDomainResult ¶
type DeleteDomainResult struct {
}
type DeleteExtraCacheTimeRequest ¶
type DeleteExtraCacheTimeRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个 (Optional) */
HttpCode *string `json:"httpCode"`
}
func NewDeleteExtraCacheTimeRequest ¶
func NewDeleteExtraCacheTimeRequest( domain string, ) *DeleteExtraCacheTimeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteExtraCacheTimeRequestWithAllParams ¶
func NewDeleteExtraCacheTimeRequestWithAllParams( domain string, httpCode *string, ) *DeleteExtraCacheTimeRequest
* param domain: 用户域名 (Required) * param httpCode: 异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个 (Optional)
func NewDeleteExtraCacheTimeRequestWithoutParam ¶
func NewDeleteExtraCacheTimeRequestWithoutParam() *DeleteExtraCacheTimeRequest
This constructor has better compatible ability when API parameters changed
func (DeleteExtraCacheTimeRequest) GetRegionId ¶
func (r DeleteExtraCacheTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteExtraCacheTimeRequest) SetDomain ¶
func (r *DeleteExtraCacheTimeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DeleteExtraCacheTimeRequest) SetHttpCode ¶
func (r *DeleteExtraCacheTimeRequest) SetHttpCode(httpCode string)
param httpCode: 异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个(Optional)
type DeleteExtraCacheTimeResponse ¶
type DeleteExtraCacheTimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteExtraCacheTimeResult `json:"result"`
}
type DeleteExtraCacheTimeResult ¶
type DeleteExtraCacheTimeResult struct {
}
type DeleteForbiddenInfoRequest ¶
type DeleteForbiddenInfoRequest struct {
core.JDCloudRequest
/* 封禁类型,domain 域名封禁,url url封禁 (Optional) */
ForbiddenType *string `json:"forbiddenType"`
/* 封禁域名 (Optional) */
ForbiddenDomain *string `json:"forbiddenDomain"`
/* 封禁url,多个以;隔开 (Optional) */
ForbiddenUrl *string `json:"forbiddenUrl"`
ShareCacheDomainFlag *string `json:"shareCacheDomainFlag"`
/* 用于封禁前缀识别的URL,应为单个特殊字符,如:~ (Optional) */
Token *string `json:"token"`
}
func NewDeleteForbiddenInfoRequest ¶
func NewDeleteForbiddenInfoRequest() *DeleteForbiddenInfoRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteForbiddenInfoRequestWithAllParams ¶
func NewDeleteForbiddenInfoRequestWithAllParams( forbiddenType *string, forbiddenDomain *string, forbiddenUrl *string, shareCacheDomainFlag *string, token *string, ) *DeleteForbiddenInfoRequest
* param forbiddenType: 封禁类型,domain 域名封禁,url url封禁 (Optional) * param forbiddenDomain: 封禁域名 (Optional) * param forbiddenUrl: 封禁url,多个以;隔开 (Optional) * param shareCacheDomainFlag: 是否同步操作共享缓存域名,0:仅操作本域名,1:同步操作共享缓存域名,默认为0 (Optional) * param token: 用于封禁前缀识别的URL,应为单个特殊字符,如:~ (Optional)
func NewDeleteForbiddenInfoRequestWithoutParam ¶
func NewDeleteForbiddenInfoRequestWithoutParam() *DeleteForbiddenInfoRequest
This constructor has better compatible ability when API parameters changed
func (DeleteForbiddenInfoRequest) GetRegionId ¶
func (r DeleteForbiddenInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteForbiddenInfoRequest) SetForbiddenDomain ¶
func (r *DeleteForbiddenInfoRequest) SetForbiddenDomain(forbiddenDomain string)
param forbiddenDomain: 封禁域名(Optional)
func (*DeleteForbiddenInfoRequest) SetForbiddenType ¶
func (r *DeleteForbiddenInfoRequest) SetForbiddenType(forbiddenType string)
param forbiddenType: 封禁类型,domain 域名封禁,url url封禁(Optional)
func (*DeleteForbiddenInfoRequest) SetForbiddenUrl ¶
func (r *DeleteForbiddenInfoRequest) SetForbiddenUrl(forbiddenUrl string)
param forbiddenUrl: 封禁url,多个以;隔开(Optional)
func (*DeleteForbiddenInfoRequest) SetShareCacheDomainFlag ¶
func (r *DeleteForbiddenInfoRequest) SetShareCacheDomainFlag(shareCacheDomainFlag string)
param shareCacheDomainFlag: 是否同步操作共享缓存域名,0:仅操作本域名,1:同步操作共享缓存域名,默认为0(Optional)
func (*DeleteForbiddenInfoRequest) SetToken ¶
func (r *DeleteForbiddenInfoRequest) SetToken(token string)
param token: 用于封禁前缀识别的URL,应为单个特殊字符,如:~(Optional)
type DeleteForbiddenInfoResponse ¶
type DeleteForbiddenInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteForbiddenInfoResult `json:"result"`
}
type DeleteForbiddenInfoResult ¶
type DeleteForbiddenInfoResult struct {
TaskId string `json:"taskId"`
}
type DeleteForbiddenStreamRequest ¶
type DeleteForbiddenStreamRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 要删除的禁播流 (Optional) */
DeleteStreams []cdn.DeleteStream `json:"deleteStreams"`
}
func NewDeleteForbiddenStreamRequest ¶
func NewDeleteForbiddenStreamRequest( domain string, ) *DeleteForbiddenStreamRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteForbiddenStreamRequestWithAllParams ¶
func NewDeleteForbiddenStreamRequestWithAllParams( domain string, deleteStreams []cdn.DeleteStream, ) *DeleteForbiddenStreamRequest
* param domain: 用户域名 (Required) * param deleteStreams: 要删除的禁播流 (Optional)
func NewDeleteForbiddenStreamRequestWithoutParam ¶
func NewDeleteForbiddenStreamRequestWithoutParam() *DeleteForbiddenStreamRequest
This constructor has better compatible ability when API parameters changed
func (DeleteForbiddenStreamRequest) GetRegionId ¶
func (r DeleteForbiddenStreamRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteForbiddenStreamRequest) SetDeleteStreams ¶
func (r *DeleteForbiddenStreamRequest) SetDeleteStreams(deleteStreams []cdn.DeleteStream)
param deleteStreams: 要删除的禁播流(Optional)
func (*DeleteForbiddenStreamRequest) SetDomain ¶
func (r *DeleteForbiddenStreamRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type DeleteForbiddenStreamResponse ¶
type DeleteForbiddenStreamResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteForbiddenStreamResult `json:"result"`
}
type DeleteForbiddenStreamResult ¶
type DeleteForbiddenStreamResult struct {
}
type DeleteHttpHeaderRequest ¶
type DeleteHttpHeaderRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 0表示header在边缘生效,1表示header回源生效,2表示在边缘和回源都生效,该字段不传时默认header在边缘和回源都生效 (Optional) */
EdgeType *int `json:"edgeType"`
/* header类型[resp,req] (Optional) */
HeaderType *string `json:"headerType"`
/* header名 (Optional) */
HeaderName *string `json:"headerName"`
}
func NewDeleteHttpHeaderRequest ¶
func NewDeleteHttpHeaderRequest( domain string, ) *DeleteHttpHeaderRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteHttpHeaderRequestWithAllParams ¶
func NewDeleteHttpHeaderRequestWithAllParams( domain string, edgeType *int, headerType *string, headerName *string, ) *DeleteHttpHeaderRequest
* param domain: 用户域名 (Required) * param edgeType: 0表示header在边缘生效,1表示header回源生效,2表示在边缘和回源都生效,该字段不传时默认header在边缘和回源都生效 (Optional) * param headerType: header类型[resp,req] (Optional) * param headerName: header名 (Optional)
func NewDeleteHttpHeaderRequestWithoutParam ¶
func NewDeleteHttpHeaderRequestWithoutParam() *DeleteHttpHeaderRequest
This constructor has better compatible ability when API parameters changed
func (DeleteHttpHeaderRequest) GetRegionId ¶
func (r DeleteHttpHeaderRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteHttpHeaderRequest) SetDomain ¶
func (r *DeleteHttpHeaderRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DeleteHttpHeaderRequest) SetEdgeType ¶
func (r *DeleteHttpHeaderRequest) SetEdgeType(edgeType int)
param edgeType: 0表示header在边缘生效,1表示header回源生效,2表示在边缘和回源都生效,该字段不传时默认header在边缘和回源都生效(Optional)
func (*DeleteHttpHeaderRequest) SetHeaderName ¶
func (r *DeleteHttpHeaderRequest) SetHeaderName(headerName string)
param headerName: header名(Optional)
func (*DeleteHttpHeaderRequest) SetHeaderType ¶
func (r *DeleteHttpHeaderRequest) SetHeaderType(headerType string)
param headerType: header类型[resp,req](Optional)
type DeleteHttpHeaderResponse ¶
type DeleteHttpHeaderResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteHttpHeaderResult `json:"result"`
}
type DeleteHttpHeaderResult ¶
type DeleteHttpHeaderResult struct {
}
type DeleteWafBlackRulesRequest ¶
type DeleteWafBlackRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* */
Ids string `json:"ids"`
/* */
RuleType string `json:"ruleType"`
}
func NewDeleteWafBlackRulesRequest ¶
func NewDeleteWafBlackRulesRequest( domain string, ids string, ruleType string, ) *DeleteWafBlackRulesRequest
* param domain: 用户域名 (Required) * param ids: (Required) * param ruleType: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteWafBlackRulesRequestWithAllParams ¶
func NewDeleteWafBlackRulesRequestWithAllParams( domain string, ids string, ruleType string, ) *DeleteWafBlackRulesRequest
* param domain: 用户域名 (Required) * param ids: (Required) * param ruleType: (Required)
func NewDeleteWafBlackRulesRequestWithoutParam ¶
func NewDeleteWafBlackRulesRequestWithoutParam() *DeleteWafBlackRulesRequest
This constructor has better compatible ability when API parameters changed
func (DeleteWafBlackRulesRequest) GetRegionId ¶
func (r DeleteWafBlackRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteWafBlackRulesRequest) SetDomain ¶
func (r *DeleteWafBlackRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DeleteWafBlackRulesRequest) SetIds ¶
func (r *DeleteWafBlackRulesRequest) SetIds(ids string)
param ids: (Required)
func (*DeleteWafBlackRulesRequest) SetRuleType ¶
func (r *DeleteWafBlackRulesRequest) SetRuleType(ruleType string)
param ruleType: (Required)
type DeleteWafBlackRulesResponse ¶
type DeleteWafBlackRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteWafBlackRulesResult `json:"result"`
}
type DeleteWafBlackRulesResult ¶
type DeleteWafBlackRulesResult struct {
}
type DeleteWafWhiteRulesRequest ¶
type DeleteWafWhiteRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* */
Ids string `json:"ids"`
/* */
RuleType string `json:"ruleType"`
}
func NewDeleteWafWhiteRulesRequest ¶
func NewDeleteWafWhiteRulesRequest( domain string, ids string, ruleType string, ) *DeleteWafWhiteRulesRequest
* param domain: 用户域名 (Required) * param ids: (Required) * param ruleType: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteWafWhiteRulesRequestWithAllParams ¶
func NewDeleteWafWhiteRulesRequestWithAllParams( domain string, ids string, ruleType string, ) *DeleteWafWhiteRulesRequest
* param domain: 用户域名 (Required) * param ids: (Required) * param ruleType: (Required)
func NewDeleteWafWhiteRulesRequestWithoutParam ¶
func NewDeleteWafWhiteRulesRequestWithoutParam() *DeleteWafWhiteRulesRequest
This constructor has better compatible ability when API parameters changed
func (DeleteWafWhiteRulesRequest) GetRegionId ¶
func (r DeleteWafWhiteRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteWafWhiteRulesRequest) SetDomain ¶
func (r *DeleteWafWhiteRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DeleteWafWhiteRulesRequest) SetIds ¶
func (r *DeleteWafWhiteRulesRequest) SetIds(ids string)
param ids: (Required)
func (*DeleteWafWhiteRulesRequest) SetRuleType ¶
func (r *DeleteWafWhiteRulesRequest) SetRuleType(ruleType string)
param ruleType: (Required)
type DeleteWafWhiteRulesResponse ¶
type DeleteWafWhiteRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DeleteWafWhiteRulesResult `json:"result"`
}
type DeleteWafWhiteRulesResult ¶
type DeleteWafWhiteRulesResult struct {
}
type DisableCCProtectRuleRequest ¶
type DisableCCProtectRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Ids []string `json:"ids"`
}
func NewDisableCCProtectRuleRequest ¶
func NewDisableCCProtectRuleRequest( domain string, ) *DisableCCProtectRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableCCProtectRuleRequestWithAllParams ¶
func NewDisableCCProtectRuleRequestWithAllParams( domain string, ids []string, ) *DisableCCProtectRuleRequest
* param domain: 用户域名 (Required) * param ids: (Optional)
func NewDisableCCProtectRuleRequestWithoutParam ¶
func NewDisableCCProtectRuleRequestWithoutParam() *DisableCCProtectRuleRequest
This constructor has better compatible ability when API parameters changed
func (DisableCCProtectRuleRequest) GetRegionId ¶
func (r DisableCCProtectRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableCCProtectRuleRequest) SetDomain ¶
func (r *DisableCCProtectRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DisableCCProtectRuleRequest) SetIds ¶
func (r *DisableCCProtectRuleRequest) SetIds(ids []string)
param ids: (Optional)
type DisableCCProtectRuleResponse ¶
type DisableCCProtectRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableCCProtectRuleResult `json:"result"`
}
type DisableCCProtectRuleResult ¶
type DisableCCProtectRuleResult struct {
}
type DisableWafBlackRulesRequest ¶
type DisableWafBlackRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Ids []string `json:"ids"`
/* (Optional) */
RuleType *string `json:"ruleType"`
}
func NewDisableWafBlackRulesRequest ¶
func NewDisableWafBlackRulesRequest( domain string, ) *DisableWafBlackRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableWafBlackRulesRequestWithAllParams ¶
func NewDisableWafBlackRulesRequestWithAllParams( domain string, ids []string, ruleType *string, ) *DisableWafBlackRulesRequest
* param domain: 用户域名 (Required) * param ids: (Optional) * param ruleType: (Optional)
func NewDisableWafBlackRulesRequestWithoutParam ¶
func NewDisableWafBlackRulesRequestWithoutParam() *DisableWafBlackRulesRequest
This constructor has better compatible ability when API parameters changed
func (DisableWafBlackRulesRequest) GetRegionId ¶
func (r DisableWafBlackRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableWafBlackRulesRequest) SetDomain ¶
func (r *DisableWafBlackRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DisableWafBlackRulesRequest) SetIds ¶
func (r *DisableWafBlackRulesRequest) SetIds(ids []string)
param ids: (Optional)
func (*DisableWafBlackRulesRequest) SetRuleType ¶
func (r *DisableWafBlackRulesRequest) SetRuleType(ruleType string)
param ruleType: (Optional)
type DisableWafBlackRulesResponse ¶
type DisableWafBlackRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableWafBlackRulesResult `json:"result"`
}
type DisableWafBlackRulesResult ¶
type DisableWafBlackRulesResult struct {
}
type DisableWafWhiteRulesRequest ¶
type DisableWafWhiteRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Ids []string `json:"ids"`
/* (Optional) */
RuleType *string `json:"ruleType"`
}
func NewDisableWafWhiteRulesRequest ¶
func NewDisableWafWhiteRulesRequest( domain string, ) *DisableWafWhiteRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDisableWafWhiteRulesRequestWithAllParams ¶
func NewDisableWafWhiteRulesRequestWithAllParams( domain string, ids []string, ruleType *string, ) *DisableWafWhiteRulesRequest
* param domain: 用户域名 (Required) * param ids: (Optional) * param ruleType: (Optional)
func NewDisableWafWhiteRulesRequestWithoutParam ¶
func NewDisableWafWhiteRulesRequestWithoutParam() *DisableWafWhiteRulesRequest
This constructor has better compatible ability when API parameters changed
func (DisableWafWhiteRulesRequest) GetRegionId ¶
func (r DisableWafWhiteRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DisableWafWhiteRulesRequest) SetDomain ¶
func (r *DisableWafWhiteRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DisableWafWhiteRulesRequest) SetIds ¶
func (r *DisableWafWhiteRulesRequest) SetIds(ids []string)
param ids: (Optional)
func (*DisableWafWhiteRulesRequest) SetRuleType ¶
func (r *DisableWafWhiteRulesRequest) SetRuleType(ruleType string)
param ruleType: (Optional)
type DisableWafWhiteRulesResponse ¶
type DisableWafWhiteRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result DisableWafWhiteRulesResult `json:"result"`
}
type DisableWafWhiteRulesResult ¶
type DisableWafWhiteRulesResult struct {
}
type EnableCCProtectRuleRequest ¶
type EnableCCProtectRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Ids []string `json:"ids"`
}
func NewEnableCCProtectRuleRequest ¶
func NewEnableCCProtectRuleRequest( domain string, ) *EnableCCProtectRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableCCProtectRuleRequestWithAllParams ¶
func NewEnableCCProtectRuleRequestWithAllParams( domain string, ids []string, ) *EnableCCProtectRuleRequest
* param domain: 用户域名 (Required) * param ids: (Optional)
func NewEnableCCProtectRuleRequestWithoutParam ¶
func NewEnableCCProtectRuleRequestWithoutParam() *EnableCCProtectRuleRequest
This constructor has better compatible ability when API parameters changed
func (EnableCCProtectRuleRequest) GetRegionId ¶
func (r EnableCCProtectRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableCCProtectRuleRequest) SetDomain ¶
func (r *EnableCCProtectRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*EnableCCProtectRuleRequest) SetIds ¶
func (r *EnableCCProtectRuleRequest) SetIds(ids []string)
param ids: (Optional)
type EnableCCProtectRuleResponse ¶
type EnableCCProtectRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableCCProtectRuleResult `json:"result"`
}
type EnableCCProtectRuleResult ¶
type EnableCCProtectRuleResult struct {
}
type EnableWafBlackRulesRequest ¶
type EnableWafBlackRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Ids []string `json:"ids"`
/* (Optional) */
RuleType *string `json:"ruleType"`
}
func NewEnableWafBlackRulesRequest ¶
func NewEnableWafBlackRulesRequest( domain string, ) *EnableWafBlackRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableWafBlackRulesRequestWithAllParams ¶
func NewEnableWafBlackRulesRequestWithAllParams( domain string, ids []string, ruleType *string, ) *EnableWafBlackRulesRequest
* param domain: 用户域名 (Required) * param ids: (Optional) * param ruleType: (Optional)
func NewEnableWafBlackRulesRequestWithoutParam ¶
func NewEnableWafBlackRulesRequestWithoutParam() *EnableWafBlackRulesRequest
This constructor has better compatible ability when API parameters changed
func (EnableWafBlackRulesRequest) GetRegionId ¶
func (r EnableWafBlackRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableWafBlackRulesRequest) SetDomain ¶
func (r *EnableWafBlackRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*EnableWafBlackRulesRequest) SetIds ¶
func (r *EnableWafBlackRulesRequest) SetIds(ids []string)
param ids: (Optional)
func (*EnableWafBlackRulesRequest) SetRuleType ¶
func (r *EnableWafBlackRulesRequest) SetRuleType(ruleType string)
param ruleType: (Optional)
type EnableWafBlackRulesResponse ¶
type EnableWafBlackRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableWafBlackRulesResult `json:"result"`
}
type EnableWafBlackRulesResult ¶
type EnableWafBlackRulesResult struct {
}
type EnableWafWhiteRulesRequest ¶
type EnableWafWhiteRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Ids []string `json:"ids"`
/* (Optional) */
RuleType *string `json:"ruleType"`
}
func NewEnableWafWhiteRulesRequest ¶
func NewEnableWafWhiteRulesRequest( domain string, ) *EnableWafWhiteRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewEnableWafWhiteRulesRequestWithAllParams ¶
func NewEnableWafWhiteRulesRequestWithAllParams( domain string, ids []string, ruleType *string, ) *EnableWafWhiteRulesRequest
* param domain: 用户域名 (Required) * param ids: (Optional) * param ruleType: (Optional)
func NewEnableWafWhiteRulesRequestWithoutParam ¶
func NewEnableWafWhiteRulesRequestWithoutParam() *EnableWafWhiteRulesRequest
This constructor has better compatible ability when API parameters changed
func (EnableWafWhiteRulesRequest) GetRegionId ¶
func (r EnableWafWhiteRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*EnableWafWhiteRulesRequest) SetDomain ¶
func (r *EnableWafWhiteRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*EnableWafWhiteRulesRequest) SetIds ¶
func (r *EnableWafWhiteRulesRequest) SetIds(ids []string)
param ids: (Optional)
func (*EnableWafWhiteRulesRequest) SetRuleType ¶
func (r *EnableWafWhiteRulesRequest) SetRuleType(ruleType string)
param ruleType: (Optional)
type EnableWafWhiteRulesResponse ¶
type EnableWafWhiteRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result EnableWafWhiteRulesResult `json:"result"`
}
type EnableWafWhiteRulesResult ¶
type EnableWafWhiteRulesResult struct {
}
type ExecuteDomainCopyRequest ¶
type ExecuteDomainCopyRequest struct {
core.JDCloudRequest
/* 源域名 (Optional) */
Domain *string `json:"domain"`
/* 待复制的域名列表,多个以","分隔,且不超过20个 (Optional) */
CopyDomains *string `json:"copyDomains"`
/* 待复制的配置项名字,区分大小写.配置项的含义:originConfig:回源配置信息;refererConfig:referer防盗链;urlAuthConfig:URL鉴权;userAgentConfig:UA访问控制;ipBlackListConfig:IP黑名单;cacheConfig:缓存配置;schemeFollowOriConfig:协议跟随回源;oriFollowRedirectConfig:回源跟随302;filterParamsConfig:过滤参数;rangeConfig:range回源;videoDraftConfig:视频拖拽;httpsConfig:Https配置;httpHeaderConfig:HttpHeader设置;otherConfig:其他配置 (Optional) */
ConfigKeys *string `json:"configKeys"`
}
func NewExecuteDomainCopyRequest ¶
func NewExecuteDomainCopyRequest() *ExecuteDomainCopyRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewExecuteDomainCopyRequestWithAllParams ¶
func NewExecuteDomainCopyRequestWithAllParams( domain *string, copyDomains *string, configKeys *string, ) *ExecuteDomainCopyRequest
* param domain: 源域名 (Optional) * param copyDomains: 待复制的域名列表,多个以","分隔,且不超过20个 (Optional) * param configKeys: 待复制的配置项名字,区分大小写.配置项的含义:originConfig:回源配置信息;refererConfig:referer防盗链;urlAuthConfig:URL鉴权;userAgentConfig:UA访问控制;ipBlackListConfig:IP黑名单;cacheConfig:缓存配置;schemeFollowOriConfig:协议跟随回源;oriFollowRedirectConfig:回源跟随302;filterParamsConfig:过滤参数;rangeConfig:range回源;videoDraftConfig:视频拖拽;httpsConfig:Https配置;httpHeaderConfig:HttpHeader设置;otherConfig:其他配置 (Optional)
func NewExecuteDomainCopyRequestWithoutParam ¶
func NewExecuteDomainCopyRequestWithoutParam() *ExecuteDomainCopyRequest
This constructor has better compatible ability when API parameters changed
func (ExecuteDomainCopyRequest) GetRegionId ¶
func (r ExecuteDomainCopyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ExecuteDomainCopyRequest) SetConfigKeys ¶
func (r *ExecuteDomainCopyRequest) SetConfigKeys(configKeys string)
param configKeys: 待复制的配置项名字,区分大小写.配置项的含义:originConfig:回源配置信息;refererConfig:referer防盗链;urlAuthConfig:URL鉴权;userAgentConfig:UA访问控制;ipBlackListConfig:IP黑名单;cacheConfig:缓存配置;schemeFollowOriConfig:协议跟随回源;oriFollowRedirectConfig:回源跟随302;filterParamsConfig:过滤参数;rangeConfig:range回源;videoDraftConfig:视频拖拽;httpsConfig:Https配置;httpHeaderConfig:HttpHeader设置;otherConfig:其他配置(Optional)
func (*ExecuteDomainCopyRequest) SetCopyDomains ¶
func (r *ExecuteDomainCopyRequest) SetCopyDomains(copyDomains string)
param copyDomains: 待复制的域名列表,多个以","分隔,且不超过20个(Optional)
func (*ExecuteDomainCopyRequest) SetDomain ¶
func (r *ExecuteDomainCopyRequest) SetDomain(domain string)
param domain: 源域名(Optional)
type ExecuteDomainCopyResponse ¶
type ExecuteDomainCopyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ExecuteDomainCopyResult `json:"result"`
}
type ExecuteDomainCopyResult ¶
type ExecuteDomainCopyResult struct {
ErrorResult []cdn.ErrorEntity `json:"errorResult"`
}
type GetAllUpperNodeIpListRequest ¶
type GetAllUpperNodeIpListRequest struct {
core.JDCloudRequest
}
func NewGetAllUpperNodeIpListRequest ¶
func NewGetAllUpperNodeIpListRequest() *GetAllUpperNodeIpListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewGetAllUpperNodeIpListRequestWithAllParams ¶
func NewGetAllUpperNodeIpListRequestWithAllParams() *GetAllUpperNodeIpListRequest
func NewGetAllUpperNodeIpListRequestWithoutParam ¶
func NewGetAllUpperNodeIpListRequestWithoutParam() *GetAllUpperNodeIpListRequest
This constructor has better compatible ability when API parameters changed
func (GetAllUpperNodeIpListRequest) GetRegionId ¶
func (r GetAllUpperNodeIpListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type GetAllUpperNodeIpListResponse ¶
type GetAllUpperNodeIpListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetAllUpperNodeIpListResult `json:"result"`
}
type GetAllUpperNodeIpListResult ¶
type GetAllUpperNodeIpListResult struct {
IpList []string `json:"ipList"`
}
type GetDomainDetailRequest ¶
type GetDomainDetailRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewGetDomainDetailRequest ¶
func NewGetDomainDetailRequest( domain string, ) *GetDomainDetailRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetDomainDetailRequestWithAllParams ¶
func NewGetDomainDetailRequestWithAllParams( domain string, ) *GetDomainDetailRequest
* param domain: 用户域名 (Required)
func NewGetDomainDetailRequestWithoutParam ¶
func NewGetDomainDetailRequestWithoutParam() *GetDomainDetailRequest
This constructor has better compatible ability when API parameters changed
func (GetDomainDetailRequest) GetRegionId ¶
func (r GetDomainDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetDomainDetailRequest) SetDomain ¶
func (r *GetDomainDetailRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type GetDomainDetailResponse ¶
type GetDomainDetailResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetDomainDetailResult `json:"result"`
}
type GetDomainDetailResult ¶
type GetDomainDetailResult struct {
AllStatus string `json:"allStatus"`
AllowNoReferHeader string `json:"allowNoReferHeader"`
AllowNullReferHeader string `json:"allowNullReferHeader"`
DailyBandWidth int `json:"dailyBandWidth"`
ForbiddenType string `json:"forbiddenType"`
MaxFileSize int64 `json:"maxFileSize"`
MinFileSize int64 `json:"minFileSize"`
SumFileSize int64 `json:"sumFileSize"`
AvgFileSize int64 `json:"avgFileSize"`
ReferList []string `json:"referList"`
ReferType string `json:"referType"`
Domain string `json:"domain"`
Cname string `json:"cname"`
ArchiveNo string `json:"archiveNo"`
Type string `json:"type"`
Created string `json:"created"`
Modified string `json:"modified"`
Status string `json:"status"`
AuditStatus string `json:"auditStatus"`
Source cdn.BackSourceInfo `json:"source"`
SourceType string `json:"sourceType"`
DefaultSourceHost string `json:"defaultSourceHost"`
BackSourceType string `json:"backSourceType"`
HttpType string `json:"httpType"`
Certificate string `json:"certificate"`
RsaKey string `json:"rsaKey"`
JumpType string `json:"jumpType"`
CertFrom string `json:"certFrom"`
SslCertId string `json:"sslCertId"`
CertName string `json:"certName"`
CertType string `json:"certType"`
SslCertStartTime string `json:"sslCertStartTime"`
SslCertEndTime string `json:"sslCertEndTime"`
AccelerateRegion string `json:"accelerateRegion"`
Txt string `json:"txt"`
}
type GetDomainListByFilterRequest ¶
type GetDomainListByFilterRequest struct {
core.JDCloudRequest
/* 根据关键字进行模糊匹配,域名或者回源信息 (Optional) */
KeyWord *string `json:"keyWord"`
/* pageNumber,默认值为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* pageSize,默认值为20,最大值为50 (Optional) */
PageSize *int `json:"pageSize"`
/* 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) */
Status *string `json:"status"`
/* 域名类型,(web:静态小文件,download:大文件加速,vod:视频加速,live:直播加速),不传查所有 (Optional) */
Type *string `json:"type"`
/* 加速区域,(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球),不传为全球 (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
/* 筛选依据(0:根据域名筛选,1:根据回源信息筛选),默认按照域名进行筛选 (Optional) */
FilterBy *int `json:"filterBy"`
/* 标签过滤条件 (Optional) */
TagFilters []cdn.TagFilter `json:"tagFilters"`
}
func NewGetDomainListByFilterRequest ¶
func NewGetDomainListByFilterRequest() *GetDomainListByFilterRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewGetDomainListByFilterRequestWithAllParams ¶
func NewGetDomainListByFilterRequestWithAllParams( keyWord *string, pageNumber *int, pageSize *int, status *string, type_ *string, accelerateRegion *string, filterBy *int, tagFilters []cdn.TagFilter, ) *GetDomainListByFilterRequest
* param keyWord: 根据关键字进行模糊匹配,域名或者回源信息 (Optional) * param pageNumber: pageNumber,默认值为1 (Optional) * param pageSize: pageSize,默认值为20,最大值为50 (Optional) * param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) * param type_: 域名类型,(web:静态小文件,download:大文件加速,vod:视频加速,live:直播加速),不传查所有 (Optional) * param accelerateRegion: 加速区域,(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球),不传为全球 (Optional) * param filterBy: 筛选依据(0:根据域名筛选,1:根据回源信息筛选),默认按照域名进行筛选 (Optional) * param tagFilters: 标签过滤条件 (Optional)
func NewGetDomainListByFilterRequestWithoutParam ¶
func NewGetDomainListByFilterRequestWithoutParam() *GetDomainListByFilterRequest
This constructor has better compatible ability when API parameters changed
func (GetDomainListByFilterRequest) GetRegionId ¶
func (r GetDomainListByFilterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetDomainListByFilterRequest) SetAccelerateRegion ¶
func (r *GetDomainListByFilterRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域,(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球),不传为全球(Optional)
func (*GetDomainListByFilterRequest) SetFilterBy ¶
func (r *GetDomainListByFilterRequest) SetFilterBy(filterBy int)
param filterBy: 筛选依据(0:根据域名筛选,1:根据回源信息筛选),默认按照域名进行筛选(Optional)
func (*GetDomainListByFilterRequest) SetKeyWord ¶
func (r *GetDomainListByFilterRequest) SetKeyWord(keyWord string)
param keyWord: 根据关键字进行模糊匹配,域名或者回源信息(Optional)
func (*GetDomainListByFilterRequest) SetPageNumber ¶
func (r *GetDomainListByFilterRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber,默认值为1(Optional)
func (*GetDomainListByFilterRequest) SetPageSize ¶
func (r *GetDomainListByFilterRequest) SetPageSize(pageSize int)
param pageSize: pageSize,默认值为20,最大值为50(Optional)
func (*GetDomainListByFilterRequest) SetStatus ¶
func (r *GetDomainListByFilterRequest) SetStatus(status string)
param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject](Optional)
func (*GetDomainListByFilterRequest) SetTagFilters ¶
func (r *GetDomainListByFilterRequest) SetTagFilters(tagFilters []cdn.TagFilter)
param tagFilters: 标签过滤条件(Optional)
func (*GetDomainListByFilterRequest) SetType ¶
func (r *GetDomainListByFilterRequest) SetType(type_ string)
param type_: 域名类型,(web:静态小文件,download:大文件加速,vod:视频加速,live:直播加速),不传查所有(Optional)
type GetDomainListByFilterResponse ¶
type GetDomainListByFilterResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetDomainListByFilterResult `json:"result"`
}
type GetDomainListByFilterResult ¶
type GetDomainListByFilterResult struct {
TotalCount int `json:"totalCount"`
PageSize int `json:"pageSize"`
PageNumber int `json:"pageNumber"`
Domains []cdn.ListDomainItemByFilter `json:"domains"`
}
type GetDomainListRequest ¶
type GetDomainListRequest struct {
core.JDCloudRequest
/* 根据关键字进行模糊匹配 (Optional) */
KeyWord *string `json:"keyWord"`
/* pageNumber,默认值1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* pageSize,最大值50,默认值20 (Optional) */
PageSize *int `json:"pageSize"`
/* 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) */
Status *string `json:"status"`
/* 域名类型,(web:静态小文件,download:大文件加速,vod:视频加速,live:直播加速),不传查所有 (Optional) */
Type *string `json:"type"`
/* 加速区域,(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球),不传为全球 (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
}
func NewGetDomainListRequest ¶
func NewGetDomainListRequest() *GetDomainListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewGetDomainListRequestWithAllParams ¶
func NewGetDomainListRequestWithAllParams( keyWord *string, pageNumber *int, pageSize *int, status *string, type_ *string, accelerateRegion *string, ) *GetDomainListRequest
* param keyWord: 根据关键字进行模糊匹配 (Optional) * param pageNumber: pageNumber,默认值1 (Optional) * param pageSize: pageSize,最大值50,默认值20 (Optional) * param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) * param type_: 域名类型,(web:静态小文件,download:大文件加速,vod:视频加速,live:直播加速),不传查所有 (Optional) * param accelerateRegion: 加速区域,(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球),不传为全球 (Optional)
func NewGetDomainListRequestWithoutParam ¶
func NewGetDomainListRequestWithoutParam() *GetDomainListRequest
This constructor has better compatible ability when API parameters changed
func (GetDomainListRequest) GetRegionId ¶
func (r GetDomainListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetDomainListRequest) SetAccelerateRegion ¶
func (r *GetDomainListRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域,(mainLand:中国大陆,nonMainLand:海外加港澳台,all:全球),不传为全球(Optional)
func (*GetDomainListRequest) SetKeyWord ¶
func (r *GetDomainListRequest) SetKeyWord(keyWord string)
param keyWord: 根据关键字进行模糊匹配(Optional)
func (*GetDomainListRequest) SetPageNumber ¶
func (r *GetDomainListRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber,默认值1(Optional)
func (*GetDomainListRequest) SetPageSize ¶
func (r *GetDomainListRequest) SetPageSize(pageSize int)
param pageSize: pageSize,最大值50,默认值20(Optional)
func (*GetDomainListRequest) SetStatus ¶
func (r *GetDomainListRequest) SetStatus(status string)
param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject](Optional)
func (*GetDomainListRequest) SetType ¶
func (r *GetDomainListRequest) SetType(type_ string)
param type_: 域名类型,(web:静态小文件,download:大文件加速,vod:视频加速,live:直播加速),不传查所有(Optional)
type GetDomainListResponse ¶
type GetDomainListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetDomainListResult `json:"result"`
}
type GetDomainListResult ¶
type GetDomainListResult struct {
TotalCount int `json:"totalCount"`
PageSize int `json:"pageSize"`
PageNumber int `json:"pageNumber"`
Domains []cdn.ListDomainItem `json:"domains"`
}
type GetSslCertDetailRequest ¶
type GetSslCertDetailRequest struct {
core.JDCloudRequest
/* 证书 Id */
SslCertId string `json:"sslCertId"`
}
func NewGetSslCertDetailRequest ¶
func NewGetSslCertDetailRequest( sslCertId string, ) *GetSslCertDetailRequest
* param sslCertId: 证书 Id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewGetSslCertDetailRequestWithAllParams ¶
func NewGetSslCertDetailRequestWithAllParams( sslCertId string, ) *GetSslCertDetailRequest
* param sslCertId: 证书 Id (Required)
func NewGetSslCertDetailRequestWithoutParam ¶
func NewGetSslCertDetailRequestWithoutParam() *GetSslCertDetailRequest
This constructor has better compatible ability when API parameters changed
func (GetSslCertDetailRequest) GetRegionId ¶
func (r GetSslCertDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSslCertDetailRequest) SetSslCertId ¶
func (r *GetSslCertDetailRequest) SetSslCertId(sslCertId string)
param sslCertId: 证书 Id(Required)
type GetSslCertDetailResponse ¶
type GetSslCertDetailResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetSslCertDetailResult `json:"result"`
}
type GetSslCertDetailResult ¶
type GetSslCertDetailResult struct {
SslCertId string `json:"sslCertId"`
CertName string `json:"certName"`
CommonName string `json:"commonName"`
CertType string `json:"certType"`
SslCertStartTime string `json:"sslCertStartTime"`
SslCertEndTime string `json:"sslCertEndTime"`
Digest string `json:"digest"`
RelatedDomains []string `json:"relatedDomains"`
BindResources []string `json:"bindResources"`
}
type GetSslCertListRequest ¶
type GetSslCertListRequest struct {
core.JDCloudRequest
/* 第几页,从1开始计数 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 每页显示的数目 (Optional) */
PageSize *int `json:"pageSize"`
/* 域名,支持按照域名检索证书 (Optional) */
Domain *string `json:"domain"`
}
func NewGetSslCertListRequest ¶
func NewGetSslCertListRequest() *GetSslCertListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewGetSslCertListRequestWithAllParams ¶
func NewGetSslCertListRequestWithAllParams( pageNumber *int, pageSize *int, domain *string, ) *GetSslCertListRequest
* param pageNumber: 第几页,从1开始计数 (Optional) * param pageSize: 每页显示的数目 (Optional) * param domain: 域名,支持按照域名检索证书 (Optional)
func NewGetSslCertListRequestWithoutParam ¶
func NewGetSslCertListRequestWithoutParam() *GetSslCertListRequest
This constructor has better compatible ability when API parameters changed
func (GetSslCertListRequest) GetRegionId ¶
func (r GetSslCertListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetSslCertListRequest) SetDomain ¶
func (r *GetSslCertListRequest) SetDomain(domain string)
param domain: 域名,支持按照域名检索证书(Optional)
func (*GetSslCertListRequest) SetPageNumber ¶
func (r *GetSslCertListRequest) SetPageNumber(pageNumber int)
param pageNumber: 第几页,从1开始计数(Optional)
func (*GetSslCertListRequest) SetPageSize ¶
func (r *GetSslCertListRequest) SetPageSize(pageSize int)
param pageSize: 每页显示的数目(Optional)
type GetSslCertListResponse ¶
type GetSslCertListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result GetSslCertListResult `json:"result"`
}
type GetSslCertListResult ¶
type GetSslCertListResult struct {
CertList []cdn.SslCertModel `json:"certList"`
TotalCount int `json:"totalCount"`
}
type ModifyDomainTempInstRequest ¶
type ModifyDomainTempInstRequest struct {
core.JDCloudRequest
/* 模板id,预留字段 (Optional) */
TempId *int64 `json:"tempId"`
/* 模板实例id,修改时必传 (Optional) */
InstId *int64 `json:"instId"`
/* 模板实例名称 (Optional) */
InstName *string `json:"instName"`
/* 查询结果,类型为Map<String,Map<String,Object>> (Optional) */
InstProInfoMap *interface{} `json:"instProInfoMap"`
}
func NewModifyDomainTempInstRequest ¶
func NewModifyDomainTempInstRequest() *ModifyDomainTempInstRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewModifyDomainTempInstRequestWithAllParams ¶
func NewModifyDomainTempInstRequestWithAllParams( tempId *int64, instId *int64, instName *string, instProInfoMap *interface{}, ) *ModifyDomainTempInstRequest
* param tempId: 模板id,预留字段 (Optional) * param instId: 模板实例id,修改时必传 (Optional) * param instName: 模板实例名称 (Optional) * param instProInfoMap: 查询结果,类型为Map<String,Map<String,Object>> (Optional)
func NewModifyDomainTempInstRequestWithoutParam ¶
func NewModifyDomainTempInstRequestWithoutParam() *ModifyDomainTempInstRequest
This constructor has better compatible ability when API parameters changed
func (ModifyDomainTempInstRequest) GetRegionId ¶
func (r ModifyDomainTempInstRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*ModifyDomainTempInstRequest) SetInstId ¶
func (r *ModifyDomainTempInstRequest) SetInstId(instId int64)
param instId: 模板实例id,修改时必传(Optional)
func (*ModifyDomainTempInstRequest) SetInstName ¶
func (r *ModifyDomainTempInstRequest) SetInstName(instName string)
param instName: 模板实例名称(Optional)
func (*ModifyDomainTempInstRequest) SetInstProInfoMap ¶
func (r *ModifyDomainTempInstRequest) SetInstProInfoMap(instProInfoMap interface{})
param instProInfoMap: 查询结果,类型为Map<String,Map<String,Object>>(Optional)
func (*ModifyDomainTempInstRequest) SetTempId ¶
func (r *ModifyDomainTempInstRequest) SetTempId(tempId int64)
param tempId: 模板id,预留字段(Optional)
type ModifyDomainTempInstResponse ¶
type ModifyDomainTempInstResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result ModifyDomainTempInstResult `json:"result"`
}
type ModifyDomainTempInstResult ¶
type ModifyDomainTempInstResult struct {
}
type OperateIpBlackListRequest ¶
type OperateIpBlackListRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* ip黑名单状态取值[on,off] (Optional) */
Status *string `json:"status"`
}
func NewOperateIpBlackListRequest ¶
func NewOperateIpBlackListRequest( domain string, ) *OperateIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateIpBlackListRequestWithAllParams ¶
func NewOperateIpBlackListRequestWithAllParams( domain string, status *string, ) *OperateIpBlackListRequest
* param domain: 用户域名 (Required) * param status: ip黑名单状态取值[on,off] (Optional)
func NewOperateIpBlackListRequestWithoutParam ¶
func NewOperateIpBlackListRequestWithoutParam() *OperateIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (OperateIpBlackListRequest) GetRegionId ¶
func (r OperateIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateIpBlackListRequest) SetDomain ¶
func (r *OperateIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*OperateIpBlackListRequest) SetStatus ¶
func (r *OperateIpBlackListRequest) SetStatus(status string)
param status: ip黑名单状态取值[on,off](Optional)
type OperateIpBlackListResponse ¶
type OperateIpBlackListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OperateIpBlackListResult `json:"result"`
}
type OperateIpBlackListResult ¶
type OperateIpBlackListResult struct {
}
type OperateLiveDomainIpBlackListRequest ¶
type OperateLiveDomainIpBlackListRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
BlackIpsEnable *string `json:"blackIpsEnable"`
}
func NewOperateLiveDomainIpBlackListRequest ¶
func NewOperateLiveDomainIpBlackListRequest( domain string, ) *OperateLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateLiveDomainIpBlackListRequestWithAllParams ¶
func NewOperateLiveDomainIpBlackListRequestWithAllParams( domain string, blackIpsEnable *string, ) *OperateLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * param blackIpsEnable: (Optional)
func NewOperateLiveDomainIpBlackListRequestWithoutParam ¶
func NewOperateLiveDomainIpBlackListRequestWithoutParam() *OperateLiveDomainIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (OperateLiveDomainIpBlackListRequest) GetRegionId ¶
func (r OperateLiveDomainIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateLiveDomainIpBlackListRequest) SetBlackIpsEnable ¶
func (r *OperateLiveDomainIpBlackListRequest) SetBlackIpsEnable(blackIpsEnable string)
param blackIpsEnable: (Optional)
func (*OperateLiveDomainIpBlackListRequest) SetDomain ¶
func (r *OperateLiveDomainIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type OperateLiveDomainIpBlackListResponse ¶
type OperateLiveDomainIpBlackListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OperateLiveDomainIpBlackListResult `json:"result"`
}
type OperateLiveDomainIpBlackListResult ¶
type OperateLiveDomainIpBlackListResult struct {
}
type OperatePurgeTaskRequest ¶
type OperatePurgeTaskRequest struct {
core.JDCloudRequest
/* 待刷新的url (Optional) */
Urls []string `json:"urls"`
/* 操作类型:add代表创建刷新任务,stop代表停止刷新任务 (Optional) */
OptType *string `json:"optType"`
}
func NewOperatePurgeTaskRequest ¶
func NewOperatePurgeTaskRequest() *OperatePurgeTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewOperatePurgeTaskRequestWithAllParams ¶
func NewOperatePurgeTaskRequestWithAllParams( urls []string, optType *string, ) *OperatePurgeTaskRequest
* param urls: 待刷新的url (Optional) * param optType: 操作类型:add代表创建刷新任务,stop代表停止刷新任务 (Optional)
func NewOperatePurgeTaskRequestWithoutParam ¶
func NewOperatePurgeTaskRequestWithoutParam() *OperatePurgeTaskRequest
This constructor has better compatible ability when API parameters changed
func (OperatePurgeTaskRequest) GetRegionId ¶
func (r OperatePurgeTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperatePurgeTaskRequest) SetOptType ¶
func (r *OperatePurgeTaskRequest) SetOptType(optType string)
param optType: 操作类型:add代表创建刷新任务,stop代表停止刷新任务(Optional)
func (*OperatePurgeTaskRequest) SetUrls ¶
func (r *OperatePurgeTaskRequest) SetUrls(urls []string)
param urls: 待刷新的url(Optional)
type OperatePurgeTaskResponse ¶
type OperatePurgeTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result OperatePurgeTaskResult `json:"result"`
}
type OperatePurgeTaskResult ¶
type OperatePurgeTaskResult struct {
}
type OperateShareCacheRequest ¶
type OperateShareCacheRequest struct {
Domain string `json:"domain"`
Status *string `json:"status"`
}
func NewOperateShareCacheRequest ¶
func NewOperateShareCacheRequest( domain string, ) *OperateShareCacheRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateShareCacheRequestWithAllParams ¶
func NewOperateShareCacheRequestWithAllParams( domain string, status *string, ) *OperateShareCacheRequest
* param domain: 用户域名 (Required) * param status: 共享缓存只能是off或者on (Optional)
func NewOperateShareCacheRequestWithoutParam ¶
func NewOperateShareCacheRequestWithoutParam() *OperateShareCacheRequest
This constructor has better compatible ability when API parameters changed
func (OperateShareCacheRequest) GetRegionId ¶
func (r OperateShareCacheRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateShareCacheRequest) SetDomain ¶
func (r *OperateShareCacheRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*OperateShareCacheRequest) SetStatus ¶
func (r *OperateShareCacheRequest) SetStatus(status string)
param status: 共享缓存只能是off或者on(Optional)
type OperateShareCacheResponse ¶
type OperateShareCacheResponse struct {
}
type OperateShareCacheResult ¶
type OperateShareCacheResult struct {
}
type PreviewCertificateRequest ¶
type PreviewCertificateRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
Content *string `json:"content"`
}
func NewPreviewCertificateRequest ¶
func NewPreviewCertificateRequest( domain string, ) *PreviewCertificateRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewPreviewCertificateRequestWithAllParams ¶
func NewPreviewCertificateRequestWithAllParams( domain string, content *string, ) *PreviewCertificateRequest
* param domain: 用户域名 (Required) * param content: (Optional)
func NewPreviewCertificateRequestWithoutParam ¶
func NewPreviewCertificateRequestWithoutParam() *PreviewCertificateRequest
This constructor has better compatible ability when API parameters changed
func (PreviewCertificateRequest) GetRegionId ¶
func (r PreviewCertificateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*PreviewCertificateRequest) SetContent ¶
func (r *PreviewCertificateRequest) SetContent(content string)
param content: (Optional)
func (*PreviewCertificateRequest) SetDomain ¶
func (r *PreviewCertificateRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type PreviewCertificateResponse ¶
type PreviewCertificateResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result PreviewCertificateResult `json:"result"`
}
type QueryAccesskeyConfigRequest ¶
type QueryAccesskeyConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryAccesskeyConfigRequest ¶
func NewQueryAccesskeyConfigRequest( domain string, ) *QueryAccesskeyConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAccesskeyConfigRequestWithAllParams ¶
func NewQueryAccesskeyConfigRequestWithAllParams( domain string, ) *QueryAccesskeyConfigRequest
* param domain: 用户域名 (Required)
func NewQueryAccesskeyConfigRequestWithoutParam ¶
func NewQueryAccesskeyConfigRequestWithoutParam() *QueryAccesskeyConfigRequest
This constructor has better compatible ability when API parameters changed
func (QueryAccesskeyConfigRequest) GetRegionId ¶
func (r QueryAccesskeyConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryAccesskeyConfigRequest) SetDomain ¶
func (r *QueryAccesskeyConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryAccesskeyConfigResponse ¶
type QueryAccesskeyConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryAccesskeyConfigResult `json:"result"`
}
type QueryAreaIspListRequest ¶
type QueryAreaIspListRequest struct {
core.JDCloudRequest
}
func NewQueryAreaIspListRequest ¶
func NewQueryAreaIspListRequest() *QueryAreaIspListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAreaIspListRequestWithAllParams ¶
func NewQueryAreaIspListRequestWithAllParams() *QueryAreaIspListRequest
func NewQueryAreaIspListRequestWithoutParam ¶
func NewQueryAreaIspListRequestWithoutParam() *QueryAreaIspListRequest
This constructor has better compatible ability when API parameters changed
func (QueryAreaIspListRequest) GetRegionId ¶
func (r QueryAreaIspListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryAreaIspListResponse ¶
type QueryAreaIspListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryAreaIspListResult `json:"result"`
}
type QueryAreaIspListResult ¶
type QueryAreaIspListResult struct {
MainLand []cdn.AreaIspItem `json:"mainLand"`
Overseas []cdn.AreaIspItem `json:"overseas"`
Isp []cdn.AreaIspItem `json:"isp"`
Gangaotai []cdn.AreaIspItem `json:"gangaotai"`
Oceanica []cdn.AreaIspItem `json:"oceanica"`
SouthAmerica []cdn.AreaIspItem `json:"southAmerica"`
NorthAmerica []cdn.AreaIspItem `json:"northAmerica"`
Asia []cdn.AreaIspItem `json:"asia"`
Europe []cdn.AreaIspItem `json:"europe"`
}
type QueryAreaIspListV2Request ¶
type QueryAreaIspListV2Request struct {
core.JDCloudRequest
}
func NewQueryAreaIspListV2Request ¶
func NewQueryAreaIspListV2Request() *QueryAreaIspListV2Request
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAreaIspListV2RequestWithAllParams ¶
func NewQueryAreaIspListV2RequestWithAllParams() *QueryAreaIspListV2Request
func NewQueryAreaIspListV2RequestWithoutParam ¶
func NewQueryAreaIspListV2RequestWithoutParam() *QueryAreaIspListV2Request
This constructor has better compatible ability when API parameters changed
func (QueryAreaIspListV2Request) GetRegionId ¶
func (r QueryAreaIspListV2Request) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryAreaIspListV2Response ¶
type QueryAreaIspListV2Response struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryAreaIspListV2Result `json:"result"`
}
type QueryAreaIspListV2Result ¶
type QueryAreaIspListV2Result struct {
MainLand []cdn.AreaIspItem `json:"mainLand"`
Overseas []cdn.AreaIspItem `json:"overseas"`
Isp []cdn.AreaIspItem `json:"isp"`
Africa []cdn.AreaIspItem `json:"africa"`
Oceania []cdn.AreaIspItem `json:"oceania"`
SouthAmerica []cdn.AreaIspItem `json:"southAmerica"`
NorthAmerica []cdn.AreaIspItem `json:"northAmerica"`
Asia []cdn.AreaIspItem `json:"asia"`
Europe []cdn.AreaIspItem `json:"europe"`
MidEast []cdn.AreaIspItem `json:"midEast"`
}
type QueryAttackTypeCountRequest ¶
type QueryAttackTypeCountRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z (Optional) */
EndTime *string `json:"endTime"`
}
func NewQueryAttackTypeCountRequest ¶
func NewQueryAttackTypeCountRequest() *QueryAttackTypeCountRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAttackTypeCountRequestWithAllParams ¶
func NewQueryAttackTypeCountRequestWithAllParams( startTime *string, endTime *string, ) *QueryAttackTypeCountRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z (Optional)
func NewQueryAttackTypeCountRequestWithoutParam ¶
func NewQueryAttackTypeCountRequestWithoutParam() *QueryAttackTypeCountRequest
This constructor has better compatible ability when API parameters changed
func (QueryAttackTypeCountRequest) GetRegionId ¶
func (r QueryAttackTypeCountRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryAttackTypeCountRequest) SetEndTime ¶
func (r *QueryAttackTypeCountRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z(Optional)
func (*QueryAttackTypeCountRequest) SetStartTime ¶
func (r *QueryAttackTypeCountRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z(Optional)
type QueryAttackTypeCountResponse ¶
type QueryAttackTypeCountResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryAttackTypeCountResult `json:"result"`
}
type QueryAttackTypeCountResult ¶
type QueryAttackTypeCountResult struct {
AttackTypeCounts []cdn.AttackTypeCount `json:"attackTypeCounts"`
}
type QueryAvgBandwidthForPCdnRequest ¶
type QueryAvgBandwidthForPCdnRequest struct {
core.JDCloudRequest
/* 指定查询开始时间(格式:201906011000),返回数据包含该时间点。 */
Starttime string `json:"starttime"`
/* 指定查询结束时间(格式:201906011100),返回数据不包含该时间点 */
Stoptime string `json:"stoptime"`
/* 按照设备ID查询设备带宽。 (Optional) */
Clientid *string `json:"clientid"`
/* 用于支持分页查询,默认为1,表示第几页。 (Optional) */
Page *int `json:"page"`
/* 用于支持分页查询,表示每页返回多少条数据,默认每页返回10条数据,size必须是10的整数倍,并且最大值是100。 (Optional) */
Size *int `json:"size"`
}
func NewQueryAvgBandwidthForPCdnRequest ¶
func NewQueryAvgBandwidthForPCdnRequest( starttime string, stoptime string, ) *QueryAvgBandwidthForPCdnRequest
* param starttime: 指定查询开始时间(格式:201906011000),返回数据包含该时间点。 (Required) * param stoptime: 指定查询结束时间(格式:201906011100),返回数据不包含该时间点 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAvgBandwidthForPCdnRequestWithAllParams ¶
func NewQueryAvgBandwidthForPCdnRequestWithAllParams( starttime string, stoptime string, clientid *string, page *int, size *int, ) *QueryAvgBandwidthForPCdnRequest
* param starttime: 指定查询开始时间(格式:201906011000),返回数据包含该时间点。 (Required) * param stoptime: 指定查询结束时间(格式:201906011100),返回数据不包含该时间点 (Required) * param clientid: 按照设备ID查询设备带宽。 (Optional) * param page: 用于支持分页查询,默认为1,表示第几页。 (Optional) * param size: 用于支持分页查询,表示每页返回多少条数据,默认每页返回10条数据,size必须是10的整数倍,并且最大值是100。 (Optional)
func NewQueryAvgBandwidthForPCdnRequestWithoutParam ¶
func NewQueryAvgBandwidthForPCdnRequestWithoutParam() *QueryAvgBandwidthForPCdnRequest
This constructor has better compatible ability when API parameters changed
func (QueryAvgBandwidthForPCdnRequest) GetRegionId ¶
func (r QueryAvgBandwidthForPCdnRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryAvgBandwidthForPCdnRequest) SetClientid ¶
func (r *QueryAvgBandwidthForPCdnRequest) SetClientid(clientid string)
param clientid: 按照设备ID查询设备带宽。(Optional)
func (*QueryAvgBandwidthForPCdnRequest) SetPage ¶
func (r *QueryAvgBandwidthForPCdnRequest) SetPage(page int)
param page: 用于支持分页查询,默认为1,表示第几页。(Optional)
func (*QueryAvgBandwidthForPCdnRequest) SetSize ¶
func (r *QueryAvgBandwidthForPCdnRequest) SetSize(size int)
param size: 用于支持分页查询,表示每页返回多少条数据,默认每页返回10条数据,size必须是10的整数倍,并且最大值是100。(Optional)
func (*QueryAvgBandwidthForPCdnRequest) SetStarttime ¶
func (r *QueryAvgBandwidthForPCdnRequest) SetStarttime(starttime string)
param starttime: 指定查询开始时间(格式:201906011000),返回数据包含该时间点。(Required)
func (*QueryAvgBandwidthForPCdnRequest) SetStoptime ¶
func (r *QueryAvgBandwidthForPCdnRequest) SetStoptime(stoptime string)
param stoptime: 指定查询结束时间(格式:201906011100),返回数据不包含该时间点(Required)
type QueryAvgBandwidthForPCdnResponse ¶
type QueryAvgBandwidthForPCdnResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryAvgBandwidthForPCdnResult `json:"result"`
}
type QueryAvgBandwidthForPCdnResult ¶
type QueryAvgBandwidthForPCdnResult struct {
Page cdn.Page `json:"page"`
Data []cdn.QueryAvgBandwidthGroup `json:"data"`
}
type QueryBackSourceOssRequest ¶
type QueryBackSourceOssRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryBackSourceOssRequest ¶
func NewQueryBackSourceOssRequest( domain string, ) *QueryBackSourceOssRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryBackSourceOssRequestWithAllParams ¶
func NewQueryBackSourceOssRequestWithAllParams( domain string, ) *QueryBackSourceOssRequest
* param domain: 用户域名 (Required)
func NewQueryBackSourceOssRequestWithoutParam ¶
func NewQueryBackSourceOssRequestWithoutParam() *QueryBackSourceOssRequest
This constructor has better compatible ability when API parameters changed
func (QueryBackSourceOssRequest) GetRegionId ¶
func (r QueryBackSourceOssRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryBackSourceOssRequest) SetDomain ¶
func (r *QueryBackSourceOssRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryBackSourceOssResponse ¶
type QueryBackSourceOssResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryBackSourceOssResult `json:"result"`
}
type QueryBackSourcePathRequest ¶
type QueryBackSourcePathRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryBackSourcePathRequest ¶
func NewQueryBackSourcePathRequest( domain string, ) *QueryBackSourcePathRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryBackSourcePathRequestWithAllParams ¶
func NewQueryBackSourcePathRequestWithAllParams( domain string, ) *QueryBackSourcePathRequest
* param domain: 用户域名 (Required)
func NewQueryBackSourcePathRequestWithoutParam ¶
func NewQueryBackSourcePathRequestWithoutParam() *QueryBackSourcePathRequest
This constructor has better compatible ability when API parameters changed
func (QueryBackSourcePathRequest) GetRegionId ¶
func (r QueryBackSourcePathRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryBackSourcePathRequest) SetDomain ¶
func (r *QueryBackSourcePathRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryBackSourcePathResponse ¶
type QueryBackSourcePathResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryBackSourcePathResult `json:"result"`
}
type QueryBackSourcePathResult ¶
type QueryBackSourcePathResult struct {
Domain string `json:"domain"`
Configs []cdn.ConfigBackSourcePathItems `json:"configs"`
}
type QueryBackSourceRuleRequest ¶
type QueryBackSourceRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryBackSourceRuleRequest ¶
func NewQueryBackSourceRuleRequest( domain string, ) *QueryBackSourceRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryBackSourceRuleRequestWithAllParams ¶
func NewQueryBackSourceRuleRequestWithAllParams( domain string, ) *QueryBackSourceRuleRequest
* param domain: 用户域名 (Required)
func NewQueryBackSourceRuleRequestWithoutParam ¶
func NewQueryBackSourceRuleRequestWithoutParam() *QueryBackSourceRuleRequest
This constructor has better compatible ability when API parameters changed
func (QueryBackSourceRuleRequest) GetRegionId ¶
func (r QueryBackSourceRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryBackSourceRuleRequest) SetDomain ¶
func (r *QueryBackSourceRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryBackSourceRuleResponse ¶
type QueryBackSourceRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryBackSourceRuleResult `json:"result"`
}
type QueryBackSourceRulesRequest ¶
type QueryBackSourceRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryBackSourceRulesRequest ¶
func NewQueryBackSourceRulesRequest( domain string, ) *QueryBackSourceRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryBackSourceRulesRequestWithAllParams ¶
func NewQueryBackSourceRulesRequestWithAllParams( domain string, ) *QueryBackSourceRulesRequest
* param domain: 用户域名 (Required)
func NewQueryBackSourceRulesRequestWithoutParam ¶
func NewQueryBackSourceRulesRequestWithoutParam() *QueryBackSourceRulesRequest
This constructor has better compatible ability when API parameters changed
func (QueryBackSourceRulesRequest) GetRegionId ¶
func (r QueryBackSourceRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryBackSourceRulesRequest) SetDomain ¶
func (r *QueryBackSourceRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryBackSourceRulesResponse ¶
type QueryBackSourceRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryBackSourceRulesResult `json:"result"`
}
type QueryBackSourceRulesResult ¶
type QueryBackSourceRulesResult struct {
Domain string `json:"domain"`
Status string `json:"status"`
Rules []cdn.BackSourceRule `json:"rules"`
}
type QueryBandRequest ¶
type QueryBandRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 地域 (Optional) */
Area *string `json:"area"`
/* 运营商 (Optional) */
Isp *string `json:"isp"`
/* 查询周期 (Optional) */
Period *string `json:"period"`
}
func NewQueryBandRequest ¶
func NewQueryBandRequest() *QueryBandRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryBandRequestWithAllParams ¶
func NewQueryBandRequestWithAllParams( startTime *string, endTime *string, domain *string, area *string, isp *string, period *string, ) *QueryBandRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param area: 地域 (Optional) * param isp: 运营商 (Optional) * param period: 查询周期 (Optional)
func NewQueryBandRequestWithoutParam ¶
func NewQueryBandRequestWithoutParam() *QueryBandRequest
This constructor has better compatible ability when API parameters changed
func (QueryBandRequest) GetRegionId ¶
func (r QueryBandRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryBandRequest) SetArea ¶
func (r *QueryBandRequest) SetArea(area string)
param area: 地域(Optional)
func (*QueryBandRequest) SetDomain ¶
func (r *QueryBandRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryBandRequest) SetEndTime ¶
func (r *QueryBandRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryBandRequest) SetIsp ¶
func (r *QueryBandRequest) SetIsp(isp string)
param isp: 运营商(Optional)
func (*QueryBandRequest) SetPeriod ¶
func (r *QueryBandRequest) SetPeriod(period string)
param period: 查询周期(Optional)
func (*QueryBandRequest) SetStartTime ¶
func (r *QueryBandRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryBandResponse ¶
type QueryBandResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryBandResult `json:"result"`
}
type QueryBandResult ¶
type QueryBandResult struct {
ResultList []cdn.BandTrafficDataItem `json:"resultList"`
}
type QueryBandWithAreaRequest ¶
type QueryBandWithAreaRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 地域 (Optional) */
Area *string `json:"area"`
/* 运营商 (Optional) */
Isp *string `json:"isp"`
/* 查询周期 (Optional) */
Period *string `json:"period"`
}
func NewQueryBandWithAreaRequest ¶
func NewQueryBandWithAreaRequest() *QueryBandWithAreaRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryBandWithAreaRequestWithAllParams ¶
func NewQueryBandWithAreaRequestWithAllParams( startTime *string, endTime *string, domain *string, area *string, isp *string, period *string, ) *QueryBandWithAreaRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param area: 地域 (Optional) * param isp: 运营商 (Optional) * param period: 查询周期 (Optional)
func NewQueryBandWithAreaRequestWithoutParam ¶
func NewQueryBandWithAreaRequestWithoutParam() *QueryBandWithAreaRequest
This constructor has better compatible ability when API parameters changed
func (QueryBandWithAreaRequest) GetRegionId ¶
func (r QueryBandWithAreaRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryBandWithAreaRequest) SetArea ¶
func (r *QueryBandWithAreaRequest) SetArea(area string)
param area: 地域(Optional)
func (*QueryBandWithAreaRequest) SetDomain ¶
func (r *QueryBandWithAreaRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryBandWithAreaRequest) SetEndTime ¶
func (r *QueryBandWithAreaRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryBandWithAreaRequest) SetIsp ¶
func (r *QueryBandWithAreaRequest) SetIsp(isp string)
param isp: 运营商(Optional)
func (*QueryBandWithAreaRequest) SetPeriod ¶
func (r *QueryBandWithAreaRequest) SetPeriod(period string)
param period: 查询周期(Optional)
func (*QueryBandWithAreaRequest) SetStartTime ¶
func (r *QueryBandWithAreaRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryBandWithAreaResponse ¶
type QueryBandWithAreaResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryBandWithAreaResult `json:"result"`
}
type QueryBandWithAreaResult ¶
type QueryBandWithAreaResult struct {
ResultList []cdn.BandTrafficWithAreaDataItem `json:"resultList"`
}
type QueryCCProtectRulesRequest ¶
type QueryCCProtectRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* ruleId, defalut empty (Optional) */
Id *string `json:"id"`
/* page size , default 0 to query all (Optional) */
PageSize *int `json:"pageSize"`
/* page index , default 0 to query all (Optional) */
PageIndex *int `json:"pageIndex"`
}
func NewQueryCCProtectRulesRequest ¶
func NewQueryCCProtectRulesRequest( domain string, ) *QueryCCProtectRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryCCProtectRulesRequestWithAllParams ¶
func NewQueryCCProtectRulesRequestWithAllParams( domain string, id *string, pageSize *int, pageIndex *int, ) *QueryCCProtectRulesRequest
* param domain: 用户域名 (Required) * param id: ruleId, defalut empty (Optional) * param pageSize: page size , default 0 to query all (Optional) * param pageIndex: page index , default 0 to query all (Optional)
func NewQueryCCProtectRulesRequestWithoutParam ¶
func NewQueryCCProtectRulesRequestWithoutParam() *QueryCCProtectRulesRequest
This constructor has better compatible ability when API parameters changed
func (QueryCCProtectRulesRequest) GetRegionId ¶
func (r QueryCCProtectRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryCCProtectRulesRequest) SetDomain ¶
func (r *QueryCCProtectRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QueryCCProtectRulesRequest) SetId ¶
func (r *QueryCCProtectRulesRequest) SetId(id string)
param id: ruleId, defalut empty(Optional)
func (*QueryCCProtectRulesRequest) SetPageIndex ¶
func (r *QueryCCProtectRulesRequest) SetPageIndex(pageIndex int)
param pageIndex: page index , default 0 to query all(Optional)
func (*QueryCCProtectRulesRequest) SetPageSize ¶
func (r *QueryCCProtectRulesRequest) SetPageSize(pageSize int)
param pageSize: page size , default 0 to query all(Optional)
type QueryCCProtectRulesResponse ¶
type QueryCCProtectRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryCCProtectRulesResult `json:"result"`
}
type QueryCCProtectRulesResult ¶
type QueryCCProtectRulesResult struct {
Rules []cdn.WafCCProtectRuleModel `json:"rules"`
}
type QueryCCProtectSwitchRequest ¶
type QueryCCProtectSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryCCProtectSwitchRequest ¶
func NewQueryCCProtectSwitchRequest( domain string, ) *QueryCCProtectSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryCCProtectSwitchRequestWithAllParams ¶
func NewQueryCCProtectSwitchRequestWithAllParams( domain string, ) *QueryCCProtectSwitchRequest
* param domain: 用户域名 (Required)
func NewQueryCCProtectSwitchRequestWithoutParam ¶
func NewQueryCCProtectSwitchRequestWithoutParam() *QueryCCProtectSwitchRequest
This constructor has better compatible ability when API parameters changed
func (QueryCCProtectSwitchRequest) GetRegionId ¶
func (r QueryCCProtectSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryCCProtectSwitchRequest) SetDomain ¶
func (r *QueryCCProtectSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryCCProtectSwitchResponse ¶
type QueryCCProtectSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryCCProtectSwitchResult `json:"result"`
}
type QueryCCProtectSwitchResult ¶
type QueryCCProtectSwitchResult struct {
SwitchStatus string `json:"switchStatus"`
}
type QueryCdnUserQuotaRequest ¶
type QueryCdnUserQuotaRequest struct {
core.JDCloudRequest
}
func NewQueryCdnUserQuotaRequest ¶
func NewQueryCdnUserQuotaRequest() *QueryCdnUserQuotaRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryCdnUserQuotaRequestWithAllParams ¶
func NewQueryCdnUserQuotaRequestWithAllParams() *QueryCdnUserQuotaRequest
func NewQueryCdnUserQuotaRequestWithoutParam ¶
func NewQueryCdnUserQuotaRequestWithoutParam() *QueryCdnUserQuotaRequest
This constructor has better compatible ability when API parameters changed
func (QueryCdnUserQuotaRequest) GetRegionId ¶
func (r QueryCdnUserQuotaRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryCdnUserQuotaResponse ¶
type QueryCdnUserQuotaResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryCdnUserQuotaResult `json:"result"`
}
type QueryCdnUserQuotaResult ¶
type QueryCdnUserQuotaResult struct {
DirAllCount int `json:"dirAllCount"`
DirUsedCount int `json:"dirUsedCount"`
DirRemainedCount int `json:"dirRemainedCount"`
ForbiddenUrlRemainedCount int `json:"forbiddenUrlRemainedCount"`
ForbiddenUrlUsedCount int `json:"forbiddenUrlUsedCount"`
ForbiddenUrlAllCount int `json:"forbiddenUrlAllCount"`
HasForbiddenDomainCount int `json:"hasForbiddenDomainCount"`
PrefetchRemainedCount int `json:"prefetchRemainedCount"`
PrefetchAllCount int `json:"prefetchAllCount"`
PrefetchUsedCount int `json:"prefetchUsedCount"`
RefreshAllCount int `json:"refreshAllCount"`
RefreshRemainedCount int `json:"refreshRemainedCount"`
RefreshUsedCount int `json:"refreshUsedCount"`
TotalUserDomainQuota int `json:"totalUserDomainQuota"`
UsedUserDomainQuota int `json:"usedUserDomainQuota"`
RemainUserDomainQuota int `json:"remainUserDomainQuota"`
}
type QueryCustomErrorPageRequest ¶
type QueryCustomErrorPageRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryCustomErrorPageRequest ¶
func NewQueryCustomErrorPageRequest( domain string, ) *QueryCustomErrorPageRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryCustomErrorPageRequestWithAllParams ¶
func NewQueryCustomErrorPageRequestWithAllParams( domain string, ) *QueryCustomErrorPageRequest
* param domain: 用户域名 (Required)
func NewQueryCustomErrorPageRequestWithoutParam ¶
func NewQueryCustomErrorPageRequestWithoutParam() *QueryCustomErrorPageRequest
This constructor has better compatible ability when API parameters changed
func (QueryCustomErrorPageRequest) GetRegionId ¶
func (r QueryCustomErrorPageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryCustomErrorPageRequest) SetDomain ¶
func (r *QueryCustomErrorPageRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryCustomErrorPageResponse ¶
type QueryCustomErrorPageResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryCustomErrorPageResult `json:"result"`
}
type QueryCustomErrorPageResult ¶
type QueryCustomErrorPageResult struct {
Domain string `json:"domain"`
Enable string `json:"enable"`
CustomErrorPageInfos []cdn.ErrorPageConfigs `json:"customErrorPageInfos"`
}
type QueryCustomizedDirBandWidthRequest ¶
type QueryCustomizedDirBandWidthRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2020-12-07T16:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2020-12-07T16:20:00Z,开始时间和结束时间跨度 不能超过4个小时 (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询 (Optional) */
Domain *string `json:"domain"`
/* 需要过滤的目录,以正斜线(/)开头,不填表示查询所有目录。查询目录同时需要以正斜线(/)结尾。 如:/path1/path2/path3/ (Optional) */
Dir *string `json:"dir"`
}
func NewQueryCustomizedDirBandWidthRequest ¶
func NewQueryCustomizedDirBandWidthRequest() *QueryCustomizedDirBandWidthRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryCustomizedDirBandWidthRequestWithAllParams ¶
func NewQueryCustomizedDirBandWidthRequestWithAllParams( startTime *string, endTime *string, domain *string, dir *string, ) *QueryCustomizedDirBandWidthRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2020-12-07T16:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2020-12-07T16:20:00Z,开始时间和结束时间跨度 不能超过4个小时 (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询 (Optional) * param dir: 需要过滤的目录,以正斜线(/)开头,不填表示查询所有目录。查询目录同时需要以正斜线(/)结尾。 如:/path1/path2/path3/ (Optional)
func NewQueryCustomizedDirBandWidthRequestWithoutParam ¶
func NewQueryCustomizedDirBandWidthRequestWithoutParam() *QueryCustomizedDirBandWidthRequest
This constructor has better compatible ability when API parameters changed
func (QueryCustomizedDirBandWidthRequest) GetRegionId ¶
func (r QueryCustomizedDirBandWidthRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryCustomizedDirBandWidthRequest) SetDir ¶
func (r *QueryCustomizedDirBandWidthRequest) SetDir(dir string)
param dir: 需要过滤的目录,以正斜线(/)开头,不填表示查询所有目录。查询目录同时需要以正斜线(/)结尾。 如:/path1/path2/path3/(Optional)
func (*QueryCustomizedDirBandWidthRequest) SetDomain ¶
func (r *QueryCustomizedDirBandWidthRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询(Optional)
func (*QueryCustomizedDirBandWidthRequest) SetEndTime ¶
func (r *QueryCustomizedDirBandWidthRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2020-12-07T16:20:00Z,开始时间和结束时间跨度 不能超过4个小时(Optional)
func (*QueryCustomizedDirBandWidthRequest) SetStartTime ¶
func (r *QueryCustomizedDirBandWidthRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2020-12-07T16:00:00Z(Optional)
type QueryCustomizedDirBandWidthResponse ¶
type QueryCustomizedDirBandWidthResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryCustomizedDirBandWidthResult `json:"result"`
}
type QueryDdosGraphRequest ¶
type QueryDdosGraphRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z (Optional) */
EndTime *string `json:"endTime"`
}
func NewQueryDdosGraphRequest ¶
func NewQueryDdosGraphRequest() *QueryDdosGraphRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDdosGraphRequestWithAllParams ¶
func NewQueryDdosGraphRequestWithAllParams( startTime *string, endTime *string, ) *QueryDdosGraphRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z (Optional)
func NewQueryDdosGraphRequestWithoutParam ¶
func NewQueryDdosGraphRequestWithoutParam() *QueryDdosGraphRequest
This constructor has better compatible ability when API parameters changed
func (QueryDdosGraphRequest) GetRegionId ¶
func (r QueryDdosGraphRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDdosGraphRequest) SetEndTime ¶
func (r *QueryDdosGraphRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z(Optional)
func (*QueryDdosGraphRequest) SetStartTime ¶
func (r *QueryDdosGraphRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z(Optional)
type QueryDdosGraphResponse ¶
type QueryDdosGraphResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDdosGraphResult `json:"result"`
}
type QueryDdosGraphResult ¶
type QueryDdosGraphResult struct {
DataList []cdn.ProtectData `json:"dataList"`
Unit []string `json:"unit"`
}
type QueryDefaultHttpHeaderKeyRequest ¶
type QueryDefaultHttpHeaderKeyRequest struct {
core.JDCloudRequest
}
func NewQueryDefaultHttpHeaderKeyRequest ¶
func NewQueryDefaultHttpHeaderKeyRequest() *QueryDefaultHttpHeaderKeyRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDefaultHttpHeaderKeyRequestWithAllParams ¶
func NewQueryDefaultHttpHeaderKeyRequestWithAllParams() *QueryDefaultHttpHeaderKeyRequest
func NewQueryDefaultHttpHeaderKeyRequestWithoutParam ¶
func NewQueryDefaultHttpHeaderKeyRequestWithoutParam() *QueryDefaultHttpHeaderKeyRequest
This constructor has better compatible ability when API parameters changed
func (QueryDefaultHttpHeaderKeyRequest) GetRegionId ¶
func (r QueryDefaultHttpHeaderKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryDefaultHttpHeaderKeyResponse ¶
type QueryDefaultHttpHeaderKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDefaultHttpHeaderKeyResult `json:"result"`
}
type QueryDeviceStatusForPCdnRequest ¶
type QueryDeviceStatusForPCdnRequest struct {
core.JDCloudRequest
/* 查询dev的mac地址(如DCD87C047117) */
MacAddr string `json:"macAddr"`
}
func NewQueryDeviceStatusForPCdnRequest ¶
func NewQueryDeviceStatusForPCdnRequest( macAddr string, ) *QueryDeviceStatusForPCdnRequest
* param macAddr: 查询dev的mac地址(如DCD87C047117) (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDeviceStatusForPCdnRequestWithAllParams ¶
func NewQueryDeviceStatusForPCdnRequestWithAllParams( macAddr string, ) *QueryDeviceStatusForPCdnRequest
* param macAddr: 查询dev的mac地址(如DCD87C047117) (Required)
func NewQueryDeviceStatusForPCdnRequestWithoutParam ¶
func NewQueryDeviceStatusForPCdnRequestWithoutParam() *QueryDeviceStatusForPCdnRequest
This constructor has better compatible ability when API parameters changed
func (QueryDeviceStatusForPCdnRequest) GetRegionId ¶
func (r QueryDeviceStatusForPCdnRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDeviceStatusForPCdnRequest) SetMacAddr ¶
func (r *QueryDeviceStatusForPCdnRequest) SetMacAddr(macAddr string)
param macAddr: 查询dev的mac地址(如DCD87C047117)(Required)
type QueryDeviceStatusForPCdnResponse ¶
type QueryDeviceStatusForPCdnResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDeviceStatusForPCdnResult `json:"result"`
}
type QueryDeviceStatusForPCdnResult ¶
type QueryDeviceStatusForPCdnResult struct {
MacAddress string `json:"macAddress"`
ActiveConnNum int64 `json:"activeConnNum"`
StartupTime string `json:"startupTime"`
CacheFree string `json:"cacheFree"`
DiskFree string `json:"diskFree"`
CpuIdle float64 `json:"cpuIdle"`
Port int `json:"port"`
MemFreePercent float64 `json:"memFreePercent"`
DevId string `json:"devId"`
RemoteIp string `json:"remoteIp"`
Region string `json:"region"`
Isp string `json:"isp"`
Report string `json:"report"`
}
type QueryDirBandwidthRequest ¶
type QueryDirBandwidthRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询 (Optional) */
Domain *string `json:"domain"`
/* 需要过滤的目录 (Optional) */
Dirs *string `json:"dirs"`
/* 需要过滤的地区 (Optional) */
Regions *string `json:"regions"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
}
func NewQueryDirBandwidthRequest ¶
func NewQueryDirBandwidthRequest() *QueryDirBandwidthRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDirBandwidthRequestWithAllParams ¶
func NewQueryDirBandwidthRequestWithAllParams( startTime *string, endTime *string, domain *string, dirs *string, regions *string, cacheType *string, ) *QueryDirBandwidthRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询 (Optional) * param dirs: 需要过滤的目录 (Optional) * param regions: 需要过滤的地区 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional)
func NewQueryDirBandwidthRequestWithoutParam ¶
func NewQueryDirBandwidthRequestWithoutParam() *QueryDirBandwidthRequest
This constructor has better compatible ability when API parameters changed
func (QueryDirBandwidthRequest) GetRegionId ¶
func (r QueryDirBandwidthRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDirBandwidthRequest) SetCacheType ¶
func (r *QueryDirBandwidthRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryDirBandwidthRequest) SetDirs ¶
func (r *QueryDirBandwidthRequest) SetDirs(dirs string)
param dirs: 需要过滤的目录(Optional)
func (*QueryDirBandwidthRequest) SetDomain ¶
func (r *QueryDirBandwidthRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询(Optional)
func (*QueryDirBandwidthRequest) SetEndTime ¶
func (r *QueryDirBandwidthRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryDirBandwidthRequest) SetRegions ¶
func (r *QueryDirBandwidthRequest) SetRegions(regions string)
param regions: 需要过滤的地区(Optional)
func (*QueryDirBandwidthRequest) SetStartTime ¶
func (r *QueryDirBandwidthRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryDirBandwidthResponse ¶
type QueryDirBandwidthResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDirBandwidthResult `json:"result"`
}
type QueryDirBandwidthResult ¶
type QueryDirBandwidthResult struct {
Domain string `json:"domain"`
Datas []cdn.DirBandwidthItem `json:"datas"`
}
type QueryDirStatsDataRequest ¶
type QueryDirStatsDataRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询 (Optional) */
Domain *string `json:"domain"`
/* 需要过滤的目录 (Optional) */
Dirs *string `json:"dirs"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
}
func NewQueryDirStatsDataRequest ¶
func NewQueryDirStatsDataRequest() *QueryDirStatsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDirStatsDataRequestWithAllParams ¶
func NewQueryDirStatsDataRequestWithAllParams( startTime *string, endTime *string, domain *string, dirs *string, cacheType *string, ) *QueryDirStatsDataRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询 (Optional) * param dirs: 需要过滤的目录 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional)
func NewQueryDirStatsDataRequestWithoutParam ¶
func NewQueryDirStatsDataRequestWithoutParam() *QueryDirStatsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryDirStatsDataRequest) GetRegionId ¶
func (r QueryDirStatsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDirStatsDataRequest) SetCacheType ¶
func (r *QueryDirStatsDataRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryDirStatsDataRequest) SetDirs ¶
func (r *QueryDirStatsDataRequest) SetDirs(dirs string)
param dirs: 需要过滤的目录(Optional)
func (*QueryDirStatsDataRequest) SetDomain ¶
func (r *QueryDirStatsDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名,该接口仅支持单域名查询(Optional)
func (*QueryDirStatsDataRequest) SetEndTime ¶
func (r *QueryDirStatsDataRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryDirStatsDataRequest) SetStartTime ¶
func (r *QueryDirStatsDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryDirStatsDataResponse ¶
type QueryDirStatsDataResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDirStatsDataResult `json:"result"`
}
type QueryDirStatsDataResult ¶
type QueryDirStatsDataResult struct {
Domain string `json:"domain"`
Datas []cdn.DirStatsItem `json:"datas"`
}
type QueryDomainAllConfigClassifyRequest ¶
type QueryDomainAllConfigClassifyRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryDomainAllConfigClassifyRequest ¶
func NewQueryDomainAllConfigClassifyRequest( domain string, ) *QueryDomainAllConfigClassifyRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainAllConfigClassifyRequestWithAllParams ¶
func NewQueryDomainAllConfigClassifyRequestWithAllParams( domain string, ) *QueryDomainAllConfigClassifyRequest
* param domain: 用户域名 (Required)
func NewQueryDomainAllConfigClassifyRequestWithoutParam ¶
func NewQueryDomainAllConfigClassifyRequestWithoutParam() *QueryDomainAllConfigClassifyRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainAllConfigClassifyRequest) GetRegionId ¶
func (r QueryDomainAllConfigClassifyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainAllConfigClassifyRequest) SetDomain ¶
func (r *QueryDomainAllConfigClassifyRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryDomainAllConfigClassifyResponse ¶
type QueryDomainAllConfigClassifyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainAllConfigClassifyResult `json:"result"`
}
type QueryDomainAllConfigClassifyResult ¶
type QueryDomainAllConfigClassifyResult struct {
ConfigItems []cdn.ConfigItem `json:"configItems"`
}
type QueryDomainConfigRequest ¶
type QueryDomainConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryDomainConfigRequest ¶
func NewQueryDomainConfigRequest( domain string, ) *QueryDomainConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainConfigRequestWithAllParams ¶
func NewQueryDomainConfigRequestWithAllParams( domain string, ) *QueryDomainConfigRequest
* param domain: 用户域名 (Required)
func NewQueryDomainConfigRequestWithoutParam ¶
func NewQueryDomainConfigRequestWithoutParam() *QueryDomainConfigRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainConfigRequest) GetRegionId ¶
func (r QueryDomainConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainConfigRequest) SetDomain ¶
func (r *QueryDomainConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryDomainConfigResponse ¶
type QueryDomainConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainConfigResult `json:"result"`
}
type QueryDomainConfigResult ¶
type QueryDomainConfigResult struct {
IgnoreQueryString string `json:"ignoreQueryString"`
Range string `json:"range"`
HttpType string `json:"httpType"`
HttpsCertificate string `json:"httpsCertificate"`
HttpsRsaKey string `json:"httpsRsaKey"`
HttpsJumpType string `json:"httpsJumpType"`
VideoDraft string `json:"videoDraft"`
GroupName string `json:"groupName"`
JcdnTimeAnti string `json:"jcdnTimeAnti"`
Gzip string `json:"gzip"`
GzipTypes string `json:"gzipTypes"`
CacheRules []cdn.CacheRule `json:"cacheRules"`
}
type QueryDomainConfigStatusRequest ¶
type QueryDomainConfigStatusRequest struct {
core.JDCloudRequest
/* 任务ID */
TaskId string `json:"taskId"`
}
func NewQueryDomainConfigStatusRequest ¶
func NewQueryDomainConfigStatusRequest( taskId string, ) *QueryDomainConfigStatusRequest
* param taskId: 任务ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainConfigStatusRequestWithAllParams ¶
func NewQueryDomainConfigStatusRequestWithAllParams( taskId string, ) *QueryDomainConfigStatusRequest
* param taskId: 任务ID (Required)
func NewQueryDomainConfigStatusRequestWithoutParam ¶
func NewQueryDomainConfigStatusRequestWithoutParam() *QueryDomainConfigStatusRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainConfigStatusRequest) GetRegionId ¶
func (r QueryDomainConfigStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainConfigStatusRequest) SetTaskId ¶
func (r *QueryDomainConfigStatusRequest) SetTaskId(taskId string)
param taskId: 任务ID(Required)
type QueryDomainConfigStatusResponse ¶
type QueryDomainConfigStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainConfigStatusResult `json:"result"`
}
type QueryDomainConfigStatusResult ¶
type QueryDomainConfigStatusResult struct {
TaskStatus string `json:"taskStatus"`
}
type QueryDomainGroupDetailRequest ¶
type QueryDomainGroupDetailRequest struct {
core.JDCloudRequest
/* 域名组id */
Id int `json:"id"`
}
func NewQueryDomainGroupDetailRequest ¶
func NewQueryDomainGroupDetailRequest( id int, ) *QueryDomainGroupDetailRequest
* param id: 域名组id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainGroupDetailRequestWithAllParams ¶
func NewQueryDomainGroupDetailRequestWithAllParams( id int, ) *QueryDomainGroupDetailRequest
* param id: 域名组id (Required)
func NewQueryDomainGroupDetailRequestWithoutParam ¶
func NewQueryDomainGroupDetailRequestWithoutParam() *QueryDomainGroupDetailRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainGroupDetailRequest) GetRegionId ¶
func (r QueryDomainGroupDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainGroupDetailRequest) SetId ¶
func (r *QueryDomainGroupDetailRequest) SetId(id int)
param id: 域名组id(Required)
type QueryDomainGroupDetailResponse ¶
type QueryDomainGroupDetailResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainGroupDetailResult `json:"result"`
}
type QueryDomainGroupListRequest ¶
type QueryDomainGroupListRequest struct {
core.JDCloudRequest
ShareCache *string `json:"shareCache"`
/* pageNumber (Optional) */
PageNumber *int `json:"pageNumber"`
/* pageSize (Optional) */
PageSize *int `json:"pageSize"`
/* 根据主域名模糊查询 (Optional) */
PrimaryDomain *string `json:"primaryDomain"`
/* 根据域名组模糊查询 (Optional) */
DomainGroupName *string `json:"domainGroupName"`
}
func NewQueryDomainGroupListRequest ¶
func NewQueryDomainGroupListRequest() *QueryDomainGroupListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainGroupListRequestWithAllParams ¶
func NewQueryDomainGroupListRequestWithAllParams( shareCache *string, pageNumber *int, pageSize *int, primaryDomain *string, domainGroupName *string, ) *QueryDomainGroupListRequest
* param shareCache: 根据是否共享内存筛选 (Optional) * param pageNumber: pageNumber (Optional) * param pageSize: pageSize (Optional) * param primaryDomain: 根据主域名模糊查询 (Optional) * param domainGroupName: 根据域名组模糊查询 (Optional)
func NewQueryDomainGroupListRequestWithoutParam ¶
func NewQueryDomainGroupListRequestWithoutParam() *QueryDomainGroupListRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainGroupListRequest) GetRegionId ¶
func (r QueryDomainGroupListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainGroupListRequest) SetDomainGroupName ¶
func (r *QueryDomainGroupListRequest) SetDomainGroupName(domainGroupName string)
param domainGroupName: 根据域名组模糊查询(Optional)
func (*QueryDomainGroupListRequest) SetPageNumber ¶
func (r *QueryDomainGroupListRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber(Optional)
func (*QueryDomainGroupListRequest) SetPageSize ¶
func (r *QueryDomainGroupListRequest) SetPageSize(pageSize int)
param pageSize: pageSize(Optional)
func (*QueryDomainGroupListRequest) SetPrimaryDomain ¶
func (r *QueryDomainGroupListRequest) SetPrimaryDomain(primaryDomain string)
param primaryDomain: 根据主域名模糊查询(Optional)
func (*QueryDomainGroupListRequest) SetShareCache ¶
func (r *QueryDomainGroupListRequest) SetShareCache(shareCache string)
param shareCache: 根据是否共享内存筛选(Optional)
type QueryDomainGroupListResponse ¶
type QueryDomainGroupListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainGroupListResult `json:"result"`
}
type QueryDomainGroupListResult ¶
type QueryDomainGroupListResult struct {
TotalCount int `json:"totalCount"`
PageSize int `json:"pageSize"`
PageNumber int `json:"pageNumber"`
DomainGroups []cdn.DomainGroupItem `json:"domainGroups"`
}
type QueryDomainLogRequest ¶
type QueryDomainLogRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 时间间隔,取值(hour,day,fiveMin),不传默认小时。 (Optional) */
Interval *string `json:"interval"`
/* 日志类型,取值(log,zip,gz),不传默认gz。 (Optional) */
LogType *string `json:"logType"`
/* 页面大小,默认值10 (Optional) */
PageSize *int `json:"pageSize"`
/* 分页页数,默认值1 (Optional) */
PageNumber *int `json:"pageNumber"`
}
func NewQueryDomainLogRequest ¶
func NewQueryDomainLogRequest( domain string, ) *QueryDomainLogRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainLogRequestWithAllParams ¶
func NewQueryDomainLogRequestWithAllParams( domain string, startTime *string, endTime *string, interval *string, logType *string, pageSize *int, pageNumber *int, ) *QueryDomainLogRequest
* param domain: 用户域名 (Required) * param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param interval: 时间间隔,取值(hour,day,fiveMin),不传默认小时。 (Optional) * param logType: 日志类型,取值(log,zip,gz),不传默认gz。 (Optional) * param pageSize: 页面大小,默认值10 (Optional) * param pageNumber: 分页页数,默认值1 (Optional)
func NewQueryDomainLogRequestWithoutParam ¶
func NewQueryDomainLogRequestWithoutParam() *QueryDomainLogRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainLogRequest) GetRegionId ¶
func (r QueryDomainLogRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainLogRequest) SetDomain ¶
func (r *QueryDomainLogRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QueryDomainLogRequest) SetEndTime ¶
func (r *QueryDomainLogRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryDomainLogRequest) SetInterval ¶
func (r *QueryDomainLogRequest) SetInterval(interval string)
param interval: 时间间隔,取值(hour,day,fiveMin),不传默认小时。(Optional)
func (*QueryDomainLogRequest) SetLogType ¶
func (r *QueryDomainLogRequest) SetLogType(logType string)
param logType: 日志类型,取值(log,zip,gz),不传默认gz。(Optional)
func (*QueryDomainLogRequest) SetPageNumber ¶
func (r *QueryDomainLogRequest) SetPageNumber(pageNumber int)
param pageNumber: 分页页数,默认值1(Optional)
func (*QueryDomainLogRequest) SetPageSize ¶
func (r *QueryDomainLogRequest) SetPageSize(pageSize int)
param pageSize: 页面大小,默认值10(Optional)
func (*QueryDomainLogRequest) SetStartTime ¶
func (r *QueryDomainLogRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryDomainLogResponse ¶
type QueryDomainLogResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainLogResult `json:"result"`
}
type QueryDomainLogResult ¶
type QueryDomainTempInstListRequest ¶
type QueryDomainTempInstListRequest struct {
core.JDCloudRequest
/* 根据关键字进行模糊匹配 (Optional) */
InstName *string `json:"instName"`
/* pageNumber,默认值1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* pageSize,最大值50,默认值20 (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryDomainTempInstListRequest ¶
func NewQueryDomainTempInstListRequest() *QueryDomainTempInstListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainTempInstListRequestWithAllParams ¶
func NewQueryDomainTempInstListRequestWithAllParams( instName *string, pageNumber *int, pageSize *int, ) *QueryDomainTempInstListRequest
* param instName: 根据关键字进行模糊匹配 (Optional) * param pageNumber: pageNumber,默认值1 (Optional) * param pageSize: pageSize,最大值50,默认值20 (Optional)
func NewQueryDomainTempInstListRequestWithoutParam ¶
func NewQueryDomainTempInstListRequestWithoutParam() *QueryDomainTempInstListRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainTempInstListRequest) GetRegionId ¶
func (r QueryDomainTempInstListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainTempInstListRequest) SetInstName ¶
func (r *QueryDomainTempInstListRequest) SetInstName(instName string)
param instName: 根据关键字进行模糊匹配(Optional)
func (*QueryDomainTempInstListRequest) SetPageNumber ¶
func (r *QueryDomainTempInstListRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber,默认值1(Optional)
func (*QueryDomainTempInstListRequest) SetPageSize ¶
func (r *QueryDomainTempInstListRequest) SetPageSize(pageSize int)
param pageSize: pageSize,最大值50,默认值20(Optional)
type QueryDomainTempInstListResponse ¶
type QueryDomainTempInstListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainTempInstListResult `json:"result"`
}
type QueryDomainTempInstListResult ¶
type QueryDomainTempInstListResult struct {
TotalCount int `json:"totalCount"`
PageSize int `json:"pageSize"`
PageNumber int `json:"pageNumber"`
InstList []cdn.ListDomainTempItem `json:"instList"`
}
type QueryDomainTempInstRequest ¶
type QueryDomainTempInstRequest struct {
core.JDCloudRequest
/* 模板实例id */
InstId int `json:"instId"`
}
func NewQueryDomainTempInstRequest ¶
func NewQueryDomainTempInstRequest( instId int, ) *QueryDomainTempInstRequest
* param instId: 模板实例id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainTempInstRequestWithAllParams ¶
func NewQueryDomainTempInstRequestWithAllParams( instId int, ) *QueryDomainTempInstRequest
* param instId: 模板实例id (Required)
func NewQueryDomainTempInstRequestWithoutParam ¶
func NewQueryDomainTempInstRequestWithoutParam() *QueryDomainTempInstRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainTempInstRequest) GetRegionId ¶
func (r QueryDomainTempInstRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainTempInstRequest) SetInstId ¶
func (r *QueryDomainTempInstRequest) SetInstId(instId int)
param instId: 模板实例id(Required)
type QueryDomainTempInstResponse ¶
type QueryDomainTempInstResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainTempInstResult `json:"result"`
}
type QueryDomainTempProKeysRequest ¶
type QueryDomainTempProKeysRequest struct {
core.JDCloudRequest
}
func NewQueryDomainTempProKeysRequest ¶
func NewQueryDomainTempProKeysRequest() *QueryDomainTempProKeysRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainTempProKeysRequestWithAllParams ¶
func NewQueryDomainTempProKeysRequestWithAllParams() *QueryDomainTempProKeysRequest
func NewQueryDomainTempProKeysRequestWithoutParam ¶
func NewQueryDomainTempProKeysRequestWithoutParam() *QueryDomainTempProKeysRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainTempProKeysRequest) GetRegionId ¶
func (r QueryDomainTempProKeysRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryDomainTempProKeysResponse ¶
type QueryDomainTempProKeysResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainTempProKeysResult `json:"result"`
}
type QueryDomainTempProKeysResult ¶
type QueryDomainTempProKeysResult struct {
ProKeyMap interface{} `json:"proKeyMap"`
}
type QueryDomainsLogRequest ¶
type QueryDomainsLogRequest struct {
core.JDCloudRequest
/* (Optional) */
Domains []string `json:"domains"`
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 时间间隔,取值(hour,day,fiveMin),不传默认小时。 (Optional) */
Interval *string `json:"interval"`
/* 日志类型,取值(log,zip,gz),不传默认gz。 (Optional) */
LogType *string `json:"logType"`
}
func NewQueryDomainsLogRequest ¶
func NewQueryDomainsLogRequest() *QueryDomainsLogRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainsLogRequestWithAllParams ¶
func NewQueryDomainsLogRequestWithAllParams( domains []string, startTime *string, endTime *string, interval *string, logType *string, ) *QueryDomainsLogRequest
* param domains: (Optional) * param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param interval: 时间间隔,取值(hour,day,fiveMin),不传默认小时。 (Optional) * param logType: 日志类型,取值(log,zip,gz),不传默认gz。 (Optional)
func NewQueryDomainsLogRequestWithoutParam ¶
func NewQueryDomainsLogRequestWithoutParam() *QueryDomainsLogRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainsLogRequest) GetRegionId ¶
func (r QueryDomainsLogRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainsLogRequest) SetDomains ¶
func (r *QueryDomainsLogRequest) SetDomains(domains []string)
param domains: (Optional)
func (*QueryDomainsLogRequest) SetEndTime ¶
func (r *QueryDomainsLogRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryDomainsLogRequest) SetInterval ¶
func (r *QueryDomainsLogRequest) SetInterval(interval string)
param interval: 时间间隔,取值(hour,day,fiveMin),不传默认小时。(Optional)
func (*QueryDomainsLogRequest) SetLogType ¶
func (r *QueryDomainsLogRequest) SetLogType(logType string)
param logType: 日志类型,取值(log,zip,gz),不传默认gz。(Optional)
func (*QueryDomainsLogRequest) SetStartTime ¶
func (r *QueryDomainsLogRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryDomainsLogResponse ¶
type QueryDomainsLogResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainsLogResult `json:"result"`
}
type QueryDomainsLogResult ¶
type QueryDomainsLogResult struct {
Logs []cdn.DomainsLog `json:"logs"`
}
type QueryDomainsNotInGroupRequest ¶
type QueryDomainsNotInGroupRequest struct {
core.JDCloudRequest
}
func NewQueryDomainsNotInGroupRequest ¶
func NewQueryDomainsNotInGroupRequest() *QueryDomainsNotInGroupRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainsNotInGroupRequestWithAllParams ¶
func NewQueryDomainsNotInGroupRequestWithAllParams() *QueryDomainsNotInGroupRequest
func NewQueryDomainsNotInGroupRequestWithoutParam ¶
func NewQueryDomainsNotInGroupRequestWithoutParam() *QueryDomainsNotInGroupRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainsNotInGroupRequest) GetRegionId ¶
func (r QueryDomainsNotInGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryDomainsNotInGroupResponse ¶
type QueryDomainsNotInGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryDomainsNotInGroupResult `json:"result"`
}
type QueryDomainsNotInGroupResult ¶
type QueryDomainsNotInGroupResult struct {
Domains []string `json:"domains"`
}
type QueryExtraCacheTimeRequest ¶
type QueryExtraCacheTimeRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryExtraCacheTimeRequest ¶
func NewQueryExtraCacheTimeRequest( domain string, ) *QueryExtraCacheTimeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryExtraCacheTimeRequestWithAllParams ¶
func NewQueryExtraCacheTimeRequestWithAllParams( domain string, ) *QueryExtraCacheTimeRequest
* param domain: 用户域名 (Required)
func NewQueryExtraCacheTimeRequestWithoutParam ¶
func NewQueryExtraCacheTimeRequestWithoutParam() *QueryExtraCacheTimeRequest
This constructor has better compatible ability when API parameters changed
func (QueryExtraCacheTimeRequest) GetRegionId ¶
func (r QueryExtraCacheTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryExtraCacheTimeRequest) SetDomain ¶
func (r *QueryExtraCacheTimeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryExtraCacheTimeResponse ¶
type QueryExtraCacheTimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryExtraCacheTimeResult `json:"result"`
}
type QueryExtraCacheTimeResult ¶
type QueryExtraCacheTimeResult struct {
Domain string `json:"domain"`
ExtraCacheTimes []cdn.ExtraCacheTime `json:"extraCacheTimes"`
}
type QueryFilterArgsRequest ¶
type QueryFilterArgsRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryFilterArgsRequest ¶
func NewQueryFilterArgsRequest( domain string, ) *QueryFilterArgsRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryFilterArgsRequestWithAllParams ¶
func NewQueryFilterArgsRequestWithAllParams( domain string, ) *QueryFilterArgsRequest
* param domain: 用户域名 (Required)
func NewQueryFilterArgsRequestWithoutParam ¶
func NewQueryFilterArgsRequestWithoutParam() *QueryFilterArgsRequest
This constructor has better compatible ability when API parameters changed
func (QueryFilterArgsRequest) GetRegionId ¶
func (r QueryFilterArgsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryFilterArgsRequest) SetDomain ¶
func (r *QueryFilterArgsRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryFilterArgsResponse ¶
type QueryFilterArgsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryFilterArgsResult `json:"result"`
}
type QueryFilterArgsResult ¶
type QueryFollowRedirectRequest ¶
type QueryFollowRedirectRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryFollowRedirectRequest ¶
func NewQueryFollowRedirectRequest( domain string, ) *QueryFollowRedirectRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryFollowRedirectRequestWithAllParams ¶
func NewQueryFollowRedirectRequestWithAllParams( domain string, ) *QueryFollowRedirectRequest
* param domain: 用户域名 (Required)
func NewQueryFollowRedirectRequestWithoutParam ¶
func NewQueryFollowRedirectRequestWithoutParam() *QueryFollowRedirectRequest
This constructor has better compatible ability when API parameters changed
func (QueryFollowRedirectRequest) GetRegionId ¶
func (r QueryFollowRedirectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryFollowRedirectRequest) SetDomain ¶
func (r *QueryFollowRedirectRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryFollowRedirectResponse ¶
type QueryFollowRedirectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryFollowRedirectResult `json:"result"`
}
type QueryFollowSourceProtocolRequest ¶
type QueryFollowSourceProtocolRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryFollowSourceProtocolRequest ¶
func NewQueryFollowSourceProtocolRequest( domain string, ) *QueryFollowSourceProtocolRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryFollowSourceProtocolRequestWithAllParams ¶
func NewQueryFollowSourceProtocolRequestWithAllParams( domain string, ) *QueryFollowSourceProtocolRequest
* param domain: 用户域名 (Required)
func NewQueryFollowSourceProtocolRequestWithoutParam ¶
func NewQueryFollowSourceProtocolRequestWithoutParam() *QueryFollowSourceProtocolRequest
This constructor has better compatible ability when API parameters changed
func (QueryFollowSourceProtocolRequest) GetRegionId ¶
func (r QueryFollowSourceProtocolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryFollowSourceProtocolRequest) SetDomain ¶
func (r *QueryFollowSourceProtocolRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryFollowSourceProtocolResponse ¶
type QueryFollowSourceProtocolResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryFollowSourceProtocolResult `json:"result"`
}
type QueryForbiddenInfoListRequest ¶
type QueryForbiddenInfoListRequest struct {
core.JDCloudRequest
/* 封禁域名,模糊查询 (Optional) */
QueryDomain *string `json:"queryDomain"`
/* 封禁url,精确查询 (Optional) */
ForbiddenUrl *string `json:"forbiddenUrl"`
/* 页码数 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 每页size (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryForbiddenInfoListRequest ¶
func NewQueryForbiddenInfoListRequest() *QueryForbiddenInfoListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryForbiddenInfoListRequestWithAllParams ¶
func NewQueryForbiddenInfoListRequestWithAllParams( queryDomain *string, forbiddenUrl *string, pageNumber *int, pageSize *int, ) *QueryForbiddenInfoListRequest
* param queryDomain: 封禁域名,模糊查询 (Optional) * param forbiddenUrl: 封禁url,精确查询 (Optional) * param pageNumber: 页码数 (Optional) * param pageSize: 每页size (Optional)
func NewQueryForbiddenInfoListRequestWithoutParam ¶
func NewQueryForbiddenInfoListRequestWithoutParam() *QueryForbiddenInfoListRequest
This constructor has better compatible ability when API parameters changed
func (QueryForbiddenInfoListRequest) GetRegionId ¶
func (r QueryForbiddenInfoListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryForbiddenInfoListRequest) SetForbiddenUrl ¶
func (r *QueryForbiddenInfoListRequest) SetForbiddenUrl(forbiddenUrl string)
param forbiddenUrl: 封禁url,精确查询(Optional)
func (*QueryForbiddenInfoListRequest) SetPageNumber ¶
func (r *QueryForbiddenInfoListRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码数(Optional)
func (*QueryForbiddenInfoListRequest) SetPageSize ¶
func (r *QueryForbiddenInfoListRequest) SetPageSize(pageSize int)
param pageSize: 每页size(Optional)
func (*QueryForbiddenInfoListRequest) SetQueryDomain ¶
func (r *QueryForbiddenInfoListRequest) SetQueryDomain(queryDomain string)
param queryDomain: 封禁域名,模糊查询(Optional)
type QueryForbiddenInfoListResponse ¶
type QueryForbiddenInfoListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryForbiddenInfoListResult `json:"result"`
}
type QueryForbiddenInfoListResult ¶
type QueryForbiddenInfoListResult struct {
Total int `json:"total"`
List []cdn.ForbiddenInfo `json:"list"`
}
type QueryGeoAreasRequest ¶
type QueryGeoAreasRequest struct {
core.JDCloudRequest
}
func NewQueryGeoAreasRequest ¶
func NewQueryGeoAreasRequest() *QueryGeoAreasRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryGeoAreasRequestWithAllParams ¶
func NewQueryGeoAreasRequestWithAllParams() *QueryGeoAreasRequest
func NewQueryGeoAreasRequestWithoutParam ¶
func NewQueryGeoAreasRequestWithoutParam() *QueryGeoAreasRequest
This constructor has better compatible ability when API parameters changed
func (QueryGeoAreasRequest) GetRegionId ¶
func (r QueryGeoAreasRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryGeoAreasResponse ¶
type QueryGeoAreasResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryGeoAreasResult `json:"result"`
}
type QueryGeoAreasResult ¶
type QueryHttp2Request ¶
type QueryHttp2Request struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryHttp2Request ¶
func NewQueryHttp2Request( domain string, ) *QueryHttp2Request
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryHttp2RequestWithAllParams ¶
func NewQueryHttp2RequestWithAllParams( domain string, ) *QueryHttp2Request
* param domain: 用户域名 (Required)
func NewQueryHttp2RequestWithoutParam ¶
func NewQueryHttp2RequestWithoutParam() *QueryHttp2Request
This constructor has better compatible ability when API parameters changed
func (QueryHttp2Request) GetRegionId ¶
func (r QueryHttp2Request) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryHttp2Request) SetDomain ¶
func (r *QueryHttp2Request) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryHttp2Response ¶
type QueryHttp2Response struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryHttp2Result `json:"result"`
}
type QueryHttp2Result ¶
type QueryHttpHeaderRequest ¶
type QueryHttpHeaderRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* header生效节点,0边缘,1回源,2两者都 (Optional) */
EdgeType *int `json:"edgeType"`
}
func NewQueryHttpHeaderRequest ¶
func NewQueryHttpHeaderRequest( domain string, ) *QueryHttpHeaderRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryHttpHeaderRequestWithAllParams ¶
func NewQueryHttpHeaderRequestWithAllParams( domain string, edgeType *int, ) *QueryHttpHeaderRequest
* param domain: 用户域名 (Required) * param edgeType: header生效节点,0边缘,1回源,2两者都 (Optional)
func NewQueryHttpHeaderRequestWithoutParam ¶
func NewQueryHttpHeaderRequestWithoutParam() *QueryHttpHeaderRequest
This constructor has better compatible ability when API parameters changed
func (QueryHttpHeaderRequest) GetRegionId ¶
func (r QueryHttpHeaderRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryHttpHeaderRequest) SetDomain ¶
func (r *QueryHttpHeaderRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QueryHttpHeaderRequest) SetEdgeType ¶
func (r *QueryHttpHeaderRequest) SetEdgeType(edgeType int)
param edgeType: header生效节点,0边缘,1回源,2两者都(Optional)
type QueryHttpHeaderResponse ¶
type QueryHttpHeaderResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryHttpHeaderResult `json:"result"`
}
type QueryHttpHeaderResult ¶
type QueryHttpHeaderResult struct {
Domain string `json:"domain"`
Headers []cdn.QueryHttpHeaderResp `json:"headers"`
}
type QueryIpBlackListRequest ¶
type QueryIpBlackListRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryIpBlackListRequest ¶
func NewQueryIpBlackListRequest( domain string, ) *QueryIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryIpBlackListRequestWithAllParams ¶
func NewQueryIpBlackListRequestWithAllParams( domain string, ) *QueryIpBlackListRequest
* param domain: 用户域名 (Required)
func NewQueryIpBlackListRequestWithoutParam ¶
func NewQueryIpBlackListRequestWithoutParam() *QueryIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (QueryIpBlackListRequest) GetRegionId ¶
func (r QueryIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryIpBlackListRequest) SetDomain ¶
func (r *QueryIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryIpBlackListResponse ¶
type QueryIpBlackListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryIpBlackListResult `json:"result"`
}
type QueryIpBlackListResult ¶
type QueryIpBlackSettingStatusRequest ¶
type QueryIpBlackSettingStatusRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryIpBlackSettingStatusRequest ¶
func NewQueryIpBlackSettingStatusRequest( domain string, ) *QueryIpBlackSettingStatusRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryIpBlackSettingStatusRequestWithAllParams ¶
func NewQueryIpBlackSettingStatusRequestWithAllParams( domain string, ) *QueryIpBlackSettingStatusRequest
* param domain: 用户域名 (Required)
func NewQueryIpBlackSettingStatusRequestWithoutParam ¶
func NewQueryIpBlackSettingStatusRequestWithoutParam() *QueryIpBlackSettingStatusRequest
This constructor has better compatible ability when API parameters changed
func (QueryIpBlackSettingStatusRequest) GetRegionId ¶
func (r QueryIpBlackSettingStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryIpBlackSettingStatusRequest) SetDomain ¶
func (r *QueryIpBlackSettingStatusRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryIpBlackSettingStatusResponse ¶
type QueryIpBlackSettingStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryIpBlackSettingStatusResult `json:"result"`
}
type QueryIpBlackSettingStatusResult ¶
type QueryIpBlackSettingStatusResult struct {
SettingStatus bool `json:"settingStatus"`
}
type QueryJBoxAvgBandwidthRequest ¶
type QueryJBoxAvgBandwidthRequest struct {
core.JDCloudRequest
/* 指定查询开始时间(格式:201906011000),返回数据包含该时间点。 */
Starttime string `json:"starttime"`
/* 指定查询结束时间(格式:201906011100),返回数据不包含该时间点 */
Stoptime string `json:"stoptime"`
/* 插件pin,多个用,隔开 */
PluginPin string `json:"pluginPin"`
/* 按照设备ID查询设备带宽,即macaddr,多个用,隔开 (Optional) */
Clientid *string `json:"clientid"`
/* 用于支持分页查询,默认为1,表示第几页。 (Optional) */
Page *int `json:"page"`
/* 用于支持分页查询,表示每页返回多少条数据,默认每页返回10条数据,size必须是10的整数倍,并且最大值是100。 (Optional) */
Size *int `json:"size"`
}
func NewQueryJBoxAvgBandwidthRequest ¶
func NewQueryJBoxAvgBandwidthRequest( starttime string, stoptime string, pluginPin string, ) *QueryJBoxAvgBandwidthRequest
* param starttime: 指定查询开始时间(格式:201906011000),返回数据包含该时间点。 (Required) * param stoptime: 指定查询结束时间(格式:201906011100),返回数据不包含该时间点 (Required) * param pluginPin: 插件pin,多个用,隔开 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryJBoxAvgBandwidthRequestWithAllParams ¶
func NewQueryJBoxAvgBandwidthRequestWithAllParams( starttime string, stoptime string, pluginPin string, clientid *string, page *int, size *int, ) *QueryJBoxAvgBandwidthRequest
* param starttime: 指定查询开始时间(格式:201906011000),返回数据包含该时间点。 (Required) * param stoptime: 指定查询结束时间(格式:201906011100),返回数据不包含该时间点 (Required) * param pluginPin: 插件pin,多个用,隔开 (Required) * param clientid: 按照设备ID查询设备带宽,即macaddr,多个用,隔开 (Optional) * param page: 用于支持分页查询,默认为1,表示第几页。 (Optional) * param size: 用于支持分页查询,表示每页返回多少条数据,默认每页返回10条数据,size必须是10的整数倍,并且最大值是100。 (Optional)
func NewQueryJBoxAvgBandwidthRequestWithoutParam ¶
func NewQueryJBoxAvgBandwidthRequestWithoutParam() *QueryJBoxAvgBandwidthRequest
This constructor has better compatible ability when API parameters changed
func (QueryJBoxAvgBandwidthRequest) GetRegionId ¶
func (r QueryJBoxAvgBandwidthRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryJBoxAvgBandwidthRequest) SetClientid ¶
func (r *QueryJBoxAvgBandwidthRequest) SetClientid(clientid string)
param clientid: 按照设备ID查询设备带宽,即macaddr,多个用,隔开(Optional)
func (*QueryJBoxAvgBandwidthRequest) SetPage ¶
func (r *QueryJBoxAvgBandwidthRequest) SetPage(page int)
param page: 用于支持分页查询,默认为1,表示第几页。(Optional)
func (*QueryJBoxAvgBandwidthRequest) SetPluginPin ¶
func (r *QueryJBoxAvgBandwidthRequest) SetPluginPin(pluginPin string)
param pluginPin: 插件pin,多个用,隔开(Required)
func (*QueryJBoxAvgBandwidthRequest) SetSize ¶
func (r *QueryJBoxAvgBandwidthRequest) SetSize(size int)
param size: 用于支持分页查询,表示每页返回多少条数据,默认每页返回10条数据,size必须是10的整数倍,并且最大值是100。(Optional)
func (*QueryJBoxAvgBandwidthRequest) SetStarttime ¶
func (r *QueryJBoxAvgBandwidthRequest) SetStarttime(starttime string)
param starttime: 指定查询开始时间(格式:201906011000),返回数据包含该时间点。(Required)
func (*QueryJBoxAvgBandwidthRequest) SetStoptime ¶
func (r *QueryJBoxAvgBandwidthRequest) SetStoptime(stoptime string)
param stoptime: 指定查询结束时间(格式:201906011100),返回数据不包含该时间点(Required)
type QueryJBoxAvgBandwidthResponse ¶
type QueryJBoxAvgBandwidthResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryJBoxAvgBandwidthResult `json:"result"`
}
type QueryJBoxAvgBandwidthResult ¶
type QueryJBoxAvgBandwidthResult struct {
Page cdn.Page `json:"page"`
Data []cdn.QueryAvgBandwidthGroup `json:"data"`
}
type QueryJDBoxStatisticsDataRequest ¶
type QueryJDBoxStatisticsDataRequest struct {
core.JDCloudRequest
/* 查询起始时间,时间戳 (Optional) */
StartTime *int64 `json:"startTime"`
/* 查询截止时间,时间戳 (Optional) */
EndTime *int64 `json:"endTime"`
/* 查询的字段,取值范围(avgbandwidth,pv,flow)。多个用逗号分隔。默认为空,表示查询带宽流量 (Optional) */
Fields *string `json:"fields"`
/* (Optional) */
Area *string `json:"area"`
/* (Optional) */
Isp *string `json:"isp"`
/* 查询周期,当前取值范围:“oneMin,fiveMin”,分别表示1min,5min。默认为空,表示fiveMin (Optional) */
Period *string `json:"period"`
/* 业务类型 (Optional) */
Category *string `json:"category"`
/* 设备id (Optional) */
MacAddr *string `json:"macAddr"`
/* 插件pin (Optional) */
PluginPin *string `json:"pluginPin"`
}
func NewQueryJDBoxStatisticsDataRequest ¶
func NewQueryJDBoxStatisticsDataRequest() *QueryJDBoxStatisticsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryJDBoxStatisticsDataRequestWithAllParams ¶
func NewQueryJDBoxStatisticsDataRequestWithAllParams( startTime *int64, endTime *int64, fields *string, area *string, isp *string, period *string, category *string, macAddr *string, pluginPin *string, ) *QueryJDBoxStatisticsDataRequest
* param startTime: 查询起始时间,时间戳 (Optional) * param endTime: 查询截止时间,时间戳 (Optional) * param fields: 查询的字段,取值范围(avgbandwidth,pv,flow)。多个用逗号分隔。默认为空,表示查询带宽流量 (Optional) * param area: (Optional) * param isp: (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin”,分别表示1min,5min。默认为空,表示fiveMin (Optional) * param category: 业务类型 (Optional) * param macAddr: 设备id (Optional) * param pluginPin: 插件pin (Optional)
func NewQueryJDBoxStatisticsDataRequestWithoutParam ¶
func NewQueryJDBoxStatisticsDataRequestWithoutParam() *QueryJDBoxStatisticsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryJDBoxStatisticsDataRequest) GetRegionId ¶
func (r QueryJDBoxStatisticsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryJDBoxStatisticsDataRequest) SetArea ¶
func (r *QueryJDBoxStatisticsDataRequest) SetArea(area string)
param area: (Optional)
func (*QueryJDBoxStatisticsDataRequest) SetCategory ¶
func (r *QueryJDBoxStatisticsDataRequest) SetCategory(category string)
param category: 业务类型(Optional)
func (*QueryJDBoxStatisticsDataRequest) SetEndTime ¶
func (r *QueryJDBoxStatisticsDataRequest) SetEndTime(endTime int64)
param endTime: 查询截止时间,时间戳(Optional)
func (*QueryJDBoxStatisticsDataRequest) SetFields ¶
func (r *QueryJDBoxStatisticsDataRequest) SetFields(fields string)
param fields: 查询的字段,取值范围(avgbandwidth,pv,flow)。多个用逗号分隔。默认为空,表示查询带宽流量(Optional)
func (*QueryJDBoxStatisticsDataRequest) SetIsp ¶
func (r *QueryJDBoxStatisticsDataRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryJDBoxStatisticsDataRequest) SetMacAddr ¶
func (r *QueryJDBoxStatisticsDataRequest) SetMacAddr(macAddr string)
param macAddr: 设备id(Optional)
func (*QueryJDBoxStatisticsDataRequest) SetPeriod ¶
func (r *QueryJDBoxStatisticsDataRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin”,分别表示1min,5min。默认为空,表示fiveMin(Optional)
func (*QueryJDBoxStatisticsDataRequest) SetPluginPin ¶
func (r *QueryJDBoxStatisticsDataRequest) SetPluginPin(pluginPin string)
param pluginPin: 插件pin(Optional)
func (*QueryJDBoxStatisticsDataRequest) SetStartTime ¶
func (r *QueryJDBoxStatisticsDataRequest) SetStartTime(startTime int64)
param startTime: 查询起始时间,时间戳(Optional)
type QueryJDBoxStatisticsDataResponse ¶
type QueryJDBoxStatisticsDataResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryJDBoxStatisticsDataResult `json:"result"`
}
type QueryJDBoxStatisticsDataResult ¶
type QueryJDBoxStatisticsDataResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Statistics []cdn.StatisticsDataItem `json:"statistics"`
}
type QueryJDBoxStatisticsDataWithGroupRequest ¶
type QueryJDBoxStatisticsDataWithGroupRequest struct {
core.JDCloudRequest
/* 查询起始时间,时间戳 (Optional) */
StartTime *int64 `json:"startTime"`
/* 查询截止时间,时间戳 (Optional) */
EndTime *int64 `json:"endTime"`
/* 取值范围:area,isp,pin ,mac_addr,category,多个用,隔开,多个维度的查询,必须要限制较短的时间间隔 (Optional) */
GroupBy *string `json:"groupBy"`
/* 查询的字段,取值范围(avgbandwidth,pv,flow)。多个用逗号分隔。默认为空,表示查询带宽流量 (Optional) */
Fields *string `json:"fields"`
/* 区域 (Optional) */
Area *string `json:"area"`
/* 运营商 (Optional) */
Isp *string `json:"isp"`
/* 查询周期,当前取值范围:“oneMin,fiveMin”,分别表示1min,5min。默认为空,表示fiveMin (Optional) */
Period *string `json:"period"`
/* 业务类型 (Optional) */
Category *string `json:"category"`
/* 设备id (Optional) */
MacAddr *string `json:"macAddr"`
/* 插件pin (Optional) */
PluginPin *string `json:"pluginPin"`
}
func NewQueryJDBoxStatisticsDataWithGroupRequest ¶
func NewQueryJDBoxStatisticsDataWithGroupRequest() *QueryJDBoxStatisticsDataWithGroupRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryJDBoxStatisticsDataWithGroupRequestWithAllParams ¶
func NewQueryJDBoxStatisticsDataWithGroupRequestWithAllParams( startTime *int64, endTime *int64, groupBy *string, fields *string, area *string, isp *string, period *string, category *string, macAddr *string, pluginPin *string, ) *QueryJDBoxStatisticsDataWithGroupRequest
* param startTime: 查询起始时间,时间戳 (Optional) * param endTime: 查询截止时间,时间戳 (Optional) * param groupBy: 取值范围:area,isp,pin ,mac_addr,category,多个用,隔开,多个维度的查询,必须要限制较短的时间间隔 (Optional) * param fields: 查询的字段,取值范围(avgbandwidth,pv,flow)。多个用逗号分隔。默认为空,表示查询带宽流量 (Optional) * param area: 区域 (Optional) * param isp: 运营商 (Optional) * param period: 查询周期,当前取值范围:“oneMin,fiveMin”,分别表示1min,5min。默认为空,表示fiveMin (Optional) * param category: 业务类型 (Optional) * param macAddr: 设备id (Optional) * param pluginPin: 插件pin (Optional)
func NewQueryJDBoxStatisticsDataWithGroupRequestWithoutParam ¶
func NewQueryJDBoxStatisticsDataWithGroupRequestWithoutParam() *QueryJDBoxStatisticsDataWithGroupRequest
This constructor has better compatible ability when API parameters changed
func (QueryJDBoxStatisticsDataWithGroupRequest) GetRegionId ¶
func (r QueryJDBoxStatisticsDataWithGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetArea ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetArea(area string)
param area: 区域(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetCategory ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetCategory(category string)
param category: 业务类型(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetEndTime ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetEndTime(endTime int64)
param endTime: 查询截止时间,时间戳(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetFields ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetFields(fields string)
param fields: 查询的字段,取值范围(avgbandwidth,pv,flow)。多个用逗号分隔。默认为空,表示查询带宽流量(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetGroupBy ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetGroupBy(groupBy string)
param groupBy: 取值范围:area,isp,pin ,mac_addr,category,多个用,隔开,多个维度的查询,必须要限制较短的时间间隔(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetIsp ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetIsp(isp string)
param isp: 运营商(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetMacAddr ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetMacAddr(macAddr string)
param macAddr: 设备id(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetPeriod ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetPeriod(period string)
param period: 查询周期,当前取值范围:“oneMin,fiveMin”,分别表示1min,5min。默认为空,表示fiveMin(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetPluginPin ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetPluginPin(pluginPin string)
param pluginPin: 插件pin(Optional)
func (*QueryJDBoxStatisticsDataWithGroupRequest) SetStartTime ¶
func (r *QueryJDBoxStatisticsDataWithGroupRequest) SetStartTime(startTime int64)
param startTime: 查询起始时间,时间戳(Optional)
type QueryJDBoxStatisticsDataWithGroupResponse ¶
type QueryJDBoxStatisticsDataWithGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryJDBoxStatisticsDataWithGroupResult `json:"result"`
}
type QueryJDBoxStatisticsDataWithGroupResult ¶
type QueryJDBoxStatisticsDataWithGroupResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Statistics []cdn.StatisticsDataItem `json:"statistics"`
}
type QueryLiveDomainAppsRequest ¶
type QueryLiveDomainAppsRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryLiveDomainAppsRequest ¶
func NewQueryLiveDomainAppsRequest( domain string, ) *QueryLiveDomainAppsRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveDomainAppsRequestWithAllParams ¶
func NewQueryLiveDomainAppsRequestWithAllParams( domain string, ) *QueryLiveDomainAppsRequest
* param domain: 用户域名 (Required)
func NewQueryLiveDomainAppsRequestWithoutParam ¶
func NewQueryLiveDomainAppsRequestWithoutParam() *QueryLiveDomainAppsRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveDomainAppsRequest) GetRegionId ¶
func (r QueryLiveDomainAppsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveDomainAppsRequest) SetDomain ¶
func (r *QueryLiveDomainAppsRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryLiveDomainAppsResponse ¶
type QueryLiveDomainAppsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLiveDomainAppsResult `json:"result"`
}
type QueryLiveDomainDetailRequest ¶
type QueryLiveDomainDetailRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryLiveDomainDetailRequest ¶
func NewQueryLiveDomainDetailRequest( domain string, ) *QueryLiveDomainDetailRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveDomainDetailRequestWithAllParams ¶
func NewQueryLiveDomainDetailRequestWithAllParams( domain string, ) *QueryLiveDomainDetailRequest
* param domain: 用户域名 (Required)
func NewQueryLiveDomainDetailRequestWithoutParam ¶
func NewQueryLiveDomainDetailRequestWithoutParam() *QueryLiveDomainDetailRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveDomainDetailRequest) GetRegionId ¶
func (r QueryLiveDomainDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveDomainDetailRequest) SetDomain ¶
func (r *QueryLiveDomainDetailRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryLiveDomainDetailResponse ¶
type QueryLiveDomainDetailResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLiveDomainDetailResult `json:"result"`
}
type QueryLiveDomainDetailResult ¶
type QueryLiveDomainDetailResult struct {
DomainType string `json:"domainType"`
PlayDomain string `json:"playDomain"`
PublishDomain string `json:"publishDomain"`
OriginDomain string `json:"originDomain"`
CreatedTime string `json:"createdTime"`
Cname string `json:"cname"`
SiteType string `json:"siteType"`
Status string `json:"status"`
Source cdn.BackSourceInfo `json:"source"`
SourceType string `json:"sourceType"`
BackSourceType string `json:"backSourceType"`
VideoType string `json:"videoType"`
AudioType string `json:"audioType"`
Type string `json:"type"`
DefaultSourceHost string `json:"defaultSourceHost"`
ArchiveNo string `json:"archiveNo"`
RtmpDomain string `json:"rtmpDomain"`
RtmpCname string `json:"rtmpCname"`
HdlDomain string `json:"hdlDomain"`
HdlCname string `json:"hdlCname"`
HlsDomain string `json:"hlsDomain"`
HlsCname string `json:"hlsCname"`
ForwardCustomVhost string `json:"forwardCustomVhost"`
FlvUrls []string `json:"flvUrls"`
HlsUrls []string `json:"hlsUrls"`
RtmpUrls []string `json:"rtmpUrls"`
ProtocolConverts []cdn.ProtocolConvert `json:"protocolConverts"`
Certificate string `json:"certificate"`
RsaKey string `json:"rsaKey"`
AccesskeyType int `json:"accesskeyType"`
AccesskeyKey string `json:"accesskeyKey"`
PlayAuthLifeTime int `json:"playAuthLifeTime"`
AuthLifeTime int `json:"authLifeTime"`
ForwardAccessKeyType int `json:"forwardAccessKeyType"`
ForwardPrivateKey string `json:"forwardPrivateKey"`
OriginAccessKeyType int `json:"originAccessKeyType"`
OriginPrivateKey string `json:"originPrivateKey"`
AllowApps []string `json:"allowApps"`
Ips []string `json:"ips"`
BlackIpsEnable string `json:"blackIpsEnable"`
ExternId string `json:"externId"`
IgnoreQueryString string `json:"ignoreQueryString"`
ReferType string `json:"referType"`
ReferList []string `json:"referList"`
AllowNoReferHeader string `json:"allowNoReferHeader"`
AllowNullReferHeader string `json:"allowNullReferHeader"`
PublishNormalTimeout string `json:"publishNormalTimeout"`
NotifyCustomUrl string `json:"notifyCustomUrl"`
NotifyCustomAuthKey string `json:"notifyCustomAuthKey"`
CertFrom string `json:"certFrom"`
SslCertId string `json:"sslCertId"`
CertName string `json:"certName"`
CertType string `json:"certType"`
SslCertStartTime string `json:"sslCertStartTime"`
SslCertEndTime string `json:"sslCertEndTime"`
AccelerateRegion string `json:"accelerateRegion"`
}
type QueryLiveDomainIpBlackWhiteListRequest ¶
type QueryLiveDomainIpBlackWhiteListRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryLiveDomainIpBlackWhiteListRequest ¶
func NewQueryLiveDomainIpBlackWhiteListRequest( domain string, ) *QueryLiveDomainIpBlackWhiteListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveDomainIpBlackWhiteListRequestWithAllParams ¶
func NewQueryLiveDomainIpBlackWhiteListRequestWithAllParams( domain string, ) *QueryLiveDomainIpBlackWhiteListRequest
* param domain: 用户域名 (Required)
func NewQueryLiveDomainIpBlackWhiteListRequestWithoutParam ¶
func NewQueryLiveDomainIpBlackWhiteListRequestWithoutParam() *QueryLiveDomainIpBlackWhiteListRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveDomainIpBlackWhiteListRequest) GetRegionId ¶
func (r QueryLiveDomainIpBlackWhiteListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveDomainIpBlackWhiteListRequest) SetDomain ¶
func (r *QueryLiveDomainIpBlackWhiteListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryLiveDomainIpBlackWhiteListResponse ¶
type QueryLiveDomainIpBlackWhiteListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLiveDomainIpBlackWhiteListResult `json:"result"`
}
type QueryLivePrefetchTaskRequest ¶
type QueryLivePrefetchTaskRequest struct {
core.JDCloudRequest
/* 预热的URL (Optional) */
UrlList []string `json:"urlList"`
}
func NewQueryLivePrefetchTaskRequest ¶
func NewQueryLivePrefetchTaskRequest() *QueryLivePrefetchTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLivePrefetchTaskRequestWithAllParams ¶
func NewQueryLivePrefetchTaskRequestWithAllParams( urlList []string, ) *QueryLivePrefetchTaskRequest
* param urlList: 预热的URL (Optional)
func NewQueryLivePrefetchTaskRequestWithoutParam ¶
func NewQueryLivePrefetchTaskRequestWithoutParam() *QueryLivePrefetchTaskRequest
This constructor has better compatible ability when API parameters changed
func (QueryLivePrefetchTaskRequest) GetRegionId ¶
func (r QueryLivePrefetchTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLivePrefetchTaskRequest) SetUrlList ¶
func (r *QueryLivePrefetchTaskRequest) SetUrlList(urlList []string)
param urlList: 预热的URL(Optional)
type QueryLivePrefetchTaskResponse ¶
type QueryLivePrefetchTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLivePrefetchTaskResult `json:"result"`
}
type QueryLivePrefetchTaskResult ¶
type QueryLivePrefetchTaskResult struct {
Result []cdn.QueryLivePrefetchItem `json:"result"`
}
type QueryLiveStatisticsAreaDataGroupByRequest ¶
type QueryLiveStatisticsAreaDataGroupByRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 查询的App名称,多个用逗号分隔。 (Optional) */
AppName *string `json:"appName"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 查询的流名称,多个用逗号分隔。 (Optional) */
StreamName *string `json:"streamName"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 分组依据,可选值:[appname,streamname],如果为空,则只按area/isp进行group。 (Optional) */
GroupBy *string `json:"groupBy"`
/* 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 查询的流协议,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。 (Optional) */
Scheme *string `json:"scheme"`
/* 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin") (Optional) */
ReqMethod *string `json:"reqMethod"`
/* cacheLevel,可选值:[L1,L2,L3] (Optional) */
CacheLevel *string `json:"cacheLevel"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
}
func NewQueryLiveStatisticsAreaDataGroupByRequest ¶
func NewQueryLiveStatisticsAreaDataGroupByRequest() *QueryLiveStatisticsAreaDataGroupByRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveStatisticsAreaDataGroupByRequestWithAllParams ¶
func NewQueryLiveStatisticsAreaDataGroupByRequestWithAllParams( startTime *string, endTime *string, domain *string, appName *string, fields *string, area *string, isp *string, streamName *string, period *string, groupBy *string, subDomain *string, scheme *string, reqMethod *string, cacheLevel *string, cacheType *string, ) *QueryLiveStatisticsAreaDataGroupByRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param appName: 查询的App名称,多个用逗号分隔。 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param streamName: 查询的流名称,多个用逗号分隔。 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据,可选值:[appname,streamname],如果为空,则只按area/isp进行group。 (Optional) * param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param scheme: 查询的流协议,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。 (Optional) * param reqMethod: 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin") (Optional) * param cacheLevel: cacheLevel,可选值:[L1,L2,L3] (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional)
func NewQueryLiveStatisticsAreaDataGroupByRequestWithoutParam ¶
func NewQueryLiveStatisticsAreaDataGroupByRequestWithoutParam() *QueryLiveStatisticsAreaDataGroupByRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveStatisticsAreaDataGroupByRequest) GetRegionId ¶
func (r QueryLiveStatisticsAreaDataGroupByRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetAppName ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetAppName(appName string)
param appName: 查询的App名称,多个用逗号分隔。(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetArea ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetCacheLevel ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetCacheLevel(cacheLevel string)
param cacheLevel: cacheLevel,可选值:[L1,L2,L3](Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetCacheType ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetDomain ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetEndTime ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetFields ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetGroupBy ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据,可选值:[appname,streamname],如果为空,则只按area/isp进行group。(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetIsp ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetPeriod ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetReqMethod ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetReqMethod(reqMethod string)
param reqMethod: 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin")(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetScheme ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetScheme(scheme string)
param scheme: 查询的流协议,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetStartTime ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetStreamName ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetStreamName(streamName string)
param streamName: 查询的流名称,多个用逗号分隔。(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetSubDomain ¶
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetSubDomain(subDomain string)
param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
type QueryLiveStatisticsAreaDataGroupByResponse ¶
type QueryLiveStatisticsAreaDataGroupByResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLiveStatisticsAreaDataGroupByResult `json:"result"`
}
type QueryLiveStatisticsAreaDataGroupByResult ¶
type QueryLiveStatisticsAreaDataGroupByResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsWithAreaGroupDetail `json:"statistics"`
}
type QueryLiveStatisticsDataRequest ¶
type QueryLiveStatisticsDataRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* app名,查询的App名称,多个用逗号分隔。注意,传如多个AppName时,表示查询这些AppName的和值,即“或”的关系。默认为空,表示查询所有App (Optional) */
AppName *string `json:"appName"`
/* 流名,查询的流名称,多个用逗号分隔。注意,传如多个StreamName时,表示查询这些StreamName的和值,即“或”的关系。默认为空,表示查询所有Stream (Optional) */
StreamName *string `json:"streamName"`
/* 子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin") (Optional) */
ReqMethod *string `json:"reqMethod"`
/* 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。 (Optional) */
Scheme *string `json:"scheme"`
/* cacheLevel,可选值:[L1,L2,L3] (Optional) */
CacheLevel *string `json:"cacheLevel"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
}
func NewQueryLiveStatisticsDataRequest ¶
func NewQueryLiveStatisticsDataRequest() *QueryLiveStatisticsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveStatisticsDataRequestWithAllParams ¶
func NewQueryLiveStatisticsDataRequestWithAllParams( startTime *string, endTime *string, domain *string, appName *string, streamName *string, subDomain *string, fields *string, area *string, isp *string, reqMethod *string, scheme *string, cacheLevel *string, period *string, cacheType *string, ) *QueryLiveStatisticsDataRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param appName: app名,查询的App名称,多个用逗号分隔。注意,传如多个AppName时,表示查询这些AppName的和值,即“或”的关系。默认为空,表示查询所有App (Optional) * param streamName: 流名,查询的流名称,多个用逗号分隔。注意,传如多个StreamName时,表示查询这些StreamName的和值,即“或”的关系。默认为空,表示查询所有Stream (Optional) * param subDomain: 子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param reqMethod: 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin") (Optional) * param scheme: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。 (Optional) * param cacheLevel: cacheLevel,可选值:[L1,L2,L3] (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional)
func NewQueryLiveStatisticsDataRequestWithoutParam ¶
func NewQueryLiveStatisticsDataRequestWithoutParam() *QueryLiveStatisticsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveStatisticsDataRequest) GetRegionId ¶
func (r QueryLiveStatisticsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveStatisticsDataRequest) SetAppName ¶
func (r *QueryLiveStatisticsDataRequest) SetAppName(appName string)
param appName: app名,查询的App名称,多个用逗号分隔。注意,传如多个AppName时,表示查询这些AppName的和值,即“或”的关系。默认为空,表示查询所有App(Optional)
func (*QueryLiveStatisticsDataRequest) SetArea ¶
func (r *QueryLiveStatisticsDataRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryLiveStatisticsDataRequest) SetCacheLevel ¶
func (r *QueryLiveStatisticsDataRequest) SetCacheLevel(cacheLevel string)
param cacheLevel: cacheLevel,可选值:[L1,L2,L3](Optional)
func (*QueryLiveStatisticsDataRequest) SetCacheType ¶
func (r *QueryLiveStatisticsDataRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryLiveStatisticsDataRequest) SetDomain ¶
func (r *QueryLiveStatisticsDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryLiveStatisticsDataRequest) SetEndTime ¶
func (r *QueryLiveStatisticsDataRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryLiveStatisticsDataRequest) SetFields ¶
func (r *QueryLiveStatisticsDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryLiveStatisticsDataRequest) SetIsp ¶
func (r *QueryLiveStatisticsDataRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryLiveStatisticsDataRequest) SetPeriod ¶
func (r *QueryLiveStatisticsDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryLiveStatisticsDataRequest) SetReqMethod ¶
func (r *QueryLiveStatisticsDataRequest) SetReqMethod(reqMethod string)
param reqMethod: 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin")(Optional)
func (*QueryLiveStatisticsDataRequest) SetScheme ¶
func (r *QueryLiveStatisticsDataRequest) SetScheme(scheme string)
param scheme: 查询的流协议类型,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。(Optional)
func (*QueryLiveStatisticsDataRequest) SetStartTime ¶
func (r *QueryLiveStatisticsDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryLiveStatisticsDataRequest) SetStreamName ¶
func (r *QueryLiveStatisticsDataRequest) SetStreamName(streamName string)
param streamName: 流名,查询的流名称,多个用逗号分隔。注意,传如多个StreamName时,表示查询这些StreamName的和值,即“或”的关系。默认为空,表示查询所有Stream(Optional)
func (*QueryLiveStatisticsDataRequest) SetSubDomain ¶
func (r *QueryLiveStatisticsDataRequest) SetSubDomain(subDomain string)
param subDomain: 子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
type QueryLiveStatisticsDataResponse ¶
type QueryLiveStatisticsDataResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLiveStatisticsDataResult `json:"result"`
}
type QueryLiveStatisticsDataResult ¶
type QueryLiveStatisticsDataResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsDataItem `json:"statistics"`
}
type QueryLiveTrafficGroupSumRequest ¶
type QueryLiveTrafficGroupSumRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 查询的App名称,多个用逗号分隔。 (Optional) */
AppName *string `json:"appName"`
/* 查询的流名称,多个用逗号分隔。 (Optional) */
StreamName *string `json:"streamName"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 查询的流协议,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。 (Optional) */
Scheme *string `json:"scheme"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 分组依据,可选值:[appname,streamname,domain,area,isp,scheme] (Optional) */
GroupBy *string `json:"groupBy"`
/* 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin") (Optional) */
ReqMethod *string `json:"reqMethod"`
/* cacheLevel,可选值:[L1,L2,L3] (Optional) */
CacheLevel *string `json:"cacheLevel"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
}
func NewQueryLiveTrafficGroupSumRequest ¶
func NewQueryLiveTrafficGroupSumRequest() *QueryLiveTrafficGroupSumRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveTrafficGroupSumRequestWithAllParams ¶
func NewQueryLiveTrafficGroupSumRequestWithAllParams( startTime *string, endTime *string, domain *string, subDomain *string, appName *string, streamName *string, fields *string, area *string, isp *string, scheme *string, period *string, groupBy *string, reqMethod *string, cacheLevel *string, cacheType *string, ) *QueryLiveTrafficGroupSumRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param appName: 查询的App名称,多个用逗号分隔。 (Optional) * param streamName: 查询的流名称,多个用逗号分隔。 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param scheme: 查询的流协议,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据,可选值:[appname,streamname,domain,area,isp,scheme] (Optional) * param reqMethod: 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin") (Optional) * param cacheLevel: cacheLevel,可选值:[L1,L2,L3] (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional)
func NewQueryLiveTrafficGroupSumRequestWithoutParam ¶
func NewQueryLiveTrafficGroupSumRequestWithoutParam() *QueryLiveTrafficGroupSumRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveTrafficGroupSumRequest) GetRegionId ¶
func (r QueryLiveTrafficGroupSumRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveTrafficGroupSumRequest) SetAppName ¶
func (r *QueryLiveTrafficGroupSumRequest) SetAppName(appName string)
param appName: 查询的App名称,多个用逗号分隔。(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetArea ¶
func (r *QueryLiveTrafficGroupSumRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetCacheLevel ¶
func (r *QueryLiveTrafficGroupSumRequest) SetCacheLevel(cacheLevel string)
param cacheLevel: cacheLevel,可选值:[L1,L2,L3](Optional)
func (*QueryLiveTrafficGroupSumRequest) SetCacheType ¶
func (r *QueryLiveTrafficGroupSumRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetDomain ¶
func (r *QueryLiveTrafficGroupSumRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetEndTime ¶
func (r *QueryLiveTrafficGroupSumRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetFields ¶
func (r *QueryLiveTrafficGroupSumRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetGroupBy ¶
func (r *QueryLiveTrafficGroupSumRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据,可选值:[appname,streamname,domain,area,isp,scheme](Optional)
func (*QueryLiveTrafficGroupSumRequest) SetIsp ¶
func (r *QueryLiveTrafficGroupSumRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetPeriod ¶
func (r *QueryLiveTrafficGroupSumRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetReqMethod ¶
func (r *QueryLiveTrafficGroupSumRequest) SetReqMethod(reqMethod string)
param reqMethod: 当前取值范围("GET,HEAD,forward,forward-hls,ingest,play,publish,detour-ingest,Forward-Origin")(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetScheme ¶
func (r *QueryLiveTrafficGroupSumRequest) SetScheme(scheme string)
param scheme: 查询的流协议,取值范围:"rtmp,hdl,hls",多个用逗号分隔,默认为空,表示查询所有协议。(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetStartTime ¶
func (r *QueryLiveTrafficGroupSumRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetStreamName ¶
func (r *QueryLiveTrafficGroupSumRequest) SetStreamName(streamName string)
param streamName: 查询的流名称,多个用逗号分隔。(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetSubDomain ¶
func (r *QueryLiveTrafficGroupSumRequest) SetSubDomain(subDomain string)
param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
type QueryLiveTrafficGroupSumResponse ¶
type QueryLiveTrafficGroupSumResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryLiveTrafficGroupSumResult `json:"result"`
}
type QueryLiveTrafficGroupSumResult ¶
type QueryLiveTrafficGroupSumResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsGroupSumDataItem `json:"statistics"`
}
type QueryMixStatisticsDataRequest ¶
type QueryMixStatisticsDataRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 查询协议,可选值:[http,https,all],传空默认返回全部协议汇总后的数据 (Optional) */
Scheme *string `json:"scheme"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
/* 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional) */
IpType *string `json:"ipType"`
}
func NewQueryMixStatisticsDataRequest ¶
func NewQueryMixStatisticsDataRequest() *QueryMixStatisticsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMixStatisticsDataRequestWithAllParams ¶
func NewQueryMixStatisticsDataRequestWithAllParams( startTime *string, endTime *string, domain *string, fields *string, area *string, isp *string, period *string, scheme *string, cacheType *string, ipType *string, ) *QueryMixStatisticsDataRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param scheme: 查询协议,可选值:[http,https,all],传空默认返回全部协议汇总后的数据 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) * param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional)
func NewQueryMixStatisticsDataRequestWithoutParam ¶
func NewQueryMixStatisticsDataRequestWithoutParam() *QueryMixStatisticsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryMixStatisticsDataRequest) GetRegionId ¶
func (r QueryMixStatisticsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMixStatisticsDataRequest) SetArea ¶
func (r *QueryMixStatisticsDataRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryMixStatisticsDataRequest) SetCacheType ¶
func (r *QueryMixStatisticsDataRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryMixStatisticsDataRequest) SetDomain ¶
func (r *QueryMixStatisticsDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryMixStatisticsDataRequest) SetEndTime ¶
func (r *QueryMixStatisticsDataRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryMixStatisticsDataRequest) SetFields ¶
func (r *QueryMixStatisticsDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryMixStatisticsDataRequest) SetIpType ¶
func (r *QueryMixStatisticsDataRequest) SetIpType(ipType string)
param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all(Optional)
func (*QueryMixStatisticsDataRequest) SetIsp ¶
func (r *QueryMixStatisticsDataRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryMixStatisticsDataRequest) SetPeriod ¶
func (r *QueryMixStatisticsDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryMixStatisticsDataRequest) SetScheme ¶
func (r *QueryMixStatisticsDataRequest) SetScheme(scheme string)
param scheme: 查询协议,可选值:[http,https,all],传空默认返回全部协议汇总后的数据(Optional)
func (*QueryMixStatisticsDataRequest) SetStartTime ¶
func (r *QueryMixStatisticsDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryMixStatisticsDataResponse ¶
type QueryMixStatisticsDataResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryMixStatisticsDataResult `json:"result"`
}
type QueryMixStatisticsDataResult ¶
type QueryMixStatisticsDataResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsDataItem `json:"statistics"`
}
type QueryMixStatisticsWithAreaDataRequest ¶
type QueryMixStatisticsWithAreaDataRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
/* 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional) */
IpType *string `json:"ipType"`
}
func NewQueryMixStatisticsWithAreaDataRequest ¶
func NewQueryMixStatisticsWithAreaDataRequest() *QueryMixStatisticsWithAreaDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMixStatisticsWithAreaDataRequestWithAllParams ¶
func NewQueryMixStatisticsWithAreaDataRequestWithAllParams( startTime *string, endTime *string, domain *string, fields *string, area *string, isp *string, period *string, cacheType *string, ipType *string, ) *QueryMixStatisticsWithAreaDataRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) * param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional)
func NewQueryMixStatisticsWithAreaDataRequestWithoutParam ¶
func NewQueryMixStatisticsWithAreaDataRequestWithoutParam() *QueryMixStatisticsWithAreaDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryMixStatisticsWithAreaDataRequest) GetRegionId ¶
func (r QueryMixStatisticsWithAreaDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMixStatisticsWithAreaDataRequest) SetArea ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetCacheType ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetDomain ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetEndTime ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetFields ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetIpType ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetIpType(ipType string)
param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetIsp ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetPeriod ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetStartTime ¶
func (r *QueryMixStatisticsWithAreaDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryMixStatisticsWithAreaDataResponse ¶
type QueryMixStatisticsWithAreaDataResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryMixStatisticsWithAreaDataResult `json:"result"`
}
type QueryMixStatisticsWithAreaDataResult ¶
type QueryMixStatisticsWithAreaDataResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsWithAreaGroupDetail `json:"statistics"`
}
type QueryMixTrafficGroupSumRequest ¶
type QueryMixTrafficGroupSumRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 分组依据,只能按域名[domain]分组 (Optional) */
GroupBy *string `json:"groupBy"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
/* 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional) */
IpType *string `json:"ipType"`
}
func NewQueryMixTrafficGroupSumRequest ¶
func NewQueryMixTrafficGroupSumRequest() *QueryMixTrafficGroupSumRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMixTrafficGroupSumRequestWithAllParams ¶
func NewQueryMixTrafficGroupSumRequestWithAllParams( startTime *string, endTime *string, domain *string, fields *string, area *string, isp *string, period *string, groupBy *string, cacheType *string, ipType *string, ) *QueryMixTrafficGroupSumRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据,只能按域名[domain]分组 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) * param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional)
func NewQueryMixTrafficGroupSumRequestWithoutParam ¶
func NewQueryMixTrafficGroupSumRequestWithoutParam() *QueryMixTrafficGroupSumRequest
This constructor has better compatible ability when API parameters changed
func (QueryMixTrafficGroupSumRequest) GetRegionId ¶
func (r QueryMixTrafficGroupSumRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMixTrafficGroupSumRequest) SetArea ¶
func (r *QueryMixTrafficGroupSumRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryMixTrafficGroupSumRequest) SetCacheType ¶
func (r *QueryMixTrafficGroupSumRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryMixTrafficGroupSumRequest) SetDomain ¶
func (r *QueryMixTrafficGroupSumRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryMixTrafficGroupSumRequest) SetEndTime ¶
func (r *QueryMixTrafficGroupSumRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryMixTrafficGroupSumRequest) SetFields ¶
func (r *QueryMixTrafficGroupSumRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryMixTrafficGroupSumRequest) SetGroupBy ¶
func (r *QueryMixTrafficGroupSumRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据,只能按域名[domain]分组(Optional)
func (*QueryMixTrafficGroupSumRequest) SetIpType ¶
func (r *QueryMixTrafficGroupSumRequest) SetIpType(ipType string)
param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all(Optional)
func (*QueryMixTrafficGroupSumRequest) SetIsp ¶
func (r *QueryMixTrafficGroupSumRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryMixTrafficGroupSumRequest) SetPeriod ¶
func (r *QueryMixTrafficGroupSumRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryMixTrafficGroupSumRequest) SetStartTime ¶
func (r *QueryMixTrafficGroupSumRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type QueryMixTrafficGroupSumResponse ¶
type QueryMixTrafficGroupSumResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryMixTrafficGroupSumResult `json:"result"`
}
type QueryMixTrafficGroupSumResult ¶
type QueryMixTrafficGroupSumResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsGroupSumDataItem `json:"statistics"`
}
type QueryMonitorRequest ¶
type QueryMonitorRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryMonitorRequest ¶
func NewQueryMonitorRequest( domain string, ) *QueryMonitorRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMonitorRequestWithAllParams ¶
func NewQueryMonitorRequestWithAllParams( domain string, ) *QueryMonitorRequest
* param domain: 用户域名 (Required)
func NewQueryMonitorRequestWithoutParam ¶
func NewQueryMonitorRequestWithoutParam() *QueryMonitorRequest
This constructor has better compatible ability when API parameters changed
func (QueryMonitorRequest) GetRegionId ¶
func (r QueryMonitorRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMonitorRequest) SetDomain ¶
func (r *QueryMonitorRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryMonitorResponse ¶
type QueryMonitorResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryMonitorResult `json:"result"`
}
type QueryMonitorResult ¶
type QueryNetProtectionRulesRequest ¶
type QueryNetProtectionRulesRequest struct {
core.JDCloudRequest
}
func NewQueryNetProtectionRulesRequest ¶
func NewQueryNetProtectionRulesRequest() *QueryNetProtectionRulesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryNetProtectionRulesRequestWithAllParams ¶
func NewQueryNetProtectionRulesRequestWithAllParams() *QueryNetProtectionRulesRequest
func NewQueryNetProtectionRulesRequestWithoutParam ¶
func NewQueryNetProtectionRulesRequestWithoutParam() *QueryNetProtectionRulesRequest
This constructor has better compatible ability when API parameters changed
func (QueryNetProtectionRulesRequest) GetRegionId ¶
func (r QueryNetProtectionRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryNetProtectionRulesResponse ¶
type QueryNetProtectionRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryNetProtectionRulesResult `json:"result"`
}
type QueryNetProtectionRulesResult ¶
type QueryNetProtectionRulesResult struct {
SwitchStatus string `json:"switchStatus"`
SrcNewConnLimitEnable string `json:"srcNewConnLimitEnable"`
DstNewConnLimitEnable string `json:"dstNewConnLimitEnable"`
DatagramRangeMin int64 `json:"datagramRangeMin"`
DatagramRangeMax int64 `json:"datagramRangeMax"`
SrcNewConnLimitValue int64 `json:"srcNewConnLimitValue"`
DstNewConnLimitValue int64 `json:"dstNewConnLimitValue"`
GeoBlack []cdn.GeoArea `json:"geoBlack"`
IpBlack []string `json:"ipBlack"`
IpWhite []string `json:"ipWhite"`
}
type QueryNetProtectionRulesSwitchRequest ¶
type QueryNetProtectionRulesSwitchRequest struct {
core.JDCloudRequest
}
func NewQueryNetProtectionRulesSwitchRequest ¶
func NewQueryNetProtectionRulesSwitchRequest() *QueryNetProtectionRulesSwitchRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryNetProtectionRulesSwitchRequestWithAllParams ¶
func NewQueryNetProtectionRulesSwitchRequestWithAllParams() *QueryNetProtectionRulesSwitchRequest
func NewQueryNetProtectionRulesSwitchRequestWithoutParam ¶
func NewQueryNetProtectionRulesSwitchRequestWithoutParam() *QueryNetProtectionRulesSwitchRequest
This constructor has better compatible ability when API parameters changed
func (QueryNetProtectionRulesSwitchRequest) GetRegionId ¶
func (r QueryNetProtectionRulesSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryNetProtectionRulesSwitchResponse ¶
type QueryNetProtectionRulesSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryNetProtectionRulesSwitchResult `json:"result"`
}
type QueryNetProtectionRulesSwitchResult ¶
type QueryNetProtectionRulesSwitchResult struct {
SwitchStatus string `json:"switchStatus"`
}
type QueryOnlineBillingTypeRequest ¶
type QueryOnlineBillingTypeRequest struct {
core.JDCloudRequest
}
func NewQueryOnlineBillingTypeRequest ¶
func NewQueryOnlineBillingTypeRequest() *QueryOnlineBillingTypeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryOnlineBillingTypeRequestWithAllParams ¶
func NewQueryOnlineBillingTypeRequestWithAllParams() *QueryOnlineBillingTypeRequest
func NewQueryOnlineBillingTypeRequestWithoutParam ¶
func NewQueryOnlineBillingTypeRequestWithoutParam() *QueryOnlineBillingTypeRequest
This constructor has better compatible ability when API parameters changed
func (QueryOnlineBillingTypeRequest) GetRegionId ¶
func (r QueryOnlineBillingTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryOnlineBillingTypeResponse ¶
type QueryOnlineBillingTypeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryOnlineBillingTypeResult `json:"result"`
}
type QueryOssBucketsRequest ¶
type QueryOssBucketsRequest struct {
core.JDCloudRequest
}
func NewQueryOssBucketsRequest ¶
func NewQueryOssBucketsRequest() *QueryOssBucketsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryOssBucketsRequestWithAllParams ¶
func NewQueryOssBucketsRequestWithAllParams() *QueryOssBucketsRequest
func NewQueryOssBucketsRequestWithoutParam ¶
func NewQueryOssBucketsRequestWithoutParam() *QueryOssBucketsRequest
This constructor has better compatible ability when API parameters changed
func (QueryOssBucketsRequest) GetRegionId ¶
func (r QueryOssBucketsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryOssBucketsResponse ¶
type QueryOssBucketsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryOssBucketsResult `json:"result"`
}
type QueryOssBucketsResult ¶
type QueryOssBucketsResult struct {
Total int `json:"total"`
OssBuckets []interface{} `json:"ossBuckets"`
}
type QueryPinCanIPTypeRequest ¶
type QueryPinCanIPTypeRequest struct {
core.JDCloudRequest
}
func NewQueryPinCanIPTypeRequest ¶
func NewQueryPinCanIPTypeRequest() *QueryPinCanIPTypeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryPinCanIPTypeRequestWithAllParams ¶
func NewQueryPinCanIPTypeRequestWithAllParams() *QueryPinCanIPTypeRequest
func NewQueryPinCanIPTypeRequestWithoutParam ¶
func NewQueryPinCanIPTypeRequestWithoutParam() *QueryPinCanIPTypeRequest
This constructor has better compatible ability when API parameters changed
func (QueryPinCanIPTypeRequest) GetRegionId ¶
func (r QueryPinCanIPTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryPinCanIPTypeResponse ¶
type QueryPinCanIPTypeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryPinCanIPTypeResult `json:"result"`
}
type QueryPinCanIPTypeResult ¶
type QueryPinCanIPTypeResult struct {
CanIPType bool `json:"canIPType"`
}
type QueryPrefetchTaskRequest ¶
type QueryPrefetchTaskRequest struct {
core.JDCloudRequest
/* url (Optional) */
Url *string `json:"url"`
/* 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个 (Optional) */
Region *string `json:"region"`
/* 运营商[ct uni cm]中的一个,分别代表电信 联通 移动 (Optional) */
Isp *string `json:"isp"`
/* 查询状态 1:active维护预热中,2:表示purge中暂时停止预热 (Optional) */
Status *int `json:"status"`
/* 同url,系统内部url对应id(url和file_id同时存在时以url为准) (Optional) */
FileId *string `json:"fileId"`
/* 页码数,最小为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 每页大小,默认10 (Optional) */
PageSize *int `json:"pageSize"`
/* 1:代表控制台下发的预热任务2:代表热度计算下发的预热任务3:代表控制台、热度计算共同下发的任务 (Optional) */
TaskType *int `json:"taskType"`
/* 域名 (Optional) */
Domain *string `json:"domain"`
}
func NewQueryPrefetchTaskRequest ¶
func NewQueryPrefetchTaskRequest() *QueryPrefetchTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryPrefetchTaskRequestWithAllParams ¶
func NewQueryPrefetchTaskRequestWithAllParams( url *string, region *string, isp *string, status *int, fileId *string, pageNumber *int, pageSize *int, taskType *int, domain *string, ) *QueryPrefetchTaskRequest
* param url: url (Optional) * param region: 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个 (Optional) * param isp: 运营商[ct uni cm]中的一个,分别代表电信 联通 移动 (Optional) * param status: 查询状态 1:active维护预热中,2:表示purge中暂时停止预热 (Optional) * param fileId: 同url,系统内部url对应id(url和file_id同时存在时以url为准) (Optional) * param pageNumber: 页码数,最小为1 (Optional) * param pageSize: 每页大小,默认10 (Optional) * param taskType: 1:代表控制台下发的预热任务2:代表热度计算下发的预热任务3:代表控制台、热度计算共同下发的任务 (Optional) * param domain: 域名 (Optional)
func NewQueryPrefetchTaskRequestWithoutParam ¶
func NewQueryPrefetchTaskRequestWithoutParam() *QueryPrefetchTaskRequest
This constructor has better compatible ability when API parameters changed
func (QueryPrefetchTaskRequest) GetRegionId ¶
func (r QueryPrefetchTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryPrefetchTaskRequest) SetDomain ¶
func (r *QueryPrefetchTaskRequest) SetDomain(domain string)
param domain: 域名(Optional)
func (*QueryPrefetchTaskRequest) SetFileId ¶
func (r *QueryPrefetchTaskRequest) SetFileId(fileId string)
param fileId: 同url,系统内部url对应id(url和file_id同时存在时以url为准)(Optional)
func (*QueryPrefetchTaskRequest) SetIsp ¶
func (r *QueryPrefetchTaskRequest) SetIsp(isp string)
param isp: 运营商[ct uni cm]中的一个,分别代表电信 联通 移动(Optional)
func (*QueryPrefetchTaskRequest) SetPageNumber ¶
func (r *QueryPrefetchTaskRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码数,最小为1(Optional)
func (*QueryPrefetchTaskRequest) SetPageSize ¶
func (r *QueryPrefetchTaskRequest) SetPageSize(pageSize int)
param pageSize: 每页大小,默认10(Optional)
func (*QueryPrefetchTaskRequest) SetRegion ¶
func (r *QueryPrefetchTaskRequest) SetRegion(region string)
param region: 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个(Optional)
func (*QueryPrefetchTaskRequest) SetStatus ¶
func (r *QueryPrefetchTaskRequest) SetStatus(status int)
param status: 查询状态 1:active维护预热中,2:表示purge中暂时停止预热(Optional)
func (*QueryPrefetchTaskRequest) SetTaskType ¶
func (r *QueryPrefetchTaskRequest) SetTaskType(taskType int)
param taskType: 1:代表控制台下发的预热任务2:代表热度计算下发的预热任务3:代表控制台、热度计算共同下发的任务(Optional)
func (*QueryPrefetchTaskRequest) SetUrl ¶
func (r *QueryPrefetchTaskRequest) SetUrl(url string)
param url: url(Optional)
type QueryPrefetchTaskResponse ¶
type QueryPrefetchTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryPrefetchTaskResult `json:"result"`
}
type QueryPrefetchTaskResult ¶
type QueryPurgeTaskRequest ¶
type QueryPurgeTaskRequest struct {
core.JDCloudRequest
/* url (Optional) */
Url *string `json:"url"`
/* 查询状态 1:进行中 2:已完成 (Optional) */
Status *int `json:"status"`
/* 同url,系统内部url对应id(url和file_id同时存在时以url为准) (Optional) */
FileId *string `json:"fileId"`
/* 页码数,最小为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 每页大小,默认10 (Optional) */
PageSize *int `json:"pageSize"`
/* 域名 (Optional) */
Domain *string `json:"domain"`
}
func NewQueryPurgeTaskRequest ¶
func NewQueryPurgeTaskRequest() *QueryPurgeTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryPurgeTaskRequestWithAllParams ¶
func NewQueryPurgeTaskRequestWithAllParams( url *string, status *int, fileId *string, pageNumber *int, pageSize *int, domain *string, ) *QueryPurgeTaskRequest
* param url: url (Optional) * param status: 查询状态 1:进行中 2:已完成 (Optional) * param fileId: 同url,系统内部url对应id(url和file_id同时存在时以url为准) (Optional) * param pageNumber: 页码数,最小为1 (Optional) * param pageSize: 每页大小,默认10 (Optional) * param domain: 域名 (Optional)
func NewQueryPurgeTaskRequestWithoutParam ¶
func NewQueryPurgeTaskRequestWithoutParam() *QueryPurgeTaskRequest
This constructor has better compatible ability when API parameters changed
func (QueryPurgeTaskRequest) GetRegionId ¶
func (r QueryPurgeTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryPurgeTaskRequest) SetDomain ¶
func (r *QueryPurgeTaskRequest) SetDomain(domain string)
param domain: 域名(Optional)
func (*QueryPurgeTaskRequest) SetFileId ¶
func (r *QueryPurgeTaskRequest) SetFileId(fileId string)
param fileId: 同url,系统内部url对应id(url和file_id同时存在时以url为准)(Optional)
func (*QueryPurgeTaskRequest) SetPageNumber ¶
func (r *QueryPurgeTaskRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码数,最小为1(Optional)
func (*QueryPurgeTaskRequest) SetPageSize ¶
func (r *QueryPurgeTaskRequest) SetPageSize(pageSize int)
param pageSize: 每页大小,默认10(Optional)
func (*QueryPurgeTaskRequest) SetStatus ¶
func (r *QueryPurgeTaskRequest) SetStatus(status int)
param status: 查询状态 1:进行中 2:已完成(Optional)
func (*QueryPurgeTaskRequest) SetUrl ¶
func (r *QueryPurgeTaskRequest) SetUrl(url string)
param url: url(Optional)
type QueryPurgeTaskResponse ¶
type QueryPurgeTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryPurgeTaskResult `json:"result"`
}
type QueryPurgeTaskResult ¶
type QueryPushDomainORAppOrStreamRequest ¶
type QueryPushDomainORAppOrStreamRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* app名,传appName查询流名列表 (Optional) */
App *string `json:"app"`
/* 流名模糊查询 (Optional) */
Stream *string `json:"stream"`
/* 指定app/流名列表大小,默认50 (Optional) */
Limit *int `json:"limit"`
}
func NewQueryPushDomainORAppOrStreamRequest ¶
func NewQueryPushDomainORAppOrStreamRequest( domain string, ) *QueryPushDomainORAppOrStreamRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryPushDomainORAppOrStreamRequestWithAllParams ¶
func NewQueryPushDomainORAppOrStreamRequestWithAllParams( domain string, app *string, stream *string, limit *int, ) *QueryPushDomainORAppOrStreamRequest
* param domain: 用户域名 (Required) * param app: app名,传appName查询流名列表 (Optional) * param stream: 流名模糊查询 (Optional) * param limit: 指定app/流名列表大小,默认50 (Optional)
func NewQueryPushDomainORAppOrStreamRequestWithoutParam ¶
func NewQueryPushDomainORAppOrStreamRequestWithoutParam() *QueryPushDomainORAppOrStreamRequest
This constructor has better compatible ability when API parameters changed
func (QueryPushDomainORAppOrStreamRequest) GetRegionId ¶
func (r QueryPushDomainORAppOrStreamRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryPushDomainORAppOrStreamRequest) SetApp ¶
func (r *QueryPushDomainORAppOrStreamRequest) SetApp(app string)
param app: app名,传appName查询流名列表(Optional)
func (*QueryPushDomainORAppOrStreamRequest) SetDomain ¶
func (r *QueryPushDomainORAppOrStreamRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QueryPushDomainORAppOrStreamRequest) SetLimit ¶
func (r *QueryPushDomainORAppOrStreamRequest) SetLimit(limit int)
param limit: 指定app/流名列表大小,默认50(Optional)
func (*QueryPushDomainORAppOrStreamRequest) SetStream ¶
func (r *QueryPushDomainORAppOrStreamRequest) SetStream(stream string)
param stream: 流名模糊查询(Optional)
type QueryPushDomainORAppOrStreamResponse ¶
type QueryPushDomainORAppOrStreamResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryPushDomainORAppOrStreamResult `json:"result"`
}
type QueryPushDomainORAppOrStreamResult ¶
type QueryPushDomainORAppOrStreamResult struct {
Streams []string `json:"streams"`
}
type QueryRefreshLimitRequest ¶
type QueryRefreshLimitRequest struct {
core.JDCloudRequest
/* 子账号,传哪些子账号就查哪些的,不传或传空默认返回所有子账号的额度 (Optional) */
SubUsers []string `json:"subUsers"`
/* 默认为1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 默认为10,最大100 (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryRefreshLimitRequest ¶
func NewQueryRefreshLimitRequest() *QueryRefreshLimitRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryRefreshLimitRequestWithAllParams ¶
func NewQueryRefreshLimitRequestWithAllParams( subUsers []string, pageNumber *int, pageSize *int, ) *QueryRefreshLimitRequest
* param subUsers: 子账号,传哪些子账号就查哪些的,不传或传空默认返回所有子账号的额度 (Optional) * param pageNumber: 默认为1 (Optional) * param pageSize: 默认为10,最大100 (Optional)
func NewQueryRefreshLimitRequestWithoutParam ¶
func NewQueryRefreshLimitRequestWithoutParam() *QueryRefreshLimitRequest
This constructor has better compatible ability when API parameters changed
func (QueryRefreshLimitRequest) GetRegionId ¶
func (r QueryRefreshLimitRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryRefreshLimitRequest) SetPageNumber ¶
func (r *QueryRefreshLimitRequest) SetPageNumber(pageNumber int)
param pageNumber: 默认为1(Optional)
func (*QueryRefreshLimitRequest) SetPageSize ¶
func (r *QueryRefreshLimitRequest) SetPageSize(pageSize int)
param pageSize: 默认为10,最大100(Optional)
func (*QueryRefreshLimitRequest) SetSubUsers ¶
func (r *QueryRefreshLimitRequest) SetSubUsers(subUsers []string)
param subUsers: 子账号,传哪些子账号就查哪些的,不传或传空默认返回所有子账号的额度(Optional)
type QueryRefreshLimitResponse ¶
type QueryRefreshLimitResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryRefreshLimitResult `json:"result"`
}
type QueryRefreshLimitResult ¶
type QueryRefreshLimitResult struct {
User string `json:"user"`
RefreshCount int64 `json:"refreshCount"`
DirCount int64 `json:"dirCount"`
PrefetchCount int64 `json:"prefetchCount"`
PageNumber int `json:"pageNumber"`
PageSize int `json:"pageSize"`
Total int `json:"total"`
SubUserQuota []cdn.SubUserRefreshLimit `json:"subUserQuota"`
}
type QueryRefreshTaskByIdRequest ¶
type QueryRefreshTaskByIdRequest struct {
core.JDCloudRequest
/* 域名组id */
TaskId string `json:"taskId"`
}
func NewQueryRefreshTaskByIdRequest ¶
func NewQueryRefreshTaskByIdRequest( taskId string, ) *QueryRefreshTaskByIdRequest
* param taskId: 域名组id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryRefreshTaskByIdRequestWithAllParams ¶
func NewQueryRefreshTaskByIdRequestWithAllParams( taskId string, ) *QueryRefreshTaskByIdRequest
* param taskId: 域名组id (Required)
func NewQueryRefreshTaskByIdRequestWithoutParam ¶
func NewQueryRefreshTaskByIdRequestWithoutParam() *QueryRefreshTaskByIdRequest
This constructor has better compatible ability when API parameters changed
func (QueryRefreshTaskByIdRequest) GetRegionId ¶
func (r QueryRefreshTaskByIdRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryRefreshTaskByIdRequest) SetTaskId ¶
func (r *QueryRefreshTaskByIdRequest) SetTaskId(taskId string)
param taskId: 域名组id(Required)
type QueryRefreshTaskByIdResponse ¶
type QueryRefreshTaskByIdResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryRefreshTaskByIdResult `json:"result"`
}
type QueryRefreshTaskByIdResult ¶
type QueryRefreshTaskByIdResult struct {
Task cdn.RefreshTask `json:"task"`
}
type QueryRefreshTaskByIdsRequest ¶
type QueryRefreshTaskByIdsRequest struct {
core.JDCloudRequest
/* 查询的任务taskIds列表,最多能查10条 (Optional) */
TaskIds []string `json:"taskIds"`
/* url的模糊查询关键字 (Optional) */
Keyword *string `json:"keyword"`
}
func NewQueryRefreshTaskByIdsRequest ¶
func NewQueryRefreshTaskByIdsRequest() *QueryRefreshTaskByIdsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryRefreshTaskByIdsRequestWithAllParams ¶
func NewQueryRefreshTaskByIdsRequestWithAllParams( taskIds []string, keyword *string, ) *QueryRefreshTaskByIdsRequest
* param taskIds: 查询的任务taskIds列表,最多能查10条 (Optional) * param keyword: url的模糊查询关键字 (Optional)
func NewQueryRefreshTaskByIdsRequestWithoutParam ¶
func NewQueryRefreshTaskByIdsRequestWithoutParam() *QueryRefreshTaskByIdsRequest
This constructor has better compatible ability when API parameters changed
func (QueryRefreshTaskByIdsRequest) GetRegionId ¶
func (r QueryRefreshTaskByIdsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryRefreshTaskByIdsRequest) SetKeyword ¶
func (r *QueryRefreshTaskByIdsRequest) SetKeyword(keyword string)
param keyword: url的模糊查询关键字(Optional)
func (*QueryRefreshTaskByIdsRequest) SetTaskIds ¶
func (r *QueryRefreshTaskByIdsRequest) SetTaskIds(taskIds []string)
param taskIds: 查询的任务taskIds列表,最多能查10条(Optional)
type QueryRefreshTaskByIdsResponse ¶
type QueryRefreshTaskByIdsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryRefreshTaskByIdsResult `json:"result"`
}
type QueryRefreshTaskByIdsResult ¶
type QueryRefreshTaskByIdsResult struct {
Tasks []cdn.RefreshTask `json:"tasks"`
}
type QueryRefreshTaskRequest ¶
type QueryRefreshTaskRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* url或者目录的模糊查询关键字 (Optional) */
Keyword *string `json:"keyword"`
/* 任务id (Optional) */
TaskId *string `json:"taskId"`
/* null (Optional) */
TaskStatus *string `json:"taskStatus"`
/* null (Optional) */
TaskType *string `json:"taskType"`
/* 分页页数,默认值1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页页面大小,默认值50 (Optional) */
PageSize *int `json:"pageSize"`
/* 查询的账号范围 (Optional) */
AccountType *string `json:"accountType"`
/* 查询的子账号,多个用逗号隔开 (Optional) */
SubUsers *string `json:"subUsers"`
}
func NewQueryRefreshTaskRequest ¶
func NewQueryRefreshTaskRequest() *QueryRefreshTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryRefreshTaskRequestWithAllParams ¶
func NewQueryRefreshTaskRequestWithAllParams( startTime *string, endTime *string, keyword *string, taskId *string, taskStatus *string, taskType *string, pageNumber *int, pageSize *int, accountType *string, subUsers *string, ) *QueryRefreshTaskRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param keyword: url或者目录的模糊查询关键字 (Optional) * param taskId: 任务id (Optional) * param taskStatus: null (Optional) * param taskType: null (Optional) * param pageNumber: 分页页数,默认值1 (Optional) * param pageSize: 分页页面大小,默认值50 (Optional) * param accountType: 查询的账号范围 (Optional) * param subUsers: 查询的子账号,多个用逗号隔开 (Optional)
func NewQueryRefreshTaskRequestWithoutParam ¶
func NewQueryRefreshTaskRequestWithoutParam() *QueryRefreshTaskRequest
This constructor has better compatible ability when API parameters changed
func (QueryRefreshTaskRequest) GetRegionId ¶
func (r QueryRefreshTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryRefreshTaskRequest) SetAccountType ¶
func (r *QueryRefreshTaskRequest) SetAccountType(accountType string)
param accountType: 查询的账号范围(Optional)
func (*QueryRefreshTaskRequest) SetEndTime ¶
func (r *QueryRefreshTaskRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryRefreshTaskRequest) SetKeyword ¶
func (r *QueryRefreshTaskRequest) SetKeyword(keyword string)
param keyword: url或者目录的模糊查询关键字(Optional)
func (*QueryRefreshTaskRequest) SetPageNumber ¶
func (r *QueryRefreshTaskRequest) SetPageNumber(pageNumber int)
param pageNumber: 分页页数,默认值1(Optional)
func (*QueryRefreshTaskRequest) SetPageSize ¶
func (r *QueryRefreshTaskRequest) SetPageSize(pageSize int)
param pageSize: 分页页面大小,默认值50(Optional)
func (*QueryRefreshTaskRequest) SetStartTime ¶
func (r *QueryRefreshTaskRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryRefreshTaskRequest) SetSubUsers ¶
func (r *QueryRefreshTaskRequest) SetSubUsers(subUsers string)
param subUsers: 查询的子账号,多个用逗号隔开(Optional)
func (*QueryRefreshTaskRequest) SetTaskId ¶
func (r *QueryRefreshTaskRequest) SetTaskId(taskId string)
param taskId: 任务id(Optional)
func (*QueryRefreshTaskRequest) SetTaskStatus ¶
func (r *QueryRefreshTaskRequest) SetTaskStatus(taskStatus string)
param taskStatus: null(Optional)
func (*QueryRefreshTaskRequest) SetTaskType ¶
func (r *QueryRefreshTaskRequest) SetTaskType(taskType string)
param taskType: null(Optional)
type QueryRefreshTaskResponse ¶
type QueryRefreshTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryRefreshTaskResult `json:"result"`
}
type QueryRefreshTaskResult ¶
type QueryRefreshTaskResult struct {
Total int `json:"total"`
Tasks []cdn.RefreshTask `json:"tasks"`
}
type QueryServiceIpRequest ¶
type QueryServiceIpRequest struct {
core.JDCloudRequest
/* (Optional) */
DomainList []string `json:"domainList"`
}
func NewQueryServiceIpRequest ¶
func NewQueryServiceIpRequest() *QueryServiceIpRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryServiceIpRequestWithAllParams ¶
func NewQueryServiceIpRequestWithAllParams( domainList []string, ) *QueryServiceIpRequest
* param domainList: (Optional)
func NewQueryServiceIpRequestWithoutParam ¶
func NewQueryServiceIpRequestWithoutParam() *QueryServiceIpRequest
This constructor has better compatible ability when API parameters changed
func (QueryServiceIpRequest) GetRegionId ¶
func (r QueryServiceIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryServiceIpRequest) SetDomainList ¶
func (r *QueryServiceIpRequest) SetDomainList(domainList []string)
param domainList: (Optional)
type QueryServiceIpResponse ¶
type QueryServiceIpResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryServiceIpResult `json:"result"`
}
type QueryServiceIpResult ¶
type QueryServiceIpResult struct {
DomainSchedResultItemList []cdn.DomainSchedResultItem `json:"domainSchedResultItemList"`
}
type QueryServiceNoticeRequest ¶
type QueryServiceNoticeRequest struct {
core.JDCloudRequest
/* 通知类型,取值[reportForm],reportForm:报表. (Optional) */
NoticeType *string `json:"noticeType"`
/* 通知方式,取值[mail],mail:邮件. (Optional) */
NoticeWay *string `json:"noticeWay"`
}
func NewQueryServiceNoticeRequest ¶
func NewQueryServiceNoticeRequest() *QueryServiceNoticeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryServiceNoticeRequestWithAllParams ¶
func NewQueryServiceNoticeRequestWithAllParams( noticeType *string, noticeWay *string, ) *QueryServiceNoticeRequest
* param noticeType: 通知类型,取值[reportForm],reportForm:报表. (Optional) * param noticeWay: 通知方式,取值[mail],mail:邮件. (Optional)
func NewQueryServiceNoticeRequestWithoutParam ¶
func NewQueryServiceNoticeRequestWithoutParam() *QueryServiceNoticeRequest
This constructor has better compatible ability when API parameters changed
func (QueryServiceNoticeRequest) GetRegionId ¶
func (r QueryServiceNoticeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryServiceNoticeRequest) SetNoticeType ¶
func (r *QueryServiceNoticeRequest) SetNoticeType(noticeType string)
param noticeType: 通知类型,取值[reportForm],reportForm:报表.(Optional)
func (*QueryServiceNoticeRequest) SetNoticeWay ¶
func (r *QueryServiceNoticeRequest) SetNoticeWay(noticeWay string)
param noticeWay: 通知方式,取值[mail],mail:邮件.(Optional)
type QueryServiceNoticeResponse ¶
type QueryServiceNoticeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryServiceNoticeResult `json:"result"`
}
type QueryServiceNoticeResult ¶
type QueryServiceNoticeResult struct {
Notices []cdn.ServiceNoticeItem `json:"notices"`
}
type QueryStatisticsDataGroupByAreaRequest ¶
type QueryStatisticsDataGroupByAreaRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略 (Optional) */
Origin *bool `json:"origin"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 分组依据,可选值:[terminal,sdtfrom],如果为空,则只按area/isp进行group (Optional) */
GroupBy *string `json:"groupBy"`
/* 查询协议,可选值:[http,https,all],传空默认返回全部协议汇总后的数据 (Optional) */
Scheme *string `json:"scheme"`
/* true 代表查询境外数据,默认false查询境内数据 (Optional) */
Abroad *bool `json:"abroad"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
/* 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional) */
IpType *string `json:"ipType"`
}
func NewQueryStatisticsDataGroupByAreaRequest ¶
func NewQueryStatisticsDataGroupByAreaRequest() *QueryStatisticsDataGroupByAreaRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryStatisticsDataGroupByAreaRequestWithAllParams ¶
func NewQueryStatisticsDataGroupByAreaRequestWithAllParams( startTime *string, endTime *string, domain *string, subDomain *string, fields *string, area *string, isp *string, origin *bool, period *string, groupBy *string, scheme *string, abroad *bool, cacheType *string, ipType *string, ) *QueryStatisticsDataGroupByAreaRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param origin: 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据,可选值:[terminal,sdtfrom],如果为空,则只按area/isp进行group (Optional) * param scheme: 查询协议,可选值:[http,https,all],传空默认返回全部协议汇总后的数据 (Optional) * param abroad: true 代表查询境外数据,默认false查询境内数据 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) * param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional)
func NewQueryStatisticsDataGroupByAreaRequestWithoutParam ¶
func NewQueryStatisticsDataGroupByAreaRequestWithoutParam() *QueryStatisticsDataGroupByAreaRequest
This constructor has better compatible ability when API parameters changed
func (QueryStatisticsDataGroupByAreaRequest) GetRegionId ¶
func (r QueryStatisticsDataGroupByAreaRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryStatisticsDataGroupByAreaRequest) SetAbroad ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetAbroad(abroad bool)
param abroad: true 代表查询境外数据,默认false查询境内数据(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetArea ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetCacheType ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetDomain ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetEndTime ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetFields ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetGroupBy ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据,可选值:[terminal,sdtfrom],如果为空,则只按area/isp进行group(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetIpType ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetIpType(ipType string)
param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetIsp ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetOrigin ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetOrigin(origin bool)
param origin: 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetPeriod ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetScheme ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetScheme(scheme string)
param scheme: 查询协议,可选值:[http,https,all],传空默认返回全部协议汇总后的数据(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetStartTime ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetSubDomain ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetSubDomain(subDomain string)
param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
type QueryStatisticsDataGroupByAreaResponse ¶
type QueryStatisticsDataGroupByAreaResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryStatisticsDataGroupByAreaResult `json:"result"`
}
type QueryStatisticsDataGroupByAreaResult ¶
type QueryStatisticsDataGroupByAreaResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsWithAreaGroupDetail `json:"statistics"`
}
type QueryStatisticsDataGroupSumRequest ¶
type QueryStatisticsDataGroupSumRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略。 (Optional) */
Origin *bool `json:"origin"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* 分组依据,可选值:[area,isp,domain,scheme] (Optional) */
GroupBy *string `json:"groupBy"`
/* true 代表查询境外数据,默认false查询境内数据 (Optional) */
Abroad *bool `json:"abroad"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
/* 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional) */
IpType *string `json:"ipType"`
}
func NewQueryStatisticsDataGroupSumRequest ¶
func NewQueryStatisticsDataGroupSumRequest() *QueryStatisticsDataGroupSumRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryStatisticsDataGroupSumRequestWithAllParams ¶
func NewQueryStatisticsDataGroupSumRequestWithAllParams( startTime *string, endTime *string, domain *string, subDomain *string, fields *string, area *string, isp *string, origin *bool, period *string, groupBy *string, abroad *bool, cacheType *string, ipType *string, ) *QueryStatisticsDataGroupSumRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param origin: 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略。 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据,可选值:[area,isp,domain,scheme] (Optional) * param abroad: true 代表查询境外数据,默认false查询境内数据 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) * param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional)
func NewQueryStatisticsDataGroupSumRequestWithoutParam ¶
func NewQueryStatisticsDataGroupSumRequestWithoutParam() *QueryStatisticsDataGroupSumRequest
This constructor has better compatible ability when API parameters changed
func (QueryStatisticsDataGroupSumRequest) GetRegionId ¶
func (r QueryStatisticsDataGroupSumRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryStatisticsDataGroupSumRequest) SetAbroad ¶
func (r *QueryStatisticsDataGroupSumRequest) SetAbroad(abroad bool)
param abroad: true 代表查询境外数据,默认false查询境内数据(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetArea ¶
func (r *QueryStatisticsDataGroupSumRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetCacheType ¶
func (r *QueryStatisticsDataGroupSumRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetDomain ¶
func (r *QueryStatisticsDataGroupSumRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetEndTime ¶
func (r *QueryStatisticsDataGroupSumRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetFields ¶
func (r *QueryStatisticsDataGroupSumRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetGroupBy ¶
func (r *QueryStatisticsDataGroupSumRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据,可选值:[area,isp,domain,scheme](Optional)
func (*QueryStatisticsDataGroupSumRequest) SetIpType ¶
func (r *QueryStatisticsDataGroupSumRequest) SetIpType(ipType string)
param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetIsp ¶
func (r *QueryStatisticsDataGroupSumRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetOrigin ¶
func (r *QueryStatisticsDataGroupSumRequest) SetOrigin(origin bool)
param origin: 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略。(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetPeriod ¶
func (r *QueryStatisticsDataGroupSumRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetStartTime ¶
func (r *QueryStatisticsDataGroupSumRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetSubDomain ¶
func (r *QueryStatisticsDataGroupSumRequest) SetSubDomain(subDomain string)
param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
type QueryStatisticsDataGroupSumResponse ¶
type QueryStatisticsDataGroupSumResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryStatisticsDataGroupSumResult `json:"result"`
}
type QueryStatisticsDataGroupSumResult ¶
type QueryStatisticsDataGroupSumResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsGroupSumDataItem `json:"statistics"`
}
type QueryStatisticsDataRequest ¶
type QueryStatisticsDataRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 需要查询的字段 (Optional) */
Fields *string `json:"fields"`
/* 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) */
Area *string `json:"area"`
/* 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) */
Isp *string `json:"isp"`
/* 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略。 (Optional) */
Origin *bool `json:"origin"`
/* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */
Period *string `json:"period"`
/* true 代表查询境外数据,默认false查询境内数据 (Optional) */
Abroad *bool `json:"abroad"`
/* 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) */
CacheType *string `json:"cacheType"`
/* 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional) */
IpType *string `json:"ipType"`
}
func NewQueryStatisticsDataRequest ¶
func NewQueryStatisticsDataRequest() *QueryStatisticsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryStatisticsDataRequestWithAllParams ¶
func NewQueryStatisticsDataRequestWithAllParams( startTime *string, endTime *string, domain *string, subDomain *string, fields *string, area *string, isp *string, origin *bool, period *string, abroad *bool, cacheType *string, ipType *string, ) *QueryStatisticsDataRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param fields: 需要查询的字段 (Optional) * param area: 查询的区域,如beijing,shanghai。多个用逗号分隔 (Optional) * param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔 (Optional) * param origin: 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略。 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param abroad: true 代表查询境外数据,默认false查询境内数据 (Optional) * param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间 (Optional) * param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all (Optional)
func NewQueryStatisticsDataRequestWithoutParam ¶
func NewQueryStatisticsDataRequestWithoutParam() *QueryStatisticsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryStatisticsDataRequest) GetRegionId ¶
func (r QueryStatisticsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryStatisticsDataRequest) SetAbroad ¶
func (r *QueryStatisticsDataRequest) SetAbroad(abroad bool)
param abroad: true 代表查询境外数据,默认false查询境内数据(Optional)
func (*QueryStatisticsDataRequest) SetArea ¶
func (r *QueryStatisticsDataRequest) SetArea(area string)
param area: 查询的区域,如beijing,shanghai。多个用逗号分隔(Optional)
func (*QueryStatisticsDataRequest) SetCacheType ¶
func (r *QueryStatisticsDataRequest) SetCacheType(cacheType string)
param cacheType: 查询节点层级,可选值:[all,edge,mid],默认查询all,edge边缘 mid中间(Optional)
func (*QueryStatisticsDataRequest) SetDomain ¶
func (r *QueryStatisticsDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryStatisticsDataRequest) SetEndTime ¶
func (r *QueryStatisticsDataRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsDataRequest) SetFields ¶
func (r *QueryStatisticsDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryStatisticsDataRequest) SetIpType ¶
func (r *QueryStatisticsDataRequest) SetIpType(ipType string)
param ipType: 查询IP类型,可选值:[,ipv4,ipv6],默认查询all(Optional)
func (*QueryStatisticsDataRequest) SetIsp ¶
func (r *QueryStatisticsDataRequest) SetIsp(isp string)
param isp: 查询的运营商,cmcc,cnc,ct,表示移动、联通、电信。多个用逗号分隔(Optional)
func (*QueryStatisticsDataRequest) SetOrigin ¶
func (r *QueryStatisticsDataRequest) SetOrigin(origin bool)
param origin: 是否查询回源统计信息。取值为true和false,默认为false。注意,如果查询回源信息,Fields的取值当前只支持oribandwidth,oripv,oricodestat三个,其余Fields忽略。(Optional)
func (*QueryStatisticsDataRequest) SetPeriod ¶
func (r *QueryStatisticsDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryStatisticsDataRequest) SetStartTime ¶
func (r *QueryStatisticsDataRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsDataRequest) SetSubDomain ¶
func (r *QueryStatisticsDataRequest) SetSubDomain(subDomain string)
param subDomain: 查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
type QueryStatisticsDataResponse ¶
type QueryStatisticsDataResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryStatisticsDataResult `json:"result"`
}
type QueryStatisticsDataResult ¶
type QueryStatisticsDataResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
Statistics []cdn.StatisticsDataItem `json:"statistics"`
}
type QueryStatisticsTopIpRequest ¶
type QueryStatisticsTopIpRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 待查询的子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 查询的topN的条数,取值范围:1-100,默认为20 (Optional) */
Size *int `json:"size"`
/* 排序依据,当前可选:pv,flow, 分别表示按pv、按流量topN ip,默认为"pv" (Optional) */
TopBy *string `json:"topBy"`
}
func NewQueryStatisticsTopIpRequest ¶
func NewQueryStatisticsTopIpRequest() *QueryStatisticsTopIpRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryStatisticsTopIpRequestWithAllParams ¶
func NewQueryStatisticsTopIpRequestWithAllParams( startTime *string, endTime *string, domain *string, subDomain *string, size *int, topBy *string, ) *QueryStatisticsTopIpRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param subDomain: 待查询的子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param size: 查询的topN的条数,取值范围:1-100,默认为20 (Optional) * param topBy: 排序依据,当前可选:pv,flow, 分别表示按pv、按流量topN ip,默认为"pv" (Optional)
func NewQueryStatisticsTopIpRequestWithoutParam ¶
func NewQueryStatisticsTopIpRequestWithoutParam() *QueryStatisticsTopIpRequest
This constructor has better compatible ability when API parameters changed
func (QueryStatisticsTopIpRequest) GetRegionId ¶
func (r QueryStatisticsTopIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryStatisticsTopIpRequest) SetDomain ¶
func (r *QueryStatisticsTopIpRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryStatisticsTopIpRequest) SetEndTime ¶
func (r *QueryStatisticsTopIpRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsTopIpRequest) SetSize ¶
func (r *QueryStatisticsTopIpRequest) SetSize(size int)
param size: 查询的topN的条数,取值范围:1-100,默认为20(Optional)
func (*QueryStatisticsTopIpRequest) SetStartTime ¶
func (r *QueryStatisticsTopIpRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsTopIpRequest) SetSubDomain ¶
func (r *QueryStatisticsTopIpRequest) SetSubDomain(subDomain string)
param subDomain: 待查询的子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
func (*QueryStatisticsTopIpRequest) SetTopBy ¶
func (r *QueryStatisticsTopIpRequest) SetTopBy(topBy string)
param topBy: 排序依据,当前可选:pv,flow, 分别表示按pv、按流量topN ip,默认为"pv"(Optional)
type QueryStatisticsTopIpResponse ¶
type QueryStatisticsTopIpResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryStatisticsTopIpResult `json:"result"`
}
type QueryStatisticsTopIpResult ¶
type QueryStatisticsTopIpResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
IpData []cdn.StatisticsTopIpData `json:"ipData"`
}
type QueryStatisticsTopUrlRequest ¶
type QueryStatisticsTopUrlRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 待查询的子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) */
SubDomain *string `json:"subDomain"`
/* 查询的topN的条数,取值范围:1-100,默认为20 (Optional) */
Size *int `json:"size"`
/* 排序依据,当前可选:pv,flow,bandwidth, 分别表示按pv、按流量、按带宽topN url,默认为"pv" (Optional) */
TopBy *string `json:"topBy"`
}
func NewQueryStatisticsTopUrlRequest ¶
func NewQueryStatisticsTopUrlRequest() *QueryStatisticsTopUrlRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryStatisticsTopUrlRequestWithAllParams ¶
func NewQueryStatisticsTopUrlRequestWithAllParams( startTime *string, endTime *string, domain *string, subDomain *string, size *int, topBy *string, ) *QueryStatisticsTopUrlRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param subDomain: 待查询的子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可 (Optional) * param size: 查询的topN的条数,取值范围:1-100,默认为20 (Optional) * param topBy: 排序依据,当前可选:pv,flow,bandwidth, 分别表示按pv、按流量、按带宽topN url,默认为"pv" (Optional)
func NewQueryStatisticsTopUrlRequestWithoutParam ¶
func NewQueryStatisticsTopUrlRequestWithoutParam() *QueryStatisticsTopUrlRequest
This constructor has better compatible ability when API parameters changed
func (QueryStatisticsTopUrlRequest) GetRegionId ¶
func (r QueryStatisticsTopUrlRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryStatisticsTopUrlRequest) SetDomain ¶
func (r *QueryStatisticsTopUrlRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryStatisticsTopUrlRequest) SetEndTime ¶
func (r *QueryStatisticsTopUrlRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsTopUrlRequest) SetSize ¶
func (r *QueryStatisticsTopUrlRequest) SetSize(size int)
param size: 查询的topN的条数,取值范围:1-100,默认为20(Optional)
func (*QueryStatisticsTopUrlRequest) SetStartTime ¶
func (r *QueryStatisticsTopUrlRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStatisticsTopUrlRequest) SetSubDomain ¶
func (r *QueryStatisticsTopUrlRequest) SetSubDomain(subDomain string)
param subDomain: 待查询的子域名,查询泛域名时,指定的子域名列表,多个用逗号分隔。非泛域名时,传入空即可(Optional)
func (*QueryStatisticsTopUrlRequest) SetTopBy ¶
func (r *QueryStatisticsTopUrlRequest) SetTopBy(topBy string)
param topBy: 排序依据,当前可选:pv,flow,bandwidth, 分别表示按pv、按流量、按带宽topN url,默认为"pv"(Optional)
type QueryStatisticsTopUrlResponse ¶
type QueryStatisticsTopUrlResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryStatisticsTopUrlResult `json:"result"`
}
type QueryStatisticsTopUrlResult ¶
type QueryStatisticsTopUrlResult struct {
StartTime string `json:"startTime"`
EndTime string `json:"endTime"`
Domain string `json:"domain"`
UrlData []cdn.StatisticsTopUrlData `json:"urlData"`
}
type QueryStreamInfoRequest ¶
type QueryStreamInfoRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* app名 (Optional) */
AppName *string `json:"appName"`
/* 流名 (Optional) */
StreamName *string `json:"streamName"`
/* 页码,不传默认1 (Optional) */
PageNum *int `json:"pageNum"`
/* 页size,不传默认100,最大值1000 (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryStreamInfoRequest ¶
func NewQueryStreamInfoRequest( domain string, ) *QueryStreamInfoRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryStreamInfoRequestWithAllParams ¶
func NewQueryStreamInfoRequestWithAllParams( domain string, startTime *string, endTime *string, appName *string, streamName *string, pageNum *int, pageSize *int, ) *QueryStreamInfoRequest
* param domain: 用户域名 (Required) * param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param appName: app名 (Optional) * param streamName: 流名 (Optional) * param pageNum: 页码,不传默认1 (Optional) * param pageSize: 页size,不传默认100,最大值1000 (Optional)
func NewQueryStreamInfoRequestWithoutParam ¶
func NewQueryStreamInfoRequestWithoutParam() *QueryStreamInfoRequest
This constructor has better compatible ability when API parameters changed
func (QueryStreamInfoRequest) GetRegionId ¶
func (r QueryStreamInfoRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryStreamInfoRequest) SetAppName ¶
func (r *QueryStreamInfoRequest) SetAppName(appName string)
param appName: app名(Optional)
func (*QueryStreamInfoRequest) SetDomain ¶
func (r *QueryStreamInfoRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QueryStreamInfoRequest) SetEndTime ¶
func (r *QueryStreamInfoRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStreamInfoRequest) SetPageNum ¶
func (r *QueryStreamInfoRequest) SetPageNum(pageNum int)
param pageNum: 页码,不传默认1(Optional)
func (*QueryStreamInfoRequest) SetPageSize ¶
func (r *QueryStreamInfoRequest) SetPageSize(pageSize int)
param pageSize: 页size,不传默认100,最大值1000(Optional)
func (*QueryStreamInfoRequest) SetStartTime ¶
func (r *QueryStreamInfoRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*QueryStreamInfoRequest) SetStreamName ¶
func (r *QueryStreamInfoRequest) SetStreamName(streamName string)
param streamName: 流名(Optional)
type QueryStreamInfoResponse ¶
type QueryStreamInfoResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryStreamInfoResult `json:"result"`
}
type QueryStreamInfoResult ¶
type QueryStreamInfoResult struct {
Total int `json:"total"`
PageNum int `json:"pageNum"`
PageSize int `json:"pageSize"`
StreamInfoList []cdn.StatisticsLiveStreamInfo `json:"streamInfoList"`
}
type QueryUnForbiddenStatusRequest ¶
type QueryUnForbiddenStatusRequest struct {
core.JDCloudRequest
/* 根据域名进行匹配 (Optional) */
Domain *string `json:"domain"`
/* 根据url进行匹配 (Optional) */
Url *string `json:"url"`
/* 解封的任务id (Optional) */
TaskId *string `json:"taskId"`
/* pageNumber,默认值1 (Optional) */
PageNumber *int `json:"pageNumber"`
/* pageSize,最大值50,默认值10 (Optional) */
PageSize *int `json:"pageSize"`
}
func NewQueryUnForbiddenStatusRequest ¶
func NewQueryUnForbiddenStatusRequest() *QueryUnForbiddenStatusRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryUnForbiddenStatusRequestWithAllParams ¶
func NewQueryUnForbiddenStatusRequestWithAllParams( domain *string, url *string, taskId *string, pageNumber *int, pageSize *int, ) *QueryUnForbiddenStatusRequest
* param domain: 根据域名进行匹配 (Optional) * param url: 根据url进行匹配 (Optional) * param taskId: 解封的任务id (Optional) * param pageNumber: pageNumber,默认值1 (Optional) * param pageSize: pageSize,最大值50,默认值10 (Optional)
func NewQueryUnForbiddenStatusRequestWithoutParam ¶
func NewQueryUnForbiddenStatusRequestWithoutParam() *QueryUnForbiddenStatusRequest
This constructor has better compatible ability when API parameters changed
func (QueryUnForbiddenStatusRequest) GetRegionId ¶
func (r QueryUnForbiddenStatusRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryUnForbiddenStatusRequest) SetDomain ¶
func (r *QueryUnForbiddenStatusRequest) SetDomain(domain string)
param domain: 根据域名进行匹配(Optional)
func (*QueryUnForbiddenStatusRequest) SetPageNumber ¶
func (r *QueryUnForbiddenStatusRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber,默认值1(Optional)
func (*QueryUnForbiddenStatusRequest) SetPageSize ¶
func (r *QueryUnForbiddenStatusRequest) SetPageSize(pageSize int)
param pageSize: pageSize,最大值50,默认值10(Optional)
func (*QueryUnForbiddenStatusRequest) SetTaskId ¶
func (r *QueryUnForbiddenStatusRequest) SetTaskId(taskId string)
param taskId: 解封的任务id(Optional)
func (*QueryUnForbiddenStatusRequest) SetUrl ¶
func (r *QueryUnForbiddenStatusRequest) SetUrl(url string)
param url: 根据url进行匹配(Optional)
type QueryUnForbiddenStatusResponse ¶
type QueryUnForbiddenStatusResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryUnForbiddenStatusResult `json:"result"`
}
type QueryUnForbiddenStatusResult ¶
type QueryUnForbiddenStatusResult struct {
Total int `json:"total"`
Tasks []cdn.UnForbiddenTaskItem `json:"tasks"`
}
type QueryUrlRuleRequest ¶
type QueryUrlRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryUrlRuleRequest ¶
func NewQueryUrlRuleRequest( domain string, ) *QueryUrlRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryUrlRuleRequestWithAllParams ¶
func NewQueryUrlRuleRequestWithAllParams( domain string, ) *QueryUrlRuleRequest
* param domain: 用户域名 (Required)
func NewQueryUrlRuleRequestWithoutParam ¶
func NewQueryUrlRuleRequestWithoutParam() *QueryUrlRuleRequest
This constructor has better compatible ability when API parameters changed
func (QueryUrlRuleRequest) GetRegionId ¶
func (r QueryUrlRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryUrlRuleRequest) SetDomain ¶
func (r *QueryUrlRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryUrlRuleResponse ¶
type QueryUrlRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryUrlRuleResult `json:"result"`
}
type QueryUrlRuleResult ¶
type QueryUserAgentRequest ¶
type QueryUserAgentRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryUserAgentRequest ¶
func NewQueryUserAgentRequest( domain string, ) *QueryUserAgentRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryUserAgentRequestWithAllParams ¶
func NewQueryUserAgentRequestWithAllParams( domain string, ) *QueryUserAgentRequest
* param domain: 用户域名 (Required)
func NewQueryUserAgentRequestWithoutParam ¶
func NewQueryUserAgentRequestWithoutParam() *QueryUserAgentRequest
This constructor has better compatible ability when API parameters changed
func (QueryUserAgentRequest) GetRegionId ¶
func (r QueryUserAgentRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryUserAgentRequest) SetDomain ¶
func (r *QueryUserAgentRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryUserAgentResponse ¶
type QueryUserAgentResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryUserAgentResult `json:"result"`
}
type QueryUserAgentResult ¶
type QueryWafBlackRuleSwitchRequest ¶
type QueryWafBlackRuleSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryWafBlackRuleSwitchRequest ¶
func NewQueryWafBlackRuleSwitchRequest( domain string, ) *QueryWafBlackRuleSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryWafBlackRuleSwitchRequestWithAllParams ¶
func NewQueryWafBlackRuleSwitchRequestWithAllParams( domain string, ) *QueryWafBlackRuleSwitchRequest
* param domain: 用户域名 (Required)
func NewQueryWafBlackRuleSwitchRequestWithoutParam ¶
func NewQueryWafBlackRuleSwitchRequestWithoutParam() *QueryWafBlackRuleSwitchRequest
This constructor has better compatible ability when API parameters changed
func (QueryWafBlackRuleSwitchRequest) GetRegionId ¶
func (r QueryWafBlackRuleSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryWafBlackRuleSwitchRequest) SetDomain ¶
func (r *QueryWafBlackRuleSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryWafBlackRuleSwitchResponse ¶
type QueryWafBlackRuleSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryWafBlackRuleSwitchResult `json:"result"`
}
type QueryWafBlackRuleSwitchResult ¶
type QueryWafBlackRuleSwitchResult struct {
SwitchStatus string `json:"switchStatus"`
}
type QueryWafRegionsRequest ¶
type QueryWafRegionsRequest struct {
core.JDCloudRequest
/* skipType, valid values [skip, deny] */
SkipType string `json:"skipType"`
}
func NewQueryWafRegionsRequest ¶
func NewQueryWafRegionsRequest( skipType string, ) *QueryWafRegionsRequest
* param skipType: skipType, valid values [skip, deny] (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryWafRegionsRequestWithAllParams ¶
func NewQueryWafRegionsRequestWithAllParams( skipType string, ) *QueryWafRegionsRequest
* param skipType: skipType, valid values [skip, deny] (Required)
func NewQueryWafRegionsRequestWithoutParam ¶
func NewQueryWafRegionsRequestWithoutParam() *QueryWafRegionsRequest
This constructor has better compatible ability when API parameters changed
func (QueryWafRegionsRequest) GetRegionId ¶
func (r QueryWafRegionsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryWafRegionsRequest) SetSkipType ¶
func (r *QueryWafRegionsRequest) SetSkipType(skipType string)
param skipType: skipType, valid values [skip, deny](Required)
type QueryWafRegionsResponse ¶
type QueryWafRegionsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryWafRegionsResult `json:"result"`
}
type QueryWafRegionsResult ¶
type QueryWafRegionsResult struct {
China []cdn.WafRegionsModel `json:"china"`
Foreign []cdn.WafRegionsModel `json:"foreign"`
}
type QueryWafSwitchRequest ¶
type QueryWafSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryWafSwitchRequest ¶
func NewQueryWafSwitchRequest( domain string, ) *QueryWafSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryWafSwitchRequestWithAllParams ¶
func NewQueryWafSwitchRequestWithAllParams( domain string, ) *QueryWafSwitchRequest
* param domain: 用户域名 (Required)
func NewQueryWafSwitchRequestWithoutParam ¶
func NewQueryWafSwitchRequestWithoutParam() *QueryWafSwitchRequest
This constructor has better compatible ability when API parameters changed
func (QueryWafSwitchRequest) GetRegionId ¶
func (r QueryWafSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryWafSwitchRequest) SetDomain ¶
func (r *QueryWafSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryWafSwitchResponse ¶
type QueryWafSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryWafSwitchResult `json:"result"`
}
type QueryWafSwitchResult ¶
type QueryWafSwitchResult struct {
SwitchStatus string `json:"switchStatus"`
}
type QueryWafWhiteRuleSwitchRequest ¶
type QueryWafWhiteRuleSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryWafWhiteRuleSwitchRequest ¶
func NewQueryWafWhiteRuleSwitchRequest( domain string, ) *QueryWafWhiteRuleSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryWafWhiteRuleSwitchRequestWithAllParams ¶
func NewQueryWafWhiteRuleSwitchRequestWithAllParams( domain string, ) *QueryWafWhiteRuleSwitchRequest
* param domain: 用户域名 (Required)
func NewQueryWafWhiteRuleSwitchRequestWithoutParam ¶
func NewQueryWafWhiteRuleSwitchRequestWithoutParam() *QueryWafWhiteRuleSwitchRequest
This constructor has better compatible ability when API parameters changed
func (QueryWafWhiteRuleSwitchRequest) GetRegionId ¶
func (r QueryWafWhiteRuleSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryWafWhiteRuleSwitchRequest) SetDomain ¶
func (r *QueryWafWhiteRuleSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryWafWhiteRuleSwitchResponse ¶
type QueryWafWhiteRuleSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryWafWhiteRuleSwitchResult `json:"result"`
}
type QueryWafWhiteRuleSwitchResult ¶
type QueryWafWhiteRuleSwitchResult struct {
SwitchStatus string `json:"switchStatus"`
}
type QueryWebProtectSettingsRequest ¶
type QueryWebProtectSettingsRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryWebProtectSettingsRequest ¶
func NewQueryWebProtectSettingsRequest( domain string, ) *QueryWebProtectSettingsRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryWebProtectSettingsRequestWithAllParams ¶
func NewQueryWebProtectSettingsRequestWithAllParams( domain string, ) *QueryWebProtectSettingsRequest
* param domain: 用户域名 (Required)
func NewQueryWebProtectSettingsRequestWithoutParam ¶
func NewQueryWebProtectSettingsRequestWithoutParam() *QueryWebProtectSettingsRequest
This constructor has better compatible ability when API parameters changed
func (QueryWebProtectSettingsRequest) GetRegionId ¶
func (r QueryWebProtectSettingsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryWebProtectSettingsRequest) SetDomain ¶
func (r *QueryWebProtectSettingsRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryWebProtectSettingsResponse ¶
type QueryWebProtectSettingsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryWebProtectSettingsResult `json:"result"`
}
type QueryWebProtectSwitchRequest ¶
type QueryWebProtectSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewQueryWebProtectSwitchRequest ¶
func NewQueryWebProtectSwitchRequest( domain string, ) *QueryWebProtectSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryWebProtectSwitchRequestWithAllParams ¶
func NewQueryWebProtectSwitchRequestWithAllParams( domain string, ) *QueryWebProtectSwitchRequest
* param domain: 用户域名 (Required)
func NewQueryWebProtectSwitchRequestWithoutParam ¶
func NewQueryWebProtectSwitchRequestWithoutParam() *QueryWebProtectSwitchRequest
This constructor has better compatible ability when API parameters changed
func (QueryWebProtectSwitchRequest) GetRegionId ¶
func (r QueryWebProtectSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryWebProtectSwitchRequest) SetDomain ¶
func (r *QueryWebProtectSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryWebProtectSwitchResponse ¶
type QueryWebProtectSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QueryWebProtectSwitchResult `json:"result"`
}
type QueryWebProtectSwitchResult ¶
type QueryWebProtectSwitchResult struct {
SwitchStatus string `json:"switchStatus"`
}
type QuerywafBlackRulesRequest ¶
type QuerywafBlackRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* ruleType, valid values [ip, geo, uri] */
RuleType string `json:"ruleType"`
/* ruleId, defalut empty (Optional) */
Id *string `json:"id"`
/* page size , default 0 to query all (Optional) */
PageSize *int `json:"pageSize"`
/* page index , default 0 to query all (Optional) */
PageIndex *int `json:"pageIndex"`
}
func NewQuerywafBlackRulesRequest ¶
func NewQuerywafBlackRulesRequest( domain string, ruleType string, ) *QuerywafBlackRulesRequest
* param domain: 用户域名 (Required) * param ruleType: ruleType, valid values [ip, geo, uri] (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQuerywafBlackRulesRequestWithAllParams ¶
func NewQuerywafBlackRulesRequestWithAllParams( domain string, ruleType string, id *string, pageSize *int, pageIndex *int, ) *QuerywafBlackRulesRequest
* param domain: 用户域名 (Required) * param ruleType: ruleType, valid values [ip, geo, uri] (Required) * param id: ruleId, defalut empty (Optional) * param pageSize: page size , default 0 to query all (Optional) * param pageIndex: page index , default 0 to query all (Optional)
func NewQuerywafBlackRulesRequestWithoutParam ¶
func NewQuerywafBlackRulesRequestWithoutParam() *QuerywafBlackRulesRequest
This constructor has better compatible ability when API parameters changed
func (QuerywafBlackRulesRequest) GetRegionId ¶
func (r QuerywafBlackRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QuerywafBlackRulesRequest) SetDomain ¶
func (r *QuerywafBlackRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QuerywafBlackRulesRequest) SetId ¶
func (r *QuerywafBlackRulesRequest) SetId(id string)
param id: ruleId, defalut empty(Optional)
func (*QuerywafBlackRulesRequest) SetPageIndex ¶
func (r *QuerywafBlackRulesRequest) SetPageIndex(pageIndex int)
param pageIndex: page index , default 0 to query all(Optional)
func (*QuerywafBlackRulesRequest) SetPageSize ¶
func (r *QuerywafBlackRulesRequest) SetPageSize(pageSize int)
param pageSize: page size , default 0 to query all(Optional)
func (*QuerywafBlackRulesRequest) SetRuleType ¶
func (r *QuerywafBlackRulesRequest) SetRuleType(ruleType string)
param ruleType: ruleType, valid values [ip, geo, uri](Required)
type QuerywafBlackRulesResponse ¶
type QuerywafBlackRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QuerywafBlackRulesResult `json:"result"`
}
type QuerywafBlackRulesResult ¶
type QuerywafBlackRulesResult struct {
Rules []cdn.WafBlackRuleModel `json:"rules"`
}
type QuerywafWhiteRulesRequest ¶
type QuerywafWhiteRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* ruleType, valid values [ip, geo, uri] */
RuleType string `json:"ruleType"`
/* ruleId, defalut empty (Optional) */
Id *string `json:"id"`
/* page size , default 0 to query all (Optional) */
PageSize *int `json:"pageSize"`
/* page index , default 0 to query all (Optional) */
PageIndex *int `json:"pageIndex"`
}
func NewQuerywafWhiteRulesRequest ¶
func NewQuerywafWhiteRulesRequest( domain string, ruleType string, ) *QuerywafWhiteRulesRequest
* param domain: 用户域名 (Required) * param ruleType: ruleType, valid values [ip, geo, uri] (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQuerywafWhiteRulesRequestWithAllParams ¶
func NewQuerywafWhiteRulesRequestWithAllParams( domain string, ruleType string, id *string, pageSize *int, pageIndex *int, ) *QuerywafWhiteRulesRequest
* param domain: 用户域名 (Required) * param ruleType: ruleType, valid values [ip, geo, uri] (Required) * param id: ruleId, defalut empty (Optional) * param pageSize: page size , default 0 to query all (Optional) * param pageIndex: page index , default 0 to query all (Optional)
func NewQuerywafWhiteRulesRequestWithoutParam ¶
func NewQuerywafWhiteRulesRequestWithoutParam() *QuerywafWhiteRulesRequest
This constructor has better compatible ability when API parameters changed
func (QuerywafWhiteRulesRequest) GetRegionId ¶
func (r QuerywafWhiteRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QuerywafWhiteRulesRequest) SetDomain ¶
func (r *QuerywafWhiteRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QuerywafWhiteRulesRequest) SetId ¶
func (r *QuerywafWhiteRulesRequest) SetId(id string)
param id: ruleId, defalut empty(Optional)
func (*QuerywafWhiteRulesRequest) SetPageIndex ¶
func (r *QuerywafWhiteRulesRequest) SetPageIndex(pageIndex int)
param pageIndex: page index , default 0 to query all(Optional)
func (*QuerywafWhiteRulesRequest) SetPageSize ¶
func (r *QuerywafWhiteRulesRequest) SetPageSize(pageSize int)
param pageSize: page size , default 0 to query all(Optional)
func (*QuerywafWhiteRulesRequest) SetRuleType ¶
func (r *QuerywafWhiteRulesRequest) SetRuleType(ruleType string)
param ruleType: ruleType, valid values [ip, geo, uri](Required)
type QuerywafWhiteRulesResponse ¶
type QuerywafWhiteRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result QuerywafWhiteRulesResult `json:"result"`
}
type QuerywafWhiteRulesResult ¶
type QuerywafWhiteRulesResult struct {
Rules []cdn.WafWhiteRuleModel `json:"rules"`
}
type SearchAttackLogRequest ¶
type SearchAttackLogRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 页码 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 分页条数 (Optional) */
PageSize *int `json:"pageSize"`
/* 排序字段,默认传avgbandwidth (Optional) */
SortField *string `json:"sortField"`
/* 排序规则,默认是降序排序,传值asc或者desc (Optional) */
SortRule *string `json:"sortRule"`
}
func NewSearchAttackLogRequest ¶
func NewSearchAttackLogRequest() *SearchAttackLogRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSearchAttackLogRequestWithAllParams ¶
func NewSearchAttackLogRequestWithAllParams( startTime *string, endTime *string, pageNumber *int, pageSize *int, sortField *string, sortRule *string, ) *SearchAttackLogRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z (Optional) * param pageNumber: 页码 (Optional) * param pageSize: 分页条数 (Optional) * param sortField: 排序字段,默认传avgbandwidth (Optional) * param sortRule: 排序规则,默认是降序排序,传值asc或者desc (Optional)
func NewSearchAttackLogRequestWithoutParam ¶
func NewSearchAttackLogRequestWithoutParam() *SearchAttackLogRequest
This constructor has better compatible ability when API parameters changed
func (SearchAttackLogRequest) GetRegionId ¶
func (r SearchAttackLogRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SearchAttackLogRequest) SetEndTime ¶
func (r *SearchAttackLogRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T07:00:00Z(Optional)
func (*SearchAttackLogRequest) SetPageNumber ¶
func (r *SearchAttackLogRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码(Optional)
func (*SearchAttackLogRequest) SetPageSize ¶
func (r *SearchAttackLogRequest) SetPageSize(pageSize int)
param pageSize: 分页条数(Optional)
func (*SearchAttackLogRequest) SetSortField ¶
func (r *SearchAttackLogRequest) SetSortField(sortField string)
param sortField: 排序字段,默认传avgbandwidth(Optional)
func (*SearchAttackLogRequest) SetSortRule ¶
func (r *SearchAttackLogRequest) SetSortRule(sortRule string)
param sortRule: 排序规则,默认是降序排序,传值asc或者desc(Optional)
func (*SearchAttackLogRequest) SetStartTime ¶
func (r *SearchAttackLogRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2019-08-16T06:00:00Z(Optional)
type SearchAttackLogResponse ¶
type SearchAttackLogResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SearchAttackLogResult `json:"result"`
}
type SearchAttackLogResult ¶
type SearchAttackLogResult struct {
CurrentCount int `json:"currentCount"`
DataList []cdn.AttackLogRecord `json:"dataList"`
TotalCount int `json:"totalCount"`
TotalPage int `json:"totalPage"`
}
type SetAccelerateRegionRequest ¶
type SetAccelerateRegionRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 加速区域,取值[mainland,nonMainland,all] (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
}
func NewSetAccelerateRegionRequest ¶
func NewSetAccelerateRegionRequest( domain string, ) *SetAccelerateRegionRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetAccelerateRegionRequestWithAllParams ¶
func NewSetAccelerateRegionRequestWithAllParams( domain string, accelerateRegion *string, ) *SetAccelerateRegionRequest
* param domain: 用户域名 (Required) * param accelerateRegion: 加速区域,取值[mainland,nonMainland,all] (Optional)
func NewSetAccelerateRegionRequestWithoutParam ¶
func NewSetAccelerateRegionRequestWithoutParam() *SetAccelerateRegionRequest
This constructor has better compatible ability when API parameters changed
func (SetAccelerateRegionRequest) GetRegionId ¶
func (r SetAccelerateRegionRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetAccelerateRegionRequest) SetAccelerateRegion ¶
func (r *SetAccelerateRegionRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域,取值[mainland,nonMainland,all](Optional)
func (*SetAccelerateRegionRequest) SetDomain ¶
func (r *SetAccelerateRegionRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type SetAccelerateRegionResponse ¶
type SetAccelerateRegionResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetAccelerateRegionResult `json:"result"`
}
type SetAccelerateRegionResult ¶
type SetAccelerateRegionResult struct {
}
type SetAccesskeyConfigRequest ¶
type SetAccesskeyConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 鉴权类型,0表示无鉴权,1表示参数鉴权,2表示路径鉴权 (Optional) */
AccesskeyType *int `json:"accesskeyType"`
/* 密码,长度为8到32 (Optional) */
AccesskeyKey *string `json:"accesskeyKey"`
/* 是否是回源鉴权 0表示是 1表示否 (Optional) */
AccesskeyKeep *int `json:"accesskeyKeep"`
}
func NewSetAccesskeyConfigRequest ¶
func NewSetAccesskeyConfigRequest( domain string, ) *SetAccesskeyConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetAccesskeyConfigRequestWithAllParams ¶
func NewSetAccesskeyConfigRequestWithAllParams( domain string, accesskeyType *int, accesskeyKey *string, accesskeyKeep *int, ) *SetAccesskeyConfigRequest
* param domain: 用户域名 (Required) * param accesskeyType: 鉴权类型,0表示无鉴权,1表示参数鉴权,2表示路径鉴权 (Optional) * param accesskeyKey: 密码,长度为8到32 (Optional) * param accesskeyKeep: 是否是回源鉴权 0表示是 1表示否 (Optional)
func NewSetAccesskeyConfigRequestWithoutParam ¶
func NewSetAccesskeyConfigRequestWithoutParam() *SetAccesskeyConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetAccesskeyConfigRequest) GetRegionId ¶
func (r SetAccesskeyConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetAccesskeyConfigRequest) SetAccesskeyKeep ¶
func (r *SetAccesskeyConfigRequest) SetAccesskeyKeep(accesskeyKeep int)
param accesskeyKeep: 是否是回源鉴权 0表示是 1表示否(Optional)
func (*SetAccesskeyConfigRequest) SetAccesskeyKey ¶
func (r *SetAccesskeyConfigRequest) SetAccesskeyKey(accesskeyKey string)
param accesskeyKey: 密码,长度为8到32(Optional)
func (*SetAccesskeyConfigRequest) SetAccesskeyType ¶
func (r *SetAccesskeyConfigRequest) SetAccesskeyType(accesskeyType int)
param accesskeyType: 鉴权类型,0表示无鉴权,1表示参数鉴权,2表示路径鉴权(Optional)
func (*SetAccesskeyConfigRequest) SetDomain ¶
func (r *SetAccesskeyConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type SetAccesskeyConfigResponse ¶
type SetAccesskeyConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetAccesskeyConfigResult `json:"result"`
}
type SetAccesskeyConfigResult ¶
type SetAccesskeyConfigResult struct {
}
type SetAuthConfigRequest ¶
type SetAuthConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 是否开启鉴权[on,off] (Optional) */
EnableUrlAuth *string `json:"enableUrlAuth"`
/* 鉴权key (Optional) */
AuthKey *string `json:"authKey"`
/* 鉴权时间戳过期时间,默认为0 (Optional) */
Age *int `json:"age"`
/* 鉴权参数加密算法,默认为md5且只支持md5 (Optional) */
EncAlgorithm *string `json:"encAlgorithm"`
/* 时间戳格式[hex,dec] (Optional) */
TimeFormat *string `json:"timeFormat"`
/* 加密算法版本[dash,dashv2,video],默认dashv2 (Optional) */
UriType *string `json:"uriType"`
/* 鉴权key生成顺序 (Optional) */
Rule *string `json:"rule"`
}
func NewSetAuthConfigRequest ¶
func NewSetAuthConfigRequest( domain string, ) *SetAuthConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetAuthConfigRequestWithAllParams ¶
func NewSetAuthConfigRequestWithAllParams( domain string, enableUrlAuth *string, authKey *string, age *int, encAlgorithm *string, timeFormat *string, uriType *string, rule *string, ) *SetAuthConfigRequest
* param domain: 用户域名 (Required) * param enableUrlAuth: 是否开启鉴权[on,off] (Optional) * param authKey: 鉴权key (Optional) * param age: 鉴权时间戳过期时间,默认为0 (Optional) * param encAlgorithm: 鉴权参数加密算法,默认为md5且只支持md5 (Optional) * param timeFormat: 时间戳格式[hex,dec] (Optional) * param uriType: 加密算法版本[dash,dashv2,video],默认dashv2 (Optional) * param rule: 鉴权key生成顺序 (Optional)
func NewSetAuthConfigRequestWithoutParam ¶
func NewSetAuthConfigRequestWithoutParam() *SetAuthConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetAuthConfigRequest) GetRegionId ¶
func (r SetAuthConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetAuthConfigRequest) SetAge ¶
func (r *SetAuthConfigRequest) SetAge(age int)
param age: 鉴权时间戳过期时间,默认为0(Optional)
func (*SetAuthConfigRequest) SetAuthKey ¶
func (r *SetAuthConfigRequest) SetAuthKey(authKey string)
param authKey: 鉴权key(Optional)
func (*SetAuthConfigRequest) SetDomain ¶
func (r *SetAuthConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetAuthConfigRequest) SetEnableUrlAuth ¶
func (r *SetAuthConfigRequest) SetEnableUrlAuth(enableUrlAuth string)
param enableUrlAuth: 是否开启鉴权[on,off](Optional)
func (*SetAuthConfigRequest) SetEncAlgorithm ¶
func (r *SetAuthConfigRequest) SetEncAlgorithm(encAlgorithm string)
param encAlgorithm: 鉴权参数加密算法,默认为md5且只支持md5(Optional)
func (*SetAuthConfigRequest) SetRule ¶
func (r *SetAuthConfigRequest) SetRule(rule string)
param rule: 鉴权key生成顺序(Optional)
func (*SetAuthConfigRequest) SetTimeFormat ¶
func (r *SetAuthConfigRequest) SetTimeFormat(timeFormat string)
param timeFormat: 时间戳格式[hex,dec](Optional)
func (*SetAuthConfigRequest) SetUriType ¶
func (r *SetAuthConfigRequest) SetUriType(uriType string)
param uriType: 加密算法版本[dash,dashv2,video],默认dashv2(Optional)
type SetAuthConfigResponse ¶
type SetAuthConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetAuthConfigResult `json:"result"`
}
type SetAuthConfigResult ¶
type SetAuthConfigResult struct {
TaskId string `json:"taskId"`
}
type SetCCProtectSwitchRequest ¶
type SetCCProtectSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关状态, on:开启,off:关闭 (Optional) */
SwitchStatus *string `json:"switchStatus"`
}
func NewSetCCProtectSwitchRequest ¶
func NewSetCCProtectSwitchRequest( domain string, ) *SetCCProtectSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetCCProtectSwitchRequestWithAllParams ¶
func NewSetCCProtectSwitchRequestWithAllParams( domain string, switchStatus *string, ) *SetCCProtectSwitchRequest
* param domain: 用户域名 (Required) * param switchStatus: 开关状态, on:开启,off:关闭 (Optional)
func NewSetCCProtectSwitchRequestWithoutParam ¶
func NewSetCCProtectSwitchRequestWithoutParam() *SetCCProtectSwitchRequest
This constructor has better compatible ability when API parameters changed
func (SetCCProtectSwitchRequest) GetRegionId ¶
func (r SetCCProtectSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetCCProtectSwitchRequest) SetDomain ¶
func (r *SetCCProtectSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetCCProtectSwitchRequest) SetSwitchStatus ¶
func (r *SetCCProtectSwitchRequest) SetSwitchStatus(switchStatus string)
param switchStatus: 开关状态, on:开启,off:关闭(Optional)
type SetCCProtectSwitchResponse ¶
type SetCCProtectSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetCCProtectSwitchResult `json:"result"`
}
type SetCCProtectSwitchResult ¶
type SetCCProtectSwitchResult struct {
}
type SetCacheRulesRequest ¶
type SetCacheRulesRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* (Optional) */
CacheRules []cdn.CacheRuleVo `json:"cacheRules"`
}
func NewSetCacheRulesRequest ¶
func NewSetCacheRulesRequest( domain string, ) *SetCacheRulesRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetCacheRulesRequestWithAllParams ¶
func NewSetCacheRulesRequestWithAllParams( domain string, cacheRules []cdn.CacheRuleVo, ) *SetCacheRulesRequest
* param domain: 用户域名 (Required) * param cacheRules: (Optional)
func NewSetCacheRulesRequestWithoutParam ¶
func NewSetCacheRulesRequestWithoutParam() *SetCacheRulesRequest
This constructor has better compatible ability when API parameters changed
func (SetCacheRulesRequest) GetRegionId ¶
func (r SetCacheRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetCacheRulesRequest) SetCacheRules ¶
func (r *SetCacheRulesRequest) SetCacheRules(cacheRules []cdn.CacheRuleVo)
param cacheRules: (Optional)
func (*SetCacheRulesRequest) SetDomain ¶
func (r *SetCacheRulesRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type SetCacheRulesResponse ¶
type SetCacheRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetCacheRulesResult `json:"result"`
}
type SetCacheRulesResult ¶
type SetCustomErrorPageRequest ¶
type SetCustomErrorPageRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 自定义错误页面配置 (Optional) */
ErrorPageConfigs []cdn.ErrorPageConfigs `json:"errorPageConfigs"`
}
func NewSetCustomErrorPageRequest ¶
func NewSetCustomErrorPageRequest( domain string, ) *SetCustomErrorPageRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetCustomErrorPageRequestWithAllParams ¶
func NewSetCustomErrorPageRequestWithAllParams( domain string, errorPageConfigs []cdn.ErrorPageConfigs, ) *SetCustomErrorPageRequest
* param domain: 用户域名 (Required) * param errorPageConfigs: 自定义错误页面配置 (Optional)
func NewSetCustomErrorPageRequestWithoutParam ¶
func NewSetCustomErrorPageRequestWithoutParam() *SetCustomErrorPageRequest
This constructor has better compatible ability when API parameters changed
func (SetCustomErrorPageRequest) GetRegionId ¶
func (r SetCustomErrorPageRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetCustomErrorPageRequest) SetDomain ¶
func (r *SetCustomErrorPageRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetCustomErrorPageRequest) SetErrorPageConfigs ¶
func (r *SetCustomErrorPageRequest) SetErrorPageConfigs(errorPageConfigs []cdn.ErrorPageConfigs)
param errorPageConfigs: 自定义错误页面配置(Optional)
type SetCustomErrorPageResponse ¶
type SetCustomErrorPageResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetCustomErrorPageResult `json:"result"`
}
type SetCustomErrorPageResult ¶
type SetCustomErrorPageResult struct {
}
type SetDomainConfigRequest ¶
type SetDomainConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* http类型,只能为http或者https (Optional) */
HttpType *string `json:"httpType"`
/* 回源类型 (Optional) */
BackSourceType *string `json:"backSourceType"`
/* 有三种类型:default、http、https (Optional) */
JumpType *string `json:"jumpType"`
/* dash鉴权相关配置 (Optional) */
JcdnTimeAnti *string `json:"jcdnTimeAnti"`
/* 回源鉴权相关配置 (Optional) */
HdrCtrl *string `json:"hdrCtrl"`
/* 头条header配置 (Optional) */
ToutiaoHeader *string `json:"toutiaoHeader"`
}
func NewSetDomainConfigRequest ¶
func NewSetDomainConfigRequest( domain string, ) *SetDomainConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetDomainConfigRequestWithAllParams ¶
func NewSetDomainConfigRequestWithAllParams( domain string, httpType *string, backSourceType *string, jumpType *string, jcdnTimeAnti *string, hdrCtrl *string, toutiaoHeader *string, ) *SetDomainConfigRequest
* param domain: 用户域名 (Required) * param httpType: http类型,只能为http或者https (Optional) * param backSourceType: 回源类型 (Optional) * param jumpType: 有三种类型:default、http、https (Optional) * param jcdnTimeAnti: dash鉴权相关配置 (Optional) * param hdrCtrl: 回源鉴权相关配置 (Optional) * param toutiaoHeader: 头条header配置 (Optional)
func NewSetDomainConfigRequestWithoutParam ¶
func NewSetDomainConfigRequestWithoutParam() *SetDomainConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetDomainConfigRequest) GetRegionId ¶
func (r SetDomainConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetDomainConfigRequest) SetBackSourceType ¶
func (r *SetDomainConfigRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源类型(Optional)
func (*SetDomainConfigRequest) SetDomain ¶
func (r *SetDomainConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetDomainConfigRequest) SetHdrCtrl ¶
func (r *SetDomainConfigRequest) SetHdrCtrl(hdrCtrl string)
param hdrCtrl: 回源鉴权相关配置(Optional)
func (*SetDomainConfigRequest) SetHttpType ¶
func (r *SetDomainConfigRequest) SetHttpType(httpType string)
param httpType: http类型,只能为http或者https(Optional)
func (*SetDomainConfigRequest) SetJcdnTimeAnti ¶
func (r *SetDomainConfigRequest) SetJcdnTimeAnti(jcdnTimeAnti string)
param jcdnTimeAnti: dash鉴权相关配置(Optional)
func (*SetDomainConfigRequest) SetJumpType ¶
func (r *SetDomainConfigRequest) SetJumpType(jumpType string)
param jumpType: 有三种类型:default、http、https(Optional)
func (*SetDomainConfigRequest) SetToutiaoHeader ¶
func (r *SetDomainConfigRequest) SetToutiaoHeader(toutiaoHeader string)
param toutiaoHeader: 头条header配置(Optional)
type SetDomainConfigResponse ¶
type SetDomainConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetDomainConfigResult `json:"result"`
}
type SetDomainConfigResult ¶
type SetDomainConfigResult struct {
TaskId string `json:"taskId"`
}
type SetExtraCacheTimeRequest ¶
type SetExtraCacheTimeRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个 (Optional) */
HttpCode *string `json:"httpCode"`
/* 缓存时间(单位:秒) (Optional) */
CacheTime *int64 `json:"cacheTime"`
}
func NewSetExtraCacheTimeRequest ¶
func NewSetExtraCacheTimeRequest( domain string, ) *SetExtraCacheTimeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetExtraCacheTimeRequestWithAllParams ¶
func NewSetExtraCacheTimeRequestWithAllParams( domain string, httpCode *string, cacheTime *int64, ) *SetExtraCacheTimeRequest
* param domain: 用户域名 (Required) * param httpCode: 异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个 (Optional) * param cacheTime: 缓存时间(单位:秒) (Optional)
func NewSetExtraCacheTimeRequestWithoutParam ¶
func NewSetExtraCacheTimeRequestWithoutParam() *SetExtraCacheTimeRequest
This constructor has better compatible ability when API parameters changed
func (SetExtraCacheTimeRequest) GetRegionId ¶
func (r SetExtraCacheTimeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetExtraCacheTimeRequest) SetCacheTime ¶
func (r *SetExtraCacheTimeRequest) SetCacheTime(cacheTime int64)
param cacheTime: 缓存时间(单位:秒)(Optional)
func (*SetExtraCacheTimeRequest) SetDomain ¶
func (r *SetExtraCacheTimeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetExtraCacheTimeRequest) SetHttpCode ¶
func (r *SetExtraCacheTimeRequest) SetHttpCode(httpCode string)
param httpCode: 异常状态码 ["4xx","400", "401", "402", "404", "405", "406", "407", "408", "409", "410", "411", "412", "413", "414", "415", "416", "417", "5xx","500", "501", "502", "503", "504", "505"]中的其中一个(Optional)
type SetExtraCacheTimeResponse ¶
type SetExtraCacheTimeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetExtraCacheTimeResult `json:"result"`
}
type SetExtraCacheTimeResult ¶
type SetExtraCacheTimeResult struct {
}
type SetFilterArgsRequest ¶
type SetFilterArgsRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 保留参数,多个用;隔开 (Optional) */
RetainArgs *string `json:"retainArgs"`
/* 忽略参数开关,取值:on or off (Optional) */
Status *string `json:"status"`
}
func NewSetFilterArgsRequest ¶
func NewSetFilterArgsRequest( domain string, ) *SetFilterArgsRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetFilterArgsRequestWithAllParams ¶
func NewSetFilterArgsRequestWithAllParams( domain string, retainArgs *string, status *string, ) *SetFilterArgsRequest
* param domain: 用户域名 (Required) * param retainArgs: 保留参数,多个用;隔开 (Optional) * param status: 忽略参数开关,取值:on or off (Optional)
func NewSetFilterArgsRequestWithoutParam ¶
func NewSetFilterArgsRequestWithoutParam() *SetFilterArgsRequest
This constructor has better compatible ability when API parameters changed
func (SetFilterArgsRequest) GetRegionId ¶
func (r SetFilterArgsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetFilterArgsRequest) SetDomain ¶
func (r *SetFilterArgsRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetFilterArgsRequest) SetRetainArgs ¶
func (r *SetFilterArgsRequest) SetRetainArgs(retainArgs string)
param retainArgs: 保留参数,多个用;隔开(Optional)
func (*SetFilterArgsRequest) SetStatus ¶
func (r *SetFilterArgsRequest) SetStatus(status string)
param status: 忽略参数开关,取值:on or off(Optional)
type SetFilterArgsResponse ¶
type SetFilterArgsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetFilterArgsResult `json:"result"`
}
type SetFilterArgsResult ¶
type SetFilterArgsResult struct {
}
type SetFollowRedirectRequest ¶
type SetFollowRedirectRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关取值[on,off] (Optional) */
Status *string `json:"status"`
}
func NewSetFollowRedirectRequest ¶
func NewSetFollowRedirectRequest( domain string, ) *SetFollowRedirectRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetFollowRedirectRequestWithAllParams ¶
func NewSetFollowRedirectRequestWithAllParams( domain string, status *string, ) *SetFollowRedirectRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetFollowRedirectRequestWithoutParam ¶
func NewSetFollowRedirectRequestWithoutParam() *SetFollowRedirectRequest
This constructor has better compatible ability when API parameters changed
func (SetFollowRedirectRequest) GetRegionId ¶
func (r SetFollowRedirectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetFollowRedirectRequest) SetDomain ¶
func (r *SetFollowRedirectRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetFollowRedirectRequest) SetStatus ¶
func (r *SetFollowRedirectRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetFollowRedirectResponse ¶
type SetFollowRedirectResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetFollowRedirectResult `json:"result"`
}
type SetFollowRedirectResult ¶
type SetFollowRedirectResult struct {
}
type SetFollowSourceProtocolRequest ¶
type SetFollowSourceProtocolRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关取值[on,off] (Optional) */
Status *string `json:"status"`
}
func NewSetFollowSourceProtocolRequest ¶
func NewSetFollowSourceProtocolRequest( domain string, ) *SetFollowSourceProtocolRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetFollowSourceProtocolRequestWithAllParams ¶
func NewSetFollowSourceProtocolRequestWithAllParams( domain string, status *string, ) *SetFollowSourceProtocolRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetFollowSourceProtocolRequestWithoutParam ¶
func NewSetFollowSourceProtocolRequestWithoutParam() *SetFollowSourceProtocolRequest
This constructor has better compatible ability when API parameters changed
func (SetFollowSourceProtocolRequest) GetRegionId ¶
func (r SetFollowSourceProtocolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetFollowSourceProtocolRequest) SetDomain ¶
func (r *SetFollowSourceProtocolRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetFollowSourceProtocolRequest) SetStatus ¶
func (r *SetFollowSourceProtocolRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetFollowSourceProtocolResponse ¶
type SetFollowSourceProtocolResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetFollowSourceProtocolResult `json:"result"`
}
type SetFollowSourceProtocolResult ¶
type SetFollowSourceProtocolResult struct {
TaskId string `json:"taskId"`
}
type SetGzipRequest ¶
type SetGzipRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关取值[on,off] (Optional) */
Status *string `json:"status"`
/* gzip类型,如application/x-javascript,application/xml (Optional) */
GzipTypes *string `json:"gzipTypes"`
}
func NewSetGzipRequest ¶
func NewSetGzipRequest( domain string, ) *SetGzipRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetGzipRequestWithAllParams ¶
func NewSetGzipRequestWithAllParams( domain string, status *string, gzipTypes *string, ) *SetGzipRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional) * param gzipTypes: gzip类型,如application/x-javascript,application/xml (Optional)
func NewSetGzipRequestWithoutParam ¶
func NewSetGzipRequestWithoutParam() *SetGzipRequest
This constructor has better compatible ability when API parameters changed
func (SetGzipRequest) GetRegionId ¶
func (r SetGzipRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetGzipRequest) SetDomain ¶
func (r *SetGzipRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetGzipRequest) SetGzipTypes ¶
func (r *SetGzipRequest) SetGzipTypes(gzipTypes string)
param gzipTypes: gzip类型,如application/x-javascript,application/xml(Optional)
func (*SetGzipRequest) SetStatus ¶
func (r *SetGzipRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetGzipResponse ¶
type SetGzipResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetGzipResult `json:"result"`
}
type SetGzipResult ¶
type SetGzipResult struct {
}
type SetHttpHeaderRequest ¶
type SetHttpHeaderRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 0表示header在边缘生效,1表示header回源生效,2表示在边缘和回源都生效,该字段不传时默认header在边缘和回源都生效 (Optional) */
EdgeType *int `json:"edgeType"`
/* header类型[resp,req],resp:配置响应头,req:配置请求头 (Optional) */
HeaderType *string `json:"headerType"`
/* header名,例如:Content-Disposition,可自定义,长度不能超过256个字符,不能包含中文字符,不能包含$和_,不支持设置如下头名:["Content-Length","Date","Host","Content-Encoding","If-Modified-Since","If-Range","Content-Type","Transfer-Encoding","Cache-Control","Last-Modified","Connection", "Content-Range","ETag","Age","Authentication-Info","Proxy-Authenticate","Retry-After","Set-Cookie","Vary","Content-Location","Meter","Allow","Error","X-Trace", "Proxy-Connection"] (Optional) */
HeaderName *string `json:"headerName"`
/* header值,不能包含($,_,#),不能超过256个字符 (Optional) */
HeaderValue *string `json:"headerValue"`
}
func NewSetHttpHeaderRequest ¶
func NewSetHttpHeaderRequest( domain string, ) *SetHttpHeaderRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetHttpHeaderRequestWithAllParams ¶
func NewSetHttpHeaderRequestWithAllParams( domain string, edgeType *int, headerType *string, headerName *string, headerValue *string, ) *SetHttpHeaderRequest
* param domain: 用户域名 (Required) * param edgeType: 0表示header在边缘生效,1表示header回源生效,2表示在边缘和回源都生效,该字段不传时默认header在边缘和回源都生效 (Optional) * param headerType: header类型[resp,req],resp:配置响应头,req:配置请求头 (Optional) * param headerName: header名,例如:Content-Disposition,可自定义,长度不能超过256个字符,不能包含中文字符,不能包含$和_,不支持设置如下头名:["Content-Length","Date","Host","Content-Encoding","If-Modified-Since","If-Range","Content-Type","Transfer-Encoding","Cache-Control","Last-Modified","Connection", "Content-Range","ETag","Age","Authentication-Info","Proxy-Authenticate","Retry-After","Set-Cookie","Vary","Content-Location","Meter","Allow","Error","X-Trace", "Proxy-Connection"] (Optional) * param headerValue: header值,不能包含($,_,#),不能超过256个字符 (Optional)
func NewSetHttpHeaderRequestWithoutParam ¶
func NewSetHttpHeaderRequestWithoutParam() *SetHttpHeaderRequest
This constructor has better compatible ability when API parameters changed
func (SetHttpHeaderRequest) GetRegionId ¶
func (r SetHttpHeaderRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetHttpHeaderRequest) SetDomain ¶
func (r *SetHttpHeaderRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetHttpHeaderRequest) SetEdgeType ¶
func (r *SetHttpHeaderRequest) SetEdgeType(edgeType int)
param edgeType: 0表示header在边缘生效,1表示header回源生效,2表示在边缘和回源都生效,该字段不传时默认header在边缘和回源都生效(Optional)
func (*SetHttpHeaderRequest) SetHeaderName ¶
func (r *SetHttpHeaderRequest) SetHeaderName(headerName string)
param headerName: header名,例如:Content-Disposition,可自定义,长度不能超过256个字符,不能包含中文字符,不能包含$和_,不支持设置如下头名:["Content-Length","Date","Host","Content-Encoding","If-Modified-Since","If-Range","Content-Type","Transfer-Encoding","Cache-Control","Last-Modified","Connection", "Content-Range","ETag","Age","Authentication-Info","Proxy-Authenticate","Retry-After","Set-Cookie","Vary","Content-Location","Meter","Allow","Error","X-Trace", "Proxy-Connection"](Optional)
func (*SetHttpHeaderRequest) SetHeaderType ¶
func (r *SetHttpHeaderRequest) SetHeaderType(headerType string)
param headerType: header类型[resp,req],resp:配置响应头,req:配置请求头(Optional)
func (*SetHttpHeaderRequest) SetHeaderValue ¶
func (r *SetHttpHeaderRequest) SetHeaderValue(headerValue string)
param headerValue: header值,不能包含($,_,#),不能超过256个字符(Optional)
type SetHttpHeaderResponse ¶
type SetHttpHeaderResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetHttpHeaderResult `json:"result"`
}
type SetHttpHeaderResult ¶
type SetHttpHeaderResult struct {
}
type SetHttpTypeRequest ¶
type SetHttpTypeRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* http类型,只能为http或者https,默认为http.当设为https时,需要调用“设置通讯协议”接口上传证书和私钥 (Optional) */
HttpType *string `json:"httpType"`
/* 用户证书,当Type为https时必须设置 (Optional) */
Certificate *string `json:"certificate"`
/* 证书私钥 (Optional) */
RsaKey *string `json:"rsaKey"`
/* 有三种类型:default、http、https (Optional) */
JumpType *string `json:"jumpType"`
/* 证书来源有两种类型:default,ssl (Optional) */
CertFrom *string `json:"certFrom"`
/* ssl证书id (Optional) */
SslCertId *string `json:"sslCertId"`
/* 是否同步到ssl,boolean值,取值true或者false (Optional) */
SyncToSsl *bool `json:"syncToSsl"`
/* syncToSsl是true时,certName是必填项 (Optional) */
CertName *string `json:"certName"`
}
func NewSetHttpTypeRequest ¶
func NewSetHttpTypeRequest( domain string, ) *SetHttpTypeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetHttpTypeRequestWithAllParams ¶
func NewSetHttpTypeRequestWithAllParams( domain string, httpType *string, certificate *string, rsaKey *string, jumpType *string, certFrom *string, sslCertId *string, syncToSsl *bool, certName *string, ) *SetHttpTypeRequest
* param domain: 用户域名 (Required) * param httpType: http类型,只能为http或者https,默认为http.当设为https时,需要调用“设置通讯协议”接口上传证书和私钥 (Optional) * param certificate: 用户证书,当Type为https时必须设置 (Optional) * param rsaKey: 证书私钥 (Optional) * param jumpType: 有三种类型:default、http、https (Optional) * param certFrom: 证书来源有两种类型:default,ssl (Optional) * param sslCertId: ssl证书id (Optional) * param syncToSsl: 是否同步到ssl,boolean值,取值true或者false (Optional) * param certName: syncToSsl是true时,certName是必填项 (Optional)
func NewSetHttpTypeRequestWithoutParam ¶
func NewSetHttpTypeRequestWithoutParam() *SetHttpTypeRequest
This constructor has better compatible ability when API parameters changed
func (SetHttpTypeRequest) GetRegionId ¶
func (r SetHttpTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetHttpTypeRequest) SetCertFrom ¶
func (r *SetHttpTypeRequest) SetCertFrom(certFrom string)
param certFrom: 证书来源有两种类型:default,ssl(Optional)
func (*SetHttpTypeRequest) SetCertName ¶
func (r *SetHttpTypeRequest) SetCertName(certName string)
param certName: syncToSsl是true时,certName是必填项(Optional)
func (*SetHttpTypeRequest) SetCertificate ¶
func (r *SetHttpTypeRequest) SetCertificate(certificate string)
param certificate: 用户证书,当Type为https时必须设置(Optional)
func (*SetHttpTypeRequest) SetDomain ¶
func (r *SetHttpTypeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetHttpTypeRequest) SetHttpType ¶
func (r *SetHttpTypeRequest) SetHttpType(httpType string)
param httpType: http类型,只能为http或者https,默认为http.当设为https时,需要调用“设置通讯协议”接口上传证书和私钥(Optional)
func (*SetHttpTypeRequest) SetJumpType ¶
func (r *SetHttpTypeRequest) SetJumpType(jumpType string)
param jumpType: 有三种类型:default、http、https(Optional)
func (*SetHttpTypeRequest) SetRsaKey ¶
func (r *SetHttpTypeRequest) SetRsaKey(rsaKey string)
param rsaKey: 证书私钥(Optional)
func (*SetHttpTypeRequest) SetSslCertId ¶
func (r *SetHttpTypeRequest) SetSslCertId(sslCertId string)
param sslCertId: ssl证书id(Optional)
func (*SetHttpTypeRequest) SetSyncToSsl ¶
func (r *SetHttpTypeRequest) SetSyncToSsl(syncToSsl bool)
param syncToSsl: 是否同步到ssl,boolean值,取值true或者false(Optional)
type SetHttpTypeResponse ¶
type SetHttpTypeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetHttpTypeResult `json:"result"`
}
type SetHttpTypeResult ¶
type SetHttpTypeResult struct {
TaskId string `json:"taskId"`
}
type SetIgnoreQueryStringRequest ¶
type SetIgnoreQueryStringRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关取值[on,off] (Optional) */
Status *string `json:"status"`
}
func NewSetIgnoreQueryStringRequest ¶
func NewSetIgnoreQueryStringRequest( domain string, ) *SetIgnoreQueryStringRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetIgnoreQueryStringRequestWithAllParams ¶
func NewSetIgnoreQueryStringRequestWithAllParams( domain string, status *string, ) *SetIgnoreQueryStringRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetIgnoreQueryStringRequestWithoutParam ¶
func NewSetIgnoreQueryStringRequestWithoutParam() *SetIgnoreQueryStringRequest
This constructor has better compatible ability when API parameters changed
func (SetIgnoreQueryStringRequest) GetRegionId ¶
func (r SetIgnoreQueryStringRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetIgnoreQueryStringRequest) SetDomain ¶
func (r *SetIgnoreQueryStringRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetIgnoreQueryStringRequest) SetStatus ¶
func (r *SetIgnoreQueryStringRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetIgnoreQueryStringResponse ¶
type SetIgnoreQueryStringResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetIgnoreQueryStringResult `json:"result"`
}
type SetIgnoreQueryStringResult ¶
type SetIgnoreQueryStringResult struct {
}
type SetIpBlackListRequest ¶
type SetIpBlackListRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* ip名单,ips中url不能超过50条,中国境外/全球加速域名暂不支持传IP段 (Optional) */
Ips []string `json:"ips"`
/* ip黑白名单类型,black:黑名单,white:白名单 (Optional) */
IpListType *string `json:"ipListType"`
}
func NewSetIpBlackListRequest ¶
func NewSetIpBlackListRequest( domain string, ) *SetIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetIpBlackListRequestWithAllParams ¶
func NewSetIpBlackListRequestWithAllParams( domain string, ips []string, ipListType *string, ) *SetIpBlackListRequest
* param domain: 用户域名 (Required) * param ips: ip名单,ips中url不能超过50条,中国境外/全球加速域名暂不支持传IP段 (Optional) * param ipListType: ip黑白名单类型,black:黑名单,white:白名单 (Optional)
func NewSetIpBlackListRequestWithoutParam ¶
func NewSetIpBlackListRequestWithoutParam() *SetIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (SetIpBlackListRequest) GetRegionId ¶
func (r SetIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetIpBlackListRequest) SetDomain ¶
func (r *SetIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetIpBlackListRequest) SetIpListType ¶
func (r *SetIpBlackListRequest) SetIpListType(ipListType string)
param ipListType: ip黑白名单类型,black:黑名单,white:白名单(Optional)
func (*SetIpBlackListRequest) SetIps ¶
func (r *SetIpBlackListRequest) SetIps(ips []string)
param ips: ip名单,ips中url不能超过50条,中国境外/全球加速域名暂不支持传IP段(Optional)
type SetIpBlackListResponse ¶
type SetIpBlackListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetIpBlackListResult `json:"result"`
}
type SetIpBlackListResult ¶
type SetIpBlackListResult struct {
}
type SetLiveDomainAccessKeyRequest ¶
type SetLiveDomainAccessKeyRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* url鉴权开启1关闭0 (Optional) */
AccesskeyType *int `json:"accesskeyType"`
/* url鉴权开启时必传 (Optional) */
AccesskeyKey *string `json:"accesskeyKey"`
/* 开启时默认值为300s,关闭时为0 (Optional) */
AuthLifeTime *int `json:"authLifeTime"`
}
func NewSetLiveDomainAccessKeyRequest ¶
func NewSetLiveDomainAccessKeyRequest( domain string, ) *SetLiveDomainAccessKeyRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainAccessKeyRequestWithAllParams ¶
func NewSetLiveDomainAccessKeyRequestWithAllParams( domain string, accesskeyType *int, accesskeyKey *string, authLifeTime *int, ) *SetLiveDomainAccessKeyRequest
* param domain: 用户域名 (Required) * param accesskeyType: url鉴权开启1关闭0 (Optional) * param accesskeyKey: url鉴权开启时必传 (Optional) * param authLifeTime: 开启时默认值为300s,关闭时为0 (Optional)
func NewSetLiveDomainAccessKeyRequestWithoutParam ¶
func NewSetLiveDomainAccessKeyRequestWithoutParam() *SetLiveDomainAccessKeyRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainAccessKeyRequest) GetRegionId ¶
func (r SetLiveDomainAccessKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainAccessKeyRequest) SetAccesskeyKey ¶
func (r *SetLiveDomainAccessKeyRequest) SetAccesskeyKey(accesskeyKey string)
param accesskeyKey: url鉴权开启时必传(Optional)
func (*SetLiveDomainAccessKeyRequest) SetAccesskeyType ¶
func (r *SetLiveDomainAccessKeyRequest) SetAccesskeyType(accesskeyType int)
param accesskeyType: url鉴权开启1关闭0(Optional)
func (*SetLiveDomainAccessKeyRequest) SetAuthLifeTime ¶
func (r *SetLiveDomainAccessKeyRequest) SetAuthLifeTime(authLifeTime int)
param authLifeTime: 开启时默认值为300s,关闭时为0(Optional)
func (*SetLiveDomainAccessKeyRequest) SetDomain ¶
func (r *SetLiveDomainAccessKeyRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type SetLiveDomainAccessKeyResponse ¶
type SetLiveDomainAccessKeyResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetLiveDomainAccessKeyResult `json:"result"`
}
type SetLiveDomainAccessKeyResult ¶
type SetLiveDomainAccessKeyResult struct {
}
type SetLiveDomainBackSourceHostRequest ¶
type SetLiveDomainBackSourceHostRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 默认回源host (Optional) */
SourceHost *string `json:"sourceHost"`
}
func NewSetLiveDomainBackSourceHostRequest ¶
func NewSetLiveDomainBackSourceHostRequest( domain string, ) *SetLiveDomainBackSourceHostRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainBackSourceHostRequestWithAllParams ¶
func NewSetLiveDomainBackSourceHostRequestWithAllParams( domain string, sourceHost *string, ) *SetLiveDomainBackSourceHostRequest
* param domain: 用户域名 (Required) * param sourceHost: 默认回源host (Optional)
func NewSetLiveDomainBackSourceHostRequestWithoutParam ¶
func NewSetLiveDomainBackSourceHostRequestWithoutParam() *SetLiveDomainBackSourceHostRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainBackSourceHostRequest) GetRegionId ¶
func (r SetLiveDomainBackSourceHostRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainBackSourceHostRequest) SetDomain ¶
func (r *SetLiveDomainBackSourceHostRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainBackSourceHostRequest) SetSourceHost ¶
func (r *SetLiveDomainBackSourceHostRequest) SetSourceHost(sourceHost string)
param sourceHost: 默认回源host(Optional)
type SetLiveDomainBackSourceHostResponse ¶
type SetLiveDomainBackSourceHostResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetLiveDomainBackSourceHostResult `json:"result"`
}
type SetLiveDomainBackSourceHostResult ¶
type SetLiveDomainBackSourceHostResult struct {
}
type SetLiveDomainBackSourceRequest ¶
type SetLiveDomainBackSourceRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 回源类型只能为[ips,domain]中的一种 (Optional) */
SourceType *string `json:"sourceType"`
/* (Optional) */
BackSourceType *string `json:"backSourceType"`
/* 默认回源host (Optional) */
DefaultSourceHost *string `json:"defaultSourceHost"`
/* (Optional) */
DomainSource []cdn.DomainSourceInfo `json:"domainSource"`
/* (Optional) */
IpSource []cdn.IpSourceInfo `json:"ipSource"`
}
func NewSetLiveDomainBackSourceRequest ¶
func NewSetLiveDomainBackSourceRequest( domain string, ) *SetLiveDomainBackSourceRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainBackSourceRequestWithAllParams ¶
func NewSetLiveDomainBackSourceRequestWithAllParams( domain string, sourceType *string, backSourceType *string, defaultSourceHost *string, domainSource []cdn.DomainSourceInfo, ipSource []cdn.IpSourceInfo, ) *SetLiveDomainBackSourceRequest
* param domain: 用户域名 (Required) * param sourceType: 回源类型只能为[ips,domain]中的一种 (Optional) * param backSourceType: (Optional) * param defaultSourceHost: 默认回源host (Optional) * param domainSource: (Optional) * param ipSource: (Optional)
func NewSetLiveDomainBackSourceRequestWithoutParam ¶
func NewSetLiveDomainBackSourceRequestWithoutParam() *SetLiveDomainBackSourceRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainBackSourceRequest) GetRegionId ¶
func (r SetLiveDomainBackSourceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainBackSourceRequest) SetBackSourceType ¶
func (r *SetLiveDomainBackSourceRequest) SetBackSourceType(backSourceType string)
param backSourceType: (Optional)
func (*SetLiveDomainBackSourceRequest) SetDefaultSourceHost ¶
func (r *SetLiveDomainBackSourceRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: 默认回源host(Optional)
func (*SetLiveDomainBackSourceRequest) SetDomain ¶
func (r *SetLiveDomainBackSourceRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainBackSourceRequest) SetDomainSource ¶
func (r *SetLiveDomainBackSourceRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*SetLiveDomainBackSourceRequest) SetIpSource ¶
func (r *SetLiveDomainBackSourceRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*SetLiveDomainBackSourceRequest) SetSourceType ¶
func (r *SetLiveDomainBackSourceRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能为[ips,domain]中的一种(Optional)
type SetLiveDomainBackSourceResponse ¶
type SetLiveDomainBackSourceResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetLiveDomainBackSourceResult `json:"result"`
}
type SetLiveDomainBackSourceResult ¶
type SetLiveDomainBackSourceResult struct {
}
type SetLiveDomainIpBlackListRequest ¶
type SetLiveDomainIpBlackListRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* ip名单,ips中url不能超过50条 (Optional) */
Ips []string `json:"ips"`
/* ip黑白名单类型,black:黑名单,white:白名单 (Optional) */
IpListType *string `json:"ipListType"`
}
func NewSetLiveDomainIpBlackListRequest ¶
func NewSetLiveDomainIpBlackListRequest( domain string, ) *SetLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainIpBlackListRequestWithAllParams ¶
func NewSetLiveDomainIpBlackListRequestWithAllParams( domain string, ips []string, ipListType *string, ) *SetLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * param ips: ip名单,ips中url不能超过50条 (Optional) * param ipListType: ip黑白名单类型,black:黑名单,white:白名单 (Optional)
func NewSetLiveDomainIpBlackListRequestWithoutParam ¶
func NewSetLiveDomainIpBlackListRequestWithoutParam() *SetLiveDomainIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainIpBlackListRequest) GetRegionId ¶
func (r SetLiveDomainIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainIpBlackListRequest) SetDomain ¶
func (r *SetLiveDomainIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainIpBlackListRequest) SetIpListType ¶
func (r *SetLiveDomainIpBlackListRequest) SetIpListType(ipListType string)
param ipListType: ip黑白名单类型,black:黑名单,white:白名单(Optional)
func (*SetLiveDomainIpBlackListRequest) SetIps ¶
func (r *SetLiveDomainIpBlackListRequest) SetIps(ips []string)
param ips: ip名单,ips中url不能超过50条(Optional)
type SetLiveDomainIpBlackListResponse ¶
type SetLiveDomainIpBlackListResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetLiveDomainIpBlackListResult `json:"result"`
}
type SetLiveDomainIpBlackListResult ¶
type SetLiveDomainIpBlackListResult struct {
}
type SetLiveDomainReferRequest ¶
type SetLiveDomainReferRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* refer类型,取值:block(黑名单),allow(白名单)默认为block (Optional) */
ReferType *string `json:"referType"`
/* 逗号隔开的域名列表,如果referList传空则为删除 (Optional) */
ReferList []string `json:"referList"`
/* 是否允许空refer访问,默认为“on” (Optional) */
AllowNoReferHeader *string `json:"allowNoReferHeader"`
/* 是否允许无ua访问,默认为“on” (Optional) */
AllowNullReferHeader *string `json:"allowNullReferHeader"`
}
func NewSetLiveDomainReferRequest ¶
func NewSetLiveDomainReferRequest( domain string, ) *SetLiveDomainReferRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainReferRequestWithAllParams ¶
func NewSetLiveDomainReferRequestWithAllParams( domain string, referType *string, referList []string, allowNoReferHeader *string, allowNullReferHeader *string, ) *SetLiveDomainReferRequest
* param domain: 用户域名 (Required) * param referType: refer类型,取值:block(黑名单),allow(白名单)默认为block (Optional) * param referList: 逗号隔开的域名列表,如果referList传空则为删除 (Optional) * param allowNoReferHeader: 是否允许空refer访问,默认为“on” (Optional) * param allowNullReferHeader: 是否允许无ua访问,默认为“on” (Optional)
func NewSetLiveDomainReferRequestWithoutParam ¶
func NewSetLiveDomainReferRequestWithoutParam() *SetLiveDomainReferRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainReferRequest) GetRegionId ¶
func (r SetLiveDomainReferRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainReferRequest) SetAllowNoReferHeader ¶
func (r *SetLiveDomainReferRequest) SetAllowNoReferHeader(allowNoReferHeader string)
param allowNoReferHeader: 是否允许空refer访问,默认为“on”(Optional)
func (*SetLiveDomainReferRequest) SetAllowNullReferHeader ¶
func (r *SetLiveDomainReferRequest) SetAllowNullReferHeader(allowNullReferHeader string)
param allowNullReferHeader: 是否允许无ua访问,默认为“on”(Optional)
func (*SetLiveDomainReferRequest) SetDomain ¶
func (r *SetLiveDomainReferRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainReferRequest) SetReferList ¶
func (r *SetLiveDomainReferRequest) SetReferList(referList []string)
param referList: 逗号隔开的域名列表,如果referList传空则为删除(Optional)
func (*SetLiveDomainReferRequest) SetReferType ¶
func (r *SetLiveDomainReferRequest) SetReferType(referType string)
param referType: refer类型,取值:block(黑名单),allow(白名单)默认为block(Optional)
type SetLiveDomainReferResponse ¶
type SetLiveDomainReferResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetLiveDomainReferResult `json:"result"`
}
type SetLiveDomainReferResult ¶
type SetLiveDomainReferResult struct {
}
type SetMonitorRequest ¶
type SetMonitorRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 探测周期,取值1和5,单位为分钟 (Optional) */
Cycle *int `json:"cycle"`
/* 探测路径 (Optional) */
MonitorPath *string `json:"monitorPath"`
/* http请求头 (Optional) */
HttpRequestHeader *interface{} `json:"httpRequestHeader"`
}
func NewSetMonitorRequest ¶
func NewSetMonitorRequest( domain string, ) *SetMonitorRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetMonitorRequestWithAllParams ¶
func NewSetMonitorRequestWithAllParams( domain string, cycle *int, monitorPath *string, httpRequestHeader *interface{}, ) *SetMonitorRequest
* param domain: 用户域名 (Required) * param cycle: 探测周期,取值1和5,单位为分钟 (Optional) * param monitorPath: 探测路径 (Optional) * param httpRequestHeader: http请求头 (Optional)
func NewSetMonitorRequestWithoutParam ¶
func NewSetMonitorRequestWithoutParam() *SetMonitorRequest
This constructor has better compatible ability when API parameters changed
func (SetMonitorRequest) GetRegionId ¶
func (r SetMonitorRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetMonitorRequest) SetCycle ¶
func (r *SetMonitorRequest) SetCycle(cycle int)
param cycle: 探测周期,取值1和5,单位为分钟(Optional)
func (*SetMonitorRequest) SetDomain ¶
func (r *SetMonitorRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetMonitorRequest) SetHttpRequestHeader ¶
func (r *SetMonitorRequest) SetHttpRequestHeader(httpRequestHeader interface{})
param httpRequestHeader: http请求头(Optional)
func (*SetMonitorRequest) SetMonitorPath ¶
func (r *SetMonitorRequest) SetMonitorPath(monitorPath string)
param monitorPath: 探测路径(Optional)
type SetMonitorResponse ¶
type SetMonitorResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetMonitorResult `json:"result"`
}
type SetMonitorResult ¶
type SetMonitorResult struct {
MonitorId int64 `json:"monitorId"`
}
type SetNetProtectionRulesRequest ¶
type SetNetProtectionRulesRequest struct {
core.JDCloudRequest
/* 源新建连接限速,取值on,off,其中on开启,off关闭 (Optional) */
SrcNewConnLimitEnable *string `json:"srcNewConnLimitEnable"`
/* 目的新建连接,取值on,off,其中on开启,off关闭 (Optional) */
DstNewConnLimitEnable *string `json:"dstNewConnLimitEnable"`
/* 报文最小长度(包最小长度),取值:1-1500 (Optional) */
DatagramRangeMin *int64 `json:"datagramRangeMin"`
/* 报文最大长度(包最大长度),取值:1-1500 (Optional) */
DatagramRangeMax *int64 `json:"datagramRangeMax"`
/* 目的新建连接限速值,取值:0-4294967295 (Optional) */
DstNewConnLimitValue *int64 `json:"dstNewConnLimitValue"`
/* 源新建连接限速值,取值:0-4294967295 (Optional) */
SrcNewConnLimitValue *int64 `json:"srcNewConnLimitValue"`
/* 地域黑名单(GEO IP拦截) (Optional) */
GeoBlack []string `json:"geoBlack"`
/* ip 黑名单 (Optional) */
IpBlack []string `json:"ipBlack"`
/* ip 白名单 (Optional) */
IpWhite []string `json:"ipWhite"`
}
func NewSetNetProtectionRulesRequest ¶
func NewSetNetProtectionRulesRequest() *SetNetProtectionRulesRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSetNetProtectionRulesRequestWithAllParams ¶
func NewSetNetProtectionRulesRequestWithAllParams( srcNewConnLimitEnable *string, dstNewConnLimitEnable *string, datagramRangeMin *int64, datagramRangeMax *int64, dstNewConnLimitValue *int64, srcNewConnLimitValue *int64, geoBlack []string, ipBlack []string, ipWhite []string, ) *SetNetProtectionRulesRequest
* param srcNewConnLimitEnable: 源新建连接限速,取值on,off,其中on开启,off关闭 (Optional) * param dstNewConnLimitEnable: 目的新建连接,取值on,off,其中on开启,off关闭 (Optional) * param datagramRangeMin: 报文最小长度(包最小长度),取值:1-1500 (Optional) * param datagramRangeMax: 报文最大长度(包最大长度),取值:1-1500 (Optional) * param dstNewConnLimitValue: 目的新建连接限速值,取值:0-4294967295 (Optional) * param srcNewConnLimitValue: 源新建连接限速值,取值:0-4294967295 (Optional) * param geoBlack: 地域黑名单(GEO IP拦截) (Optional) * param ipBlack: ip 黑名单 (Optional) * param ipWhite: ip 白名单 (Optional)
func NewSetNetProtectionRulesRequestWithoutParam ¶
func NewSetNetProtectionRulesRequestWithoutParam() *SetNetProtectionRulesRequest
This constructor has better compatible ability when API parameters changed
func (SetNetProtectionRulesRequest) GetRegionId ¶
func (r SetNetProtectionRulesRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetNetProtectionRulesRequest) SetDatagramRangeMax ¶
func (r *SetNetProtectionRulesRequest) SetDatagramRangeMax(datagramRangeMax int64)
param datagramRangeMax: 报文最大长度(包最大长度),取值:1-1500(Optional)
func (*SetNetProtectionRulesRequest) SetDatagramRangeMin ¶
func (r *SetNetProtectionRulesRequest) SetDatagramRangeMin(datagramRangeMin int64)
param datagramRangeMin: 报文最小长度(包最小长度),取值:1-1500(Optional)
func (*SetNetProtectionRulesRequest) SetDstNewConnLimitEnable ¶
func (r *SetNetProtectionRulesRequest) SetDstNewConnLimitEnable(dstNewConnLimitEnable string)
param dstNewConnLimitEnable: 目的新建连接,取值on,off,其中on开启,off关闭(Optional)
func (*SetNetProtectionRulesRequest) SetDstNewConnLimitValue ¶
func (r *SetNetProtectionRulesRequest) SetDstNewConnLimitValue(dstNewConnLimitValue int64)
param dstNewConnLimitValue: 目的新建连接限速值,取值:0-4294967295(Optional)
func (*SetNetProtectionRulesRequest) SetGeoBlack ¶
func (r *SetNetProtectionRulesRequest) SetGeoBlack(geoBlack []string)
param geoBlack: 地域黑名单(GEO IP拦截)(Optional)
func (*SetNetProtectionRulesRequest) SetIpBlack ¶
func (r *SetNetProtectionRulesRequest) SetIpBlack(ipBlack []string)
param ipBlack: ip 黑名单(Optional)
func (*SetNetProtectionRulesRequest) SetIpWhite ¶
func (r *SetNetProtectionRulesRequest) SetIpWhite(ipWhite []string)
param ipWhite: ip 白名单(Optional)
func (*SetNetProtectionRulesRequest) SetSrcNewConnLimitEnable ¶
func (r *SetNetProtectionRulesRequest) SetSrcNewConnLimitEnable(srcNewConnLimitEnable string)
param srcNewConnLimitEnable: 源新建连接限速,取值on,off,其中on开启,off关闭(Optional)
func (*SetNetProtectionRulesRequest) SetSrcNewConnLimitValue ¶
func (r *SetNetProtectionRulesRequest) SetSrcNewConnLimitValue(srcNewConnLimitValue int64)
param srcNewConnLimitValue: 源新建连接限速值,取值:0-4294967295(Optional)
type SetNetProtectionRulesResponse ¶
type SetNetProtectionRulesResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetNetProtectionRulesResult `json:"result"`
}
type SetNetProtectionRulesResult ¶
type SetNetProtectionRulesResult struct {
}
type SetNetProtectionRulesSwitchRequest ¶
type SetNetProtectionRulesSwitchRequest struct {
core.JDCloudRequest
/* on,off (Optional) */
SwitchStatus *string `json:"switchStatus"`
}
func NewSetNetProtectionRulesSwitchRequest ¶
func NewSetNetProtectionRulesSwitchRequest() *SetNetProtectionRulesSwitchRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSetNetProtectionRulesSwitchRequestWithAllParams ¶
func NewSetNetProtectionRulesSwitchRequestWithAllParams( switchStatus *string, ) *SetNetProtectionRulesSwitchRequest
* param switchStatus: on,off (Optional)
func NewSetNetProtectionRulesSwitchRequestWithoutParam ¶
func NewSetNetProtectionRulesSwitchRequestWithoutParam() *SetNetProtectionRulesSwitchRequest
This constructor has better compatible ability when API parameters changed
func (SetNetProtectionRulesSwitchRequest) GetRegionId ¶
func (r SetNetProtectionRulesSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetNetProtectionRulesSwitchRequest) SetSwitchStatus ¶
func (r *SetNetProtectionRulesSwitchRequest) SetSwitchStatus(switchStatus string)
param switchStatus: on,off(Optional)
type SetNetProtectionRulesSwitchResponse ¶
type SetNetProtectionRulesSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetNetProtectionRulesSwitchResult `json:"result"`
}
type SetNetProtectionRulesSwitchResult ¶
type SetNetProtectionRulesSwitchResult struct {
}
type SetOnlineBillingTypeRequest ¶
type SetOnlineBillingTypeRequest struct {
core.JDCloudRequest
/* 计费方式,取值[0,1],0:日流量计费,1:日峰值带宽计费. (Optional) */
AllType *int `json:"allType"`
}
func NewSetOnlineBillingTypeRequest ¶
func NewSetOnlineBillingTypeRequest() *SetOnlineBillingTypeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSetOnlineBillingTypeRequestWithAllParams ¶
func NewSetOnlineBillingTypeRequestWithAllParams( allType *int, ) *SetOnlineBillingTypeRequest
* param allType: 计费方式,取值[0,1],0:日流量计费,1:日峰值带宽计费. (Optional)
func NewSetOnlineBillingTypeRequestWithoutParam ¶
func NewSetOnlineBillingTypeRequestWithoutParam() *SetOnlineBillingTypeRequest
This constructor has better compatible ability when API parameters changed
func (SetOnlineBillingTypeRequest) GetRegionId ¶
func (r SetOnlineBillingTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetOnlineBillingTypeRequest) SetAllType ¶
func (r *SetOnlineBillingTypeRequest) SetAllType(allType int)
param allType: 计费方式,取值[0,1],0:日流量计费,1:日峰值带宽计费.(Optional)
type SetOnlineBillingTypeResponse ¶
type SetOnlineBillingTypeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetOnlineBillingTypeResult `json:"result"`
}
type SetOnlineBillingTypeResult ¶
type SetOnlineBillingTypeResult struct {
}
type SetProtocolConvertRequest ¶
type SetProtocolConvertRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* https证书,转https格式时必传 (Optional) */
Certificate *string `json:"certificate"`
/* https私钥,转https格式时必传 (Optional) */
RsaKey *string `json:"rsaKey"`
/* 证书来源有两种类型:default,ssl (Optional) */
CertFrom *string `json:"certFrom"`
/* ssl证书id (Optional) */
SslCertId *string `json:"sslCertId"`
/* 是否同步到ssl,boolean值,取值true或者false (Optional) */
SyncToSsl *bool `json:"syncToSsl"`
/* syncToSsl是true时,certName是必填项 (Optional) */
CertName *string `json:"certName"`
/* (Optional) */
ProtocolConverts []cdn.ProtocolConvert `json:"protocolConverts"`
}
func NewSetProtocolConvertRequest ¶
func NewSetProtocolConvertRequest( domain string, ) *SetProtocolConvertRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetProtocolConvertRequestWithAllParams ¶
func NewSetProtocolConvertRequestWithAllParams( domain string, certificate *string, rsaKey *string, certFrom *string, sslCertId *string, syncToSsl *bool, certName *string, protocolConverts []cdn.ProtocolConvert, ) *SetProtocolConvertRequest
* param domain: 用户域名 (Required) * param certificate: https证书,转https格式时必传 (Optional) * param rsaKey: https私钥,转https格式时必传 (Optional) * param certFrom: 证书来源有两种类型:default,ssl (Optional) * param sslCertId: ssl证书id (Optional) * param syncToSsl: 是否同步到ssl,boolean值,取值true或者false (Optional) * param certName: syncToSsl是true时,certName是必填项 (Optional) * param protocolConverts: (Optional)
func NewSetProtocolConvertRequestWithoutParam ¶
func NewSetProtocolConvertRequestWithoutParam() *SetProtocolConvertRequest
This constructor has better compatible ability when API parameters changed
func (SetProtocolConvertRequest) GetRegionId ¶
func (r SetProtocolConvertRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetProtocolConvertRequest) SetCertFrom ¶
func (r *SetProtocolConvertRequest) SetCertFrom(certFrom string)
param certFrom: 证书来源有两种类型:default,ssl(Optional)
func (*SetProtocolConvertRequest) SetCertName ¶
func (r *SetProtocolConvertRequest) SetCertName(certName string)
param certName: syncToSsl是true时,certName是必填项(Optional)
func (*SetProtocolConvertRequest) SetCertificate ¶
func (r *SetProtocolConvertRequest) SetCertificate(certificate string)
param certificate: https证书,转https格式时必传(Optional)
func (*SetProtocolConvertRequest) SetDomain ¶
func (r *SetProtocolConvertRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetProtocolConvertRequest) SetProtocolConverts ¶
func (r *SetProtocolConvertRequest) SetProtocolConverts(protocolConverts []cdn.ProtocolConvert)
param protocolConverts: (Optional)
func (*SetProtocolConvertRequest) SetRsaKey ¶
func (r *SetProtocolConvertRequest) SetRsaKey(rsaKey string)
param rsaKey: https私钥,转https格式时必传(Optional)
func (*SetProtocolConvertRequest) SetSslCertId ¶
func (r *SetProtocolConvertRequest) SetSslCertId(sslCertId string)
param sslCertId: ssl证书id(Optional)
func (*SetProtocolConvertRequest) SetSyncToSsl ¶
func (r *SetProtocolConvertRequest) SetSyncToSsl(syncToSsl bool)
param syncToSsl: 是否同步到ssl,boolean值,取值true或者false(Optional)
type SetProtocolConvertResponse ¶
type SetProtocolConvertResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetProtocolConvertResult `json:"result"`
}
type SetProtocolConvertResult ¶
type SetProtocolConvertResult struct {
}
type SetRangeRequest ¶
type SetRangeRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关取值[on,off] (Optional) */
Status *string `json:"status"`
}
func NewSetRangeRequest ¶
func NewSetRangeRequest( domain string, ) *SetRangeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetRangeRequestWithAllParams ¶
func NewSetRangeRequestWithAllParams( domain string, status *string, ) *SetRangeRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetRangeRequestWithoutParam ¶
func NewSetRangeRequestWithoutParam() *SetRangeRequest
This constructor has better compatible ability when API parameters changed
func (SetRangeRequest) GetRegionId ¶
func (r SetRangeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetRangeRequest) SetDomain ¶
func (r *SetRangeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetRangeRequest) SetStatus ¶
func (r *SetRangeRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetRangeResponse ¶
type SetRangeResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetRangeResult `json:"result"`
}
type SetRangeResult ¶
type SetRangeResult struct {
}
type SetReferRequest ¶
type SetReferRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* refer类型,取值:block(黑名单),allow(白名单)默认为block (Optional) */
ReferType *string `json:"referType"`
/* 逗号隔开的域名列表,如果referList传空则为删除,中国境内加速域名至多可配置400条,中国境外/全球加速域名至多可配置50条 (Optional) */
ReferList []string `json:"referList"`
/* 是否允许空refer访问,默认为“on” (Optional) */
AllowNoReferHeader *string `json:"allowNoReferHeader"`
/* 是否允许无ua访问,默认为“on” (Optional) */
AllowNullReferHeader *string `json:"allowNullReferHeader"`
}
func NewSetReferRequest ¶
func NewSetReferRequest( domain string, ) *SetReferRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetReferRequestWithAllParams ¶
func NewSetReferRequestWithAllParams( domain string, referType *string, referList []string, allowNoReferHeader *string, allowNullReferHeader *string, ) *SetReferRequest
* param domain: 用户域名 (Required) * param referType: refer类型,取值:block(黑名单),allow(白名单)默认为block (Optional) * param referList: 逗号隔开的域名列表,如果referList传空则为删除,中国境内加速域名至多可配置400条,中国境外/全球加速域名至多可配置50条 (Optional) * param allowNoReferHeader: 是否允许空refer访问,默认为“on” (Optional) * param allowNullReferHeader: 是否允许无ua访问,默认为“on” (Optional)
func NewSetReferRequestWithoutParam ¶
func NewSetReferRequestWithoutParam() *SetReferRequest
This constructor has better compatible ability when API parameters changed
func (SetReferRequest) GetRegionId ¶
func (r SetReferRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetReferRequest) SetAllowNoReferHeader ¶
func (r *SetReferRequest) SetAllowNoReferHeader(allowNoReferHeader string)
param allowNoReferHeader: 是否允许空refer访问,默认为“on”(Optional)
func (*SetReferRequest) SetAllowNullReferHeader ¶
func (r *SetReferRequest) SetAllowNullReferHeader(allowNullReferHeader string)
param allowNullReferHeader: 是否允许无ua访问,默认为“on”(Optional)
func (*SetReferRequest) SetDomain ¶
func (r *SetReferRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetReferRequest) SetReferList ¶
func (r *SetReferRequest) SetReferList(referList []string)
param referList: 逗号隔开的域名列表,如果referList传空则为删除,中国境内加速域名至多可配置400条,中国境外/全球加速域名至多可配置50条(Optional)
func (*SetReferRequest) SetReferType ¶
func (r *SetReferRequest) SetReferType(referType string)
param referType: refer类型,取值:block(黑名单),allow(白名单)默认为block(Optional)
type SetReferResponse ¶
type SetReferResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetReferResult `json:"result"`
}
type SetReferResult ¶
type SetReferResult struct {
}
type SetRefreshLimitRequest ¶
type SetRefreshLimitRequest struct {
core.JDCloudRequest
/* 子账号,只有传值才会设置子账号,其余不传或传空是设置主账号 (Optional) */
SubUsers []string `json:"subUsers"`
/* 刷新个数,如果是首次设置,不传默认是2000;已经设置,再次设置是更新,不传表示不进行更新 (Optional) */
RefreshCount *int64 `json:"refreshCount"`
/* 刷新个数,如果是首次设置,不传默认是2000;已经设置,再次设置是更新,不传表示不进行更新 (Optional) */
PrefetchCount *int64 `json:"prefetchCount"`
/* 刷新个数,如果是首次设置,不传默认是50;已经设置,再次设置是更新,不传表示不进行更新 (Optional) */
DirCount *int64 `json:"dirCount"`
}
func NewSetRefreshLimitRequest ¶
func NewSetRefreshLimitRequest() *SetRefreshLimitRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSetRefreshLimitRequestWithAllParams ¶
func NewSetRefreshLimitRequestWithAllParams( subUsers []string, refreshCount *int64, prefetchCount *int64, dirCount *int64, ) *SetRefreshLimitRequest
* param subUsers: 子账号,只有传值才会设置子账号,其余不传或传空是设置主账号 (Optional) * param refreshCount: 刷新个数,如果是首次设置,不传默认是2000;已经设置,再次设置是更新,不传表示不进行更新 (Optional) * param prefetchCount: 刷新个数,如果是首次设置,不传默认是2000;已经设置,再次设置是更新,不传表示不进行更新 (Optional) * param dirCount: 刷新个数,如果是首次设置,不传默认是50;已经设置,再次设置是更新,不传表示不进行更新 (Optional)
func NewSetRefreshLimitRequestWithoutParam ¶
func NewSetRefreshLimitRequestWithoutParam() *SetRefreshLimitRequest
This constructor has better compatible ability when API parameters changed
func (SetRefreshLimitRequest) GetRegionId ¶
func (r SetRefreshLimitRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetRefreshLimitRequest) SetDirCount ¶
func (r *SetRefreshLimitRequest) SetDirCount(dirCount int64)
param dirCount: 刷新个数,如果是首次设置,不传默认是50;已经设置,再次设置是更新,不传表示不进行更新(Optional)
func (*SetRefreshLimitRequest) SetPrefetchCount ¶
func (r *SetRefreshLimitRequest) SetPrefetchCount(prefetchCount int64)
param prefetchCount: 刷新个数,如果是首次设置,不传默认是2000;已经设置,再次设置是更新,不传表示不进行更新(Optional)
func (*SetRefreshLimitRequest) SetRefreshCount ¶
func (r *SetRefreshLimitRequest) SetRefreshCount(refreshCount int64)
param refreshCount: 刷新个数,如果是首次设置,不传默认是2000;已经设置,再次设置是更新,不传表示不进行更新(Optional)
func (*SetRefreshLimitRequest) SetSubUsers ¶
func (r *SetRefreshLimitRequest) SetSubUsers(subUsers []string)
param subUsers: 子账号,只有传值才会设置子账号,其余不传或传空是设置主账号(Optional)
type SetRefreshLimitResponse ¶
type SetRefreshLimitResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetRefreshLimitResult `json:"result"`
}
type SetRefreshLimitResult ¶
type SetRefreshLimitResult struct {
}
type SetSourceAuthConfigRequest ¶
type SetSourceAuthConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 是否开启鉴权[on,off] (Optional) */
Enable *string `json:"enable"`
/* 回源为主/备[master,slave] (Optional) */
OriginRole *string `json:"originRole"`
/* 鉴权类型[oss,aws,tos],aws暂不支持 (Optional) */
AuthType *string `json:"authType"`
/* tos类型鉴权参数,authType为tos是不能为空 (Optional) */
TosAuthInfo *cdn.TOSAuthInfo `json:"tosAuthInfo"`
/* oss类型鉴权参数,authType为oss是不能为空 (Optional) */
OssAuthInfo *cdn.OSSAuthInfo `json:"ossAuthInfo"`
}
func NewSetSourceAuthConfigRequest ¶
func NewSetSourceAuthConfigRequest( domain string, ) *SetSourceAuthConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetSourceAuthConfigRequestWithAllParams ¶
func NewSetSourceAuthConfigRequestWithAllParams( domain string, enable *string, originRole *string, authType *string, tosAuthInfo *cdn.TOSAuthInfo, ossAuthInfo *cdn.OSSAuthInfo, ) *SetSourceAuthConfigRequest
* param domain: 用户域名 (Required) * param enable: 是否开启鉴权[on,off] (Optional) * param originRole: 回源为主/备[master,slave] (Optional) * param authType: 鉴权类型[oss,aws,tos],aws暂不支持 (Optional) * param tosAuthInfo: tos类型鉴权参数,authType为tos是不能为空 (Optional) * param ossAuthInfo: oss类型鉴权参数,authType为oss是不能为空 (Optional)
func NewSetSourceAuthConfigRequestWithoutParam ¶
func NewSetSourceAuthConfigRequestWithoutParam() *SetSourceAuthConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetSourceAuthConfigRequest) GetRegionId ¶
func (r SetSourceAuthConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetSourceAuthConfigRequest) SetAuthType ¶
func (r *SetSourceAuthConfigRequest) SetAuthType(authType string)
param authType: 鉴权类型[oss,aws,tos],aws暂不支持(Optional)
func (*SetSourceAuthConfigRequest) SetDomain ¶
func (r *SetSourceAuthConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetSourceAuthConfigRequest) SetEnable ¶
func (r *SetSourceAuthConfigRequest) SetEnable(enable string)
param enable: 是否开启鉴权[on,off](Optional)
func (*SetSourceAuthConfigRequest) SetOriginRole ¶
func (r *SetSourceAuthConfigRequest) SetOriginRole(originRole string)
param originRole: 回源为主/备[master,slave](Optional)
func (*SetSourceAuthConfigRequest) SetOssAuthInfo ¶
func (r *SetSourceAuthConfigRequest) SetOssAuthInfo(ossAuthInfo *cdn.OSSAuthInfo)
param ossAuthInfo: oss类型鉴权参数,authType为oss是不能为空(Optional)
func (*SetSourceAuthConfigRequest) SetTosAuthInfo ¶
func (r *SetSourceAuthConfigRequest) SetTosAuthInfo(tosAuthInfo *cdn.TOSAuthInfo)
param tosAuthInfo: tos类型鉴权参数,authType为tos是不能为空(Optional)
type SetSourceAuthConfigResponse ¶
type SetSourceAuthConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetSourceAuthConfigResult `json:"result"`
}
type SetSourceAuthConfigResult ¶
type SetSourceAuthConfigResult struct {
TaskId string `json:"taskId"`
}
type SetSourceRequest ¶
type SetSourceRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 回源类型只能是[ips,domain,oss]中的一种 (Optional) */
SourceType *string `json:"sourceType"`
/* 回源方式,只能是[https,http]中的一种,默认http (Optional) */
BackSourceType *string `json:"backSourceType"`
/* 加速区域,必须是[mainland,nonMainland,all]中的一种,分别代表大陆,海外+中国港澳台,全球 (Optional) */
AccelerateRegion *string `json:"accelerateRegion"`
/* (Optional) */
IpSource []cdn.IpSourceInfo `json:"ipSource"`
/* (Optional) */
DomainSource []cdn.DomainSourceInfo `json:"domainSource"`
/* oss回源域名 (Optional) */
OssSource *string `json:"ossSource"`
/* 默认回源host (Optional) */
DefaultSourceHost *string `json:"defaultSourceHost"`
}
func NewSetSourceRequest ¶
func NewSetSourceRequest( domain string, ) *SetSourceRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetSourceRequestWithAllParams ¶
func NewSetSourceRequestWithAllParams( domain string, sourceType *string, backSourceType *string, accelerateRegion *string, ipSource []cdn.IpSourceInfo, domainSource []cdn.DomainSourceInfo, ossSource *string, defaultSourceHost *string, ) *SetSourceRequest
* param domain: 用户域名 (Required) * param sourceType: 回源类型只能是[ips,domain,oss]中的一种 (Optional) * param backSourceType: 回源方式,只能是[https,http]中的一种,默认http (Optional) * param accelerateRegion: 加速区域,必须是[mainland,nonMainland,all]中的一种,分别代表大陆,海外+中国港澳台,全球 (Optional) * param ipSource: (Optional) * param domainSource: (Optional) * param ossSource: oss回源域名 (Optional) * param defaultSourceHost: 默认回源host (Optional)
func NewSetSourceRequestWithoutParam ¶
func NewSetSourceRequestWithoutParam() *SetSourceRequest
This constructor has better compatible ability when API parameters changed
func (SetSourceRequest) GetRegionId ¶
func (r SetSourceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetSourceRequest) SetAccelerateRegion ¶
func (r *SetSourceRequest) SetAccelerateRegion(accelerateRegion string)
param accelerateRegion: 加速区域,必须是[mainland,nonMainland,all]中的一种,分别代表大陆,海外+中国港澳台,全球(Optional)
func (*SetSourceRequest) SetBackSourceType ¶
func (r *SetSourceRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源方式,只能是[https,http]中的一种,默认http(Optional)
func (*SetSourceRequest) SetDefaultSourceHost ¶
func (r *SetSourceRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: 默认回源host(Optional)
func (*SetSourceRequest) SetDomain ¶
func (r *SetSourceRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetSourceRequest) SetDomainSource ¶
func (r *SetSourceRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*SetSourceRequest) SetIpSource ¶
func (r *SetSourceRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*SetSourceRequest) SetOssSource ¶
func (r *SetSourceRequest) SetOssSource(ossSource string)
param ossSource: oss回源域名(Optional)
func (*SetSourceRequest) SetSourceType ¶
func (r *SetSourceRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain,oss]中的一种(Optional)
type SetSourceResponse ¶
type SetSourceResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetSourceResult `json:"result"`
}
type SetSourceResult ¶
type SetSourceResult struct {
TaskId string `json:"taskId"`
}
type SetUserAgentConfigRequest ¶
type SetUserAgentConfigRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* userAgent类型,取值:block(黑名单),allow(白名单),默认为block (Optional) */
UserAgentType *string `json:"userAgentType"`
/* UA列表,如果userAgentList为空,则为全部删除 (Optional) */
UserAgentList []string `json:"userAgentList"`
}
func NewSetUserAgentConfigRequest ¶
func NewSetUserAgentConfigRequest( domain string, ) *SetUserAgentConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetUserAgentConfigRequestWithAllParams ¶
func NewSetUserAgentConfigRequestWithAllParams( domain string, userAgentType *string, userAgentList []string, ) *SetUserAgentConfigRequest
* param domain: 用户域名 (Required) * param userAgentType: userAgent类型,取值:block(黑名单),allow(白名单),默认为block (Optional) * param userAgentList: UA列表,如果userAgentList为空,则为全部删除 (Optional)
func NewSetUserAgentConfigRequestWithoutParam ¶
func NewSetUserAgentConfigRequestWithoutParam() *SetUserAgentConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetUserAgentConfigRequest) GetRegionId ¶
func (r SetUserAgentConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetUserAgentConfigRequest) SetDomain ¶
func (r *SetUserAgentConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetUserAgentConfigRequest) SetUserAgentList ¶
func (r *SetUserAgentConfigRequest) SetUserAgentList(userAgentList []string)
param userAgentList: UA列表,如果userAgentList为空,则为全部删除(Optional)
func (*SetUserAgentConfigRequest) SetUserAgentType ¶
func (r *SetUserAgentConfigRequest) SetUserAgentType(userAgentType string)
param userAgentType: userAgent类型,取值:block(黑名单),allow(白名单),默认为block(Optional)
type SetUserAgentConfigResponse ¶
type SetUserAgentConfigResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetUserAgentConfigResult `json:"result"`
}
type SetUserAgentConfigResult ¶
type SetUserAgentConfigResult struct {
}
type SetVideoDraftRequest ¶
type SetVideoDraftRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关取值[on,off] (Optional) */
Status *string `json:"status"`
}
func NewSetVideoDraftRequest ¶
func NewSetVideoDraftRequest( domain string, ) *SetVideoDraftRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetVideoDraftRequestWithAllParams ¶
func NewSetVideoDraftRequestWithAllParams( domain string, status *string, ) *SetVideoDraftRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetVideoDraftRequestWithoutParam ¶
func NewSetVideoDraftRequestWithoutParam() *SetVideoDraftRequest
This constructor has better compatible ability when API parameters changed
func (SetVideoDraftRequest) GetRegionId ¶
func (r SetVideoDraftRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetVideoDraftRequest) SetDomain ¶
func (r *SetVideoDraftRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetVideoDraftRequest) SetStatus ¶
func (r *SetVideoDraftRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetVideoDraftResponse ¶
type SetVideoDraftResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetVideoDraftResult `json:"result"`
}
type SetVideoDraftResult ¶
type SetVideoDraftResult struct {
}
type SetWafBlackRuleSwitchRequest ¶
type SetWafBlackRuleSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关状态, on:开启,off:关闭 (Optional) */
SwitchStatus *string `json:"switchStatus"`
}
func NewSetWafBlackRuleSwitchRequest ¶
func NewSetWafBlackRuleSwitchRequest( domain string, ) *SetWafBlackRuleSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetWafBlackRuleSwitchRequestWithAllParams ¶
func NewSetWafBlackRuleSwitchRequestWithAllParams( domain string, switchStatus *string, ) *SetWafBlackRuleSwitchRequest
* param domain: 用户域名 (Required) * param switchStatus: 开关状态, on:开启,off:关闭 (Optional)
func NewSetWafBlackRuleSwitchRequestWithoutParam ¶
func NewSetWafBlackRuleSwitchRequestWithoutParam() *SetWafBlackRuleSwitchRequest
This constructor has better compatible ability when API parameters changed
func (SetWafBlackRuleSwitchRequest) GetRegionId ¶
func (r SetWafBlackRuleSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetWafBlackRuleSwitchRequest) SetDomain ¶
func (r *SetWafBlackRuleSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetWafBlackRuleSwitchRequest) SetSwitchStatus ¶
func (r *SetWafBlackRuleSwitchRequest) SetSwitchStatus(switchStatus string)
param switchStatus: 开关状态, on:开启,off:关闭(Optional)
type SetWafBlackRuleSwitchResponse ¶
type SetWafBlackRuleSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetWafBlackRuleSwitchResult `json:"result"`
}
type SetWafBlackRuleSwitchResult ¶
type SetWafBlackRuleSwitchResult struct {
}
type SetWafSwitchRequest ¶
type SetWafSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关状态, on:开启,off:关闭 (Optional) */
SwitchStatus *string `json:"switchStatus"`
}
func NewSetWafSwitchRequest ¶
func NewSetWafSwitchRequest( domain string, ) *SetWafSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetWafSwitchRequestWithAllParams ¶
func NewSetWafSwitchRequestWithAllParams( domain string, switchStatus *string, ) *SetWafSwitchRequest
* param domain: 用户域名 (Required) * param switchStatus: 开关状态, on:开启,off:关闭 (Optional)
func NewSetWafSwitchRequestWithoutParam ¶
func NewSetWafSwitchRequestWithoutParam() *SetWafSwitchRequest
This constructor has better compatible ability when API parameters changed
func (SetWafSwitchRequest) GetRegionId ¶
func (r SetWafSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetWafSwitchRequest) SetDomain ¶
func (r *SetWafSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetWafSwitchRequest) SetSwitchStatus ¶
func (r *SetWafSwitchRequest) SetSwitchStatus(switchStatus string)
param switchStatus: 开关状态, on:开启,off:关闭(Optional)
type SetWafSwitchResponse ¶
type SetWafSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetWafSwitchResult `json:"result"`
}
type SetWafSwitchResult ¶
type SetWafSwitchResult struct {
}
type SetWafWhiteRuleSwitchRequest ¶
type SetWafWhiteRuleSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关状态, on:开启,off:关闭 (Optional) */
SwitchStatus *string `json:"switchStatus"`
}
func NewSetWafWhiteRuleSwitchRequest ¶
func NewSetWafWhiteRuleSwitchRequest( domain string, ) *SetWafWhiteRuleSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetWafWhiteRuleSwitchRequestWithAllParams ¶
func NewSetWafWhiteRuleSwitchRequestWithAllParams( domain string, switchStatus *string, ) *SetWafWhiteRuleSwitchRequest
* param domain: 用户域名 (Required) * param switchStatus: 开关状态, on:开启,off:关闭 (Optional)
func NewSetWafWhiteRuleSwitchRequestWithoutParam ¶
func NewSetWafWhiteRuleSwitchRequestWithoutParam() *SetWafWhiteRuleSwitchRequest
This constructor has better compatible ability when API parameters changed
func (SetWafWhiteRuleSwitchRequest) GetRegionId ¶
func (r SetWafWhiteRuleSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetWafWhiteRuleSwitchRequest) SetDomain ¶
func (r *SetWafWhiteRuleSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetWafWhiteRuleSwitchRequest) SetSwitchStatus ¶
func (r *SetWafWhiteRuleSwitchRequest) SetSwitchStatus(switchStatus string)
param switchStatus: 开关状态, on:开启,off:关闭(Optional)
type SetWafWhiteRuleSwitchResponse ¶
type SetWafWhiteRuleSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetWafWhiteRuleSwitchResult `json:"result"`
}
type SetWafWhiteRuleSwitchResult ¶
type SetWafWhiteRuleSwitchResult struct {
}
type SetWebProtectSwitchRequest ¶
type SetWebProtectSwitchRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 开关状态, on:开启,off:关闭 (Optional) */
SwitchStatus *string `json:"switchStatus"`
}
func NewSetWebProtectSwitchRequest ¶
func NewSetWebProtectSwitchRequest( domain string, ) *SetWebProtectSwitchRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetWebProtectSwitchRequestWithAllParams ¶
func NewSetWebProtectSwitchRequestWithAllParams( domain string, switchStatus *string, ) *SetWebProtectSwitchRequest
* param domain: 用户域名 (Required) * param switchStatus: 开关状态, on:开启,off:关闭 (Optional)
func NewSetWebProtectSwitchRequestWithoutParam ¶
func NewSetWebProtectSwitchRequestWithoutParam() *SetWebProtectSwitchRequest
This constructor has better compatible ability when API parameters changed
func (SetWebProtectSwitchRequest) GetRegionId ¶
func (r SetWebProtectSwitchRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetWebProtectSwitchRequest) SetDomain ¶
func (r *SetWebProtectSwitchRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetWebProtectSwitchRequest) SetSwitchStatus ¶
func (r *SetWebProtectSwitchRequest) SetSwitchStatus(switchStatus string)
param switchStatus: 开关状态, on:开启,off:关闭(Optional)
type SetWebProtectSwitchResponse ¶
type SetWebProtectSwitchResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SetWebProtectSwitchResult `json:"result"`
}
type SetWebProtectSwitchResult ¶
type SetWebProtectSwitchResult struct {
}
type SpeedLimitRequest ¶
type SpeedLimitRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 限速值,单位为KB/s,取值范围[1,20480] (Optional) */
LimitRate *int `json:"limitRate"`
}
func NewSpeedLimitRequest ¶
func NewSpeedLimitRequest( domain string, ) *SpeedLimitRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSpeedLimitRequestWithAllParams ¶
func NewSpeedLimitRequestWithAllParams( domain string, limitRate *int, ) *SpeedLimitRequest
* param domain: 用户域名 (Required) * param limitRate: 限速值,单位为KB/s,取值范围[1,20480] (Optional)
func NewSpeedLimitRequestWithoutParam ¶
func NewSpeedLimitRequestWithoutParam() *SpeedLimitRequest
This constructor has better compatible ability when API parameters changed
func (SpeedLimitRequest) GetRegionId ¶
func (r SpeedLimitRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SpeedLimitRequest) SetDomain ¶
func (r *SpeedLimitRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SpeedLimitRequest) SetLimitRate ¶
func (r *SpeedLimitRequest) SetLimitRate(limitRate int)
param limitRate: 限速值,单位为KB/s,取值范围[1,20480](Optional)
type SpeedLimitResponse ¶
type SpeedLimitResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result SpeedLimitResult `json:"result"`
}
type SpeedLimitResult ¶
type SpeedLimitResult struct {
}
type StartDomainRequest ¶
type StartDomainRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewStartDomainRequest ¶
func NewStartDomainRequest( domain string, ) *StartDomainRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStartDomainRequestWithAllParams ¶
func NewStartDomainRequestWithAllParams( domain string, ) *StartDomainRequest
* param domain: 用户域名 (Required)
func NewStartDomainRequestWithoutParam ¶
func NewStartDomainRequestWithoutParam() *StartDomainRequest
This constructor has better compatible ability when API parameters changed
func (StartDomainRequest) GetRegionId ¶
func (r StartDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StartDomainRequest) SetDomain ¶
func (r *StartDomainRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type StartDomainResponse ¶
type StartDomainResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StartDomainResult `json:"result"`
}
type StartDomainResult ¶
type StartDomainResult struct {
}
type StopDomainRequest ¶
type StopDomainRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewStopDomainRequest ¶
func NewStopDomainRequest( domain string, ) *StopDomainRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopDomainRequestWithAllParams ¶
func NewStopDomainRequestWithAllParams( domain string, ) *StopDomainRequest
* param domain: 用户域名 (Required)
func NewStopDomainRequestWithoutParam ¶
func NewStopDomainRequestWithoutParam() *StopDomainRequest
This constructor has better compatible ability when API parameters changed
func (StopDomainRequest) GetRegionId ¶
func (r StopDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopDomainRequest) SetDomain ¶
func (r *StopDomainRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type StopDomainResponse ¶
type StopDomainResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StopDomainResult `json:"result"`
}
type StopDomainResult ¶
type StopDomainResult struct {
}
type StopMonitorRequest ¶
type StopMonitorRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
}
func NewStopMonitorRequest ¶
func NewStopMonitorRequest( domain string, ) *StopMonitorRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopMonitorRequestWithAllParams ¶
func NewStopMonitorRequestWithAllParams( domain string, ) *StopMonitorRequest
* param domain: 用户域名 (Required)
func NewStopMonitorRequestWithoutParam ¶
func NewStopMonitorRequestWithoutParam() *StopMonitorRequest
This constructor has better compatible ability when API parameters changed
func (StopMonitorRequest) GetRegionId ¶
func (r StopMonitorRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopMonitorRequest) SetDomain ¶
func (r *StopMonitorRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type StopMonitorResponse ¶
type StopMonitorResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StopMonitorResult `json:"result"`
}
type StopMonitorResult ¶
type StopMonitorResult struct {
}
type StopPrefetchTaskRequest ¶
type StopPrefetchTaskRequest struct {
core.JDCloudRequest
/* 待停止预热的url (Optional) */
Urls []string `json:"urls"`
/* 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个 (Optional) */
Region *string `json:"region"`
/* 运营商[ct uni cm]中的一个,分别代表电信 联通 移动 (Optional) */
Isp *string `json:"isp"`
}
func NewStopPrefetchTaskRequest ¶
func NewStopPrefetchTaskRequest() *StopPrefetchTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewStopPrefetchTaskRequestWithAllParams ¶
func NewStopPrefetchTaskRequestWithAllParams( urls []string, region *string, isp *string, ) *StopPrefetchTaskRequest
* param urls: 待停止预热的url (Optional) * param region: 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个 (Optional) * param isp: 运营商[ct uni cm]中的一个,分别代表电信 联通 移动 (Optional)
func NewStopPrefetchTaskRequestWithoutParam ¶
func NewStopPrefetchTaskRequestWithoutParam() *StopPrefetchTaskRequest
This constructor has better compatible ability when API parameters changed
func (StopPrefetchTaskRequest) GetRegionId ¶
func (r StopPrefetchTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopPrefetchTaskRequest) SetIsp ¶
func (r *StopPrefetchTaskRequest) SetIsp(isp string)
param isp: 运营商[ct uni cm]中的一个,分别代表电信 联通 移动(Optional)
func (*StopPrefetchTaskRequest) SetRegion ¶
func (r *StopPrefetchTaskRequest) SetRegion(region string)
param region: 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个(Optional)
func (*StopPrefetchTaskRequest) SetUrls ¶
func (r *StopPrefetchTaskRequest) SetUrls(urls []string)
param urls: 待停止预热的url(Optional)
type StopPrefetchTaskResponse ¶
type StopPrefetchTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result StopPrefetchTaskResult `json:"result"`
}
type StopPrefetchTaskResult ¶
type StopPrefetchTaskResult struct {
}
type UpdateCCProtectRuleRequest ¶
type UpdateCCProtectRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 需要修改的规则ID */
Id string `json:"id"`
/* null (Optional) */
Uri *string `json:"uri"`
/* null (Optional) */
DetectPeriod *int `json:"detectPeriod"`
/* null (Optional) */
SingleIpLimit *int `json:"singleIpLimit"`
/* null (Optional) */
BlockType *int `json:"blockType"`
/* null (Optional) */
BlockTime *int `json:"blockTime"`
}
func NewUpdateCCProtectRuleRequest ¶
func NewUpdateCCProtectRuleRequest( domain string, id string, ) *UpdateCCProtectRuleRequest
* param domain: 用户域名 (Required) * param id: 需要修改的规则ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCCProtectRuleRequestWithAllParams ¶
func NewUpdateCCProtectRuleRequestWithAllParams( domain string, id string, uri *string, detectPeriod *int, singleIpLimit *int, blockType *int, blockTime *int, ) *UpdateCCProtectRuleRequest
* param domain: 用户域名 (Required) * param id: 需要修改的规则ID (Required) * param uri: null (Optional) * param detectPeriod: null (Optional) * param singleIpLimit: null (Optional) * param blockType: null (Optional) * param blockTime: null (Optional)
func NewUpdateCCProtectRuleRequestWithoutParam ¶
func NewUpdateCCProtectRuleRequestWithoutParam() *UpdateCCProtectRuleRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCCProtectRuleRequest) GetRegionId ¶
func (r UpdateCCProtectRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCCProtectRuleRequest) SetBlockTime ¶
func (r *UpdateCCProtectRuleRequest) SetBlockTime(blockTime int)
param blockTime: null(Optional)
func (*UpdateCCProtectRuleRequest) SetBlockType ¶
func (r *UpdateCCProtectRuleRequest) SetBlockType(blockType int)
param blockType: null(Optional)
func (*UpdateCCProtectRuleRequest) SetDetectPeriod ¶
func (r *UpdateCCProtectRuleRequest) SetDetectPeriod(detectPeriod int)
param detectPeriod: null(Optional)
func (*UpdateCCProtectRuleRequest) SetDomain ¶
func (r *UpdateCCProtectRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*UpdateCCProtectRuleRequest) SetId ¶
func (r *UpdateCCProtectRuleRequest) SetId(id string)
param id: 需要修改的规则ID(Required)
func (*UpdateCCProtectRuleRequest) SetSingleIpLimit ¶
func (r *UpdateCCProtectRuleRequest) SetSingleIpLimit(singleIpLimit int)
param singleIpLimit: null(Optional)
func (*UpdateCCProtectRuleRequest) SetUri ¶
func (r *UpdateCCProtectRuleRequest) SetUri(uri string)
param uri: null(Optional)
type UpdateCCProtectRuleResponse ¶
type UpdateCCProtectRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateCCProtectRuleResult `json:"result"`
}
type UpdateCCProtectRuleResult ¶
type UpdateCCProtectRuleResult struct {
}
type UpdateCacheRuleRequest ¶
type UpdateCacheRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 此条配置的权重值, 取值范围为1-10,1最大 (Optional) */
Weight *int `json:"weight"`
/* 缓存时间,单位秒,中国境内加速域名最长可配置2年,中国境外/全球加速域名最长可配置1年 (Optional) */
Ttl *int64 `json:"ttl"`
/* 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) */
Contents *string `json:"contents"`
/* 缓存方式:0、不缓存,1自定义 (Optional) */
CacheType *int `json:"cacheType"`
/* 缓存规则配置ID (Optional) */
ConfigId *int64 `json:"configId"`
}
func NewUpdateCacheRuleRequest ¶
func NewUpdateCacheRuleRequest( domain string, ) *UpdateCacheRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCacheRuleRequestWithAllParams ¶
func NewUpdateCacheRuleRequestWithAllParams( domain string, weight *int, ttl *int64, contents *string, cacheType *int, configId *int64, ) *UpdateCacheRuleRequest
* param domain: 用户域名 (Required) * param weight: 此条配置的权重值, 取值范围为1-10,1最大 (Optional) * param ttl: 缓存时间,单位秒,中国境内加速域名最长可配置2年,中国境外/全球加速域名最长可配置1年 (Optional) * param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) * param cacheType: 缓存方式:0、不缓存,1自定义 (Optional) * param configId: 缓存规则配置ID (Optional)
func NewUpdateCacheRuleRequestWithoutParam ¶
func NewUpdateCacheRuleRequestWithoutParam() *UpdateCacheRuleRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCacheRuleRequest) GetRegionId ¶
func (r UpdateCacheRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCacheRuleRequest) SetCacheType ¶
func (r *UpdateCacheRuleRequest) SetCacheType(cacheType int)
param cacheType: 缓存方式:0、不缓存,1自定义(Optional)
func (*UpdateCacheRuleRequest) SetConfigId ¶
func (r *UpdateCacheRuleRequest) SetConfigId(configId int64)
param configId: 缓存规则配置ID(Optional)
func (*UpdateCacheRuleRequest) SetContents ¶
func (r *UpdateCacheRuleRequest) SetContents(contents string)
param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg(Optional)
func (*UpdateCacheRuleRequest) SetDomain ¶
func (r *UpdateCacheRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*UpdateCacheRuleRequest) SetTtl ¶
func (r *UpdateCacheRuleRequest) SetTtl(ttl int64)
param ttl: 缓存时间,单位秒,中国境内加速域名最长可配置2年,中国境外/全球加速域名最长可配置1年(Optional)
func (*UpdateCacheRuleRequest) SetWeight ¶
func (r *UpdateCacheRuleRequest) SetWeight(weight int)
param weight: 此条配置的权重值, 取值范围为1-10,1最大(Optional)
type UpdateCacheRuleResponse ¶
type UpdateCacheRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateCacheRuleResult `json:"result"`
}
type UpdateCacheRuleResult ¶
type UpdateCacheRuleResult struct {
}
type UpdateDomainGroupRequest ¶
type UpdateDomainGroupRequest struct {
core.JDCloudRequest
/* 域名组id */
Id int `json:"id"`
/* 域名组内域名,包含主域名 (Optional) */
Domains []string `json:"domains"`
/* 主域名,开启共享缓存时必传 (Optional) */
PrimaryDomain *string `json:"primaryDomain"`
ShareCache *string `json:"shareCache"`
/* (Optional) */
DomainGroupName *string `json:"domainGroupName"`
}
func NewUpdateDomainGroupRequest ¶
func NewUpdateDomainGroupRequest( id int, ) *UpdateDomainGroupRequest
* param id: 域名组id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateDomainGroupRequestWithAllParams ¶
func NewUpdateDomainGroupRequestWithAllParams( id int, domains []string, primaryDomain *string, shareCache *string, domainGroupName *string, ) *UpdateDomainGroupRequest
* param id: 域名组id (Required) * param domains: 域名组内域名,包含主域名 (Optional) * param primaryDomain: 主域名,开启共享缓存时必传 (Optional) * param shareCache: 是否共享内存,共享缓存仅对中国境内加速域名生效 (Optional) * param domainGroupName: (Optional)
func NewUpdateDomainGroupRequestWithoutParam ¶
func NewUpdateDomainGroupRequestWithoutParam() *UpdateDomainGroupRequest
This constructor has better compatible ability when API parameters changed
func (UpdateDomainGroupRequest) GetRegionId ¶
func (r UpdateDomainGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateDomainGroupRequest) SetDomainGroupName ¶
func (r *UpdateDomainGroupRequest) SetDomainGroupName(domainGroupName string)
param domainGroupName: (Optional)
func (*UpdateDomainGroupRequest) SetDomains ¶
func (r *UpdateDomainGroupRequest) SetDomains(domains []string)
param domains: 域名组内域名,包含主域名(Optional)
func (*UpdateDomainGroupRequest) SetId ¶
func (r *UpdateDomainGroupRequest) SetId(id int)
param id: 域名组id(Required)
func (*UpdateDomainGroupRequest) SetPrimaryDomain ¶
func (r *UpdateDomainGroupRequest) SetPrimaryDomain(primaryDomain string)
param primaryDomain: 主域名,开启共享缓存时必传(Optional)
func (*UpdateDomainGroupRequest) SetShareCache ¶
func (r *UpdateDomainGroupRequest) SetShareCache(shareCache string)
param shareCache: 是否共享内存,共享缓存仅对中国境内加速域名生效(Optional)
type UpdateDomainGroupResponse ¶
type UpdateDomainGroupResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateDomainGroupResult `json:"result"`
}
type UpdateDomainGroupResult ¶
type UpdateDomainGroupResult struct {
}
type UpdatePrefetchTaskRequest ¶
type UpdatePrefetchTaskRequest struct {
core.JDCloudRequest
/* url (Optional) */
Url *string `json:"url"`
/* 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个 (Optional) */
Region *string `json:"region"`
/* 运营商[ct uni cm]中的一个,分别代表电信 联通 移动 (Optional) */
Isp *string `json:"isp"`
/* 副本数,介于1-1000之间 (Optional) */
CopyNum *int `json:"copyNum"`
}
func NewUpdatePrefetchTaskRequest ¶
func NewUpdatePrefetchTaskRequest() *UpdatePrefetchTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewUpdatePrefetchTaskRequestWithAllParams ¶
func NewUpdatePrefetchTaskRequestWithAllParams( url *string, region *string, isp *string, copyNum *int, ) *UpdatePrefetchTaskRequest
* param url: url (Optional) * param region: 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个 (Optional) * param isp: 运营商[ct uni cm]中的一个,分别代表电信 联通 移动 (Optional) * param copyNum: 副本数,介于1-1000之间 (Optional)
func NewUpdatePrefetchTaskRequestWithoutParam ¶
func NewUpdatePrefetchTaskRequestWithoutParam() *UpdatePrefetchTaskRequest
This constructor has better compatible ability when API parameters changed
func (UpdatePrefetchTaskRequest) GetRegionId ¶
func (r UpdatePrefetchTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdatePrefetchTaskRequest) SetCopyNum ¶
func (r *UpdatePrefetchTaskRequest) SetCopyNum(copyNum int)
param copyNum: 副本数,介于1-1000之间(Optional)
func (*UpdatePrefetchTaskRequest) SetIsp ¶
func (r *UpdatePrefetchTaskRequest) SetIsp(isp string)
param isp: 运营商[ct uni cm]中的一个,分别代表电信 联通 移动(Optional)
func (*UpdatePrefetchTaskRequest) SetRegion ¶
func (r *UpdatePrefetchTaskRequest) SetRegion(region string)
param region: 地区[huabei huadong dongbei huazhong huanan xinan xibei gangaotai]中的一个(Optional)
func (*UpdatePrefetchTaskRequest) SetUrl ¶
func (r *UpdatePrefetchTaskRequest) SetUrl(url string)
param url: url(Optional)
type UpdatePrefetchTaskResponse ¶
type UpdatePrefetchTaskResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdatePrefetchTaskResult `json:"result"`
}
type UpdatePrefetchTaskResult ¶
type UpdatePrefetchTaskResult struct {
}
type UpdateWafBlackRuleRequest ¶
type UpdateWafBlackRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 需要修改的黑名单ID */
Id string `json:"id"`
/* 黑名单类型, uri ip geo (Optional) */
RuleType *string `json:"ruleType"`
/* 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) */
MatchOp *int `json:"matchOp"`
/* 匹配值 (Optional) */
Val *string `json:"val"`
/* 1:forbidden,493封禁并返回自定义页面 2:redirect,302跳转 3: verify@captcha 4: verify@jscookie (Optional) */
AtOp *int `json:"atOp"`
/* action为1时为自定义页面名称,空值或缺省值default为默认页面,2时为跳转url,其他时无效 (Optional) */
AtVal *string `json:"atVal"`
}
func NewUpdateWafBlackRuleRequest ¶
func NewUpdateWafBlackRuleRequest( domain string, id string, ) *UpdateWafBlackRuleRequest
* param domain: 用户域名 (Required) * param id: 需要修改的黑名单ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateWafBlackRuleRequestWithAllParams ¶
func NewUpdateWafBlackRuleRequestWithAllParams( domain string, id string, ruleType *string, matchOp *int, val *string, atOp *int, atVal *string, ) *UpdateWafBlackRuleRequest
* param domain: 用户域名 (Required) * param id: 需要修改的黑名单ID (Required) * param ruleType: 黑名单类型, uri ip geo (Optional) * param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) * param val: 匹配值 (Optional) * param atOp: 1:forbidden,493封禁并返回自定义页面 2:redirect,302跳转 3: verify@captcha 4: verify@jscookie (Optional) * param atVal: action为1时为自定义页面名称,空值或缺省值default为默认页面,2时为跳转url,其他时无效 (Optional)
func NewUpdateWafBlackRuleRequestWithoutParam ¶
func NewUpdateWafBlackRuleRequestWithoutParam() *UpdateWafBlackRuleRequest
This constructor has better compatible ability when API parameters changed
func (UpdateWafBlackRuleRequest) GetRegionId ¶
func (r UpdateWafBlackRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateWafBlackRuleRequest) SetAtOp ¶
func (r *UpdateWafBlackRuleRequest) SetAtOp(atOp int)
param atOp: 1:forbidden,493封禁并返回自定义页面 2:redirect,302跳转 3: verify@captcha 4: verify@jscookie(Optional)
func (*UpdateWafBlackRuleRequest) SetAtVal ¶
func (r *UpdateWafBlackRuleRequest) SetAtVal(atVal string)
param atVal: action为1时为自定义页面名称,空值或缺省值default为默认页面,2时为跳转url,其他时无效(Optional)
func (*UpdateWafBlackRuleRequest) SetDomain ¶
func (r *UpdateWafBlackRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*UpdateWafBlackRuleRequest) SetId ¶
func (r *UpdateWafBlackRuleRequest) SetId(id string)
param id: 需要修改的黑名单ID(Required)
func (*UpdateWafBlackRuleRequest) SetMatchOp ¶
func (r *UpdateWafBlackRuleRequest) SetMatchOp(matchOp int)
param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀(Optional)
func (*UpdateWafBlackRuleRequest) SetRuleType ¶
func (r *UpdateWafBlackRuleRequest) SetRuleType(ruleType string)
param ruleType: 黑名单类型, uri ip geo(Optional)
func (*UpdateWafBlackRuleRequest) SetVal ¶
func (r *UpdateWafBlackRuleRequest) SetVal(val string)
param val: 匹配值(Optional)
type UpdateWafBlackRuleResponse ¶
type UpdateWafBlackRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateWafBlackRuleResult `json:"result"`
}
type UpdateWafBlackRuleResult ¶
type UpdateWafBlackRuleResult struct {
}
type UpdateWafWhiteRuleRequest ¶
type UpdateWafWhiteRuleRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 需要修改的白名单ID */
Id string `json:"id"`
/* 白名单类型, uri ip geo (Optional) */
RuleType *string `json:"ruleType"`
/* 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) */
MatchOp *int `json:"matchOp"`
/* 匹配值 (Optional) */
Val *string `json:"val"`
/* 后续处理 "waf" "cc" "deny"自由组合,空表示跳过后续所有阶段 (Optional) */
Actions []string `json:"actions"`
}
func NewUpdateWafWhiteRuleRequest ¶
func NewUpdateWafWhiteRuleRequest( domain string, id string, ) *UpdateWafWhiteRuleRequest
* param domain: 用户域名 (Required) * param id: 需要修改的白名单ID (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateWafWhiteRuleRequestWithAllParams ¶
func NewUpdateWafWhiteRuleRequestWithAllParams( domain string, id string, ruleType *string, matchOp *int, val *string, actions []string, ) *UpdateWafWhiteRuleRequest
* param domain: 用户域名 (Required) * param id: 需要修改的白名单ID (Required) * param ruleType: 白名单类型, uri ip geo (Optional) * param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀 (Optional) * param val: 匹配值 (Optional) * param actions: 后续处理 "waf" "cc" "deny"自由组合,空表示跳过后续所有阶段 (Optional)
func NewUpdateWafWhiteRuleRequestWithoutParam ¶
func NewUpdateWafWhiteRuleRequestWithoutParam() *UpdateWafWhiteRuleRequest
This constructor has better compatible ability when API parameters changed
func (UpdateWafWhiteRuleRequest) GetRegionId ¶
func (r UpdateWafWhiteRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateWafWhiteRuleRequest) SetActions ¶
func (r *UpdateWafWhiteRuleRequest) SetActions(actions []string)
param actions: 后续处理 "waf" "cc" "deny"自由组合,空表示跳过后续所有阶段(Optional)
func (*UpdateWafWhiteRuleRequest) SetDomain ¶
func (r *UpdateWafWhiteRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*UpdateWafWhiteRuleRequest) SetId ¶
func (r *UpdateWafWhiteRuleRequest) SetId(id string)
param id: 需要修改的白名单ID(Required)
func (*UpdateWafWhiteRuleRequest) SetMatchOp ¶
func (r *UpdateWafWhiteRuleRequest) SetMatchOp(matchOp int)
param matchOp: 匹配模式,uri类型有效,0=完全匹配 1=前缀匹配 2=包含 3=正则 4=大于 5=后缀(Optional)
func (*UpdateWafWhiteRuleRequest) SetRuleType ¶
func (r *UpdateWafWhiteRuleRequest) SetRuleType(ruleType string)
param ruleType: 白名单类型, uri ip geo(Optional)
func (*UpdateWafWhiteRuleRequest) SetVal ¶
func (r *UpdateWafWhiteRuleRequest) SetVal(val string)
param val: 匹配值(Optional)
type UpdateWafWhiteRuleResponse ¶
type UpdateWafWhiteRuleResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateWafWhiteRuleResult `json:"result"`
}
type UpdateWafWhiteRuleResult ¶
type UpdateWafWhiteRuleResult struct {
}
type UpdateWebProtectSettingsRequest ¶
type UpdateWebProtectSettingsRequest struct {
core.JDCloudRequest
/* 用户域名 */
Domain string `json:"domain"`
/* 0:拦截模式 (阻断forbidden 493跳到自定义页面) ,1-检测模式(观察notice) (Optional) */
WafMode *string `json:"wafMode"`
/* 规则策略等级 0为宽松, 1为正常, 2为严格 (Optional) */
WafLevel *int `json:"wafLevel"`
/* 拦截模式跳转的自定义页面名称, 缺省或default返回默认页面 (Optional) */
Redirection *string `json:"redirection"`
}
func NewUpdateWebProtectSettingsRequest ¶
func NewUpdateWebProtectSettingsRequest( domain string, ) *UpdateWebProtectSettingsRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateWebProtectSettingsRequestWithAllParams ¶
func NewUpdateWebProtectSettingsRequestWithAllParams( domain string, wafMode *string, wafLevel *int, redirection *string, ) *UpdateWebProtectSettingsRequest
* param domain: 用户域名 (Required) * param wafMode: 0:拦截模式 (阻断forbidden 493跳到自定义页面) ,1-检测模式(观察notice) (Optional) * param wafLevel: 规则策略等级 0为宽松, 1为正常, 2为严格 (Optional) * param redirection: 拦截模式跳转的自定义页面名称, 缺省或default返回默认页面 (Optional)
func NewUpdateWebProtectSettingsRequestWithoutParam ¶
func NewUpdateWebProtectSettingsRequestWithoutParam() *UpdateWebProtectSettingsRequest
This constructor has better compatible ability when API parameters changed
func (UpdateWebProtectSettingsRequest) GetRegionId ¶
func (r UpdateWebProtectSettingsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateWebProtectSettingsRequest) SetDomain ¶
func (r *UpdateWebProtectSettingsRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*UpdateWebProtectSettingsRequest) SetRedirection ¶
func (r *UpdateWebProtectSettingsRequest) SetRedirection(redirection string)
param redirection: 拦截模式跳转的自定义页面名称, 缺省或default返回默认页面(Optional)
func (*UpdateWebProtectSettingsRequest) SetWafLevel ¶
func (r *UpdateWebProtectSettingsRequest) SetWafLevel(wafLevel int)
param wafLevel: 规则策略等级 0为宽松, 1为正常, 2为严格(Optional)
func (*UpdateWebProtectSettingsRequest) SetWafMode ¶
func (r *UpdateWebProtectSettingsRequest) SetWafMode(wafMode string)
param wafMode: 0:拦截模式 (阻断forbidden 493跳到自定义页面) ,1-检测模式(观察notice)(Optional)
type UpdateWebProtectSettingsResponse ¶
type UpdateWebProtectSettingsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UpdateWebProtectSettingsResult `json:"result"`
}
type UpdateWebProtectSettingsResult ¶
type UpdateWebProtectSettingsResult struct {
}
type UploadCertRequest ¶
type UploadCertRequest struct {
core.JDCloudRequest
/* 证书名称 */
CertName string `json:"certName"`
/* 私钥 */
KeyFile string `json:"keyFile"`
/* 证书 */
CertFile string `json:"certFile"`
/* 证书别名 (Optional) */
AliasName *string `json:"aliasName"`
}
func NewUploadCertRequest ¶
func NewUploadCertRequest( certName string, keyFile string, certFile string, ) *UploadCertRequest
* param certName: 证书名称 (Required) * param keyFile: 私钥 (Required) * param certFile: 证书 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUploadCertRequestWithAllParams ¶
func NewUploadCertRequestWithAllParams( certName string, keyFile string, certFile string, aliasName *string, ) *UploadCertRequest
* param certName: 证书名称 (Required) * param keyFile: 私钥 (Required) * param certFile: 证书 (Required) * param aliasName: 证书别名 (Optional)
func NewUploadCertRequestWithoutParam ¶
func NewUploadCertRequestWithoutParam() *UploadCertRequest
This constructor has better compatible ability when API parameters changed
func (UploadCertRequest) GetRegionId ¶
func (r UploadCertRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UploadCertRequest) SetAliasName ¶
func (r *UploadCertRequest) SetAliasName(aliasName string)
param aliasName: 证书别名(Optional)
func (*UploadCertRequest) SetCertFile ¶
func (r *UploadCertRequest) SetCertFile(certFile string)
param certFile: 证书(Required)
func (*UploadCertRequest) SetCertName ¶
func (r *UploadCertRequest) SetCertName(certName string)
param certName: 证书名称(Required)
func (*UploadCertRequest) SetKeyFile ¶
func (r *UploadCertRequest) SetKeyFile(keyFile string)
param keyFile: 私钥(Required)
type UploadCertResponse ¶
type UploadCertResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result UploadCertResult `json:"result"`
}
type UploadCertResult ¶
type WafQueryAttackDetailsRequest ¶
type WafQueryAttackDetailsRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
/* 排序字段 (Optional) */
SortField *string `json:"sortField"`
/* 排序规则:desc,asc (Optional) */
SortRule *string `json:"sortRule"`
/* 页码,从1开始 (Optional) */
PageNumber *int `json:"pageNumber"`
/* 页大小,默认20 (Optional) */
PageSize *int `json:"pageSize"`
}
func NewWafQueryAttackDetailsRequest ¶
func NewWafQueryAttackDetailsRequest() *WafQueryAttackDetailsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewWafQueryAttackDetailsRequestWithAllParams ¶
func NewWafQueryAttackDetailsRequestWithAllParams( startTime *string, endTime *string, domain *string, sortField *string, sortRule *string, pageNumber *int, pageSize *int, ) *WafQueryAttackDetailsRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) * param sortField: 排序字段 (Optional) * param sortRule: 排序规则:desc,asc (Optional) * param pageNumber: 页码,从1开始 (Optional) * param pageSize: 页大小,默认20 (Optional)
func NewWafQueryAttackDetailsRequestWithoutParam ¶
func NewWafQueryAttackDetailsRequestWithoutParam() *WafQueryAttackDetailsRequest
This constructor has better compatible ability when API parameters changed
func (WafQueryAttackDetailsRequest) GetRegionId ¶
func (r WafQueryAttackDetailsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*WafQueryAttackDetailsRequest) SetDomain ¶
func (r *WafQueryAttackDetailsRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*WafQueryAttackDetailsRequest) SetEndTime ¶
func (r *WafQueryAttackDetailsRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*WafQueryAttackDetailsRequest) SetPageNumber ¶
func (r *WafQueryAttackDetailsRequest) SetPageNumber(pageNumber int)
param pageNumber: 页码,从1开始(Optional)
func (*WafQueryAttackDetailsRequest) SetPageSize ¶
func (r *WafQueryAttackDetailsRequest) SetPageSize(pageSize int)
param pageSize: 页大小,默认20(Optional)
func (*WafQueryAttackDetailsRequest) SetSortField ¶
func (r *WafQueryAttackDetailsRequest) SetSortField(sortField string)
param sortField: 排序字段(Optional)
func (*WafQueryAttackDetailsRequest) SetSortRule ¶
func (r *WafQueryAttackDetailsRequest) SetSortRule(sortRule string)
param sortRule: 排序规则:desc,asc(Optional)
func (*WafQueryAttackDetailsRequest) SetStartTime ¶
func (r *WafQueryAttackDetailsRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type WafQueryAttackDetailsResponse ¶
type WafQueryAttackDetailsResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result WafQueryAttackDetailsResult `json:"result"`
}
type WafQueryAttackDetailsResult ¶
type WafQueryAttackDetailsResult struct {
Total string `json:"total"`
AttackDetails []cdn.AttackDetail `json:"attackDetails"`
}
type WafQueryPvForAreaAndIpRequest ¶
type WafQueryPvForAreaAndIpRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
}
func NewWafQueryPvForAreaAndIpRequest ¶
func NewWafQueryPvForAreaAndIpRequest() *WafQueryPvForAreaAndIpRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewWafQueryPvForAreaAndIpRequestWithAllParams ¶
func NewWafQueryPvForAreaAndIpRequestWithAllParams( startTime *string, endTime *string, domain *string, ) *WafQueryPvForAreaAndIpRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional)
func NewWafQueryPvForAreaAndIpRequestWithoutParam ¶
func NewWafQueryPvForAreaAndIpRequestWithoutParam() *WafQueryPvForAreaAndIpRequest
This constructor has better compatible ability when API parameters changed
func (WafQueryPvForAreaAndIpRequest) GetRegionId ¶
func (r WafQueryPvForAreaAndIpRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*WafQueryPvForAreaAndIpRequest) SetDomain ¶
func (r *WafQueryPvForAreaAndIpRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*WafQueryPvForAreaAndIpRequest) SetEndTime ¶
func (r *WafQueryPvForAreaAndIpRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*WafQueryPvForAreaAndIpRequest) SetStartTime ¶
func (r *WafQueryPvForAreaAndIpRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type WafQueryPvForAreaAndIpResponse ¶
type WafQueryPvForAreaAndIpResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result WafQueryPvForAreaAndIpResult `json:"result"`
}
type WafQueryPvRequest ¶
type WafQueryPvRequest struct {
core.JDCloudRequest
/* 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
StartTime *string `json:"startTime"`
/* 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) */
EndTime *string `json:"endTime"`
/* 需要查询的域名, 必须为用户pin下有权限的域名 (Optional) */
Domain *string `json:"domain"`
}
func NewWafQueryPvRequest ¶
func NewWafQueryPvRequest() *WafQueryPvRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewWafQueryPvRequestWithAllParams ¶
func NewWafQueryPvRequestWithAllParams( startTime *string, endTime *string, domain *string, ) *WafQueryPvRequest
* param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z (Optional) * param domain: 需要查询的域名, 必须为用户pin下有权限的域名 (Optional)
func NewWafQueryPvRequestWithoutParam ¶
func NewWafQueryPvRequestWithoutParam() *WafQueryPvRequest
This constructor has better compatible ability when API parameters changed
func (WafQueryPvRequest) GetRegionId ¶
func (r WafQueryPvRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*WafQueryPvRequest) SetDomain ¶
func (r *WafQueryPvRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*WafQueryPvRequest) SetEndTime ¶
func (r *WafQueryPvRequest) SetEndTime(endTime string)
param endTime: 查询截止时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
func (*WafQueryPvRequest) SetStartTime ¶
func (r *WafQueryPvRequest) SetStartTime(startTime string)
param startTime: 查询起始时间,UTC时间,格式为:yyyy-MM-dd'T'HH:mm:ss'Z',示例:2018-10-21T10:00:00Z(Optional)
type WafQueryPvResponse ¶
type WafQueryPvResponse struct {
RequestID string `json:"requestId"`
Error core.ErrorResponse `json:"error"`
Result WafQueryPvResult `json:"result"`
}
Source Files
¶
- BatCreatePrefetchTask.go
- BatchCreate.go
- BatchCreateLiveDomain.go
- BatchDeleteDomainGroup.go
- BatchIpBlackList.go
- BatchSetExtraCacheTime.go
- CheckWhetherIpBelongToJCloud.go
- ConfigBackSourceOss.go
- ConfigBackSourcePath.go
- ConfigBackSourceRule.go
- ConfigBackSourceRules.go
- ConfigHttp2.go
- ConfigServiceNotice.go
- ConfigUrlRule.go
- CreateCCProtectRule.go
- CreateCacheRule.go
- CreateDomain.go
- CreateDomainGroup.go
- CreateForbiddenInfo.go
- CreateLiveDomainPrefecthTask.go
- CreateRefreshTask.go
- CreateRefreshTaskForCallback.go
- CreateRefreshTaskForCallbackV2.go
- CreateWafBlackRule.go
- CreateWafWhiteRule.go
- DelDomainTempInstance.go
- DeleteCCProtectRule.go
- DeleteCacheRule.go
- DeleteDomain.go
- DeleteExtraCacheTime.go
- DeleteForbiddenInfo.go
- DeleteForbiddenStream.go
- DeleteHttpHeader.go
- DeleteWafBlackRules.go
- DeleteWafWhiteRules.go
- DisableCCProtectRule.go
- DisableWafBlackRules.go
- DisableWafWhiteRules.go
- EnableCCProtectRule.go
- EnableWafBlackRules.go
- EnableWafWhiteRules.go
- ExecuteDomainCopy.go
- GetAllUpperNodeIpList.go
- GetDomainDetail.go
- GetDomainList.go
- GetDomainListByFilter.go
- GetSslCertDetail.go
- GetSslCertList.go
- ModifyDomainTempInst.go
- OperateIpBlackList.go
- OperateLiveDomainIpBlackList.go
- OperatePurgeTask.go
- OperateShareCache.go
- PreviewCertificate.go
- QueryAccesskeyConfig.go
- QueryAreaIspList.go
- QueryAreaIspListV2.go
- QueryAttackTypeCount.go
- QueryAvgBandwidthForPCdn.go
- QueryBackSourceOss.go
- QueryBackSourcePath.go
- QueryBackSourceRule.go
- QueryBackSourceRules.go
- QueryBand.go
- QueryBandWithArea.go
- QueryCCProtectRules.go
- QueryCCProtectSwitch.go
- QueryCdnUserQuota.go
- QueryCustomErrorPage.go
- QueryCustomizedDirBandWidth.go
- QueryDdosGraph.go
- QueryDefaultHttpHeaderKey.go
- QueryDeviceStatusForPCdn.go
- QueryDirBandwidth.go
- QueryDirStatsData.go
- QueryDomainAllConfigClassify.go
- QueryDomainConfig.go
- QueryDomainConfigStatus.go
- QueryDomainGroupDetail.go
- QueryDomainGroupList.go
- QueryDomainLog.go
- QueryDomainTempInst.go
- QueryDomainTempInstList.go
- QueryDomainTempProKeys.go
- QueryDomainsLog.go
- QueryDomainsNotInGroup.go
- QueryExtraCacheTime.go
- QueryFilterArgs.go
- QueryFollowRedirect.go
- QueryFollowSourceProtocol.go
- QueryForbiddenInfoList.go
- QueryGeoAreas.go
- QueryHttp2.go
- QueryHttpHeader.go
- QueryIpBlackList.go
- QueryIpBlackSettingStatus.go
- QueryJBoxAvgBandwidth.go
- QueryJDBoxStatisticsData.go
- QueryJDBoxStatisticsDataWithGroup.go
- QueryLiveDomainApps.go
- QueryLiveDomainDetail.go
- QueryLiveDomainIpBlackWhiteList.go
- QueryLivePrefetchTask.go
- QueryLiveStatisticsAreaDataGroupBy.go
- QueryLiveStatisticsData.go
- QueryLiveTrafficGroupSum.go
- QueryMixStatisticsData.go
- QueryMixStatisticsWithAreaData.go
- QueryMixTrafficGroupSum.go
- QueryMonitor.go
- QueryNetProtectionRules.go
- QueryNetProtectionRulesSwitch.go
- QueryOnlineBillingType.go
- QueryOssBuckets.go
- QueryPinCanIPType.go
- QueryPrefetchTask.go
- QueryPurgeTask.go
- QueryPushDomainORAppOrStream.go
- QueryRefreshLimit.go
- QueryRefreshTask.go
- QueryRefreshTaskById.go
- QueryRefreshTaskByIds.go
- QueryServiceIp.go
- QueryServiceNotice.go
- QueryStatisticsData.go
- QueryStatisticsDataGroupByArea.go
- QueryStatisticsDataGroupSum.go
- QueryStatisticsTopIp.go
- QueryStatisticsTopUrl.go
- QueryStreamInfo.go
- QueryUnForbiddenStatus.go
- QueryUrlRule.go
- QueryUserAgent.go
- QueryWafBlackRuleSwitch.go
- QueryWafRegions.go
- QueryWafSwitch.go
- QueryWafWhiteRuleSwitch.go
- QueryWebProtectSettings.go
- QueryWebProtectSwitch.go
- QuerywafBlackRules.go
- QuerywafWhiteRules.go
- SearchAttackLog.go
- SetAccelerateRegion.go
- SetAccesskeyConfig.go
- SetAuthConfig.go
- SetCCProtectSwitch.go
- SetCacheRules.go
- SetCustomErrorPage.go
- SetDomainConfig.go
- SetExtraCacheTime.go
- SetFilterArgs.go
- SetFollowRedirect.go
- SetFollowSourceProtocol.go
- SetGzip.go
- SetHttpHeader.go
- SetHttpType.go
- SetIgnoreQueryString.go
- SetIpBlackList.go
- SetLiveDomainAccessKey.go
- SetLiveDomainBackSource.go
- SetLiveDomainBackSourceHost.go
- SetLiveDomainIpBlackList.go
- SetLiveDomainRefer.go
- SetMonitor.go
- SetNetProtectionRules.go
- SetNetProtectionRulesSwitch.go
- SetOnlineBillingType.go
- SetProtocolConvert.go
- SetRange.go
- SetRefer.go
- SetRefreshLimit.go
- SetSource.go
- SetSourceAuthConfig.go
- SetUserAgentConfig.go
- SetVideoDraft.go
- SetWafBlackRuleSwitch.go
- SetWafSwitch.go
- SetWafWhiteRuleSwitch.go
- SetWebProtectSwitch.go
- SpeedLimit.go
- StartDomain.go
- StopDomain.go
- StopMonitor.go
- StopPrefetchTask.go
- UpdateCCProtectRule.go
- UpdateCacheRule.go
- UpdateDomainGroup.go
- UpdatePrefetchTask.go
- UpdateWafBlackRule.go
- UpdateWafWhiteRule.go
- UpdateWebProtectSettings.go
- UploadCert.go
- WafQueryAttackDetails.go
- WafQueryPv.go
- WafQueryPvForAreaAndIp.go