Documentation
¶
Index ¶
- type BatchCreateRequest
- func (r BatchCreateRequest) GetRegionId() 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)
- type BatchCreateResponse
- type BatchCreateResult
- type BatchDeleteDomainGroupRequest
- type BatchDeleteDomainGroupResponse
- type BatchDeleteDomainGroupResult
- 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) 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)
- type CreateDomainResponse
- type CreateDomainResult
- type CreateLiveDomainPrefecthTaskRequest
- func NewCreateLiveDomainPrefecthTaskRequest() *CreateLiveDomainPrefecthTaskRequest
- func NewCreateLiveDomainPrefecthTaskRequestWithAllParams(urlList []string, prefetchTime *int, action *string) *CreateLiveDomainPrefecthTaskRequest
- func NewCreateLiveDomainPrefecthTaskRequestWithoutParam() *CreateLiveDomainPrefecthTaskRequest
- type CreateLiveDomainPrefecthTaskResponse
- type CreateLiveDomainPrefecthTaskResult
- type CreateLiveDomainRequest
- func (r CreateLiveDomainRequest) GetRegionId() string
- func (r *CreateLiveDomainRequest) SetBackHttpType(backHttpType string)
- func (r *CreateLiveDomainRequest) SetBackSourceType(backSourceType string)
- func (r *CreateLiveDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
- func (r *CreateLiveDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
- func (r *CreateLiveDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
- func (r *CreateLiveDomainRequest) SetPlayDomain(playDomain string)
- func (r *CreateLiveDomainRequest) SetPublishDomain(publishDomain string)
- func (r *CreateLiveDomainRequest) SetSiteType(siteType string)
- func (r *CreateLiveDomainRequest) SetSourceType(sourceType string)
- type CreateLiveDomainResponse
- type CreateLiveDomainResult
- type DeleteCacheRuleRequest
- type DeleteCacheRuleResponse
- type DeleteCacheRuleResult
- type DeleteDomainRequest
- type DeleteDomainResponse
- type DeleteDomainResult
- type DeleteForbiddenStreamRequest
- type DeleteForbiddenStreamResponse
- type DeleteForbiddenStreamResult
- type DeleteHttpHeaderRequest
- type DeleteHttpHeaderResponse
- type DeleteHttpHeaderResult
- 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) 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) 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 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 OperateShareCacheRequest
- type OperateShareCacheResponse
- type OperateShareCacheResult
- type PreviewCertificateRequest
- type PreviewCertificateResponse
- type PreviewCertificateResult
- type QueryAccesskeyConfigRequest
- type QueryAccesskeyConfigResponse
- type QueryAccesskeyConfigResult
- type QueryAreaIspListRequest
- type QueryAreaIspListResponse
- type QueryAreaIspListResult
- type QueryDefaultHttpHeaderKeyRequest
- type QueryDefaultHttpHeaderKeyResponse
- type QueryDefaultHttpHeaderKeyResult
- type QueryDomainConfigRequest
- type QueryDomainConfigResponse
- type QueryDomainConfigResult
- 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 QueryDomainsNotInGroupRequest
- type QueryDomainsNotInGroupResponse
- type QueryDomainsNotInGroupResult
- type QueryFollowRedirectRequest
- type QueryFollowRedirectResponse
- type QueryFollowRedirectResult
- type QueryFollowSourceProtocolRequest
- type QueryFollowSourceProtocolResponse
- type QueryFollowSourceProtocolResult
- type QueryHttpHeaderRequest
- type QueryHttpHeaderResponse
- type QueryHttpHeaderResult
- type QueryIpBlackListRequest
- type QueryIpBlackListResponse
- type QueryIpBlackListResult
- type QueryLiveDomainAppsRequest
- type QueryLiveDomainAppsResponse
- type QueryLiveDomainAppsResult
- type QueryLiveDomainDetailRequest
- type QueryLiveDomainDetailResponse
- type QueryLiveDomainDetailResult
- 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) 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) 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) 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) SetDomain(domain string)
- func (r *QueryMixStatisticsDataRequest) SetEndTime(endTime string)
- func (r *QueryMixStatisticsDataRequest) SetFields(fields string)
- func (r *QueryMixStatisticsDataRequest) SetIsp(isp string)
- func (r *QueryMixStatisticsDataRequest) SetPeriod(period 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) SetDomain(domain string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetEndTime(endTime string)
- func (r *QueryMixStatisticsWithAreaDataRequest) SetFields(fields 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) SetDomain(domain string)
- func (r *QueryMixTrafficGroupSumRequest) SetEndTime(endTime string)
- func (r *QueryMixTrafficGroupSumRequest) SetFields(fields string)
- func (r *QueryMixTrafficGroupSumRequest) SetGroupBy(groupBy 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 QueryOnlineBillingTypeRequest
- type QueryOnlineBillingTypeResponse
- type QueryOnlineBillingTypeResult
- type QueryOssBucketsRequest
- type QueryOssBucketsResponse
- type QueryOssBucketsResult
- 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 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) SetArea(area 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) SetIsp(isp string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetOrigin(origin string)
- func (r *QueryStatisticsDataGroupByAreaRequest) SetPeriod(period 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) SetArea(area 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) SetIsp(isp string)
- func (r *QueryStatisticsDataGroupSumRequest) SetOrigin(origin string)
- 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) SetArea(area string)
- func (r *QueryStatisticsDataRequest) SetDomain(domain string)
- func (r *QueryStatisticsDataRequest) SetEndTime(endTime string)
- func (r *QueryStatisticsDataRequest) SetFields(fields string)
- func (r *QueryStatisticsDataRequest) SetIsp(isp string)
- func (r *QueryStatisticsDataRequest) SetOrigin(origin string)
- 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 QueryUserAgentRequest
- type QueryUserAgentResponse
- type QueryUserAgentResult
- 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 SetFollowRedirectRequest
- type SetFollowRedirectResponse
- type SetFollowRedirectResult
- type SetFollowSourceProtocolRequest
- type SetFollowSourceProtocolResponse
- type SetFollowSourceProtocolResult
- type SetHttpHeaderRequest
- func (r SetHttpHeaderRequest) GetRegionId() string
- func (r *SetHttpHeaderRequest) SetDomain(domain string)
- 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) 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)
- 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
- 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 SetOnlineBillingTypeRequest
- type SetOnlineBillingTypeResponse
- type SetOnlineBillingTypeResult
- type SetProtocolConvertRequest
- func (r SetProtocolConvertRequest) GetRegionId() 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)
- 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 SetSourceRequest
- func (r SetSourceRequest) GetRegionId() 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 StartDomainRequest
- type StartDomainResponse
- type StartDomainResult
- type StopDomainRequest
- type StopDomainResponse
- type StopDomainResult
- type StopMonitorRequest
- type StopMonitorResponse
- type StopMonitorResult
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateRequest ¶ added in v1.3.0
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"` }
func NewBatchCreateRequest ¶ added in v1.3.0
func NewBatchCreateRequest() *BatchCreateRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewBatchCreateRequestWithAllParams ¶ added in v1.3.0
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, ) *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)
func NewBatchCreateRequestWithoutParam ¶ added in v1.3.0
func NewBatchCreateRequestWithoutParam() *BatchCreateRequest
This constructor has better compatible ability when API parameters changed
func (BatchCreateRequest) GetRegionId ¶ added in v1.3.0
func (r BatchCreateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchCreateRequest) SetAvgFileSize ¶ added in v1.3.0
func (r *BatchCreateRequest) SetAvgFileSize(avgFileSize int64)
param avgFileSize: (Optional)
func (*BatchCreateRequest) SetBackSourceType ¶ added in v1.3.0
func (r *BatchCreateRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源方式,只能是[https,http]中的一种,默认http(Optional)
func (*BatchCreateRequest) SetCdnType ¶ added in v1.3.0
func (r *BatchCreateRequest) SetCdnType(cdnType string)
param cdnType: 点播域名的类型只能是[vod,download,web]中的一种(Optional)
func (*BatchCreateRequest) SetDailyBandWidth ¶ added in v1.3.0
func (r *BatchCreateRequest) SetDailyBandWidth(dailyBandWidth int64)
param dailyBandWidth: 日带宽(Mbps)(Optional)
func (*BatchCreateRequest) SetDefaultSourceHost ¶ added in v1.3.0
func (r *BatchCreateRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: (Optional)
func (*BatchCreateRequest) SetDomainSource ¶ added in v1.3.0
func (r *BatchCreateRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*BatchCreateRequest) SetDomains ¶ added in v1.3.0
func (r *BatchCreateRequest) SetDomains(domains []string)
param domains: (Optional)
func (*BatchCreateRequest) SetHttpType ¶ added in v1.3.0
func (r *BatchCreateRequest) SetHttpType(httpType string)
param httpType: (Optional)
func (*BatchCreateRequest) SetIpSource ¶ added in v1.3.0
func (r *BatchCreateRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*BatchCreateRequest) SetMaxFileSize ¶ added in v1.3.0
func (r *BatchCreateRequest) SetMaxFileSize(maxFileSize int64)
param maxFileSize: (Optional)
func (*BatchCreateRequest) SetMinFileSize ¶ added in v1.3.0
func (r *BatchCreateRequest) SetMinFileSize(minFileSize int64)
param minFileSize: (Optional)
func (*BatchCreateRequest) SetOssSource ¶ added in v1.3.0
func (r *BatchCreateRequest) SetOssSource(ossSource string)
param ossSource: (Optional)
func (*BatchCreateRequest) SetQuaility ¶ added in v1.3.0
func (r *BatchCreateRequest) SetQuaility(quaility string)
param quaility: 服务质量,只能是[good,general]中的一种,默认为good(Optional)
func (*BatchCreateRequest) SetSourceType ¶ added in v1.3.0
func (r *BatchCreateRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain,oss]中的一种(Optional)
func (*BatchCreateRequest) SetSumFileSize ¶ added in v1.3.0
func (r *BatchCreateRequest) SetSumFileSize(sumFileSize int64)
param sumFileSize: (Optional)
type BatchCreateResponse ¶ added in v1.3.0
type BatchCreateResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result BatchCreateResult `json:"result"` }
type BatchCreateResult ¶ added in v1.3.0
type BatchCreateResult struct { }
type BatchDeleteDomainGroupRequest ¶ added in v1.3.0
type BatchDeleteDomainGroupRequest struct { core.JDCloudRequest /* */ Ids []int64 `json:"ids"` }
func NewBatchDeleteDomainGroupRequest ¶ added in v1.3.0
func NewBatchDeleteDomainGroupRequest( ids []int64, ) *BatchDeleteDomainGroupRequest
* param ids: (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewBatchDeleteDomainGroupRequestWithAllParams ¶ added in v1.3.0
func NewBatchDeleteDomainGroupRequestWithAllParams( ids []int64, ) *BatchDeleteDomainGroupRequest
* param ids: (Required)
func NewBatchDeleteDomainGroupRequestWithoutParam ¶ added in v1.3.0
func NewBatchDeleteDomainGroupRequestWithoutParam() *BatchDeleteDomainGroupRequest
This constructor has better compatible ability when API parameters changed
func (BatchDeleteDomainGroupRequest) GetRegionId ¶ added in v1.3.0
func (r BatchDeleteDomainGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*BatchDeleteDomainGroupRequest) SetIds ¶ added in v1.3.0
func (r *BatchDeleteDomainGroupRequest) SetIds(ids []int64)
param ids: (Required)
type BatchDeleteDomainGroupResponse ¶ added in v1.3.0
type BatchDeleteDomainGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result BatchDeleteDomainGroupResult `json:"result"` }
type BatchDeleteDomainGroupResult ¶ added in v1.3.0
type BatchDeleteDomainGroupResult struct { }
type CreateCacheRuleRequest ¶ added in v1.3.0
type CreateCacheRuleRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 此条配置的权重值, 取值范围为1-10,1最大 (Optional) */ Weight *int `json:"weight"` /* 缓存时间,单位秒 (Optional) */ Ttl *int64 `json:"ttl"` /* 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) */ Contents *string `json:"contents"` /* 缓存方式:0、不缓存,1自定义 (Optional) */ CacheType *int `json:"cacheType"` }
func NewCreateCacheRuleRequest ¶ added in v1.3.0
func NewCreateCacheRuleRequest( domain string, ) *CreateCacheRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateCacheRuleRequestWithAllParams ¶ added in v1.3.0
func NewCreateCacheRuleRequestWithAllParams( domain string, weight *int, ttl *int64, contents *string, cacheType *int, ) *CreateCacheRuleRequest
* param domain: 用户域名 (Required) * param weight: 此条配置的权重值, 取值范围为1-10,1最大 (Optional) * param ttl: 缓存时间,单位秒 (Optional) * param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) * param cacheType: 缓存方式:0、不缓存,1自定义 (Optional)
func NewCreateCacheRuleRequestWithoutParam ¶ added in v1.3.0
func NewCreateCacheRuleRequestWithoutParam() *CreateCacheRuleRequest
This constructor has better compatible ability when API parameters changed
func (CreateCacheRuleRequest) GetRegionId ¶ added in v1.3.0
func (r CreateCacheRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateCacheRuleRequest) SetCacheType ¶ added in v1.3.0
func (r *CreateCacheRuleRequest) SetCacheType(cacheType int)
param cacheType: 缓存方式:0、不缓存,1自定义(Optional)
func (*CreateCacheRuleRequest) SetContents ¶ added in v1.3.0
func (r *CreateCacheRuleRequest) SetContents(contents string)
param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg(Optional)
func (*CreateCacheRuleRequest) SetDomain ¶ added in v1.3.0
func (r *CreateCacheRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateCacheRuleRequest) SetTtl ¶ added in v1.3.0
func (r *CreateCacheRuleRequest) SetTtl(ttl int64)
param ttl: 缓存时间,单位秒(Optional)
func (*CreateCacheRuleRequest) SetWeight ¶ added in v1.3.0
func (r *CreateCacheRuleRequest) SetWeight(weight int)
param weight: 此条配置的权重值, 取值范围为1-10,1最大(Optional)
type CreateCacheRuleResponse ¶ added in v1.3.0
type CreateCacheRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateCacheRuleResult `json:"result"` }
type CreateCacheRuleResult ¶ added in v1.3.0
type CreateCacheRuleResult struct {
ConfigId int64 `json:"configId"`
}
type CreateDomainGroupRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewCreateDomainGroupRequest() *CreateDomainGroupRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateDomainGroupRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewCreateDomainGroupRequestWithoutParam() *CreateDomainGroupRequest
This constructor has better compatible ability when API parameters changed
func (CreateDomainGroupRequest) GetRegionId ¶ added in v1.3.0
func (r CreateDomainGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateDomainGroupRequest) SetDomainGroupName ¶ added in v1.3.0
func (r *CreateDomainGroupRequest) SetDomainGroupName(domainGroupName string)
param domainGroupName: 域名组名称(Optional)
func (*CreateDomainGroupRequest) SetDomains ¶ added in v1.3.0
func (r *CreateDomainGroupRequest) SetDomains(domains []string)
param domains: 域名组内域名包含主域名(Optional)
func (*CreateDomainGroupRequest) SetPrimaryDomain ¶ added in v1.3.0
func (r *CreateDomainGroupRequest) SetPrimaryDomain(primaryDomain string)
param primaryDomain: 主域名,开启共享缓存时必传(Optional)
func (*CreateDomainGroupRequest) SetShareCache ¶ added in v1.3.0
func (r *CreateDomainGroupRequest) SetShareCache(shareCache string)
param shareCache: 是否共享内存(Optional)
type CreateDomainGroupResponse ¶ added in v1.3.0
type CreateDomainGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateDomainGroupResult `json:"result"` }
type CreateDomainGroupResult ¶ added in v1.3.0
type CreateDomainGroupResult struct { }
type CreateDomainRequest ¶ added in v1.3.0
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"` }
func NewCreateDomainRequest ¶ added in v1.3.0
func NewCreateDomainRequest( domain string, ) *CreateDomainRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewCreateDomainRequestWithAllParams ¶ added in v1.3.0
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, ) *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)
func NewCreateDomainRequestWithoutParam ¶ added in v1.3.0
func NewCreateDomainRequestWithoutParam() *CreateDomainRequest
This constructor has better compatible ability when API parameters changed
func (CreateDomainRequest) GetRegionId ¶ added in v1.3.0
func (r CreateDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateDomainRequest) SetAvgFileSize ¶ added in v1.3.0
func (r *CreateDomainRequest) SetAvgFileSize(avgFileSize int64)
param avgFileSize: (Optional)
func (*CreateDomainRequest) SetBackSourceType ¶ added in v1.3.0
func (r *CreateDomainRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源方式,只能是[https,http]中的一种,默认http(Optional)
func (*CreateDomainRequest) SetCdnType ¶ added in v1.3.0
func (r *CreateDomainRequest) SetCdnType(cdnType string)
param cdnType: 点播域名的类型只能是[vod,download,web]中的一种(Optional)
func (*CreateDomainRequest) SetDailyBandWidth ¶ added in v1.3.0
func (r *CreateDomainRequest) SetDailyBandWidth(dailyBandWidth int64)
param dailyBandWidth: 日带宽(Mbps)(Optional)
func (*CreateDomainRequest) SetDefaultSourceHost ¶ added in v1.3.0
func (r *CreateDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: (Optional)
func (*CreateDomainRequest) SetDomain ¶ added in v1.3.0
func (r *CreateDomainRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*CreateDomainRequest) SetDomainSource ¶ added in v1.3.0
func (r *CreateDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*CreateDomainRequest) SetHttpType ¶ added in v1.3.0
func (r *CreateDomainRequest) SetHttpType(httpType string)
param httpType: (Optional)
func (*CreateDomainRequest) SetIpSource ¶ added in v1.3.0
func (r *CreateDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*CreateDomainRequest) SetMaxFileSize ¶ added in v1.3.0
func (r *CreateDomainRequest) SetMaxFileSize(maxFileSize int64)
param maxFileSize: (Optional)
func (*CreateDomainRequest) SetMinFileSize ¶ added in v1.3.0
func (r *CreateDomainRequest) SetMinFileSize(minFileSize int64)
param minFileSize: (Optional)
func (*CreateDomainRequest) SetOssSource ¶ added in v1.3.0
func (r *CreateDomainRequest) SetOssSource(ossSource string)
param ossSource: (Optional)
func (*CreateDomainRequest) SetQuaility ¶ added in v1.3.0
func (r *CreateDomainRequest) SetQuaility(quaility string)
param quaility: 服务质量,只能是[good,general]中的一种,默认为good(Optional)
func (*CreateDomainRequest) SetSourceType ¶ added in v1.3.0
func (r *CreateDomainRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain,oss]中的一种(Optional)
func (*CreateDomainRequest) SetSumFileSize ¶ added in v1.3.0
func (r *CreateDomainRequest) SetSumFileSize(sumFileSize int64)
param sumFileSize: (Optional)
type CreateDomainResponse ¶ added in v1.3.0
type CreateDomainResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateDomainResult `json:"result"` }
type CreateDomainResult ¶ added in v1.3.0
type CreateDomainResult struct { }
type CreateLiveDomainPrefecthTaskRequest ¶ added in v1.7.0
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 ¶ added in v1.7.0
func NewCreateLiveDomainPrefecthTaskRequest() *CreateLiveDomainPrefecthTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateLiveDomainPrefecthTaskRequestWithAllParams ¶ added in v1.7.0
func NewCreateLiveDomainPrefecthTaskRequestWithAllParams( urlList []string, prefetchTime *int, action *string, ) *CreateLiveDomainPrefecthTaskRequest
* param urlList: 预热的URL (Optional) * param prefetchTime: 预热时长 (Optional) * param action: 操作类型只能是[start,stop]中的一种 (Optional)
func NewCreateLiveDomainPrefecthTaskRequestWithoutParam ¶ added in v1.7.0
func NewCreateLiveDomainPrefecthTaskRequestWithoutParam() *CreateLiveDomainPrefecthTaskRequest
This constructor has better compatible ability when API parameters changed
func (CreateLiveDomainPrefecthTaskRequest) GetRegionId ¶ added in v1.7.0
func (r CreateLiveDomainPrefecthTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateLiveDomainPrefecthTaskRequest) SetAction ¶ added in v1.7.0
func (r *CreateLiveDomainPrefecthTaskRequest) SetAction(action string)
param action: 操作类型只能是[start,stop]中的一种(Optional)
func (*CreateLiveDomainPrefecthTaskRequest) SetPrefetchTime ¶ added in v1.7.0
func (r *CreateLiveDomainPrefecthTaskRequest) SetPrefetchTime(prefetchTime int)
param prefetchTime: 预热时长(Optional)
func (*CreateLiveDomainPrefecthTaskRequest) SetUrlList ¶ added in v1.7.0
func (r *CreateLiveDomainPrefecthTaskRequest) SetUrlList(urlList []string)
param urlList: 预热的URL(Optional)
type CreateLiveDomainPrefecthTaskResponse ¶ added in v1.7.0
type CreateLiveDomainPrefecthTaskResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateLiveDomainPrefecthTaskResult `json:"result"` }
type CreateLiveDomainPrefecthTaskResult ¶ added in v1.7.0
type CreateLiveDomainPrefecthTaskResult struct { }
type CreateLiveDomainRequest ¶ added in v1.3.0
type CreateLiveDomainRequest 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"` }
func NewCreateLiveDomainRequest ¶ added in v1.3.0
func NewCreateLiveDomainRequest() *CreateLiveDomainRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewCreateLiveDomainRequestWithAllParams ¶ added in v1.3.0
func NewCreateLiveDomainRequestWithAllParams( playDomain *string, publishDomain *string, sourceType *string, backHttpType *string, defaultSourceHost *string, siteType *string, backSourceType *string, ipSource []cdn.IpSourceInfo, domainSource []cdn.DomainSourceInfo, ) *CreateLiveDomainRequest
* 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)
func NewCreateLiveDomainRequestWithoutParam ¶ added in v1.3.0
func NewCreateLiveDomainRequestWithoutParam() *CreateLiveDomainRequest
This constructor has better compatible ability when API parameters changed
func (CreateLiveDomainRequest) GetRegionId ¶ added in v1.3.0
func (r CreateLiveDomainRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*CreateLiveDomainRequest) SetBackHttpType ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetBackHttpType(backHttpType string)
param backHttpType: (Optional)
func (*CreateLiveDomainRequest) SetBackSourceType ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源类型,目前只能为rtmp(Optional)
func (*CreateLiveDomainRequest) SetDefaultSourceHost ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: 默认回源host(Optional)
func (*CreateLiveDomainRequest) SetDomainSource ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*CreateLiveDomainRequest) SetIpSource ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*CreateLiveDomainRequest) SetPlayDomain ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetPlayDomain(playDomain string)
param playDomain: 播放域名(Optional)
func (*CreateLiveDomainRequest) SetPublishDomain ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetPublishDomain(publishDomain string)
param publishDomain: 创建推流域名时,必传推流域名(Optional)
func (*CreateLiveDomainRequest) SetSiteType ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetSiteType(siteType string)
param siteType: 站点类型pull(拉流)push(推流)(Optional)
func (*CreateLiveDomainRequest) SetSourceType ¶ added in v1.3.0
func (r *CreateLiveDomainRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain]中的一种(Optional)
type CreateLiveDomainResponse ¶ added in v1.3.0
type CreateLiveDomainResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result CreateLiveDomainResult `json:"result"` }
type CreateLiveDomainResult ¶ added in v1.3.0
type CreateLiveDomainResult struct { }
type DeleteCacheRuleRequest ¶ added in v1.3.0
type DeleteCacheRuleRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 缓存规则id (Optional) */ ConfigId *int64 `json:"configId"` }
func NewDeleteCacheRuleRequest ¶ added in v1.3.0
func NewDeleteCacheRuleRequest( domain string, ) *DeleteCacheRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteCacheRuleRequestWithAllParams ¶ added in v1.3.0
func NewDeleteCacheRuleRequestWithAllParams( domain string, configId *int64, ) *DeleteCacheRuleRequest
* param domain: 用户域名 (Required) * param configId: 缓存规则id (Optional)
func NewDeleteCacheRuleRequestWithoutParam ¶ added in v1.3.0
func NewDeleteCacheRuleRequestWithoutParam() *DeleteCacheRuleRequest
This constructor has better compatible ability when API parameters changed
func (DeleteCacheRuleRequest) GetRegionId ¶ added in v1.3.0
func (r DeleteCacheRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteCacheRuleRequest) SetConfigId ¶ added in v1.3.0
func (r *DeleteCacheRuleRequest) SetConfigId(configId int64)
param configId: 缓存规则id(Optional)
func (*DeleteCacheRuleRequest) SetDomain ¶ added in v1.3.0
func (r *DeleteCacheRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type DeleteCacheRuleResponse ¶ added in v1.3.0
type DeleteCacheRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteCacheRuleResult `json:"result"` }
type DeleteCacheRuleResult ¶ added in v1.3.0
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 DeleteForbiddenStreamRequest ¶ added in v1.7.0
type DeleteForbiddenStreamRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 要删除的禁播流 (Optional) */ DeleteStreams []cdn.DeleteStream `json:"deleteStreams"` }
func NewDeleteForbiddenStreamRequest ¶ added in v1.7.0
func NewDeleteForbiddenStreamRequest( domain string, ) *DeleteForbiddenStreamRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteForbiddenStreamRequestWithAllParams ¶ added in v1.7.0
func NewDeleteForbiddenStreamRequestWithAllParams( domain string, deleteStreams []cdn.DeleteStream, ) *DeleteForbiddenStreamRequest
* param domain: 用户域名 (Required) * param deleteStreams: 要删除的禁播流 (Optional)
func NewDeleteForbiddenStreamRequestWithoutParam ¶ added in v1.7.0
func NewDeleteForbiddenStreamRequestWithoutParam() *DeleteForbiddenStreamRequest
This constructor has better compatible ability when API parameters changed
func (DeleteForbiddenStreamRequest) GetRegionId ¶ added in v1.7.0
func (r DeleteForbiddenStreamRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteForbiddenStreamRequest) SetDeleteStreams ¶ added in v1.7.0
func (r *DeleteForbiddenStreamRequest) SetDeleteStreams(deleteStreams []cdn.DeleteStream)
param deleteStreams: 要删除的禁播流(Optional)
func (*DeleteForbiddenStreamRequest) SetDomain ¶ added in v1.7.0
func (r *DeleteForbiddenStreamRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type DeleteForbiddenStreamResponse ¶ added in v1.7.0
type DeleteForbiddenStreamResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteForbiddenStreamResult `json:"result"` }
type DeleteForbiddenStreamResult ¶ added in v1.7.0
type DeleteForbiddenStreamResult struct { }
type DeleteHttpHeaderRequest ¶ added in v1.3.0
type DeleteHttpHeaderRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* header类型[resp,req] (Optional) */ HeaderType *string `json:"headerType"` /* header名 (Optional) */ HeaderName *string `json:"headerName"` }
func NewDeleteHttpHeaderRequest ¶ added in v1.3.0
func NewDeleteHttpHeaderRequest( domain string, ) *DeleteHttpHeaderRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewDeleteHttpHeaderRequestWithAllParams ¶ added in v1.3.0
func NewDeleteHttpHeaderRequestWithAllParams( domain string, headerType *string, headerName *string, ) *DeleteHttpHeaderRequest
* param domain: 用户域名 (Required) * param headerType: header类型[resp,req] (Optional) * param headerName: header名 (Optional)
func NewDeleteHttpHeaderRequestWithoutParam ¶ added in v1.3.0
func NewDeleteHttpHeaderRequestWithoutParam() *DeleteHttpHeaderRequest
This constructor has better compatible ability when API parameters changed
func (DeleteHttpHeaderRequest) GetRegionId ¶ added in v1.3.0
func (r DeleteHttpHeaderRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*DeleteHttpHeaderRequest) SetDomain ¶ added in v1.3.0
func (r *DeleteHttpHeaderRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*DeleteHttpHeaderRequest) SetHeaderName ¶ added in v1.3.0
func (r *DeleteHttpHeaderRequest) SetHeaderName(headerName string)
param headerName: header名(Optional)
func (*DeleteHttpHeaderRequest) SetHeaderType ¶ added in v1.3.0
func (r *DeleteHttpHeaderRequest) SetHeaderType(headerType string)
param headerType: header类型[resp,req](Optional)
type DeleteHttpHeaderResponse ¶ added in v1.3.0
type DeleteHttpHeaderResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result DeleteHttpHeaderResult `json:"result"` }
type DeleteHttpHeaderResult ¶ added in v1.3.0
type DeleteHttpHeaderResult struct { }
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"` }
type GetDomainListByFilterRequest ¶ added in v1.7.0
type GetDomainListByFilterRequest struct { core.JDCloudRequest /* 根据关键字进行模糊匹配 (Optional) */ KeyWord *string `json:"keyWord"` /* pageNumber (Optional) */ PageNumber *int `json:"pageNumber"` /* pageSize (Optional) */ PageSize *int `json:"pageSize"` /* 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) */ Status *string `json:"status"` /* type (Optional) */ Type *string `json:"type"` /* 标签过滤条件 (Optional) */ TagFilters []cdn.TagFilter `json:"tagFilters"` }
func NewGetDomainListByFilterRequest ¶ added in v1.7.0
func NewGetDomainListByFilterRequest() *GetDomainListByFilterRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewGetDomainListByFilterRequestWithAllParams ¶ added in v1.7.0
func NewGetDomainListByFilterRequestWithAllParams( keyWord *string, pageNumber *int, pageSize *int, status *string, type_ *string, tagFilters []cdn.TagFilter, ) *GetDomainListByFilterRequest
* param keyWord: 根据关键字进行模糊匹配 (Optional) * param pageNumber: pageNumber (Optional) * param pageSize: pageSize (Optional) * param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) * param type_: type (Optional) * param tagFilters: 标签过滤条件 (Optional)
func NewGetDomainListByFilterRequestWithoutParam ¶ added in v1.7.0
func NewGetDomainListByFilterRequestWithoutParam() *GetDomainListByFilterRequest
This constructor has better compatible ability when API parameters changed
func (GetDomainListByFilterRequest) GetRegionId ¶ added in v1.7.0
func (r GetDomainListByFilterRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*GetDomainListByFilterRequest) SetKeyWord ¶ added in v1.7.0
func (r *GetDomainListByFilterRequest) SetKeyWord(keyWord string)
param keyWord: 根据关键字进行模糊匹配(Optional)
func (*GetDomainListByFilterRequest) SetPageNumber ¶ added in v1.7.0
func (r *GetDomainListByFilterRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber(Optional)
func (*GetDomainListByFilterRequest) SetPageSize ¶ added in v1.7.0
func (r *GetDomainListByFilterRequest) SetPageSize(pageSize int)
param pageSize: pageSize(Optional)
func (*GetDomainListByFilterRequest) SetStatus ¶ added in v1.7.0
func (r *GetDomainListByFilterRequest) SetStatus(status string)
param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject](Optional)
func (*GetDomainListByFilterRequest) SetTagFilters ¶ added in v1.7.0
func (r *GetDomainListByFilterRequest) SetTagFilters(tagFilters []cdn.TagFilter)
param tagFilters: 标签过滤条件(Optional)
func (*GetDomainListByFilterRequest) SetType ¶ added in v1.7.0
func (r *GetDomainListByFilterRequest) SetType(type_ string)
param type_: type(Optional)
type GetDomainListByFilterResponse ¶ added in v1.7.0
type GetDomainListByFilterResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result GetDomainListByFilterResult `json:"result"` }
type GetDomainListByFilterResult ¶ added in v1.7.0
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 (Optional) */ PageNumber *int `json:"pageNumber"` /* pageSize (Optional) */ PageSize *int `json:"pageSize"` /* 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) */ Status *string `json:"status"` /* type (Optional) */ Type *string `json:"type"` }
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, ) *GetDomainListRequest
* param keyWord: 根据关键字进行模糊匹配 (Optional) * param pageNumber: pageNumber (Optional) * param pageSize: pageSize (Optional) * param status: 根据域名状态查询, 可选值[offline, online, configuring, auditing, audit_reject] (Optional) * param type_: type (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) SetKeyWord ¶
func (r *GetDomainListRequest) SetKeyWord(keyWord string)
param keyWord: 根据关键字进行模糊匹配(Optional)
func (*GetDomainListRequest) SetPageNumber ¶
func (r *GetDomainListRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber(Optional)
func (*GetDomainListRequest) SetPageSize ¶
func (r *GetDomainListRequest) SetPageSize(pageSize int)
param pageSize: pageSize(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_: type(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 OperateIpBlackListRequest ¶ added in v1.3.0
type OperateIpBlackListRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* ip黑名单状态取值[on,off] (Optional) */ Status *string `json:"status"` }
func NewOperateIpBlackListRequest ¶ added in v1.3.0
func NewOperateIpBlackListRequest( domain string, ) *OperateIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateIpBlackListRequestWithAllParams ¶ added in v1.3.0
func NewOperateIpBlackListRequestWithAllParams( domain string, status *string, ) *OperateIpBlackListRequest
* param domain: 用户域名 (Required) * param status: ip黑名单状态取值[on,off] (Optional)
func NewOperateIpBlackListRequestWithoutParam ¶ added in v1.3.0
func NewOperateIpBlackListRequestWithoutParam() *OperateIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (OperateIpBlackListRequest) GetRegionId ¶ added in v1.3.0
func (r OperateIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateIpBlackListRequest) SetDomain ¶ added in v1.3.0
func (r *OperateIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*OperateIpBlackListRequest) SetStatus ¶ added in v1.3.0
func (r *OperateIpBlackListRequest) SetStatus(status string)
param status: ip黑名单状态取值[on,off](Optional)
type OperateIpBlackListResponse ¶ added in v1.3.0
type OperateIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result OperateIpBlackListResult `json:"result"` }
type OperateIpBlackListResult ¶ added in v1.3.0
type OperateIpBlackListResult struct { }
type OperateLiveDomainIpBlackListRequest ¶ added in v1.3.0
type OperateLiveDomainIpBlackListRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* (Optional) */ BlackIpsEnable *string `json:"blackIpsEnable"` }
func NewOperateLiveDomainIpBlackListRequest ¶ added in v1.3.0
func NewOperateLiveDomainIpBlackListRequest( domain string, ) *OperateLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateLiveDomainIpBlackListRequestWithAllParams ¶ added in v1.3.0
func NewOperateLiveDomainIpBlackListRequestWithAllParams( domain string, blackIpsEnable *string, ) *OperateLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * param blackIpsEnable: (Optional)
func NewOperateLiveDomainIpBlackListRequestWithoutParam ¶ added in v1.3.0
func NewOperateLiveDomainIpBlackListRequestWithoutParam() *OperateLiveDomainIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (OperateLiveDomainIpBlackListRequest) GetRegionId ¶ added in v1.3.0
func (r OperateLiveDomainIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateLiveDomainIpBlackListRequest) SetBlackIpsEnable ¶ added in v1.3.0
func (r *OperateLiveDomainIpBlackListRequest) SetBlackIpsEnable(blackIpsEnable string)
param blackIpsEnable: (Optional)
func (*OperateLiveDomainIpBlackListRequest) SetDomain ¶ added in v1.3.0
func (r *OperateLiveDomainIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type OperateLiveDomainIpBlackListResponse ¶ added in v1.3.0
type OperateLiveDomainIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result OperateLiveDomainIpBlackListResult `json:"result"` }
type OperateLiveDomainIpBlackListResult ¶ added in v1.3.0
type OperateLiveDomainIpBlackListResult struct { }
type OperateShareCacheRequest ¶ added in v1.3.0
type OperateShareCacheRequest struct { string `json:"domain"` Status *string `json:"status"` }Domain
func NewOperateShareCacheRequest ¶ added in v1.3.0
func NewOperateShareCacheRequest( domain string, ) *OperateShareCacheRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewOperateShareCacheRequestWithAllParams ¶ added in v1.3.0
func NewOperateShareCacheRequestWithAllParams( domain string, status *string, ) *OperateShareCacheRequest
* param domain: 用户域名 (Required) * param status: 共享缓存只能是off或者on (Optional)
func NewOperateShareCacheRequestWithoutParam ¶ added in v1.3.0
func NewOperateShareCacheRequestWithoutParam() *OperateShareCacheRequest
This constructor has better compatible ability when API parameters changed
func (OperateShareCacheRequest) GetRegionId ¶ added in v1.3.0
func (r OperateShareCacheRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*OperateShareCacheRequest) SetDomain ¶ added in v1.3.0
func (r *OperateShareCacheRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*OperateShareCacheRequest) SetStatus ¶ added in v1.3.0
func (r *OperateShareCacheRequest) SetStatus(status string)
param status: 共享缓存只能是off或者on(Optional)
type OperateShareCacheResponse ¶ added in v1.3.0
type OperateShareCacheResponse struct {}
type OperateShareCacheResult ¶ added in v1.3.0
type OperateShareCacheResult struct { }
type PreviewCertificateRequest ¶ added in v1.3.0
type PreviewCertificateRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* (Optional) */ Content *string `json:"content"` }
func NewPreviewCertificateRequest ¶ added in v1.3.0
func NewPreviewCertificateRequest( domain string, ) *PreviewCertificateRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewPreviewCertificateRequestWithAllParams ¶ added in v1.3.0
func NewPreviewCertificateRequestWithAllParams( domain string, content *string, ) *PreviewCertificateRequest
* param domain: 用户域名 (Required) * param content: (Optional)
func NewPreviewCertificateRequestWithoutParam ¶ added in v1.3.0
func NewPreviewCertificateRequestWithoutParam() *PreviewCertificateRequest
This constructor has better compatible ability when API parameters changed
func (PreviewCertificateRequest) GetRegionId ¶ added in v1.3.0
func (r PreviewCertificateRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*PreviewCertificateRequest) SetContent ¶ added in v1.3.0
func (r *PreviewCertificateRequest) SetContent(content string)
param content: (Optional)
func (*PreviewCertificateRequest) SetDomain ¶ added in v1.3.0
func (r *PreviewCertificateRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type PreviewCertificateResponse ¶ added in v1.3.0
type PreviewCertificateResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result PreviewCertificateResult `json:"result"` }
type PreviewCertificateResult ¶ added in v1.3.0
type QueryAccesskeyConfigRequest ¶ added in v1.3.0
type QueryAccesskeyConfigRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryAccesskeyConfigRequest ¶ added in v1.3.0
func NewQueryAccesskeyConfigRequest( domain string, ) *QueryAccesskeyConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAccesskeyConfigRequestWithAllParams ¶ added in v1.3.0
func NewQueryAccesskeyConfigRequestWithAllParams( domain string, ) *QueryAccesskeyConfigRequest
* param domain: 用户域名 (Required)
func NewQueryAccesskeyConfigRequestWithoutParam ¶ added in v1.3.0
func NewQueryAccesskeyConfigRequestWithoutParam() *QueryAccesskeyConfigRequest
This constructor has better compatible ability when API parameters changed
func (QueryAccesskeyConfigRequest) GetRegionId ¶ added in v1.3.0
func (r QueryAccesskeyConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryAccesskeyConfigRequest) SetDomain ¶ added in v1.3.0
func (r *QueryAccesskeyConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryAccesskeyConfigResponse ¶ added in v1.3.0
type QueryAccesskeyConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryAccesskeyConfigResult `json:"result"` }
type QueryAccesskeyConfigResult ¶ added in v1.3.0
type QueryAreaIspListRequest ¶ added in v1.7.0
type QueryAreaIspListRequest struct {
core.JDCloudRequest
}
func NewQueryAreaIspListRequest ¶ added in v1.7.0
func NewQueryAreaIspListRequest() *QueryAreaIspListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryAreaIspListRequestWithAllParams ¶ added in v1.7.0
func NewQueryAreaIspListRequestWithAllParams() *QueryAreaIspListRequest
func NewQueryAreaIspListRequestWithoutParam ¶ added in v1.7.0
func NewQueryAreaIspListRequestWithoutParam() *QueryAreaIspListRequest
This constructor has better compatible ability when API parameters changed
func (QueryAreaIspListRequest) GetRegionId ¶ added in v1.7.0
func (r QueryAreaIspListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryAreaIspListResponse ¶ added in v1.7.0
type QueryAreaIspListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryAreaIspListResult `json:"result"` }
type QueryAreaIspListResult ¶ added in v1.7.0
type QueryAreaIspListResult struct { MainLand []cdn.AreaIspItem `json:"mainLand"` Overseas []cdn.AreaIspItem `json:"overseas"` Isp []cdn.AreaIspItem `json:"isp"` }
type QueryDefaultHttpHeaderKeyRequest ¶ added in v1.3.0
type QueryDefaultHttpHeaderKeyRequest struct {
core.JDCloudRequest
}
func NewQueryDefaultHttpHeaderKeyRequest ¶ added in v1.3.0
func NewQueryDefaultHttpHeaderKeyRequest() *QueryDefaultHttpHeaderKeyRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDefaultHttpHeaderKeyRequestWithAllParams ¶ added in v1.3.0
func NewQueryDefaultHttpHeaderKeyRequestWithAllParams() *QueryDefaultHttpHeaderKeyRequest
func NewQueryDefaultHttpHeaderKeyRequestWithoutParam ¶ added in v1.3.0
func NewQueryDefaultHttpHeaderKeyRequestWithoutParam() *QueryDefaultHttpHeaderKeyRequest
This constructor has better compatible ability when API parameters changed
func (QueryDefaultHttpHeaderKeyRequest) GetRegionId ¶ added in v1.3.0
func (r QueryDefaultHttpHeaderKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryDefaultHttpHeaderKeyResponse ¶ added in v1.3.0
type QueryDefaultHttpHeaderKeyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryDefaultHttpHeaderKeyResult `json:"result"` }
type QueryDefaultHttpHeaderKeyResult ¶ added in v1.3.0
type QueryDomainConfigRequest ¶ added in v1.3.0
type QueryDomainConfigRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryDomainConfigRequest ¶ added in v1.3.0
func NewQueryDomainConfigRequest( domain string, ) *QueryDomainConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainConfigRequestWithAllParams ¶ added in v1.3.0
func NewQueryDomainConfigRequestWithAllParams( domain string, ) *QueryDomainConfigRequest
* param domain: 用户域名 (Required)
func NewQueryDomainConfigRequestWithoutParam ¶ added in v1.3.0
func NewQueryDomainConfigRequestWithoutParam() *QueryDomainConfigRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainConfigRequest) GetRegionId ¶ added in v1.3.0
func (r QueryDomainConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainConfigRequest) SetDomain ¶ added in v1.3.0
func (r *QueryDomainConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryDomainConfigResponse ¶ added in v1.3.0
type QueryDomainConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryDomainConfigResult `json:"result"` }
type QueryDomainConfigResult ¶ added in v1.3.0
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"` CacheRules []cdn.CacheRule `json:"cacheRules"` }
type QueryDomainGroupDetailRequest ¶ added in v1.3.0
type QueryDomainGroupDetailRequest struct { core.JDCloudRequest /* 域名组id */ Id int `json:"id"` }
func NewQueryDomainGroupDetailRequest ¶ added in v1.3.0
func NewQueryDomainGroupDetailRequest( id int, ) *QueryDomainGroupDetailRequest
* param id: 域名组id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainGroupDetailRequestWithAllParams ¶ added in v1.3.0
func NewQueryDomainGroupDetailRequestWithAllParams( id int, ) *QueryDomainGroupDetailRequest
* param id: 域名组id (Required)
func NewQueryDomainGroupDetailRequestWithoutParam ¶ added in v1.3.0
func NewQueryDomainGroupDetailRequestWithoutParam() *QueryDomainGroupDetailRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainGroupDetailRequest) GetRegionId ¶ added in v1.3.0
func (r QueryDomainGroupDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainGroupDetailRequest) SetId ¶ added in v1.3.0
func (r *QueryDomainGroupDetailRequest) SetId(id int)
param id: 域名组id(Required)
type QueryDomainGroupDetailResponse ¶ added in v1.3.0
type QueryDomainGroupDetailResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryDomainGroupDetailResult `json:"result"` }
type QueryDomainGroupDetailResult ¶ added in v1.3.0
type QueryDomainGroupListRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewQueryDomainGroupListRequest() *QueryDomainGroupListRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainGroupListRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewQueryDomainGroupListRequestWithoutParam() *QueryDomainGroupListRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainGroupListRequest) GetRegionId ¶ added in v1.3.0
func (r QueryDomainGroupListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryDomainGroupListRequest) SetDomainGroupName ¶ added in v1.3.0
func (r *QueryDomainGroupListRequest) SetDomainGroupName(domainGroupName string)
param domainGroupName: 根据域名组模糊查询(Optional)
func (*QueryDomainGroupListRequest) SetPageNumber ¶ added in v1.3.0
func (r *QueryDomainGroupListRequest) SetPageNumber(pageNumber int)
param pageNumber: pageNumber(Optional)
func (*QueryDomainGroupListRequest) SetPageSize ¶ added in v1.3.0
func (r *QueryDomainGroupListRequest) SetPageSize(pageSize int)
param pageSize: pageSize(Optional)
func (*QueryDomainGroupListRequest) SetPrimaryDomain ¶ added in v1.3.0
func (r *QueryDomainGroupListRequest) SetPrimaryDomain(primaryDomain string)
param primaryDomain: 根据主域名模糊查询(Optional)
func (*QueryDomainGroupListRequest) SetShareCache ¶ added in v1.3.0
func (r *QueryDomainGroupListRequest) SetShareCache(shareCache string)
param shareCache: 根据是否共享内存筛选(Optional)
type QueryDomainGroupListResponse ¶ added in v1.3.0
type QueryDomainGroupListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryDomainGroupListResult `json:"result"` }
type QueryDomainGroupListResult ¶ added in v1.3.0
type QueryDomainGroupListResult struct { TotalCount int `json:"totalCount"` PageSize int `json:"pageSize"` PageNumber int `json:"pageNumber"` DomainGroups []cdn.DomainGroupItem `json:"domainGroups"` }
type QueryDomainsNotInGroupRequest ¶ added in v1.3.0
type QueryDomainsNotInGroupRequest struct {
core.JDCloudRequest
}
func NewQueryDomainsNotInGroupRequest ¶ added in v1.3.0
func NewQueryDomainsNotInGroupRequest() *QueryDomainsNotInGroupRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryDomainsNotInGroupRequestWithAllParams ¶ added in v1.3.0
func NewQueryDomainsNotInGroupRequestWithAllParams() *QueryDomainsNotInGroupRequest
func NewQueryDomainsNotInGroupRequestWithoutParam ¶ added in v1.3.0
func NewQueryDomainsNotInGroupRequestWithoutParam() *QueryDomainsNotInGroupRequest
This constructor has better compatible ability when API parameters changed
func (QueryDomainsNotInGroupRequest) GetRegionId ¶ added in v1.3.0
func (r QueryDomainsNotInGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryDomainsNotInGroupResponse ¶ added in v1.3.0
type QueryDomainsNotInGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryDomainsNotInGroupResult `json:"result"` }
type QueryDomainsNotInGroupResult ¶ added in v1.3.0
type QueryDomainsNotInGroupResult struct {
Domains []string `json:"domains"`
}
type QueryFollowRedirectRequest ¶ added in v1.7.0
type QueryFollowRedirectRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryFollowRedirectRequest ¶ added in v1.7.0
func NewQueryFollowRedirectRequest( domain string, ) *QueryFollowRedirectRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryFollowRedirectRequestWithAllParams ¶ added in v1.7.0
func NewQueryFollowRedirectRequestWithAllParams( domain string, ) *QueryFollowRedirectRequest
* param domain: 用户域名 (Required)
func NewQueryFollowRedirectRequestWithoutParam ¶ added in v1.7.0
func NewQueryFollowRedirectRequestWithoutParam() *QueryFollowRedirectRequest
This constructor has better compatible ability when API parameters changed
func (QueryFollowRedirectRequest) GetRegionId ¶ added in v1.7.0
func (r QueryFollowRedirectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryFollowRedirectRequest) SetDomain ¶ added in v1.7.0
func (r *QueryFollowRedirectRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryFollowRedirectResponse ¶ added in v1.7.0
type QueryFollowRedirectResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryFollowRedirectResult `json:"result"` }
type QueryFollowRedirectResult ¶ added in v1.7.0
type QueryFollowSourceProtocolRequest ¶ added in v1.7.0
type QueryFollowSourceProtocolRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryFollowSourceProtocolRequest ¶ added in v1.7.0
func NewQueryFollowSourceProtocolRequest( domain string, ) *QueryFollowSourceProtocolRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryFollowSourceProtocolRequestWithAllParams ¶ added in v1.7.0
func NewQueryFollowSourceProtocolRequestWithAllParams( domain string, ) *QueryFollowSourceProtocolRequest
* param domain: 用户域名 (Required)
func NewQueryFollowSourceProtocolRequestWithoutParam ¶ added in v1.7.0
func NewQueryFollowSourceProtocolRequestWithoutParam() *QueryFollowSourceProtocolRequest
This constructor has better compatible ability when API parameters changed
func (QueryFollowSourceProtocolRequest) GetRegionId ¶ added in v1.7.0
func (r QueryFollowSourceProtocolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryFollowSourceProtocolRequest) SetDomain ¶ added in v1.7.0
func (r *QueryFollowSourceProtocolRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryFollowSourceProtocolResponse ¶ added in v1.7.0
type QueryFollowSourceProtocolResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryFollowSourceProtocolResult `json:"result"` }
type QueryFollowSourceProtocolResult ¶ added in v1.7.0
type QueryHttpHeaderRequest ¶ added in v1.3.0
type QueryHttpHeaderRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryHttpHeaderRequest ¶ added in v1.3.0
func NewQueryHttpHeaderRequest( domain string, ) *QueryHttpHeaderRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryHttpHeaderRequestWithAllParams ¶ added in v1.3.0
func NewQueryHttpHeaderRequestWithAllParams( domain string, ) *QueryHttpHeaderRequest
* param domain: 用户域名 (Required)
func NewQueryHttpHeaderRequestWithoutParam ¶ added in v1.3.0
func NewQueryHttpHeaderRequestWithoutParam() *QueryHttpHeaderRequest
This constructor has better compatible ability when API parameters changed
func (QueryHttpHeaderRequest) GetRegionId ¶ added in v1.3.0
func (r QueryHttpHeaderRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryHttpHeaderRequest) SetDomain ¶ added in v1.3.0
func (r *QueryHttpHeaderRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryHttpHeaderResponse ¶ added in v1.3.0
type QueryHttpHeaderResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryHttpHeaderResult `json:"result"` }
type QueryHttpHeaderResult ¶ added in v1.3.0
type QueryHttpHeaderResult struct { Domain string `json:"domain"` Headers []cdn.QueryHttpHeaderResp `json:"headers"` }
type QueryIpBlackListRequest ¶ added in v1.3.0
type QueryIpBlackListRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryIpBlackListRequest ¶ added in v1.3.0
func NewQueryIpBlackListRequest( domain string, ) *QueryIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryIpBlackListRequestWithAllParams ¶ added in v1.3.0
func NewQueryIpBlackListRequestWithAllParams( domain string, ) *QueryIpBlackListRequest
* param domain: 用户域名 (Required)
func NewQueryIpBlackListRequestWithoutParam ¶ added in v1.3.0
func NewQueryIpBlackListRequestWithoutParam() *QueryIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (QueryIpBlackListRequest) GetRegionId ¶ added in v1.3.0
func (r QueryIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryIpBlackListRequest) SetDomain ¶ added in v1.3.0
func (r *QueryIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryIpBlackListResponse ¶ added in v1.3.0
type QueryIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryIpBlackListResult `json:"result"` }
type QueryIpBlackListResult ¶ added in v1.3.0
type QueryLiveDomainAppsRequest ¶ added in v1.7.0
type QueryLiveDomainAppsRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryLiveDomainAppsRequest ¶ added in v1.7.0
func NewQueryLiveDomainAppsRequest( domain string, ) *QueryLiveDomainAppsRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveDomainAppsRequestWithAllParams ¶ added in v1.7.0
func NewQueryLiveDomainAppsRequestWithAllParams( domain string, ) *QueryLiveDomainAppsRequest
* param domain: 用户域名 (Required)
func NewQueryLiveDomainAppsRequestWithoutParam ¶ added in v1.7.0
func NewQueryLiveDomainAppsRequestWithoutParam() *QueryLiveDomainAppsRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveDomainAppsRequest) GetRegionId ¶ added in v1.7.0
func (r QueryLiveDomainAppsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveDomainAppsRequest) SetDomain ¶ added in v1.7.0
func (r *QueryLiveDomainAppsRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryLiveDomainAppsResponse ¶ added in v1.7.0
type QueryLiveDomainAppsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryLiveDomainAppsResult `json:"result"` }
type QueryLiveDomainAppsResult ¶ added in v1.7.0
type QueryLiveDomainDetailRequest ¶ added in v1.3.0
type QueryLiveDomainDetailRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryLiveDomainDetailRequest ¶ added in v1.3.0
func NewQueryLiveDomainDetailRequest( domain string, ) *QueryLiveDomainDetailRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveDomainDetailRequestWithAllParams ¶ added in v1.3.0
func NewQueryLiveDomainDetailRequestWithAllParams( domain string, ) *QueryLiveDomainDetailRequest
* param domain: 用户域名 (Required)
func NewQueryLiveDomainDetailRequestWithoutParam ¶ added in v1.3.0
func NewQueryLiveDomainDetailRequestWithoutParam() *QueryLiveDomainDetailRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveDomainDetailRequest) GetRegionId ¶ added in v1.3.0
func (r QueryLiveDomainDetailRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveDomainDetailRequest) SetDomain ¶ added in v1.3.0
func (r *QueryLiveDomainDetailRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryLiveDomainDetailResponse ¶ added in v1.3.0
type QueryLiveDomainDetailResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryLiveDomainDetailResult `json:"result"` }
type QueryLiveDomainDetailResult ¶ added in v1.3.0
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"` }
type QueryLivePrefetchTaskRequest ¶ added in v1.7.0
type QueryLivePrefetchTaskRequest struct { core.JDCloudRequest /* 预热的URL (Optional) */ UrlList []string `json:"urlList"` }
func NewQueryLivePrefetchTaskRequest ¶ added in v1.7.0
func NewQueryLivePrefetchTaskRequest() *QueryLivePrefetchTaskRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLivePrefetchTaskRequestWithAllParams ¶ added in v1.7.0
func NewQueryLivePrefetchTaskRequestWithAllParams( urlList []string, ) *QueryLivePrefetchTaskRequest
* param urlList: 预热的URL (Optional)
func NewQueryLivePrefetchTaskRequestWithoutParam ¶ added in v1.7.0
func NewQueryLivePrefetchTaskRequestWithoutParam() *QueryLivePrefetchTaskRequest
This constructor has better compatible ability when API parameters changed
func (QueryLivePrefetchTaskRequest) GetRegionId ¶ added in v1.7.0
func (r QueryLivePrefetchTaskRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLivePrefetchTaskRequest) SetUrlList ¶ added in v1.7.0
func (r *QueryLivePrefetchTaskRequest) SetUrlList(urlList []string)
param urlList: 预热的URL(Optional)
type QueryLivePrefetchTaskResponse ¶ added in v1.7.0
type QueryLivePrefetchTaskResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryLivePrefetchTaskResult `json:"result"` }
type QueryLivePrefetchTaskResult ¶ added in v1.7.0
type QueryLivePrefetchTaskResult struct {
Result []cdn.QueryLivePrefetchItem `json:"result"`
}
type QueryLiveStatisticsAreaDataGroupByRequest ¶ added in v1.7.0
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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* (Optional) */ StreamName *string `json:"streamName"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` /* 分组依据 (Optional) */ GroupBy *string `json:"groupBy"` /* (Optional) */ SubDomain *string `json:"subDomain"` /* 查询的流协议 (Optional) */ Scheme *string `json:"scheme"` /* (Optional) */ ReqMethod *string `json:"reqMethod"` }
func NewQueryLiveStatisticsAreaDataGroupByRequest ¶ added in v1.7.0
func NewQueryLiveStatisticsAreaDataGroupByRequest() *QueryLiveStatisticsAreaDataGroupByRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveStatisticsAreaDataGroupByRequestWithAllParams ¶ added in v1.7.0
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, ) *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: (Optional) * param isp: (Optional) * param streamName: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据 (Optional) * param subDomain: (Optional) * param scheme: 查询的流协议 (Optional) * param reqMethod: (Optional)
func NewQueryLiveStatisticsAreaDataGroupByRequestWithoutParam ¶ added in v1.7.0
func NewQueryLiveStatisticsAreaDataGroupByRequestWithoutParam() *QueryLiveStatisticsAreaDataGroupByRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveStatisticsAreaDataGroupByRequest) GetRegionId ¶ added in v1.7.0
func (r QueryLiveStatisticsAreaDataGroupByRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetAppName ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetAppName(appName string)
param appName: app名(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetArea ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetArea(area string)
param area: (Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetDomain ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetEndTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetGroupBy ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetIsp ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetPeriod ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetReqMethod ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetReqMethod(reqMethod string)
param reqMethod: (Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetScheme ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetScheme(scheme string)
param scheme: 查询的流协议(Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetStartTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetStreamName(streamName string)
param streamName: (Optional)
func (*QueryLiveStatisticsAreaDataGroupByRequest) SetSubDomain ¶ added in v1.7.0
func (r *QueryLiveStatisticsAreaDataGroupByRequest) SetSubDomain(subDomain string)
param subDomain: (Optional)
type QueryLiveStatisticsAreaDataGroupByResponse ¶ added in v1.7.0
type QueryLiveStatisticsAreaDataGroupByResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryLiveStatisticsAreaDataGroupByResult `json:"result"` }
type QueryLiveStatisticsAreaDataGroupByResult ¶ added in v1.7.0
type QueryLiveStatisticsAreaDataGroupByResult struct { StartTime string `json:"startTime"` EndTime string `json:"endTime"` Domain string `json:"domain"` Statistics []cdn.StatisticsWithAreaGroupDetail `json:"statistics"` }
type QueryLiveStatisticsDataRequest ¶ added in v1.7.0
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名 (Optional) */ Appname *string `json:"appname"` /* 流名 (Optional) */ Streamname *string `json:"streamname"` /* 子域名 (Optional) */ SubDomain *string `json:"subDomain"` /* 需要查询的字段 (Optional) */ Fields *string `json:"fields"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* (Optional) */ ReqMethod *string `json:"reqMethod"` /* 查询的流协议类型 (Optional) */ Scheme *string `json:"scheme"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` }
func NewQueryLiveStatisticsDataRequest ¶ added in v1.7.0
func NewQueryLiveStatisticsDataRequest() *QueryLiveStatisticsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveStatisticsDataRequestWithAllParams ¶ added in v1.7.0
func NewQueryLiveStatisticsDataRequestWithAllParams( startTime *string, endTime *string, domain *string, appname *string, streamname *string, subDomain *string, fields *string, area *string, isp *string, reqMethod *string, scheme *string, period *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名 (Optional) * param streamname: 流名 (Optional) * param subDomain: 子域名 (Optional) * param fields: 需要查询的字段 (Optional) * param area: (Optional) * param isp: (Optional) * param reqMethod: (Optional) * param scheme: 查询的流协议类型 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional)
func NewQueryLiveStatisticsDataRequestWithoutParam ¶ added in v1.7.0
func NewQueryLiveStatisticsDataRequestWithoutParam() *QueryLiveStatisticsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveStatisticsDataRequest) GetRegionId ¶ added in v1.7.0
func (r QueryLiveStatisticsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveStatisticsDataRequest) SetAppname ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetAppname(appname string)
param appname: app名(Optional)
func (*QueryLiveStatisticsDataRequest) SetArea ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetArea(area string)
param area: (Optional)
func (*QueryLiveStatisticsDataRequest) SetDomain ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryLiveStatisticsDataRequest) SetEndTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryLiveStatisticsDataRequest) SetIsp ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryLiveStatisticsDataRequest) SetPeriod ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryLiveStatisticsDataRequest) SetReqMethod ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetReqMethod(reqMethod string)
param reqMethod: (Optional)
func (*QueryLiveStatisticsDataRequest) SetScheme ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetScheme(scheme string)
param scheme: 查询的流协议类型(Optional)
func (*QueryLiveStatisticsDataRequest) SetStartTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetStreamname(streamname string)
param streamname: 流名(Optional)
func (*QueryLiveStatisticsDataRequest) SetSubDomain ¶ added in v1.7.0
func (r *QueryLiveStatisticsDataRequest) SetSubDomain(subDomain string)
param subDomain: 子域名(Optional)
type QueryLiveStatisticsDataResponse ¶ added in v1.7.0
type QueryLiveStatisticsDataResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryLiveStatisticsDataResult `json:"result"` }
type QueryLiveStatisticsDataResult ¶ added in v1.7.0
type QueryLiveStatisticsDataResult struct { StartTime string `json:"startTime"` EndTime string `json:"endTime"` Domain string `json:"domain"` Statistics []cdn.StatisticsDataItem `json:"statistics"` }
type QueryLiveTrafficGroupSumRequest ¶ added in v1.7.0
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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* 查询的流协议 (Optional) */ Scheme *string `json:"scheme"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` /* 分组依据 (Optional) */ GroupBy *string `json:"groupBy"` /* (Optional) */ ReqMethod *string `json:"reqMethod"` }
func NewQueryLiveTrafficGroupSumRequest ¶ added in v1.7.0
func NewQueryLiveTrafficGroupSumRequest() *QueryLiveTrafficGroupSumRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryLiveTrafficGroupSumRequestWithAllParams ¶ added in v1.7.0
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, ) *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: (Optional) * param isp: (Optional) * param scheme: 查询的流协议 (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据 (Optional) * param reqMethod: (Optional)
func NewQueryLiveTrafficGroupSumRequestWithoutParam ¶ added in v1.7.0
func NewQueryLiveTrafficGroupSumRequestWithoutParam() *QueryLiveTrafficGroupSumRequest
This constructor has better compatible ability when API parameters changed
func (QueryLiveTrafficGroupSumRequest) GetRegionId ¶ added in v1.7.0
func (r QueryLiveTrafficGroupSumRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryLiveTrafficGroupSumRequest) SetAppName ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetAppName(appName string)
param appName: app名(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetArea ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetArea(area string)
param area: (Optional)
func (*QueryLiveTrafficGroupSumRequest) SetDomain ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetEndTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetGroupBy ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetIsp ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryLiveTrafficGroupSumRequest) SetPeriod ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetReqMethod ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetReqMethod(reqMethod string)
param reqMethod: (Optional)
func (*QueryLiveTrafficGroupSumRequest) SetScheme ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetScheme(scheme string)
param scheme: 查询的流协议(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetStartTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetStreamName(streamName string)
param streamName: 流名(Optional)
func (*QueryLiveTrafficGroupSumRequest) SetSubDomain ¶ added in v1.7.0
func (r *QueryLiveTrafficGroupSumRequest) SetSubDomain(subDomain string)
param subDomain: (Optional)
type QueryLiveTrafficGroupSumResponse ¶ added in v1.7.0
type QueryLiveTrafficGroupSumResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryLiveTrafficGroupSumResult `json:"result"` }
type QueryLiveTrafficGroupSumResult ¶ added in v1.7.0
type QueryLiveTrafficGroupSumResult struct { StartTime string `json:"startTime"` EndTime string `json:"endTime"` Domain string `json:"domain"` Statistics []cdn.StatisticsGroupSumDataItem `json:"statistics"` }
type QueryMixStatisticsDataRequest ¶ added in v1.7.0
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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` }
func NewQueryMixStatisticsDataRequest ¶ added in v1.7.0
func NewQueryMixStatisticsDataRequest() *QueryMixStatisticsDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMixStatisticsDataRequestWithAllParams ¶ added in v1.7.0
func NewQueryMixStatisticsDataRequestWithAllParams( startTime *string, endTime *string, domain *string, fields *string, area *string, isp *string, period *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: (Optional) * param isp: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional)
func NewQueryMixStatisticsDataRequestWithoutParam ¶ added in v1.7.0
func NewQueryMixStatisticsDataRequestWithoutParam() *QueryMixStatisticsDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryMixStatisticsDataRequest) GetRegionId ¶ added in v1.7.0
func (r QueryMixStatisticsDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMixStatisticsDataRequest) SetArea ¶ added in v1.7.0
func (r *QueryMixStatisticsDataRequest) SetArea(area string)
param area: (Optional)
func (*QueryMixStatisticsDataRequest) SetDomain ¶ added in v1.7.0
func (r *QueryMixStatisticsDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryMixStatisticsDataRequest) SetEndTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryMixStatisticsDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryMixStatisticsDataRequest) SetIsp ¶ added in v1.7.0
func (r *QueryMixStatisticsDataRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryMixStatisticsDataRequest) SetPeriod ¶ added in v1.7.0
func (r *QueryMixStatisticsDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryMixStatisticsDataRequest) SetStartTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
type QueryMixStatisticsDataResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryMixStatisticsDataResult `json:"result"` }
type QueryMixStatisticsDataResult ¶ added in v1.7.0
type QueryMixStatisticsDataResult struct { StartTime string `json:"startTime"` EndTime string `json:"endTime"` Domain string `json:"domain"` Statistics []cdn.StatisticsDataItem `json:"statistics"` }
type QueryMixStatisticsWithAreaDataRequest ¶ added in v1.7.0
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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` }
func NewQueryMixStatisticsWithAreaDataRequest ¶ added in v1.7.0
func NewQueryMixStatisticsWithAreaDataRequest() *QueryMixStatisticsWithAreaDataRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMixStatisticsWithAreaDataRequestWithAllParams ¶ added in v1.7.0
func NewQueryMixStatisticsWithAreaDataRequestWithAllParams( startTime *string, endTime *string, domain *string, fields *string, area *string, isp *string, period *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: (Optional) * param isp: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional)
func NewQueryMixStatisticsWithAreaDataRequestWithoutParam ¶ added in v1.7.0
func NewQueryMixStatisticsWithAreaDataRequestWithoutParam() *QueryMixStatisticsWithAreaDataRequest
This constructor has better compatible ability when API parameters changed
func (QueryMixStatisticsWithAreaDataRequest) GetRegionId ¶ added in v1.7.0
func (r QueryMixStatisticsWithAreaDataRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMixStatisticsWithAreaDataRequest) SetArea ¶ added in v1.7.0
func (r *QueryMixStatisticsWithAreaDataRequest) SetArea(area string)
param area: (Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetDomain ¶ added in v1.7.0
func (r *QueryMixStatisticsWithAreaDataRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetEndTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryMixStatisticsWithAreaDataRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetIsp ¶ added in v1.7.0
func (r *QueryMixStatisticsWithAreaDataRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetPeriod ¶ added in v1.7.0
func (r *QueryMixStatisticsWithAreaDataRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryMixStatisticsWithAreaDataRequest) SetStartTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
type QueryMixStatisticsWithAreaDataResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryMixStatisticsWithAreaDataResult `json:"result"` }
type QueryMixStatisticsWithAreaDataResult ¶ added in v1.7.0
type QueryMixStatisticsWithAreaDataResult struct { StartTime string `json:"startTime"` EndTime string `json:"endTime"` Domain string `json:"domain"` Statistics []cdn.StatisticsWithAreaGroupDetail `json:"statistics"` }
type QueryMixTrafficGroupSumRequest ¶ added in v1.7.0
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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` /* 分组依据,只能按域名分组 (Optional) */ GroupBy *string `json:"groupBy"` }
func NewQueryMixTrafficGroupSumRequest ¶ added in v1.7.0
func NewQueryMixTrafficGroupSumRequest() *QueryMixTrafficGroupSumRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMixTrafficGroupSumRequestWithAllParams ¶ added in v1.7.0
func NewQueryMixTrafficGroupSumRequestWithAllParams( startTime *string, endTime *string, domain *string, fields *string, area *string, isp *string, period *string, groupBy *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: (Optional) * param isp: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据,只能按域名分组 (Optional)
func NewQueryMixTrafficGroupSumRequestWithoutParam ¶ added in v1.7.0
func NewQueryMixTrafficGroupSumRequestWithoutParam() *QueryMixTrafficGroupSumRequest
This constructor has better compatible ability when API parameters changed
func (QueryMixTrafficGroupSumRequest) GetRegionId ¶ added in v1.7.0
func (r QueryMixTrafficGroupSumRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMixTrafficGroupSumRequest) SetArea ¶ added in v1.7.0
func (r *QueryMixTrafficGroupSumRequest) SetArea(area string)
param area: (Optional)
func (*QueryMixTrafficGroupSumRequest) SetDomain ¶ added in v1.7.0
func (r *QueryMixTrafficGroupSumRequest) SetDomain(domain string)
param domain: 需要查询的域名, 必须为用户pin下有权限的域名(Optional)
func (*QueryMixTrafficGroupSumRequest) SetEndTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
func (r *QueryMixTrafficGroupSumRequest) SetFields(fields string)
param fields: 需要查询的字段(Optional)
func (*QueryMixTrafficGroupSumRequest) SetGroupBy ¶ added in v1.7.0
func (r *QueryMixTrafficGroupSumRequest) SetGroupBy(groupBy string)
param groupBy: 分组依据,只能按域名分组(Optional)
func (*QueryMixTrafficGroupSumRequest) SetIsp ¶ added in v1.7.0
func (r *QueryMixTrafficGroupSumRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryMixTrafficGroupSumRequest) SetPeriod ¶ added in v1.7.0
func (r *QueryMixTrafficGroupSumRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(Optional)
func (*QueryMixTrafficGroupSumRequest) SetStartTime ¶ added in v1.7.0
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 ¶ added in v1.7.0
type QueryMixTrafficGroupSumResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryMixTrafficGroupSumResult `json:"result"` }
type QueryMixTrafficGroupSumResult ¶ added in v1.7.0
type QueryMixTrafficGroupSumResult struct { StartTime string `json:"startTime"` EndTime string `json:"endTime"` Domain string `json:"domain"` Statistics []cdn.StatisticsGroupSumDataItem `json:"statistics"` }
type QueryMonitorRequest ¶ added in v1.3.0
type QueryMonitorRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryMonitorRequest ¶ added in v1.3.0
func NewQueryMonitorRequest( domain string, ) *QueryMonitorRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryMonitorRequestWithAllParams ¶ added in v1.3.0
func NewQueryMonitorRequestWithAllParams( domain string, ) *QueryMonitorRequest
* param domain: 用户域名 (Required)
func NewQueryMonitorRequestWithoutParam ¶ added in v1.3.0
func NewQueryMonitorRequestWithoutParam() *QueryMonitorRequest
This constructor has better compatible ability when API parameters changed
func (QueryMonitorRequest) GetRegionId ¶ added in v1.3.0
func (r QueryMonitorRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryMonitorRequest) SetDomain ¶ added in v1.3.0
func (r *QueryMonitorRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryMonitorResponse ¶ added in v1.3.0
type QueryMonitorResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryMonitorResult `json:"result"` }
type QueryMonitorResult ¶ added in v1.3.0
type QueryOnlineBillingTypeRequest ¶ added in v1.7.0
type QueryOnlineBillingTypeRequest struct {
core.JDCloudRequest
}
func NewQueryOnlineBillingTypeRequest ¶ added in v1.7.0
func NewQueryOnlineBillingTypeRequest() *QueryOnlineBillingTypeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryOnlineBillingTypeRequestWithAllParams ¶ added in v1.7.0
func NewQueryOnlineBillingTypeRequestWithAllParams() *QueryOnlineBillingTypeRequest
func NewQueryOnlineBillingTypeRequestWithoutParam ¶ added in v1.7.0
func NewQueryOnlineBillingTypeRequestWithoutParam() *QueryOnlineBillingTypeRequest
This constructor has better compatible ability when API parameters changed
func (QueryOnlineBillingTypeRequest) GetRegionId ¶ added in v1.7.0
func (r QueryOnlineBillingTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryOnlineBillingTypeResponse ¶ added in v1.7.0
type QueryOnlineBillingTypeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryOnlineBillingTypeResult `json:"result"` }
type QueryOnlineBillingTypeResult ¶ added in v1.7.0
type QueryOssBucketsRequest ¶ added in v1.3.0
type QueryOssBucketsRequest struct {
core.JDCloudRequest
}
func NewQueryOssBucketsRequest ¶ added in v1.3.0
func NewQueryOssBucketsRequest() *QueryOssBucketsRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewQueryOssBucketsRequestWithAllParams ¶ added in v1.3.0
func NewQueryOssBucketsRequestWithAllParams() *QueryOssBucketsRequest
func NewQueryOssBucketsRequestWithoutParam ¶ added in v1.3.0
func NewQueryOssBucketsRequestWithoutParam() *QueryOssBucketsRequest
This constructor has better compatible ability when API parameters changed
func (QueryOssBucketsRequest) GetRegionId ¶ added in v1.3.0
func (r QueryOssBucketsRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
type QueryOssBucketsResponse ¶ added in v1.3.0
type QueryOssBucketsResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryOssBucketsResult `json:"result"` }
type QueryOssBucketsResult ¶ added in v1.3.0
type QueryOssBucketsResult struct { Total int `json:"total"` OssBuckets []interface{} `json:"ossBuckets"` }
type QueryPushDomainORAppOrStreamRequest ¶ added in v1.7.0
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 ¶ added in v1.7.0
func NewQueryPushDomainORAppOrStreamRequest( domain string, ) *QueryPushDomainORAppOrStreamRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryPushDomainORAppOrStreamRequestWithAllParams ¶ added in v1.7.0
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 ¶ added in v1.7.0
func NewQueryPushDomainORAppOrStreamRequestWithoutParam() *QueryPushDomainORAppOrStreamRequest
This constructor has better compatible ability when API parameters changed
func (QueryPushDomainORAppOrStreamRequest) GetRegionId ¶ added in v1.7.0
func (r QueryPushDomainORAppOrStreamRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryPushDomainORAppOrStreamRequest) SetApp ¶ added in v1.7.0
func (r *QueryPushDomainORAppOrStreamRequest) SetApp(app string)
param app: app名,传appName查询流名列表(Optional)
func (*QueryPushDomainORAppOrStreamRequest) SetDomain ¶ added in v1.7.0
func (r *QueryPushDomainORAppOrStreamRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*QueryPushDomainORAppOrStreamRequest) SetLimit ¶ added in v1.7.0
func (r *QueryPushDomainORAppOrStreamRequest) SetLimit(limit int)
param limit: 指定app/流名列表大小,默认50(Optional)
func (*QueryPushDomainORAppOrStreamRequest) SetStream ¶ added in v1.7.0
func (r *QueryPushDomainORAppOrStreamRequest) SetStream(stream string)
param stream: 流名模糊查询(Optional)
type QueryPushDomainORAppOrStreamResponse ¶ added in v1.7.0
type QueryPushDomainORAppOrStreamResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryPushDomainORAppOrStreamResult `json:"result"` }
type QueryPushDomainORAppOrStreamResult ¶ added in v1.7.0
type QueryPushDomainORAppOrStreamResult struct {
Streams []string `json:"streams"`
}
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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* (Optional) */ Origin *string `json:"origin"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` /* 分组依据 (Optional) */ GroupBy *string `json:"groupBy"` }
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 *string, period *string, groupBy *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: (Optional) * param isp: (Optional) * param origin: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据 (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) SetArea ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetArea(area string)
param area: (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: 分组依据(Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetIsp ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetOrigin ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetOrigin(origin string)
param origin: (Optional)
func (*QueryStatisticsDataGroupByAreaRequest) SetPeriod ¶
func (r *QueryStatisticsDataGroupByAreaRequest) SetPeriod(period string)
param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据(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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* (Optional) */ Origin *string `json:"origin"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` /* 分组依据 (Optional) */ GroupBy *string `json:"groupBy"` }
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 *string, period *string, groupBy *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: (Optional) * param isp: (Optional) * param origin: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) * param groupBy: 分组依据 (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) SetArea ¶
func (r *QueryStatisticsDataGroupSumRequest) SetArea(area string)
param area: (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: 分组依据(Optional)
func (*QueryStatisticsDataGroupSumRequest) SetIsp ¶
func (r *QueryStatisticsDataGroupSumRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryStatisticsDataGroupSumRequest) SetOrigin ¶
func (r *QueryStatisticsDataGroupSumRequest) SetOrigin(origin string)
param origin: (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"` /* (Optional) */ Area *string `json:"area"` /* (Optional) */ Isp *string `json:"isp"` /* (Optional) */ Origin *string `json:"origin"` /* 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (Optional) */ Period *string `json:"period"` }
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 *string, period *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: (Optional) * param isp: (Optional) * param origin: (Optional) * param period: 时间粒度,可选值:[oneMin,fiveMin,followTime],followTime只会返回一个汇总后的数据 (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) SetArea ¶
func (r *QueryStatisticsDataRequest) SetArea(area string)
param area: (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) SetIsp ¶
func (r *QueryStatisticsDataRequest) SetIsp(isp string)
param isp: (Optional)
func (*QueryStatisticsDataRequest) SetOrigin ¶
func (r *QueryStatisticsDataRequest) SetOrigin(origin string)
param origin: (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"` /* (Optional) */ Size *int `json:"size"` /* 排序依据 (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: (Optional) * param topBy: 排序依据 (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: (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: 排序依据(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"` /* (Optional) */ Size *int `json:"size"` /* 排序依据 (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: (Optional) * param topBy: 排序依据 (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: (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: 排序依据(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 QueryUserAgentRequest ¶ added in v1.3.0
type QueryUserAgentRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewQueryUserAgentRequest ¶ added in v1.3.0
func NewQueryUserAgentRequest( domain string, ) *QueryUserAgentRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewQueryUserAgentRequestWithAllParams ¶ added in v1.3.0
func NewQueryUserAgentRequestWithAllParams( domain string, ) *QueryUserAgentRequest
* param domain: 用户域名 (Required)
func NewQueryUserAgentRequestWithoutParam ¶ added in v1.3.0
func NewQueryUserAgentRequestWithoutParam() *QueryUserAgentRequest
This constructor has better compatible ability when API parameters changed
func (QueryUserAgentRequest) GetRegionId ¶ added in v1.3.0
func (r QueryUserAgentRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*QueryUserAgentRequest) SetDomain ¶ added in v1.3.0
func (r *QueryUserAgentRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type QueryUserAgentResponse ¶ added in v1.3.0
type QueryUserAgentResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result QueryUserAgentResult `json:"result"` }
type QueryUserAgentResult ¶ added in v1.3.0
type SetAccesskeyConfigRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetAccesskeyConfigRequest( domain string, ) *SetAccesskeyConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetAccesskeyConfigRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetAccesskeyConfigRequestWithoutParam() *SetAccesskeyConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetAccesskeyConfigRequest) GetRegionId ¶ added in v1.3.0
func (r SetAccesskeyConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetAccesskeyConfigRequest) SetAccesskeyKeep ¶ added in v1.3.0
func (r *SetAccesskeyConfigRequest) SetAccesskeyKeep(accesskeyKeep int)
param accesskeyKeep: 是否是回源鉴权 0表示是 1表示否(Optional)
func (*SetAccesskeyConfigRequest) SetAccesskeyKey ¶ added in v1.3.0
func (r *SetAccesskeyConfigRequest) SetAccesskeyKey(accesskeyKey string)
param accesskeyKey: 密码,长度为8到32(Optional)
func (*SetAccesskeyConfigRequest) SetAccesskeyType ¶ added in v1.3.0
func (r *SetAccesskeyConfigRequest) SetAccesskeyType(accesskeyType int)
param accesskeyType: 鉴权类型,0表示无鉴权,1表示参数鉴权,2表示路径鉴权(Optional)
func (*SetAccesskeyConfigRequest) SetDomain ¶ added in v1.3.0
func (r *SetAccesskeyConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type SetAccesskeyConfigResponse ¶ added in v1.3.0
type SetAccesskeyConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetAccesskeyConfigResult `json:"result"` }
type SetAccesskeyConfigResult ¶ added in v1.3.0
type SetAccesskeyConfigResult struct { }
type SetFollowRedirectRequest ¶ added in v1.7.0
type SetFollowRedirectRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 开关取值[on,off] (Optional) */ Status *string `json:"status"` }
func NewSetFollowRedirectRequest ¶ added in v1.7.0
func NewSetFollowRedirectRequest( domain string, ) *SetFollowRedirectRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetFollowRedirectRequestWithAllParams ¶ added in v1.7.0
func NewSetFollowRedirectRequestWithAllParams( domain string, status *string, ) *SetFollowRedirectRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetFollowRedirectRequestWithoutParam ¶ added in v1.7.0
func NewSetFollowRedirectRequestWithoutParam() *SetFollowRedirectRequest
This constructor has better compatible ability when API parameters changed
func (SetFollowRedirectRequest) GetRegionId ¶ added in v1.7.0
func (r SetFollowRedirectRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetFollowRedirectRequest) SetDomain ¶ added in v1.7.0
func (r *SetFollowRedirectRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetFollowRedirectRequest) SetStatus ¶ added in v1.7.0
func (r *SetFollowRedirectRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetFollowRedirectResponse ¶ added in v1.7.0
type SetFollowRedirectResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetFollowRedirectResult `json:"result"` }
type SetFollowRedirectResult ¶ added in v1.7.0
type SetFollowRedirectResult struct { }
type SetFollowSourceProtocolRequest ¶ added in v1.7.0
type SetFollowSourceProtocolRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 开关取值[on,off] (Optional) */ Status *string `json:"status"` }
func NewSetFollowSourceProtocolRequest ¶ added in v1.7.0
func NewSetFollowSourceProtocolRequest( domain string, ) *SetFollowSourceProtocolRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetFollowSourceProtocolRequestWithAllParams ¶ added in v1.7.0
func NewSetFollowSourceProtocolRequestWithAllParams( domain string, status *string, ) *SetFollowSourceProtocolRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetFollowSourceProtocolRequestWithoutParam ¶ added in v1.7.0
func NewSetFollowSourceProtocolRequestWithoutParam() *SetFollowSourceProtocolRequest
This constructor has better compatible ability when API parameters changed
func (SetFollowSourceProtocolRequest) GetRegionId ¶ added in v1.7.0
func (r SetFollowSourceProtocolRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetFollowSourceProtocolRequest) SetDomain ¶ added in v1.7.0
func (r *SetFollowSourceProtocolRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetFollowSourceProtocolRequest) SetStatus ¶ added in v1.7.0
func (r *SetFollowSourceProtocolRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetFollowSourceProtocolResponse ¶ added in v1.7.0
type SetFollowSourceProtocolResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetFollowSourceProtocolResult `json:"result"` }
type SetFollowSourceProtocolResult ¶ added in v1.7.0
type SetFollowSourceProtocolResult struct { }
type SetHttpHeaderRequest ¶ added in v1.3.0
type SetHttpHeaderRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* header类型[resp,req] (Optional) */ HeaderType *string `json:"headerType"` /* header名 (Optional) */ HeaderName *string `json:"headerName"` /* header值 (Optional) */ HeaderValue *string `json:"headerValue"` }
func NewSetHttpHeaderRequest ¶ added in v1.3.0
func NewSetHttpHeaderRequest( domain string, ) *SetHttpHeaderRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetHttpHeaderRequestWithAllParams ¶ added in v1.3.0
func NewSetHttpHeaderRequestWithAllParams( domain string, headerType *string, headerName *string, headerValue *string, ) *SetHttpHeaderRequest
* param domain: 用户域名 (Required) * param headerType: header类型[resp,req] (Optional) * param headerName: header名 (Optional) * param headerValue: header值 (Optional)
func NewSetHttpHeaderRequestWithoutParam ¶ added in v1.3.0
func NewSetHttpHeaderRequestWithoutParam() *SetHttpHeaderRequest
This constructor has better compatible ability when API parameters changed
func (SetHttpHeaderRequest) GetRegionId ¶ added in v1.3.0
func (r SetHttpHeaderRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetHttpHeaderRequest) SetDomain ¶ added in v1.3.0
func (r *SetHttpHeaderRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetHttpHeaderRequest) SetHeaderName ¶ added in v1.3.0
func (r *SetHttpHeaderRequest) SetHeaderName(headerName string)
param headerName: header名(Optional)
func (*SetHttpHeaderRequest) SetHeaderType ¶ added in v1.3.0
func (r *SetHttpHeaderRequest) SetHeaderType(headerType string)
param headerType: header类型[resp,req](Optional)
func (*SetHttpHeaderRequest) SetHeaderValue ¶ added in v1.3.0
func (r *SetHttpHeaderRequest) SetHeaderValue(headerValue string)
param headerValue: header值(Optional)
type SetHttpHeaderResponse ¶ added in v1.3.0
type SetHttpHeaderResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetHttpHeaderResult `json:"result"` }
type SetHttpHeaderResult ¶ added in v1.3.0
type SetHttpHeaderResult struct { }
type SetHttpTypeRequest ¶ added in v1.3.0
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"` }
func NewSetHttpTypeRequest ¶ added in v1.3.0
func NewSetHttpTypeRequest( domain string, ) *SetHttpTypeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetHttpTypeRequestWithAllParams ¶ added in v1.3.0
func NewSetHttpTypeRequestWithAllParams( domain string, httpType *string, certificate *string, rsaKey *string, jumpType *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)
func NewSetHttpTypeRequestWithoutParam ¶ added in v1.3.0
func NewSetHttpTypeRequestWithoutParam() *SetHttpTypeRequest
This constructor has better compatible ability when API parameters changed
func (SetHttpTypeRequest) GetRegionId ¶ added in v1.3.0
func (r SetHttpTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetHttpTypeRequest) SetCertificate ¶ added in v1.3.0
func (r *SetHttpTypeRequest) SetCertificate(certificate string)
param certificate: 用户证书,当Type为https时必须设置(Optional)
func (*SetHttpTypeRequest) SetDomain ¶ added in v1.3.0
func (r *SetHttpTypeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetHttpTypeRequest) SetHttpType ¶ added in v1.3.0
func (r *SetHttpTypeRequest) SetHttpType(httpType string)
param httpType: http类型,只能为http或者https,默认为http.当设为https时,需要调用“设置通讯协议”接口上传证书和私钥(Optional)
func (*SetHttpTypeRequest) SetJumpType ¶ added in v1.3.0
func (r *SetHttpTypeRequest) SetJumpType(jumpType string)
param jumpType: 有三种类型:default、http、https(Optional)
func (*SetHttpTypeRequest) SetRsaKey ¶ added in v1.3.0
func (r *SetHttpTypeRequest) SetRsaKey(rsaKey string)
param rsaKey: 证书私钥(Optional)
type SetHttpTypeResponse ¶ added in v1.3.0
type SetHttpTypeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetHttpTypeResult `json:"result"` }
type SetHttpTypeResult ¶ added in v1.3.0
type SetHttpTypeResult struct { }
type SetIgnoreQueryStringRequest ¶ added in v1.3.0
type SetIgnoreQueryStringRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 开关取值[on,off] (Optional) */ Status *string `json:"status"` }
func NewSetIgnoreQueryStringRequest ¶ added in v1.3.0
func NewSetIgnoreQueryStringRequest( domain string, ) *SetIgnoreQueryStringRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetIgnoreQueryStringRequestWithAllParams ¶ added in v1.3.0
func NewSetIgnoreQueryStringRequestWithAllParams( domain string, status *string, ) *SetIgnoreQueryStringRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetIgnoreQueryStringRequestWithoutParam ¶ added in v1.3.0
func NewSetIgnoreQueryStringRequestWithoutParam() *SetIgnoreQueryStringRequest
This constructor has better compatible ability when API parameters changed
func (SetIgnoreQueryStringRequest) GetRegionId ¶ added in v1.3.0
func (r SetIgnoreQueryStringRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetIgnoreQueryStringRequest) SetDomain ¶ added in v1.3.0
func (r *SetIgnoreQueryStringRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetIgnoreQueryStringRequest) SetStatus ¶ added in v1.3.0
func (r *SetIgnoreQueryStringRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetIgnoreQueryStringResponse ¶ added in v1.3.0
type SetIgnoreQueryStringResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetIgnoreQueryStringResult `json:"result"` }
type SetIgnoreQueryStringResult ¶ added in v1.3.0
type SetIgnoreQueryStringResult struct { }
type SetIpBlackListRequest ¶ added in v1.3.0
type SetIpBlackListRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* ip黑名单,ips中url不能超过50条 (Optional) */ Ips []string `json:"ips"` }
func NewSetIpBlackListRequest ¶ added in v1.3.0
func NewSetIpBlackListRequest( domain string, ) *SetIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetIpBlackListRequestWithAllParams ¶ added in v1.3.0
func NewSetIpBlackListRequestWithAllParams( domain string, ips []string, ) *SetIpBlackListRequest
* param domain: 用户域名 (Required) * param ips: ip黑名单,ips中url不能超过50条 (Optional)
func NewSetIpBlackListRequestWithoutParam ¶ added in v1.3.0
func NewSetIpBlackListRequestWithoutParam() *SetIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (SetIpBlackListRequest) GetRegionId ¶ added in v1.3.0
func (r SetIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetIpBlackListRequest) SetDomain ¶ added in v1.3.0
func (r *SetIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetIpBlackListRequest) SetIps ¶ added in v1.3.0
func (r *SetIpBlackListRequest) SetIps(ips []string)
param ips: ip黑名单,ips中url不能超过50条(Optional)
type SetIpBlackListResponse ¶ added in v1.3.0
type SetIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetIpBlackListResult `json:"result"` }
type SetIpBlackListResult ¶ added in v1.3.0
type SetIpBlackListResult struct { }
type SetLiveDomainAccessKeyRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetLiveDomainAccessKeyRequest( domain string, ) *SetLiveDomainAccessKeyRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainAccessKeyRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetLiveDomainAccessKeyRequestWithoutParam() *SetLiveDomainAccessKeyRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainAccessKeyRequest) GetRegionId ¶ added in v1.3.0
func (r SetLiveDomainAccessKeyRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainAccessKeyRequest) SetAccesskeyKey ¶ added in v1.3.0
func (r *SetLiveDomainAccessKeyRequest) SetAccesskeyKey(accesskeyKey string)
param accesskeyKey: url鉴权开启时必传(Optional)
func (*SetLiveDomainAccessKeyRequest) SetAccesskeyType ¶ added in v1.3.0
func (r *SetLiveDomainAccessKeyRequest) SetAccesskeyType(accesskeyType int)
param accesskeyType: url鉴权开启1关闭0(Optional)
func (*SetLiveDomainAccessKeyRequest) SetAuthLifeTime ¶ added in v1.3.0
func (r *SetLiveDomainAccessKeyRequest) SetAuthLifeTime(authLifeTime int)
param authLifeTime: 开启时默认值为300s,关闭时为0(Optional)
func (*SetLiveDomainAccessKeyRequest) SetDomain ¶ added in v1.3.0
func (r *SetLiveDomainAccessKeyRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type SetLiveDomainAccessKeyResponse ¶ added in v1.3.0
type SetLiveDomainAccessKeyResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetLiveDomainAccessKeyResult `json:"result"` }
type SetLiveDomainAccessKeyResult ¶ added in v1.3.0
type SetLiveDomainAccessKeyResult struct { }
type SetLiveDomainBackSourceHostRequest ¶ added in v1.3.0
type SetLiveDomainBackSourceHostRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 默认回源host (Optional) */ SourceHost *string `json:"sourceHost"` }
func NewSetLiveDomainBackSourceHostRequest ¶ added in v1.3.0
func NewSetLiveDomainBackSourceHostRequest( domain string, ) *SetLiveDomainBackSourceHostRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainBackSourceHostRequestWithAllParams ¶ added in v1.3.0
func NewSetLiveDomainBackSourceHostRequestWithAllParams( domain string, sourceHost *string, ) *SetLiveDomainBackSourceHostRequest
* param domain: 用户域名 (Required) * param sourceHost: 默认回源host (Optional)
func NewSetLiveDomainBackSourceHostRequestWithoutParam ¶ added in v1.3.0
func NewSetLiveDomainBackSourceHostRequestWithoutParam() *SetLiveDomainBackSourceHostRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainBackSourceHostRequest) GetRegionId ¶ added in v1.3.0
func (r SetLiveDomainBackSourceHostRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainBackSourceHostRequest) SetDomain ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceHostRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainBackSourceHostRequest) SetSourceHost ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceHostRequest) SetSourceHost(sourceHost string)
param sourceHost: 默认回源host(Optional)
type SetLiveDomainBackSourceHostResponse ¶ added in v1.3.0
type SetLiveDomainBackSourceHostResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetLiveDomainBackSourceHostResult `json:"result"` }
type SetLiveDomainBackSourceHostResult ¶ added in v1.3.0
type SetLiveDomainBackSourceHostResult struct { }
type SetLiveDomainBackSourceRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetLiveDomainBackSourceRequest( domain string, ) *SetLiveDomainBackSourceRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainBackSourceRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetLiveDomainBackSourceRequestWithoutParam() *SetLiveDomainBackSourceRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainBackSourceRequest) GetRegionId ¶ added in v1.3.0
func (r SetLiveDomainBackSourceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainBackSourceRequest) SetBackSourceType ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceRequest) SetBackSourceType(backSourceType string)
param backSourceType: (Optional)
func (*SetLiveDomainBackSourceRequest) SetDefaultSourceHost ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: 默认回源host(Optional)
func (*SetLiveDomainBackSourceRequest) SetDomain ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainBackSourceRequest) SetDomainSource ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*SetLiveDomainBackSourceRequest) SetIpSource ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*SetLiveDomainBackSourceRequest) SetSourceType ¶ added in v1.3.0
func (r *SetLiveDomainBackSourceRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能为[ips,domain]中的一种(Optional)
type SetLiveDomainBackSourceResponse ¶ added in v1.3.0
type SetLiveDomainBackSourceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetLiveDomainBackSourceResult `json:"result"` }
type SetLiveDomainBackSourceResult ¶ added in v1.3.0
type SetLiveDomainBackSourceResult struct { }
type SetLiveDomainIpBlackListRequest ¶ added in v1.3.0
type SetLiveDomainIpBlackListRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* (Optional) */ Ips []string `json:"ips"` }
func NewSetLiveDomainIpBlackListRequest ¶ added in v1.3.0
func NewSetLiveDomainIpBlackListRequest( domain string, ) *SetLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainIpBlackListRequestWithAllParams ¶ added in v1.3.0
func NewSetLiveDomainIpBlackListRequestWithAllParams( domain string, ips []string, ) *SetLiveDomainIpBlackListRequest
* param domain: 用户域名 (Required) * param ips: (Optional)
func NewSetLiveDomainIpBlackListRequestWithoutParam ¶ added in v1.3.0
func NewSetLiveDomainIpBlackListRequestWithoutParam() *SetLiveDomainIpBlackListRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainIpBlackListRequest) GetRegionId ¶ added in v1.3.0
func (r SetLiveDomainIpBlackListRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainIpBlackListRequest) SetDomain ¶ added in v1.3.0
func (r *SetLiveDomainIpBlackListRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainIpBlackListRequest) SetIps ¶ added in v1.3.0
func (r *SetLiveDomainIpBlackListRequest) SetIps(ips []string)
param ips: (Optional)
type SetLiveDomainIpBlackListResponse ¶ added in v1.3.0
type SetLiveDomainIpBlackListResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetLiveDomainIpBlackListResult `json:"result"` }
type SetLiveDomainIpBlackListResult ¶ added in v1.3.0
type SetLiveDomainIpBlackListResult struct { }
type SetLiveDomainReferRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetLiveDomainReferRequest( domain string, ) *SetLiveDomainReferRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetLiveDomainReferRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetLiveDomainReferRequestWithoutParam() *SetLiveDomainReferRequest
This constructor has better compatible ability when API parameters changed
func (SetLiveDomainReferRequest) GetRegionId ¶ added in v1.3.0
func (r SetLiveDomainReferRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetLiveDomainReferRequest) SetAllowNoReferHeader ¶ added in v1.3.0
func (r *SetLiveDomainReferRequest) SetAllowNoReferHeader(allowNoReferHeader string)
param allowNoReferHeader: 是否允许空refer访问,默认为“on”(Optional)
func (*SetLiveDomainReferRequest) SetAllowNullReferHeader ¶ added in v1.3.0
func (r *SetLiveDomainReferRequest) SetAllowNullReferHeader(allowNullReferHeader string)
param allowNullReferHeader: 是否允许无ua访问,默认为“on”(Optional)
func (*SetLiveDomainReferRequest) SetDomain ¶ added in v1.3.0
func (r *SetLiveDomainReferRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetLiveDomainReferRequest) SetReferList ¶ added in v1.3.0
func (r *SetLiveDomainReferRequest) SetReferList(referList []string)
param referList: 逗号隔开的域名列表,如果referList传空则为删除(Optional)
func (*SetLiveDomainReferRequest) SetReferType ¶ added in v1.3.0
func (r *SetLiveDomainReferRequest) SetReferType(referType string)
param referType: refer类型,取值:block(黑名单),allow(白名单)默认为block(Optional)
type SetLiveDomainReferResponse ¶ added in v1.3.0
type SetLiveDomainReferResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetLiveDomainReferResult `json:"result"` }
type SetLiveDomainReferResult ¶ added in v1.3.0
type SetLiveDomainReferResult struct { }
type SetMonitorRequest ¶ added in v1.3.0
type SetMonitorRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 探测周期,取值1和5,单位为分钟 (Optional) */ Cycle *int `json:"cycle"` /* 探测路径 (Optional) */ MonitorPath *string `json:"monitorPath"` /* (Optional) */ HttpRequestHeader *interface{} `json:"httpRequestHeader"` }
func NewSetMonitorRequest ¶ added in v1.3.0
func NewSetMonitorRequest( domain string, ) *SetMonitorRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetMonitorRequestWithAllParams ¶ added in v1.3.0
func NewSetMonitorRequestWithAllParams( domain string, cycle *int, monitorPath *string, httpRequestHeader *interface{}, ) *SetMonitorRequest
* param domain: 用户域名 (Required) * param cycle: 探测周期,取值1和5,单位为分钟 (Optional) * param monitorPath: 探测路径 (Optional) * param httpRequestHeader: (Optional)
func NewSetMonitorRequestWithoutParam ¶ added in v1.3.0
func NewSetMonitorRequestWithoutParam() *SetMonitorRequest
This constructor has better compatible ability when API parameters changed
func (SetMonitorRequest) GetRegionId ¶ added in v1.3.0
func (r SetMonitorRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetMonitorRequest) SetCycle ¶ added in v1.3.0
func (r *SetMonitorRequest) SetCycle(cycle int)
param cycle: 探测周期,取值1和5,单位为分钟(Optional)
func (*SetMonitorRequest) SetDomain ¶ added in v1.3.0
func (r *SetMonitorRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetMonitorRequest) SetHttpRequestHeader ¶ added in v1.3.0
func (r *SetMonitorRequest) SetHttpRequestHeader(httpRequestHeader interface{})
param httpRequestHeader: (Optional)
func (*SetMonitorRequest) SetMonitorPath ¶ added in v1.3.0
func (r *SetMonitorRequest) SetMonitorPath(monitorPath string)
param monitorPath: 探测路径(Optional)
type SetMonitorResponse ¶ added in v1.3.0
type SetMonitorResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetMonitorResult `json:"result"` }
type SetMonitorResult ¶ added in v1.3.0
type SetMonitorResult struct {
MonitorId int64 `json:"monitorId"`
}
type SetOnlineBillingTypeRequest ¶ added in v1.7.0
type SetOnlineBillingTypeRequest struct { core.JDCloudRequest /* 计费方式,取值[0,1],0:日流量计费,1:日峰值带宽计费. (Optional) */ AllType *int `json:"allType"` }
func NewSetOnlineBillingTypeRequest ¶ added in v1.7.0
func NewSetOnlineBillingTypeRequest() *SetOnlineBillingTypeRequest
* * @Deprecated, not compatible when mandatory parameters changed
func NewSetOnlineBillingTypeRequestWithAllParams ¶ added in v1.7.0
func NewSetOnlineBillingTypeRequestWithAllParams( allType *int, ) *SetOnlineBillingTypeRequest
* param allType: 计费方式,取值[0,1],0:日流量计费,1:日峰值带宽计费. (Optional)
func NewSetOnlineBillingTypeRequestWithoutParam ¶ added in v1.7.0
func NewSetOnlineBillingTypeRequestWithoutParam() *SetOnlineBillingTypeRequest
This constructor has better compatible ability when API parameters changed
func (SetOnlineBillingTypeRequest) GetRegionId ¶ added in v1.7.0
func (r SetOnlineBillingTypeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetOnlineBillingTypeRequest) SetAllType ¶ added in v1.7.0
func (r *SetOnlineBillingTypeRequest) SetAllType(allType int)
param allType: 计费方式,取值[0,1],0:日流量计费,1:日峰值带宽计费.(Optional)
type SetOnlineBillingTypeResponse ¶ added in v1.7.0
type SetOnlineBillingTypeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetOnlineBillingTypeResult `json:"result"` }
type SetOnlineBillingTypeResult ¶ added in v1.7.0
type SetOnlineBillingTypeResult struct { }
type SetProtocolConvertRequest ¶ added in v1.3.0
type SetProtocolConvertRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* https证书,转https格式时必传 (Optional) */ Certificate *string `json:"certificate"` /* https私钥,转https格式时必传 (Optional) */ RsaKey *string `json:"rsaKey"` /* (Optional) */ ProtocolConverts []cdn.ProtocolConvert `json:"protocolConverts"` }
func NewSetProtocolConvertRequest ¶ added in v1.3.0
func NewSetProtocolConvertRequest( domain string, ) *SetProtocolConvertRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetProtocolConvertRequestWithAllParams ¶ added in v1.3.0
func NewSetProtocolConvertRequestWithAllParams( domain string, certificate *string, rsaKey *string, protocolConverts []cdn.ProtocolConvert, ) *SetProtocolConvertRequest
* param domain: 用户域名 (Required) * param certificate: https证书,转https格式时必传 (Optional) * param rsaKey: https私钥,转https格式时必传 (Optional) * param protocolConverts: (Optional)
func NewSetProtocolConvertRequestWithoutParam ¶ added in v1.3.0
func NewSetProtocolConvertRequestWithoutParam() *SetProtocolConvertRequest
This constructor has better compatible ability when API parameters changed
func (SetProtocolConvertRequest) GetRegionId ¶ added in v1.3.0
func (r SetProtocolConvertRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetProtocolConvertRequest) SetCertificate ¶ added in v1.3.0
func (r *SetProtocolConvertRequest) SetCertificate(certificate string)
param certificate: https证书,转https格式时必传(Optional)
func (*SetProtocolConvertRequest) SetDomain ¶ added in v1.3.0
func (r *SetProtocolConvertRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetProtocolConvertRequest) SetProtocolConverts ¶ added in v1.3.0
func (r *SetProtocolConvertRequest) SetProtocolConverts(protocolConverts []cdn.ProtocolConvert)
param protocolConverts: (Optional)
func (*SetProtocolConvertRequest) SetRsaKey ¶ added in v1.3.0
func (r *SetProtocolConvertRequest) SetRsaKey(rsaKey string)
param rsaKey: https私钥,转https格式时必传(Optional)
type SetProtocolConvertResponse ¶ added in v1.3.0
type SetProtocolConvertResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetProtocolConvertResult `json:"result"` }
type SetProtocolConvertResult ¶ added in v1.3.0
type SetProtocolConvertResult struct { }
type SetRangeRequest ¶ added in v1.3.0
type SetRangeRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 开关取值[on,off] (Optional) */ Status *string `json:"status"` }
func NewSetRangeRequest ¶ added in v1.3.0
func NewSetRangeRequest( domain string, ) *SetRangeRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetRangeRequestWithAllParams ¶ added in v1.3.0
func NewSetRangeRequestWithAllParams( domain string, status *string, ) *SetRangeRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetRangeRequestWithoutParam ¶ added in v1.3.0
func NewSetRangeRequestWithoutParam() *SetRangeRequest
This constructor has better compatible ability when API parameters changed
func (SetRangeRequest) GetRegionId ¶ added in v1.3.0
func (r SetRangeRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetRangeRequest) SetDomain ¶ added in v1.3.0
func (r *SetRangeRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetRangeRequest) SetStatus ¶ added in v1.3.0
func (r *SetRangeRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetRangeResponse ¶ added in v1.3.0
type SetRangeResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetRangeResult `json:"result"` }
type SetRangeResult ¶ added in v1.3.0
type SetRangeResult struct { }
type SetReferRequest ¶ added in v1.3.0
type SetReferRequest 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 NewSetReferRequest ¶ added in v1.3.0
func NewSetReferRequest( domain string, ) *SetReferRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetReferRequestWithAllParams ¶ added in v1.3.0
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传空则为删除 (Optional) * param allowNoReferHeader: 是否允许空refer访问,默认为“on” (Optional) * param allowNullReferHeader: 是否允许无ua访问,默认为“on” (Optional)
func NewSetReferRequestWithoutParam ¶ added in v1.3.0
func NewSetReferRequestWithoutParam() *SetReferRequest
This constructor has better compatible ability when API parameters changed
func (SetReferRequest) GetRegionId ¶ added in v1.3.0
func (r SetReferRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetReferRequest) SetAllowNoReferHeader ¶ added in v1.3.0
func (r *SetReferRequest) SetAllowNoReferHeader(allowNoReferHeader string)
param allowNoReferHeader: 是否允许空refer访问,默认为“on”(Optional)
func (*SetReferRequest) SetAllowNullReferHeader ¶ added in v1.3.0
func (r *SetReferRequest) SetAllowNullReferHeader(allowNullReferHeader string)
param allowNullReferHeader: 是否允许无ua访问,默认为“on”(Optional)
func (*SetReferRequest) SetDomain ¶ added in v1.3.0
func (r *SetReferRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetReferRequest) SetReferList ¶ added in v1.3.0
func (r *SetReferRequest) SetReferList(referList []string)
param referList: 逗号隔开的域名列表,如果referList传空则为删除(Optional)
func (*SetReferRequest) SetReferType ¶ added in v1.3.0
func (r *SetReferRequest) SetReferType(referType string)
param referType: refer类型,取值:block(黑名单),allow(白名单)默认为block(Optional)
type SetReferResponse ¶ added in v1.3.0
type SetReferResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetReferResult `json:"result"` }
type SetReferResult ¶ added in v1.3.0
type SetReferResult struct { }
type SetSourceRequest ¶ added in v1.3.0
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"` /* (Optional) */ IpSource []cdn.IpSourceInfo `json:"ipSource"` /* (Optional) */ DomainSource []cdn.DomainSourceInfo `json:"domainSource"` /* (Optional) */ OssSource *string `json:"ossSource"` /* (Optional) */ DefaultSourceHost *string `json:"defaultSourceHost"` }
func NewSetSourceRequest ¶ added in v1.3.0
func NewSetSourceRequest( domain string, ) *SetSourceRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetSourceRequestWithAllParams ¶ added in v1.3.0
func NewSetSourceRequestWithAllParams( domain string, sourceType *string, backSourceType *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 ipSource: (Optional) * param domainSource: (Optional) * param ossSource: (Optional) * param defaultSourceHost: (Optional)
func NewSetSourceRequestWithoutParam ¶ added in v1.3.0
func NewSetSourceRequestWithoutParam() *SetSourceRequest
This constructor has better compatible ability when API parameters changed
func (SetSourceRequest) GetRegionId ¶ added in v1.3.0
func (r SetSourceRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetSourceRequest) SetBackSourceType ¶ added in v1.3.0
func (r *SetSourceRequest) SetBackSourceType(backSourceType string)
param backSourceType: 回源方式,只能是[https,http]中的一种,默认http(Optional)
func (*SetSourceRequest) SetDefaultSourceHost ¶ added in v1.3.0
func (r *SetSourceRequest) SetDefaultSourceHost(defaultSourceHost string)
param defaultSourceHost: (Optional)
func (*SetSourceRequest) SetDomain ¶ added in v1.3.0
func (r *SetSourceRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetSourceRequest) SetDomainSource ¶ added in v1.3.0
func (r *SetSourceRequest) SetDomainSource(domainSource []cdn.DomainSourceInfo)
param domainSource: (Optional)
func (*SetSourceRequest) SetIpSource ¶ added in v1.3.0
func (r *SetSourceRequest) SetIpSource(ipSource []cdn.IpSourceInfo)
param ipSource: (Optional)
func (*SetSourceRequest) SetOssSource ¶ added in v1.3.0
func (r *SetSourceRequest) SetOssSource(ossSource string)
param ossSource: (Optional)
func (*SetSourceRequest) SetSourceType ¶ added in v1.3.0
func (r *SetSourceRequest) SetSourceType(sourceType string)
param sourceType: 回源类型只能是[ips,domain,oss]中的一种(Optional)
type SetSourceResponse ¶ added in v1.3.0
type SetSourceResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetSourceResult `json:"result"` }
type SetSourceResult ¶ added in v1.3.0
type SetSourceResult struct { }
type SetUserAgentConfigRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetUserAgentConfigRequest( domain string, ) *SetUserAgentConfigRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetUserAgentConfigRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewSetUserAgentConfigRequestWithoutParam() *SetUserAgentConfigRequest
This constructor has better compatible ability when API parameters changed
func (SetUserAgentConfigRequest) GetRegionId ¶ added in v1.3.0
func (r SetUserAgentConfigRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetUserAgentConfigRequest) SetDomain ¶ added in v1.3.0
func (r *SetUserAgentConfigRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetUserAgentConfigRequest) SetUserAgentList ¶ added in v1.3.0
func (r *SetUserAgentConfigRequest) SetUserAgentList(userAgentList []string)
param userAgentList: UA列表,如果userAgentList为空,则为全部删除(Optional)
func (*SetUserAgentConfigRequest) SetUserAgentType ¶ added in v1.3.0
func (r *SetUserAgentConfigRequest) SetUserAgentType(userAgentType string)
param userAgentType: userAgent类型,取值:block(黑名单),allow(白名单),默认为block(Optional)
type SetUserAgentConfigResponse ¶ added in v1.3.0
type SetUserAgentConfigResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetUserAgentConfigResult `json:"result"` }
type SetUserAgentConfigResult ¶ added in v1.3.0
type SetUserAgentConfigResult struct { }
type SetVideoDraftRequest ¶ added in v1.3.0
type SetVideoDraftRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 开关取值[on,off] (Optional) */ Status *string `json:"status"` }
func NewSetVideoDraftRequest ¶ added in v1.3.0
func NewSetVideoDraftRequest( domain string, ) *SetVideoDraftRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewSetVideoDraftRequestWithAllParams ¶ added in v1.3.0
func NewSetVideoDraftRequestWithAllParams( domain string, status *string, ) *SetVideoDraftRequest
* param domain: 用户域名 (Required) * param status: 开关取值[on,off] (Optional)
func NewSetVideoDraftRequestWithoutParam ¶ added in v1.3.0
func NewSetVideoDraftRequestWithoutParam() *SetVideoDraftRequest
This constructor has better compatible ability when API parameters changed
func (SetVideoDraftRequest) GetRegionId ¶ added in v1.3.0
func (r SetVideoDraftRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*SetVideoDraftRequest) SetDomain ¶ added in v1.3.0
func (r *SetVideoDraftRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*SetVideoDraftRequest) SetStatus ¶ added in v1.3.0
func (r *SetVideoDraftRequest) SetStatus(status string)
param status: 开关取值[on,off](Optional)
type SetVideoDraftResponse ¶ added in v1.3.0
type SetVideoDraftResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result SetVideoDraftResult `json:"result"` }
type SetVideoDraftResult ¶ added in v1.3.0
type SetVideoDraftResult 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 ¶ added in v1.3.0
type StopMonitorRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` }
func NewStopMonitorRequest ¶ added in v1.3.0
func NewStopMonitorRequest( domain string, ) *StopMonitorRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewStopMonitorRequestWithAllParams ¶ added in v1.3.0
func NewStopMonitorRequestWithAllParams( domain string, ) *StopMonitorRequest
* param domain: 用户域名 (Required)
func NewStopMonitorRequestWithoutParam ¶ added in v1.3.0
func NewStopMonitorRequestWithoutParam() *StopMonitorRequest
This constructor has better compatible ability when API parameters changed
func (StopMonitorRequest) GetRegionId ¶ added in v1.3.0
func (r StopMonitorRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*StopMonitorRequest) SetDomain ¶ added in v1.3.0
func (r *StopMonitorRequest) SetDomain(domain string)
param domain: 用户域名(Required)
type StopMonitorResponse ¶ added in v1.3.0
type StopMonitorResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result StopMonitorResult `json:"result"` }
type StopMonitorResult ¶ added in v1.3.0
type StopMonitorResult struct { }
type UpdateCacheRuleRequest ¶ added in v1.3.0
type UpdateCacheRuleRequest struct { core.JDCloudRequest /* 用户域名 */ Domain string `json:"domain"` /* 此条配置的权重值, 取值范围为1-10,1最大 (Optional) */ Weight *int `json:"weight"` /* 缓存时间,单位秒 (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 ¶ added in v1.3.0
func NewUpdateCacheRuleRequest( domain string, ) *UpdateCacheRuleRequest
* param domain: 用户域名 (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateCacheRuleRequestWithAllParams ¶ added in v1.3.0
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: 缓存时间,单位秒 (Optional) * param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg (Optional) * param cacheType: 缓存方式:0、不缓存,1自定义 (Optional) * param configId: 配置id (Optional)
func NewUpdateCacheRuleRequestWithoutParam ¶ added in v1.3.0
func NewUpdateCacheRuleRequestWithoutParam() *UpdateCacheRuleRequest
This constructor has better compatible ability when API parameters changed
func (UpdateCacheRuleRequest) GetRegionId ¶ added in v1.3.0
func (r UpdateCacheRuleRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateCacheRuleRequest) SetCacheType ¶ added in v1.3.0
func (r *UpdateCacheRuleRequest) SetCacheType(cacheType int)
param cacheType: 缓存方式:0、不缓存,1自定义(Optional)
func (*UpdateCacheRuleRequest) SetConfigId ¶ added in v1.3.0
func (r *UpdateCacheRuleRequest) SetConfigId(configId int64)
param configId: 配置id(Optional)
func (*UpdateCacheRuleRequest) SetContents ¶ added in v1.3.0
func (r *UpdateCacheRuleRequest) SetContents(contents string)
param contents: 规则内容。其他类型只能以/或者.开头,如/a/b或.jpg(Optional)
func (*UpdateCacheRuleRequest) SetDomain ¶ added in v1.3.0
func (r *UpdateCacheRuleRequest) SetDomain(domain string)
param domain: 用户域名(Required)
func (*UpdateCacheRuleRequest) SetTtl ¶ added in v1.3.0
func (r *UpdateCacheRuleRequest) SetTtl(ttl int64)
param ttl: 缓存时间,单位秒(Optional)
func (*UpdateCacheRuleRequest) SetWeight ¶ added in v1.3.0
func (r *UpdateCacheRuleRequest) SetWeight(weight int)
param weight: 此条配置的权重值, 取值范围为1-10,1最大(Optional)
type UpdateCacheRuleResponse ¶ added in v1.3.0
type UpdateCacheRuleResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateCacheRuleResult `json:"result"` }
type UpdateCacheRuleResult ¶ added in v1.3.0
type UpdateCacheRuleResult struct { }
type UpdateDomainGroupRequest ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewUpdateDomainGroupRequest( id int, ) *UpdateDomainGroupRequest
* param id: 域名组id (Required) * * @Deprecated, not compatible when mandatory parameters changed
func NewUpdateDomainGroupRequestWithAllParams ¶ added in v1.3.0
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 ¶ added in v1.3.0
func NewUpdateDomainGroupRequestWithoutParam() *UpdateDomainGroupRequest
This constructor has better compatible ability when API parameters changed
func (UpdateDomainGroupRequest) GetRegionId ¶ added in v1.3.0
func (r UpdateDomainGroupRequest) GetRegionId() string
GetRegionId returns path parameter 'regionId' if exist, otherwise return empty string
func (*UpdateDomainGroupRequest) SetDomainGroupName ¶ added in v1.3.0
func (r *UpdateDomainGroupRequest) SetDomainGroupName(domainGroupName string)
param domainGroupName: (Optional)
func (*UpdateDomainGroupRequest) SetDomains ¶ added in v1.3.0
func (r *UpdateDomainGroupRequest) SetDomains(domains []string)
param domains: 域名组内域名,包含主域名(Optional)
func (*UpdateDomainGroupRequest) SetId ¶ added in v1.3.0
func (r *UpdateDomainGroupRequest) SetId(id int)
param id: 域名组id(Required)
func (*UpdateDomainGroupRequest) SetPrimaryDomain ¶ added in v1.3.0
func (r *UpdateDomainGroupRequest) SetPrimaryDomain(primaryDomain string)
param primaryDomain: 主域名,开启共享缓存时必传(Optional)
func (*UpdateDomainGroupRequest) SetShareCache ¶ added in v1.3.0
func (r *UpdateDomainGroupRequest) SetShareCache(shareCache string)
param shareCache: 是否共享内存(Optional)
type UpdateDomainGroupResponse ¶ added in v1.3.0
type UpdateDomainGroupResponse struct { RequestID string `json:"requestId"` Error core.ErrorResponse `json:"error"` Result UpdateDomainGroupResult `json:"result"` }
type UpdateDomainGroupResult ¶ added in v1.3.0
type UpdateDomainGroupResult struct { }
Source Files
¶
- BatchCreate.go
- BatchDeleteDomainGroup.go
- CreateCacheRule.go
- CreateDomain.go
- CreateDomainGroup.go
- CreateLiveDomain.go
- CreateLiveDomainPrefecthTask.go
- DeleteCacheRule.go
- DeleteDomain.go
- DeleteForbiddenStream.go
- DeleteHttpHeader.go
- GetDomainDetail.go
- GetDomainList.go
- GetDomainListByFilter.go
- OperateIpBlackList.go
- OperateLiveDomainIpBlackList.go
- OperateShareCache.go
- PreviewCertificate.go
- QueryAccesskeyConfig.go
- QueryAreaIspList.go
- QueryDefaultHttpHeaderKey.go
- QueryDomainConfig.go
- QueryDomainGroupDetail.go
- QueryDomainGroupList.go
- QueryDomainsNotInGroup.go
- QueryFollowRedirect.go
- QueryFollowSourceProtocol.go
- QueryHttpHeader.go
- QueryIpBlackList.go
- QueryLiveDomainApps.go
- QueryLiveDomainDetail.go
- QueryLivePrefetchTask.go
- QueryLiveStatisticsAreaDataGroupBy.go
- QueryLiveStatisticsData.go
- QueryLiveTrafficGroupSum.go
- QueryMixStatisticsData.go
- QueryMixStatisticsWithAreaData.go
- QueryMixTrafficGroupSum.go
- QueryMonitor.go
- QueryOnlineBillingType.go
- QueryOssBuckets.go
- QueryPushDomainORAppOrStream.go
- QueryStatisticsData.go
- QueryStatisticsDataGroupByArea.go
- QueryStatisticsDataGroupSum.go
- QueryStatisticsTopIp.go
- QueryStatisticsTopUrl.go
- QueryUserAgent.go
- SetAccesskeyConfig.go
- SetFollowRedirect.go
- SetFollowSourceProtocol.go
- SetHttpHeader.go
- SetHttpType.go
- SetIgnoreQueryString.go
- SetIpBlackList.go
- SetLiveDomainAccessKey.go
- SetLiveDomainBackSource.go
- SetLiveDomainBackSourceHost.go
- SetLiveDomainIpBlackList.go
- SetLiveDomainRefer.go
- SetMonitor.go
- SetOnlineBillingType.go
- SetProtocolConvert.go
- SetRange.go
- SetRefer.go
- SetSource.go
- SetUserAgentConfig.go
- SetVideoDraft.go
- StartDomain.go
- StopDomain.go
- StopMonitor.go
- UpdateCacheRule.go
- UpdateDomainGroup.go