Documentation
¶
Index ¶
- Constants
- type AccelerateMainland
- type AccelerateType
- type AccelerationDomain
- 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 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 CheckCertificateRequest
- type CheckCertificateRequestParams
- type CheckCertificateResponse
- type CheckCertificateResponseParams
- type Client
- 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) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
- func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, 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) CreateCredential(request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
- func (c *Client) CreateCredentialWithContext(ctx context.Context, request *CreateCredentialRequest) (response *CreateCredentialResponse, 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) CreateReplayTask(request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)
- func (c *Client) CreateReplayTaskWithContext(ctx context.Context, request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, 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) CreateSpeedTesting(request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)
- func (c *Client) CreateSpeedTestingWithContext(ctx context.Context, request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, 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) 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) DescribeAddableEntityList(request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)
- func (c *Client) DescribeAddableEntityListWithContext(ctx context.Context, request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, 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) DescribeClientRuleList(request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)
- func (c *Client) DescribeClientRuleListWithContext(ctx context.Context, request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, 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) DescribeDnsData(request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
- func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, 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) DescribeLogSets(request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)
- func (c *Client) DescribeLogSetsWithContext(ctx context.Context, request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)
- func (c *Client) DescribeLogTopicTasks(request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)
- func (c *Client) DescribeLogTopicTasksWithContext(ctx context.Context, request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, 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) DescribeSingleL7AnalysisData(request *DescribeSingleL7AnalysisDataRequest) (response *DescribeSingleL7AnalysisDataResponse, err error)
- func (c *Client) DescribeSingleL7AnalysisDataWithContext(ctx context.Context, request *DescribeSingleL7AnalysisDataRequest) (response *DescribeSingleL7AnalysisDataResponse, err error)
- func (c *Client) DescribeSpeedTestingDetails(request *DescribeSpeedTestingDetailsRequest) (response *DescribeSpeedTestingDetailsResponse, err error)
- func (c *Client) DescribeSpeedTestingDetailsWithContext(ctx context.Context, request *DescribeSpeedTestingDetailsRequest) (response *DescribeSpeedTestingDetailsResponse, err error)
- func (c *Client) DescribeSpeedTestingMetricData(request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)
- func (c *Client) DescribeSpeedTestingMetricDataWithContext(ctx context.Context, request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)
- func (c *Client) DescribeSpeedTestingQuota(request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)
- func (c *Client) DescribeSpeedTestingQuotaWithContext(ctx context.Context, request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, 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) DescribeTimingL7SourceData(request *DescribeTimingL7SourceDataRequest) (response *DescribeTimingL7SourceDataResponse, err error)
- func (c *Client) DescribeTimingL7SourceDataWithContext(ctx context.Context, request *DescribeTimingL7SourceDataRequest) (response *DescribeTimingL7SourceDataResponse, 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) DescribeWebManagedRulesData(request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
- func (c *Client) DescribeWebManagedRulesDataWithContext(ctx context.Context, request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
- func (c *Client) DescribeWebManagedRulesHitRuleDetail(request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)
- func (c *Client) DescribeWebManagedRulesHitRuleDetailWithContext(ctx context.Context, request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)
- func (c *Client) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
- func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
- func (c *Client) DescribeWebProtectionClientIpList(request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)
- func (c *Client) DescribeWebProtectionClientIpListWithContext(ctx context.Context, request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)
- func (c *Client) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
- func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
- func (c *Client) DescribeWebProtectionHitRuleDetail(request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)
- func (c *Client) DescribeWebProtectionHitRuleDetailWithContext(ctx context.Context, request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)
- func (c *Client) DescribeWebProtectionTopData(request *DescribeWebProtectionTopDataRequest) (response *DescribeWebProtectionTopDataResponse, err error)
- func (c *Client) DescribeWebProtectionTopDataWithContext(ctx context.Context, request *DescribeWebProtectionTopDataRequest) (response *DescribeWebProtectionTopDataResponse, 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) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
- func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, 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) ModifyRulePriority(request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)
- func (c *Client) ModifyRulePriorityWithContext(ctx context.Context, request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, 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) ModifySecurityWafGroupPolicy(request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)
- func (c *Client) ModifySecurityWafGroupPolicyWithContext(ctx context.Context, request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, 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) ReclaimAliasDomain(request *ReclaimAliasDomainRequest) (response *ReclaimAliasDomainResponse, err error)
- func (c *Client) ReclaimAliasDomainWithContext(ctx context.Context, request *ReclaimAliasDomainRequest) (response *ReclaimAliasDomainResponse, err error)
- func (c *Client) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
- func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
- func (c *Client) UpdateOriginProtectionIPWhitelist(request *UpdateOriginProtectionIPWhitelistRequest) (response *UpdateOriginProtectionIPWhitelistResponse, err error)
- func (c *Client) UpdateOriginProtectionIPWhitelistWithContext(ctx context.Context, request *UpdateOriginProtectionIPWhitelistRequest) (response *UpdateOriginProtectionIPWhitelistResponse, err error)
- type ClientIpCountry
- type ClientIpHeader
- type ClientRule
- type ClsLogTopicInfo
- 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 CreateCredentialRequest
- type CreateCredentialRequestParams
- type CreateCredentialResponse
- type CreateCredentialResponseParams
- 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 CreateReplayTaskRequest
- type CreateReplayTaskRequestParams
- type CreateReplayTaskResponse
- type CreateReplayTaskResponseParams
- type CreateRuleRequest
- type CreateRuleRequestParams
- type CreateRuleResponse
- type CreateRuleResponseParams
- type CreateSecurityIPGroupRequest
- type CreateSecurityIPGroupRequestParams
- type CreateSecurityIPGroupResponse
- type CreateSecurityIPGroupResponseParams
- type CreateSpeedTestingRequest
- type CreateSpeedTestingRequestParams
- type CreateSpeedTestingResponse
- type CreateSpeedTestingResponseParams
- 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 DeleteZoneRequest
- type DeleteZoneRequestParams
- type DeleteZoneResponse
- type DeleteZoneResponseParams
- type DescribeAccelerationDomainsRequest
- type DescribeAccelerationDomainsRequestParams
- type DescribeAccelerationDomainsResponse
- type DescribeAccelerationDomainsResponseParams
- type DescribeAddableEntityListRequest
- type DescribeAddableEntityListRequestParams
- type DescribeAddableEntityListResponse
- type DescribeAddableEntityListResponseParams
- 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 DescribeClientRuleListRequest
- type DescribeClientRuleListRequestParams
- type DescribeClientRuleListResponse
- type DescribeClientRuleListResponseParams
- 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 DescribeDnsDataRequest
- type DescribeDnsDataRequestParams
- type DescribeDnsDataResponse
- type DescribeDnsDataResponseParams
- type DescribeHostsSettingRequest
- type DescribeHostsSettingRequestParams
- type DescribeHostsSettingResponse
- type DescribeHostsSettingResponseParams
- type DescribeIdentificationsRequest
- type DescribeIdentificationsRequestParams
- type DescribeIdentificationsResponse
- type DescribeIdentificationsResponseParams
- type DescribeLogSetsRequest
- type DescribeLogSetsRequestParams
- type DescribeLogSetsResponse
- type DescribeLogSetsResponseParams
- type DescribeLogTopicTasksRequest
- type DescribeLogTopicTasksRequestParams
- type DescribeLogTopicTasksResponse
- type DescribeLogTopicTasksResponseParams
- 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 DescribeSingleL7AnalysisDataRequest
- type DescribeSingleL7AnalysisDataRequestParams
- type DescribeSingleL7AnalysisDataResponse
- type DescribeSingleL7AnalysisDataResponseParams
- type DescribeSpeedTestingDetailsRequest
- type DescribeSpeedTestingDetailsRequestParams
- type DescribeSpeedTestingDetailsResponse
- type DescribeSpeedTestingDetailsResponseParams
- type DescribeSpeedTestingMetricDataRequest
- type DescribeSpeedTestingMetricDataRequestParams
- type DescribeSpeedTestingMetricDataResponse
- type DescribeSpeedTestingMetricDataResponseParams
- type DescribeSpeedTestingQuotaRequest
- type DescribeSpeedTestingQuotaRequestParams
- type DescribeSpeedTestingQuotaResponse
- type DescribeSpeedTestingQuotaResponseParams
- 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 DescribeTimingL7SourceDataRequest
- type DescribeTimingL7SourceDataRequestParams
- type DescribeTimingL7SourceDataResponse
- type DescribeTimingL7SourceDataResponseParams
- type DescribeTopL7AnalysisDataRequest
- type DescribeTopL7AnalysisDataRequestParams
- type DescribeTopL7AnalysisDataResponse
- type DescribeTopL7AnalysisDataResponseParams
- type DescribeTopL7CacheDataRequest
- type DescribeTopL7CacheDataRequestParams
- type DescribeTopL7CacheDataResponse
- type DescribeTopL7CacheDataResponseParams
- type DescribeWebManagedRulesDataRequest
- type DescribeWebManagedRulesDataRequestParams
- type DescribeWebManagedRulesDataResponse
- type DescribeWebManagedRulesDataResponseParams
- type DescribeWebManagedRulesHitRuleDetailRequest
- type DescribeWebManagedRulesHitRuleDetailRequestParams
- type DescribeWebManagedRulesHitRuleDetailResponse
- type DescribeWebManagedRulesHitRuleDetailResponseParams
- type DescribeWebManagedRulesLogRequest
- type DescribeWebManagedRulesLogRequestParams
- type DescribeWebManagedRulesLogResponse
- type DescribeWebManagedRulesLogResponseParams
- type DescribeWebProtectionClientIpListRequest
- type DescribeWebProtectionClientIpListRequestParams
- type DescribeWebProtectionClientIpListResponse
- type DescribeWebProtectionClientIpListResponseParams
- type DescribeWebProtectionDataRequest
- type DescribeWebProtectionDataRequestParams
- type DescribeWebProtectionDataResponse
- type DescribeWebProtectionDataResponseParams
- type DescribeWebProtectionHitRuleDetailRequest
- type DescribeWebProtectionHitRuleDetailRequestParams
- type DescribeWebProtectionHitRuleDetailResponse
- type DescribeWebProtectionHitRuleDetailResponseParams
- type DescribeWebProtectionTopDataRequest
- type DescribeWebProtectionTopDataRequestParams
- type DescribeWebProtectionTopDataResponse
- type DescribeWebProtectionTopDataResponseParams
- type DescribeZoneSettingRequest
- type DescribeZoneSettingRequestParams
- type DescribeZoneSettingResponse
- type DescribeZoneSettingResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DetailHost
- type DiffIPWhitelist
- type DistrictStatistics
- type DnsData
- type DownloadL4LogsRequest
- type DownloadL4LogsRequestParams
- type DownloadL4LogsResponse
- type DownloadL4LogsResponseParams
- type DownloadL7LogsRequest
- type DownloadL7LogsRequestParams
- type DownloadL7LogsResponse
- type DownloadL7LogsResponseParams
- type DropPageConfig
- type DropPageDetail
- type ExceptConfig
- type ExceptUserRule
- type ExceptUserRuleCondition
- type ExceptUserRuleScope
- type FailReason
- type FileAscriptionInfo
- 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 LogSetInfo
- 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 ModifyDefaultCertificateRequest
- type ModifyDefaultCertificateRequestParams
- type ModifyDefaultCertificateResponse
- type ModifyDefaultCertificateResponseParams
- type ModifyHostsCertificateRequest
- type ModifyHostsCertificateRequestParams
- type ModifyHostsCertificateResponse
- type ModifyHostsCertificateResponseParams
- type ModifyOriginGroupRequest
- type ModifyOriginGroupRequestParams
- type ModifyOriginGroupResponse
- type ModifyOriginGroupResponseParams
- type ModifyRulePriorityRequest
- type ModifyRulePriorityRequestParams
- type ModifyRulePriorityResponse
- type ModifyRulePriorityResponseParams
- 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 ModifySecurityWafGroupPolicyRequest
- type ModifySecurityWafGroupPolicyRequestParams
- type ModifySecurityWafGroupPolicyResponse
- type ModifySecurityWafGroupPolicyResponseParams
- 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 OfflineCache
- type OptimizeAction
- type Origin
- type OriginDetail
- type OriginGroup
- type OriginInfo
- type OriginProtectionInfo
- type OriginRecord
- 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 ReclaimAliasDomainRequest
- type ReclaimAliasDomainRequestParams
- type ReclaimAliasDomainResponse
- type ReclaimAliasDomainResponseParams
- type ReclaimZoneRequest
- type ReclaimZoneRequestParams
- type ReclaimZoneResponse
- type ReclaimZoneResponseParams
- 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 SecClientIp
- type SecEntry
- type SecEntryValue
- type SecHitRuleInfo
- type SecRuleRelatedInfo
- type SecurityConfig
- type SecurityType
- type ServerCertInfo
- type SingleDataRecord
- type SingleTypeValue
- type SkipCondition
- type SlowPostConfig
- type SlowRateConfig
- type SmartRouting
- type SpeedTestingConfig
- type SpeedTestingDetailData
- type SpeedTestingInfo
- type SpeedTestingMetricData
- type SpeedTestingQuota
- type SpeedTestingStatistics
- type SpeedTestingStatus
- type SubRule
- type SubRuleItem
- type Sv
- type SwitchConfig
- type Tag
- type Task
- type TemplateConfig
- type TimingDataItem
- type TimingDataRecord
- type TimingTypeValue
- type TopDataRecord
- type TopDetailData
- type TopEntry
- type TopEntryValue
- type UpdateOriginProtectionIPWhitelistRequest
- type UpdateOriginProtectionIPWhitelistRequestParams
- type UpdateOriginProtectionIPWhitelistResponse
- type UpdateOriginProtectionIPWhitelistResponseParams
- type UpstreamHttp2
- type VanityNameServers
- type VanityNameServersIps
- type Waf
- type WafConfig
- type WafGroup
- type WafRule
- type WebLogs
- type WebSocket
- type Zone
- type ZoneSetting
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 证书不存在。 FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" // 站点状态不正确。 FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" // 内部错误。 INTERNALERROR = "InternalError" // 后台处理出错。 INTERNALERROR_BACKENDERROR = "InternalError.BackendError" // 配置已被锁定,请解除配置锁定之后在重试。 INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" // 数据库错误。 INTERNALERROR_DBERROR = "InternalError.DBError" // 获取配置失败。 INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" // 上传链接生成失败。 INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" // 获取角色失败。 INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" // 后端服务器发生未知错误。 INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" // 配额系统处理失败。 INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" // 后端服务路由地址错误。 INTERNALERROR_ROUTEERROR = "InternalError.RouteError" // 内部错误-系统错误。 INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 操作频繁,请稍后重试。 INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" // 查询字符串规则超过了限制。 INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" // HTTPS证书链错误。 INVALIDPARAMETER_CERTCHAINERROR = "InvalidParameter.CertChainError" // 证书错误。 INVALIDPARAMETER_CERTCHECKERROR = "InvalidParameter.CertCheckError" // 证书错误。 INVALIDPARAMETER_CERTCOMPLETEERROR = "InvalidParameter.CertCompleteError" // 证书错误。 INVALIDPARAMETER_CERTFORMATERROR = "InvalidParameter.CertFormatError" // HTTPS证书已过期。 INVALIDPARAMETER_CERTISEXPIRED = "InvalidParameter.CertIsExpired" // 证书错误。 INVALIDPARAMETER_CERTNOCN = "InvalidParameter.CertNoCn" // 无效的HTTPS证书。 INVALIDPARAMETER_CERTNOINFO = "InvalidParameter.CertNoInfo" // HTTPS证书和域名不匹配。 INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" // HTTPS证书和密钥不匹配。 INVALIDPARAMETER_CERTNOTMATCHKEY = "InvalidParameter.CertNotMatchKey" // 证书错误。 INVALIDPARAMETER_CERTNOTPEM = "InvalidParameter.CertNotPem" // 内部错误。 INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" // HTTPS证书即将过期。 INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" // 证书错误。 INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" // 证书错误。 INVALIDPARAMETER_CERTUNSUPPORTEDTYPE = "InvalidParameter.CertUnsupportedType" // IPv6 访问与客户端 IP 地理位置功能冲突。 INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" // CNAME模式下无法申请泛域名证书。 INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" // 源站不能和域名一致。 INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" // 域名不存在或不属于该账号。 INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" // 当前域名已开启流量调度功能。 INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" // 操作不支持条件。 INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" // 非法操作。 INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" // 非法操作-非法参数。 INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" // 非法操作-非法参数-无效action。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" // 非法操作-非法参数-无效参数值类型。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" // 非法操作-非法参数-参数名重复。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" // 非法操作-非法参数-无效参数值类型。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" // 非法操作-非法参数-参数值数量超出限制。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" // 非法操作-非法类型。 INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" // 非法条件-非法忽略大小写。 INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" // 非法条件-非法参数名称-无效的参数名称。 INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" // 非法条件-非法参数名称-匹配类型不支持参数名称。 INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" // 非法条件-非法参数值-无效的正则表达式。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" // 非法条件-非法参数值-无效的url。 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" // 非法条件-非法参数值-参数值数量为0。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" // 开启 Grpc 协议支持需要同时开启 HTTP/2 协议支持。 INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" // 域名不存在。 INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" // CNAME 未切换或者源站未路由到EO服务器。 INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" // 参数错误。 INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" // 无效的token鉴权。 INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" // 无效的token鉴权密钥。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" // 无效的token鉴权参数。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" // 无效的备源回源Host。 INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" // 无效的节点缓存。 INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" // 无效的节点缓存,遵循源站行为。 INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" // 无效的缓存键。 INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" // 无效的缓存键忽略大小写。 INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" // 无效的查询字符串。 INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" // 无效的自定义Cache Key Scheme无效。 INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" // 无效的节点缓存。 INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" // 无效的节点缓存时间。 INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" // 证书信息错误。 INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" // 无效的客户端IP请求头。 INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" // 分区域回源的源站无效。 INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" // 无效的智能加速。 INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" // 套餐包不支持智能加速配置。 INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" // 无效的自定义错误页面。 INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" // 无效的自定义错误页面。 INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" // 无效的HTTPS。 INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" // 无效的HTTPS证书。 INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" // 加密套件与TLS版本不匹配。 INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" // 无效的HTTPS HSTS。 INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" // 无效的HTTPS TLS版本。 INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" // 无效的Ipv6开关配置。 INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" // 无效的源站。 INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" // 参数错误。 INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // 套餐包不支持最大上传大小。 INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" // 无效的最大上传大小。 INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" // 套餐包不支持Quic配置。 INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" // 无效的分片回源。 INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" // 无效的请求头header。 INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" // x-forwarded-for 请求头配置无效 INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" // 无效的请求头header。 INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" // 无套餐包。 INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" // 无效的响应头header。 INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" // 无效的响应头header。 INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" // 无效的规则引擎配置。 INVALIDPARAMETER_INVALIDRULEENGINE = "InvalidParameter.InvalidRuleEngine" // 无效的规则引擎操作。 INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" // 规则不存在。 INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" // 无效的规则引擎条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" // 无效的规则引擎文件后缀条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" // 无效的规则引擎URL条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" // 无效的回源Host。 INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" // 无效的回源请求参数设置-无效查询字符串值。 INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" // URL重写的目标HOST无效。 INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" // URL重写的目标URL无效。 INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" // 无效的WebSocket。 INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" // 无效的缓存键。 INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" // 参数长度超过限制。 INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" // 源站是内网IP。 INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" // 修改源站操作中源站组Id必填。 INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" // 参数错误: 无效 "结束时间", 不在允许的查询范围内: [开始时间, 开始+ 7天] INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" // 套餐不存在。 INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" // 最大上传大小超出限制 INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" // 参数错误 INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" // 配置项参数错误。 INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" // 资源存在错误。 INVALIDPARAMETER_TARGET = "InvalidParameter.Target" // 任务无法生成。 INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" // 内部错误。 INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" // 文件上传链接存在问题。 INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" // 站点已被绑定。 INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" // 站点不存在。 INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 与已经添加的记录冲突。 INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" // DNS 记录与 DNSSEC 功能冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" // 主机记录与记录值不能取值相同。 INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" // 入参中的域名与站点参数不匹配,请更正后重试。 INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" // DNS 记录内容错误。 INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" // DNS 记录名称错误。 INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" // 加速域名状态不符合要求。 INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" // 该同名站点标识已被占用,请重新输入。 INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 本次提交的资源数超过上限。 LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" // 当天提交的资源数超过上限。 LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" // 查询时间范围超出限制。 LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" // 单位时间内接口请求频率达到限制。 LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 请联系商务开启「中国大陆网络优化(国际加速)」功能。 OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" // 有域名在共享cname组内,不可切换接入类型。 OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" // 域名被封禁,暂时无法操作。 OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" // 域名尚未备案。 OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" // 4层代理资源处于封禁中,禁止操作。 OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" // 绑定4层实例有处于非运行中的状态,禁止操作。 OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" // 回源白名单已经是最新版本,无需更新。 OPERATIONDENIED_LATESTVERSIONNOW = "OperationDenied.LatestVersionNow" // 已存在多个Cname接入站点,不允许切换至NS。 OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" // NS接入模式不支持域名流量调度功能。 OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" // DNS 记录不允许添加。 OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" // 当前有互相排斥的请求操作并行发起,请稍后重试。 OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源被本账号别称域名占用。 RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" // 当前已存在相同的别称域名,不支持重复添加 RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" // 资源被本账号Cname接入占用。 RESOURCEINUSE_CNAME = "ResourceInUse.Cname" // Dns资源被占用。 RESOURCEINUSE_DNS = "ResourceInUse.Dns" // 该域名正在解析中,如果您需要开启加速,请前往 DNS 记录页开启加速。 RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" // 已存在相同的别称域名。 RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" // 资源已被泛域名占用。 RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" // 资源被本账号的子域名占用。 RESOURCEINUSE_HOST = "ResourceInUse.Host" // 资源被本账号NS接入占用。 RESOURCEINUSE_NS = "ResourceInUse.NS" // 资源被其他用户接入。 RESOURCEINUSE_OTHERS = "ResourceInUse.Others" // 资源被其他账号别称域名占用。 RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" // 资源被其他账号Cname接入占用。 RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" // 资源被其他账号的子域名占用。 RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" // 资源被其他账号NS接入占用。 RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" // 资源被本账号和其他账号同时Cname接入占用。 RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" // 别称域名已站点接入。 RESOURCEINUSE_ZONE = "ResourceInUse.Zone" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 最大上传大小额度未配置 RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 证书不存在或未授权。 RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" // 当前域名已接入EdgeOne,如确认需要接入到当前账号,请进行域名找回。 RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" // 请求的加速域名不存在,请更正后重试。 RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" // 域名不存在或未开启代理。 RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" // 未拉取到已开启代理的zone信息。 RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound" // 站点不存在或不属于该账号。 RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" // 资源售卖火爆,已售罄,正在加紧补货中,当前无法新增域名,请您耐心等待。 RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Cam 未授权。 UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" // 鉴权错误。 UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty" // 子账户没有操作权限,请添加权限后继续操作。 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // 后端服务器发生未知错误。 UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 别称域名不支持目标域名源站类型为对象存储。 UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos" )
const APIVersion = "2022-09-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccelerateMainland ¶ added in v1.0.647
type AccelerateMainland struct {
// 是否开启中国大陆加速优化配置,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type AccelerateType ¶
type AccelerateType struct {
// 加速开关。取值范围:
// <li> on:打开;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type AccelerationDomain ¶ added in v1.0.591
type AccelerationDomain struct {
// 源站信息。
// 注意:此字段可能返回 null,表示取不到有效值。
OriginDetail *OriginDetail `json:"OriginDetail,omitempty" name:"OriginDetail"`
// 创建时间。
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 加速域名名称。
DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
// 修改时间。
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速域名状态,取值有:
// <li>online:已生效;</li>
// <li>process:部署中;</li>
// <li>offline:已停用;</li>
// <li>forbidden:已封禁;</li>
// <li>init:未生效,待激活站点;</li>
DomainStatus *string `json:"DomainStatus,omitempty" name:"DomainStatus"`
// CNAME 地址。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 加速域名归属权验证状态,取值有: <li>pending:待验证;</li> <li>finished:已完成验证。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
IdentificationStatus *string `json:"IdentificationStatus,omitempty" name:"IdentificationStatus"`
}
type AclCondition ¶
type AclCondition struct {
// 匹配字段,取值有:
// <li>host:请求域名;</li>
// <li>sip:客户端IP;</li>
// <li>ua:User-Agent;</li>
// <li>cookie:会话 Cookie;</li>
// <li>cgi:CGI 脚本;</li>
// <li>xff:XFF 扩展头部;</li>
// <li>url:请求 URL;</li>
// <li>accept:请求内容类型;</li>
// <li>method:请求方式;</li>
// <li>header:请求头部;</li>
// <li>app_proto:应用层协议;</li>
// <li>sip_proto:网络层协议;</li>
// <li>uabot:UA 特征规则,仅bot自定义规则可用;</li>
// <li>idcid:IDC 规则,仅bot自定义规则可用;</li>
// <li>sipbot:搜索引擎规则,仅bot自定义规则可用;</li>
// <li>portrait:画像分析,仅bot自定义规则可用;</li>
// <li>header_seq:请求头顺序,仅bot自定义规则可用。</li>
MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`
// 匹配字符串。当 MatchFrom 为 header 时,可以填入 header 的 key 作为参数。
MatchParam *string `json:"MatchParam,omitempty" name:"MatchParam"`
// 匹配关系,取值有:
// <li>equal:字符串等于;</li>
// <li>not_equal:数值不等于;</li>
// <li>include:字符包含;</li>
// <li>not_include:字符不包含;</li>
// <li>match:ip匹配;</li>
// <li>not_match:ip不匹配;</li>
// <li>include_area:地域包含;</li>
// <li>is_empty:存在字段但值为空;</li>
// <li>not_exists:不存在关键字段;</li>
// <li>regexp:正则匹配;</li>
// <li>len_gt:数值大于;</li>
// <li>len_lt:数值小于;</li>
// <li>len_eq:数值等于;</li>
// <li>match_prefix:前缀匹配;</li>
// <li>match_suffix:后缀匹配;</li>
// <li>wildcard:通配符。</li>
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 匹配内容。
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}
type AclConfig ¶
type AclConfig struct {
// 开关,取值有:
// <li> on:开启;</li>
// <li> off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 用户自定义规则。
AclUserRules []*AclUserRule `json:"AclUserRules,omitempty" name:"AclUserRules"`
// 托管定制规则
// 注意:此字段可能返回 null,表示取不到有效值。
Customizes []*AclUserRule `json:"Customizes,omitempty" name:"Customizes"`
}
type AclUserRule ¶
type AclUserRule struct {
// 规则名。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 处罚动作,取值有:
// <li>trans:放行;</li>
// <li>drop:拦截;</li>
// <li>monitor:观察;</li>
// <li>ban:IP封禁;</li>
// <li>redirect:重定向;</li>
// <li>page:指定页面;</li>
// <li>alg:Javascript挑战。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 规则状态,取值有:
// <li>on:生效;</li>
// <li>off:失效。</li>
RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`
// 自定义规则。
AclConditions []*AclCondition `json:"AclConditions,omitempty" name:"AclConditions"`
// 规则优先级,取值范围0-100。
RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
// 规则Id。仅出参使用。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 更新时间。仅出参使用。
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// ip封禁的惩罚时间,取值范围0-2天。默认为0。
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// ip封禁的惩罚时间单位,取值有:
// <li>second:秒;</li>
// <li>minutes:分;</li>
// <li>hour:小时。</li>默认为second。
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`
// 自定义返回页面的名称。默认为空字符串。
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义返回页面的实例id。默认为0。
// 注意:此字段可能返回 null,表示取不到有效值。
PageId *int64 `json:"PageId,omitempty" name:"PageId"`
// 重定向时候的地址,必须为本用户接入的站点子域名。默认为空字符串。
// 注意:此字段可能返回 null,表示取不到有效值。
RedirectUrl *string `json:"RedirectUrl,omitempty" name:"RedirectUrl"`
// 重定向时候的返回码。默认为0。
// 注意:此字段可能返回 null,表示取不到有效值。
ResponseCode *int64 `json:"ResponseCode,omitempty" name:"ResponseCode"`
}
type Action ¶
type Action struct {
// 常规功能操作,选择该类型的功能项有:
// <li> 访问URL 重写(AccessUrlRedirect);</li>
// <li> 回源 URL 重写 (UpstreamUrlRedirect);</li>
// <li> QUIC(QUIC);</li>
// <li> WebSocket (WebSocket);</li>
// <li> 视频拖拽(VideoSeek);</li>
// <li> Token 鉴权(Authentication);</li>
// <li> 自定义CacheKey(CacheKey);</li>
// <li> 节点缓存 TTL (Cache);</li>
// <li> 浏览器缓存 TTL(MaxAge);</li>
// <li> 离线缓存(OfflineCache);</li>
// <li> 智能加速(SmartRouting);</li>
// <li> 分片回源(RangeOriginPull);</li>
// <li> HTTP/2 回源(UpstreamHttp2);</li>
// <li> Host Header 重写(HostHeader);</li>
// <li> 强制 HTTPS(ForceRedirect);</li>
// <li> 回源 HTTPS(OriginPullProtocol);</li>
// <li> 缓存预刷新(CachePrefresh);</li>
// <li> 智能压缩(Compression);</li>
// <li> Hsts;</li>
// <li> ClientIpHeader;</li>
// <li> SslTlsSecureConf;</li>
// <li> OcspStapling;</li>
// <li> HTTP/2 访问(Http2);</li>
// <li> 回源跟随重定向(UpstreamFollowRedirect);</li>
// <li> 修改源站(Origin)。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
NormalAction *NormalAction `json:"NormalAction,omitempty" name:"NormalAction"`
// 带有请求头/响应头的功能操作,选择该类型的功能项有:
// <li> 修改 HTTP 请求头(RequestHeader);</li>
// <li> 修改HTTP响应头(ResponseHeader)。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
RewriteAction *RewriteAction `json:"RewriteAction,omitempty" name:"RewriteAction"`
// 带有状态码的功能操作,选择该类型的功能项有:
// <li> 自定义错误页面(ErrorPage);</li>
// <li> 状态码缓存 TTL(StatusCodeCache)。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
CodeAction *CodeAction `json:"CodeAction,omitempty" name:"CodeAction"`
}
type AdvancedFilter ¶
type AiRule ¶
type AiRule struct {
// AI规则引擎状态,取值有:
// <li> smart_status_close:关闭;</li>
// <li> smart_status_open:拦截处置;</li>
// <li> smart_status_observe:观察处置。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
type AlgDetectJS ¶ added in v1.0.632
type AlgDetectJS struct {
// 操作名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 工作量证明 (proof_Of-Work)校验强度,默认low,取值有:
// <li>low:低;</li>
// <li>middle:中;</li>
// <li>high:高。</li>
WorkLevel *string `json:"WorkLevel,omitempty" name:"WorkLevel"`
// 执行方式,js延迟执行的时间。单位为ms,默认500,取值:0~1000。
ExecuteMode *int64 `json:"ExecuteMode,omitempty" name:"ExecuteMode"`
// 客户端末启用JS(末完成检测)统计周期。单位为秒,默认10,取值:5~3600。
InvalidStatTime *int64 `json:"InvalidStatTime,omitempty" name:"InvalidStatTime"`
// 客户端末启用JS(末完成检测)触发阈值。单位为次,默认300,取值:1~100000000。
InvalidThreshold *int64 `json:"InvalidThreshold,omitempty" name:"InvalidThreshold"`
// Bot主动特征识别客户端行为校验结果。
AlgDetectResults []*AlgDetectResult `json:"AlgDetectResults,omitempty" name:"AlgDetectResults"`
}
type AlgDetectResult ¶ added in v1.0.632
type AlgDetectResult struct {
// 校验结果,取值有:
// <li>invalid:不合法Cookie;</li>
// <li>cookie_empty:末携带Cookie或Cookie己过期;</li>
// <li>js_empty:客户端末启用JS(末完成检测);</li>
// <li>low:会话速率和周期特征校验低风险;</li>
// <li>middle:会话速率和周期特征校验中风险;</li>
// <li>high:会话速率和周期特征校验高风险;</li>
// <li>timeout:检测超时时长;</li>
// <li>not_browser:不合法浏览器;</li>
// <li>is_bot:Bot客户端。</li>
Result *string `json:"Result,omitempty" name:"Result"`
// 处罚动作,取值有:
// <li>drop:拦截;</li>
// <li>monitor:观察;</li>
// <li>silence:静默;</li>
// <li>shortdelay:(短时间)等待后响应;</li>
// <li>longdelay:(长时间)等待后响应。</li>
Action *string `json:"Action,omitempty" name:"Action"`
}
type AlgDetectRule ¶ added in v1.0.632
type AlgDetectRule struct {
// 规则id。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 规则名。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则开关。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 自定义规则。
AlgConditions []*AclCondition `json:"AlgConditions,omitempty" name:"AlgConditions"`
// Cookie校验和会话行为分析。
// 注意:此字段可能返回 null,表示取不到有效值。
AlgDetectSession *AlgDetectSession `json:"AlgDetectSession,omitempty" name:"AlgDetectSession"`
// 客户端行为校验。
AlgDetectJS []*AlgDetectJS `json:"AlgDetectJS,omitempty" name:"AlgDetectJS"`
// 更新时间。仅出参使用。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type AlgDetectSession ¶ added in v1.0.632
type AlgDetectSession struct {
// 操作名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 校验方式,默认update_detect,取值有:
// <li>detect:仅校验;</li>
// <li>update_detect:更新Cookie并校验。</li>
DetectMode *string `json:"DetectMode,omitempty" name:"DetectMode"`
// 会话速率和周期特征校验开关,默认off,取值有:
// <li>off:关闭;</li>
// <li>on:打开。</li>
SessionAnalyzeSwitch *string `json:"SessionAnalyzeSwitch,omitempty" name:"SessionAnalyzeSwitch"`
// 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。
InvalidStatTime *int64 `json:"InvalidStatTime,omitempty" name:"InvalidStatTime"`
// 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。
InvalidThreshold *int64 `json:"InvalidThreshold,omitempty" name:"InvalidThreshold"`
// Cookie校验校验结果。
AlgDetectResults []*AlgDetectResult `json:"AlgDetectResults,omitempty" name:"AlgDetectResults"`
// 会话速率和周期特征校验结果。
SessionBehaviors []*AlgDetectResult `json:"SessionBehaviors,omitempty" name:"SessionBehaviors"`
}
type AliasDomain ¶ added in v1.0.510
type AliasDomain struct {
// 别称域名名称。
AliasName *string `json:"AliasName,omitempty" name:"AliasName"`
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 别称域名状态,取值有:
// <li> active:已生效; </li>
// <li> pending:部署中;</li>
// <li> conflict:被找回。 </li>
// <li> stop:已停用;</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 封禁模式,取值有:
// <li> 0:未封禁; </li>
// <li> 11:合规封禁;</li>
// <li> 14:未备案封禁。</li>
ForbidMode *int64 `json:"ForbidMode,omitempty" name:"ForbidMode"`
// 别称域名创建时间。
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 别称域名修改时间。
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
}
type ApplicationProxy ¶
type ApplicationProxy struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 当ProxyType=hostname时,表示域名或子域名;
// 当ProxyType=instance时,表示代理名称。
ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// 调度模式,取值有:
// <li>ip:表示Anycast IP调度;</li>
// <li>domain:表示CNAME调度。</li>
PlatType *string `json:"PlatType,omitempty" name:"PlatType"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
// 默认值:overseas
Area *string `json:"Area,omitempty" name:"Area"`
// 是否开启安全,取值有:
// <li>0:关闭安全;</li>
// <li>1:开启安全。</li>
SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`
// 是否开启加速,取值有:
// <li>0:关闭加速;</li>
// <li>1:开启加速。</li>
AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 会话保持时间。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用;</li>
// <li>progress:部署中;</li>
// <li>stopping:停用中;</li>
// <li>fail:部署失败/停用失败。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 封禁状态,取值有:
// <li>banned:已封禁;</li>
// <li>banning:封禁中;</li>
// <li>recover:已解封;</li>
// <li>recovering:解封禁中。</li>
BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`
// 调度信息。
ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"`
// 当ProxyType=hostname时:
// 表示代理加速唯一标识。
HostId *string `json:"HostId,omitempty" name:"HostId"`
// Ipv6访问配置。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 更新时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 规则列表。
ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitempty" name:"ApplicationProxyRules"`
}
type ApplicationProxyRule ¶
type ApplicationProxyRule struct {
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// <li>单个端口,如:80。</li>
// <li>端口段,如:81-82。表示81,82两个端口。</li>
// 注意:一条规则最多可填写20个端口。
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值有:
// <li>custom:手动添加;</li>
// <li>origins:源站组。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
// <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用;</li>
// <li>progress:部署中;</li>
// <li>stopping:停用中;</li>
// <li>fail:部署失败/停用失败。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 传递客户端IP,取值有:
// <li>TOA:TOA(仅Proto=TCP时可选);</li>
// <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
// <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
// <li>OFF:不传递。</li>默认值:OFF。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持,取值有:
// <li>true:开启;</li>
// <li>false:关闭。</li>默认值:false。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 源站端口,支持格式:
// <li>单端口,如:80。</li>
// <li>端口段:81-82,表示81,82两个端口。</li>
OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}
type AscriptionInfo ¶
type BindZoneToPlanRequest ¶ added in v1.0.539
type BindZoneToPlanRequest struct {
*tchttp.BaseRequest
// 未绑定套餐的站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 待绑定的目标套餐ID。
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
}
func NewBindZoneToPlanRequest ¶ added in v1.0.539
func NewBindZoneToPlanRequest() (request *BindZoneToPlanRequest)
func (*BindZoneToPlanRequest) FromJsonString ¶ added in v1.0.539
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 ¶ added in v1.0.539
func (r *BindZoneToPlanRequest) ToJsonString() string
type BindZoneToPlanRequestParams ¶ added in v1.0.539
type BindZoneToPlanRequestParams struct {
// 未绑定套餐的站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 待绑定的目标套餐ID。
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
}
Predefined struct for user
type BindZoneToPlanResponse ¶ added in v1.0.539
type BindZoneToPlanResponse struct {
*tchttp.BaseResponse
Response *BindZoneToPlanResponseParams `json:"Response"`
}
func NewBindZoneToPlanResponse ¶ added in v1.0.539
func NewBindZoneToPlanResponse() (response *BindZoneToPlanResponse)
func (*BindZoneToPlanResponse) FromJsonString ¶ added in v1.0.539
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 ¶ added in v1.0.539
func (r *BindZoneToPlanResponse) ToJsonString() string
type BindZoneToPlanResponseParams ¶ added in v1.0.539
type BindZoneToPlanResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type BotConfig ¶
type BotConfig struct {
// bot开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 通用详细基础规则。如果为null,默认使用历史配置。
BotManagedRule *BotManagedRule `json:"BotManagedRule,omitempty" name:"BotManagedRule"`
// 用户画像规则。如果为null,默认使用历史配置。
BotPortraitRule *BotPortraitRule `json:"BotPortraitRule,omitempty" name:"BotPortraitRule"`
// Bot智能分析。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitempty" name:"IntelligenceRule"`
// Bot自定义规则。如果为null,默认使用历史配置。
BotUserRules []*BotUserRule `json:"BotUserRules,omitempty" name:"BotUserRules"`
// Bot主动特征识别规则。
AlgDetectRule []*AlgDetectRule `json:"AlgDetectRule,omitempty" name:"AlgDetectRule"`
// Bot托管定制策略,入参可不填,仅出参使用。
// 注意:此字段可能返回 null,表示取不到有效值。
Customizes []*BotUserRule `json:"Customizes,omitempty" name:"Customizes"`
}
type BotExtendAction ¶ added in v1.0.617
type BotExtendAction struct {
// 处置动作,取值有:
// <li>monitor:观察;</li>
// <li>alg:JavaScript挑战;</li>
// <li>captcha:托管挑战;</li>
// <li>random:随机,按照ExtendActions分配处置动作和比例;</li>
// <li>silence:静默;</li>
// <li>shortdelay:短时响应;</li>
// <li>longdelay:长时响应。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 处置方式的触发概率,范围0-100。
// 注意:此字段可能返回 null,表示取不到有效值。
Percent *uint64 `json:"Percent,omitempty" name:"Percent"`
}
type BotManagedRule ¶
type BotManagedRule struct {
// 触发规则后的处置方式,取值有:
// <li>drop:拦截;</li>
// <li>trans:放行;</li>
// <li>alg:Javascript挑战;</li>
// <li>monitor:观察。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 本规则的ID。仅出参使用。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 放行的规则ID。默认所有规则不配置放行。
// 注意:此字段可能返回 null,表示取不到有效值。
TransManagedIds []*int64 `json:"TransManagedIds,omitempty" name:"TransManagedIds"`
// JS挑战的规则ID。默认所有规则不配置JS挑战。
// 注意:此字段可能返回 null,表示取不到有效值。
AlgManagedIds []*int64 `json:"AlgManagedIds,omitempty" name:"AlgManagedIds"`
// 数字验证码的规则ID。默认所有规则不配置数字验证码。
// 注意:此字段可能返回 null,表示取不到有效值。
CapManagedIds []*int64 `json:"CapManagedIds,omitempty" name:"CapManagedIds"`
// 观察的规则ID。默认所有规则不配置观察。
// 注意:此字段可能返回 null,表示取不到有效值。
MonManagedIds []*int64 `json:"MonManagedIds,omitempty" name:"MonManagedIds"`
// 拦截的规则ID。默认所有规则不配置拦截。
// 注意:此字段可能返回 null,表示取不到有效值。
DropManagedIds []*int64 `json:"DropManagedIds,omitempty" name:"DropManagedIds"`
}
type BotPortraitRule ¶
type BotPortraitRule struct {
// 本功能的开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 本规则的ID。仅出参使用。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// JS挑战的规则ID。默认所有规则不配置JS挑战。
// 注意:此字段可能返回 null,表示取不到有效值。
AlgManagedIds []*int64 `json:"AlgManagedIds,omitempty" name:"AlgManagedIds"`
// 数字验证码的规则ID。默认所有规则不配置数字验证码。
// 注意:此字段可能返回 null,表示取不到有效值。
CapManagedIds []*int64 `json:"CapManagedIds,omitempty" name:"CapManagedIds"`
// 观察的规则ID。默认所有规则不配置观察。
// 注意:此字段可能返回 null,表示取不到有效值。
MonManagedIds []*int64 `json:"MonManagedIds,omitempty" name:"MonManagedIds"`
// 拦截的规则ID。默认所有规则不配置拦截。
// 注意:此字段可能返回 null,表示取不到有效值。
DropManagedIds []*int64 `json:"DropManagedIds,omitempty" name:"DropManagedIds"`
}
type BotUserRule ¶ added in v1.0.617
type BotUserRule struct {
// 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 处置动作,取值有:
// <li>drop:拦截;</li>
// <li>monitor:观察;</li>
// <li>trans:放行;</li>
// <li>alg:JavaScript挑战;</li>
// <li>captcha:托管挑战;</li>
// <li>random:随机处置;</li>
// <li>silence:静默;</li>
// <li>shortdelay:短时响应;</li>
// <li>longdelay:长时响应。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 规则状态,取值有:
// <li>on:生效;</li>
// <li>off:不生效。</li>默认on生效。
RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`
// 规则详情。
AclConditions []*AclCondition `json:"AclConditions,omitempty" name:"AclConditions"`
// 规则权重,取值范围0-100。
RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
// 规则id。仅出参使用。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 随机处置的处置方式及占比,非随机处置可不填暂不支持。
ExtendActions []*BotExtendAction `json:"ExtendActions,omitempty" name:"ExtendActions"`
// 过滤词,取值有:
// <li>sip:客户端ip。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreqFields []*string `json:"FreqFields,omitempty" name:"FreqFields"`
// 更新时间。
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 统计范围,字段为null时,代表source_to_eo。取值有:
// <li>source_to_eo:(响应)源站到EdgeOne。</li>
// <li>client_to_eo:(请求)客户端到EdgeOne;</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreqScope []*string `json:"FreqScope,omitempty" name:"FreqScope"`
}
type Cache ¶
type Cache struct {
// 缓存配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 缓存过期时间设置。
// 单位为秒,最大可设置为 365 天。
// 注意:此字段可能返回 null,表示取不到有效值。
CacheTime *int64 `json:"CacheTime,omitempty" name:"CacheTime"`
// 是否开启强制缓存,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
IgnoreCacheControl *string `json:"IgnoreCacheControl,omitempty" name:"IgnoreCacheControl"`
}
type CacheConfig ¶
type CacheConfig struct {
// 缓存配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Cache *Cache `json:"Cache,omitempty" name:"Cache"`
// 不缓存配置。
// 注意:此字段可能返回 null,表示取不到有效值。
NoCache *NoCache `json:"NoCache,omitempty" name:"NoCache"`
// 遵循源站配置。
// 注意:此字段可能返回 null,表示取不到有效值。
FollowOrigin *FollowOrigin `json:"FollowOrigin,omitempty" name:"FollowOrigin"`
}
type CacheKey ¶
type CacheKey struct {
// 是否开启全路径缓存,取值有:
// <li>on:开启全路径缓存(即关闭参数忽略);</li>
// <li>off:关闭全路径缓存(即开启参数忽略)。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FullUrlCache *string `json:"FullUrlCache,omitempty" name:"FullUrlCache"`
// 是否忽略大小写缓存,取值有:
// <li>on:忽略;</li>
// <li>off:不忽略。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
IgnoreCase *string `json:"IgnoreCase,omitempty" name:"IgnoreCase"`
// CacheKey 中包含请求参数。
// 注意:此字段可能返回 null,表示取不到有效值。
QueryString *QueryString `json:"QueryString,omitempty" name:"QueryString"`
}
type CachePrefresh ¶
type CheckCertificateRequest ¶
type CheckCertificateRequest struct {
*tchttp.BaseRequest
// 证书内容。
Certificate *string `json:"Certificate,omitempty" name:"Certificate"`
// 私钥内容。
PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}
func NewCheckCertificateRequest ¶
func NewCheckCertificateRequest() (request *CheckCertificateRequest)
func (*CheckCertificateRequest) FromJsonString ¶
func (r *CheckCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCertificateRequest) ToJsonString ¶
func (r *CheckCertificateRequest) ToJsonString() string
type CheckCertificateRequestParams ¶
type CheckCertificateRequestParams struct {
// 证书内容。
Certificate *string `json:"Certificate,omitempty" name:"Certificate"`
// 私钥内容。
PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}
Predefined struct for user
type CheckCertificateResponse ¶
type CheckCertificateResponse struct {
*tchttp.BaseResponse
Response *CheckCertificateResponseParams `json:"Response"`
}
func NewCheckCertificateResponse ¶
func NewCheckCertificateResponse() (response *CheckCertificateResponse)
func (*CheckCertificateResponse) FromJsonString ¶
func (r *CheckCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCertificateResponse) ToJsonString ¶
func (r *CheckCertificateResponse) ToJsonString() string
type CheckCertificateResponseParams ¶
type CheckCertificateResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" 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) BindZoneToPlan ¶ added in v1.0.539
func (c *Client) BindZoneToPlan(request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
BindZoneToPlan 将未绑定套餐的站点绑定到已有套餐
可能返回的错误码:
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 ¶ added in v1.0.539
func (c *Client) BindZoneToPlanWithContext(ctx context.Context, request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
BindZoneToPlan 将未绑定套餐的站点绑定到已有套餐
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CheckCertificate ¶
func (c *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate 校验证书
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CERTCHAINERROR = "InvalidParameter.CertChainError" INVALIDPARAMETER_CERTCHECKERROR = "InvalidParameter.CertCheckError" INVALIDPARAMETER_CERTCOMPLETEERROR = "InvalidParameter.CertCompleteError" INVALIDPARAMETER_CERTFORMATERROR = "InvalidParameter.CertFormatError" INVALIDPARAMETER_CERTISEXPIRED = "InvalidParameter.CertIsExpired" INVALIDPARAMETER_CERTNOCN = "InvalidParameter.CertNoCn" INVALIDPARAMETER_CERTNOINFO = "InvalidParameter.CertNoInfo" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_CERTNOTMATCHKEY = "InvalidParameter.CertNotMatchKey" INVALIDPARAMETER_CERTNOTPEM = "InvalidParameter.CertNotPem" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" INVALIDPARAMETER_CERTUNSUPPORTEDTYPE = "InvalidParameter.CertUnsupportedType" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CheckCertificateWithContext ¶
func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate 校验证书
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CERTCHAINERROR = "InvalidParameter.CertChainError" INVALIDPARAMETER_CERTCHECKERROR = "InvalidParameter.CertCheckError" INVALIDPARAMETER_CERTCOMPLETEERROR = "InvalidParameter.CertCompleteError" INVALIDPARAMETER_CERTFORMATERROR = "InvalidParameter.CertFormatError" INVALIDPARAMETER_CERTISEXPIRED = "InvalidParameter.CertIsExpired" INVALIDPARAMETER_CERTNOCN = "InvalidParameter.CertNoCn" INVALIDPARAMETER_CERTNOINFO = "InvalidParameter.CertNoInfo" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_CERTNOTMATCHKEY = "InvalidParameter.CertNotMatchKey" INVALIDPARAMETER_CERTNOTPEM = "InvalidParameter.CertNotPem" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" INVALIDPARAMETER_CERTUNSUPPORTEDTYPE = "InvalidParameter.CertUnsupportedType" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateAccelerationDomain ¶ added in v1.0.591
func (c *Client) CreateAccelerationDomain(request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
CreateAccelerationDomain 创建加速域名
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateAccelerationDomainWithContext ¶ added in v1.0.591
func (c *Client) CreateAccelerationDomainWithContext(ctx context.Context, request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
CreateAccelerationDomain 创建加速域名
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateAliasDomain ¶ added in v1.0.510
func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain 创建别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" RESOURCEINUSE_ZONE = "ResourceInUse.Zone" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos"
func (*Client) CreateAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain 创建别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" RESOURCEINUSE_ZONE = "ResourceInUse.Zone" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos"
func (*Client) CreateApplicationProxy ¶
func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy 创建应用代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRule ¶
func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule 创建应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" 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 创建应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" 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 创建应用代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateCredential ¶
func (c *Client) CreateCredential(request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
CreateCredential 用于创建COS回源私有凭证
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateCredentialWithContext ¶
func (c *Client) CreateCredentialWithContext(ctx context.Context, request *CreateCredentialRequest) (response *CreateCredentialResponse, err error)
CreateCredential 用于创建COS回源私有凭证
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateOriginGroup ¶
func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup 创建源站组
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" 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 创建源站组
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePlanForZone ¶
func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone 为未购买套餐的站点购买套餐
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
func (*Client) CreatePlanForZoneWithContext ¶
func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone 为未购买套餐的站点购买套餐
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
func (*Client) CreatePrefetchTask ¶
func (c *Client) CreatePrefetchTask(request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
CreatePrefetchTask 创建预热任务
可能返回的错误码:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
func (*Client) CreatePrefetchTaskWithContext ¶
func (c *Client) CreatePrefetchTaskWithContext(ctx context.Context, request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
CreatePrefetchTask 创建预热任务
可能返回的错误码:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
func (*Client) CreatePurgeTask ¶
func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask 创建清除缓存任务
可能返回的错误码:
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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreatePurgeTaskWithContext ¶
func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask 创建清除缓存任务
可能返回的错误码:
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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateReplayTask ¶
func (c *Client) CreateReplayTask(request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)
CreateReplayTask 创建刷新/预热重放任务
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
func (*Client) CreateReplayTaskWithContext ¶
func (c *Client) CreateReplayTaskWithContext(ctx context.Context, request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)
CreateReplayTask 创建刷新/预热重放任务
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 规则引擎创建规则。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" 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_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" 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_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_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateRuleWithContext ¶
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 规则引擎创建规则。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" 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_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" 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_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_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) CreateSecurityIPGroup ¶ added in v1.0.647
func (c *Client) CreateSecurityIPGroup(request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
CreateSecurityIPGroup 创建安全 IP 组
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSecurityIPGroupWithContext ¶ added in v1.0.647
func (c *Client) CreateSecurityIPGroupWithContext(ctx context.Context, request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
CreateSecurityIPGroup 创建安全 IP 组
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSpeedTesting ¶
func (c *Client) CreateSpeedTesting(request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)
CreateSpeedTesting 对用户指定的域名进行一次站点拨测
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSpeedTestingWithContext ¶
func (c *Client) CreateSpeedTestingWithContext(ctx context.Context, request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)
CreateSpeedTesting 对用户指定的域名进行一次站点拨测
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateZone ¶
func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone 用于用户接入新的站点。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" 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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateZoneWithContext ¶
func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone 用于用户接入新的站点。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" 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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DeleteAccelerationDomains ¶ added in v1.0.591
func (c *Client) DeleteAccelerationDomains(request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
DeleteAccelerationDomains 批量删除加速域名
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteAccelerationDomainsWithContext ¶ added in v1.0.591
func (c *Client) DeleteAccelerationDomainsWithContext(ctx context.Context, request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
DeleteAccelerationDomains 批量删除加速域名
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteAliasDomain ¶ added in v1.0.510
func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain 删除别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) DeleteAliasDomainWithContext(ctx context.Context, request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain 删除别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxy ¶
func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 删除应用代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyRule ¶
func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 删除应用代理规则
可能返回的错误码:
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 删除应用代理规则
可能返回的错误码:
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 删除应用代理
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteOriginGroup ¶
func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup 删除源站组
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteOriginGroupWithContext ¶
func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup 删除源站组
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRules ¶
func (c *Client) DeleteRules(request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules 批量删除规则引擎规则。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteRulesWithContext ¶
func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules 批量删除规则引擎规则。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSecurityIPGroup ¶ added in v1.0.647
func (c *Client) DeleteSecurityIPGroup(request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
DeleteSecurityIPGroup 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSecurityIPGroupWithContext ¶ added in v1.0.647
func (c *Client) DeleteSecurityIPGroupWithContext(ctx context.Context, request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
DeleteSecurityIPGroup 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteZone ¶
func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteZoneWithContext ¶
func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeAccelerationDomains ¶ added in v1.0.591
func (c *Client) DescribeAccelerationDomains(request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
DescribeAccelerationDomains 查询加速域名列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAccelerationDomainsWithContext ¶ added in v1.0.591
func (c *Client) DescribeAccelerationDomainsWithContext(ctx context.Context, request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
DescribeAccelerationDomains 查询加速域名列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAddableEntityList ¶
func (c *Client) DescribeAddableEntityList(request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)
DescribeAddableEntityList 本接口(DescribeAddableEntityList)用于查询剩余可添加的日志推送实体列表。
可能返回的错误码:
RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeAddableEntityListWithContext ¶
func (c *Client) DescribeAddableEntityListWithContext(ctx context.Context, request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)
DescribeAddableEntityList 本接口(DescribeAddableEntityList)用于查询剩余可添加的日志推送实体列表。
可能返回的错误码:
RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeAliasDomains ¶ added in v1.0.510
func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains 查询别称域名信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAliasDomainsWithContext ¶ added in v1.0.510
func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains 查询别称域名信息列表。
可能返回的错误码:
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 查询应用代理列表。
可能返回的错误码:
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 查询应用代理列表。
可能返回的错误码:
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 查询当前账户可用套餐信息列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeAvailablePlansWithContext ¶
func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans 查询当前账户可用套餐信息列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeClientRuleList ¶
func (c *Client) DescribeClientRuleList(request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)
DescribeClientRuleList 本接口(DescribeClientRuleList)用于查询封禁客户端信息列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeClientRuleListWithContext ¶
func (c *Client) DescribeClientRuleListWithContext(ctx context.Context, request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)
DescribeClientRuleList 本接口(DescribeClientRuleList)用于查询封禁客户端信息列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeContentQuota ¶
func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota 查询内容管理接口配额
可能返回的错误码:
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 查询内容管理接口配额
可能返回的错误码:
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 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
可能返回的错误码:
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 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
可能返回的错误码:
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 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" 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 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopData ¶
func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopDataWithContext ¶
func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDefaultCertificates ¶
func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates 查询默认证书列表
可能返回的错误码:
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 查询默认证书列表
可能返回的错误码:
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) DescribeDnsData ¶
func (c *Client) DescribeDnsData(request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData 获取DNS请求数统计曲线
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDnsDataWithContext ¶
func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData 获取DNS请求数统计曲线
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsSetting ¶
func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
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 用于查询域名配置信息
可能返回的错误码:
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 查询站点的验证信息。
可能返回的错误码:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" 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 查询站点的验证信息。
可能返回的错误码:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeLogSets ¶
func (c *Client) DescribeLogSets(request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)
DescribeLogSets 本接口(DescribeLogSets)用于获取日志集列表。
可能返回的错误码:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeLogSetsWithContext ¶
func (c *Client) DescribeLogSetsWithContext(ctx context.Context, request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)
DescribeLogSets 本接口(DescribeLogSets)用于获取日志集列表。
可能返回的错误码:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeLogTopicTasks ¶
func (c *Client) DescribeLogTopicTasks(request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)
DescribeLogTopicTasks 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeLogTopicTasksWithContext ¶
func (c *Client) DescribeLogTopicTasksWithContext(ctx context.Context, request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)
DescribeLogTopicTasks 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeOriginGroup ¶
func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组列表
可能返回的错误码:
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 获取源站组列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginProtection ¶ added in v1.0.570
func (c *Client) DescribeOriginProtection(request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
DescribeOriginProtection 查询源站防护信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeOriginProtectionWithContext ¶ added in v1.0.570
func (c *Client) DescribeOriginProtectionWithContext(ctx context.Context, request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
DescribeOriginProtection 查询源站防护信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeOverviewL7Data ¶
func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。
可能返回的错误码:
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 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。
可能返回的错误码:
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 查询预热任务状态
可能返回的错误码:
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 查询预热任务状态
可能返回的错误码:
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 查询清除缓存历史记录
可能返回的错误码:
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 查询清除缓存历史记录
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRules ¶
func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 查询规则引擎规则。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeRulesSetting ¶
func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeRulesSettingWithContext ¶
func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeRulesWithContext ¶
func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 查询规则引擎规则。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSingleL7AnalysisData ¶
func (c *Client) DescribeSingleL7AnalysisData(request *DescribeSingleL7AnalysisDataRequest) (response *DescribeSingleL7AnalysisDataResponse, err error)
DescribeSingleL7AnalysisData 本接口(DescribeSingleL7AnalysisData)用于查询七层流量数据分析单值数据列表,单值数据表示:指标在查询时间范围内的单个统计数据,通常表现为接口仅返回一个统计数值。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSingleL7AnalysisDataWithContext ¶
func (c *Client) DescribeSingleL7AnalysisDataWithContext(ctx context.Context, request *DescribeSingleL7AnalysisDataRequest) (response *DescribeSingleL7AnalysisDataResponse, err error)
DescribeSingleL7AnalysisData 本接口(DescribeSingleL7AnalysisData)用于查询七层流量数据分析单值数据列表,单值数据表示:指标在查询时间范围内的单个统计数据,通常表现为接口仅返回一个统计数值。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSpeedTestingDetails ¶
func (c *Client) DescribeSpeedTestingDetails(request *DescribeSpeedTestingDetailsRequest) (response *DescribeSpeedTestingDetailsResponse, err error)
DescribeSpeedTestingDetails 用于查询拨测分地区数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSpeedTestingDetailsWithContext ¶
func (c *Client) DescribeSpeedTestingDetailsWithContext(ctx context.Context, request *DescribeSpeedTestingDetailsRequest) (response *DescribeSpeedTestingDetailsResponse, err error)
DescribeSpeedTestingDetails 用于查询拨测分地区数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSpeedTestingMetricData ¶
func (c *Client) DescribeSpeedTestingMetricData(request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)
DescribeSpeedTestingMetricData 查询站点拨测结果
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSpeedTestingMetricDataWithContext ¶
func (c *Client) DescribeSpeedTestingMetricDataWithContext(ctx context.Context, request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)
DescribeSpeedTestingMetricData 查询站点拨测结果
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSpeedTestingQuota ¶
func (c *Client) DescribeSpeedTestingQuota(request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)
DescribeSpeedTestingQuota 查询站点拨测配额
可能返回的错误码:
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSpeedTestingQuotaWithContext ¶
func (c *Client) DescribeSpeedTestingQuotaWithContext(ctx context.Context, request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)
DescribeSpeedTestingQuota 查询站点拨测配额
可能返回的错误码:
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeTimingL4Data ¶
func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
可能返回的错误码:
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 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
可能返回的错误码:
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 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
可能返回的错误码:
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 本接口(DescribeTimingL7AnalysisData)查询七层数据分析类时序数据。
可能返回的错误码:
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 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
可能返回的错误码:
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 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7SourceData ¶ added in v1.0.582
func (c *Client) DescribeTimingL7SourceData(request *DescribeTimingL7SourceDataRequest) (response *DescribeTimingL7SourceDataResponse, err error)
DescribeTimingL7SourceData 本接口(DescribeTimingL7SourceData)查询七层回源分析时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7SourceDataWithContext ¶ added in v1.0.582
func (c *Client) DescribeTimingL7SourceDataWithContext(ctx context.Context, request *DescribeTimingL7SourceDataRequest) (response *DescribeTimingL7SourceDataResponse, err error)
DescribeTimingL7SourceData 本接口(DescribeTimingL7SourceData)查询七层回源分析时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisData ¶
func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
可能返回的错误码:
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 本接口(DescribeTopL7AnalysisData)用于查询七层流量前topN的数据。
可能返回的错误码:
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 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheDataWithContext ¶
func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesData ¶
func (c *Client) DescribeWebManagedRulesData(request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData 本接口(DescribeWebManagedRulesData)用于查询WAF攻击的时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesDataWithContext ¶
func (c *Client) DescribeWebManagedRulesDataWithContext(ctx context.Context, request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData 本接口(DescribeWebManagedRulesData)用于查询WAF攻击的时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesHitRuleDetail ¶
func (c *Client) DescribeWebManagedRulesHitRuleDetail(request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)
DescribeWebManagedRulesHitRuleDetail 本接口(DescribeWebManagedRulesHitRuleDetail)用于查询WAF攻击命中规则详情。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesHitRuleDetailWithContext ¶
func (c *Client) DescribeWebManagedRulesHitRuleDetailWithContext(ctx context.Context, request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)
DescribeWebManagedRulesHitRuleDetail 本接口(DescribeWebManagedRulesHitRuleDetail)用于查询WAF攻击命中规则详情。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesLog ¶
func (c *Client) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog 本接口(DescribeWebManagedRulesLog)用于查询Web攻击日志。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesLogWithContext ¶
func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog 本接口(DescribeWebManagedRulesLog)用于查询Web攻击日志。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionClientIpList ¶
func (c *Client) DescribeWebProtectionClientIpList(request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)
DescribeWebProtectionClientIpList 本接口(DescribeWebProtectionClientIpList)用于查询CC防护客户端(攻击源)IP信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DescribeWebProtectionClientIpListWithContext ¶
func (c *Client) DescribeWebProtectionClientIpListWithContext(ctx context.Context, request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)
DescribeWebProtectionClientIpList 本接口(DescribeWebProtectionClientIpList)用于查询CC防护客户端(攻击源)IP信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded"
func (*Client) DescribeWebProtectionData ¶
func (c *Client) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData 本接口(DescribeWebProtectionData)用于查询CC防护时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionDataWithContext ¶
func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData 本接口(DescribeWebProtectionData)用于查询CC防护时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionHitRuleDetail ¶
func (c *Client) DescribeWebProtectionHitRuleDetail(request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)
DescribeWebProtectionHitRuleDetail 本接口(DescribeWebProtectionHitRuleDetail)用于查询CC防护命中规则详情列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionHitRuleDetailWithContext ¶
func (c *Client) DescribeWebProtectionHitRuleDetailWithContext(ctx context.Context, request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)
DescribeWebProtectionHitRuleDetail 本接口(DescribeWebProtectionHitRuleDetail)用于查询CC防护命中规则详情列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionTopData ¶
func (c *Client) DescribeWebProtectionTopData(request *DescribeWebProtectionTopDataRequest) (response *DescribeWebProtectionTopDataResponse, err error)
DescribeWebProtectionTopData 本接口(DescribeWebProtectionTopData)用于查询CC防护的Top数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionTopDataWithContext ¶
func (c *Client) DescribeWebProtectionTopDataWithContext(ctx context.Context, request *DescribeWebProtectionTopDataRequest) (response *DescribeWebProtectionTopDataResponse, err error)
DescribeWebProtectionTopData 本接口(DescribeWebProtectionTopData)用于查询CC防护的Top数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneSetting ¶
func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting 用于查询站点的所有配置信息。
可能返回的错误码:
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"
func (*Client) DescribeZoneSettingWithContext ¶
func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting 用于查询站点的所有配置信息。
可能返回的错误码:
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"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 用户查询用户站点信息列表,支持分页。
可能返回的错误码:
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 用户查询用户站点信息列表,支持分页。
可能返回的错误码:
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 本接口(DownloadL4Logs)用于下载四层离线日志。
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DownloadL4LogsWithContext ¶
func (c *Client) DownloadL4LogsWithContext(ctx context.Context, request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
DownloadL4Logs 本接口(DownloadL4Logs)用于下载四层离线日志。
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DownloadL7Logs ¶
func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs 本接口(DownloadL7Logs)下载七层离线日志。
可能返回的错误码:
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 本接口(DownloadL7Logs)下载七层离线日志。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZone ¶
func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone 用于验证站点所有权。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZoneWithContext ¶
func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone 用于验证站点所有权。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAccelerationDomain ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomain(request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
ModifyAccelerationDomain 修改加速域名信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyAccelerationDomainStatuses ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomainStatuses(request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
ModifyAccelerationDomainStatuses 批量修改加速域名状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAccelerationDomainStatusesWithContext ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomainStatusesWithContext(ctx context.Context, request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
ModifyAccelerationDomainStatuses 批量修改加速域名状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAccelerationDomainWithContext ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomainWithContext(ctx context.Context, request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
ModifyAccelerationDomain 修改加速域名信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyAliasDomain ¶ added in v1.0.510
func (c *Client) ModifyAliasDomain(request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
ModifyAliasDomain 修改别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyAliasDomainStatus ¶ added in v1.0.510
func (c *Client) ModifyAliasDomainStatus(request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
ModifyAliasDomainStatus 修改别称域名状态。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyAliasDomainStatusWithContext ¶ added in v1.0.510
func (c *Client) ModifyAliasDomainStatusWithContext(ctx context.Context, request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
ModifyAliasDomainStatus 修改别称域名状态。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) ModifyAliasDomainWithContext(ctx context.Context, request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
ModifyAliasDomain 修改别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyApplicationProxy ¶
func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy 修改应用代理
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRule ¶
func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule 修改应用代理规则
可能返回的错误码:
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 修改应用代理规则的状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRuleStatusWithContext ¶
func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus 修改应用代理规则的状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRuleWithContext ¶
func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule 修改应用代理规则
可能返回的错误码:
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 修改应用代理的状态
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyStatusWithContext ¶
func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 修改应用代理的状态
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyWithContext ¶
func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy 修改应用代理
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDefaultCertificate ¶
func (c *Client) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate 修改默认证书状态
可能返回的错误码:
FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDefaultCertificateWithContext ¶
func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate 修改默认证书状态
可能返回的错误码:
FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyHostsCertificate ¶
func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate 用于修改域名证书
可能返回的错误码:
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" 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" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" 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 用于修改域名证书
可能返回的错误码:
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" 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" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" 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 修改源站组
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyOriginGroupWithContext ¶
func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 修改源站组
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRule ¶
func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 修改规则引擎规则。
可能返回的错误码:
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_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" 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_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyRulePriority ¶
func (c *Client) ModifyRulePriority(request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)
ModifyRulePriority 修改规则引擎规则优先级
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINE = "InvalidParameter.InvalidRuleEngine" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyRulePriorityWithContext ¶
func (c *Client) ModifyRulePriorityWithContext(ctx context.Context, request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)
ModifyRulePriority 修改规则引擎规则优先级
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINE = "InvalidParameter.InvalidRuleEngine" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyRuleWithContext ¶
func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 修改规则引擎规则。
可能返回的错误码:
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_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" 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_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifySecurityIPGroup ¶ added in v1.0.647
func (c *Client) ModifySecurityIPGroup(request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
ModifySecurityIPGroup 修改安全 IP 组。
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifySecurityIPGroupWithContext ¶ added in v1.0.647
func (c *Client) ModifySecurityIPGroupWithContext(ctx context.Context, request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
ModifySecurityIPGroup 修改安全 IP 组。
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifySecurityPolicy ¶
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.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 修改Web&Bot安全配置。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifySecurityWafGroupPolicy ¶
func (c *Client) ModifySecurityWafGroupPolicy(request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)
ModifySecurityWafGroupPolicy 修改安全配置托管规则
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifySecurityWafGroupPolicyWithContext ¶
func (c *Client) ModifySecurityWafGroupPolicyWithContext(ctx context.Context, request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)
ModifySecurityWafGroupPolicy 修改安全配置托管规则
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyZone ¶
func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 修改站点信息。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" 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 用于修改站点配置
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" 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_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" 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_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" 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 用于修改站点配置
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" 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_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" 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_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneStatus ¶
func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" 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 用于开启,关闭站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" 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 修改站点信息。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ReclaimAliasDomain ¶ added in v1.0.510
func (c *Client) ReclaimAliasDomain(request *ReclaimAliasDomainRequest) (response *ReclaimAliasDomainResponse, err error)
ReclaimAliasDomain 当客户取回站定的同时会取回此站点下关联的别称域名,此时入参为ZoneId;当客户接入站点发现已被别称域名接入时通过验证之后可取回域名,此时入参为ZoneName。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ReclaimAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) ReclaimAliasDomainWithContext(ctx context.Context, request *ReclaimAliasDomainRequest) (response *ReclaimAliasDomainResponse, err error)
ReclaimAliasDomain 当客户取回站定的同时会取回此站点下关联的别称域名,此时入参为ZoneId;当客户接入站点发现已被别称域名接入时通过验证之后可取回域名,此时入参为ZoneName。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ReclaimZone ¶
func (c *Client) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ReclaimZoneWithContext ¶
func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) UpdateOriginProtectionIPWhitelist ¶ added in v1.0.570
func (c *Client) UpdateOriginProtectionIPWhitelist(request *UpdateOriginProtectionIPWhitelistRequest) (response *UpdateOriginProtectionIPWhitelistResponse, err error)
UpdateOriginProtectionIPWhitelist 更新源站防护IP白名单
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_LATESTVERSIONNOW = "OperationDenied.LatestVersionNow" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) UpdateOriginProtectionIPWhitelistWithContext ¶ added in v1.0.570
func (c *Client) UpdateOriginProtectionIPWhitelistWithContext(ctx context.Context, request *UpdateOriginProtectionIPWhitelistRequest) (response *UpdateOriginProtectionIPWhitelistResponse, err error)
UpdateOriginProtectionIPWhitelist 更新源站防护IP白名单
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_LATESTVERSIONNOW = "OperationDenied.LatestVersionNow" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
type ClientIpCountry ¶ added in v1.0.507
type ClientIpHeader ¶
type ClientRule ¶
type ClientRule struct {
// 客户端ip。
ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
// 规则类型。
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
// 规则id。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则描述。
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitempty" name:"Description"`
// 封禁状态,取值有:
// <li>block :封禁 ;</li>
// <li>allow :放行 。</li>
IpStatus *string `json:"IpStatus,omitempty" name:"IpStatus"`
// 封禁时间,采用unix秒级时间戳。
BlockTime *int64 `json:"BlockTime,omitempty" name:"BlockTime"`
// 每条数据的唯一标识id。
Id *string `json:"Id,omitempty" name:"Id"`
}
type ClsLogTopicInfo ¶
type ClsLogTopicInfo struct {
// 任务名。
TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 任务类型。
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 任务主题保存时间。
Period *int64 `json:"Period,omitempty" name:"Period"`
// 任务主题是否开启。
Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
// 任务主题是否异常。
Deleted *string `json:"Deleted,omitempty" name:"Deleted"`
// 创建时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 推送目标地址,取值有:
// <li>cls: 推送到cls;</li>
// <li>custom_enpoint: 自定义推送地址。</li>
Target *string `json:"Target,omitempty" name:"Target"`
// 日志集所属地区。
// 注意:此字段可能返回 null,表示取不到有效值。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 站点id。
// 注意:此字段可能返回 null,表示取不到有效值。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 推送任务类型,取值有:
// <li>cls:推送到cls;</li>
// <li>custom_endpoint:推送到自定义接口。</li>
LogSetType *string `json:"LogSetType,omitempty" name:"LogSetType"`
}
type CodeAction ¶
type CodeAction struct {
// 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
Action *string `json:"Action,omitempty" name:"Action"`
// 操作参数。
Parameters []*RuleCodeActionParams `json:"Parameters,omitempty" name:"Parameters"`
}
type Compression ¶
type Compression struct {
// 智能压缩配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 支持的压缩算法列表,取值有:
// <li>brotli:brotli算法;</li>
// <li>gzip:gzip算法。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Algorithms []*string `json:"Algorithms,omitempty" name:"Algorithms"`
}
type CreateAccelerationDomainRequest ¶ added in v1.0.591
type CreateAccelerationDomainRequest struct {
*tchttp.BaseRequest
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速域名名称。
DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
// 源站信息。
OriginInfo *OriginInfo `json:"OriginInfo,omitempty" name:"OriginInfo"`
}
func NewCreateAccelerationDomainRequest ¶ added in v1.0.591
func NewCreateAccelerationDomainRequest() (request *CreateAccelerationDomainRequest)
func (*CreateAccelerationDomainRequest) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *CreateAccelerationDomainRequest) ToJsonString() string
type CreateAccelerationDomainRequestParams ¶ added in v1.0.591
type CreateAccelerationDomainRequestParams struct {
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速域名名称。
DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
// 源站信息。
OriginInfo *OriginInfo `json:"OriginInfo,omitempty" name:"OriginInfo"`
}
Predefined struct for user
type CreateAccelerationDomainResponse ¶ added in v1.0.591
type CreateAccelerationDomainResponse struct {
*tchttp.BaseResponse
Response *CreateAccelerationDomainResponseParams `json:"Response"`
}
func NewCreateAccelerationDomainResponse ¶ added in v1.0.591
func NewCreateAccelerationDomainResponse() (response *CreateAccelerationDomainResponse)
func (*CreateAccelerationDomainResponse) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *CreateAccelerationDomainResponse) ToJsonString() string
type CreateAccelerationDomainResponseParams ¶ added in v1.0.591
type CreateAccelerationDomainResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateAliasDomainRequest ¶ added in v1.0.510
type CreateAliasDomainRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 别称域名名称。
AliasName *string `json:"AliasName,omitempty" name:"AliasName"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 证书配置,取值有:
// <li> none:不配置;</li>
// <li> hosting:SSL托管证书。</li>默认取值为 none。
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 当 CertType 取值为 hosting 时需填入相应证书 ID。
CertId []*string `json:"CertId,omitempty" name:"CertId"`
}
func NewCreateAliasDomainRequest ¶ added in v1.0.510
func NewCreateAliasDomainRequest() (request *CreateAliasDomainRequest)
func (*CreateAliasDomainRequest) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *CreateAliasDomainRequest) ToJsonString() string
type CreateAliasDomainRequestParams ¶ added in v1.0.510
type CreateAliasDomainRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 别称域名名称。
AliasName *string `json:"AliasName,omitempty" name:"AliasName"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 证书配置,取值有:
// <li> none:不配置;</li>
// <li> hosting:SSL托管证书。</li>默认取值为 none。
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 当 CertType 取值为 hosting 时需填入相应证书 ID。
CertId []*string `json:"CertId,omitempty" name:"CertId"`
}
Predefined struct for user
type CreateAliasDomainResponse ¶ added in v1.0.510
type CreateAliasDomainResponse struct {
*tchttp.BaseResponse
Response *CreateAliasDomainResponseParams `json:"Response"`
}
func NewCreateAliasDomainResponse ¶ added in v1.0.510
func NewCreateAliasDomainResponse() (response *CreateAliasDomainResponse)
func (*CreateAliasDomainResponse) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *CreateAliasDomainResponse) ToJsonString() string
type CreateAliasDomainResponseParams ¶ added in v1.0.510
type CreateAliasDomainResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateApplicationProxyRequest ¶
type CreateApplicationProxyRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 当 ProxyType=hostname 时,表示域名或子域名;
// 当 ProxyType=instance 时,表示代理名称。
ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`
// 调度模式,取值有:
// <li>ip:表示Anycast IP调度;</li>
// <li>domain:表示CNAME调度。</li>
PlatType *string `json:"PlatType,omitempty" name:"PlatType"`
// 是否开启安全,取值有:
// <li>0:关闭安全;</li>
// <li>1:开启安全。</li>
SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`
// 是否开启加速,取值有:
// <li>0:关闭加速;</li>
// <li>1:开启加速。</li>
AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>不填写使用默认值instance。
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// 会话保持时间,取值范围:30-3600,单位:秒。
// 不填写使用默认值600。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// Ipv6 访问配置。
// 不填写表示关闭 Ipv6 访问。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 规则详细信息。
// 不填写则不创建规则。
ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitempty" name:"ApplicationProxyRules"`
// 中国大陆加速优化配置。不填写表示关闭中国大陆加速优化。
AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitempty" 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 {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 当 ProxyType=hostname 时,表示域名或子域名;
// 当 ProxyType=instance 时,表示代理名称。
ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`
// 调度模式,取值有:
// <li>ip:表示Anycast IP调度;</li>
// <li>domain:表示CNAME调度。</li>
PlatType *string `json:"PlatType,omitempty" name:"PlatType"`
// 是否开启安全,取值有:
// <li>0:关闭安全;</li>
// <li>1:开启安全。</li>
SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"`
// 是否开启加速,取值有:
// <li>0:关闭加速;</li>
// <li>1:开启加速。</li>
AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>不填写使用默认值instance。
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// 会话保持时间,取值范围:30-3600,单位:秒。
// 不填写使用默认值600。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// Ipv6 访问配置。
// 不填写表示关闭 Ipv6 访问。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 规则详细信息。
// 不填写则不创建规则。
ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitempty" name:"ApplicationProxyRules"`
// 中国大陆加速优化配置。不填写表示关闭中国大陆加速优化。
AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitempty" 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 {
// 新增的四层代理应用ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateApplicationProxyRuleRequest ¶
type CreateApplicationProxyRuleRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// <li>80:80端口;</li>
// <li>81-90:81至90端口。</li>
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值有:
// <li>custom:手动添加;</li>
// <li>origins:源站组。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
// <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,取值有:
// <li>TOA:TOA(仅Proto=TCP时可选);</li>
// <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
// <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
// <li>OFF:不传递。</li>默认值:OFF。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持,取值有:
// <li>true:开启;</li>
// <li>false:关闭。</li>默认值:false。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 源站端口,支持格式:
// <li>单端口:80;</li>
// <li>端口段:81-90,81至90端口。</li>
OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}
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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// <li>80:80端口;</li>
// <li>81-90:81至90端口。</li>
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值有:
// <li>custom:手动添加;</li>
// <li>origins:源站组。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
// <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,取值有:
// <li>TOA:TOA(仅Proto=TCP时可选);</li>
// <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
// <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
// <li>OFF:不传递。</li>默认值:OFF。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持,取值有:
// <li>true:开启;</li>
// <li>false:关闭。</li>默认值:false。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 源站端口,支持格式:
// <li>单端口:80;</li>
// <li>端口段:81-90,81至90端口。</li>
OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}
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 {
// 规则ID
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateCredentialRequest ¶
type CreateCredentialRequest struct {
*tchttp.BaseRequest
}
func NewCreateCredentialRequest ¶
func NewCreateCredentialRequest() (request *CreateCredentialRequest)
func (*CreateCredentialRequest) FromJsonString ¶
func (r *CreateCredentialRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCredentialRequest) ToJsonString ¶
func (r *CreateCredentialRequest) ToJsonString() string
type CreateCredentialRequestParams ¶
type CreateCredentialRequestParams struct {
}
Predefined struct for user
type CreateCredentialResponse ¶
type CreateCredentialResponse struct {
*tchttp.BaseResponse
Response *CreateCredentialResponseParams `json:"Response"`
}
func NewCreateCredentialResponse ¶
func NewCreateCredentialResponse() (response *CreateCredentialResponse)
func (*CreateCredentialResponse) FromJsonString ¶
func (r *CreateCredentialResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCredentialResponse) ToJsonString ¶
func (r *CreateCredentialResponse) ToJsonString() string
type CreateCredentialResponseParams ¶
type CreateCredentialResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateOriginGroupRequest ¶
type CreateOriginGroupRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站类型,取值有:
// <li>self:自有源站;</li>
// <li>third_party:第三方源站;</li>
// <li>cos:腾讯云COS源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站组名称。
OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`
// 源站配置类型,当OriginType=self时,取值有:
// <li>area:按区域配置;</li>
// <li>weight: 按权重配置;</li>
// <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`
// 源站记录信息。
OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`
// 回源Host,仅当OriginType=self时可以设置。
HostHeader *string `json:"HostHeader,omitempty" 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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站类型,取值有:
// <li>self:自有源站;</li>
// <li>third_party:第三方源站;</li>
// <li>cos:腾讯云COS源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站组名称。
OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`
// 源站配置类型,当OriginType=self时,取值有:
// <li>area:按区域配置;</li>
// <li>weight: 按权重配置;</li>
// <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`
// 源站记录信息。
OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`
// 回源Host,仅当OriginType=self时可以设置。
HostHeader *string `json:"HostHeader,omitempty" 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 {
// 源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePlanForZoneRequest ¶
type CreatePlanForZoneRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 所要购买套餐的类型,取值有:
// <li> sta: 全球内容分发网络(不包括中国大陆)标准版套餐; </li>
// <li> sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
// <li> sta_cm: 中国大陆内容分发网络标准版套餐; </li>
// <li> sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;</li>
// <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li>
// <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li>
// <li> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li>
// <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
// <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li>
// <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li>
// <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li>
// <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://cloud.tencent.com/document/product/1552/80606">DescribeAvailablePlans</a>返回为准。
PlanType *string `json:"PlanType,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 所要购买套餐的类型,取值有:
// <li> sta: 全球内容分发网络(不包括中国大陆)标准版套餐; </li>
// <li> sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
// <li> sta_cm: 中国大陆内容分发网络标准版套餐; </li>
// <li> sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;</li>
// <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li>
// <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li>
// <li> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li>
// <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
// <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li>
// <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li>
// <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li>
// <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://cloud.tencent.com/document/product/1552/80606">DescribeAvailablePlans</a>返回为准。
PlanType *string `json:"PlanType,omitempty" 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 {
// 购买的资源名字列表。
ResourceNames []*string `json:"ResourceNames,omitempty" name:"ResourceNames"`
// 购买的订单号列表。
DealNames []*string `json:"DealNames,omitempty" name:"DealNames"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePrefetchTaskRequest ¶
type CreatePrefetchTaskRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 要预热的资源列表,每个元素格式类似如下:
// http://www.example.com/example.txt。
Targets []*string `json:"Targets,omitempty" name:"Targets"`
// 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
// 附带的http头部信息。
Headers []*Header `json:"Headers,omitempty" name:"Headers"`
}
func NewCreatePrefetchTaskRequest ¶
func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)
func (*CreatePrefetchTaskRequest) FromJsonString ¶
func (r *CreatePrefetchTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrefetchTaskRequest) ToJsonString ¶
func (r *CreatePrefetchTaskRequest) ToJsonString() string
type CreatePrefetchTaskRequestParams ¶
type CreatePrefetchTaskRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 要预热的资源列表,每个元素格式类似如下:
// http://www.example.com/example.txt。
Targets []*string `json:"Targets,omitempty" name:"Targets"`
// 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
// 附带的http头部信息。
Headers []*Header `json:"Headers,omitempty" name:"Headers"`
}
Predefined struct for user
type CreatePrefetchTaskResponse ¶
type CreatePrefetchTaskResponse struct {
*tchttp.BaseResponse
Response *CreatePrefetchTaskResponseParams `json:"Response"`
}
func NewCreatePrefetchTaskResponse ¶
func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)
func (*CreatePrefetchTaskResponse) FromJsonString ¶
func (r *CreatePrefetchTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrefetchTaskResponse) ToJsonString ¶
func (r *CreatePrefetchTaskResponse) ToJsonString() string
type CreatePrefetchTaskResponseParams ¶
type CreatePrefetchTaskResponseParams struct {
// 任务 ID。
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 失败的任务列表。
// 注意:此字段可能返回 null,表示取不到有效值。
FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePurgeTaskRequest ¶
type CreatePurgeTaskRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 清除缓存类型,取值有:
// <li>purge_url:URL;</li>
// <li>purge_prefix:前缀;</li>
// <li>purge_host:Hostname;</li>
// <li>purge_all:全部缓存;</li>
// <li>purge_cache_tag:cache-tag刷新。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 要清除缓存的资源列表,每个元素格式依据Type而定:
// 1) Type = purge_host 时:
// 形如:www.example.com 或 foo.bar.example.com。
// 2) Type = purge_prefix 时:
// 形如:http://www.example.com/example。
// 3) Type = purge_url 时:
// 形如:https://www.example.com/example.jpg。
// 4)Type = purge_all 时:
// Targets可为空,不需要填写。
// 5)Type = purge_cache_tag 时:
// 形如:tag1。
Targets []*string `json:"Targets,omitempty" name:"Targets"`
// 若有编码转换,仅清除编码转换后匹配的资源。
// 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
}
func NewCreatePurgeTaskRequest ¶
func NewCreatePurgeTaskRequest() (request *CreatePurgeTaskRequest)
func (*CreatePurgeTaskRequest) FromJsonString ¶
func (r *CreatePurgeTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePurgeTaskRequest) ToJsonString ¶
func (r *CreatePurgeTaskRequest) ToJsonString() string
type CreatePurgeTaskRequestParams ¶
type CreatePurgeTaskRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 清除缓存类型,取值有:
// <li>purge_url:URL;</li>
// <li>purge_prefix:前缀;</li>
// <li>purge_host:Hostname;</li>
// <li>purge_all:全部缓存;</li>
// <li>purge_cache_tag:cache-tag刷新。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 要清除缓存的资源列表,每个元素格式依据Type而定:
// 1) Type = purge_host 时:
// 形如:www.example.com 或 foo.bar.example.com。
// 2) Type = purge_prefix 时:
// 形如:http://www.example.com/example。
// 3) Type = purge_url 时:
// 形如:https://www.example.com/example.jpg。
// 4)Type = purge_all 时:
// Targets可为空,不需要填写。
// 5)Type = purge_cache_tag 时:
// 形如:tag1。
Targets []*string `json:"Targets,omitempty" name:"Targets"`
// 若有编码转换,仅清除编码转换后匹配的资源。
// 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"`
}
Predefined struct for user
type CreatePurgeTaskResponse ¶
type CreatePurgeTaskResponse struct {
*tchttp.BaseResponse
Response *CreatePurgeTaskResponseParams `json:"Response"`
}
func NewCreatePurgeTaskResponse ¶
func NewCreatePurgeTaskResponse() (response *CreatePurgeTaskResponse)
func (*CreatePurgeTaskResponse) FromJsonString ¶
func (r *CreatePurgeTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePurgeTaskResponse) ToJsonString ¶
func (r *CreatePurgeTaskResponse) ToJsonString() string
type CreatePurgeTaskResponseParams ¶
type CreatePurgeTaskResponseParams struct {
// 任务ID。
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 失败的任务列表及原因。
// 注意:此字段可能返回 null,表示取不到有效值。
FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateReplayTaskRequest ¶
type CreateReplayTaskRequest struct {
*tchttp.BaseRequest
// 重放任务的 ID 列表。
Ids []*string `json:"Ids,omitempty" name:"Ids"`
}
func NewCreateReplayTaskRequest ¶
func NewCreateReplayTaskRequest() (request *CreateReplayTaskRequest)
func (*CreateReplayTaskRequest) FromJsonString ¶
func (r *CreateReplayTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReplayTaskRequest) ToJsonString ¶
func (r *CreateReplayTaskRequest) ToJsonString() string
type CreateReplayTaskRequestParams ¶
type CreateReplayTaskRequestParams struct {
// 重放任务的 ID 列表。
Ids []*string `json:"Ids,omitempty" name:"Ids"`
}
Predefined struct for user
type CreateReplayTaskResponse ¶
type CreateReplayTaskResponse struct {
*tchttp.BaseResponse
Response *CreateReplayTaskResponseParams `json:"Response"`
}
func NewCreateReplayTaskResponse ¶
func NewCreateReplayTaskResponse() (response *CreateReplayTaskResponse)
func (*CreateReplayTaskResponse) FromJsonString ¶
func (r *CreateReplayTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateReplayTaskResponse) ToJsonString ¶
func (r *CreateReplayTaskResponse) ToJsonString() string
type CreateReplayTaskResponseParams ¶
type CreateReplayTaskResponseParams struct {
// 此次任务ID。
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 失败的任务列表及原因。
FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateRuleRequest ¶
type CreateRuleRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则名称,名称字符串长度 1~255。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则状态,取值有:
// <li> enable: 启用; </li>
// <li> disable: 未启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 规则内容。
Rules []*Rule `json:"Rules,omitempty" name:"Rules"`
// 规则标签。
Tags []*string `json:"Tags,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则名称,名称字符串长度 1~255。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则状态,取值有:
// <li> enable: 启用; </li>
// <li> disable: 未启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 规则内容。
Rules []*Rule `json:"Rules,omitempty" name:"Rules"`
// 规则标签。
Tags []*string `json:"Tags,omitempty" 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 {
// 规则 ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateSecurityIPGroupRequest ¶ added in v1.0.647
type CreateSecurityIPGroupRequest struct {
*tchttp.BaseRequest
// 站点 Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// IP 组信息。
IPGroup *IPGroup `json:"IPGroup,omitempty" name:"IPGroup"`
}
func NewCreateSecurityIPGroupRequest ¶ added in v1.0.647
func NewCreateSecurityIPGroupRequest() (request *CreateSecurityIPGroupRequest)
func (*CreateSecurityIPGroupRequest) FromJsonString ¶ added in v1.0.647
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 ¶ added in v1.0.647
func (r *CreateSecurityIPGroupRequest) ToJsonString() string
type CreateSecurityIPGroupRequestParams ¶ added in v1.0.647
type CreateSecurityIPGroupRequestParams struct {
// 站点 Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// IP 组信息。
IPGroup *IPGroup `json:"IPGroup,omitempty" name:"IPGroup"`
}
Predefined struct for user
type CreateSecurityIPGroupResponse ¶ added in v1.0.647
type CreateSecurityIPGroupResponse struct {
*tchttp.BaseResponse
Response *CreateSecurityIPGroupResponseParams `json:"Response"`
}
func NewCreateSecurityIPGroupResponse ¶ added in v1.0.647
func NewCreateSecurityIPGroupResponse() (response *CreateSecurityIPGroupResponse)
func (*CreateSecurityIPGroupResponse) FromJsonString ¶ added in v1.0.647
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 ¶ added in v1.0.647
func (r *CreateSecurityIPGroupResponse) ToJsonString() string
type CreateSecurityIPGroupResponseParams ¶ added in v1.0.647
type CreateSecurityIPGroupResponseParams struct {
// IP 组 Id。
GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateSpeedTestingRequest ¶
type CreateSpeedTestingRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 拨测子域名。
Host *string `json:"Host,omitempty" name:"Host"`
}
func NewCreateSpeedTestingRequest ¶
func NewCreateSpeedTestingRequest() (request *CreateSpeedTestingRequest)
func (*CreateSpeedTestingRequest) FromJsonString ¶
func (r *CreateSpeedTestingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSpeedTestingRequest) ToJsonString ¶
func (r *CreateSpeedTestingRequest) ToJsonString() string
type CreateSpeedTestingRequestParams ¶
type CreateSpeedTestingRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 拨测子域名。
Host *string `json:"Host,omitempty" name:"Host"`
}
Predefined struct for user
type CreateSpeedTestingResponse ¶
type CreateSpeedTestingResponse struct {
*tchttp.BaseResponse
Response *CreateSpeedTestingResponseParams `json:"Response"`
}
func NewCreateSpeedTestingResponse ¶
func NewCreateSpeedTestingResponse() (response *CreateSpeedTestingResponse)
func (*CreateSpeedTestingResponse) FromJsonString ¶
func (r *CreateSpeedTestingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSpeedTestingResponse) ToJsonString ¶
func (r *CreateSpeedTestingResponse) ToJsonString() string
type CreateSpeedTestingResponseParams ¶
type CreateSpeedTestingResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateZoneRequest ¶
type CreateZoneRequest struct {
*tchttp.BaseRequest
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 接入方式,取值有:
// <li> full:NS接入;</li>
// <li> partial:CNAME接入,请先调用认证站点API(IdentifyZone)进行站点归属权校验,校验通过后继续调用本接口创建站点。</li>不填写使用默认值full。
Type *string `json:"Type,omitempty" name:"Type"`
// 是否跳过站点现有的DNS记录扫描。默认值:false。
JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`
// 资源标签。
Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
// 是否允许重复接入。
// <li> true:允许重复接入;</li>
// <li> false:不允许重复接入。</li>不填写使用默认值false。
AllowDuplicates *bool `json:"AllowDuplicates,omitempty" name:"AllowDuplicates"`
// 站点别名。数字、英文、-和_组合,限制20个字符。
AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}
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 {
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 接入方式,取值有:
// <li> full:NS接入;</li>
// <li> partial:CNAME接入,请先调用认证站点API(IdentifyZone)进行站点归属权校验,校验通过后继续调用本接口创建站点。</li>不填写使用默认值full。
Type *string `json:"Type,omitempty" name:"Type"`
// 是否跳过站点现有的DNS记录扫描。默认值:false。
JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`
// 资源标签。
Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
// 是否允许重复接入。
// <li> true:允许重复接入;</li>
// <li> false:不允许重复接入。</li>不填写使用默认值false。
AllowDuplicates *bool `json:"AllowDuplicates,omitempty" name:"AllowDuplicates"`
// 站点别名。数字、英文、-和_组合,限制20个字符。
AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}
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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DDoS ¶
type DDoS struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DDoSAttackEvent ¶
type DDoSAttackEvent struct {
// 事件ID。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 攻击类型(对应交互事件名称)。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 攻击状态。
AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"`
// 攻击最大带宽。
AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"`
// 攻击包速率峰值。
AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitempty" name:"AttackPacketMaxRate"`
// 攻击开始时间,单位为s。
AttackStartTime *int64 `json:"AttackStartTime,omitempty" name:"AttackStartTime"`
// 攻击结束时间,单位为s。
AttackEndTime *int64 `json:"AttackEndTime,omitempty" name:"AttackEndTime"`
// DDoS策略组ID。
// 注意:此字段可能返回 null,表示取不到有效值。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 站点ID。
// 注意:此字段可能返回 null,表示取不到有效值。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 攻击事件所属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Area *string `json:"Area,omitempty" name:"Area"`
// 封禁解封信息。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSBlockData []*DDoSBlockData `json:"DDoSBlockData,omitempty" name:"DDoSBlockData"`
}
type DDoSBlockData ¶
type DefaultServerCertInfo ¶
type DefaultServerCertInfo struct {
// 服务器证书 ID。
// 注意:此字段可能返回 null,表示取不到有效值。
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书备注名。
// 注意:此字段可能返回 null,表示取不到有效值。
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 证书类型,取值有:
// <li>default: 默认证书;</li>
// <li>upload:用户上传;</li>
// <li>managed:腾讯云托管。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// 证书过期时间。
// 注意:此字段可能返回 null,表示取不到有效值。
ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 证书生效时间。
// 注意:此字段可能返回 null,表示取不到有效值。
EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"`
// 证书公用名。
// 注意:此字段可能返回 null,表示取不到有效值。
CommonName *string `json:"CommonName,omitempty" name:"CommonName"`
// 证书SAN域名。
// 注意:此字段可能返回 null,表示取不到有效值。
SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"`
// 部署状态,取值有:
// <li>processing: 部署中;</li>
// <li>deployed: 已部署;</li>
// <li>failed: 部署失败。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// Status为失败时,此字段返回失败原因。
// 注意:此字段可能返回 null,表示取不到有效值。
Message *string `json:"Message,omitempty" name:"Message"`
// 证书算法。
// 注意:此字段可能返回 null,表示取不到有效值。
SignAlgo *string `json:"SignAlgo,omitempty" name:"SignAlgo"`
}
type DeleteAccelerationDomainsRequest ¶ added in v1.0.591
type DeleteAccelerationDomainsRequest struct {
*tchttp.BaseRequest
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 需要删除的加速域名ID列表。
DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`
// 是否强制删除。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制删除该域名,取值有:
// <li> true:删除该域名及所有关联资源;</li>
// <li> false:当该加速域名存在关联资源时,不允许删除。</li>不填写,默认值为:false。
Force *bool `json:"Force,omitempty" name:"Force"`
}
func NewDeleteAccelerationDomainsRequest ¶ added in v1.0.591
func NewDeleteAccelerationDomainsRequest() (request *DeleteAccelerationDomainsRequest)
func (*DeleteAccelerationDomainsRequest) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *DeleteAccelerationDomainsRequest) ToJsonString() string
type DeleteAccelerationDomainsRequestParams ¶ added in v1.0.591
type DeleteAccelerationDomainsRequestParams struct {
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 需要删除的加速域名ID列表。
DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`
// 是否强制删除。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制删除该域名,取值有:
// <li> true:删除该域名及所有关联资源;</li>
// <li> false:当该加速域名存在关联资源时,不允许删除。</li>不填写,默认值为:false。
Force *bool `json:"Force,omitempty" name:"Force"`
}
Predefined struct for user
type DeleteAccelerationDomainsResponse ¶ added in v1.0.591
type DeleteAccelerationDomainsResponse struct {
*tchttp.BaseResponse
Response *DeleteAccelerationDomainsResponseParams `json:"Response"`
}
func NewDeleteAccelerationDomainsResponse ¶ added in v1.0.591
func NewDeleteAccelerationDomainsResponse() (response *DeleteAccelerationDomainsResponse)
func (*DeleteAccelerationDomainsResponse) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *DeleteAccelerationDomainsResponse) ToJsonString() string
type DeleteAccelerationDomainsResponseParams ¶ added in v1.0.591
type DeleteAccelerationDomainsResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteAliasDomainRequest ¶ added in v1.0.510
type DeleteAliasDomainRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 待删除别称域名名称。如果为空,则不执行删除操作。
AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}
func NewDeleteAliasDomainRequest ¶ added in v1.0.510
func NewDeleteAliasDomainRequest() (request *DeleteAliasDomainRequest)
func (*DeleteAliasDomainRequest) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *DeleteAliasDomainRequest) ToJsonString() string
type DeleteAliasDomainRequestParams ¶ added in v1.0.510
type DeleteAliasDomainRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 待删除别称域名名称。如果为空,则不执行删除操作。
AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}
Predefined struct for user
type DeleteAliasDomainResponse ¶ added in v1.0.510
type DeleteAliasDomainResponse struct {
*tchttp.BaseResponse
Response *DeleteAliasDomainResponseParams `json:"Response"`
}
func NewDeleteAliasDomainResponse ¶ added in v1.0.510
func NewDeleteAliasDomainResponse() (response *DeleteAliasDomainResponse)
func (*DeleteAliasDomainResponse) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *DeleteAliasDomainResponse) ToJsonString() string
type DeleteAliasDomainResponseParams ¶ added in v1.0.510
type DeleteAliasDomainResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteApplicationProxyRequest ¶
type DeleteApplicationProxyRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
func NewDeleteApplicationProxyRequest ¶
func NewDeleteApplicationProxyRequest() (request *DeleteApplicationProxyRequest)
func (*DeleteApplicationProxyRequest) FromJsonString ¶
func (r *DeleteApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRequest) ToJsonString ¶
func (r *DeleteApplicationProxyRequest) ToJsonString() string
type DeleteApplicationProxyRequestParams ¶
type DeleteApplicationProxyRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
Predefined struct for user
type DeleteApplicationProxyResponse ¶
type DeleteApplicationProxyResponse struct {
*tchttp.BaseResponse
Response *DeleteApplicationProxyResponseParams `json:"Response"`
}
func NewDeleteApplicationProxyResponse ¶
func NewDeleteApplicationProxyResponse() (response *DeleteApplicationProxyResponse)
func (*DeleteApplicationProxyResponse) FromJsonString ¶
func (r *DeleteApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyResponse) ToJsonString ¶
func (r *DeleteApplicationProxyResponse) ToJsonString() string
type DeleteApplicationProxyResponseParams ¶
type DeleteApplicationProxyResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteApplicationProxyRuleRequest ¶
type DeleteApplicationProxyRuleRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
}
func NewDeleteApplicationProxyRuleRequest ¶
func NewDeleteApplicationProxyRuleRequest() (request *DeleteApplicationProxyRuleRequest)
func (*DeleteApplicationProxyRuleRequest) FromJsonString ¶
func (r *DeleteApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRuleRequest) ToJsonString ¶
func (r *DeleteApplicationProxyRuleRequest) ToJsonString() string
type DeleteApplicationProxyRuleRequestParams ¶
type DeleteApplicationProxyRuleRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
}
Predefined struct for user
type DeleteApplicationProxyRuleResponse ¶
type DeleteApplicationProxyRuleResponse struct {
*tchttp.BaseResponse
Response *DeleteApplicationProxyRuleResponseParams `json:"Response"`
}
func NewDeleteApplicationProxyRuleResponse ¶
func NewDeleteApplicationProxyRuleResponse() (response *DeleteApplicationProxyRuleResponse)
func (*DeleteApplicationProxyRuleResponse) FromJsonString ¶
func (r *DeleteApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRuleResponse) ToJsonString ¶
func (r *DeleteApplicationProxyRuleResponse) ToJsonString() string
type DeleteApplicationProxyRuleResponseParams ¶
type DeleteApplicationProxyRuleResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteOriginGroupRequest ¶
type DeleteOriginGroupRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
}
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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
}
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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteRulesRequest ¶
type DeleteRulesRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 指定删除的规则 ID 列表。
RuleIds []*string `json:"RuleIds,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 指定删除的规则 ID 列表。
RuleIds []*string `json:"RuleIds,omitempty" 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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteSecurityIPGroupRequest ¶ added in v1.0.647
type DeleteSecurityIPGroupRequest struct {
*tchttp.BaseRequest
// 站点 Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// IP 组 Id。
GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"`
}
func NewDeleteSecurityIPGroupRequest ¶ added in v1.0.647
func NewDeleteSecurityIPGroupRequest() (request *DeleteSecurityIPGroupRequest)
func (*DeleteSecurityIPGroupRequest) FromJsonString ¶ added in v1.0.647
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 ¶ added in v1.0.647
func (r *DeleteSecurityIPGroupRequest) ToJsonString() string
type DeleteSecurityIPGroupRequestParams ¶ added in v1.0.647
type DeleteSecurityIPGroupRequestParams struct {
// 站点 Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// IP 组 Id。
GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"`
}
Predefined struct for user
type DeleteSecurityIPGroupResponse ¶ added in v1.0.647
type DeleteSecurityIPGroupResponse struct {
*tchttp.BaseResponse
Response *DeleteSecurityIPGroupResponseParams `json:"Response"`
}
func NewDeleteSecurityIPGroupResponse ¶ added in v1.0.647
func NewDeleteSecurityIPGroupResponse() (response *DeleteSecurityIPGroupResponse)
func (*DeleteSecurityIPGroupResponse) FromJsonString ¶ added in v1.0.647
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 ¶ added in v1.0.647
func (r *DeleteSecurityIPGroupResponse) ToJsonString() string
type DeleteSecurityIPGroupResponseParams ¶ added in v1.0.647
type DeleteSecurityIPGroupResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteZoneRequest ¶
type DeleteZoneRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" 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 {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" 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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeAccelerationDomainsRequest ¶ added in v1.0.591
type DescribeAccelerationDomainsRequest struct {
*tchttp.BaseRequest
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>domain-name<br> 按照【<strong>加速域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>origin-type<br> 按照【<strong>源站类型</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>origin<br> 按照【<strong>主源站地址</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>backup-origin<br> 按照【<strong>备用源站地址</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>domain-cname<br> 按照【<strong>加速CNAME名</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>share-cname<br> 按照【<strong>共享CNAME名</strong>】进行过滤。<br> 类型:String<br> 必选:否
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
// 列表排序方式,取值有:
// <li>asc:升序排列;</li>
// <li>desc:降序排列。</li>默认值为asc。
Direction *string `json:"Direction,omitempty" name:"Direction"`
// 匹配方式,取值有:
// <li>all:返回匹配所有查询条件的加速域名;</li>
// <li>any:返回匹配任意一个查询条件的加速域名。</li>默认值为all。
Match *string `json:"Match,omitempty" name:"Match"`
// 分页查询限制数目,默认值:20,上限:200。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 排序依据,取值有:
// <li>created_on:加速域名创建时间;</li>
// <li>domain-name:加速域名名称;</li>
// </li>默认根据domain-name属性排序。
Order *string `json:"Order,omitempty" name:"Order"`
}
func NewDescribeAccelerationDomainsRequest ¶ added in v1.0.591
func NewDescribeAccelerationDomainsRequest() (request *DescribeAccelerationDomainsRequest)
func (*DescribeAccelerationDomainsRequest) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *DescribeAccelerationDomainsRequest) ToJsonString() string
type DescribeAccelerationDomainsRequestParams ¶ added in v1.0.591
type DescribeAccelerationDomainsRequestParams struct {
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>domain-name<br> 按照【<strong>加速域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>origin-type<br> 按照【<strong>源站类型</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>origin<br> 按照【<strong>主源站地址</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>backup-origin<br> 按照【<strong>备用源站地址</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>domain-cname<br> 按照【<strong>加速CNAME名</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>share-cname<br> 按照【<strong>共享CNAME名</strong>】进行过滤。<br> 类型:String<br> 必选:否
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
// 列表排序方式,取值有:
// <li>asc:升序排列;</li>
// <li>desc:降序排列。</li>默认值为asc。
Direction *string `json:"Direction,omitempty" name:"Direction"`
// 匹配方式,取值有:
// <li>all:返回匹配所有查询条件的加速域名;</li>
// <li>any:返回匹配任意一个查询条件的加速域名。</li>默认值为all。
Match *string `json:"Match,omitempty" name:"Match"`
// 分页查询限制数目,默认值:20,上限:200。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 排序依据,取值有:
// <li>created_on:加速域名创建时间;</li>
// <li>domain-name:加速域名名称;</li>
// </li>默认根据domain-name属性排序。
Order *string `json:"Order,omitempty" name:"Order"`
}
Predefined struct for user
type DescribeAccelerationDomainsResponse ¶ added in v1.0.591
type DescribeAccelerationDomainsResponse struct {
*tchttp.BaseResponse
Response *DescribeAccelerationDomainsResponseParams `json:"Response"`
}
func NewDescribeAccelerationDomainsResponse ¶ added in v1.0.591
func NewDescribeAccelerationDomainsResponse() (response *DescribeAccelerationDomainsResponse)
func (*DescribeAccelerationDomainsResponse) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *DescribeAccelerationDomainsResponse) ToJsonString() string
type DescribeAccelerationDomainsResponseParams ¶ added in v1.0.591
type DescribeAccelerationDomainsResponseParams struct {
// 加速域名总数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 加速域名列表。
AccelerationDomains []*AccelerationDomain `json:"AccelerationDomains,omitempty" name:"AccelerationDomains"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeAddableEntityListRequest ¶
type DescribeAddableEntityListRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 推送数据类型,取值有:
// <li>domain:七层加速日志;</li>
// <li>application:四层加速日志;</li>
// <li>web-rateLiming:速率限制日志;</li>
// <li>web-attack:web攻击防护日志;</li>
// <li>web-rule:自定义规则日志;</li>
// <li>web-bot:Bot管理日志。</li>
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 服务区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>若为国内站账号,则默认取值为mainland;若为国际站账号,则默认取值为overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeAddableEntityListRequest ¶
func NewDescribeAddableEntityListRequest() (request *DescribeAddableEntityListRequest)
func (*DescribeAddableEntityListRequest) FromJsonString ¶
func (r *DescribeAddableEntityListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddableEntityListRequest) ToJsonString ¶
func (r *DescribeAddableEntityListRequest) ToJsonString() string
type DescribeAddableEntityListRequestParams ¶
type DescribeAddableEntityListRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 推送数据类型,取值有:
// <li>domain:七层加速日志;</li>
// <li>application:四层加速日志;</li>
// <li>web-rateLiming:速率限制日志;</li>
// <li>web-attack:web攻击防护日志;</li>
// <li>web-rule:自定义规则日志;</li>
// <li>web-bot:Bot管理日志。</li>
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 服务区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>若为国内站账号,则默认取值为mainland;若为国际站账号,则默认取值为overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeAddableEntityListResponse ¶
type DescribeAddableEntityListResponse struct {
*tchttp.BaseResponse
Response *DescribeAddableEntityListResponseParams `json:"Response"`
}
func NewDescribeAddableEntityListResponse ¶
func NewDescribeAddableEntityListResponse() (response *DescribeAddableEntityListResponse)
func (*DescribeAddableEntityListResponse) FromJsonString ¶
func (r *DescribeAddableEntityListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAddableEntityListResponse) ToJsonString ¶
func (r *DescribeAddableEntityListResponse) ToJsonString() string
type DescribeAddableEntityListResponseParams ¶
type DescribeAddableEntityListResponseParams struct {
// 查询结果的总条数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 可添加的实体列表。
// 注意:此字段可能返回 null,表示取不到有效值。
EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeAliasDomainsRequest ¶ added in v1.0.510
type DescribeAliasDomainsRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>模糊查询时仅支持过滤字段名为alias-name。
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeAliasDomainsRequest ¶ added in v1.0.510
func NewDescribeAliasDomainsRequest() (request *DescribeAliasDomainsRequest)
func (*DescribeAliasDomainsRequest) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *DescribeAliasDomainsRequest) ToJsonString() string
type DescribeAliasDomainsRequestParams ¶ added in v1.0.510
type DescribeAliasDomainsRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>模糊查询时仅支持过滤字段名为alias-name。
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeAliasDomainsResponse ¶ added in v1.0.510
type DescribeAliasDomainsResponse struct {
*tchttp.BaseResponse
Response *DescribeAliasDomainsResponseParams `json:"Response"`
}
func NewDescribeAliasDomainsResponse ¶ added in v1.0.510
func NewDescribeAliasDomainsResponse() (response *DescribeAliasDomainsResponse)
func (*DescribeAliasDomainsResponse) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *DescribeAliasDomainsResponse) ToJsonString() string
type DescribeAliasDomainsResponseParams ¶ added in v1.0.510
type DescribeAliasDomainsResponseParams struct {
// 符合条件的别称域名个数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 别称域名详细信息列表。
AliasDomains []*AliasDomain `json:"AliasDomains,omitempty" name:"AliasDomains"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeApplicationProxiesRequest ¶
type DescribeApplicationProxiesRequest struct {
*tchttp.BaseRequest
// 分页查询偏移量。默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br> 按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br> 类型:String<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" 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 {
// 分页查询偏移量。默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br> 按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br> 类型:String<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" 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 {
// 应用代理列表。
ApplicationProxies []*ApplicationProxy `json:"ApplicationProxies,omitempty" name:"ApplicationProxies"`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" 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 {
// 当前账户可购买套餐类型及相关信息。
// 注意:此字段可能返回 null,表示取不到有效值。
PlanInfo []*PlanInfo `json:"PlanInfo,omitempty" name:"PlanInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeClientRuleListRequest ¶
type DescribeClientRuleListRequest struct {
*tchttp.BaseRequest
// 查询的站点ID.
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询的子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 规则类型,取值有:
// <li>acl:自定义规则;</li>
// <li>rate:限速规则。</li>不填表示查询所有规则。
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
// 规则ID。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 客户端IP。
SourceClientIp *string `json:"SourceClientIp,omitempty" name:"SourceClientIp"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeClientRuleListRequest ¶
func NewDescribeClientRuleListRequest() (request *DescribeClientRuleListRequest)
func (*DescribeClientRuleListRequest) FromJsonString ¶
func (r *DescribeClientRuleListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClientRuleListRequest) ToJsonString ¶
func (r *DescribeClientRuleListRequest) ToJsonString() string
type DescribeClientRuleListRequestParams ¶
type DescribeClientRuleListRequestParams struct {
// 查询的站点ID.
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询的子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 规则类型,取值有:
// <li>acl:自定义规则;</li>
// <li>rate:限速规则。</li>不填表示查询所有规则。
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
// 规则ID。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 客户端IP。
SourceClientIp *string `json:"SourceClientIp,omitempty" name:"SourceClientIp"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeClientRuleListResponse ¶
type DescribeClientRuleListResponse struct {
*tchttp.BaseResponse
Response *DescribeClientRuleListResponseParams `json:"Response"`
}
func NewDescribeClientRuleListResponse ¶
func NewDescribeClientRuleListResponse() (response *DescribeClientRuleListResponse)
func (*DescribeClientRuleListResponse) FromJsonString ¶
func (r *DescribeClientRuleListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeClientRuleListResponse) ToJsonString ¶
func (r *DescribeClientRuleListResponse) ToJsonString() string
type DescribeClientRuleListResponseParams ¶
type DescribeClientRuleListResponseParams struct {
// 封禁客户端数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*ClientRule `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeContentQuotaRequest ¶
type DescribeContentQuotaRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" 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 {
// 刷新相关配额。
// 注意:此字段可能返回 null,表示取不到有效值。
PurgeQuota []*Quota `json:"PurgeQuota,omitempty" name:"PurgeQuota"`
// 预热相关配额。
// 注意:此字段可能返回 null,表示取不到有效值。
PrefetchQuota []*Quota `json:"PrefetchQuota,omitempty" name:"PrefetchQuota"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDoSAttackDataRequest ¶
type DescribeDDoSAttackDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>ddos_attackMaxBandwidth:攻击带宽峰值;</li>
// <li>ddos_attackMaxPackageRate:攻击包速率峰值 ;</li>
// <li>ddos_attackBandwidth:攻击带宽曲线;</li>
// <li>ddos_attackPackageRate:攻击包速率曲线。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// DDoS策略组ID列表,不填默认选择全部策略ID。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间与结束时间的间隔自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>ddos_attackMaxBandwidth:攻击带宽峰值;</li>
// <li>ddos_attackMaxPackageRate:攻击包速率峰值 ;</li>
// <li>ddos_attackBandwidth:攻击带宽曲线;</li>
// <li>ddos_attackPackageRate:攻击包速率曲线。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// DDoS策略组ID列表,不填默认选择全部策略ID。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间与结束时间的间隔自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// DDoS攻击数据内容列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecEntry `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDoSAttackEventRequest ¶
type DescribeDDoSAttackEventRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// ddos策略组集合,不填默认选择全部策略。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点集合,此参数必填,不填默认查询为空。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 是否展示详细信息。
ShowDetail *bool `json:"ShowDetail,omitempty" name:"ShowDetail"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据;</li>不填默认取值为global。
Area *string `json:"Area,omitempty" name:"Area"`
// 排序字段,取值有:
// <li>MaxBandWidth:带宽峰值;</li>
// <li>AttackStartTime:攻击开始时间。</li>不填默认值为:AttackStartTime。
OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`
// 排序方式,取值有:
// <li>asc:升序方式;</li>
// <li>desc:降序方式。</li>不填默认值为:desc。
OrderType *string `json:"OrderType,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// ddos策略组集合,不填默认选择全部策略。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点集合,此参数必填,不填默认查询为空。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 是否展示详细信息。
ShowDetail *bool `json:"ShowDetail,omitempty" name:"ShowDetail"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据;</li>不填默认取值为global。
Area *string `json:"Area,omitempty" name:"Area"`
// 排序字段,取值有:
// <li>MaxBandWidth:带宽峰值;</li>
// <li>AttackStartTime:攻击开始时间。</li>不填默认值为:AttackStartTime。
OrderBy *string `json:"OrderBy,omitempty" name:"OrderBy"`
// 排序方式,取值有:
// <li>asc:升序方式;</li>
// <li>desc:降序方式。</li>不填默认值为:desc。
OrderType *string `json:"OrderType,omitempty" 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 {
// DDOS攻击事件数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DDoSAttackEvent `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDoSAttackTopDataRequest ¶
type DescribeDDoSAttackTopDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的统计指标,取值有:
// <li>ddos_attackFlux_protocol:按各协议的攻击流量排行;</li>
// <li>ddos_attackPackageNum_protocol:按各协议的攻击包量排行;</li>
// <li>ddos_attackNum_attackType:按各攻击类型的攻击数量排行;</li>
// <li>ddos_attackNum_sregion:按攻击源地区的攻击数量排行;</li>
// <li>ddos_attackFlux_sip:按攻击源IP的攻击数量排行;</li>
// <li>ddos_attackFlux_sregion:按攻击源地区的攻击数量排行。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点ID集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// DDoS策略组ID集合,不填默认选择全部策略ID。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 攻击类型,取值有:
// <li>flood:洪泛攻击;</li>
// <li>icmpFlood:icmp洪泛攻击;</li>
// <li>all:所有的攻击类型。</li>不填默认为all,表示查询全部攻击类型。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:所有的协议类型。</li>不填默认为all,表示查询所有协议。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的统计指标,取值有:
// <li>ddos_attackFlux_protocol:按各协议的攻击流量排行;</li>
// <li>ddos_attackPackageNum_protocol:按各协议的攻击包量排行;</li>
// <li>ddos_attackNum_attackType:按各攻击类型的攻击数量排行;</li>
// <li>ddos_attackNum_sregion:按攻击源地区的攻击数量排行;</li>
// <li>ddos_attackFlux_sip:按攻击源IP的攻击数量排行;</li>
// <li>ddos_attackFlux_sregion:按攻击源地区的攻击数量排行。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点ID集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// DDoS策略组ID集合,不填默认选择全部策略ID。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 攻击类型,取值有:
// <li>flood:洪泛攻击;</li>
// <li>icmpFlood:icmp洪泛攻击;</li>
// <li>all:所有的攻击类型。</li>不填默认为all,表示查询全部攻击类型。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:所有的协议类型。</li>不填默认为all,表示查询所有协议。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" 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 {
// DDoS攻击Top数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopEntry `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDefaultCertificatesRequest ¶
type DescribeDefaultCertificatesRequest struct {
*tchttp.BaseRequest
// 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
// <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是 </li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:100。
Limit *int64 `json:"Limit,omitempty" 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 {
// 过滤条件,Filters.Values的上限为5。详细的过滤条件如下:
// <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是 </li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:100。
Limit *int64 `json:"Limit,omitempty" 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 {
// 证书总数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 默认证书列表。
DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitempty" name:"DefaultServerCertInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDnsDataRequest ¶
type DescribeDnsDataRequest struct {
*tchttp.BaseRequest
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone<br> 按照【<strong>站点名称</strong>】进行过滤。站点名称形如:tencent.com<br> 类型:String<br> 必选:否,仅支持填写一个站点
// <li>host<br> 按照【<strong>域名</strong>】进行过滤。域名形如:test.tencent.com<br> 类型:String<br> 必选:否,仅支持填写一个域名
// <li>type<br> 按照【<strong>DNS解析类型</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 可选项:<br> A:A记录<br> AAAA:AAAA记录<br> CNAME:CNAME记录<br> MX:MX记录<br> TXT:TXT记录<br> NS:NS记录<br> SRV:SRV记录<br> CAA:CAA记录
// <li>code<br> 按照【<strong>DNS解析状态码</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> NoError:成功<br> NXDomain:请求域不存在<br> NotImp:不支持的请求类型<br> Refused:域名服务器因为策略的原因拒绝执行请求
// <li>area<br> 按照【<strong>DNS解析地域</strong>】进行过滤。<br> 类型:String<br> 必选:否。<br> 可选项:<br> 亚洲:Asia<br> 欧洲:Europe<br> 非洲:Africa<br> 大洋洲:Oceania<br> 美洲:Americas
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 时间粒度,取值有:
// <li>min:1分钟粒度;</li>
// <li>5min:5分钟粒度;</li>
// <li>hour:1小时粒度;</li>
// <li>day:天粒度。</li>不填写,默认值为:min。
Interval *string `json:"Interval,omitempty" name:"Interval"`
}
func NewDescribeDnsDataRequest ¶
func NewDescribeDnsDataRequest() (request *DescribeDnsDataRequest)
func (*DescribeDnsDataRequest) FromJsonString ¶
func (r *DescribeDnsDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsDataRequest) ToJsonString ¶
func (r *DescribeDnsDataRequest) ToJsonString() string
type DescribeDnsDataRequestParams ¶
type DescribeDnsDataRequestParams struct {
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone<br> 按照【<strong>站点名称</strong>】进行过滤。站点名称形如:tencent.com<br> 类型:String<br> 必选:否,仅支持填写一个站点
// <li>host<br> 按照【<strong>域名</strong>】进行过滤。域名形如:test.tencent.com<br> 类型:String<br> 必选:否,仅支持填写一个域名
// <li>type<br> 按照【<strong>DNS解析类型</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 可选项:<br> A:A记录<br> AAAA:AAAA记录<br> CNAME:CNAME记录<br> MX:MX记录<br> TXT:TXT记录<br> NS:NS记录<br> SRV:SRV记录<br> CAA:CAA记录
// <li>code<br> 按照【<strong>DNS解析状态码</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> NoError:成功<br> NXDomain:请求域不存在<br> NotImp:不支持的请求类型<br> Refused:域名服务器因为策略的原因拒绝执行请求
// <li>area<br> 按照【<strong>DNS解析地域</strong>】进行过滤。<br> 类型:String<br> 必选:否。<br> 可选项:<br> 亚洲:Asia<br> 欧洲:Europe<br> 非洲:Africa<br> 大洋洲:Oceania<br> 美洲:Americas
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 时间粒度,取值有:
// <li>min:1分钟粒度;</li>
// <li>5min:5分钟粒度;</li>
// <li>hour:1小时粒度;</li>
// <li>day:天粒度。</li>不填写,默认值为:min。
Interval *string `json:"Interval,omitempty" name:"Interval"`
}
Predefined struct for user
type DescribeDnsDataResponse ¶
type DescribeDnsDataResponse struct {
*tchttp.BaseResponse
Response *DescribeDnsDataResponseParams `json:"Response"`
}
func NewDescribeDnsDataResponse ¶
func NewDescribeDnsDataResponse() (response *DescribeDnsDataResponse)
func (*DescribeDnsDataResponse) FromJsonString ¶
func (r *DescribeDnsDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsDataResponse) ToJsonString ¶
func (r *DescribeDnsDataResponse) ToJsonString() string
type DescribeDnsDataResponseParams ¶
type DescribeDnsDataResponseParams struct {
// 统计数据。
Data []*DnsData `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeHostsSettingRequest ¶
type DescribeHostsSettingRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量。默认值: 0,最小值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值: 100,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>host<br> 按照【<strong>域名</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" 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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量。默认值: 0,最小值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值: 100,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>host<br> 按照【<strong>域名</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" 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 {
// 域名列表。
DetailHosts []*DetailHost `json:"DetailHosts,omitempty" name:"DetailHosts"`
// 域名数量。
TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeIdentificationsRequest ¶
type DescribeIdentificationsRequest struct {
*tchttp.BaseRequest
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:是</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" 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 {
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:是</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" 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 {
// 符合条件的站点个数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 站点验证信息列表。
Identifications []*Identification `json:"Identifications,omitempty" name:"Identifications"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLogSetsRequest ¶
type DescribeLogSetsRequest struct {
*tchttp.BaseRequest
// 日志集所属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
}
func NewDescribeLogSetsRequest ¶
func NewDescribeLogSetsRequest() (request *DescribeLogSetsRequest)
func (*DescribeLogSetsRequest) FromJsonString ¶
func (r *DescribeLogSetsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogSetsRequest) ToJsonString ¶
func (r *DescribeLogSetsRequest) ToJsonString() string
type DescribeLogSetsRequestParams ¶
type DescribeLogSetsRequestParams struct {
// 日志集所属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
}
Predefined struct for user
type DescribeLogSetsResponse ¶
type DescribeLogSetsResponse struct {
*tchttp.BaseResponse
Response *DescribeLogSetsResponseParams `json:"Response"`
}
func NewDescribeLogSetsResponse ¶
func NewDescribeLogSetsResponse() (response *DescribeLogSetsResponse)
func (*DescribeLogSetsResponse) FromJsonString ¶
func (r *DescribeLogSetsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogSetsResponse) ToJsonString ¶
func (r *DescribeLogSetsResponse) ToJsonString() string
type DescribeLogSetsResponseParams ¶
type DescribeLogSetsResponseParams struct {
// 日志集列表数据。
// 注意:此字段可能返回 null,表示取不到有效值。
LogSetList []*LogSetInfo `json:"LogSetList,omitempty" name:"LogSetList"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLogTopicTasksRequest ¶
type DescribeLogTopicTasksRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}
func NewDescribeLogTopicTasksRequest ¶
func NewDescribeLogTopicTasksRequest() (request *DescribeLogTopicTasksRequest)
func (*DescribeLogTopicTasksRequest) FromJsonString ¶
func (r *DescribeLogTopicTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogTopicTasksRequest) ToJsonString ¶
func (r *DescribeLogTopicTasksRequest) ToJsonString() string
type DescribeLogTopicTasksRequestParams ¶
type DescribeLogTopicTasksRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
}
Predefined struct for user
type DescribeLogTopicTasksResponse ¶
type DescribeLogTopicTasksResponse struct {
*tchttp.BaseResponse
Response *DescribeLogTopicTasksResponseParams `json:"Response"`
}
func NewDescribeLogTopicTasksResponse ¶
func NewDescribeLogTopicTasksResponse() (response *DescribeLogTopicTasksResponse)
func (*DescribeLogTopicTasksResponse) FromJsonString ¶
func (r *DescribeLogTopicTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogTopicTasksResponse) ToJsonString ¶
func (r *DescribeLogTopicTasksResponse) ToJsonString() string
type DescribeLogTopicTasksResponseParams ¶
type DescribeLogTopicTasksResponseParams struct {
// 推送任务列表。
// 注意:此字段可能返回 null,表示取不到有效值。
TopicList []*ClsLogTopicInfo `json:"TopicList,omitempty" name:"TopicList"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeOriginGroupRequest ¶
type DescribeOriginGroupRequest struct {
*tchttp.BaseRequest
// 分页查询偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为10,取值:1-1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-20hzkd4rdmy0<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" 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 {
// 分页查询偏移量,默认为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为10,取值:1-1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-20hzkd4rdmy0<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" 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 {
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 源站组信息。
OriginGroups []*OriginGroup `json:"OriginGroups,omitempty" name:"OriginGroups"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeOriginProtectionRequest ¶ added in v1.0.570
type DescribeOriginProtectionRequest struct {
*tchttp.BaseRequest
// 查询的站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>need-update<br> 按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:需要更新<br> false:无需更新<br></li>
// <li>plan-support<br> 按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:支持<br> false:不支持<br></li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 分页查询偏移量,默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeOriginProtectionRequest ¶ added in v1.0.570
func NewDescribeOriginProtectionRequest() (request *DescribeOriginProtectionRequest)
func (*DescribeOriginProtectionRequest) FromJsonString ¶ added in v1.0.570
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 ¶ added in v1.0.570
func (r *DescribeOriginProtectionRequest) ToJsonString() string
type DescribeOriginProtectionRequestParams ¶ added in v1.0.570
type DescribeOriginProtectionRequestParams struct {
// 查询的站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>need-update<br> 按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:需要更新<br> false:无需更新<br></li>
// <li>plan-support<br> 按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:支持<br> false:不支持<br></li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 分页查询偏移量,默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeOriginProtectionResponse ¶ added in v1.0.570
type DescribeOriginProtectionResponse struct {
*tchttp.BaseResponse
Response *DescribeOriginProtectionResponseParams `json:"Response"`
}
func NewDescribeOriginProtectionResponse ¶ added in v1.0.570
func NewDescribeOriginProtectionResponse() (response *DescribeOriginProtectionResponse)
func (*DescribeOriginProtectionResponse) FromJsonString ¶ added in v1.0.570
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 ¶ added in v1.0.570
func (r *DescribeOriginProtectionResponse) ToJsonString() string
type DescribeOriginProtectionResponseParams ¶ added in v1.0.570
type DescribeOriginProtectionResponseParams struct {
// 源站防护信息。
// 注意:此字段可能返回 null,表示取不到有效值。
OriginProtectionInfo []*OriginProtectionInfo `json:"OriginProtectionInfo,omitempty" name:"OriginProtectionInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeOverviewL7DataRequest ¶
type DescribeOverviewL7DataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li>l7Flow_outFlux: Edegone响应流量;</li>
// <li>l7Flow_inFlux: Edgeone请求流量;</li>
// <li>l7Flow_outBandwidth: Edegone响应带宽;</li>
// <li>l7Flow_inBandwidth: Edegone请求带宽;</li>
// <li>l7Flow_hit_outFlux: 缓存命中流量;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_flux: 访问请求上行+下行流量;</li>
// <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询的域名集合,不填默认查询所有子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询的协议类型,取值有:
// <li>http: http协议;</li>
// <li>https: https协议;</li>
// <li>http2: http2协议;</li>
// <li>all: 所有协议。</li>不填默认为all,此参数暂未生效。
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li>l7Flow_outFlux: Edegone响应流量;</li>
// <li>l7Flow_inFlux: Edgeone请求流量;</li>
// <li>l7Flow_outBandwidth: Edegone响应带宽;</li>
// <li>l7Flow_inBandwidth: Edegone请求带宽;</li>
// <li>l7Flow_hit_outFlux: 缓存命中流量;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_flux: 访问请求上行+下行流量;</li>
// <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询的域名集合,不填默认查询所有子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询的协议类型,取值有:
// <li>http: http协议;</li>
// <li>https: https协议;</li>
// <li>http2: http2协议;</li>
// <li>all: 所有协议。</li>不填默认为all,此参数暂未生效。
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 七层监控类时序流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePrefetchTasksRequest ¶
type DescribePrefetchTasksRequest struct {
*tchttp.BaseRequest
// 查询起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认值:20,上限:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤。domains形如:www.qq.com。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤。<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" 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 {
// 查询起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认值:20,上限:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤。target形如:http://www.qq.com/1.txt,暂不支持多值。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤。domains形如:www.qq.com。<br> 类型:String<br> 必选:否。<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤。<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" 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 {
// 该查询条件总共条目数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 任务结果列表。
Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePurgeTasksRequest ¶
type DescribePurgeTasksRequest struct {
*tchttp.BaseRequest
// 字段已废弃,请使用Filters中的zone-id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页查询偏移量,默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查限制数目,默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-xxx,暂不支持多值<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤,target形如:http://www.qq.com/1.txt或者tag1,暂不支持多值<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤,domains形如:www.qq.com<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname<br> purge_cache_tag:CacheTag</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" 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 {
// 字段已废弃,请使用Filters中的zone-id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页查询偏移量,默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查限制数目,默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>zone-id<br> 按照【<strong>站点 ID</strong>】进行过滤。zone-id形如:zone-xxx,暂不支持多值<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>job-id<br> 按照【<strong>任务ID</strong>】进行过滤。job-id形如:1379afjk91u32h,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>target<br> 按照【<strong>目标资源信息</strong>】进行过滤,target形如:http://www.qq.com/1.txt或者tag1,暂不支持多值<br> 类型:String<br> 必选:否<br> 模糊查询:不支持</li><li>domains<br> 按照【<strong>域名</strong>】进行过滤,domains形如:www.qq.com<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。</li><li>statuses<br> 按照【<strong>任务状态</strong>】进行过滤<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname<br> purge_cache_tag:CacheTag</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" 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 {
// 该查询条件总共条目数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 任务结果列表。
Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeRulesRequest ¶
type DescribeRulesRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>rule-id<br> 按照【<strong>规则ID</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>rule-id<br> 按照【<strong>规则ID</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则列表,按规则执行顺序从先往后排序。
RuleItems []*RuleItem `json:"RuleItems,omitempty" name:"RuleItems"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" 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 {
// 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。
Actions []*RulesSettingAction `json:"Actions,omitempty" name:"Actions"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSingleL7AnalysisDataRequest ¶
type DescribeSingleL7AnalysisDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li> l7Flow_singleIpRequest:独立IP请求数。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;
// 若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
// <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<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> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天;。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeSingleL7AnalysisDataRequest ¶
func NewDescribeSingleL7AnalysisDataRequest() (request *DescribeSingleL7AnalysisDataRequest)
func (*DescribeSingleL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeSingleL7AnalysisDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSingleL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeSingleL7AnalysisDataRequest) ToJsonString() string
type DescribeSingleL7AnalysisDataRequestParams ¶
type DescribeSingleL7AnalysisDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li> l7Flow_singleIpRequest:独立IP请求数。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;
// 若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
// <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<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> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天;。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeSingleL7AnalysisDataResponse ¶
type DescribeSingleL7AnalysisDataResponse struct {
*tchttp.BaseResponse
Response *DescribeSingleL7AnalysisDataResponseParams `json:"Response"`
}
func NewDescribeSingleL7AnalysisDataResponse ¶
func NewDescribeSingleL7AnalysisDataResponse() (response *DescribeSingleL7AnalysisDataResponse)
func (*DescribeSingleL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeSingleL7AnalysisDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSingleL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeSingleL7AnalysisDataResponse) ToJsonString() string
type DescribeSingleL7AnalysisDataResponseParams ¶
type DescribeSingleL7AnalysisDataResponseParams struct {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 单值流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SingleDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSpeedTestingDetailsRequest ¶
type DescribeSpeedTestingDetailsRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeSpeedTestingDetailsRequest ¶
func NewDescribeSpeedTestingDetailsRequest() (request *DescribeSpeedTestingDetailsRequest)
func (*DescribeSpeedTestingDetailsRequest) FromJsonString ¶
func (r *DescribeSpeedTestingDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpeedTestingDetailsRequest) ToJsonString ¶
func (r *DescribeSpeedTestingDetailsRequest) ToJsonString() string
type DescribeSpeedTestingDetailsRequestParams ¶
type DescribeSpeedTestingDetailsRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeSpeedTestingDetailsResponse ¶
type DescribeSpeedTestingDetailsResponse struct {
*tchttp.BaseResponse
Response *DescribeSpeedTestingDetailsResponseParams `json:"Response"`
}
func NewDescribeSpeedTestingDetailsResponse ¶
func NewDescribeSpeedTestingDetailsResponse() (response *DescribeSpeedTestingDetailsResponse)
func (*DescribeSpeedTestingDetailsResponse) FromJsonString ¶
func (r *DescribeSpeedTestingDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpeedTestingDetailsResponse) ToJsonString ¶
func (r *DescribeSpeedTestingDetailsResponse) ToJsonString() string
type DescribeSpeedTestingDetailsResponseParams ¶
type DescribeSpeedTestingDetailsResponseParams struct {
// 分地域拨测统计数据。
SpeedTestingDetailData *SpeedTestingDetailData `json:"SpeedTestingDetailData,omitempty" name:"SpeedTestingDetailData"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSpeedTestingMetricDataRequest ¶
type DescribeSpeedTestingMetricDataRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeSpeedTestingMetricDataRequest ¶
func NewDescribeSpeedTestingMetricDataRequest() (request *DescribeSpeedTestingMetricDataRequest)
func (*DescribeSpeedTestingMetricDataRequest) FromJsonString ¶
func (r *DescribeSpeedTestingMetricDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpeedTestingMetricDataRequest) ToJsonString ¶
func (r *DescribeSpeedTestingMetricDataRequest) ToJsonString() string
type DescribeSpeedTestingMetricDataRequestParams ¶
type DescribeSpeedTestingMetricDataRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeSpeedTestingMetricDataResponse ¶
type DescribeSpeedTestingMetricDataResponse struct {
*tchttp.BaseResponse
Response *DescribeSpeedTestingMetricDataResponseParams `json:"Response"`
}
func NewDescribeSpeedTestingMetricDataResponse ¶
func NewDescribeSpeedTestingMetricDataResponse() (response *DescribeSpeedTestingMetricDataResponse)
func (*DescribeSpeedTestingMetricDataResponse) FromJsonString ¶
func (r *DescribeSpeedTestingMetricDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpeedTestingMetricDataResponse) ToJsonString ¶
func (r *DescribeSpeedTestingMetricDataResponse) ToJsonString() string
type DescribeSpeedTestingMetricDataResponseParams ¶
type DescribeSpeedTestingMetricDataResponseParams struct {
// 站点拨测维度数据。
SpeedTestingMetricData *SpeedTestingMetricData `json:"SpeedTestingMetricData,omitempty" name:"SpeedTestingMetricData"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSpeedTestingQuotaRequest ¶
type DescribeSpeedTestingQuotaRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeSpeedTestingQuotaRequest ¶
func NewDescribeSpeedTestingQuotaRequest() (request *DescribeSpeedTestingQuotaRequest)
func (*DescribeSpeedTestingQuotaRequest) FromJsonString ¶
func (r *DescribeSpeedTestingQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpeedTestingQuotaRequest) ToJsonString ¶
func (r *DescribeSpeedTestingQuotaRequest) ToJsonString() string
type DescribeSpeedTestingQuotaRequestParams ¶
type DescribeSpeedTestingQuotaRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeSpeedTestingQuotaResponse ¶
type DescribeSpeedTestingQuotaResponse struct {
*tchttp.BaseResponse
Response *DescribeSpeedTestingQuotaResponseParams `json:"Response"`
}
func NewDescribeSpeedTestingQuotaResponse ¶
func NewDescribeSpeedTestingQuotaResponse() (response *DescribeSpeedTestingQuotaResponse)
func (*DescribeSpeedTestingQuotaResponse) FromJsonString ¶
func (r *DescribeSpeedTestingQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSpeedTestingQuotaResponse) ToJsonString ¶
func (r *DescribeSpeedTestingQuotaResponse) ToJsonString() string
type DescribeSpeedTestingQuotaResponseParams ¶
type DescribeSpeedTestingQuotaResponseParams struct {
// 配额数据。
SpeedTestingQuota *SpeedTestingQuota `json:"SpeedTestingQuota,omitempty" name:"SpeedTestingQuota"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL4DataRequest ¶
type DescribeTimingL4DataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询指标,取值有:
// <li>l4Flow_connections: 访问连接数;</li>
// <li>l4Flow_flux: 访问总流量;</li>
// <li>l4Flow_inFlux: 访问入流量;</li>
// <li>l4Flow_outFlux: 访问出流量;</li>
// <li> l4Flow_outPkt: 访问出包量。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;
// 若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 四层实例列表, 不填表示选择全部实例。
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 查询时间粒度,取值有:
// <li>min: 1分钟 ;</li>
// <li>5min: 5分钟 ;</li>
// <li>hour: 1小时 ;</li>
// <li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>ruleId<br> 按照【<strong>转发规则ID</strong>】进行过滤。</li>
// <li>proxyId<br> 按照【<strong>四层代理实例ID</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询指标,取值有:
// <li>l4Flow_connections: 访问连接数;</li>
// <li>l4Flow_flux: 访问总流量;</li>
// <li>l4Flow_inFlux: 访问入流量;</li>
// <li>l4Flow_outFlux: 访问出流量;</li>
// <li> l4Flow_outPkt: 访问出包量。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;
// 若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 四层实例列表, 不填表示选择全部实例。
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 查询时间粒度,取值有:
// <li>min: 1分钟 ;</li>
// <li>5min: 5分钟 ;</li>
// <li>hour: 1小时 ;</li>
// <li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>ruleId<br> 按照【<strong>转发规则ID</strong>】进行过滤。</li>
// <li>proxyId<br> 按照【<strong>四层代理实例ID</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 四层时序流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL7AnalysisDataRequest ¶
type DescribeTimingL7AnalysisDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,取值有:
// <li>l7Flow_outFlux: Edgeone响应流量;</li>
// <li>l7Flow_inFlux: Edgeone请求流量;</li>
// <li>l7Flow_outBandwidth: Edgeone响应带宽;</li>
// <li>l7Flow_inBandwidth:Edgeone请求带宽;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_flux: 访问请求上行+下行流量;</li>
// <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询时间粒度,取值有:
// <li>min: 1分钟;</li>
// <li>5min: 5分钟;</li>
// <li>hour: 1小时;</li>
// <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
// <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
// <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
// <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<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> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
// <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
// <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
// <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<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> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,取值有:
// <li>l7Flow_outFlux: Edgeone响应流量;</li>
// <li>l7Flow_inFlux: Edgeone请求流量;</li>
// <li>l7Flow_outBandwidth: Edgeone响应带宽;</li>
// <li>l7Flow_inBandwidth:Edgeone请求带宽;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_flux: 访问请求上行+下行流量;</li>
// <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合。
// 若不填写,默认选择全部站点,且最多只能查询近30天的数据;若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询时间粒度,取值有:
// <li>min: 1分钟;</li>
// <li>5min: 5分钟;</li>
// <li>hour: 1小时;</li>
// <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
// <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
// <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
// <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<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> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
// <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
// <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
// <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<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> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 时序流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL7CacheDataRequest ¶
type DescribeTimingL7CacheDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li>l7Cache_outFlux:响应流量;</li>
// <li>l7Cache_request:响应请求数;</li>
// <li> l7Cache_outBandwidth:响应带宽。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 过滤条件,详细的过滤条件如下:
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
// <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
// <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,可选的值有:
// <li>min:1分钟的时间粒度;</li>
// <li>5min:5分钟的时间粒度;</li>
// <li>hour:1小时的时间粒度;</li>
// <li>day:1天的时间粒度。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li>l7Cache_outFlux:响应流量;</li>
// <li>l7Cache_request:响应请求数;</li>
// <li> l7Cache_outBandwidth:响应带宽。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 过滤条件,详细的过滤条件如下:
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
// <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
// <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,可选的值有:
// <li>min:1分钟的时间粒度;</li>
// <li>5min:5分钟的时间粒度;</li>
// <li>hour:1小时的时间粒度;</li>
// <li>day:1天的时间粒度。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 七层缓存分析时序类流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL7SourceDataRequest ¶ added in v1.0.582
type DescribeTimingL7SourceDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,取值有:
// <li>l7Flow_outFlux_hy: Edgeone请求流量;</li>
// <li>l7Flow_outBandwidth_hy: Edgeone请求带宽;</li>
// <li>l7Flow_inFlux_hy: 源站响应流量;</li>
// <li>l7Flow_inBandwidth_hy: 源站响应带宽;</li>
// <li>l7Flow_request_hy: 回源请求数;</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 待查询的站点列表,此参数必填。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询时间粒度,取值有:
// <li>min: 1分钟;</li>
// <li>5min: 5分钟;</li>
// <li>hour: 1小时;</li>
// <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件如下:
// <li>domain<br> 按照【<strong>回源Host</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>origin<br> 按照【<strong>源站</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>originGroup<br> 按照【<strong>源站组</strong>】进行过滤,源站组形如:origin-xxxxx。<br> 类型:String<br> 必选:否</li>
// <li>flowType<br> 按照【<strong>源站响应类型</strong>】进行过滤,优先级高于 MetricNames.N 参数。<br> 类型:String<br> 必选:否<br> 可选项:<br> inFlow:源站响应流量,对应MetricNames中l7Flow_inFlux_hy、l7Flow_inBandwidth_hy、l7Flow_request_hy三个指标;<br> outFlow:EdgeOne请求流量,对应MetricNames中l7Flow_outFlux_hy、l7Flow_outBandwidth_hy、l7Flow_request_hy三个指标。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeTimingL7SourceDataRequest ¶ added in v1.0.582
func NewDescribeTimingL7SourceDataRequest() (request *DescribeTimingL7SourceDataRequest)
func (*DescribeTimingL7SourceDataRequest) FromJsonString ¶ added in v1.0.582
func (r *DescribeTimingL7SourceDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7SourceDataRequest) ToJsonString ¶ added in v1.0.582
func (r *DescribeTimingL7SourceDataRequest) ToJsonString() string
type DescribeTimingL7SourceDataRequestParams ¶ added in v1.0.582
type DescribeTimingL7SourceDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,取值有:
// <li>l7Flow_outFlux_hy: Edgeone请求流量;</li>
// <li>l7Flow_outBandwidth_hy: Edgeone请求带宽;</li>
// <li>l7Flow_inFlux_hy: 源站响应流量;</li>
// <li>l7Flow_inBandwidth_hy: 源站响应带宽;</li>
// <li>l7Flow_request_hy: 回源请求数;</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 待查询的站点列表,此参数必填。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询时间粒度,取值有:
// <li>min: 1分钟;</li>
// <li>5min: 5分钟;</li>
// <li>hour: 1小时;</li>
// <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 过滤条件,详细的过滤条件如下:
// <li>domain<br> 按照【<strong>回源Host</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>origin<br> 按照【<strong>源站</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>originGroup<br> 按照【<strong>源站组</strong>】进行过滤,源站组形如:origin-xxxxx。<br> 类型:String<br> 必选:否</li>
// <li>flowType<br> 按照【<strong>源站响应类型</strong>】进行过滤,优先级高于 MetricNames.N 参数。<br> 类型:String<br> 必选:否<br> 可选项:<br> inFlow:源站响应流量,对应MetricNames中l7Flow_inFlux_hy、l7Flow_inBandwidth_hy、l7Flow_request_hy三个指标;<br> outFlow:EdgeOne请求流量,对应MetricNames中l7Flow_outFlux_hy、l7Flow_outBandwidth_hy、l7Flow_request_hy三个指标。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeTimingL7SourceDataResponse ¶ added in v1.0.582
type DescribeTimingL7SourceDataResponse struct {
*tchttp.BaseResponse
Response *DescribeTimingL7SourceDataResponseParams `json:"Response"`
}
func NewDescribeTimingL7SourceDataResponse ¶ added in v1.0.582
func NewDescribeTimingL7SourceDataResponse() (response *DescribeTimingL7SourceDataResponse)
func (*DescribeTimingL7SourceDataResponse) FromJsonString ¶ added in v1.0.582
func (r *DescribeTimingL7SourceDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7SourceDataResponse) ToJsonString ¶ added in v1.0.582
func (r *DescribeTimingL7SourceDataResponse) ToJsonString() string
type DescribeTimingL7SourceDataResponseParams ¶ added in v1.0.582
type DescribeTimingL7SourceDataResponseParams struct {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 时序流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
TimingDataRecords []*TimingDataRecord `json:"TimingDataRecords,omitempty" name:"TimingDataRecords"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTopL7AnalysisDataRequest ¶
type DescribeTopL7AnalysisDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li> l7Flow_outFlux_country:按国家/地区维度统计流量指标;</li>
// <li> l7Flow_outFlux_statusCode:按状态码维度统计流量指标;</li>
// <li> l7Flow_outFlux_domain:按域名维度统计流量指标;</li>
// <li> l7Flow_outFlux_url:按URL维度统计流量指标; </li>
// <li> l7Flow_outFlux_resourceType:按资源类型维度统计流量指标;</li>
// <li> l7Flow_outFlux_sip:按客户端的源IP维度统计流量指标;</li>
// <li> l7Flow_outFlux_referers:按refer信息维度统计流量指标;</li>
// <li> l7Flow_outFlux_ua_device:按设备类型维度统计流量指标; </li>
// <li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计流量指标;</li>
// <li> l7Flow_outFlux_us_os:按操作系统类型维度统计流量指标;</li>
// <li> l7Flow_request_country:按国家/地区维度统计请求数指标;</li>
// <li> l7Flow_request_statusCode:按状态码维度统计请求数指标;</li>
// <li> l7Flow_request_domain:按域名维度统计请求数指标;</li>
// <li> l7Flow_request_url:按URL维度统计请求数指标; </li>
// <li> l7Flow_request_resourceType:按资源类型维度统计请求数指标;</li>
// <li> l7Flow_request_sip:按客户端的源IP维度统计请求数指标;</li>
// <li> l7Flow_request_referer:按refer信息维度统计请求数指标;</li>
// <li> l7Flow_request_ua_device:按设备类型维度统计请求数指标; </li>
// <li> l7Flow_request_ua_browser:按浏览器类型维度统计请求数指标;</li>
// <li> l7Flow_request_us_os:按操作系统类型维度统计请求数指标。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点集合,此参数必填,不填默认查询为空。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
// <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
// <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
// <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<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> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
// <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
// <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
// <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<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> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li> l7Flow_outFlux_country:按国家/地区维度统计流量指标;</li>
// <li> l7Flow_outFlux_statusCode:按状态码维度统计流量指标;</li>
// <li> l7Flow_outFlux_domain:按域名维度统计流量指标;</li>
// <li> l7Flow_outFlux_url:按URL维度统计流量指标; </li>
// <li> l7Flow_outFlux_resourceType:按资源类型维度统计流量指标;</li>
// <li> l7Flow_outFlux_sip:按客户端的源IP维度统计流量指标;</li>
// <li> l7Flow_outFlux_referers:按refer信息维度统计流量指标;</li>
// <li> l7Flow_outFlux_ua_device:按设备类型维度统计流量指标; </li>
// <li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计流量指标;</li>
// <li> l7Flow_outFlux_us_os:按操作系统类型维度统计流量指标;</li>
// <li> l7Flow_request_country:按国家/地区维度统计请求数指标;</li>
// <li> l7Flow_request_statusCode:按状态码维度统计请求数指标;</li>
// <li> l7Flow_request_domain:按域名维度统计请求数指标;</li>
// <li> l7Flow_request_url:按URL维度统计请求数指标; </li>
// <li> l7Flow_request_resourceType:按资源类型维度统计请求数指标;</li>
// <li> l7Flow_request_sip:按客户端的源IP维度统计请求数指标;</li>
// <li> l7Flow_request_referer:按refer信息维度统计请求数指标;</li>
// <li> l7Flow_request_ua_device:按设备类型维度统计请求数指标; </li>
// <li> l7Flow_request_ua_browser:按浏览器类型维度统计请求数指标;</li>
// <li> l7Flow_request_us_os:按操作系统类型维度统计请求数指标。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点集合,此参数必填,不填默认查询为空。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,详细的过滤条件Key值如下:
// <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
// <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
// <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
// <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
// <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<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> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
// <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
// <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
// <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<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> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 七层流量前topN数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTopL7CacheDataRequest ¶
type DescribeTopL7CacheDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li> l7Cache_outFlux_domain:host/域名;</li>
// <li> l7Cache_outFlux_url:url地址;</li>
// <li> l7Cache_outFlux_resourceType:资源类型;</li>
// <li> l7Cache_outFlux_statusCode:状态码。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点id集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询前多少个数据,最大值为1000,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,详细的过滤条件如下:
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
// <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
// <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,取值有:
// <li>min: 1分钟;</li>
// <li>5min: 5分钟;</li>
// <li>hour: 1小时;</li>
// <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li> l7Cache_outFlux_domain:host/域名;</li>
// <li> l7Cache_outFlux_url:url地址;</li>
// <li> l7Cache_outFlux_resourceType:资源类型;</li>
// <li> l7Cache_outFlux_statusCode:状态码。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点id集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 查询前多少个数据,最大值为1000,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,详细的过滤条件如下:
// <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
// <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
// <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
// <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
// <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
// <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
// <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 查询时间粒度,取值有:
// <li>min: 1分钟;</li>
// <li>5min: 5分钟;</li>
// <li>hour: 1小时;</li>
// <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据;</li>
// <li>global:全球数据。</li>不填默认取值为global。
Area *string `json:"Area,omitempty" 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 {
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 七层缓存TopN流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesDataRequest ¶
type DescribeWebManagedRulesDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>waf_interceptNum:waf拦截次数。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebManagedRulesDataRequest ¶
func NewDescribeWebManagedRulesDataRequest() (request *DescribeWebManagedRulesDataRequest)
func (*DescribeWebManagedRulesDataRequest) FromJsonString ¶
func (r *DescribeWebManagedRulesDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesDataRequest) ToJsonString ¶
func (r *DescribeWebManagedRulesDataRequest) ToJsonString() string
type DescribeWebManagedRulesDataRequestParams ¶
type DescribeWebManagedRulesDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>waf_interceptNum:waf拦截次数。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebManagedRulesDataResponse ¶
type DescribeWebManagedRulesDataResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesDataResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesDataResponse ¶
func NewDescribeWebManagedRulesDataResponse() (response *DescribeWebManagedRulesDataResponse)
func (*DescribeWebManagedRulesDataResponse) FromJsonString ¶
func (r *DescribeWebManagedRulesDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesDataResponse) ToJsonString ¶
func (r *DescribeWebManagedRulesDataResponse) ToJsonString() string
type DescribeWebManagedRulesDataResponseParams ¶
type DescribeWebManagedRulesDataResponseParams struct {
// WAF攻击的时序数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecEntry `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesHitRuleDetailRequest ¶
type DescribeWebManagedRulesHitRuleDetailRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表,不填默认选择全部全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,key可选的值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebManagedRulesHitRuleDetailRequest ¶
func NewDescribeWebManagedRulesHitRuleDetailRequest() (request *DescribeWebManagedRulesHitRuleDetailRequest)
func (*DescribeWebManagedRulesHitRuleDetailRequest) FromJsonString ¶
func (r *DescribeWebManagedRulesHitRuleDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesHitRuleDetailRequest) ToJsonString ¶
func (r *DescribeWebManagedRulesHitRuleDetailRequest) ToJsonString() string
type DescribeWebManagedRulesHitRuleDetailRequestParams ¶
type DescribeWebManagedRulesHitRuleDetailRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表,不填默认选择全部全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,key可选的值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebManagedRulesHitRuleDetailResponse ¶
type DescribeWebManagedRulesHitRuleDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesHitRuleDetailResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesHitRuleDetailResponse ¶
func NewDescribeWebManagedRulesHitRuleDetailResponse() (response *DescribeWebManagedRulesHitRuleDetailResponse)
func (*DescribeWebManagedRulesHitRuleDetailResponse) FromJsonString ¶
func (r *DescribeWebManagedRulesHitRuleDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesHitRuleDetailResponse) ToJsonString ¶
func (r *DescribeWebManagedRulesHitRuleDetailResponse) ToJsonString() string
type DescribeWebManagedRulesHitRuleDetailResponseParams ¶
type DescribeWebManagedRulesHitRuleDetailResponseParams struct {
// 命中规则的详细列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesLogRequest ¶
type DescribeWebManagedRulesLogRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 筛选条件,key可选的值有:
// <li>attackType:攻击类型;</li>
// <li>riskLevel:风险等级;</li>
// <li>action:执行动作(处置方式);</li>
// <li>ruleId:规则id;</li>
// <li>sipCountryCode:ip所在国家;</li>
// <li>attackIp:攻击ip;</li>
// <li>realClientIp:真实客户端ip;</li>
// <li>oriDomain:被攻击的子域名;</li>
// <li>eventId:事件id;</li>
// <li>ua:用户代理;</li>
// <li>requestMethod:请求方法;</li>
// <li>uri:统一资源标识符。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebManagedRulesLogRequest ¶
func NewDescribeWebManagedRulesLogRequest() (request *DescribeWebManagedRulesLogRequest)
func (*DescribeWebManagedRulesLogRequest) FromJsonString ¶
func (r *DescribeWebManagedRulesLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesLogRequest) ToJsonString ¶
func (r *DescribeWebManagedRulesLogRequest) ToJsonString() string
type DescribeWebManagedRulesLogRequestParams ¶
type DescribeWebManagedRulesLogRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 筛选条件,key可选的值有:
// <li>attackType:攻击类型;</li>
// <li>riskLevel:风险等级;</li>
// <li>action:执行动作(处置方式);</li>
// <li>ruleId:规则id;</li>
// <li>sipCountryCode:ip所在国家;</li>
// <li>attackIp:攻击ip;</li>
// <li>realClientIp:真实客户端ip;</li>
// <li>oriDomain:被攻击的子域名;</li>
// <li>eventId:事件id;</li>
// <li>ua:用户代理;</li>
// <li>requestMethod:请求方法;</li>
// <li>uri:统一资源标识符。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebManagedRulesLogResponse ¶
type DescribeWebManagedRulesLogResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesLogResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesLogResponse ¶
func NewDescribeWebManagedRulesLogResponse() (response *DescribeWebManagedRulesLogResponse)
func (*DescribeWebManagedRulesLogResponse) FromJsonString ¶
func (r *DescribeWebManagedRulesLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesLogResponse) ToJsonString ¶
func (r *DescribeWebManagedRulesLogResponse) ToJsonString() string
type DescribeWebManagedRulesLogResponseParams ¶
type DescribeWebManagedRulesLogResponseParams struct {
// Web攻击日志数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*WebLogs `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionClientIpListRequest ¶
type DescribeWebProtectionClientIpListRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询的时间粒度,支持的粒度有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebProtectionClientIpListRequest ¶
func NewDescribeWebProtectionClientIpListRequest() (request *DescribeWebProtectionClientIpListRequest)
func (*DescribeWebProtectionClientIpListRequest) FromJsonString ¶
func (r *DescribeWebProtectionClientIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionClientIpListRequest) ToJsonString ¶
func (r *DescribeWebProtectionClientIpListRequest) ToJsonString() string
type DescribeWebProtectionClientIpListRequestParams ¶
type DescribeWebProtectionClientIpListRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询的时间粒度,支持的粒度有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebProtectionClientIpListResponse ¶
type DescribeWebProtectionClientIpListResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionClientIpListResponseParams `json:"Response"`
}
func NewDescribeWebProtectionClientIpListResponse ¶
func NewDescribeWebProtectionClientIpListResponse() (response *DescribeWebProtectionClientIpListResponse)
func (*DescribeWebProtectionClientIpListResponse) FromJsonString ¶
func (r *DescribeWebProtectionClientIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionClientIpListResponse) ToJsonString ¶
func (r *DescribeWebProtectionClientIpListResponse) ToJsonString() string
type DescribeWebProtectionClientIpListResponseParams ¶
type DescribeWebProtectionClientIpListResponseParams struct {
// CC防护客户端(攻击源)ip信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecClientIp `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionDataRequest ¶
type DescribeWebProtectionDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标,取值有:
// <li>ccRate_interceptNum:速率限制规则限制次数;</li>
// <li>ccAcl_interceptNum:自定义规则拦截次数。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询时间粒度,支持的时间粒度有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebProtectionDataRequest ¶
func NewDescribeWebProtectionDataRequest() (request *DescribeWebProtectionDataRequest)
func (*DescribeWebProtectionDataRequest) FromJsonString ¶
func (r *DescribeWebProtectionDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionDataRequest) ToJsonString ¶
func (r *DescribeWebProtectionDataRequest) ToJsonString() string
type DescribeWebProtectionDataRequestParams ¶
type DescribeWebProtectionDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标,取值有:
// <li>ccRate_interceptNum:速率限制规则限制次数;</li>
// <li>ccAcl_interceptNum:自定义规则拦截次数。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询时间粒度,支持的时间粒度有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebProtectionDataResponse ¶
type DescribeWebProtectionDataResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionDataResponseParams `json:"Response"`
}
func NewDescribeWebProtectionDataResponse ¶
func NewDescribeWebProtectionDataResponse() (response *DescribeWebProtectionDataResponse)
func (*DescribeWebProtectionDataResponse) FromJsonString ¶
func (r *DescribeWebProtectionDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionDataResponse) ToJsonString ¶
func (r *DescribeWebProtectionDataResponse) ToJsonString() string
type DescribeWebProtectionDataResponseParams ¶
type DescribeWebProtectionDataResponseParams struct {
// CC防护时序数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecEntry `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionHitRuleDetailRequest ¶
type DescribeWebProtectionHitRuleDetailRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 所属规则数据类型,支持的规则有:
// <li>rate:限速规则;</li>
// <li>acl:自定义规则。</li>
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 查询时间粒度,支持的时间粒度有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebProtectionHitRuleDetailRequest ¶
func NewDescribeWebProtectionHitRuleDetailRequest() (request *DescribeWebProtectionHitRuleDetailRequest)
func (*DescribeWebProtectionHitRuleDetailRequest) FromJsonString ¶
func (r *DescribeWebProtectionHitRuleDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionHitRuleDetailRequest) ToJsonString ¶
func (r *DescribeWebProtectionHitRuleDetailRequest) ToJsonString() string
type DescribeWebProtectionHitRuleDetailRequestParams ¶
type DescribeWebProtectionHitRuleDetailRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 所属规则数据类型,支持的规则有:
// <li>rate:限速规则;</li>
// <li>acl:自定义规则。</li>
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,key可选的值有:
// <li>action:执行动作。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 查询时间粒度,支持的时间粒度有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebProtectionHitRuleDetailResponse ¶
type DescribeWebProtectionHitRuleDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionHitRuleDetailResponseParams `json:"Response"`
}
func NewDescribeWebProtectionHitRuleDetailResponse ¶
func NewDescribeWebProtectionHitRuleDetailResponse() (response *DescribeWebProtectionHitRuleDetailResponse)
func (*DescribeWebProtectionHitRuleDetailResponse) FromJsonString ¶
func (r *DescribeWebProtectionHitRuleDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionHitRuleDetailResponse) ToJsonString ¶
func (r *DescribeWebProtectionHitRuleDetailResponse) ToJsonString() string
type DescribeWebProtectionHitRuleDetailResponseParams ¶
type DescribeWebProtectionHitRuleDetailResponseParams struct {
// cc防护命中规则列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecHitRuleInfo `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionTopDataRequest ¶
type DescribeWebProtectionTopDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>ccRate_requestNum_url:速率限制规则请求次数url分布排行;</li>
// <li>ccRate_cipRequestNum_region:速率限制规则请求次数区域客户端ip分布排行;</li>
// <li>ccAcl_requestNum_url:自定义规则请求次数url分布排行;</li>
// <li>ccAcl_requestNum_cip:自定义规则请求次数客户端ip分布排行;</li>
// <li>ccAcl_cipRequestNum_region:自定义规则请求次数客户端区域分布排行。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 筛选条件,key可选的值有:
// <li>action:执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebProtectionTopDataRequest ¶
func NewDescribeWebProtectionTopDataRequest() (request *DescribeWebProtectionTopDataRequest)
func (*DescribeWebProtectionTopDataRequest) FromJsonString ¶
func (r *DescribeWebProtectionTopDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionTopDataRequest) ToJsonString ¶
func (r *DescribeWebProtectionTopDataRequest) ToJsonString() string
type DescribeWebProtectionTopDataRequestParams ¶
type DescribeWebProtectionTopDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>ccRate_requestNum_url:速率限制规则请求次数url分布排行;</li>
// <li>ccRate_cipRequestNum_region:速率限制规则请求次数区域客户端ip分布排行;</li>
// <li>ccAcl_requestNum_url:自定义规则请求次数url分布排行;</li>
// <li>ccAcl_requestNum_cip:自定义规则请求次数客户端ip分布排行;</li>
// <li>ccAcl_cipRequestNum_region:自定义规则请求次数客户端区域分布排行。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 查询时间粒度,取值有:
// <li>min:1分钟;</li>
// <li>5min:5分钟;</li>
// <li>hour:1小时;</li>
// <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 筛选条件,key可选的值有:
// <li>action:执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebProtectionTopDataResponse ¶
type DescribeWebProtectionTopDataResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionTopDataResponseParams `json:"Response"`
}
func NewDescribeWebProtectionTopDataResponse ¶
func NewDescribeWebProtectionTopDataResponse() (response *DescribeWebProtectionTopDataResponse)
func (*DescribeWebProtectionTopDataResponse) FromJsonString ¶
func (r *DescribeWebProtectionTopDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionTopDataResponse) ToJsonString ¶
func (r *DescribeWebProtectionTopDataResponse) ToJsonString() string
type DescribeWebProtectionTopDataResponseParams ¶
type DescribeWebProtectionTopDataResponseParams struct {
// CC防护的TopN数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopEntry `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeZoneSettingRequest ¶
type DescribeZoneSettingRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeZoneSettingRequest ¶
func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)
func (*DescribeZoneSettingRequest) FromJsonString ¶
func (r *DescribeZoneSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneSettingRequest) ToJsonString ¶
func (r *DescribeZoneSettingRequest) ToJsonString() string
type DescribeZoneSettingRequestParams ¶
type DescribeZoneSettingRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeZoneSettingResponse ¶
type DescribeZoneSettingResponse struct {
*tchttp.BaseResponse
Response *DescribeZoneSettingResponseParams `json:"Response"`
}
func NewDescribeZoneSettingResponse ¶
func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)
func (*DescribeZoneSettingResponse) FromJsonString ¶
func (r *DescribeZoneSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneSettingResponse) ToJsonString ¶
func (r *DescribeZoneSettingResponse) ToJsonString() string
type DescribeZoneSettingResponseParams ¶
type DescribeZoneSettingResponseParams struct {
// 站点配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ZoneSetting *ZoneSetting `json:"ZoneSetting,omitempty" name:"ZoneSetting"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeZonesRequest ¶
type DescribeZonesRequest struct {
*tchttp.BaseRequest
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:否</li><li>status<br> 按照【<strong>站点状态</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-key<br> 按照【<strong>标签键</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-value<br> 按照【<strong>标签值</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>模糊查询时仅支持过滤字段名为zone-name。
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
// 排序字段,取值有:
// <li> type:接入类型;</li>
// <li> area:加速区域;</li>
// <li> create-time:创建时间;</li>
// <li> zone-name:站点名称;</li>
// <li> use-time:最近使用时间;</li>
// <li> active-status:生效状态。</li>不填写使用默认值create-time。
Order *string `json:"Order,omitempty" name:"Order"`
// 排序方向,取值有:
// <li> asc:从小到大排序;</li>
// <li> desc:从大到小排序。</li>不填写使用默认值desc。
Direction *string `json:"Direction,omitempty" 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 {
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>zone-name<br> 按照【<strong>站点名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:否</li><li>status<br> 按照【<strong>站点状态</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-key<br> 按照【<strong>标签键</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>tag-value<br> 按照【<strong>标签值</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>模糊查询时仅支持过滤字段名为zone-name。
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
// 排序字段,取值有:
// <li> type:接入类型;</li>
// <li> area:加速区域;</li>
// <li> create-time:创建时间;</li>
// <li> zone-name:站点名称;</li>
// <li> use-time:最近使用时间;</li>
// <li> active-status:生效状态。</li>不填写使用默认值create-time。
Order *string `json:"Order,omitempty" name:"Order"`
// 排序方向,取值有:
// <li> asc:从小到大排序;</li>
// <li> desc:从大到小排序。</li>不填写使用默认值desc。
Direction *string `json:"Direction,omitempty" 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 {
// 符合条件的站点个数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 站点详细信息列表。
Zones []*Zone `json:"Zones,omitempty" name:"Zones"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DetailHost ¶
type DetailHost struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速服务状态,取值为:
// <li> process:部署中;</li>
// <li> online:已启动;</li>
// <li> offline:已关闭。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 域名。
Host *string `json:"Host,omitempty" name:"Host"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 分配的Cname域名
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 资源ID。
Id *string `json:"Id,omitempty" name:"Id"`
// 实例ID。
InstanceId *string `json:"InstanceId,omitempty" name:"InstanceId"`
// 锁状态。
Lock *int64 `json:"Lock,omitempty" name:"Lock"`
// 域名状态类型。
Mode *int64 `json:"Mode,omitempty" name:"Mode"`
// 域名加速地域,取值有:
// <li> global:全球;</li>
// <li> mainland:中国大陆;</li>
// <li> overseas:境外区域。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 加速类型配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
AccelerateType *AccelerateType `json:"AccelerateType,omitempty" name:"AccelerateType"`
// Https配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
Https *Https `json:"Https,omitempty" name:"Https"`
// 缓存配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`
// 源站配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
Origin *Origin `json:"Origin,omitempty" name:"Origin"`
// 安全类型。
// 注意:此字段可能返回 null,表示取不到有效值。
SecurityType *SecurityType `json:"SecurityType,omitempty" name:"SecurityType"`
// 缓存键配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`
// 智能压缩配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
Compression *Compression `json:"Compression,omitempty" name:"Compression"`
// Waf防护配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
Waf *Waf `json:"Waf,omitempty" name:"Waf"`
// CC防护配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
CC *CC `json:"CC,omitempty" name:"CC"`
// DDoS防护配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoS *DDoS `json:"DDoS,omitempty" name:"DDoS"`
// 智能路由配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`
// Ipv6访问配置项。
// 注意:此字段可能返回 null,表示取不到有效值。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 回源时是否携带客户端IP所属地域信息的配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
}
type DiffIPWhitelist ¶ added in v1.0.570
type DiffIPWhitelist struct {
// 最新IP白名单列表。
LatestIPWhitelist *IPWhitelist `json:"LatestIPWhitelist,omitempty" name:"LatestIPWhitelist"`
// 最新IP白名单列表相比于当前IP白名单列表,新增部分。
AddedIPWhitelist *IPWhitelist `json:"AddedIPWhitelist,omitempty" name:"AddedIPWhitelist"`
// 最新IP白名单列表相比于当前IP白名单列表,删减部分。
RemovedIPWhitelist *IPWhitelist `json:"RemovedIPWhitelist,omitempty" name:"RemovedIPWhitelist"`
// 最新IP白名单列表相比于当前IP白名单列表,不变部分。
NoChangeIPWhitelist *IPWhitelist `json:"NoChangeIPWhitelist,omitempty" name:"NoChangeIPWhitelist"`
}
type DistrictStatistics ¶
type DistrictStatistics struct {
// ISO 3166-2 国家/地区简写,详情请参考[ISO 3166-2](https://zh.m.wikipedia.org/zh-hans/ISO_3166-2)。
Alpha2 *string `json:"Alpha2,omitempty" name:"Alpha2"`
// 整体拨测用时,单位ms。
LoadTime *int64 `json:"LoadTime,omitempty" name:"LoadTime"`
}
type DownloadL4LogsRequest ¶
type DownloadL4LogsRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 四层实例ID集合。
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 四层实例ID集合。
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" 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 {
// 四层离线日志数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*L4OfflineLog `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DownloadL7LogsRequest ¶
type DownloadL7LogsRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" 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 {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 分页查询的限制数目,默认值为20,最大查询条目为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页的偏移量,默认值为0。
Offset *int64 `json:"Offset,omitempty" 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 {
// 七层离线日志数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*L7OfflineLog `json:"Data,omitempty" name:"Data"`
// 查询结果的总条数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DropPageConfig ¶
type DropPageConfig struct {
// 配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// Waf(托管规则)模块的拦截页面配置。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
WafDropPageDetail *DropPageDetail `json:"WafDropPageDetail,omitempty" name:"WafDropPageDetail"`
// 自定义页面的拦截页面配置。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
AclDropPageDetail *DropPageDetail `json:"AclDropPageDetail,omitempty" name:"AclDropPageDetail"`
}
type DropPageDetail ¶
type DropPageDetail struct {
// 拦截页面的唯一Id。系统默认包含一个自带拦截页面,Id值为0。
// 该Id可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面。
PageId *int64 `json:"PageId,omitempty" name:"PageId"`
// 拦截页面的HTTP状态码。状态码范围是100-600。
StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`
// 页面文件名或url。
Name *string `json:"Name,omitempty" name:"Name"`
// 页面的类型,取值有:
// <li> file:页面文件内容;</li>
// <li> url:上传的url地址。</li>
Type *string `json:"Type,omitempty" name:"Type"`
}
type ExceptConfig ¶
type ExceptConfig struct {
// 配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 例外规则详情。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ExceptUserRules []*ExceptUserRule `json:"ExceptUserRules,omitempty" name:"ExceptUserRules"`
}
type ExceptUserRule ¶
type ExceptUserRule struct {
// 规则名称,不可使用中文。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则的处置方式,当前仅支持skip:跳过全部托管规则。
Action *string `json:"Action,omitempty" name:"Action"`
// 规则生效状态,取值有:
// <li>on:生效;</li>
// <li>off:失效。</li>
RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`
// 规则ID。仅出参使用。默认由底层生成。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 更新时间,如果为null,默认由底层按当前时间生成。
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 匹配条件。
// 注意:此字段可能返回 null,表示取不到有效值。
ExceptUserRuleConditions []*ExceptUserRuleCondition `json:"ExceptUserRuleConditions,omitempty" name:"ExceptUserRuleConditions"`
// 规则生效的范围。
// 注意:此字段可能返回 null,表示取不到有效值。
ExceptUserRuleScope *ExceptUserRuleScope `json:"ExceptUserRuleScope,omitempty" name:"ExceptUserRuleScope"`
// 优先级,取值范围0-100。如果为null,默认由底层设置为0。
RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
}
type ExceptUserRuleCondition ¶
type ExceptUserRuleCondition struct {
// 匹配项,取值有:
// <li>host:请求域名;</li>
// <li>sip:客户端IP;</li>
// <li>ua:User-Agent;</li>
// <li>cookie:会话 Cookie;</li>
// <li>cgi:CGI 脚本;</li>
// <li>xff:XFF 扩展头部;</li>
// <li>url:请求 URL;</li>
// <li>accept:请求内容类型;</li>
// <li>method:请求方式;</li>
// <li>header:请求头部;</li>
// <li>sip_proto:网络层协议。</li>
MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`
// 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。
MatchParam *string `json:"MatchParam,omitempty" name:"MatchParam"`
// 匹配操作符,取值有:
// <li>equal:字符串等于;</li>
// <li>not_equal:数值不等于;</li>
// <li>include:字符包含;</li>
// <li>not_include:字符不包含;</li>
// <li>match:ip匹配;</li>
// <li>not_match:ip不匹配;</li>
// <li>include_area:地域包含;</li>
// <li>is_empty:存在字段但值为空;</li>
// <li>not_exists:不存在关键字段;</li>
// <li>regexp:正则匹配;</li>
// <li>len_gt:数值大于;</li>
// <li>len_lt:数值小于;</li>
// <li>len_eq:数值等于;</li>
// <li>match_prefix:前缀匹配;</li>
// <li>match_suffix:后缀匹配;</li>
// <li>wildcard:通配符。</li>
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 匹配值。
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}
type ExceptUserRuleScope ¶
type ExceptUserRuleScope struct {
// 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有:
// <li>complete:完全跳过模式;</li>
// <li>partial:部分跳过模式。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 生效的模块,该字段取值有:
// <li>waf:托管规则;</li>
// <li>rate:速率限制;</li>
// <li>acl:自定义规则;</li>
// <li>cc:cc攻击防护;</li>
// <li>bot:Bot防护。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Modules []*string `json:"Modules,omitempty" name:"Modules"`
// 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
PartialModules []*PartialModule `json:"PartialModules,omitempty" name:"PartialModules"`
// 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
SkipConditions []*SkipCondition `json:"SkipConditions,omitempty" name:"SkipConditions"`
}
type FailReason ¶
type FileAscriptionInfo ¶ added in v1.0.507
type FirstPartConfig ¶ added in v1.0.581
type FollowOrigin ¶
type FollowOrigin struct {
// 遵循源站配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 源站未返回 Cache-Control 头时, 设置默认的缓存时间
// 注意:此字段可能返回 null,表示取不到有效值。
DefaultCacheTime *int64 `json:"DefaultCacheTime,omitempty" name:"DefaultCacheTime"`
// 源站未返回 Cache-Control 头时, 设置缓存/不缓存
// 注意:此字段可能返回 null,表示取不到有效值。
DefaultCache *string `json:"DefaultCache,omitempty" name:"DefaultCache"`
// 源站未返回 Cache-Control 头时, 使用/不使用默认缓存策略
// 注意:此字段可能返回 null,表示取不到有效值。
DefaultCacheStrategy *string `json:"DefaultCacheStrategy,omitempty" name:"DefaultCacheStrategy"`
}
type ForceRedirect ¶
type ForceRedirect struct {
// 访问强制跳转配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 重定向状态码,取值有:
// <li>301:301跳转;</li>
// <li>302:302跳转。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
RedirectStatusCode *int64 `json:"RedirectStatusCode,omitempty" name:"RedirectStatusCode"`
}
type Grpc ¶ added in v1.0.565
type Grpc struct {
// 是否开启 Grpc 配置,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type Hsts ¶
type Hsts struct {
// 是否开启,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// MaxAge 数值。单位为秒,最大值为1天。
// 注意:此字段可能返回 null,表示取不到有效值。
MaxAge *int64 `json:"MaxAge,omitempty" name:"MaxAge"`
// 是否包含子域名,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
IncludeSubDomains *string `json:"IncludeSubDomains,omitempty" name:"IncludeSubDomains"`
// 是否开启预加载,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Preload *string `json:"Preload,omitempty" name:"Preload"`
}
type Https ¶
type Https struct {
// http2 配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Http2 *string `json:"Http2,omitempty" name:"Http2"`
// OCSP 配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
OcspStapling *string `json:"OcspStapling,omitempty" name:"OcspStapling"`
// Tls 版本设置,取值有:
// <li>TLSv1:TLSv1版本;</li>
// <li>TLSV1.1:TLSv1.1版本;</li>
// <li>TLSV1.2:TLSv1.2版本;</li>
// <li>TLSv1.3:TLSv1.3版本。</li>修改时必须开启连续的版本。
// 注意:此字段可能返回 null,表示取不到有效值。
TlsVersion []*string `json:"TlsVersion,omitempty" name:"TlsVersion"`
// HSTS 配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Hsts *Hsts `json:"Hsts,omitempty" name:"Hsts"`
// 证书配置。
// 注意:此字段可能返回 null,表示取不到有效值。
CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
// 申请类型,取值有:
// <li>apply:托管EdgeOne;</li>
// <li>none:不托管EdgeOne。</li>不填,默认取值为none。
// 注意:此字段可能返回 null,表示取不到有效值。
ApplyType *string `json:"ApplyType,omitempty" name:"ApplyType"`
// 密码套件,取值有:
// <li>loose-v2023:提供最高的兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;</li>
// <li>general-v2023:提供较高的兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;</li>
// <li>strict-v2023:提供最高的安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。
// 注意:此字段可能返回 null,表示取不到有效值。
CipherSuite *string `json:"CipherSuite,omitempty" name:"CipherSuite"`
}
type IPWhitelist ¶ added in v1.0.570
type Identification ¶
type Identification struct {
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 验证子域名。验证站点时,该值为空。验证子域名是为具体子域名。
// 注意:此字段可能返回 null,表示取不到有效值。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 验证状态,取值有:
// <li> pending:验证中;</li>
// <li> finished:验证完成。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 站点归属权校验:Dns校验信息。
Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`
// 域名当前的 NS 记录。
// 注意:此字段可能返回 null,表示取不到有效值。
OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`
// 站点归属权校验:文件校验信息。
FileAscription *FileAscriptionInfo `json:"FileAscription,omitempty" name:"FileAscription"`
}
type IdentifyZoneRequest ¶
type IdentifyZoneRequest struct {
*tchttp.BaseRequest
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 站点下的子域名。如果验证站点下的子域名,则传该值,否则为空。
Domain *string `json:"Domain,omitempty" 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 {
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 站点下的子域名。如果验证站点下的子域名,则传该值,否则为空。
Domain *string `json:"Domain,omitempty" 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 {
// 站点归属校验:Dns校验信息。
Ascription *AscriptionInfo `json:"Ascription,omitempty" name:"Ascription"`
// 站点归属权校验:文件校验信息。
FileAscription *FileAscriptionInfo `json:"FileAscription,omitempty" name:"FileAscription"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ImageOptimize ¶ added in v1.0.620
type ImageOptimize struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type IntelligenceRule ¶
type IntelligenceRule struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 规则详情。
// 注意:此字段可能返回 null,表示取不到有效值。
IntelligenceRuleItems []*IntelligenceRuleItem `json:"IntelligenceRuleItems,omitempty" name:"IntelligenceRuleItems"`
}
type IntelligenceRuleItem ¶
type IntelligenceRuleItem struct {
// 智能分析标签,取值有:
// <li>evil_bot:恶意bot;</li>
// <li>suspect_bot:疑似bot;</li>
// <li>good_bot:良好bot;</li>
// <li>normal:正常请求。</li>
Label *string `json:"Label,omitempty" name:"Label"`
// 触发智能分析标签对应的处置方式,取值有:
// <li>drop:拦截;</li>
// <li>trans:放行;</li>
// <li>alg:Javascript挑战;</li>
// <li>captcha:数字验证码;</li>
// <li>monitor:观察。</li>
Action *string `json:"Action,omitempty" name:"Action"`
}
type IpTableConfig ¶
type IpTableConfig struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭;</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 基础管控规则。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
IpTableRules []*IpTableRule `json:"IpTableRules,omitempty" name:"IpTableRules"`
}
type IpTableRule ¶
type IpTableRule struct {
// 动作,取值有:
// <li> drop:拦截;</li>
// <li> trans:放行;</li>
// <li> monitor:观察。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 根据类型匹配,取值有:
// <li>ip:对ip进行匹配;</li>
// <li>area:对ip所属地区匹配。</li>
MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`
// 规则的匹配方式,默认为空代表等于。
// 取值有:
// <li> is_emty:配置为空;</li>
// <li> not_exists:配置为不存在;</li>
// <li> include:包含;</li>
// <li> not_include:不包含;</li>
// <li> equal:等于;</li>
// <li> not_equal:不等于。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 规则id。仅出参使用。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 更新时间。仅出参使用。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 规则启用状态,当返回为null时,为启用。取值有:
// <li> on:启用;</li>
// <li> off:未启用。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 规则名。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 匹配内容。当 Operator为is_emty 或not_exists时,此值允许为空。
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}
type Ipv6 ¶
type Ipv6 struct {
// Ipv6 访问功能配置,取值有:
// <li>on:开启Ipv6访问功能;</li>
// <li>off:关闭Ipv6访问功能。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type L4OfflineLog ¶
type L4OfflineLog struct {
// 日志打包开始时间。
LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`
// 四层实例ID。
// 注意:此字段可能返回 null,表示取不到有效值。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 原始大小 单位byte。
Size *int64 `json:"Size,omitempty" name:"Size"`
// 下载地址。
Url *string `json:"Url,omitempty" name:"Url"`
// 日志数据包名。
LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
type L7OfflineLog ¶
type L7OfflineLog struct {
// 日志打包开始时间。
LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`
// 子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 原始大小,单位byte。
Size *int64 `json:"Size,omitempty" name:"Size"`
// 下载地址。
Url *string `json:"Url,omitempty" name:"Url"`
// 日志数据包名。
LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内; </li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
type LogSetInfo ¶
type LogSetInfo struct {
// 日志集所属地区。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集名
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
// 日志集Id
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 该日志集是否已被删除, 可选的值有:
// <li>no: 日志集没有被删除;</li>
// <li>yes: 日志集已经被删除;</li>
Deleted *string `json:"Deleted,omitempty" name:"Deleted"`
}
type ModifyAccelerationDomainRequest ¶ added in v1.0.591
type ModifyAccelerationDomainRequest struct {
*tchttp.BaseRequest
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速域名名称。
DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
// 源站信息。
OriginInfo *OriginInfo `json:"OriginInfo,omitempty" name:"OriginInfo"`
}
func NewModifyAccelerationDomainRequest ¶ added in v1.0.591
func NewModifyAccelerationDomainRequest() (request *ModifyAccelerationDomainRequest)
func (*ModifyAccelerationDomainRequest) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *ModifyAccelerationDomainRequest) ToJsonString() string
type ModifyAccelerationDomainRequestParams ¶ added in v1.0.591
type ModifyAccelerationDomainRequestParams struct {
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速域名名称。
DomainName *string `json:"DomainName,omitempty" name:"DomainName"`
// 源站信息。
OriginInfo *OriginInfo `json:"OriginInfo,omitempty" name:"OriginInfo"`
}
Predefined struct for user
type ModifyAccelerationDomainResponse ¶ added in v1.0.591
type ModifyAccelerationDomainResponse struct {
*tchttp.BaseResponse
Response *ModifyAccelerationDomainResponseParams `json:"Response"`
}
func NewModifyAccelerationDomainResponse ¶ added in v1.0.591
func NewModifyAccelerationDomainResponse() (response *ModifyAccelerationDomainResponse)
func (*ModifyAccelerationDomainResponse) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *ModifyAccelerationDomainResponse) ToJsonString() string
type ModifyAccelerationDomainResponseParams ¶ added in v1.0.591
type ModifyAccelerationDomainResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyAccelerationDomainStatusesRequest ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesRequest struct {
*tchttp.BaseRequest
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 要执行状态变更的加速域名列表。
DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`
// 加速域名状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 是否强制停用。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制停用该域名,取值有:
// <li> true:停用该域名及所有关联资源;</li>
// <li> false:当该加速域名存在关联资源时,不允许停用。</li>不填写,默认值为:false。
Force *bool `json:"Force,omitempty" name:"Force"`
}
func NewModifyAccelerationDomainStatusesRequest ¶ added in v1.0.591
func NewModifyAccelerationDomainStatusesRequest() (request *ModifyAccelerationDomainStatusesRequest)
func (*ModifyAccelerationDomainStatusesRequest) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *ModifyAccelerationDomainStatusesRequest) ToJsonString() string
type ModifyAccelerationDomainStatusesRequestParams ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesRequestParams struct {
// 加速域名所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 要执行状态变更的加速域名列表。
DomainNames []*string `json:"DomainNames,omitempty" name:"DomainNames"`
// 加速域名状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 是否强制停用。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制停用该域名,取值有:
// <li> true:停用该域名及所有关联资源;</li>
// <li> false:当该加速域名存在关联资源时,不允许停用。</li>不填写,默认值为:false。
Force *bool `json:"Force,omitempty" name:"Force"`
}
Predefined struct for user
type ModifyAccelerationDomainStatusesResponse ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesResponse struct {
*tchttp.BaseResponse
Response *ModifyAccelerationDomainStatusesResponseParams `json:"Response"`
}
func NewModifyAccelerationDomainStatusesResponse ¶ added in v1.0.591
func NewModifyAccelerationDomainStatusesResponse() (response *ModifyAccelerationDomainStatusesResponse)
func (*ModifyAccelerationDomainStatusesResponse) FromJsonString ¶ added in v1.0.591
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 ¶ added in v1.0.591
func (r *ModifyAccelerationDomainStatusesResponse) ToJsonString() string
type ModifyAccelerationDomainStatusesResponseParams ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyAliasDomainRequest ¶ added in v1.0.510
type ModifyAliasDomainRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 别称域名名称。
AliasName *string `json:"AliasName,omitempty" name:"AliasName"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 证书配置,取值有:
// <li> none:不配置;</li>
// <li> hosting:SSL托管证书;</li>
// <li> apply:申请免费证书。</li>不填写保持原有配置。
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 当 CertType 取值为 hosting 时填入相应证书 ID。
CertId []*string `json:"CertId,omitempty" name:"CertId"`
}
func NewModifyAliasDomainRequest ¶ added in v1.0.510
func NewModifyAliasDomainRequest() (request *ModifyAliasDomainRequest)
func (*ModifyAliasDomainRequest) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *ModifyAliasDomainRequest) ToJsonString() string
type ModifyAliasDomainRequestParams ¶ added in v1.0.510
type ModifyAliasDomainRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 别称域名名称。
AliasName *string `json:"AliasName,omitempty" name:"AliasName"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 证书配置,取值有:
// <li> none:不配置;</li>
// <li> hosting:SSL托管证书;</li>
// <li> apply:申请免费证书。</li>不填写保持原有配置。
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 当 CertType 取值为 hosting 时填入相应证书 ID。
CertId []*string `json:"CertId,omitempty" name:"CertId"`
}
Predefined struct for user
type ModifyAliasDomainResponse ¶ added in v1.0.510
type ModifyAliasDomainResponse struct {
*tchttp.BaseResponse
Response *ModifyAliasDomainResponseParams `json:"Response"`
}
func NewModifyAliasDomainResponse ¶ added in v1.0.510
func NewModifyAliasDomainResponse() (response *ModifyAliasDomainResponse)
func (*ModifyAliasDomainResponse) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *ModifyAliasDomainResponse) ToJsonString() string
type ModifyAliasDomainResponseParams ¶ added in v1.0.510
type ModifyAliasDomainResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyAliasDomainStatusRequest ¶ added in v1.0.510
type ModifyAliasDomainStatusRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 别称域名状态,取值有:
// <li> false:开启别称域名;</li>
// <li> true:关闭别称域名。</li>
Paused *bool `json:"Paused,omitempty" name:"Paused"`
// 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。
AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}
func NewModifyAliasDomainStatusRequest ¶ added in v1.0.510
func NewModifyAliasDomainStatusRequest() (request *ModifyAliasDomainStatusRequest)
func (*ModifyAliasDomainStatusRequest) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *ModifyAliasDomainStatusRequest) ToJsonString() string
type ModifyAliasDomainStatusRequestParams ¶ added in v1.0.510
type ModifyAliasDomainStatusRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 别称域名状态,取值有:
// <li> false:开启别称域名;</li>
// <li> true:关闭别称域名。</li>
Paused *bool `json:"Paused,omitempty" name:"Paused"`
// 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。
AliasNames []*string `json:"AliasNames,omitempty" name:"AliasNames"`
}
Predefined struct for user
type ModifyAliasDomainStatusResponse ¶ added in v1.0.510
type ModifyAliasDomainStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyAliasDomainStatusResponseParams `json:"Response"`
}
func NewModifyAliasDomainStatusResponse ¶ added in v1.0.510
func NewModifyAliasDomainStatusResponse() (response *ModifyAliasDomainStatusResponse)
func (*ModifyAliasDomainStatusResponse) FromJsonString ¶ added in v1.0.510
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 ¶ added in v1.0.510
func (r *ModifyAliasDomainStatusResponse) ToJsonString() string
type ModifyAliasDomainStatusResponseParams ¶ added in v1.0.510
type ModifyAliasDomainStatusResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyRequest ¶
type ModifyApplicationProxyRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理 ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 当 ProxyType=hostname 时,表示域名或子域名;
// 当 ProxyType=instance 时,表示代理名称。
ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`
// 会话保持时间,取值范围:30-3600,单位:秒。
// 不填写保持原有配置。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>不填写保持原有配置。
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// Ipv6 访问配置,不填写保持原有配置。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 中国大陆加速优化配置。 不填写表示保持原有配置。
AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitempty" 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 {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理 ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 当 ProxyType=hostname 时,表示域名或子域名;
// 当 ProxyType=instance 时,表示代理名称。
ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"`
// 会话保持时间,取值范围:30-3600,单位:秒。
// 不填写保持原有配置。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>不填写保持原有配置。
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// Ipv6 访问配置,不填写保持原有配置。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 中国大陆加速优化配置。 不填写表示保持原有配置。
AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitempty" 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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyRuleRequest ¶
type ModifyApplicationProxyRuleRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 源站类型,取值有:
// <li>custom:手动添加;</li>
// <li>origins:源站组。</li>不填保持原有值。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 端口,支持格式:
// <li>80:80端口;</li>
// <li>81-90:81至90端口。</li>
Port []*string `json:"Port,omitempty" name:"Port"`
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>不填保持原有值。
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 源站信息:
// <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
// <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
//
// 不填保持原有值。
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,取值有:
// <li>TOA:TOA(仅Proto=TCP时可选);</li>
// <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
// <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
// <li>OFF:不传递。</li>不填保持原有值。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持,取值有:
// <li>true:开启;</li>
// <li>false:关闭。</li>不填为false。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 源站端口,支持格式:
// <li>单端口:80;</li>
// <li>端口段:81-90,81至90端口。</li>
OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}
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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 源站类型,取值有:
// <li>custom:手动添加;</li>
// <li>origins:源站组。</li>不填保持原有值。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 端口,支持格式:
// <li>80:80端口;</li>
// <li>81-90:81至90端口。</li>
Port []*string `json:"Port,omitempty" name:"Port"`
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>不填保持原有值。
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 源站信息:
// <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li>
// <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li>
//
// 不填保持原有值。
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,取值有:
// <li>TOA:TOA(仅Proto=TCP时可选);</li>
// <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li>
// <li>PPV2:Proxy Protocol传递,协议版本V2;</li>
// <li>OFF:不传递。</li>不填保持原有值。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持,取值有:
// <li>true:开启;</li>
// <li>false:关闭。</li>不填为false。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 源站端口,支持格式:
// <li>单端口:80;</li>
// <li>端口段:81-90,81至90端口。</li>
OriginPort *string `json:"OriginPort,omitempty" name:"OriginPort"`
}
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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyRuleStatusRequest ¶
type ModifyApplicationProxyRuleStatusRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 状态,取值有:
// <li>offline: 停用;</li>
// <li>online: 启用。</li>
Status *string `json:"Status,omitempty" 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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 状态,取值有:
// <li>offline: 停用;</li>
// <li>online: 启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyApplicationProxyRuleStatusResponse ¶
type ModifyApplicationProxyRuleStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyRuleStatusResponseParams `json:"Response"`
}
func NewModifyApplicationProxyRuleStatusResponse ¶
func NewModifyApplicationProxyRuleStatusResponse() (response *ModifyApplicationProxyRuleStatusResponse)
func (*ModifyApplicationProxyRuleStatusResponse) FromJsonString ¶
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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyStatusRequest ¶
type ModifyApplicationProxyStatusRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 状态,取值有:
// <li>offline: 停用;</li>
// <li>online: 启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyApplicationProxyStatusRequest ¶
func NewModifyApplicationProxyStatusRequest() (request *ModifyApplicationProxyStatusRequest)
func (*ModifyApplicationProxyStatusRequest) FromJsonString ¶
func (r *ModifyApplicationProxyStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyStatusRequest) ToJsonString ¶
func (r *ModifyApplicationProxyStatusRequest) ToJsonString() string
type ModifyApplicationProxyStatusRequestParams ¶
type ModifyApplicationProxyStatusRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 状态,取值有:
// <li>offline: 停用;</li>
// <li>online: 启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyApplicationProxyStatusResponse ¶
type ModifyApplicationProxyStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyStatusResponseParams `json:"Response"`
}
func NewModifyApplicationProxyStatusResponse ¶
func NewModifyApplicationProxyStatusResponse() (response *ModifyApplicationProxyStatusResponse)
func (*ModifyApplicationProxyStatusResponse) FromJsonString ¶
func (r *ModifyApplicationProxyStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyStatusResponse) ToJsonString ¶
func (r *ModifyApplicationProxyStatusResponse) ToJsonString() string
type ModifyApplicationProxyStatusResponseParams ¶
type ModifyApplicationProxyStatusResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDefaultCertificateRequest ¶
type ModifyDefaultCertificateRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 默认证书ID。
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书状态,取值有:
// <li>deployed :部署证书;</li>
// <li>disabled :禁用证书。</li>失败状态下重新deployed即可重试。
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyDefaultCertificateRequest ¶
func NewModifyDefaultCertificateRequest() (request *ModifyDefaultCertificateRequest)
func (*ModifyDefaultCertificateRequest) FromJsonString ¶
func (r *ModifyDefaultCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultCertificateRequest) ToJsonString ¶
func (r *ModifyDefaultCertificateRequest) ToJsonString() string
type ModifyDefaultCertificateRequestParams ¶
type ModifyDefaultCertificateRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 默认证书ID。
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书状态,取值有:
// <li>deployed :部署证书;</li>
// <li>disabled :禁用证书。</li>失败状态下重新deployed即可重试。
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyDefaultCertificateResponse ¶
type ModifyDefaultCertificateResponse struct {
*tchttp.BaseResponse
Response *ModifyDefaultCertificateResponseParams `json:"Response"`
}
func NewModifyDefaultCertificateResponse ¶
func NewModifyDefaultCertificateResponse() (response *ModifyDefaultCertificateResponse)
func (*ModifyDefaultCertificateResponse) FromJsonString ¶
func (r *ModifyDefaultCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultCertificateResponse) ToJsonString ¶
func (r *ModifyDefaultCertificateResponse) ToJsonString() string
type ModifyDefaultCertificateResponseParams ¶
type ModifyDefaultCertificateResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyHostsCertificateRequest ¶
type ModifyHostsCertificateRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 本次变更的域名列表。
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
// 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。
ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitempty" name:"ServerCertInfo"`
// 托管类型,取值有:
// <li>apply:托管EO;</li>
// <li>none:不托管EO;</li>不填,默认取值为apply。
ApplyType *string `json:"ApplyType,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 本次变更的域名列表。
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
// 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书。
ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitempty" name:"ServerCertInfo"`
// 托管类型,取值有:
// <li>apply:托管EO;</li>
// <li>none:不托管EO;</li>不填,默认取值为apply。
ApplyType *string `json:"ApplyType,omitempty" 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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyOriginGroupRequest ¶
type ModifyOriginGroupRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 源站类型,取值有:
// <li>self:自有源站;</li>
// <li>third_party:第三方源站;</li>
// <li>cos:腾讯云COS源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站组名称。
OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`
// 源站配置类型,当OriginType=self时,取值有:
// <li>area:按区域配置;</li>
// <li>weight: 按权重配置;</li>
// <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`
// 源站记录信息。
OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`
// 回源Host,仅当OriginType=self时可以设置。
// 不填写,表示使用已有配置。
HostHeader *string `json:"HostHeader,omitempty" 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 {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 源站类型,取值有:
// <li>self:自有源站;</li>
// <li>third_party:第三方源站;</li>
// <li>cos:腾讯云COS源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站组名称。
OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`
// 源站配置类型,当OriginType=self时,取值有:
// <li>area:按区域配置;</li>
// <li>weight: 按权重配置;</li>
// <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`
// 源站记录信息。
OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`
// 回源Host,仅当OriginType=self时可以设置。
// 不填写,表示使用已有配置。
HostHeader *string `json:"HostHeader,omitempty" 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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRulePriorityRequest ¶
type ModifyRulePriorityRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则 ID 的顺序,多条规则执行顺序依次往下。
RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}
func NewModifyRulePriorityRequest ¶
func NewModifyRulePriorityRequest() (request *ModifyRulePriorityRequest)
func (*ModifyRulePriorityRequest) FromJsonString ¶
func (r *ModifyRulePriorityRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRulePriorityRequest) ToJsonString ¶
func (r *ModifyRulePriorityRequest) ToJsonString() string
type ModifyRulePriorityRequestParams ¶
type ModifyRulePriorityRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则 ID 的顺序,多条规则执行顺序依次往下。
RuleIds []*string `json:"RuleIds,omitempty" name:"RuleIds"`
}
Predefined struct for user
type ModifyRulePriorityResponse ¶
type ModifyRulePriorityResponse struct {
*tchttp.BaseResponse
Response *ModifyRulePriorityResponseParams `json:"Response"`
}
func NewModifyRulePriorityResponse ¶
func NewModifyRulePriorityResponse() (response *ModifyRulePriorityResponse)
func (*ModifyRulePriorityResponse) FromJsonString ¶
func (r *ModifyRulePriorityResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRulePriorityResponse) ToJsonString ¶
func (r *ModifyRulePriorityResponse) ToJsonString() string
type ModifyRulePriorityResponseParams ¶
type ModifyRulePriorityResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyRuleRequest ¶
type ModifyRuleRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则名称,字符串名称长度 1~255。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则内容。
Rules []*Rule `json:"Rules,omitempty" name:"Rules"`
// 规则 ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 规则状态,取值有:
// <li> enable: 启用; </li>
// <li> disable: 未启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 规则标签。
Tags []*string `json:"Tags,omitempty" 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。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则名称,字符串名称长度 1~255。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则内容。
Rules []*Rule `json:"Rules,omitempty" name:"Rules"`
// 规则 ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 规则状态,取值有:
// <li> enable: 启用; </li>
// <li> disable: 未启用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 规则标签。
Tags []*string `json:"Tags,omitempty" 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 {
// 规则 ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifySecurityIPGroupRequest ¶ added in v1.0.647
type ModifySecurityIPGroupRequest struct {
*tchttp.BaseRequest
// 站点 Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// IP 组配置。
IPGroup *IPGroup `json:"IPGroup,omitempty" name:"IPGroup"`
// 操作类型,取值有:
// <li> append: 向 IPGroup 中追加 Content 参数中内容;</li>
// <li> remove: 从 IPGroup 中删除 Content 参数中内容;</li>
// <li> update: 全量替换 IPGroup 内容,并可修改 IPGroup 名称。 </li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
func NewModifySecurityIPGroupRequest ¶ added in v1.0.647
func NewModifySecurityIPGroupRequest() (request *ModifySecurityIPGroupRequest)
func (*ModifySecurityIPGroupRequest) FromJsonString ¶ added in v1.0.647
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 ¶ added in v1.0.647
func (r *ModifySecurityIPGroupRequest) ToJsonString() string
type ModifySecurityIPGroupRequestParams ¶ added in v1.0.647
type ModifySecurityIPGroupRequestParams struct {
// 站点 Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// IP 组配置。
IPGroup *IPGroup `json:"IPGroup,omitempty" name:"IPGroup"`
// 操作类型,取值有:
// <li> append: 向 IPGroup 中追加 Content 参数中内容;</li>
// <li> remove: 从 IPGroup 中删除 Content 参数中内容;</li>
// <li> update: 全量替换 IPGroup 内容,并可修改 IPGroup 名称。 </li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
Predefined struct for user
type ModifySecurityIPGroupResponse ¶ added in v1.0.647
type ModifySecurityIPGroupResponse struct {
*tchttp.BaseResponse
Response *ModifySecurityIPGroupResponseParams `json:"Response"`
}
func NewModifySecurityIPGroupResponse ¶ added in v1.0.647
func NewModifySecurityIPGroupResponse() (response *ModifySecurityIPGroupResponse)
func (*ModifySecurityIPGroupResponse) FromJsonString ¶ added in v1.0.647
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 ¶ added in v1.0.647
func (r *ModifySecurityIPGroupResponse) ToJsonString() string
type ModifySecurityIPGroupResponseParams ¶ added in v1.0.647
type ModifySecurityIPGroupResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifySecurityPolicyRequest ¶
type ModifySecurityPolicyRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 安全配置。
SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
// 子域名/应用名。当使用Entity时可不填写TemplateId,否则必须填写TemplateId。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 模板策略id。当使用模板Id时可不填Entity,否则必须填写Entity。
TemplateId *string `json:"TemplateId,omitempty" 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 {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 安全配置。
SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
// 子域名/应用名。当使用Entity时可不填写TemplateId,否则必须填写TemplateId。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 模板策略id。当使用模板Id时可不填Entity,否则必须填写Entity。
TemplateId *string `json:"TemplateId,omitempty" 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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifySecurityWafGroupPolicyRequest ¶
type ModifySecurityWafGroupPolicyRequest struct {
*tchttp.BaseRequest
// 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 总开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>不填默认为上次的配置。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 规则等级,取值有:
// <li> loose:宽松;</li>
// <li> normal:正常;</li>
// <li> strict:严格;</li>
// <li> stricter:超严格;</li>
// <li> custom:自定义。</li>不填默认为上次的配置。
Level *string `json:"Level,omitempty" name:"Level"`
// 处置方式,取值有:
// <li> block:阻断;</li>
// <li> observe:观察。</li>不填默认为上次的配置。
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 托管规则。不填默认为上次的配置。
WafRules *WafRule `json:"WafRules,omitempty" name:"WafRules"`
// AI引擎模式。不填默认为上次的配置。
AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`
// 托管规则等级组。不填默认为上次的配置。
WafGroups []*WafGroup `json:"WafGroups,omitempty" name:"WafGroups"`
// 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}
func NewModifySecurityWafGroupPolicyRequest ¶
func NewModifySecurityWafGroupPolicyRequest() (request *ModifySecurityWafGroupPolicyRequest)
func (*ModifySecurityWafGroupPolicyRequest) FromJsonString ¶
func (r *ModifySecurityWafGroupPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityWafGroupPolicyRequest) ToJsonString ¶
func (r *ModifySecurityWafGroupPolicyRequest) ToJsonString() string
type ModifySecurityWafGroupPolicyRequestParams ¶
type ModifySecurityWafGroupPolicyRequestParams struct {
// 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 总开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>不填默认为上次的配置。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 规则等级,取值有:
// <li> loose:宽松;</li>
// <li> normal:正常;</li>
// <li> strict:严格;</li>
// <li> stricter:超严格;</li>
// <li> custom:自定义。</li>不填默认为上次的配置。
Level *string `json:"Level,omitempty" name:"Level"`
// 处置方式,取值有:
// <li> block:阻断;</li>
// <li> observe:观察。</li>不填默认为上次的配置。
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 托管规则。不填默认为上次的配置。
WafRules *WafRule `json:"WafRules,omitempty" name:"WafRules"`
// AI引擎模式。不填默认为上次的配置。
AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`
// 托管规则等级组。不填默认为上次的配置。
WafGroups []*WafGroup `json:"WafGroups,omitempty" name:"WafGroups"`
// 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
TemplateId *string `json:"TemplateId,omitempty" name:"TemplateId"`
}
Predefined struct for user
type ModifySecurityWafGroupPolicyResponse ¶
type ModifySecurityWafGroupPolicyResponse struct {
*tchttp.BaseResponse
Response *ModifySecurityWafGroupPolicyResponseParams `json:"Response"`
}
func NewModifySecurityWafGroupPolicyResponse ¶
func NewModifySecurityWafGroupPolicyResponse() (response *ModifySecurityWafGroupPolicyResponse)
func (*ModifySecurityWafGroupPolicyResponse) FromJsonString ¶
func (r *ModifySecurityWafGroupPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityWafGroupPolicyResponse) ToJsonString ¶
func (r *ModifySecurityWafGroupPolicyResponse) ToJsonString() string
type ModifySecurityWafGroupPolicyResponseParams ¶
type ModifySecurityWafGroupPolicyResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneRequest ¶
type ModifyZoneRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点接入方式,取值有:
// <li> full:NS 接入;</li>
// <li> partial:CNAME 接入。</li>不填写保持原有配置。
Type *string `json:"Type,omitempty" name:"Type"`
// 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。
VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
// 站点别名。数字、英文、-和_组合,限制20个字符。
AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}
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 {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点接入方式,取值有:
// <li> full:NS 接入;</li>
// <li> partial:CNAME 接入。</li>不填写保持原有配置。
Type *string `json:"Type,omitempty" name:"Type"`
// 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。
VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
// 站点别名。数字、英文、-和_组合,限制20个字符。
AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
}
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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneSettingRequest ¶
type ModifyZoneSettingRequest struct {
*tchttp.BaseRequest
// 待变更的站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 缓存过期时间配置。
// 不填写表示保持原有配置。
CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`
// 节点缓存键配置。
// 不填写表示保持原有配置。
CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`
// 浏览器缓存配置。
// 不填写表示保持原有配置。
MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`
// 离线缓存配置。
// 不填写表示保持原有配置。
OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`
// Quic 访问配置。
// 不填写表示保持原有配置。
Quic *Quic `json:"Quic,omitempty" name:"Quic"`
// Post 请求传输配置。
// 不填写表示保持原有配置。
PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`
// 智能压缩配置。
// 不填写表示保持原有配置。
Compression *Compression `json:"Compression,omitempty" name:"Compression"`
// Http2 回源配置。
// 不填写表示保持原有配置。
UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`
// 访问协议强制 Https 跳转配置。
// 不填写表示保持原有配置。
ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`
// Https 加速配置。
// 不填写表示保持原有配置。
Https *Https `json:"Https,omitempty" name:"Https"`
// 源站配置。
// 不填写表示保持原有配置。
Origin *Origin `json:"Origin,omitempty" name:"Origin"`
// 智能加速配置。
// 不填写表示保持原有配置。
SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`
// WebSocket 配置。
// 不填写表示保持原有配置。
WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`
// 客户端 IP 回源请求头配置。
// 不填写表示保持原有配置。
ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`
// 缓存预刷新配置。
// 不填写表示保持原有配置。
CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
// Ipv6 访问配置。
// 不填写表示保持原有配置。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 回源时是否携带客户端 IP 所属地域信息的配置。
// 不填写表示保持原有配置。
ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
// Grpc 协议支持配置。
// 不填写表示保持原有配置。
Grpc *Grpc `json:"Grpc,omitempty" name:"Grpc"`
// 图片优化配置。
// 不填写表示关闭。
ImageOptimize *ImageOptimize `json:"ImageOptimize,omitempty" name:"ImageOptimize"`
}
func NewModifyZoneSettingRequest ¶
func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)
func (*ModifyZoneSettingRequest) FromJsonString ¶
func (r *ModifyZoneSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneSettingRequest) ToJsonString ¶
func (r *ModifyZoneSettingRequest) ToJsonString() string
type ModifyZoneSettingRequestParams ¶
type ModifyZoneSettingRequestParams struct {
// 待变更的站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 缓存过期时间配置。
// 不填写表示保持原有配置。
CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`
// 节点缓存键配置。
// 不填写表示保持原有配置。
CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`
// 浏览器缓存配置。
// 不填写表示保持原有配置。
MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`
// 离线缓存配置。
// 不填写表示保持原有配置。
OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`
// Quic 访问配置。
// 不填写表示保持原有配置。
Quic *Quic `json:"Quic,omitempty" name:"Quic"`
// Post 请求传输配置。
// 不填写表示保持原有配置。
PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`
// 智能压缩配置。
// 不填写表示保持原有配置。
Compression *Compression `json:"Compression,omitempty" name:"Compression"`
// Http2 回源配置。
// 不填写表示保持原有配置。
UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`
// 访问协议强制 Https 跳转配置。
// 不填写表示保持原有配置。
ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`
// Https 加速配置。
// 不填写表示保持原有配置。
Https *Https `json:"Https,omitempty" name:"Https"`
// 源站配置。
// 不填写表示保持原有配置。
Origin *Origin `json:"Origin,omitempty" name:"Origin"`
// 智能加速配置。
// 不填写表示保持原有配置。
SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`
// WebSocket 配置。
// 不填写表示保持原有配置。
WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`
// 客户端 IP 回源请求头配置。
// 不填写表示保持原有配置。
ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`
// 缓存预刷新配置。
// 不填写表示保持原有配置。
CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
// Ipv6 访问配置。
// 不填写表示保持原有配置。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// 回源时是否携带客户端 IP 所属地域信息的配置。
// 不填写表示保持原有配置。
ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
// Grpc 协议支持配置。
// 不填写表示保持原有配置。
Grpc *Grpc `json:"Grpc,omitempty" name:"Grpc"`
// 图片优化配置。
// 不填写表示关闭。
ImageOptimize *ImageOptimize `json:"ImageOptimize,omitempty" name:"ImageOptimize"`
}
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 {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneStatusRequest ¶
type ModifyZoneStatusRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点状态,取值有:
// <li> false:开启站点;</li>
// <li> true:关闭站点。</li>
Paused *bool `json:"Paused,omitempty" name:"Paused"`
}
func NewModifyZoneStatusRequest ¶
func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)
func (*ModifyZoneStatusRequest) FromJsonString ¶
func (r *ModifyZoneStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneStatusRequest) ToJsonString ¶
func (r *ModifyZoneStatusRequest) ToJsonString() string
type ModifyZoneStatusRequestParams ¶
type ModifyZoneStatusRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点状态,取值有:
// <li> false:开启站点;</li>
// <li> true:关闭站点。</li>
Paused *bool `json:"Paused,omitempty" name:"Paused"`
}
Predefined struct for user
type ModifyZoneStatusResponse ¶
type ModifyZoneStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyZoneStatusResponseParams `json:"Response"`
}
func NewModifyZoneStatusResponse ¶
func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)
func (*ModifyZoneStatusResponse) FromJsonString ¶
func (r *ModifyZoneStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneStatusResponse) ToJsonString ¶
func (r *ModifyZoneStatusResponse) ToJsonString() string
type ModifyZoneStatusResponseParams ¶
type ModifyZoneStatusResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type NoCache ¶
type NoCache struct {
// 不缓存配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type NormalAction ¶
type NormalAction struct {
// 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
Action *string `json:"Action,omitempty" name:"Action"`
// 参数。
Parameters []*RuleNormalActionParams `json:"Parameters,omitempty" name:"Parameters"`
}
type OfflineCache ¶
type OfflineCache struct {
// 离线缓存是否开启,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type OptimizeAction ¶
type OptimizeAction struct {
// 站点性能优化配置项,取值有:
// <li>Http2;</li>
// <li>Http3;</li>
// <li>Brotli。</li>
Name *string `json:"Name,omitempty" name:"Name"`
// 网络环境。
Connectivity *string `json:"Connectivity,omitempty" name:"Connectivity"`
// 开启配置项后,预估性能优化效果,单位ms。
Value *int64 `json:"Value,omitempty" name:"Value"`
// 开启配置项后,预估性能提升比例,单位%。
Ratio *int64 `json:"Ratio,omitempty" name:"Ratio"`
}
type Origin ¶
type Origin struct {
// 主源站列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Origins []*string `json:"Origins,omitempty" name:"Origins"`
// 备源站列表。
// 注意:此字段可能返回 null,表示取不到有效值。
BackupOrigins []*string `json:"BackupOrigins,omitempty" name:"BackupOrigins"`
// 回源协议配置,取值有:
// <li>http:强制 http 回源;</li>
// <li>follow:协议跟随回源;</li>
// <li>https:强制 https 回源。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`
// 源站为腾讯云 COS 时,是否为私有访问 bucket,取值有:
// <li>on:私有访问;</li>
// <li>off:公共访问。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
CosPrivateAccess *string `json:"CosPrivateAccess,omitempty" name:"CosPrivateAccess"`
}
type OriginDetail ¶ added in v1.0.591
type OriginDetail struct {
// 源站类型,取值有:
// <li>IP_DOMAIN:IPV4、IPV6或域名类型源站;</li>
// <li>COS:COS源。</li>
// <li>ORIGIN_GROUP:源站组类型源站。</li>
// <li>AWS_S3:AWS S3对象存储源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站地址,当OriginType参数指定为ORIGIN_GROUP时,该参数填写源站组ID,其他情况下填写源站地址。
Origin *string `json:"Origin,omitempty" name:"Origin"`
// 备用源站组ID,该参数在OriginType参数指定为ORIGIN_GROUP时生效,为空表示不使用备用源站。
BackupOrigin *string `json:"BackupOrigin,omitempty" name:"BackupOrigin"`
// 主源源站组名称,当OriginType参数指定为ORIGIN_GROUP时该参数生效。
OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`
// 备用源站源站组名称,当OriginType参数指定为ORIGIN_GROUP,且用户指定了被用源站时该参数生效。
BackOriginGroupName *string `json:"BackOriginGroupName,omitempty" name:"BackOriginGroupName"`
// 指定是否允许访问私有对象存储源站。当源站类型OriginType=COS或AWS_S3时有效 取值有:
// <li>on:使用私有鉴权;</li>
// <li>off:不使用私有鉴权。</li>
// 不填写,默认值为off。
PrivateAccess *string `json:"PrivateAccess,omitempty" name:"PrivateAccess"`
// 私有鉴权使用参数,当源站类型PrivateAccess=on时有效。
// 注意:此字段可能返回 null,表示取不到有效值。
PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitempty" name:"PrivateParameters"`
}
type OriginGroup ¶
type OriginGroup struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 源站类型,取值有:
// <li>self:自有源站;</li>
// <li>third_party:第三方源站;</li>
// <li>cos:腾讯云COS源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站组名称。
OriginGroupName *string `json:"OriginGroupName,omitempty" name:"OriginGroupName"`
// 源站配置类型,当OriginType=self时,取值有:
// <li>area:按区域配置;</li>
// <li>weight: 按权重配置。</li>
// <li>proto: 按HTTP协议配置。</li>当OriginType=third_party/cos时放空。
ConfigurationType *string `json:"ConfigurationType,omitempty" name:"ConfigurationType"`
// 源站记录信息。
OriginRecords []*OriginRecord `json:"OriginRecords,omitempty" name:"OriginRecords"`
// 源站组更新时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 当OriginType=self时,表示回源Host。
// 注意:此字段可能返回 null,表示取不到有效值。
HostHeader *string `json:"HostHeader,omitempty" name:"HostHeader"`
}
type OriginInfo ¶ added in v1.0.591
type OriginInfo struct {
// 源站类型,取值有:
// <li>IP_DOMAIN:IPV4、IPV6或域名类型源站;</li>
// <li>COS:COS源。</li>
// <li>ORIGIN_GROUP:源站组类型源站。</li>
// <li>AWS_S3:AWS S3对象存储源站。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站地址,当OriginType参数指定为ORIGIN_GROUP时,该参数填写源站组ID,其他情况下填写源站地址。
Origin *string `json:"Origin,omitempty" name:"Origin"`
// 备用源站组ID,该参数在OriginType参数指定为ORIGIN_GROUP时生效,为空表示不使用备用源站。
BackupOrigin *string `json:"BackupOrigin,omitempty" name:"BackupOrigin"`
// 指定是否允许访问私有对象存储源站,当源站类型OriginType=COS或AWS_S3时有效,取值有:
// <li>on:使用私有鉴权;</li>
// <li>off:不使用私有鉴权。</li>不填写,默认值为:off。
PrivateAccess *string `json:"PrivateAccess,omitempty" name:"PrivateAccess"`
// 私有鉴权使用参数,当源站类型PrivateAccess=on时有效。
PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitempty" name:"PrivateParameters"`
}
type OriginProtectionInfo ¶ added in v1.0.570
type OriginProtectionInfo struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 域名列表。
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
// 代理ID列表。
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 当前版本的IP白名单。
// 注意:此字段可能返回 null,表示取不到有效值。
CurrentIPWhitelist *IPWhitelist `json:"CurrentIPWhitelist,omitempty" name:"CurrentIPWhitelist"`
// 该站点是否需要更新源站白名单,取值有:
// <li>true :需要更新IP白名单 ;</li>
// <li>false :无需更新IP白名单。</li>
NeedUpdate *bool `json:"NeedUpdate,omitempty" name:"NeedUpdate"`
// 源站防护状态,取值有:
// <li>online :源站防护启用中 ;</li>
// <li>offline :源站防护已停用 ;</li>
// <li>nonactivate :源站防护未激活,仅在从未使用过源站防护功能的站点调用中返回。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 站点套餐是否支持源站防护,取值有:
// <li>true :支持 ;</li>
// <li>false :不支持。</li>
PlanSupport *bool `json:"PlanSupport,omitempty" name:"PlanSupport"`
// 最新IP白名单与当前IP白名单的对比。
// 注意:此字段可能返回 null,表示取不到有效值。
DiffIPWhitelist *DiffIPWhitelist `json:"DiffIPWhitelist,omitempty" name:"DiffIPWhitelist"`
}
type OriginRecord ¶
type OriginRecord struct {
// 源站记录值,不包含端口信息,可以为:IPv4,IPv6,域名格式。
Record *string `json:"Record,omitempty" name:"Record"`
// 源站记录ID。
RecordId *string `json:"RecordId,omitempty" name:"RecordId"`
// 源站端口,取值范围:[1-65535]。
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 当源站配置类型ConfigurationType=weight时,表示权重。
// 不配置权重信息时,所有源站组记录统一填写为0或者不填写,表示多个源站轮询回源。
// 配置权重信息时,取值为[1-100],多个源站权重总和应为100,表示多个源站按照权重回源。
// 当源站配置类型ConfigurationType=proto时,表示权重。
// 不配置权重信息时,所有源站组记录统一填写为0或者不填写,表示多个源站轮询回源。
// 配置权重信息时,取值为[1-100],源站组内Proto相同的多个源站权重总和应为100,表示多个源站按照权重回源。
Weight *uint64 `json:"Weight,omitempty" name:"Weight"`
// 当源站配置类型ConfigurationType=proto时,表示源站的协议类型,将按照客户端请求协议回到相应的源站,取值有:
// <li>http:HTTP协议源站;</li>
// <li>https:HTTPS协议源站。</li>
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 当源站配置类型ConfigurationType=area时,表示区域,为空表示全部地区。取值为iso-3166中alpha-2编码或者大洲区域代码。大洲区域代码取值为:
// <li>Asia:亚洲;</li>
// <li>Europe:欧洲;</li>
// <li>Africa:非洲;</li>
// <li>Oceania:大洋洲;</li>
// <li>Americas:美洲。</li>源站组记录中,至少需要有一项为全部地区。
Area []*string `json:"Area,omitempty" name:"Area"`
// 当源站类型OriginType=third_part时有效
// 是否私有鉴权,取值有:
// <li>true:使用私有鉴权;</li>
// <li>false:不使用私有鉴权。</li>不填写,默认值为:false。
Private *bool `json:"Private,omitempty" name:"Private"`
// 当源站类型Private=true时有效,表示私有鉴权使用参数。
PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitempty" name:"PrivateParameters"`
}
type PartialModule ¶ added in v1.0.507
type PlanInfo ¶
type PlanInfo struct {
// 结算货币类型,取值有:
// <li> CNY :人民币结算; </li>
// <li> USD :美元结算。</li>
Currency *string `json:"Currency,omitempty" name:"Currency"`
// 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。
Flux *uint64 `json:"Flux,omitempty" name:"Flux"`
// 结算周期,取值有:
// <li> y :按年结算; </li>
// <li> m :按月结算;</li>
// <li> h :按小时结算; </li>
// <li> M :按分钟结算;</li>
// <li> s :按秒结算。 </li>
Frequency *string `json:"Frequency,omitempty" name:"Frequency"`
// 套餐类型,取值有:
// <li> sta :全球内容分发网络(不包括中国大陆)标准版套餐; </li>
// <li> sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
// <li> sta_cm :中国大陆内容分发网络标准版套餐; </li>
// <li> sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理;</li>
// <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li>
// <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li>
// <li> ent :全球内容分发网络(不包括中国大陆)企业版套餐; </li>
// <li> ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
// <li> ent_cm :中国大陆内容分发网络企业版套餐; </li>
// <li> ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理;</li>
// <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li>
// <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>
PlanType *string `json:"PlanType,omitempty" name:"PlanType"`
// 套餐价格(单位:分)。
Price *float64 `json:"Price,omitempty" name:"Price"`
// 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。
Request *uint64 `json:"Request,omitempty" name:"Request"`
// 套餐所能绑定的站点个数。
SiteNumber *uint64 `json:"SiteNumber,omitempty" name:"SiteNumber"`
// 套餐加速区域类型,取值有:
// <li> mainland :中国大陆; </li>
// <li> overseas :全球(不包括中国大陆);</li>
// <li> global :全球(包括中国大陆)。 </li>
Area *string `json:"Area,omitempty" name:"Area"`
}
type PostMaxSize ¶
type PrivateParameter ¶
type QueryCondition ¶
type QueryCondition struct {
// 筛选条件的key。
Key *string `json:"Key,omitempty" name:"Key"`
// 查询条件操作符,操作类型有:
// <li>equals: 等于;</li>
// <li>notEquals: 不等于;</li>
// <li>include: 包含;</li>
// <li>notInclude: 不包含; </li>
// <li>startWith: 开始的值是value;</li>
// <li>notStartWith: 不以value的值开始;</li>
// <li>endWith: 结尾是value值;</li>
// <li>notEndWith: 不以value的值结尾。</li>
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 筛选条件的值。
Value []*string `json:"Value,omitempty" name:"Value"`
}
type QueryString ¶
type QueryString struct {
// CacheKey是否由QueryString组成,取值有:
// <li>on:是;</li>
// <li>off:否。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// CacheKey使用QueryString的方式,取值有:
// <li>includeCustom:使用部分url参数;</li>
// <li>excludeCustom:排除部分url参数。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Action *string `json:"Action,omitempty" name:"Action"`
// 使用/排除的url参数数组。
// 注意:此字段可能返回 null,表示取不到有效值。
Value []*string `json:"Value,omitempty" name:"Value"`
}
type Quic ¶
type Quic struct {
// 是否开启 Quic 配置,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type Quota ¶
type Quota struct {
// 单次批量提交配额上限。
Batch *int64 `json:"Batch,omitempty" name:"Batch"`
// 每日提交配额上限。
Daily *int64 `json:"Daily,omitempty" name:"Daily"`
// 每日剩余的可提交配额。
DailyAvailable *int64 `json:"DailyAvailable,omitempty" name:"DailyAvailable"`
// 刷新预热缓存类型,取值有:
// <li> purge_prefix:按前缀刷新;</li>
// <li> purge_url:按URL刷新;</li>
// <li> purge_host:按Hostname刷新;</li>
// <li> purge_all:刷新全部缓存内容;</li>
// <li> purge_cache_tag:按CacheTag刷新;</li><li> prefetch_url:按URL预热。</li>
Type *string `json:"Type,omitempty" name:"Type"`
}
type RateLimitConfig ¶
type RateLimitConfig struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 速率限制-用户规则列表。如果为null,默认使用历史配置。
RateLimitUserRules []*RateLimitUserRule `json:"RateLimitUserRules,omitempty" name:"RateLimitUserRules"`
// 速率限制模板功能。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
RateLimitTemplate *RateLimitTemplate `json:"RateLimitTemplate,omitempty" name:"RateLimitTemplate"`
// 智能客户端过滤。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
RateLimitIntelligence *RateLimitIntelligence `json:"RateLimitIntelligence,omitempty" name:"RateLimitIntelligence"`
// 速率限制-托管定制规则。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
RateLimitCustomizes []*RateLimitUserRule `json:"RateLimitCustomizes,omitempty" name:"RateLimitCustomizes"`
}
type RateLimitIntelligence ¶
type RateLimitIntelligence struct {
// 功能开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 执行动作,取值有:
// <li>monitor:观察;</li>
// <li>alg:挑战。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 规则id,仅出参使用。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
}
type RateLimitTemplate ¶
type RateLimitTemplate struct {
// 模板等级名称,取值有:
// <li>sup_loose:超级宽松;</li>
// <li>loose:宽松;</li>
// <li>emergency:紧急;</li>
// <li>normal:适中;</li>
// <li>strict:严格;</li>
// <li>close:关闭,仅精准速率限制生效。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 模板处置方式,取值有:
// <li>alg:JavaScript挑战;</li>
// <li>monitor:观察。</li>不填写默认取alg。
Action *string `json:"Action,omitempty" name:"Action"`
// 模板值详情。仅出参返回。
RateLimitTemplateDetail *RateLimitTemplateDetail `json:"RateLimitTemplateDetail,omitempty" name:"RateLimitTemplateDetail"`
}
type RateLimitTemplateDetail ¶
type RateLimitTemplateDetail struct {
// 模板等级名称,取值有:
// <li>sup_loose:超级宽松;</li>
// <li>loose:宽松;</li>
// <li>emergency:紧急;</li>
// <li>normal:适中;</li>
// <li>strict:严格;</li>
// <li>close:关闭,仅精准速率限制生效。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 唯一id。
ID *int64 `json:"ID,omitempty" name:"ID"`
// 模板处置方式,取值有:
// <li>alg:JavaScript挑战;</li>
// <li>monitor:观察。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Action *string `json:"Action,omitempty" name:"Action"`
// 惩罚时间,取值范围0-2天,单位秒。
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// 统计阈值,单位是次,取值范围0-4294967294。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 统计周期,取值范围0-120秒。
Period *int64 `json:"Period,omitempty" name:"Period"`
}
type RateLimitUserRule ¶
type RateLimitUserRule struct {
// 速率限制统计阈值,单位是次,取值范围0-4294967294。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 速率限制统计时间,取值范围 10/20/30/40/50/60 单位是秒。
Period *int64 `json:"Period,omitempty" name:"Period"`
// 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 处置动作,取值有:
// <li>monitor:观察;</li>
// <li>drop:拦截;</li>
// <li>alg:JavaScript挑战。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 惩罚时长,0-2天。
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// 处罚时长单位,取值有:
// <li>second:秒;</li>
// <li>minutes:分钟;</li>
// <li>hour:小时。</li>
PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`
// 规则状态,取值有:
// <li>on:生效;</li>
// <li>off:不生效。</li>默认on生效。
RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`
// 规则详情。
AclConditions []*AclCondition `json:"AclConditions,omitempty" name:"AclConditions"`
// 规则权重,取值范围0-100。
RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
// 规则id。仅出参使用。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 过滤词,取值有:
// <li>sip:客户端ip。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreqFields []*string `json:"FreqFields,omitempty" name:"FreqFields"`
// 更新时间。
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 统计范围,字段为null时,代表source_to_eo。取值有:
// <li>source_to_eo:(响应)源站到EdgeOne。</li>
// <li>client_to_eo:(请求)客户端到EdgeOne;</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreqScope []*string `json:"FreqScope,omitempty" name:"FreqScope"`
}
type ReclaimAliasDomainRequest ¶ added in v1.0.510
type ReclaimAliasDomainRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}
func NewReclaimAliasDomainRequest ¶ added in v1.0.510
func NewReclaimAliasDomainRequest() (request *ReclaimAliasDomainRequest)
func (*ReclaimAliasDomainRequest) FromJsonString ¶ added in v1.0.510
func (r *ReclaimAliasDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReclaimAliasDomainRequest) ToJsonString ¶ added in v1.0.510
func (r *ReclaimAliasDomainRequest) ToJsonString() string
type ReclaimAliasDomainRequestParams ¶ added in v1.0.510
type ReclaimAliasDomainRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}
Predefined struct for user
type ReclaimAliasDomainResponse ¶ added in v1.0.510
type ReclaimAliasDomainResponse struct {
*tchttp.BaseResponse
Response *ReclaimAliasDomainResponseParams `json:"Response"`
}
func NewReclaimAliasDomainResponse ¶ added in v1.0.510
func NewReclaimAliasDomainResponse() (response *ReclaimAliasDomainResponse)
func (*ReclaimAliasDomainResponse) FromJsonString ¶ added in v1.0.510
func (r *ReclaimAliasDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReclaimAliasDomainResponse) ToJsonString ¶ added in v1.0.510
func (r *ReclaimAliasDomainResponse) ToJsonString() string
type ReclaimAliasDomainResponseParams ¶ added in v1.0.510
type ReclaimAliasDomainResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ReclaimZoneRequest ¶
type ReclaimZoneRequest struct {
*tchttp.BaseRequest
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}
func NewReclaimZoneRequest ¶
func NewReclaimZoneRequest() (request *ReclaimZoneRequest)
func (*ReclaimZoneRequest) FromJsonString ¶
func (r *ReclaimZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReclaimZoneRequest) ToJsonString ¶
func (r *ReclaimZoneRequest) ToJsonString() string
type ReclaimZoneRequestParams ¶
type ReclaimZoneRequestParams struct {
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
}
Predefined struct for user
type ReclaimZoneResponse ¶
type ReclaimZoneResponse struct {
*tchttp.BaseResponse
Response *ReclaimZoneResponseParams `json:"Response"`
}
func NewReclaimZoneResponse ¶
func NewReclaimZoneResponse() (response *ReclaimZoneResponse)
func (*ReclaimZoneResponse) FromJsonString ¶
func (r *ReclaimZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReclaimZoneResponse) ToJsonString ¶
func (r *ReclaimZoneResponse) ToJsonString() string
type ReclaimZoneResponseParams ¶
type ReclaimZoneResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type Resource ¶
type Resource struct {
// 资源 ID。
Id *string `json:"Id,omitempty" name:"Id"`
// 付费模式,取值有:
// <li>0:后付费。</li>
PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"`
// 创建时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 生效时间。
EnableTime *string `json:"EnableTime,omitempty" name:"EnableTime"`
// 失效时间。
ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 套餐状态,取值有:
// <li>normal:正常;</li>
// <li>isolated:隔离;</li>
// <li>destroyed:销毁。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 询价参数。
Sv []*Sv `json:"Sv,omitempty" name:"Sv"`
// 是否自动续费,取值有:
// <li>0:默认状态;</li>
// <li>1:自动续费;</li>
// <li>2:不自动续费。</li>
AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"`
// 套餐关联资源 ID。
PlanId *string `json:"PlanId,omitempty" name:"PlanId"`
// 地域,取值有:
// <li>mainland:国内;</li>
// <li>overseas:海外。</li>
// <li>global:全球。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
type RewriteAction ¶
type RewriteAction struct {
// 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
Action *string `json:"Action,omitempty" name:"Action"`
// 参数。
Parameters []*RuleRewriteActionParams `json:"Parameters,omitempty" name:"Parameters"`
}
type Rule ¶
type Rule struct {
// 执行的功能。
Actions []*Action `json:"Actions,omitempty" name:"Actions"`
// 执行功能判断条件。
// 注意:满足该数组内任意一项条件,功能即可执行。
Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`
// 嵌套规则。
SubRules []*SubRuleItem `json:"SubRules,omitempty" name:"SubRules"`
}
type RuleAndConditions ¶
type RuleAndConditions struct {
// 规则引擎条件,该数组内所有项全部满足即判断该条件满足。
Conditions []*RuleCondition `json:"Conditions,omitempty" name:"Conditions"`
}
type RuleChoicePropertiesItem ¶
type RuleChoicePropertiesItem struct {
// 参数名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 参数值类型。
// <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
// <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
// <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
// <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 参数值的可选值。
// 注意:若参数值为用户自定义则该数组为空数组。
ChoicesValue []*string `json:"ChoicesValue,omitempty" name:"ChoicesValue"`
// 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
Min *int64 `json:"Min,omitempty" name:"Min"`
// 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
Max *int64 `json:"Max,omitempty" name:"Max"`
// 参数值是否支持多选或者填写多个。
IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"`
// 是否允许为空。
IsAllowEmpty *bool `json:"IsAllowEmpty,omitempty" name:"IsAllowEmpty"`
// 特殊参数。
// <li> 为 NULL:RuleAction 选择 NormalAction;</li>
// <li> 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;</li>
// <li> 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。</li>
ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitempty" name:"ExtraParameter"`
}
type RuleCodeActionParams ¶
type RuleCodeActionParams struct {
// 状态 Code。
StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`
// 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
Name *string `json:"Name,omitempty" name:"Name"`
// 参数值。
Values []*string `json:"Values,omitempty" name:"Values"`
}
type RuleCondition ¶
type RuleCondition struct {
// 运算符,取值有:
// <li> equal: 等于; </li>
// <li> notequal: 不等于;</li>
// <li> exist: 存在; </li>
// <li> notexist: 不存在。</li>
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 匹配类型,取值有:
// <li> filename:文件名; </li>
// <li> extension:文件后缀; </li>
// <li> host:HOST; </li>
// <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
// <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li>
// <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li>
// <li> request_header:HTTP请求头部。 </li>
Target *string `json:"Target,omitempty" name:"Target"`
// 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型有:
// <li> 文件后缀:jpg、txt等文件后缀;</li>
// <li> 文件名称:例如 foo.jpg 中的 foo;</li>
// <li> 全部(站点任意请求): all; </li>
// <li> HOST:当前站点下的 host ,例如www.maxx55.com;</li>
// <li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li>
// <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example;</li>
// <li> 客户端国家/地区:符合ISO3166标准的国家/地区标识;</li>
// <li> 查询字符串: 当前站点下URL请求中查询字符串的参数值,例如lang=cn&version=1中的cn和1; </li>
// <li> HTTP 请求头: HTTP请求头部字段值,例如Accept-Language:zh-CN,zh;q=0.9中的zh-CN,zh;q=0.9。 </li>
Values []*string `json:"Values,omitempty" name:"Values"`
// 是否忽略参数值的大小写,默认值为 false。
IgnoreCase *bool `json:"IgnoreCase,omitempty" name:"IgnoreCase"`
// 对应匹配类型的参数名称,在 Target 值为以下取值时有效,有效时值不能为空:
// <li> query_string(查询字符串): 当前站点下URL请求中查询字符串的参数名称,例如lang=cn&version=1中的lang和version; </li>
// <li> request_header(HTTP 请求头): HTTP请求头部字段名,例如Accept-Language:zh-CN,zh;q=0.9中的Accept-Language。 </li>
Name *string `json:"Name,omitempty" name:"Name"`
// 是否忽略参数名称的大小写,默认值为 false。
// 注意:此字段可能返回 null,表示取不到有效值。
IgnoreNameCase *bool `json:"IgnoreNameCase,omitempty" name:"IgnoreNameCase"`
}
type RuleExtraParameter ¶
type RuleExtraParameter struct {
// 参数名,取值有:
// <li> Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;</li>
// <li> StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。</li>
Id *string `json:"Id,omitempty" name:"Id"`
// 参数值类型。
// <li> CHOICE:参数值只能在 Values 中选择; </li>
// <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
// <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 可选参数值。
// 注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。
Choices []*string `json:"Choices,omitempty" name:"Choices"`
}
type RuleItem ¶
type RuleItem struct {
// 规则ID。
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 规则名称,名称字符串长度 1~255。
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 规则状态,取值有:
// <li> enable: 启用; </li>
// <li> disable: 未启用。 </li>
Status *string `json:"Status,omitempty" name:"Status"`
// 规则内容。
Rules []*Rule `json:"Rules,omitempty" name:"Rules"`
// 规则优先级, 值越大优先级越高,最小为 1。
RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
// 规则标签。
Tags []*string `json:"Tags,omitempty" name:"Tags"`
}
type RuleNormalActionParams ¶
type RuleNormalActionParams struct {
// 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
Name *string `json:"Name,omitempty" name:"Name"`
// 参数值。
Values []*string `json:"Values,omitempty" name:"Values"`
}
type RuleRewriteActionParams ¶
type RuleRewriteActionParams struct {
// 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。现在只有三种取值:
// <li> add:添加 HTTP 头部;</li>
// <li> set:重写 HTTP 头部;</li>
// <li> del:删除 HTTP 头部。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 参数名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 参数值。
Values []*string `json:"Values,omitempty" name:"Values"`
}
type RulesProperties ¶
type RulesProperties struct {
// 值为参数名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
Min *int64 `json:"Min,omitempty" name:"Min"`
// 参数值的可选值。
// 注意:若参数值为用户自定义则该数组为空数组。
ChoicesValue []*string `json:"ChoicesValue,omitempty" name:"ChoicesValue"`
// 参数值类型。
// <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
// <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
// <li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li>
// <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
// <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)
Type *string `json:"Type,omitempty" name:"Type"`
// 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
Max *int64 `json:"Max,omitempty" name:"Max"`
// 参数值是否支持多选或者填写多个。
IsMultiple *bool `json:"IsMultiple,omitempty" name:"IsMultiple"`
// 是否允许为空。
IsAllowEmpty *bool `json:"IsAllowEmpty,omitempty" name:"IsAllowEmpty"`
// 该参数对应的关联配置参数,属于调用接口的必填参数。
// 注意:如果可选参数无特殊新增参数则该数组为空数组。
ChoiceProperties []*RuleChoicePropertiesItem `json:"ChoiceProperties,omitempty" name:"ChoiceProperties"`
// <li> 为 NULL:无特殊参数,RuleAction 选择 NormalAction;</li>
// 注意:此字段可能返回 null,表示取不到有效值。
ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitempty" name:"ExtraParameter"`
}
type RulesSettingAction ¶
type RulesSettingAction struct {
// 功能名称,取值有:
// <li> 访问URL 重写(AccessUrlRedirect);</li>
// <li> 回源 URL 重写 (UpstreamUrlRedirect);</li>
// <li> 自定义错误页面
// (ErrorPage);</li>
// <li> QUIC(QUIC);</li>
// <li> WebSocket (WebSocket);</li>
// <li> 视频拖拽(VideoSeek);</li>
// <li> Token 鉴权(Authentication);</li>
// <li> 自定义CacheKey(CacheKey);</li>
// <li> 节点缓存 TTL (Cache);</li>
// <li> 浏览器缓存 TTL(MaxAge);</li>
// <li> 离线缓存(OfflineCache);</li>
// <li> 智能加速(SmartRouting);</li>
// <li> 分片回源(RangeOriginPull);</li>
// <li> HTTP/2 回源(UpstreamHttp2);</li>
// <li> Host Header 重写(HostHeader);</li>
// <li> 强制 HTTPS(ForceRedirect);</li>
// <li> 回源 HTTPS(OriginPullProtocol);</li>
// <li> 缓存预刷新(CachePrefresh);</li>
// <li> 智能压缩(Compression);</li>
// <li> 修改 HTTP 请求头(RequestHeader);</li>
// <li> 修改HTTP响应头(ResponseHeader);</li>
// <li> 状态码缓存 TTL(StatusCodeCache);</li>
// <li> Hsts;</li>
// <li> ClientIpHeader;</li>
// <li> TlsVersion;</li>
// <li> OcspStapling。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 参数信息。
Properties []*RulesProperties `json:"Properties,omitempty" name:"Properties"`
}
type SecClientIp ¶
type SecEntry ¶
type SecEntry struct {
// 查询维度值。
Key *string `json:"Key,omitempty" name:"Key"`
// 查询维度下详细数据。
Value []*SecEntryValue `json:"Value,omitempty" name:"Value"`
}
type SecEntryValue ¶
type SecEntryValue struct {
// 指标名称。
Metric *string `json:"Metric,omitempty" name:"Metric"`
// 时序数据详情。
Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`
// 最大值。
Max *int64 `json:"Max,omitempty" name:"Max"`
// 平均值。
Avg *float64 `json:"Avg,omitempty" name:"Avg"`
// 数据总和。
Sum *float64 `json:"Sum,omitempty" name:"Sum"`
}
type SecHitRuleInfo ¶
type SecHitRuleInfo struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 规则ID。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则类型名称。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 命中时间,采用unix秒级时间戳。
HitTime *int64 `json:"HitTime,omitempty" name:"HitTime"`
// 请求数。
RequestNum *int64 `json:"RequestNum,omitempty" name:"RequestNum"`
// 规则描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 执行动作(处置方式),取值有:
// <li>trans :通过 ;</li>
// <li>alg :算法挑战 ;</li>
// <li>drop :丢弃 ;</li>
// <li>ban :封禁源ip ;</li>
// <li>redirect :重定向 ;</li>
// <li>page :返回指定页面 ;</li>
// <li>monitor :观察 。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// Bot标签,取值有:
// <li>evil_bot:恶意Bot;</li>
// <li>suspect_bot:疑似Bot;</li>
// <li>good_bot:正常Bot;</li>
// <li>normal:正常请求;</li>
// <li>none:未分类。</li>
BotLabel *string `json:"BotLabel,omitempty" name:"BotLabel"`
// 规则是否启用。
RuleEnabled *bool `json:"RuleEnabled,omitempty" name:"RuleEnabled"`
// 规则是否启用监控告警。
AlarmEnabled *bool `json:"AlarmEnabled,omitempty" name:"AlarmEnabled"`
// 规则是否存在,取值有:
// <li>true: 规则不存在;</li>
// <li>false: 规则存在。</li>
RuleDeleted *bool `json:"RuleDeleted,omitempty" name:"RuleDeleted"`
}
type SecRuleRelatedInfo ¶
type SecRuleRelatedInfo struct {
// 规则ID。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 执行动作(处置方式),取值有:
// <li>trans :通过 ;</li>
// <li>alg :算法挑战 ;</li>
// <li>drop :丢弃 ;</li>
// <li>ban :封禁源ip ;</li>
// <li>redirect :重定向 ;</li>
// <li>page :返回指定页面 ;</li>
// <li>monitor :观察 。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 风险等级(waf日志中独有),取值有:
// <li>high risk :高危 ;</li>
// <li>middle risk :中危 ;</li>
// <li>low risk :低危 ;</li>
// <li>unkonw :未知 。</li>
RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`
// 规则等级,取值有:
// <li>normal :正常 。</li>
RuleLevel *string `json:"RuleLevel,omitempty" name:"RuleLevel"`
// 规则描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 规则类型名称。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 攻击内容。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`
// 规则类型,取值有:
// <li>waf: 托管规则;</li>
// <li>acl:自定义规则;</li>
// <li>rate:速率限制规则;</li>
// <li>bot:bot防护规则。</li>
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
// 规则是否开启。
RuleEnabled *bool `json:"RuleEnabled,omitempty" name:"RuleEnabled"`
// 规则是否存在,取值有:
// <li>true: 规则不存在;</li>
// <li>false: 规则存在。</li>
RuleDeleted *bool `json:"RuleDeleted,omitempty" name:"RuleDeleted"`
// 规则是否启用监控告警。
AlarmEnabled *bool `json:"AlarmEnabled,omitempty" name:"AlarmEnabled"`
}
type SecurityConfig ¶
type SecurityConfig struct {
// 托管规则。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
WafConfig *WafConfig `json:"WafConfig,omitempty" name:"WafConfig"`
// 速率限制。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitempty" name:"RateLimitConfig"`
// 自定义规则。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
AclConfig *AclConfig `json:"AclConfig,omitempty" name:"AclConfig"`
// Bot配置。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
BotConfig *BotConfig `json:"BotConfig,omitempty" name:"BotConfig"`
// 七层防护总开关。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
SwitchConfig *SwitchConfig `json:"SwitchConfig,omitempty" name:"SwitchConfig"`
// 基础访问管控。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
IpTableConfig *IpTableConfig `json:"IpTableConfig,omitempty" name:"IpTableConfig"`
// 例外规则配置。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ExceptConfig *ExceptConfig `json:"ExceptConfig,omitempty" name:"ExceptConfig"`
// 自定义拦截页面配置。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DropPageConfig *DropPageConfig `json:"DropPageConfig,omitempty" name:"DropPageConfig"`
// 模板配置。此处仅出参数使用。
// 注意:此字段可能返回 null,表示取不到有效值。
TemplateConfig *TemplateConfig `json:"TemplateConfig,omitempty" name:"TemplateConfig"`
// 慢速攻击配置。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
SlowPostConfig *SlowPostConfig `json:"SlowPostConfig,omitempty" name:"SlowPostConfig"`
}
type SecurityType ¶
type SecurityType struct {
// 安全类型开关,取值为:
// <li> on:开启;</li>
// <li> off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type ServerCertInfo ¶
type ServerCertInfo struct {
// 服务器证书 ID。
// 注意:此字段可能返回 null,表示取不到有效值。
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书备注名。
// 注意:此字段可能返回 null,表示取不到有效值。
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 证书类型,取值有:
// <li>default:默认证书;</lil>
// <li>upload:用户上传;</li>
// <li>managed:腾讯云托管。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// 证书过期时间。
// 注意:此字段可能返回 null,表示取不到有效值。
ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 证书部署时间。
// 注意:此字段可能返回 null,表示取不到有效值。
DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`
// 签名算法。
// 注意:此字段可能返回 null,表示取不到有效值。
SignAlgo *string `json:"SignAlgo,omitempty" name:"SignAlgo"`
// 证书归属域名名称。
// 注意:此字段可能返回 null,表示取不到有效值。
CommonName *string `json:"CommonName,omitempty" name:"CommonName"`
}
type SingleDataRecord ¶
type SingleDataRecord struct {
// 查询维度值。
TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`
// 查询维度下具体指标值。
TypeValue []*SingleTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}
type SingleTypeValue ¶
type SkipCondition ¶ added in v1.0.507
type SkipCondition struct {
// 例外跳过类型,取值为:
// <li>header_fields:HTTP请求Header;</li>
// <li>cookie:HTTP请求Cookie;</li>
// <li>query_string:HTTP请求URL中的Query参数;</li>
// <li>uri:HTTP请求URI;</li>
// <li>body_raw:HTTP请求Body;</li>
// <li>body_json: JSON格式的HTTP Body。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 选择跳过的字段,取值为:
// <li>args:uri 下选择 query 参数: ?name1=jack&age=12;</li>
// <li>path:uri 下选择部分路径:/path/to/resource.jpg;</li>
// <li>full:uri 下选择完整路径:example.com/path/to/resource.jpg?name1=jack&age=12;</li>
// <li>upload_filename:分段文件名,即分段传输文件时;</li>
// <li>keys:所有的Key;</li>
// <li>values:匹配Key对应的值;</li>
// <li>key_value:匹配Key及匹配Value。</li>
Selector *string `json:"Selector,omitempty" name:"Selector"`
// 匹配Key所使用的匹配方式,取值为:
// <li>equal:精准匹配,等于;</li>
// <li>wildcard:通配符匹配,支持 * 通配。</li>
MatchFromType *string `json:"MatchFromType,omitempty" name:"MatchFromType"`
// 匹配Key的值。
// 注意:此字段可能返回 null,表示取不到有效值。
MatchFrom []*string `json:"MatchFrom,omitempty" name:"MatchFrom"`
// 匹配Content所使用的匹配方式,取值为:
// <li>equal:精准匹配,等于;</li>
// <li>wildcard:通配符匹配,支持 * 通配。</li>
MatchContentType *string `json:"MatchContentType,omitempty" name:"MatchContentType"`
// 匹配Value的值。
// 注意:此字段可能返回 null,表示取不到有效值。
MatchContent []*string `json:"MatchContent,omitempty" name:"MatchContent"`
}
type SlowPostConfig ¶ added in v1.0.581
type SlowPostConfig struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 首包配置。
// 注意:此字段可能返回 null,表示取不到有效值。
FirstPartConfig *FirstPartConfig `json:"FirstPartConfig,omitempty" name:"FirstPartConfig"`
// 基础配置。
// 注意:此字段可能返回 null,表示取不到有效值。
SlowRateConfig *SlowRateConfig `json:"SlowRateConfig,omitempty" name:"SlowRateConfig"`
// 慢速攻击的处置动作,取值有:
// <li>monitor:观察;</li>
// <li>drop:拦截。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Action *string `json:"Action,omitempty" name:"Action"`
// 本规则的Id。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"`
}
type SlowRateConfig ¶ added in v1.0.581
type SlowRateConfig struct {
// 开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 统计的间隔,单位是秒,即在首段包传输结束后,将数据传输轴按照本参数切分,每个分片独立计算慢速攻击。
// 注意:此字段可能返回 null,表示取不到有效值。
Interval *uint64 `json:"Interval,omitempty" name:"Interval"`
// 统计时应用的速率阈值,单位是bps,即如果本分片中的传输速率没达到本参数的值,则判定为慢速攻击,应用慢速攻击的处置方式。
// 注意:此字段可能返回 null,表示取不到有效值。
Threshold *uint64 `json:"Threshold,omitempty" name:"Threshold"`
}
type SmartRouting ¶
type SmartRouting struct {
// 智能加速配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type SpeedTestingConfig ¶
type SpeedTestingConfig struct {
// 任务类型,取值有:
// <li>1:页面性能;</li>
// <li>2:文件上传;</li>
// <li>3:文件下载;</li>
// <li>4:端口性能;</li>
// <li>5:网络质量;</li>
// <li>6:音视频体验。</li>
TaskType *int64 `json:"TaskType,omitempty" name:"TaskType"`
// 拨测 url。
Url *string `json:"Url,omitempty" name:"Url"`
// 拨测 UA。
UA *string `json:"UA,omitempty" name:"UA"`
// 网络类型。
Connectivity *string `json:"Connectivity,omitempty" name:"Connectivity"`
}
type SpeedTestingDetailData ¶
type SpeedTestingDetailData struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 地域性能数据。
DistrictStatistics []*DistrictStatistics `json:"DistrictStatistics,omitempty" name:"DistrictStatistics"`
}
type SpeedTestingInfo ¶
type SpeedTestingInfo struct {
// 任务状态,取值有:
// <li> 200:任务完成;</li>
// <li> 100:任务进行中;</li>
// <li> 503: 任务失败。</li>
StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`
// 拨测任务 ID。
TestId *string `json:"TestId,omitempty" name:"TestId"`
// 拨测任务配置。
SpeedTestingConfig *SpeedTestingConfig `json:"SpeedTestingConfig,omitempty" name:"SpeedTestingConfig"`
// 拨测任务统计结果。
// 注意:此字段可能返回 null,表示取不到有效值。
SpeedTestingStatistics *SpeedTestingStatistics `json:"SpeedTestingStatistics,omitempty" name:"SpeedTestingStatistics"`
}
type SpeedTestingMetricData ¶
type SpeedTestingMetricData struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 源站拨测信息。
OriginSpeedTestingInfo []*SpeedTestingInfo `json:"OriginSpeedTestingInfo,omitempty" name:"OriginSpeedTestingInfo"`
// EO 拨测信息。
ProxySpeedTestingInfo []*SpeedTestingInfo `json:"ProxySpeedTestingInfo,omitempty" name:"ProxySpeedTestingInfo"`
// 站点状态。
SpeedTestingStatus *SpeedTestingStatus `json:"SpeedTestingStatus,omitempty" name:"SpeedTestingStatus"`
// 优化建议。
OptimizeAction []*OptimizeAction `json:"OptimizeAction,omitempty" name:"OptimizeAction"`
// EO 整体性能,单位ms。
// 注意:此字段可能返回 null,表示取不到有效值。
ProxyLoadTime *int64 `json:"ProxyLoadTime,omitempty" name:"ProxyLoadTime"`
// 源站整体性能,单位ms。
// 注意:此字段可能返回 null,表示取不到有效值。
OriginLoadTime *int64 `json:"OriginLoadTime,omitempty" name:"OriginLoadTime"`
}
type SpeedTestingQuota ¶
type SpeedTestingStatistics ¶
type SpeedTestingStatistics struct {
// 首屏时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
FirstContentfulPaint *int64 `json:"FirstContentfulPaint,omitempty" name:"FirstContentfulPaint"`
// 首屏完全渲染时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
FirstMeaningfulPaint *int64 `json:"FirstMeaningfulPaint,omitempty" name:"FirstMeaningfulPaint"`
// 整体下载速度,单位 KB/s。
// 注意:此字段可能返回 null,表示取不到有效值。
OverallDownloadSpeed *float64 `json:"OverallDownloadSpeed,omitempty" name:"OverallDownloadSpeed"`
// 渲染时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
RenderTime *int64 `json:"RenderTime,omitempty" name:"RenderTime"`
// 文档完成时间, 单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
DocumentFinishTime *int64 `json:"DocumentFinishTime,omitempty" name:"DocumentFinishTime"`
// 基础文档TCP连接时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
TcpConnectionTime *int64 `json:"TcpConnectionTime,omitempty" name:"TcpConnectionTime"`
// 基础文档服务器响应时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
ResponseTime *int64 `json:"ResponseTime,omitempty" name:"ResponseTime"`
// 基础文档下载时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
FileDownloadTime *int64 `json:"FileDownloadTime,omitempty" name:"FileDownloadTime"`
// 整体性能,测试总时间,单位 ms。
// 注意:此字段可能返回 null,表示取不到有效值。
LoadTime *int64 `json:"LoadTime,omitempty" name:"LoadTime"`
}
type SpeedTestingStatus ¶
type SpeedTestingStatus struct {
// 拨测 url。
Url *string `json:"Url,omitempty" name:"Url"`
// 拨测 url 是否使用 https。
Tls *bool `json:"Tls,omitempty" name:"Tls"`
// 任务创建时间。
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 任务状态,取值有:
// <li> 200:任务完成;</li>
// <li> 100:任务进行中。</li>
// <li> 503: 任务失败。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
StatusCode *int64 `json:"StatusCode,omitempty" name:"StatusCode"`
// 拨测 UA。
// 注意:此字段可能返回 null,表示取不到有效值。
UA *string `json:"UA,omitempty" name:"UA"`
// 网络环境。
// 注意:此字段可能返回 null,表示取不到有效值。
Connectivity *string `json:"Connectivity,omitempty" name:"Connectivity"`
// 是否可达,取值:
// <li> true:可达;</li>
// <li> false:不可达。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Reachable *bool `json:"Reachable,omitempty" name:"Reachable"`
// 是否超时,取值:
// <li> true:超时;</li>
// <li> false:不超时。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
TimedOut *bool `json:"TimedOut,omitempty" name:"TimedOut"`
}
type SubRule ¶ added in v1.0.518
type SubRule struct {
// 执行功能判断条件。
// 注意:满足该数组内任意一项条件,功能即可执行。
Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`
// 执行的功能。
Actions []*Action `json:"Actions,omitempty" name:"Actions"`
}
type SubRuleItem ¶ added in v1.0.518
type SwitchConfig ¶
type SwitchConfig struct {
// Web类型的安全总开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>不影响DDoS与Bot的开关。
WebSwitch *string `json:"WebSwitch,omitempty" name:"WebSwitch"`
}
type Task ¶
type Task struct {
// 任务 ID。
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 状态。
Status *string `json:"Status,omitempty" name:"Status"`
// 资源。
Target *string `json:"Target,omitempty" name:"Target"`
// 任务类型。
Type *string `json:"Type,omitempty" name:"Type"`
// 任务创建时间。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 任务完成时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type TemplateConfig ¶ added in v1.0.533
type TimingDataItem ¶
type TimingDataRecord ¶
type TimingDataRecord struct {
// 查询维度值。
TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`
// 详细时序数据。
TypeValue []*TimingTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}
type TimingTypeValue ¶
type TimingTypeValue struct {
// 数据和。
Sum *int64 `json:"Sum,omitempty" name:"Sum"`
// 最大值。
Max *int64 `json:"Max,omitempty" name:"Max"`
// 平均值。
Avg *int64 `json:"Avg,omitempty" name:"Avg"`
// 指标名。
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 详细数据。
// 注意:此字段可能返回 null,表示取不到有效值。
Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`
}
type TopDataRecord ¶
type TopDataRecord struct {
// 查询维度值。
TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`
// top数据排行。
DetailData []*TopDetailData `json:"DetailData,omitempty" name:"DetailData"`
}
type TopDetailData ¶
type TopEntry ¶
type TopEntry struct {
// top查询维度值。
Key *string `json:"Key,omitempty" name:"Key"`
// 查询具体数据。
Value []*TopEntryValue `json:"Value,omitempty" name:"Value"`
}
type TopEntryValue ¶
type UpdateOriginProtectionIPWhitelistRequest ¶ added in v1.0.570
type UpdateOriginProtectionIPWhitelistRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewUpdateOriginProtectionIPWhitelistRequest ¶ added in v1.0.570
func NewUpdateOriginProtectionIPWhitelistRequest() (request *UpdateOriginProtectionIPWhitelistRequest)
func (*UpdateOriginProtectionIPWhitelistRequest) FromJsonString ¶ added in v1.0.570
func (r *UpdateOriginProtectionIPWhitelistRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateOriginProtectionIPWhitelistRequest) ToJsonString ¶ added in v1.0.570
func (r *UpdateOriginProtectionIPWhitelistRequest) ToJsonString() string
type UpdateOriginProtectionIPWhitelistRequestParams ¶ added in v1.0.570
type UpdateOriginProtectionIPWhitelistRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type UpdateOriginProtectionIPWhitelistResponse ¶ added in v1.0.570
type UpdateOriginProtectionIPWhitelistResponse struct {
*tchttp.BaseResponse
Response *UpdateOriginProtectionIPWhitelistResponseParams `json:"Response"`
}
func NewUpdateOriginProtectionIPWhitelistResponse ¶ added in v1.0.570
func NewUpdateOriginProtectionIPWhitelistResponse() (response *UpdateOriginProtectionIPWhitelistResponse)
func (*UpdateOriginProtectionIPWhitelistResponse) FromJsonString ¶ added in v1.0.570
func (r *UpdateOriginProtectionIPWhitelistResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpdateOriginProtectionIPWhitelistResponse) ToJsonString ¶ added in v1.0.570
func (r *UpdateOriginProtectionIPWhitelistResponse) ToJsonString() string
type UpdateOriginProtectionIPWhitelistResponseParams ¶ added in v1.0.570
type UpdateOriginProtectionIPWhitelistResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type UpstreamHttp2 ¶
type UpstreamHttp2 struct {
// http2 回源配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type VanityNameServers ¶
type VanityNameServersIps ¶
type WafConfig ¶
type WafConfig struct {
// WafConfig开关,取值有:
// <li> on:开启;</li>
// <li> off:关闭。</li>开关仅与配置是否生效有关,即使为off(关闭),也可以正常修改配置的内容。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 上一次设置的防护级别,取值有:
// <li> loose:宽松;</li>
// <li> normal:正常;</li>
// <li> strict:严格;</li>
// <li> stricter:超严格;</li>
// <li> custom:自定义。</li>
Level *string `json:"Level,omitempty" name:"Level"`
// 全局WAF模式,取值有:
// <li> block:阻断(全局阻断,但可对详细规则配置观察);</li>
// <li> observe:观察(无论详细规则配置什么,都为观察)。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 托管规则详细配置。如果为null,默认使用历史配置。
WafRule *WafRule `json:"WafRule,omitempty" name:"WafRule"`
// AI规则引擎防护配置。如果为null,默认使用历史配置。
AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`
}
type WafGroup ¶
type WafGroup struct {
// 执行动作,取值有:
// <li> block:阻断;</li>
// <li> observe:观察。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Action *string `json:"Action,omitempty" name:"Action"`
// 防护级别,取值有:
// <li> loose:宽松;</li>
// <li> normal:正常;</li>
// <li> strict:严格;</li>
// <li> stricter:超严格;</li>
// <li> custom:自定义。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
Level *string `json:"Level,omitempty" name:"Level"`
// 规则类型id。
// 注意:此字段可能返回 null,表示取不到有效值。
TypeId *int64 `json:"TypeId,omitempty" name:"TypeId"`
}
type WafRule ¶
type WafRule struct {
// 托管规则开关,取值有:
// <li> on:开启;</li>
// <li> off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。
BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitempty" name:"BlockRuleIDs"`
// 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。
ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitempty" name:"ObserveRuleIDs"`
}
type WebLogs ¶
type WebLogs struct {
// 请求(事件)ID。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// http 日志内容。
HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`
// 受攻击子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 攻击源(客户端)Ip。
AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`
// IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"`
// 真实客户端Ip。
RealClientIp *string `json:"RealClientIp,omitempty" name:"RealClientIp"`
// 真实客户端Ip所在国家iso-3166中alpha-2编码。
RealClientIpCountryCode *string `json:"RealClientIpCountryCode,omitempty" name:"RealClientIpCountryCode"`
// 攻击时间,采用unix秒级时间戳。
AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`
// 请求地址。
RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`
// 请求类型。
// 注意:此字段可能返回 null,表示取不到有效值。
ReqMethod *string `json:"ReqMethod,omitempty" name:"ReqMethod"`
// 规则相关信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`
// 攻击内容。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`
// 日志所属区域。
// 注意:此字段可能返回 null,表示取不到有效值。
Area *string `json:"Area,omitempty" name:"Area"`
}
type Zone ¶
type Zone struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 站点当前使用的 NS 列表。
OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`
// 腾讯云分配的 NS 列表。
NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`
// 站点状态,取值有:
// <li> active:NS 已切换; </li>
// <li> pending:NS 未切换;</li>
// <li> moved:NS 已切走;</li>
// <li> deactivated:被封禁。 </li>
Status *string `json:"Status,omitempty" name:"Status"`
// 站点接入方式,取值有
// <li> full:NS 接入; </li>
// <li> partial:CNAME 接入。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 站点是否关闭。
Paused *bool `json:"Paused,omitempty" name:"Paused"`
// 是否开启 CNAME 加速,取值有:
// <li> enabled:开启;</li>
// <li> disabled:关闭。</li>
CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"`
// CNAME 接入状态,取值有:
// <li> finished:站点已验证;</li>
// <li> pending:站点验证中。</li>
CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`
// 资源标签列表。
Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
// 计费资源列表。
Resources []*Resource `json:"Resources,omitempty" name:"Resources"`
// 站点创建时间。
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 站点修改时间。
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 站点接入地域,取值有:
// <li> global:全球;</li>
// <li> mainland:中国大陆;</li>
// <li> overseas:境外区域。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 用户自定义 NS 信息。
// 注意:此字段可能返回 null,表示取不到有效值。
VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
// 用户自定义 NS IP 信息。
// 注意:此字段可能返回 null,表示取不到有效值。
VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitempty" name:"VanityNameServersIps"`
// 展示状态,取值有:
// <li> active:已启用;</li>
// <li> inactive:未生效;</li>
// <li> paused:已停用。</li>
ActiveStatus *string `json:"ActiveStatus,omitempty" name:"ActiveStatus"`
// 站点别名。数字、英文、-和_组合,限制20个字符。
// 注意:此字段可能返回 null,表示取不到有效值。
AliasZoneName *string `json:"AliasZoneName,omitempty" name:"AliasZoneName"`
// 是否伪站点,取值有:
// <li> 0:非伪站点;</li>
// <li> 1:伪站点。</li>
IsFake *int64 `json:"IsFake,omitempty" name:"IsFake"`
// 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作。</li>
LockStatus *string `json:"LockStatus,omitempty" name:"LockStatus"`
}
type ZoneSetting ¶
type ZoneSetting struct {
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 站点加速区域信息,取值有:
// <li> mainland:中国境内加速;</li>
// <li> overseas:中国境外加速。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 节点缓存键配置。
// 注意:此字段可能返回 null,表示取不到有效值。
CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"`
// Quic访问配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Quic *Quic `json:"Quic,omitempty" name:"Quic"`
// POST请求传输配置。
// 注意:此字段可能返回 null,表示取不到有效值。
PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"`
// 智能压缩配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Compression *Compression `json:"Compression,omitempty" name:"Compression"`
// Http2回源配置。
// 注意:此字段可能返回 null,表示取不到有效值。
UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"`
// 访问协议强制Https跳转配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"`
// 缓存过期时间配置。
// 注意:此字段可能返回 null,表示取不到有效值。
CacheConfig *CacheConfig `json:"CacheConfig,omitempty" name:"CacheConfig"`
// 源站配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Origin *Origin `json:"Origin,omitempty" name:"Origin"`
// 智能加速配置。
// 注意:此字段可能返回 null,表示取不到有效值。
SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"`
// 浏览器缓存配置。
// 注意:此字段可能返回 null,表示取不到有效值。
MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"`
// 离线缓存配置。
// 注意:此字段可能返回 null,表示取不到有效值。
OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"`
// WebSocket配置。
// 注意:此字段可能返回 null,表示取不到有效值。
WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"`
// 客户端IP回源请求头配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`
// 缓存预刷新配置。
// 注意:此字段可能返回 null,表示取不到有效值。
CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
// Ipv6访问配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Ipv6 *Ipv6 `json:"Ipv6,omitempty" name:"Ipv6"`
// Https 加速配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Https *Https `json:"Https,omitempty" name:"Https"`
// 回源时是否携带客户端IP所属地域信息的配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitempty" name:"ClientIpCountry"`
// Grpc协议支持配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Grpc *Grpc `json:"Grpc,omitempty" name:"Grpc"`
// 图片优化相关配置。
// 注意:此字段可能返回 null,表示取不到有效值。
ImageOptimize *ImageOptimize `json:"ImageOptimize,omitempty" name:"ImageOptimize"`
// 中国大陆加速优化配置。
// 注意:此字段可能返回 null,表示取不到有效值。
AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitempty" name:"AccelerateMainland"`
}