Documentation ¶
Index ¶
- Constants
- type AccelerateMainland
- type AccelerateType
- type AccelerationDomain
- type AccelerationDomainCertificate
- type AclCondition
- type AclConfig
- type AclUserRule
- type Action
- type AdvancedFilter
- type AiRule
- type AlgDetectJS
- type AlgDetectResult
- type AlgDetectRule
- type AlgDetectSession
- type AliasDomain
- type ApplicationProxy
- type ApplicationProxyRule
- type AscriptionInfo
- type BindSecurityTemplateToEntityRequest
- type BindSecurityTemplateToEntityRequestParams
- type BindSecurityTemplateToEntityResponse
- type BindSecurityTemplateToEntityResponseParams
- type BindSharedCNAMEMap
- type BindSharedCNAMERequest
- type BindSharedCNAMERequestParams
- type BindSharedCNAMEResponse
- type BindSharedCNAMEResponseParams
- type BindZoneToPlanRequest
- type BindZoneToPlanRequestParams
- type BindZoneToPlanResponse
- type BindZoneToPlanResponseParams
- type BotConfig
- type BotExtendAction
- type BotManagedRule
- type BotPortraitRule
- type BotUserRule
- type CC
- type Cache
- type CacheConfig
- type CacheKey
- type CachePrefresh
- type CertificateInfo
- type CheckCnameStatusRequest
- type CheckCnameStatusRequestParams
- type CheckCnameStatusResponse
- type CheckCnameStatusResponseParams
- type Client
- func (c *Client) BindSecurityTemplateToEntity(request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
- func (c *Client) BindSecurityTemplateToEntityWithContext(ctx context.Context, request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
- func (c *Client) BindSharedCNAME(request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
- func (c *Client) BindSharedCNAMEWithContext(ctx context.Context, request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
- func (c *Client) BindZoneToPlan(request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
- func (c *Client) BindZoneToPlanWithContext(ctx context.Context, request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
- func (c *Client) CheckCnameStatus(request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
- func (c *Client) CheckCnameStatusWithContext(ctx context.Context, request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
- func (c *Client) CreateAccelerationDomain(request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
- func (c *Client) CreateAccelerationDomainWithContext(ctx context.Context, request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
- func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
- func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
- func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
- func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
- func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
- func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
- func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
- func (c *Client) CreateOriginGroupWithContext(ctx context.Context, request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
- func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
- func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
- func (c *Client) CreatePrefetchTask(request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
- func (c *Client) CreatePrefetchTaskWithContext(ctx context.Context, request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
- func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
- func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
- func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateSecurityIPGroup(request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
- func (c *Client) CreateSecurityIPGroupWithContext(ctx context.Context, request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
- func (c *Client) CreateSharedCNAME(request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
- func (c *Client) CreateSharedCNAMEWithContext(ctx context.Context, request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
- func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
- func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
- func (c *Client) DeleteAccelerationDomains(request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
- func (c *Client) DeleteAccelerationDomainsWithContext(ctx context.Context, request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
- func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
- func (c *Client) DeleteAliasDomainWithContext(ctx context.Context, request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
- func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
- func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
- func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
- func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
- func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
- func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
- func (c *Client) DeleteRules(request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
- func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
- func (c *Client) DeleteSecurityIPGroup(request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
- func (c *Client) DeleteSecurityIPGroupWithContext(ctx context.Context, request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
- func (c *Client) DeleteSharedCNAME(request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
- func (c *Client) DeleteSharedCNAMEWithContext(ctx context.Context, request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
- func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
- func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
- func (c *Client) DescribeAccelerationDomains(request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
- func (c *Client) DescribeAccelerationDomainsWithContext(ctx context.Context, request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
- func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
- func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
- func (c *Client) DescribeApplicationProxies(request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
- func (c *Client) DescribeApplicationProxiesWithContext(ctx context.Context, request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
- func (c *Client) DescribeAvailablePlans(request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
- func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
- func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
- func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
- func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
- func (c *Client) DescribeDDoSAttackDataWithContext(ctx context.Context, request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
- func (c *Client) DescribeDDoSAttackEvent(request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
- func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
- func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
- func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
- func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
- func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
- func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
- func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
- func (c *Client) DescribeIdentifications(request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
- func (c *Client) DescribeIdentificationsWithContext(ctx context.Context, request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
- func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
- func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
- func (c *Client) DescribeOriginProtection(request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
- func (c *Client) DescribeOriginProtectionWithContext(ctx context.Context, request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
- func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
- func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
- func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
- func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
- func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
- func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
- func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
- func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
- func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeSecurityTemplateBindings(request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
- func (c *Client) DescribeSecurityTemplateBindingsWithContext(ctx context.Context, request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
- func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
- func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
- func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
- func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
- func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
- func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
- func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
- func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DownloadL4Logs(request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
- func (c *Client) DownloadL4LogsWithContext(ctx context.Context, request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
- func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
- func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
- func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
- func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
- func (c *Client) ModifyAccelerationDomain(request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
- func (c *Client) ModifyAccelerationDomainStatuses(request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
- func (c *Client) ModifyAccelerationDomainStatusesWithContext(ctx context.Context, request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
- func (c *Client) ModifyAccelerationDomainWithContext(ctx context.Context, request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
- func (c *Client) ModifyAliasDomain(request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
- func (c *Client) ModifyAliasDomainStatus(request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
- func (c *Client) ModifyAliasDomainStatusWithContext(ctx context.Context, request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
- func (c *Client) ModifyAliasDomainWithContext(ctx context.Context, request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
- func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
- func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
- func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
- func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
- func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
- func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
- func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
- func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
- func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifySecurityIPGroup(request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
- func (c *Client) ModifySecurityIPGroupWithContext(ctx context.Context, request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
- func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
- func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
- func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
- func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
- func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
- func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
- func (c *Client) VerifyOwnership(request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
- func (c *Client) VerifyOwnershipWithContext(ctx context.Context, request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
- type ClientIpCountry
- type ClientIpHeader
- type CnameStatus
- type CodeAction
- type Compression
- type CreateAccelerationDomainRequest
- type CreateAccelerationDomainRequestParams
- type CreateAccelerationDomainResponse
- type CreateAccelerationDomainResponseParams
- type CreateAliasDomainRequest
- type CreateAliasDomainRequestParams
- type CreateAliasDomainResponse
- type CreateAliasDomainResponseParams
- type CreateApplicationProxyRequest
- type CreateApplicationProxyRequestParams
- type CreateApplicationProxyResponse
- type CreateApplicationProxyResponseParams
- type CreateApplicationProxyRuleRequest
- type CreateApplicationProxyRuleRequestParams
- type CreateApplicationProxyRuleResponse
- type CreateApplicationProxyRuleResponseParams
- type CreateOriginGroupRequest
- type CreateOriginGroupRequestParams
- type CreateOriginGroupResponse
- type CreateOriginGroupResponseParams
- type CreatePlanForZoneRequest
- type CreatePlanForZoneRequestParams
- type CreatePlanForZoneResponse
- type CreatePlanForZoneResponseParams
- type CreatePrefetchTaskRequest
- type CreatePrefetchTaskRequestParams
- type CreatePrefetchTaskResponse
- type CreatePrefetchTaskResponseParams
- type CreatePurgeTaskRequest
- type CreatePurgeTaskRequestParams
- type CreatePurgeTaskResponse
- type CreatePurgeTaskResponseParams
- type CreateRuleRequest
- type CreateRuleRequestParams
- type CreateRuleResponse
- type CreateRuleResponseParams
- type CreateSecurityIPGroupRequest
- type CreateSecurityIPGroupRequestParams
- type CreateSecurityIPGroupResponse
- type CreateSecurityIPGroupResponseParams
- type CreateSharedCNAMERequest
- type CreateSharedCNAMERequestParams
- type CreateSharedCNAMEResponse
- type CreateSharedCNAMEResponseParams
- type CreateZoneRequest
- type CreateZoneRequestParams
- type CreateZoneResponse
- type CreateZoneResponseParams
- type DDoS
- type DDoSAttackEvent
- type DDoSBlockData
- type DefaultServerCertInfo
- type DeleteAccelerationDomainsRequest
- type DeleteAccelerationDomainsRequestParams
- type DeleteAccelerationDomainsResponse
- type DeleteAccelerationDomainsResponseParams
- type DeleteAliasDomainRequest
- type DeleteAliasDomainRequestParams
- type DeleteAliasDomainResponse
- type DeleteAliasDomainResponseParams
- type DeleteApplicationProxyRequest
- type DeleteApplicationProxyRequestParams
- type DeleteApplicationProxyResponse
- type DeleteApplicationProxyResponseParams
- type DeleteApplicationProxyRuleRequest
- type DeleteApplicationProxyRuleRequestParams
- type DeleteApplicationProxyRuleResponse
- type DeleteApplicationProxyRuleResponseParams
- type DeleteOriginGroupRequest
- type DeleteOriginGroupRequestParams
- type DeleteOriginGroupResponse
- type DeleteOriginGroupResponseParams
- type DeleteRulesRequest
- type DeleteRulesRequestParams
- type DeleteRulesResponse
- type DeleteRulesResponseParams
- type DeleteSecurityIPGroupRequest
- type DeleteSecurityIPGroupRequestParams
- type DeleteSecurityIPGroupResponse
- type DeleteSecurityIPGroupResponseParams
- type DeleteSharedCNAMERequest
- type DeleteSharedCNAMERequestParams
- type DeleteSharedCNAMEResponse
- type DeleteSharedCNAMEResponseParams
- type DeleteZoneRequest
- type DeleteZoneRequestParams
- type DeleteZoneResponse
- type DeleteZoneResponseParams
- type DescribeAccelerationDomainsRequest
- type DescribeAccelerationDomainsRequestParams
- type DescribeAccelerationDomainsResponse
- type DescribeAccelerationDomainsResponseParams
- type DescribeAliasDomainsRequest
- type DescribeAliasDomainsRequestParams
- type DescribeAliasDomainsResponse
- type DescribeAliasDomainsResponseParams
- type DescribeApplicationProxiesRequest
- type DescribeApplicationProxiesRequestParams
- type DescribeApplicationProxiesResponse
- type DescribeApplicationProxiesResponseParams
- type DescribeAvailablePlansRequest
- type DescribeAvailablePlansRequestParams
- type DescribeAvailablePlansResponse
- type DescribeAvailablePlansResponseParams
- type DescribeContentQuotaRequest
- type DescribeContentQuotaRequestParams
- type DescribeContentQuotaResponse
- type DescribeContentQuotaResponseParams
- type DescribeDDoSAttackDataRequest
- type DescribeDDoSAttackDataRequestParams
- type DescribeDDoSAttackDataResponse
- type DescribeDDoSAttackDataResponseParams
- type DescribeDDoSAttackEventRequest
- type DescribeDDoSAttackEventRequestParams
- type DescribeDDoSAttackEventResponse
- type DescribeDDoSAttackEventResponseParams
- type DescribeDDoSAttackTopDataRequest
- type DescribeDDoSAttackTopDataRequestParams
- type DescribeDDoSAttackTopDataResponse
- type DescribeDDoSAttackTopDataResponseParams
- type DescribeDefaultCertificatesRequest
- type DescribeDefaultCertificatesRequestParams
- type DescribeDefaultCertificatesResponse
- type DescribeDefaultCertificatesResponseParams
- type DescribeHostsSettingRequest
- type DescribeHostsSettingRequestParams
- type DescribeHostsSettingResponse
- type DescribeHostsSettingResponseParams
- type DescribeIdentificationsRequest
- type DescribeIdentificationsRequestParams
- type DescribeIdentificationsResponse
- type DescribeIdentificationsResponseParams
- type DescribeOriginGroupRequest
- type DescribeOriginGroupRequestParams
- type DescribeOriginGroupResponse
- type DescribeOriginGroupResponseParams
- type DescribeOriginProtectionRequest
- type DescribeOriginProtectionRequestParams
- type DescribeOriginProtectionResponse
- type DescribeOriginProtectionResponseParams
- type DescribeOverviewL7DataRequest
- type DescribeOverviewL7DataRequestParams
- type DescribeOverviewL7DataResponse
- type DescribeOverviewL7DataResponseParams
- type DescribePrefetchTasksRequest
- type DescribePrefetchTasksRequestParams
- type DescribePrefetchTasksResponse
- type DescribePrefetchTasksResponseParams
- type DescribePurgeTasksRequest
- type DescribePurgeTasksRequestParams
- type DescribePurgeTasksResponse
- type DescribePurgeTasksResponseParams
- type DescribeRulesRequest
- type DescribeRulesRequestParams
- type DescribeRulesResponse
- type DescribeRulesResponseParams
- type DescribeRulesSettingRequest
- type DescribeRulesSettingRequestParams
- type DescribeRulesSettingResponse
- type DescribeRulesSettingResponseParams
- type DescribeSecurityTemplateBindingsRequest
- type DescribeSecurityTemplateBindingsRequestParams
- type DescribeSecurityTemplateBindingsResponse
- type DescribeSecurityTemplateBindingsResponseParams
- type DescribeTimingL4DataRequest
- type DescribeTimingL4DataRequestParams
- type DescribeTimingL4DataResponse
- type DescribeTimingL4DataResponseParams
- type DescribeTimingL7AnalysisDataRequest
- type DescribeTimingL7AnalysisDataRequestParams
- type DescribeTimingL7AnalysisDataResponse
- type DescribeTimingL7AnalysisDataResponseParams
- type DescribeTimingL7CacheDataRequest
- type DescribeTimingL7CacheDataRequestParams
- type DescribeTimingL7CacheDataResponse
- type DescribeTimingL7CacheDataResponseParams
- type DescribeTopL7AnalysisDataRequest
- type DescribeTopL7AnalysisDataRequestParams
- type DescribeTopL7AnalysisDataResponse
- type DescribeTopL7AnalysisDataResponseParams
- type DescribeTopL7CacheDataRequest
- type DescribeTopL7CacheDataRequestParams
- type DescribeTopL7CacheDataResponse
- type DescribeTopL7CacheDataResponseParams
- type DescribeZoneSettingRequest
- type DescribeZoneSettingRequestParams
- type DescribeZoneSettingResponse
- type DescribeZoneSettingResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DetailHost
- type DiffIPWhitelist
- type DnsVerification
- type DownloadL4LogsRequest
- type DownloadL4LogsRequestParams
- type DownloadL4LogsResponse
- type DownloadL4LogsResponseParams
- type DownloadL7LogsRequest
- type DownloadL7LogsRequestParams
- type DownloadL7LogsResponse
- type DownloadL7LogsResponseParams
- type DropPageConfig
- type DropPageDetail
- type EntityStatus
- type ExceptConfig
- type ExceptUserRule
- type ExceptUserRuleCondition
- type ExceptUserRuleScope
- type FailReason
- type FileAscriptionInfo
- type FileVerification
- type Filter
- type FirstPartConfig
- type FollowOrigin
- type ForceRedirect
- type Grpc
- type Header
- type Hsts
- type Https
- type IPGroup
- type IPWhitelist
- type Identification
- type IdentifyZoneRequest
- type IdentifyZoneRequestParams
- type IdentifyZoneResponse
- type IdentifyZoneResponseParams
- type ImageOptimize
- type IntelligenceRule
- type IntelligenceRuleItem
- type IpTableConfig
- type IpTableRule
- type Ipv6
- type L4OfflineLog
- type L7OfflineLog
- type MaxAge
- type ModifyAccelerationDomainRequest
- type ModifyAccelerationDomainRequestParams
- type ModifyAccelerationDomainResponse
- type ModifyAccelerationDomainResponseParams
- type ModifyAccelerationDomainStatusesRequest
- type ModifyAccelerationDomainStatusesRequestParams
- type ModifyAccelerationDomainStatusesResponse
- type ModifyAccelerationDomainStatusesResponseParams
- type ModifyAliasDomainRequest
- type ModifyAliasDomainRequestParams
- type ModifyAliasDomainResponse
- type ModifyAliasDomainResponseParams
- type ModifyAliasDomainStatusRequest
- type ModifyAliasDomainStatusRequestParams
- type ModifyAliasDomainStatusResponse
- type ModifyAliasDomainStatusResponseParams
- type ModifyApplicationProxyRequest
- type ModifyApplicationProxyRequestParams
- type ModifyApplicationProxyResponse
- type ModifyApplicationProxyResponseParams
- type ModifyApplicationProxyRuleRequest
- type ModifyApplicationProxyRuleRequestParams
- type ModifyApplicationProxyRuleResponse
- type ModifyApplicationProxyRuleResponseParams
- type ModifyApplicationProxyRuleStatusRequest
- type ModifyApplicationProxyRuleStatusRequestParams
- type ModifyApplicationProxyRuleStatusResponse
- type ModifyApplicationProxyRuleStatusResponseParams
- type ModifyApplicationProxyStatusRequest
- type ModifyApplicationProxyStatusRequestParams
- type ModifyApplicationProxyStatusResponse
- type ModifyApplicationProxyStatusResponseParams
- type ModifyHostsCertificateRequest
- type ModifyHostsCertificateRequestParams
- type ModifyHostsCertificateResponse
- type ModifyHostsCertificateResponseParams
- type ModifyOriginGroupRequest
- type ModifyOriginGroupRequestParams
- type ModifyOriginGroupResponse
- type ModifyOriginGroupResponseParams
- type ModifyRuleRequest
- type ModifyRuleRequestParams
- type ModifyRuleResponse
- type ModifyRuleResponseParams
- type ModifySecurityIPGroupRequest
- type ModifySecurityIPGroupRequestParams
- type ModifySecurityIPGroupResponse
- type ModifySecurityIPGroupResponseParams
- type ModifySecurityPolicyRequest
- type ModifySecurityPolicyRequestParams
- type ModifySecurityPolicyResponse
- type ModifySecurityPolicyResponseParams
- type ModifyZoneRequest
- type ModifyZoneRequestParams
- type ModifyZoneResponse
- type ModifyZoneResponseParams
- type ModifyZoneSettingRequest
- type ModifyZoneSettingRequestParams
- type ModifyZoneSettingResponse
- type ModifyZoneSettingResponseParams
- type ModifyZoneStatusRequest
- type ModifyZoneStatusRequestParams
- type ModifyZoneStatusResponse
- type ModifyZoneStatusResponseParams
- type NoCache
- type NormalAction
- type NsVerification
- type OfflineCache
- type Origin
- type OriginDetail
- type OriginGroup
- type OriginGroupReference
- type OriginInfo
- type OriginProtectionInfo
- type OriginRecord
- type OwnershipVerification
- type PartialModule
- type PlanInfo
- type PostMaxSize
- type PrivateParameter
- type QueryCondition
- type QueryString
- type Quic
- type Quota
- type RateLimitConfig
- type RateLimitIntelligence
- type RateLimitTemplate
- type RateLimitTemplateDetail
- type RateLimitUserRule
- type Resource
- type RewriteAction
- type Rule
- type RuleAndConditions
- type RuleChoicePropertiesItem
- type RuleCodeActionParams
- type RuleCondition
- type RuleExtraParameter
- type RuleItem
- type RuleNormalActionParams
- type RuleRewriteActionParams
- type RulesProperties
- type RulesSettingAction
- type SecEntry
- type SecEntryValue
- type SecurityConfig
- type SecurityTemplateBinding
- type SecurityType
- type ServerCertInfo
- type SkipCondition
- type SlowPostConfig
- type SlowRateConfig
- type SmartRouting
- type StandardDebug
- type SubRule
- type SubRuleItem
- type Sv
- type SwitchConfig
- type Tag
- type Task
- type TemplateConfig
- type TemplateScope
- type TimingDataItem
- type TimingDataRecord
- type TimingTypeValue
- type TopDataRecord
- type TopDetailData
- type TopEntry
- type TopEntryValue
- type UpstreamHttp2
- type VanityNameServers
- type VanityNameServersIps
- type VerifyOwnershipRequest
- type VerifyOwnershipRequestParams
- type VerifyOwnershipResponse
- type VerifyOwnershipResponseParams
- type Waf
- type WafConfig
- type WafRule
- type WebSocket
- type Zone
- type ZoneSetting
Constants ¶
const ( // DryRun operation, which means the DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // Failed to publish: The certificate has expired. FAILEDOPERATION_CERTIFICATEHASEXPIRED = "FailedOperation.CertificateHasExpired" // The certificate does not exist. FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" // Insufficient account balance FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" // The site status is invalid. FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" // Operation failed. FAILEDOPERATION_MODIFYFAILED = "FailedOperation.ModifyFailed" // Internal error. INTERNALERROR = "InternalError" // Server error. INTERNALERROR_BACKENDERROR = "InternalError.BackendError" // The configuration is locked. Please unlock and try again. INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" // Database error. INTERNALERROR_DBERROR = "InternalError.DBError" // 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" // The backend routing address is incorrect. INTERNALERROR_ROUTEERROR = "InternalError.RouteError" // Internal system error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Unknown error. INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // The regex is not in the standard RE2 format. INVALIDPARAMETER_ACCESSREDIRECTREGEXERROR = "InvalidParameter.AccessRedirectRegexError" // Too many attempts. Please try again later. INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" // Cu200dhinese SM certificates are not supported for alias domain names. INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert" // Invalid query string. INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff" // The query string has too many values. INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" // Mismatch between the HTTPS certificate and the domain name. INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" // Internal error. INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" // The HTTPS certificate is about to expire. INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" // Certificate error. INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" // IPv6 access conflicts with client IP geographical location. INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" // Unable to apply for a wildcard certificate under CNAME mode. INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" // The origin cannot be the same as the domain name. INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" // The domain name does not exist or is not belong to this account. INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" // Traffic scheduling is already enabled for the current domain name. INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" // The current conditions do not support the requested operation. INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" // Invalid operation. INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" // Invalid operation: Duplicate operation configuration. INVALIDPARAMETER_ERRINVALIDACTIONDUPLICATEACTION = "InvalidParameter.ErrInvalidActionDuplicateAction" // Invalid operation: Invalid parameter. INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" // Invalid parameter "action". INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" // Invalid value type for the parameter "action". INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" // Invalid parameter: Duplicate parameter names. INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" // Invalid value type for the parameter "action". INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" // Invalid parameter: The parameter has too many values. INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" // Invalid action. INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" // Invalid action type. INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" // Invalid conditions. INVALIDPARAMETER_ERRINVALIDCONDITION = "InvalidParameter.ErrInvalidCondition" // You can only configure one host matching type when modifying the origin. INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured" // Invalid condition: The letter case is ignored. INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" // Invalid condition: Invalid parameter name. INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" // Invalid condition: The match type is not supported by this parameter. INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" // Invalid condition: Invalid regular expression for the parameter value. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" // Invalid parameter value "url". INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" // Invalid condition: The parameter value is invalid. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" // Invalid parameter value: File extension is not allowed. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" // Invalid condition: The parameter value exceeds the limit. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" // The condition has too many regular expressions. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYREGULAR = "InvalidParameter.ErrInvalidConditionValueTooManyRegular" // Invalid condition: The parameter value exceeds the limit. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" // Invalid condition: Too many wildcards in the parameter. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" // Invalid condition: The parameter value is 0. INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" // ELSE is not supported for origin server modification. INVALIDPARAMETER_ERRINVALIDELSEWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidElseWhenModifyOriginActionConfigured" // Empty condition. INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" // To enable gRPC support, HTTP/2 support must be enabled as well. INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" // Host header error INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" // The domain name does not exist. INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" // CNAME is not switched or the origin is not routed to the EdgeOne server. INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" // Parameter error. INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" // Invalid token authentication. INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" // Invalid token authentication expiration time. INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPEEXPIRETIME = "InvalidParameter.InvalidAuthenticationTypeExpireTime" // Invalid key for token authentication. INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" // Invalid token authentication parameter. INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" // Invalid authentication token format. INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEFORMAT = "InvalidParameter.InvalidAuthenticationTypeTimeFormat" // Invalid authentication token parameter. INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEPARAM = "InvalidParameter.InvalidAuthenticationTypeTimeParam" // Invalid third-party object storage. INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" // Invalid region. Please fill in a correct region of the third-party object storage service. INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" // Invalid third-party object storage. INVALIDPARAMETER_INVALIDAWSSECRETKEY = "InvalidParameter.InvalidAwsSecretKey" // Invalid secondary origin domain. INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" // Invalid node cache. INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" // Invalid node cache. The origin behavior is followed. INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" // Invalid cache key. INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" // Invalid cache key cookie. INVALIDPARAMETER_INVALIDCACHEKEYCOOKIE = "InvalidParameter.InvalidCacheKeyCookie" // Cases are ignored in the cache key. INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" // Invalid query string. INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" // Invalid cache key scheme. INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" // Invalid node cache. INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" // Invalid node cache validity. INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" // Incorrect certificate information. INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" // Invalid client IP request header. INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" // Invalid origin for region-specific origin-pull. INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" // Invalid origin-pull configuration. When `OriginType` is `COS` or `AWS_S3`, the origin address must be an object storage domain name. INVALIDPARAMETER_INVALIDCOSDOMAIN = "InvalidParameter.InvalidCosDomain" // Invalid smart acceleration. INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" // The package does not support Smart Acceleration. INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" // Invalid custom error page. INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" // Invalid custom error page. INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" // Invalid forced HTTPS direction settings INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" // Invalid parameter "https". INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" // Invalid HTTPS certificate. INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" // The cipher suite does not match the TLS version. INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" // Invalid HTTPS HSTS. INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" // Invalid HTTPS TLS version. INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" // Invalid IPv6 settings. INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" // Invalid browser cache. INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" // Invalid origin server. INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" // The origin cannot be a private IP or loopback address. INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" // Incorrect origin server type. INVALIDPARAMETER_INVALIDORIGINTYPE = "InvalidParameter.InvalidOriginType" // Invalid parameter. INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // The speciThe plan does not support limiting the max upload size. INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" // Invalid POST request size. INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" // AccessKeyId and SecretAccessKey u200dare required to access the third-party object storage. INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" // The value of `PrivateAccess` should be `on` or `off`. INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = "InvalidParameter.InvalidPrivateAccessSwitch" // The plan does not support QUIC. INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" // Invalid Range GETs. INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" // Invalid request header. INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" // Invalid request header x-forwarded-for. INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" // Invalid request header. INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" // You have not purchased a plan yet. INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" // Invalid response header. INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" // Invalid response header. INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" // Invalid rule engine operation. INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" // The rule does not exist. INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" // Invalid rule engine condition. INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" // Invalid file extension in the rule engine condition. INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" // Invalid URL in the rule engine condition. INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" // Incorrect protocol of the rules. (TCP/UDP). INVALIDPARAMETER_INVALIDRULEPROTO = "InvalidParameter.InvalidRuleProto" // Invalid origin domain. INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" // Invalid client IP or CIDR block. INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" // The AllowClientIPList parameter is mandatory. The IPv4 and IPv6 network segments are supported. 0.0.0.0/0 indicates that all IPv4 clients can be debugged, and ::/0 indicates that all IPv6 clients can be debugged. INVALIDPARAMETER_INVALIDSTANDARDDEBUGEMPTYLIST = "InvalidParameter.InvalidStandardDebugEmptyList" // The expiration time is exceeded. INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" // Origin-pull request configuration error: Invalid query string. INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" // Invalid URL rewrite. INVALIDPARAMETER_INVALIDURLREDIRECT = "InvalidParameter.InvalidUrlRedirect" // Invalid target host in the URL rewriting rule. INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" // The target URL for URL rewrite is invalid. INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" // Invalid WebSocket. INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" // Invalid cache key. INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" // Maximum parameter length exceeded. INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" // Smart routing is not supported. INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting" // Unsupported preset variables exist. INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" // The domain name is configured to forward requests to the origin directly. iSmart Acceleration must be enabled. INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = "InvalidParameter.OCDirectOriginRequiresSmartRouting" // The origin address cannot be a private IP address. INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" // The origin group name already exists. INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" // The origin group ID is required. INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" // Incorrect origin server format. INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" // Incorrect key format. INVALIDPARAMETER_ORIGINTHIRDPARTYPARAMFORMATERROR = "InvalidParameter.OriginThirdPartyParamFormatError" // Parameter error: Invalid “End time”. The interval between the start and end time cannot exceed 7 days. INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" // The plan doesn’t exist. INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" // Maximum upload size exceeded. INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" // The instance name already exists. INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" // Incorrect origin server information format of the rules. INVALIDPARAMETER_RULEORIGINFORMATERROR = "InvalidParameter.RuleOriginFormatError" // The origin of the rule does not support multiple domain names. INVALIDPARAMETER_RULEORIGINMULTIDOMAIN = "InvalidParameter.RuleOriginMultiDomain" // The origin port of the rule must be an integer. INVALIDPARAMETER_RULEORIGINPORTINTEGER = "InvalidParameter.RuleOriginPortInteger" // Invalid origin in the rule. INVALIDPARAMETER_RULEORIGINVALUEERROR = "InvalidParameter.RuleOriginValueError" // The rule port already exists. INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" // Incorrect port number segment of the rules. INVALIDPARAMETER_RULEPORTGROUP = "InvalidParameter.RulePortGroup" // The port number of the rules must be an integer. INVALIDPARAMETER_RULEPORTINTEGER = "InvalidParameter.RulePortInteger" // Invalid parameter. INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" // Configuration parameter error. INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" // Shield Space is not bound with an origin. INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" // Resource error INVALIDPARAMETER_TARGET = "InvalidParameter.Target" // Failed to create the task INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" // Internal error. INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" // Too many filter values. INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" // Invalid file upload link. INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" // The site is already bound. INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" // The site is being upgraded. Changing is not supported. Please try again later. INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" // To switch a site from connecting without a domain name to connecting via the CNAME, the site name is required. INVALIDPARAMETER_ZONENAMEISREQUIRED = "InvalidParameter.ZoneNameIsRequired" // The site does not exist. INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" // Invalid parameter value. INVALIDPARAMETERVALUE = "InvalidParameterValue" // It conflicts with existing records. INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" // DNS records conflict with DNSSEC. INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" // This DNS record conflicts with NS records. INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" // The host record cannot be the same as the record value. INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" // The specified domain name does not match the site. INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" // Invalid alias domain suffix. This domain is for internal usage and cannot be used as the alias domain. INVALIDPARAMETERVALUE_INVALIDALIASNAMESUFFIX = "InvalidParameterValue.InvalidAliasNameSuffix" // Incorrect DNS record. INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" // Incorrect DNS record name. INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" // Invalid accelerated domain name. It can contain [0-9], [A-Z], [a-z] and [-]. It cannot start or end with "-". INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = "InvalidParameterValue.InvalidDomainName" // Invalid domain name. Please check the status. INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" // Incorrect DNS proxy INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" // Wildcard domain CNAMEs are not supported. INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME" // The specified origin group does not exist. INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists" // Enter a valid shared CNAME prefix of up to 50 characters. INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch" // The site alias already exists. INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" // The quota limit has been reached. LIMITEXCEEDED = "LimitExceeded" // Reached the upper limit of resource number LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" // Reached the daily upper limit of resource number LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" // Not supported by the plan. LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow" // Query time limit exceeded. LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" // Reached the API rate limit. LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" // Limit exceeded LIMITEXCEEDED_SECURITY = "LimitExceeded.Security" // Reached the upper limit of sites of the plan LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan" // Operation denied. OPERATIONDENIED = "OperationDenied" // Cross-MLC-border acceleration is in beta. To join the beta, submit a ticket. OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" // Cross-MLC-border acceleration and IPv6 cannot be configured at the same time. OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" // An L7 DNS service referencing the origin group is being deployed. Please edit later. OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline" // The configuration is locked. Please unlock and try again. OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" // The EdgeOne service of the site is being disabled. Please try again later. OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" // Switch failed: There are domain names in the shared CNAME group. OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" // Unable to use the domain name when it’s blocked. OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" // The domain name doesn't have an ICP filing number. OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" // Unable to modify the service area: There are domain names under the site. OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero" // The EdgeOne service of the site is disabled. Please enable it and try again. OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" // The security service must be enabled when you enable the DDoS Protection. OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" // The acceleration regions of the site must be in the Chinese mainland when you enable the DDoS Protection. OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea" // Operation failed: The L4 proxy is blocked. OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" // The EdgeOne service cannot be disabled for the site: A L4 proxy instance is being deployed. OPERATIONDENIED_L4PROXYINPROGRESSSTATUS = "OperationDenied.L4ProxyInProgressStatus" // Unable to disable the site: There are L4 proxy instances disabled. OPERATIONDENIED_L4PROXYINSTOPPINGSTATUS = "OperationDenied.L4ProxyInStoppingStatus" // Unable to operate the L4 instance when it’s not running OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" // The EdgeOne service cannot be disabled for the site: An accelerated domain name is being deployed. OPERATIONDENIED_L7HOSTINPROCESSSTATUS = "OperationDenied.L7HostInProcessStatus" // The site status does not support operations on load balancers. OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive" // Unable to switch to NS for multiple sites using CNAME. OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" // Domain traffic scheduling is not supported in NS access mode. OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" // You can only switch a site connected without a domain name to connecting via the CNAME OPERATIONDENIED_NODOMAINACCESSZONEONLYALLOWMODIFIEDTOCNAME = "OperationDenied.NoDomainAccessZoneOnlyAllowModifiedToCNAME" // You can only switch a site connected without a domain name to connecting via the CNAME. Other operations are not allowed. OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = "OperationDenied.NoDomainAccessZoneOnlySupportModifyType" // Failed to delete: The acceleration domain name is in use. OPERATIONDENIED_ORIGINGROUPACCELERATIONDOMAINUSED = "OperationDenied.OriginGroupAccelerationDomainUsed" // The specified plan does not support changing the service area of the site. OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = "OperationDenied.PlanNotSupportModifyZoneArea" // This site is using Anycast IP scheduling mode and does not support Cross-MLC-border acceleration. OPERATIONDENIED_PLATTYPEIPACCELERATEMAINLANDNOTSUPPORT = "OperationDenied.PlatTypeIPAccelerateMainlandNotSupport" // The DNS record cannot be added. OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" // This operation conflicts with concurrent operations. Try again later. OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" // The domain name is bound with a shared CNAME and cannot be changed to "Cross-MLC-border acceleration". Please unbind the domain name from the shared CNAME first. OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = "OperationDenied.SharedCNAMEUnsupportedAccelerateMainland" // The domain name is bound with a shared CNAME and cannot be changed to "IPv6 access". Please unbind the domain name from the shared CNAME first. OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6" // There is a test version in use. Please release the test version to the live environment, or roll back the test version and try again. OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" // The shared CNAME has been bound to another site. Please unbind first. OPERATIONDENIED_ZONEISBINDINGSHAREDCNAME = "OperationDenied.ZoneIsBindingSharedCNAME" // Error found in the associated custom error page. Please unbind it first. OPERATIONDENIED_ZONEISREFERENCECUSTOMERRORPAGE = "OperationDenied.ZoneIsReferenceCustomErrorPage" // The zone is disabled. OPERATIONDENIED_ZONENOTACTIVE = "OperationDenied.ZoneNotActive" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // Resources occupied by the alias domain names under this account. RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" // The alias domain name already exists. RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" // Resources occupied by this account via CNAME. RESOURCEINUSE_CNAME = "ResourceInUse.Cname" // DNS resources occupied. RESOURCEINUSE_DNS = "ResourceInUse.Dns" // The domain name is being resolved. If you need to enable acceleration, please go to DNS Records. RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" // Duplicate alias domain names. RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" // Resources occupied by the wildcard domain name. RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" // Resources occupied by the subdomain names under this account. RESOURCEINUSE_HOST = "ResourceInUse.Host" // Resources occupied by this account via NS. RESOURCEINUSE_NS = "ResourceInUse.NS" // The resource has been connected to EdgeOne by another user. RESOURCEINUSE_OTHERS = "ResourceInUse.Others" // Resources occupied by the alias domain names under other accounts. RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" // Resources occupied by other accounts via CNAME. RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" // Resources occupied by the subdomain names under other accounts. RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" // Resources occupied by other accounts via NS. RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" // Resources occupied by this account and others via CNAME. RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" // Unable to delete the shared CNAME: It is bound to an acceleration domain name. Please remove the binding first. RESOURCEINUSE_SHAREDCNAME = "ResourceInUse.SharedCNAME" // The alias domain name is already added. RESOURCEINUSE_ZONE = "ResourceInUse.Zone" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource doesn’t exist. RESOURCENOTFOUND = "ResourceNotFound" // Maximum upload size is not configured. RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The certificate does not exist or is not authorized. RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" // The domain name is already connected to EdgeOne by another account. Please retrieve it first in order to add it. RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" // The requested accelerated domain name doesn’t exist. RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" // The domain name does not exist or not use a proxy. RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" // The shared CNAME is used by others. RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists" // The site does not exist or is not belong to this account. RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" // RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" // Unauthorized operation. UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // CAM is not authorized. UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" // Authentication error. UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty" // The sub-account is not authorized for the operation. Please get permissions first. UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // An unknown error occurred in the backend server. UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" // Unsupported operation. UNSUPPORTEDOPERATION = "UnsupportedOperation" // The origin type of the target domain cannot be COS for an alias domain. UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos" )
const APIVersion = "2022-09-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccelerateMainland ¶
type AccelerateMainland struct { // Whether to enable Cross-MLC-border acceleration. Valid values: // <li>`on`: Enable;</li> // <li>`off`: Disable.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type AccelerateType ¶
type AccelerateType struct { // Acceleration switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type AccelerationDomain ¶
type AccelerationDomain struct { // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Accelerated domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Status of the accelerated domain name. Values: // <li>`online`: Activated</li> // <li>`process`: Being deployed</li> // <li>`offline`: Disabled</li> // <li>`forbidden`: Blocked</li> // <li>`init`: Pending activation</li> DomainStatus *string `json:"DomainStatus,omitnil" name:"DomainStatus"` // Details of the origin. // Note: This field may return null, indicating that no valid values can be obtained. OriginDetail *OriginDetail `json:"OriginDetail,omitnil" name:"OriginDetail"` // Origin-pull protocol configuration. Values: // <li>`FOLLOW`: Follow the protocol of origin</li> // <li>`HTTP`: Send requests to the origin over HTTP</li> // <li>`HTTPS`: Send requests to the origin over HTTPS</li> // Note: This field may return·null, indicating that no valid values can be obtained. OriginProtocol *string `json:"OriginProtocol,omitnil" name:"OriginProtocol"` // The port used for HTTP origin-pull requests // Note: This field may return·null, indicating that no valid values can be obtained. HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil" name:"HttpOriginPort"` // The port used for HTTPS origin-pull requests // Note: This field may return·null, indicating that no valid values can be obtained. HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil" name:"HttpsOriginPort"` // IPv6 status. Values: // <li>`follow`: Follow the IPv6 configuration of the site</li> // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return·null, indicating that no valid values can be obtained. IPv6Status *string `json:"IPv6Status,omitnil" name:"IPv6Status"` // The CNAME address. Cname *string `json:"Cname,omitnil" name:"Cname"` // Ownership verification status. Values: <li>`pending`: Pending verification</li> <li>`finished`: Verified</li> // Note: This field may return null, indicating that no valid values can be obtained. IdentificationStatus *string `json:"IdentificationStatus,omitnil" name:"IdentificationStatus"` // Creation time of the accelerated domain name. CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"` // Modification time of the accelerated domain name. ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"` // Information required to verify the ownership of a domain name. // Note: This field may return·null, indicating that no valid values can be obtained. OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil" name:"OwnershipVerification"` // Domain name certificate information // Note: This field may return·null, indicating that no valid values can be obtained. Certificate *AccelerationDomainCertificate `json:"Certificate,omitnil" name:"Certificate"` }
type AccelerationDomainCertificate ¶
type AccelerationDomainCertificate struct { // Certificate configuration mode. Values: <li>`disable`: Do not configure the certificate;</li><li>`eofreecert`: Use a free certificate provided by EdgeOne; </li><li>`sslcert`: Configure an SSL certificate.</li> Mode *string `json:"Mode,omitnil" name:"Mode"` // List of certificates // Note: This field may return·null, indicating that no valid values can be obtained. List []*CertificateInfo `json:"List,omitnil" name:"List"` }
type AclCondition ¶
type AclCondition struct { // Filters: // <li>`host`: Request domain name;</li> // <li>`sip`: Client IP;</li> // <li>`ua`: User-Agent;</li> // <li>`cookie`: Cookie;</li> // <li>`cgi`: CGI script;</li> // <li>`xff`: XFF header;</li></li> // <li>`url`: Request URL;<li></li> // <li>`accept`: Request content type;</li> // <li>`method`: Request method<;/li> // <li>`header`: Request header;</li> // <li>`app_proto`: Application layer protocol;</li> // <li>`sip_proto`: Network layer protocol;</li> // <li>`uabot`: UA rules (only available in custom bot rules);</li> // <li>`idcid`: IDC rules (only available in custom bot rules);</li> // <li>`sipbot`: Search engine rules (only available in custom bot rules);</li> // <li>`portrait`: Client reputation (only available in custom bot rules);</li> // <li>`header_seq`: Header sequence (only available in custom bot rules);</li> // <li>`hdr`: Request body (only available in custom Web protection rules). </li> MatchFrom *string `json:"MatchFrom,omitnil" name:"MatchFrom"` // The parameter of the field. When `MatchFrom = header`, the key contained in the header can be passed. MatchParam *string `json:"MatchParam,omitnil" name:"MatchParam"` // The logical operator. Values: // <li>`equal`: Value equals</li> // <li>`not_equal`: Value not equals</li> // <li>`include`: String contains</li> // <li>`not_include`: String not contains</li> // <li>`match`: IP matches</li> // <li>`not_match`: IP not matches</li> // <li>`include_area`: Regions contain</li> // <li>`is_empty`: Value left empty</li> // <li>`not_exists`: Key fields not exist</li> // <li>`regexp`: Regex matches</li> // <li>`len_gt`: Value greater than</li> // <li>`len_lt`: Value smaller than</li> // <li>`len_eq`: Value equals</li> // <li>`match_prefix`: Prefix matches</li> // <li>`match_suffix`: Suffix matches</li> // <li>`wildcard`: Wildcard</li> Operator *string `json:"Operator,omitnil" name:"Operator"` // The content to match. MatchContent *string `json:"MatchContent,omitnil" name:"MatchContent"` }
type AclConfig ¶
type AclConfig struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The custom rule. AclUserRules []*AclUserRule `json:"AclUserRules,omitnil" name:"AclUserRules"` // Custom managed rules // Note: This field may return `null`, indicating that no valid value can be obtained. Customizes []*AclUserRule `json:"Customizes,omitnil" name:"Customizes"` }
type AclUserRule ¶
type AclUserRule struct { // The rule name. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // The action. Values: // <li>`trans`: Allow</li> // <li>`drop`: Block the request</li> // <li>`monitor`: Observe</li> // <li>`ban`: Block the IP</li> // <li>`redirect`: Redirect the request</li> // <li>`page`: Return the specified page</li> // <li>`alg`: JavaScript challenge</li> Action *string `json:"Action,omitnil" name:"Action"` // The rule status. Values: // <li>`on`: Enabled</li> // <li>`off`: Disabled</li> RuleStatus *string `json:"RuleStatus,omitnil" name:"RuleStatus"` // The custom rule. AclConditions []*AclCondition `json:"AclConditions,omitnil" name:"AclConditions"` // The rule priority. Value range: 0-100. RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"` // Rule ID, which is only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // The update time, which is only used as an output parameter. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // IP ban duration. Range: 0-2 days. It's required when `Action=ban`. PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"` // The unit of the IP ban duration. Values: // <li>`second`: Second</li> // <li>`minutes`: Minute</li> // <li>`hour`: Hour</li>Default value: `second`. PunishTimeUnit *string `json:"PunishTimeUnit,omitnil" name:"PunishTimeUnit"` // Name of the custom return page. It's required when `Action=page`. Name *string `json:"Name,omitnil" name:"Name"` // (Disused) ID of the custom return page. The default value is 0, which means that the system default blocking page is used. PageId *int64 `json:"PageId,omitnil" name:"PageId"` // ID of custom response. The ID can be obtained via the `DescribeCustomErrorPages` API. It's required when `Action=page`. CustomResponseId *string `json:"CustomResponseId,omitnil" name:"CustomResponseId"` // The response code to trigger the return page. It's required when `Action=page`. Value: 100-600. 3xx response codes are not supported. Default value: 567. ResponseCode *int64 `json:"ResponseCode,omitnil" name:"ResponseCode"` // The redirection URL. It's required when `Action=redirect`. RedirectUrl *string `json:"RedirectUrl,omitnil" name:"RedirectUrl"` }
type Action ¶
type Action struct { // Common operation. Values: // <li>`AccessUrlRedirect`: Access URL rewrite</li> // <li>`UpstreamUrlRedirect`: Origin-pull URL rewrite</li> // <li>`QUIC`: QUIC</li> // <li>`WebSocket`: WebSocket</li> // <li>`VideoSeek`: Video dragging</li> // <li>`Authentication`: Token authentication</li> // <li>`CacheKey`: Custom cache key</li> // <li>`Cache`: Node cache TTL</li> // <li>`MaxAge`: Browser cache TTL</li> // <li>`OfflineCache`: Offline cache</li> // <li>`SmartRouting`: Smart acceleration</li> // <li>`RangeOriginPull`: Range GETs</li> // <li>`UpstreamHttp2`: HTTP/2 forwarding</li> // <li>`HostHeader`: Host header rewrite</li> // <li>`ForceRedirect`: Force HTTPS</li> // <li>`OriginPullProtocol`: Origin-pull HTTPS</li> // <li>`CachePrefresh`: Cache prefresh</li> // <li>`Compression`: Smart compression</li> // <li>`Hsts`</li> // <li>`ClientIpHeader`</li> // <li>`SslTlsSecureConf`</li> // <li>`OcspStapling`</li> // <li>`Http2`: HTTP/2 access</li> // <li>`UpstreamFollowRedirect`: Follow origin redirect</li> // <li>`Origin`: Origin</li> // Note: This field may return `null`, indicating that no valid value can be obtained. NormalAction *NormalAction `json:"NormalAction,omitnil" name:"NormalAction"` // Feature operation with a request/response header. Features of this type include: // <li>`RequestHeader`: HTTP request header modification.</li> // <li>`ResponseHeader`: HTTP response header modification.</li> // Note: This field may return null, indicating that no valid values can be obtained. RewriteAction *RewriteAction `json:"RewriteAction,omitnil" name:"RewriteAction"` // Feature operation with a status code. Features of this type include: // <li>`ErrorPage`: Custom error page.</li> // <li>`StatusCodeCache`: Status code cache TTL.</li> // Note: This field may return null, indicating that no valid values can be obtained. CodeAction *CodeAction `json:"CodeAction,omitnil" name:"CodeAction"` }
type AdvancedFilter ¶
type AiRule ¶
type AiRule struct { // The status of the AI rule engine. Values: // <li>`smart_status_close`: Disabled</li> // <li>`smart_status_open`: Block</li> // <li>`smart_status_observe`: Observe</li> Mode *string `json:"Mode,omitnil" name:"Mode"` }
type AlgDetectJS ¶
type AlgDetectJS struct { // Method to validate client behavior. Name *string `json:"Name,omitnil" name:"Name"` // Proof-of-work strength. Values: // <li>`low` (default): Low</li> // <li>`middle`: Medium</li> // <li>`high`: High</li> WorkLevel *string `json:"WorkLevel,omitnil" name:"WorkLevel"` // Implement a delay before executing JS in milliseconds. Value range: 0-1000. Default value: 500. ExecuteMode *int64 `json:"ExecuteMode,omitnil" name:"ExecuteMode"` // The period threshold for validating the result "Client JS disabled" in seconds. Value range: 5-3600. Default value: 10. InvalidStatTime *int64 `json:"InvalidStatTime,omitnil" name:"InvalidStatTime"` // The number of times for the result "Client JS disabled" occurred in the specified period. Value range: 1-100000000. Default value: 30. InvalidThreshold *int64 `json:"InvalidThreshold,omitnil" name:"InvalidThreshold"` // Client behavior validation results. AlgDetectResults []*AlgDetectResult `json:"AlgDetectResults,omitnil" name:"AlgDetectResults"` }
type AlgDetectResult ¶
type AlgDetectResult struct { // The validation result. Values: // <li>`invalid`: Invalid Cookie</li> // <li>`cookie_empty`: No Cookie/Cookie expired</li> // <li>`js_empty`: Client JS disabled</li> // <li>`low`: Low-risk session</li> // <li>`middle`: Medium-risk session</li> // <li>`high`: High-risk session</li> // <li>`timeout`: JS validation timed out</li> // <li>`not_browser`: Invalid browser</li> // <li>`is_bot`: Bot client</li> Result *string `json:"Result,omitnil" name:"Result"` // The action. Values: // <li>`drop`: Block</li> // <li>`monitor`: Observe</li> // <li>`silence`: Drop w/o response</li> // <li>`shortdelay`: Add short latency</li> // <li>`longdelay`: Add long latency</li> Action *string `json:"Action,omitnil" name:"Action"` }
type AlgDetectRule ¶
type AlgDetectRule struct { // ID of the rule. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // Name of the rule. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Whether to enable the rule. Switch *string `json:"Switch,omitnil" name:"Switch"` // Condition specified for the rule. AlgConditions []*AclCondition `json:"AlgConditions,omitnil" name:"AlgConditions"` // Validate Cookie when the condition is satisfied. // Note: This field may return `null`, indicating that no valid values can be obtained. AlgDetectSession *AlgDetectSession `json:"AlgDetectSession,omitnil" name:"AlgDetectSession"` // Validate client behavior when the condition is satisfied. AlgDetectJS []*AlgDetectJS `json:"AlgDetectJS,omitnil" name:"AlgDetectJS"` // The update time, which is only used as an output parameter. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type AlgDetectSession ¶
type AlgDetectSession struct { // Method to validate Cookie. Name *string `json:"Name,omitnil" name:"Name"` // The validation mode. Values: // <li>`detect`: Validate only</li> // <li>`update_detect` (default): Update Cookie and validate</li> DetectMode *string `json:"DetectMode,omitnil" name:"DetectMode"` // Whether to enable Cookie-based session check. The default value is `off`. Values: // <li>`off`: Disable</li> // <li>`on`: Enable</li> SessionAnalyzeSwitch *string `json:"SessionAnalyzeSwitch,omitnil" name:"SessionAnalyzeSwitch"` // The period threshold for validating the result "No Cookie/Cookie expired" in seconds. Value range: 5-3600. Default value: 10. InvalidStatTime *int64 `json:"InvalidStatTime,omitnil" name:"InvalidStatTime"` // The number of times for the result "No Cookie/Cookie expired" occurred in the specified period. Value range: 1-100000000. Default value: 300. InvalidThreshold *int64 `json:"InvalidThreshold,omitnil" name:"InvalidThreshold"` // Cookie validation results. AlgDetectResults []*AlgDetectResult `json:"AlgDetectResults,omitnil" name:"AlgDetectResults"` // Cookie-based session check results. SessionBehaviors []*AlgDetectResult `json:"SessionBehaviors,omitnil" name:"SessionBehaviors"` }
type AliasDomain ¶
type AliasDomain struct { // The alias domain name. AliasName *string `json:"AliasName,omitnil" name:"AliasName"` // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The target domain name. TargetName *string `json:"TargetName,omitnil" name:"TargetName"` // Status of the alias domain name. Values: // <li>`active`: Activated</li> // <li>`pending`: Deploying</li> // <li>`conflict`: Reclaimed</li> // <li>`stop`: Stopped</li> Status *string `json:"Status,omitnil" name:"Status"` // The blocking mode. Values: // <li>`0`: Not blocked</li> // <li>`11`: Blocked due to regulatory compliance</li> // <li>`14`: Blocked due to ICP filing not obtained</li> ForbidMode *int64 `json:"ForbidMode,omitnil" name:"ForbidMode"` // Creation time of the alias domain name. CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"` // Modification time of the alias domain name. ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"` }
type ApplicationProxy ¶
type ApplicationProxy struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The site name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The domain name or subdomain name when `ProxyType=hostname`. // The instance name when `ProxyType=instance`. ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"` // The proxy type. Values: // <li>`hostname`: The proxy is created by subdomain name.</li> // <li>`instance`: The proxy is created by instance.</li> ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"` // The scheduling mode. Values: // <li>`ip`: Schedule via Anycast IP.</li> // <li>`domain`: Schedule via CNAME.</li> PlatType *string `json:"PlatType,omitnil" name:"PlatType"` // Acceleration region. Values: // <li>`mainland`: Chinese mainland.</li> // <li>`overseas`: Global (outside the Chinese mainland);</li> // Default value: overseas. Area *string `json:"Area,omitnil" name:"Area"` // Whether to enable security protection. Values: // <li>`0`: Disable security protection.</li> // <li>`1`: Enable security protection.</li> SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"` // Whether to enable acceleration. Values: // <li>`0`: Disable acceleration.</li> // <li>`1`: Enable acceleration.</li> AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"` // The session persistence duration. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The rule status. Values: // <li>`online`: Enabled</li> // <li>`offline`: Disabled</li> // <li>`progress`: Deploying</li> // <li>`stopping`: Disabling</li> // <li>`fail`: Failed to deploy or disable</li> Status *string `json:"Status,omitnil" name:"Status"` // The blocking status of the proxy. Values: // <li>`banned`: Blocked</li> // <li>`banning`: Blocking</li> // <li>`recover`: Unblocked</li> // <li>`recovering`: Unblocking</li> BanStatus *string `json:"BanStatus,omitnil" name:"BanStatus"` // Scheduling information. ScheduleValue []*string `json:"ScheduleValue,omitnil" name:"ScheduleValue"` // When `ProxyType=hostname`: // This field indicates the unique ID of the subdomain name. HostId *string `json:"HostId,omitnil" name:"HostId"` // The IPv6 access configuration. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // The update time. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // List of rules. ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitnil" name:"ApplicationProxyRules"` // Cross-MLC-border acceleration. AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil" name:"AccelerateMainland"` }
type ApplicationProxyRule ¶
type ApplicationProxyRule struct { // The protocol. Values: // <li>`TCP`: TCP protocol.</li> // <li>`UDP`: UDP protocol.</li> Proto *string `json:"Proto,omitnil" name:"Proto"` // The access port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-82</li> // Note that each rule can have up to 20 ports. Port []*string `json:"Port,omitnil" name:"Port"` // The origin type. Values: // <li>`custom`: Specified origins</li> // <li>`origins`: Origin group</li> OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // Origin server information: // <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li> // <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li> OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The rule status. Values: // <li>`online`: Enabled.</li> // <li>`offline`: Disabled.</li> // <li>`progress`: Deploying</li> // <li>`stopping`: Disabling</li> // <li>`fail`: Failed to deploy or disable</li> Status *string `json:"Status,omitnil" name:"Status"` // Passes the client IP. Values: // <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li> // <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li> // <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li> // <li>`OFF`: Not pass the client IP.</li>Default value: OFF. ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"` // Whether to enable session persistence. Values: // <li>`true`: Enable</li> // <li>`false`: Disable</li>Default value: false SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"` // Duration for the persistent session. The value takes effect only when `SessionPersist = true`. // Note: u200dThis field may return null, indicating that no valid values can be obtained. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The origin port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-82</li> OriginPort *string `json:"OriginPort,omitnil" name:"OriginPort"` // Rule tag. // Note: u200dThis field may returnu200d·`nullu200d`, indicating that no valid values can be obtained. RuleTag *string `json:"RuleTag,omitnil" name:"RuleTag"` }
type AscriptionInfo ¶
type BindSecurityTemplateToEntityRequest ¶
type BindSecurityTemplateToEntityRequest struct { *tchttp.BaseRequest // Site ID of the policy template to be bound to or unbound from. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of domain names to bind to/unbind from a policy template Entities []*string `json:"Entities,omitnil" name:"Entities"` // Action options. Values include: // <li>`bind`: Bind the domain names to the specified policy template </li> // <li>`unbind-keep-policy`: Unbind a domain name from a policy template and keep the current policy when unbinding</li> // <li>`unbind-use-default`: Unbind domain names from policy templates and use default blank policy.</li> Note: Only one domain name can be unbound at one time. When `Operate` is `unbind-keep-policy` or `unbind-use-default`, there can only be one domain name specified in `Entities`. Operate *string `json:"Operate,omitnil" name:"Operate"` // Specifies the policy template ID to bind or unbind. TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"` // Whether to replace the existing policy template bound with the domain name. Values: // <li>`true`: Replace the template bound to the domain. </li> // <li>`false`: Do not replace the template.</li> Note: In this case, the API returns an error if there is already a policy template bound to the specified domain name. OverWrite *bool `json:"OverWrite,omitnil" name:"OverWrite"` }
func NewBindSecurityTemplateToEntityRequest ¶
func NewBindSecurityTemplateToEntityRequest() (request *BindSecurityTemplateToEntityRequest)
func (*BindSecurityTemplateToEntityRequest) FromJsonString ¶
func (r *BindSecurityTemplateToEntityRequest) 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 (*BindSecurityTemplateToEntityRequest) ToJsonString ¶
func (r *BindSecurityTemplateToEntityRequest) ToJsonString() string
type BindSecurityTemplateToEntityRequestParams ¶
type BindSecurityTemplateToEntityRequestParams struct { // Site ID of the policy template to be bound to or unbound from. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of domain names to bind to/unbind from a policy template Entities []*string `json:"Entities,omitnil" name:"Entities"` // Action options. Values include: // <li>`bind`: Bind the domain names to the specified policy template </li> // <li>`unbind-keep-policy`: Unbind a domain name from a policy template and keep the current policy when unbinding</li> // <li>`unbind-use-default`: Unbind domain names from policy templates and use default blank policy.</li> Note: Only one domain name can be unbound at one time. When `Operate` is `unbind-keep-policy` or `unbind-use-default`, there can only be one domain name specified in `Entities`. Operate *string `json:"Operate,omitnil" name:"Operate"` // Specifies the policy template ID to bind or unbind. TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"` // Whether to replace the existing policy template bound with the domain name. Values: // <li>`true`: Replace the template bound to the domain. </li> // <li>`false`: Do not replace the template.</li> Note: In this case, the API returns an error if there is already a policy template bound to the specified domain name. OverWrite *bool `json:"OverWrite,omitnil" name:"OverWrite"` }
Predefined struct for user
type BindSecurityTemplateToEntityResponse ¶
type BindSecurityTemplateToEntityResponse struct { *tchttp.BaseResponse Response *BindSecurityTemplateToEntityResponseParams `json:"Response"` }
func NewBindSecurityTemplateToEntityResponse ¶
func NewBindSecurityTemplateToEntityResponse() (response *BindSecurityTemplateToEntityResponse)
func (*BindSecurityTemplateToEntityResponse) FromJsonString ¶
func (r *BindSecurityTemplateToEntityResponse) 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 (*BindSecurityTemplateToEntityResponse) ToJsonString ¶
func (r *BindSecurityTemplateToEntityResponse) ToJsonString() string
type BindSecurityTemplateToEntityResponseParams ¶
type BindSecurityTemplateToEntityResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BindSharedCNAMEMap ¶
type BindSharedCNAMERequest ¶
type BindSharedCNAMERequest struct { string `json:"ZoneId,omitnil" name:"ZoneId"` // <li>`bind`: To bind</li> // <li>`unbind`: To unbind</li> BindType *string `json:"BindType,omitnil" name:"BindType"` BindSharedCNAMEMaps []*BindSharedCNAMEMap `json:"BindSharedCNAMEMaps,omitnil" name:"BindSharedCNAMEMaps"` }ZoneId *
func NewBindSharedCNAMERequest ¶
func NewBindSharedCNAMERequest() (request *BindSharedCNAMERequest)
func (*BindSharedCNAMERequest) FromJsonString ¶
func (r *BindSharedCNAMERequest) 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 (*BindSharedCNAMERequest) ToJsonString ¶
func (r *BindSharedCNAMERequest) ToJsonString() string
type BindSharedCNAMERequestParams ¶
type BindSharedCNAMERequestParams struct { string `json:"ZoneId,omitnil" name:"ZoneId"` // <li>`bind`: To bind</li> // <li>`unbind`: To unbind</li> BindType *string `json:"BindType,omitnil" name:"BindType"` BindSharedCNAMEMaps []*BindSharedCNAMEMap `json:"BindSharedCNAMEMaps,omitnil" name:"BindSharedCNAMEMaps"` }ZoneId *
Predefined struct for user
type BindSharedCNAMEResponse ¶
type BindSharedCNAMEResponse struct {}
func NewBindSharedCNAMEResponse ¶
func NewBindSharedCNAMEResponse() (response *BindSharedCNAMEResponse)
func (*BindSharedCNAMEResponse) FromJsonString ¶
func (r *BindSharedCNAMEResponse) 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 (*BindSharedCNAMEResponse) ToJsonString ¶
func (r *BindSharedCNAMEResponse) ToJsonString() string
type BindSharedCNAMEResponseParams ¶
type BindSharedCNAMEResponseParams struct { string `json:"RequestId,omitnil" name:"RequestId"` }RequestId *
Predefined struct for user
type BindZoneToPlanRequest ¶
type BindZoneToPlanRequest struct { *tchttp.BaseRequest // ID of the site to be bound. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // ID of the target plan. PlanId *string `json:"PlanId,omitnil" name:"PlanId"` }
func NewBindZoneToPlanRequest ¶
func NewBindZoneToPlanRequest() (request *BindZoneToPlanRequest)
func (*BindZoneToPlanRequest) FromJsonString ¶
func (r *BindZoneToPlanRequest) 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 (*BindZoneToPlanRequest) ToJsonString ¶
func (r *BindZoneToPlanRequest) ToJsonString() string
type BindZoneToPlanRequestParams ¶
type BindZoneToPlanRequestParams struct { // ID of the site to be bound. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // ID of the target plan. PlanId *string `json:"PlanId,omitnil" name:"PlanId"` }
Predefined struct for user
type BindZoneToPlanResponse ¶
type BindZoneToPlanResponse struct { *tchttp.BaseResponse Response *BindZoneToPlanResponseParams `json:"Response"` }
func NewBindZoneToPlanResponse ¶
func NewBindZoneToPlanResponse() (response *BindZoneToPlanResponse)
func (*BindZoneToPlanResponse) FromJsonString ¶
func (r *BindZoneToPlanResponse) 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 (*BindZoneToPlanResponse) ToJsonString ¶
func (r *BindZoneToPlanResponse) ToJsonString() string
type BindZoneToPlanResponseParams ¶
type BindZoneToPlanResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type BotConfig ¶
type BotConfig struct { // Whether to enable bot security. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The settings of the bot managed rule. If it is null, the settings that were last configured will be used. BotManagedRule *BotManagedRule `json:"BotManagedRule,omitnil" name:"BotManagedRule"` // The settings of the client reputation rule. If it is null, the settings that were last configured will be used. BotPortraitRule *BotPortraitRule `json:"BotPortraitRule,omitnil" name:"BotPortraitRule"` // The bot intelligence settings. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitnil" name:"IntelligenceRule"` // Settings of the custom bot rule. If it is null, the settings that were last configured will be used. BotUserRules []*BotUserRule `json:"BotUserRules,omitnil" name:"BotUserRules"` // Active bot detection rule. AlgDetectRule []*AlgDetectRule `json:"AlgDetectRule,omitnil" name:"AlgDetectRule"` // Settings of the bot managed rule. It is only used for output. // Note: This field may return `null`, indicating that no valid values can be obtained. Customizes []*BotUserRule `json:"Customizes,omitnil" name:"Customizes"` }
type BotExtendAction ¶
type BotExtendAction struct { // Action. Valid values: // <li>`monitor`: Observe;</li> // <li>`alg`: JavaScript challenge;</li> // <li>`captcha`: Managed challenge;</li> // <li>`random`: Actions are executed based on the percentage specified in `ExtendActions`;</li> // <li>`silence`: Silence;</li> // <li>`shortdelay`: Add short latency;</li> // <li>`longdelay`: Add long latency.</li> Action *string `json:"Action,omitnil" name:"Action"` // The probability for triggering the action. Value range: 0-100. // Note: This field may return `null`, indicating that no valid values can be obtained. Percent *uint64 `json:"Percent,omitnil" name:"Percent"` }
type BotManagedRule ¶
type BotManagedRule struct { // The rule action. Values: // <li>`drop`: Block</li> // <li>`trans`: Allow</li> // <li>`alg`: JavaScript challenge</li> // <li>`monitor`: Observe</li> Action *string `json:"Action,omitnil" name:"Action"` // The rule ID, which is only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // The ID of the rule that applies the "Allow" action. // Note: This field may return null, indicating that no valid values can be obtained. TransManagedIds []*int64 `json:"TransManagedIds,omitnil" name:"TransManagedIds"` // The ID of the rule that applies the "JavaScript challenge" action. // Note: This field may return null, indicating that no valid values can be obtained. AlgManagedIds []*int64 `json:"AlgManagedIds,omitnil" name:"AlgManagedIds"` // The ID of the rule that applies the "Managed challenge" action. // Note: This field may return null, indicating that no valid values can be obtained. CapManagedIds []*int64 `json:"CapManagedIds,omitnil" name:"CapManagedIds"` // The ID of the rule that applies the "Observe" action. // Note: This field may return null, indicating that no valid values can be obtained. MonManagedIds []*int64 `json:"MonManagedIds,omitnil" name:"MonManagedIds"` // The ID of the rule that applies the "Block" action. // Note: This field may return null, indicating that no valid values can be obtained. DropManagedIds []*int64 `json:"DropManagedIds,omitnil" name:"DropManagedIds"` }
type BotPortraitRule ¶
type BotPortraitRule struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The rule ID, which is only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // The ID of the rule that applies the "JavaScript challenge" action. // Note: This field may return null, indicating that no valid values can be obtained. AlgManagedIds []*int64 `json:"AlgManagedIds,omitnil" name:"AlgManagedIds"` // The ID of the rule that applies the "Managed challenge" action. // Note: This field may return null, indicating that no valid values can be obtained. CapManagedIds []*int64 `json:"CapManagedIds,omitnil" name:"CapManagedIds"` // The ID of the rule that applies the "Observe" action. // Note: This field may return null, indicating that no valid values can be obtained. MonManagedIds []*int64 `json:"MonManagedIds,omitnil" name:"MonManagedIds"` // The ID of the rule that applies the "Block" action. // Note: This field may return null, indicating that no valid values can be obtained. DropManagedIds []*int64 `json:"DropManagedIds,omitnil" name:"DropManagedIds"` }
type BotUserRule ¶
type BotUserRule struct { RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // The action. Values: // <li>`drop`: Block the request</li> // <li>`monitor`: Observe</li> // <li>`trans`: Allow</li> // <li>`redirect`: Redirect the request</li> // <li>`page`: Return the specified page</li> // <li>`alg`: JavaScript challenge</li> // <li>`captcha`: Managed challenge</li> // <li>`random`: Handle the request randomly by the weight</li> // <li>`silence`: Keep the connection but do not response to the client</li> // <li>`shortdelay`: Add a short latency period</li> // <li>`longdelay`: Add a long latency period</li> Action *string `json:"Action,omitnil" name:"Action"` // The rule status. Values: // <li>`on`: Enabled</li> // <li>`off`: Disabled</li>Default value: `on` RuleStatus *string `json:"RuleStatus,omitnil" name:"RuleStatus"` // Details of the rule. AclConditions []*AclCondition `json:"AclConditions,omitnil" name:"AclConditions"` // The rule weight. Value range: 0-100. RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"` // Rule ID, which is only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // [Currently unavailable] Specify the random action and percentage. ExtendActions []*BotExtendAction `json:"ExtendActions,omitnil" name:"ExtendActions"` // The filter. Values: // <li>`sip`: Client IP</li> // This parameter is left empty by default. FreqFields []*string `json:"FreqFields,omitnil" name:"FreqFields"` // The update time, which is only used as an output parameter. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Query scope. Values: // <li>`source_to_eo`: (Response) Traffic going from the origin to EdgeOne.</li> // <li>`client_to_eo`: (Request) Traffic going from the client to EdgeOne.</li> // Default: `source_to_eo`. FreqScope []*string `json:"FreqScope,omitnil" name:"FreqScope"` // Name of the custom return page. It's required when `Action=page`. Name *string `json:"Name,omitnil" name:"Name"` // ID of custom response. The ID can be obtained via the `DescribeCustomErrorPages` API. It's required when `Action=page`. CustomResponseId *string `json:"CustomResponseId,omitnil" name:"CustomResponseId"` // The response code to trigger the return page. It's required when `Action=page`. Value: 100-600. 3xx response codes are not supported. Default value: 567. ResponseCode *int64 `json:"ResponseCode,omitnil" name:"ResponseCode"` // The redirection URL. It's required when `Action=redirect`. RedirectUrl *string `json:"RedirectUrl,omitnil" name:"RedirectUrl"` }
type Cache ¶
type Cache struct { // Whether to enable cache configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Cache expiration time setting. // Unit: second. The maximum value is 365 days. // Note: This field may return null, indicating that no valid values can be obtained. CacheTime *int64 `json:"CacheTime,omitnil" name:"CacheTime"` // Whether to enable force cache. Values: // <li>`on`: Enable</li> // <li>`off`: Disable </li> // Note: u200dThis field may return null, indicating that no valid values can be obtained. // // Deprecated: IgnoreCacheControl is deprecated. IgnoreCacheControl *string `json:"IgnoreCacheControl,omitnil" name:"IgnoreCacheControl"` }
type CacheConfig ¶
type CacheConfig struct { // Cache configuration // Note: This field may return null, indicating that no valid values can be obtained. Cache *Cache `json:"Cache,omitnil" name:"Cache"` // No-cache configuration // Note: This field may return null, indicating that no valid values can be obtained. NoCache *NoCache `json:"NoCache,omitnil" name:"NoCache"` // Follows the origin server configuration // Note: This field may return null, indicating that no valid values can be obtained. FollowOrigin *FollowOrigin `json:"FollowOrigin,omitnil" name:"FollowOrigin"` }
type CacheKey ¶
type CacheKey struct { // Whether to enable full-path cache. Values: // <li>`on`: Enable full-path cache (i.e., disable Ignore Query String).</li> // <li>`off`: Disable full-path cache (i.e., enable Ignore Query String).</li> // Note: This field may return null, indicating that no valid values can be obtained. FullUrlCache *string `json:"FullUrlCache,omitnil" name:"FullUrlCache"` // Whether to ignore case in the cache key. Values: // <li>`on`: Ignore</li> // <li>`off`: Not ignore</li> // Note: This field may return null, indicating that no valid values can be obtained. IgnoreCase *string `json:"IgnoreCase,omitnil" name:"IgnoreCase"` // Request parameter contained in `CacheKey`. // Note: This field may return `null`, indicating that no valid values can be obtained. QueryString *QueryString `json:"QueryString,omitnil" name:"QueryString"` }
type CachePrefresh ¶
type CachePrefresh struct { // Whether to enable cache prefresh. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The cache prefresh percentage. Values: 1-99 // Note: This field may return null, indicating that no valid values can be obtained. Percent *int64 `json:"Percent,omitnil" name:"Percent"` }
type CertificateInfo ¶
type CertificateInfo struct { // ID of the server certificate. CertId *string `json:"CertId,omitnil" name:"CertId"` // Alias of the certificate. Alias *string `json:"Alias,omitnil" name:"Alias"` // Type of the certificate. Values: // <li>`default`: Default certificate</li> // <li>`upload`: Specified certificate</li> // <li>`managed`: Tencent Cloud-managed certificate</li> Type *string `json:"Type,omitnil" name:"Type"` // The certificate expiration time. ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"` // Time when the certificate is deployed. DeployTime *string `json:"DeployTime,omitnil" name:"DeployTime"` // Signature algorithm. SignAlgo *string `json:"SignAlgo,omitnil" name:"SignAlgo"` // Status of the certificate. Values: // u200c<li>`deployed`: The deployment has completed</li> // u200c<li>`processing`: Deployment in progress</li> // u200c<li>`applying`: Application in progress</li> // u200c<li>`failed`: Application rejected</li> // <li>`issued`: Binding failed.</li> Status *string `json:"Status,omitnil" name:"Status"` }
type CheckCnameStatusRequest ¶
type CheckCnameStatusRequest struct { *tchttp.BaseRequest // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of accelerated domain names. RecordNames []*string `json:"RecordNames,omitnil" name:"RecordNames"` }
func NewCheckCnameStatusRequest ¶
func NewCheckCnameStatusRequest() (request *CheckCnameStatusRequest)
func (*CheckCnameStatusRequest) FromJsonString ¶
func (r *CheckCnameStatusRequest) 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 (*CheckCnameStatusRequest) ToJsonString ¶
func (r *CheckCnameStatusRequest) ToJsonString() string
type CheckCnameStatusRequestParams ¶
type CheckCnameStatusRequestParams struct { // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of accelerated domain names. RecordNames []*string `json:"RecordNames,omitnil" name:"RecordNames"` }
Predefined struct for user
type CheckCnameStatusResponse ¶
type CheckCnameStatusResponse struct { *tchttp.BaseResponse Response *CheckCnameStatusResponseParams `json:"Response"` }
func NewCheckCnameStatusResponse ¶
func NewCheckCnameStatusResponse() (response *CheckCnameStatusResponse)
func (*CheckCnameStatusResponse) FromJsonString ¶
func (r *CheckCnameStatusResponse) 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 (*CheckCnameStatusResponse) ToJsonString ¶
func (r *CheckCnameStatusResponse) ToJsonString() string
type CheckCnameStatusResponseParams ¶
type CheckCnameStatusResponseParams struct { // CNAME status of accelerated domain names. CnameStatus []*CnameStatus `json:"CnameStatus,omitnil" name:"CnameStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BindSecurityTemplateToEntity ¶
func (c *Client) BindSecurityTemplateToEntity(request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
BindSecurityTemplateToEntity This API is used to bind/unbind a domain name to/from a specific policy template.
error code that may be returned:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindSecurityTemplateToEntityWithContext ¶
func (c *Client) BindSecurityTemplateToEntityWithContext(ctx context.Context, request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
BindSecurityTemplateToEntity This API is used to bind/unbind a domain name to/from a specific policy template.
error code that may be returned:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindSharedCNAME ¶
func (c *Client) BindSharedCNAME(request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
BindSharedCNAME This API is used to bind/unbind a domain name to/from a shared CNAME. It is now only available to beta users.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) BindSharedCNAMEWithContext ¶
func (c *Client) BindSharedCNAMEWithContext(ctx context.Context, request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
BindSharedCNAME This API is used to bind/unbind a domain name to/from a shared CNAME. It is now only available to beta users.
error code that may be returned:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) BindZoneToPlan ¶
func (c *Client) BindZoneToPlan(request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
BindZoneToPlan This API is used to bind a site to a plan.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) BindZoneToPlanWithContext ¶
func (c *Client) BindZoneToPlanWithContext(ctx context.Context, request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
BindZoneToPlan This API is used to bind a site to a plan.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CheckCnameStatus ¶
func (c *Client) CheckCnameStatus(request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
CheckCnameStatus This API is used to query the CNAME status of a domain name.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CheckCnameStatusWithContext ¶
func (c *Client) CheckCnameStatusWithContext(ctx context.Context, request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
CheckCnameStatus This API is used to query the CNAME status of a domain name.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateAccelerationDomain ¶
func (c *Client) CreateAccelerationDomain(request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
CreateAccelerationDomain This API is used to create an acceleration domain name.
For sites connected via the CNAME, if you have not verified the ownership of the domain name, the ownership verification information of the domain name is returned. To verify your ownership of the domain name, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = "InvalidParameter.InvalidPrivateAccessSwitch" INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = "InvalidParameterValue.InvalidDomainName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateAccelerationDomainWithContext ¶
func (c *Client) CreateAccelerationDomainWithContext(ctx context.Context, request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
CreateAccelerationDomain This API is used to create an acceleration domain name.
For sites connected via the CNAME, if you have not verified the ownership of the domain name, the ownership verification information of the domain name is returned. To verify your ownership of the domain name, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = "InvalidParameter.InvalidPrivateAccessSwitch" INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = "InvalidParameterValue.InvalidDomainName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateAliasDomain ¶
func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain This API is used to create an alias domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR = "InternalError" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDALIASNAMESUFFIX = "InvalidParameterValue.InvalidAliasNameSuffix" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" RESOURCEINUSE_ZONE = "ResourceInUse.Zone" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos"
func (*Client) CreateAliasDomainWithContext ¶
func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain This API is used to create an alias domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR = "InternalError" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDALIASNAMESUFFIX = "InvalidParameterValue.InvalidAliasNameSuffix" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" RESOURCEINUSE_ZONE = "ResourceInUse.Zone" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos"
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:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_PLATTYPEIPACCELERATEMAINLANDNOTSUPPORT = "OperationDenied.PlatTypeIPAccelerateMainlandNotSupport" OPERATIONDENIED_ZONENOTACTIVE = "OperationDenied.ZoneNotActive" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
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:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDRULEPROTO = "InvalidParameter.InvalidRuleProto" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_RULEORIGINFORMATERROR = "InvalidParameter.RuleOriginFormatError" INVALIDPARAMETER_RULEORIGINMULTIDOMAIN = "InvalidParameter.RuleOriginMultiDomain" INVALIDPARAMETER_RULEORIGINPORTINTEGER = "InvalidParameter.RuleOriginPortInteger" INVALIDPARAMETER_RULEORIGINVALUEERROR = "InvalidParameter.RuleOriginValueError" INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" INVALIDPARAMETER_RULEPORTGROUP = "InvalidParameter.RulePortGroup" INVALIDPARAMETER_RULEPORTINTEGER = "InvalidParameter.RulePortInteger" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDRULEPROTO = "InvalidParameter.InvalidRuleProto" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_RULEORIGINFORMATERROR = "InvalidParameter.RuleOriginFormatError" INVALIDPARAMETER_RULEORIGINMULTIDOMAIN = "InvalidParameter.RuleOriginMultiDomain" INVALIDPARAMETER_RULEORIGINPORTINTEGER = "InvalidParameter.RuleOriginPortInteger" INVALIDPARAMETER_RULEORIGINVALUEERROR = "InvalidParameter.RuleOriginValueError" INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" INVALIDPARAMETER_RULEPORTGROUP = "InvalidParameter.RulePortGroup" INVALIDPARAMETER_RULEPORTINTEGER = "InvalidParameter.RulePortInteger" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_PLATTYPEIPACCELERATEMAINLANDNOTSUPPORT = "OperationDenied.PlatTypeIPAccelerateMainlandNotSupport" OPERATIONDENIED_ZONENOTACTIVE = "OperationDenied.ZoneNotActive" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateOriginGroup ¶
func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup This API is used to create an origin group for easy management. The created origin server group can be used for **adding acceleration domain names** and **layer-4 proxy configuration**.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" INVALIDPARAMETER_ORIGINTHIRDPARTYPARAMFORMATERROR = "InvalidParameter.OriginThirdPartyParamFormatError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateOriginGroupWithContext ¶
func (c *Client) CreateOriginGroupWithContext(ctx context.Context, request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup This API is used to create an origin group for easy management. The created origin server group can be used for **adding acceleration domain names** and **layer-4 proxy configuration**.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" INVALIDPARAMETER_ORIGINTHIRDPARTYPARAMFORMATERROR = "InvalidParameter.OriginThirdPartyParamFormatError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePlanForZone ¶
func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone This API is used to purchase a plan for a new site.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
func (*Client) CreatePlanForZoneWithContext ¶
func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone This API is used to purchase a plan for a new site.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreatePurgeTask ¶
func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask When the origin server resource is updated but the node cache TTL has not expired, the user will still access the old resource. To solve this problem, you can use this API to purge the node cache. There are two action options: <li>Delete directly: Delete the node cache directly without any verification. Trigger origin-pull when the resource is requested.</li><li>Mark as expired: Set the node resource as expired, and trigger origin-pull verification when the resource, that is, send an HTTP conditional request with If-None-Match and If-Modified-Since headers. If the origin responds with 200, the node pulls new resources from the origin and update the cache. If the origin responds with 304, the node does not update the cache</li>.
For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1).
error code that may be returned:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" 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" LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreatePurgeTaskWithContext ¶
func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask When the origin server resource is updated but the node cache TTL has not expired, the user will still access the old resource. To solve this problem, you can use this API to purge the node cache. There are two action options: <li>Delete directly: Delete the node cache directly without any verification. Trigger origin-pull when the resource is requested.</li><li>Mark as expired: Set the node resource as expired, and trigger origin-pull verification when the resource, that is, send an HTTP conditional request with If-None-Match and If-Modified-Since headers. If the origin responds with 200, the node pulls new resources from the origin and update the cache. If the origin responds with 304, the node does not update the cache</li>.
For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1).
error code that may be returned:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" 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" LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule This API is used to create a rule in the rule engine.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACCESSREDIRECTREGEXERROR = "InvalidParameter.AccessRedirectRegexError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITION = "InvalidParameter.ErrInvalidCondition" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYREGULAR = "InvalidParameter.ErrInvalidConditionValueTooManyRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPEEXPIRETIME = "InvalidParameter.InvalidAuthenticationTypeExpireTime" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECT = "InvalidParameter.InvalidUrlRedirect" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateRuleWithContext ¶
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule This API is used to create a rule in the rule engine.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACCESSREDIRECTREGEXERROR = "InvalidParameter.AccessRedirectRegexError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITION = "InvalidParameter.ErrInvalidCondition" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYREGULAR = "InvalidParameter.ErrInvalidConditionValueTooManyRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPEEXPIRETIME = "InvalidParameter.InvalidAuthenticationTypeExpireTime" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECT = "InvalidParameter.InvalidUrlRedirect" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSecurityIPGroup ¶
func (c *Client) CreateSecurityIPGroup(request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
CreateSecurityIPGroup This API is used to create a security IP group.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSecurityIPGroupWithContext ¶
func (c *Client) CreateSecurityIPGroupWithContext(ctx context.Context, request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
CreateSecurityIPGroup This API is used to create a security IP group.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSharedCNAME ¶
func (c *Client) CreateSharedCNAME(request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
CreateSharedCNAME This API is used to create a shared CNAME. It is now only available to beta users.
error code that may be returned:
INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME" INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists"
func (*Client) CreateSharedCNAMEWithContext ¶
func (c *Client) CreateSharedCNAMEWithContext(ctx context.Context, request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
CreateSharedCNAME This API is used to create a shared CNAME. It is now only available to beta users.
error code that may be returned:
INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME" INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists"
func (*Client) CreateZone ¶
func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone This API is used to create a site. After you create the site, you can connect it to EdgeOne via the CNAME or NS (see [Quick Start](https://intl.cloud.tencent.com/document/product/1552/87601?from_cn_redirect=1)), or connect it without a domain name (see [Quick Access to L4 Proxy Service](https://intl.cloud.tencent.com/document/product/1552/96051?from_cn_redirect=1)).
If there are already EdgeOne plans under the current account, it is recommended to pass in the `PlanId` to bind the site with the plan directly. If `PlanId` is not passed in, the created site is not activated. You need to call [BindZoneToPlan](https://intl.cloud.tencent.com/document/product/1552/83042?from_cn_redirect=1) to bind the site with a plan. To purchase a plan, please go to the EdgeOne console.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_HOST = "ResourceInUse.Host" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateZoneWithContext ¶
func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone This API is used to create a site. After you create the site, you can connect it to EdgeOne via the CNAME or NS (see [Quick Start](https://intl.cloud.tencent.com/document/product/1552/87601?from_cn_redirect=1)), or connect it without a domain name (see [Quick Access to L4 Proxy Service](https://intl.cloud.tencent.com/document/product/1552/96051?from_cn_redirect=1)).
If there are already EdgeOne plans under the current account, it is recommended to pass in the `PlanId` to bind the site with the plan directly. If `PlanId` is not passed in, the created site is not activated. You need to call [BindZoneToPlan](https://intl.cloud.tencent.com/document/product/1552/83042?from_cn_redirect=1) to bind the site with a plan. To purchase a plan, please go to the EdgeOne console.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_HOST = "ResourceInUse.Host" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DeleteAccelerationDomains ¶
func (c *Client) DeleteAccelerationDomains(request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
DeleteAccelerationDomains This API is used to batch remove accelerated domain names.
error code that may be returned:
INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteAccelerationDomainsWithContext ¶
func (c *Client) DeleteAccelerationDomainsWithContext(ctx context.Context, request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
DeleteAccelerationDomains This API is used to batch remove accelerated domain names.
error code that may be returned:
INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteAliasDomain ¶
func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain This API is used to delete an alias domain name.
error code that may be returned:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteAliasDomainWithContext ¶
func (c *Client) DeleteAliasDomainWithContext(ctx context.Context, request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain This API is used to delete an alias domain name.
error code that may be returned:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
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:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
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:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteOriginGroup ¶
func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup This API is used to delete an origin group. Note that an origin group can not be deleted if it is referenced by services (e.g. L4 Proxy, domain name service, load balancing, rule engines).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ORIGINGROUPACCELERATIONDOMAINUSED = "OperationDenied.OriginGroupAccelerationDomainUsed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteOriginGroupWithContext ¶
func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup This API is used to delete an origin group. Note that an origin group can not be deleted if it is referenced by services (e.g. L4 Proxy, domain name service, load balancing, rule engines).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ORIGINGROUPACCELERATIONDOMAINUSED = "OperationDenied.OriginGroupAccelerationDomainUsed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteRules ¶
func (c *Client) DeleteRules(request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules This API is used to batch delete rules from the rule engine.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteRulesWithContext ¶
func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules This API is used to batch delete rules from the rule engine.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSecurityIPGroup ¶
func (c *Client) DeleteSecurityIPGroup(request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
DeleteSecurityIPGroup This API is used to delete a specified security IP group. Note that the security IP group cannot be deleted if it is referenced in a rule.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSecurityIPGroupWithContext ¶
func (c *Client) DeleteSecurityIPGroupWithContext(ctx context.Context, request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
DeleteSecurityIPGroup This API is used to delete a specified security IP group. Note that the security IP group cannot be deleted if it is referenced in a rule.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSharedCNAME ¶
func (c *Client) DeleteSharedCNAME(request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
DeleteSharedCNAME This API is used to delete a shared CNAME. It is now only available to beta users.
error code that may be returned:
RESOURCEINUSE_SHAREDCNAME = "ResourceInUse.SharedCNAME"
func (*Client) DeleteSharedCNAMEWithContext ¶
func (c *Client) DeleteSharedCNAMEWithContext(ctx context.Context, request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
DeleteSharedCNAME This API is used to delete a shared CNAME. It is now only available to beta users.
error code that may be returned:
RESOURCEINUSE_SHAREDCNAME = "ResourceInUse.SharedCNAME"
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" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ZONEISBINDINGSHAREDCNAME = "OperationDenied.ZoneIsBindingSharedCNAME" OPERATIONDENIED_ZONEISREFERENCECUSTOMERRORPAGE = "OperationDenied.ZoneIsReferenceCustomErrorPage" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ZONEISBINDINGSHAREDCNAME = "OperationDenied.ZoneIsBindingSharedCNAME" OPERATIONDENIED_ZONEISREFERENCECUSTOMERRORPAGE = "OperationDenied.ZoneIsReferenceCustomErrorPage" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeAccelerationDomains ¶
func (c *Client) DescribeAccelerationDomains(request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
DescribeAccelerationDomains This API is used to query domain name information of a site, including the acceleration domain name, origin, and domain name status. You can query the information of all domain names, or specific domain names by specifying filters information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAccelerationDomainsWithContext ¶
func (c *Client) DescribeAccelerationDomainsWithContext(ctx context.Context, request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
DescribeAccelerationDomains This API is used to query domain name information of a site, including the acceleration domain name, origin, and domain name status. You can query the information of all domain names, or specific domain names by specifying filters information.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAliasDomains ¶
func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains This API is used to query the information of alias domain names.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAliasDomainsWithContext ¶
func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains This API is used to query the information of alias domain names.
error code that may be returned:
INTERNALERROR = "InternalError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeApplicationProxies ¶
func (c *Client) DescribeApplicationProxies(request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
DescribeApplicationProxies This API is used to query the list of application proxies.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeApplicationProxiesWithContext ¶
func (c *Client) DescribeApplicationProxiesWithContext(ctx context.Context, request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
DescribeApplicationProxies This API is used to query the list of application proxies.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAvailablePlans ¶
func (c *Client) DescribeAvailablePlans(request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans This API is used to query plan options available for purchase.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeAvailablePlansWithContext ¶
func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans This API is used to query plan options available for purchase.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeContentQuota ¶
func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota This API is used to query content management quotas.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeContentQuotaWithContext ¶
func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota This API is used to query content management quotas.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeDDoSAttackData ¶
func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
DescribeDDoSAttackData This API is used to query the time-series data of DDoS attacks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackDataWithContext ¶
func (c *Client) DescribeDDoSAttackDataWithContext(ctx context.Context, request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
DescribeDDoSAttackData This API is used to query the time-series data of DDoS attacks.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEvent ¶
func (c *Client) DescribeDDoSAttackEvent(request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
DescribeDDoSAttackEvent This API is used to query DDoS attack events.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEventWithContext ¶
func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
DescribeDDoSAttackEvent This API is used to query DDoS attack events.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopData ¶
func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData This API is used to query the top-ranked DDoS attack data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopDataWithContext ¶
func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData This API is used to query the top-ranked DDoS attack data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
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:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
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:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
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:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeIdentifications ¶
func (c *Client) DescribeIdentifications(request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
DescribeIdentifications This API is used to query the verification information of a site.
error code that may be returned:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeIdentificationsWithContext ¶
func (c *Client) DescribeIdentificationsWithContext(ctx context.Context, request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
DescribeIdentifications This API is used to query the verification information of a site.
error code that may be returned:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeOriginGroup ¶
func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup This API is used to obtain a list of origin groups.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginGroupWithContext ¶
func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup This API is used to obtain a list of origin groups.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginProtection ¶
func (c *Client) DescribeOriginProtection(request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
DescribeOriginProtection This API is used to query the origin protection configuration.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginProtectionWithContext ¶
func (c *Client) DescribeOriginProtectionWithContext(ctx context.Context, request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
DescribeOriginProtection This API is used to query the origin protection configuration.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOverviewL7Data ¶
func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data This API is used to query the time sequence traffic data of the monitoring category in L7. This API is to be discarded. Please use the API <a href="https://intl.cloud.tencent.com/document/product/1552/80648?from_cn_redirect=1">DescribeTimingL7AnalysisData</a>.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeOverviewL7DataWithContext ¶
func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data This API is used to query the time sequence traffic data of the monitoring category in L7. This API is to be discarded. Please use the API <a href="https://intl.cloud.tencent.com/document/product/1552/80648?from_cn_redirect=1">DescribeTimingL7AnalysisData</a>.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribePrefetchTasks ¶
func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
DescribePrefetchTasks DescribePrefetchTasks is used to query the submission history and execution progress of preheating tasks. This interface can be used to query the tasks submitted by the CreatePrefetchTasks interface.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"
func (*Client) DescribePrefetchTasksWithContext ¶
func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
DescribePrefetchTasks DescribePrefetchTasks is used to query the submission history and execution progress of preheating tasks. This interface can be used to query the tasks submitted by the CreatePrefetchTasks interface.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"
func (*Client) DescribePurgeTasks ¶
func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
DescribePurgeTasks DescribePurgeTasks is used to query the submitted URL refreshing and directory refreshing records and execution progress. This interface can be used to query the tasks submitted by the CreatePurgeTasks API.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribePurgeTasksWithContext ¶
func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
DescribePurgeTasks DescribePurgeTasks is used to query the submitted URL refreshing and directory refreshing records and execution progress. This interface can be used to query the tasks submitted by the CreatePurgeTasks API.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRules ¶
func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules This API is used to query the rules in the rule engine.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesSetting ¶
func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting This API is used to return the list of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesSettingWithContext ¶
func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting This API is used to return the list of the settings of the rule engine that can be used for request match and their detailed recommended configuration information.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesWithContext ¶
func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules This API is used to query the rules in the rule engine.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityTemplateBindings ¶
func (c *Client) DescribeSecurityTemplateBindings(request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
DescribeSecurityTemplateBindings This API is used to query bindings of a policy template.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityTemplateBindingsWithContext ¶
func (c *Client) DescribeSecurityTemplateBindingsWithContext(ctx context.Context, request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
DescribeSecurityTemplateBindings This API is used to query bindings of a policy template.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeTimingL4Data ¶
func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data This API is used to query the list of L4 traffic data recorded over time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL4DataWithContext ¶
func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data This API is used to query the list of L4 traffic data recorded over time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisData ¶
func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData This API is used to query the L7 data recorded over time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisDataWithContext ¶
func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData This API is used to query the L7 data recorded over time.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheData ¶
func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData This API is used to query the time-series L7 cached data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheDataWithContext ¶
func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData This API is used to query the time-series L7 cached data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisData ¶
func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData This API is used to query the top-ranked L7 traffic data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisDataWithContext ¶
func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData This API is used to query the top-ranked L7 traffic data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheData ¶
func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData This API is used to query the cached L7 top-ranked data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheDataWithContext ¶
func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData This API is used to query the cached L7 top-ranked data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" 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:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
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:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query the information of sites that you have access to. You can filter sites based on different query criteria.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeZonesWithContext ¶
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query the information of sites that you have access to. You can filter sites based on different query criteria.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DownloadL4Logs ¶
func (c *Client) DownloadL4Logs(request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
DownloadL4Logs This API is used to download L4 logs.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DownloadL4LogsWithContext ¶
func (c *Client) DownloadL4LogsWithContext(ctx context.Context, request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
DownloadL4Logs This API is used to download L4 logs.
error code that may be returned:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DownloadL7Logs ¶
func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs This API is used to download L7 logs.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DownloadL7LogsWithContext ¶
func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs This API is used to download L7 logs.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" 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:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAccelerationDomain ¶
func (c *Client) ModifyAccelerationDomain(request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
ModifyAccelerationDomain This API is used to modify an accelerated domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDAWSSECRETKEY = "InvalidParameter.InvalidAwsSecretKey" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyAccelerationDomainStatuses ¶
func (c *Client) ModifyAccelerationDomainStatuses(request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
ModifyAccelerationDomainStatuses This API is used to batch modify the status of accelerated domains.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyAccelerationDomainStatusesWithContext ¶
func (c *Client) ModifyAccelerationDomainStatusesWithContext(ctx context.Context, request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
ModifyAccelerationDomainStatuses This API is used to batch modify the status of accelerated domains.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyAccelerationDomainWithContext ¶
func (c *Client) ModifyAccelerationDomainWithContext(ctx context.Context, request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
ModifyAccelerationDomain This API is used to modify an accelerated domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDAWSSECRETKEY = "InvalidParameter.InvalidAwsSecretKey" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyAliasDomain ¶
func (c *Client) ModifyAliasDomain(request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
ModifyAliasDomain This API is used to modify an alias domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyAliasDomainStatus ¶
func (c *Client) ModifyAliasDomainStatus(request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
ModifyAliasDomainStatus This API is used to modify the status of an alias domain name.
error code that may be returned:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyAliasDomainStatusWithContext ¶
func (c *Client) ModifyAliasDomainStatusWithContext(ctx context.Context, request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
ModifyAliasDomainStatus This API is used to modify the status of an alias domain name.
error code that may be returned:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyAliasDomainWithContext ¶
func (c *Client) ModifyAliasDomainWithContext(ctx context.Context, request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
ModifyAliasDomain This API is used to modify an alias domain name.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" 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:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
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:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyHostsCertificate ¶
func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate This API is used to configure the certificate of a site. You can use your own certificate or [apply for a free certificate](https://intl.cloud.tencent.com/document/product/1552/90437?from_cn_redirect=1).
To use an external certificate, upload the certificate to [SSL Certificates Console](https://console.cloud.tencent.com/certoview) first, and then input the certificate ID in this API. For details, see [Deploying Own Certificates to EdgeOne Domains](https://intl.cloud.tencent.com/document/product/1552/88874?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATEHASEXPIRED = "FailedOperation.CertificateHasExpired" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" FAILEDOPERATION_MODIFYFAILED = "FailedOperation.ModifyFailed" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyHostsCertificateWithContext ¶
func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate This API is used to configure the certificate of a site. You can use your own certificate or [apply for a free certificate](https://intl.cloud.tencent.com/document/product/1552/90437?from_cn_redirect=1).
To use an external certificate, upload the certificate to [SSL Certificates Console](https://console.cloud.tencent.com/certoview) first, and then input the certificate ID in this API. For details, see [Deploying Own Certificates to EdgeOne Domains](https://intl.cloud.tencent.com/document/product/1552/88874?from_cn_redirect=1).
error code that may be returned:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATEHASEXPIRED = "FailedOperation.CertificateHasExpired" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" FAILEDOPERATION_MODIFYFAILED = "FailedOperation.ModifyFailed" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyOriginGroup ¶
func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup This API is used to modify the configuration of an origin group. The original configuration will be overwritten.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline" OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyOriginGroupWithContext ¶
func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup This API is used to modify the configuration of an origin group. The original configuration will be overwritten.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline" OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyRule ¶
func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule This API is used to modify a rule in the rule engine.
error code that may be returned:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONDUPLICATEACTION = "InvalidParameter.ErrInvalidActionDuplicateAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDELSEWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidElseWhenModifyOriginActionConfigured" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEFORMAT = "InvalidParameter.InvalidAuthenticationTypeTimeFormat" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEPARAM = "InvalidParameter.InvalidAuthenticationTypeTimeParam" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYCOOKIE = "InvalidParameter.InvalidCacheKeyCookie" INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDCOSDOMAIN = "InvalidParameter.InvalidCosDomain" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyRuleWithContext ¶
func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule This API is used to modify a rule in the rule engine.
error code that may be returned:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONDUPLICATEACTION = "InvalidParameter.ErrInvalidActionDuplicateAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDELSEWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidElseWhenModifyOriginActionConfigured" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEFORMAT = "InvalidParameter.InvalidAuthenticationTypeTimeFormat" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEPARAM = "InvalidParameter.InvalidAuthenticationTypeTimeParam" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYCOOKIE = "InvalidParameter.InvalidCacheKeyCookie" INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDCOSDOMAIN = "InvalidParameter.InvalidCosDomain" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifySecurityIPGroup ¶
func (c *Client) ModifySecurityIPGroup(request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
ModifySecurityIPGroup This API is used to modify a security IP group.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifySecurityIPGroupWithContext ¶
func (c *Client) ModifySecurityIPGroupWithContext(ctx context.Context, request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
ModifySecurityIPGroup This API is used to modify a security IP group.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifySecurityPolicy ¶
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy This API is used to modify the web and bot security configurations.
error code that may be returned:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" LIMITEXCEEDED_SECURITY = "LimitExceeded.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifySecurityPolicyWithContext ¶
func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy This API is used to modify the web and bot security configurations.
error code that may be returned:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" LIMITEXCEEDED_SECURITY = "LimitExceeded.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyZone ¶
func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone This API is used to modify a site.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_ZONENAMEISREQUIRED = "InvalidParameter.ZoneNameIsRequired" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" OPERATIONDENIED_NODOMAINACCESSZONEONLYALLOWMODIFIEDTOCNAME = "OperationDenied.NoDomainAccessZoneOnlyAllowModifiedToCNAME" OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = "OperationDenied.NoDomainAccessZoneOnlySupportModifyType" OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = "OperationDenied.PlanNotSupportModifyZoneArea" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
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:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINTYPE = "InvalidParameter.InvalidOriginType" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEMPTYLIST = "InvalidParameter.InvalidStandardDebugEmptyList" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting" INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = "InvalidParameter.OCDirectOriginRequiresSmartRouting" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = "OperationDenied.SharedCNAMEUnsupportedAccelerateMainland" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" 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:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINTYPE = "InvalidParameter.InvalidOriginType" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEMPTYLIST = "InvalidParameter.InvalidStandardDebugEmptyList" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting" INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = "InvalidParameter.OCDirectOriginRequiresSmartRouting" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = "OperationDenied.SharedCNAMEUnsupportedAccelerateMainland" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" 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:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_L4PROXYINPROGRESSSTATUS = "OperationDenied.L4ProxyInProgressStatus" OPERATIONDENIED_L4PROXYINSTOPPINGSTATUS = "OperationDenied.L4ProxyInStoppingStatus" OPERATIONDENIED_L7HOSTINPROCESSSTATUS = "OperationDenied.L7HostInProcessStatus" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_L4PROXYINPROGRESSSTATUS = "OperationDenied.L4ProxyInProgressStatus" OPERATIONDENIED_L4PROXYINSTOPPINGSTATUS = "OperationDenied.L4ProxyInStoppingStatus" OPERATIONDENIED_L7HOSTINPROCESSSTATUS = "OperationDenied.L7HostInProcessStatus" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyZoneWithContext ¶
func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone This API is used to modify a site.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_ZONENAMEISREQUIRED = "InvalidParameter.ZoneNameIsRequired" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" OPERATIONDENIED_NODOMAINACCESSZONEONLYALLOWMODIFIEDTOCNAME = "OperationDenied.NoDomainAccessZoneOnlyAllowModifiedToCNAME" OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = "OperationDenied.NoDomainAccessZoneOnlySupportModifyType" OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = "OperationDenied.PlanNotSupportModifyZoneArea" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) VerifyOwnership ¶
func (c *Client) VerifyOwnership(request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
VerifyOwnership This API is used to verify your ownership of a site or domain name. It's required in the CNAME access mode. After a site is verified, you don't need to verify the ownership again for domain names added to it in the future. For details, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1).
For sites connected via the NS, you can query whether the NS is successfully switched through this API. For details, see [Modifying DNS Servers](https://intl.cloud.tencent.com/document/product/1552/90452?from_cn_redirect=1).
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) VerifyOwnershipWithContext ¶
func (c *Client) VerifyOwnershipWithContext(ctx context.Context, request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
VerifyOwnership This API is used to verify your ownership of a site or domain name. It's required in the CNAME access mode. After a site is verified, you don't need to verify the ownership again for domain names added to it in the future. For details, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1).
For sites connected via the NS, you can query whether the NS is successfully switched through this API. For details, see [Modifying DNS Servers](https://intl.cloud.tencent.com/document/product/1552/90452?from_cn_redirect=1).
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound"
type ClientIpCountry ¶
type ClientIpCountry struct { // Whether to enable configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Name of the request header that contains the client IP region. It is valid when `Switch=on`. // The default value `EO-Client-IPCountry` is used when it is not specified. HeaderName *string `json:"HeaderName,omitnil" name:"HeaderName"` }
type ClientIpHeader ¶
type ClientIpHeader struct { // Whether to enable the configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Name of the request header that contains the client IP for origin-pull. // The default value `X-Forwarded-IP` is used when it is not specified. // Note: This field may return `null`, indicating that no valid values can be obtained. HeaderName *string `json:"HeaderName,omitnil" name:"HeaderName"` }
type CnameStatus ¶
type CnameStatus struct { // The domain name. RecordName *string `json:"RecordName,omitnil" name:"RecordName"` // The CNAME address. // Note: u200dThis field may return null, indicating that no valid values can be obtained. Cname *string `json:"Cname,omitnil" name:"Cname"` // The CNAME status. Values: // <li>`active`: Activated</li> // <li>`moved`: Not activated </li> // Note: u200dThis field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil" name:"Status"` }
type CodeAction ¶
type CodeAction struct { // Feature name. For details, see [DescribeRulesSetting](https://intl.cloud.tencent.com/document/product/1552/80618?from_cn_redirect=1) API Action *string `json:"Action,omitnil" name:"Action"` // Operation parameter. Parameters []*RuleCodeActionParams `json:"Parameters,omitnil" name:"Parameters"` }
type Compression ¶
type Compression struct { // Whether to enable smart compression. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Compression algorithm. Values: // <li>`brotli`: Brotli algorithm</li> // <li>`gzip`: Gzip algorithm</li> // Note: This field may return null, indicating that no valid values can be obtained. Algorithms []*string `json:"Algorithms,omitnil" name:"Algorithms"` }
type CreateAccelerationDomainRequest ¶
type CreateAccelerationDomainRequest struct { *tchttp.BaseRequest // ID of the site related with the acceleration domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Acceleration domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Details of the origin. OriginInfo *OriginInfo `json:"OriginInfo,omitnil" name:"OriginInfo"` // Origin-pull protocol configuration. Values: // <li>`FOLLOW`: Follow the protocol of origin</li> // <li>`HTTP`: Send requests to the origin over HTTP</li> // <li>`HTTPS`: Send requests to the origin over HTTPS</li> // <li>Default: `FOLLOW`</li> OriginProtocol *string `json:"OriginProtocol,omitnil" name:"OriginProtocol"` // Ports for HTTP origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTP`. Port 80 is used if it's not specified. HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil" name:"HttpOriginPort"` // Ports for HTTPS origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTPS`. Port 443 is used if it's not specified. HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil" name:"HttpsOriginPort"` // IPv6 status. Values: // <li>`follow`: Follow the IPv6 configuration of the site</li> // <li>`on`: Enable</li> // <li>`off`: Disable</li> // <li>Default: `follow`</li> IPv6Status *string `json:"IPv6Status,omitnil" name:"IPv6Status"` }
func NewCreateAccelerationDomainRequest ¶
func NewCreateAccelerationDomainRequest() (request *CreateAccelerationDomainRequest)
func (*CreateAccelerationDomainRequest) FromJsonString ¶
func (r *CreateAccelerationDomainRequest) 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 (*CreateAccelerationDomainRequest) ToJsonString ¶
func (r *CreateAccelerationDomainRequest) ToJsonString() string
type CreateAccelerationDomainRequestParams ¶
type CreateAccelerationDomainRequestParams struct { // ID of the site related with the acceleration domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Acceleration domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Details of the origin. OriginInfo *OriginInfo `json:"OriginInfo,omitnil" name:"OriginInfo"` // Origin-pull protocol configuration. Values: // <li>`FOLLOW`: Follow the protocol of origin</li> // <li>`HTTP`: Send requests to the origin over HTTP</li> // <li>`HTTPS`: Send requests to the origin over HTTPS</li> // <li>Default: `FOLLOW`</li> OriginProtocol *string `json:"OriginProtocol,omitnil" name:"OriginProtocol"` // Ports for HTTP origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTP`. Port 80 is used if it's not specified. HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil" name:"HttpOriginPort"` // Ports for HTTPS origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTPS`. Port 443 is used if it's not specified. HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil" name:"HttpsOriginPort"` // IPv6 status. Values: // <li>`follow`: Follow the IPv6 configuration of the site</li> // <li>`on`: Enable</li> // <li>`off`: Disable</li> // <li>Default: `follow`</li> IPv6Status *string `json:"IPv6Status,omitnil" name:"IPv6Status"` }
Predefined struct for user
type CreateAccelerationDomainResponse ¶
type CreateAccelerationDomainResponse struct { *tchttp.BaseResponse Response *CreateAccelerationDomainResponseParams `json:"Response"` }
func NewCreateAccelerationDomainResponse ¶
func NewCreateAccelerationDomainResponse() (response *CreateAccelerationDomainResponse)
func (*CreateAccelerationDomainResponse) FromJsonString ¶
func (r *CreateAccelerationDomainResponse) 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 (*CreateAccelerationDomainResponse) ToJsonString ¶
func (r *CreateAccelerationDomainResponse) ToJsonString() string
type CreateAccelerationDomainResponseParams ¶
type CreateAccelerationDomainResponseParams struct { // Use the information returned by this parameter to verify the ownership of a domain name. For details, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1). // Note: This field may return·null, indicating that no valid values can be obtained. OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil" name:"OwnershipVerification"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateAliasDomainRequest ¶
type CreateAliasDomainRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The alias domain name. AliasName *string `json:"AliasName,omitnil" name:"AliasName"` // The target domain name. TargetName *string `json:"TargetName,omitnil" name:"TargetName"` // Certificate configuration. Values: // <li>`none`: (Default) Do not configure</li> // <li>`hosting`: Managed SSL certificate</li> CertType *string `json:"CertType,omitnil" name:"CertType"` // The certificate ID. This field is required when `CertType=hosting`. CertId []*string `json:"CertId,omitnil" name:"CertId"` }
func NewCreateAliasDomainRequest ¶
func NewCreateAliasDomainRequest() (request *CreateAliasDomainRequest)
func (*CreateAliasDomainRequest) FromJsonString ¶
func (r *CreateAliasDomainRequest) 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 (*CreateAliasDomainRequest) ToJsonString ¶
func (r *CreateAliasDomainRequest) ToJsonString() string
type CreateAliasDomainRequestParams ¶
type CreateAliasDomainRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The alias domain name. AliasName *string `json:"AliasName,omitnil" name:"AliasName"` // The target domain name. TargetName *string `json:"TargetName,omitnil" name:"TargetName"` // Certificate configuration. Values: // <li>`none`: (Default) Do not configure</li> // <li>`hosting`: Managed SSL certificate</li> CertType *string `json:"CertType,omitnil" name:"CertType"` // The certificate ID. This field is required when `CertType=hosting`. CertId []*string `json:"CertId,omitnil" name:"CertId"` }
Predefined struct for user
type CreateAliasDomainResponse ¶
type CreateAliasDomainResponse struct { *tchttp.BaseResponse Response *CreateAliasDomainResponseParams `json:"Response"` }
func NewCreateAliasDomainResponse ¶
func NewCreateAliasDomainResponse() (response *CreateAliasDomainResponse)
func (*CreateAliasDomainResponse) FromJsonString ¶
func (r *CreateAliasDomainResponse) 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 (*CreateAliasDomainResponse) ToJsonString ¶
func (r *CreateAliasDomainResponse) ToJsonString() string
type CreateAliasDomainResponseParams ¶
type CreateAliasDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateApplicationProxyRequest ¶
type CreateApplicationProxyRequest struct { *tchttp.BaseRequest // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Domain name or subdomain name when `ProxyType=hostname`; // Instance name when `ProxyType=instance`. ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"` // The scheduling mode. Values: // <li>`ip`: Schedule via Anycast IP.</li> // <li>`domain`: Schedule via CNAME.</li> PlatType *string `json:"PlatType,omitnil" name:"PlatType"` // Whether to enable security protection. Values: // <li>`0`: Disable security protection.</li> // <li>`1`: Enable security protection.</li> SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"` // Whether to enable acceleration. Values: // <li>`0`: Disable acceleration.</li> // <li>`1`: Enable acceleration.</li> AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"` // The proxy type. Values: // <li>`hostname`: The proxy is created by subdomain name.</li> // <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`. ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"` // The session persistence duration. Value range: 30-3600 (in seconds). // If not specified, this field uses the default value 600. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // Ipv6 access configuration. // IPv6 access is disabled if it is not specified. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // The rule details. // If this field is not specified, an application proxy rule will not be created. ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitnil" name:"ApplicationProxyRules"` // Cross-MLC-border acceleration. It is disabled if this parameter is not specified. AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil" name:"AccelerateMainland"` }
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,omitnil" name:"ZoneId"` // Domain name or subdomain name when `ProxyType=hostname`; // Instance name when `ProxyType=instance`. ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"` // The scheduling mode. Values: // <li>`ip`: Schedule via Anycast IP.</li> // <li>`domain`: Schedule via CNAME.</li> PlatType *string `json:"PlatType,omitnil" name:"PlatType"` // Whether to enable security protection. Values: // <li>`0`: Disable security protection.</li> // <li>`1`: Enable security protection.</li> SecurityType *int64 `json:"SecurityType,omitnil" name:"SecurityType"` // Whether to enable acceleration. Values: // <li>`0`: Disable acceleration.</li> // <li>`1`: Enable acceleration.</li> AccelerateType *int64 `json:"AccelerateType,omitnil" name:"AccelerateType"` // The proxy type. Values: // <li>`hostname`: The proxy is created by subdomain name.</li> // <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`. ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"` // The session persistence duration. Value range: 30-3600 (in seconds). // If not specified, this field uses the default value 600. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // Ipv6 access configuration. // IPv6 access is disabled if it is not specified. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // The rule details. // If this field is not specified, an application proxy rule will not be created. ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitnil" name:"ApplicationProxyRules"` // Cross-MLC-border acceleration. It is disabled if this parameter is not specified. AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil" name:"AccelerateMainland"` }
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 { // The L4 application proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateApplicationProxyRuleRequest ¶
type CreateApplicationProxyRuleRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The protocol. Values: // <li>`TCP`: TCP protocol</li> // <li>`UDP`: UDP protocol</li> Proto *string `json:"Proto,omitnil" name:"Proto"` // The access port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-90</li> Port []*string `json:"Port,omitnil" name:"Port"` // The origin type. Values: // <li>`custom`: Specified origins</li> // <li>`origins`: Origin group</li> OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // Origin server information: // <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li> // <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li> OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"` // Passes the client IP. Values: // <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li> // <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li> // <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li> // <li>`OFF`: Not pass the client IP.</li>Default value: OFF. ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"` // Whether to enable session persistence. Values: // <li>`true`: Enable.</li> // <li>`false`: Disable.</li>Default value: false. SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"` // Duration for the persistent session. The value takes effect only when `SessionPersist = true`. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The origin port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-82</li> OriginPort *string `json:"OriginPort,omitnil" name:"OriginPort"` // Rule tag. This parameter is left empty by default. RuleTag *string `json:"RuleTag,omitnil" name:"RuleTag"` }
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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The protocol. Values: // <li>`TCP`: TCP protocol</li> // <li>`UDP`: UDP protocol</li> Proto *string `json:"Proto,omitnil" name:"Proto"` // The access port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-90</li> Port []*string `json:"Port,omitnil" name:"Port"` // The origin type. Values: // <li>`custom`: Specified origins</li> // <li>`origins`: Origin group</li> OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // Origin server information: // <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li> // <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li> OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"` // Passes the client IP. Values: // <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li> // <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li> // <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li> // <li>`OFF`: Not pass the client IP.</li>Default value: OFF. ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"` // Whether to enable session persistence. Values: // <li>`true`: Enable.</li> // <li>`false`: Disable.</li>Default value: false. SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"` // Duration for the persistent session. The value takes effect only when `SessionPersist = true`. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The origin port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-82</li> OriginPort *string `json:"OriginPort,omitnil" name:"OriginPort"` // Rule tag. This parameter is left empty by default. RuleTag *string `json:"RuleTag,omitnil" name:"RuleTag"` }
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 { // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateOriginGroupRequest ¶
type CreateOriginGroupRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Origin group name. It can contain 1 to 200 characters ([a-z], [A-Z], [0-9] and [_-]). Name *string `json:"Name,omitnil" name:"Name"` // (Required) Origin group type. Values: // <li>`GENERAL`: General origin groups. It supports IPs and domain names. It can be referenced by DNS, Rule Engine, Layer 4 Proxy and General LoadBalancer. </li> // <li>`HTTP`: HTTP-specific origin groups. It supports IPs/domain names and object storage buckets. It can be referenced by acceleration domain names, rule engines and HTTP LoadBalancer. It cannot be referenced by L4 proxies. </li> Type *string `json:"Type,omitnil" name:"Type"` // (Required) Origins in the origin group. Records []*OriginRecord `json:"Records,omitnil" name:"Records"` // Host header used for origin-pull. It only works when `Type=HTTP`. The `HostHeader` specified in `RuleEngine` takes a higher priority over this configuration. HostHeader *string `json:"HostHeader,omitnil" name:"HostHeader"` }
func NewCreateOriginGroupRequest ¶
func NewCreateOriginGroupRequest() (request *CreateOriginGroupRequest)
func (*CreateOriginGroupRequest) FromJsonString ¶
func (r *CreateOriginGroupRequest) 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 (*CreateOriginGroupRequest) ToJsonString ¶
func (r *CreateOriginGroupRequest) ToJsonString() string
type CreateOriginGroupRequestParams ¶
type CreateOriginGroupRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Origin group name. It can contain 1 to 200 characters ([a-z], [A-Z], [0-9] and [_-]). Name *string `json:"Name,omitnil" name:"Name"` // (Required) Origin group type. Values: // <li>`GENERAL`: General origin groups. It supports IPs and domain names. It can be referenced by DNS, Rule Engine, Layer 4 Proxy and General LoadBalancer. </li> // <li>`HTTP`: HTTP-specific origin groups. It supports IPs/domain names and object storage buckets. It can be referenced by acceleration domain names, rule engines and HTTP LoadBalancer. It cannot be referenced by L4 proxies. </li> Type *string `json:"Type,omitnil" name:"Type"` // (Required) Origins in the origin group. Records []*OriginRecord `json:"Records,omitnil" name:"Records"` // Host header used for origin-pull. It only works when `Type=HTTP`. The `HostHeader` specified in `RuleEngine` takes a higher priority over this configuration. HostHeader *string `json:"HostHeader,omitnil" name:"HostHeader"` }
Predefined struct for user
type CreateOriginGroupResponse ¶
type CreateOriginGroupResponse struct { *tchttp.BaseResponse Response *CreateOriginGroupResponseParams `json:"Response"` }
func NewCreateOriginGroupResponse ¶
func NewCreateOriginGroupResponse() (response *CreateOriginGroupResponse)
func (*CreateOriginGroupResponse) FromJsonString ¶
func (r *CreateOriginGroupResponse) 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 (*CreateOriginGroupResponse) ToJsonString ¶
func (r *CreateOriginGroupResponse) ToJsonString() string
type CreateOriginGroupResponseParams ¶
type CreateOriginGroupResponseParams struct { // The ID of the origin group. OriginGroupId *string `json:"OriginGroupId,omitnil" name:"OriginGroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreatePlanForZoneRequest ¶
type CreatePlanForZoneRequest struct { *tchttp.BaseRequest // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The plan option. Values: // <li>`sta`: Standard plan that supports content delivery network outside the Chinese mainland.</li> // <li>`sta_with_bot`: Standard plan that supports content delivery network outside the Chinese mainland and bot management.</li> // <li>`sta_cm`: Standard plan that supports content delivery network inside the Chinese mainland.</li> // <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside the Chinese mainland and bot management.</li> // <li>`sta_global`: Standard plan that supports content delivery network over the globe.</li> // <li>`sta_global_with_bot`: Standard plan that supports content delivery network over the globe and bot management.</li> // <li>`ent`: Enterprise plan that supports content delivery network outside the Chinese mainland.</li> // <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.</li> // <li>`ent_cm`: Enterprise plan that supports content delivery network inside the Chinese mainland.</li> // <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.</li> // <li>`ent_global`: Enterprise plan that supports content delivery network over the globe.</li> // <li>`ent_global_with_bot`: Enterprise plan that supports content delivery network over the globe and bot management.</li>To get the available plan options for your account, view the output from <a href="https://intl.cloud.tencent.com/document/product/1552/80606?from_cn_redirect=1">DescribeAvailablePlans</a>. PlanType *string `json:"PlanType,omitnil" name:"PlanType"` }
func NewCreatePlanForZoneRequest ¶
func NewCreatePlanForZoneRequest() (request *CreatePlanForZoneRequest)
func (*CreatePlanForZoneRequest) FromJsonString ¶
func (r *CreatePlanForZoneRequest) 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 (*CreatePlanForZoneRequest) ToJsonString ¶
func (r *CreatePlanForZoneRequest) ToJsonString() string
type CreatePlanForZoneRequestParams ¶
type CreatePlanForZoneRequestParams struct { // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The plan option. Values: // <li>`sta`: Standard plan that supports content delivery network outside the Chinese mainland.</li> // <li>`sta_with_bot`: Standard plan that supports content delivery network outside the Chinese mainland and bot management.</li> // <li>`sta_cm`: Standard plan that supports content delivery network inside the Chinese mainland.</li> // <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside the Chinese mainland and bot management.</li> // <li>`sta_global`: Standard plan that supports content delivery network over the globe.</li> // <li>`sta_global_with_bot`: Standard plan that supports content delivery network over the globe and bot management.</li> // <li>`ent`: Enterprise plan that supports content delivery network outside the Chinese mainland.</li> // <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.</li> // <li>`ent_cm`: Enterprise plan that supports content delivery network inside the Chinese mainland.</li> // <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.</li> // <li>`ent_global`: Enterprise plan that supports content delivery network over the globe.</li> // <li>`ent_global_with_bot`: Enterprise plan that supports content delivery network over the globe and bot management.</li>To get the available plan options for your account, view the output from <a href="https://intl.cloud.tencent.com/document/product/1552/80606?from_cn_redirect=1">DescribeAvailablePlans</a>. PlanType *string `json:"PlanType,omitnil" name:"PlanType"` }
Predefined struct for user
type CreatePlanForZoneResponse ¶
type CreatePlanForZoneResponse struct { *tchttp.BaseResponse Response *CreatePlanForZoneResponseParams `json:"Response"` }
func NewCreatePlanForZoneResponse ¶
func NewCreatePlanForZoneResponse() (response *CreatePlanForZoneResponse)
func (*CreatePlanForZoneResponse) FromJsonString ¶
func (r *CreatePlanForZoneResponse) 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 (*CreatePlanForZoneResponse) ToJsonString ¶
func (r *CreatePlanForZoneResponse) ToJsonString() string
type CreatePlanForZoneResponseParams ¶
type CreatePlanForZoneResponseParams struct { // List of purchased resources. ResourceNames []*string `json:"ResourceNames,omitnil" name:"ResourceNames"` // List or order numbers. DealNames []*string `json:"DealNames,omitnil" name:"DealNames"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreatePrefetchTaskRequest ¶
type CreatePrefetchTaskRequest struct { *tchttp.BaseRequest // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Resources to be pre-warmed, for example: // http://www.example.com/example.txt // Note: The number of submitted tasks is limited by the quota of the plan. For details, see [Billing Overview](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1). Targets []*string `json:"Targets,omitnil" name:"Targets"` // Whether to encode a URL according to RFC3986. Enable this field when the URL contains non-ASCII characters. EncodeUrl *bool `json:"EncodeUrl,omitnil" name:"EncodeUrl"` // HTTP header information Headers []*Header `json:"Headers,omitnil" 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,omitnil" name:"ZoneId"` // Resources to be pre-warmed, for example: // http://www.example.com/example.txt // Note: The number of submitted tasks is limited by the quota of the plan. For details, see [Billing Overview](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1). Targets []*string `json:"Targets,omitnil" name:"Targets"` // Whether to encode a URL according to RFC3986. Enable this field when the URL contains non-ASCII characters. EncodeUrl *bool `json:"EncodeUrl,omitnil" name:"EncodeUrl"` // HTTP header information Headers []*Header `json:"Headers,omitnil" 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 { // ID of the task. JobId *string `json:"JobId,omitnil" name:"JobId"` // List of failed tasks. // Note: This field may return null, indicating that no valid values can be obtained. FailedList []*FailReason `json:"FailedList,omitnil" name:"FailedList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreatePurgeTaskRequest ¶
type CreatePurgeTaskRequest struct { *tchttp.BaseRequest // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Type of cache purging. Values: // <li>`purge_url`: Purge by the URL</li> // <li>`purge_prefix`: Purge by the directory</li> // <li>`purge_host`: Purge by the hostname</li> // <li>`purge_all`: Purge all caches</li> // <li>`purge_cache_tag`: Purge by the cache-tag </li>For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1). Type *string `json:"Type,omitnil" name:"Type"` // Configures how cache are purged. It works when `Type` is `purge_prefix`, `purge_host` or `purge_all`. Values: <li>`invalidate`: Only resources updated under the directory are purged.</li><li>`delete`: All resources under the directory are purged regardless of whether they are updated.</li>Note that when Type` is `purge_prefix`, it defaults to `invalidate`. Method *string `json:"Method,omitnil" name:"Method"` // List of cached resources to purge. The format for input depends on the type of cache purging. See examples below for details. <li>By default, non-ASCII characters u200dare escaped based on RFC3986.</li><li>The maximum number of tasks per purging request is determined by the EdgeOne plan. See [Billing Overview (New)](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1). </li> Targets []*string `json:"Targets,omitnil" 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,omitnil" 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,omitnil" name:"ZoneId"` // Type of cache purging. Values: // <li>`purge_url`: Purge by the URL</li> // <li>`purge_prefix`: Purge by the directory</li> // <li>`purge_host`: Purge by the hostname</li> // <li>`purge_all`: Purge all caches</li> // <li>`purge_cache_tag`: Purge by the cache-tag </li>For more details, see [Cache Purge](https://intl.cloud.tencent.com/document/product/1552/70759?from_cn_redirect=1). Type *string `json:"Type,omitnil" name:"Type"` // Configures how cache are purged. It works when `Type` is `purge_prefix`, `purge_host` or `purge_all`. Values: <li>`invalidate`: Only resources updated under the directory are purged.</li><li>`delete`: All resources under the directory are purged regardless of whether they are updated.</li>Note that when Type` is `purge_prefix`, it defaults to `invalidate`. Method *string `json:"Method,omitnil" name:"Method"` // List of cached resources to purge. The format for input depends on the type of cache purging. See examples below for details. <li>By default, non-ASCII characters u200dare escaped based on RFC3986.</li><li>The maximum number of tasks per purging request is determined by the EdgeOne plan. See [Billing Overview (New)](https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1). </li> Targets []*string `json:"Targets,omitnil" 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. // // Deprecated: EncodeUrl is deprecated. EncodeUrl *bool `json:"EncodeUrl,omitnil" 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 { // ID of the task. JobId *string `json:"JobId,omitnil" name:"JobId"` // List of failed tasks and reasons. // Note: This field may return null, indicating that no valid values can be obtained. FailedList []*FailReason `json:"FailedList,omitnil" name:"FailedList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateRuleRequest ¶
type CreateRuleRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The rule name (1 to 255 characters) RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Rule status. Values: // <li>`enable`: Enabled</li> // <li>`disable`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // The rule content. Rules []*Rule `json:"Rules,omitnil" name:"Rules"` // Tag of the rule. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
func NewCreateRuleRequest ¶
func NewCreateRuleRequest() (request *CreateRuleRequest)
func (*CreateRuleRequest) FromJsonString ¶
func (r *CreateRuleRequest) 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 (*CreateRuleRequest) ToJsonString ¶
func (r *CreateRuleRequest) ToJsonString() string
type CreateRuleRequestParams ¶
type CreateRuleRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The rule name (1 to 255 characters) RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Rule status. Values: // <li>`enable`: Enabled</li> // <li>`disable`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // The rule content. Rules []*Rule `json:"Rules,omitnil" name:"Rules"` // Tag of the rule. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type CreateRuleResponse ¶
type CreateRuleResponse struct { *tchttp.BaseResponse Response *CreateRuleResponseParams `json:"Response"` }
func NewCreateRuleResponse ¶
func NewCreateRuleResponse() (response *CreateRuleResponse)
func (*CreateRuleResponse) FromJsonString ¶
func (r *CreateRuleResponse) 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 (*CreateRuleResponse) ToJsonString ¶
func (r *CreateRuleResponse) ToJsonString() string
type CreateRuleResponseParams ¶
type CreateRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSecurityIPGroupRequest ¶
type CreateSecurityIPGroupRequest struct { *tchttp.BaseRequest // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IP group information. IPGroup *IPGroup `json:"IPGroup,omitnil" name:"IPGroup"` }
func NewCreateSecurityIPGroupRequest ¶
func NewCreateSecurityIPGroupRequest() (request *CreateSecurityIPGroupRequest)
func (*CreateSecurityIPGroupRequest) FromJsonString ¶
func (r *CreateSecurityIPGroupRequest) 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 (*CreateSecurityIPGroupRequest) ToJsonString ¶
func (r *CreateSecurityIPGroupRequest) ToJsonString() string
type CreateSecurityIPGroupRequestParams ¶
type CreateSecurityIPGroupRequestParams struct { // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IP group information. IPGroup *IPGroup `json:"IPGroup,omitnil" name:"IPGroup"` }
Predefined struct for user
type CreateSecurityIPGroupResponse ¶
type CreateSecurityIPGroupResponse struct { *tchttp.BaseResponse Response *CreateSecurityIPGroupResponseParams `json:"Response"` }
func NewCreateSecurityIPGroupResponse ¶
func NewCreateSecurityIPGroupResponse() (response *CreateSecurityIPGroupResponse)
func (*CreateSecurityIPGroupResponse) FromJsonString ¶
func (r *CreateSecurityIPGroupResponse) 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 (*CreateSecurityIPGroupResponse) ToJsonString ¶
func (r *CreateSecurityIPGroupResponse) ToJsonString() string
type CreateSecurityIPGroupResponseParams ¶
type CreateSecurityIPGroupResponseParams struct { // IP group ID. GroupId *int64 `json:"GroupId,omitnil" name:"GroupId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type CreateSharedCNAMERequest ¶
type CreateSharedCNAMERequest struct { string `json:"ZoneId,omitnil" name:"ZoneId"` // // Complete format of the shared CNAME: '<Custom prefix>+<A 12-character random string in ZoneId>+share.dnse[0-5].com'. // // For example, if the prefix is example.com, EdgeOne will create the shared CNAME: example.com.sai2ig51kaa5.share.dnse2.com. SharedCNAMEPrefix *string `json:"SharedCNAMEPrefix,omitnil" name:"SharedCNAMEPrefix"` Description *string `json:"Description,omitnil" name:"Description"` }ZoneId *
func NewCreateSharedCNAMERequest ¶
func NewCreateSharedCNAMERequest() (request *CreateSharedCNAMERequest)
func (*CreateSharedCNAMERequest) FromJsonString ¶
func (r *CreateSharedCNAMERequest) 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 (*CreateSharedCNAMERequest) ToJsonString ¶
func (r *CreateSharedCNAMERequest) ToJsonString() string
type CreateSharedCNAMERequestParams ¶
type CreateSharedCNAMERequestParams struct { string `json:"ZoneId,omitnil" name:"ZoneId"` // // Complete format of the shared CNAME: '<Custom prefix>+<A 12-character random string in ZoneId>+share.dnse[0-5].com'. // // For example, if the prefix is example.com, EdgeOne will create the shared CNAME: example.com.sai2ig51kaa5.share.dnse2.com. SharedCNAMEPrefix *string `json:"SharedCNAMEPrefix,omitnil" name:"SharedCNAMEPrefix"` Description *string `json:"Description,omitnil" name:"Description"` }ZoneId *
Predefined struct for user
type CreateSharedCNAMEResponse ¶
type CreateSharedCNAMEResponse struct {}
func NewCreateSharedCNAMEResponse ¶
func NewCreateSharedCNAMEResponse() (response *CreateSharedCNAMEResponse)
func (*CreateSharedCNAMEResponse) FromJsonString ¶
func (r *CreateSharedCNAMEResponse) 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 (*CreateSharedCNAMEResponse) ToJsonString ¶
func (r *CreateSharedCNAMEResponse) ToJsonString() string
type CreateSharedCNAMEResponseParams ¶
type CreateSharedCNAMEResponseParams struct { string `json:"SharedCNAME,omitnil" name:"SharedCNAME"` RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }SharedCNAME *
Predefined struct for user
type CreateZoneRequest ¶
type CreateZoneRequest struct { *tchttp.BaseRequest // Site access types. Options include: // <li>`partial`: (Default) Access through a CNAME record</li> // <li>`full`: Access through a name server</li> // <li>`noDomainAccess`: Access without using a domain name</li> Type *string `json:"Type,omitnil" name:"Type"` // Site name. For sites connected via CNAME/NS, pass in the secondary domain name (example.com). Leave it blank if the site is connected without a domain name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // The acceleration area of the L7 domain name when `Type` is `partial` or `full`. When Type is `noDomainAccess`, please leave it blank. // <li>`global`: Global AZs</li> // <li>`mainland`: AZs in the Chinese mainland</li> // <li>`overseas`: (Default) AZs outside the Chinese mainland </li> Area *string `json:"Area,omitnil" name:"Area"` // ID of the plan to which you want to bind the site. If you don't have an EdgeOne plan, purchase one in the EdgeOne console. PlanId *string `json:"PlanId,omitnil" name:"PlanId"` // The site alias. It allows up to 20 characters, including [0-9], [a-z], [A-Z] and [-_]. For details, see [Glossary](https://intl.cloud.tencent.com/document/product/1552/70202?from_cn_redirect=1). If you don't want to use it, just leave it blank. AliasZoneName *string `json:"AliasZoneName,omitnil" name:"AliasZoneName"` // Tags of the site. To create tags, go to the [Tag Console](https://console.cloud.tencent.com/tag/taglist). Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // Whether to allow duplicate sites. Values: // <li>`true`: Duplicate sites are allowed.</li> // <li>`false`: Duplicate sites are not allowed.</li>If it is left empty, the default value `false` is used. AllowDuplicates *bool `json:"AllowDuplicates,omitnil" name:"AllowDuplicates"` // Whether to skip scanning the existing DNS records of the site. Default value: false. JumpStart *bool `json:"JumpStart,omitnil" 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 access types. Options include: // <li>`partial`: (Default) Access through a CNAME record</li> // <li>`full`: Access through a name server</li> // <li>`noDomainAccess`: Access without using a domain name</li> Type *string `json:"Type,omitnil" name:"Type"` // Site name. For sites connected via CNAME/NS, pass in the secondary domain name (example.com). Leave it blank if the site is connected without a domain name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // The acceleration area of the L7 domain name when `Type` is `partial` or `full`. When Type is `noDomainAccess`, please leave it blank. // <li>`global`: Global AZs</li> // <li>`mainland`: AZs in the Chinese mainland</li> // <li>`overseas`: (Default) AZs outside the Chinese mainland </li> Area *string `json:"Area,omitnil" name:"Area"` // ID of the plan to which you want to bind the site. If you don't have an EdgeOne plan, purchase one in the EdgeOne console. PlanId *string `json:"PlanId,omitnil" name:"PlanId"` // The site alias. It allows up to 20 characters, including [0-9], [a-z], [A-Z] and [-_]. For details, see [Glossary](https://intl.cloud.tencent.com/document/product/1552/70202?from_cn_redirect=1). If you don't want to use it, just leave it blank. AliasZoneName *string `json:"AliasZoneName,omitnil" name:"AliasZoneName"` // Tags of the site. To create tags, go to the [Tag Console](https://console.cloud.tencent.com/tag/taglist). Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // Whether to allow duplicate sites. Values: // <li>`true`: Duplicate sites are allowed.</li> // <li>`false`: Duplicate sites are not allowed.</li>If it is left empty, the default value `false` is used. // // Deprecated: AllowDuplicates is deprecated. AllowDuplicates *bool `json:"AllowDuplicates,omitnil" name:"AllowDuplicates"` // Whether to skip scanning the existing DNS records of the site. Default value: false. // // Deprecated: JumpStart is deprecated. JumpStart *bool `json:"JumpStart,omitnil" 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. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Site ownership verification information. After the site is created, you need to complete the ownership verification before the site can serve normally. // // If `Type=partial`, add TXT records to your DNS provider or add files to the root DNS server, and then call [VerifyOwnership]() to complete verification. For more information, see [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1). // // If `Type = full`, switch the DNS server as instructed by [Modifying DNS Server](https://intl.cloud.tencent.com/document/product/1552/90452?from_cn_redirect=1). Then call [VerifyOwnership]() to check the result. // // If `Type = noDomainAccess`, leave it blank. No action is required. // Note: This field may return·null, indicating that no valid values can be obtained. OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil" name:"OwnershipVerification"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DDoS ¶
type DDoS struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type DDoSAttackEvent ¶
type DDoSAttackEvent struct { // The event ID. EventId *string `json:"EventId,omitnil" name:"EventId"` // The attack type. AttackType *string `json:"AttackType,omitnil" name:"AttackType"` // The attack status. AttackStatus *int64 `json:"AttackStatus,omitnil" name:"AttackStatus"` // The maximum attack bandwidth. AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitnil" name:"AttackMaxBandWidth"` // The peak attack packet rate. AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitnil" name:"AttackPacketMaxRate"` // The attack start time recorded in seconds. AttackStartTime *int64 `json:"AttackStartTime,omitnil" name:"AttackStartTime"` // The attack end time recorded in seconds. AttackEndTime *int64 `json:"AttackEndTime,omitnil" name:"AttackEndTime"` // The DDoS policy ID. // Note: This field may return `null`, indicating that no valid value was found. PolicyId *int64 `json:"PolicyId,omitnil" name:"PolicyId"` // The site ID. // Note: This field may return `null`, indicating that no valid value was found. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // Note: This field may return `null`, indicating that no valid value was found. Area *string `json:"Area,omitnil" name:"Area"` // The blocking time of a DDoS attack. // Note: This field may return `null`, indicating that no valid value was found. DDoSBlockData []*DDoSBlockData `json:"DDoSBlockData,omitnil" name:"DDoSBlockData"` }
type DDoSBlockData ¶
type DDoSBlockData struct { // The start time recorded in UNIX timestamp. StartTime *int64 `json:"StartTime,omitnil" name:"StartTime"` // The end time recorded in UNIX timestamp. `0` indicates the blocking is ongoing. EndTime *int64 `json:"EndTime,omitnil" name:"EndTime"` // The regions blocked. BlockArea *string `json:"BlockArea,omitnil" name:"BlockArea"` }
type DefaultServerCertInfo ¶
type DefaultServerCertInfo struct { // ID of the server certificate. // Note: This field may return null, indicating that no valid values can be obtained. CertId *string `json:"CertId,omitnil" name:"CertId"` // Alias of the certificate. // Note: This field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil" name:"Alias"` // Type of the certificate. Values: // <li>`default`: Default certificate;</li> // <li>`upload`: Custom certificate;</li> // <li>`managed`: Tencent Cloud-managed certificate.</li> // Note: This field may return null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` // Time when the certificate expires. // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"` // Time when the certificate takes effect. // Note: This field may return null, indicating that no valid values can be obtained. EffectiveTime *string `json:"EffectiveTime,omitnil" name:"EffectiveTime"` // Common name of the certificate. // Note: This field may return null, indicating that no valid values can be obtained. CommonName *string `json:"CommonName,omitnil" name:"CommonName"` // Domain names added to the SAN certificate. // Note: This field may return null, indicating that no valid values can be obtained. SubjectAltName []*string `json:"SubjectAltName,omitnil" name:"SubjectAltName"` // Deployment status. Values: // <li>`processing`: Deployment in progress</li> // <li>`deployed`: Deployed</li> // <li>`failed`: Deployment failed</li> // Note: This field may return `null`, indicating that no valid value can be obtained. Status *string `json:"Status,omitnil" name:"Status"` // Failure description // Note: This field may return null, indicating that no valid values can be obtained. Message *string `json:"Message,omitnil" name:"Message"` // Certificate algorithm. // Note: This field may return `null`, indicating that no valid value can be obtained. SignAlgo *string `json:"SignAlgo,omitnil" name:"SignAlgo"` }
type DeleteAccelerationDomainsRequest ¶
type DeleteAccelerationDomainsRequest struct { *tchttp.BaseRequest // ID of the site related with the accelerated domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of accelerated domain names to be deleted. DomainNames []*string `json:"DomainNames,omitnil" name:"DomainNames"` // Whether to forcibly delete a domain name if it is associated with resources (such as alias domain names and traffic scheduling policies). // <li>`true`: Delete the domain name and all associated resources.</li> // <li>`false`: Do not delete the domain name and all associated resources.</li>If it’s not specified, the default value `false` is used. Force *bool `json:"Force,omitnil" name:"Force"` }
func NewDeleteAccelerationDomainsRequest ¶
func NewDeleteAccelerationDomainsRequest() (request *DeleteAccelerationDomainsRequest)
func (*DeleteAccelerationDomainsRequest) FromJsonString ¶
func (r *DeleteAccelerationDomainsRequest) 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 (*DeleteAccelerationDomainsRequest) ToJsonString ¶
func (r *DeleteAccelerationDomainsRequest) ToJsonString() string
type DeleteAccelerationDomainsRequestParams ¶
type DeleteAccelerationDomainsRequestParams struct { // ID of the site related with the accelerated domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of accelerated domain names to be deleted. DomainNames []*string `json:"DomainNames,omitnil" name:"DomainNames"` // Whether to forcibly delete a domain name if it is associated with resources (such as alias domain names and traffic scheduling policies). // <li>`true`: Delete the domain name and all associated resources.</li> // <li>`false`: Do not delete the domain name and all associated resources.</li>If it’s not specified, the default value `false` is used. Force *bool `json:"Force,omitnil" name:"Force"` }
Predefined struct for user
type DeleteAccelerationDomainsResponse ¶
type DeleteAccelerationDomainsResponse struct { *tchttp.BaseResponse Response *DeleteAccelerationDomainsResponseParams `json:"Response"` }
func NewDeleteAccelerationDomainsResponse ¶
func NewDeleteAccelerationDomainsResponse() (response *DeleteAccelerationDomainsResponse)
func (*DeleteAccelerationDomainsResponse) FromJsonString ¶
func (r *DeleteAccelerationDomainsResponse) 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 (*DeleteAccelerationDomainsResponse) ToJsonString ¶
func (r *DeleteAccelerationDomainsResponse) ToJsonString() string
type DeleteAccelerationDomainsResponseParams ¶
type DeleteAccelerationDomainsResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteAliasDomainRequest ¶
type DeleteAliasDomainRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The alias domain name to be deleted. If it is left empty, the delete operation is not performed. AliasNames []*string `json:"AliasNames,omitnil" name:"AliasNames"` }
func NewDeleteAliasDomainRequest ¶
func NewDeleteAliasDomainRequest() (request *DeleteAliasDomainRequest)
func (*DeleteAliasDomainRequest) FromJsonString ¶
func (r *DeleteAliasDomainRequest) 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 (*DeleteAliasDomainRequest) ToJsonString ¶
func (r *DeleteAliasDomainRequest) ToJsonString() string
type DeleteAliasDomainRequestParams ¶
type DeleteAliasDomainRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The alias domain name to be deleted. If it is left empty, the delete operation is not performed. AliasNames []*string `json:"AliasNames,omitnil" name:"AliasNames"` }
Predefined struct for user
type DeleteAliasDomainResponse ¶
type DeleteAliasDomainResponse struct { *tchttp.BaseResponse Response *DeleteAliasDomainResponseParams `json:"Response"` }
func NewDeleteAliasDomainResponse ¶
func NewDeleteAliasDomainResponse() (response *DeleteAliasDomainResponse)
func (*DeleteAliasDomainResponse) FromJsonString ¶
func (r *DeleteAliasDomainResponse) 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 (*DeleteAliasDomainResponse) ToJsonString ¶
func (r *DeleteAliasDomainResponse) ToJsonString() string
type DeleteAliasDomainResponseParams ¶
type DeleteAliasDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationProxyRequest ¶
type DeleteApplicationProxyRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" 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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" 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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationProxyRuleRequest ¶
type DeleteApplicationProxyRuleRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The rule ID. RuleId *string `json:"RuleId,omitnil" 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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The rule ID. RuleId *string `json:"RuleId,omitnil" 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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteOriginGroupRequest ¶
type DeleteOriginGroupRequest struct { *tchttp.BaseRequest // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // (Required) Origin group IDe group ID. This parameter is required. GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
func NewDeleteOriginGroupRequest ¶
func NewDeleteOriginGroupRequest() (request *DeleteOriginGroupRequest)
func (*DeleteOriginGroupRequest) FromJsonString ¶
func (r *DeleteOriginGroupRequest) 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 (*DeleteOriginGroupRequest) ToJsonString ¶
func (r *DeleteOriginGroupRequest) ToJsonString() string
type DeleteOriginGroupRequestParams ¶
type DeleteOriginGroupRequestParams struct { // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // (Required) Origin group IDe group ID. This parameter is required. GroupId *string `json:"GroupId,omitnil" name:"GroupId"` }
Predefined struct for user
type DeleteOriginGroupResponse ¶
type DeleteOriginGroupResponse struct { *tchttp.BaseResponse Response *DeleteOriginGroupResponseParams `json:"Response"` }
func NewDeleteOriginGroupResponse ¶
func NewDeleteOriginGroupResponse() (response *DeleteOriginGroupResponse)
func (*DeleteOriginGroupResponse) FromJsonString ¶
func (r *DeleteOriginGroupResponse) 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 (*DeleteOriginGroupResponse) ToJsonString ¶
func (r *DeleteOriginGroupResponse) ToJsonString() string
type DeleteOriginGroupResponseParams ¶
type DeleteOriginGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteRulesRequest ¶
type DeleteRulesRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IDs of the rules to be deleted. RuleIds []*string `json:"RuleIds,omitnil" name:"RuleIds"` }
func NewDeleteRulesRequest ¶
func NewDeleteRulesRequest() (request *DeleteRulesRequest)
func (*DeleteRulesRequest) FromJsonString ¶
func (r *DeleteRulesRequest) 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 (*DeleteRulesRequest) ToJsonString ¶
func (r *DeleteRulesRequest) ToJsonString() string
type DeleteRulesRequestParams ¶
type DeleteRulesRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IDs of the rules to be deleted. RuleIds []*string `json:"RuleIds,omitnil" name:"RuleIds"` }
Predefined struct for user
type DeleteRulesResponse ¶
type DeleteRulesResponse struct { *tchttp.BaseResponse Response *DeleteRulesResponseParams `json:"Response"` }
func NewDeleteRulesResponse ¶
func NewDeleteRulesResponse() (response *DeleteRulesResponse)
func (*DeleteRulesResponse) FromJsonString ¶
func (r *DeleteRulesResponse) 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 (*DeleteRulesResponse) ToJsonString ¶
func (r *DeleteRulesResponse) ToJsonString() string
type DeleteRulesResponseParams ¶
type DeleteRulesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityIPGroupRequest ¶
type DeleteSecurityIPGroupRequest struct { *tchttp.BaseRequest // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IP group ID. GroupId *int64 `json:"GroupId,omitnil" name:"GroupId"` }
func NewDeleteSecurityIPGroupRequest ¶
func NewDeleteSecurityIPGroupRequest() (request *DeleteSecurityIPGroupRequest)
func (*DeleteSecurityIPGroupRequest) FromJsonString ¶
func (r *DeleteSecurityIPGroupRequest) 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 (*DeleteSecurityIPGroupRequest) ToJsonString ¶
func (r *DeleteSecurityIPGroupRequest) ToJsonString() string
type DeleteSecurityIPGroupRequestParams ¶
type DeleteSecurityIPGroupRequestParams struct { // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IP group ID. GroupId *int64 `json:"GroupId,omitnil" name:"GroupId"` }
Predefined struct for user
type DeleteSecurityIPGroupResponse ¶
type DeleteSecurityIPGroupResponse struct { *tchttp.BaseResponse Response *DeleteSecurityIPGroupResponseParams `json:"Response"` }
func NewDeleteSecurityIPGroupResponse ¶
func NewDeleteSecurityIPGroupResponse() (response *DeleteSecurityIPGroupResponse)
func (*DeleteSecurityIPGroupResponse) FromJsonString ¶
func (r *DeleteSecurityIPGroupResponse) 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 (*DeleteSecurityIPGroupResponse) ToJsonString ¶
func (r *DeleteSecurityIPGroupResponse) ToJsonString() string
type DeleteSecurityIPGroupResponseParams ¶
type DeleteSecurityIPGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DeleteSharedCNAMERequest ¶
type DeleteSharedCNAMERequest struct { string `json:"ZoneId,omitnil" name:"ZoneId"` SharedCNAME *string `json:"SharedCNAME,omitnil" name:"SharedCNAME"` }ZoneId *
func NewDeleteSharedCNAMERequest ¶
func NewDeleteSharedCNAMERequest() (request *DeleteSharedCNAMERequest)
func (*DeleteSharedCNAMERequest) FromJsonString ¶
func (r *DeleteSharedCNAMERequest) 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 (*DeleteSharedCNAMERequest) ToJsonString ¶
func (r *DeleteSharedCNAMERequest) ToJsonString() string
type DeleteSharedCNAMERequestParams ¶
type DeleteSharedCNAMERequestParams struct { string `json:"ZoneId,omitnil" name:"ZoneId"` SharedCNAME *string `json:"SharedCNAME,omitnil" name:"SharedCNAME"` }ZoneId *
Predefined struct for user
type DeleteSharedCNAMEResponse ¶
type DeleteSharedCNAMEResponse struct {}
func NewDeleteSharedCNAMEResponse ¶
func NewDeleteSharedCNAMEResponse() (response *DeleteSharedCNAMEResponse)
func (*DeleteSharedCNAMEResponse) FromJsonString ¶
func (r *DeleteSharedCNAMEResponse) 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 (*DeleteSharedCNAMEResponse) ToJsonString ¶
func (r *DeleteSharedCNAMEResponse) ToJsonString() string
type DeleteSharedCNAMEResponseParams ¶
type DeleteSharedCNAMEResponseParams struct { string `json:"RequestId,omitnil" name:"RequestId"` }RequestId *
Predefined struct for user
type DeleteZoneRequest ¶
type DeleteZoneRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` }
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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` }
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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAccelerationDomainsRequest ¶
type DescribeAccelerationDomainsRequest struct { *tchttp.BaseRequest // ID of the site related with the acceleration domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Offset for paginated queries. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 20. Maximum value: 200. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter conditions. Up to 20 values for each filter. If it is not passed in, all domain names related with the specific zone-id are returned. // <li>`domain-name`: Acceleration domain name</li> // <li>`origin-type`: Type of the origin</li> // <li>`origin`: Primary origin address</li> // <li>`backup-origin`: Secondary origin address</li> // <li>`domain-cname`: CNAME</li> // <li>`share-cname`: Shared CNAME</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` // Sort the returned results according to this field. Values include: // <li>`created_on`: Creation time of the acceleration domain name</li> // <li>`domain-name`: (Default) Acceleration domain name.</li> Order *string `json:"Order,omitnil" name:"Order"` // Sort direction. If the field value is number, sort by the numeric value. If the field value is text, sort by the ascill code. Values include: // <li>`asc`: Ascending order.</li> // <li>`desc`: Descending order.</li> Default value: `asc`. Direction *string `json:"Direction,omitnil" name:"Direction"` // The match mode. Values: // <li>`all`: Return all matches.</li> // <li>`any`: Return any match.</li>Default value: `all`. Match *string `json:"Match,omitnil" name:"Match"` }
func NewDescribeAccelerationDomainsRequest ¶
func NewDescribeAccelerationDomainsRequest() (request *DescribeAccelerationDomainsRequest)
func (*DescribeAccelerationDomainsRequest) FromJsonString ¶
func (r *DescribeAccelerationDomainsRequest) 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 (*DescribeAccelerationDomainsRequest) ToJsonString ¶
func (r *DescribeAccelerationDomainsRequest) ToJsonString() string
type DescribeAccelerationDomainsRequestParams ¶
type DescribeAccelerationDomainsRequestParams struct { // ID of the site related with the acceleration domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Offset for paginated queries. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 20. Maximum value: 200. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter conditions. Up to 20 values for each filter. If it is not passed in, all domain names related with the specific zone-id are returned. // <li>`domain-name`: Acceleration domain name</li> // <li>`origin-type`: Type of the origin</li> // <li>`origin`: Primary origin address</li> // <li>`backup-origin`: Secondary origin address</li> // <li>`domain-cname`: CNAME</li> // <li>`share-cname`: Shared CNAME</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` // Sort the returned results according to this field. Values include: // <li>`created_on`: Creation time of the acceleration domain name</li> // <li>`domain-name`: (Default) Acceleration domain name.</li> Order *string `json:"Order,omitnil" name:"Order"` // Sort direction. If the field value is number, sort by the numeric value. If the field value is text, sort by the ascill code. Values include: // <li>`asc`: Ascending order.</li> // <li>`desc`: Descending order.</li> Default value: `asc`. Direction *string `json:"Direction,omitnil" name:"Direction"` // The match mode. Values: // <li>`all`: Return all matches.</li> // <li>`any`: Return any match.</li>Default value: `all`. Match *string `json:"Match,omitnil" name:"Match"` }
Predefined struct for user
type DescribeAccelerationDomainsResponse ¶
type DescribeAccelerationDomainsResponse struct { *tchttp.BaseResponse Response *DescribeAccelerationDomainsResponseParams `json:"Response"` }
func NewDescribeAccelerationDomainsResponse ¶
func NewDescribeAccelerationDomainsResponse() (response *DescribeAccelerationDomainsResponse)
func (*DescribeAccelerationDomainsResponse) FromJsonString ¶
func (r *DescribeAccelerationDomainsResponse) 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 (*DescribeAccelerationDomainsResponse) ToJsonString ¶
func (r *DescribeAccelerationDomainsResponse) ToJsonString() string
type DescribeAccelerationDomainsResponseParams ¶
type DescribeAccelerationDomainsResponseParams struct { // Total of matched alias domain names. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Information of all matched acceleration domain names AccelerationDomains []*AccelerationDomain `json:"AccelerationDomains,omitnil" name:"AccelerationDomains"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAliasDomainsRequest ¶
type DescribeAliasDomainsRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The paginated query limit. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter criteria. Each filter criteria can have up to 20 entries. // <li>`target-name`:<br> Filter by <strong>target domain name</strong><br> Type: String<br> Required: No</li><li>`alias-name`:<br> Filter by <strong>alias domain name</strong><br> Type: String<br> Required: No</li>Only `alias-name` supports fuzzy query. Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
func NewDescribeAliasDomainsRequest ¶
func NewDescribeAliasDomainsRequest() (request *DescribeAliasDomainsRequest)
func (*DescribeAliasDomainsRequest) FromJsonString ¶
func (r *DescribeAliasDomainsRequest) 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 (*DescribeAliasDomainsRequest) ToJsonString ¶
func (r *DescribeAliasDomainsRequest) ToJsonString() string
type DescribeAliasDomainsRequestParams ¶
type DescribeAliasDomainsRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The paginated query limit. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter criteria. Each filter criteria can have up to 20 entries. // <li>`target-name`:<br> Filter by <strong>target domain name</strong><br> Type: String<br> Required: No</li><li>`alias-name`:<br> Filter by <strong>alias domain name</strong><br> Type: String<br> Required: No</li>Only `alias-name` supports fuzzy query. Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
Predefined struct for user
type DescribeAliasDomainsResponse ¶
type DescribeAliasDomainsResponse struct { *tchttp.BaseResponse Response *DescribeAliasDomainsResponseParams `json:"Response"` }
func NewDescribeAliasDomainsResponse ¶
func NewDescribeAliasDomainsResponse() (response *DescribeAliasDomainsResponse)
func (*DescribeAliasDomainsResponse) FromJsonString ¶
func (r *DescribeAliasDomainsResponse) 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 (*DescribeAliasDomainsResponse) ToJsonString ¶
func (r *DescribeAliasDomainsResponse) ToJsonString() string
type DescribeAliasDomainsResponseParams ¶
type DescribeAliasDomainsResponseParams struct { // Total eligible alias domain names. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Information of the eligible alias domain names. AliasDomains []*AliasDomain `json:"AliasDomains,omitnil" name:"AliasDomains"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationProxiesRequest ¶
type DescribeApplicationProxiesRequest struct { *tchttp.BaseRequest // The paginated query offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The paginated query limit. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filters. Each filter can have up to 20 entries. Details: <li>proxy-id<br> Filter by the <strong>Proxy ID</strong>u200d, such as: `proxy-ev2sawbwfd`. <br> Type: String<br> Required: No</li><li>zone-id<br> Filter by the <strong>Site ID</strong>, such as `zone-vawer2vadg`. <br> Type: String<br> Required: No</li><li>rule-tag<br> Filter by the <strong>Rule tag</strong>, such as `rule-service-1`. <br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
func NewDescribeApplicationProxiesRequest ¶
func NewDescribeApplicationProxiesRequest() (request *DescribeApplicationProxiesRequest)
func (*DescribeApplicationProxiesRequest) FromJsonString ¶
func (r *DescribeApplicationProxiesRequest) 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 (*DescribeApplicationProxiesRequest) ToJsonString ¶
func (r *DescribeApplicationProxiesRequest) ToJsonString() string
type DescribeApplicationProxiesRequestParams ¶
type DescribeApplicationProxiesRequestParams struct { // The paginated query offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The paginated query limit. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filters. Each filter can have up to 20 entries. Details: <li>proxy-id<br> Filter by the <strong>Proxy ID</strong>u200d, such as: `proxy-ev2sawbwfd`. <br> Type: String<br> Required: No</li><li>zone-id<br> Filter by the <strong>Site ID</strong>, such as `zone-vawer2vadg`. <br> Type: String<br> Required: No</li><li>rule-tag<br> Filter by the <strong>Rule tag</strong>, such as `rule-service-1`. <br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
Predefined struct for user
type DescribeApplicationProxiesResponse ¶
type DescribeApplicationProxiesResponse struct { *tchttp.BaseResponse Response *DescribeApplicationProxiesResponseParams `json:"Response"` }
func NewDescribeApplicationProxiesResponse ¶
func NewDescribeApplicationProxiesResponse() (response *DescribeApplicationProxiesResponse)
func (*DescribeApplicationProxiesResponse) FromJsonString ¶
func (r *DescribeApplicationProxiesResponse) 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 (*DescribeApplicationProxiesResponse) ToJsonString ¶
func (r *DescribeApplicationProxiesResponse) ToJsonString() string
type DescribeApplicationProxiesResponseParams ¶
type DescribeApplicationProxiesResponseParams struct { // List of application proxies. ApplicationProxies []*ApplicationProxy `json:"ApplicationProxies,omitnil" name:"ApplicationProxies"` // Total number of records. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeAvailablePlansRequest ¶
type DescribeAvailablePlansRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAvailablePlansRequest ¶
func NewDescribeAvailablePlansRequest() (request *DescribeAvailablePlansRequest)
func (*DescribeAvailablePlansRequest) FromJsonString ¶
func (r *DescribeAvailablePlansRequest) 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 (*DescribeAvailablePlansRequest) ToJsonString ¶
func (r *DescribeAvailablePlansRequest) ToJsonString() string
type DescribeAvailablePlansRequestParams ¶
type DescribeAvailablePlansRequestParams struct { }
Predefined struct for user
type DescribeAvailablePlansResponse ¶
type DescribeAvailablePlansResponse struct { *tchttp.BaseResponse Response *DescribeAvailablePlansResponseParams `json:"Response"` }
func NewDescribeAvailablePlansResponse ¶
func NewDescribeAvailablePlansResponse() (response *DescribeAvailablePlansResponse)
func (*DescribeAvailablePlansResponse) FromJsonString ¶
func (r *DescribeAvailablePlansResponse) 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 (*DescribeAvailablePlansResponse) ToJsonString ¶
func (r *DescribeAvailablePlansResponse) ToJsonString() string
type DescribeAvailablePlansResponseParams ¶
type DescribeAvailablePlansResponseParams struct { // Plans available for the current user // Note: This field may return null, indicating that no valid values can be obtained. PlanInfo []*PlanInfo `json:"PlanInfo,omitnil" name:"PlanInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeContentQuotaRequest ¶
type DescribeContentQuotaRequest struct { *tchttp.BaseRequest // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` }
func NewDescribeContentQuotaRequest ¶
func NewDescribeContentQuotaRequest() (request *DescribeContentQuotaRequest)
func (*DescribeContentQuotaRequest) FromJsonString ¶
func (r *DescribeContentQuotaRequest) 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 (*DescribeContentQuotaRequest) ToJsonString ¶
func (r *DescribeContentQuotaRequest) ToJsonString() string
type DescribeContentQuotaRequestParams ¶
type DescribeContentQuotaRequestParams struct { // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` }
Predefined struct for user
type DescribeContentQuotaResponse ¶
type DescribeContentQuotaResponse struct { *tchttp.BaseResponse Response *DescribeContentQuotaResponseParams `json:"Response"` }
func NewDescribeContentQuotaResponse ¶
func NewDescribeContentQuotaResponse() (response *DescribeContentQuotaResponse)
func (*DescribeContentQuotaResponse) FromJsonString ¶
func (r *DescribeContentQuotaResponse) 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 (*DescribeContentQuotaResponse) ToJsonString ¶
func (r *DescribeContentQuotaResponse) ToJsonString() string
type DescribeContentQuotaResponseParams ¶
type DescribeContentQuotaResponseParams struct { // Purging quotas. // Note: This field may return null, indicating that no valid values can be obtained. PurgeQuota []*Quota `json:"PurgeQuota,omitnil" name:"PurgeQuota"` // Pre-warming quotas. // Note: This field may return null, indicating that no valid values can be obtained. PrefetchQuota []*Quota `json:"PrefetchQuota,omitnil" name:"PrefetchQuota"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSAttackDataRequest ¶
type DescribeDDoSAttackDataRequest struct { *tchttp.BaseRequest // Start time of the query period. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query period. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Statistical metrics. // <li>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li> // <li>`ddos_attackMaxPackageRate`: Peak attack packet rate;</li> // <li>`ddos_attackBandwidth`: Time-series data of attack bandwidth;</li> // <li>`ddos_attackPackageRate`: Time-series data of attack packet rate.</li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // List of sites to be queried. All sites will be selected if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day</li>If this field is not specified, the granularity is determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < Period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global </li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeDDoSAttackDataRequest ¶
func NewDescribeDDoSAttackDataRequest() (request *DescribeDDoSAttackDataRequest)
func (*DescribeDDoSAttackDataRequest) FromJsonString ¶
func (r *DescribeDDoSAttackDataRequest) 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 (*DescribeDDoSAttackDataRequest) ToJsonString ¶
func (r *DescribeDDoSAttackDataRequest) ToJsonString() string
type DescribeDDoSAttackDataRequestParams ¶
type DescribeDDoSAttackDataRequestParams struct { // Start time of the query period. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query period. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Statistical metrics. // <li>`ddos_attackMaxBandwidth`: Peak attack bandwidth;</li> // <li>`ddos_attackMaxPackageRate`: Peak attack packet rate;</li> // <li>`ddos_attackBandwidth`: Time-series data of attack bandwidth;</li> // <li>`ddos_attackPackageRate`: Time-series data of attack packet rate.</li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // List of sites to be queried. All sites will be selected if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // IDs of DDoS policies to be queried. All policies will be selected if this field is not specified. PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day</li>If this field is not specified, the granularity is determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < Period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global </li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeDDoSAttackDataResponse ¶
type DescribeDDoSAttackDataResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackDataResponseParams `json:"Response"` }
func NewDescribeDDoSAttackDataResponse ¶
func NewDescribeDDoSAttackDataResponse() (response *DescribeDDoSAttackDataResponse)
func (*DescribeDDoSAttackDataResponse) FromJsonString ¶
func (r *DescribeDDoSAttackDataResponse) 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 (*DescribeDDoSAttackDataResponse) ToJsonString ¶
func (r *DescribeDDoSAttackDataResponse) ToJsonString() string
type DescribeDDoSAttackDataResponseParams ¶
type DescribeDDoSAttackDataResponseParams struct { // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of DDoS attack data. // Note: This field may return null, indicating that no valid values can be obtained. Data []*SecEntry `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSAttackEventRequest ¶
type DescribeDDoSAttackEventRequest struct { *tchttp.BaseRequest // Start time of the query period. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query period. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // List of DDoS policy IDs. All policies are selected if this field is not specified. PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"` // (Required) List of sites. No query results are returned if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Limit on paginated queries. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // The page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Whether to display the details. ShowDetail *bool `json:"ShowDetail,omitnil" name:"ShowDetail"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` // The sorting field. Values: // <li>`MaxBandWidth`: Peak bandwidth</li> // <li>`AttackStartTime` Start time of the attack</li>If this field is not specified, the default value `AttackStartTime` is used. OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"` // The sorting method. Values: // <Li>`asc`: Ascending</li> // <li>`desc`: Descending</li>If this field is not specified, the default value `desc` is used. OrderType *string `json:"OrderType,omitnil" name:"OrderType"` }
func NewDescribeDDoSAttackEventRequest ¶
func NewDescribeDDoSAttackEventRequest() (request *DescribeDDoSAttackEventRequest)
func (*DescribeDDoSAttackEventRequest) FromJsonString ¶
func (r *DescribeDDoSAttackEventRequest) 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 (*DescribeDDoSAttackEventRequest) ToJsonString ¶
func (r *DescribeDDoSAttackEventRequest) ToJsonString() string
type DescribeDDoSAttackEventRequestParams ¶
type DescribeDDoSAttackEventRequestParams struct { // Start time of the query period. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query period. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // List of DDoS policy IDs. All policies are selected if this field is not specified. PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"` // (Required) List of sites. No query results are returned if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Limit on paginated queries. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // The page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Whether to display the details. ShowDetail *bool `json:"ShowDetail,omitnil" name:"ShowDetail"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` // The sorting field. Values: // <li>`MaxBandWidth`: Peak bandwidth</li> // <li>`AttackStartTime` Start time of the attack</li>If this field is not specified, the default value `AttackStartTime` is used. OrderBy *string `json:"OrderBy,omitnil" name:"OrderBy"` // The sorting method. Values: // <Li>`asc`: Ascending</li> // <li>`desc`: Descending</li>If this field is not specified, the default value `desc` is used. OrderType *string `json:"OrderType,omitnil" name:"OrderType"` }
Predefined struct for user
type DescribeDDoSAttackEventResponse ¶
type DescribeDDoSAttackEventResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackEventResponseParams `json:"Response"` }
func NewDescribeDDoSAttackEventResponse ¶
func NewDescribeDDoSAttackEventResponse() (response *DescribeDDoSAttackEventResponse)
func (*DescribeDDoSAttackEventResponse) FromJsonString ¶
func (r *DescribeDDoSAttackEventResponse) 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 (*DescribeDDoSAttackEventResponse) ToJsonString ¶
func (r *DescribeDDoSAttackEventResponse) ToJsonString() string
type DescribeDDoSAttackEventResponseParams ¶
type DescribeDDoSAttackEventResponseParams struct { // List of DDoS attack data. // Note: This field may return `null`, indicating that no valid value was found. Data []*DDoSAttackEvent `json:"Data,omitnil" name:"Data"` // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSAttackTopDataRequest ¶
type DescribeDDoSAttackTopDataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The statistical metric. Values: // <li>`ddos_attackFlux_protocol`: Rank protocols by the attack traffic.</li> // <li>`ddos_attackPackageNum_protocol`: Rank protocols by the number of attack packets.</li> // <li>`ddos_attackNum_attackType`: Rank attack types by the number of attacks.</li> // <li>`ddos_attackNum_sregion`: Rank attacker regions by the number of attacks.</li> // <li>`ddos_attackFlux_sip`: Rank attacker IPs by the number of attacks.</li> // <li>`ddos_attackFlux_sregion`: Rank attacker regions by the number of attacks.</li> MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // List of site IDs to be queried. All sites will be selected if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified. PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"` // The attack type. Values: // <li>`flood`: Flood;</li> // <li>`icmpFlood`: ICMP flood;</li> // <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified. AttackType *string `json:"AttackType,omitnil" name:"AttackType"` // The protocol type. Values: // <li>`tcp`: TCP protocol;</li> // <li>`udp`: UDP protocol;</li> // <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified. ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"` // The port number. Port *int64 `json:"Port,omitnil" name:"Port"` // Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Data storage region. Values: // <li>`overseas`: Global (outside the Chinese mainland);</li> // <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeDDoSAttackTopDataRequest ¶
func NewDescribeDDoSAttackTopDataRequest() (request *DescribeDDoSAttackTopDataRequest)
func (*DescribeDDoSAttackTopDataRequest) FromJsonString ¶
func (r *DescribeDDoSAttackTopDataRequest) 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 (*DescribeDDoSAttackTopDataRequest) ToJsonString ¶
func (r *DescribeDDoSAttackTopDataRequest) ToJsonString() string
type DescribeDDoSAttackTopDataRequestParams ¶
type DescribeDDoSAttackTopDataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The statistical metric. Values: // <li>`ddos_attackFlux_protocol`: Rank protocols by the attack traffic.</li> // <li>`ddos_attackPackageNum_protocol`: Rank protocols by the number of attack packets.</li> // <li>`ddos_attackNum_attackType`: Rank attack types by the number of attacks.</li> // <li>`ddos_attackNum_sregion`: Rank attacker regions by the number of attacks.</li> // <li>`ddos_attackFlux_sip`: Rank attacker IPs by the number of attacks.</li> // <li>`ddos_attackFlux_sregion`: Rank attacker regions by the number of attacks.</li> MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // List of site IDs to be queried. All sites will be selected if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // The list of DDoS policy IDs to be specified. All policies will be selected if this field is not specified. PolicyIds []*int64 `json:"PolicyIds,omitnil" name:"PolicyIds"` // The attack type. Values: // <li>`flood`: Flood;</li> // <li>`icmpFlood`: ICMP flood;</li> // <li>`all`: All attack types.</li>This field will be set to the default value `all` if not specified. AttackType *string `json:"AttackType,omitnil" name:"AttackType"` // The protocol type. Values: // <li>`tcp`: TCP protocol;</li> // <li>`udp`: UDP protocol;</li> // <li>`all`: All protocol types.</li>This field will be set to the default value `all` if not specified. ProtocolType *string `json:"ProtocolType,omitnil" name:"ProtocolType"` // The port number. Port *int64 `json:"Port,omitnil" name:"Port"` // Queries the top n rows of data. Top 10 rows of data will be queried if this field is not specified. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Data storage region. Values: // <li>`overseas`: Global (outside the Chinese mainland);</li> // <li>`mainland`: Chinese mainland.</li>If this field is not specified, the data storage region will be determined based on the user’s location. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeDDoSAttackTopDataResponse ¶
type DescribeDDoSAttackTopDataResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackTopDataResponseParams `json:"Response"` }
func NewDescribeDDoSAttackTopDataResponse ¶
func NewDescribeDDoSAttackTopDataResponse() (response *DescribeDDoSAttackTopDataResponse)
func (*DescribeDDoSAttackTopDataResponse) FromJsonString ¶
func (r *DescribeDDoSAttackTopDataResponse) 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 (*DescribeDDoSAttackTopDataResponse) ToJsonString ¶
func (r *DescribeDDoSAttackTopDataResponse) ToJsonString() string
type DescribeDDoSAttackTopDataResponseParams ¶
type DescribeDDoSAttackTopDataResponseParams struct { // The list of top-ranked DDoS attack data. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TopEntry `json:"Data,omitnil" name:"Data"` // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultCertificatesRequest ¶
type DescribeDefaultCertificatesRequest struct { *tchttp.BaseRequest // Filter criteria. Each filter criteria can have up to 5 entries. // <li>`zone-id`: <br>Filter by <strong>site ID</strong>, such as zone-xxx<br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset for paginated queries. Default value: `0` Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: `20`. Maximum value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
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 { // Filter criteria. Each filter criteria can have up to 5 entries. // <li>`zone-id`: <br>Filter by <strong>site ID</strong>, such as zone-xxx<br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset for paginated queries. Default value: `0` Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: `20`. Maximum value: `100`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
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,omitnil" name:"TotalCount"` // List of default certificates DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitnil" name:"DefaultServerCertInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeHostsSettingRequest ¶
type DescribeHostsSettingRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Offset for paginated queries. Default value: 0. Minimum value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter criteria. Each filter criteria can have up to 20 entries. // <li>`host`:<br> Filter by <strong>domain name </strong><br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Offset for paginated queries. Default value: 0. Minimum value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter criteria. Each filter criteria can have up to 20 entries. // <li>`host`:<br> Filter by <strong>domain name </strong><br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
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. DetailHosts []*DetailHost `json:"DetailHosts,omitnil" name:"DetailHosts"` // Number of domain names TotalNumber *int64 `json:"TotalNumber,omitnil" name:"TotalNumber"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeIdentificationsRequest ¶
type DescribeIdentificationsRequest struct { *tchttp.BaseRequest // Filter criteria. Each filter criteria can have up to 20 entries. // <li>`zone-name`: <br>Filter by <strong>site name</strong><br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // The page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The paginated query limit. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeIdentificationsRequest ¶
func NewDescribeIdentificationsRequest() (request *DescribeIdentificationsRequest)
func (*DescribeIdentificationsRequest) FromJsonString ¶
func (r *DescribeIdentificationsRequest) 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 (*DescribeIdentificationsRequest) ToJsonString ¶
func (r *DescribeIdentificationsRequest) ToJsonString() string
type DescribeIdentificationsRequestParams ¶
type DescribeIdentificationsRequestParams struct { // Filter criteria. Each filter criteria can have up to 20 entries. // <li>`zone-name`: <br>Filter by <strong>site name</strong><br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // The page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // The paginated query limit. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeIdentificationsResponse ¶
type DescribeIdentificationsResponse struct { *tchttp.BaseResponse Response *DescribeIdentificationsResponseParams `json:"Response"` }
func NewDescribeIdentificationsResponse ¶
func NewDescribeIdentificationsResponse() (response *DescribeIdentificationsResponse)
func (*DescribeIdentificationsResponse) FromJsonString ¶
func (r *DescribeIdentificationsResponse) 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 (*DescribeIdentificationsResponse) ToJsonString ¶
func (r *DescribeIdentificationsResponse) ToJsonString() string
type DescribeIdentificationsResponseParams ¶
type DescribeIdentificationsResponseParams struct { // Number of eligible sites. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // The site verification information. Identifications []*Identification `json:"Identifications,omitnil" name:"Identifications"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOriginGroupRequest ¶
type DescribeOriginGroupRequest struct { *tchttp.BaseRequest // (Required) Site ID ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The paginated query offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Value range: 1-1000. Default value: 20. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Filters. Each filter can have up to 20 entries. See below for details: // <li>`origin-group-id`<br>Filter by the <strong>origin group ID</strong>. Format: `origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a`<br>Fuzzy query is not supported</li><li>`origin-group-name`<br>Filter by the <strong>origin group name</strong><br>Fuzzy query is supported. When fuzzy query is used, only one origin groupsource site group name is supported</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
func NewDescribeOriginGroupRequest ¶
func NewDescribeOriginGroupRequest() (request *DescribeOriginGroupRequest)
func (*DescribeOriginGroupRequest) FromJsonString ¶
func (r *DescribeOriginGroupRequest) 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 (*DescribeOriginGroupRequest) ToJsonString ¶
func (r *DescribeOriginGroupRequest) ToJsonString() string
type DescribeOriginGroupRequestParams ¶
type DescribeOriginGroupRequestParams struct { // (Required) Site ID ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The paginated query offset. Default value: 0 Offset *uint64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Value range: 1-1000. Default value: 20. Limit *uint64 `json:"Limit,omitnil" name:"Limit"` // Filters. Each filter can have up to 20 entries. See below for details: // <li>`origin-group-id`<br>Filter by the <strong>origin group ID</strong>. Format: `origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a`<br>Fuzzy query is not supported</li><li>`origin-group-name`<br>Filter by the <strong>origin group name</strong><br>Fuzzy query is supported. When fuzzy query is used, only one origin groupsource site group name is supported</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
Predefined struct for user
type DescribeOriginGroupResponse ¶
type DescribeOriginGroupResponse struct { *tchttp.BaseResponse Response *DescribeOriginGroupResponseParams `json:"Response"` }
func NewDescribeOriginGroupResponse ¶
func NewDescribeOriginGroupResponse() (response *DescribeOriginGroupResponse)
func (*DescribeOriginGroupResponse) FromJsonString ¶
func (r *DescribeOriginGroupResponse) 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 (*DescribeOriginGroupResponse) ToJsonString ¶
func (r *DescribeOriginGroupResponse) ToJsonString() string
type DescribeOriginGroupResponseParams ¶
type DescribeOriginGroupResponseParams struct { // Total number of records. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // Origin group information. OriginGroups []*OriginGroup `json:"OriginGroups,omitnil" name:"OriginGroups"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOriginProtectionRequest ¶
type DescribeOriginProtectionRequest struct { *tchttp.BaseRequest // List of sites to be queried. All sites will be selected if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Filter conditions. Each filter condition can have up to 20 entries. See below for details: // <li>`need-update`:<br> Whether <strong>the intermediate IP update is needed for the site</strong>.<br> Type: String<br> Required: No<br> Values:<br> `true`: Update needed.<br> `false`: Update not needed.<br></li> // <li>`plan-support`:<br> Whether <strong>origin protection is supported in the plan</strong>.<br> Type: String<br> Required: No<br> Values:<br> `true`: Origin protection supported.<br> `false`: Origin protection not supported.<br></li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset for paginated queries. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
func NewDescribeOriginProtectionRequest ¶
func NewDescribeOriginProtectionRequest() (request *DescribeOriginProtectionRequest)
func (*DescribeOriginProtectionRequest) FromJsonString ¶
func (r *DescribeOriginProtectionRequest) 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 (*DescribeOriginProtectionRequest) ToJsonString ¶
func (r *DescribeOriginProtectionRequest) ToJsonString() string
type DescribeOriginProtectionRequestParams ¶
type DescribeOriginProtectionRequestParams struct { // List of sites to be queried. All sites will be selected if this field is not specified. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Filter conditions. Each filter condition can have up to 20 entries. See below for details: // <li>`need-update`:<br> Whether <strong>the intermediate IP update is needed for the site</strong>.<br> Type: String<br> Required: No<br> Values:<br> `true`: Update needed.<br> `false`: Update not needed.<br></li> // <li>`plan-support`:<br> Whether <strong>origin protection is supported in the plan</strong>.<br> Type: String<br> Required: No<br> Values:<br> `true`: Origin protection supported.<br> `false`: Origin protection not supported.<br></li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` // Offset for paginated queries. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 20. Maximum value: 1000. Limit *int64 `json:"Limit,omitnil" name:"Limit"` }
Predefined struct for user
type DescribeOriginProtectionResponse ¶
type DescribeOriginProtectionResponse struct { *tchttp.BaseResponse Response *DescribeOriginProtectionResponseParams `json:"Response"` }
func NewDescribeOriginProtectionResponse ¶
func NewDescribeOriginProtectionResponse() (response *DescribeOriginProtectionResponse)
func (*DescribeOriginProtectionResponse) FromJsonString ¶
func (r *DescribeOriginProtectionResponse) 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 (*DescribeOriginProtectionResponse) ToJsonString ¶
func (r *DescribeOriginProtectionResponse) ToJsonString() string
type DescribeOriginProtectionResponseParams ¶
type DescribeOriginProtectionResponseParams struct { // Origin protection configuration. // Note: This field may return `null`, indicating that no valid values can be obtained. OriginProtectionInfo []*OriginProtectionInfo `json:"OriginProtectionInfo,omitnil" name:"OriginProtectionInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeOverviewL7DataRequest ¶
type DescribeOverviewL7DataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The metric to query. Values: // <li>`l7Flow_outFlux`: Traffic used for EdegOne responses</li> // <li>`l7Flow_inFlux`: Traffic used for EdegOne requests</li> // <li>`l7Flow_outBandwidth`: Bandwidth used for EdegOne responses</li> // <li>`l7Flow_inBandwidth`: Bandwidth used for EdegOne requests</li> // <li>`l7Flow_hit_outFlux`: Traffic used for cache hit</li> // <li>`l7Flow_request`: Access requests</li> // <li>`l7Flow_flux`: Upstream and downstream traffic used for client access</li> // <li>`l7Flow_bandwidth`: Upstream and downstream bandwidth used for client access</li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Queried domain name set. This parameter has been discarded. Domains []*string `json:"Domains,omitnil" name:"Domains"` // The protocol type. Values: // <li>`http`: HTTP protocol;</li> // <li>`https`: HTTPS protocol;</li> // <li>`http2`: HTTP2 protocol;</li> // <li>`all`: All protocols. </li>If it’s not specified, `all` is used. This parameter is not yet available now. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: One day</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Filtering condition. The detailed filtering condition key values are as follows: // <li>socket<br> Filter based on [<strong>HTTP protocol type</strong>]. <br> Corresponding value options: <br> HTTP: HTTP protocol;<br> HTTPS: HTTPS protocol;<br> QUIC: QUIC protocol. </li> // <li>domains<br> Filter based on [<strong>domain name</strong>]. </li> // <li>tagKey<br> Filter based on [<strong>Tag Key</strong>]. </li> // <li>tagValue<br> Filter based on [<strong>Tag Value</strong>]. </li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeOverviewL7DataRequest ¶
func NewDescribeOverviewL7DataRequest() (request *DescribeOverviewL7DataRequest)
func (*DescribeOverviewL7DataRequest) FromJsonString ¶
func (r *DescribeOverviewL7DataRequest) 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 (*DescribeOverviewL7DataRequest) ToJsonString ¶
func (r *DescribeOverviewL7DataRequest) ToJsonString() string
type DescribeOverviewL7DataRequestParams ¶
type DescribeOverviewL7DataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The metric to query. Values: // <li>`l7Flow_outFlux`: Traffic used for EdegOne responses</li> // <li>`l7Flow_inFlux`: Traffic used for EdegOne requests</li> // <li>`l7Flow_outBandwidth`: Bandwidth used for EdegOne responses</li> // <li>`l7Flow_inBandwidth`: Bandwidth used for EdegOne requests</li> // <li>`l7Flow_hit_outFlux`: Traffic used for cache hit</li> // <li>`l7Flow_request`: Access requests</li> // <li>`l7Flow_flux`: Upstream and downstream traffic used for client access</li> // <li>`l7Flow_bandwidth`: Upstream and downstream bandwidth used for client access</li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Queried domain name set. This parameter has been discarded. Domains []*string `json:"Domains,omitnil" name:"Domains"` // The protocol type. Values: // <li>`http`: HTTP protocol;</li> // <li>`https`: HTTPS protocol;</li> // <li>`http2`: HTTP2 protocol;</li> // <li>`all`: All protocols. </li>If it’s not specified, `all` is used. This parameter is not yet available now. Protocol *string `json:"Protocol,omitnil" name:"Protocol"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: One day</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Filtering condition. The detailed filtering condition key values are as follows: // <li>socket<br> Filter based on [<strong>HTTP protocol type</strong>]. <br> Corresponding value options: <br> HTTP: HTTP protocol;<br> HTTPS: HTTPS protocol;<br> QUIC: QUIC protocol. </li> // <li>domains<br> Filter based on [<strong>domain name</strong>]. </li> // <li>tagKey<br> Filter based on [<strong>Tag Key</strong>]. </li> // <li>tagValue<br> Filter based on [<strong>Tag Value</strong>]. </li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeOverviewL7DataResponse ¶
type DescribeOverviewL7DataResponse struct { *tchttp.BaseResponse Response *DescribeOverviewL7DataResponseParams `json:"Response"` }
func NewDescribeOverviewL7DataResponse ¶
func NewDescribeOverviewL7DataResponse() (response *DescribeOverviewL7DataResponse)
func (*DescribeOverviewL7DataResponse) FromJsonString ¶
func (r *DescribeOverviewL7DataResponse) 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 (*DescribeOverviewL7DataResponse) ToJsonString ¶
func (r *DescribeOverviewL7DataResponse) ToJsonString() string
type DescribeOverviewL7DataResponseParams ¶
type DescribeOverviewL7DataResponseParams struct { // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The list of L7 traffic summary statistics recorded over time. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePrefetchTasksRequest ¶
type DescribePrefetchTasksRequest struct { *tchttp.BaseRequest // ZoneId. // The parameter is required. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Start time of the query. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Offset for paginated queries. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: `20`. Maximum value: `1000`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filtering condition. The maximum value of Filters.Values is 20. Detailed filtering conditions: <li>job-id<br> Filter based on [<strong>task ID</strong>]. job-id format: 1379afjk91u32h. Multiple values are not supported. <br> Type: String<br> Required: No. <br> Fuzz query: Not supported. </li><li>target<br> Filter based on [<strong>target resource information</strong>]. target format: http://www.qq.com/1.txt. Multiple values are not supported. <br> Type: String<br> Required: No. <br> Fuzz query: Not supported. </li><li>domains<br> Filter based on [<strong>domain name</strong>]. domains format: www.qq.com. <br> Type: String<br> Required: No. <br> Fuzz query: Not supported. </li><li>statuses<br> Filter based on [<strong>task status</strong>]. <br> Required: No<br> Fuzz query: Not supported. <br> Options:<br> processing: Processing<br> success: Success<br> failed: Failure<br> timeout: Timeout</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
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 { // ZoneId. // The parameter is required. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Start time of the query. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Offset for paginated queries. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: `20`. Maximum value: `1000`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filtering condition. The maximum value of Filters.Values is 20. Detailed filtering conditions: <li>job-id<br> Filter based on [<strong>task ID</strong>]. job-id format: 1379afjk91u32h. Multiple values are not supported. <br> Type: String<br> Required: No. <br> Fuzz query: Not supported. </li><li>target<br> Filter based on [<strong>target resource information</strong>]. target format: http://www.qq.com/1.txt. Multiple values are not supported. <br> Type: String<br> Required: No. <br> Fuzz query: Not supported. </li><li>domains<br> Filter based on [<strong>domain name</strong>]. domains format: www.qq.com. <br> Type: String<br> Required: No. <br> Fuzz query: Not supported. </li><li>statuses<br> Filter based on [<strong>task status</strong>]. <br> Required: No<br> Fuzz query: Not supported. <br> Options:<br> processing: Processing<br> success: Success<br> failed: Failure<br> timeout: Timeout</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
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,omitnil" name:"TotalCount"` // List of tasks returned. Tasks []*Task `json:"Tasks,omitnil" name:"Tasks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribePurgeTasksRequest ¶
type DescribePurgeTasksRequest struct { *tchttp.BaseRequest // ZoneId. // The parameter is required. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Start time of the query. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Offset for paginated queries. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: `20`. Maximum value: `1000`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filtering condition. The maximum value of Filters.Values is 20. Detailed filtering conditions: <li>job-id<br> Filter based on [<strong>task ID</strong>]. job-id format: 1379afjk91u32h. Multiple values are not supported. <br> Type: String<br> Required: No<br> Fuzz query: Not supported.</li><li>target<br> Filter based on: [strong>target resource information</strong>. target format: http://www.qq.com/1.txt or tag1. Multiple values are not supported.<br> Type: String<br> Required: No<br> Fuzz query: Not supported.</li><li>domains<br> Filter based on [<strong>domain name</strong>]. domains format: www.qq.com<br> Type: String<br> Required: No<br> Fuzz query: Not supported. </li><li>statuses<br> Filter based on <strong>task status</strong>.<br> Required: No<br> Fuzz query: Not supported. <br> Options:<br> processing: Processing<br> success: Success<br> failed: Failure<br> timeout: Timeout</li><li>type<br> Filter based on [<strong>cleared cache type</strong>]. Multiple values are not supported. <br> Type: String<br> Required: No<br> Fuzz query: Not supported.<br> Options:<br> purge_url: URL<br> purge_prefix: Prefix<br> purge_all: All cache content<br> purge_host: Hostname<br> purge_cache_tag: CacheTag</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
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 { // ZoneId. // The parameter is required. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Start time of the query. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // End time of the query. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Offset for paginated queries. Default value: `0`. Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: `20`. Maximum value: `1000`. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filtering condition. The maximum value of Filters.Values is 20. Detailed filtering conditions: <li>job-id<br> Filter based on [<strong>task ID</strong>]. job-id format: 1379afjk91u32h. Multiple values are not supported. <br> Type: String<br> Required: No<br> Fuzz query: Not supported.</li><li>target<br> Filter based on: [strong>target resource information</strong>. target format: http://www.qq.com/1.txt or tag1. Multiple values are not supported.<br> Type: String<br> Required: No<br> Fuzz query: Not supported.</li><li>domains<br> Filter based on [<strong>domain name</strong>]. domains format: www.qq.com<br> Type: String<br> Required: No<br> Fuzz query: Not supported. </li><li>statuses<br> Filter based on <strong>task status</strong>.<br> Required: No<br> Fuzz query: Not supported. <br> Options:<br> processing: Processing<br> success: Success<br> failed: Failure<br> timeout: Timeout</li><li>type<br> Filter based on [<strong>cleared cache type</strong>]. Multiple values are not supported. <br> Type: String<br> Required: No<br> Fuzz query: Not supported.<br> Options:<br> purge_url: URL<br> purge_prefix: Prefix<br> purge_all: All cache content<br> purge_host: Hostname<br> purge_cache_tag: CacheTag</li> Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` }
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,omitnil" name:"TotalCount"` // List of tasks returned. Tasks []*Task `json:"Tasks,omitnil" name:"Tasks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRulesRequest ¶
type DescribeRulesRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Filter conditions. Each filter condition can have up to 20 entries. See below for details: // <li>`rule-id`:<br> Filter by the <strong>rule ID</strong><br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
func NewDescribeRulesRequest ¶
func NewDescribeRulesRequest() (request *DescribeRulesRequest)
func (*DescribeRulesRequest) FromJsonString ¶
func (r *DescribeRulesRequest) 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 (*DescribeRulesRequest) ToJsonString ¶
func (r *DescribeRulesRequest) ToJsonString() string
type DescribeRulesRequestParams ¶
type DescribeRulesRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Filter conditions. Each filter condition can have up to 20 entries. See below for details: // <li>`rule-id`:<br> Filter by the <strong>rule ID</strong><br> Type: String<br> Required: No</li> Filters []*Filter `json:"Filters,omitnil" name:"Filters"` }
Predefined struct for user
type DescribeRulesResponse ¶
type DescribeRulesResponse struct { *tchttp.BaseResponse Response *DescribeRulesResponseParams `json:"Response"` }
func NewDescribeRulesResponse ¶
func NewDescribeRulesResponse() (response *DescribeRulesResponse)
func (*DescribeRulesResponse) FromJsonString ¶
func (r *DescribeRulesResponse) 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 (*DescribeRulesResponse) ToJsonString ¶
func (r *DescribeRulesResponse) ToJsonString() string
type DescribeRulesResponseParams ¶
type DescribeRulesResponseParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of rules. Rules are sorted in order of execution. RuleItems []*RuleItem `json:"RuleItems,omitnil" name:"RuleItems"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeRulesSettingRequest ¶
type DescribeRulesSettingRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRulesSettingRequest ¶
func NewDescribeRulesSettingRequest() (request *DescribeRulesSettingRequest)
func (*DescribeRulesSettingRequest) FromJsonString ¶
func (r *DescribeRulesSettingRequest) 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 (*DescribeRulesSettingRequest) ToJsonString ¶
func (r *DescribeRulesSettingRequest) ToJsonString() string
type DescribeRulesSettingRequestParams ¶
type DescribeRulesSettingRequestParams struct { }
Predefined struct for user
type DescribeRulesSettingResponse ¶
type DescribeRulesSettingResponse struct { *tchttp.BaseResponse Response *DescribeRulesSettingResponseParams `json:"Response"` }
func NewDescribeRulesSettingResponse ¶
func NewDescribeRulesSettingResponse() (response *DescribeRulesSettingResponse)
func (*DescribeRulesSettingResponse) FromJsonString ¶
func (r *DescribeRulesSettingResponse) 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 (*DescribeRulesSettingResponse) ToJsonString ¶
func (r *DescribeRulesSettingResponse) ToJsonString() string
type DescribeRulesSettingResponseParams ¶
type DescribeRulesSettingResponseParams struct { // List of the settings of the rule engine that can be used for request match and their detailed recommended configuration information. Actions []*RulesSettingAction `json:"Actions,omitnil" name:"Actions"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityTemplateBindingsRequest ¶
type DescribeSecurityTemplateBindingsRequest struct { *tchttp.BaseRequest // ID of the site to query ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // ID of the policy template to query. TemplateId []*string `json:"TemplateId,omitnil" name:"TemplateId"` }
func NewDescribeSecurityTemplateBindingsRequest ¶
func NewDescribeSecurityTemplateBindingsRequest() (request *DescribeSecurityTemplateBindingsRequest)
func (*DescribeSecurityTemplateBindingsRequest) FromJsonString ¶
func (r *DescribeSecurityTemplateBindingsRequest) 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 (*DescribeSecurityTemplateBindingsRequest) ToJsonString ¶
func (r *DescribeSecurityTemplateBindingsRequest) ToJsonString() string
type DescribeSecurityTemplateBindingsRequestParams ¶
type DescribeSecurityTemplateBindingsRequestParams struct { // ID of the site to query ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // ID of the policy template to query. TemplateId []*string `json:"TemplateId,omitnil" name:"TemplateId"` }
Predefined struct for user
type DescribeSecurityTemplateBindingsResponse ¶
type DescribeSecurityTemplateBindingsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityTemplateBindingsResponseParams `json:"Response"` }
func NewDescribeSecurityTemplateBindingsResponse ¶
func NewDescribeSecurityTemplateBindingsResponse() (response *DescribeSecurityTemplateBindingsResponse)
func (*DescribeSecurityTemplateBindingsResponse) FromJsonString ¶
func (r *DescribeSecurityTemplateBindingsResponse) 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 (*DescribeSecurityTemplateBindingsResponse) ToJsonString ¶
func (r *DescribeSecurityTemplateBindingsResponse) ToJsonString() string
type DescribeSecurityTemplateBindingsResponseParams ¶
type DescribeSecurityTemplateBindingsResponseParams struct { // Bindings of the specified policy template. // // When a domain name of a site is bound with the specified policy template, `TemplateScope` includes the `ZoneId` of the related site and the bindings of the domain name. // // Note: If the template is not bound with any domain name, and there is not any existing binding, `TemplateScope=0` is returned. // // In the binding list, the same domain name may appear repeatedly in the `EntityStatus` list with different `Status`. For example, when a domain name is being bound to another policy template, it's marked both `online` and `pending`. SecurityTemplate []*SecurityTemplateBinding `json:"SecurityTemplate,omitnil" name:"SecurityTemplate"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL4DataRequest ¶
type DescribeTimingL4DataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Query indicator. Values: // <li>l4Flow_connections: Number of access connections;</li> // <li>l4Flow_flux: Total access traffic;</li> // <li>l4Flow_inFlux: Ingress access traffic;</li> // <li>l4Flow_outFlux: Egress access traffic. </li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified. ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Filters // <li>ruleId<br> Filter by the specified <strong>forwarding rule ID</strong></li> // <li>proxyId<br> Filter by the specified <strong>L4 agent ID</strong></li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeTimingL4DataRequest ¶
func NewDescribeTimingL4DataRequest() (request *DescribeTimingL4DataRequest)
func (*DescribeTimingL4DataRequest) FromJsonString ¶
func (r *DescribeTimingL4DataRequest) 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 (*DescribeTimingL4DataRequest) ToJsonString ¶
func (r *DescribeTimingL4DataRequest) ToJsonString() string
type DescribeTimingL4DataRequestParams ¶
type DescribeTimingL4DataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Query indicator. Values: // <li>l4Flow_connections: Number of access connections;</li> // <li>l4Flow_flux: Total access traffic;</li> // <li>l4Flow_inFlux: Ingress access traffic;</li> // <li>l4Flow_outFlux: Egress access traffic. </li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // List of L4 proxy IDs. All L4 proxies will be selected if this field is not specified. ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Filters // <li>ruleId<br> Filter by the specified <strong>forwarding rule ID</strong></li> // <li>proxyId<br> Filter by the specified <strong>L4 agent ID</strong></li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeTimingL4DataResponse ¶
type DescribeTimingL4DataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL4DataResponseParams `json:"Response"` }
func NewDescribeTimingL4DataResponse ¶
func NewDescribeTimingL4DataResponse() (response *DescribeTimingL4DataResponse)
func (*DescribeTimingL4DataResponse) FromJsonString ¶
func (r *DescribeTimingL4DataResponse) 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 (*DescribeTimingL4DataResponse) ToJsonString ¶
func (r *DescribeTimingL4DataResponse) ToJsonString() string
type DescribeTimingL4DataResponseParams ¶
type DescribeTimingL4DataResponseParams struct { // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The list of L4 traffic data recorded over time. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL7AnalysisDataRequest ¶
type DescribeTimingL7AnalysisDataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Indicator list. Values: // <li>l7Flow_outFlux: Edgeone response traffic;</li> // <li>l7Flow_inFlux: Edgeone request traffic;</li> // <li>l7Flow_outBandwidth: Edgeone response bandwidth;</li> // <li>l7Flow_inBandwidth: Edgeone request bandwidth;</li> // <li>l7Flow_request: Number of access requests;</li> // <li>l7Flow_flux: Uplink + downlink traffic of access requests;< li> // <li>l7Flow_bandwidth: Uplink + downlink bandwidth of access requests. </li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Filters // <li>country<br>Filter by the <strong> Country/Region</strong>. The country/region follows <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> specification. </li> // <li>`province`<br>Filter by the <strong>specified province name</strong>. It’s only available when `Area` is `mainland`.</li> // <li>`isp`<br>: Filter by the specified ISP. It’s only available when `Area` is `mainland`.<br>Values: <br>`2`: CTCC; <br>`26`: CUCC; <br>`1046`: CMCC; <br>`3947`: CTT; <br>`38`: CERNET; <br>`43`: GWBN; <br>`0`: Others.</li> // <li>`domain`<br>: Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li> // <li>`url`:<br>Filter by the specified <strong>URL path<strong> (such as `/content` or `content/test.jpg`.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`referer`:<br>Filter by the specified <strong>Referer header</strong>, such as `example.com`.<br>If this parameter is specified, the max query period is the last 30 days.<br>The<a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`resourceType`:<br>Filter by the specified <strong>resource file type</strong>, such as `jpg`, `css`. <br>Note that if this parameter is specified, the max data query period is the last 30 days. <br>The [data query scope stated in the specifications of service package]<a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90"> related with the `ZoneIds` becomes invalid.</li> // <li>`protocol`:<br> Filter by the specified <strong>HTTP protocol</strong> version <br>Values: <br>`HTTP/1.0`: HTTP 1.0;<br>`HTTP/1.1`: HTTP 1.1;<br>`HTTP/2.0`: HTTP 2.0;<br>`HTTP/3.0`: HTTP 3.0;<br>`WebSocket`: WebSocket.</li> // <li>`socket`:<br>Filter by the specified <strong>HTTP protocol</strong> type <br>Values: <br>`HTTP`: HTTP protocol;<br>`HTTPS`: HTTPS protocol;<br>`QUIC`: QUIC protocol.</li> // <li>statusCode<br>u2003u2003 Filter by [strong> Status Code/strong>]. lt;br>u2003u2003 If you only fill in statusCode parameter, you can query data of nearly 30 days at most; br>u2003u2003 If statusCode+Zonelds parameter is filled in at the same time, the supported query data range is the smaller of a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90"> Maximum query range of data analysis/a> and 30 days supported by package. lt;br>u2003u2003 The corresponding Value options are as follows: br>u2003u2003 1XX: Status code of type 1xx; br>u2003u2003 100:100 status code; br>u2003u2003 101:101 status code; br>u2003u2003 102:102 status code; br>u2003u2003 2XX: Status code of type 2xx; br>u2003u2003 200:200 status code; br>u2003u2003 201:201 status code; br>u2003u2003 202:202 status code; br>u2003u2003 203:203 status code; br>u2003u2003 204:204 status code; br>u2003u2003 205:205 status code; br>u2003u2003 206:206 status code; br>u2003u2003 207:207 status code; br>u2003u2003 3XX: Status code of type 3xx; br>u2003u2003 300:300 status code; br>u2003u2003 301:301 status code; br>u2003u2003 302:302 status code; br>u2003u2003 303:303 status code; br>u2003u2003 304:304 status code; br>u2003u2003 305:305 status code; br>u2003u2003 307:307 status code; br>u2003u2003 4XX: Status code of type 4xx; br>u2003u2003 400:400 status code; br>u2003u2003 401:401 status code; br>u2003u2003 402:402 status code; br>u2003u2003 403:403 status code; br>u2003u2003 404:404 status code; br>u2003u2003 405:405 status code; br>u2003u2003 406:406 status code; br>u2003u2003 407:407 status code; br>u2003u2003 408:408 status code; br>u2003u2003 409:409 status code; br>u2003u2003 410:410 status code; br>u2003u2003 411:411 status code; br>u2003u2003 412:412 status code; br>u2003u2003 412:413 Status Code; br>u2003u2003 414:414 status code; br>u2003u2003 415:415 status code; br>u2003u2003 416:416 status code; br>u2003u2003 417:417 status code; br>u2003u2003 422:422 status code; br>u2003u2003 423:423 status code; br>u2003u2003 424:424 status code; br>u2003u2003 426:426 status code; br>u2003u2003 451:451 status code; br>u2003u2003 5XX: Status code of type 5xx; br>u2003u2003 500:500 status code; br>u2003u2003 501:501 status code; br>u2003u2003 502:502 status code; br>u2003u2003 503:503 status code; br>u2003u2003 504:504 status code; br>u2003u2003 505:505 status code; br>u2003u2003 506:506 status code; br>u2003u2003 507:507 status code; br>u2003u2003 510:510 status code; br>u2003u2003 514:514 status code; br>u2003u2003 544:544 Status Code.& lt</li> // <li>`browserType`:<br>Filter by the specified <strong>browser type</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li><br>Values: <br>`Firefox`: Firefox browser; <br>`Chrome`: Chrome browser; <br>`Safari`: Safari browser; <br>`MicrosoftEdge`: Microsoft Edge browser; <br>`IE`: IE browser; <br>`Opera`: Opera browser; <br>`QQBrowser`: QQ browser; <br>`LBBrowser`: LB browser; <br>`MaxthonBrowser`: Maxthon browser; <br>`SouGouBrowser`: Sogou browser; <br>`BIDUBrowser`: Baidu browser; <br>`TaoBrowser`: Tao browser; <br>`UBrowser`: UC browser; <br>`Other`: Other browsers; <br>`Empty`: The browser type is not specified; <br>`Bot`: Web crawler.</li> // <li>`deviceType`:<br>Filter by the <strong>device type</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values:<br>`TV`: TV; <br>`Tablet`: Tablet;<br>`Mobile`: Mobile phone; <br>`Desktop`: Desktop device;<br>`Other`: Other device;<br>`Empty`: Device type not specified.</li> // <li>`operatingSystemType`:<br>Filter by the <strong>operating system</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`Linux`: Linux OS; <br>`MacOS`: Mac OS;<br>`Android`: Android OS;<br>`IOS`: iOS OS;<br>`Windows`: Windows OS;<br>`NetBSD`: NetBSD OS;<br>`ChromiumOS`: Chromium OS; <br>`Bot`: Web crawler:<br>`Other`: Other OS; <br>`Empty`: The OS is not specified.</li> // <li>`tlsVersion`:<br>Filter by the <strong>TLS version</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`TLS1.0`: TLS 1.0;<br>`TLS1.1`: TLS 1.1; <br>`TLS1.2`: TLS 1.2;<br>`TLS1.3`: TLS 1.3.</li> // <li>`ipVersion`<br>Filter by the <strong>specified IP version. <br>Values: <br>`4`: IPv4; <br>`6`: IPv6. // <li>`tagKey`<br>Filter by the <strong>Tag Key</strong>. </li> // <li>`tagValue`<br>Filter by the <strong>Tag Value</strong>. </li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeTimingL7AnalysisDataRequest ¶
func NewDescribeTimingL7AnalysisDataRequest() (request *DescribeTimingL7AnalysisDataRequest)
func (*DescribeTimingL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeTimingL7AnalysisDataRequest) 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 (*DescribeTimingL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeTimingL7AnalysisDataRequest) ToJsonString() string
type DescribeTimingL7AnalysisDataRequestParams ¶
type DescribeTimingL7AnalysisDataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Indicator list. Values: // <li>l7Flow_outFlux: Edgeone response traffic;</li> // <li>l7Flow_inFlux: Edgeone request traffic;</li> // <li>l7Flow_outBandwidth: Edgeone response bandwidth;</li> // <li>l7Flow_inBandwidth: Edgeone request bandwidth;</li> // <li>l7Flow_request: Number of access requests;</li> // <li>l7Flow_flux: Uplink + downlink traffic of access requests;< li> // <li>l7Flow_bandwidth: Uplink + downlink bandwidth of access requests. </li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // The query granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the query period. <br>Period ≤ 1 hour: `min`; <br>1 hour < Period ≤ 2 days: `5min`; <br>2 days < period ≤ 7 days: `hour`; <br>Period > 7 days: `day`. Interval *string `json:"Interval,omitnil" name:"Interval"` // Filters // <li>country<br>Filter by the <strong> Country/Region</strong>. The country/region follows <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> specification. </li> // <li>`province`<br>Filter by the <strong>specified province name</strong>. It’s only available when `Area` is `mainland`.</li> // <li>`isp`<br>: Filter by the specified ISP. It’s only available when `Area` is `mainland`.<br>Values: <br>`2`: CTCC; <br>`26`: CUCC; <br>`1046`: CMCC; <br>`3947`: CTT; <br>`38`: CERNET; <br>`43`: GWBN; <br>`0`: Others.</li> // <li>`domain`<br>: Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li> // <li>`url`:<br>Filter by the specified <strong>URL path<strong> (such as `/content` or `content/test.jpg`.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`referer`:<br>Filter by the specified <strong>Referer header</strong>, such as `example.com`.<br>If this parameter is specified, the max query period is the last 30 days.<br>The<a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`resourceType`:<br>Filter by the specified <strong>resource file type</strong>, such as `jpg`, `css`. <br>Note that if this parameter is specified, the max data query period is the last 30 days. <br>The [data query scope stated in the specifications of service package]<a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90"> related with the `ZoneIds` becomes invalid.</li> // <li>`protocol`:<br> Filter by the specified <strong>HTTP protocol</strong> version <br>Values: <br>`HTTP/1.0`: HTTP 1.0;<br>`HTTP/1.1`: HTTP 1.1;<br>`HTTP/2.0`: HTTP 2.0;<br>`HTTP/3.0`: HTTP 3.0;<br>`WebSocket`: WebSocket.</li> // <li>`socket`:<br>Filter by the specified <strong>HTTP protocol</strong> type <br>Values: <br>`HTTP`: HTTP protocol;<br>`HTTPS`: HTTPS protocol;<br>`QUIC`: QUIC protocol.</li> // <li>statusCode<br>u2003u2003 Filter by [strong> Status Code/strong>]. lt;br>u2003u2003 If you only fill in statusCode parameter, you can query data of nearly 30 days at most; br>u2003u2003 If statusCode+Zonelds parameter is filled in at the same time, the supported query data range is the smaller of a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90"> Maximum query range of data analysis/a> and 30 days supported by package. lt;br>u2003u2003 The corresponding Value options are as follows: br>u2003u2003 1XX: Status code of type 1xx; br>u2003u2003 100:100 status code; br>u2003u2003 101:101 status code; br>u2003u2003 102:102 status code; br>u2003u2003 2XX: Status code of type 2xx; br>u2003u2003 200:200 status code; br>u2003u2003 201:201 status code; br>u2003u2003 202:202 status code; br>u2003u2003 203:203 status code; br>u2003u2003 204:204 status code; br>u2003u2003 205:205 status code; br>u2003u2003 206:206 status code; br>u2003u2003 207:207 status code; br>u2003u2003 3XX: Status code of type 3xx; br>u2003u2003 300:300 status code; br>u2003u2003 301:301 status code; br>u2003u2003 302:302 status code; br>u2003u2003 303:303 status code; br>u2003u2003 304:304 status code; br>u2003u2003 305:305 status code; br>u2003u2003 307:307 status code; br>u2003u2003 4XX: Status code of type 4xx; br>u2003u2003 400:400 status code; br>u2003u2003 401:401 status code; br>u2003u2003 402:402 status code; br>u2003u2003 403:403 status code; br>u2003u2003 404:404 status code; br>u2003u2003 405:405 status code; br>u2003u2003 406:406 status code; br>u2003u2003 407:407 status code; br>u2003u2003 408:408 status code; br>u2003u2003 409:409 status code; br>u2003u2003 410:410 status code; br>u2003u2003 411:411 status code; br>u2003u2003 412:412 status code; br>u2003u2003 412:413 Status Code; br>u2003u2003 414:414 status code; br>u2003u2003 415:415 status code; br>u2003u2003 416:416 status code; br>u2003u2003 417:417 status code; br>u2003u2003 422:422 status code; br>u2003u2003 423:423 status code; br>u2003u2003 424:424 status code; br>u2003u2003 426:426 status code; br>u2003u2003 451:451 status code; br>u2003u2003 5XX: Status code of type 5xx; br>u2003u2003 500:500 status code; br>u2003u2003 501:501 status code; br>u2003u2003 502:502 status code; br>u2003u2003 503:503 status code; br>u2003u2003 504:504 status code; br>u2003u2003 505:505 status code; br>u2003u2003 506:506 status code; br>u2003u2003 507:507 status code; br>u2003u2003 510:510 status code; br>u2003u2003 514:514 status code; br>u2003u2003 544:544 Status Code.& lt</li> // <li>`browserType`:<br>Filter by the specified <strong>browser type</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li><br>Values: <br>`Firefox`: Firefox browser; <br>`Chrome`: Chrome browser; <br>`Safari`: Safari browser; <br>`MicrosoftEdge`: Microsoft Edge browser; <br>`IE`: IE browser; <br>`Opera`: Opera browser; <br>`QQBrowser`: QQ browser; <br>`LBBrowser`: LB browser; <br>`MaxthonBrowser`: Maxthon browser; <br>`SouGouBrowser`: Sogou browser; <br>`BIDUBrowser`: Baidu browser; <br>`TaoBrowser`: Tao browser; <br>`UBrowser`: UC browser; <br>`Other`: Other browsers; <br>`Empty`: The browser type is not specified; <br>`Bot`: Web crawler.</li> // <li>`deviceType`:<br>Filter by the <strong>device type</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values:<br>`TV`: TV; <br>`Tablet`: Tablet;<br>`Mobile`: Mobile phone; <br>`Desktop`: Desktop device;<br>`Other`: Other device;<br>`Empty`: Device type not specified.</li> // <li>`operatingSystemType`:<br>Filter by the <strong>operating system</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`Linux`: Linux OS; <br>`MacOS`: Mac OS;<br>`Android`: Android OS;<br>`IOS`: iOS OS;<br>`Windows`: Windows OS;<br>`NetBSD`: NetBSD OS;<br>`ChromiumOS`: Chromium OS; <br>`Bot`: Web crawler:<br>`Other`: Other OS; <br>`Empty`: The OS is not specified.</li> // <li>`tlsVersion`:<br>Filter by the <strong>TLS version</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`TLS1.0`: TLS 1.0;<br>`TLS1.1`: TLS 1.1; <br>`TLS1.2`: TLS 1.2;<br>`TLS1.3`: TLS 1.3.</li> // <li>`ipVersion`<br>Filter by the <strong>specified IP version. <br>Values: <br>`4`: IPv4; <br>`6`: IPv6. // <li>`tagKey`<br>Filter by the <strong>Tag Key</strong>. </li> // <li>`tagValue`<br>Filter by the <strong>Tag Value</strong>. </li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeTimingL7AnalysisDataResponse ¶
type DescribeTimingL7AnalysisDataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL7AnalysisDataResponseParams `json:"Response"` }
func NewDescribeTimingL7AnalysisDataResponse ¶
func NewDescribeTimingL7AnalysisDataResponse() (response *DescribeTimingL7AnalysisDataResponse)
func (*DescribeTimingL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeTimingL7AnalysisDataResponse) 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 (*DescribeTimingL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeTimingL7AnalysisDataResponse) ToJsonString() string
type DescribeTimingL7AnalysisDataResponseParams ¶
type DescribeTimingL7AnalysisDataResponseParams struct { // The list of L7 traffic data recorded over time. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"` // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL7CacheDataRequest ¶
type DescribeTimingL7CacheDataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The query metric. Values: // <li>`l7Cache_outFlux`: Response traffic.</li> // <li>`l7Cache_request`: Response requests.</li> // <li>`l7Cache_outBandwidth`: Response bandwidth.</li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Filter conditions. See below for details: // <li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li> // <li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li> // <li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br> Type: String<br> Required: No</li> // <li>cacheType<br> Filter by the <strong>cache hit result</strong>.<br> Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li> // <li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br> `422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li> // <li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li> // <li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // The query time granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeTimingL7CacheDataRequest ¶
func NewDescribeTimingL7CacheDataRequest() (request *DescribeTimingL7CacheDataRequest)
func (*DescribeTimingL7CacheDataRequest) FromJsonString ¶
func (r *DescribeTimingL7CacheDataRequest) 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 (*DescribeTimingL7CacheDataRequest) ToJsonString ¶
func (r *DescribeTimingL7CacheDataRequest) ToJsonString() string
type DescribeTimingL7CacheDataRequestParams ¶
type DescribeTimingL7CacheDataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The query metric. Values: // <li>`l7Cache_outFlux`: Response traffic.</li> // <li>`l7Cache_request`: Response requests.</li> // <li>`l7Cache_outBandwidth`: Response bandwidth.</li> MetricNames []*string `json:"MetricNames,omitnil" name:"MetricNames"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Filter conditions. See below for details: // <li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li> // <li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li> // <li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br> Type: String<br> Required: No</li> // <li>cacheType<br> Filter by the <strong>cache hit result</strong>.<br> Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li> // <li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br> `422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li> // <li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li> // <li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // The query time granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeTimingL7CacheDataResponse ¶
type DescribeTimingL7CacheDataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL7CacheDataResponseParams `json:"Response"` }
func NewDescribeTimingL7CacheDataResponse ¶
func NewDescribeTimingL7CacheDataResponse() (response *DescribeTimingL7CacheDataResponse)
func (*DescribeTimingL7CacheDataResponse) FromJsonString ¶
func (r *DescribeTimingL7CacheDataResponse) 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 (*DescribeTimingL7CacheDataResponse) ToJsonString ¶
func (r *DescribeTimingL7CacheDataResponse) ToJsonString() string
type DescribeTimingL7CacheDataResponseParams ¶
type DescribeTimingL7CacheDataResponseParams struct { // The list of cached L7 time-series data. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitnil" name:"Data"` // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTopL7AnalysisDataRequest ¶
type DescribeTopL7AnalysisDataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Metrics to query. Valid values: // <li>`l7Flow_outFlux_country`: Query traffic by country/region;</li> // <li>`l7Flow_outFlux_statusCode`: Query traffic by status code;</li> // <li>`l7Flow_outFlux_domain`: Query traffic by domain;</li> // <li>`l7Flow_outFlux_url`: Query traffic by URL;</li> // <li>`l7Flow_outFlux_resourceType`: Query traffic by resource type;</li> // <li>`l7Flow_outFlux_sip`: Query traffic by source IP;</li> // <li>`l7Flow_outFlux_referers`: Query traffic by refer information;</li> // <li>`l7Flow_outFlux_ua_device`: Query traffic by device;</li> // <li>`l7Flow_outFlux_ua_browser`: Query traffic by browser;</li> // <li>`l7Flow_outFlux_us_os`: Query traffic by OS;</li> // <li>`l7Flow_request_country`: Query requests by country/region;</li> // <li>`l7Flow_request_statusCode`: Query requests by status code;</li> // <li>`l7Flow_request_domain`: Query requests by domain;</li> // <li>`l7Flow_request_url`: Query requests by URL;</li> // <li>`l7Flow_request_resourceType`: Query requests by resource type;</li> // <li>`l7Flow_request_sip`: Query requests by source IP;</li> // <li>`l7Flow_request_referer`: Query requests by refer information;</li> // <li>`l7Flow_request_ua_device`: Query requests by device;</li> // <li>`l7Flow_request_ua_browser`: Query requests by browser;</li> // <li>`l7Flow_request_us_os`: Query requests by OS.</li> MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Queries the top n rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filters // <li>`country`<br>Filter by the <strong> Country/Region</strong>. The country/region follows <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> specification. </li> // <li>`province`<br>Filter by the <strong>specified province name</strong>. It’s only available when `Area` is `mainland`.</li> // <li>`isp`<br>: Filter by the specified ISP. It’s only available when `Area` is `mainland`.<br>Values: <br>`2`: CTCC; <br>`26`: CUCC; <br>`1046`: CMCC; <br>`3947`: CTT; <br>`38`: CERNET; <br>`43`: GWBN; <br>`0`: Others.</li> // <li>`domain`<br>: Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li> // <li>`url`:<br>Filter by the <strong>specified URL Path (such as `/content` or `content/test.jpg`. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`referer`:<br>Filter by the specified <strong>Referer header</strong>, such as `example.com`.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`resourceType`:<br>Filter by the specified <strong>resource file type</strong>, such as `jpg`, `css`. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`protocol`:<br> Filter by the specified <strong>HTTP protocol</strong> version <br>Values: <br>`HTTP/1.0`: HTTP 1.0;<br>`HTTP/1.1`: HTTP 1.1;<br>`HTTP/2.0`: HTTP 2.0;<br>`HTTP/3.0`: HTTP 3.0;<br>`WebSocket`: WebSocket.</li> // <li>`socket`:<br>Filter by the specified <strong>HTTP protocol type</strong> <br>Values:<br>`HTTP`: HTTP protocol; <br>`HTTPS`: HTTPS protocol;<br>`QUIC`: QUIC protocol. // <li>`statusCode`:<br> Filter by the <strong> Status Code</strong><br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values:<br>1XX: Status code of type 1xx <br>100: 100 status code <br>101: 101 status code <br>102: 102 status code <br>2XX: Status code of type 2xx <br>200: 200 status code <br>201: 201 status code <br>202: 202 status code <br>203: 203 status code <br>204: 204 status code <br>205: 205 status code <br>206: 206 status code <br>207: 207 status code <br>3XX: Status code of type 3xx <br>300: 300 status code <br>301: 301 status code <br>302: 302 status code <br>303: 303 status code <br>304: 304 status code <br>305: 305 status code <br>307: 307 status code <br>4XX: Status code of type 4xx <br>400: 400 status code <br>401: 401 status code <br>402: 402 status code <br>403: 403 status code <br>404: 404 status code <br>405: 405 status code <br>406: 406 status code <br>407: 407 status code <br>408: 408 status code <br>409: 409 status code <br>410: 410 status code <br>411: 411 status code <br>412: 412 status code <br>412: 413 Status Code <br>414: 414 status code <br>415: 415 status code <br>416: 416 status code <br>417: 417 status code <br>422: 422 status code <br>423: 423 status code <br>424: 424 status code <br>426: 426 status code <br>451: 451 status code <br>5XX: Status code of type 5xx <br>500: 500 status code <br>501: 501 status code <br>502:502 status code <br>503: 503 status code <br>504: 504 status code <br>505: 505 status code <br>506: 506 status code <br>507: 507 status code <br>510: 510 status code <br>514: 514 status code <br>544: 544 Status Code. </li> // <li>`browserType`:<br>Filter by the specified <strong>browser type</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li><br>Values: <br>`Firefox`: Firefox browser; <br>`Chrome`: Chrome browser; <br>`Safari`: Safari browser; <br>`MicrosoftEdge`: Microsoft Edge browser; <br>`IE`: IE browser; <br>`Opera`: Opera browser; <br>`QQBrowser`: QQ browser; <br>`LBBrowser`: LB browser; <br>`MaxthonBrowser`: Maxthon browser; <br>`SouGouBrowser`: Sogou browser; <br>`BIDUBrowser`: Baidu browser; <br>`TaoBrowser`: Tao browser; <br>`UBrowser`: UC browser; <br>`Other`: Other browsers; <br>`Empty`: The browser type is not specified; <br>`Bot`: Web crawler.</li> // <li>`deviceType`:<br>Filter by the <strong>device type</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values:<br>`TV`: TV; <br>`Tablet`: Tablet;<br>`Mobile`: Mobile phone; <br>`Desktop`: Desktop device;<br>`Other`: Other device;<br>`Empty`: Device type not specified.</li> // <li>`operatingSystemType`:<br>Filter by the <strong>operating system</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`Linux`: Linux OS; <br>`MacOS`: Mac OS;<br>`Android`: Android OS;<br>`IOS`: iOS OS;<br>`Windows`: Windows OS;<br>`NetBSD`: NetBSD OS;<br>`ChromiumOS`: Chromium OS; <br>`Bot`: Web crawler:<br>`Other`: Other OS; <br>`Empty`: The OS is not specified.</li> // <li>`tlsVersion`:<br>Filter by the <strong>TLS version</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`TLS1.0`: TLS 1.0;<br>`TLS1.1`: TLS 1.1; <br>`TLS1.2`: TLS 1.2;<br>`TLS1.3`: TLS 1.3.</li> // <li>`ipVersion`<br>Filter by the <strong>specified IP version. <br>Values: <br>`4`: IPv4; <br>`6`: IPv6. // <li>`tagKey`<br>Filter by the <strong>Tag Key</strong>. </li> // <li>`tagValue`<br>Filter by the <strong>Tag Value</strong>. </li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // The query time granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minute;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeTopL7AnalysisDataRequest ¶
func NewDescribeTopL7AnalysisDataRequest() (request *DescribeTopL7AnalysisDataRequest)
func (*DescribeTopL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeTopL7AnalysisDataRequest) 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 (*DescribeTopL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeTopL7AnalysisDataRequest) ToJsonString() string
type DescribeTopL7AnalysisDataRequestParams ¶
type DescribeTopL7AnalysisDataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // Metrics to query. Valid values: // <li>`l7Flow_outFlux_country`: Query traffic by country/region;</li> // <li>`l7Flow_outFlux_statusCode`: Query traffic by status code;</li> // <li>`l7Flow_outFlux_domain`: Query traffic by domain;</li> // <li>`l7Flow_outFlux_url`: Query traffic by URL;</li> // <li>`l7Flow_outFlux_resourceType`: Query traffic by resource type;</li> // <li>`l7Flow_outFlux_sip`: Query traffic by source IP;</li> // <li>`l7Flow_outFlux_referers`: Query traffic by refer information;</li> // <li>`l7Flow_outFlux_ua_device`: Query traffic by device;</li> // <li>`l7Flow_outFlux_ua_browser`: Query traffic by browser;</li> // <li>`l7Flow_outFlux_us_os`: Query traffic by OS;</li> // <li>`l7Flow_request_country`: Query requests by country/region;</li> // <li>`l7Flow_request_statusCode`: Query requests by status code;</li> // <li>`l7Flow_request_domain`: Query requests by domain;</li> // <li>`l7Flow_request_url`: Query requests by URL;</li> // <li>`l7Flow_request_resourceType`: Query requests by resource type;</li> // <li>`l7Flow_request_sip`: Query requests by source IP;</li> // <li>`l7Flow_request_referer`: Query requests by refer information;</li> // <li>`l7Flow_request_ua_device`: Query requests by device;</li> // <li>`l7Flow_request_ua_browser`: Query requests by browser;</li> // <li>`l7Flow_request_us_os`: Query requests by OS.</li> MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Queries the top n rows of data. Maximum value: 1000. Top 10 rows of data will be queried if this field is not specified. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filters // <li>`country`<br>Filter by the <strong> Country/Region</strong>. The country/region follows <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166</a> specification. </li> // <li>`province`<br>Filter by the <strong>specified province name</strong>. It’s only available when `Area` is `mainland`.</li> // <li>`isp`<br>: Filter by the specified ISP. It’s only available when `Area` is `mainland`.<br>Values: <br>`2`: CTCC; <br>`26`: CUCC; <br>`1046`: CMCC; <br>`3947`: CTT; <br>`38`: CERNET; <br>`43`: GWBN; <br>`0`: Others.</li> // <li>`domain`<br>: Filter by the specified <strong>sub-domain name</strong>, such as `test.example.com`</li> // <li>`url`:<br>Filter by the <strong>specified URL Path (such as `/content` or `content/test.jpg`. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`referer`:<br>Filter by the specified <strong>Referer header</strong>, such as `example.com`.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`resourceType`:<br>Filter by the specified <strong>resource file type</strong>, such as `jpg`, `css`. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li> // <li>`protocol`:<br> Filter by the specified <strong>HTTP protocol</strong> version <br>Values: <br>`HTTP/1.0`: HTTP 1.0;<br>`HTTP/1.1`: HTTP 1.1;<br>`HTTP/2.0`: HTTP 2.0;<br>`HTTP/3.0`: HTTP 3.0;<br>`WebSocket`: WebSocket.</li> // <li>`socket`:<br>Filter by the specified <strong>HTTP protocol type</strong> <br>Values:<br>`HTTP`: HTTP protocol; <br>`HTTPS`: HTTPS protocol;<br>`QUIC`: QUIC protocol. // <li>`statusCode`:<br> Filter by the <strong> Status Code</strong><br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values:<br>1XX: Status code of type 1xx <br>100: 100 status code <br>101: 101 status code <br>102: 102 status code <br>2XX: Status code of type 2xx <br>200: 200 status code <br>201: 201 status code <br>202: 202 status code <br>203: 203 status code <br>204: 204 status code <br>205: 205 status code <br>206: 206 status code <br>207: 207 status code <br>3XX: Status code of type 3xx <br>300: 300 status code <br>301: 301 status code <br>302: 302 status code <br>303: 303 status code <br>304: 304 status code <br>305: 305 status code <br>307: 307 status code <br>4XX: Status code of type 4xx <br>400: 400 status code <br>401: 401 status code <br>402: 402 status code <br>403: 403 status code <br>404: 404 status code <br>405: 405 status code <br>406: 406 status code <br>407: 407 status code <br>408: 408 status code <br>409: 409 status code <br>410: 410 status code <br>411: 411 status code <br>412: 412 status code <br>412: 413 Status Code <br>414: 414 status code <br>415: 415 status code <br>416: 416 status code <br>417: 417 status code <br>422: 422 status code <br>423: 423 status code <br>424: 424 status code <br>426: 426 status code <br>451: 451 status code <br>5XX: Status code of type 5xx <br>500: 500 status code <br>501: 501 status code <br>502:502 status code <br>503: 503 status code <br>504: 504 status code <br>505: 505 status code <br>506: 506 status code <br>507: 507 status code <br>510: 510 status code <br>514: 514 status code <br>544: 544 Status Code. </li> // <li>`browserType`:<br>Filter by the specified <strong>browser type</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.</li><br>Values: <br>`Firefox`: Firefox browser; <br>`Chrome`: Chrome browser; <br>`Safari`: Safari browser; <br>`MicrosoftEdge`: Microsoft Edge browser; <br>`IE`: IE browser; <br>`Opera`: Opera browser; <br>`QQBrowser`: QQ browser; <br>`LBBrowser`: LB browser; <br>`MaxthonBrowser`: Maxthon browser; <br>`SouGouBrowser`: Sogou browser; <br>`BIDUBrowser`: Baidu browser; <br>`TaoBrowser`: Tao browser; <br>`UBrowser`: UC browser; <br>`Other`: Other browsers; <br>`Empty`: The browser type is not specified; <br>`Bot`: Web crawler.</li> // <li>`deviceType`:<br>Filter by the <strong>device type</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values:<br>`TV`: TV; <br>`Tablet`: Tablet;<br>`Mobile`: Mobile phone; <br>`Desktop`: Desktop device;<br>`Other`: Other device;<br>`Empty`: Device type not specified.</li> // <li>`operatingSystemType`:<br>Filter by the <strong>operating system</strong>.<br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`Linux`: Linux OS; <br>`MacOS`: Mac OS;<br>`Android`: Android OS;<br>`IOS`: iOS OS;<br>`Windows`: Windows OS;<br>`NetBSD`: NetBSD OS;<br>`ChromiumOS`: Chromium OS; <br>`Bot`: Web crawler:<br>`Other`: Other OS; <br>`Empty`: The OS is not specified.</li> // <li>`tlsVersion`:<br>Filter by the <strong>TLS version</strong>. <br>If this parameter is specified, the max query period is the last 30 days.<br>The <a href="https://intl.cloud.tencent.com/document/product/1552/77380?from_cn_redirect=1#edgeone-.E5.A5.97.E9.A4.90">max data query scope stated in the service package specifications</a> of the site (if `ZoneIds` specified) becomes invalid.<br>Values: <br>`TLS1.0`: TLS 1.0;<br>`TLS1.1`: TLS 1.1; <br>`TLS1.2`: TLS 1.2;<br>`TLS1.3`: TLS 1.3.</li> // <li>`ipVersion`<br>Filter by the <strong>specified IP version. <br>Values: <br>`4`: IPv4; <br>`6`: IPv6. // <li>`tagKey`<br>Filter by the <strong>Tag Key</strong>. </li> // <li>`tagValue`<br>Filter by the <strong>Tag Value</strong>. </li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // The query time granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minute;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeTopL7AnalysisDataResponse ¶
type DescribeTopL7AnalysisDataResponse struct { *tchttp.BaseResponse Response *DescribeTopL7AnalysisDataResponseParams `json:"Response"` }
func NewDescribeTopL7AnalysisDataResponse ¶
func NewDescribeTopL7AnalysisDataResponse() (response *DescribeTopL7AnalysisDataResponse)
func (*DescribeTopL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeTopL7AnalysisDataResponse) 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 (*DescribeTopL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeTopL7AnalysisDataResponse) ToJsonString() string
type DescribeTopL7AnalysisDataResponseParams ¶
type DescribeTopL7AnalysisDataResponseParams struct { // The list of top-ranked L7 traffic data. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TopDataRecord `json:"Data,omitnil" name:"Data"` // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeTopL7CacheDataRequest ¶
type DescribeTopL7CacheDataRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The query metric. Values: // <li>`l7Cache_outFlux_domain`: Host/Domain name;</li> // <li>`l7Cache_outFlux_url`: URL address;</li> // <li>`l7Cache_outFlux_resourceType`: Resource type;</li> // <li>`l7Cache_outFlux_statusCode`: Status code.</li> MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Top rows of data to query. Maximum value: 1000. Top 10 rows of data are queried if this field is not specified. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter conditions. See below for details: // <li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li> // <li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li> // <li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br> Type: String<br> Required: No</li> // <li>cacheType<br> Filter by the <strong>cache hit result</strong>.<br> Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li> // <li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br> `422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li> // <li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li> // <li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // The query time granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
func NewDescribeTopL7CacheDataRequest ¶
func NewDescribeTopL7CacheDataRequest() (request *DescribeTopL7CacheDataRequest)
func (*DescribeTopL7CacheDataRequest) FromJsonString ¶
func (r *DescribeTopL7CacheDataRequest) 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 (*DescribeTopL7CacheDataRequest) ToJsonString ¶
func (r *DescribeTopL7CacheDataRequest) ToJsonString() string
type DescribeTopL7CacheDataRequestParams ¶
type DescribeTopL7CacheDataRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // The query metric. Values: // <li>`l7Cache_outFlux_domain`: Host/Domain name;</li> // <li>`l7Cache_outFlux_url`: URL address;</li> // <li>`l7Cache_outFlux_resourceType`: Resource type;</li> // <li>`l7Cache_outFlux_statusCode`: Status code.</li> MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // Top rows of data to query. Maximum value: 1000. Top 10 rows of data are queried if this field is not specified. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter conditions. See below for details: // <li>`domain`<br> Filter by the <strong>sub-domain name</strong>, such as `test.example.com`<br> Type: String<br> Required: No</li> // <li>`url`<br> Filter by the <strong>URL</strong>, such as `/content`. The query period cannot exceed 30 days. <br> Type: String<br> Required: No</li> // <li>`resourceType`<br> Filter by the <strong>resource file type</strong>, such as `jpg`, `png`. The query period cannot exceed 30 days.<br> Type: String<br> Required: No</li> // <li>cacheType<br> Filter by the <strong>cache hit result</strong>.<br> Type: String<br> Required: No<br> Values: <br> `hit`: Cache hit; <br> `dynamic`: Resource non-cacheable; <br> `miss`: Cache miss</li> // <li>`statusCode`<br> Filter by the <strong> status code</strong>. The query period cannot exceed 30 days. <br> Type: String<br> Required: No<br> Values: <br> `1XX`: All 1xx status codes;<br> `100`: 100 status code;<br> `101`: 101 status code;<br> `102`: 102 status code;<br> `2XX`: All 2xx status codes;<br> `200`: 200 status code;<br> `201`: 201 status code;<br> `202`: 202 status code;<br> `203`: 203 status code;<br> `204`: 204 status code;<br> `205`: 205 status code;<br> `206`: 206 status code;<br> `207`: 207 status code;<br> `3XX`: All 3xx status codes;<br> `300`: 300 status code;<br> `301`: 301 status code;<br> `302`: 302 status code;<br> `303`: 303 status code;<br> `304`: 304 status code;<br> `305`: 305 status code;<br> `307`: 307 status code;<br> `4XX`: All 4xx status codes;<br> `400`: 400 status code;<br> `401`: 401 status code;<br> `402`: 402 status code;<br> `403`: 403 status code;<br> `404`: 404 status code;<br> `405`: 405 status code;<br> `406`: 406 status code;<br> `407`: 407 status code;<br> `408`: 408 status code;<br> `409`: 409 status code;<br> `410`: 410 status code;<br> `411`: 411 status code;<br> `412`: 412 status code;<br> `412`: 413 status code;<br> `414`: 414 status code;<br> `415`: 415 status code;<br> `416`: 416 status code;<br> `417`: 417 status code;<br> `422`: 422 status code;<br> `423`: 423 status code;<br> `424`: 424 status code;<br> `426`: 426 status code;<br> `451`: 451 status code;<br> `5XX`: All 5xx status codes;<br> `500`: 500 status code;<br> `501`: 501 status code;<br> `502`: 502 status code;<br> `503`: 503 status code;<br> `504`: 504 status code;<br> `505`: 505 status code;<br> `506`: 506 status code;<br> `507`: 507 status code;<br> `510`: 510 status code;<br> `514`: 514 status code;<br> `544`: 544 status code.</li> // <li>`tagKey`:<br> Filter by the <strong>tag key</strong><br> Type: String<br> Required: No</li> // <li>`tagValue`<br> Filter by the <strong>tag value</strong><br> Type: String<br> Required: No</li> Filters []*QueryCondition `json:"Filters,omitnil" name:"Filters"` // The query time granularity. Values: // <li>`min`: 1 minute;</li> // <li>`5min`: 5 minutes;</li> // <li>`hour`: 1 hour;</li> // <li>`day`: 1 day.</li>If this field is not specified, the granularity will be determined based on the interval between the start time and end time as follows: 1-minute granularity applies for a 1-hour interval, 5-minute granularity for a 2-day interval, 1-hour granularity for a 7-day interval, and 1-day granularity for an interval of over 7 days. Interval *string `json:"Interval,omitnil" name:"Interval"` // Geolocation scope. Values: // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`mainland`: Chinese mainland</li> // <li>`global`: Global</li>If this field is not specified, the default value `global` is used. Area *string `json:"Area,omitnil" name:"Area"` }
Predefined struct for user
type DescribeTopL7CacheDataResponse ¶
type DescribeTopL7CacheDataResponse struct { *tchttp.BaseResponse Response *DescribeTopL7CacheDataResponseParams `json:"Response"` }
func NewDescribeTopL7CacheDataResponse ¶
func NewDescribeTopL7CacheDataResponse() (response *DescribeTopL7CacheDataResponse)
func (*DescribeTopL7CacheDataResponse) FromJsonString ¶
func (r *DescribeTopL7CacheDataResponse) 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 (*DescribeTopL7CacheDataResponse) ToJsonString ¶
func (r *DescribeTopL7CacheDataResponse) ToJsonString() string
type DescribeTopL7CacheDataResponseParams ¶
type DescribeTopL7CacheDataResponseParams struct { // The list of cached L7 top-ranked traffic data. // Note: This field may return null, indicating that no valid values can be obtained. Data []*TopDataRecord `json:"Data,omitnil" name:"Data"` // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeZoneSettingRequest ¶
type DescribeZoneSettingRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" 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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" 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 { // The site configuration. // Note: This field may return null, indicating that no valid values can be obtained. ZoneSetting *ZoneSetting `json:"ZoneSetting,omitnil" name:"ZoneSetting"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DescribeZonesRequest ¶
type DescribeZonesRequest struct { *tchttp.BaseRequest // The page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter conditions. Up to 20 values for each filter. If this parameter is not filled in, the information of all sites under the current account is returned. Detailed filtering conditions are as follows: // <li>`zone-name`: Site name </li><li>`zone-id`: Site ID, such as zone-2noz78a8ev6k</li><li>`status`: Site status </li><li>`tag-key`: Tag key </li><li>`tag-value`: Tag value </li>Only `zone-name` supports fuzzy query. Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` // Sort the returned results according to this field. Values include: // <li>`type`: Connection mode</li> // <li>`area`: Acceleration region</li> // <li>`create-time`: Creation time</li> // <li>`zone-name`: Site name</li> // <li>`use-time`: Last used time</li> // <li>`active-status` Effective status</li> Default value: `create-time` Order *string `json:"Order,omitnil" name:"Order"` // Sort direction. If the field value is a number, sort by the numeric value. If the field value is text, sort by the ascill code. Values include: // <li>`asc`: From the smallest to largest</li> // <li>`desc`: From the largest to smallest.</li>Default value: `desc` Direction *string `json:"Direction,omitnil" name:"Direction"` }
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 { // The page offset. Default value: 0 Offset *int64 `json:"Offset,omitnil" name:"Offset"` // Limit on paginated queries. Default value: 20. Maximum value: 100. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // Filter conditions. Up to 20 values for each filter. If this parameter is not filled in, the information of all sites under the current account is returned. Detailed filtering conditions are as follows: // <li>`zone-name`: Site name </li><li>`zone-id`: Site ID, such as zone-2noz78a8ev6k</li><li>`status`: Site status </li><li>`tag-key`: Tag key </li><li>`tag-value`: Tag value </li>Only `zone-name` supports fuzzy query. Filters []*AdvancedFilter `json:"Filters,omitnil" name:"Filters"` // Sort the returned results according to this field. Values include: // <li>`type`: Connection mode</li> // <li>`area`: Acceleration region</li> // <li>`create-time`: Creation time</li> // <li>`zone-name`: Site name</li> // <li>`use-time`: Last used time</li> // <li>`active-status` Effective status</li> Default value: `create-time` Order *string `json:"Order,omitnil" name:"Order"` // Sort direction. If the field value is a number, sort by the numeric value. If the field value is text, sort by the ascill code. Values include: // <li>`asc`: From the smallest to largest</li> // <li>`desc`: From the largest to smallest.</li>Default value: `desc` Direction *string `json:"Direction,omitnil" name:"Direction"` }
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 eligible sites. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // Details of sites. Zones []*Zone `json:"Zones,omitnil" name:"Zones"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DetailHost ¶
type DetailHost struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The acceleration status. Values: // <li>`process`: In progress</li> // <li>`online`: Enabled</li> // <li>`offline`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // The domain name. Host *string `json:"Host,omitnil" name:"Host"` // Name of the site ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // The assigned CNAME Cname *string `json:"Cname,omitnil" name:"Cname"` // The resource ID. Id *string `json:"Id,omitnil" name:"Id"` // The instance ID. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The lock status. Lock *int64 `json:"Lock,omitnil" name:"Lock"` // The domain name status. Mode *int64 `json:"Mode,omitnil" name:"Mode"` // The acceleration area of the domain name. Values: // <li>`global`: Global.</li> // <li>`mainland`: Chinese mainland.</li> // <li>`overseas`: Outside the Chinese mainland.</li> Area *string `json:"Area,omitnil" name:"Area"` // The acceleration type configuration item. // Note: This field may return null, indicating that no valid values can be obtained. AccelerateType *AccelerateType `json:"AccelerateType,omitnil" name:"AccelerateType"` // The HTTPS configuration item. // Note: This field may return null, indicating that no valid values can be obtained. Https *Https `json:"Https,omitnil" name:"Https"` // The cache configuration item. // Note: This field may return null, indicating that no valid values can be obtained. CacheConfig *CacheConfig `json:"CacheConfig,omitnil" name:"CacheConfig"` // The origin configuration item. // Note: This field may return null, indicating that no valid values can be obtained. Origin *Origin `json:"Origin,omitnil" name:"Origin"` // The security type. // Note: This field may return null, indicating that no valid values can be obtained. SecurityType *SecurityType `json:"SecurityType,omitnil" name:"SecurityType"` // The cache key configuration item. // Note: This field may return null, indicating that no valid values can be obtained. CacheKey *CacheKey `json:"CacheKey,omitnil" name:"CacheKey"` // The smart compression configuration item. // Note: This field may return null, indicating that no valid values can be obtained. Compression *Compression `json:"Compression,omitnil" name:"Compression"` // The WAF protection configuration item. // Note: This field may return null, indicating that no valid values can be obtained. Waf *Waf `json:"Waf,omitnil" name:"Waf"` // The CC protection configuration item. // Note: This field may return null, indicating that no valid values can be obtained. CC *CC `json:"CC,omitnil" name:"CC"` // DDoS mitigation configuration // Note: This field may return null, indicating that no valid values can be obtained. DDoS *DDoS `json:"DDoS,omitnil" name:"DDoS"` // The smart routing configuration item. // Note: This field may return null, indicating that no valid values can be obtained. SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"` // The IPv6 access configuration item. // Note: This field may return null, indicating that no valid values can be obtained. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // Whether to carry the location information of the client IP during origin-pull. // Note: This field may return `null`, indicating that no valid value can be obtained. ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil" name:"ClientIpCountry"` }
type DiffIPWhitelist ¶
type DiffIPWhitelist struct { // The latest intermediate IPs. LatestIPWhitelist *IPWhitelist `json:"LatestIPWhitelist,omitnil" name:"LatestIPWhitelist"` // The intermediate IPs added to the existing list. AddedIPWhitelist *IPWhitelist `json:"AddedIPWhitelist,omitnil" name:"AddedIPWhitelist"` // The intermediate IPs removed from the existing list. RemovedIPWhitelist *IPWhitelist `json:"RemovedIPWhitelist,omitnil" name:"RemovedIPWhitelist"` // The intermediate IPs that remain unchanged. NoChangeIPWhitelist *IPWhitelist `json:"NoChangeIPWhitelist,omitnil" name:"NoChangeIPWhitelist"` }
type DnsVerification ¶
type DownloadL4LogsRequest ¶
type DownloadL4LogsRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // List of L4 proxy instance IDs. ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"` // Limit on paginated queries. Default value: 20. Maximum value: 300. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // The page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
func NewDownloadL4LogsRequest ¶
func NewDownloadL4LogsRequest() (request *DownloadL4LogsRequest)
func (*DownloadL4LogsRequest) FromJsonString ¶
func (r *DownloadL4LogsRequest) 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 (*DownloadL4LogsRequest) ToJsonString ¶
func (r *DownloadL4LogsRequest) ToJsonString() string
type DownloadL4LogsRequestParams ¶
type DownloadL4LogsRequestParams struct { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // List of L4 proxy instance IDs. ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"` // Limit on paginated queries. Default value: 20. Maximum value: 300. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // The page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
Predefined struct for user
type DownloadL4LogsResponse ¶
type DownloadL4LogsResponse struct { *tchttp.BaseResponse Response *DownloadL4LogsResponseParams `json:"Response"` }
func NewDownloadL4LogsResponse ¶
func NewDownloadL4LogsResponse() (response *DownloadL4LogsResponse)
func (*DownloadL4LogsResponse) FromJsonString ¶
func (r *DownloadL4LogsResponse) 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 (*DownloadL4LogsResponse) ToJsonString ¶
func (r *DownloadL4LogsResponse) ToJsonString() string
type DownloadL4LogsResponseParams ¶
type DownloadL4LogsResponseParams struct { // Total number of query results. TotalCount *uint64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of L4 logs. Data []*L4OfflineLog `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DownloadL7LogsRequest ¶
type DownloadL7LogsRequest struct { *tchttp.BaseRequest // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // List of subdomain names to be queried. All subdomain names will be selected if this field is not specified. Domains []*string `json:"Domains,omitnil" name:"Domains"` // Limit on paginated queries. Default value: 20. Maximum value: 300. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // The page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
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 { // The start time. StartTime *string `json:"StartTime,omitnil" name:"StartTime"` // The end time. EndTime *string `json:"EndTime,omitnil" name:"EndTime"` // ZoneId set. This parameter is required. ZoneIds []*string `json:"ZoneIds,omitnil" name:"ZoneIds"` // List of subdomain names to be queried. All subdomain names will be selected if this field is not specified. Domains []*string `json:"Domains,omitnil" name:"Domains"` // Limit on paginated queries. Default value: 20. Maximum value: 300. Limit *int64 `json:"Limit,omitnil" name:"Limit"` // The page offset. Default value: 0. Offset *int64 `json:"Offset,omitnil" name:"Offset"` }
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 { // Total number of query results. TotalCount *int64 `json:"TotalCount,omitnil" name:"TotalCount"` // List of L7 logs. Data []*L7OfflineLog `json:"Data,omitnil" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type DropPageConfig ¶
type DropPageConfig struct { // Whether to enable configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The settings of the block page that applies managed rules. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. WafDropPageDetail *DropPageDetail `json:"WafDropPageDetail,omitnil" name:"WafDropPageDetail"` // The settings of the block page that applies custom rules. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. AclDropPageDetail *DropPageDetail `json:"AclDropPageDetail,omitnil" name:"AclDropPageDetail"` }
type DropPageDetail ¶
type DropPageDetail struct { // The ID of the block page. Specify `0` to use the default block page. // (Disused) If 0 is passed, the default block page will be used. PageId *int64 `json:"PageId,omitnil" name:"PageId"` // The HTTP status code to trigger the block page. Range: 100-600, excluding 3xx codes. Code 566: Requests blocked by managed rules. Code 567: Requests blocked by web security rules (except managed rules). StatusCode *int64 `json:"StatusCode,omitnil" name:"StatusCode"` // The block page file or URL. Name *string `json:"Name,omitnil" name:"Name"` // Type of the block page. Values: // <li>`page`: Return the specified page.</li> Type *string `json:"Type,omitnil" name:"Type"` // ID of custom response. The ID can be obtained via the `DescribeCustomErrorPages` API. It's required when `Type=page`. CustomResponseId *string `json:"CustomResponseId,omitnil" name:"CustomResponseId"` }
type EntityStatus ¶
type EntityStatus struct { // Instance name. Only subdomain names are supported. Entity *string `json:"Entity,omitnil" name:"Entity"` // Instance configuration status. Values: // <li>`online`: Configuration has taken effect;</li><li>`fail`: Configuration failed;</li><li>`process`: Configuration is being delivered. </li> Status *string `json:"Status,omitnil" name:"Status"` // Message returned after the operation completed. Message *string `json:"Message,omitnil" name:"Message"` }
type ExceptConfig ¶
type ExceptConfig struct { // Whether to enable configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The settings of the exception rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. ExceptUserRules []*ExceptUserRule `json:"ExceptUserRules,omitnil" name:"ExceptUserRules"` }
type ExceptUserRule ¶
type ExceptUserRule struct { // The rule name. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // The rule action. It only supports the value `skip`, which indicates skipping all managed rules. Action *string `json:"Action,omitnil" name:"Action"` // The rule status. Values: // <li>`on`: Enabled</li> // <li>`off`: Disabled</li> RuleStatus *string `json:"RuleStatus,omitnil" name:"RuleStatus"` // The rule ID, which is automatically created and only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // The update time. If it is null, the current date and time is recorded. // Note: This field may return `null`, indicating that no valid value can be obtained. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // The matching condition. // Note: This field may return null, indicating that no valid values can be obtained. ExceptUserRuleConditions []*ExceptUserRuleCondition `json:"ExceptUserRuleConditions,omitnil" name:"ExceptUserRuleConditions"` // The scope to which the exception rule applies. // Note: This field may return null, indicating that no valid values can be obtained. ExceptUserRuleScope *ExceptUserRuleScope `json:"ExceptUserRuleScope,omitnil" name:"ExceptUserRuleScope"` // The rule priority. Value range: 0-100. If it is null, it defaults to 0. RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"` }
type ExceptUserRuleCondition ¶
type ExceptUserRuleCondition struct { // The field to match. Values: // <li>`host`: Request domain name</li> // <li>`sip`: Client IP</li> // <li>`ua`: User-Agent</li> // <li>`cookie`: Cookie</li> // <li>`cgi`: CGI script</li> // <li>`xff`: XFF header</li> // <li>`url`: Request URL</li> // <li>`accept`: Request content type</li> // <li>`method`: Request method</li> // <li>`header`: Request header</li> // <li>`sip_proto`: Network layer protocol</li> MatchFrom *string `json:"MatchFrom,omitnil" name:"MatchFrom"` // The parameter of the field. Only when `MatchFrom = header`, the key contained in the header can be passed. MatchParam *string `json:"MatchParam,omitnil" name:"MatchParam"` // The logical operator. Values: // <li>`equal`: String equals</li> // <li>`not_equal`: Value not equals</li> // <li>`include`: String contains</li> // <li>`not_include`: String not contains</li> // <li>`match`: IP matches</li> // <li>`not_match`: IP not matches</li> // <li>`include_area`: Regions contain</li> // <li>`is_empty`: Value left empty</li> // <li>`not_exists`: Key fields not exist</li> // <li>`regexp`: Regex matches</li> // <li>`len_gt`: Value greater than</li> // <li>`len_lt`: Value smaller than</li> // <li>`len_eq`: Value equals</li> // <li>`match_prefix`: Prefix matches</li> // <li>`match_suffix`: Suffix matches</li> // <li>`wildcard`: Wildcard</li> Operator *string `json:"Operator,omitnil" name:"Operator"` // The value of the parameter. MatchContent *string `json:"MatchContent,omitnil" name:"MatchContent"` }
type ExceptUserRuleScope ¶
type ExceptUserRuleScope struct { // Exception mode. Values: // <li>`complete`: Skip the exception rule for full requests.</li> // <li>`partial`: Skip the exception rule for partial requests.</li> Type *string `json:"Type,omitnil" name:"Type"` // The module to be activated. Values: // <li>`waf`: Tencent Cloud-managed rules</li> // <li>`rate`: Rate limiting rules</li> // <li>`acl`: Custom rule</li> // <li>`cc`: CC attack defense</li> // <li>`bot`: Bot protection</li> // Note: this field may return `null`, indicating that no valid value is obtained. Modules []*string `json:"Modules,omitnil" name:"Modules"` // Module settings of the exception rule. If it is null, the settings that were last configured will be used. // Note: This field may return `null`, indicating that no valid value can be obtained. PartialModules []*PartialModule `json:"PartialModules,omitnil" name:"PartialModules"` // Condition settings of the exception rule. If it is null, the settings that were last configured will be used. // Note: This field may return `null`, indicating that no valid value can be obtained. SkipConditions []*SkipCondition `json:"SkipConditions,omitnil" name:"SkipConditions"` }
type FailReason ¶
type FileAscriptionInfo ¶
type FileVerification ¶
type FileVerification struct { // EdgeOne obtains the file verification information in the format of "Scheme + Host + URL Path", (e.g. https://www.example.com/.well-known/teo-verification/z12h416twn.txt). This field is the URL path section of the URL you need to create. Path *string `json:"Path,omitnil" name:"Path"` // Content of the verification file. The contents of this field need to be filled into the text file returned by `Path`. Content *string `json:"Content,omitnil" name:"Content"` }
type FirstPartConfig ¶
type FirstPartConfig struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitnil" name:"Switch"` // The transfer period threshold of the first 8 KB. If the threshold is reached, it’s considered a slow attack. Default: `5`. // Note: This field may return `null`, indicating that no valid value can be obtained. StatTime *uint64 `json:"StatTime,omitnil" name:"StatTime"` }
type FollowOrigin ¶
type FollowOrigin struct { // Whether to enable the configuration of following the origin server. Valid values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Sets the default cache time when the origin server does not return the Cache-Control header. // Note: This field may return `null`, indicating that no valid value can be obtained. DefaultCacheTime *int64 `json:"DefaultCacheTime,omitnil" name:"DefaultCacheTime"` // Specifies whether to enable cache when the origin server does not return the Cache-Control header. // Note: This field may return `null`, indicating that no valid value can be obtained. DefaultCache *string `json:"DefaultCache,omitnil" name:"DefaultCache"` // Specifies whether to use the default caching policy when Cache-Control is not returned from the origin // Note: This field may return `null`, indicating that no valid value can be obtained. DefaultCacheStrategy *string `json:"DefaultCacheStrategy,omitnil" name:"DefaultCacheStrategy"` }
type ForceRedirect ¶
type ForceRedirect struct { // Whether to enable force HTTPS redirect. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Redirect status code. Values: // <li>`301`: 301 redirect</li> // <li>`302`: 302 redirect</li> // Note: This field may return null, indicating that no valid values can be obtained. RedirectStatusCode *int64 `json:"RedirectStatusCode,omitnil" name:"RedirectStatusCode"` }
type Grpc ¶
type Grpc struct { // Whether to enable gRPC support. Valid values: // <li>`on`: Enable;</li> // <li>`off`: Disable.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type Hsts ¶
type Hsts struct { // Whether to enable the configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // MaxAge (in seconds). The maximum value is 1 day. // Note: This field may return `null`, indicating that no valid values can be obtained. MaxAge *int64 `json:"MaxAge,omitnil" name:"MaxAge"` // Whether to contain subdomain names. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return null, indicating that no valid values can be obtained. IncludeSubDomains *string `json:"IncludeSubDomains,omitnil" name:"IncludeSubDomains"` // Whether to enable preloading. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return null, indicating that no valid values can be obtained. Preload *string `json:"Preload,omitnil" name:"Preload"` }
type Https ¶
type Https struct { // Whether to enable HTTP2. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return null, indicating that no valid values can be obtained. Http2 *string `json:"Http2,omitnil" name:"Http2"` // Whether to enable OCSP. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return null, indicating that no valid values can be obtained. OcspStapling *string `json:"OcspStapling,omitnil" name:"OcspStapling"` // TLS version. Valid values: // <li>`TLSv1`: TLSv1 version;</li> // <li>`TLSV1.1`: TLSv1.1 version;</li> // <li>`TLSV1.2`: TLSv1.2 version;</li> // <li>`TLSv1.3`: TLSv1.3 version.</li>Only consecutive versions can be enabled at the same time. // Note: This field may return `null`, indicating that no valid values can be obtained. TlsVersion []*string `json:"TlsVersion,omitnil" name:"TlsVersion"` // HSTS Configuration // Note: This field may return null, indicating that no valid values can be obtained. Hsts *Hsts `json:"Hsts,omitnil" name:"Hsts"` // The certificate configuration. // Note: This field may return null, indicating that no valid values can be obtained. CertInfo []*ServerCertInfo `json:"CertInfo,omitnil" name:"CertInfo"` // Whether the certificate is managed by EdgeOne. Values: // <li>`apply`: Managed by EdgeOne.</li> // <li>`none`: Not managed by EdgeOne.</li>If it is left empty, the default value `none` is used. // Note: This field may return `null`, indicating that no valid value can be obtained. ApplyType *string `json:"ApplyType,omitnil" name:"ApplyType"` // Cipher suite. Values: // <li>`loose-v2023`: Offer the highest compatibility but relatively lower security. It supports TLS 1.0-1.3.</li> // <li>`general-v2023`: Keep a balance between the compatibility and security. It supports TLS 1.2-1.3.</li> // <li>`strict-v2023`: Provides high security, disabling all insecure cipher suites. It supports TLS 1.2-1.3. // Note: This field may return `null`, indicating that no valid value can be obtained. CipherSuite *string `json:"CipherSuite,omitnil" name:"CipherSuite"` }
type IPWhitelist ¶
type Identification ¶
type Identification struct { // The site name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // The subdomain name to be verified. To verify the ownership of a site, leave it blank. // Note: This field may return `null`, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitnil" name:"Domain"` // The verification status. Values: // <li>`pending`: The verification is ongoing.</li> // <li>`finished`: The verification completed.</li> Status *string `json:"Status,omitnil" name:"Status"` // Details of the DNS record. Ascription *AscriptionInfo `json:"Ascription,omitnil" name:"Ascription"` // The NS record of the domain name. // Note: This field may return null, indicating that no valid values can be obtained. OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"` // Details of the verification file. FileAscription *FileAscriptionInfo `json:"FileAscription,omitnil" name:"FileAscription"` }
type IdentifyZoneRequest ¶
type IdentifyZoneRequest struct { *tchttp.BaseRequest // The site name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // A subdomain name under the site. Specify this field if you want to verify the ownership of a subdomain name. Otherwise you can leave it blank. Domain *string `json:"Domain,omitnil" name:"Domain"` }
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 { // The site name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // A subdomain name under the site. Specify this field if you want to verify the ownership of a subdomain name. Otherwise you can leave it blank. Domain *string `json:"Domain,omitnil" name:"Domain"` }
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 { // Details of the DNS record. Ascription *AscriptionInfo `json:"Ascription,omitnil" name:"Ascription"` // Details of the verification file. FileAscription *FileAscriptionInfo `json:"FileAscription,omitnil" name:"FileAscription"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ImageOptimize ¶
type ImageOptimize struct { // Whether to enable configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type IntelligenceRule ¶
type IntelligenceRule struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitnil" name:"Switch"` // Items in a bot intelligence rule // Note: This field may return null, indicating that no valid values can be obtained. IntelligenceRuleItems []*IntelligenceRuleItem `json:"IntelligenceRuleItems,omitnil" name:"IntelligenceRuleItems"` }
type IntelligenceRuleItem ¶
type IntelligenceRuleItem struct { // The tag to categorize bots. Values: // <li>`evil_bot`: Malicious bot</li> // <li>`suspect_bot`: Suspected bot</li> // <li>`good_bot`: Good bot</li> // <li>`normal`: Normal request</li> Label *string `json:"Label,omitnil" name:"Label"` // The action taken on bots. Values // <li>`drop`: Block</li> // <li>`trans`: Allow</li> // <li>`alg`: JavaScript challenge</li> // <li>`captcha`: Managed challenge</li> // <li>`monitor`: Observe</li> Action *string `json:"Action,omitnil" name:"Action"` }
type IpTableConfig ¶
type IpTableConfig struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitnil" name:"Switch"` // The settings of the basic access control rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. IpTableRules []*IpTableRule `json:"IpTableRules,omitnil" name:"IpTableRules"` }
type IpTableRule ¶
type IpTableRule struct { // The action. Values: // <li>`drop`: Block</li> // <li>`trans`: Allow</li> // <li>`monitor`: Observe</li> Action *string `json:"Action,omitnil" name:"Action"` // The matching dimension. Values: // <li>`ip`: Match by IP.</li> // <li>`area`: Match by IP region.</li> MatchFrom *string `json:"MatchFrom,omitnil" name:"MatchFrom"` // Matching method. It defaults to `equal` if it’s left empty. // Values: // <li>`is_empty`: The field is empty.</li> // <li>`not_exists`: The configuration item does not exist.</li> // <li>`include`: Include</li> // <li>`not_include`: Do not include</li> // <li>`equal`: Equal to</li> // <li>`not_equal`: Not equal to</li> // Note: This field may return null, indicating that no valid values can be obtained. Operator *string `json:"Operator,omitnil" name:"Operator"` // The rule ID, which is only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // The update time, which is only used as an output parameter. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // The rule status. A null value indicates that the rule is enabled. Values: // <li>`on`: Enabled</li> // <li>`off`: Disabled</li> // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitnil" name:"Status"` // The rule name. // Note: This field may return null, indicating that no valid values can be obtained. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Matching content. It’s not required when `Operator` is `is_emty` or `not_exists`. MatchContent *string `json:"MatchContent,omitnil" name:"MatchContent"` }
type Ipv6 ¶
type Ipv6 struct { // Whether to enable IPv6 access. Valid values: // <li>`on`: Enable;</li> // <li>`off`: Disable.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type L4OfflineLog ¶
type L4OfflineLog struct { // L4 proxy instance ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // Log query area. Valid values: // <li>`mainland`: Chinese mainland;</li> // <li>`overseas`: Global (outside the Chinese mainland). </li> Area *string `json:"Area,omitnil" name:"Area"` // Log packet name. LogPacketName *string `json:"LogPacketName,omitnil" name:"LogPacketName"` // Log download address. Url *string `json:"Url,omitnil" name:"Url"` // (Disused) Log packaging time. LogTime *int64 `json:"LogTime,omitnil" name:"LogTime"` // Start time of log packaging. LogStartTime *string `json:"LogStartTime,omitnil" name:"LogStartTime"` // End time of the log package. LogEndTime *string `json:"LogEndTime,omitnil" name:"LogEndTime"` // Log size (in bytes). Size *int64 `json:"Size,omitnil" name:"Size"` }
type L7OfflineLog ¶
type L7OfflineLog struct { // Log domain name. Domain *string `json:"Domain,omitnil" name:"Domain"` // Log query area. Valid values: // <li>`mainland`: Chinese mainland;</li> // <li>`overseas`: Global (outside the Chinese mainland). </li> Area *string `json:"Area,omitnil" name:"Area"` // Log packet name. LogPacketName *string `json:"LogPacketName,omitnil" name:"LogPacketName"` // Log download address. Url *string `json:"Url,omitnil" name:"Url"` // (Disused) Log packaging time. LogTime *int64 `json:"LogTime,omitnil" name:"LogTime"` // Start time of log packaging. LogStartTime *string `json:"LogStartTime,omitnil" name:"LogStartTime"` // End time of the log package. LogEndTime *string `json:"LogEndTime,omitnil" name:"LogEndTime"` // Original log size (in bytes). Size *int64 `json:"Size,omitnil" name:"Size"` }
type MaxAge ¶
type MaxAge struct { // Whether to follow the origin server. Values: // <li>`on`: Follow the origin server and ignore the field MaxAgeTime;</li> // <li>`off`: Do not follow the origin server and apply the field MaxAgeTime.</li> FollowOrigin *string `json:"FollowOrigin,omitnil" name:"FollowOrigin"` // Specifies the maximum amount of time (in seconds). The maximum value is 365 days. // Note: The value `0` means not to cache. MaxAgeTime *int64 `json:"MaxAgeTime,omitnil" name:"MaxAgeTime"` }
type ModifyAccelerationDomainRequest ¶
type ModifyAccelerationDomainRequest struct { *tchttp.BaseRequest // ID of the site related with the accelerated domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Accelerated domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Details of the origin. OriginInfo *OriginInfo `json:"OriginInfo,omitnil" name:"OriginInfo"` // Origin-pull protocol configuration. Values: // <li>`FOLLOW`: Follow the protocol of origin</li> // <li>`HTTP`: Send requests to the origin over HTTP</li> // <li>`HTTPS`: Send requests to the origin over HTTPS</li> // <li>The original configuration applies if this field is not specified.</li> OriginProtocol *string `json:"OriginProtocol,omitnil" name:"OriginProtocol"` // Ports for HTTP origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTP`. The original configuration is used if it's not specified. HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil" name:"HttpOriginPort"` // Ports for HTTPS origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTPS`. The original configuration is used if it's not specified. HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil" name:"HttpsOriginPort"` // IPv6 status. Values: // <li>`follow`: Follow the IPv6 configuration of the site</li> // <li>`on`: Enable</li> // <li>`off`: Disable</li> // <li>The original configuration applies if this field is not specified.</li> IPv6Status *string `json:"IPv6Status,omitnil" name:"IPv6Status"` }
func NewModifyAccelerationDomainRequest ¶
func NewModifyAccelerationDomainRequest() (request *ModifyAccelerationDomainRequest)
func (*ModifyAccelerationDomainRequest) FromJsonString ¶
func (r *ModifyAccelerationDomainRequest) 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 (*ModifyAccelerationDomainRequest) ToJsonString ¶
func (r *ModifyAccelerationDomainRequest) ToJsonString() string
type ModifyAccelerationDomainRequestParams ¶
type ModifyAccelerationDomainRequestParams struct { // ID of the site related with the accelerated domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Accelerated domain name DomainName *string `json:"DomainName,omitnil" name:"DomainName"` // Details of the origin. OriginInfo *OriginInfo `json:"OriginInfo,omitnil" name:"OriginInfo"` // Origin-pull protocol configuration. Values: // <li>`FOLLOW`: Follow the protocol of origin</li> // <li>`HTTP`: Send requests to the origin over HTTP</li> // <li>`HTTPS`: Send requests to the origin over HTTPS</li> // <li>The original configuration applies if this field is not specified.</li> OriginProtocol *string `json:"OriginProtocol,omitnil" name:"OriginProtocol"` // Ports for HTTP origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTP`. The original configuration is used if it's not specified. HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil" name:"HttpOriginPort"` // Ports for HTTPS origin-pull requests. Range: 1-65535. It takes effect when `OriginProtocol=FOLLOW/HTTPS`. The original configuration is used if it's not specified. HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil" name:"HttpsOriginPort"` // IPv6 status. Values: // <li>`follow`: Follow the IPv6 configuration of the site</li> // <li>`on`: Enable</li> // <li>`off`: Disable</li> // <li>The original configuration applies if this field is not specified.</li> IPv6Status *string `json:"IPv6Status,omitnil" name:"IPv6Status"` }
Predefined struct for user
type ModifyAccelerationDomainResponse ¶
type ModifyAccelerationDomainResponse struct { *tchttp.BaseResponse Response *ModifyAccelerationDomainResponseParams `json:"Response"` }
func NewModifyAccelerationDomainResponse ¶
func NewModifyAccelerationDomainResponse() (response *ModifyAccelerationDomainResponse)
func (*ModifyAccelerationDomainResponse) FromJsonString ¶
func (r *ModifyAccelerationDomainResponse) 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 (*ModifyAccelerationDomainResponse) ToJsonString ¶
func (r *ModifyAccelerationDomainResponse) ToJsonString() string
type ModifyAccelerationDomainResponseParams ¶
type ModifyAccelerationDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAccelerationDomainStatusesRequest ¶
type ModifyAccelerationDomainStatusesRequest struct { *tchttp.BaseRequest // ID of the site related with the accelerated domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of accelerated domain names to be modified. DomainNames []*string `json:"DomainNames,omitnil" name:"DomainNames"` // Status of the accelerated domain name. Values: // <li>`online`: Enabled</li> // <li>`offline`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // Whether to force suspension when the domain name has associated resources (such as alias domain names and traffic scheduling policies). Values: // <li>`true`: Suspend the domain name and all associated resources.</li> // <li>`true`: Do not suspend the domain name and all associated resources.</li>Default value: `false`. Force *bool `json:"Force,omitnil" name:"Force"` }
func NewModifyAccelerationDomainStatusesRequest ¶
func NewModifyAccelerationDomainStatusesRequest() (request *ModifyAccelerationDomainStatusesRequest)
func (*ModifyAccelerationDomainStatusesRequest) FromJsonString ¶
func (r *ModifyAccelerationDomainStatusesRequest) 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 (*ModifyAccelerationDomainStatusesRequest) ToJsonString ¶
func (r *ModifyAccelerationDomainStatusesRequest) ToJsonString() string
type ModifyAccelerationDomainStatusesRequestParams ¶
type ModifyAccelerationDomainStatusesRequestParams struct { // ID of the site related with the accelerated domain name. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of accelerated domain names to be modified. DomainNames []*string `json:"DomainNames,omitnil" name:"DomainNames"` // Status of the accelerated domain name. Values: // <li>`online`: Enabled</li> // <li>`offline`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // Whether to force suspension when the domain name has associated resources (such as alias domain names and traffic scheduling policies). Values: // <li>`true`: Suspend the domain name and all associated resources.</li> // <li>`true`: Do not suspend the domain name and all associated resources.</li>Default value: `false`. Force *bool `json:"Force,omitnil" name:"Force"` }
Predefined struct for user
type ModifyAccelerationDomainStatusesResponse ¶
type ModifyAccelerationDomainStatusesResponse struct { *tchttp.BaseResponse Response *ModifyAccelerationDomainStatusesResponseParams `json:"Response"` }
func NewModifyAccelerationDomainStatusesResponse ¶
func NewModifyAccelerationDomainStatusesResponse() (response *ModifyAccelerationDomainStatusesResponse)
func (*ModifyAccelerationDomainStatusesResponse) FromJsonString ¶
func (r *ModifyAccelerationDomainStatusesResponse) 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 (*ModifyAccelerationDomainStatusesResponse) ToJsonString ¶
func (r *ModifyAccelerationDomainStatusesResponse) ToJsonString() string
type ModifyAccelerationDomainStatusesResponseParams ¶
type ModifyAccelerationDomainStatusesResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAliasDomainRequest ¶
type ModifyAliasDomainRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The alias domain name. AliasName *string `json:"AliasName,omitnil" name:"AliasName"` // The target domain name. TargetName *string `json:"TargetName,omitnil" name:"TargetName"` // Certificate configuration. Values: // <li>`none`: Off</li> // <li>`hosting`: Managed SSL certificate</li> // <li>`apply`: Free certificate</li>The original configuration will apply if this field is not specified. CertType *string `json:"CertType,omitnil" name:"CertType"` // The certificate ID. This field is required when `CertType=hosting`. CertId []*string `json:"CertId,omitnil" name:"CertId"` }
func NewModifyAliasDomainRequest ¶
func NewModifyAliasDomainRequest() (request *ModifyAliasDomainRequest)
func (*ModifyAliasDomainRequest) FromJsonString ¶
func (r *ModifyAliasDomainRequest) 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 (*ModifyAliasDomainRequest) ToJsonString ¶
func (r *ModifyAliasDomainRequest) ToJsonString() string
type ModifyAliasDomainRequestParams ¶
type ModifyAliasDomainRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The alias domain name. AliasName *string `json:"AliasName,omitnil" name:"AliasName"` // The target domain name. TargetName *string `json:"TargetName,omitnil" name:"TargetName"` // Certificate configuration. Values: // <li>`none`: Off</li> // <li>`hosting`: Managed SSL certificate</li> // <li>`apply`: Free certificate</li>The original configuration will apply if this field is not specified. CertType *string `json:"CertType,omitnil" name:"CertType"` // The certificate ID. This field is required when `CertType=hosting`. CertId []*string `json:"CertId,omitnil" name:"CertId"` }
Predefined struct for user
type ModifyAliasDomainResponse ¶
type ModifyAliasDomainResponse struct { *tchttp.BaseResponse Response *ModifyAliasDomainResponseParams `json:"Response"` }
func NewModifyAliasDomainResponse ¶
func NewModifyAliasDomainResponse() (response *ModifyAliasDomainResponse)
func (*ModifyAliasDomainResponse) FromJsonString ¶
func (r *ModifyAliasDomainResponse) 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 (*ModifyAliasDomainResponse) ToJsonString ¶
func (r *ModifyAliasDomainResponse) ToJsonString() string
type ModifyAliasDomainResponseParams ¶
type ModifyAliasDomainResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyAliasDomainStatusRequest ¶
type ModifyAliasDomainStatusRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Status of the alias domain name. Values: // <li>`false`: Enable the alias domain name.</li> // <li>`true`: Disable the alias domain name.</li> Paused *bool `json:"Paused,omitnil" name:"Paused"` // The alias domain name you want to modify its status. If it is left empty, the modify operation is not performed. AliasNames []*string `json:"AliasNames,omitnil" name:"AliasNames"` }
func NewModifyAliasDomainStatusRequest ¶
func NewModifyAliasDomainStatusRequest() (request *ModifyAliasDomainStatusRequest)
func (*ModifyAliasDomainStatusRequest) FromJsonString ¶
func (r *ModifyAliasDomainStatusRequest) 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 (*ModifyAliasDomainStatusRequest) ToJsonString ¶
func (r *ModifyAliasDomainStatusRequest) ToJsonString() string
type ModifyAliasDomainStatusRequestParams ¶
type ModifyAliasDomainStatusRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Status of the alias domain name. Values: // <li>`false`: Enable the alias domain name.</li> // <li>`true`: Disable the alias domain name.</li> Paused *bool `json:"Paused,omitnil" name:"Paused"` // The alias domain name you want to modify its status. If it is left empty, the modify operation is not performed. AliasNames []*string `json:"AliasNames,omitnil" name:"AliasNames"` }
Predefined struct for user
type ModifyAliasDomainStatusResponse ¶
type ModifyAliasDomainStatusResponse struct { *tchttp.BaseResponse Response *ModifyAliasDomainStatusResponseParams `json:"Response"` }
func NewModifyAliasDomainStatusResponse ¶
func NewModifyAliasDomainStatusResponse() (response *ModifyAliasDomainStatusResponse)
func (*ModifyAliasDomainStatusResponse) FromJsonString ¶
func (r *ModifyAliasDomainStatusResponse) 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 (*ModifyAliasDomainStatusResponse) ToJsonString ¶
func (r *ModifyAliasDomainStatusResponse) ToJsonString() string
type ModifyAliasDomainStatusResponseParams ¶
type ModifyAliasDomainStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRequest ¶
type ModifyApplicationProxyRequest struct { *tchttp.BaseRequest // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // Domain name or subdomain name when `ProxyType=hostname`; // Instance name when `ProxyType=instance`. ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"` // The session persistence duration. Value range: 30-3600 (in seconds). // The original configuration will apply if this field is not specified. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The proxy type. Values: // <li>`hostname`: The proxy is created by subdomain name.</li> // <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`. ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"` // IPv6 access configuration. The original configuration will apply if it is not specified. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // Cross-MLC-border acceleration. The original configuration will apply if it is not specified. AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil" name:"AccelerateMainland"` }
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,omitnil" name:"ZoneId"` // Proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // Domain name or subdomain name when `ProxyType=hostname`; // Instance name when `ProxyType=instance`. ProxyName *string `json:"ProxyName,omitnil" name:"ProxyName"` // The session persistence duration. Value range: 30-3600 (in seconds). // The original configuration will apply if this field is not specified. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The proxy type. Values: // <li>`hostname`: The proxy is created by subdomain name.</li> // <li>`instance`: The proxy is created by instance.</li>If not specified, this field uses the default value `instance`. ProxyType *string `json:"ProxyType,omitnil" name:"ProxyType"` // IPv6 access configuration. The original configuration will apply if it is not specified. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // Cross-MLC-border acceleration. The original configuration will apply if it is not specified. AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil" name:"AccelerateMainland"` }
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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRuleRequest ¶
type ModifyApplicationProxyRuleRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The origin type. Values: // <li>`custom`: Specified origins</li> // <li>`origins`: Origin group</li></li>The original configuration will apply if this field is not specified. OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // The access port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-90</li> Port []*string `json:"Port,omitnil" name:"Port"` // The protocol. Values: // <li>`TCP`: TCP protocol</li> // <li>`UDP`: UDP protocol</li>The original configuration will apply if this field is not specified. Proto *string `json:"Proto,omitnil" name:"Proto"` // Origin server information: // <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li> // <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li> // // The original configuration will apply if this field is not specified. OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"` // Passes the client IP. Values: // <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li> // <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li> // <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li> // <li>`OFF`: Not pass the client IP.</li>If not specified, this field uses the default value OFF. ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"` // Whether to enable session persistence. Values: // <li>`true`: Enable</li> // <li>`false`: Disable</li>If it is left empty, the default value `false` is used. SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"` // Duration for the persistent session. The value takes effect only when `SessionPersist = true`. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The origin port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-82</li> OriginPort *string `json:"OriginPort,omitnil" name:"OriginPort"` // Rule tag. The original configuration will apply if it is not specified. RuleTag *string `json:"RuleTag,omitnil" name:"RuleTag"` }
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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The origin type. Values: // <li>`custom`: Specified origins</li> // <li>`origins`: Origin group</li></li>The original configuration will apply if this field is not specified. OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // The access port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-90</li> Port []*string `json:"Port,omitnil" name:"Port"` // The protocol. Values: // <li>`TCP`: TCP protocol</li> // <li>`UDP`: UDP protocol</li>The original configuration will apply if this field is not specified. Proto *string `json:"Proto,omitnil" name:"Proto"` // Origin server information: // <li>When `OriginType=custom`, it indicates one or more origin servers, such as ["8.8.8.8","9.9.9.9"] or ["test.com"].</li> // <li>When `OriginType=origins`, it indicates an origin group ID, such as ["origin-537f5b41-162a-11ed-abaa-525400c5da15"].</li> // // The original configuration will apply if this field is not specified. OriginValue []*string `json:"OriginValue,omitnil" name:"OriginValue"` // Passes the client IP. Values: // <li>`TOA`: Pass the client IP via TOA (available only when `Proto=TCP`).</li> // <li>`PPV1`: Pass the client IP via Proxy Protocol V1 (available only when `Proto=TCP`).</li> // <li>`PPV2`: Pass the client IP via Proxy Protocol V2.</li> // <li>`OFF`: Not pass the client IP.</li>If not specified, this field uses the default value OFF. ForwardClientIp *string `json:"ForwardClientIp,omitnil" name:"ForwardClientIp"` // Whether to enable session persistence. Values: // <li>`true`: Enable</li> // <li>`false`: Disable</li>If it is left empty, the default value `false` is used. SessionPersist *bool `json:"SessionPersist,omitnil" name:"SessionPersist"` // Duration for the persistent session. The value takes effect only when `SessionPersist = true`. SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil" name:"SessionPersistTime"` // The origin port, which can be: // <li>A single port, such as 80</li> // <li>A port range, such as 81-82</li> OriginPort *string `json:"OriginPort,omitnil" name:"OriginPort"` // Rule tag. The original configuration will apply if it is not specified. RuleTag *string `json:"RuleTag,omitnil" name:"RuleTag"` }
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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRuleStatusRequest ¶
type ModifyApplicationProxyRuleStatusRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The rule status. Values: // <li>`offline`: Disabled</li> // <li>`online`: Enabled</li> Status *string `json:"Status,omitnil" name:"Status"` }
func NewModifyApplicationProxyRuleStatusRequest ¶
func NewModifyApplicationProxyRuleStatusRequest() (request *ModifyApplicationProxyRuleStatusRequest)
func (*ModifyApplicationProxyRuleStatusRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRuleStatusRequest) 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 (*ModifyApplicationProxyRuleStatusRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRuleStatusRequest) ToJsonString() string
type ModifyApplicationProxyRuleStatusRequestParams ¶
type ModifyApplicationProxyRuleStatusRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The rule status. Values: // <li>`offline`: Disabled</li> // <li>`online`: Enabled</li> Status *string `json:"Status,omitnil" 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 ¶
func (r *ModifyApplicationProxyRuleStatusResponse) 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 (*ModifyApplicationProxyRuleStatusResponse) ToJsonString ¶
func (r *ModifyApplicationProxyRuleStatusResponse) ToJsonString() string
type ModifyApplicationProxyRuleStatusResponseParams ¶
type ModifyApplicationProxyRuleStatusResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyStatusRequest ¶
type ModifyApplicationProxyStatusRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The proxy status. Values: // <li>`offline`: The proxy is disabled.</li> // <li>`online`: The proxy is enabled.</li> Status *string `json:"Status,omitnil" 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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The proxy ID. ProxyId *string `json:"ProxyId,omitnil" name:"ProxyId"` // The proxy status. Values: // <li>`offline`: The proxy is disabled.</li> // <li>`online`: The proxy is enabled.</li> Status *string `json:"Status,omitnil" 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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyHostsCertificateRequest ¶
type ModifyHostsCertificateRequest struct { *tchttp.BaseRequest // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Domain names that you need to modify the certificate configuration Hosts []*string `json:"Hosts,omitnil" name:"Hosts"` // Certificate configuration mode. Values: // <li>`disable`: (Default) Do not configure the certificate</li> // <li>`eofreecert`: Use a free certificate provided by EdgeOne</li> // <li>`sslcert`: Configure an SSL certificate.</li> Mode *string `json:"Mode,omitnil" name:"Mode"` // ID of the SSL certificate. It takes effect when `mode=sslcert`. To check the certificate ID, go to the [SSL Certificate](https://console.cloud.tencent.com/certoview) console. ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitnil" name:"ServerCertInfo"` // Whether the certificate is managed by EdgeOne. Values: // <li>`none`: Not managed by EdgeOne</li> // <li>`apply`: Managed by EdgeOne</li> // Default value: `none`. ApplyType *string `json:"ApplyType,omitnil" name:"ApplyType"` }
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,omitnil" name:"ZoneId"` // Domain names that you need to modify the certificate configuration Hosts []*string `json:"Hosts,omitnil" name:"Hosts"` // Certificate configuration mode. Values: // <li>`disable`: (Default) Do not configure the certificate</li> // <li>`eofreecert`: Use a free certificate provided by EdgeOne</li> // <li>`sslcert`: Configure an SSL certificate.</li> Mode *string `json:"Mode,omitnil" name:"Mode"` // ID of the SSL certificate. It takes effect when `mode=sslcert`. To check the certificate ID, go to the [SSL Certificate](https://console.cloud.tencent.com/certoview) console. ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitnil" name:"ServerCertInfo"` // Whether the certificate is managed by EdgeOne. Values: // <li>`none`: Not managed by EdgeOne</li> // <li>`apply`: Managed by EdgeOne</li> // Default value: `none`. // // Deprecated: ApplyType is deprecated. ApplyType *string `json:"ApplyType,omitnil" name:"ApplyType"` }
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,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyOriginGroupRequest ¶
type ModifyOriginGroupRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // (Required) Origin group ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // Origin group name. It can contain 1 to 200 characters ([a-z], [A-Z], [0-9] and [_-]). The original configuration applies if this field is not specified. Name *string `json:"Name,omitnil" name:"Name"` // The origin grouptype. Values: // <li>`GENERAL`: General origin groups. It supports IPs and domain names. It can be referenced by DNS, Rule Engine, Layer 4 Proxy and General LoadBalancer.</li> // <li>`HTTP`: HTTP-specific origin groups. It supports IPs/domain names and object storage buckets. It can be referenced by acceleration domain names, rule engines and HTTP LoadBalancer. It cannot be referenced by L4 proxies. </li>The original configuration is used if it's not specified. Type *string `json:"Type,omitnil" name:"Type"` // Origin information. The original configuration is used if it's not specified. Records []*OriginRecord `json:"Records,omitnil" name:"Records"` // Host header used for origin-pull. It only works when `Type=HTTP`. If it's not specified, no specific Host header is configured. The `HostHeader` specified in `RuleEngine` takes a higher priority over this configuration. HostHeader *string `json:"HostHeader,omitnil" name:"HostHeader"` }
func NewModifyOriginGroupRequest ¶
func NewModifyOriginGroupRequest() (request *ModifyOriginGroupRequest)
func (*ModifyOriginGroupRequest) FromJsonString ¶
func (r *ModifyOriginGroupRequest) 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 (*ModifyOriginGroupRequest) ToJsonString ¶
func (r *ModifyOriginGroupRequest) ToJsonString() string
type ModifyOriginGroupRequestParams ¶
type ModifyOriginGroupRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // (Required) Origin group ID GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // Origin group name. It can contain 1 to 200 characters ([a-z], [A-Z], [0-9] and [_-]). The original configuration applies if this field is not specified. Name *string `json:"Name,omitnil" name:"Name"` // The origin grouptype. Values: // <li>`GENERAL`: General origin groups. It supports IPs and domain names. It can be referenced by DNS, Rule Engine, Layer 4 Proxy and General LoadBalancer.</li> // <li>`HTTP`: HTTP-specific origin groups. It supports IPs/domain names and object storage buckets. It can be referenced by acceleration domain names, rule engines and HTTP LoadBalancer. It cannot be referenced by L4 proxies. </li>The original configuration is used if it's not specified. Type *string `json:"Type,omitnil" name:"Type"` // Origin information. The original configuration is used if it's not specified. Records []*OriginRecord `json:"Records,omitnil" name:"Records"` // Host header used for origin-pull. It only works when `Type=HTTP`. If it's not specified, no specific Host header is configured. The `HostHeader` specified in `RuleEngine` takes a higher priority over this configuration. HostHeader *string `json:"HostHeader,omitnil" name:"HostHeader"` }
Predefined struct for user
type ModifyOriginGroupResponse ¶
type ModifyOriginGroupResponse struct { *tchttp.BaseResponse Response *ModifyOriginGroupResponseParams `json:"Response"` }
func NewModifyOriginGroupResponse ¶
func NewModifyOriginGroupResponse() (response *ModifyOriginGroupResponse)
func (*ModifyOriginGroupResponse) FromJsonString ¶
func (r *ModifyOriginGroupResponse) 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 (*ModifyOriginGroupResponse) ToJsonString ¶
func (r *ModifyOriginGroupResponse) ToJsonString() string
type ModifyOriginGroupResponseParams ¶
type ModifyOriginGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyRuleRequest ¶
type ModifyRuleRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The rule name. It is a string that can contain 1–255 characters. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // The rule content. Rules []*Rule `json:"Rules,omitnil" name:"Rules"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Rule status. Values: // <li>`enable`: Enabled</li> // <li>`disable`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // Tag of the rule. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
func NewModifyRuleRequest ¶
func NewModifyRuleRequest() (request *ModifyRuleRequest)
func (*ModifyRuleRequest) FromJsonString ¶
func (r *ModifyRuleRequest) 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 (*ModifyRuleRequest) ToJsonString ¶
func (r *ModifyRuleRequest) ToJsonString() string
type ModifyRuleRequestParams ¶
type ModifyRuleRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The rule name. It is a string that can contain 1–255 characters. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // The rule content. Rules []*Rule `json:"Rules,omitnil" name:"Rules"` // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // Rule status. Values: // <li>`enable`: Enabled</li> // <li>`disable`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // Tag of the rule. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
Predefined struct for user
type ModifyRuleResponse ¶
type ModifyRuleResponse struct { *tchttp.BaseResponse Response *ModifyRuleResponseParams `json:"Response"` }
func NewModifyRuleResponse ¶
func NewModifyRuleResponse() (response *ModifyRuleResponse)
func (*ModifyRuleResponse) FromJsonString ¶
func (r *ModifyRuleResponse) 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 (*ModifyRuleResponse) ToJsonString ¶
func (r *ModifyRuleResponse) ToJsonString() string
type ModifyRuleResponseParams ¶
type ModifyRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySecurityIPGroupRequest ¶
type ModifySecurityIPGroupRequest struct { *tchttp.BaseRequest // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IP group configuration. IPGroup *IPGroup `json:"IPGroup,omitnil" name:"IPGroup"` // Operation type. Valid values: // <li>`append`: Add information of `Content` to `IPGroup`;</li> // <li>`remove`: Delete information of `Content` from `IPGroup`;</li> // <li>`update`: Replace all information of `IPGroup` and modify the IPGroup name.</li> Mode *string `json:"Mode,omitnil" name:"Mode"` }
func NewModifySecurityIPGroupRequest ¶
func NewModifySecurityIPGroupRequest() (request *ModifySecurityIPGroupRequest)
func (*ModifySecurityIPGroupRequest) FromJsonString ¶
func (r *ModifySecurityIPGroupRequest) 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 (*ModifySecurityIPGroupRequest) ToJsonString ¶
func (r *ModifySecurityIPGroupRequest) ToJsonString() string
type ModifySecurityIPGroupRequestParams ¶
type ModifySecurityIPGroupRequestParams struct { // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // IP group configuration. IPGroup *IPGroup `json:"IPGroup,omitnil" name:"IPGroup"` // Operation type. Valid values: // <li>`append`: Add information of `Content` to `IPGroup`;</li> // <li>`remove`: Delete information of `Content` from `IPGroup`;</li> // <li>`update`: Replace all information of `IPGroup` and modify the IPGroup name.</li> Mode *string `json:"Mode,omitnil" name:"Mode"` }
Predefined struct for user
type ModifySecurityIPGroupResponse ¶
type ModifySecurityIPGroupResponse struct { *tchttp.BaseResponse Response *ModifySecurityIPGroupResponseParams `json:"Response"` }
func NewModifySecurityIPGroupResponse ¶
func NewModifySecurityIPGroupResponse() (response *ModifySecurityIPGroupResponse)
func (*ModifySecurityIPGroupResponse) FromJsonString ¶
func (r *ModifySecurityIPGroupResponse) 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 (*ModifySecurityIPGroupResponse) ToJsonString ¶
func (r *ModifySecurityIPGroupResponse) ToJsonString() string
type ModifySecurityIPGroupResponseParams ¶
type ModifySecurityIPGroupResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifySecurityPolicyRequest ¶
type ModifySecurityPolicyRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Security configuration. SecurityConfig *SecurityConfig `json:"SecurityConfig,omitnil" name:"SecurityConfig"` // The subdomain name/L4 proxy. You must specify either "Entity" or "TemplateId". Entity *string `json:"Entity,omitnil" name:"Entity"` // The template ID. You must specify either this field or "Entity". TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"` }
func NewModifySecurityPolicyRequest ¶
func NewModifySecurityPolicyRequest() (request *ModifySecurityPolicyRequest)
func (*ModifySecurityPolicyRequest) FromJsonString ¶
func (r *ModifySecurityPolicyRequest) 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 (*ModifySecurityPolicyRequest) ToJsonString ¶
func (r *ModifySecurityPolicyRequest) ToJsonString() string
type ModifySecurityPolicyRequestParams ¶
type ModifySecurityPolicyRequestParams struct { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Security configuration. SecurityConfig *SecurityConfig `json:"SecurityConfig,omitnil" name:"SecurityConfig"` // The subdomain name/L4 proxy. You must specify either "Entity" or "TemplateId". Entity *string `json:"Entity,omitnil" name:"Entity"` // The template ID. You must specify either this field or "Entity". TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"` }
Predefined struct for user
type ModifySecurityPolicyResponse ¶
type ModifySecurityPolicyResponse struct { *tchttp.BaseResponse Response *ModifySecurityPolicyResponseParams `json:"Response"` }
func NewModifySecurityPolicyResponse ¶
func NewModifySecurityPolicyResponse() (response *ModifySecurityPolicyResponse)
func (*ModifySecurityPolicyResponse) FromJsonString ¶
func (r *ModifySecurityPolicyResponse) 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 (*ModifySecurityPolicyResponse) ToJsonString ¶
func (r *ModifySecurityPolicyResponse) ToJsonString() string
type ModifySecurityPolicyResponseParams ¶
type ModifySecurityPolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyZoneRequest ¶
type ModifyZoneRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Access mode of the site. Values: // <li> `full`: Access through a name server.</li> // <li> `partial`: Access through a CNAME u200drecord. A site using domainless access can only switch to CNAME access. </li>The original configuration applies if this field is not specified. Type *string `json:"Type,omitnil" name:"Type"` // The custom name servers. The original configuration applies if this field is not specified. It is not allowed to pass this field when a site is connected without using a domain name. VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil" name:"VanityNameServers"` // The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_). AliasZoneName *string `json:"AliasZoneName,omitnil" name:"AliasZoneName"` // The region where the site requests access. Values: // <li> `global`: Global coverage</li> // <li> `mainland`: Chinese mainland</li> // <li> `overseas`: Outside the Chinese mainland </li>It is not allowed to pass this field when a site is connected without using a domain name. Area *string `json:"Area,omitnil" name:"Area"` // Name of the site. This field takes effect only when the site switches from domainless access to CNAME access. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` }
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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Access mode of the site. Values: // <li> `full`: Access through a name server.</li> // <li> `partial`: Access through a CNAME u200drecord. A site using domainless access can only switch to CNAME access. </li>The original configuration applies if this field is not specified. Type *string `json:"Type,omitnil" name:"Type"` // The custom name servers. The original configuration applies if this field is not specified. It is not allowed to pass this field when a site is connected without using a domain name. VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil" name:"VanityNameServers"` // The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_). AliasZoneName *string `json:"AliasZoneName,omitnil" name:"AliasZoneName"` // The region where the site requests access. Values: // <li> `global`: Global coverage</li> // <li> `mainland`: Chinese mainland</li> // <li> `overseas`: Outside the Chinese mainland </li>It is not allowed to pass this field when a site is connected without using a domain name. Area *string `json:"Area,omitnil" name:"Area"` // Name of the site. This field takes effect only when the site switches from domainless access to CNAME access. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` }
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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyZoneSettingRequest ¶
type ModifyZoneSettingRequest struct { *tchttp.BaseRequest // Site ID to modify. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Cache expiration time configuration // The original configuration will apply if this field is not specified. CacheConfig *CacheConfig `json:"CacheConfig,omitnil" name:"CacheConfig"` // The node cache key configuration. // The original configuration will apply if this field is not specified. CacheKey *CacheKey `json:"CacheKey,omitnil" name:"CacheKey"` // The browser cache configuration. // The original configuration will apply if this field is not specified. MaxAge *MaxAge `json:"MaxAge,omitnil" name:"MaxAge"` // The offline cache configuration. // The original configuration will apply if this field is not specified. OfflineCache *OfflineCache `json:"OfflineCache,omitnil" name:"OfflineCache"` // QUIC access configuration. // The original configuration will apply if it is not specified. Quic *Quic `json:"Quic,omitnil" name:"Quic"` // POST transport configuration. // The original configuration will apply if it is not specified. PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil" name:"PostMaxSize"` // The smart compression configuration. // The original configuration will apply if this field is not specified. Compression *Compression `json:"Compression,omitnil" name:"Compression"` // HTTP2 origin-pull configuration. // The original configuration will apply if it is not specified. UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil" name:"UpstreamHttp2"` // Force HTTPS redirect configuration. // The original configuration will apply if it is not specified. ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil" name:"ForceRedirect"` // HTTPS acceleration configuration. // The original configuration will apply if it is not specified. Https *Https `json:"Https,omitnil" name:"Https"` // The origin server configuration. // The original configuration will apply if this field is not specified. Origin *Origin `json:"Origin,omitnil" name:"Origin"` // The smart acceleration configuration. // The original configuration will apply if this field is not specified. SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"` // WebSocket configuration. // The original configuration will apply if it is not specified. WebSocket *WebSocket `json:"WebSocket,omitnil" name:"WebSocket"` // Origin-pull client IP header configuration. // The original configuration will apply if it is not specified. ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitnil" name:"ClientIpHeader"` // The cache prefresh configuration. // The original configuration will apply if this field is not specified. CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil" name:"CachePrefresh"` // Ipv6 access configuration. // The original configuration will apply if it is not specified. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // Whether to carry the location information of the client IP during origin-pull. // The original configuration will apply if it is not specified. ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil" name:"ClientIpCountry"` // Configuration of gRPC support. // The original configuration will apply if it is not specified. Grpc *Grpc `json:"Grpc,omitnil" name:"Grpc"` // Image optimization. // It is disabled if this parameter is not specified. ImageOptimize *ImageOptimize `json:"ImageOptimize,omitnil" name:"ImageOptimize"` // Standard debugging configuration. StandardDebug *StandardDebug `json:"StandardDebug,omitnil" name:"StandardDebug"` }
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 { // Site ID to modify. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // Cache expiration time configuration // The original configuration will apply if this field is not specified. CacheConfig *CacheConfig `json:"CacheConfig,omitnil" name:"CacheConfig"` // The node cache key configuration. // The original configuration will apply if this field is not specified. CacheKey *CacheKey `json:"CacheKey,omitnil" name:"CacheKey"` // The browser cache configuration. // The original configuration will apply if this field is not specified. MaxAge *MaxAge `json:"MaxAge,omitnil" name:"MaxAge"` // The offline cache configuration. // The original configuration will apply if this field is not specified. OfflineCache *OfflineCache `json:"OfflineCache,omitnil" name:"OfflineCache"` // QUIC access configuration. // The original configuration will apply if it is not specified. Quic *Quic `json:"Quic,omitnil" name:"Quic"` // POST transport configuration. // The original configuration will apply if it is not specified. PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil" name:"PostMaxSize"` // The smart compression configuration. // The original configuration will apply if this field is not specified. Compression *Compression `json:"Compression,omitnil" name:"Compression"` // HTTP2 origin-pull configuration. // The original configuration will apply if it is not specified. UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil" name:"UpstreamHttp2"` // Force HTTPS redirect configuration. // The original configuration will apply if it is not specified. ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil" name:"ForceRedirect"` // HTTPS acceleration configuration. // The original configuration will apply if it is not specified. Https *Https `json:"Https,omitnil" name:"Https"` // The origin server configuration. // The original configuration will apply if this field is not specified. Origin *Origin `json:"Origin,omitnil" name:"Origin"` // The smart acceleration configuration. // The original configuration will apply if this field is not specified. SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"` // WebSocket configuration. // The original configuration will apply if it is not specified. WebSocket *WebSocket `json:"WebSocket,omitnil" name:"WebSocket"` // Origin-pull client IP header configuration. // The original configuration will apply if it is not specified. ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitnil" name:"ClientIpHeader"` // The cache prefresh configuration. // The original configuration will apply if this field is not specified. CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil" name:"CachePrefresh"` // Ipv6 access configuration. // The original configuration will apply if it is not specified. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // Whether to carry the location information of the client IP during origin-pull. // The original configuration will apply if it is not specified. ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil" name:"ClientIpCountry"` // Configuration of gRPC support. // The original configuration will apply if it is not specified. Grpc *Grpc `json:"Grpc,omitnil" name:"Grpc"` // Image optimization. // It is disabled if this parameter is not specified. ImageOptimize *ImageOptimize `json:"ImageOptimize,omitnil" name:"ImageOptimize"` // Standard debugging configuration. StandardDebug *StandardDebug `json:"StandardDebug,omitnil" name:"StandardDebug"` }
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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type ModifyZoneStatusRequest ¶
type ModifyZoneStatusRequest struct { *tchttp.BaseRequest // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The site status. Values: // <li>`false`: Disabled</li> // <li>`true`: Enabled</li> Paused *bool `json:"Paused,omitnil" 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 { // The site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The site status. Values: // <li>`false`: Disabled</li> // <li>`true`: Enabled</li> Paused *bool `json:"Paused,omitnil" 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 { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type NoCache ¶
type NoCache struct { // Whether to enable no-cache configuration. Valid values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type NormalAction ¶
type NormalAction struct { // Feature name. For details, see [DescribeRulesSetting](https://intl.cloud.tencent.com/document/product/1552/80618?from_cn_redirect=1) API Action *string `json:"Action,omitnil" name:"Action"` // Parameter Parameters []*RuleNormalActionParams `json:"Parameters,omitnil" name:"Parameters"` }
type NsVerification ¶
type NsVerification struct { // The DNS server address assigned to the user when connecting a site to EO via NS. You need to switch the NameServer of the domain name to this address. NameServers []*string `json:"NameServers,omitnil" name:"NameServers"` }
type OfflineCache ¶
type OfflineCache struct { // Whether offline cache is enabled. Valid values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type Origin ¶
type Origin struct { // Primary origin server list // Note: This field may return null, indicating that no valid values can be obtained. Origins []*string `json:"Origins,omitnil" name:"Origins"` // The list of backup origin servers. // Note: This field may return null, indicating that no valid values can be obtained. BackupOrigins []*string `json:"BackupOrigins,omitnil" name:"BackupOrigins"` // Origin-pull protocol configuration. Values: // <li>`http`: Force HTTP for origin-pull.</li> // <li>`follow`: Follow protocol.</li> // <li>`https`: Force HTTPS for origin-pull.</li> // Note: This field may return `null`, indicating that no valid value can be obtained. OriginPullProtocol *string `json:"OriginPullProtocol,omitnil" name:"OriginPullProtocol"` // Whether to allow private access to buckets when `OriginType=cos`. Valid values: // <li>`on`: Private access;</li> // <li>`off`: Public access.</li> // Note: This field may return `null`, indicating that no valid values can be obtained. CosPrivateAccess *string `json:"CosPrivateAccess,omitnil" name:"CosPrivateAccess"` }
type OriginDetail ¶
type OriginDetail struct { // The origin type. Values: // <li>`IP_DOMAIN`: IPv4/IPv6 address or domain name</li> // <li>`COS`: COS bucket address</li> // <li>`ORIGIN_GROUP`: Origin group</li> // <li>`AWS_S3`: AWS S3 bucket address</li> OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // The origin address. Enter the origin group ID if `OriginType=ORIGIN_GROUP`. Origin *string `json:"Origin,omitnil" name:"Origin"` // ID of the secondary origin group (valid when `OriginType=ORIGIN_GROUP`). If it’s not specified, it indicates that secondary origins are not used. BackupOrigin *string `json:"BackupOrigin,omitnil" name:"BackupOrigin"` // Name of the primary origin group (valid when `OriginType=ORIGIN_GROUP`). OriginGroupName *string `json:"OriginGroupName,omitnil" name:"OriginGroupName"` // Name of the secondary origin group (valid when `OriginType=ORIGIN_GROUP` and `BackupOrigin` is specified). BackOriginGroupName *string `json:"BackOriginGroupName,omitnil" name:"BackOriginGroupName"` // Whether to authenticate access to the private object storage origin (valid when `OriginType=COS/AWS_S3`). Values: // <li>`on`: Enable private authentication.</li> // <li>`off`: Disable private authentication.</li> // If this field is not specified, the default value `off` is used. PrivateAccess *string `json:"PrivateAccess,omitnil" name:"PrivateAccess"` // The private authentication parameters. This field is valid when `PrivateAccess=on`. // Note: This field may return null, indicating that no valid values can be obtained. PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil" name:"PrivateParameters"` }
type OriginGroup ¶
type OriginGroup struct { // The ID of the origin group. GroupId *string `json:"GroupId,omitnil" name:"GroupId"` // The name of the origin group. Name *string `json:"Name,omitnil" name:"Name"` // The origin group type. Values: // <li>`GENERAL`: General origin group</li> // <li>`HTTP`: HTTP-specific origin group</li> Type *string `json:"Type,omitnil" name:"Type"` // Details of the origin record. Records []*OriginRecord `json:"Records,omitnil" name:"Records"` // List of instances referencing this origin group. References []*OriginGroupReference `json:"References,omitnil" name:"References"` // Creation time of the origin group. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The update time of the origin group. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Origin-pull host header // Note: This field may return·null, indicating that no valid values can be obtained. HostHeader *string `json:"HostHeader,omitnil" name:"HostHeader"` }
type OriginGroupReference ¶
type OriginGroupReference struct { // Services referencing the origin group. Values: // <li>`AccelerationDomain`: Acceleration domain name</li> // <li>`RuleEngine`: Rules engine</li> // <li>`Loadbalance`: Load balancer</li> // <li>`ApplicationProxy`: L4 proxy</li> InstanceType *string `json:"InstanceType,omitnil" name:"InstanceType"` // ID of the instances referencing the origin group InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // Name of the instance referencing the origin group InstanceName *string `json:"InstanceName,omitnil" name:"InstanceName"` }
type OriginInfo ¶
type OriginInfo struct { // The origin type. Values: // <li>`IP_DOMAIN`: IPv4/IPv6 address or domain name</li> // <li>`COS`: COS bucket address</li> // <li>`ORIGIN_GROUP`: Origin group</li> // <li>`AWS_S3`: AWS S3 bucket address</li> // <li>`LB`: Tencent Cloud CLB instance</li> // <li>`SPACE`: EdgeOne Shield Space</li> OriginType *string `json:"OriginType,omitnil" name:"OriginType"` // The origin address. Enter the origin group ID if `OriginType=ORIGIN_GROUP`. Origin *string `json:"Origin,omitnil" name:"Origin"` // ID of the backup origin group (valid when `OriginType=ORIGIN_GROUP`). If it’s not specified, it indicates not to use backup origins. BackupOrigin *string `json:"BackupOrigin,omitnil" name:"BackupOrigin"` // Whether to allow access to the private object storage origin (valid when `OriginType=COS/AWS_S3`). Values: // u200c<li>`on`: Enable private authentication.</li> // <li>`off`: (Default) Disable private authentication.</li> PrivateAccess *string `json:"PrivateAccess,omitnil" name:"PrivateAccess"` // The private authentication parameters. This field is valid when `PrivateAccess=on`. PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil" name:"PrivateParameters"` }
type OriginProtectionInfo ¶
type OriginProtectionInfo struct { // ID of the site. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of domain names. Hosts []*string `json:"Hosts,omitnil" name:"Hosts"` // List of proxy IDs. ProxyIds []*string `json:"ProxyIds,omitnil" name:"ProxyIds"` // The existing intermediate IPs. // Note: This field may return `null`, indicating that no valid values can be obtained. CurrentIPWhitelist *IPWhitelist `json:"CurrentIPWhitelist,omitnil" name:"CurrentIPWhitelist"` // Whether the intermediate IP update is needed for the site. Values: // <li>`true`: Update needed;</li> // <li>`false`: Update not needed.</li> NeedUpdate *bool `json:"NeedUpdate,omitnil" name:"NeedUpdate"` // Status of the origin protection configuration. Values: // <li>`online`: Origin protection is activated;</li> // <li>`offline`: Origin protection is disabled.</li> // <li>`nonactivate`: Origin protection is not activated. This value is returned only when the feature is not activated before it’s used.</li> Status *string `json:"Status,omitnil" name:"Status"` // Whether origin protection is supported in the plan. Values: // <li>`true`: Origin protection supported;</li> // <li>`false`: Origin protection not supported.</li> PlanSupport *bool `json:"PlanSupport,omitnil" name:"PlanSupport"` // Differences between the latest and existing intermediate IPs. // Note: This field may return `null`, indicating that no valid values can be obtained. DiffIPWhitelist *DiffIPWhitelist `json:"DiffIPWhitelist,omitnil" name:"DiffIPWhitelist"` }
type OriginRecord ¶
type OriginRecord struct { // The origin record value, which can be an IPv4/IPv6 address or a domain name. Record *string `json:"Record,omitnil" name:"Record"` // The origin type. Values: // <li>`IP_DOMAIN`: IPv4/IPv6 address or domain name</li> // <li>`COS`: COS bucket address</li> // <li>`AWS_S3`: AWS S3 bucket address Type *string `json:"Type,omitnil" name:"Type"` // The origin record ID. RecordId *string `json:"RecordId,omitnil" name:"RecordId"` // Weight of an origin. Range: 0-100. If it is not specified, a random weight is assigned. If `0` is passed in, there is no traffic scheduled to this origin. // Note: This field may return·null, indicating that no valid values can be obtained. Weight *uint64 `json:"Weight,omitnil" name:"Weight"` // Whether to enable private authentication. It is valid when `OriginType=COS/AWS_S3`. Values: // <li>`true`: Yes.</li> // <li>`false`: No.</li>Default: `false`. Private *bool `json:"Private,omitnil" name:"Private"` // Private authentication parameters. This field is valid when `Private=true`. PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil" name:"PrivateParameters"` }
type OwnershipVerification ¶
type OwnershipVerification struct { // u200cInformation required for authentication using DNS resolution. It's applicable to sites connected via CNAME. See [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5). // // Note: This field may return·null, indicating that no valid values can be obtained. DnsVerification *DnsVerification `json:"DnsVerification,omitnil" name:"DnsVerification"` // u200cInformation required for verifying via a file. It's applicable to sites connected via CNAMEs. See [Ownership Verification](https://intl.cloud.tencent.com/document/product/1552/70789?from_cn_redirect=1#7af6ecf8-afca-4e35-8811-b5797ed1bde5). // // Note: This field may return·null, indicating that no valid values can be obtained. FileVerification *FileVerification `json:"FileVerification,omitnil" name:"FileVerification"` // u200cInformation required for switching DNS servers. It's applicable to sites connected via NSs. For details, see [Modifying DNS Server](https://intl.cloud.tencent.com/document/product/1552/90452?from_cn_redirect=1). // Note: This field may return·null, indicating that no valid values can be obtained. NsVerification *NsVerification `json:"NsVerification,omitnil" name:"NsVerification"` }
type PartialModule ¶
type PartialModule struct { // The module. Values: // <li>`waf`: Managed rules</li> Module *string `json:"Module,omitnil" name:"Module"` // List of managed rule IDs to be skipped. // Note: This field may return `null`, indicating that no valid value can be obtained. Include []*int64 `json:"Include,omitnil" name:"Include"` }
type PlanInfo ¶
type PlanInfo struct { // Settlement currency. Values: // <li>`CNY`: Settled by Chinese RMB;</li> // <li>`USD`: Settled by US dollars.</li> Currency *string `json:"Currency,omitnil" name:"Currency"` // Traffic quota of the plan. It includes the traffic for security acceleration, content acceleration and smart acceleration. Unit: byte. Flux *uint64 `json:"Flux,omitnil" name:"Flux"` // Settlement cycle. Values: // <li>`y`: Settled by year;</li> // <li>`m`: Settled by month;</li> // <li>`h`: Settled by hour;</li> // <li>`M`: Settled by minute;</li> // <li>`s`: Settled by second.</li> Frequency *string `json:"Frequency,omitnil" name:"Frequency"` // The plan option. Values: // <li>`sta`: Standard plan that supports content delivery network outside the Chinese mainland.</li> // <li>`sta_with_bot`: Standard plan that supports content delivery network outside the Chinese mainland and bot management.</li> // <li>`sta_cm`: Standard plan that supports content delivery network inside the Chinese mainland.</li> // <li>`sta_cm_with_bot`: Standard plan that supports content delivery network inside the Chinese mainland and bot management.</li> // <li>`sta`: Standard plan that supports content delivery network over the globe.</li> // <li>`sta_global_with_bot`: Standard plan that supports content delivery network over the globe and bot management.</li> // <li>`ent`: Enterprise plan that supports content delivery network outside the Chinese mainland.</li> // <li>`ent_with_bot`: Enterprise plan that supports content delivery network outside the Chinese mainland and bot management.</li> // <li>`ent_cm`: Enterprise plan that supports content delivery network inside the Chinese mainland.</li> // <li>`ent_cm_with_bot`: Enterprise plan that supports content delivery network inside the Chinese mainland and bot management.</li> // <li>`ent_global`: Enterprise plan that supports content delivery network over the globe.</li> // <li>`ent_global_with_bot`: Enterprise plan that supports content delivery network over the globe and bot management.</li> PlanType *string `json:"PlanType,omitnil" name:"PlanType"` // Plan price (in CNY fen/US cent). The price unit depends on the settlement currency. Price *float64 `json:"Price,omitnil" name:"Price"` // Quota on security acceleration requests Request *uint64 `json:"Request,omitnil" name:"Request"` // Number of sites to be bound to the plan SiteNumber *uint64 `json:"SiteNumber,omitnil" name:"SiteNumber"` // The acceleration region. Values: // <li>`mainland`: Chinese mainland</li> // <li>`overseas`: Global (Chinese mainland not included)</li> // <li>`global`: Global (Chinese mainland included)</li> Area *string `json:"Area,omitnil" name:"Area"` }
type PostMaxSize ¶
type PostMaxSize struct { // Whether to enable POST upload limit (default limit: 32 MB). Valid values: // <li>`on`: Enable;</li> // <li>`off`: Disable.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Maximum size. Value range: 1-500 MB. // Note: This field may return null, indicating that no valid values can be obtained. MaxSize *int64 `json:"MaxSize,omitnil" name:"MaxSize"` }
type PrivateParameter ¶
type PrivateParameter struct { // The parameter name. Values // <li>`AccessKeyId`: Access Key ID</li> // <li>`SecretAccessKey`: Secret Access Key</li> // <li>`SignatureVersion`: Signature version. Values: `v2`, `v4`</li> // <li>`Region`: Region of the storage bucket</li> Name *string `json:"Name,omitnil" name:"Name"` // The parameter value. Value *string `json:"Value,omitnil" name:"Value"` }
type QueryCondition ¶
type QueryCondition struct { // The key of QueryCondition. Key *string `json:"Key,omitnil" name:"Key"` // The conditional operator. Values: // <li>`equals`: Equals</li> // <li>`notEquals`: Does not equal</li> // <li>`include`: Contains</li> // <li>`notInclude`: Does not contain</li> // <li>`startWith`: Starts with</li> // <li>`notStartWith`: Does not start with</li> // <li>`endWith`: Ends with</li> // <li>`notEndWith`: Does not end with</li> Operator *string `json:"Operator,omitnil" name:"Operator"` // The value of QueryCondition. Value []*string `json:"Value,omitnil" name:"Value"` }
type QueryString ¶
type QueryString struct { // Whether to use `QueryString` as part of `CacheKey`. Values: // <li>`on`: Yes</li> // <li>`off`: No</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Specifies how to use query strings in the cache key. Values: // <li>`includeCustom`: `Include partial query strings.</li> // <li>`excludeCustom`: Exclude partial query strings.</li> // Note: This field may return null, indicating that no valid values can be obtained. Action *string `json:"Action,omitnil" name:"Action"` // Array of query strings used/excluded // Note: This field may return null, indicating that no valid values can be obtained. Value []*string `json:"Value,omitnil" name:"Value"` }
type Quic ¶
type Quic struct { // Whether to enable QUIC. Valid values: // <li>`on`: Enable;</li> // <li>`off`: Disable.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type Quota ¶
type Quota struct { Batch *int64 `json:"Batch,omitnil" name:"Batch"` // Daily submission quota limit. Daily *int64 `json:"Daily,omitnil" name:"Daily"` // Remaining daily submission quota. DailyAvailable *int64 `json:"DailyAvailable,omitnil" name:"DailyAvailable"` // Type of cache purging/pre-warming. Values: // <li>`purge_prefix`: Purge by prefix</li> // <li>`purge_url`: Purge by URL</li> // <li>`purge_host`: Purge by hostname</li> // <li>`purge_all`: Purge all caches</li> // <li>`purge_cache_tag`: Purge by cache tag</li><li>`prefetch_url`: Pre-warm by URL</li> Type *string `json:"Type,omitnil" name:"Type"` }
type RateLimitConfig ¶
type RateLimitConfig struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The settings of the custom rate limiting rule. If it is null, the settings that were last configured will be used. RateLimitUserRules []*RateLimitUserRule `json:"RateLimitUserRules,omitnil" name:"RateLimitUserRules"` // The settings of the rate limiting template. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. RateLimitTemplate *RateLimitTemplate `json:"RateLimitTemplate,omitnil" name:"RateLimitTemplate"` // The client filtering settings. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. RateLimitIntelligence *RateLimitIntelligence `json:"RateLimitIntelligence,omitnil" name:"RateLimitIntelligence"` // The custom rate limiting rules. If it is `null`, the previous settings is used. // Note: This field may return `null`, indicating that no valid value can be obtained. RateLimitCustomizes []*RateLimitUserRule `json:"RateLimitCustomizes,omitnil" name:"RateLimitCustomizes"` }
type RateLimitIntelligence ¶
type RateLimitIntelligence struct { // Whether to enable configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Action to be executed. Values: // <li>`monitor`: Observe</li> // <li>`alg`: Challenge</li> Action *string `json:"Action,omitnil" name:"Action"` // The rule ID, which is only used as a response parameter. RuleId *int64 `json:"RuleId,omitnil" name:"RuleId"` }
type RateLimitTemplate ¶
type RateLimitTemplate struct { // The mode. Values: // <li>`sup_loose`: Super loose</li> // <li>`loose`: Loose</li> // <li>`emergency`: Emergency</li> // <li>`normal`: Moderate</li> // <li>`strict`: Strict</li> // <li>`close`: Off</li> Mode *string `json:"Mode,omitnil" name:"Mode"` // The action. Values: // <li>`alg`: JavaScript challenge</li> // <li>`monitor`: Observe</li>If it is left empty, the default value `alg` is used. Action *string `json:"Action,omitnil" name:"Action"` // The settings of the rate limiting template. It is only used as an output parameter. RateLimitTemplateDetail *RateLimitTemplateDetail `json:"RateLimitTemplateDetail,omitnil" name:"RateLimitTemplateDetail"` }
type RateLimitTemplateDetail ¶
type RateLimitTemplateDetail struct { // The mode. Values: // <li>`sup_loose`: Super loose</li> // <li>`loose`: Loose</li> // <li>`emergency`: Emergency</li> // <li>`normal`: Moderate</li> // <li>`strict`: Strict</li> // <li>`close`: Off</li> // Note: This field may return `null`, indicating that no valid value can be obtained. Mode *string `json:"Mode,omitnil" name:"Mode"` // The unique ID. ID *int64 `json:"ID,omitnil" name:"ID"` // The action. Values: // <li>`alg`: JavaScript challenge</li> // <li>`monitor`: Observe</li> // Note: This field may return `null`, indicating that no valid value can be obtained. Action *string `json:"Action,omitnil" name:"Action"` // The blocking duration, in seconds. Value range: 0-172800. // Note: This field may return `null`, indicating that no valid value can be obtained. PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"` // The request threshold. Value range: 0-4294967294. Threshold *int64 `json:"Threshold,omitnil" name:"Threshold"` // The statistical period. Value range: 0-120 seconds. Period *int64 `json:"Period,omitnil" name:"Period"` }
type RateLimitUserRule ¶
type RateLimitUserRule struct { // The request threshold. Value range: 0-4294967294. Threshold *int64 `json:"Threshold,omitnil" name:"Threshold"` // The statistical period. The value can be 10, 20, 30, 40, 50, or 60 seconds. Period *int64 `json:"Period,omitnil" name:"Period"` // The rule name, which consists of only letters, digits, and underscores and cannot start with an underscore. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Action. Values:<li>`monitor`: Observe;</li><li>`drop`: Block;</li><li>`redirect`: Redirect;</li><li>`page`: Return a specific page;</li><li>`alg`: JavaScript challenge. </li> Action *string `json:"Action,omitnil" name:"Action"` // The amount of time taken to perform the action. Value range: 0 seconds - 2 days. PunishTime *int64 `json:"PunishTime,omitnil" name:"PunishTime"` // The time unit. Values: // <li>`second`: Second</li> // <li>`minutes`: Minute</li> // <li>`hour`: Hour</li> PunishTimeUnit *string `json:"PunishTimeUnit,omitnil" name:"PunishTimeUnit"` // The rule status. Values: // <li>`on`: Enabled</li> // <li>`off`: Disabled</li>Default value: `on` RuleStatus *string `json:"RuleStatus,omitnil" name:"RuleStatus"` // The rule details. AclConditions []*AclCondition `json:"AclConditions,omitnil" name:"AclConditions"` // The rule weight. Value range: 0-100. RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"` // Rule ID, which is only used as an output parameter. RuleID *int64 `json:"RuleID,omitnil" name:"RuleID"` // The filter. Values: // <li>`sip`: Client IP</li> // This parameter is left empty by default. FreqFields []*string `json:"FreqFields,omitnil" name:"FreqFields"` // Update time. It is only used as a response parameter, and defaults to the current time. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` // Query scope. Values: // <li>`source_to_eo`: (Response) Traffic going from the origin to EdgeOne.</li> // <li>`client_to_eo`: (Request) Traffic going from the client to EdgeOne.</li> // Default: `source_to_eo`. FreqScope []*string `json:"FreqScope,omitnil" name:"FreqScope"` // Name of the custom return page. It's required when `Action=page`. Name *string `json:"Name,omitnil" name:"Name"` // ID of custom response. The ID can be obtained via the `DescribeCustomErrorPages` API. It's required when `Action=page`. CustomResponseId *string `json:"CustomResponseId,omitnil" name:"CustomResponseId"` // The response code to trigger the return page. It's required when `Action=page`. Value: 100-600. 3xx response codes are not supported. Default value: 567. ResponseCode *int64 `json:"ResponseCode,omitnil" name:"ResponseCode"` // The redirection URL. It's required when `Action=redirect`. RedirectUrl *string `json:"RedirectUrl,omitnil" name:"RedirectUrl"` }
type Resource ¶
type Resource struct { // The resource ID. Id *string `json:"Id,omitnil" name:"Id"` // Billing mode // `0`: Pay-as-you-go PayMode *int64 `json:"PayMode,omitnil" name:"PayMode"` // The creation time. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // The effective time. EnableTime *string `json:"EnableTime,omitnil" name:"EnableTime"` // The expiration time. ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"` // The plan status. Values: // <li>`normal`: Normal</li> // <li>`isolated`: Isolated</li> // <li>`destroyed`: Terminated</li> Status *string `json:"Status,omitnil" name:"Status"` // Pricing query parameter Sv []*Sv `json:"Sv,omitnil" name:"Sv"` // Whether to enable auto-renewal. Values: // <li>`0`: Default status.</li> // <li>`1`: Enable auto-renewal.</li> // <li>`2`: Disable auto-renewal.</li> AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil" name:"AutoRenewFlag"` // ID of the resource associated with the plan. PlanId *string `json:"PlanId,omitnil" name:"PlanId"` // Applicable area. Values: // <li>`mainland`: Chinese mainland</li> // <li>`overseas`: Regions outside the Chinese mainland</li> // <li>`global`: Global</li> Area *string `json:"Area,omitnil" name:"Area"` // The resource type. Values: // <li>`plan`: Plan resources</li> // <li>`pay-as-you-go`: Pay-as-you-go resources </li> // <li>`value-added`: Value-added resources </li> // Note: u200dThis field may return null, indicating that no valid values can be obtained. Group *string `json:"Group,omitnil" name:"Group"` // The sites that are associated with the current resources. // Note: u200dThis field may return null, indicating that no valid values can be obtained. ZoneNumber *int64 `json:"ZoneNumber,omitnil" name:"ZoneNumber"` }
type RewriteAction ¶
type RewriteAction struct { // Feature name. For details, see [DescribeRulesSetting](https://intl.cloud.tencent.com/document/product/1552/80618?from_cn_redirect=1) API Action *string `json:"Action,omitnil" name:"Action"` // Parameter Parameters []*RuleRewriteActionParams `json:"Parameters,omitnil" name:"Parameters"` }
type Rule ¶
type Rule struct { // Feature to be executed. Actions []*Action `json:"Actions,omitnil" name:"Actions"` // Feature execution conditions. // Note: If any condition in the array is met, the feature will run. Conditions []*RuleAndConditions `json:"Conditions,omitnil" name:"Conditions"` // The nested rule. SubRules []*SubRuleItem `json:"SubRules,omitnil" name:"SubRules"` }
type RuleAndConditions ¶
type RuleAndConditions struct { // Rule engine condition. This condition will be considered met if all items in the array are met. Conditions []*RuleCondition `json:"Conditions,omitnil" name:"Conditions"` }
type RuleChoicePropertiesItem ¶
type RuleChoicePropertiesItem struct { // The parameter name. Name *string `json:"Name,omitnil" name:"Name"` // The parameter value type. // <li>CHOICE: The parameter value can be selected only from `Values`.</li> // <li>TOGGLE: The parameter value is of switch type and can be selected from `ChoicesValue`.</li> // <li>CUSTOM_NUM: The parameter value is a custom integer.</li> // <li>CUSTOM_STRING: The parameter value is a custom string.</li> Type *string `json:"Type,omitnil" name:"Type"` // Valid parameter values. // Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array. ChoicesValue []*string `json:"ChoicesValue,omitnil" name:"ChoicesValue"` // Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect. Min *int64 `json:"Min,omitnil" name:"Min"` // Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect. Max *int64 `json:"Max,omitnil" name:"Max"` // Whether multiple values can be selected or entered. IsMultiple *bool `json:"IsMultiple,omitnil" name:"IsMultiple"` // Whether the parameter can be left empty. IsAllowEmpty *bool `json:"IsAllowEmpty,omitnil" name:"IsAllowEmpty"` // Special parameter. // <li>NULL: Select `NormalAction` for `RuleAction`. </li> // <li>If the member parameter `Id` is `Action`, select `RewirteAction` for `RuleAction`.</li> // <li>If the member parameter `Id` is `StatusCode`, select `CodeAction` for `RuleAction`.</li> ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitnil" name:"ExtraParameter"` }
type RuleCodeActionParams ¶
type RuleCodeActionParams struct { // The status code. StatusCode *int64 `json:"StatusCode,omitnil" name:"StatusCode"` // The parameter name. For details, see [DescribeRulesSetting](https://intl.cloud.tencent.com/document/product/1552/80618?from_cn_redirect=1). Name *string `json:"Name,omitnil" name:"Name"` // The parameter value. Values []*string `json:"Values,omitnil" name:"Values"` }
type RuleCondition ¶
type RuleCondition struct { // Operator. Valid values: // <li>`equals`: Equals</li> // <li>`notEquals`: Does not equal</li> // <li>`exist`: Exists</li> // <li>`notexist`: Does not exist</li> Operator *string `json:"Operator,omitnil" name:"Operator"` // Match fields. Values: <li>`filename`: File name;</li><li>`extension`: File suffix;</li><li>`host`: HOST;</li><li>`full_url`: The complete URL path under the current site, including the HTTP protocol, Host and path;</li><li>`url`: The URL path request under the current site;</li><li>`client_country`: Client country;</li><li>`query_string`: The query string of the URL requested under the current site;</li><li>`request_header`: HTTP request header. </li> Target *string `json:"Target,omitnil" name:"Target"` // The parameter value of the match type. It can be an empty string only when `Target=query string/request header` and `Operator=exist/notexist`. // <li>When `Target=extension`, enter the file extension, such as "jpg" and "txt".</li> // <li>When `Target=filename`, enter the file name, such as "foo" in "foo.jpg".</li> // <li>When `Target=all`, it indicates any site request.</li> // <li>When `Target=host`, enter the host under the current site, such as "www.maxx55.com".</li> // <li>When `Target=url`, enter the partial URL path under the current site, such as "/example".</li> // <li>When `Target=full_url`, enter the complete URL under the current site. It must contain the HTTP protocol, host, and path, such as "https://www.maxx55.cn/example".</li> // <li>When `Target=client_country`, enter the ISO-3166 country/region code.</li> // <li>When `Target=query_string`, enter the value of the query string, such as "cn" and "1" in "lang=cn&version=1".</li> // <li>When `Target=request_header`, enter the HTTP request header value, such as "zh-CN,zh;q=0.9" in the "Accept-Language:zh-CN,zh;q=0.9" header.</li> Values []*string `json:"Values,omitnil" name:"Values"` // Whether the parameter value is case insensitive. Default value: false. IgnoreCase *bool `json:"IgnoreCase,omitnil" name:"IgnoreCase"` // The parameter name of the match type. This field is required only when `Target=query_string/request_header`. // <li>`query_string`: Name of the query string, such as "lang" and "version" in "lang=cn&version=1".</li> // <li>`request_header`: Name of the HTTP request header, such as "Accept-Language" in the "Accept-Language:zh-CN,zh;q=0.9" header.</li> Name *string `json:"Name,omitnil" name:"Name"` // Whether the parameter name is case insensitive. Default value: `false`. // Note: This field may return null, indicating that no valid values can be obtained. // // Deprecated: IgnoreNameCase is deprecated. IgnoreNameCase *bool `json:"IgnoreNameCase,omitnil" name:"IgnoreNameCase"` }
type RuleExtraParameter ¶
type RuleExtraParameter struct { // Parameter name. Valid values: // <li>`Action`: Required parameter for HTTP header modification when `RewirteAction` is selected for `RuleAction`.</li> // <li>`StatusCode`: Required parameter for the status code feature when `CodeAction` is selected for `RuleAction`.</li> Id *string `json:"Id,omitnil" name:"Id"` // Parameter value type. // <li>`CHOICE`: The parameter value can be selected only from `Values`.</li> // <li>`CUSTOM_NUM`: The parameter value is a custom integer.</li> // <li>`CUSTOM_STRING`: The parameter value is a custom string.</li> Type *string `json:"Type,omitnil" name:"Type"` // Valid values. // Note: If the value of `Id` is `StatusCode`, values in the array are all integer values. When entering a parameter value, enter the integer value of the string. Choices []*string `json:"Choices,omitnil" name:"Choices"` }
type RuleItem ¶
type RuleItem struct { // The rule ID. RuleId *string `json:"RuleId,omitnil" name:"RuleId"` // The rule name. It is a string that can contain 1–255 characters. RuleName *string `json:"RuleName,omitnil" name:"RuleName"` // Rule status. Values: // <li>`enable`: Enabled</li> // <li>`disable`: Disabled</li> Status *string `json:"Status,omitnil" name:"Status"` // The rule content. Rules []*Rule `json:"Rules,omitnil" name:"Rules"` // The rule priority. The greater the value, the higher the priority. The minimum value is `1`. RulePriority *int64 `json:"RulePriority,omitnil" name:"RulePriority"` // Tag of the rule. Tags []*string `json:"Tags,omitnil" name:"Tags"` }
type RuleNormalActionParams ¶
type RuleNormalActionParams struct { // The parameter name. For details, see [DescribeRulesSetting](https://intl.cloud.tencent.com/document/product/1552/80618?from_cn_redirect=1). Name *string `json:"Name,omitnil" name:"Name"` // The parameter value. Values []*string `json:"Values,omitnil" name:"Values"` }
type RuleRewriteActionParams ¶
type RuleRewriteActionParams struct { // Feature parameter name. For details, see [DescribeRulesSetting](https://intl.cloud.tencent.com/document/product/1552/80618?from_cn_redirect=1). // <li>`add`: Add the HTTP header.</li> // <li>`set`: Rewrite the HTTP header.</li> // <li>`del`: Delete the HTTP header.</li> Action *string `json:"Action,omitnil" name:"Action"` // Parameter name Name *string `json:"Name,omitnil" name:"Name"` // Parameter value Values []*string `json:"Values,omitnil" name:"Values"` }
type RulesProperties ¶
type RulesProperties struct { // Parameter name. Name *string `json:"Name,omitnil" name:"Name"` // Minimum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect. Min *int64 `json:"Min,omitnil" name:"Min"` // Valid parameter values. // Note: If `Type` is `CUSTOM_NUM` or `CUSTOM_STRING`, this parameter will be an empty array. ChoicesValue []*string `json:"ChoicesValue,omitnil" name:"ChoicesValue"` // The parameter value type. // <li>`CHOICE`: `If Type=CHOICE`, choose a value in `ChoiceValue`.</li> // <li>`TOGGLE`: If `Type=TOGGLE`, choose `on` or `off` from `ChoicesValue`.</li> // <li>`OBJECT`: Specify an object. If this is specified, `ChoiceProperties` includes attributes of the specified object. See [Example 2. Create a rule with Type=OBJECT](https://intl.cloud.tencent.com/document/product/1552/80622?from_cn_redirect=1#.E7.A4.BA.E4.BE.8B2-.E5.8F.82.E6.95.B0.E4.B8.BA-OBJECT-.E7.B1.BB.E5.9E.8B.E7.9A.84.E5.88.9B.E5.BB.BA)</li> // <li>`CUSTOM_NUM`: (Integer) Custom value.</li> // <li>`CUSTOM_STRING`: (String) Custom value.</li> Type *string `json:"Type,omitnil" name:"Type"` // Maximum value. If both `Min` and `Max` are set to `0`, this parameter does not take effect. Max *int64 `json:"Max,omitnil" name:"Max"` // Whether multiple values can be selected or entered. IsMultiple *bool `json:"IsMultiple,omitnil" name:"IsMultiple"` // Whether the parameter can be left empty. IsAllowEmpty *bool `json:"IsAllowEmpty,omitnil" name:"IsAllowEmpty"` // Associated configuration parameters of this parameter, which are required for API call. // Note: This parameter will be an empty array if no special parameters are added as optional parameters. ChoiceProperties []*RuleChoicePropertiesItem `json:"ChoiceProperties,omitnil" name:"ChoiceProperties"` // <li>NULL: No special parameters when `NormalAction` is selected for `RuleAction`.</li> // Note: This field may return null, indicating that no valid values can be obtained. ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitnil" name:"ExtraParameter"` }
type RulesSettingAction ¶
type RulesSettingAction struct { // Feature name. Valid values: // <li>Access URL rewrite (`AccessUrlRedirect`).</li> // <li>Origin-pull URL rewrite (`UpstreamUrlRedirect`).</li> // <li>Custom error page // (`ErrorPage`).</li> // <li>QUIC (`QUIC`).</li> // <li>WebSocket (`WebSocket`).</li> // <li>Video dragging (`VideoSeek`).</li> // <li>Token authentication (`Authentication`).</li> // <li>`CacheKey`: Custom cache key.</li> // <li>`Cache`: Node cache TTL.</li> // <li>`MaxAge`: Browser cache TTL.</li> // <li>`OfflineCache`: Offline cache.</li> // <li>`SmartRouting`: Smart acceleration.</li> // <li>`RangeOriginPull`: Range GETs.</li> // <li>`UpstreamHttp2`: HTTP/2 forwarding.</li> // <li>`HostHeader`: Host header rewrite.</li> // <li>`ForceRedirect`: Force HTTPS.</li> // <li>`OriginPullProtocol`: Origin-pull HTTPS.</li> // <li>`CachePrefresh`: Cache prefresh.</li> // <li>`Compression`: Smart compression.</li> // <li>`RequestHeader`: HTTP request header modification.</li> // <li>HTTP response header modification (`ResponseHeader`).</li> // <li>Status code cache TTL (`StatusCodeCache`).</li> // <li>`Hsts`.</li> // <li>`ClientIpHeader`.</li> // <li>`TlsVersion`.</li> // <li>`OcspStapling`.</li> Action *string `json:"Action,omitnil" name:"Action"` // Parameter information Properties []*RulesProperties `json:"Properties,omitnil" name:"Properties"` }
type SecEntry ¶
type SecEntry struct { // The query dimension value. Key *string `json:"Key,omitnil" name:"Key"` // The details. Value []*SecEntryValue `json:"Value,omitnil" name:"Value"` }
type SecEntryValue ¶
type SecEntryValue struct { // The metric name. Metric *string `json:"Metric,omitnil" name:"Metric"` // The time-series data details. Detail []*TimingDataItem `json:"Detail,omitnil" name:"Detail"` // The maximum value. Max *int64 `json:"Max,omitnil" name:"Max"` // The average value. Avg *float64 `json:"Avg,omitnil" name:"Avg"` // Sum Sum *float64 `json:"Sum,omitnil" name:"Sum"` }
type SecurityConfig ¶
type SecurityConfig struct { // The settings of the managed rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. WafConfig *WafConfig `json:"WafConfig,omitnil" name:"WafConfig"` // The settings of the rate limiting rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitnil" name:"RateLimitConfig"` // The settings of the custom rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. AclConfig *AclConfig `json:"AclConfig,omitnil" name:"AclConfig"` // The settings of the bot configuration. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. BotConfig *BotConfig `json:"BotConfig,omitnil" name:"BotConfig"` // The switch setting of the layer-7 protection. If it is null, the setting that was last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. SwitchConfig *SwitchConfig `json:"SwitchConfig,omitnil" name:"SwitchConfig"` // The settings of the basic access control rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. IpTableConfig *IpTableConfig `json:"IpTableConfig,omitnil" name:"IpTableConfig"` // The settings of the exception rule. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. ExceptConfig *ExceptConfig `json:"ExceptConfig,omitnil" name:"ExceptConfig"` // The settings of the custom block page. If it is null, the settings that were last configured will be used. // Note: This field may return null, indicating that no valid values can be obtained. DropPageConfig *DropPageConfig `json:"DropPageConfig,omitnil" name:"DropPageConfig"` // Security template settings // Note: This field may return `null`, indicating that no valid value can be obtained. TemplateConfig *TemplateConfig `json:"TemplateConfig,omitnil" name:"TemplateConfig"` // Slow attack defense configuration. If it is `null`, the previous setting is used. // Note: This field may return `null`, indicating that no valid value can be obtained. SlowPostConfig *SlowPostConfig `json:"SlowPostConfig,omitnil" name:"SlowPostConfig"` }
type SecurityTemplateBinding ¶
type SecurityTemplateBinding struct { // template ID TemplateId *string `json:"TemplateId,omitnil" name:"TemplateId"` // Binding status of the template. TemplateScope []*TemplateScope `json:"TemplateScope,omitnil" name:"TemplateScope"` }
type SecurityType ¶
type SecurityType struct { // Whether to enable the security type setting. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type ServerCertInfo ¶
type ServerCertInfo struct { // ID of the server certificate. // Note: This field may return null, indicating that no valid values can be obtained. CertId *string `json:"CertId,omitnil" name:"CertId"` // Alias of the certificate. // Note: This field may return null, indicating that no valid values can be obtained. Alias *string `json:"Alias,omitnil" name:"Alias"` // Type of the certificate. Values: // u200c<li>`default`: Default certificate</li> // u200c<li>`upload`: Custom certificate</li> // u200c<li>`managed`: Tencent Cloud-managed certificate</li> // Note: This field may return·null, indicating that no valid values can be obtained. Type *string `json:"Type,omitnil" name:"Type"` // Time when the certificate expires. // Note: This field may return null, indicating that no valid values can be obtained. ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"` // Time when the certificate is deployed. // Note: This field may return null, indicating that no valid values can be obtained. DeployTime *string `json:"DeployTime,omitnil" name:"DeployTime"` // Signature algorithm. // Note: This field may return null, indicating that no valid values can be obtained. SignAlgo *string `json:"SignAlgo,omitnil" name:"SignAlgo"` // Domain name of the certificate. // Note: This field may return `null`, indicating that no valid value can be obtained. CommonName *string `json:"CommonName,omitnil" name:"CommonName"` }
type SkipCondition ¶
type SkipCondition struct { // The field type. Values: // <li>`header_fields`: HTTP request header</li> // <li>`cookie`: HTTP request cookie</li> // <li>`query_string`: Query string in the HTTP request URL</li> // <li>`uri`: HTTP request URI</li> // <li>`body_raw`: HTTP request body</li> // <li>`body_json`: JSON HTTP request body</li> Type *string `json:"Type,omitnil" name:"Type"` // The specific field. Values: // <li>`args`: Query parameter in the URI, such as "?name1=jack&age=12"</li> // <li>`path`: Partial path in the URI, such as "/path/to/resource.jpg"</li> // <li>`full`: Full path in the URI, such as "example.com/path/to/resource.jpg?name1=jack&age=12"</li> // <li>`upload_filename`: File path segment</li> // <li>`keys`: All keys</li> // <li>`values`: Values of all keys</li> // <li>`key_value`: Key and its value</li> Selector *string `json:"Selector,omitnil" name:"Selector"` // The match method used to match the key. Values: // <li>`equal`: Exact match</li> // <li>`wildcard`: Wildcard match (only asterisks)</li> MatchFromType *string `json:"MatchFromType,omitnil" name:"MatchFromType"` // The value that matches the key. // Note: This field may return `null`, indicating that no valid value can be obtained. MatchFrom []*string `json:"MatchFrom,omitnil" name:"MatchFrom"` // The match method used to match the content. // <li>`equal`: Exact match</li> // <li>`wildcard`: Wildcard match (only asterisks)</li> MatchContentType *string `json:"MatchContentType,omitnil" name:"MatchContentType"` // The value that matches the content. // Note: This field may return `null`, indicating that no valid value can be obtained. MatchContent []*string `json:"MatchContent,omitnil" name:"MatchContent"` }
type SlowPostConfig ¶
type SlowPostConfig struct { // Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Detect slow attacks by the transfer period of the first 8 KB of requests // Note: This field may return `null`, indicating that no valid value can be obtained. FirstPartConfig *FirstPartConfig `json:"FirstPartConfig,omitnil" name:"FirstPartConfig"` // Detect slow attacks by the data rate of the main body (excluding the first 8 KB) of requests // Note: This field may return `null`, indicating that no valid value can be obtained. SlowRateConfig *SlowRateConfig `json:"SlowRateConfig,omitnil" name:"SlowRateConfig"` // The action to taken when a slow attack is detected. Values: // <li>`monitor`: Observe</li> // <li>`drop`: Block the request</li> // Note: This field may return `null`, indicating that no valid value can be obtained. Action *string `json:"Action,omitnil" name:"Action"` // ID of the rule // Note: This field may return `null`, indicating that no valid value can be obtained. RuleId *uint64 `json:"RuleId,omitnil" name:"RuleId"` }
type SlowRateConfig ¶
type SlowRateConfig struct { // Switch. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The sampling interval in seconds. In this way, the first 8 KB of the request is ignored. The rest of data is separated in to multiple parts according to this interval for slow attack measurement. // Note: This field may return `null`, indicating that no valid value can be obtained. Interval *uint64 `json:"Interval,omitnil" name:"Interval"` // The transfer rate threshold in bps. When the transfer rate of a sample is lower than the threshold, it’s considered a slow attack and handled according to the specified `Action`. // Note: This field may return `null`, indicating that no valid value can be obtained. Threshold *uint64 `json:"Threshold,omitnil" name:"Threshold"` }
type SmartRouting ¶
type SmartRouting struct { // Whether to enable smart acceleration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type StandardDebug ¶
type StandardDebug struct { // Whether to enable standard debugging. Values: // <li>`on`: Enable</li> // <li>`off`: Disable </li> Switch *string `json:"Switch,omitnil" name:"Switch"` // Allowed client source. IPv4 and IPv6 addresses and network segments are supported. 0.0.0.0/0 indicates that all IPv4 clients can be debugged, and ::/0 indicates that all IPv6 clients can be debugged. AllowClientIPList []*string `json:"AllowClientIPList,omitnil" name:"AllowClientIPList"` // The time when the standard debugging setting expires. If it is exceeded, this feature u200dbecomes invalid. ExpireTime *string `json:"ExpireTime,omitnil" name:"ExpireTime"` }
type SubRule ¶
type SubRule struct { // The condition that determines if a feature should run. // Note: If any condition in the array is met, the feature will run. Conditions []*RuleAndConditions `json:"Conditions,omitnil" name:"Conditions"` // The feature to be executed. Actions []*Action `json:"Actions,omitnil" name:"Actions"` }
type SubRuleItem ¶
type Sv ¶
type Sv struct { // The parameter key. Key *string `json:"Key,omitnil" name:"Key"` // The parameter value. Value *string `json:"Value,omitnil" name:"Value"` // Quota for a resource. Values: // <li>`zone`: Quota for sites</li> // <li>`custom-rule`: Quota for custom rules</li> // <li>`rate-limiting-rule`: Quota for rate limiting rules</li> // <li>`l4-proxy-instance`: Quota for L4 proxy instances </li> // Note: u200dThis field may return null, indicating that no valid values can be obtained. Pack *string `json:"Pack,omitnil" name:"Pack"` // ID of the L4 proxy instance. // Note: u200dThis field may return null, indicating that no valid values can be obtained. InstanceId *string `json:"InstanceId,omitnil" name:"InstanceId"` // The protection specification. // Values: <li> `cm_30G`: 30 Gbps base protection bandwidth in **Chinese mainland** service area</li><li> `cm_60G`: 60 Gbps base protection bandwidth in **Chinese mainland** service area</li><li> `cm_100G`: 100 Gbps base protection bandwidth in **Chinese mainland** service area</li><li> `anycast_300G`: 300 Gbps Anycast-based protection in **Global (MLC)** service area</li><li> `anycast_unlimited`: Unlimited Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> `cm_30G_anycast_300G`: 30 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> `cm_30G_anycast_unlimited`: 30 Gbps base protection bandwidth in **Chinese mainland** service area and unlimited Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_60G_anycast_300G`: 60 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_60G_anycast_unlimited`: 60 Gbps base protection bandwidth in **Chinese mainland** service area and unlimited Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> `cm_100G_anycast_300G`: 100 Gbps base protection bandwidth in **Chinese mainland** service area and 300 Gbps Anycast-based protection bandwidth in **Global (MLC)** service area</li><li> cm_100G_anycast_unlimited`: 100 Gbps base protection bandwidth in **Chinese mainland** service area and unlimited Anycast-based protection bandwidth in **Global (MLC)** service area </li> // Note: u200dThis field may return null, indicating that no valid values can be obtained. ProtectionSpecs *string `json:"ProtectionSpecs,omitnil" name:"ProtectionSpecs"` }
type SwitchConfig ¶
type SwitchConfig struct { // Whether to enable web protection. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li>It does not affect DDoS and bot configuration. WebSwitch *string `json:"WebSwitch,omitnil" name:"WebSwitch"` }
type Tag ¶
type Tag struct { // The tag key. // Note: This field may return null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitnil" name:"TagKey"` // The tag value. // Note: This field may return null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitnil" name:"TagValue"` }
type Task ¶
type Task struct { // ID of the task. JobId *string `json:"JobId,omitnil" name:"JobId"` // Status of the task. Status *string `json:"Status,omitnil" name:"Status"` // Resource. Target *string `json:"Target,omitnil" name:"Target"` // Type of the task. Type *string `json:"Type,omitnil" name:"Type"` // Creation time of the task. CreateTime *string `json:"CreateTime,omitnil" name:"CreateTime"` // Completion time of the task. UpdateTime *string `json:"UpdateTime,omitnil" name:"UpdateTime"` }
type TemplateConfig ¶
type TemplateScope ¶
type TemplateScope struct { // ID of the site. // Note: This field may return·null, indicating that no valid values can be obtained. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // List of instance statuses // Note: This field may return·null, indicating that no valid values can be obtained. EntityStatus []*EntityStatus `json:"EntityStatus,omitnil" name:"EntityStatus"` }
type TimingDataItem ¶
type TimingDataRecord ¶
type TimingDataRecord struct { // The query dimension value. TypeKey *string `json:"TypeKey,omitnil" name:"TypeKey"` // Detailed time series data TypeValue []*TimingTypeValue `json:"TypeValue,omitnil" name:"TypeValue"` }
type TimingTypeValue ¶
type TimingTypeValue struct { // Sum. Sum *int64 `json:"Sum,omitnil" name:"Sum"` // The maximum value. Max *int64 `json:"Max,omitnil" name:"Max"` // The average value. Avg *int64 `json:"Avg,omitnil" name:"Avg"` // Metric name. MetricName *string `json:"MetricName,omitnil" name:"MetricName"` // Details. // Note: This field may return null, indicating that no valid values can be obtained. Detail []*TimingDataItem `json:"Detail,omitnil" name:"Detail"` }
type TopDataRecord ¶
type TopDataRecord struct { // The query dimension value. TypeKey *string `json:"TypeKey,omitnil" name:"TypeKey"` // Top data rankings DetailData []*TopDetailData `json:"DetailData,omitnil" name:"DetailData"` }
type TopDetailData ¶
type TopEntry ¶
type TopEntry struct { // The query dimension value. Key *string `json:"Key,omitnil" name:"Key"` // The details. Value []*TopEntryValue `json:"Value,omitnil" name:"Value"` }
type TopEntryValue ¶
type UpstreamHttp2 ¶
type UpstreamHttp2 struct { // Whether to enable HTTP2 origin-pull. Valid values: // <li>`on`: Enable;</li> // <li>`off`: Disable.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` }
type VanityNameServers ¶
type VanityNameServersIps ¶
type VerifyOwnershipRequest ¶
type VerifyOwnershipRequest struct { *tchttp.BaseRequest // Site or acceleration domain name Domain *string `json:"Domain,omitnil" name:"Domain"` }
func NewVerifyOwnershipRequest ¶
func NewVerifyOwnershipRequest() (request *VerifyOwnershipRequest)
func (*VerifyOwnershipRequest) FromJsonString ¶
func (r *VerifyOwnershipRequest) 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 (*VerifyOwnershipRequest) ToJsonString ¶
func (r *VerifyOwnershipRequest) ToJsonString() string
type VerifyOwnershipRequestParams ¶
type VerifyOwnershipRequestParams struct { // Site or acceleration domain name Domain *string `json:"Domain,omitnil" name:"Domain"` }
Predefined struct for user
type VerifyOwnershipResponse ¶
type VerifyOwnershipResponse struct { *tchttp.BaseResponse Response *VerifyOwnershipResponseParams `json:"Response"` }
func NewVerifyOwnershipResponse ¶
func NewVerifyOwnershipResponse() (response *VerifyOwnershipResponse)
func (*VerifyOwnershipResponse) FromJsonString ¶
func (r *VerifyOwnershipResponse) 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 (*VerifyOwnershipResponse) ToJsonString ¶
func (r *VerifyOwnershipResponse) ToJsonString() string
type VerifyOwnershipResponseParams ¶
type VerifyOwnershipResponseParams struct { // Result of ownership verification // <li>`success`: Verification passed</li> // <li>`fail`: Verification failed</li> Status *string `json:"Status,omitnil" name:"Status"` // When the ownership verification result is `fail`, this field returns the reason of failure. Result *string `json:"Result,omitnil" name:"Result"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitnil" name:"RequestId"` }
Predefined struct for user
type WafConfig ¶
type WafConfig struct { // Whether to enable WAF configuration. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li>The configuration can be modified even when it is disabled. Switch *string `json:"Switch,omitnil" name:"Switch"` // The protection level. Values: // <li>`loose`: Loose</li> // <li>`normal`: Moderate</li> // <li>`strict`: Strict</li> // <li>`stricter`: Super strict</li> // <li>`custom`: Custom</li> Level *string `json:"Level,omitnil" name:"Level"` // The WAF global mode. Values: // <li>`block`: Block globally</li> // <li>`observe`: Observe globally</li> Mode *string `json:"Mode,omitnil" name:"Mode"` // The settings of the managed rule. If it is null, the settings that were last configured will be used. WafRule *WafRule `json:"WafRule,omitnil" name:"WafRule"` // The setting of the AI rule engine. If it is null, the setting that was last configured will be used. AiRule *AiRule `json:"AiRule,omitnil" name:"AiRule"` }
type WafRule ¶
type WafRule struct { // Whether to enable managed rules. Values: // <li>`on`: Enable</li> // <li>`off`: Disable</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // IDs of the rules to be disabled. BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitnil" name:"BlockRuleIDs"` // IDs of the rules to be executed in Observe mode. ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitnil" name:"ObserveRuleIDs"` }
type WebSocket ¶
type WebSocket struct { // Whether to enable WebSocket connection timeout. Values: // <li>`on`: The field "Timeout" can be configured.</li> // <li>`off`: The field "Timeout" is fixed to 15 seconds.</li> Switch *string `json:"Switch,omitnil" name:"Switch"` // The timeout period in seconds. Maximum value: 120. Timeout *int64 `json:"Timeout,omitnil" name:"Timeout"` }
type Zone ¶
type Zone struct { // Site ID. ZoneId *string `json:"ZoneId,omitnil" name:"ZoneId"` // The site name. ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // List of name servers used by the site OriginalNameServers []*string `json:"OriginalNameServers,omitnil" name:"OriginalNameServers"` // The list of name servers assigned by Tencent Cloud. NameServers []*string `json:"NameServers,omitnil" name:"NameServers"` // The site status. Values: // u200c<li>`active`: The name server is switched to EdgeOne.</li> // u200c<li>`pending`: The name server is not switched.</li> // u200c<li>`moved`: The name server is changed to other service providers.</li> // u200c<li>`deactivated`: The site is blocked.</li> // <li>`initializing`: The site is not bound with any plan. </li> Status *string `json:"Status,omitnil" name:"Status"` // Connection mode of the site. Values: // <li>`full`: Connect via the name server.</li> // <li>`partial`: Connect via the CNAME record.</li> // <li>`noDomainAccess`: Connect without using a domain name</li> Type *string `json:"Type,omitnil" name:"Type"` // Whether the site is disabled. Paused *bool `json:"Paused,omitnil" name:"Paused"` // Whether CNAME acceleration is enabled. Values: // <li>`enabled`: Enabled</li> // <li>`disabled`: Disabled</li> CnameSpeedUp *string `json:"CnameSpeedUp,omitnil" name:"CnameSpeedUp"` // CNAME record access status. Values: // <li>`finished`: The site is verified.</li> // <li>`pending`: The site is being verified.</li> CnameStatus *string `json:"CnameStatus,omitnil" name:"CnameStatus"` // The list of resource tags. Tags []*Tag `json:"Tags,omitnil" name:"Tags"` // The list of billable resources. Resources []*Resource `json:"Resources,omitnil" name:"Resources"` // The creation time of the site. CreatedOn *string `json:"CreatedOn,omitnil" name:"CreatedOn"` // The modification date of the site. ModifiedOn *string `json:"ModifiedOn,omitnil" name:"ModifiedOn"` // The site access region. Values: // <li>`global`: Global.</li> // <li>`mainland`: Chinese mainland.</li> // <li>`overseas`: Outside the Chinese mainland.</li> Area *string `json:"Area,omitnil" name:"Area"` // The custom name server information. // Note: This field may return null, indicating that no valid values can be obtained. VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil" name:"VanityNameServers"` // The custom name server IP information. // Note: This field may return null, indicating that no valid values can be obtained. VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitnil" name:"VanityNameServersIps"` // Status of the proxy. Values: // <li>`active`: Enabled</li> // <li>`inactive`: Not activated</li> // <li>`paused`: Disabled</li> ActiveStatus *string `json:"ActiveStatus,omitnil" name:"ActiveStatus"` // The site alias. It can be up to 20 characters consisting of digits, letters, hyphens (-) and underscores (_). // Note: This field may return null, indicating that no valid values can be obtained. AliasZoneName *string `json:"AliasZoneName,omitnil" name:"AliasZoneName"` // Whether it’s a fake site. Valid values: // <li>`0`: Non-fake site;</li> // <li>`1`: Fake site.</li> IsFake *int64 `json:"IsFake,omitnil" name:"IsFake"` // Lock status. Values: <li>`enable`: Normal. Modification is allowed.</li><li>`disable`: Locked. Modification is not allowed.</li><li>`plan_migrate`: Adjusting the plan. Modification is not allowed.</li> LockStatus *string `json:"LockStatus,omitnil" name:"LockStatus"` // Ownership verification information // Note: This field may return·null, indicating that no valid values can be obtained. OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil" name:"OwnershipVerification"` }
type ZoneSetting ¶
type ZoneSetting struct { // Name of the site ZoneName *string `json:"ZoneName,omitnil" name:"ZoneName"` // Site acceleration region. Values: // <li>`mainland`: Acceleration in the Chinese mainland.</li> // <li>`overseas`: Acceleration outside the Chinese mainland.</li> Area *string `json:"Area,omitnil" name:"Area"` // Node cache key configuration // Note: This field may return null, indicating that no valid values can be obtained. CacheKey *CacheKey `json:"CacheKey,omitnil" name:"CacheKey"` // The QUIC access configuration. // Note: This field may return null, indicating that no valid values can be obtained. Quic *Quic `json:"Quic,omitnil" name:"Quic"` // The POST transport configuration. // Note: This field may return null, indicating that no valid values can be obtained. PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil" name:"PostMaxSize"` // Smart compression configuration. // Note: This field may return null, indicating that no valid values can be obtained. Compression *Compression `json:"Compression,omitnil" name:"Compression"` // HTTP2 origin-pull configuration // Note: This field may return null, indicating that no valid values can be obtained. UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil" name:"UpstreamHttp2"` // Force HTTPS redirect configuration // Note: This field may return null, indicating that no valid values can be obtained. ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil" name:"ForceRedirect"` // Cache expiration time configuration // Note: This field may return null, indicating that no valid values can be obtained. CacheConfig *CacheConfig `json:"CacheConfig,omitnil" name:"CacheConfig"` // Origin server configuration. // Note: This field may return null, indicating that no valid values can be obtained. Origin *Origin `json:"Origin,omitnil" name:"Origin"` // Smart acceleration configuration // Note: This field may return null, indicating that no valid values can be obtained. SmartRouting *SmartRouting `json:"SmartRouting,omitnil" name:"SmartRouting"` // Browser cache configuration // Note: This field may return null, indicating that no valid values can be obtained. MaxAge *MaxAge `json:"MaxAge,omitnil" name:"MaxAge"` // The offline cache configuration. // Note: This field may return null, indicating that no valid values can be obtained. OfflineCache *OfflineCache `json:"OfflineCache,omitnil" name:"OfflineCache"` // WebSocket configuration. // Note: This field may return null, indicating that no valid values can be obtained. WebSocket *WebSocket `json:"WebSocket,omitnil" name:"WebSocket"` // Origin-pull client IP header configuration // Note: This field may return null, indicating that no valid values can be obtained. ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitnil" name:"ClientIpHeader"` // Cache prefresh configuration // Note: This field may return null, indicating that no valid values can be obtained. CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil" name:"CachePrefresh"` // IPv6 access configuration // Note: This field may return null, indicating that no valid values can be obtained. Ipv6 *Ipv6 `json:"Ipv6,omitnil" name:"Ipv6"` // HTTPS acceleration configuration // Note: This field may return null, indicating that no valid values can be obtained. Https *Https `json:"Https,omitnil" name:"Https"` // Whether to carry the location information of the client IP during origin-pull. // Note: This field may return `null`, indicating that no valid value can be obtained. ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil" name:"ClientIpCountry"` // Configuration of gRPC support // Note: This field may return `null`, indicating that no valid value can be obtained. Grpc *Grpc `json:"Grpc,omitnil" name:"Grpc"` // Image optimization configuration. // Note: This field may return `null`, indicating that no valid value was found. ImageOptimize *ImageOptimize `json:"ImageOptimize,omitnil" name:"ImageOptimize"` // Cross-MLC-border acceleration. // Note: This field may return `null`, indicating that no valid values can be obtained. AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil" name:"AccelerateMainland"` // Standard debugging configuration. // Note: u200dThis field may return null, indicating that no valid values can be obtained. StandardDebug *StandardDebug `json:"StandardDebug,omitnil" name:"StandardDebug"` }