v20220106

package
v3.0.472+incompatible Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (

	// DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful.
	DRYRUNOPERATION = "DryRunOperation"

	// Operation failed.
	FAILEDOPERATION = "FailedOperation"

	// The certificate does not exist.
	FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"

	// Internal error.
	INTERNALERROR = "InternalError"

	// Server error.
	INTERNALERROR_BACKENDERROR = "InternalError.BackendError"

	// Failed to get configuration
	INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"

	// Failed to generate an upload link.
	INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"

	// Failed to get the role.
	INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"

	// An unknown error occurred in the backend server.
	INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"

	// Server error.
	INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"

	// Internal error.
	INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"

	// Parameter error.
	INVALIDPARAMETER = "InvalidParameter"

	// The domain name does not exist or not belong to this account.
	INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"

	// Incorrect certificate information.
	INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"

	//
	INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"

	// Invalid parameter
	INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

	// Incorrect domain name configuration.
	INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"

	// Resource error
	INVALIDPARAMETER_TARGET = "InvalidParameter.Target"

	// Failed to create the task
	INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"

	// Invalid file upload link.
	INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"

	// It conflicts with existing records.
	INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"

	// This DNS record conflicts with CLB records.
	INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"

	// This DNS record conflicts with NS records.
	INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"

	// Incorrect DNS record
	INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"

	// Incorrect DNS CNAME
	INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"

	// Incorrect DNS proxy
	INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"

	// This record already exists.
	INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"

	// This record cannot be added.
	INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"

	// Reached the upper limit of resource number
	LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"

	// Reached the daily upper limit of resource number
	LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

	// Operation denied.
	OPERATIONDENIED = "OperationDenied"

	// The resource is occupied.
	RESOURCEINUSE = "ResourceInUse"

	// Another user is connected to the resource.
	RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

	// Insufficient resource.
	RESOURCEINSUFFICIENT = "ResourceInsufficient"

	// The resource doesn’t exist.
	RESOURCENOTFOUND = "ResourceNotFound"

	// The resource is unavailable.
	RESOURCEUNAVAILABLE = "ResourceUnavailable"

	// The certificate does not exist or is not authorized.
	RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

	// The domain name does not exist or not use a proxy.
	RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

	// The site does not exist or not belong to this account.
	RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"

	// CAM is not authorized.
	UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

	// Authentication error.
	UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"

	// The sub-account is not authorized for the operation. Please add permissions first.
	UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
)
View Source
const APIVersion = "2022-01-06"

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationProxy

type ApplicationProxy struct {
	// Instance ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Instance name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Scheduling mode:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// Rule list
	Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`

	// Status:
	// `online`: Enable
	// `offline`: Disable
	// `progress`: Deploying
	// `stopping`: Disabling
	// `fail`: Deployment/Disabling failed
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Scheduling information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"`

	// Update time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Site ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Session persistence duration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Subdomain name
	// `instance`: Instance
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// ID of the layer-7 domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HostId *string `json:"HostId,omitempty" name:"HostId"`
}

type ApplicationProxyRule

type ApplicationProxyRule struct {
	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitempty" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: An origin group
	// `load_balancing`: A load balancer
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information.
	// When `OriginType=custom`, this field value indicates multiple origin servers in either of the following formats:
	// IP:Port
	// Domain name:Port
	// When `OriginType=origins`, it indicates the origin group ID.
	//
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Rule ID
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Status:
	// `online`: Enable
	// `offline`: Disable
	// `progress`: Deploying
	// `stopping`: Disabling
	// `fail`: Deployment/Disabling failed
	Status *string `json:"Status,omitempty" name:"Status"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA
	// `PPV1`: Pass the client IP via Proxy Protocol V1
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

type CacheConfig

type CacheConfig struct {
	// Cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *CacheConfigCache `json:"Cache,omitempty" name:"Cache"`

	// No-cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NoCache *CacheConfigNoCache `json:"NoCache,omitempty" name:"NoCache"`

	// Follows the origin server configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowOrigin *CacheConfigFollowOrigin `json:"FollowOrigin,omitempty" name:"FollowOrigin"`
}

type CacheConfigCache

type CacheConfigCache struct {
	// Cache configuration switch
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Cache expiration time settings
	// Unit: second. The maximum value is 365 days.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheTime *int64 `json:"CacheTime,omitempty" name:"CacheTime"`

	// Specifies whether to enable force cache
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCacheControl *string `json:"IgnoreCacheControl,omitempty" name:"IgnoreCacheControl"`
}

type CacheConfigFollowOrigin

type CacheConfigFollowOrigin struct {
	// Specifies whether to follow the origin server configuration
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CacheConfigNoCache

type CacheConfigNoCache struct {
	// Whether to cache the configuration
	// `on`: Do not cache
	// `off`: Cache
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CacheKey

type CacheKey struct {
	// Specifies whether to enable full-path cache
	// `on`: Enable full-path cache (i.e., disable Ignore Query String)
	// `off`: Disable full-path cache (i.e., enable Ignore Query String)
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FullUrlCache *string `json:"FullUrlCache,omitempty" name:"FullUrlCache"`

	// Specifies whether the cache key is case sensitive
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IgnoreCase *string `json:"IgnoreCase,omitempty" name:"IgnoreCase"`

	// Request parameter contained in `CacheKey`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	QueryString *QueryString `json:"QueryString,omitempty" name:"QueryString"`
}

type CachePrefresh

type CachePrefresh struct {
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	Percent *int64 `json:"Percent,omitempty" name:"Percent"`
}

type CertFilter

type CertFilter struct {
	// Filters by the field name. Values:
	//  - `host`: Domain name
	//  - `certId`: Certificate ID
	//  - `certAlias`: Certificate alias
	//  - `certType: default`: Default certificate; `upload`: External certificate; `managed`: Tencent Cloud certificate.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Filters by the field value
	Values []*string `json:"Values,omitempty" name:"Values"`

	// Specifies whether to enable fuzzy query, which only supports the `host` field.
	// If it is enabled, the length of `Value` must be 1.
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

type CertSort

type CertSort struct {
	// Fields that can be sorted. Values:
	// `createTime`: Domain name creation time
	// `certExpireTime`: Certificate expiration time
	// `certDeployTime`: Certificate deployment time
	Key *string `json:"Key,omitempty" name:"Key"`

	// Sorting order. Valid values: `asc` and `desc` (default).
	Sequence *string `json:"Sequence,omitempty" name:"Sequence"`
}

type CheckCertificateRequest

type CheckCertificateRequest struct {
	*tchttp.BaseRequest

	// Certificate
	Certificate *string `json:"Certificate,omitempty" name:"Certificate"`

	// Private key
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}

func NewCheckCertificateRequest

func NewCheckCertificateRequest() (request *CheckCertificateRequest)

func (*CheckCertificateRequest) FromJsonString

func (r *CheckCertificateRequest) 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 (*CheckCertificateRequest) ToJsonString

func (r *CheckCertificateRequest) ToJsonString() string

type CheckCertificateRequestParams

type CheckCertificateRequestParams struct {
	// Certificate
	Certificate *string `json:"Certificate,omitempty" name:"Certificate"`

	// Private key
	PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}

Predefined struct for user

type CheckCertificateResponse

type CheckCertificateResponse struct {
	*tchttp.BaseResponse
	Response *CheckCertificateResponseParams `json:"Response"`
}

func NewCheckCertificateResponse

func NewCheckCertificateResponse() (response *CheckCertificateResponse)

func (*CheckCertificateResponse) FromJsonString

func (r *CheckCertificateResponse) 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 (*CheckCertificateResponse) ToJsonString

func (r *CheckCertificateResponse) ToJsonString() string

type CheckCertificateResponseParams

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

Predefined struct for user

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) CheckCertificate

func (c *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)

CheckCertificate This API is used to verify a certificate.

error code that may be returned:

INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"

func (*Client) CheckCertificateWithContext

func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)

CheckCertificate This API is used to verify a certificate.

error code that may be returned:

INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"

func (*Client) CreateApplicationProxy

func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)

CreateApplicationProxy This API is used to create an application proxy.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
RESOURCEINSUFFICIENT = "ResourceInsufficient"

func (*Client) CreateApplicationProxyRule

func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)

CreateApplicationProxyRule This API is used to create an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) CreateApplicationProxyRuleWithContext

func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)

CreateApplicationProxyRule This API is used to create an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) CreateApplicationProxyRules

func (c *Client) CreateApplicationProxyRules(request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)

CreateApplicationProxyRules This API is used to batch create application proxy rules.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) CreateApplicationProxyRulesWithContext

func (c *Client) CreateApplicationProxyRulesWithContext(ctx context.Context, request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)

CreateApplicationProxyRules This API is used to batch create application proxy rules.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) CreateApplicationProxyWithContext

func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)

CreateApplicationProxy This API is used to create an application proxy.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
OPERATIONDENIED = "OperationDenied"
RESOURCEINSUFFICIENT = "ResourceInsufficient"

func (*Client) CreateDnsRecord

func (c *Client) CreateDnsRecord(request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)

CreateDnsRecord This API is used to create a DNS record.

error code that may be returned:

INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateDnsRecordWithContext

func (c *Client) CreateDnsRecordWithContext(ctx context.Context, request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)

CreateDnsRecord This API is used to create a DNS record.

error code that may be returned:

INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateLoadBalancing

func (c *Client) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)

CreateLoadBalancing This API is used to create a CLB instance.

error code that may be returned:

INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreateLoadBalancingWithContext

func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)

CreateLoadBalancing This API is used to create a CLB instance.

error code that may be returned:

INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord"
INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord"
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName"
INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin"
INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) CreatePrefetchTask

func (c *Client) CreatePrefetchTask(request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)

CreatePrefetchTask This API is used to create a pre-warming task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreatePrefetchTaskWithContext

func (c *Client) CreatePrefetchTaskWithContext(ctx context.Context, request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)

CreatePrefetchTask This API is used to create a pre-warming task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreatePurgeTask

func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)

CreatePurgeTask This API is used to create a cache purging task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreatePurgeTaskWithContext

func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)

CreatePurgeTask This API is used to create a cache purging task.

error code that may be returned:

INTERNALERROR_BACKENDERROR = "InternalError.BackendError"
INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig"
INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem"
INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
INVALIDPARAMETER_TARGET = "InvalidParameter.Target"
INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated"
INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl"
LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota"
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"

func (*Client) CreateZone

func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)

CreateZone This API is used to access a new site.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

func (*Client) CreateZoneWithContext

func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)

CreateZone This API is used to access a new site.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

func (*Client) DeleteApplicationProxy

func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)

DeleteApplicationProxy This API is used to delete an application proxy.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

func (*Client) DeleteApplicationProxyRule

func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)

DeleteApplicationProxyRule This API is used to delete an application proxy rule.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

func (*Client) DeleteApplicationProxyRuleWithContext

func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)

DeleteApplicationProxyRule This API is used to delete an application proxy rule.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

func (*Client) DeleteApplicationProxyWithContext

func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)

DeleteApplicationProxy This API is used to delete an application proxy.

error code that may be returned:

DRYRUNOPERATION = "DryRunOperation"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCEINUSE_OTHERS = "ResourceInUse.Others"

func (*Client) DeleteDnsRecords

func (c *Client) DeleteDnsRecords(request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)

DeleteDnsRecords This API is used to batch delete DNS records.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteDnsRecordsWithContext

func (c *Client) DeleteDnsRecordsWithContext(ctx context.Context, request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)

DeleteDnsRecords This API is used to batch delete DNS records.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteLoadBalancing

func (c *Client) DeleteLoadBalancing(request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)

DeleteLoadBalancing This API is used to delete a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteLoadBalancingWithContext

func (c *Client) DeleteLoadBalancingWithContext(ctx context.Context, request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)

DeleteLoadBalancing This API is used to delete a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteZone

func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)

DeleteZone This API is used to delete a site.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DeleteZoneWithContext

func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)

DeleteZone This API is used to delete a site.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeApplicationProxy

func (c *Client) DescribeApplicationProxy(request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)

DescribeApplicationProxy This API is used to obtain a list of application proxies.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeApplicationProxyDetail

func (c *Client) DescribeApplicationProxyDetail(request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)

DescribeApplicationProxyDetail This API is used to obtain the details of an application proxy.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeApplicationProxyDetailWithContext

func (c *Client) DescribeApplicationProxyDetailWithContext(ctx context.Context, request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)

DescribeApplicationProxyDetail This API is used to obtain the details of an application proxy.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeApplicationProxyWithContext

func (c *Client) DescribeApplicationProxyWithContext(ctx context.Context, request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)

DescribeApplicationProxy This API is used to obtain a list of application proxies.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeCnameStatus

func (c *Client) DescribeCnameStatus(request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)

DescribeCnameStatus This API is used to query the CNAME status of a domain name.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeCnameStatusWithContext

func (c *Client) DescribeCnameStatusWithContext(ctx context.Context, request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)

DescribeCnameStatus This API is used to query the CNAME status of a domain name.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeDefaultCertificates

func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)

DescribeDefaultCertificates This API is used to query a list of default certificates.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"

func (*Client) DescribeDefaultCertificatesWithContext

func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)

DescribeDefaultCertificates This API is used to query a list of default certificates.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"

func (*Client) DescribeDnsData

func (c *Client) DescribeDnsData(request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)

DescribeDnsData This API is used to obtain collected DNS requests.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) DescribeDnsDataWithContext

func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)

DescribeDnsData This API is used to obtain collected DNS requests.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) DescribeDnsRecords

func (c *Client) DescribeDnsRecords(request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)

DescribeDnsRecords This API is used to query DNS records. Paging, sorting and filtering are supported.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDnsRecordsWithContext

func (c *Client) DescribeDnsRecordsWithContext(ctx context.Context, request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)

DescribeDnsRecords This API is used to query DNS records. Paging, sorting and filtering are supported.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDnssec

func (c *Client) DescribeDnssec(request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)

DescribeDnssec This API is used to query DNSSEC information.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeDnssecWithContext

func (c *Client) DescribeDnssecWithContext(ctx context.Context, request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)

DescribeDnssec This API is used to query DNSSEC information.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeHostsCertificate

func (c *Client) DescribeHostsCertificate(request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)

DescribeHostsCertificate This API is used to query certificates of domain names. Paging, sorting and filtering are supported.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
OPERATIONDENIED = "OperationDenied"

func (*Client) DescribeHostsCertificateWithContext

func (c *Client) DescribeHostsCertificateWithContext(ctx context.Context, request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)

DescribeHostsCertificate This API is used to query certificates of domain names. Paging, sorting and filtering are supported.

error code that may be returned:

INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
OPERATIONDENIED = "OperationDenied"

func (*Client) DescribeHostsSetting

func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)

DescribeHostsSetting This API is used to query detailed domain name configuration.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeHostsSettingWithContext

func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)

DescribeHostsSetting This API is used to query detailed domain name configuration.

error code that may be returned:

INVALIDPARAMETER = "InvalidParameter"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeIdentification

func (c *Client) DescribeIdentification(request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)

DescribeIdentification This API is used to query verification results.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeIdentificationWithContext

func (c *Client) DescribeIdentificationWithContext(ctx context.Context, request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)

DescribeIdentification This API is used to query verification results.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLoadBalancing

func (c *Client) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)

DescribeLoadBalancing This API is used to obtain a list of CLB instances.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeLoadBalancingDetail

func (c *Client) DescribeLoadBalancingDetail(request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)

DescribeLoadBalancingDetail This API is used to query the details of a CLB instance.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLoadBalancingDetailWithContext

func (c *Client) DescribeLoadBalancingDetailWithContext(ctx context.Context, request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)

DescribeLoadBalancingDetail This API is used to query the details of a CLB instance.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) DescribeLoadBalancingWithContext

func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)

DescribeLoadBalancing This API is used to obtain a list of CLB instances.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribePrefetchTasks

func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)

DescribePrefetchTasks This API is used to query the pre-warming task status.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"

func (*Client) DescribePrefetchTasksWithContext

func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)

DescribePrefetchTasks This API is used to query the pre-warming task status.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"

func (*Client) DescribePurgeTasks

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

DescribePurgeTasks This API is used to query the cache purging history.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) DescribePurgeTasksWithContext

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

DescribePurgeTasks This API is used to query the cache purging history.

error code that may be returned:

INTERNALERROR = "InternalError"
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) DescribeZoneDetails

func (c *Client) DescribeZoneDetails(request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)

DescribeZoneDetails This API is used to query the details of a site by site ID.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeZoneDetailsWithContext

func (c *Client) DescribeZoneDetailsWithContext(ctx context.Context, request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)

DescribeZoneDetails This API is used to query the details of a site by site ID.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCENOTFOUND = "ResourceNotFound"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) DescribeZoneSetting

func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)

DescribeZoneSetting This API is used to query the site configuration.

error code that may be returned:

INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZoneSettingWithContext

func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)

DescribeZoneSetting This API is used to query the site configuration.

error code that may be returned:

INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZones

func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the list of user sites.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DescribeZonesWithContext

func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)

DescribeZones This API is used to query the list of user sites.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) DownloadL7Logs

func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)

DownloadL7Logs This API is used to query layer-7 logs.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) DownloadL7LogsWithContext

func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)

DownloadL7Logs This API is used to query layer-7 logs.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE = "ResourceUnavailable"

func (*Client) IdentifyZone

func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)

IdentifyZone This API is used to verify ownership of the site.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) IdentifyZoneWithContext

func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)

IdentifyZone This API is used to verify ownership of the site.

error code that may be returned:

UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"

func (*Client) ImportDnsRecords

func (c *Client) ImportDnsRecords(request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)

ImportDnsRecords This API is used to import DNS records.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ImportDnsRecordsWithContext

func (c *Client) ImportDnsRecordsWithContext(ctx context.Context, request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)

ImportDnsRecords This API is used to import DNS records.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyApplicationProxy

func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)

ModifyApplicationProxy This API is used to modify an application proxy.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyApplicationProxyRule

func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)

ModifyApplicationProxyRule This API is used to modify an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) ModifyApplicationProxyRuleStatus

func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)

ModifyApplicationProxyRuleStatus This API is used to modify the status of an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) ModifyApplicationProxyRuleStatusWithContext

func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)

ModifyApplicationProxyRuleStatus This API is used to modify the status of an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) ModifyApplicationProxyRuleWithContext

func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)

ModifyApplicationProxyRule This API is used to modify an application proxy rule.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) ModifyApplicationProxyStatus

func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)

ModifyApplicationProxyStatus This API is used to modify the status of an application proxy.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) ModifyApplicationProxyStatusWithContext

func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)

ModifyApplicationProxyStatus This API is used to modify the status of an application proxy.

error code that may be returned:

INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"

func (*Client) ModifyApplicationProxyWithContext

func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)

ModifyApplicationProxy This API is used to modify an application proxy.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyDefaultCertificate

func (c *Client) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)

ModifyDefaultCertificate This API is used to modify the status of a default certificate.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

func (*Client) ModifyDefaultCertificateWithContext

func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)

ModifyDefaultCertificate This API is used to modify the status of a default certificate.

error code that may be returned:

INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"

func (*Client) ModifyDnsRecord

func (c *Client) ModifyDnsRecord(request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)

ModifyDnsRecord This API is used to modify DNS records.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDnsRecordWithContext

func (c *Client) ModifyDnsRecordWithContext(ctx context.Context, request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)

ModifyDnsRecord This API is used to modify DNS records.

error code that may be returned:

INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent"
INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed"
OPERATIONDENIED = "OperationDenied"
RESOURCEINUSE = "ResourceInUse"
RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyDnssec

func (c *Client) ModifyDnssec(request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)

ModifyDnssec This API is used to modify the DNSSEC status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyDnssecWithContext

func (c *Client) ModifyDnssecWithContext(ctx context.Context, request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)

ModifyDnssec This API is used to modify the DNSSEC status.

error code that may be returned:

FAILEDOPERATION = "FailedOperation"

func (*Client) ModifyHostsCertificate

func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)

ModifyHostsCertificate This API is used to modify the certificate of a domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyHostsCertificateWithContext

func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)

ModifyHostsCertificate This API is used to modify the certificate of a domain name.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyLoadBalancing

func (c *Client) ModifyLoadBalancing(request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)

ModifyLoadBalancing This API is used to modify a CLB instance.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyLoadBalancingStatus

func (c *Client) ModifyLoadBalancingStatus(request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)

ModifyLoadBalancingStatus This API is used to modify the status of a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyLoadBalancingStatusWithContext

func (c *Client) ModifyLoadBalancingStatusWithContext(ctx context.Context, request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)

ModifyLoadBalancingStatus This API is used to modify the status of a CLB instance.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyLoadBalancingWithContext

func (c *Client) ModifyLoadBalancingWithContext(ctx context.Context, request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)

ModifyLoadBalancing This API is used to modify a CLB instance.

error code that may be returned:

FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound"
INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError"
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError"
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo"
OPERATIONDENIED = "OperationDenied"
RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"

func (*Client) ModifyZone

func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)

ModifyZone This API is used to modify the site information.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyZoneCnameSpeedUp

func (c *Client) ModifyZoneCnameSpeedUp(request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)

ModifyZoneCnameSpeedUp This API is used to modify the CNAME acceleration status.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyZoneCnameSpeedUpWithContext

func (c *Client) ModifyZoneCnameSpeedUpWithContext(ctx context.Context, request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)

ModifyZoneCnameSpeedUp This API is used to modify the CNAME acceleration status.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ModifyZoneSetting

func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)

ModifyZoneSetting This API is used to modify the site configuration.

error code that may be returned:

INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ModifyZoneSettingWithContext

func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)

ModifyZoneSetting This API is used to modify the site configuration.

error code that may be returned:

INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName"
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam"
OPERATIONDENIED = "OperationDenied"
UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"

func (*Client) ModifyZoneStatus

func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)

ModifyZoneStatus This API is used to change the site status.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyZoneStatusWithContext

func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)

ModifyZoneStatus This API is used to change the site status.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ModifyZoneWithContext

func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)

ModifyZone This API is used to modify the site information.

error code that may be returned:

OPERATIONDENIED = "OperationDenied"

func (*Client) ReclaimZone

func (c *Client) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)

ReclaimZone This API is used to reclaim a site from other users after its ownership is verified.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ReclaimZoneWithContext

func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)

ReclaimZone This API is used to reclaim a site from other users after its ownership is verified.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ScanDnsRecords

func (c *Client) ScanDnsRecords(request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)

ScanDnsRecords This API is used to scan resolution records.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

func (*Client) ScanDnsRecordsWithContext

func (c *Client) ScanDnsRecordsWithContext(ctx context.Context, request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)

ScanDnsRecords This API is used to scan resolution records.

error code that may be returned:

RESOURCENOTFOUND = "ResourceNotFound"

type ClientIp

type ClientIp struct {
	// Specifies whether to enable client IP header
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Name of the origin-pull client IP request header
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	HeaderName *string `json:"HeaderName,omitempty" name:"HeaderName"`
}

type CnameStatus

type CnameStatus struct {
	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// CNAME address
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// Status
	// `active`: Activated
	// `moved`: Not activated
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`
}

type Compression

type Compression struct {
	// Whether to enable Smart compression
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type CreateApplicationProxyRequest

type CreateApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Layer-4 proxy name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Scheduling mode. Values:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// Rule details
	Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`

	// Session persistence duration. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Subdomain name
	// `instance`: Instance
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
}

func NewCreateApplicationProxyRequest

func NewCreateApplicationProxyRequest() (request *CreateApplicationProxyRequest)

func (*CreateApplicationProxyRequest) FromJsonString

func (r *CreateApplicationProxyRequest) 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 (*CreateApplicationProxyRequest) ToJsonString

func (r *CreateApplicationProxyRequest) ToJsonString() string

type CreateApplicationProxyRequestParams

type CreateApplicationProxyRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Layer-4 proxy name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Scheduling mode. Values:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// Rule details
	Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`

	// Session persistence duration. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Subdomain name
	// `instance`: Instance
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
}

Predefined struct for user

type CreateApplicationProxyResponse

type CreateApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *CreateApplicationProxyResponseParams `json:"Response"`
}

func NewCreateApplicationProxyResponse

func NewCreateApplicationProxyResponse() (response *CreateApplicationProxyResponse)

func (*CreateApplicationProxyResponse) FromJsonString

func (r *CreateApplicationProxyResponse) 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 (*CreateApplicationProxyResponse) ToJsonString

func (r *CreateApplicationProxyResponse) ToJsonString() string

type CreateApplicationProxyResponseParams

type CreateApplicationProxyResponseParams struct {
	// Layer-4 application proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

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

Predefined struct for user

type CreateApplicationProxyRuleRequest

type CreateApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitempty" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: An origin group
	// `load_balancing`: A load balancer
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information.
	// When `OriginType=custom`, this field value indicates multiple origin servers in either of the following formats:
	// IP:Port
	// Domain name:Port
	// When `OriginType=origins`, it indicates the origin group ID.
	//
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA
	// `PPV1`: Pass the client IP via Proxy Protocol V1
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

func NewCreateApplicationProxyRuleRequest

func NewCreateApplicationProxyRuleRequest() (request *CreateApplicationProxyRuleRequest)

func (*CreateApplicationProxyRuleRequest) FromJsonString

func (r *CreateApplicationProxyRuleRequest) 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 (*CreateApplicationProxyRuleRequest) ToJsonString

func (r *CreateApplicationProxyRuleRequest) ToJsonString() string

type CreateApplicationProxyRuleRequestParams

type CreateApplicationProxyRuleRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitempty" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: An origin group
	// `load_balancing`: A load balancer
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information.
	// When `OriginType=custom`, this field value indicates multiple origin servers in either of the following formats:
	// IP:Port
	// Domain name:Port
	// When `OriginType=origins`, it indicates the origin group ID.
	//
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA
	// `PPV1`: Pass the client IP via Proxy Protocol V1
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

Predefined struct for user

type CreateApplicationProxyRuleResponse

type CreateApplicationProxyRuleResponse struct {
	*tchttp.BaseResponse
	Response *CreateApplicationProxyRuleResponseParams `json:"Response"`
}

func NewCreateApplicationProxyRuleResponse

func NewCreateApplicationProxyRuleResponse() (response *CreateApplicationProxyRuleResponse)

func (*CreateApplicationProxyRuleResponse) FromJsonString

func (r *CreateApplicationProxyRuleResponse) 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 (*CreateApplicationProxyRuleResponse) ToJsonString

func (r *CreateApplicationProxyRuleResponse) ToJsonString() string

type CreateApplicationProxyRuleResponseParams

type CreateApplicationProxyRuleResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type CreateApplicationProxyRulesRequest

type CreateApplicationProxyRulesRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule list
	Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
}

func NewCreateApplicationProxyRulesRequest

func NewCreateApplicationProxyRulesRequest() (request *CreateApplicationProxyRulesRequest)

func (*CreateApplicationProxyRulesRequest) FromJsonString

func (r *CreateApplicationProxyRulesRequest) 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 (*CreateApplicationProxyRulesRequest) ToJsonString

func (r *CreateApplicationProxyRulesRequest) ToJsonString() string

type CreateApplicationProxyRulesRequestParams

type CreateApplicationProxyRulesRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule list
	Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
}

Predefined struct for user

type CreateApplicationProxyRulesResponse

type CreateApplicationProxyRulesResponse struct {
	*tchttp.BaseResponse
	Response *CreateApplicationProxyRulesResponseParams `json:"Response"`
}

func NewCreateApplicationProxyRulesResponse

func NewCreateApplicationProxyRulesResponse() (response *CreateApplicationProxyRulesResponse)

func (*CreateApplicationProxyRulesResponse) FromJsonString

func (r *CreateApplicationProxyRulesResponse) 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 (*CreateApplicationProxyRulesResponse) ToJsonString

func (r *CreateApplicationProxyRulesResponse) ToJsonString() string

type CreateApplicationProxyRulesResponseParams

type CreateApplicationProxyRulesResponseParams struct {
	// Array of rule IDs
	RuleId []*string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type CreateDnsRecordRequest

type CreateDnsRecordRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record content
	Content *string `json:"Content,omitempty" name:"Content"`

	// Proxy mode. Valid values: `dns_only`, `cdn_only`, and `secure_cdn`.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}

func NewCreateDnsRecordRequest

func NewCreateDnsRecordRequest() (request *CreateDnsRecordRequest)

func (*CreateDnsRecordRequest) FromJsonString

func (r *CreateDnsRecordRequest) 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 (*CreateDnsRecordRequest) ToJsonString

func (r *CreateDnsRecordRequest) ToJsonString() string

type CreateDnsRecordRequestParams

type CreateDnsRecordRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record content
	Content *string `json:"Content,omitempty" name:"Content"`

	// Proxy mode. Valid values: `dns_only`, `cdn_only`, and `secure_cdn`.
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}

Predefined struct for user

type CreateDnsRecordResponse

type CreateDnsRecordResponse struct {
	*tchttp.BaseResponse
	Response *CreateDnsRecordResponseParams `json:"Response"`
}

func NewCreateDnsRecordResponse

func NewCreateDnsRecordResponse() (response *CreateDnsRecordResponse)

func (*CreateDnsRecordResponse) FromJsonString

func (r *CreateDnsRecordResponse) 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 (*CreateDnsRecordResponse) ToJsonString

func (r *CreateDnsRecordResponse) ToJsonString() string

type CreateDnsRecordResponseParams

type CreateDnsRecordResponseParams struct {
	// Record ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record content
	Content *string `json:"Content,omitempty" name:"Content"`

	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// Resolution status. Valid values:
	// `active`: Activated
	// `pending`: Not activated
	Status *string `json:"Status,omitempty" name:"Status"`

	// Whether the DNS record is locked
	Locked *bool `json:"Locked,omitempty" name:"Locked"`

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// CNAME address
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

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

Predefined struct for user

type CreateLoadBalancingRequest

type CreateLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}

func NewCreateLoadBalancingRequest

func NewCreateLoadBalancingRequest() (request *CreateLoadBalancingRequest)

func (*CreateLoadBalancingRequest) FromJsonString

func (r *CreateLoadBalancingRequest) 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 (*CreateLoadBalancingRequest) ToJsonString

func (r *CreateLoadBalancingRequest) ToJsonString() string

type CreateLoadBalancingRequestParams

type CreateLoadBalancingRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}

Predefined struct for user

type CreateLoadBalancingResponse

type CreateLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *CreateLoadBalancingResponseParams `json:"Response"`
}

func NewCreateLoadBalancingResponse

func NewCreateLoadBalancingResponse() (response *CreateLoadBalancingResponse)

func (*CreateLoadBalancingResponse) FromJsonString

func (r *CreateLoadBalancingResponse) 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 (*CreateLoadBalancingResponse) ToJsonString

func (r *CreateLoadBalancingResponse) ToJsonString() string

type CreateLoadBalancingResponseParams

type CreateLoadBalancingResponseParams struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

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

Predefined struct for user

type CreatePrefetchTaskRequest

type CreatePrefetchTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of resources to be pre-warmed, for example:
	// http://www.example.com/example.txt
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Specifies whether to encode the URL
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`

	// HTTP header information
	Headers []*Header `json:"Headers,omitempty" name:"Headers"`
}

func NewCreatePrefetchTaskRequest

func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)

func (*CreatePrefetchTaskRequest) FromJsonString

func (r *CreatePrefetchTaskRequest) 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 (*CreatePrefetchTaskRequest) ToJsonString

func (r *CreatePrefetchTaskRequest) ToJsonString() string

type CreatePrefetchTaskRequestParams

type CreatePrefetchTaskRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of resources to be pre-warmed, for example:
	// http://www.example.com/example.txt
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Specifies whether to encode the URL
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`

	// HTTP header information
	Headers []*Header `json:"Headers,omitempty" name:"Headers"`
}

Predefined struct for user

type CreatePrefetchTaskResponse

type CreatePrefetchTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreatePrefetchTaskResponseParams `json:"Response"`
}

func NewCreatePrefetchTaskResponse

func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)

func (*CreatePrefetchTaskResponse) FromJsonString

func (r *CreatePrefetchTaskResponse) 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 (*CreatePrefetchTaskResponse) ToJsonString

func (r *CreatePrefetchTaskResponse) ToJsonString() string

type CreatePrefetchTaskResponseParams

type CreatePrefetchTaskResponseParams struct {
	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// List of failed tasks
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`

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

Predefined struct for user

type CreatePurgeTaskRequest

type CreatePurgeTaskRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Type of the purging task. Values:
	// - `purge_url`: Purge by the URL
	// - `purge_prefix`: Purge by the prefix
	// - `purge_host`: Purge by the Hostname
	// - `purge_all`: Purge all cached contents
	Type *string `json:"Type,omitempty" name:"Type"`

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Hostnames are purged, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Prefixes are purged, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// URLs are purged, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`: All types of resources are purged.
	// `Targets` is not a required field.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Specifies whether to transcode non-ASCII URLs according to RFC3986.
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
}

func NewCreatePurgeTaskRequest

func NewCreatePurgeTaskRequest() (request *CreatePurgeTaskRequest)

func (*CreatePurgeTaskRequest) FromJsonString

func (r *CreatePurgeTaskRequest) 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 (*CreatePurgeTaskRequest) ToJsonString

func (r *CreatePurgeTaskRequest) ToJsonString() string

type CreatePurgeTaskRequestParams

type CreatePurgeTaskRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Type of the purging task. Values:
	// - `purge_url`: Purge by the URL
	// - `purge_prefix`: Purge by the prefix
	// - `purge_host`: Purge by the Hostname
	// - `purge_all`: Purge all cached contents
	Type *string `json:"Type,omitempty" name:"Type"`

	// Target resource to be purged, which depends on the `Type` field.
	// 1. When `Type = purge_host`:
	// Hostnames are purged, such as www.example.com and foo.bar.example.com.
	// 2. When `Type = purge_prefix`:
	// Prefixes are purged, such as http://www.example.com/example.
	// 3. When `Type = purge_url`:
	// URLs are purged, such as https://www.example.com/example.jpg.
	// 4. When `Type = purge_all`: All types of resources are purged.
	// `Targets` is not a required field.
	Targets []*string `json:"Targets,omitempty" name:"Targets"`

	// Specifies whether to transcode non-ASCII URLs according to RFC3986.
	// Note that if it’s enabled, the purging is based on the converted URLs.
	EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
}

Predefined struct for user

type CreatePurgeTaskResponse

type CreatePurgeTaskResponse struct {
	*tchttp.BaseResponse
	Response *CreatePurgeTaskResponseParams `json:"Response"`
}

func NewCreatePurgeTaskResponse

func NewCreatePurgeTaskResponse() (response *CreatePurgeTaskResponse)

func (*CreatePurgeTaskResponse) FromJsonString

func (r *CreatePurgeTaskResponse) 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 (*CreatePurgeTaskResponse) ToJsonString

func (r *CreatePurgeTaskResponse) ToJsonString() string

type CreatePurgeTaskResponseParams

type CreatePurgeTaskResponseParams struct {
	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// List of failed tasks and reasons
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`

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

Predefined struct for user

type CreateZoneRequest

type CreateZoneRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Access mode. Valid values:
	// - `full` (default): Access via NS
	// - `partial`: Access via CNAME
	Type *string `json:"Type,omitempty" name:"Type"`

	// Specifies whether to skip resolution record scanning
	JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`
}

func NewCreateZoneRequest

func NewCreateZoneRequest() (request *CreateZoneRequest)

func (*CreateZoneRequest) FromJsonString

func (r *CreateZoneRequest) 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 (*CreateZoneRequest) ToJsonString

func (r *CreateZoneRequest) ToJsonString() string

type CreateZoneRequestParams

type CreateZoneRequestParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Access mode. Valid values:
	// - `full` (default): Access via NS
	// - `partial`: Access via CNAME
	Type *string `json:"Type,omitempty" name:"Type"`

	// Specifies whether to skip resolution record scanning
	JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`
}

Predefined struct for user

type CreateZoneResponse

type CreateZoneResponse struct {
	*tchttp.BaseResponse
	Response *CreateZoneResponseParams `json:"Response"`
}

func NewCreateZoneResponse

func NewCreateZoneResponse() (response *CreateZoneResponse)

func (*CreateZoneResponse) FromJsonString

func (r *CreateZoneResponse) 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 (*CreateZoneResponse) ToJsonString

func (r *CreateZoneResponse) ToJsonString() string

type CreateZoneResponseParams

type CreateZoneResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Specifies how the site is connected to EdgeOne.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Site status
	// - `pending`: The name server is not switched.
	// - `active`: The name server is switched to another assigned.
	// - `moved`: Move the NS out of Tencent Cloud
	Status *string `json:"Status,omitempty" name:"Status"`

	// List of name servers
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// List of name servers assigned to users
	NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`

	// Site creation date
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Site update time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

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

Predefined struct for user

type DataItem

type DataItem struct {
	// Time
	Time *string `json:"Time,omitempty" name:"Time"`

	// Value
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value *uint64 `json:"Value,omitempty" name:"Value"`
}

type DefaultServerCertInfo

type DefaultServerCertInfo struct {
	// Server certificate ID, which is the ID of the default certificate. If you choose to upload an external certificate for SSL certificate management, a certificate ID will be generated.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Certificate alias
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Certificate type. Valid values:
	// `default`: Default certificate
	// `upload`: External certificate
	// `managed`: Tencent Cloud managed certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Time when the certificate expires
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Time when the certificate takes effect
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"`

	// Certificate common name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CommonName *string `json:"CommonName,omitempty" name:"CommonName"`

	// Domain names added to the SAN certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"`

	// Certificate status. Valid values:
	// `applying`: Application in progress
	// `failed`: Application failed
	// `processing`: Deploying certificate
	// `deployed`: Certificate deployed
	// `disabled`: Certificate disabled
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Returns a message to display failure causes when `Status=failed`
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Message *string `json:"Message,omitempty" name:"Message"`
}

type DeleteApplicationProxyRequest

type DeleteApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

func NewDeleteApplicationProxyRequest

func NewDeleteApplicationProxyRequest() (request *DeleteApplicationProxyRequest)

func (*DeleteApplicationProxyRequest) FromJsonString

func (r *DeleteApplicationProxyRequest) 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 (*DeleteApplicationProxyRequest) ToJsonString

func (r *DeleteApplicationProxyRequest) ToJsonString() string

type DeleteApplicationProxyRequestParams

type DeleteApplicationProxyRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

Predefined struct for user

type DeleteApplicationProxyResponse

type DeleteApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApplicationProxyResponseParams `json:"Response"`
}

func NewDeleteApplicationProxyResponse

func NewDeleteApplicationProxyResponse() (response *DeleteApplicationProxyResponse)

func (*DeleteApplicationProxyResponse) FromJsonString

func (r *DeleteApplicationProxyResponse) 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 (*DeleteApplicationProxyResponse) ToJsonString

func (r *DeleteApplicationProxyResponse) ToJsonString() string

type DeleteApplicationProxyResponseParams

type DeleteApplicationProxyResponseParams struct {
	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

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

Predefined struct for user

type DeleteApplicationProxyRuleRequest

type DeleteApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
}

func NewDeleteApplicationProxyRuleRequest

func NewDeleteApplicationProxyRuleRequest() (request *DeleteApplicationProxyRuleRequest)

func (*DeleteApplicationProxyRuleRequest) FromJsonString

func (r *DeleteApplicationProxyRuleRequest) 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 (*DeleteApplicationProxyRuleRequest) ToJsonString

func (r *DeleteApplicationProxyRuleRequest) ToJsonString() string

type DeleteApplicationProxyRuleRequestParams

type DeleteApplicationProxyRuleRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
}

Predefined struct for user

type DeleteApplicationProxyRuleResponse

type DeleteApplicationProxyRuleResponse struct {
	*tchttp.BaseResponse
	Response *DeleteApplicationProxyRuleResponseParams `json:"Response"`
}

func NewDeleteApplicationProxyRuleResponse

func NewDeleteApplicationProxyRuleResponse() (response *DeleteApplicationProxyRuleResponse)

func (*DeleteApplicationProxyRuleResponse) FromJsonString

func (r *DeleteApplicationProxyRuleResponse) 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 (*DeleteApplicationProxyRuleResponse) ToJsonString

func (r *DeleteApplicationProxyRuleResponse) ToJsonString() string

type DeleteApplicationProxyRuleResponseParams

type DeleteApplicationProxyRuleResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type DeleteDnsRecordsRequest

type DeleteDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Record ID
	Ids []*string `json:"Ids,omitempty" name:"Ids"`
}

func NewDeleteDnsRecordsRequest

func NewDeleteDnsRecordsRequest() (request *DeleteDnsRecordsRequest)

func (*DeleteDnsRecordsRequest) FromJsonString

func (r *DeleteDnsRecordsRequest) 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 (*DeleteDnsRecordsRequest) ToJsonString

func (r *DeleteDnsRecordsRequest) ToJsonString() string

type DeleteDnsRecordsRequestParams

type DeleteDnsRecordsRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Record ID
	Ids []*string `json:"Ids,omitempty" name:"Ids"`
}

Predefined struct for user

type DeleteDnsRecordsResponse

type DeleteDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DeleteDnsRecordsResponseParams `json:"Response"`
}

func NewDeleteDnsRecordsResponse

func NewDeleteDnsRecordsResponse() (response *DeleteDnsRecordsResponse)

func (*DeleteDnsRecordsResponse) FromJsonString

func (r *DeleteDnsRecordsResponse) 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 (*DeleteDnsRecordsResponse) ToJsonString

func (r *DeleteDnsRecordsResponse) ToJsonString() string

type DeleteDnsRecordsResponseParams

type DeleteDnsRecordsResponseParams struct {
	// Record ID
	Ids []*string `json:"Ids,omitempty" name:"Ids"`

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

Predefined struct for user

type DeleteLoadBalancingRequest

type DeleteLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}

func NewDeleteLoadBalancingRequest

func NewDeleteLoadBalancingRequest() (request *DeleteLoadBalancingRequest)

func (*DeleteLoadBalancingRequest) FromJsonString

func (r *DeleteLoadBalancingRequest) 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 (*DeleteLoadBalancingRequest) ToJsonString

func (r *DeleteLoadBalancingRequest) ToJsonString() string

type DeleteLoadBalancingRequestParams

type DeleteLoadBalancingRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}

Predefined struct for user

type DeleteLoadBalancingResponse

type DeleteLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *DeleteLoadBalancingResponseParams `json:"Response"`
}

func NewDeleteLoadBalancingResponse

func NewDeleteLoadBalancingResponse() (response *DeleteLoadBalancingResponse)

func (*DeleteLoadBalancingResponse) FromJsonString

func (r *DeleteLoadBalancingResponse) 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 (*DeleteLoadBalancingResponse) ToJsonString

func (r *DeleteLoadBalancingResponse) ToJsonString() string

type DeleteLoadBalancingResponseParams

type DeleteLoadBalancingResponseParams struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

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

Predefined struct for user

type DeleteZoneRequest

type DeleteZoneRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

func NewDeleteZoneRequest

func NewDeleteZoneRequest() (request *DeleteZoneRequest)

func (*DeleteZoneRequest) FromJsonString

func (r *DeleteZoneRequest) 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 (*DeleteZoneRequest) ToJsonString

func (r *DeleteZoneRequest) ToJsonString() string

type DeleteZoneRequestParams

type DeleteZoneRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

Predefined struct for user

type DeleteZoneResponse

type DeleteZoneResponse struct {
	*tchttp.BaseResponse
	Response *DeleteZoneResponseParams `json:"Response"`
}

func NewDeleteZoneResponse

func NewDeleteZoneResponse() (response *DeleteZoneResponse)

func (*DeleteZoneResponse) FromJsonString

func (r *DeleteZoneResponse) 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 (*DeleteZoneResponse) ToJsonString

func (r *DeleteZoneResponse) ToJsonString() string

type DeleteZoneResponseParams

type DeleteZoneResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

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

Predefined struct for user

type DescribeApplicationProxyDetailRequest

type DescribeApplicationProxyDetailRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Instance ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

func NewDescribeApplicationProxyDetailRequest

func NewDescribeApplicationProxyDetailRequest() (request *DescribeApplicationProxyDetailRequest)

func (*DescribeApplicationProxyDetailRequest) FromJsonString

func (r *DescribeApplicationProxyDetailRequest) 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 (*DescribeApplicationProxyDetailRequest) ToJsonString

type DescribeApplicationProxyDetailRequestParams

type DescribeApplicationProxyDetailRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Instance ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}

Predefined struct for user

type DescribeApplicationProxyDetailResponse

type DescribeApplicationProxyDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApplicationProxyDetailResponseParams `json:"Response"`
}

func NewDescribeApplicationProxyDetailResponse

func NewDescribeApplicationProxyDetailResponse() (response *DescribeApplicationProxyDetailResponse)

func (*DescribeApplicationProxyDetailResponse) FromJsonString

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

func (*DescribeApplicationProxyDetailResponse) ToJsonString

type DescribeApplicationProxyDetailResponseParams

type DescribeApplicationProxyDetailResponseParams struct {
	// Instance ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Instance name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// Proxy mode. Valid values:
	// `ip`: Anycast IP
	// `domain`: CNAME
	PlatType *string `json:"PlatType,omitempty" name:"PlatType"`

	// `0`: Disable security protection; `1`: Enable security protection.
	SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`

	// `0`: Disable acceleration; `1`: Enable acceleration.
	AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`

	// This field is moved to `Rule.ForwardClientIp`.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// This field is moved to `Rule.SessionPersist`.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// List of rules
	Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`

	// Status. Valid values:
	// `online`: Enable
	// `offline`: Disable
	// `progress`: Deploying
	Status *string `json:"Status,omitempty" name:"Status"`

	// Scheduling information
	ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Session persistence time
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Subdomain name
	// `instance`: Instance
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`

	// ID of the layer-7 domain name
	HostId *string `json:"HostId,omitempty" name:"HostId"`

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

Predefined struct for user

type DescribeApplicationProxyRequest

type DescribeApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Pagination parameter
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination parameter
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

func NewDescribeApplicationProxyRequest

func NewDescribeApplicationProxyRequest() (request *DescribeApplicationProxyRequest)

func (*DescribeApplicationProxyRequest) FromJsonString

func (r *DescribeApplicationProxyRequest) 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 (*DescribeApplicationProxyRequest) ToJsonString

func (r *DescribeApplicationProxyRequest) ToJsonString() string

type DescribeApplicationProxyRequestParams

type DescribeApplicationProxyRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Pagination parameter
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination parameter
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}

Predefined struct for user

type DescribeApplicationProxyResponse

type DescribeApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *DescribeApplicationProxyResponseParams `json:"Response"`
}

func NewDescribeApplicationProxyResponse

func NewDescribeApplicationProxyResponse() (response *DescribeApplicationProxyResponse)

func (*DescribeApplicationProxyResponse) FromJsonString

func (r *DescribeApplicationProxyResponse) 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 (*DescribeApplicationProxyResponse) ToJsonString

func (r *DescribeApplicationProxyResponse) ToJsonString() string

type DescribeApplicationProxyResponseParams

type DescribeApplicationProxyResponseParams struct {
	// List of data
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Data []*ApplicationProxy `json:"Data,omitempty" name:"Data"`

	// Total number of records
	// Note: This field may return `null`, indicating that no valid values can be obtained.
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Indicates the number of instances that can be created by the site when `ZoneId` is specified
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Quota *int64 `json:"Quota,omitempty" name:"Quota"`

	IpCount *uint64 `json:"IpCount,omitempty" name:"IpCount"`

	DomainCount *uint64 `json:"DomainCount,omitempty" name:"DomainCount"`

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

Predefined struct for user

type DescribeCnameStatusRequest

type DescribeCnameStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names
	Names []*string `json:"Names,omitempty" name:"Names"`
}

func NewDescribeCnameStatusRequest

func NewDescribeCnameStatusRequest() (request *DescribeCnameStatusRequest)

func (*DescribeCnameStatusRequest) FromJsonString

func (r *DescribeCnameStatusRequest) 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 (*DescribeCnameStatusRequest) ToJsonString

func (r *DescribeCnameStatusRequest) ToJsonString() string

type DescribeCnameStatusRequestParams

type DescribeCnameStatusRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names
	Names []*string `json:"Names,omitempty" name:"Names"`
}

Predefined struct for user

type DescribeCnameStatusResponse

type DescribeCnameStatusResponse struct {
	*tchttp.BaseResponse
	Response *DescribeCnameStatusResponseParams `json:"Response"`
}

func NewDescribeCnameStatusResponse

func NewDescribeCnameStatusResponse() (response *DescribeCnameStatusResponse)

func (*DescribeCnameStatusResponse) FromJsonString

func (r *DescribeCnameStatusResponse) 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 (*DescribeCnameStatusResponse) ToJsonString

func (r *DescribeCnameStatusResponse) ToJsonString() string

type DescribeCnameStatusResponseParams

type DescribeCnameStatusResponseParams struct {
	// List of CNAME statuses
	Status []*CnameStatus `json:"Status,omitempty" name:"Status"`

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

Predefined struct for user

type DescribeDefaultCertificatesRequest

type DescribeDefaultCertificatesRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeDefaultCertificatesRequest

func NewDescribeDefaultCertificatesRequest() (request *DescribeDefaultCertificatesRequest)

func (*DescribeDefaultCertificatesRequest) FromJsonString

func (r *DescribeDefaultCertificatesRequest) 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 (*DescribeDefaultCertificatesRequest) ToJsonString

func (r *DescribeDefaultCertificatesRequest) ToJsonString() string

type DescribeDefaultCertificatesRequestParams

type DescribeDefaultCertificatesRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeDefaultCertificatesResponse

type DescribeDefaultCertificatesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDefaultCertificatesResponseParams `json:"Response"`
}

func NewDescribeDefaultCertificatesResponse

func NewDescribeDefaultCertificatesResponse() (response *DescribeDefaultCertificatesResponse)

func (*DescribeDefaultCertificatesResponse) FromJsonString

func (r *DescribeDefaultCertificatesResponse) 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 (*DescribeDefaultCertificatesResponse) ToJsonString

func (r *DescribeDefaultCertificatesResponse) ToJsonString() string

type DescribeDefaultCertificatesResponseParams

type DescribeDefaultCertificatesResponseParams struct {
	// Total number of certificates
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of default certificates
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertInfo []*DefaultServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`

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

Predefined struct for user

type DescribeDnsDataRequest

type DescribeDnsDataRequest struct {
	*tchttp.BaseRequest

	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter parameters
	Filters []*DnsDataFilter `json:"Filters,omitempty" name:"Filters"`

	// Time granularity. The default value is `min`. The server can adapt to the time granularity specified.
	// Valid values:
	// `min`: 1 minute
	// `5min`: 5 minutes
	// `hour`: 1 hour
	// `day`: 1 day
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

func NewDescribeDnsDataRequest

func NewDescribeDnsDataRequest() (request *DescribeDnsDataRequest)

func (*DescribeDnsDataRequest) FromJsonString

func (r *DescribeDnsDataRequest) 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 (*DescribeDnsDataRequest) ToJsonString

func (r *DescribeDnsDataRequest) ToJsonString() string

type DescribeDnsDataRequestParams

type DescribeDnsDataRequestParams struct {
	// Start time
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Filter parameters
	Filters []*DnsDataFilter `json:"Filters,omitempty" name:"Filters"`

	// Time granularity. The default value is `min`. The server can adapt to the time granularity specified.
	// Valid values:
	// `min`: 1 minute
	// `5min`: 5 minutes
	// `hour`: 1 hour
	// `day`: 1 day
	Interval *string `json:"Interval,omitempty" name:"Interval"`
}

Predefined struct for user

type DescribeDnsDataResponse

type DescribeDnsDataResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnsDataResponseParams `json:"Response"`
}

func NewDescribeDnsDataResponse

func NewDescribeDnsDataResponse() (response *DescribeDnsDataResponse)

func (*DescribeDnsDataResponse) FromJsonString

func (r *DescribeDnsDataResponse) 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 (*DescribeDnsDataResponse) ToJsonString

func (r *DescribeDnsDataResponse) ToJsonString() string

type DescribeDnsDataResponseParams

type DescribeDnsDataResponseParams struct {
	// DNS request data
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Data []*DataItem `json:"Data,omitempty" name:"Data"`

	// Interval
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Interval *string `json:"Interval,omitempty" name:"Interval"`

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

Predefined struct for user

type DescribeDnsRecordsRequest

type DescribeDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Query filter
	Filters []*DnsRecordFilter `json:"Filters,omitempty" name:"Filters"`

	// Sorts the order
	Order *string `json:"Order,omitempty" name:"Order"`

	// Valid values: `asc`, and `desc`.
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// Valid values: `all`, and `any`.
	Match *string `json:"Match,omitempty" name:"Match"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeDnsRecordsRequest

func NewDescribeDnsRecordsRequest() (request *DescribeDnsRecordsRequest)

func (*DescribeDnsRecordsRequest) FromJsonString

func (r *DescribeDnsRecordsRequest) 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 (*DescribeDnsRecordsRequest) ToJsonString

func (r *DescribeDnsRecordsRequest) ToJsonString() string

type DescribeDnsRecordsRequestParams

type DescribeDnsRecordsRequestParams struct {
	// Query filter
	Filters []*DnsRecordFilter `json:"Filters,omitempty" name:"Filters"`

	// Sorts the order
	Order *string `json:"Order,omitempty" name:"Order"`

	// Valid values: `asc`, and `desc`.
	Direction *string `json:"Direction,omitempty" name:"Direction"`

	// Valid values: `all`, and `any`.
	Match *string `json:"Match,omitempty" name:"Match"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeDnsRecordsResponse

type DescribeDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnsRecordsResponseParams `json:"Response"`
}

func NewDescribeDnsRecordsResponse

func NewDescribeDnsRecordsResponse() (response *DescribeDnsRecordsResponse)

func (*DescribeDnsRecordsResponse) FromJsonString

func (r *DescribeDnsRecordsResponse) 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 (*DescribeDnsRecordsResponse) ToJsonString

func (r *DescribeDnsRecordsResponse) ToJsonString() string

type DescribeDnsRecordsResponseParams

type DescribeDnsRecordsResponseParams struct {
	// Used for paginated query by total count
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of DNS records
	Records []*DnsRecord `json:"Records,omitempty" name:"Records"`

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

Predefined struct for user

type DescribeDnssecRequest

type DescribeDnssecRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

func NewDescribeDnssecRequest

func NewDescribeDnssecRequest() (request *DescribeDnssecRequest)

func (*DescribeDnssecRequest) FromJsonString

func (r *DescribeDnssecRequest) 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 (*DescribeDnssecRequest) ToJsonString

func (r *DescribeDnssecRequest) ToJsonString() string

type DescribeDnssecRequestParams

type DescribeDnssecRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeDnssecResponse

type DescribeDnssecResponse struct {
	*tchttp.BaseResponse
	Response *DescribeDnssecResponseParams `json:"Response"`
}

func NewDescribeDnssecResponse

func NewDescribeDnssecResponse() (response *DescribeDnssecResponse)

func (*DescribeDnssecResponse) FromJsonString

func (r *DescribeDnssecResponse) 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 (*DescribeDnssecResponse) ToJsonString

func (r *DescribeDnssecResponse) ToJsonString() string

type DescribeDnssecResponseParams

type DescribeDnssecResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// DNSSEC status. Valid values:
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`

	Dnssec *DnssecInfo `json:"Dnssec,omitempty" name:"Dnssec"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

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

Predefined struct for user

type DescribeHostsCertificateRequest

type DescribeHostsCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query filter
	Filters []*CertFilter `json:"Filters,omitempty" name:"Filters"`

	// Sorting order
	Sort *CertSort `json:"Sort,omitempty" name:"Sort"`
}

func NewDescribeHostsCertificateRequest

func NewDescribeHostsCertificateRequest() (request *DescribeHostsCertificateRequest)

func (*DescribeHostsCertificateRequest) FromJsonString

func (r *DescribeHostsCertificateRequest) 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 (*DescribeHostsCertificateRequest) ToJsonString

func (r *DescribeHostsCertificateRequest) ToJsonString() string

type DescribeHostsCertificateRequestParams

type DescribeHostsCertificateRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query filter
	Filters []*CertFilter `json:"Filters,omitempty" name:"Filters"`

	// Sorting order
	Sort *CertSort `json:"Sort,omitempty" name:"Sort"`
}

Predefined struct for user

type DescribeHostsCertificateResponse

type DescribeHostsCertificateResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostsCertificateResponseParams `json:"Response"`
}

func NewDescribeHostsCertificateResponse

func NewDescribeHostsCertificateResponse() (response *DescribeHostsCertificateResponse)

func (*DescribeHostsCertificateResponse) FromJsonString

func (r *DescribeHostsCertificateResponse) 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 (*DescribeHostsCertificateResponse) ToJsonString

func (r *DescribeHostsCertificateResponse) ToJsonString() string

type DescribeHostsCertificateResponseParams

type DescribeHostsCertificateResponseParams struct {
	// Used for paginated query by total count
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of certificate configurations for domain names
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Hosts []*HostCertSetting `json:"Hosts,omitempty" name:"Hosts"`

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

Predefined struct for user

type DescribeHostsSettingRequest

type DescribeHostsSettingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Specifies a domain name for the query
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
}

func NewDescribeHostsSettingRequest

func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest)

func (*DescribeHostsSettingRequest) FromJsonString

func (r *DescribeHostsSettingRequest) 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 (*DescribeHostsSettingRequest) ToJsonString

func (r *DescribeHostsSettingRequest) ToJsonString() string

type DescribeHostsSettingRequestParams

type DescribeHostsSettingRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Offset for paginated queries. Default value: 0
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Limit on paginated queries. Default value: 100. Maximum value: 1000.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Specifies a domain name for the query
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
}

Predefined struct for user

type DescribeHostsSettingResponse

type DescribeHostsSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeHostsSettingResponseParams `json:"Response"`
}

func NewDescribeHostsSettingResponse

func NewDescribeHostsSettingResponse() (response *DescribeHostsSettingResponse)

func (*DescribeHostsSettingResponse) FromJsonString

func (r *DescribeHostsSettingResponse) 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 (*DescribeHostsSettingResponse) ToJsonString

func (r *DescribeHostsSettingResponse) ToJsonString() string

type DescribeHostsSettingResponseParams

type DescribeHostsSettingResponseParams struct {
	// List of domain names
	Hosts []*DetailHost `json:"Hosts,omitempty" name:"Hosts"`

	// Number of domain names
	TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"`

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

Predefined struct for user

type DescribeIdentificationRequest

type DescribeIdentificationRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewDescribeIdentificationRequest

func NewDescribeIdentificationRequest() (request *DescribeIdentificationRequest)

func (*DescribeIdentificationRequest) FromJsonString

func (r *DescribeIdentificationRequest) 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 (*DescribeIdentificationRequest) ToJsonString

func (r *DescribeIdentificationRequest) ToJsonString() string

type DescribeIdentificationRequestParams

type DescribeIdentificationRequestParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`
}

Predefined struct for user

type DescribeIdentificationResponse

type DescribeIdentificationResponse struct {
	*tchttp.BaseResponse
	Response *DescribeIdentificationResponseParams `json:"Response"`
}

func NewDescribeIdentificationResponse

func NewDescribeIdentificationResponse() (response *DescribeIdentificationResponse)

func (*DescribeIdentificationResponse) FromJsonString

func (r *DescribeIdentificationResponse) 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 (*DescribeIdentificationResponse) ToJsonString

func (r *DescribeIdentificationResponse) ToJsonString() string

type DescribeIdentificationResponseParams

type DescribeIdentificationResponseParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Verification status. Valid values:
	// - `pending`: Verifying
	// - `finished`: The site is verified.
	Status *string `json:"Status,omitempty" name:"Status"`

	Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"`

	// Record type
	RecordType *string `json:"RecordType,omitempty" name:"RecordType"`

	// Record value
	RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"`

	// NS records of the domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

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

Predefined struct for user

type DescribeLoadBalancingDetailRequest

type DescribeLoadBalancingDetailRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}

func NewDescribeLoadBalancingDetailRequest

func NewDescribeLoadBalancingDetailRequest() (request *DescribeLoadBalancingDetailRequest)

func (*DescribeLoadBalancingDetailRequest) FromJsonString

func (r *DescribeLoadBalancingDetailRequest) 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 (*DescribeLoadBalancingDetailRequest) ToJsonString

func (r *DescribeLoadBalancingDetailRequest) ToJsonString() string

type DescribeLoadBalancingDetailRequestParams

type DescribeLoadBalancingDetailRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}

Predefined struct for user

type DescribeLoadBalancingDetailResponse

type DescribeLoadBalancingDetailResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancingDetailResponseParams `json:"Response"`
}

func NewDescribeLoadBalancingDetailResponse

func NewDescribeLoadBalancingDetailResponse() (response *DescribeLoadBalancingDetailResponse)

func (*DescribeLoadBalancingDetailResponse) FromJsonString

func (r *DescribeLoadBalancingDetailResponse) 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 (*DescribeLoadBalancingDetailResponse) ToJsonString

func (r *DescribeLoadBalancingDetailResponse) ToJsonString() string

type DescribeLoadBalancingDetailResponseParams

type DescribeLoadBalancingDetailResponseParams struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitempty" name:"Type"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`

	// Information of the origin server used
	Origin []*OriginGroup `json:"Origin,omitempty" name:"Origin"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Status of the task
	Status *string `json:"Status,omitempty" name:"Status"`

	// Schedules domain names
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

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

Predefined struct for user

type DescribeLoadBalancingRequest

type DescribeLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Pagination parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination parameter
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Ignore query string parameter
	Host *string `json:"Host,omitempty" name:"Host"`

	// Specifies whether the `Host` parameter supports fuzzy match
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

func NewDescribeLoadBalancingRequest

func NewDescribeLoadBalancingRequest() (request *DescribeLoadBalancingRequest)

func (*DescribeLoadBalancingRequest) FromJsonString

func (r *DescribeLoadBalancingRequest) 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 (*DescribeLoadBalancingRequest) ToJsonString

func (r *DescribeLoadBalancingRequest) ToJsonString() string

type DescribeLoadBalancingRequestParams

type DescribeLoadBalancingRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Pagination parameter
	Offset *uint64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination parameter
	Limit *uint64 `json:"Limit,omitempty" name:"Limit"`

	// Ignore query string parameter
	Host *string `json:"Host,omitempty" name:"Host"`

	// Specifies whether the `Host` parameter supports fuzzy match
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

Predefined struct for user

type DescribeLoadBalancingResponse

type DescribeLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeLoadBalancingResponseParams `json:"Response"`
}

func NewDescribeLoadBalancingResponse

func NewDescribeLoadBalancingResponse() (response *DescribeLoadBalancingResponse)

func (*DescribeLoadBalancingResponse) FromJsonString

func (r *DescribeLoadBalancingResponse) 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 (*DescribeLoadBalancingResponse) ToJsonString

func (r *DescribeLoadBalancingResponse) ToJsonString() string

type DescribeLoadBalancingResponseParams

type DescribeLoadBalancingResponseParams struct {
	// Total number of records
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// CLB information
	Data []*LoadBalancing `json:"Data,omitempty" name:"Data"`

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

Predefined struct for user

type DescribePrefetchTasksRequest

type DescribePrefetchTasksRequest struct {
	*tchttp.BaseRequest

	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names queried
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Resources queried
	Target *string `json:"Target,omitempty" name:"Target"`
}

func NewDescribePrefetchTasksRequest

func NewDescribePrefetchTasksRequest() (request *DescribePrefetchTasksRequest)

func (*DescribePrefetchTasksRequest) FromJsonString

func (r *DescribePrefetchTasksRequest) 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 (*DescribePrefetchTasksRequest) ToJsonString

func (r *DescribePrefetchTasksRequest) ToJsonString() string

type DescribePrefetchTasksRequestParams

type DescribePrefetchTasksRequestParams struct {
	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names queried
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Resources queried
	Target *string `json:"Target,omitempty" name:"Target"`
}

Predefined struct for user

type DescribePrefetchTasksResponse

type DescribePrefetchTasksResponse struct {
	*tchttp.BaseResponse
	Response *DescribePrefetchTasksResponseParams `json:"Response"`
}

func NewDescribePrefetchTasksResponse

func NewDescribePrefetchTasksResponse() (response *DescribePrefetchTasksResponse)

func (*DescribePrefetchTasksResponse) FromJsonString

func (r *DescribePrefetchTasksResponse) 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 (*DescribePrefetchTasksResponse) ToJsonString

func (r *DescribePrefetchTasksResponse) ToJsonString() string

type DescribePrefetchTasksResponseParams

type DescribePrefetchTasksResponseParams struct {
	// Total entries that match the specified query condition
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of tasks returned
	Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`

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

Predefined struct for user

type DescribePurgeTasksRequest

type DescribePurgeTasksRequest struct {
	*tchttp.BaseRequest

	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Type of the purging task
	Type *string `json:"Type,omitempty" name:"Type"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names queried
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Queries content
	Target *string `json:"Target,omitempty" name:"Target"`
}

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 {
	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Type of the purging task
	Type *string `json:"Type,omitempty" name:"Type"`

	// Start time of the query
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time of the query
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Offset of the query
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Maximum number of results returned
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Statuses of tasks to be queried. Values:
	// `processing`, `success`, `failed`, `timeout` and `invalid`
	Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// List of domain names queried
	Domains []*string `json:"Domains,omitempty" name:"Domains"`

	// Queries content
	Target *string `json:"Target,omitempty" name:"Target"`
}

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 {
	// Total entries that match the specified query condition
	TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// List of tasks returned
	Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`

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

Predefined struct for user

type DescribeZoneDetailsRequest

type DescribeZoneDetailsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

func NewDescribeZoneDetailsRequest

func NewDescribeZoneDetailsRequest() (request *DescribeZoneDetailsRequest)

func (*DescribeZoneDetailsRequest) FromJsonString

func (r *DescribeZoneDetailsRequest) 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 (*DescribeZoneDetailsRequest) ToJsonString

func (r *DescribeZoneDetailsRequest) ToJsonString() string

type DescribeZoneDetailsRequestParams

type DescribeZoneDetailsRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`
}

Predefined struct for user

type DescribeZoneDetailsResponse

type DescribeZoneDetailsResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZoneDetailsResponseParams `json:"Response"`
}

func NewDescribeZoneDetailsResponse

func NewDescribeZoneDetailsResponse() (response *DescribeZoneDetailsResponse)

func (*DescribeZoneDetailsResponse) FromJsonString

func (r *DescribeZoneDetailsResponse) 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 (*DescribeZoneDetailsResponse) ToJsonString

func (r *DescribeZoneDetailsResponse) ToJsonString() string

type DescribeZoneDetailsResponseParams

type DescribeZoneDetailsResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// List of name servers used
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// List of name servers assigned to users by Tencent Cloud
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`

	// Site status
	// - `active`: The name server is switched.
	// - `pending`: The name server is not switched.
	// - `moved`: The name server is moved.
	// - `deactivated`: The name server is blocked.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: The site is connected via name server.
	// - `partial`: The site is connected via CNAME.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Indicates whether the site is disabled
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// Site creation date
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Site modification date
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// User-defined name server information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`

	// User-defined name server IP information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitempty" name:"VanityNameServersIps"`

	// Specifies whether to enable CNAME acceleration
	// - `enabled`: Enable
	// - `disabled`: Disable
	CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"`

	// Ownership verification status of the site when it accesses via CNAME.
	// - `finished`: The site is verified.
	// - `pending`: The site is waiting for verification.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`

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

Predefined struct for user

type DescribeZoneSettingRequest

type DescribeZoneSettingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewDescribeZoneSettingRequest

func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)

func (*DescribeZoneSettingRequest) FromJsonString

func (r *DescribeZoneSettingRequest) 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 (*DescribeZoneSettingRequest) ToJsonString

func (r *DescribeZoneSettingRequest) ToJsonString() string

type DescribeZoneSettingRequestParams

type DescribeZoneSettingRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type DescribeZoneSettingResponse

type DescribeZoneSettingResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZoneSettingResponseParams `json:"Response"`
}

func NewDescribeZoneSettingResponse

func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)

func (*DescribeZoneSettingResponse) FromJsonString

func (r *DescribeZoneSettingResponse) 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 (*DescribeZoneSettingResponse) ToJsonString

func (r *DescribeZoneSettingResponse) ToJsonString() string

type DescribeZoneSettingResponseParams

type DescribeZoneSettingResponseParams struct {
	// Cache expiration time configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"`

	// Node cache key configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// Browser cache configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// Offline cache
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// QUIC access
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// POST transport configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// Smart compression configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// HTTP2 origin-pull configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

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

	// Origin server configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Origin *Origin `json:"Origin,omitempty" name:"Origin"`

	// Dynamic acceleration configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Domain name of the site
	Zone *string `json:"Zone,omitempty" name:"Zone"`

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

	// Origin-pull client IP header configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ClientIpHeader *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`

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

Predefined struct for user

type DescribeZonesRequest

type DescribeZonesRequest struct {
	*tchttp.BaseRequest

	// Pagination parameter, which specifies the offset.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination parameter, which specifies the number of sites returned in each page.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query condition filter, which supports complex type.
	Filters []*ZoneFilter `json:"Filters,omitempty" name:"Filters"`
}

func NewDescribeZonesRequest

func NewDescribeZonesRequest() (request *DescribeZonesRequest)

func (*DescribeZonesRequest) FromJsonString

func (r *DescribeZonesRequest) 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 (*DescribeZonesRequest) ToJsonString

func (r *DescribeZonesRequest) ToJsonString() string

type DescribeZonesRequestParams

type DescribeZonesRequestParams struct {
	// Pagination parameter, which specifies the offset.
	Offset *int64 `json:"Offset,omitempty" name:"Offset"`

	// Pagination parameter, which specifies the number of sites returned in each page.
	Limit *int64 `json:"Limit,omitempty" name:"Limit"`

	// Query condition filter, which supports complex type.
	Filters []*ZoneFilter `json:"Filters,omitempty" name:"Filters"`
}

Predefined struct for user

type DescribeZonesResponse

type DescribeZonesResponse struct {
	*tchttp.BaseResponse
	Response *DescribeZonesResponseParams `json:"Response"`
}

func NewDescribeZonesResponse

func NewDescribeZonesResponse() (response *DescribeZonesResponse)

func (*DescribeZonesResponse) FromJsonString

func (r *DescribeZonesResponse) 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 (*DescribeZonesResponse) ToJsonString

func (r *DescribeZonesResponse) ToJsonString() string

type DescribeZonesResponseParams

type DescribeZonesResponseParams struct {
	// Number of sites that match the specified conditions
	TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`

	// Details of sites
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Zones []*Zone `json:"Zones,omitempty" name:"Zones"`

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

Predefined struct for user

type DetailHost

type DetailHost struct {
	// Tencent Cloud account ID
	AppId *int64 `json:"AppId,omitempty" name:"AppId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Acceleration service status
	// `process`: Deploying
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`

	// Domain name
	Host *string `json:"Host,omitempty" name:"Host"`
}

type DnsDataFilter

type DnsDataFilter struct {
	// Parameter name. Valid values:
	// `zone`: Site name
	// `host`: Domain name
	// `type`: DNS resolution type
	// `code`: DNS response code
	// `area`: Region of the resolution server
	Name *string `json:"Name,omitempty" name:"Name"`

	// Parameter value
	// When `Name=area`, valid values:
	// `Asia`
	// `Europe`
	// `Africa`
	// `Oceania`
	// `Americas`
	//
	// When `Name=code`, valid values:
	// `NoError`: Successful response.
	// `NXDomain`: Non-existent domain in the request. It is only valid when the response is from the authoritative name server.
	// `NotImp`: Request type not supported.
	// `Refused`: The name server refuses to perform the requested operation for policy reasons.
	Value *string `json:"Value,omitempty" name:"Value"`

	// Parameter value
	// When `Name=area`, valid values:
	// `Asia`
	// `Europe`
	// `Africa`
	// `Oceania`
	// `Americas`
	//
	// When `Name=code`, valid values:
	// `NoError`: Successful response.
	// `NXDomain`: Non-existent domain in the request. It is only valid when the response is from the authoritative name server.
	// `NotImp`: Request type not supported.
	// `Refused`: The name server refuses to perform the requested operation for policy reasons.
	Values []*string `json:"Values,omitempty" name:"Values"`
}

type DnsRecord

type DnsRecord struct {
	// Record ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Host record
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record value
	Content *string `json:"Content,omitempty" name:"Content"`

	// Proxy mode
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// TTL value
	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

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

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// Domain name lock
	Locked *bool `json:"Locked,omitempty" name:"Locked"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Resolution status
	// `active`: Activated
	// `pending`: Not activated
	Status *string `json:"Status,omitempty" name:"Status"`

	// CNAME address
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// Specifies whether to enable load balancing, layer-4 proxy, or security protection for the domain name.
	// - `lb`: Load balancing.
	// - `security`: Security protection.
	// - `l4`: Layer-4 proxy.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DomainStatus []*string `json:"DomainStatus,omitempty" name:"DomainStatus"`
}

type DnsRecordFilter

type DnsRecordFilter struct {
	// Filters by the field name. Vaules:
	// - `name`: Site name.
	// - `status`: Site status.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Filters by the field value
	Values []*string `json:"Values,omitempty" name:"Values"`

	// Specifies whether to enable fuzzy query. It’s only available when the filter name is `name`. If it’s enabled, the length of `Values` must be 1.
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

type DnssecInfo

type DnssecInfo struct {
	// Flag
	Flags *int64 `json:"Flags,omitempty" name:"Flags"`

	// Encryption algorithm
	Algorithm *string `json:"Algorithm,omitempty" name:"Algorithm"`

	// Encryption type
	KeyType *string `json:"KeyType,omitempty" name:"KeyType"`

	// Digest type
	DigestType *string `json:"DigestType,omitempty" name:"DigestType"`

	// Digest algorithm
	DigestAlgorithm *string `json:"DigestAlgorithm,omitempty" name:"DigestAlgorithm"`

	// Digest message
	Digest *string `json:"Digest,omitempty" name:"Digest"`

	// DS record value
	DS *string `json:"DS,omitempty" name:"DS"`

	// Key tag
	KeyTag *int64 `json:"KeyTag,omitempty" name:"KeyTag"`

	// Public key
	PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`
}

type DownloadL7LogsRequest

type DownloadL7LogsRequest struct {
	*tchttp.BaseRequest

	// Start time. It must conform to the RFC3339 standard.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time. It must conform to the RFC3339 standard.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Number of entries per page
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`

	// List of sites
	Zones []*string `json:"Zones,omitempty" name:"Zones"`

	// List of domain names
	Domains []*string `json:"Domains,omitempty" name:"Domains"`
}

func NewDownloadL7LogsRequest

func NewDownloadL7LogsRequest() (request *DownloadL7LogsRequest)

func (*DownloadL7LogsRequest) FromJsonString

func (r *DownloadL7LogsRequest) 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 (*DownloadL7LogsRequest) ToJsonString

func (r *DownloadL7LogsRequest) ToJsonString() string

type DownloadL7LogsRequestParams

type DownloadL7LogsRequestParams struct {
	// Start time. It must conform to the RFC3339 standard.
	StartTime *string `json:"StartTime,omitempty" name:"StartTime"`

	// End time. It must conform to the RFC3339 standard.
	EndTime *string `json:"EndTime,omitempty" name:"EndTime"`

	// Number of entries per page
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Current page
	PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`

	// List of sites
	Zones []*string `json:"Zones,omitempty" name:"Zones"`

	// List of domain names
	Domains []*string `json:"Domains,omitempty" name:"Domains"`
}

Predefined struct for user

type DownloadL7LogsResponse

type DownloadL7LogsResponse struct {
	*tchttp.BaseResponse
	Response *DownloadL7LogsResponseParams `json:"Response"`
}

func NewDownloadL7LogsResponse

func NewDownloadL7LogsResponse() (response *DownloadL7LogsResponse)

func (*DownloadL7LogsResponse) FromJsonString

func (r *DownloadL7LogsResponse) 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 (*DownloadL7LogsResponse) ToJsonString

func (r *DownloadL7LogsResponse) ToJsonString() string

type DownloadL7LogsResponseParams

type DownloadL7LogsResponseParams struct {
	// Layer-7 offline log data
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Data []*L7OfflineLog `json:"Data,omitempty" name:"Data"`

	// Page size
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`

	// Page number
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`

	// Total number of pages
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Pages *int64 `json:"Pages,omitempty" name:"Pages"`

	// Total number of entries
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`

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

Predefined struct for user

type FailReason

type FailReason struct {
	// Failure reason
	Reason *string `json:"Reason,omitempty" name:"Reason"`

	// List of resources failed to be processed.
	//
	Targets []*string `json:"Targets,omitempty" name:"Targets"`
}

type ForceRedirect

type ForceRedirect struct {
	// Force redirect configuration switch
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Redirection status code
	// 301
	// 302
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	RedirectStatusCode *int64 `json:"RedirectStatusCode,omitempty" name:"RedirectStatusCode"`
}
type Header struct {
	// HTTP header name
	Name *string `json:"Name,omitempty" name:"Name"`

	// HTTP header value
	Value *string `json:"Value,omitempty" name:"Value"`
}

type HostCertSetting

type HostCertSetting struct {
	// Domain name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Server certificate configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}

type Hsts

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

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

	// Specifies whether to include subdomain names. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	IncludeSubDomains *string `json:"IncludeSubDomains,omitempty" name:"IncludeSubDomains"`

	// Specifies whether to preload. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Preload *string `json:"Preload,omitempty" name:"Preload"`
}

type Https

type Https struct {
	// HTTP2 configuration switch
	// `on`: Enable
	// `off`: Disable
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Http2 *string `json:"Http2,omitempty" name:"Http2"`

	// OCSP configuration switch
	// `on`: Enable
	// `off`: Disable
	// It is disabled by default.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OcspStapling *string `json:"OcspStapling,omitempty" name:"OcspStapling"`

	// 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 value can be obtained.
	TlsVersion []*string `json:"TlsVersion,omitempty" name:"TlsVersion"`

	// HSTS Configuration
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Hsts *Hsts `json:"Hsts,omitempty" name:"Hsts"`
}

type IdentifyZoneRequest

type IdentifyZoneRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewIdentifyZoneRequest

func NewIdentifyZoneRequest() (request *IdentifyZoneRequest)

func (*IdentifyZoneRequest) FromJsonString

func (r *IdentifyZoneRequest) 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 (*IdentifyZoneRequest) ToJsonString

func (r *IdentifyZoneRequest) ToJsonString() string

type IdentifyZoneRequestParams

type IdentifyZoneRequestParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`
}

Predefined struct for user

type IdentifyZoneResponse

type IdentifyZoneResponse struct {
	*tchttp.BaseResponse
	Response *IdentifyZoneResponseParams `json:"Response"`
}

func NewIdentifyZoneResponse

func NewIdentifyZoneResponse() (response *IdentifyZoneResponse)

func (*IdentifyZoneResponse) FromJsonString

func (r *IdentifyZoneResponse) 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 (*IdentifyZoneResponse) ToJsonString

func (r *IdentifyZoneResponse) ToJsonString() string

type IdentifyZoneResponseParams

type IdentifyZoneResponseParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"`

	// Record type
	RecordType *string `json:"RecordType,omitempty" name:"RecordType"`

	// Record value
	RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"`

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

Predefined struct for user

type ImportDnsRecordsRequest

type ImportDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// File content
	File *string `json:"File,omitempty" name:"File"`
}

func NewImportDnsRecordsRequest

func NewImportDnsRecordsRequest() (request *ImportDnsRecordsRequest)

func (*ImportDnsRecordsRequest) FromJsonString

func (r *ImportDnsRecordsRequest) 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 (*ImportDnsRecordsRequest) ToJsonString

func (r *ImportDnsRecordsRequest) ToJsonString() string

type ImportDnsRecordsRequestParams

type ImportDnsRecordsRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// File content
	File *string `json:"File,omitempty" name:"File"`
}

Predefined struct for user

type ImportDnsRecordsResponse

type ImportDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *ImportDnsRecordsResponseParams `json:"Response"`
}

func NewImportDnsRecordsResponse

func NewImportDnsRecordsResponse() (response *ImportDnsRecordsResponse)

func (*ImportDnsRecordsResponse) FromJsonString

func (r *ImportDnsRecordsResponse) 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 (*ImportDnsRecordsResponse) ToJsonString

func (r *ImportDnsRecordsResponse) ToJsonString() string

type ImportDnsRecordsResponseParams

type ImportDnsRecordsResponseParams struct {
	// Record ID
	Ids []*string `json:"Ids,omitempty" name:"Ids"`

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

Predefined struct for user

type L7OfflineLog

type L7OfflineLog struct {
	// Start time of the log packaging
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`

	// Site name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Domain *string `json:"Domain,omitempty" name:"Domain"`

	// Log size, in bytes
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Size *int64 `json:"Size,omitempty" name:"Size"`

	// Download address
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Url *string `json:"Url,omitempty" name:"Url"`

	// Log package name
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`
}

type LoadBalancing

type LoadBalancing struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Subdomain name. You can use @ to represent the root domain.
	Host *string `json:"Host,omitempty" name:"Host"`

	// Proxy mode. Valid values:
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitempty" name:"Type"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`

	// Information of the origin server used
	Origin []*OriginGroup `json:"Origin,omitempty" name:"Origin"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Status
	Status *string `json:"Status,omitempty" name:"Status"`

	// Schedules domain names
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`
}

type MaxAge

type MaxAge struct {
	// Specifies the max age of the cache (in seconds). The maximum value is 365 days.
	// Note: the value `0` means not to cache.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxAgeTime *int64 `json:"MaxAgeTime,omitempty" name:"MaxAgeTime"`

	// Specifies whether to follow the max cache age of the origin server. Valid values: `on` and `off`. If it's on, `MaxAgeTime` is ignored.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	FollowOrigin *string `json:"FollowOrigin,omitempty" name:"FollowOrigin"`
}

type ModifyApplicationProxyRequest

type ModifyApplicationProxyRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Layer-4 proxy name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// This parameter is disused.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// This parameter is disused.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// Session persistence time. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Subdomain name
	// `instance`: Instance
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
}

func NewModifyApplicationProxyRequest

func NewModifyApplicationProxyRequest() (request *ModifyApplicationProxyRequest)

func (*ModifyApplicationProxyRequest) FromJsonString

func (r *ModifyApplicationProxyRequest) 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 (*ModifyApplicationProxyRequest) ToJsonString

func (r *ModifyApplicationProxyRequest) ToJsonString() string

type ModifyApplicationProxyRequestParams

type ModifyApplicationProxyRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Layer-4 proxy name
	ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`

	// This parameter is disused.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// This parameter is disused.
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`

	// Session persistence time. Value range: 30-3600 (in seconds).
	SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`

	// Specifies how a layer-4 proxy is created.
	// `hostname`: Subdomain name
	// `instance`: Instance
	ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
}

Predefined struct for user

type ModifyApplicationProxyResponse

type ModifyApplicationProxyResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyResponseParams `json:"Response"`
}

func NewModifyApplicationProxyResponse

func NewModifyApplicationProxyResponse() (response *ModifyApplicationProxyResponse)

func (*ModifyApplicationProxyResponse) FromJsonString

func (r *ModifyApplicationProxyResponse) 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 (*ModifyApplicationProxyResponse) ToJsonString

func (r *ModifyApplicationProxyResponse) ToJsonString() string

type ModifyApplicationProxyResponseParams

type ModifyApplicationProxyResponseParams struct {
	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

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

Predefined struct for user

type ModifyApplicationProxyRuleRequest

type ModifyApplicationProxyRuleRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitempty" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: An origin group
	// `load_balancing`: A load balancer
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information.
	// When `OriginType=custom`, this field value indicates multiple origin servers in either of the following formats:
	// IP:Port
	// Domain name: Port
	// When `OriginType=origins`, it indicates the origin group ID.
	//
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA.
	// `PPV1`: Pass the client IP via Proxy Protocol V1.
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

func NewModifyApplicationProxyRuleRequest

func NewModifyApplicationProxyRuleRequest() (request *ModifyApplicationProxyRuleRequest)

func (*ModifyApplicationProxyRuleRequest) FromJsonString

func (r *ModifyApplicationProxyRuleRequest) 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 (*ModifyApplicationProxyRuleRequest) ToJsonString

func (r *ModifyApplicationProxyRuleRequest) ToJsonString() string

type ModifyApplicationProxyRuleRequestParams

type ModifyApplicationProxyRuleRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Protocol. Valid values: `TCP` and `UDP`.
	Proto *string `json:"Proto,omitempty" name:"Proto"`

	// Port. Valid values:
	// `80`: Port 80
	// `81-90`: Port range 81-90
	Port []*string `json:"Port,omitempty" name:"Port"`

	// Origin server type. Valid values:
	// `custom`: Specified origins
	// `origins`: An origin group
	// `load_balancing`: A load balancer
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Origin server information.
	// When `OriginType=custom`, this field value indicates multiple origin servers in either of the following formats:
	// IP:Port
	// Domain name: Port
	// When `OriginType=origins`, it indicates the origin group ID.
	//
	OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`

	// Passes the client IP. When `Proto=TCP`, valid values:
	// `TOA`: Pass the client IP via TOA.
	// `PPV1`: Pass the client IP via Proxy Protocol V1.
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	// When `Proto=UDP`, valid values:
	// `PPV2`: Pass the client IP via Proxy Protocol V2.
	// `OFF`: Do not pass the client IP.
	ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`

	// Specifies whether to enable session persistence
	SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}

Predefined struct for user

type ModifyApplicationProxyRuleResponse

type ModifyApplicationProxyRuleResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyRuleResponseParams `json:"Response"`
}

func NewModifyApplicationProxyRuleResponse

func NewModifyApplicationProxyRuleResponse() (response *ModifyApplicationProxyRuleResponse)

func (*ModifyApplicationProxyRuleResponse) FromJsonString

func (r *ModifyApplicationProxyRuleResponse) 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 (*ModifyApplicationProxyRuleResponse) ToJsonString

func (r *ModifyApplicationProxyRuleResponse) ToJsonString() string

type ModifyApplicationProxyRuleResponseParams

type ModifyApplicationProxyRuleResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type ModifyApplicationProxyRuleStatusRequest

type ModifyApplicationProxyRuleStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyApplicationProxyRuleStatusRequest

func NewModifyApplicationProxyRuleStatusRequest() (request *ModifyApplicationProxyRuleStatusRequest)

func (*ModifyApplicationProxyRuleStatusRequest) FromJsonString

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

func (*ModifyApplicationProxyRuleStatusRequest) ToJsonString

type ModifyApplicationProxyRuleStatusRequestParams

type ModifyApplicationProxyRuleStatusRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyApplicationProxyRuleStatusResponse

type ModifyApplicationProxyRuleStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyRuleStatusResponseParams `json:"Response"`
}

func NewModifyApplicationProxyRuleStatusResponse

func NewModifyApplicationProxyRuleStatusResponse() (response *ModifyApplicationProxyRuleStatusResponse)

func (*ModifyApplicationProxyRuleStatusResponse) FromJsonString

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

func (*ModifyApplicationProxyRuleStatusResponse) ToJsonString

type ModifyApplicationProxyRuleStatusResponseParams

type ModifyApplicationProxyRuleStatusResponseParams struct {
	// Rule ID
	RuleId *string `json:"RuleId,omitempty" name:"RuleId"`

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

Predefined struct for user

type ModifyApplicationProxyStatusRequest

type ModifyApplicationProxyStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyApplicationProxyStatusRequest

func NewModifyApplicationProxyStatusRequest() (request *ModifyApplicationProxyStatusRequest)

func (*ModifyApplicationProxyStatusRequest) FromJsonString

func (r *ModifyApplicationProxyStatusRequest) 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 (*ModifyApplicationProxyStatusRequest) ToJsonString

func (r *ModifyApplicationProxyStatusRequest) ToJsonString() string

type ModifyApplicationProxyStatusRequestParams

type ModifyApplicationProxyStatusRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

	// Status
	// `offline`: Disabled
	// `online`: Enabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyApplicationProxyStatusResponse

type ModifyApplicationProxyStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyApplicationProxyStatusResponseParams `json:"Response"`
}

func NewModifyApplicationProxyStatusResponse

func NewModifyApplicationProxyStatusResponse() (response *ModifyApplicationProxyStatusResponse)

func (*ModifyApplicationProxyStatusResponse) FromJsonString

func (r *ModifyApplicationProxyStatusResponse) 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 (*ModifyApplicationProxyStatusResponse) ToJsonString

func (r *ModifyApplicationProxyStatusResponse) ToJsonString() string

type ModifyApplicationProxyStatusResponseParams

type ModifyApplicationProxyStatusResponseParams struct {
	// Layer-4 proxy ID
	ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`

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

Predefined struct for user

type ModifyDefaultCertificateRequest

type ModifyDefaultCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Certificate ID
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Certificate status
	// `deployed`: The certificate is deployed.
	// `disabled`: The certificate is disabled.
	// If the deployment fails, you can pass in `Status = deployed` again.
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyDefaultCertificateRequest

func NewModifyDefaultCertificateRequest() (request *ModifyDefaultCertificateRequest)

func (*ModifyDefaultCertificateRequest) FromJsonString

func (r *ModifyDefaultCertificateRequest) 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 (*ModifyDefaultCertificateRequest) ToJsonString

func (r *ModifyDefaultCertificateRequest) ToJsonString() string

type ModifyDefaultCertificateRequestParams

type ModifyDefaultCertificateRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Certificate ID
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Certificate status
	// `deployed`: The certificate is deployed.
	// `disabled`: The certificate is disabled.
	// If the deployment fails, you can pass in `Status = deployed` again.
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyDefaultCertificateResponse

type ModifyDefaultCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDefaultCertificateResponseParams `json:"Response"`
}

func NewModifyDefaultCertificateResponse

func NewModifyDefaultCertificateResponse() (response *ModifyDefaultCertificateResponse)

func (*ModifyDefaultCertificateResponse) FromJsonString

func (r *ModifyDefaultCertificateResponse) 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 (*ModifyDefaultCertificateResponse) ToJsonString

func (r *ModifyDefaultCertificateResponse) ToJsonString() string

type ModifyDefaultCertificateResponseParams

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

Predefined struct for user

type ModifyDnsRecordRequest

type ModifyDnsRecordRequest struct {
	*tchttp.BaseRequest

	// Record ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record content
	Content *string `json:"Content,omitempty" name:"Content"`

	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

func NewModifyDnsRecordRequest

func NewModifyDnsRecordRequest() (request *ModifyDnsRecordRequest)

func (*ModifyDnsRecordRequest) FromJsonString

func (r *ModifyDnsRecordRequest) 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 (*ModifyDnsRecordRequest) ToJsonString

func (r *ModifyDnsRecordRequest) ToJsonString() string

type ModifyDnsRecordRequestParams

type ModifyDnsRecordRequestParams struct {
	// Record ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record content
	Content *string `json:"Content,omitempty" name:"Content"`

	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitempty" name:"Mode"`
}

Predefined struct for user

type ModifyDnsRecordResponse

type ModifyDnsRecordResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDnsRecordResponseParams `json:"Response"`
}

func NewModifyDnsRecordResponse

func NewModifyDnsRecordResponse() (response *ModifyDnsRecordResponse)

func (*ModifyDnsRecordResponse) FromJsonString

func (r *ModifyDnsRecordResponse) 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 (*ModifyDnsRecordResponse) ToJsonString

func (r *ModifyDnsRecordResponse) ToJsonString() string

type ModifyDnsRecordResponseParams

type ModifyDnsRecordResponseParams struct {
	// Record ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Record type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Record content
	Content *string `json:"Content,omitempty" name:"Content"`

	Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`

	// Priority
	Priority *int64 `json:"Priority,omitempty" name:"Priority"`

	// Proxy mode
	Mode *string `json:"Mode,omitempty" name:"Mode"`

	// Resolution status
	Status *string `json:"Status,omitempty" name:"Status"`

	// CNAME address
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Cname *string `json:"Cname,omitempty" name:"Cname"`

	// Whether the DNS record is locked
	Locked *bool `json:"Locked,omitempty" name:"Locked"`

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

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

Predefined struct for user

type ModifyDnssecRequest

type ModifyDnssecRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// DNSSEC status
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyDnssecRequest

func NewModifyDnssecRequest() (request *ModifyDnssecRequest)

func (*ModifyDnssecRequest) FromJsonString

func (r *ModifyDnssecRequest) 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 (*ModifyDnssecRequest) ToJsonString

func (r *ModifyDnssecRequest) ToJsonString() string

type ModifyDnssecRequestParams

type ModifyDnssecRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// DNSSEC status
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyDnssecResponse

type ModifyDnssecResponse struct {
	*tchttp.BaseResponse
	Response *ModifyDnssecResponseParams `json:"Response"`
}

func NewModifyDnssecResponse

func NewModifyDnssecResponse() (response *ModifyDnssecResponse)

func (*ModifyDnssecResponse) FromJsonString

func (r *ModifyDnssecResponse) 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 (*ModifyDnssecResponse) ToJsonString

func (r *ModifyDnssecResponse) ToJsonString() string

type ModifyDnssecResponseParams

type ModifyDnssecResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// DNSSEC status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`

	// DNSSEC information
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Dnssec *DnssecInfo `json:"Dnssec,omitempty" name:"Dnssec"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

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

Predefined struct for user

type ModifyHostsCertificateRequest

type ModifyHostsCertificateRequest struct {
	*tchttp.BaseRequest

	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Domain name that the certificate will be attached to
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}

func NewModifyHostsCertificateRequest

func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest)

func (*ModifyHostsCertificateRequest) FromJsonString

func (r *ModifyHostsCertificateRequest) 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 (*ModifyHostsCertificateRequest) ToJsonString

func (r *ModifyHostsCertificateRequest) ToJsonString() string

type ModifyHostsCertificateRequestParams

type ModifyHostsCertificateRequestParams struct {
	// ID of the site
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Domain name that the certificate will be attached to
	Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`

	// Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used.
	CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}

Predefined struct for user

type ModifyHostsCertificateResponse

type ModifyHostsCertificateResponse struct {
	*tchttp.BaseResponse
	Response *ModifyHostsCertificateResponseParams `json:"Response"`
}

func NewModifyHostsCertificateResponse

func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateResponse)

func (*ModifyHostsCertificateResponse) FromJsonString

func (r *ModifyHostsCertificateResponse) 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 (*ModifyHostsCertificateResponse) ToJsonString

func (r *ModifyHostsCertificateResponse) ToJsonString() string

type ModifyHostsCertificateResponseParams

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

Predefined struct for user

type ModifyLoadBalancingRequest

type ModifyLoadBalancingRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// Proxy mode.
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}

func NewModifyLoadBalancingRequest

func NewModifyLoadBalancingRequest() (request *ModifyLoadBalancingRequest)

func (*ModifyLoadBalancingRequest) FromJsonString

func (r *ModifyLoadBalancingRequest) 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 (*ModifyLoadBalancingRequest) ToJsonString

func (r *ModifyLoadBalancingRequest) ToJsonString() string

type ModifyLoadBalancingRequestParams

type ModifyLoadBalancingRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// Proxy mode.
	// `dns_only`: Only DNS
	// `proxied`: Enable proxy
	Type *string `json:"Type,omitempty" name:"Type"`

	// ID of the origin group used
	OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`

	// Indicates DNS TTL time when `Type=dns_only`
	TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}

Predefined struct for user

type ModifyLoadBalancingResponse

type ModifyLoadBalancingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoadBalancingResponseParams `json:"Response"`
}

func NewModifyLoadBalancingResponse

func NewModifyLoadBalancingResponse() (response *ModifyLoadBalancingResponse)

func (*ModifyLoadBalancingResponse) FromJsonString

func (r *ModifyLoadBalancingResponse) 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 (*ModifyLoadBalancingResponse) ToJsonString

func (r *ModifyLoadBalancingResponse) ToJsonString() string

type ModifyLoadBalancingResponseParams

type ModifyLoadBalancingResponseParams struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

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

Predefined struct for user

type ModifyLoadBalancingStatusRequest

type ModifyLoadBalancingStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// Status.
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyLoadBalancingStatusRequest

func NewModifyLoadBalancingStatusRequest() (request *ModifyLoadBalancingStatusRequest)

func (*ModifyLoadBalancingStatusRequest) FromJsonString

func (r *ModifyLoadBalancingStatusRequest) 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 (*ModifyLoadBalancingStatusRequest) ToJsonString

func (r *ModifyLoadBalancingStatusRequest) ToJsonString() string

type ModifyLoadBalancingStatusRequestParams

type ModifyLoadBalancingStatusRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

	// Status.
	// `online`: Enabled
	// `offline`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyLoadBalancingStatusResponse

type ModifyLoadBalancingStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyLoadBalancingStatusResponseParams `json:"Response"`
}

func NewModifyLoadBalancingStatusResponse

func NewModifyLoadBalancingStatusResponse() (response *ModifyLoadBalancingStatusResponse)

func (*ModifyLoadBalancingStatusResponse) FromJsonString

func (r *ModifyLoadBalancingStatusResponse) 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 (*ModifyLoadBalancingStatusResponse) ToJsonString

func (r *ModifyLoadBalancingStatusResponse) ToJsonString() string

type ModifyLoadBalancingStatusResponseParams

type ModifyLoadBalancingStatusResponseParams struct {
	// CLB instance ID
	LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`

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

Predefined struct for user

type ModifyZoneCnameSpeedUpRequest

type ModifyZoneCnameSpeedUpRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// CNAME acceleration status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

func NewModifyZoneCnameSpeedUpRequest

func NewModifyZoneCnameSpeedUpRequest() (request *ModifyZoneCnameSpeedUpRequest)

func (*ModifyZoneCnameSpeedUpRequest) FromJsonString

func (r *ModifyZoneCnameSpeedUpRequest) 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 (*ModifyZoneCnameSpeedUpRequest) ToJsonString

func (r *ModifyZoneCnameSpeedUpRequest) ToJsonString() string

type ModifyZoneCnameSpeedUpRequestParams

type ModifyZoneCnameSpeedUpRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// CNAME acceleration status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`
}

Predefined struct for user

type ModifyZoneCnameSpeedUpResponse

type ModifyZoneCnameSpeedUpResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneCnameSpeedUpResponseParams `json:"Response"`
}

func NewModifyZoneCnameSpeedUpResponse

func NewModifyZoneCnameSpeedUpResponse() (response *ModifyZoneCnameSpeedUpResponse)

func (*ModifyZoneCnameSpeedUpResponse) FromJsonString

func (r *ModifyZoneCnameSpeedUpResponse) 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 (*ModifyZoneCnameSpeedUpResponse) ToJsonString

func (r *ModifyZoneCnameSpeedUpResponse) ToJsonString() string

type ModifyZoneCnameSpeedUpResponseParams

type ModifyZoneCnameSpeedUpResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// CNAME acceleration status.
	// - `enabled`: Enabled
	// - `disabled`: Disabled
	Status *string `json:"Status,omitempty" name:"Status"`

	// Update time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

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

Predefined struct for user

type ModifyZoneRequest

type ModifyZoneRequest struct {
	*tchttp.BaseRequest

	// Site ID, which is used to identify the site.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: Connect via the name server.
	// - `partial`: Connect via the CNAME.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Custom site information
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
}

func NewModifyZoneRequest

func NewModifyZoneRequest() (request *ModifyZoneRequest)

func (*ModifyZoneRequest) FromJsonString

func (r *ModifyZoneRequest) 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 (*ModifyZoneRequest) ToJsonString

func (r *ModifyZoneRequest) ToJsonString() string

type ModifyZoneRequestParams

type ModifyZoneRequestParams struct {
	// Site ID, which is used to identify the site.
	Id *string `json:"Id,omitempty" name:"Id"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: Connect via the name server.
	// - `partial`: Connect via the CNAME.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Custom site information
	VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
}

Predefined struct for user

type ModifyZoneResponse

type ModifyZoneResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneResponseParams `json:"Response"`
}

func NewModifyZoneResponse

func NewModifyZoneResponse() (response *ModifyZoneResponse)

func (*ModifyZoneResponse) FromJsonString

func (r *ModifyZoneResponse) 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 (*ModifyZoneResponse) ToJsonString

func (r *ModifyZoneResponse) ToJsonString() string

type ModifyZoneResponseParams

type ModifyZoneResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Name server used by the site
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// Site status.
	// - `pending`: The name server is not connected.
	// - `active`: The name server is connected.
	// - `moved`: The name server is moved.
	Status *string `json:"Status,omitempty" name:"Status"`

	// Specifies how the site is connected to EdgeOne.
	// - `full`: Connect via the name server.
	// - `partial`: Connect via the CNAME.
	Type *string `json:"Type,omitempty" name:"Type"`

	// List of name servers assigned by Tencent Cloud
	NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`

	// Creation time
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Modification time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// CNAME access status.
	// - `finished`: Ownership of the site is verified.
	// - `pending`: Verifying the ownership of the site.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`

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

Predefined struct for user

type ModifyZoneSettingRequest

type ModifyZoneSettingRequest struct {
	*tchttp.BaseRequest

	// ID of the site to be modified
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Cache expiration time
	Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"`

	// Node cache key
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// Browser cache configuration
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// Offline cache
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// QUIC access
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// Maximum size of files transferred over POST request
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// Smart compression configuration
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// HTTP2 origin-pull configuration
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

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

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

	// Smart acceleration configuration
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// WebSocket configuration
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// Origin-pull client IP header configuration
	ClientIpHeader *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
}

func NewModifyZoneSettingRequest

func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)

func (*ModifyZoneSettingRequest) FromJsonString

func (r *ModifyZoneSettingRequest) 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 (*ModifyZoneSettingRequest) ToJsonString

func (r *ModifyZoneSettingRequest) ToJsonString() string

type ModifyZoneSettingRequestParams

type ModifyZoneSettingRequestParams struct {
	// ID of the site to be modified
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Cache expiration time
	Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"`

	// Node cache key
	CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`

	// Browser cache configuration
	MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`

	// Offline cache
	OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`

	// QUIC access
	Quic *Quic `json:"Quic,omitempty" name:"Quic"`

	// Maximum size of files transferred over POST request
	PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`

	// Smart compression configuration
	Compression *Compression `json:"Compression,omitempty" name:"Compression"`

	// HTTP2 origin-pull configuration
	UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`

	// Force HTTPS redirect configuration
	ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`

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

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

	// Smart acceleration configuration
	SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`

	// WebSocket configuration
	WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`

	// Origin-pull client IP header configuration
	ClientIpHeader *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`

	CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
}

Predefined struct for user

type ModifyZoneSettingResponse

type ModifyZoneSettingResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneSettingResponseParams `json:"Response"`
}

func NewModifyZoneSettingResponse

func NewModifyZoneSettingResponse() (response *ModifyZoneSettingResponse)

func (*ModifyZoneSettingResponse) FromJsonString

func (r *ModifyZoneSettingResponse) 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 (*ModifyZoneSettingResponse) ToJsonString

func (r *ModifyZoneSettingResponse) ToJsonString() string

type ModifyZoneSettingResponseParams

type ModifyZoneSettingResponseParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

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

Predefined struct for user

type ModifyZoneStatusRequest

type ModifyZoneStatusRequest struct {
	*tchttp.BaseRequest

	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site status.
	// - `false`: Enable the site.
	// - `true`: Disable the site.
	Paused *bool `json:"Paused,omitempty" name:"Paused"`
}

func NewModifyZoneStatusRequest

func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)

func (*ModifyZoneStatusRequest) FromJsonString

func (r *ModifyZoneStatusRequest) 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 (*ModifyZoneStatusRequest) ToJsonString

func (r *ModifyZoneStatusRequest) ToJsonString() string

type ModifyZoneStatusRequestParams

type ModifyZoneStatusRequestParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site status.
	// - `false`: Enable the site.
	// - `true`: Disable the site.
	Paused *bool `json:"Paused,omitempty" name:"Paused"`
}

Predefined struct for user

type ModifyZoneStatusResponse

type ModifyZoneStatusResponse struct {
	*tchttp.BaseResponse
	Response *ModifyZoneStatusResponseParams `json:"Response"`
}

func NewModifyZoneStatusResponse

func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)

func (*ModifyZoneStatusResponse) FromJsonString

func (r *ModifyZoneStatusResponse) 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 (*ModifyZoneStatusResponse) ToJsonString

func (r *ModifyZoneStatusResponse) ToJsonString() string

type ModifyZoneStatusResponseParams

type ModifyZoneStatusResponseParams struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// Site status.
	// - `false`: Enable the site.
	// - `true`: Disable the site.
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// Update time
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

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

Predefined struct for user

type OfflineCache

type OfflineCache struct {
	// Whether to enable offline cache. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Origin

type Origin struct {
	// Origin-pull protocol.
	// `http`: Switch HTTPS requests to HTTP
	// `follow`: Follow the protocol of the request.
	// `https`: Switch HTTP requests to HTTPS. This only supports port 443 on the origin server.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`
}

type OriginCheckOriginStatus

type OriginCheckOriginStatus struct {
	Status *string `json:"Status,omitempty" name:"Status"`

	Host []*string `json:"Host,omitempty" name:"Host"`
}

type OriginGroup

type OriginGroup struct {
	// Origin group ID
	OriginId *string `json:"OriginId,omitempty" name:"OriginId"`

	// Origin group name
	OriginName *string `json:"OriginName,omitempty" name:"OriginName"`

	// Origin server type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Record
	Record []*OriginRecord `json:"Record,omitempty" name:"Record"`

	// Update time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`

	// Site name
	ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`

	// Origin server type
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	OriginType *string `json:"OriginType,omitempty" name:"OriginType"`

	// Whether the origin group is used for layer-4 proxy
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitempty" name:"ApplicationProxyUsed"`

	// Whether the origin group is used for load balancing
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitempty" name:"LoadBalancingUsed"`

	Status *OriginCheckOriginStatus `json:"Status,omitempty" name:"Status"`

	LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitempty" name:"LoadBalancingUsedType"`
}

type OriginRecord

type OriginRecord struct {
	// Record value
	Record *string `json:"Record,omitempty" name:"Record"`

	// Region of the origin group. It’s available when the origin group `Type` is `area`.
	// If it’s left empty, it means to use the default region.
	Area []*string `json:"Area,omitempty" name:"Area"`

	// The weight of the origin group. It’s available when the `Type` is `weight`.
	Weight *uint64 `json:"Weight,omitempty" name:"Weight"`

	// Port
	Port *uint64 `json:"Port,omitempty" name:"Port"`

	// Record ID
	RecordId *string `json:"RecordId,omitempty" name:"RecordId"`

	// Specifies whether to run private origin authentication.
	// It is valid only when `OriginType=third_part`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Private *bool `json:"Private,omitempty" name:"Private"`

	// Private origin parameter.
	// It is valid only when `Private=true`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	PrivateParameter []*OriginRecordPrivateParameter `json:"PrivateParameter,omitempty" name:"PrivateParameter"`
}

type OriginRecordPrivateParameter

type OriginRecordPrivateParameter struct {
	// Name of the private origin authentication parameter.
	// `AccessKeyId`: Access key ID
	// `SecretAccessKey`: Secret access key
	Name *string `json:"Name,omitempty" name:"Name"`

	// Value of the private origin authentication parameter
	Value *string `json:"Value,omitempty" name:"Value"`
}

type PostMaxSize

type PostMaxSize struct {
	// Specifies whether to enable custom setting of the maximum file size.
	// `off`: Disable. In this case, the max size defaults to 32 MB.
	// `on`: Enable. You can set a custom max size.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Maximum size. Value range: 1-500 MB.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"`
}

type QueryString

type QueryString struct {
	// Whether to use `QueryString` as part of `CacheKey`. Valid values: `on` and `off`.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// `includeCustom`: Include the specified query strings.
	// `excludeCustom`: Exclude the specified query strings.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Action *string `json:"Action,omitempty" name:"Action"`

	// Array of query strings used/excluded
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Value []*string `json:"Value,omitempty" name:"Value"`
}

type Quic

type Quic struct {
	// Whether to enable QUIC
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type ReclaimZoneRequest

type ReclaimZoneRequest struct {
	*tchttp.BaseRequest

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`
}

func NewReclaimZoneRequest

func NewReclaimZoneRequest() (request *ReclaimZoneRequest)

func (*ReclaimZoneRequest) FromJsonString

func (r *ReclaimZoneRequest) 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 (*ReclaimZoneRequest) ToJsonString

func (r *ReclaimZoneRequest) ToJsonString() string

type ReclaimZoneRequestParams

type ReclaimZoneRequestParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`
}

Predefined struct for user

type ReclaimZoneResponse

type ReclaimZoneResponse struct {
	*tchttp.BaseResponse
	Response *ReclaimZoneResponseParams `json:"Response"`
}

func NewReclaimZoneResponse

func NewReclaimZoneResponse() (response *ReclaimZoneResponse)

func (*ReclaimZoneResponse) FromJsonString

func (r *ReclaimZoneResponse) 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 (*ReclaimZoneResponse) ToJsonString

func (r *ReclaimZoneResponse) ToJsonString() string

type ReclaimZoneResponseParams

type ReclaimZoneResponseParams struct {
	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

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

Predefined struct for user

type ScanDnsRecordsRequest

type ScanDnsRecordsRequest struct {
	*tchttp.BaseRequest

	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

func NewScanDnsRecordsRequest

func NewScanDnsRecordsRequest() (request *ScanDnsRecordsRequest)

func (*ScanDnsRecordsRequest) FromJsonString

func (r *ScanDnsRecordsRequest) 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 (*ScanDnsRecordsRequest) ToJsonString

func (r *ScanDnsRecordsRequest) ToJsonString() string

type ScanDnsRecordsRequestParams

type ScanDnsRecordsRequestParams struct {
	// Site ID
	ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}

Predefined struct for user

type ScanDnsRecordsResponse

type ScanDnsRecordsResponse struct {
	*tchttp.BaseResponse
	Response *ScanDnsRecordsResponseParams `json:"Response"`
}

func NewScanDnsRecordsResponse

func NewScanDnsRecordsResponse() (response *ScanDnsRecordsResponse)

func (*ScanDnsRecordsResponse) FromJsonString

func (r *ScanDnsRecordsResponse) 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 (*ScanDnsRecordsResponse) ToJsonString

func (r *ScanDnsRecordsResponse) ToJsonString() string

type ScanDnsRecordsResponseParams

type ScanDnsRecordsResponseParams struct {
	// Scan status
	// - `doing`: Scanning
	// - `done`: Scanned
	Status *string `json:"Status,omitempty" name:"Status"`

	// Number of DNS records added after scanning
	RecordsAdded *int64 `json:"RecordsAdded,omitempty" name:"RecordsAdded"`

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

Predefined struct for user

type ServerCertInfo

type ServerCertInfo struct {
	// Server certificate ID, which is the ID of the default certificate. If you choose to upload an external certificate for SSL certificate management, a certificate ID will be generated.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CertId *string `json:"CertId,omitempty" name:"CertId"`

	// Alias of the certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Alias *string `json:"Alias,omitempty" name:"Alias"`

	// Certificate type.
	// `default`: Default certificate
	// `upload`: External certificate
	// `managed`: Tencent Cloud managed certificate
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Time when the certificate expires
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`

	// Certificate deployment time
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`

	// Certificate deployment status.
	// `processing`: Deploying
	// `deployed`: Deployed
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	Status *string `json:"Status,omitempty" name:"Status"`
}

type SmartRouting

type SmartRouting struct {
	// Whether to enable smart acceleration
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type Task

type Task struct {
	// Task ID
	JobId *string `json:"JobId,omitempty" name:"JobId"`

	// Status of the task
	Status *string `json:"Status,omitempty" name:"Status"`

	// Resource
	Target *string `json:"Target,omitempty" name:"Target"`

	// Task type
	Type *string `json:"Type,omitempty" name:"Type"`

	// Task creation time
	CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`

	// Task completion time
	UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}

type UpstreamHttp2

type UpstreamHttp2 struct {
	// Whether to enable HTTP2 origin-pull
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitempty" name:"Switch"`
}

type VanityNameServers

type VanityNameServers struct {
	// Whether to enable the custom name server
	// `on`: Enable
	// `off`: Disable
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// List of custom name servers
	Servers []*string `json:"Servers,omitempty" name:"Servers"`
}

type VanityNameServersIps

type VanityNameServersIps struct {
	// Name of the custom name server
	Name *string `json:"Name,omitempty" name:"Name"`

	// IPv4 address of the custom name server
	IPv4 *string `json:"IPv4,omitempty" name:"IPv4"`
}

type WebSocket

type WebSocket struct {
	// Whether to enable custom WebSocket timeout setting. When it’s `off`: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to `on`.
	Switch *string `json:"Switch,omitempty" name:"Switch"`

	// Sets timeout period in seconds. Maximum value: 120
	Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"`
}

type Zone

type Zone struct {
	// Site ID
	Id *string `json:"Id,omitempty" name:"Id"`

	// Site name
	Name *string `json:"Name,omitempty" name:"Name"`

	// List of name servers used by the site
	OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`

	// List of name servers assigned by Tencent Cloud
	NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`

	// Site status
	// - `active`: The name server is switched.
	// - `pending`: The name server is not switched.
	// - `moved`: The name server is moved.
	// - `deactivated`: The name server is blocked.
	Status *string `json:"Status,omitempty" name:"Status"`

	// How the site is connected to EdgeOne.
	// - `full`: The site is connected via name server.
	// - `partial`: The site is connected via CNAME.
	Type *string `json:"Type,omitempty" name:"Type"`

	// Indicates whether the site is disabled
	Paused *bool `json:"Paused,omitempty" name:"Paused"`

	// Site creation date
	CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`

	// Site modification date
	ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`

	// Ownership verification status of the site when it is connected to EdgeOne via CNAME.
	// - `finished`: The site is verified.
	// - `pending`: Verifying the ownership of the site.
	// Note: This field may return `null`, indicating that no valid value can be obtained.
	CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`
}

type ZoneFilter

type ZoneFilter struct {
	// Filters by the field name. Vaules:
	// - `name`: Site name.
	// - `status`: Site status.
	Name *string `json:"Name,omitempty" name:"Name"`

	// Filters by the field value
	Values []*string `json:"Values,omitempty" name:"Values"`

	// Specifies whether to enable fuzzy query. It’s only available when filter name is `name`. If it’s enabled, the length of `Values` must be 1.
	Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}

Jump to

Keyboard shortcuts

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