v20191012

package
v3.0.959+incompatible Latest Latest
Warning

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

Go to latest
Published: May 16, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// Failed to update the domain name configuration. Please try again or contact customer service for assistance.
	FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"

	// Internal configuration service error. Please try again later or contact the customer service for assistance.
	INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"

	// Internal data error. Please submit a ticket for troubleshooting.
	INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"

	// System error. Please submit a ticket for troubleshooting.
	INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"

	// Backend service error. Please try again later.
	INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

	// The tag key does not exist.
	INVALIDPARAMETER_ECDNCAMTAGKEYNOTEXIST = "InvalidParameter.EcdnCamTagKeyNotExist"

	// Unable to resolve the certificate information.
	INVALIDPARAMETER_ECDNCERTNOCERTINFO = "InvalidParameter.EcdnCertNoCertInfo"

	// The cache configuration is invalid.
	INVALIDPARAMETER_ECDNCONFIGINVALIDCACHE = "InvalidParameter.EcdnConfigInvalidCache"

	// Invalid domain name status.
	INVALIDPARAMETER_ECDNDOMAININVALIDSTATUS = "InvalidParameter.EcdnDomainInvalidStatus"

	// Internal API error. Please submit a ticket for troubleshooting.
	INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"

	// Invalid `Area` parameter. Please see the sample parameters in the documentation.
	INVALIDPARAMETER_ECDNINVALIDPARAMAREA = "InvalidParameter.EcdnInvalidParamArea"

	// Invalid statistical granularity. Please see the sample statistical analysis in the documentation.
	INVALIDPARAMETER_ECDNINVALIDPARAMINTERVAL = "InvalidParameter.EcdnInvalidParamInterval"

	// Parameter error. Please see the sample parameters in the documentation.
	INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"

	// Wildcard domain names are not supported for purging.
	INVALIDPARAMETER_ECDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.EcdnPurgeWildcardNotAllowed"

	// This domain name binds too many tag keys.
	INVALIDPARAMETER_ECDNRESOURCEMANYTAGKEY = "InvalidParameter.EcdnResourceManyTagKey"

	// Invalid date. Please see the sample date in the documentation.
	INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"

	// Invalid statistical type. Please see the sample statistical analysis in the documentation.
	INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = "InvalidParameter.EcdnStatInvalidMetric"

	// Invalid tag key.
	INVALIDPARAMETER_ECDNTAGKEYINVALID = "InvalidParameter.EcdnTagKeyInvalid"

	// The tag key does not exist.
	INVALIDPARAMETER_ECDNTAGKEYNOTEXIST = "InvalidParameter.EcdnTagKeyNotExist"

	// The tag key has too many values.
	INVALIDPARAMETER_ECDNTAGKEYTOOMANYVALUE = "InvalidParameter.EcdnTagKeyTooManyValue"

	// Invalid tag value.
	INVALIDPARAMETER_ECDNTAGVALUEINVALID = "InvalidParameter.EcdnTagValueInvalid"

	// The URL length exceeds the limit.
	INVALIDPARAMETER_ECDNURLEXCEEDLENGTH = "InvalidParameter.EcdnUrlExceedLength"

	// This user has too many tag keys.
	INVALIDPARAMETER_ECDNUSERTOOMANYTAGKEY = "InvalidParameter.EcdnUserTooManyTagKey"

	// Parameter error
	INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"

	// Domain name operations are too frequent.
	LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"

	// The number of directories to be purged exceeded the limit on one request.
	LIMITEXCEEDED_ECDNPURGEPATHEXCEEDBATCHLIMIT = "LimitExceeded.EcdnPurgePathExceedBatchLimit"

	// The number of directories to be purged exceeded the daily limit.
	LIMITEXCEEDED_ECDNPURGEPATHEXCEEDDAYLIMIT = "LimitExceeded.EcdnPurgePathExceedDayLimit"

	// The number of URLs to be purged exceeded the limit on one request.
	LIMITEXCEEDED_ECDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.EcdnPurgeUrlExceedBatchLimit"

	// The number of URLs to be purged exceeded the daily quota.
	LIMITEXCEEDED_ECDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.EcdnPurgeUrlExceedDayLimit"

	// The number of connected domain names reached the upper limit.
	LIMITEXCEEDED_ECDNUSERTOOMANYDOMAINS = "LimitExceeded.EcdnUserTooManyDomains"

	// This domain name already exists.
	RESOURCEINUSE_ECDNDOMAINEXISTS = "ResourceInUse.EcdnDomainExists"

	// The ECDN resource is being manipulated.
	RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"

	// This domain name does not exist under the account. Please check and try again.
	RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"

	// This domain name does not exist under the account. Please check and try again.
	RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"

	// The project does not exist.
	RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"

	// The ECDN service has not been activated. Please activate it first before using this API.
	RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"

	// The domain name has been locked. Please submit a ticket.
	RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"

	// Failed to deactivate the domain name. Please check and try again.
	RESOURCEUNAVAILABLE_ECDNDOMAINISNOTOFFLINE = "ResourceUnavailable.EcdnDomainIsNotOffline"

	// The domain name has been deactivated. Please check and try again.
	RESOURCEUNAVAILABLE_ECDNDOMAINISNOTONLINE = "ResourceUnavailable.EcdnDomainIsNotOnline"

	// The sub-account is unauthorized to query full data.
	UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"

	// No CAM policy is configured for the sub-account.
	UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"

	// The acceleration domain name is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_CDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnDomainUnauthorized"

	// The acceleration domain name is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"

	// The sub-account does not have the permission to access the domain name. Please try again after authorization.
	UNAUTHORIZEDOPERATION_CDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnNoDomainUnauthorized"

	// The project is not authorized for the sub-account.
	UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"

	// The acceleration domain name is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_DOMAINNOPERMISSION = "UnauthorizedOperation.DomainNoPermission"

	// The acceleration domain name is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_DOMAINSNOPERMISSION = "UnauthorizedOperation.DomainsNoPermission"

	// The sub-account is unauthorized to query full data.
	UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"

	// No CAM policy is configured for the sub-account.
	UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"

	// The domain name resolution is not verified.
	UNAUTHORIZEDOPERATION_ECDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.EcdnDomainRecordNotVerified"

	// The acceleration domain name is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"

	// This domain name belongs to another account. You are not allowed o connect it to ECDN.
	UNAUTHORIZEDOPERATION_ECDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.EcdnHostIsOwnedByOther"

	// The acceleration domain name is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"

	// Please go to the CDN console for operation.
	UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"

	// The sub-account does not have the permission to access the domain name. Please try again after authorization.
	UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"

	// The project is not authorized for the sub-account.
	UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"

	// The acceleration service has been suspended. Please restart it and try again.
	UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

	// You are not on the beta allowlist and thus have no permission to use this feature.
	UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

	// CAM is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

	// The project is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_PROJECTNOPERMISSION = "UnauthorizedOperation.ProjectNoPermission"

	// The project is not authorized for the ECDN sub-account.
	UNAUTHORIZEDOPERATION_PROJECTSNOPERMISSION = "UnauthorizedOperation.ProjectsNoPermission"

	// Unknown error. Please try again later.
	UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
)
View Source
const APIVersion = "2019-10-12"

Variables

This section is empty.

Functions

This section is empty.

Types

type AddEcdnDomainRequest

type AddEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Origin server configuration.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Domain name acceleration region. Valid values: mainland (acceleration in Mainland China), overseas (acceleration outside Mainland China), global (global acceleration).
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Project ID. Default value: 0.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// IP block/allowlist configuration.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Origin server response header configuration.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Node caching configuration.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Caching rule configuration.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// HTTPS configuration.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Forced access protocol redirection configuration.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Tag bound to a domain name.
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// WebSocket configuration.
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`
}

func NewAddEcdnDomainRequest

func NewAddEcdnDomainRequest() (request *AddEcdnDomainRequest)

func (*AddEcdnDomainRequest) FromJsonString

func (r *AddEcdnDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddEcdnDomainRequest) ToJsonString

func (r *AddEcdnDomainRequest) ToJsonString() string

type AddEcdnDomainRequestParams

type AddEcdnDomainRequestParams struct {
	// Domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Origin server configuration.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Domain name acceleration region. Valid values: mainland (acceleration in Mainland China), overseas (acceleration outside Mainland China), global (global acceleration).
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Project ID. Default value: 0.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// IP block/allowlist configuration.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Origin server response header configuration.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Node caching configuration.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Caching rule configuration.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// HTTPS configuration.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Forced access protocol redirection configuration.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Tag bound to a domain name.
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// WebSocket configuration.
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`
}

Predefined struct for user

type AddEcdnDomainResponse

type AddEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *AddEcdnDomainResponseParams `json:"Response"`
}

func NewAddEcdnDomainResponse

func NewAddEcdnDomainResponse() (response *AddEcdnDomainResponse)

func (*AddEcdnDomainResponse) FromJsonString

func (r *AddEcdnDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*AddEcdnDomainResponse) ToJsonString

func (r *AddEcdnDomainResponse) ToJsonString() string

type AddEcdnDomainResponseParams

type AddEcdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type AdvanceHttps

type AdvanceHttps struct {
	// Custom TLS data switch
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	CustomTlsStatus *string `json:"CustomTlsStatus,omitnil,omitempty" name:"CustomTlsStatus"`

	// TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TlsVersion []*string `json:"TlsVersion,omitnil,omitempty" name:"TlsVersion"`

	// Custom encryption suite
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Cipher *string `json:"Cipher,omitnil,omitempty" name:"Cipher"`

	// Origin-pull verification status
	// `off`: Disables origin-pull verification
	// `oneWay`: Only verify the origin
	// `twoWay`: Enables two-way origin-pull verification
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	VerifyOriginType *string `json:"VerifyOriginType,omitnil,omitempty" name:"VerifyOriginType"`

	// Configuration information of the origin-pull certificate
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	CertInfo *ServerCert `json:"CertInfo,omitnil,omitempty" name:"CertInfo"`

	// Configuration information of the origin server certificate
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	OriginCertInfo *ClientCert `json:"OriginCertInfo,omitnil,omitempty" name:"OriginCertInfo"`
}

type Cache

type Cache struct {
	// Caching configuration rule array.
	CacheRules []*CacheRule `json:"CacheRules,omitnil,omitempty" name:"CacheRules"`

	// Whether to follow the `Cache-Control: max-age` configuration on the origin server (this feature is only available to users on the allowlist).
	// on: enable
	// off: disable
	// If it is enabled, resources that do not match `CacheRules` will be cached on node according to the `max-age` value returned by the origin server, while resources that match `CacheRules` will be cached on node according to the cache expiration time set in `CacheRules`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FollowOrigin *string `json:"FollowOrigin,omitnil,omitempty" name:"FollowOrigin"`
}

type CacheKey

type CacheKey struct {
	// Whether to enable full path cache. Valid values: on, off.
	FullUrlCache *string `json:"FullUrlCache,omitnil,omitempty" name:"FullUrlCache"`
}

type CacheRule

type CacheRule struct {
	// Cache type. Valid values: all (all files), file (extension type), directory (directory), path (full path), index (homepage).
	CacheType *string `json:"CacheType,omitnil,omitempty" name:"CacheType"`

	// Cached content list.
	CacheContents []*string `json:"CacheContents,omitnil,omitempty" name:"CacheContents"`

	// Cache time in seconds.
	CacheTime *int64 `json:"CacheTime,omitnil,omitempty" name:"CacheTime"`
}

type Client

type Client struct {
	common.Client
}

func NewClient

func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)

func NewClientWithSecretId

func NewClientWithSecretId(secretId, secretKey, region string) (client *Client, err error)

Deprecated

func (*Client) AddEcdnDomain

func (c *Client) AddEcdnDomain(request *AddEcdnDomainRequest) (response *AddEcdnDomainResponse, err error)

AddEcdnDomain This API is used to create an acceleration domain name.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41123?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNCAMTAGKEYNOTEXIST = "InvalidParameter.EcdnCamTagKeyNotExist"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNRESOURCEMANYTAGKEY = "InvalidParameter.EcdnResourceManyTagKey"
INVALIDPARAMETER_ECDNTAGKEYINVALID = "InvalidParameter.EcdnTagKeyInvalid"
INVALIDPARAMETER_ECDNTAGKEYNOTEXIST = "InvalidParameter.EcdnTagKeyNotExist"
INVALIDPARAMETER_ECDNTAGKEYTOOMANYVALUE = "InvalidParameter.EcdnTagKeyTooManyValue"
INVALIDPARAMETER_ECDNTAGVALUEINVALID = "InvalidParameter.EcdnTagValueInvalid"
INVALIDPARAMETER_ECDNUSERTOOMANYTAGKEY = "InvalidParameter.EcdnUserTooManyTagKey"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
LIMITEXCEEDED_ECDNUSERTOOMANYDOMAINS = "LimitExceeded.EcdnUserTooManyDomains"
RESOURCEINUSE_ECDNDOMAINEXISTS = "ResourceInUse.EcdnDomainExists"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.EcdnDomainRecordNotVerified"
UNAUTHORIZEDOPERATION_ECDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.EcdnHostIsOwnedByOther"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

func (*Client) AddEcdnDomainWithContext

func (c *Client) AddEcdnDomainWithContext(ctx context.Context, request *AddEcdnDomainRequest) (response *AddEcdnDomainResponse, err error)

AddEcdnDomain This API is used to create an acceleration domain name.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41123?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNCAMTAGKEYNOTEXIST = "InvalidParameter.EcdnCamTagKeyNotExist"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNRESOURCEMANYTAGKEY = "InvalidParameter.EcdnResourceManyTagKey"
INVALIDPARAMETER_ECDNTAGKEYINVALID = "InvalidParameter.EcdnTagKeyInvalid"
INVALIDPARAMETER_ECDNTAGKEYNOTEXIST = "InvalidParameter.EcdnTagKeyNotExist"
INVALIDPARAMETER_ECDNTAGKEYTOOMANYVALUE = "InvalidParameter.EcdnTagKeyTooManyValue"
INVALIDPARAMETER_ECDNTAGVALUEINVALID = "InvalidParameter.EcdnTagValueInvalid"
INVALIDPARAMETER_ECDNUSERTOOMANYTAGKEY = "InvalidParameter.EcdnUserTooManyTagKey"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
LIMITEXCEEDED_ECDNUSERTOOMANYDOMAINS = "LimitExceeded.EcdnUserTooManyDomains"
RESOURCEINUSE_ECDNDOMAINEXISTS = "ResourceInUse.EcdnDomainExists"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINRECORDNOTVERIFIED = "UnauthorizedOperation.EcdnDomainRecordNotVerified"
UNAUTHORIZEDOPERATION_ECDNHOSTISOWNEDBYOTHER = "UnauthorizedOperation.EcdnHostIsOwnedByOther"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

func (*Client) DeleteEcdnDomain

func (c *Client) DeleteEcdnDomain(request *DeleteEcdnDomainRequest) (response *DeleteEcdnDomainResponse, err error)

DeleteEcdnDomain This API is used to delete a specified acceleration domain name. The acceleration domain name to be deleted must be in disabled status.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/570/42471?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"
RESOURCEUNAVAILABLE_ECDNDOMAINISNOTOFFLINE = "ResourceUnavailable.EcdnDomainIsNotOffline"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) DeleteEcdnDomainWithContext

func (c *Client) DeleteEcdnDomainWithContext(ctx context.Context, request *DeleteEcdnDomainRequest) (response *DeleteEcdnDomainResponse, err error)

DeleteEcdnDomain This API is used to delete a specified acceleration domain name. The acceleration domain name to be deleted must be in disabled status.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/570/42471?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"
RESOURCEUNAVAILABLE_ECDNDOMAINISNOTOFFLINE = "ResourceUnavailable.EcdnDomainIsNotOffline"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) DescribeDomains

func (c *Client) DescribeDomains(request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

DescribeDomains This API is used to query the basic information of a CDN domain name, including the project ID, status, business type, creation time, update time, etc.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41118?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"

func (*Client) DescribeDomainsConfig

func (c *Client) DescribeDomainsConfig(request *DescribeDomainsConfigRequest) (response *DescribeDomainsConfigResponse, err error)

DescribeDomainsConfig This API is used to query the detailed configuration information of a CDN acceleration domain name.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41117?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNCERTNOCERTINFO = "InvalidParameter.EcdnCertNoCertInfo"
INVALIDPARAMETER_ECDNCONFIGINVALIDCACHE = "InvalidParameter.EcdnConfigInvalidCache"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"

func (*Client) DescribeDomainsConfigWithContext

func (c *Client) DescribeDomainsConfigWithContext(ctx context.Context, request *DescribeDomainsConfigRequest) (response *DescribeDomainsConfigResponse, err error)

DescribeDomainsConfig This API is used to query the detailed configuration information of a CDN acceleration domain name.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41117?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNCERTNOCERTINFO = "InvalidParameter.EcdnCertNoCertInfo"
INVALIDPARAMETER_ECDNCONFIGINVALIDCACHE = "InvalidParameter.EcdnConfigInvalidCache"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"

func (*Client) DescribeDomainsWithContext

func (c *Client) DescribeDomainsWithContext(ctx context.Context, request *DescribeDomainsRequest) (response *DescribeDomainsResponse, err error)

DescribeDomains This API is used to query the basic information of a CDN domain name, including the project ID, status, business type, creation time, update time, etc.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41118?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"

func (*Client) DescribeEcdnDomainLogs

func (c *Client) DescribeEcdnDomainLogs(request *DescribeEcdnDomainLogsRequest) (response *DescribeEcdnDomainLogsResponse, err error)

DescribeEcdnDomainLogs This API is used to query the access log download link of a domain name.

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"

func (*Client) DescribeEcdnDomainLogsWithContext

func (c *Client) DescribeEcdnDomainLogsWithContext(ctx context.Context, request *DescribeEcdnDomainLogsRequest) (response *DescribeEcdnDomainLogsResponse, err error)

DescribeEcdnDomainLogs This API is used to query the access log download link of a domain name.

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"

func (*Client) DescribeEcdnDomainStatistics

func (c *Client) DescribeEcdnDomainStatistics(request *DescribeEcdnDomainStatisticsRequest) (response *DescribeEcdnDomainStatisticsResponse, err error)

DescribeEcdnDomainStatistics This API is used to query the statistical metrics of domain name access within a specified time period.

error code that may be returned:

INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"
INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = "InvalidParameter.EcdnStatInvalidMetric"
INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_DOMAINNOPERMISSION = "UnauthorizedOperation.DomainNoPermission"
UNAUTHORIZEDOPERATION_DOMAINSNOPERMISSION = "UnauthorizedOperation.DomainsNoPermission"
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_PROJECTNOPERMISSION = "UnauthorizedOperation.ProjectNoPermission"
UNAUTHORIZEDOPERATION_PROJECTSNOPERMISSION = "UnauthorizedOperation.ProjectsNoPermission"

func (*Client) DescribeEcdnDomainStatisticsWithContext

func (c *Client) DescribeEcdnDomainStatisticsWithContext(ctx context.Context, request *DescribeEcdnDomainStatisticsRequest) (response *DescribeEcdnDomainStatisticsResponse, err error)

DescribeEcdnDomainStatistics This API is used to query the statistical metrics of domain name access within a specified time period.

error code that may be returned:

INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"
INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = "InvalidParameter.EcdnStatInvalidMetric"
INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_DOMAINNOPERMISSION = "UnauthorizedOperation.DomainNoPermission"
UNAUTHORIZEDOPERATION_DOMAINSNOPERMISSION = "UnauthorizedOperation.DomainsNoPermission"
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_PROJECTNOPERMISSION = "UnauthorizedOperation.ProjectNoPermission"
UNAUTHORIZEDOPERATION_PROJECTSNOPERMISSION = "UnauthorizedOperation.ProjectsNoPermission"

func (*Client) DescribeEcdnStatistics

func (c *Client) DescribeEcdnStatistics(request *DescribeEcdnStatisticsRequest) (response *DescribeEcdnStatisticsResponse, err error)

DescribeEcdnStatistics This API is used to query ECDN real-time access monitoring data and supports the following metrics:

+ Traffic (in bytes)

+ Bandwidth (in bps)

+ Number of requests

+ Number of 2xx status codes and details of status codes starting with 2

+ Number of 3xx status codes and details of status codes starting with 3

+ Number of 4xx status codes and details of status codes starting with 4

+ Number of 5xx status codes and details of status codes starting with 5

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_ECDNINVALIDPARAMINTERVAL = "InvalidParameter.EcdnInvalidParamInterval"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"
INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = "InvalidParameter.EcdnStatInvalidMetric"
INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_DOMAINNOPERMISSION = "UnauthorizedOperation.DomainNoPermission"
UNAUTHORIZEDOPERATION_DOMAINSNOPERMISSION = "UnauthorizedOperation.DomainsNoPermission"
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_PROJECTNOPERMISSION = "UnauthorizedOperation.ProjectNoPermission"
UNAUTHORIZEDOPERATION_PROJECTSNOPERMISSION = "UnauthorizedOperation.ProjectsNoPermission"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeEcdnStatisticsWithContext

func (c *Client) DescribeEcdnStatisticsWithContext(ctx context.Context, request *DescribeEcdnStatisticsRequest) (response *DescribeEcdnStatisticsResponse, err error)

DescribeEcdnStatistics This API is used to query ECDN real-time access monitoring data and supports the following metrics:

+ Traffic (in bytes)

+ Bandwidth (in bps)

+ Number of requests

+ Number of 2xx status codes and details of status codes starting with 2

+ Number of 3xx status codes and details of status codes starting with 3

+ Number of 4xx status codes and details of status codes starting with 4

+ Number of 5xx status codes and details of status codes starting with 5

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INVALIDPARAMETER_ECDNINVALIDPARAMINTERVAL = "InvalidParameter.EcdnInvalidParamInterval"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNSTATINVALIDDATE = "InvalidParameter.EcdnStatInvalidDate"
INVALIDPARAMETER_ECDNSTATINVALIDMETRIC = "InvalidParameter.EcdnStatInvalidMetric"
INVALIDPARAMETER_PARAMERROR = "InvalidParameter.ParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_CDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.CdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_CDNCAMUNAUTHORIZED = "UnauthorizedOperation.CdnCamUnauthorized"
UNAUTHORIZEDOPERATION_CDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNHOSTUNAUTHORIZED = "UnauthorizedOperation.CdnHostUnauthorized"
UNAUTHORIZEDOPERATION_CDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.CdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_CDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.CdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_DOMAINNOPERMISSION = "UnauthorizedOperation.DomainNoPermission"
UNAUTHORIZEDOPERATION_DOMAINSNOPERMISSION = "UnauthorizedOperation.DomainsNoPermission"
UNAUTHORIZEDOPERATION_ECDNACCOUNTUNAUTHORIZED = "UnauthorizedOperation.EcdnAccountUnauthorized"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNNODOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnNoDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
UNAUTHORIZEDOPERATION_PROJECTNOPERMISSION = "UnauthorizedOperation.ProjectNoPermission"
UNAUTHORIZEDOPERATION_PROJECTSNOPERMISSION = "UnauthorizedOperation.ProjectsNoPermission"
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"

func (*Client) DescribeIpStatus

func (c *Client) DescribeIpStatus(request *DescribeIpStatusRequest) (response *DescribeIpStatusResponse, err error)

DescribeIpStatus This API is used to query ECDN node IPs. This API is only available to beta users. Please submit a ticket to use it.

If you need to add the node IPs to your origin allowlist, keep querying the updating the IPs regularly to ensure the success of origin forwarding.

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

func (*Client) DescribeIpStatusWithContext

func (c *Client) DescribeIpStatusWithContext(ctx context.Context, request *DescribeIpStatusRequest) (response *DescribeIpStatusResponse, err error)

DescribeIpStatus This API is used to query ECDN node IPs. This API is only available to beta users. Please submit a ticket to use it.

If you need to add the node IPs to your origin allowlist, keep querying the updating the IPs regularly to ensure the success of origin forwarding.

error code that may be returned:

INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNHOSTNOTEXISTS = "ResourceNotFound.EcdnHostNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNHOSTUNAUTHORIZED = "UnauthorizedOperation.EcdnHostUnauthorized"
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

func (*Client) DescribePurgeQuota

func (c *Client) DescribePurgeQuota(request *DescribePurgeQuotaRequest) (response *DescribePurgeQuotaResponse, err error)

DescribePurgeQuota This API is used to query the usage quota of the purge API.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41956?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) DescribePurgeQuotaWithContext

func (c *Client) DescribePurgeQuotaWithContext(ctx context.Context, request *DescribePurgeQuotaRequest) (response *DescribePurgeQuotaResponse, err error)

DescribePurgeQuota This API is used to query the usage quota of the purge API.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/41956?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) DescribePurgeTasks

func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)

DescribePurgeTasks This API is used to query the submission record and progress of purge tasks.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/37873?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) DescribePurgeTasksWithContext

func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)

DescribePurgeTasks This API is used to query the submission record and progress of purge tasks.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/37873?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) PurgePathCache

func (c *Client) PurgePathCache(request *PurgePathCacheRequest) (response *PurgePathCacheResponse, err error)

PurgePathCache This API is used to purge cache directories in batches. One purge task ID will be returned for each submission.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/570/42475?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNDOMAININVALIDSTATUS = "InvalidParameter.EcdnDomainInvalidStatus"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.EcdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_ECDNURLEXCEEDLENGTH = "InvalidParameter.EcdnUrlExceedLength"
LIMITEXCEEDED_ECDNPURGEPATHEXCEEDBATCHLIMIT = "LimitExceeded.EcdnPurgePathExceedBatchLimit"
LIMITEXCEEDED_ECDNPURGEPATHEXCEEDDAYLIMIT = "LimitExceeded.EcdnPurgePathExceedDayLimit"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) PurgePathCacheWithContext

func (c *Client) PurgePathCacheWithContext(ctx context.Context, request *PurgePathCacheRequest) (response *PurgePathCacheResponse, err error)

PurgePathCache This API is used to purge cache directories in batches. One purge task ID will be returned for each submission.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/570/42475?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNDOMAININVALIDSTATUS = "InvalidParameter.EcdnDomainInvalidStatus"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.EcdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_ECDNURLEXCEEDLENGTH = "InvalidParameter.EcdnUrlExceedLength"
LIMITEXCEEDED_ECDNPURGEPATHEXCEEDBATCHLIMIT = "LimitExceeded.EcdnPurgePathExceedBatchLimit"
LIMITEXCEEDED_ECDNPURGEPATHEXCEEDDAYLIMIT = "LimitExceeded.EcdnPurgePathExceedDayLimit"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) PurgeUrlsCache

func (c *Client) PurgeUrlsCache(request *PurgeUrlsCacheRequest) (response *PurgeUrlsCacheResponse, err error)

PurgeUrlsCache This API is used to batch purge URLs. One purge task ID will be returned for each submission.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/37870?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNDOMAININVALIDSTATUS = "InvalidParameter.EcdnDomainInvalidStatus"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.EcdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_ECDNURLEXCEEDLENGTH = "InvalidParameter.EcdnUrlExceedLength"
LIMITEXCEEDED_ECDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.EcdnPurgeUrlExceedBatchLimit"
LIMITEXCEEDED_ECDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.EcdnPurgeUrlExceedDayLimit"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) PurgeUrlsCacheWithContext

func (c *Client) PurgeUrlsCacheWithContext(ctx context.Context, request *PurgeUrlsCacheRequest) (response *PurgeUrlsCacheResponse, err error)

PurgeUrlsCache This API is used to batch purge URLs. One purge task ID will be returned for each submission.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/api/228/37870?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNDOMAININVALIDSTATUS = "InvalidParameter.EcdnDomainInvalidStatus"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
INVALIDPARAMETER_ECDNPURGEWILDCARDNOTALLOWED = "InvalidParameter.EcdnPurgeWildcardNotAllowed"
INVALIDPARAMETER_ECDNURLEXCEEDLENGTH = "InvalidParameter.EcdnUrlExceedLength"
LIMITEXCEEDED_ECDNPURGEURLEXCEEDBATCHLIMIT = "LimitExceeded.EcdnPurgeUrlExceedBatchLimit"
LIMITEXCEEDED_ECDNPURGEURLEXCEEDDAYLIMIT = "LimitExceeded.EcdnPurgeUrlExceedDayLimit"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) StartEcdnDomain

func (c *Client) StartEcdnDomain(request *StartEcdnDomainRequest) (response *StartEcdnDomainResponse, err error)

StartEcdnDomain This API is used to enable an acceleration domain name. The domain name to be enabled must be in deactivated status.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/product/228/41121?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"
RESOURCEUNAVAILABLE_ECDNDOMAINISNOTOFFLINE = "ResourceUnavailable.EcdnDomainIsNotOffline"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) StartEcdnDomainWithContext

func (c *Client) StartEcdnDomainWithContext(ctx context.Context, request *StartEcdnDomainRequest) (response *StartEcdnDomainResponse, err error)

StartEcdnDomain This API is used to enable an acceleration domain name. The domain name to be enabled must be in deactivated status.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/product/228/41121?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"
RESOURCEUNAVAILABLE_ECDNDOMAINISNOTOFFLINE = "ResourceUnavailable.EcdnDomainIsNotOffline"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) StopEcdnDomain

func (c *Client) StopEcdnDomain(request *StopEcdnDomainRequest) (response *StopEcdnDomainResponse, err error)

StopEcdnDomain This API is used to disable an acceleration domain name. The domain name to be disabled must be in enabled or deploying status.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/product/228/41120?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISNOTONLINE = "ResourceUnavailable.EcdnDomainIsNotOnline"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) StopEcdnDomainWithContext

func (c *Client) StopEcdnDomainWithContext(ctx context.Context, request *StopEcdnDomainRequest) (response *StopEcdnDomainResponse, err error)

StopEcdnDomain This API is used to disable an acceleration domain name. The domain name to be disabled must be in enabled or deploying status.

>? If you have migrated your ECDN service to CDN, you can use the <a href="https://intl.cloud.tencent.com/document/product/228/41120?from_cn_redirect=1">corresponding CDN API</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISNOTONLINE = "ResourceUnavailable.EcdnDomainIsNotOnline"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"

func (*Client) UpdateDomainConfig

func (c *Client) UpdateDomainConfig(request *UpdateDomainConfigRequest) (response *UpdateDomainConfigResponse, err error)

UpdateDomainConfig This API is used to update the configuration information of an ECDN acceleration domain name.

Note: if you need to update complex configuration items, you must pass all the attributes of the entire object. The default value will be used for attributes that are not passed. We recommend calling the querying API to obtain the configuration attributes first. You can then modify and pass the attributes to the API. The certificate and key fields do not need to be passed for HTTPS configuration.

>? If your application has been migrated to Tencent Cloud CDN, you can use <a href="https://intl.cloud.tencent.com/document/product/228/41116?from_cn_redirect=1">CDN APIs</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNINVALIDPARAMAREA = "InvalidParameter.EcdnInvalidParamArea"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

func (*Client) UpdateDomainConfigWithContext

func (c *Client) UpdateDomainConfigWithContext(ctx context.Context, request *UpdateDomainConfigRequest) (response *UpdateDomainConfigResponse, err error)

UpdateDomainConfig This API is used to update the configuration information of an ECDN acceleration domain name.

Note: if you need to update complex configuration items, you must pass all the attributes of the entire object. The default value will be used for attributes that are not passed. We recommend calling the querying API to obtain the configuration attributes first. You can then modify and pass the attributes to the API. The certificate and key fields do not need to be passed for HTTPS configuration.

>? If your application has been migrated to Tencent Cloud CDN, you can use <a href="https://intl.cloud.tencent.com/document/product/228/41116?from_cn_redirect=1">CDN APIs</a>.

error code that may be returned:

FAILEDOPERATION_ECDNCONFIGERROR = "FailedOperation.EcdnConfigError"
INTERNALERROR_ECDNCONFIGERROR = "InternalError.EcdnConfigError"
INTERNALERROR_ECDNDBERROR = "InternalError.EcdnDbError"
INTERNALERROR_ECDNSYSTEMERROR = "InternalError.EcdnSystemError"
INVALIDPARAMETER_ECDNINTERFACEERROR = "InvalidParameter.EcdnInterfaceError"
INVALIDPARAMETER_ECDNINVALIDPARAMAREA = "InvalidParameter.EcdnInvalidParamArea"
INVALIDPARAMETER_ECDNPARAMERROR = "InvalidParameter.EcdnParamError"
LIMITEXCEEDED_ECDNDOMAINOPTOOOFTEN = "LimitExceeded.EcdnDomainOpTooOften"
RESOURCEINUSE_ECDNOPINPROGRESS = "ResourceInUse.EcdnOpInProgress"
RESOURCENOTFOUND_ECDNDOMAINNOTEXISTS = "ResourceNotFound.EcdnDomainNotExists"
RESOURCENOTFOUND_ECDNPROJECTNOTEXISTS = "ResourceNotFound.EcdnProjectNotExists"
RESOURCENOTFOUND_ECDNUSERNOTEXISTS = "ResourceNotFound.EcdnUserNotExists"
RESOURCEUNAVAILABLE_ECDNDOMAINISLOCKED = "ResourceUnavailable.EcdnDomainIsLocked"
UNAUTHORIZEDOPERATION_ECDNCAMUNAUTHORIZED = "UnauthorizedOperation.EcdnCamUnauthorized"
UNAUTHORIZEDOPERATION_ECDNDOMAINUNAUTHORIZED = "UnauthorizedOperation.EcdnDomainUnauthorized"
UNAUTHORIZEDOPERATION_ECDNMIGRATEDCDN = "UnauthorizedOperation.EcdnMigratedCdn"
UNAUTHORIZEDOPERATION_ECDNPROJECTUNAUTHORIZED = "UnauthorizedOperation.EcdnProjectUnauthorized"
UNAUTHORIZEDOPERATION_ECDNUSERISSUSPENDED = "UnauthorizedOperation.EcdnUserIsSuspended"
UNAUTHORIZEDOPERATION_ECDNUSERNOWHITELIST = "UnauthorizedOperation.EcdnUserNoWhitelist"

type ClientCert

type ClientCert struct {
	// Client certificate in PEM format.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Certificate *string `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// Client certificate name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertName *string `json:"CertName,omitnil,omitempty" name:"CertName"`

	// Certificate expiration time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Certificate issuance time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"`
}

type DeleteEcdnDomainRequest

type DeleteEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name to be deleted.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewDeleteEcdnDomainRequest

func NewDeleteEcdnDomainRequest() (request *DeleteEcdnDomainRequest)

func (*DeleteEcdnDomainRequest) FromJsonString

func (r *DeleteEcdnDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEcdnDomainRequest) ToJsonString

func (r *DeleteEcdnDomainRequest) ToJsonString() string

type DeleteEcdnDomainRequestParams

type DeleteEcdnDomainRequestParams struct {
	// Domain name to be deleted.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type DeleteEcdnDomainResponse

type DeleteEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *DeleteEcdnDomainResponseParams `json:"Response"`
}

func NewDeleteEcdnDomainResponse

func NewDeleteEcdnDomainResponse() (response *DeleteEcdnDomainResponse)

func (*DeleteEcdnDomainResponse) FromJsonString

func (r *DeleteEcdnDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DeleteEcdnDomainResponse) ToJsonString

func (r *DeleteEcdnDomainResponse) ToJsonString() string

type DeleteEcdnDomainResponseParams

type DeleteEcdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomainsConfigRequest

type DescribeDomainsConfigRequest struct {
	*tchttp.BaseRequest

	// Pagination offset address. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of domain names per page. Default value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query filter.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query result sorting rule.
	Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"`
}

func NewDescribeDomainsConfigRequest

func NewDescribeDomainsConfigRequest() (request *DescribeDomainsConfigRequest)

func (*DescribeDomainsConfigRequest) FromJsonString

func (r *DescribeDomainsConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsConfigRequest) ToJsonString

func (r *DescribeDomainsConfigRequest) ToJsonString() string

type DescribeDomainsConfigRequestParams

type DescribeDomainsConfigRequestParams struct {
	// Pagination offset address. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of domain names per page. Default value: 100.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query filter.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`

	// Query result sorting rule.
	Sort *Sort `json:"Sort,omitnil,omitempty" name:"Sort"`
}

Predefined struct for user

type DescribeDomainsConfigResponse

type DescribeDomainsConfigResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainsConfigResponseParams `json:"Response"`
}

func NewDescribeDomainsConfigResponse

func NewDescribeDomainsConfigResponse() (response *DescribeDomainsConfigResponse)

func (*DescribeDomainsConfigResponse) FromJsonString

func (r *DescribeDomainsConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsConfigResponse) ToJsonString

func (r *DescribeDomainsConfigResponse) ToJsonString() string

type DescribeDomainsConfigResponseParams

type DescribeDomainsConfigResponseParams struct {
	// Domain name list.
	Domains []*DomainDetailInfo `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Number of matched domain names. This is used for paginated query.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeDomainsRequest

type DescribeDomainsRequest struct {
	*tchttp.BaseRequest

	// Pagination offset address. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of domain names per page. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query filter.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

func NewDescribeDomainsRequest

func NewDescribeDomainsRequest() (request *DescribeDomainsRequest)

func (*DescribeDomainsRequest) FromJsonString

func (r *DescribeDomainsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsRequest) ToJsonString

func (r *DescribeDomainsRequest) ToJsonString() string

type DescribeDomainsRequestParams

type DescribeDomainsRequestParams struct {
	// Pagination offset address. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of domain names per page. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query filter.
	Filters []*DomainFilter `json:"Filters,omitnil,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeDomainsResponse

type DescribeDomainsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDomainsResponseParams `json:"Response"`
}

func NewDescribeDomainsResponse

func NewDescribeDomainsResponse() (response *DescribeDomainsResponse)

func (*DescribeDomainsResponse) FromJsonString

func (r *DescribeDomainsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeDomainsResponse) ToJsonString

func (r *DescribeDomainsResponse) ToJsonString() string

type DescribeDomainsResponseParams

type DescribeDomainsResponseParams struct {
	// Domain name information list.
	Domains []*DomainBriefInfo `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Total number of domain names.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEcdnDomainLogsRequest

type DescribeEcdnDomainLogsRequest struct {
	*tchttp.BaseRequest

	// Domain name to be queried.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Log start time, such as 2019-10-01 00:00:00
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Log end time, such as 2019-10-02 00:00:00. Only logs for the last 30 days can be queried.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Pagination offset for log link list. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of log links per page. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

func NewDescribeEcdnDomainLogsRequest

func NewDescribeEcdnDomainLogsRequest() (request *DescribeEcdnDomainLogsRequest)

func (*DescribeEcdnDomainLogsRequest) FromJsonString

func (r *DescribeEcdnDomainLogsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEcdnDomainLogsRequest) ToJsonString

func (r *DescribeEcdnDomainLogsRequest) ToJsonString() string

type DescribeEcdnDomainLogsRequestParams

type DescribeEcdnDomainLogsRequestParams struct {
	// Domain name to be queried.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Log start time, such as 2019-10-01 00:00:00
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Log end time, such as 2019-10-02 00:00:00. Only logs for the last 30 days can be queried.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Pagination offset for log link list. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of log links per page. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeEcdnDomainLogsResponse

type DescribeEcdnDomainLogsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEcdnDomainLogsResponseParams `json:"Response"`
}

func NewDescribeEcdnDomainLogsResponse

func NewDescribeEcdnDomainLogsResponse() (response *DescribeEcdnDomainLogsResponse)

func (*DescribeEcdnDomainLogsResponse) FromJsonString

func (r *DescribeEcdnDomainLogsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEcdnDomainLogsResponse) ToJsonString

func (r *DescribeEcdnDomainLogsResponse) ToJsonString() string

type DescribeEcdnDomainLogsResponseParams

type DescribeEcdnDomainLogsResponseParams struct {
	// Log link list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DomainLogs []*DomainLogs `json:"DomainLogs,omitnil,omitempty" name:"DomainLogs"`

	// Total number of log links.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEcdnDomainStatisticsRequest

type DescribeEcdnDomainStatisticsRequest struct {
	*tchttp.BaseRequest

	// Query start time, such as 2019-12-13 00:00:00.
	// The time span cannot exceed 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, such as 2019-12-13 23:59:59.
	// The time span cannot exceed 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Statistical metric names:
	// flux: traffic (in bytes)
	// bandwidth: bandwidth (in bps)
	// request: number of requests
	Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Specifies the list of domain names to be queried
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevail
	Projects []*int64 `json:"Projects,omitnil,omitempty" name:"Projects"`

	// Pagination offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of entries per page. Default value: 1000. Maximum value: 3,000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Statistical areas:
	// mainland: Chinese mainland
	// oversea: outside the Chinese mainland
	// global: global
	// Default value: global
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

func NewDescribeEcdnDomainStatisticsRequest

func NewDescribeEcdnDomainStatisticsRequest() (request *DescribeEcdnDomainStatisticsRequest)

func (*DescribeEcdnDomainStatisticsRequest) FromJsonString

func (r *DescribeEcdnDomainStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEcdnDomainStatisticsRequest) ToJsonString

func (r *DescribeEcdnDomainStatisticsRequest) ToJsonString() string

type DescribeEcdnDomainStatisticsRequestParams

type DescribeEcdnDomainStatisticsRequestParams struct {
	// Query start time, such as 2019-12-13 00:00:00.
	// The time span cannot exceed 90 days.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, such as 2019-12-13 23:59:59.
	// The time span cannot exceed 90 days.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Statistical metric names:
	// flux: traffic (in bytes)
	// bandwidth: bandwidth (in bps)
	// request: number of requests
	Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Specifies the list of domain names to be queried
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevail
	Projects []*int64 `json:"Projects,omitnil,omitempty" name:"Projects"`

	// Pagination offset. Default value: 0.
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Number of entries per page. Default value: 1000. Maximum value: 3,000.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Statistical areas:
	// mainland: Chinese mainland
	// oversea: outside the Chinese mainland
	// global: global
	// Default value: global
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeEcdnDomainStatisticsResponse

type DescribeEcdnDomainStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEcdnDomainStatisticsResponseParams `json:"Response"`
}

func NewDescribeEcdnDomainStatisticsResponse

func NewDescribeEcdnDomainStatisticsResponse() (response *DescribeEcdnDomainStatisticsResponse)

func (*DescribeEcdnDomainStatisticsResponse) FromJsonString

func (r *DescribeEcdnDomainStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEcdnDomainStatisticsResponse) ToJsonString

func (r *DescribeEcdnDomainStatisticsResponse) ToJsonString() string

type DescribeEcdnDomainStatisticsResponseParams

type DescribeEcdnDomainStatisticsResponseParams struct {
	// Domain name data
	Data []*DomainData `json:"Data,omitnil,omitempty" name:"Data"`

	// Quantity
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeEcdnStatisticsRequest

type DescribeEcdnStatisticsRequest struct {
	*tchttp.BaseRequest

	// Query start time, such as 2019-12-13 00:00:00
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, such as 2019-12-13 23:59:59
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the query metric, which can be:
	// flux: traffic (in bytes)
	// bandwidth: bandwidth (in bps)
	// request: number of requests
	// 2xx: returns the number of 2xx status codes or details of status codes starting with 2
	// 3xx: returns the number of 3xx status codes or details of status codes starting with 3
	// 4xx: returns the number of 4xx status codes or details of status codes starting with 4
	// 5xx: returns the number of 5xx status codes or details of status codes starting with 5
	Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Sampling interval in minutes. The available options vary for different query period. See below:
	// 1 day: `1`, `5`, `15`, `30`, `60`, `120`, `240`, `1440`
	// 2 to 3 days: `15`, `30`, `60`, `120`, `240`, `1440`
	// 4 to 7 days: `30`, `60`, `120`, `240`, `1440`
	// 8 to 31 days: `60`, `120`, `240`, `1440`
	Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Specifies the list of domain names to be queried
	//
	// Up to 30 acceleration domain names can be queried at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevail
	Projects []*int64 `json:"Projects,omitnil,omitempty" name:"Projects"`

	// Statistical areas:
	// mainland: Chinese mainland
	// oversea: outside the Chinese mainland
	// global: global
	// Default value: global
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

func NewDescribeEcdnStatisticsRequest

func NewDescribeEcdnStatisticsRequest() (request *DescribeEcdnStatisticsRequest)

func (*DescribeEcdnStatisticsRequest) FromJsonString

func (r *DescribeEcdnStatisticsRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEcdnStatisticsRequest) ToJsonString

func (r *DescribeEcdnStatisticsRequest) ToJsonString() string

type DescribeEcdnStatisticsRequestParams

type DescribeEcdnStatisticsRequestParams struct {
	// Query start time, such as 2019-12-13 00:00:00
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Query end time, such as 2019-12-13 23:59:59
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Specifies the query metric, which can be:
	// flux: traffic (in bytes)
	// bandwidth: bandwidth (in bps)
	// request: number of requests
	// 2xx: returns the number of 2xx status codes or details of status codes starting with 2
	// 3xx: returns the number of 3xx status codes or details of status codes starting with 3
	// 4xx: returns the number of 4xx status codes or details of status codes starting with 4
	// 5xx: returns the number of 5xx status codes or details of status codes starting with 5
	Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Sampling interval in minutes. The available options vary for different query period. See below:
	// 1 day: `1`, `5`, `15`, `30`, `60`, `120`, `240`, `1440`
	// 2 to 3 days: `15`, `30`, `60`, `120`, `240`, `1440`
	// 4 to 7 days: `30`, `60`, `120`, `240`, `1440`
	// 8 to 31 days: `60`, `120`, `240`, `1440`
	Interval *int64 `json:"Interval,omitnil,omitempty" name:"Interval"`

	// Specifies the list of domain names to be queried
	//
	// Up to 30 acceleration domain names can be queried at a time.
	Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"`

	// Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
	// If no domain name is entered, the specified project will be queried; otherwise, the domain name will prevail
	Projects []*int64 `json:"Projects,omitnil,omitempty" name:"Projects"`

	// Statistical areas:
	// mainland: Chinese mainland
	// oversea: outside the Chinese mainland
	// global: global
	// Default value: global
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeEcdnStatisticsResponse

type DescribeEcdnStatisticsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeEcdnStatisticsResponseParams `json:"Response"`
}

func NewDescribeEcdnStatisticsResponse

func NewDescribeEcdnStatisticsResponse() (response *DescribeEcdnStatisticsResponse)

func (*DescribeEcdnStatisticsResponse) FromJsonString

func (r *DescribeEcdnStatisticsResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeEcdnStatisticsResponse) ToJsonString

func (r *DescribeEcdnStatisticsResponse) ToJsonString() string

type DescribeEcdnStatisticsResponseParams

type DescribeEcdnStatisticsResponseParams struct {
	// Returned data details of the specified conditional query
	Data []*ResourceData `json:"Data,omitnil,omitempty" name:"Data"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribeIpStatusRequest

type DescribeIpStatusRequest struct {
	*tchttp.BaseRequest

	// Acceleration domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Target region of the query:
	// mainland: nodes in Mainland China
	// overseas: nodes outside Mainland China
	// global: global nodes
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

func NewDescribeIpStatusRequest

func NewDescribeIpStatusRequest() (request *DescribeIpStatusRequest)

func (*DescribeIpStatusRequest) FromJsonString

func (r *DescribeIpStatusRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIpStatusRequest) ToJsonString

func (r *DescribeIpStatusRequest) ToJsonString() string

type DescribeIpStatusRequestParams

type DescribeIpStatusRequestParams struct {
	// Acceleration domain name
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Target region of the query:
	// mainland: nodes in Mainland China
	// overseas: nodes outside Mainland China
	// global: global nodes
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`
}

Predefined struct for user

type DescribeIpStatusResponse

type DescribeIpStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIpStatusResponseParams `json:"Response"`
}

func NewDescribeIpStatusResponse

func NewDescribeIpStatusResponse() (response *DescribeIpStatusResponse)

func (*DescribeIpStatusResponse) FromJsonString

func (r *DescribeIpStatusResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribeIpStatusResponse) ToJsonString

func (r *DescribeIpStatusResponse) ToJsonString() string

type DescribeIpStatusResponseParams

type DescribeIpStatusResponseParams struct {
	// Node list
	Ips []*IpStatus `json:"Ips,omitnil,omitempty" name:"Ips"`

	// Total number of nodes
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePurgeQuotaRequest

type DescribePurgeQuotaRequest struct {
	*tchttp.BaseRequest
}

func NewDescribePurgeQuotaRequest

func NewDescribePurgeQuotaRequest() (request *DescribePurgeQuotaRequest)

func (*DescribePurgeQuotaRequest) FromJsonString

func (r *DescribePurgeQuotaRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeQuotaRequest) ToJsonString

func (r *DescribePurgeQuotaRequest) ToJsonString() string

type DescribePurgeQuotaRequestParams

type DescribePurgeQuotaRequestParams struct {
}

Predefined struct for user

type DescribePurgeQuotaResponse

type DescribePurgeQuotaResponse struct {
	*tchttp.BaseResponse
	Response *DescribePurgeQuotaResponseParams `json:"Response"`
}

func NewDescribePurgeQuotaResponse

func NewDescribePurgeQuotaResponse() (response *DescribePurgeQuotaResponse)

func (*DescribePurgeQuotaResponse) FromJsonString

func (r *DescribePurgeQuotaResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeQuotaResponse) ToJsonString

func (r *DescribePurgeQuotaResponse) ToJsonString() string

type DescribePurgeQuotaResponseParams

type DescribePurgeQuotaResponseParams struct {
	// URL purge usage and quota.
	UrlPurge *Quota `json:"UrlPurge,omitnil,omitempty" name:"UrlPurge"`

	// Directory purge usage and quota.
	PathPurge *Quota `json:"PathPurge,omitnil,omitempty" name:"PathPurge"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// Purge type to be queried. url: query URL purge records; path: query directory purge records.
	PurgeType *string `json:"PurgeType,omitnil,omitempty" name:"PurgeType"`

	// Start time, such as 2018-08-08 00:00:00
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as 2018-08-08 23:59:59
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Task ID returned during submission. Either `TaskId` or start time must be specified for a query.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Pagination offset. Default value: 0 (starting from entry 0).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination limit. Default value: 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query keyword. Please enter a domain name or full URL beginning with `http(s)://`.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Specified task status to be queried. fail: failed, done: succeeded, process: purging.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

func NewDescribePurgeTasksRequest

func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)

func (*DescribePurgeTasksRequest) FromJsonString

func (r *DescribePurgeTasksRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeTasksRequest) ToJsonString

func (r *DescribePurgeTasksRequest) ToJsonString() string

type DescribePurgeTasksRequestParams

type DescribePurgeTasksRequestParams struct {
	// Purge type to be queried. url: query URL purge records; path: query directory purge records.
	PurgeType *string `json:"PurgeType,omitnil,omitempty" name:"PurgeType"`

	// Start time, such as 2018-08-08 00:00:00
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// End time, such as 2018-08-08 23:59:59
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Task ID returned during submission. Either `TaskId` or start time must be specified for a query.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Pagination offset. Default value: 0 (starting from entry 0).
	Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"`

	// Pagination limit. Default value: 20.
	Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"`

	// Query keyword. Please enter a domain name or full URL beginning with `http(s)://`.
	Keyword *string `json:"Keyword,omitnil,omitempty" name:"Keyword"`

	// Specified task status to be queried. fail: failed, done: succeeded, process: purging.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`
}

Predefined struct for user

type DescribePurgeTasksResponse

type DescribePurgeTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePurgeTasksResponseParams `json:"Response"`
}

func NewDescribePurgeTasksResponse

func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)

func (*DescribePurgeTasksResponse) FromJsonString

func (r *DescribePurgeTasksResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*DescribePurgeTasksResponse) ToJsonString

func (r *DescribePurgeTasksResponse) ToJsonString() string

type DescribePurgeTasksResponseParams

type DescribePurgeTasksResponseParams struct {
	// Purge history.
	PurgeLogs []*PurgeTask `json:"PurgeLogs,omitnil,omitempty" name:"PurgeLogs"`

	// Total number of tasks, which is used for pagination.
	TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type DetailData

type DetailData struct {
	// Data type name
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Data value
	Value *float64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type DomainBriefInfo

type DomainBriefInfo struct {
	// Domain name ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Tencent Cloud account ID.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// CDN acceleration domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Domain name CNAME.
	Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"`

	// Domain name status. Valid values: pending (reviewing), rejected (rejected), processing (deploying after approval), online (enabled), offline (disabled), deleted (deleted).
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Domain name creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Domain name update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Origin server configuration details.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Domain name blockage status. Valid values: normal (normal), overdue (service is suspended due to arrears), quota (trial traffic package is used up), malicious (malicious user), ddos (DDoS attack), idle (no traffic), unlicensed (no ICP filing), capping (bandwidth cap reached), readonly (read-only)
	Disable *string `json:"Disable,omitnil,omitempty" name:"Disable"`

	// Acceleration region. Valid values: mainland, oversea, global.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Domain name lock status. normal: not locked; global: globally locked
	Readonly *string `json:"Readonly,omitnil,omitempty" name:"Readonly"`

	// Domain name tag
	// Note: This field may return `null`, indicating that no valid value can be found.
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`
}

type DomainData

type DomainData struct {
	// Domain name
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Result details.
	DetailData []*DetailData `json:"DetailData,omitnil,omitempty" name:"DetailData"`
}

type DomainDetailInfo

type DomainDetailInfo struct {
	// Domain name ID.
	ResourceId *string `json:"ResourceId,omitnil,omitempty" name:"ResourceId"`

	// Tencent Cloud account ID.
	AppId *int64 `json:"AppId,omitnil,omitempty" name:"AppId"`

	// Acceleration domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Domain name CNAME.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"`

	// Domain name status. Valid values: pending (reviewing), rejected (rejected), processing (deploying after approval), online (enabled), offline (disabled), deleted (deleted).
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// Domain name creation time.
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`

	// Domain name update time.
	UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"`

	// Origin server configuration.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// IP blocklist/allowlist configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Origin server response header configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Node caching configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Caching rule configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// HTTPS configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Domain name blockage status. Valid values: normal (normal), overdue (service is suspended due to arrears), quota (trial traffic package is used up), malicious (malicious user), ddos (DDoS attack), idle (no traffic), unlicensed (no ICP filing), capping (bandwidth cap reached), readonly (read-only).
	// Note: this field may return null, indicating that no valid values can be obtained.
	Disable *string `json:"Disable,omitnil,omitempty" name:"Disable"`

	// Forced access protocol redirection configuration.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Acceleration region. Valid values: mainland, overseas, global.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// Domain name lock status. normal: not locked; global: globally locked.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Readonly *string `json:"Readonly,omitnil,omitempty" name:"Readonly"`

	// Domain name tag
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Tag []*Tag `json:"Tag,omitnil,omitempty" name:"Tag"`

	// WebSocket configuration.
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`
}

type DomainFilter

type DomainFilter struct {
	// Filters by the field name, which includes:
	// - `origin`: Primary origin server.
	// - `domain`: Domain name.
	// - `resourceId`: Domain name ID.
	// - `status`: Domain name status. Valid values: `online`, `offline`, and `processing`.
	// - `disable`: Whether the domain name is blocked. Valid values: `normal`, `unlicensed`.
	// - `projectId`: Project ID.
	// - `fullUrlCache`: Whether to enable full-path cache, which can be `on` or `off`.
	// - `https`: Whether to configure HTTPS, which can be `on`, `off` or `processing`.
	// - `originPullProtocol`: Origin-pull protocol type, which can be `http`, `follow`, or `https`.
	// - `area`: Acceleration region, which can be `mainland`,`overseas` or `global`.
	// - `tagKey`: Tag key.
	Name *string `json:"Name,omitnil,omitempty" name:"Name"`

	// Filter field value.
	Value []*string `json:"Value,omitnil,omitempty" name:"Value"`

	// Whether to enable fuzzy query, which is supported only for filter fields `origin` and `domain`.
	Fuzzy *bool `json:"Fuzzy,omitnil,omitempty" name:"Fuzzy"`
}

type DomainLogs

type DomainLogs struct {
	// Log start time.
	StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"`

	// Log end time.
	EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"`

	// Log download path.
	LogPath *string `json:"LogPath,omitnil,omitempty" name:"LogPath"`
}

type EcdnData

type EcdnData struct {
	// Queries the specified metric. Valid values: Bandwidth, Flux, Request, Delay, status code, LogBandwidth, LogFlux, LogRequest
	Metrics []*string `json:"Metrics,omitnil,omitempty" name:"Metrics"`

	// Detailed data collection
	DetailData []*TimestampData `json:"DetailData,omitnil,omitempty" name:"DetailData"`
}

type ForceRedirect

type ForceRedirect struct {
	// Forced access protocol redirection configuration switch. Valid values: on, off.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Access protocol type for forced redirection. Valid values: http (forced redirection to HTTP protocol), https (forced redirection to HTTPS protocol).
	// Note: this field may return null, indicating that no valid values can be obtained.
	RedirectType *string `json:"RedirectType,omitnil,omitempty" name:"RedirectType"`

	// HTTP status code returned when forced redirection is enabled. Valid values: 301, 302.
	// Note: this field may return null, indicating that no valid values can be obtained.
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitnil,omitempty" name:"RedirectStatusCode"`
}

type Hsts

type Hsts struct {
	// Whether to enable. Valid values: on, off.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// `MaxAge` value.
	// Note: this field may return null, indicating that no valid values can be obtained.
	MaxAge *int64 `json:"MaxAge,omitnil,omitempty" name:"MaxAge"`

	// Whether to include subdomain names. Valid values: on, off.
	// Note: this field may return null, indicating that no valid values can be obtained.
	IncludeSubDomains *string `json:"IncludeSubDomains,omitnil,omitempty" name:"IncludeSubDomains"`
}

type HttpHeaderPathRule

type HttpHeaderPathRule struct {
	// HTTP header setting method. Valid values: add (add header), set (set header), del (delete header).
	// Request header currently does not support `set`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HeaderMode *string `json:"HeaderMode,omitnil,omitempty" name:"HeaderMode"`

	// HTTP header name.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HeaderName *string `json:"HeaderName,omitnil,omitempty" name:"HeaderName"`

	// HTTP header value, which is optional when it is `del`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HeaderValue *string `json:"HeaderValue,omitnil,omitempty" name:"HeaderValue"`

	// Type of effective URL path rule. Valid values: all (all paths), file (file extension), directory (directory), path (absolute path).
	// Note: this field may return null, indicating that no valid values can be obtained.
	RuleType *string `json:"RuleType,omitnil,omitempty" name:"RuleType"`

	// URL path or file type list
	// Note: this field may return null, indicating that no valid values can be obtained.
	RulePaths []*string `json:"RulePaths,omitnil,omitempty" name:"RulePaths"`
}

type Https

type Https struct {
	// HTTPS configuration switch. Valid values: on, off. If the domain name with HTTPS configuration enabled is being deployed, this switch will be `off`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Whether to enable HTTP2. Valid values: on, off.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Http2 *string `json:"Http2,omitnil,omitempty" name:"Http2"`

	// Whether to enable the OCSP feature. Valid values: on, off.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OcspStapling *string `json:"OcspStapling,omitnil,omitempty" name:"OcspStapling"`

	// Whether to enable the client certificate verification feature. Valid values: on, off. The client certificate information must be uploaded if this feature is enabled.
	// Note: this field may return null, indicating that no valid values can be obtained.
	VerifyClient *string `json:"VerifyClient,omitnil,omitempty" name:"VerifyClient"`

	// Server certificate configuration information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertInfo *ServerCert `json:"CertInfo,omitnil,omitempty" name:"CertInfo"`

	// Client certificate configuration information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ClientCertInfo *ClientCert `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"`

	// Whether to enable SPDY. Valid values: on, off.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Spdy *string `json:"Spdy,omitnil,omitempty" name:"Spdy"`

	// HTTPS certificate deployment status. Valid values: closed (disabled), deploying (deploying), deployed (deployment succeeded), failed (deployment failed). This parameter cannot be used as an input parameter.
	// Note: this field may return null, indicating that no valid values can be obtained.
	SslStatus *string `json:"SslStatus,omitnil,omitempty" name:"SslStatus"`

	// HSTS configuration
	// Note: this field may return null, indicating that no valid values can be obtained.
	Hsts *Hsts `json:"Hsts,omitnil,omitempty" name:"Hsts"`
}

type IpFilter

type IpFilter struct {
	// IP blocklist/allowlist switch. Valid values: on, off.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// IP blocklist/allowlist type. Valid values: whitelist, blacklist.
	// Note: this field may return null, indicating that no valid values can be obtained.
	FilterType *string `json:"FilterType,omitnil,omitempty" name:"FilterType"`

	// IP blocklist/allowlist list.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Filters []*string `json:"Filters,omitnil,omitempty" name:"Filters"`
}

type IpFreqLimit

type IpFreqLimit struct {
	// IP access limit switch. Valid values: on, off.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Number of requests per second.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Qps *int64 `json:"Qps,omitnil,omitempty" name:"Qps"`
}

type IpStatus

type IpStatus struct {
	// Node IP
	Ip *string `json:"Ip,omitnil,omitempty" name:"Ip"`

	// Node region
	District *string `json:"District,omitnil,omitempty" name:"District"`

	// Node ISP
	Isp *string `json:"Isp,omitnil,omitempty" name:"Isp"`

	// Node city
	City *string `json:"City,omitnil,omitempty" name:"City"`

	// Node status
	// online: the node is online and scheduling normally
	// offline: the node is offline
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Node IP creation time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type Origin

type Origin struct {
	// Primary origin server list. IP and the domain name of the origin server cannot be entered at the same time. Configure origin server port in the format of ["origin1:port1", "origin2:port2"]. Configure origin-pull weight in the format of ["origin1::weight1", "origin2::weight2"]. Configure both port and weight in the format of ["origin1:port1:weight1", "origin2:port2:weight2"]. Valid range of weight value: 0 - 100.
	Origins []*string `json:"Origins,omitnil,omitempty" name:"Origins"`

	// Primary origin server type. Valid values: domain (domain name origin server), ip (IP origin server).
	// This is required when setting `Origins`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"`

	// Host header value during origin-pull.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ServerName *string `json:"ServerName,omitnil,omitempty" name:"ServerName"`

	// Origin-pull protocol type. Valid values: http (forced HTTP origin-pull), follow (protocol follow), https (HTTPS origin-pull).
	// If this parameter is left empty, HTTP origin-pull will be used by default.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitnil,omitempty" name:"OriginPullProtocol"`

	// Secondary origin server list.
	BackupOrigins []*string `json:"BackupOrigins,omitnil,omitempty" name:"BackupOrigins"`

	// Secondary origin server type, which is the same as `OriginType`.
	// This is required when setting `BackupOrigins`.
	// Note: this field may return null, indicating that no valid values can be obtained.
	BackupOriginType *string `json:"BackupOriginType,omitnil,omitempty" name:"BackupOriginType"`

	// HTTPS advanced origin-pull configuration
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	AdvanceHttps *AdvanceHttps `json:"AdvanceHttps,omitnil,omitempty" name:"AdvanceHttps"`
}

type PurgePathCacheRequest

type PurgePathCacheRequest struct {
	*tchttp.BaseRequest

	// List of directories to be purged. The protocol header must be included.
	Paths []*string `json:"Paths,omitnil,omitempty" name:"Paths"`

	// Purge type. flush: purges updated resources, delete: purges all resources.
	FlushType *string `json:"FlushType,omitnil,omitempty" name:"FlushType"`
}

func NewPurgePathCacheRequest

func NewPurgePathCacheRequest() (request *PurgePathCacheRequest)

func (*PurgePathCacheRequest) FromJsonString

func (r *PurgePathCacheRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgePathCacheRequest) ToJsonString

func (r *PurgePathCacheRequest) ToJsonString() string

type PurgePathCacheRequestParams

type PurgePathCacheRequestParams struct {
	// List of directories to be purged. The protocol header must be included.
	Paths []*string `json:"Paths,omitnil,omitempty" name:"Paths"`

	// Purge type. flush: purges updated resources, delete: purges all resources.
	FlushType *string `json:"FlushType,omitnil,omitempty" name:"FlushType"`
}

Predefined struct for user

type PurgePathCacheResponse

type PurgePathCacheResponse struct {
	*tchttp.BaseResponse
	Response *PurgePathCacheResponseParams `json:"Response"`
}

func NewPurgePathCacheResponse

func NewPurgePathCacheResponse() (response *PurgePathCacheResponse)

func (*PurgePathCacheResponse) FromJsonString

func (r *PurgePathCacheResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgePathCacheResponse) ToJsonString

func (r *PurgePathCacheResponse) ToJsonString() string

type PurgePathCacheResponseParams

type PurgePathCacheResponseParams struct {
	// Purge task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type PurgeTask

type PurgeTask struct {
	// Purge task ID.
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// Purged URL.
	Url *string `json:"Url,omitnil,omitempty" name:"Url"`

	// Purge task status. fail: failed, done: succeeded, process: purging.
	Status *string `json:"Status,omitnil,omitempty" name:"Status"`

	// Purge type. url: URL purge; path: directory purge.
	PurgeType *string `json:"PurgeType,omitnil,omitempty" name:"PurgeType"`

	// Resource purge method. flush: purges updated resources, delete: purges all resources.
	FlushType *string `json:"FlushType,omitnil,omitempty" name:"FlushType"`

	// Purge task submission time
	CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"`
}

type PurgeUrlsCacheRequest

type PurgeUrlsCacheRequest struct {
	*tchttp.BaseRequest

	// List of URLs to be purged. The protocol header must be included.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`
}

func NewPurgeUrlsCacheRequest

func NewPurgeUrlsCacheRequest() (request *PurgeUrlsCacheRequest)

func (*PurgeUrlsCacheRequest) FromJsonString

func (r *PurgeUrlsCacheRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgeUrlsCacheRequest) ToJsonString

func (r *PurgeUrlsCacheRequest) ToJsonString() string

type PurgeUrlsCacheRequestParams

type PurgeUrlsCacheRequestParams struct {
	// List of URLs to be purged. The protocol header must be included.
	Urls []*string `json:"Urls,omitnil,omitempty" name:"Urls"`
}

Predefined struct for user

type PurgeUrlsCacheResponse

type PurgeUrlsCacheResponse struct {
	*tchttp.BaseResponse
	Response *PurgeUrlsCacheResponseParams `json:"Response"`
}

func NewPurgeUrlsCacheResponse

func NewPurgeUrlsCacheResponse() (response *PurgeUrlsCacheResponse)

func (*PurgeUrlsCacheResponse) FromJsonString

func (r *PurgeUrlsCacheResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*PurgeUrlsCacheResponse) ToJsonString

func (r *PurgeUrlsCacheResponse) ToJsonString() string

type PurgeUrlsCacheResponseParams

type PurgeUrlsCacheResponseParams struct {
	// Purge task ID
	TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"`

	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Quota

type Quota struct {
	// Quota limit for one batch submission request.
	Batch *int64 `json:"Batch,omitnil,omitempty" name:"Batch"`

	// Daily submission quota limit.
	Total *int64 `json:"Total,omitnil,omitempty" name:"Total"`

	// Remaining daily submission quota.
	Available *int64 `json:"Available,omitnil,omitempty" name:"Available"`
}

type ResourceData

type ResourceData struct {
	// Resource name, which is categorized as follows based on different query conditions:
	// Specific domain name: indicates the details of the specific domain name
	// multiDomains: indicates aggregated details of multiple domain names
	// Project ID: displays the ID of the specified project to be queried
	// all: details at the account level
	Resource *string `json:"Resource,omitnil,omitempty" name:"Resource"`

	// Data details of resource
	EcdnData *EcdnData `json:"EcdnData,omitnil,omitempty" name:"EcdnData"`
}

type ResponseHeader

type ResponseHeader struct {
	// Custom response header switch. Valid values: on, off.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Custom response header rule array.
	// Note: this field may return null, indicating that no valid values can be obtained.
	HeaderRules []*HttpHeaderPathRule `json:"HeaderRules,omitnil,omitempty" name:"HeaderRules"`
}

type ServerCert

type ServerCert struct {
	// Server certificate ID, which is required if the certificate is a Tencent Cloud-hosted certificate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"`

	// Server certificate name, which is required if the certificate is a Tencent Cloud-hosted certificate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	CertName *string `json:"CertName,omitnil,omitempty" name:"CertName"`

	// Server certificate information, which is required when uploading your own certificate and must contain complete certificate chain information.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Certificate *string `json:"Certificate,omitnil,omitempty" name:"Certificate"`

	// Server key information, which is required when uploading your own certificate.
	// Note: this field may return null, indicating that no valid values can be obtained.
	PrivateKey *string `json:"PrivateKey,omitnil,omitempty" name:"PrivateKey"`

	// Certificate expiration time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"`

	// Certificate issuance time.
	// Note: this field may return null, indicating that no valid values can be obtained.
	DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"`

	// Certificate remarks.
	// Note: this field may return null, indicating that no valid values can be obtained.
	Message *string `json:"Message,omitnil,omitempty" name:"Message"`
}

type Sort

type Sort struct {
	// Sort by field. Valid values:
	// createTime: domain name creation time
	// certExpireTime: certificate expiration time
	Key *string `json:"Key,omitnil,omitempty" name:"Key"`

	// asc/desc. Default value: desc.
	Sequence *string `json:"Sequence,omitnil,omitempty" name:"Sequence"`
}

type StartEcdnDomainRequest

type StartEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name to be enabled.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewStartEcdnDomainRequest

func NewStartEcdnDomainRequest() (request *StartEcdnDomainRequest)

func (*StartEcdnDomainRequest) FromJsonString

func (r *StartEcdnDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartEcdnDomainRequest) ToJsonString

func (r *StartEcdnDomainRequest) ToJsonString() string

type StartEcdnDomainRequestParams

type StartEcdnDomainRequestParams struct {
	// Domain name to be enabled.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type StartEcdnDomainResponse

type StartEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *StartEcdnDomainResponseParams `json:"Response"`
}

func NewStartEcdnDomainResponse

func NewStartEcdnDomainResponse() (response *StartEcdnDomainResponse)

func (*StartEcdnDomainResponse) FromJsonString

func (r *StartEcdnDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StartEcdnDomainResponse) ToJsonString

func (r *StartEcdnDomainResponse) ToJsonString() string

type StartEcdnDomainResponseParams

type StartEcdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type StopEcdnDomainRequest

type StopEcdnDomainRequest struct {
	*tchttp.BaseRequest

	// Domain name to be disabled.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

func NewStopEcdnDomainRequest

func NewStopEcdnDomainRequest() (request *StopEcdnDomainRequest)

func (*StopEcdnDomainRequest) FromJsonString

func (r *StopEcdnDomainRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopEcdnDomainRequest) ToJsonString

func (r *StopEcdnDomainRequest) ToJsonString() string

type StopEcdnDomainRequestParams

type StopEcdnDomainRequestParams struct {
	// Domain name to be disabled.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`
}

Predefined struct for user

type StopEcdnDomainResponse

type StopEcdnDomainResponse struct {
	*tchttp.BaseResponse
	Response *StopEcdnDomainResponseParams `json:"Response"`
}

func NewStopEcdnDomainResponse

func NewStopEcdnDomainResponse() (response *StopEcdnDomainResponse)

func (*StopEcdnDomainResponse) FromJsonString

func (r *StopEcdnDomainResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*StopEcdnDomainResponse) ToJsonString

func (r *StopEcdnDomainResponse) ToJsonString() string

type StopEcdnDomainResponseParams

type StopEcdnDomainResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type Tag

type Tag struct {
	// Tag key.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"`

	// Tag value.
	// Note: this field may return `null`, indicating that no valid value is obtained.
	TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"`
}

type TimestampData

type TimestampData struct {
	// Statistical time point in forward rounding mode
	// Taking the 5-minute granularity as an example, 13:35:00 indicates that the statistical interval is between 13:35:00 and 13:39:59
	Time *string `json:"Time,omitnil,omitempty" name:"Time"`

	// Data value
	Value []*float64 `json:"Value,omitnil,omitempty" name:"Value"`
}

type UpdateDomainConfigRequest

type UpdateDomainConfigRequest struct {
	*tchttp.BaseRequest

	// Domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Origin server configuration.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// IP blocklist/allowlist configuration.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Origin server response header configuration.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Node caching configuration.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Caching rule configuration.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// HTTPS configuration.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Forced access protocol redirection configuration.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Domain name acceleration region. Valid values: mainland (acceleration in Mainland China), overseas (acceleration outside Mainland China), global (global acceleration).
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// WebSocket configuration.
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`
}

func NewUpdateDomainConfigRequest

func NewUpdateDomainConfigRequest() (request *UpdateDomainConfigRequest)

func (*UpdateDomainConfigRequest) FromJsonString

func (r *UpdateDomainConfigRequest) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDomainConfigRequest) ToJsonString

func (r *UpdateDomainConfigRequest) ToJsonString() string

type UpdateDomainConfigRequestParams

type UpdateDomainConfigRequestParams struct {
	// Domain name.
	Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"`

	// Origin server configuration.
	Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"`

	// Project ID.
	ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"`

	// IP blocklist/allowlist configuration.
	IpFilter *IpFilter `json:"IpFilter,omitnil,omitempty" name:"IpFilter"`

	// IP access limit configuration.
	IpFreqLimit *IpFreqLimit `json:"IpFreqLimit,omitnil,omitempty" name:"IpFreqLimit"`

	// Origin server response header configuration.
	ResponseHeader *ResponseHeader `json:"ResponseHeader,omitnil,omitempty" name:"ResponseHeader"`

	// Node caching configuration.
	CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"`

	// Caching rule configuration.
	Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"`

	// HTTPS configuration.
	Https *Https `json:"Https,omitnil,omitempty" name:"Https"`

	// Forced access protocol redirection configuration.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"`

	// Domain name acceleration region. Valid values: mainland (acceleration in Mainland China), overseas (acceleration outside Mainland China), global (global acceleration).
	Area *string `json:"Area,omitnil,omitempty" name:"Area"`

	// WebSocket configuration.
	WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"`
}

Predefined struct for user

type UpdateDomainConfigResponse

type UpdateDomainConfigResponse struct {
	*tchttp.BaseResponse
	Response *UpdateDomainConfigResponseParams `json:"Response"`
}

func NewUpdateDomainConfigResponse

func NewUpdateDomainConfigResponse() (response *UpdateDomainConfigResponse)

func (*UpdateDomainConfigResponse) FromJsonString

func (r *UpdateDomainConfigResponse) FromJsonString(s string) error

FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check

func (*UpdateDomainConfigResponse) ToJsonString

func (r *UpdateDomainConfigResponse) ToJsonString() string

type UpdateDomainConfigResponseParams

type UpdateDomainConfigResponseParams struct {
	// The unique request ID, which is returned for each request. RequestId is required for locating a problem.
	RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"`
}

Predefined struct for user

type WebSocket

type WebSocket struct {
	// Whether to enable custom WebSocket timeout setting. When it’s `off`: WebSocket connection is supported, and the default timeout period is 15 seconds. To change the timeout period, please set it to `on`.
	//
	// * WebSocket is now only available for beta users. To use it, please submit a ticket.
	Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"`

	// Sets timeout period in seconds. Maximum value: 65
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Timeout *int64 `json:"Timeout,omitnil,omitempty" name:"Timeout"`
}

Jump to

Keyboard shortcuts

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