Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) AddCdnDomain(CdnType, DomainName, SourceType, Sources string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteCdnDomain(DomainName string, optional openapi.M) (*openapi.Response, error)
- func (api API) DescribeCdnDomainBaseDetail(DomainName string, optional openapi.M) (*DescribeCdnDomainBaseDetailResponse, error)
- func (api API) DescribeCdnDomainDetail(DomainName string, optional openapi.M) (*DescribeCdnDomainDetailResponse, error)
- func (api API) DescribeCdnDomainLogs(DomainName string, optional openapi.M) (*DescribeCdnDomainLogsResponse, error)
- func (api API) DescribeCdnMonitorData(DomainName string, optional openapi.M) (*DescribeCdnMonitorDataResponse, error)
- func (api API) DescribeCdnService(optional openapi.M) (*DescribeCdnServiceResponse, error)
- func (api API) DescribeOneMinuteData(DomainName string, optional openapi.M) (*DescribeOneMinuteDataResponse, error)
- func (api API) DescribeRefreshTasks(optional openapi.M) (*DescribeRefreshTasksResponse, error)
- func (api API) DescribeUserDomains(optional openapi.M) (*DescribeUserDomainsResponse, error)
- func (api API) ModifyCdnService(InternetChargeType string, optional openapi.M) (*openapi.Response, error)
- func (api API) OpenCdnService(InternetChargeType string, optional openapi.M) (*openapi.Response, error)
- func (api API) PushObjectCache(ObjectPath string, optional openapi.M) (*PushObjectCacheResponse, error)
- func (api API) RefreshObjectCaches(ObjectPath string, optional openapi.M) (*RefreshObjectCachesResponse, error)
- func (api API) StartCdnDomain(DomainName string, optional openapi.M) (*openapi.Response, error)
- func (api API) StopCdnDomain(DomainName string, optional openapi.M) (*openapi.Response, error)
- type DescribeCdnDomainBaseDetailResponse
- type DescribeCdnDomainDetailResponse
- type DescribeCdnDomainLogsResponse
- type DescribeCdnMonitorDataResponse
- type DescribeCdnServiceResponse
- type DescribeOneMinuteDataResponse
- type DescribeRefreshTasksResponse
- type DescribeUserDomainsResponse
- type PushObjectCacheResponse
- type RefreshObjectCachesResponse
Constants ¶
const ( Product = "Cdn" Style = "RPC" Version = "2014-11-11" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) AddCdnDomain ¶
func (api API) AddCdnDomain(CdnType, DomainName, SourceType, Sources string, optional openapi.M) (*openapi.Response, error)
AddCdnDomain version 2014-11-11
required parameters:
name: CdnType, type: string name: DomainName, type: string name: SourceType, type: string name: Sources, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SslFlag, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteCdnDomain ¶
DeleteCdnDomain version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeCdnDomainBaseDetail ¶
func (api API) DescribeCdnDomainBaseDetail(DomainName string, optional openapi.M) (*DescribeCdnDomainBaseDetailResponse, error)
DescribeCdnDomainBaseDetail version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeCdnDomainDetail ¶
func (api API) DescribeCdnDomainDetail(DomainName string, optional openapi.M) (*DescribeCdnDomainDetailResponse, error)
DescribeCdnDomainDetail version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeCdnDomainLogs ¶
func (api API) DescribeCdnDomainLogs(DomainName string, optional openapi.M) (*DescribeCdnDomainLogsResponse, error)
DescribeCdnDomainLogs version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: LogDay, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeCdnMonitorData ¶
func (api API) DescribeCdnMonitorData(DomainName string, optional openapi.M) (*DescribeCdnMonitorDataResponse, error)
DescribeCdnMonitorData version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: EndTime, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: StartTime, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeCdnService ¶
func (api API) DescribeCdnService(optional openapi.M) (*DescribeCdnServiceResponse, error)
DescribeCdnService version 2014-11-11
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeOneMinuteData ¶
func (api API) DescribeOneMinuteData(DomainName string, optional openapi.M) (*DescribeOneMinuteDataResponse, error)
DescribeOneMinuteData version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: DataTime, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeRefreshTasks ¶
func (api API) DescribeRefreshTasks(optional openapi.M) (*DescribeRefreshTasksResponse, error)
DescribeRefreshTasks version 2014-11-11
optional parameters:
name: ObjectPath, type: string name: OwnerId, type: int64 name: PageNumber, type: int64 name: PageSize, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: TaskId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeUserDomains ¶
func (api API) DescribeUserDomains(optional openapi.M) (*DescribeUserDomainsResponse, error)
DescribeUserDomains version 2014-11-11
optional parameters:
name: OwnerId, type: int64 name: PageNumber, type: int64 name: PageSize, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) ModifyCdnService ¶
func (api API) ModifyCdnService(InternetChargeType string, optional openapi.M) (*openapi.Response, error)
ModifyCdnService version 2014-11-11
required parameters:
name: InternetChargeType, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) OpenCdnService ¶
func (api API) OpenCdnService(InternetChargeType string, optional openapi.M) (*openapi.Response, error)
OpenCdnService version 2014-11-11
required parameters:
name: InternetChargeType, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) PushObjectCache ¶
func (api API) PushObjectCache(ObjectPath string, optional openapi.M) (*PushObjectCacheResponse, error)
PushObjectCache version 2014-11-11
required parameters:
name: ObjectPath, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RefreshObjectCaches ¶
func (api API) RefreshObjectCaches(ObjectPath string, optional openapi.M) (*RefreshObjectCachesResponse, error)
RefreshObjectCaches version 2014-11-11
required parameters:
name: ObjectPath, type: string
optional parameters:
name: ObjectType, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) StartCdnDomain ¶
StartCdnDomain version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) StopCdnDomain ¶
StopCdnDomain version 2014-11-11
required parameters:
name: DomainName, type: string
optional parameters:
name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
type DescribeCdnDomainBaseDetailResponse ¶
type DescribeCdnDomainBaseDetailResponse struct { DomainBaseDetailModel struct { CdnType string Cname string DomainName string DomainStatus string GmtCreated string GmtModified string Remark string SourceType string } }
DescribeCdnDomainBaseDetailResponse represents the response of the api DescribeCdnDomainBaseDetail.
type DescribeCdnDomainDetailResponse ¶
type DescribeCdnDomainDetailResponse struct { GetDomainDetailModel struct { CdnType string Cname string DomainName string DomainStatus string GmtCreated string GmtModified string HttpsCname string Remark string SourceType string } }
DescribeCdnDomainDetailResponse represents the response of the api DescribeCdnDomainDetail.
type DescribeCdnDomainLogsResponse ¶
type DescribeCdnDomainLogsResponse struct { DomainLogModel struct { DomainLogDetails struct { DomainLogDetail []struct { EndTime string LogName string LogPath string LogSize int64 StartTime string } } DomainName string } }
DescribeCdnDomainLogsResponse represents the response of the api DescribeCdnDomainLogs.
type DescribeCdnMonitorDataResponse ¶
type DescribeCdnMonitorDataResponse struct { DomainName string EndTime string MonitorDatas struct { CDNMonitorData []struct { AverageObjectSize string BytesHitRate string BytesPerSecond string QueryPerSecond string RequestHitRate string TimeStamp string } } MonitorInterval int64 StartTime string }
DescribeCdnMonitorDataResponse represents the response of the api DescribeCdnMonitorData.
type DescribeCdnServiceResponse ¶
type DescribeCdnServiceResponse struct { ChangingAffectTime string ChangingChargeType string InternetChargeType string OpeningTime string OperationLocks struct { LockReason []struct { LockReason string } } }
DescribeCdnServiceResponse represents the response of the api DescribeCdnService.
type DescribeOneMinuteDataResponse ¶
DescribeOneMinuteDataResponse represents the response of the api DescribeOneMinuteData.
type DescribeRefreshTasksResponse ¶
type DescribeRefreshTasksResponse struct { PageNumber int64 PageSize int64 Tasks struct { CDNTask []struct { CreationTime string ObjectPath string Status string TaskId string } } TotalCount int64 }
DescribeRefreshTasksResponse represents the response of the api DescribeRefreshTasks.
type DescribeUserDomainsResponse ¶
type DescribeUserDomainsResponse struct { Domains struct { PageData []struct { CdnType string Cname string DomainName string DomainStatus string GmtCreated string GmtModified string } } PageNumber int64 PageSize int64 TotalCount int64 }
DescribeUserDomainsResponse represents the response of the api DescribeUserDomains.
type PushObjectCacheResponse ¶
type PushObjectCacheResponse struct {
PushTaskId string
}
PushObjectCacheResponse represents the response of the api PushObjectCache.
type RefreshObjectCachesResponse ¶
type RefreshObjectCachesResponse struct {
RefreshTaskId string
}
RefreshObjectCachesResponse represents the response of the api RefreshObjectCaches.