cdn

package
v0.0.0-...-0b043e4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Cdn"
	Style   = "RPC"
	Version = "2014-11-11"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

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

func (api API) DeleteCdnDomain(DomainName string, optional openapi.M) (*openapi.Response, error)

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

func (api API) StartCdnDomain(DomainName string, optional openapi.M) (*openapi.Response, error)

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

func (api API) StopCdnDomain(DomainName string, optional openapi.M) (*openapi.Response, error)

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

type DescribeOneMinuteDataResponse struct {
	Bps string
	Qps string
}

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL