Documentation ¶
Index ¶
- func CdnClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForBatchDeleteTags() *def.HttpRequestDef
- func GenReqDefForCreateDomain() *def.HttpRequestDef
- func GenReqDefForCreatePreheatingTasks() *def.HttpRequestDef
- func GenReqDefForCreateRefreshTasks() *def.HttpRequestDef
- func GenReqDefForCreateTags() *def.HttpRequestDef
- func GenReqDefForDeleteDomain() *def.HttpRequestDef
- func GenReqDefForDisableDomain() *def.HttpRequestDef
- func GenReqDefForEnableDomain() *def.HttpRequestDef
- func GenReqDefForListDomains() *def.HttpRequestDef
- func GenReqDefForShowBlackWhiteList() *def.HttpRequestDef
- func GenReqDefForShowCacheRules() *def.HttpRequestDef
- func GenReqDefForShowCertificatesHttpsInfo() *def.HttpRequestDef
- func GenReqDefForShowDomainDetail() *def.HttpRequestDef
- func GenReqDefForShowDomainFullConfig() *def.HttpRequestDef
- func GenReqDefForShowDomainItemDetails() *def.HttpRequestDef
- func GenReqDefForShowDomainItemLocationDetails() *def.HttpRequestDef
- func GenReqDefForShowDomainLocationStats() *def.HttpRequestDef
- func GenReqDefForShowDomainStats() *def.HttpRequestDef
- func GenReqDefForShowHistoryTaskDetails() *def.HttpRequestDef
- func GenReqDefForShowHistoryTasks() *def.HttpRequestDef
- func GenReqDefForShowHttpInfo() *def.HttpRequestDef
- func GenReqDefForShowIpInfo() *def.HttpRequestDef
- func GenReqDefForShowLogs() *def.HttpRequestDef
- func GenReqDefForShowOriginHost() *def.HttpRequestDef
- func GenReqDefForShowQuota() *def.HttpRequestDef
- func GenReqDefForShowRefer() *def.HttpRequestDef
- func GenReqDefForShowResponseHeader() *def.HttpRequestDef
- func GenReqDefForShowTags() *def.HttpRequestDef
- func GenReqDefForShowTopUrl() *def.HttpRequestDef
- func GenReqDefForShowUrlTaskInfo() *def.HttpRequestDef
- func GenReqDefForUpdateBlackWhiteList() *def.HttpRequestDef
- func GenReqDefForUpdateCacheRules() *def.HttpRequestDef
- func GenReqDefForUpdateDomainFullConfig() *def.HttpRequestDef
- func GenReqDefForUpdateDomainMultiCertificates() *def.HttpRequestDef
- func GenReqDefForUpdateDomainOrigin() *def.HttpRequestDef
- func GenReqDefForUpdateFollow302Switch() *def.HttpRequestDef
- func GenReqDefForUpdateHttpsInfo() *def.HttpRequestDef
- func GenReqDefForUpdateOriginHost() *def.HttpRequestDef
- func GenReqDefForUpdatePrivateBucketAccess() *def.HttpRequestDef
- func GenReqDefForUpdateRangeSwitch() *def.HttpRequestDef
- func GenReqDefForUpdateRefer() *def.HttpRequestDef
- func GenReqDefForUpdateResponseHeader() *def.HttpRequestDef
- type BatchDeleteTagsInvoker
- type CdnClient
- func (c *CdnClient) BatchDeleteTags(request *model.BatchDeleteTagsRequest) (*model.BatchDeleteTagsResponse, error)
- func (c *CdnClient) BatchDeleteTagsInvoker(request *model.BatchDeleteTagsRequest) *BatchDeleteTagsInvoker
- func (c *CdnClient) CreateDomain(request *model.CreateDomainRequest) (*model.CreateDomainResponse, error)
- func (c *CdnClient) CreateDomainInvoker(request *model.CreateDomainRequest) *CreateDomainInvoker
- func (c *CdnClient) CreatePreheatingTasks(request *model.CreatePreheatingTasksRequest) (*model.CreatePreheatingTasksResponse, error)
- func (c *CdnClient) CreatePreheatingTasksInvoker(request *model.CreatePreheatingTasksRequest) *CreatePreheatingTasksInvoker
- func (c *CdnClient) CreateRefreshTasks(request *model.CreateRefreshTasksRequest) (*model.CreateRefreshTasksResponse, error)
- func (c *CdnClient) CreateRefreshTasksInvoker(request *model.CreateRefreshTasksRequest) *CreateRefreshTasksInvoker
- func (c *CdnClient) CreateTags(request *model.CreateTagsRequest) (*model.CreateTagsResponse, error)
- func (c *CdnClient) CreateTagsInvoker(request *model.CreateTagsRequest) *CreateTagsInvoker
- func (c *CdnClient) DeleteDomain(request *model.DeleteDomainRequest) (*model.DeleteDomainResponse, error)
- func (c *CdnClient) DeleteDomainInvoker(request *model.DeleteDomainRequest) *DeleteDomainInvoker
- func (c *CdnClient) DisableDomain(request *model.DisableDomainRequest) (*model.DisableDomainResponse, error)
- func (c *CdnClient) DisableDomainInvoker(request *model.DisableDomainRequest) *DisableDomainInvoker
- func (c *CdnClient) EnableDomain(request *model.EnableDomainRequest) (*model.EnableDomainResponse, error)
- func (c *CdnClient) EnableDomainInvoker(request *model.EnableDomainRequest) *EnableDomainInvoker
- func (c *CdnClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
- func (c *CdnClient) ListDomainsInvoker(request *model.ListDomainsRequest) *ListDomainsInvoker
- func (c *CdnClient) ShowBlackWhiteList(request *model.ShowBlackWhiteListRequest) (*model.ShowBlackWhiteListResponse, error)
- func (c *CdnClient) ShowBlackWhiteListInvoker(request *model.ShowBlackWhiteListRequest) *ShowBlackWhiteListInvoker
- func (c *CdnClient) ShowCacheRules(request *model.ShowCacheRulesRequest) (*model.ShowCacheRulesResponse, error)
- func (c *CdnClient) ShowCacheRulesInvoker(request *model.ShowCacheRulesRequest) *ShowCacheRulesInvoker
- func (c *CdnClient) ShowCertificatesHttpsInfo(request *model.ShowCertificatesHttpsInfoRequest) (*model.ShowCertificatesHttpsInfoResponse, error)
- func (c *CdnClient) ShowCertificatesHttpsInfoInvoker(request *model.ShowCertificatesHttpsInfoRequest) *ShowCertificatesHttpsInfoInvoker
- func (c *CdnClient) ShowDomainDetail(request *model.ShowDomainDetailRequest) (*model.ShowDomainDetailResponse, error)
- func (c *CdnClient) ShowDomainDetailInvoker(request *model.ShowDomainDetailRequest) *ShowDomainDetailInvoker
- func (c *CdnClient) ShowDomainFullConfig(request *model.ShowDomainFullConfigRequest) (*model.ShowDomainFullConfigResponse, error)
- func (c *CdnClient) ShowDomainFullConfigInvoker(request *model.ShowDomainFullConfigRequest) *ShowDomainFullConfigInvoker
- func (c *CdnClient) ShowDomainItemDetails(request *model.ShowDomainItemDetailsRequest) (*model.ShowDomainItemDetailsResponse, error)
- func (c *CdnClient) ShowDomainItemDetailsInvoker(request *model.ShowDomainItemDetailsRequest) *ShowDomainItemDetailsInvoker
- func (c *CdnClient) ShowDomainItemLocationDetails(request *model.ShowDomainItemLocationDetailsRequest) (*model.ShowDomainItemLocationDetailsResponse, error)
- func (c *CdnClient) ShowDomainItemLocationDetailsInvoker(request *model.ShowDomainItemLocationDetailsRequest) *ShowDomainItemLocationDetailsInvoker
- func (c *CdnClient) ShowDomainLocationStats(request *model.ShowDomainLocationStatsRequest) (*model.ShowDomainLocationStatsResponse, error)
- func (c *CdnClient) ShowDomainLocationStatsInvoker(request *model.ShowDomainLocationStatsRequest) *ShowDomainLocationStatsInvoker
- func (c *CdnClient) ShowDomainStats(request *model.ShowDomainStatsRequest) (*model.ShowDomainStatsResponse, error)
- func (c *CdnClient) ShowDomainStatsInvoker(request *model.ShowDomainStatsRequest) *ShowDomainStatsInvoker
- func (c *CdnClient) ShowHistoryTaskDetails(request *model.ShowHistoryTaskDetailsRequest) (*model.ShowHistoryTaskDetailsResponse, error)
- func (c *CdnClient) ShowHistoryTaskDetailsInvoker(request *model.ShowHistoryTaskDetailsRequest) *ShowHistoryTaskDetailsInvoker
- func (c *CdnClient) ShowHistoryTasks(request *model.ShowHistoryTasksRequest) (*model.ShowHistoryTasksResponse, error)
- func (c *CdnClient) ShowHistoryTasksInvoker(request *model.ShowHistoryTasksRequest) *ShowHistoryTasksInvoker
- func (c *CdnClient) ShowHttpInfo(request *model.ShowHttpInfoRequest) (*model.ShowHttpInfoResponse, error)
- func (c *CdnClient) ShowHttpInfoInvoker(request *model.ShowHttpInfoRequest) *ShowHttpInfoInvoker
- func (c *CdnClient) ShowIpInfo(request *model.ShowIpInfoRequest) (*model.ShowIpInfoResponse, error)
- func (c *CdnClient) ShowIpInfoInvoker(request *model.ShowIpInfoRequest) *ShowIpInfoInvoker
- func (c *CdnClient) ShowLogs(request *model.ShowLogsRequest) (*model.ShowLogsResponse, error)
- func (c *CdnClient) ShowLogsInvoker(request *model.ShowLogsRequest) *ShowLogsInvoker
- func (c *CdnClient) ShowOriginHost(request *model.ShowOriginHostRequest) (*model.ShowOriginHostResponse, error)
- func (c *CdnClient) ShowOriginHostInvoker(request *model.ShowOriginHostRequest) *ShowOriginHostInvoker
- func (c *CdnClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)
- func (c *CdnClient) ShowQuotaInvoker(request *model.ShowQuotaRequest) *ShowQuotaInvoker
- func (c *CdnClient) ShowRefer(request *model.ShowReferRequest) (*model.ShowReferResponse, error)
- func (c *CdnClient) ShowReferInvoker(request *model.ShowReferRequest) *ShowReferInvoker
- func (c *CdnClient) ShowResponseHeader(request *model.ShowResponseHeaderRequest) (*model.ShowResponseHeaderResponse, error)
- func (c *CdnClient) ShowResponseHeaderInvoker(request *model.ShowResponseHeaderRequest) *ShowResponseHeaderInvoker
- func (c *CdnClient) ShowTags(request *model.ShowTagsRequest) (*model.ShowTagsResponse, error)
- func (c *CdnClient) ShowTagsInvoker(request *model.ShowTagsRequest) *ShowTagsInvoker
- func (c *CdnClient) ShowTopUrl(request *model.ShowTopUrlRequest) (*model.ShowTopUrlResponse, error)
- func (c *CdnClient) ShowTopUrlInvoker(request *model.ShowTopUrlRequest) *ShowTopUrlInvoker
- func (c *CdnClient) ShowUrlTaskInfo(request *model.ShowUrlTaskInfoRequest) (*model.ShowUrlTaskInfoResponse, error)
- func (c *CdnClient) ShowUrlTaskInfoInvoker(request *model.ShowUrlTaskInfoRequest) *ShowUrlTaskInfoInvoker
- func (c *CdnClient) UpdateBlackWhiteList(request *model.UpdateBlackWhiteListRequest) (*model.UpdateBlackWhiteListResponse, error)
- func (c *CdnClient) UpdateBlackWhiteListInvoker(request *model.UpdateBlackWhiteListRequest) *UpdateBlackWhiteListInvoker
- func (c *CdnClient) UpdateCacheRules(request *model.UpdateCacheRulesRequest) (*model.UpdateCacheRulesResponse, error)
- func (c *CdnClient) UpdateCacheRulesInvoker(request *model.UpdateCacheRulesRequest) *UpdateCacheRulesInvoker
- func (c *CdnClient) UpdateDomainFullConfig(request *model.UpdateDomainFullConfigRequest) (*model.UpdateDomainFullConfigResponse, error)
- func (c *CdnClient) UpdateDomainFullConfigInvoker(request *model.UpdateDomainFullConfigRequest) *UpdateDomainFullConfigInvoker
- func (c *CdnClient) UpdateDomainMultiCertificates(request *model.UpdateDomainMultiCertificatesRequest) (*model.UpdateDomainMultiCertificatesResponse, error)
- func (c *CdnClient) UpdateDomainMultiCertificatesInvoker(request *model.UpdateDomainMultiCertificatesRequest) *UpdateDomainMultiCertificatesInvoker
- func (c *CdnClient) UpdateDomainOrigin(request *model.UpdateDomainOriginRequest) (*model.UpdateDomainOriginResponse, error)
- func (c *CdnClient) UpdateDomainOriginInvoker(request *model.UpdateDomainOriginRequest) *UpdateDomainOriginInvoker
- func (c *CdnClient) UpdateFollow302Switch(request *model.UpdateFollow302SwitchRequest) (*model.UpdateFollow302SwitchResponse, error)
- func (c *CdnClient) UpdateFollow302SwitchInvoker(request *model.UpdateFollow302SwitchRequest) *UpdateFollow302SwitchInvoker
- func (c *CdnClient) UpdateHttpsInfo(request *model.UpdateHttpsInfoRequest) (*model.UpdateHttpsInfoResponse, error)
- func (c *CdnClient) UpdateHttpsInfoInvoker(request *model.UpdateHttpsInfoRequest) *UpdateHttpsInfoInvoker
- func (c *CdnClient) UpdateOriginHost(request *model.UpdateOriginHostRequest) (*model.UpdateOriginHostResponse, error)
- func (c *CdnClient) UpdateOriginHostInvoker(request *model.UpdateOriginHostRequest) *UpdateOriginHostInvoker
- func (c *CdnClient) UpdatePrivateBucketAccess(request *model.UpdatePrivateBucketAccessRequest) (*model.UpdatePrivateBucketAccessResponse, error)
- func (c *CdnClient) UpdatePrivateBucketAccessInvoker(request *model.UpdatePrivateBucketAccessRequest) *UpdatePrivateBucketAccessInvoker
- func (c *CdnClient) UpdateRangeSwitch(request *model.UpdateRangeSwitchRequest) (*model.UpdateRangeSwitchResponse, error)
- func (c *CdnClient) UpdateRangeSwitchInvoker(request *model.UpdateRangeSwitchRequest) *UpdateRangeSwitchInvoker
- func (c *CdnClient) UpdateRefer(request *model.UpdateReferRequest) (*model.UpdateReferResponse, error)
- func (c *CdnClient) UpdateReferInvoker(request *model.UpdateReferRequest) *UpdateReferInvoker
- func (c *CdnClient) UpdateResponseHeader(request *model.UpdateResponseHeaderRequest) (*model.UpdateResponseHeaderResponse, error)
- func (c *CdnClient) UpdateResponseHeaderInvoker(request *model.UpdateResponseHeaderRequest) *UpdateResponseHeaderInvoker
- type CreateDomainInvoker
- type CreatePreheatingTasksInvoker
- type CreateRefreshTasksInvoker
- type CreateTagsInvoker
- type DeleteDomainInvoker
- type DisableDomainInvoker
- type EnableDomainInvoker
- type ListDomainsInvoker
- type ShowBlackWhiteListInvoker
- type ShowCacheRulesInvoker
- type ShowCertificatesHttpsInfoInvoker
- type ShowDomainDetailInvoker
- type ShowDomainFullConfigInvoker
- type ShowDomainItemDetailsInvoker
- type ShowDomainItemLocationDetailsInvoker
- type ShowDomainLocationStatsInvoker
- type ShowDomainStatsInvoker
- type ShowHistoryTaskDetailsInvoker
- type ShowHistoryTasksInvoker
- type ShowHttpInfoInvoker
- type ShowIpInfoInvoker
- type ShowLogsInvoker
- type ShowOriginHostInvoker
- type ShowQuotaInvoker
- type ShowReferInvoker
- type ShowResponseHeaderInvoker
- type ShowTagsInvoker
- type ShowTopUrlInvoker
- type ShowUrlTaskInfoInvoker
- type UpdateBlackWhiteListInvoker
- type UpdateCacheRulesInvoker
- type UpdateDomainFullConfigInvoker
- type UpdateDomainMultiCertificatesInvoker
- type UpdateDomainOriginInvoker
- type UpdateFollow302SwitchInvoker
- type UpdateHttpsInfoInvoker
- type UpdateOriginHostInvoker
- type UpdatePrivateBucketAccessInvoker
- type UpdateRangeSwitchInvoker
- type UpdateReferInvoker
- type UpdateResponseHeaderInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CdnClientBuilder ¶
func CdnClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForBatchDeleteTags ¶ added in v0.1.1
func GenReqDefForBatchDeleteTags() *def.HttpRequestDef
func GenReqDefForCreateDomain ¶
func GenReqDefForCreateDomain() *def.HttpRequestDef
func GenReqDefForCreatePreheatingTasks ¶
func GenReqDefForCreatePreheatingTasks() *def.HttpRequestDef
func GenReqDefForCreateRefreshTasks ¶
func GenReqDefForCreateRefreshTasks() *def.HttpRequestDef
func GenReqDefForCreateTags ¶ added in v0.1.1
func GenReqDefForCreateTags() *def.HttpRequestDef
func GenReqDefForDeleteDomain ¶
func GenReqDefForDeleteDomain() *def.HttpRequestDef
func GenReqDefForDisableDomain ¶
func GenReqDefForDisableDomain() *def.HttpRequestDef
func GenReqDefForEnableDomain ¶
func GenReqDefForEnableDomain() *def.HttpRequestDef
func GenReqDefForListDomains ¶
func GenReqDefForListDomains() *def.HttpRequestDef
func GenReqDefForShowBlackWhiteList ¶
func GenReqDefForShowBlackWhiteList() *def.HttpRequestDef
func GenReqDefForShowCacheRules ¶
func GenReqDefForShowCacheRules() *def.HttpRequestDef
func GenReqDefForShowCertificatesHttpsInfo ¶
func GenReqDefForShowCertificatesHttpsInfo() *def.HttpRequestDef
func GenReqDefForShowDomainDetail ¶
func GenReqDefForShowDomainDetail() *def.HttpRequestDef
func GenReqDefForShowDomainFullConfig ¶ added in v0.0.78
func GenReqDefForShowDomainFullConfig() *def.HttpRequestDef
func GenReqDefForShowDomainItemDetails ¶
func GenReqDefForShowDomainItemDetails() *def.HttpRequestDef
func GenReqDefForShowDomainItemLocationDetails ¶
func GenReqDefForShowDomainItemLocationDetails() *def.HttpRequestDef
func GenReqDefForShowDomainLocationStats ¶ added in v0.0.78
func GenReqDefForShowDomainLocationStats() *def.HttpRequestDef
func GenReqDefForShowDomainStats ¶ added in v0.0.60
func GenReqDefForShowDomainStats() *def.HttpRequestDef
func GenReqDefForShowHistoryTaskDetails ¶
func GenReqDefForShowHistoryTaskDetails() *def.HttpRequestDef
func GenReqDefForShowHistoryTasks ¶
func GenReqDefForShowHistoryTasks() *def.HttpRequestDef
func GenReqDefForShowHttpInfo ¶
func GenReqDefForShowHttpInfo() *def.HttpRequestDef
func GenReqDefForShowIpInfo ¶
func GenReqDefForShowIpInfo() *def.HttpRequestDef
func GenReqDefForShowLogs ¶
func GenReqDefForShowLogs() *def.HttpRequestDef
func GenReqDefForShowOriginHost ¶
func GenReqDefForShowOriginHost() *def.HttpRequestDef
func GenReqDefForShowQuota ¶ added in v0.0.49
func GenReqDefForShowQuota() *def.HttpRequestDef
func GenReqDefForShowRefer ¶
func GenReqDefForShowRefer() *def.HttpRequestDef
func GenReqDefForShowResponseHeader ¶
func GenReqDefForShowResponseHeader() *def.HttpRequestDef
func GenReqDefForShowTags ¶ added in v0.1.1
func GenReqDefForShowTags() *def.HttpRequestDef
func GenReqDefForShowTopUrl ¶
func GenReqDefForShowTopUrl() *def.HttpRequestDef
func GenReqDefForShowUrlTaskInfo ¶ added in v0.0.103
func GenReqDefForShowUrlTaskInfo() *def.HttpRequestDef
func GenReqDefForUpdateBlackWhiteList ¶
func GenReqDefForUpdateBlackWhiteList() *def.HttpRequestDef
func GenReqDefForUpdateCacheRules ¶
func GenReqDefForUpdateCacheRules() *def.HttpRequestDef
func GenReqDefForUpdateDomainFullConfig ¶ added in v0.0.74
func GenReqDefForUpdateDomainFullConfig() *def.HttpRequestDef
func GenReqDefForUpdateDomainMultiCertificates ¶
func GenReqDefForUpdateDomainMultiCertificates() *def.HttpRequestDef
func GenReqDefForUpdateDomainOrigin ¶
func GenReqDefForUpdateDomainOrigin() *def.HttpRequestDef
func GenReqDefForUpdateFollow302Switch ¶
func GenReqDefForUpdateFollow302Switch() *def.HttpRequestDef
func GenReqDefForUpdateHttpsInfo ¶
func GenReqDefForUpdateHttpsInfo() *def.HttpRequestDef
func GenReqDefForUpdateOriginHost ¶
func GenReqDefForUpdateOriginHost() *def.HttpRequestDef
func GenReqDefForUpdatePrivateBucketAccess ¶
func GenReqDefForUpdatePrivateBucketAccess() *def.HttpRequestDef
func GenReqDefForUpdateRangeSwitch ¶
func GenReqDefForUpdateRangeSwitch() *def.HttpRequestDef
func GenReqDefForUpdateRefer ¶
func GenReqDefForUpdateRefer() *def.HttpRequestDef
func GenReqDefForUpdateResponseHeader ¶
func GenReqDefForUpdateResponseHeader() *def.HttpRequestDef
Types ¶
type BatchDeleteTagsInvoker ¶ added in v0.1.1
type BatchDeleteTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteTagsInvoker) Invoke ¶ added in v0.1.1
func (i *BatchDeleteTagsInvoker) Invoke() (*model.BatchDeleteTagsResponse, error)
type CdnClient ¶
type CdnClient struct {
HcClient *http_client.HcHttpClient
}
func NewCdnClient ¶
func NewCdnClient(hcClient *http_client.HcHttpClient) *CdnClient
func (*CdnClient) BatchDeleteTags ¶ added in v0.1.1
func (c *CdnClient) BatchDeleteTags(request *model.BatchDeleteTagsRequest) (*model.BatchDeleteTagsResponse, error)
BatchDeleteTags 删除资源标签配置接口
用于删除资源标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) BatchDeleteTagsInvoker ¶ added in v0.1.1
func (c *CdnClient) BatchDeleteTagsInvoker(request *model.BatchDeleteTagsRequest) *BatchDeleteTagsInvoker
BatchDeleteTagsInvoker 删除资源标签配置接口
func (*CdnClient) CreateDomain ¶
func (c *CdnClient) CreateDomain(request *model.CreateDomainRequest) (*model.CreateDomainResponse, error)
CreateDomain 创建加速域名
创建加速域名。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) CreateDomainInvoker ¶ added in v0.0.90
func (c *CdnClient) CreateDomainInvoker(request *model.CreateDomainRequest) *CreateDomainInvoker
CreateDomainInvoker 创建加速域名
func (*CdnClient) CreatePreheatingTasks ¶
func (c *CdnClient) CreatePreheatingTasks(request *model.CreatePreheatingTasksRequest) (*model.CreatePreheatingTasksResponse, error)
CreatePreheatingTasks 创建预热缓存任务
创建预热任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) CreatePreheatingTasksInvoker ¶ added in v0.0.90
func (c *CdnClient) CreatePreheatingTasksInvoker(request *model.CreatePreheatingTasksRequest) *CreatePreheatingTasksInvoker
CreatePreheatingTasksInvoker 创建预热缓存任务
func (*CdnClient) CreateRefreshTasks ¶
func (c *CdnClient) CreateRefreshTasks(request *model.CreateRefreshTasksRequest) (*model.CreateRefreshTasksResponse, error)
CreateRefreshTasks 创建刷新缓存任务
创建刷新缓存任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) CreateRefreshTasksInvoker ¶ added in v0.0.90
func (c *CdnClient) CreateRefreshTasksInvoker(request *model.CreateRefreshTasksRequest) *CreateRefreshTasksInvoker
CreateRefreshTasksInvoker 创建刷新缓存任务
func (*CdnClient) CreateTags ¶ added in v0.1.1
func (c *CdnClient) CreateTags(request *model.CreateTagsRequest) (*model.CreateTagsResponse, error)
CreateTags 创建资源标签配置接口
用于创建资源标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) CreateTagsInvoker ¶ added in v0.1.1
func (c *CdnClient) CreateTagsInvoker(request *model.CreateTagsRequest) *CreateTagsInvoker
CreateTagsInvoker 创建资源标签配置接口
func (*CdnClient) DeleteDomain ¶
func (c *CdnClient) DeleteDomain(request *model.DeleteDomainRequest) (*model.DeleteDomainResponse, error)
DeleteDomain 删除加速域名
删除加速域名。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) DeleteDomainInvoker ¶ added in v0.0.90
func (c *CdnClient) DeleteDomainInvoker(request *model.DeleteDomainRequest) *DeleteDomainInvoker
DeleteDomainInvoker 删除加速域名
func (*CdnClient) DisableDomain ¶
func (c *CdnClient) DisableDomain(request *model.DisableDomainRequest) (*model.DisableDomainResponse, error)
DisableDomain 停用加速域名
停用加速域名。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) DisableDomainInvoker ¶ added in v0.0.90
func (c *CdnClient) DisableDomainInvoker(request *model.DisableDomainRequest) *DisableDomainInvoker
DisableDomainInvoker 停用加速域名
func (*CdnClient) EnableDomain ¶
func (c *CdnClient) EnableDomain(request *model.EnableDomainRequest) (*model.EnableDomainResponse, error)
EnableDomain 启用加速域名
启用加速域名。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) EnableDomainInvoker ¶ added in v0.0.90
func (c *CdnClient) EnableDomainInvoker(request *model.EnableDomainRequest) *EnableDomainInvoker
EnableDomainInvoker 启用加速域名
func (*CdnClient) ListDomains ¶
func (c *CdnClient) ListDomains(request *model.ListDomainsRequest) (*model.ListDomainsResponse, error)
ListDomains 查询加速域名
查询加速域名信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ListDomainsInvoker ¶ added in v0.0.90
func (c *CdnClient) ListDomainsInvoker(request *model.ListDomainsRequest) *ListDomainsInvoker
ListDomainsInvoker 查询加速域名
func (*CdnClient) ShowBlackWhiteList ¶
func (c *CdnClient) ShowBlackWhiteList(request *model.ShowBlackWhiteListRequest) (*model.ShowBlackWhiteListResponse, error)
ShowBlackWhiteList 查询IP黑白名单
查询域名已经设置的IP黑白名单。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowBlackWhiteListInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowBlackWhiteListInvoker(request *model.ShowBlackWhiteListRequest) *ShowBlackWhiteListInvoker
ShowBlackWhiteListInvoker 查询IP黑白名单
func (*CdnClient) ShowCacheRules ¶
func (c *CdnClient) ShowCacheRules(request *model.ShowCacheRulesRequest) (*model.ShowCacheRulesResponse, error)
ShowCacheRules 查询缓存规则
查询缓存规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowCacheRulesInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowCacheRulesInvoker(request *model.ShowCacheRulesRequest) *ShowCacheRulesInvoker
ShowCacheRulesInvoker 查询缓存规则
func (*CdnClient) ShowCertificatesHttpsInfo ¶
func (c *CdnClient) ShowCertificatesHttpsInfo(request *model.ShowCertificatesHttpsInfoRequest) (*model.ShowCertificatesHttpsInfoResponse, error)
ShowCertificatesHttpsInfo 查询所有绑定HTTPS证书的域名信息
查询所有绑定HTTPS证书的域名信息
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowCertificatesHttpsInfoInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowCertificatesHttpsInfoInvoker(request *model.ShowCertificatesHttpsInfoRequest) *ShowCertificatesHttpsInfoInvoker
ShowCertificatesHttpsInfoInvoker 查询所有绑定HTTPS证书的域名信息
func (*CdnClient) ShowDomainDetail ¶
func (c *CdnClient) ShowDomainDetail(request *model.ShowDomainDetailRequest) (*model.ShowDomainDetailResponse, error)
ShowDomainDetail 查询加速域名详情
查询加速域名详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowDomainDetailInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowDomainDetailInvoker(request *model.ShowDomainDetailRequest) *ShowDomainDetailInvoker
ShowDomainDetailInvoker 查询加速域名详情
func (*CdnClient) ShowDomainFullConfig ¶ added in v0.0.78
func (c *CdnClient) ShowDomainFullConfig(request *model.ShowDomainFullConfigRequest) (*model.ShowDomainFullConfigResponse, error)
ShowDomainFullConfig 查询域名配置接口
查询域名配置接口, 支持查询回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowDomainFullConfigInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowDomainFullConfigInvoker(request *model.ShowDomainFullConfigRequest) *ShowDomainFullConfigInvoker
ShowDomainFullConfigInvoker 查询域名配置接口
func (*CdnClient) ShowDomainItemDetails ¶
func (c *CdnClient) ShowDomainItemDetails(request *model.ShowDomainItemDetailsRequest) (*model.ShowDomainItemDetailsResponse, error)
ShowDomainItemDetails 批量查询域名的统计明细-按域名单独返回
- 支持查询90天内的数据。 - 查询跨度不能超过7天。 - 最多同时指定100个域名。 - 起始时间和结束时间,左闭右开,需要同时指定。 - 开始时间、结束时间必须传毫秒级时间戳,且必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果传的不是5分钟时刻点,返回数据可能与预期不一致。 - 统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。 - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。 - 如果传的是多个域名,则每个域名的数据分开返回。 - 支持同时查询多个指标,不超过10个。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowDomainItemDetailsInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowDomainItemDetailsInvoker(request *model.ShowDomainItemDetailsRequest) *ShowDomainItemDetailsInvoker
ShowDomainItemDetailsInvoker 批量查询域名的统计明细-按域名单独返回
func (*CdnClient) ShowDomainItemLocationDetails ¶
func (c *CdnClient) ShowDomainItemLocationDetails(request *model.ShowDomainItemLocationDetailsRequest) (*model.ShowDomainItemLocationDetailsResponse, error)
ShowDomainItemLocationDetails 批量查询域名的区域、运营商统计明细-按域名单独返回
- 支持查询90天内的数据。 - 查询跨度是7天。 - 最多同时指定100个域名。 - 起始时间和结束时间,左闭右开,需要同时指定。 - 开始时间、结束时间必须传毫秒级时间戳,且必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果传的不是5分钟时刻点,返回数据可能与预期不一致。 - 统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。 - 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类指标单位统一为次数。 - 用于查询指定域名、指定统计指标的明细数据。 - 如果传的是多个域名,则每个域名的数据分开返回。 - 支持按区域、运营商维度查询统计数据, 回源指标除外。 - 支持同时查询多个指标,不超过10个。 - 域名为海外加速场景不适用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowDomainItemLocationDetailsInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowDomainItemLocationDetailsInvoker(request *model.ShowDomainItemLocationDetailsRequest) *ShowDomainItemLocationDetailsInvoker
ShowDomainItemLocationDetailsInvoker 批量查询域名的区域、运营商统计明细-按域名单独返回
func (*CdnClient) ShowDomainLocationStats ¶ added in v0.0.78
func (c *CdnClient) ShowDomainLocationStats(request *model.ShowDomainLocationStatsRequest) (*model.ShowDomainLocationStatsResponse, error)
ShowDomainLocationStats 按区域运营商查询域名统计数据
- 支持查询90天内的数据。
- 支持多指标同时查询,不超过5个。
- 最多同时指定20个域名。
- 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
- action取值:location_detail,location_summary
- 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的区域运营商明细数据。
- 单租户调用频率:15次/s。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowDomainLocationStatsInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowDomainLocationStatsInvoker(request *model.ShowDomainLocationStatsRequest) *ShowDomainLocationStatsInvoker
ShowDomainLocationStatsInvoker 按区域运营商查询域名统计数据
func (*CdnClient) ShowDomainStats ¶ added in v0.0.60
func (c *CdnClient) ShowDomainStats(request *model.ShowDomainStatsRequest) (*model.ShowDomainStatsResponse, error)
ShowDomainStats 查询域名统计数据
- 支持查询90天内的数据。
- 支持多指标同时查询,不超过5个。
- 最多同时指定20个域名。
- 起始时间和结束时间需要同时指定,左闭右开,毫秒级时间戳,且时间点必须为与查询时间间隔参数匹配的整时刻点。比如查询时间间隔为5分钟时,起始时间和结束时间必须为5分钟整时刻点,如:0分、5分、10分、15分等,如果时间点与时间间隔不匹配,返回数据可能与预期不一致。统一用开始时间表示一个时间段,如:2019-01-24 20:15:00 表示取 [20:15:00, 20:20:00)的统计数据,且左闭右开。
- action取值:detail,summary
- 流量类指标单位统一为Byte(字节)、带宽类指标单位统一为bit/s(比特/秒)、请求数类和状态码类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
- 单租户调用频率:15次/s。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowDomainStatsInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowDomainStatsInvoker(request *model.ShowDomainStatsRequest) *ShowDomainStatsInvoker
ShowDomainStatsInvoker 查询域名统计数据
func (*CdnClient) ShowHistoryTaskDetails ¶
func (c *CdnClient) ShowHistoryTaskDetails(request *model.ShowHistoryTaskDetailsRequest) (*model.ShowHistoryTaskDetailsResponse, error)
ShowHistoryTaskDetails 查询刷新预热任务详情
查询刷新预热任务详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowHistoryTaskDetailsInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowHistoryTaskDetailsInvoker(request *model.ShowHistoryTaskDetailsRequest) *ShowHistoryTaskDetailsInvoker
ShowHistoryTaskDetailsInvoker 查询刷新预热任务详情
func (*CdnClient) ShowHistoryTasks ¶
func (c *CdnClient) ShowHistoryTasks(request *model.ShowHistoryTasksRequest) (*model.ShowHistoryTasksResponse, error)
ShowHistoryTasks 查询刷新预热任务
查询刷新预热任务。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowHistoryTasksInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowHistoryTasksInvoker(request *model.ShowHistoryTasksRequest) *ShowHistoryTasksInvoker
ShowHistoryTasksInvoker 查询刷新预热任务
func (*CdnClient) ShowHttpInfo ¶
func (c *CdnClient) ShowHttpInfo(request *model.ShowHttpInfoRequest) (*model.ShowHttpInfoResponse, error)
ShowHttpInfo 查询HTTPS配置
获取加速域名证书。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowHttpInfoInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowHttpInfoInvoker(request *model.ShowHttpInfoRequest) *ShowHttpInfoInvoker
ShowHttpInfoInvoker 查询HTTPS配置
func (*CdnClient) ShowIpInfo ¶
func (c *CdnClient) ShowIpInfo(request *model.ShowIpInfoRequest) (*model.ShowIpInfoResponse, error)
ShowIpInfo 查询IP归属信息
查询IP归属信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowIpInfoInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowIpInfoInvoker(request *model.ShowIpInfoRequest) *ShowIpInfoInvoker
ShowIpInfoInvoker 查询IP归属信息
func (*CdnClient) ShowLogs ¶
func (c *CdnClient) ShowLogs(request *model.ShowLogsRequest) (*model.ShowLogsResponse, error)
ShowLogs 日志查询
查询日志下载链接,支持查询30天内的日志信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowLogsInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowLogsInvoker(request *model.ShowLogsRequest) *ShowLogsInvoker
ShowLogsInvoker 日志查询
func (*CdnClient) ShowOriginHost ¶
func (c *CdnClient) ShowOriginHost(request *model.ShowOriginHostRequest) (*model.ShowOriginHostResponse, error)
ShowOriginHost 查询回源HOST
查询回源HOST。回源HOST是CDN节点在回源过程中,在源站访问的站点域名,即http请求头中的host信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowOriginHostInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowOriginHostInvoker(request *model.ShowOriginHostRequest) *ShowOriginHostInvoker
ShowOriginHostInvoker 查询回源HOST
func (*CdnClient) ShowQuota ¶ added in v0.0.49
func (c *CdnClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)
ShowQuota 查询用户配额
查询当前用户域名、刷新文件、刷新目录和预热的配额
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowQuotaInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowQuotaInvoker(request *model.ShowQuotaRequest) *ShowQuotaInvoker
ShowQuotaInvoker 查询用户配额
func (*CdnClient) ShowRefer ¶
func (c *CdnClient) ShowRefer(request *model.ShowReferRequest) (*model.ShowReferResponse, error)
ShowRefer 查询Referer过滤规则
查询Referer过滤规则。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowReferInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowReferInvoker(request *model.ShowReferRequest) *ShowReferInvoker
ShowReferInvoker 查询Referer过滤规则
func (*CdnClient) ShowResponseHeader ¶
func (c *CdnClient) ShowResponseHeader(request *model.ShowResponseHeaderRequest) (*model.ShowResponseHeaderResponse, error)
ShowResponseHeader 查询响应头配置
列举header所有配置。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowResponseHeaderInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowResponseHeaderInvoker(request *model.ShowResponseHeaderRequest) *ShowResponseHeaderInvoker
ShowResponseHeaderInvoker 查询响应头配置
func (*CdnClient) ShowTags ¶ added in v0.1.1
func (c *CdnClient) ShowTags(request *model.ShowTagsRequest) (*model.ShowTagsResponse, error)
ShowTags 查询资源标签列表配置接口
用于查询资源标签列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowTagsInvoker ¶ added in v0.1.1
func (c *CdnClient) ShowTagsInvoker(request *model.ShowTagsRequest) *ShowTagsInvoker
ShowTagsInvoker 查询资源标签列表配置接口
func (*CdnClient) ShowTopUrl ¶
func (c *CdnClient) ShowTopUrl(request *model.ShowTopUrlRequest) (*model.ShowTopUrlResponse, error)
ShowTopUrl 查询TOP100 URL明细
- 查询TOP100 URL明细。
- 支持查询90天内的数据。
- 查询跨度不能超过31天。
- 起始时间和结束时间,左闭右开,需要同时指定。如查询2021-10-24 00:00:00 到 2021-10-25 00:00:00 的数据,表示取 [2021-10-24 00:00:00, 2021-10-25 00:00:00)的统计数据。
- 开始时间、结束时间必须传毫秒级时间戳,且必须为凌晨0点整时刻点,如果传的不是凌晨0点整时刻点,返回数据可能与预期不一致。
- 流量类指标单位统一为Byte(字节)、请求数类指标单位统一为次数。用于查询指定域名、指定统计指标的明细数据。
- 单租户调用频率:5次/s。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowTopUrlInvoker ¶ added in v0.0.90
func (c *CdnClient) ShowTopUrlInvoker(request *model.ShowTopUrlRequest) *ShowTopUrlInvoker
ShowTopUrlInvoker 查询TOP100 URL明细
func (*CdnClient) ShowUrlTaskInfo ¶ added in v0.0.103
func (c *CdnClient) ShowUrlTaskInfo(request *model.ShowUrlTaskInfoRequest) (*model.ShowUrlTaskInfoResponse, error)
ShowUrlTaskInfo 查询刷新预热URL记录
查询刷新预热URL记录。如需此接口,请提交工单开通。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) ShowUrlTaskInfoInvoker ¶ added in v0.0.103
func (c *CdnClient) ShowUrlTaskInfoInvoker(request *model.ShowUrlTaskInfoRequest) *ShowUrlTaskInfoInvoker
ShowUrlTaskInfoInvoker 查询刷新预热URL记录
func (*CdnClient) UpdateBlackWhiteList ¶
func (c *CdnClient) UpdateBlackWhiteList(request *model.UpdateBlackWhiteListRequest) (*model.UpdateBlackWhiteListResponse, error)
UpdateBlackWhiteList 设置IP黑白名单
设置域名的IP黑白名单。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateBlackWhiteListInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateBlackWhiteListInvoker(request *model.UpdateBlackWhiteListRequest) *UpdateBlackWhiteListInvoker
UpdateBlackWhiteListInvoker 设置IP黑白名单
func (*CdnClient) UpdateCacheRules ¶
func (c *CdnClient) UpdateCacheRules(request *model.UpdateCacheRulesRequest) (*model.UpdateCacheRulesResponse, error)
UpdateCacheRules 设置缓存规则
设置CDN节点上缓存资源的缓存策略。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateCacheRulesInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateCacheRulesInvoker(request *model.UpdateCacheRulesRequest) *UpdateCacheRulesInvoker
UpdateCacheRulesInvoker 设置缓存规则
func (*CdnClient) UpdateDomainFullConfig ¶ added in v0.0.74
func (c *CdnClient) UpdateDomainFullConfig(request *model.UpdateDomainFullConfigRequest) (*model.UpdateDomainFullConfigResponse, error)
UpdateDomainFullConfig 修改域名全量配置接口
修改域名配置接口, 支持修改回源请求头、HTTP header配置、URL鉴权、证书、源站、回源协议、强制重定向、智能压缩、IPv6开关、状态码缓存时间、Range回源、User-Agent黑白名单、改写回源URL、自定义错误页面、缓存规则、IP黑白名单、防盗链、强制跳转。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateDomainFullConfigInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateDomainFullConfigInvoker(request *model.UpdateDomainFullConfigRequest) *UpdateDomainFullConfigInvoker
UpdateDomainFullConfigInvoker 修改域名全量配置接口
func (*CdnClient) UpdateDomainMultiCertificates ¶
func (c *CdnClient) UpdateDomainMultiCertificates(request *model.UpdateDomainMultiCertificatesRequest) (*model.UpdateDomainMultiCertificatesResponse, error)
UpdateDomainMultiCertificates 一个证书批量设置多个域名
一个证书配置多个域名,设置域名强制https回源参数。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateDomainMultiCertificatesInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateDomainMultiCertificatesInvoker(request *model.UpdateDomainMultiCertificatesRequest) *UpdateDomainMultiCertificatesInvoker
UpdateDomainMultiCertificatesInvoker 一个证书批量设置多个域名
func (*CdnClient) UpdateDomainOrigin ¶
func (c *CdnClient) UpdateDomainOrigin(request *model.UpdateDomainOriginRequest) (*model.UpdateDomainOriginResponse, error)
UpdateDomainOrigin 修改源站信息。
修改加速域名的源站配置。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateDomainOriginInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateDomainOriginInvoker(request *model.UpdateDomainOriginRequest) *UpdateDomainOriginInvoker
UpdateDomainOriginInvoker 修改源站信息。
func (*CdnClient) UpdateFollow302Switch ¶
func (c *CdnClient) UpdateFollow302Switch(request *model.UpdateFollow302SwitchRequest) (*model.UpdateFollow302SwitchResponse, error)
UpdateFollow302Switch 开启/关闭回源跟随
开启此项配置后,当CDN节点回源请求源站返回301/302状态码时,CDN节点会先跳转到301/302对应地址获取资源并缓存后再返回给用户。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateFollow302SwitchInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateFollow302SwitchInvoker(request *model.UpdateFollow302SwitchRequest) *UpdateFollow302SwitchInvoker
UpdateFollow302SwitchInvoker 开启/关闭回源跟随
func (*CdnClient) UpdateHttpsInfo ¶
func (c *CdnClient) UpdateHttpsInfo(request *model.UpdateHttpsInfoRequest) (*model.UpdateHttpsInfoResponse, error)
UpdateHttpsInfo 配置HTTPS
设置加速域名HTTPS。通过配置加速域名的HTTPS证书,并将其部署在全网CDN节点,实现HTTPS安全加速。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateHttpsInfoInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateHttpsInfoInvoker(request *model.UpdateHttpsInfoRequest) *UpdateHttpsInfoInvoker
UpdateHttpsInfoInvoker 配置HTTPS
func (*CdnClient) UpdateOriginHost ¶
func (c *CdnClient) UpdateOriginHost(request *model.UpdateOriginHostRequest) (*model.UpdateOriginHostResponse, error)
UpdateOriginHost 修改回源HOST。
修改回源HOST。回源HOST是CDN节点在回源过程中,在源站访问的站点域名,即http请求头中的host信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateOriginHostInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateOriginHostInvoker(request *model.UpdateOriginHostRequest) *UpdateOriginHostInvoker
UpdateOriginHostInvoker 修改回源HOST。
func (*CdnClient) UpdatePrivateBucketAccess ¶
func (c *CdnClient) UpdatePrivateBucketAccess(request *model.UpdatePrivateBucketAccessRequest) (*model.UpdatePrivateBucketAccessResponse, error)
UpdatePrivateBucketAccess 修改私有桶开启关闭状态
修改私有桶开启关闭状态。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdatePrivateBucketAccessInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdatePrivateBucketAccessInvoker(request *model.UpdatePrivateBucketAccessRequest) *UpdatePrivateBucketAccessInvoker
UpdatePrivateBucketAccessInvoker 修改私有桶开启关闭状态
func (*CdnClient) UpdateRangeSwitch ¶
func (c *CdnClient) UpdateRangeSwitch(request *model.UpdateRangeSwitchRequest) (*model.UpdateRangeSwitchResponse, error)
UpdateRangeSwitch 开启/关闭Range回源
Range回源是指源站在收到CDN节点回源请求时,根据http请求头中的Range信息返回指定范围的数据给CDN节点。
开启Range回源前需要确认源站是否支持Range请求,若源站不支持Range请求,开启Range回源将导致资源无法缓存。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateRangeSwitchInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateRangeSwitchInvoker(request *model.UpdateRangeSwitchRequest) *UpdateRangeSwitchInvoker
UpdateRangeSwitchInvoker 开启/关闭Range回源
func (*CdnClient) UpdateRefer ¶
func (c *CdnClient) UpdateRefer(request *model.UpdateReferRequest) (*model.UpdateReferResponse, error)
UpdateRefer 设置Referer过滤规则
设置Referer过滤规则。通过设置过滤策略,对访问者身份进行识别和过滤,实现限制访问来源的目的。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateReferInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateReferInvoker(request *model.UpdateReferRequest) *UpdateReferInvoker
UpdateReferInvoker 设置Referer过滤规则
func (*CdnClient) UpdateResponseHeader ¶
func (c *CdnClient) UpdateResponseHeader(request *model.UpdateResponseHeaderRequest) (*model.UpdateResponseHeaderResponse, error)
UpdateResponseHeader 新增/修改响应头配置
新增/修改域名响应头配置。
Please refer to HUAWEI cloud API Explorer for details.
func (*CdnClient) UpdateResponseHeaderInvoker ¶ added in v0.0.90
func (c *CdnClient) UpdateResponseHeaderInvoker(request *model.UpdateResponseHeaderRequest) *UpdateResponseHeaderInvoker
UpdateResponseHeaderInvoker 新增/修改响应头配置
type CreateDomainInvoker ¶ added in v0.0.90
type CreateDomainInvoker struct {
*invoker.BaseInvoker
}
func (*CreateDomainInvoker) Invoke ¶ added in v0.0.90
func (i *CreateDomainInvoker) Invoke() (*model.CreateDomainResponse, error)
type CreatePreheatingTasksInvoker ¶ added in v0.0.90
type CreatePreheatingTasksInvoker struct {
*invoker.BaseInvoker
}
func (*CreatePreheatingTasksInvoker) Invoke ¶ added in v0.0.90
func (i *CreatePreheatingTasksInvoker) Invoke() (*model.CreatePreheatingTasksResponse, error)
type CreateRefreshTasksInvoker ¶ added in v0.0.90
type CreateRefreshTasksInvoker struct {
*invoker.BaseInvoker
}
func (*CreateRefreshTasksInvoker) Invoke ¶ added in v0.0.90
func (i *CreateRefreshTasksInvoker) Invoke() (*model.CreateRefreshTasksResponse, error)
type CreateTagsInvoker ¶ added in v0.1.1
type CreateTagsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateTagsInvoker) Invoke ¶ added in v0.1.1
func (i *CreateTagsInvoker) Invoke() (*model.CreateTagsResponse, error)
type DeleteDomainInvoker ¶ added in v0.0.90
type DeleteDomainInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteDomainInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteDomainInvoker) Invoke() (*model.DeleteDomainResponse, error)
type DisableDomainInvoker ¶ added in v0.0.90
type DisableDomainInvoker struct {
*invoker.BaseInvoker
}
func (*DisableDomainInvoker) Invoke ¶ added in v0.0.90
func (i *DisableDomainInvoker) Invoke() (*model.DisableDomainResponse, error)
type EnableDomainInvoker ¶ added in v0.0.90
type EnableDomainInvoker struct {
*invoker.BaseInvoker
}
func (*EnableDomainInvoker) Invoke ¶ added in v0.0.90
func (i *EnableDomainInvoker) Invoke() (*model.EnableDomainResponse, error)
type ListDomainsInvoker ¶ added in v0.0.90
type ListDomainsInvoker struct {
*invoker.BaseInvoker
}
func (*ListDomainsInvoker) Invoke ¶ added in v0.0.90
func (i *ListDomainsInvoker) Invoke() (*model.ListDomainsResponse, error)
type ShowBlackWhiteListInvoker ¶ added in v0.0.90
type ShowBlackWhiteListInvoker struct {
*invoker.BaseInvoker
}
func (*ShowBlackWhiteListInvoker) Invoke ¶ added in v0.0.90
func (i *ShowBlackWhiteListInvoker) Invoke() (*model.ShowBlackWhiteListResponse, error)
type ShowCacheRulesInvoker ¶ added in v0.0.90
type ShowCacheRulesInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCacheRulesInvoker) Invoke ¶ added in v0.0.90
func (i *ShowCacheRulesInvoker) Invoke() (*model.ShowCacheRulesResponse, error)
type ShowCertificatesHttpsInfoInvoker ¶ added in v0.0.90
type ShowCertificatesHttpsInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowCertificatesHttpsInfoInvoker) Invoke ¶ added in v0.0.90
func (i *ShowCertificatesHttpsInfoInvoker) Invoke() (*model.ShowCertificatesHttpsInfoResponse, error)
type ShowDomainDetailInvoker ¶ added in v0.0.90
type ShowDomainDetailInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainDetailInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainDetailInvoker) Invoke() (*model.ShowDomainDetailResponse, error)
type ShowDomainFullConfigInvoker ¶ added in v0.0.90
type ShowDomainFullConfigInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainFullConfigInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainFullConfigInvoker) Invoke() (*model.ShowDomainFullConfigResponse, error)
type ShowDomainItemDetailsInvoker ¶ added in v0.0.90
type ShowDomainItemDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainItemDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainItemDetailsInvoker) Invoke() (*model.ShowDomainItemDetailsResponse, error)
type ShowDomainItemLocationDetailsInvoker ¶ added in v0.0.90
type ShowDomainItemLocationDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainItemLocationDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainItemLocationDetailsInvoker) Invoke() (*model.ShowDomainItemLocationDetailsResponse, error)
type ShowDomainLocationStatsInvoker ¶ added in v0.0.90
type ShowDomainLocationStatsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainLocationStatsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainLocationStatsInvoker) Invoke() (*model.ShowDomainLocationStatsResponse, error)
type ShowDomainStatsInvoker ¶ added in v0.0.90
type ShowDomainStatsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowDomainStatsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowDomainStatsInvoker) Invoke() (*model.ShowDomainStatsResponse, error)
type ShowHistoryTaskDetailsInvoker ¶ added in v0.0.90
type ShowHistoryTaskDetailsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHistoryTaskDetailsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowHistoryTaskDetailsInvoker) Invoke() (*model.ShowHistoryTaskDetailsResponse, error)
type ShowHistoryTasksInvoker ¶ added in v0.0.90
type ShowHistoryTasksInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHistoryTasksInvoker) Invoke ¶ added in v0.0.90
func (i *ShowHistoryTasksInvoker) Invoke() (*model.ShowHistoryTasksResponse, error)
type ShowHttpInfoInvoker ¶ added in v0.0.90
type ShowHttpInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowHttpInfoInvoker) Invoke ¶ added in v0.0.90
func (i *ShowHttpInfoInvoker) Invoke() (*model.ShowHttpInfoResponse, error)
type ShowIpInfoInvoker ¶ added in v0.0.90
type ShowIpInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowIpInfoInvoker) Invoke ¶ added in v0.0.90
func (i *ShowIpInfoInvoker) Invoke() (*model.ShowIpInfoResponse, error)
type ShowLogsInvoker ¶ added in v0.0.90
type ShowLogsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowLogsInvoker) Invoke ¶ added in v0.0.90
func (i *ShowLogsInvoker) Invoke() (*model.ShowLogsResponse, error)
type ShowOriginHostInvoker ¶ added in v0.0.90
type ShowOriginHostInvoker struct {
*invoker.BaseInvoker
}
func (*ShowOriginHostInvoker) Invoke ¶ added in v0.0.90
func (i *ShowOriginHostInvoker) Invoke() (*model.ShowOriginHostResponse, error)
type ShowQuotaInvoker ¶ added in v0.0.90
type ShowQuotaInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotaInvoker) Invoke ¶ added in v0.0.90
func (i *ShowQuotaInvoker) Invoke() (*model.ShowQuotaResponse, error)
type ShowReferInvoker ¶ added in v0.0.90
type ShowReferInvoker struct {
*invoker.BaseInvoker
}
func (*ShowReferInvoker) Invoke ¶ added in v0.0.90
func (i *ShowReferInvoker) Invoke() (*model.ShowReferResponse, error)
type ShowResponseHeaderInvoker ¶ added in v0.0.90
type ShowResponseHeaderInvoker struct {
*invoker.BaseInvoker
}
func (*ShowResponseHeaderInvoker) Invoke ¶ added in v0.0.90
func (i *ShowResponseHeaderInvoker) Invoke() (*model.ShowResponseHeaderResponse, error)
type ShowTagsInvoker ¶ added in v0.1.1
type ShowTagsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTagsInvoker) Invoke ¶ added in v0.1.1
func (i *ShowTagsInvoker) Invoke() (*model.ShowTagsResponse, error)
type ShowTopUrlInvoker ¶ added in v0.0.90
type ShowTopUrlInvoker struct {
*invoker.BaseInvoker
}
func (*ShowTopUrlInvoker) Invoke ¶ added in v0.0.90
func (i *ShowTopUrlInvoker) Invoke() (*model.ShowTopUrlResponse, error)
type ShowUrlTaskInfoInvoker ¶ added in v0.0.103
type ShowUrlTaskInfoInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUrlTaskInfoInvoker) Invoke ¶ added in v0.0.103
func (i *ShowUrlTaskInfoInvoker) Invoke() (*model.ShowUrlTaskInfoResponse, error)
type UpdateBlackWhiteListInvoker ¶ added in v0.0.90
type UpdateBlackWhiteListInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateBlackWhiteListInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateBlackWhiteListInvoker) Invoke() (*model.UpdateBlackWhiteListResponse, error)
type UpdateCacheRulesInvoker ¶ added in v0.0.90
type UpdateCacheRulesInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateCacheRulesInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateCacheRulesInvoker) Invoke() (*model.UpdateCacheRulesResponse, error)
type UpdateDomainFullConfigInvoker ¶ added in v0.0.90
type UpdateDomainFullConfigInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainFullConfigInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDomainFullConfigInvoker) Invoke() (*model.UpdateDomainFullConfigResponse, error)
type UpdateDomainMultiCertificatesInvoker ¶ added in v0.0.90
type UpdateDomainMultiCertificatesInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainMultiCertificatesInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDomainMultiCertificatesInvoker) Invoke() (*model.UpdateDomainMultiCertificatesResponse, error)
type UpdateDomainOriginInvoker ¶ added in v0.0.90
type UpdateDomainOriginInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateDomainOriginInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateDomainOriginInvoker) Invoke() (*model.UpdateDomainOriginResponse, error)
type UpdateFollow302SwitchInvoker ¶ added in v0.0.90
type UpdateFollow302SwitchInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateFollow302SwitchInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateFollow302SwitchInvoker) Invoke() (*model.UpdateFollow302SwitchResponse, error)
type UpdateHttpsInfoInvoker ¶ added in v0.0.90
type UpdateHttpsInfoInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateHttpsInfoInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateHttpsInfoInvoker) Invoke() (*model.UpdateHttpsInfoResponse, error)
type UpdateOriginHostInvoker ¶ added in v0.0.90
type UpdateOriginHostInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateOriginHostInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateOriginHostInvoker) Invoke() (*model.UpdateOriginHostResponse, error)
type UpdatePrivateBucketAccessInvoker ¶ added in v0.0.90
type UpdatePrivateBucketAccessInvoker struct {
*invoker.BaseInvoker
}
func (*UpdatePrivateBucketAccessInvoker) Invoke ¶ added in v0.0.90
func (i *UpdatePrivateBucketAccessInvoker) Invoke() (*model.UpdatePrivateBucketAccessResponse, error)
type UpdateRangeSwitchInvoker ¶ added in v0.0.90
type UpdateRangeSwitchInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateRangeSwitchInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateRangeSwitchInvoker) Invoke() (*model.UpdateRangeSwitchResponse, error)
type UpdateReferInvoker ¶ added in v0.0.90
type UpdateReferInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateReferInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateReferInvoker) Invoke() (*model.UpdateReferResponse, error)
type UpdateResponseHeaderInvoker ¶ added in v0.0.90
type UpdateResponseHeaderInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateResponseHeaderInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateResponseHeaderInvoker) Invoke() (*model.UpdateResponseHeaderResponse, error)