Documentation
¶
Index ¶
- Constants
- type AccelerateType
- type AclCondition
- type AclConfig
- type AclUserRule
- type Action
- type AdvancedFilter
- type AdvancedOriginGroup
- type AiRule
- type AliasDomain
- type ApplicationProxy
- type ApplicationProxyRule
- type AscriptionInfo
- type BillingDataFilter
- type BotConfig
- type BotLog
- type BotManagedRule
- type BotManagedRuleDetail
- type BotPortraitRule
- type CC
- type CCInterceptEvent
- type Cache
- type CacheConfig
- type CacheKey
- type CachePrefresh
- type CheckCertificateRequest
- type CheckCertificateRequestParams
- type CheckCertificateResponse
- type CheckCertificateResponseParams
- type Client
- 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) 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) CreateCustomErrorPage(request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
- func (c *Client) CreateCustomErrorPageWithContext(ctx context.Context, request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
- func (c *Client) CreateDnsRecord(request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)
- func (c *Client) CreateDnsRecordWithContext(ctx context.Context, request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)
- func (c *Client) CreateIpTableList(request *CreateIpTableListRequest) (response *CreateIpTableListResponse, err error)
- func (c *Client) CreateIpTableListWithContext(ctx context.Context, request *CreateIpTableListRequest) (response *CreateIpTableListResponse, err error)
- func (c *Client) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
- func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
- func (c *Client) CreateLogSet(request *CreateLogSetRequest) (response *CreateLogSetResponse, err error)
- func (c *Client) CreateLogSetWithContext(ctx context.Context, request *CreateLogSetRequest) (response *CreateLogSetResponse, err error)
- func (c *Client) CreateLogTopicTask(request *CreateLogTopicTaskRequest) (response *CreateLogTopicTaskResponse, err error)
- func (c *Client) CreateLogTopicTaskWithContext(ctx context.Context, request *CreateLogTopicTaskRequest) (response *CreateLogTopicTaskResponse, 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) CreateSecurityDropPage(request *CreateSecurityDropPageRequest) (response *CreateSecurityDropPageResponse, err error)
- func (c *Client) CreateSecurityDropPageWithContext(ctx context.Context, request *CreateSecurityDropPageRequest) (response *CreateSecurityDropPageResponse, 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) 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) DeleteDnsRecords(request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
- func (c *Client) DeleteDnsRecordsWithContext(ctx context.Context, request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
- func (c *Client) DeleteLoadBalancing(request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
- func (c *Client) DeleteLoadBalancingWithContext(ctx context.Context, request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
- func (c *Client) DeleteLogTopicTask(request *DeleteLogTopicTaskRequest) (response *DeleteLogTopicTaskResponse, err error)
- func (c *Client) DeleteLogTopicTaskWithContext(ctx context.Context, request *DeleteLogTopicTaskRequest) (response *DeleteLogTopicTaskResponse, 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) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
- func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, 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) DescribeBillingData(request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
- func (c *Client) DescribeBillingDataWithContext(ctx context.Context, request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
- func (c *Client) DescribeBotClientIpList(request *DescribeBotClientIpListRequest) (response *DescribeBotClientIpListResponse, err error)
- func (c *Client) DescribeBotClientIpListWithContext(ctx context.Context, request *DescribeBotClientIpListRequest) (response *DescribeBotClientIpListResponse, err error)
- func (c *Client) DescribeBotData(request *DescribeBotDataRequest) (response *DescribeBotDataResponse, err error)
- func (c *Client) DescribeBotDataWithContext(ctx context.Context, request *DescribeBotDataRequest) (response *DescribeBotDataResponse, err error)
- func (c *Client) DescribeBotHitRuleDetail(request *DescribeBotHitRuleDetailRequest) (response *DescribeBotHitRuleDetailResponse, err error)
- func (c *Client) DescribeBotHitRuleDetailWithContext(ctx context.Context, request *DescribeBotHitRuleDetailRequest) (response *DescribeBotHitRuleDetailResponse, err error)
- func (c *Client) DescribeBotLog(request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
- func (c *Client) DescribeBotLogWithContext(ctx context.Context, request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
- func (c *Client) DescribeBotManagedRules(request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
- func (c *Client) DescribeBotManagedRulesWithContext(ctx context.Context, request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
- func (c *Client) DescribeBotTopData(request *DescribeBotTopDataRequest) (response *DescribeBotTopDataResponse, err error)
- func (c *Client) DescribeBotTopDataWithContext(ctx context.Context, request *DescribeBotTopDataRequest) (response *DescribeBotTopDataResponse, 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) DescribeDDoSAttackEventDetail(request *DescribeDDoSAttackEventDetailRequest) (response *DescribeDDoSAttackEventDetailResponse, err error)
- func (c *Client) DescribeDDoSAttackEventDetailWithContext(ctx context.Context, request *DescribeDDoSAttackEventDetailRequest) (response *DescribeDDoSAttackEventDetailResponse, err error)
- func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
- func (c *Client) DescribeDDoSAttackSourceEvent(request *DescribeDDoSAttackSourceEventRequest) (response *DescribeDDoSAttackSourceEventResponse, err error)
- func (c *Client) DescribeDDoSAttackSourceEventWithContext(ctx context.Context, request *DescribeDDoSAttackSourceEventRequest) (response *DescribeDDoSAttackSourceEventResponse, 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) DescribeDDoSBlockList(request *DescribeDDoSBlockListRequest) (response *DescribeDDoSBlockListResponse, err error)
- func (c *Client) DescribeDDoSBlockListWithContext(ctx context.Context, request *DescribeDDoSBlockListRequest) (response *DescribeDDoSBlockListResponse, err error)
- func (c *Client) DescribeDDoSMajorAttackEvent(request *DescribeDDoSMajorAttackEventRequest) (response *DescribeDDoSMajorAttackEventResponse, err error)
- func (c *Client) DescribeDDoSMajorAttackEventWithContext(ctx context.Context, request *DescribeDDoSMajorAttackEventRequest) (response *DescribeDDoSMajorAttackEventResponse, err error)
- func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
- func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, 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) DescribeDnsRecords(request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
- func (c *Client) DescribeDnsRecordsWithContext(ctx context.Context, request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
- func (c *Client) DescribeDnssec(request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
- func (c *Client) DescribeDnssecWithContext(ctx context.Context, request *DescribeDnssecRequest) (response *DescribeDnssecResponse, 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) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
- func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, 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) DescribeLogTopicTaskDetail(request *DescribeLogTopicTaskDetailRequest) (response *DescribeLogTopicTaskDetailResponse, err error)
- func (c *Client) DescribeLogTopicTaskDetailWithContext(ctx context.Context, request *DescribeLogTopicTaskDetailRequest) (response *DescribeLogTopicTaskDetailResponse, 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) 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) DescribeRateLimitIntelligenceRule(request *DescribeRateLimitIntelligenceRuleRequest) (response *DescribeRateLimitIntelligenceRuleResponse, err error)
- func (c *Client) DescribeRateLimitIntelligenceRuleWithContext(ctx context.Context, request *DescribeRateLimitIntelligenceRuleRequest) (response *DescribeRateLimitIntelligenceRuleResponse, 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) DescribeSecurityGroupManagedRules(request *DescribeSecurityGroupManagedRulesRequest) (response *DescribeSecurityGroupManagedRulesResponse, err error)
- func (c *Client) DescribeSecurityGroupManagedRulesWithContext(ctx context.Context, request *DescribeSecurityGroupManagedRulesRequest) (response *DescribeSecurityGroupManagedRulesResponse, err error)
- func (c *Client) DescribeSecurityPolicy(request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
- func (c *Client) DescribeSecurityPolicyList(request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
- func (c *Client) DescribeSecurityPolicyListWithContext(ctx context.Context, request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
- func (c *Client) DescribeSecurityPolicyRegions(request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
- func (c *Client) DescribeSecurityPolicyRegionsWithContext(ctx context.Context, request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
- func (c *Client) DescribeSecurityPolicyWithContext(ctx context.Context, request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
- func (c *Client) DescribeSecurityPortraitRules(request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
- func (c *Client) DescribeSecurityPortraitRulesWithContext(ctx context.Context, request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
- func (c *Client) DescribeSecurityRuleId(request *DescribeSecurityRuleIdRequest) (response *DescribeSecurityRuleIdResponse, err error)
- func (c *Client) DescribeSecurityRuleIdWithContext(ctx context.Context, request *DescribeSecurityRuleIdRequest) (response *DescribeSecurityRuleIdResponse, 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) 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) DescribeWebProtectionAttackEvents(request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
- func (c *Client) DescribeWebProtectionAttackEventsWithContext(ctx context.Context, request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, 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) DescribeZoneDDoSPolicy(request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)
- func (c *Client) DescribeZoneDDoSPolicyWithContext(ctx context.Context, request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, 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) ModifyAlarmConfig(request *ModifyAlarmConfigRequest) (response *ModifyAlarmConfigResponse, err error)
- func (c *Client) ModifyAlarmConfigWithContext(ctx context.Context, request *ModifyAlarmConfigRequest) (response *ModifyAlarmConfigResponse, err error)
- func (c *Client) ModifyAlarmDefaultThreshold(request *ModifyAlarmDefaultThresholdRequest) (response *ModifyAlarmDefaultThresholdResponse, err error)
- func (c *Client) ModifyAlarmDefaultThresholdWithContext(ctx context.Context, request *ModifyAlarmDefaultThresholdRequest) (response *ModifyAlarmDefaultThresholdResponse, 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) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
- func (c *Client) ModifyDDoSPolicyHost(request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
- func (c *Client) ModifyDDoSPolicyHostWithContext(ctx context.Context, request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
- func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, 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) ModifyDnsRecord(request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
- func (c *Client) ModifyDnsRecordWithContext(ctx context.Context, request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
- func (c *Client) ModifyDnssec(request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
- func (c *Client) ModifyDnssecWithContext(ctx context.Context, request *ModifyDnssecRequest) (response *ModifyDnssecResponse, 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) ModifyLoadBalancing(request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
- func (c *Client) ModifyLoadBalancingStatus(request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
- func (c *Client) ModifyLoadBalancingStatusWithContext(ctx context.Context, request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
- func (c *Client) ModifyLoadBalancingWithContext(ctx context.Context, request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
- func (c *Client) ModifyLogTopicTask(request *ModifyLogTopicTaskRequest) (response *ModifyLogTopicTaskResponse, err error)
- func (c *Client) ModifyLogTopicTaskWithContext(ctx context.Context, request *ModifyLogTopicTaskRequest) (response *ModifyLogTopicTaskResponse, 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) 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) ModifyZoneCnameSpeedUp(request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
- func (c *Client) ModifyZoneCnameSpeedUpWithContext(ctx context.Context, request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, 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) SwitchLogTopicTask(request *SwitchLogTopicTaskRequest) (response *SwitchLogTopicTaskResponse, err error)
- func (c *Client) SwitchLogTopicTaskWithContext(ctx context.Context, request *SwitchLogTopicTaskRequest) (response *SwitchLogTopicTaskResponse, err error)
- type ClientIpCountry
- type ClientIpHeader
- type ClientRule
- type ClsLogTopicInfo
- type CodeAction
- type Compression
- 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 CreateCustomErrorPageRequest
- type CreateCustomErrorPageRequestParams
- type CreateCustomErrorPageResponse
- type CreateCustomErrorPageResponseParams
- type CreateDnsRecordRequest
- type CreateDnsRecordRequestParams
- type CreateDnsRecordResponse
- type CreateDnsRecordResponseParams
- type CreateIpTableListRequest
- type CreateIpTableListRequestParams
- type CreateIpTableListResponse
- type CreateIpTableListResponseParams
- type CreateLoadBalancingRequest
- type CreateLoadBalancingRequestParams
- type CreateLoadBalancingResponse
- type CreateLoadBalancingResponseParams
- type CreateLogSetRequest
- type CreateLogSetRequestParams
- type CreateLogSetResponse
- type CreateLogSetResponseParams
- type CreateLogTopicTaskRequest
- type CreateLogTopicTaskRequestParams
- type CreateLogTopicTaskResponse
- type CreateLogTopicTaskResponseParams
- 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 CreateSecurityDropPageRequest
- type CreateSecurityDropPageRequestParams
- type CreateSecurityDropPageResponse
- type CreateSecurityDropPageResponseParams
- type CreateSpeedTestingRequest
- type CreateSpeedTestingRequestParams
- type CreateSpeedTestingResponse
- type CreateSpeedTestingResponseParams
- type CreateZoneRequest
- type CreateZoneRequestParams
- type CreateZoneResponse
- type CreateZoneResponseParams
- type DDoS
- type DDoSAcl
- type DDoSAclRule
- type DDoSAllowBlock
- type DDoSAllowBlockRule
- type DDoSAntiPly
- type DDoSAttackEvent
- type DDoSAttackEventDetailData
- type DDoSAttackSourceEvent
- type DDoSBlockData
- type DDoSFeaturesFilter
- type DDoSGeoIp
- type DDoSHost
- type DDoSMajorAttackEvent
- type DDoSPacketFilter
- type DDoSRule
- type DDoSSpeedLimit
- type DDoSStatusInfo
- type DefaultServerCertInfo
- 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 DeleteDnsRecordsRequest
- type DeleteDnsRecordsRequestParams
- type DeleteDnsRecordsResponse
- type DeleteDnsRecordsResponseParams
- type DeleteLoadBalancingRequest
- type DeleteLoadBalancingRequestParams
- type DeleteLoadBalancingResponse
- type DeleteLoadBalancingResponseParams
- type DeleteLogTopicTaskRequest
- type DeleteLogTopicTaskRequestParams
- type DeleteLogTopicTaskResponse
- type DeleteLogTopicTaskResponseParams
- type DeleteOriginGroupRequest
- type DeleteOriginGroupRequestParams
- type DeleteOriginGroupResponse
- type DeleteOriginGroupResponseParams
- type DeleteRulesRequest
- type DeleteRulesRequestParams
- type DeleteRulesResponse
- type DeleteRulesResponseParams
- type DeleteZoneRequest
- type DeleteZoneRequestParams
- type DeleteZoneResponse
- type DeleteZoneResponseParams
- 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 DescribeBillingDataRequest
- type DescribeBillingDataRequestParams
- type DescribeBillingDataResponse
- type DescribeBillingDataResponseParams
- type DescribeBotClientIpListRequest
- type DescribeBotClientIpListRequestParams
- type DescribeBotClientIpListResponse
- type DescribeBotClientIpListResponseParams
- type DescribeBotDataRequest
- type DescribeBotDataRequestParams
- type DescribeBotDataResponse
- type DescribeBotDataResponseParams
- type DescribeBotHitRuleDetailRequest
- type DescribeBotHitRuleDetailRequestParams
- type DescribeBotHitRuleDetailResponse
- type DescribeBotHitRuleDetailResponseParams
- type DescribeBotLogRequest
- type DescribeBotLogRequestParams
- type DescribeBotLogResponse
- type DescribeBotLogResponseParams
- type DescribeBotManagedRulesRequest
- type DescribeBotManagedRulesRequestParams
- type DescribeBotManagedRulesResponse
- type DescribeBotManagedRulesResponseParams
- type DescribeBotTopDataRequest
- type DescribeBotTopDataRequestParams
- type DescribeBotTopDataResponse
- type DescribeBotTopDataResponseParams
- 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 DescribeDDoSAttackEventDetailRequest
- type DescribeDDoSAttackEventDetailRequestParams
- type DescribeDDoSAttackEventDetailResponse
- type DescribeDDoSAttackEventDetailResponseParams
- type DescribeDDoSAttackEventRequest
- type DescribeDDoSAttackEventRequestParams
- type DescribeDDoSAttackEventResponse
- type DescribeDDoSAttackEventResponseParams
- type DescribeDDoSAttackSourceEventRequest
- type DescribeDDoSAttackSourceEventRequestParams
- type DescribeDDoSAttackSourceEventResponse
- type DescribeDDoSAttackSourceEventResponseParams
- type DescribeDDoSAttackTopDataRequest
- type DescribeDDoSAttackTopDataRequestParams
- type DescribeDDoSAttackTopDataResponse
- type DescribeDDoSAttackTopDataResponseParams
- type DescribeDDoSBlockListRequest
- type DescribeDDoSBlockListRequestParams
- type DescribeDDoSBlockListResponse
- type DescribeDDoSBlockListResponseParams
- type DescribeDDoSMajorAttackEventRequest
- type DescribeDDoSMajorAttackEventRequestParams
- type DescribeDDoSMajorAttackEventResponse
- type DescribeDDoSMajorAttackEventResponseParams
- type DescribeDDoSPolicyRequest
- type DescribeDDoSPolicyRequestParams
- type DescribeDDoSPolicyResponse
- type DescribeDDoSPolicyResponseParams
- type DescribeDefaultCertificatesRequest
- type DescribeDefaultCertificatesRequestParams
- type DescribeDefaultCertificatesResponse
- type DescribeDefaultCertificatesResponseParams
- type DescribeDnsDataRequest
- type DescribeDnsDataRequestParams
- type DescribeDnsDataResponse
- type DescribeDnsDataResponseParams
- type DescribeDnsRecordsRequest
- type DescribeDnsRecordsRequestParams
- type DescribeDnsRecordsResponse
- type DescribeDnsRecordsResponseParams
- type DescribeDnssecRequest
- type DescribeDnssecRequestParams
- type DescribeDnssecResponse
- type DescribeDnssecResponseParams
- type DescribeHostsSettingRequest
- type DescribeHostsSettingRequestParams
- type DescribeHostsSettingResponse
- type DescribeHostsSettingResponseParams
- type DescribeIdentificationsRequest
- type DescribeIdentificationsRequestParams
- type DescribeIdentificationsResponse
- type DescribeIdentificationsResponseParams
- type DescribeLoadBalancingRequest
- type DescribeLoadBalancingRequestParams
- type DescribeLoadBalancingResponse
- type DescribeLoadBalancingResponseParams
- type DescribeLogSetsRequest
- type DescribeLogSetsRequestParams
- type DescribeLogSetsResponse
- type DescribeLogSetsResponseParams
- type DescribeLogTopicTaskDetailRequest
- type DescribeLogTopicTaskDetailRequestParams
- type DescribeLogTopicTaskDetailResponse
- type DescribeLogTopicTaskDetailResponseParams
- type DescribeLogTopicTasksRequest
- type DescribeLogTopicTasksRequestParams
- type DescribeLogTopicTasksResponse
- type DescribeLogTopicTasksResponseParams
- type DescribeOriginGroupRequest
- type DescribeOriginGroupRequestParams
- type DescribeOriginGroupResponse
- type DescribeOriginGroupResponseParams
- 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 DescribeRateLimitIntelligenceRuleRequest
- type DescribeRateLimitIntelligenceRuleRequestParams
- type DescribeRateLimitIntelligenceRuleResponse
- type DescribeRateLimitIntelligenceRuleResponseParams
- type DescribeRulesRequest
- type DescribeRulesRequestParams
- type DescribeRulesResponse
- type DescribeRulesResponseParams
- type DescribeRulesSettingRequest
- type DescribeRulesSettingRequestParams
- type DescribeRulesSettingResponse
- type DescribeRulesSettingResponseParams
- type DescribeSecurityGroupManagedRulesRequest
- type DescribeSecurityGroupManagedRulesRequestParams
- type DescribeSecurityGroupManagedRulesResponse
- type DescribeSecurityGroupManagedRulesResponseParams
- type DescribeSecurityPolicyListRequest
- type DescribeSecurityPolicyListRequestParams
- type DescribeSecurityPolicyListResponse
- type DescribeSecurityPolicyListResponseParams
- type DescribeSecurityPolicyRegionsRequest
- type DescribeSecurityPolicyRegionsRequestParams
- type DescribeSecurityPolicyRegionsResponse
- type DescribeSecurityPolicyRegionsResponseParams
- type DescribeSecurityPolicyRequest
- type DescribeSecurityPolicyRequestParams
- type DescribeSecurityPolicyResponse
- type DescribeSecurityPolicyResponseParams
- type DescribeSecurityPortraitRulesRequest
- type DescribeSecurityPortraitRulesRequestParams
- type DescribeSecurityPortraitRulesResponse
- type DescribeSecurityPortraitRulesResponseParams
- type DescribeSecurityRuleIdRequest
- type DescribeSecurityRuleIdRequestParams
- type DescribeSecurityRuleIdResponse
- type DescribeSecurityRuleIdResponseParams
- 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 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 DescribeWebProtectionAttackEventsRequest
- type DescribeWebProtectionAttackEventsRequestParams
- type DescribeWebProtectionAttackEventsResponse
- type DescribeWebProtectionAttackEventsResponseParams
- 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 DescribeZoneDDoSPolicyRequest
- type DescribeZoneDDoSPolicyRequestParams
- type DescribeZoneDDoSPolicyResponse
- type DescribeZoneDDoSPolicyResponseParams
- type DescribeZoneSettingRequest
- type DescribeZoneSettingRequestParams
- type DescribeZoneSettingResponse
- type DescribeZoneSettingResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DetailHost
- type DistrictStatistics
- type DnsData
- type DnsRecord
- type DnssecInfo
- 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 FollowOrigin
- type ForceRedirect
- type GeoIp
- type Header
- type Hsts
- type Https
- type Identification
- type IdentifyZoneRequest
- type IdentifyZoneRequestParams
- type IdentifyZoneResponse
- type IdentifyZoneResponseParams
- type IntelligenceRule
- type IntelligenceRuleItem
- type IpTableConfig
- type IpTableRule
- type Ipv6
- type L4OfflineLog
- type L7OfflineLog
- type LoadBalancing
- type LogSetInfo
- type LogTopicDetailInfo
- type MaxAge
- type ModifyAlarmConfigRequest
- type ModifyAlarmConfigRequestParams
- type ModifyAlarmConfigResponse
- type ModifyAlarmConfigResponseParams
- type ModifyAlarmDefaultThresholdRequest
- type ModifyAlarmDefaultThresholdRequestParams
- type ModifyAlarmDefaultThresholdResponse
- type ModifyAlarmDefaultThresholdResponseParams
- 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 ModifyDDoSPolicyHostRequest
- type ModifyDDoSPolicyHostRequestParams
- type ModifyDDoSPolicyHostResponse
- type ModifyDDoSPolicyHostResponseParams
- type ModifyDDoSPolicyRequest
- type ModifyDDoSPolicyRequestParams
- type ModifyDDoSPolicyResponse
- type ModifyDDoSPolicyResponseParams
- type ModifyDefaultCertificateRequest
- type ModifyDefaultCertificateRequestParams
- type ModifyDefaultCertificateResponse
- type ModifyDefaultCertificateResponseParams
- type ModifyDnsRecordRequest
- type ModifyDnsRecordRequestParams
- type ModifyDnsRecordResponse
- type ModifyDnsRecordResponseParams
- type ModifyDnssecRequest
- type ModifyDnssecRequestParams
- type ModifyDnssecResponse
- type ModifyDnssecResponseParams
- type ModifyHostsCertificateRequest
- type ModifyHostsCertificateRequestParams
- type ModifyHostsCertificateResponse
- type ModifyHostsCertificateResponseParams
- type ModifyLoadBalancingRequest
- type ModifyLoadBalancingRequestParams
- type ModifyLoadBalancingResponse
- type ModifyLoadBalancingResponseParams
- type ModifyLoadBalancingStatusRequest
- type ModifyLoadBalancingStatusRequestParams
- type ModifyLoadBalancingStatusResponse
- type ModifyLoadBalancingStatusResponseParams
- type ModifyLogTopicTaskRequest
- type ModifyLogTopicTaskRequestParams
- type ModifyLogTopicTaskResponse
- type ModifyLogTopicTaskResponseParams
- 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 ModifySecurityPolicyRequest
- type ModifySecurityPolicyRequestParams
- type ModifySecurityPolicyResponse
- type ModifySecurityPolicyResponseParams
- type ModifySecurityWafGroupPolicyRequest
- type ModifySecurityWafGroupPolicyRequestParams
- type ModifySecurityWafGroupPolicyResponse
- type ModifySecurityWafGroupPolicyResponseParams
- type ModifyZoneCnameSpeedUpRequest
- type ModifyZoneCnameSpeedUpRequestParams
- type ModifyZoneCnameSpeedUpResponse
- type ModifyZoneCnameSpeedUpResponseParams
- 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 OriginGroup
- type OriginGroupCondition
- type OriginRecord
- type PartialModule
- type PlanInfo
- type PortraitManagedRuleDetail
- type PostMaxSize
- type PrivateParameter
- type QueryCondition
- type QueryString
- type Quic
- type Quota
- type RateLimitConfig
- type RateLimitIntelligence
- type RateLimitIntelligenceRuleDetail
- 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 SecurityEntity
- type SecurityType
- type ServerCertInfo
- type ShieldArea
- type SingleDataRecord
- type SingleTypeValue
- type SkipCondition
- type SmartRouting
- type SpeedTestingConfig
- type SpeedTestingDetailData
- type SpeedTestingInfo
- type SpeedTestingMetricData
- type SpeedTestingQuota
- type SpeedTestingStatistics
- type SpeedTestingStatus
- type Sv
- type SwitchConfig
- type SwitchLogTopicTaskRequest
- type SwitchLogTopicTaskRequestParams
- type SwitchLogTopicTaskResponse
- type SwitchLogTopicTaskResponseParams
- type Tag
- type Task
- type TimingDataItem
- type TimingDataRecord
- type TimingTypeValue
- type TopDataRecord
- type TopDetailData
- type TopEntry
- type TopEntryValue
- type UpstreamHttp2
- type VanityNameServers
- type VanityNameServersIps
- type Waf
- type WafConfig
- type WafGroup
- type WafGroupDetail
- type WafGroupInfo
- type WafGroupRule
- 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_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed" // 创建日志主题任务失败,请检查日志主题名或任务名是否已存在。 FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed" // 站点状态不正确。 FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" // 内部错误。 INTERNALERROR = "InternalError" // 后台处理出错。 INTERNALERROR_BACKENDERROR = "InternalError.BackendError" // 数据库错误。 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" // HTTPS证书和域名不匹配。 INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" // 域名不存在或不属于该账号。 INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" // 域名不存在。 INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" // 无效的token鉴权参数。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" // 无效的节点缓存。 INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" // 证书信息错误。 INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" // 无效的客户端IP请求头。 INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" // 无效的自定义错误页面。 INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" // 无效的源站。 INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" // 参数错误。 INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // 套餐包不支持最大上传大小。 INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" // 无效的请求头header。 INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" // 无套餐包。 INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" // 无效的规则引擎操作。 INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" // 规则不存在。 INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" // 无效的规则引擎条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" // 无效的规则引擎文件后缀条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" // 无效的规则引擎URL条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" // URL重写的目标URL无效。 INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" // 无效的WebSocket。 INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" // 参数错误。 INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" // 参数错误 INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" // 域名配置错误。 INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" // 资源存在错误。 INVALIDPARAMETER_TARGET = "InvalidParameter.Target" // 任务无法生成。 INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" // 文件上传链接存在问题。 INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" // 站点不存在。 INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 与已经添加的记录冲突。 INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" // DNS 记录与 DNSSEC 功能冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" // DNS 记录与 LB 记录冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord" // DNS 记录与 NS 记录冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" // DNS 记录内容错误。 INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" // DNS 记录名称错误。 INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" // DNS 代理域名错误。 INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" // DNS 代理域名源站错误。 INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" // 记录已存在。 INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" // 记录不允许添加。 INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 本次提交的资源数超过上限。 LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" // 当天提交的资源数超过上限。 LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 域名被封禁,暂时无法操作。 OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" // 域名尚未备案。 OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" // 4层代理资源处于封禁中,禁止操作。 OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" // 已存在多个Cname接入站点,不允许切换至NS。 OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源被本账号别称域名占用。 RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" // 资源被本账号Cname接入占用。 RESOURCEINUSE_CNAME = "ResourceInUse.Cname" // Dns资源被占用。 RESOURCEINUSE_DNS = "ResourceInUse.Dns" // 资源被本账号的子域名占用。 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" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 无剩余可创建新任务的域名。 RESOURCEUNAVAILABLE_AVAILABLEDOMAINNOTFOUND = "ResourceUnavailable.AvailableDomainNotFound" // 证书不存在或未授权。 RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" // 域名不存在或未开启代理。 RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" // 未拉取到已开启代理的zone信息。 RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound" // 站点不存在或不属于该账号。 RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Cam 未授权。 UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" // 鉴权错误。 UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty" // 子账户没有操作权限,请添加权限后继续操作。 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // 后端服务器发生未知错误。 UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2022-09-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccelerateType ¶
type AccelerateType struct {
// 加速开关。取值范围:
// <li> on:打开;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
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>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 AclConfig ¶
type AclConfig struct {
// 开关,取值有:
// <li> on:开启;</li>
// <li> off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 用户自定义规则。
AclUserRules []*AclUserRule `json:"AclUserRules,omitempty" name:"AclUserRules"`
}
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> TlsVersion;</li>
// <li> OcspStapling。</li>
// <li> HTTP/2 访问(Http2)。</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 AdvancedOriginGroup ¶ added in v1.0.507
type AdvancedOriginGroup struct {
// 高级回源配置的匹配条件。其中相同的Target只能出现一次。
OriginGroupConditions []*OriginGroupCondition `json:"OriginGroupConditions,omitempty" name:"OriginGroupConditions"`
// 主源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 备用源站组ID。
BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
}
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 AliasDomain ¶ added in v1.0.510
type AliasDomain struct {
// 别称域名 ID。
AliasId *string `json:"AliasId,omitempty" name:"AliasId"`
// 别称域名名称。
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> not_filed:未备案;</li>
// <li> conflict:被找回。 </li>
// <li> stop:已停用;</li>
// <li> deleted:已删除。 </li>
Status *string `json:"Status,omitempty" name:"Status"`
// 别称域名创建时间。
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"`
// 端口,支持格式:
// 单个端口,如:80。
// 端口段,如:81-82。表示81,82两个端口。
// 注意:一条规则最多可填写20个端口。
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值有:
// <li>custom:手动添加;</li>
// <li>origins:源站组。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// 当OriginType=custom时,表示一个或多个源站,如:
// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
// OriginValue=["test.com:80"];
// 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
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"`
}
type AscriptionInfo ¶
type BillingDataFilter ¶
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"`
}
type BotLog ¶
type BotLog struct {
// 攻击时间,采用unix秒级时间戳。
AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`
// 攻击源(客户端)ip。
AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`
// 受攻击域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// URI。
RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`
// 攻击类型。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 请求方法。
RequestMethod *string `json:"RequestMethod,omitempty" name:"RequestMethod"`
// 攻击内容。
AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`
// 攻击等级。
// 注意:此字段可能返回 null,表示取不到有效值。
RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`
// 规则ID。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"`
// 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"`
// 请求(事件)ID。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 处置方式。
// 注意:此字段可能返回 null,表示取不到有效值。
DisposalMethod *string `json:"DisposalMethod,omitempty" name:"DisposalMethod"`
// HTTP日志。
// 注意:此字段可能返回 null,表示取不到有效值。
HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`
// user agent。
Ua *string `json:"Ua,omitempty" name:"Ua"`
// 检出方法。
// 注意:此字段可能返回 null,表示取不到有效值。
DetectionMethod *string `json:"DetectionMethod,omitempty" name:"DetectionMethod"`
// 置信度。
// 注意:此字段可能返回 null,表示取不到有效值。
Confidence *string `json:"Confidence,omitempty" name:"Confidence"`
// 恶意度。
// 注意:此字段可能返回 null,表示取不到有效值。
Maliciousness *string `json:"Maliciousness,omitempty" name:"Maliciousness"`
// 规则相关信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`
// Bot标签。
// 注意:此字段可能返回 null,表示取不到有效值。
Label *string `json:"Label,omitempty" name:"Label"`
}
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 BotManagedRuleDetail ¶
type BotManagedRuleDetail struct {
// 规则ID。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 规则分类。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 该规则开启/关闭状态。
Status *string `json:"Status,omitempty" name:"Status"`
}
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 CCInterceptEvent ¶
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) CheckCertificate ¶
func (c *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate 校验证书
可能返回的错误码:
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CheckCertificateWithContext ¶
func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate 校验证书
可能返回的错误码:
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateAliasDomain ¶ added in v1.0.510
func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain 创建别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain 创建别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
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"
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"
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) CreateCustomErrorPage ¶
func (c *Client) CreateCustomErrorPage(request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
CreateCustomErrorPage 创建自定义规则的自定义页
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateCustomErrorPageWithContext ¶
func (c *Client) CreateCustomErrorPageWithContext(ctx context.Context, request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
CreateCustomErrorPage 创建自定义规则的自定义页
可能返回的错误码:
AUTHFAILURE = "AuthFailure" FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateDnsRecord ¶
func (c *Client) CreateDnsRecord(request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)
CreateDnsRecord 创建 DNS 记录
可能返回的错误码:
INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateDnsRecordWithContext ¶
func (c *Client) CreateDnsRecordWithContext(ctx context.Context, request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)
CreateDnsRecord 创建 DNS 记录
可能返回的错误码:
INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateIpTableList ¶
func (c *Client) CreateIpTableList(request *CreateIpTableListRequest) (response *CreateIpTableListResponse, err error)
CreateIpTableList 创建IP黑白名单列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateIpTableListWithContext ¶
func (c *Client) CreateIpTableListWithContext(ctx context.Context, request *CreateIpTableListRequest) (response *CreateIpTableListResponse, err error)
CreateIpTableList 创建IP黑白名单列表
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateLoadBalancing ¶
func (c *Client) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
CreateLoadBalancing 创建负载均衡
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateLoadBalancingWithContext ¶
func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
CreateLoadBalancing 创建负载均衡
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateLogSet ¶
func (c *Client) CreateLogSet(request *CreateLogSetRequest) (response *CreateLogSetResponse, err error)
CreateLogSet 本接口(CreateClsLog)用于创建CLS日志集。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"
func (*Client) CreateLogSetWithContext ¶
func (c *Client) CreateLogSetWithContext(ctx context.Context, request *CreateLogSetRequest) (response *CreateLogSetResponse, err error)
CreateLogSet 本接口(CreateClsLog)用于创建CLS日志集。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"
func (*Client) CreateLogTopicTask ¶
func (c *Client) CreateLogTopicTask(request *CreateLogTopicTaskRequest) (response *CreateLogTopicTaskResponse, err error)
CreateLogTopicTask 本接口(CreateLogTopicTask)用于创建日志推送任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE_AVAILABLEDOMAINNOTFOUND = "ResourceUnavailable.AvailableDomainNotFound"
func (*Client) CreateLogTopicTaskWithContext ¶
func (c *Client) CreateLogTopicTaskWithContext(ctx context.Context, request *CreateLogTopicTaskRequest) (response *CreateLogTopicTaskResponse, err error)
CreateLogTopicTask 本接口(CreateLogTopicTask)用于创建日志推送任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE_AVAILABLEDOMAINNOTFOUND = "ResourceUnavailable.AvailableDomainNotFound"
func (*Client) CreateOriginGroup ¶
func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup 创建源站组
可能返回的错误码:
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 创建源站组
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePlanForZone ¶
func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone 为未购买套餐的站点购买套餐
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePlanForZoneWithContext ¶
func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone 为未购买套餐的站点购买套餐
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
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_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"
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_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"
func (*Client) CreateReplayTask ¶
func (c *Client) CreateReplayTask(request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)
CreateReplayTask 创建刷新/预热重放任务
可能返回的错误码:
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
func (*Client) CreateReplayTaskWithContext ¶
func (c *Client) CreateReplayTaskWithContext(ctx context.Context, request *CreateReplayTaskRequest) (response *CreateReplayTaskResponse, err error)
CreateReplayTask 创建刷新/预热重放任务
可能返回的错误码:
LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 规则引擎创建规则。
可能返回的错误码:
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) CreateRuleWithContext ¶
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 规则引擎创建规则。
可能返回的错误码:
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) CreateSecurityDropPage ¶
func (c *Client) CreateSecurityDropPage(request *CreateSecurityDropPageRequest) (response *CreateSecurityDropPageResponse, err error)
CreateSecurityDropPage 创建自定义拦截页面。
可能返回的错误码:
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) CreateSecurityDropPageWithContext ¶
func (c *Client) CreateSecurityDropPageWithContext(ctx context.Context, request *CreateSecurityDropPageRequest) (response *CreateSecurityDropPageResponse, err error)
CreateSecurityDropPage 创建自定义拦截页面。
可能返回的错误码:
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) CreateSpeedTesting ¶
func (c *Client) CreateSpeedTesting(request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)
CreateSpeedTesting 对用户指定的域名进行一次站点拨测
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateSpeedTestingWithContext ¶
func (c *Client) CreateSpeedTestingWithContext(ctx context.Context, request *CreateSpeedTestingRequest) (response *CreateSpeedTestingResponse, err error)
CreateSpeedTesting 对用户指定的域名进行一次站点拨测
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) CreateZone ¶
func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone 用于用户接入新的站点。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" 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"
func (*Client) CreateZoneWithContext ¶
func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone 用于用户接入新的站点。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" 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"
func (*Client) DeleteAliasDomain ¶ added in v1.0.510
func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain 删除别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" 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" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxy ¶
func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 删除应用代理
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyRule ¶
func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 删除应用代理规则
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyRuleWithContext ¶
func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 删除应用代理规则
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyWithContext ¶
func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 删除应用代理
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDnsRecords ¶
func (c *Client) DeleteDnsRecords(request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
DeleteDnsRecords 批量删除 DNS 记录
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDnsRecordsWithContext ¶
func (c *Client) DeleteDnsRecordsWithContext(ctx context.Context, request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
DeleteDnsRecords 批量删除 DNS 记录
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteLoadBalancing ¶
func (c *Client) DeleteLoadBalancing(request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
DeleteLoadBalancing 删除负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteLoadBalancingWithContext ¶
func (c *Client) DeleteLoadBalancingWithContext(ctx context.Context, request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
DeleteLoadBalancing 删除负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteLogTopicTask ¶
func (c *Client) DeleteLogTopicTask(request *DeleteLogTopicTaskRequest) (response *DeleteLogTopicTaskResponse, err error)
DeleteLogTopicTask 本接口(DeleteLogTopicTask)用于删除日志推送任务。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteLogTopicTaskWithContext ¶
func (c *Client) DeleteLogTopicTaskWithContext(ctx context.Context, request *DeleteLogTopicTaskRequest) (response *DeleteLogTopicTaskResponse, err error)
DeleteLogTopicTask 本接口(DeleteLogTopicTask)用于删除日志推送任务。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
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 批量删除规则引擎规则。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteRulesWithContext ¶
func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules 批量删除规则引擎规则。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteZone ¶
func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteZoneWithContext ¶
func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeAddableEntityList ¶
func (c *Client) DescribeAddableEntityList(request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)
DescribeAddableEntityList 本接口(DescribeAddableEntityList)用于查询剩余可添加的日志推送实体列表。
可能返回的错误码:
RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"
func (*Client) DescribeAddableEntityListWithContext ¶
func (c *Client) DescribeAddableEntityListWithContext(ctx context.Context, request *DescribeAddableEntityListRequest) (response *DescribeAddableEntityListResponse, err error)
DescribeAddableEntityList 本接口(DescribeAddableEntityList)用于查询剩余可添加的日志推送实体列表。
可能返回的错误码:
RESOURCEUNAVAILABLE_PROXYZONENOTFOUND = "ResourceUnavailable.ProxyZoneNotFound"
func (*Client) DescribeAliasDomains ¶ added in v1.0.510
func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains 查询别称域名信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) DescribeAliasDomainsWithContext ¶ added in v1.0.510
func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains 查询别称域名信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError"
func (*Client) DescribeApplicationProxies ¶
func (c *Client) DescribeApplicationProxies(request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
DescribeApplicationProxies 查询应用代理列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeApplicationProxiesWithContext ¶
func (c *Client) DescribeApplicationProxiesWithContext(ctx context.Context, request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
DescribeApplicationProxies 查询应用代理列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeAvailablePlans ¶
func (c *Client) DescribeAvailablePlans(request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans 查询当前账户可用套餐信息列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeAvailablePlansWithContext ¶
func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans 查询当前账户可用套餐信息列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBillingData ¶
func (c *Client) DescribeBillingData(request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
DescribeBillingData 获取计费数据。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBillingDataWithContext ¶
func (c *Client) DescribeBillingDataWithContext(ctx context.Context, request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
DescribeBillingData 获取计费数据。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBotClientIpList ¶
func (c *Client) DescribeBotClientIpList(request *DescribeBotClientIpListRequest) (response *DescribeBotClientIpListResponse, err error)
DescribeBotClientIpList 本接口(DescribeBotClientIpList)用于查询Bot攻击客户端Ip信息列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeBotClientIpListWithContext ¶
func (c *Client) DescribeBotClientIpListWithContext(ctx context.Context, request *DescribeBotClientIpListRequest) (response *DescribeBotClientIpListResponse, err error)
DescribeBotClientIpList 本接口(DescribeBotClientIpList)用于查询Bot攻击客户端Ip信息列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeBotData ¶
func (c *Client) DescribeBotData(request *DescribeBotDataRequest) (response *DescribeBotDataResponse, err error)
DescribeBotData 本接口(DescribeBotData)查询Bot攻击时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBotDataWithContext ¶
func (c *Client) DescribeBotDataWithContext(ctx context.Context, request *DescribeBotDataRequest) (response *DescribeBotDataResponse, err error)
DescribeBotData 本接口(DescribeBotData)查询Bot攻击时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBotHitRuleDetail ¶
func (c *Client) DescribeBotHitRuleDetail(request *DescribeBotHitRuleDetailRequest) (response *DescribeBotHitRuleDetailResponse, err error)
DescribeBotHitRuleDetail 本接口(DescribeBotHitRuleDetail)用于查询Bot攻击命中规则详情信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeBotHitRuleDetailWithContext ¶
func (c *Client) DescribeBotHitRuleDetailWithContext(ctx context.Context, request *DescribeBotHitRuleDetailRequest) (response *DescribeBotHitRuleDetailResponse, err error)
DescribeBotHitRuleDetail 本接口(DescribeBotHitRuleDetail)用于查询Bot攻击命中规则详情信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeBotLog ¶
func (c *Client) DescribeBotLog(request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
DescribeBotLog 本接口(DescribeBotLog)用于查询Bot攻击日志。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeBotLogWithContext ¶
func (c *Client) DescribeBotLogWithContext(ctx context.Context, request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
DescribeBotLog 本接口(DescribeBotLog)用于查询Bot攻击日志。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeBotManagedRules ¶
func (c *Client) DescribeBotManagedRules(request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
DescribeBotManagedRules 查询Bot托管规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeBotManagedRulesWithContext ¶
func (c *Client) DescribeBotManagedRulesWithContext(ctx context.Context, request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
DescribeBotManagedRules 查询Bot托管规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeBotTopData ¶
func (c *Client) DescribeBotTopData(request *DescribeBotTopDataRequest) (response *DescribeBotTopDataResponse, err error)
DescribeBotTopData 本接口(DescribeBotTopData)查询Bot攻击TopN数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBotTopDataWithContext ¶
func (c *Client) DescribeBotTopDataWithContext(ctx context.Context, request *DescribeBotTopDataRequest) (response *DescribeBotTopDataResponse, err error)
DescribeBotTopData 本接口(DescribeBotTopData)查询Bot攻击TopN数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeClientRuleList ¶
func (c *Client) DescribeClientRuleList(request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)
DescribeClientRuleList 本接口(DescribeClientRuleList)用于查询封禁客户端信息列表。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeClientRuleListWithContext ¶
func (c *Client) DescribeClientRuleListWithContext(ctx context.Context, request *DescribeClientRuleListRequest) (response *DescribeClientRuleListResponse, err error)
DescribeClientRuleList 本接口(DescribeClientRuleList)用于查询封禁客户端信息列表。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeContentQuota ¶
func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota 查询内容管理接口配额
可能返回的错误码:
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeContentQuotaWithContext ¶
func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota 查询内容管理接口配额
可能返回的错误码:
UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeDDoSAttackData ¶
func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
DescribeDDoSAttackData 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackDataWithContext ¶
func (c *Client) DescribeDDoSAttackDataWithContext(ctx context.Context, request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
DescribeDDoSAttackData 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEvent ¶
func (c *Client) DescribeDDoSAttackEvent(request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
DescribeDDoSAttackEvent 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEventDetail ¶
func (c *Client) DescribeDDoSAttackEventDetail(request *DescribeDDoSAttackEventDetailRequest) (response *DescribeDDoSAttackEventDetailResponse, err error)
DescribeDDoSAttackEventDetail 本接口(DescribeDDoSAttackEventDetail)用于查询DDoS攻击事件详情。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEventDetailWithContext ¶
func (c *Client) DescribeDDoSAttackEventDetailWithContext(ctx context.Context, request *DescribeDDoSAttackEventDetailRequest) (response *DescribeDDoSAttackEventDetailResponse, err error)
DescribeDDoSAttackEventDetail 本接口(DescribeDDoSAttackEventDetail)用于查询DDoS攻击事件详情。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEventWithContext ¶
func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
DescribeDDoSAttackEvent 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackSourceEvent ¶
func (c *Client) DescribeDDoSAttackSourceEvent(request *DescribeDDoSAttackSourceEventRequest) (response *DescribeDDoSAttackSourceEventResponse, err error)
DescribeDDoSAttackSourceEvent 本接口(DescribeDDoSAttackSourceEvent)用于查询DDoS攻击源信息列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackSourceEventWithContext ¶
func (c *Client) DescribeDDoSAttackSourceEventWithContext(ctx context.Context, request *DescribeDDoSAttackSourceEventRequest) (response *DescribeDDoSAttackSourceEventResponse, err error)
DescribeDDoSAttackSourceEvent 本接口(DescribeDDoSAttackSourceEvent)用于查询DDoS攻击源信息列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopData ¶
func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopDataWithContext ¶
func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSBlockList ¶
func (c *Client) DescribeDDoSBlockList(request *DescribeDDoSBlockListRequest) (response *DescribeDDoSBlockListResponse, err error)
DescribeDDoSBlockList 本接口(DescribeDDoSBlockList)用于查询DDoS封禁解封列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSBlockListWithContext ¶
func (c *Client) DescribeDDoSBlockListWithContext(ctx context.Context, request *DescribeDDoSBlockListRequest) (response *DescribeDDoSBlockListResponse, err error)
DescribeDDoSBlockList 本接口(DescribeDDoSBlockList)用于查询DDoS封禁解封列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSMajorAttackEvent ¶
func (c *Client) DescribeDDoSMajorAttackEvent(request *DescribeDDoSMajorAttackEventRequest) (response *DescribeDDoSMajorAttackEventResponse, err error)
DescribeDDoSMajorAttackEvent 本接口(DescribeDDoSMajorAttackEvent)用于查询DDoS主攻击事件列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSMajorAttackEventWithContext ¶
func (c *Client) DescribeDDoSMajorAttackEventWithContext(ctx context.Context, request *DescribeDDoSMajorAttackEventRequest) (response *DescribeDDoSMajorAttackEventResponse, err error)
DescribeDDoSMajorAttackEvent 本接口(DescribeDDoSMajorAttackEvent)用于查询DDoS主攻击事件列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSPolicy ¶
func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy 查询DDoS防护配置详情
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSPolicyWithContext ¶
func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy 查询DDoS防护配置详情
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDefaultCertificates ¶
func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates 查询默认证书列表
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" 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_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" 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" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsDataWithContext ¶
func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData 获取DNS请求数统计曲线
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsRecords ¶
func (c *Client) DescribeDnsRecords(request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
DescribeDnsRecords 查询 DNS 记录列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsRecordsWithContext ¶
func (c *Client) DescribeDnsRecordsWithContext(ctx context.Context, request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
DescribeDnsRecords 查询 DNS 记录列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnssec ¶
func (c *Client) DescribeDnssec(request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
DescribeDnssec 用于查询 DNSSEC 相关信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnssecWithContext ¶
func (c *Client) DescribeDnssecWithContext(ctx context.Context, request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
DescribeDnssec 用于查询 DNSSEC 相关信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeHostsSetting ¶
func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsSettingWithContext ¶
func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeIdentifications ¶
func (c *Client) DescribeIdentifications(request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
DescribeIdentifications 查询站点的验证信息。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeIdentificationsWithContext ¶
func (c *Client) DescribeIdentificationsWithContext(ctx context.Context, request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
DescribeIdentifications 查询站点的验证信息。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancing ¶
func (c *Client) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
DescribeLoadBalancing 获取负载均衡列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeLoadBalancingWithContext ¶
func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
DescribeLoadBalancing 获取负载均衡列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeLogSets ¶
func (c *Client) DescribeLogSets(request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)
DescribeLogSets 本接口(DescribeLogSets)用于获取日志集列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeLogSetsWithContext ¶
func (c *Client) DescribeLogSetsWithContext(ctx context.Context, request *DescribeLogSetsRequest) (response *DescribeLogSetsResponse, err error)
DescribeLogSets 本接口(DescribeLogSets)用于获取日志集列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeLogTopicTaskDetail ¶
func (c *Client) DescribeLogTopicTaskDetail(request *DescribeLogTopicTaskDetailRequest) (response *DescribeLogTopicTaskDetailResponse, err error)
DescribeLogTopicTaskDetail 本接口(DescribeLogTopicTaskDetail)用于获取日志推送任务详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeLogTopicTaskDetailWithContext ¶
func (c *Client) DescribeLogTopicTaskDetailWithContext(ctx context.Context, request *DescribeLogTopicTaskDetailRequest) (response *DescribeLogTopicTaskDetailResponse, err error)
DescribeLogTopicTaskDetail 本接口(DescribeLogTopicTaskDetail)用于获取日志推送任务详细信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeLogTopicTasks ¶
func (c *Client) DescribeLogTopicTasks(request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)
DescribeLogTopicTasks 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeLogTopicTasksWithContext ¶
func (c *Client) DescribeLogTopicTasksWithContext(ctx context.Context, request *DescribeLogTopicTasksRequest) (response *DescribeLogTopicTasksResponse, err error)
DescribeLogTopicTasks 本接口(DescribeLogTopicTasks)用于获取日志推送任务列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeOriginGroup ¶
func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeOriginGroupWithContext ¶
func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组列表
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeOverviewL7Data ¶
func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeOverviewL7DataWithContext ¶
func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" 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) DescribeRateLimitIntelligenceRule ¶
func (c *Client) DescribeRateLimitIntelligenceRule(request *DescribeRateLimitIntelligenceRuleRequest) (response *DescribeRateLimitIntelligenceRuleResponse, err error)
DescribeRateLimitIntelligenceRule 查询速率限制智能客户端过滤学习出来的规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRateLimitIntelligenceRuleWithContext ¶
func (c *Client) DescribeRateLimitIntelligenceRuleWithContext(ctx context.Context, request *DescribeRateLimitIntelligenceRuleRequest) (response *DescribeRateLimitIntelligenceRuleResponse, err error)
DescribeRateLimitIntelligenceRule 查询速率限制智能客户端过滤学习出来的规则
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRules ¶
func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 查询规则引擎规则。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesSetting ¶
func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesSettingWithContext ¶
func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesWithContext ¶
func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 查询规则引擎规则。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityGroupManagedRules ¶
func (c *Client) DescribeSecurityGroupManagedRules(request *DescribeSecurityGroupManagedRulesRequest) (response *DescribeSecurityGroupManagedRulesResponse, err error)
DescribeSecurityGroupManagedRules 获取托管规则组
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityGroupManagedRulesWithContext ¶
func (c *Client) DescribeSecurityGroupManagedRulesWithContext(ctx context.Context, request *DescribeSecurityGroupManagedRulesRequest) (response *DescribeSecurityGroupManagedRulesResponse, err error)
DescribeSecurityGroupManagedRules 获取托管规则组
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicy ¶
func (c *Client) DescribeSecurityPolicy(request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
DescribeSecurityPolicy 查询安全防护配置详情
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyList ¶
func (c *Client) DescribeSecurityPolicyList(request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
DescribeSecurityPolicyList 查询全部安全实例
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyListWithContext ¶
func (c *Client) DescribeSecurityPolicyListWithContext(ctx context.Context, request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
DescribeSecurityPolicyList 查询全部安全实例
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyRegions ¶
func (c *Client) DescribeSecurityPolicyRegions(request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
DescribeSecurityPolicyRegions 查询所有地域信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeSecurityPolicyRegionsWithContext ¶
func (c *Client) DescribeSecurityPolicyRegionsWithContext(ctx context.Context, request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
DescribeSecurityPolicyRegions 查询所有地域信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeSecurityPolicyWithContext ¶
func (c *Client) DescribeSecurityPolicyWithContext(ctx context.Context, request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
DescribeSecurityPolicy 查询安全防护配置详情
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPortraitRules ¶
func (c *Client) DescribeSecurityPortraitRules(request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
DescribeSecurityPortraitRules 查询Bot用户画像规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPortraitRulesWithContext ¶
func (c *Client) DescribeSecurityPortraitRulesWithContext(ctx context.Context, request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
DescribeSecurityPortraitRules 查询Bot用户画像规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityRuleId ¶
func (c *Client) DescribeSecurityRuleId(request *DescribeSecurityRuleIdRequest) (response *DescribeSecurityRuleIdResponse, err error)
DescribeSecurityRuleId 查询安全规则详情
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityRuleIdWithContext ¶
func (c *Client) DescribeSecurityRuleIdWithContext(ctx context.Context, request *DescribeSecurityRuleIdRequest) (response *DescribeSecurityRuleIdResponse, err error)
DescribeSecurityRuleId 查询安全规则详情
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" 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" 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" 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" 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" 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"
func (*Client) DescribeSpeedTestingMetricDataWithContext ¶
func (c *Client) DescribeSpeedTestingMetricDataWithContext(ctx context.Context, request *DescribeSpeedTestingMetricDataRequest) (response *DescribeSpeedTestingMetricDataResponse, err error)
DescribeSpeedTestingMetricData 查询站点拨测结果
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSpeedTestingQuota ¶
func (c *Client) DescribeSpeedTestingQuota(request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)
DescribeSpeedTestingQuota 查询站点拨测配额
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeSpeedTestingQuotaWithContext ¶
func (c *Client) DescribeSpeedTestingQuotaWithContext(ctx context.Context, request *DescribeSpeedTestingQuotaRequest) (response *DescribeSpeedTestingQuotaResponse, err error)
DescribeSpeedTestingQuota 查询站点拨测配额
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCENOTFOUND = "ResourceNotFound"
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" 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" 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" OPERATIONDENIED = "OperationDenied" 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" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheData ¶
func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheDataWithContext ¶
func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData 本接口(DescribeTimingL7CacheData)用于查询七层缓存分析时序类流量数据。
可能返回的错误码:
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" OPERATIONDENIED = "OperationDenied" 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" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheData ¶
func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData 本接口(DescribeTopL7CacheData)用于查询七层缓存分析topN流量数据。
可能返回的错误码:
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流量数据。
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesData ¶
func (c *Client) DescribeWebManagedRulesData(request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData 本接口(DescribeWebManagedRulesData)用于查询WAF攻击的时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesDataWithContext ¶
func (c *Client) DescribeWebManagedRulesDataWithContext(ctx context.Context, request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData 本接口(DescribeWebManagedRulesData)用于查询WAF攻击的时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesHitRuleDetail ¶
func (c *Client) DescribeWebManagedRulesHitRuleDetail(request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)
DescribeWebManagedRulesHitRuleDetail 本接口(DescribeWebManagedRulesHitRuleDetail)用于查询WAF攻击命中规则详情。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesHitRuleDetailWithContext ¶
func (c *Client) DescribeWebManagedRulesHitRuleDetailWithContext(ctx context.Context, request *DescribeWebManagedRulesHitRuleDetailRequest) (response *DescribeWebManagedRulesHitRuleDetailResponse, err error)
DescribeWebManagedRulesHitRuleDetail 本接口(DescribeWebManagedRulesHitRuleDetail)用于查询WAF攻击命中规则详情。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesLog ¶
func (c *Client) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog 本接口(DescribeWebManagedRulesLog)用于查询Web攻击日志。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesLogWithContext ¶
func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog 本接口(DescribeWebManagedRulesLog)用于查询Web攻击日志。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionAttackEvents ¶
func (c *Client) DescribeWebProtectionAttackEvents(request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
DescribeWebProtectionAttackEvents 本接口(DescribeWebProtectionAttackEvents)用于查询CC相关攻击事件列表。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionAttackEventsWithContext ¶
func (c *Client) DescribeWebProtectionAttackEventsWithContext(ctx context.Context, request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
DescribeWebProtectionAttackEvents 本接口(DescribeWebProtectionAttackEvents)用于查询CC相关攻击事件列表。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionClientIpList ¶
func (c *Client) DescribeWebProtectionClientIpList(request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)
DescribeWebProtectionClientIpList 本接口(DescribeWebProtectionClientIpList)用于查询CC防护客户端(攻击源)IP信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeWebProtectionClientIpListWithContext ¶
func (c *Client) DescribeWebProtectionClientIpListWithContext(ctx context.Context, request *DescribeWebProtectionClientIpListRequest) (response *DescribeWebProtectionClientIpListResponse, err error)
DescribeWebProtectionClientIpList 本接口(DescribeWebProtectionClientIpList)用于查询CC防护客户端(攻击源)IP信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeWebProtectionData ¶
func (c *Client) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData 本接口(DescribeWebProtectionData)用于查询CC防护时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionDataWithContext ¶
func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData 本接口(DescribeWebProtectionData)用于查询CC防护时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionHitRuleDetail ¶
func (c *Client) DescribeWebProtectionHitRuleDetail(request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)
DescribeWebProtectionHitRuleDetail 本接口(DescribeWebProtectionHitRuleDetail)用于查询CC防护命中规则详情列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionHitRuleDetailWithContext ¶
func (c *Client) DescribeWebProtectionHitRuleDetailWithContext(ctx context.Context, request *DescribeWebProtectionHitRuleDetailRequest) (response *DescribeWebProtectionHitRuleDetailResponse, err error)
DescribeWebProtectionHitRuleDetail 本接口(DescribeWebProtectionHitRuleDetail)用于查询CC防护命中规则详情列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" 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) DescribeZoneDDoSPolicy ¶
func (c *Client) DescribeZoneDDoSPolicy(request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)
DescribeZoneDDoSPolicy 查询所有DDoS防护分区
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDDoSPolicyWithContext ¶
func (c *Client) DescribeZoneDDoSPolicyWithContext(ctx context.Context, request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)
DescribeZoneDDoSPolicy 查询所有DDoS防护分区
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneSetting ¶
func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting 用于查询站点的所有配置信息。
可能返回的错误码:
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 用于查询站点的所有配置信息。
可能返回的错误码:
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 用户查询用户站点信息列表,支持分页。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeZonesWithContext ¶
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 用户查询用户站点信息列表,支持分页。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
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) ModifyAlarmConfig ¶
func (c *Client) ModifyAlarmConfig(request *ModifyAlarmConfigRequest) (response *ModifyAlarmConfigResponse, err error)
ModifyAlarmConfig 本接口(ModifyAlarmConfig)用于修改用户告警配置。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAlarmConfigWithContext ¶
func (c *Client) ModifyAlarmConfigWithContext(ctx context.Context, request *ModifyAlarmConfigRequest) (response *ModifyAlarmConfigResponse, err error)
ModifyAlarmConfig 本接口(ModifyAlarmConfig)用于修改用户告警配置。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAlarmDefaultThreshold ¶
func (c *Client) ModifyAlarmDefaultThreshold(request *ModifyAlarmDefaultThresholdRequest) (response *ModifyAlarmDefaultThresholdResponse, err error)
ModifyAlarmDefaultThreshold 此接口(ModifyAlarmDefaultThreshold)用于修改告警默认阈值。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyAlarmDefaultThresholdWithContext ¶
func (c *Client) ModifyAlarmDefaultThresholdWithContext(ctx context.Context, request *ModifyAlarmDefaultThresholdRequest) (response *ModifyAlarmDefaultThresholdResponse, err error)
ModifyAlarmDefaultThreshold 此接口(ModifyAlarmDefaultThreshold)用于修改告警默认阈值。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
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"
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"
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"
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"
func (*Client) ModifyApplicationProxyStatus ¶
func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 修改应用代理的状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
func (*Client) ModifyApplicationProxyStatusWithContext ¶
func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 修改应用代理的状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus"
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) ModifyDDoSPolicy ¶
func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy 修改DDoS防护分区配置
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifyDDoSPolicyHost ¶
func (c *Client) ModifyDDoSPolicyHost(request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
ModifyDDoSPolicyHost 域名DDoS高可用开关
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDDoSPolicyHostWithContext ¶
func (c *Client) ModifyDDoSPolicyHostWithContext(ctx context.Context, request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
ModifyDDoSPolicyHost 域名DDoS高可用开关
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDDoSPolicyWithContext ¶
func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy 修改DDoS防护分区配置
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifyDefaultCertificate ¶
func (c *Client) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate 修改默认证书状态
可能返回的错误码:
FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDefaultCertificateWithContext ¶
func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate 修改默认证书状态
可能返回的错误码:
FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDnsRecord ¶
func (c *Client) ModifyDnsRecord(request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
ModifyDnsRecord 修改 DNS 记录
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyDnsRecordWithContext ¶
func (c *Client) ModifyDnsRecordWithContext(ctx context.Context, request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
ModifyDnsRecord 修改 DNS 记录
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyDnssec ¶
func (c *Client) ModifyDnssec(request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
ModifyDnssec 设置站点DNSSEC状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDnssecWithContext ¶
func (c *Client) ModifyDnssecWithContext(ctx context.Context, request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
ModifyDnssec 设置站点DNSSEC状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyHostsCertificate ¶
func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate 用于修改域名证书
可能返回的错误码:
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"
func (*Client) ModifyHostsCertificateWithContext ¶
func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate 用于修改域名证书
可能返回的错误码:
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"
func (*Client) ModifyLoadBalancing ¶
func (c *Client) ModifyLoadBalancing(request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
ModifyLoadBalancing 修改负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyLoadBalancingStatus ¶
func (c *Client) ModifyLoadBalancingStatus(request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
ModifyLoadBalancingStatus 修改负载均衡状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingStatusWithContext ¶
func (c *Client) ModifyLoadBalancingStatusWithContext(ctx context.Context, request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
ModifyLoadBalancingStatus 修改负载均衡状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingWithContext ¶
func (c *Client) ModifyLoadBalancingWithContext(ctx context.Context, request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
ModifyLoadBalancing 修改负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyLogTopicTask ¶
func (c *Client) ModifyLogTopicTask(request *ModifyLogTopicTaskRequest) (response *ModifyLogTopicTaskResponse, err error)
ModifyLogTopicTask 本接口(ModifyLogTopicTask)用于修改日志推送任务信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyLogTopicTaskWithContext ¶
func (c *Client) ModifyLogTopicTaskWithContext(ctx context.Context, request *ModifyLogTopicTaskRequest) (response *ModifyLogTopicTaskResponse, err error)
ModifyLogTopicTask 本接口(ModifyLogTopicTask)用于修改日志推送任务信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyOriginGroup ¶
func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 修改源站组
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyOriginGroupWithContext ¶
func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 修改源站组
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyRule ¶
func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 修改规则引擎规则。
可能返回的错误码:
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) ModifyRulePriority ¶
func (c *Client) ModifyRulePriority(request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)
ModifyRulePriority 修改规则引擎规则优先级
可能返回的错误码:
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) ModifyRulePriorityWithContext ¶
func (c *Client) ModifyRulePriorityWithContext(ctx context.Context, request *ModifyRulePriorityRequest) (response *ModifyRulePriorityResponse, err error)
ModifyRulePriority 修改规则引擎规则优先级
可能返回的错误码:
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) ModifyRuleWithContext ¶
func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 修改规则引擎规则。
可能返回的错误码:
INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl"
func (*Client) ModifySecurityPolicy ¶
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifySecurityPolicyWithContext ¶
func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifySecurityWafGroupPolicy ¶
func (c *Client) ModifySecurityWafGroupPolicy(request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)
ModifySecurityWafGroupPolicy 修改安全配置托管规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifySecurityWafGroupPolicyWithContext ¶
func (c *Client) ModifySecurityWafGroupPolicyWithContext(ctx context.Context, request *ModifySecurityWafGroupPolicyRequest) (response *ModifySecurityWafGroupPolicyResponse, err error)
ModifySecurityWafGroupPolicy 修改安全配置托管规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifyZone ¶
func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 修改站点信息。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneCnameSpeedUp ¶
func (c *Client) ModifyZoneCnameSpeedUp(request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
ModifyZoneCnameSpeedUp 开启,关闭 CNAME 加速。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneCnameSpeedUpWithContext ¶
func (c *Client) ModifyZoneCnameSpeedUpWithContext(ctx context.Context, request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
ModifyZoneCnameSpeedUp 开启,关闭 CNAME 加速。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneSetting ¶
func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting 用于修改站点配置
可能返回的错误码:
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" 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 用于修改站点配置
可能返回的错误码:
INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneStatus ¶
func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneStatusWithContext ¶
func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneWithContext ¶
func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 修改站点信息。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
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 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ReclaimZoneWithContext ¶
func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) SwitchLogTopicTask ¶
func (c *Client) SwitchLogTopicTask(request *SwitchLogTopicTaskRequest) (response *SwitchLogTopicTaskResponse, err error)
SwitchLogTopicTask 本接口(SwitchLogTopicTask)用于开启/关闭推送任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) SwitchLogTopicTaskWithContext ¶
func (c *Client) SwitchLogTopicTaskWithContext(ctx context.Context, request *SwitchLogTopicTaskRequest) (response *SwitchLogTopicTaskResponse, err error)
SwitchLogTopicTask 本接口(SwitchLogTopicTask)用于开启/关闭推送任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
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 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>
// <li> apply:申请免费证书。</li>
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 选择托管证书时需填入相应证书 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>
// <li> apply:申请免费证书。</li>
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 选择托管证书时需填入相应证书 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。
AliasId *string `json:"AliasId,omitempty" name:"AliasId"`
// 唯一请求 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"`
}
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"`
}
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>custom:手动添加;</li>
// <li>origins:源站组。</li>
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值:
// custom:手动添加
// origins:源站组
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// 当OriginType=custom时,表示一个或多个源站,如:
// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
// OriginValue=["test.com:80"];
// 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
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"`
}
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>custom:手动添加;</li>
// <li>origins:源站组。</li>
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值:
// custom:手动添加
// origins:源站组
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// 当OriginType=custom时,表示一个或多个源站,如:
// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
// OriginValue=["test.com:80"];
// 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
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"`
}
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 CreateCustomErrorPageRequest ¶
type CreateCustomErrorPageRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 自定义页面的文件名。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义页面的内容,本字段的内容需要将数据经过urlencode后传入。
Content *string `json:"Content,omitempty" name:"Content"`
}
func NewCreateCustomErrorPageRequest ¶
func NewCreateCustomErrorPageRequest() (request *CreateCustomErrorPageRequest)
func (*CreateCustomErrorPageRequest) FromJsonString ¶
func (r *CreateCustomErrorPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomErrorPageRequest) ToJsonString ¶
func (r *CreateCustomErrorPageRequest) ToJsonString() string
type CreateCustomErrorPageRequestParams ¶
type CreateCustomErrorPageRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 自定义页面的文件名。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义页面的内容,本字段的内容需要将数据经过urlencode后传入。
Content *string `json:"Content,omitempty" name:"Content"`
}
Predefined struct for user
type CreateCustomErrorPageResponse ¶
type CreateCustomErrorPageResponse struct {
*tchttp.BaseResponse
Response *CreateCustomErrorPageResponseParams `json:"Response"`
}
func NewCreateCustomErrorPageResponse ¶
func NewCreateCustomErrorPageResponse() (response *CreateCustomErrorPageResponse)
func (*CreateCustomErrorPageResponse) FromJsonString ¶
func (r *CreateCustomErrorPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomErrorPageResponse) ToJsonString ¶
func (r *CreateCustomErrorPageResponse) ToJsonString() string
type CreateCustomErrorPageResponseParams ¶
type CreateCustomErrorPageResponseParams struct {
// 自定义页面上传后的唯一id。
PageId *int64 `json:"PageId,omitempty" name:"PageId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateDnsRecordRequest ¶
type CreateDnsRecordRequest struct {
*tchttp.BaseRequest
// DNS记录所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DNS记录类型,取值有:
// <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
// <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
// <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
// <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
// <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
// <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
// <li>CAA:指定可为本站点颁发证书的 CA;</li>
// <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// DNS记录名。
Name *string `json:"Name,omitempty" name:"Name"`
// DNS记录内容。
Content *string `json:"Content,omitempty" name:"Content"`
// 代理模式,取值有:
// <li>dns_only:仅DNS解析;</li>
// <li>proxied:代理加速。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒。
TTL *int64 `json:"TTL,omitempty" name:"TTL"`
// 该参数在创建MX记录时生效,值越小优先级越高,用户可指定值范围1~50,不指定默认为0。
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}
func NewCreateDnsRecordRequest ¶
func NewCreateDnsRecordRequest() (request *CreateDnsRecordRequest)
func (*CreateDnsRecordRequest) FromJsonString ¶
func (r *CreateDnsRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDnsRecordRequest) ToJsonString ¶
func (r *CreateDnsRecordRequest) ToJsonString() string
type CreateDnsRecordRequestParams ¶
type CreateDnsRecordRequestParams struct {
// DNS记录所属站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DNS记录类型,取值有:
// <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
// <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
// <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
// <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
// <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
// <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
// <li>CAA:指定可为本站点颁发证书的 CA;</li>
// <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// DNS记录名。
Name *string `json:"Name,omitempty" name:"Name"`
// DNS记录内容。
Content *string `json:"Content,omitempty" name:"Content"`
// 代理模式,取值有:
// <li>dns_only:仅DNS解析;</li>
// <li>proxied:代理加速。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒。
TTL *int64 `json:"TTL,omitempty" name:"TTL"`
// 该参数在创建MX记录时生效,值越小优先级越高,用户可指定值范围1~50,不指定默认为0。
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}
Predefined struct for user
type CreateDnsRecordResponse ¶
type CreateDnsRecordResponse struct {
*tchttp.BaseResponse
Response *CreateDnsRecordResponseParams `json:"Response"`
}
func NewCreateDnsRecordResponse ¶
func NewCreateDnsRecordResponse() (response *CreateDnsRecordResponse)
func (*CreateDnsRecordResponse) FromJsonString ¶
func (r *CreateDnsRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDnsRecordResponse) ToJsonString ¶
func (r *CreateDnsRecordResponse) ToJsonString() string
type CreateDnsRecordResponseParams ¶
type CreateDnsRecordResponseParams struct {
// DNS解析记录ID。
DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateIpTableListRequest ¶
type CreateIpTableListRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 基础访问管控Ip规则列表。
IpTableRules []*IpTableRule `json:"IpTableRules,omitempty" name:"IpTableRules"`
}
func NewCreateIpTableListRequest ¶
func NewCreateIpTableListRequest() (request *CreateIpTableListRequest)
func (*CreateIpTableListRequest) FromJsonString ¶
func (r *CreateIpTableListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIpTableListRequest) ToJsonString ¶
func (r *CreateIpTableListRequest) ToJsonString() string
type CreateIpTableListRequestParams ¶
type CreateIpTableListRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 基础访问管控Ip规则列表。
IpTableRules []*IpTableRule `json:"IpTableRules,omitempty" name:"IpTableRules"`
}
Predefined struct for user
type CreateIpTableListResponse ¶
type CreateIpTableListResponse struct {
*tchttp.BaseResponse
Response *CreateIpTableListResponseParams `json:"Response"`
}
func NewCreateIpTableListResponse ¶
func NewCreateIpTableListResponse() (response *CreateIpTableListResponse)
func (*CreateIpTableListResponse) FromJsonString ¶
func (r *CreateIpTableListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateIpTableListResponse) ToJsonString ¶
func (r *CreateIpTableListResponse) ToJsonString() string
type CreateIpTableListResponseParams ¶
type CreateIpTableListResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLoadBalancingRequest ¶
type CreateLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡域名。
Host *string `json:"Host,omitempty" name:"Host"`
// 代理模式,取值有:
// <li>dns_only:仅DNS;</li>
// <li>proxied:开启代理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 主源站源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。
BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
// 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
// 取值范围60-86400,单位:秒,不填写使用默认值:600。
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 回源类型,取值有:
// <li>normal:主备回源;</li>
// <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>为空表示使用主备回源。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 高级回源配置,当OriginType=advanced时有效。
AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}
func NewCreateLoadBalancingRequest ¶
func NewCreateLoadBalancingRequest() (request *CreateLoadBalancingRequest)
func (*CreateLoadBalancingRequest) FromJsonString ¶
func (r *CreateLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancingRequest) ToJsonString ¶
func (r *CreateLoadBalancingRequest) ToJsonString() string
type CreateLoadBalancingRequestParams ¶
type CreateLoadBalancingRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡域名。
Host *string `json:"Host,omitempty" name:"Host"`
// 代理模式,取值有:
// <li>dns_only:仅DNS;</li>
// <li>proxied:开启代理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 主源站源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。
BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
// 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
// 取值范围60-86400,单位:秒,不填写使用默认值:600。
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 回源类型,取值有:
// <li>normal:主备回源;</li>
// <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>为空表示使用主备回源。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 高级回源配置,当OriginType=advanced时有效。
AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}
Predefined struct for user
type CreateLoadBalancingResponse ¶
type CreateLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *CreateLoadBalancingResponseParams `json:"Response"`
}
func NewCreateLoadBalancingResponse ¶
func NewCreateLoadBalancingResponse() (response *CreateLoadBalancingResponse)
func (*CreateLoadBalancingResponse) FromJsonString ¶
func (r *CreateLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancingResponse) ToJsonString ¶
func (r *CreateLoadBalancingResponse) ToJsonString() string
type CreateLoadBalancingResponseParams ¶
type CreateLoadBalancingResponseParams struct {
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLogSetRequest ¶
type CreateLogSetRequest struct {
*tchttp.BaseRequest
// 日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
// 日志集归属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}
func NewCreateLogSetRequest ¶
func NewCreateLogSetRequest() (request *CreateLogSetRequest)
func (*CreateLogSetRequest) FromJsonString ¶
func (r *CreateLogSetRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogSetRequest) ToJsonString ¶
func (r *CreateLogSetRequest) ToJsonString() string
type CreateLogSetRequestParams ¶
type CreateLogSetRequestParams struct {
// 日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
// 日志集归属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}
Predefined struct for user
type CreateLogSetResponse ¶
type CreateLogSetResponse struct {
*tchttp.BaseResponse
Response *CreateLogSetResponseParams `json:"Response"`
}
func NewCreateLogSetResponse ¶
func NewCreateLogSetResponse() (response *CreateLogSetResponse)
func (*CreateLogSetResponse) FromJsonString ¶
func (r *CreateLogSetResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogSetResponse) ToJsonString ¶
func (r *CreateLogSetResponse) ToJsonString() string
type CreateLogSetResponseParams ¶
type CreateLogSetResponseParams struct {
// 创建成功的日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLogTopicTaskRequest ¶
type CreateLogTopicTaskRequest struct {
*tchttp.BaseRequest
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志集所属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集主题名。
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 推送任务的名称。
TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 数据推送类型,取值有:
// <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"`
// 日志主题保存时间,单位为天,取值范围为:1-366。
Period *uint64 `json:"Period,omitempty" name:"Period"`
// 推送任务实体列表。
EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>不填将根据用户的地域智能选择加速区域。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewCreateLogTopicTaskRequest ¶
func NewCreateLogTopicTaskRequest() (request *CreateLogTopicTaskRequest)
func (*CreateLogTopicTaskRequest) FromJsonString ¶
func (r *CreateLogTopicTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogTopicTaskRequest) ToJsonString ¶
func (r *CreateLogTopicTaskRequest) ToJsonString() string
type CreateLogTopicTaskRequestParams ¶
type CreateLogTopicTaskRequestParams struct {
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志集所属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集主题名。
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 推送任务的名称。
TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 数据推送类型,取值有:
// <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"`
// 日志主题保存时间,单位为天,取值范围为:1-366。
Period *uint64 `json:"Period,omitempty" name:"Period"`
// 推送任务实体列表。
EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>不填将根据用户的地域智能选择加速区域。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type CreateLogTopicTaskResponse ¶
type CreateLogTopicTaskResponse struct {
*tchttp.BaseResponse
Response *CreateLogTopicTaskResponseParams `json:"Response"`
}
func NewCreateLogTopicTaskResponse ¶
func NewCreateLogTopicTaskResponse() (response *CreateLogTopicTaskResponse)
func (*CreateLogTopicTaskResponse) FromJsonString ¶
func (r *CreateLogTopicTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLogTopicTaskResponse) ToJsonString ¶
func (r *CreateLogTopicTaskResponse) ToJsonString() string
type CreateLogTopicTaskResponseParams ¶
type CreateLogTopicTaskResponseParams struct {
// 创建成功的主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 唯一请求 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> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li>
// <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
// <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li>
// <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">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> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li>
// <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
// <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li>
// <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">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>
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可为空,不需要填写。
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>
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可为空,不需要填写。
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"`
}
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"`
}
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 CreateSecurityDropPageRequest ¶
type CreateSecurityDropPageRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点子域名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 自定义页面的文件名。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义页面的内容,本字段的内容需要将数据经过urlencode后传入。
Content *string `json:"Content,omitempty" name:"Content"`
// 上传的类型,取值有:
// <li> file:将页面文件内容进行urlencode编码,填入Content字段;</li>
// <li> url:将待上传的url地址进行urlencode编码,填入Content字段,即时下载,内容不会自动更新。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 页面所属的模块,取值有:
// <li> waf :托管规则模块;</li>
// <li> rate:自定义规则模块。</li>
Module *string `json:"Module,omitempty" name:"Module"`
}
func NewCreateSecurityDropPageRequest ¶
func NewCreateSecurityDropPageRequest() (request *CreateSecurityDropPageRequest)
func (*CreateSecurityDropPageRequest) FromJsonString ¶
func (r *CreateSecurityDropPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityDropPageRequest) ToJsonString ¶
func (r *CreateSecurityDropPageRequest) ToJsonString() string
type CreateSecurityDropPageRequestParams ¶
type CreateSecurityDropPageRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点子域名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 自定义页面的文件名。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义页面的内容,本字段的内容需要将数据经过urlencode后传入。
Content *string `json:"Content,omitempty" name:"Content"`
// 上传的类型,取值有:
// <li> file:将页面文件内容进行urlencode编码,填入Content字段;</li>
// <li> url:将待上传的url地址进行urlencode编码,填入Content字段,即时下载,内容不会自动更新。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 页面所属的模块,取值有:
// <li> waf :托管规则模块;</li>
// <li> rate:自定义规则模块。</li>
Module *string `json:"Module,omitempty" name:"Module"`
}
Predefined struct for user
type CreateSecurityDropPageResponse ¶
type CreateSecurityDropPageResponse struct {
*tchttp.BaseResponse
Response *CreateSecurityDropPageResponseParams `json:"Response"`
}
func NewCreateSecurityDropPageResponse ¶
func NewCreateSecurityDropPageResponse() (response *CreateSecurityDropPageResponse)
func (*CreateSecurityDropPageResponse) FromJsonString ¶
func (r *CreateSecurityDropPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityDropPageResponse) ToJsonString ¶
func (r *CreateSecurityDropPageResponse) ToJsonString() string
type CreateSecurityDropPageResponseParams ¶
type CreateSecurityDropPageResponseParams struct {
// 自定义页面上传后的唯一id。
PageId *int64 `json:"PageId,omitempty" name:"PageId"`
// 唯一请求 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接入。</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"`
}
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接入。</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"`
}
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 DDoSAcl ¶
type DDoSAcl struct {
// 端口过滤规则数组。
DDoSAclRules []*DDoSAclRule `json:"DDoSAclRules,omitempty" name:"DDoSAclRules"`
// 清空规则标识,取值有:
// <li>off :清空端口过滤规则列表,DDoSAclRules无需填写;</li>
// <li>on :配置端口过滤规则,需填写DDoSAclRules参数。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DDoSAclRule ¶
type DDoSAclRule struct {
// 目的端口结束,取值范围0-65535。
DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"`
// 目的端口开始,取值范围0-65535。
DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"`
// 源端口结束,取值范围0-65535。
SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"`
// 源端口开始,取值范围0-65535。
SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"`
// 协议,取值有:
// <li>tcp :tcp协议 ;</li>
// <li>udp :udp协议 ;</li>
// <li>all :全部协议 。</li>
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 执行动作,取值为:
// <li>drop :丢弃 ;</li>
// <li>transmit :放行 ;</li>
// <li>forward :继续防护 。</li>
Action *string `json:"Action,omitempty" name:"Action"`
}
type DDoSAllowBlock ¶
type DDoSAllowBlock struct {
// 黑白名单数组。
DDoSAllowBlockRules []*DDoSAllowBlockRule `json:"DDoSAllowBlockRules,omitempty" name:"DDoSAllowBlockRules"`
// 开关标识防护是否清空,取值有:
// <li>off :关闭黑白名单;</li>
// <li>on :开启黑白名单,需填写UserAllowBlockIp参数。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DDoSAllowBlockRule ¶
type DDoSAllowBlockRule struct {
// 客户端IP,支持格式有:单IP、IP范围、网段、网段范围。例如"1.1.1.1","1.1.1.2-1.1.1.3","1.2.1.0/24-1.2.2.0/24"。
Ip *string `json:"Ip,omitempty" name:"Ip"`
// 类型,取值有:
// <li> block :丢弃 ;</li><li> allow :允许。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 10位时间戳,例如1199116800。不填写系统取当前时间。
UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type DDoSAntiPly ¶
type DDoSAntiPly struct {
// tcp协议封禁,取值有:
// <li>off :关闭 ;</li>
// <li>on :开启 。</li>
DropTcp *string `json:"DropTcp,omitempty" name:"DropTcp"`
// udp协议封禁,取值有:
// <li>off :关闭 ;</li>
// <li>on :开启 。</li>
DropUdp *string `json:"DropUdp,omitempty" name:"DropUdp"`
// icmp协议封禁,取值有:
// <li>off :关闭 ;</li>
// <li>on :开启 。</li>
DropIcmp *string `json:"DropIcmp,omitempty" name:"DropIcmp"`
// 其他协议封禁,取值有:
// <li>off :关闭 ;</li>
// <li>on :开启 。</li>
DropOther *string `json:"DropOther,omitempty" name:"DropOther"`
// 源站每秒新连接限速,取值范围0-4294967295。
SourceCreateLimit *int64 `json:"SourceCreateLimit,omitempty" name:"SourceCreateLimit"`
// 源站并发连接控制,取值范围0-4294967295。
SourceConnectLimit *int64 `json:"SourceConnectLimit,omitempty" name:"SourceConnectLimit"`
// 目的端口每秒新连接限速,取值范围0-4294967295。
DestinationCreateLimit *int64 `json:"DestinationCreateLimit,omitempty" name:"DestinationCreateLimit"`
// 目的端口并发连接控制,取值范围0-4294967295。
DestinationConnectLimit *int64 `json:"DestinationConnectLimit,omitempty" name:"DestinationConnectLimit"`
// 每秒异常连接数阈值,取值范围0-4294967295。
AbnormalConnectNum *int64 `json:"AbnormalConnectNum,omitempty" name:"AbnormalConnectNum"`
// 异常syn报文百分比阈值,取值范围0-100。
AbnormalSynRatio *int64 `json:"AbnormalSynRatio,omitempty" name:"AbnormalSynRatio"`
// 异常syn报文阈值,取值范围0-65535。
AbnormalSynNum *int64 `json:"AbnormalSynNum,omitempty" name:"AbnormalSynNum"`
// 每秒连接超时检测,取值范围0-65535。
ConnectTimeout *int64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"`
// 空连接防护开启,取值有:
// <li>off :关闭 ;</li>
// <li>on :开启 。</li>
EmptyConnectProtect *string `json:"EmptyConnectProtect,omitempty" name:"EmptyConnectProtect"`
// UDP分片开关,取值有:
// <li>off :关闭 ;</li>
// <li>on :开启 。</li>
UdpShard *string `json:"UdpShard,omitempty" name:"UdpShard"`
}
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"`
}
type DDoSAttackEventDetailData ¶
type DDoSAttackEventDetailData struct {
// 攻击状态,取值有:
// <li>1 :观察中 ;</li>
// <li>2 :攻击开始 ;</li>
// <li>3 :攻击结束 。</li>
AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"`
// 攻击类型。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 结束时间。
EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"`
// 开始时间。
StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"`
// 最大带宽。
MaxBandWidth *int64 `json:"MaxBandWidth,omitempty" name:"MaxBandWidth"`
// 最大包速率。
PacketMaxRate *int64 `json:"PacketMaxRate,omitempty" name:"PacketMaxRate"`
// 事件Id。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// DDoS策略组ID。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
type DDoSAttackSourceEvent ¶
type DDoSAttackSourceEvent struct {
// 攻击源ip。
AttackSourceIp *string `json:"AttackSourceIp,omitempty" name:"AttackSourceIp"`
// 地区(国家)。
AttackRegion *string `json:"AttackRegion,omitempty" name:"AttackRegion"`
// 累计攻击流量。
AttackFlow *uint64 `json:"AttackFlow,omitempty" name:"AttackFlow"`
// 累计攻击包量。
AttackPacketNum *uint64 `json:"AttackPacketNum,omitempty" name:"AttackPacketNum"`
}
type DDoSBlockData ¶
type DDoSFeaturesFilter ¶
type DDoSFeaturesFilter struct {
// 执行动作,取值有:
// <li>drop :丢弃 ;</li>
// <li>transmit :放行 ;</li>
// <li>drop_block :丢弃并拉黑 ;</li>
// <li>forward :继续防护 。</li>
Action *string `json:"Action,omitempty" name:"Action"`
// 协议,取值有:
// <li>tcp :tcp协议 ;</li>
// <li>udp :udp协议 ;</li>
// <li>icmp :icmp协议 ;</li>
// <li>all :全部协议 。</li>
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 目标端口开始,取值范围0-65535。
DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"`
// 目标端口结束,取值范围0-65535。
DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"`
// 最小包长,取值范围0-1500。
PacketMin *int64 `json:"PacketMin,omitempty" name:"PacketMin"`
// 最大包长,取值范围0-1500。
PacketMax *int64 `json:"PacketMax,omitempty" name:"PacketMax"`
// 源端口开始,取值范围0-65535。
SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"`
// 源端口结束,取值范围0-65535。
SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"`
// 匹配方式1,【特征1】,取值有:
// <li>pcre :正则匹配 ;</li>
// <li>sunday :字符串匹配 。</li>默认为空字符串。
MatchType *string `json:"MatchType,omitempty" name:"MatchType"`
// 取非判断,该参数对MatchType配合使用,【特征1】,取值有:
// <li>0 :匹配 ;</li>
// <li>1 :不匹配 。</li>
IsNot *int64 `json:"IsNot,omitempty" name:"IsNot"`
// 偏移量1,【特征1】,取值范围0-1500。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 检测包字符深度,【特征1】,取值范围1-1500。
Depth *int64 `json:"Depth,omitempty" name:"Depth"`
// 匹配开始层级,层级参考计算机网络结构,取值有:
// <li>begin_l5 :载荷开始检测 ;</li>
// <li>begin_l4 :tcp/udp首部开始检测 ;</li>
// <li>begin_l3 :ip首部开始检测 。</li>
MatchBegin *string `json:"MatchBegin,omitempty" name:"MatchBegin"`
// 正则或字符串匹配的内容,【特征1】。
Str *string `json:"Str,omitempty" name:"Str"`
// 匹配方式2,【特征2】,取值有:
// <li>pcre :正则匹配 ;</li>
// <li>sunday :字符串匹配 。</li>默认为空字符串。
MatchType2 *string `json:"MatchType2,omitempty" name:"MatchType2"`
// 取非判断2,该参数对MatchType2配合使用,【特征2】,取值有:
// <li>0 :匹配 ;</li>
// <li>1 :不匹配 。</li>
IsNot2 *int64 `json:"IsNot2,omitempty" name:"IsNot2"`
// 偏移量2,【特征2】,取值范围0-1500。
Offset2 *int64 `json:"Offset2,omitempty" name:"Offset2"`
// 检测包字符深度,【特征2】,取值范围1-1500。
Depth2 *int64 `json:"Depth2,omitempty" name:"Depth2"`
// 匹配开始层级,层级参考计算机网络结构,取值有:
// <li>begin_l5 :载荷开始检测 ;</li>
// <li>begin_l4 :tcp/udp首部开始检测;</li>
// <li>begin_l3 :ip首部开始检测 。</li>
MatchBegin2 *string `json:"MatchBegin2,omitempty" name:"MatchBegin2"`
// 正则或字符串匹配的内容,【特征2】。
Str2 *string `json:"Str2,omitempty" name:"Str2"`
// 多特征关系,仅配置【特征1】时填 none,存在【特征2】配置可不填。
MatchLogic *string `json:"MatchLogic,omitempty" name:"MatchLogic"`
}
type DDoSGeoIp ¶
type DDoSGeoIp struct {
// 区域封禁清空标识,取值有:
// <li>off :清空地域封禁列表 ;</li>
// <li>on :不做处理 。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 地域信息,ID参考[DescribeSecurityPolicyRegions](https://tcloud4api.woa.com/document/product/1657/81247?!preview&!document=1)。
RegionIds []*int64 `json:"RegionIds,omitempty" name:"RegionIds"`
}
type DDoSHost ¶
type DDoSHost struct {
// 二级域名
// 注意:此字段可能返回 null,表示取不到有效值。
Host *string `json:"Host,omitempty" name:"Host"`
// 域名状态;
// init 待切ns
// offline 需要dns开启站点加速
// process 在部署中,稍等一会
// online 正常状态
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// 加速开关;on-开启加速;off-关闭加速(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
// 注意:此字段可能返回 null,表示取不到有效值。
AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 安全开关;on-开启安全;off-关闭安全(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
// 注意:此字段可能返回 null,表示取不到有效值。
SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}
type DDoSMajorAttackEvent ¶
type DDoSMajorAttackEvent struct {
// ddos 策略组id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 攻击最大带宽。
AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"`
// 攻击请求时间,采用unix秒级时间戳。
AttackTime *int64 `json:"AttackTime,omitempty" name:"AttackTime"`
}
type DDoSPacketFilter ¶
type DDoSPacketFilter struct {
// 特征过滤规则数组。
DDoSFeaturesFilters []*DDoSFeaturesFilter `json:"DDoSFeaturesFilters,omitempty" name:"DDoSFeaturesFilters"`
// 特征过滤清空标识,取值有:
// <li>off :清空特征过滤规则,无需填写 DDoSFeaturesFilters 参数 ;</li>
// <li>on :配置特征过滤规则,需填写 DDoSFeaturesFilters 参数。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DDoSRule ¶
type DDoSRule struct {
// DDoS防护等级。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSStatusInfo *DDoSStatusInfo `json:"DDoSStatusInfo,omitempty" name:"DDoSStatusInfo"`
// DDoS地域封禁。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSGeoIp *DDoSGeoIp `json:"DDoSGeoIp,omitempty" name:"DDoSGeoIp"`
// DDoS黑白名单。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSAllowBlock *DDoSAllowBlock `json:"DDoSAllowBlock,omitempty" name:"DDoSAllowBlock"`
// DDoS 协议封禁+连接防护。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSAntiPly *DDoSAntiPly `json:"DDoSAntiPly,omitempty" name:"DDoSAntiPly"`
// DDoS特征过滤。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSPacketFilter *DDoSPacketFilter `json:"DDoSPacketFilter,omitempty" name:"DDoSPacketFilter"`
// DDoS端口过滤。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSAcl *DDoSAcl `json:"DDoSAcl,omitempty" name:"DDoSAcl"`
// DDoS开关,取值有:
// <li>on :开启 ;</li>
// <li>off :关闭 。</li>如果为null,默认使用历史配置。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// UDP分片功能是否支持,取值有:
// <li>on :支持 ;</li>
// <li>off :不支持 。</li>仅出参字段,入参无需填写。
UdpShardOpen *string `json:"UdpShardOpen,omitempty" name:"UdpShardOpen"`
// DDoS源站访问速率限制。如果为null,默认使用历史配置。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSSpeedLimit *DDoSSpeedLimit `json:"DDoSSpeedLimit,omitempty" name:"DDoSSpeedLimit"`
}
type DDoSSpeedLimit ¶
type DDoSSpeedLimit struct {
// 源站包量限制,支持单位有pps、Kpps、Mpps、Gpps。支持范围1 pps-10000 Gpps。"0 pps"或其他单位数值为0,即不限包。""为不更新。
PackageLimit *string `json:"PackageLimit,omitempty" name:"PackageLimit"`
// 源站流量限制,支持单位有bps、Kbps、Mbps、Gbps,支持范围1 bps-10000 Gbps。"0 bps"或其他单位数值为0,即不限流。""为不更新。
FluxLimit *string `json:"FluxLimit,omitempty" name:"FluxLimit"`
}
type DDoSStatusInfo ¶
type DDoSStatusInfo struct {
// 策略等级,取值有:
// <li>low :宽松 ;</li>
// <li>middle :适中 ;</li>
// <li>high : 严格。 </li>
PlyLevel *string `json:"PlyLevel,omitempty" name:"PlyLevel"`
}
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 DeleteAliasDomainRequest ¶ added in v1.0.510
type DeleteAliasDomainRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-id<br> 按照【<strong>别称域名ID</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}
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"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-id<br> 按照【<strong>别称域名ID</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}
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 DeleteDnsRecordsRequest ¶
type DeleteDnsRecordsRequest struct {
*tchttp.BaseRequest
// 待删除记录所属站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 待删除记录 ID。
DnsRecordIds []*string `json:"DnsRecordIds,omitempty" name:"DnsRecordIds"`
}
func NewDeleteDnsRecordsRequest ¶
func NewDeleteDnsRecordsRequest() (request *DeleteDnsRecordsRequest)
func (*DeleteDnsRecordsRequest) FromJsonString ¶
func (r *DeleteDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDnsRecordsRequest) ToJsonString ¶
func (r *DeleteDnsRecordsRequest) ToJsonString() string
type DeleteDnsRecordsRequestParams ¶
type DeleteDnsRecordsRequestParams struct {
// 待删除记录所属站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 待删除记录 ID。
DnsRecordIds []*string `json:"DnsRecordIds,omitempty" name:"DnsRecordIds"`
}
Predefined struct for user
type DeleteDnsRecordsResponse ¶
type DeleteDnsRecordsResponse struct {
*tchttp.BaseResponse
Response *DeleteDnsRecordsResponseParams `json:"Response"`
}
func NewDeleteDnsRecordsResponse ¶
func NewDeleteDnsRecordsResponse() (response *DeleteDnsRecordsResponse)
func (*DeleteDnsRecordsResponse) FromJsonString ¶
func (r *DeleteDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDnsRecordsResponse) ToJsonString ¶
func (r *DeleteDnsRecordsResponse) ToJsonString() string
type DeleteDnsRecordsResponseParams ¶
type DeleteDnsRecordsResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteLoadBalancingRequest ¶
type DeleteLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}
func NewDeleteLoadBalancingRequest ¶
func NewDeleteLoadBalancingRequest() (request *DeleteLoadBalancingRequest)
func (*DeleteLoadBalancingRequest) FromJsonString ¶
func (r *DeleteLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancingRequest) ToJsonString ¶
func (r *DeleteLoadBalancingRequest) ToJsonString() string
type DeleteLoadBalancingRequestParams ¶
type DeleteLoadBalancingRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}
Predefined struct for user
type DeleteLoadBalancingResponse ¶
type DeleteLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *DeleteLoadBalancingResponseParams `json:"Response"`
}
func NewDeleteLoadBalancingResponse ¶
func NewDeleteLoadBalancingResponse() (response *DeleteLoadBalancingResponse)
func (*DeleteLoadBalancingResponse) FromJsonString ¶
func (r *DeleteLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancingResponse) ToJsonString ¶
func (r *DeleteLoadBalancingResponse) ToJsonString() string
type DeleteLoadBalancingResponseParams ¶
type DeleteLoadBalancingResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteLogTopicTaskRequest ¶
type DeleteLogTopicTaskRequest struct {
*tchttp.BaseRequest
// 待删除的推送任务ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 推送任务所属日志集地域,此字段仅用于CLS推送任务。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}
func NewDeleteLogTopicTaskRequest ¶
func NewDeleteLogTopicTaskRequest() (request *DeleteLogTopicTaskRequest)
func (*DeleteLogTopicTaskRequest) FromJsonString ¶
func (r *DeleteLogTopicTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogTopicTaskRequest) ToJsonString ¶
func (r *DeleteLogTopicTaskRequest) ToJsonString() string
type DeleteLogTopicTaskRequestParams ¶
type DeleteLogTopicTaskRequestParams struct {
// 待删除的推送任务ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 推送任务所属日志集地域,此字段仅用于CLS推送任务。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
}
Predefined struct for user
type DeleteLogTopicTaskResponse ¶
type DeleteLogTopicTaskResponse struct {
*tchttp.BaseResponse
Response *DeleteLogTopicTaskResponseParams `json:"Response"`
}
func NewDeleteLogTopicTaskResponse ¶
func NewDeleteLogTopicTaskResponse() (response *DeleteLogTopicTaskResponse)
func (*DeleteLogTopicTaskResponse) FromJsonString ¶
func (r *DeleteLogTopicTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLogTopicTaskResponse) ToJsonString ¶
func (r *DeleteLogTopicTaskResponse) ToJsonString() string
type DeleteLogTopicTaskResponseParams ¶
type DeleteLogTopicTaskResponseParams 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 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 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"`
}
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"`
}
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。不填时返回该AppID下所有别称域名信息列表。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:100。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>alias-id<br> 按照【<strong>别称域名ID</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>Fuzzy<br> 按照【<strong>是否模糊查询</strong>】进行过滤。仅支持过滤字段名为alias-name。模糊查询时,Values长度最小为1。<br> 类型:Boolean<br> 必选:否<br> 默认值:false</li>
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。不填时返回该AppID下所有别称域名信息列表。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:100。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>alias-id<br> 按照【<strong>别称域名ID</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li><li>Fuzzy<br> 按照【<strong>是否模糊查询</strong>】进行过滤。仅支持过滤字段名为alias-name。模糊查询时,Values长度最小为1。<br> 类型:Boolean<br> 必选:否<br> 默认值:false</li>
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 DescribeBillingDataRequest ¶
type DescribeBillingDataRequest struct {
*tchttp.BaseRequest
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时间粒度, 支持指定以下几种粒度:
// <ul>
// <li>min:1分钟粒度;</li>
// <li>5min:5分钟粒度;</li>
// <li>hour:1小时粒度;</li>
// <li>day:天粒度;</li>
// </ul>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 指标名,支持:
// <ul>
// <li>acc_flux: 内容加速流量用量;</li>
// <li>quic_request: QUIC 请求数用量;</li>
// <li>sec_flux: 安全流量用量;</li>
// <li>sec_request_clean: 安全干净流量请求数;</li>
// </ul>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 筛选条件. 支持:
// <ul>
// <li>zone: 站点级数据;</li>
// <li>plan: 套餐级数据;</li>
// <li>service: l4 / l7分别筛选四七层数据;</li>
// <li>tagKey: 标签Key;</li>
// <li>tagValue: 标签Value。</li>
// </ul>
Filters []*BillingDataFilter `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeBillingDataRequest ¶
func NewDescribeBillingDataRequest() (request *DescribeBillingDataRequest)
func (*DescribeBillingDataRequest) FromJsonString ¶
func (r *DescribeBillingDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingDataRequest) ToJsonString ¶
func (r *DescribeBillingDataRequest) ToJsonString() string
type DescribeBillingDataRequestParams ¶
type DescribeBillingDataRequestParams struct {
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时间粒度, 支持指定以下几种粒度:
// <ul>
// <li>min:1分钟粒度;</li>
// <li>5min:5分钟粒度;</li>
// <li>hour:1小时粒度;</li>
// <li>day:天粒度;</li>
// </ul>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 指标名,支持:
// <ul>
// <li>acc_flux: 内容加速流量用量;</li>
// <li>quic_request: QUIC 请求数用量;</li>
// <li>sec_flux: 安全流量用量;</li>
// <li>sec_request_clean: 安全干净流量请求数;</li>
// </ul>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 筛选条件. 支持:
// <ul>
// <li>zone: 站点级数据;</li>
// <li>plan: 套餐级数据;</li>
// <li>service: l4 / l7分别筛选四七层数据;</li>
// <li>tagKey: 标签Key;</li>
// <li>tagValue: 标签Value。</li>
// </ul>
Filters []*BillingDataFilter `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeBillingDataResponse ¶
type DescribeBillingDataResponse struct {
*tchttp.BaseResponse
Response *DescribeBillingDataResponseParams `json:"Response"`
}
func NewDescribeBillingDataResponse ¶
func NewDescribeBillingDataResponse() (response *DescribeBillingDataResponse)
func (*DescribeBillingDataResponse) FromJsonString ¶
func (r *DescribeBillingDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingDataResponse) ToJsonString ¶
func (r *DescribeBillingDataResponse) ToJsonString() string
type DescribeBillingDataResponseParams ¶
type DescribeBillingDataResponseParams struct {
// 统计曲线数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DnsData `json:"Data,omitempty" name:"Data"`
// 时间粒度
// 注意:此字段可能返回 null,表示取不到有效值。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeBotClientIpListRequest ¶
type DescribeBotClientIpListRequest 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 NewDescribeBotClientIpListRequest ¶
func NewDescribeBotClientIpListRequest() (request *DescribeBotClientIpListRequest)
func (*DescribeBotClientIpListRequest) FromJsonString ¶
func (r *DescribeBotClientIpListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotClientIpListRequest) ToJsonString ¶
func (r *DescribeBotClientIpListRequest) ToJsonString() string
type DescribeBotClientIpListRequestParams ¶
type DescribeBotClientIpListRequestParams 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 DescribeBotClientIpListResponse ¶
type DescribeBotClientIpListResponse struct {
*tchttp.BaseResponse
Response *DescribeBotClientIpListResponseParams `json:"Response"`
}
func NewDescribeBotClientIpListResponse ¶
func NewDescribeBotClientIpListResponse() (response *DescribeBotClientIpListResponse)
func (*DescribeBotClientIpListResponse) FromJsonString ¶
func (r *DescribeBotClientIpListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotClientIpListResponse) ToJsonString ¶
func (r *DescribeBotClientIpListResponse) ToJsonString() string
type DescribeBotClientIpListResponseParams ¶
type DescribeBotClientIpListResponseParams struct {
// 客户端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 DescribeBotDataRequest ¶
type DescribeBotDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>bot_interceptNum :bot拦截次数 ;</li>
// <li>bot_noneRequestNum :未分类bot请求次数 ;</li>
// <li> bot_maliciousRequestNum:恶意bot请求次数 ;</li>
// <li>bot_suspectedRequestNum :疑似bot请求次数 ;</li>
// <li>bot_friendlyRequestNum :友好bot请求次数 ;</li>
// <li>bot_normalRequestNum :正常bot请求次数 。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 查询的子域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 站点列表,不填默认选择全部站点。
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"`
// 筛选条件,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 NewDescribeBotDataRequest ¶
func NewDescribeBotDataRequest() (request *DescribeBotDataRequest)
func (*DescribeBotDataRequest) FromJsonString ¶
func (r *DescribeBotDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotDataRequest) ToJsonString ¶
func (r *DescribeBotDataRequest) ToJsonString() string
type DescribeBotDataRequestParams ¶
type DescribeBotDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>bot_interceptNum :bot拦截次数 ;</li>
// <li>bot_noneRequestNum :未分类bot请求次数 ;</li>
// <li> bot_maliciousRequestNum:恶意bot请求次数 ;</li>
// <li>bot_suspectedRequestNum :疑似bot请求次数 ;</li>
// <li>bot_friendlyRequestNum :友好bot请求次数 ;</li>
// <li>bot_normalRequestNum :正常bot请求次数 。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 查询的子域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 站点列表,不填默认选择全部站点。
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"`
// 筛选条件,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 DescribeBotDataResponse ¶
type DescribeBotDataResponse struct {
*tchttp.BaseResponse
Response *DescribeBotDataResponseParams `json:"Response"`
}
func NewDescribeBotDataResponse ¶
func NewDescribeBotDataResponse() (response *DescribeBotDataResponse)
func (*DescribeBotDataResponse) FromJsonString ¶
func (r *DescribeBotDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotDataResponse) ToJsonString ¶
func (r *DescribeBotDataResponse) ToJsonString() string
type DescribeBotDataResponseParams ¶
type DescribeBotDataResponseParams struct {
// Bot攻击的数据列表。
// 注意:此字段可能返回 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 DescribeBotHitRuleDetailRequest ¶
type DescribeBotHitRuleDetailRequest 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 NewDescribeBotHitRuleDetailRequest ¶
func NewDescribeBotHitRuleDetailRequest() (request *DescribeBotHitRuleDetailRequest)
func (*DescribeBotHitRuleDetailRequest) FromJsonString ¶
func (r *DescribeBotHitRuleDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotHitRuleDetailRequest) ToJsonString ¶
func (r *DescribeBotHitRuleDetailRequest) ToJsonString() string
type DescribeBotHitRuleDetailRequestParams ¶
type DescribeBotHitRuleDetailRequestParams 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 DescribeBotHitRuleDetailResponse ¶
type DescribeBotHitRuleDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeBotHitRuleDetailResponseParams `json:"Response"`
}
func NewDescribeBotHitRuleDetailResponse ¶
func NewDescribeBotHitRuleDetailResponse() (response *DescribeBotHitRuleDetailResponse)
func (*DescribeBotHitRuleDetailResponse) FromJsonString ¶
func (r *DescribeBotHitRuleDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotHitRuleDetailResponse) ToJsonString ¶
func (r *DescribeBotHitRuleDetailResponse) ToJsonString() string
type DescribeBotHitRuleDetailResponseParams ¶
type DescribeBotHitRuleDetailResponseParams struct {
// 命中规则列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecHitRuleInfo `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 DescribeBotLogRequest ¶
type DescribeBotLogRequest 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"`
// 筛选条件,当前key的可选条件有:
// <li>action:执行动作(处置方式);</li>
// <li>sipCountryCode:ip所在国家;</li>
// <li>attackIp:攻击ip;</li>
// <li>ruleId:规则id;</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 NewDescribeBotLogRequest ¶
func NewDescribeBotLogRequest() (request *DescribeBotLogRequest)
func (*DescribeBotLogRequest) FromJsonString ¶
func (r *DescribeBotLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotLogRequest) ToJsonString ¶
func (r *DescribeBotLogRequest) ToJsonString() string
type DescribeBotLogRequestParams ¶
type DescribeBotLogRequestParams 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"`
// 筛选条件,当前key的可选条件有:
// <li>action:执行动作(处置方式);</li>
// <li>sipCountryCode:ip所在国家;</li>
// <li>attackIp:攻击ip;</li>
// <li>ruleId:规则id;</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 DescribeBotLogResponse ¶
type DescribeBotLogResponse struct {
*tchttp.BaseResponse
Response *DescribeBotLogResponseParams `json:"Response"`
}
func NewDescribeBotLogResponse ¶
func NewDescribeBotLogResponse() (response *DescribeBotLogResponse)
func (*DescribeBotLogResponse) FromJsonString ¶
func (r *DescribeBotLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotLogResponse) ToJsonString ¶
func (r *DescribeBotLogResponse) ToJsonString() string
type DescribeBotLogResponseParams ¶
type DescribeBotLogResponseParams struct {
// Bot攻击数据信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*BotLog `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 DescribeBotManagedRulesRequest ¶
type DescribeBotManagedRulesRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 规则类型,取值有:
// <li> idcid;</li>
// <li>sipbot;</li>
// <li>uabot。</li>传空或不传,即全部类型。
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
}
func NewDescribeBotManagedRulesRequest ¶
func NewDescribeBotManagedRulesRequest() (request *DescribeBotManagedRulesRequest)
func (*DescribeBotManagedRulesRequest) FromJsonString ¶
func (r *DescribeBotManagedRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotManagedRulesRequest) ToJsonString ¶
func (r *DescribeBotManagedRulesRequest) ToJsonString() string
type DescribeBotManagedRulesRequestParams ¶
type DescribeBotManagedRulesRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 规则类型,取值有:
// <li> idcid;</li>
// <li>sipbot;</li>
// <li>uabot。</li>传空或不传,即全部类型。
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
}
Predefined struct for user
type DescribeBotManagedRulesResponse ¶
type DescribeBotManagedRulesResponse struct {
*tchttp.BaseResponse
Response *DescribeBotManagedRulesResponseParams `json:"Response"`
}
func NewDescribeBotManagedRulesResponse ¶
func NewDescribeBotManagedRulesResponse() (response *DescribeBotManagedRulesResponse)
func (*DescribeBotManagedRulesResponse) FromJsonString ¶
func (r *DescribeBotManagedRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotManagedRulesResponse) ToJsonString ¶
func (r *DescribeBotManagedRulesResponse) ToJsonString() string
type DescribeBotManagedRulesResponseParams ¶
type DescribeBotManagedRulesResponseParams struct {
// 本次返回的规则数。
Count *int64 `json:"Count,omitempty" name:"Count"`
// Bot规则。
BotManagedRuleDetails []*BotManagedRuleDetail `json:"BotManagedRuleDetails,omitempty" name:"BotManagedRuleDetails"`
// 总规则数。
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeBotTopDataRequest ¶
type DescribeBotTopDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>bot_requestNum_labelType:请求次数标签类型分布排行;</li>
// <li>bot_requestNum_url:请求次数url分布排行;</li>
// <li>bot_cipRequestNum_region:请求次数区域客户端ip分布排行。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询前多少个数据,最多值为1000,不填默认默认为:10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询时间粒度,取值有:
// <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 NewDescribeBotTopDataRequest ¶
func NewDescribeBotTopDataRequest() (request *DescribeBotTopDataRequest)
func (*DescribeBotTopDataRequest) FromJsonString ¶
func (r *DescribeBotTopDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotTopDataRequest) ToJsonString ¶
func (r *DescribeBotTopDataRequest) ToJsonString() string
type DescribeBotTopDataRequestParams ¶
type DescribeBotTopDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>bot_requestNum_labelType:请求次数标签类型分布排行;</li>
// <li>bot_requestNum_url:请求次数url分布排行;</li>
// <li>bot_cipRequestNum_region:请求次数区域客户端ip分布排行。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询前多少个数据,最多值为1000,不填默认默认为:10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询时间粒度,取值有:
// <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 DescribeBotTopDataResponse ¶
type DescribeBotTopDataResponse struct {
*tchttp.BaseResponse
Response *DescribeBotTopDataResponseParams `json:"Response"`
}
func NewDescribeBotTopDataResponse ¶
func NewDescribeBotTopDataResponse() (response *DescribeBotTopDataResponse)
func (*DescribeBotTopDataResponse) FromJsonString ¶
func (r *DescribeBotTopDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotTopDataResponse) ToJsonString ¶
func (r *DescribeBotTopDataResponse) ToJsonString() string
type DescribeBotTopDataResponseParams ¶
type DescribeBotTopDataResponseParams struct {
// Bot攻击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 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"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 攻击类型,取值有:
// <li>flood:泛洪攻击;</li>
// <li>icmpFlood:icmp泛洪攻击;</li>
// <li>all:全部攻击类型。</li>不填默认为all,表示查询全部攻击类型。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// DDOS策略组id列表,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>不填默认为all,表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 查询时间粒度,取值有:
// <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 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"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 攻击类型,取值有:
// <li>flood:泛洪攻击;</li>
// <li>icmpFlood:icmp泛洪攻击;</li>
// <li>all:全部攻击类型。</li>不填默认为all,表示查询全部攻击类型。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// DDOS策略组id列表,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>不填默认为all,表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 查询时间粒度,取值有:
// <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 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 {
// DDoS攻击数据内容列表。
// 注意:此字段可能返回 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 DescribeDDoSAttackEventDetailRequest ¶
type DescribeDDoSAttackEventDetailRequest struct {
*tchttp.BaseRequest
// 查询的事件ID。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDoSAttackEventDetailRequest ¶
func NewDescribeDDoSAttackEventDetailRequest() (request *DescribeDDoSAttackEventDetailRequest)
func (*DescribeDDoSAttackEventDetailRequest) FromJsonString ¶
func (r *DescribeDDoSAttackEventDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackEventDetailRequest) ToJsonString ¶
func (r *DescribeDDoSAttackEventDetailRequest) ToJsonString() string
type DescribeDDoSAttackEventDetailRequestParams ¶
type DescribeDDoSAttackEventDetailRequestParams struct {
// 查询的事件ID。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDoSAttackEventDetailResponse ¶
type DescribeDDoSAttackEventDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeDDoSAttackEventDetailResponseParams `json:"Response"`
}
func NewDescribeDDoSAttackEventDetailResponse ¶
func NewDescribeDDoSAttackEventDetailResponse() (response *DescribeDDoSAttackEventDetailResponse)
func (*DescribeDDoSAttackEventDetailResponse) FromJsonString ¶
func (r *DescribeDDoSAttackEventDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackEventDetailResponse) ToJsonString ¶
func (r *DescribeDDoSAttackEventDetailResponse) ToJsonString() string
type DescribeDDoSAttackEventDetailResponseParams ¶
type DescribeDDoSAttackEventDetailResponseParams struct {
// DDoS攻击事件详情。
Data *DDoSAttackEventDetailData `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"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>默认为: all,表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 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>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
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"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>默认为: all,表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 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>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
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 DescribeDDoSAttackSourceEventRequest ¶
type DescribeDDoSAttackSourceEventRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>不填默认为: all,表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 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"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDoSAttackSourceEventRequest ¶
func NewDescribeDDoSAttackSourceEventRequest() (request *DescribeDDoSAttackSourceEventRequest)
func (*DescribeDDoSAttackSourceEventRequest) FromJsonString ¶
func (r *DescribeDDoSAttackSourceEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackSourceEventRequest) ToJsonString ¶
func (r *DescribeDDoSAttackSourceEventRequest) ToJsonString() string
type DescribeDDoSAttackSourceEventRequestParams ¶
type DescribeDDoSAttackSourceEventRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 协议类型,取值有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>不填默认为: all,表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 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"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDoSAttackSourceEventResponse ¶
type DescribeDDoSAttackSourceEventResponse struct {
*tchttp.BaseResponse
Response *DescribeDDoSAttackSourceEventResponseParams `json:"Response"`
}
func NewDescribeDDoSAttackSourceEventResponse ¶
func NewDescribeDDoSAttackSourceEventResponse() (response *DescribeDDoSAttackSourceEventResponse)
func (*DescribeDDoSAttackSourceEventResponse) FromJsonString ¶
func (r *DescribeDDoSAttackSourceEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackSourceEventResponse) ToJsonString ¶
func (r *DescribeDDoSAttackSourceEventResponse) ToJsonString() string
type DescribeDDoSAttackSourceEventResponseParams ¶
type DescribeDDoSAttackSourceEventResponseParams struct {
// DDoS攻击源数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DDoSAttackSourceEvent `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 DescribeDDoSBlockListRequest ¶
type DescribeDDoSBlockListRequest struct {
*tchttp.BaseRequest
// 攻击事件起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 攻击事件列表。
EventIds []*string `json:"EventIds,omitempty" name:"EventIds"`
// 站点列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 策略列表,不填默认选择全部策略。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 分页查询的限制数目,默认值为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 NewDescribeDDoSBlockListRequest ¶
func NewDescribeDDoSBlockListRequest() (request *DescribeDDoSBlockListRequest)
func (*DescribeDDoSBlockListRequest) FromJsonString ¶
func (r *DescribeDDoSBlockListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSBlockListRequest) ToJsonString ¶
func (r *DescribeDDoSBlockListRequest) ToJsonString() string
type DescribeDDoSBlockListRequestParams ¶
type DescribeDDoSBlockListRequestParams struct {
// 攻击事件起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 攻击事件列表。
EventIds []*string `json:"EventIds,omitempty" name:"EventIds"`
// 站点列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 策略列表,不填默认选择全部策略。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 分页查询的限制数目,默认值为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 DescribeDDoSBlockListResponse ¶
type DescribeDDoSBlockListResponse struct {
*tchttp.BaseResponse
Response *DescribeDDoSBlockListResponseParams `json:"Response"`
}
func NewDescribeDDoSBlockListResponse ¶
func NewDescribeDDoSBlockListResponse() (response *DescribeDDoSBlockListResponse)
func (*DescribeDDoSBlockListResponse) FromJsonString ¶
func (r *DescribeDDoSBlockListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSBlockListResponse) ToJsonString ¶
func (r *DescribeDDoSBlockListResponse) ToJsonString() string
type DescribeDDoSBlockListResponseParams ¶
type DescribeDDoSBlockListResponseParams struct {
// 封禁解封信息。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DDoSBlockData `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 DescribeDDoSMajorAttackEventRequest ¶
type DescribeDDoSMajorAttackEventRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// ddos策略组id集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 协议类型,可选的协议类型有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>不填默认为all, 表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 分页查询的限制数目,默认值为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 NewDescribeDDoSMajorAttackEventRequest ¶
func NewDescribeDDoSMajorAttackEventRequest() (request *DescribeDDoSMajorAttackEventRequest)
func (*DescribeDDoSMajorAttackEventRequest) FromJsonString ¶
func (r *DescribeDDoSMajorAttackEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSMajorAttackEventRequest) ToJsonString ¶
func (r *DescribeDDoSMajorAttackEventRequest) ToJsonString() string
type DescribeDDoSMajorAttackEventRequestParams ¶
type DescribeDDoSMajorAttackEventRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// ddos策略组id集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 协议类型,可选的协议类型有:
// <li>tcp:tcp协议;</li>
// <li>udp:udp协议;</li>
// <li>all:全部协议。</li>不填默认为all, 表示获取全部协议类型。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 分页查询的限制数目,默认值为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 DescribeDDoSMajorAttackEventResponse ¶
type DescribeDDoSMajorAttackEventResponse struct {
*tchttp.BaseResponse
Response *DescribeDDoSMajorAttackEventResponseParams `json:"Response"`
}
func NewDescribeDDoSMajorAttackEventResponse ¶
func NewDescribeDDoSMajorAttackEventResponse() (response *DescribeDDoSMajorAttackEventResponse)
func (*DescribeDDoSMajorAttackEventResponse) FromJsonString ¶
func (r *DescribeDDoSMajorAttackEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSMajorAttackEventResponse) ToJsonString ¶
func (r *DescribeDDoSMajorAttackEventResponse) ToJsonString() string
type DescribeDDoSMajorAttackEventResponseParams ¶
type DescribeDDoSMajorAttackEventResponseParams struct {
// DDos主攻击事件数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DDoSMajorAttackEvent `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 DescribeDDoSPolicyRequest ¶
type DescribeDDoSPolicyRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 策略Id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
func NewDescribeDDoSPolicyRequest ¶
func NewDescribeDDoSPolicyRequest() (request *DescribeDDoSPolicyRequest)
func (*DescribeDDoSPolicyRequest) FromJsonString ¶
func (r *DescribeDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSPolicyRequest) ToJsonString ¶
func (r *DescribeDDoSPolicyRequest) ToJsonString() string
type DescribeDDoSPolicyRequestParams ¶
type DescribeDDoSPolicyRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 策略Id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
}
Predefined struct for user
type DescribeDDoSPolicyResponse ¶
type DescribeDDoSPolicyResponse struct {
*tchttp.BaseResponse
Response *DescribeDDoSPolicyResponseParams `json:"Response"`
}
func NewDescribeDDoSPolicyResponse ¶
func NewDescribeDDoSPolicyResponse() (response *DescribeDDoSPolicyResponse)
func (*DescribeDDoSPolicyResponse) FromJsonString ¶
func (r *DescribeDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSPolicyResponse) ToJsonString ¶
func (r *DescribeDDoSPolicyResponse) ToJsonString() string
type DescribeDDoSPolicyResponseParams ¶
type DescribeDDoSPolicyResponseParams struct {
// DDoS防护配置。
DDoSRule *DDoSRule `json:"DDoSRule,omitempty" name:"DDoSRule"`
// 唯一请求 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 DescribeDnsRecordsRequest ¶
type DescribeDnsRecordsRequest struct {
*tchttp.BaseRequest
// DNS记录所属站点ID。不填写该参数默认返回所有站点下的记录。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>record-id<br> 按照【<strong>DNS记录id</strong>】进行过滤。DNS记录ID形如:record-1a8df68z。<br> 类型:String<br> 必选:否
// <li>record-name<br> 按照【<strong>DNS记录名称</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>record-type<br> 按照【<strong>DNS记录类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> A:将域名指向一个外网 IPv4 地址,如 8.8.8.8<br> AAAA:将域名指向一个外网 IPv6 地址<br> CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址<br> TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件)<br> NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录<br> CAA:指定可为本站点颁发证书的 CA<br> SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理<br> MX:指定收件人邮件服务器。
// <li>mode<br> 按照【<strong>代理模式</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> dns_only:仅DNS解析<br> proxied:代理加速
// <li>ttl<br> 按照【<strong>解析生效时间</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,上限:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 排序依据,取值有:
// <li>content:DNS记录内容;</li>
// <li>created_on:DNS记录创建时间;</li>
// <li>mode:代理模式;</li>
// <li>record-name:DNS记录名称;</li>
// <li>ttl:解析记录生效时间;</li>
// <li>record-type:DNS记录类型。</li>默认根据record-type, recrod-name属性组合排序。
Order *string `json:"Order,omitempty" name:"Order"`
}
func NewDescribeDnsRecordsRequest ¶
func NewDescribeDnsRecordsRequest() (request *DescribeDnsRecordsRequest)
func (*DescribeDnsRecordsRequest) FromJsonString ¶
func (r *DescribeDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsRecordsRequest) ToJsonString ¶
func (r *DescribeDnsRecordsRequest) ToJsonString() string
type DescribeDnsRecordsRequestParams ¶
type DescribeDnsRecordsRequestParams struct {
// DNS记录所属站点ID。不填写该参数默认返回所有站点下的记录。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>record-id<br> 按照【<strong>DNS记录id</strong>】进行过滤。DNS记录ID形如:record-1a8df68z。<br> 类型:String<br> 必选:否
// <li>record-name<br> 按照【<strong>DNS记录名称</strong>】进行过滤。<br> 类型:String<br> 必选:否
// <li>record-type<br> 按照【<strong>DNS记录类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> A:将域名指向一个外网 IPv4 地址,如 8.8.8.8<br> AAAA:将域名指向一个外网 IPv6 地址<br> CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址<br> TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件)<br> NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录<br> CAA:指定可为本站点颁发证书的 CA<br> SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理<br> MX:指定收件人邮件服务器。
// <li>mode<br> 按照【<strong>代理模式</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> dns_only:仅DNS解析<br> proxied:代理加速
// <li>ttl<br> 按照【<strong>解析生效时间</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,上限:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页查询偏移量,默认为 0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 排序依据,取值有:
// <li>content:DNS记录内容;</li>
// <li>created_on:DNS记录创建时间;</li>
// <li>mode:代理模式;</li>
// <li>record-name:DNS记录名称;</li>
// <li>ttl:解析记录生效时间;</li>
// <li>record-type:DNS记录类型。</li>默认根据record-type, recrod-name属性组合排序。
Order *string `json:"Order,omitempty" name:"Order"`
}
Predefined struct for user
type DescribeDnsRecordsResponse ¶
type DescribeDnsRecordsResponse struct {
*tchttp.BaseResponse
Response *DescribeDnsRecordsResponseParams `json:"Response"`
}
func NewDescribeDnsRecordsResponse ¶
func NewDescribeDnsRecordsResponse() (response *DescribeDnsRecordsResponse)
func (*DescribeDnsRecordsResponse) FromJsonString ¶
func (r *DescribeDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsRecordsResponse) ToJsonString ¶
func (r *DescribeDnsRecordsResponse) ToJsonString() string
type DescribeDnsRecordsResponseParams ¶
type DescribeDnsRecordsResponseParams struct {
// DNS记录总数。
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// DNS 记录列表。
DnsRecords []*DnsRecord `json:"DnsRecords,omitempty" name:"DnsRecords"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDnssecRequest ¶
type DescribeDnssecRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeDnssecRequest ¶
func NewDescribeDnssecRequest() (request *DescribeDnssecRequest)
func (*DescribeDnssecRequest) FromJsonString ¶
func (r *DescribeDnssecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnssecRequest) ToJsonString ¶
func (r *DescribeDnssecRequest) ToJsonString() string
type DescribeDnssecRequestParams ¶
type DescribeDnssecRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeDnssecResponse ¶
type DescribeDnssecResponse struct {
*tchttp.BaseResponse
Response *DescribeDnssecResponseParams `json:"Response"`
}
func NewDescribeDnssecResponse ¶
func NewDescribeDnssecResponse() (response *DescribeDnssecResponse)
func (*DescribeDnssecResponse) FromJsonString ¶
func (r *DescribeDnssecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnssecResponse) ToJsonString ¶
func (r *DescribeDnssecResponse) ToJsonString() string
type DescribeDnssecResponseParams ¶
type DescribeDnssecResponseParams struct {
// DNSSEC状态信息,取值有:
// <li>enabled:开启;</li>
// <li>disabled:关闭。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// DNSSEC相关信息。
// 注意:此字段可能返回 null,表示取不到有效值。
DnssecInfo *DnssecInfo `json:"DnssecInfo,omitempty" name:"DnssecInfo"`
// 站点信息更新时间。
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 唯一请求 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 DescribeLoadBalancingRequest ¶
type DescribeLoadBalancingRequest 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-1a8df68z<br> 类型:String<br> 必选:否<br> 模糊查询:不支持
// </li><li>load-balancing-id<br> 按照【<strong>负载均衡ID</strong>】进行过滤。负载均衡ID形如:lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br> 类型:String<br> 必选:否<br> 模糊查询:不支持
// </li><li>host<br> 按照【<strong>负载均衡host</strong>】进行过滤。host形如:lb.tencent.com<br> 类型:String<br> 必选:否<br> 模糊查询:支持,模糊查询时仅支持一个host</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeLoadBalancingRequest ¶
func NewDescribeLoadBalancingRequest() (request *DescribeLoadBalancingRequest)
func (*DescribeLoadBalancingRequest) FromJsonString ¶
func (r *DescribeLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingRequest) ToJsonString ¶
func (r *DescribeLoadBalancingRequest) ToJsonString() string
type DescribeLoadBalancingRequestParams ¶
type DescribeLoadBalancingRequestParams struct {
// 分页查询偏移量,默认为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-1a8df68z<br> 类型:String<br> 必选:否<br> 模糊查询:不支持
// </li><li>load-balancing-id<br> 按照【<strong>负载均衡ID</strong>】进行过滤。负载均衡ID形如:lb-d21bfaf7-8d72-11ec-841d-00ff977fb3c8<br> 类型:String<br> 必选:否<br> 模糊查询:不支持
// </li><li>host<br> 按照【<strong>负载均衡host</strong>】进行过滤。host形如:lb.tencent.com<br> 类型:String<br> 必选:否<br> 模糊查询:支持,模糊查询时仅支持一个host</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeLoadBalancingResponse ¶
type DescribeLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *DescribeLoadBalancingResponseParams `json:"Response"`
}
func NewDescribeLoadBalancingResponse ¶
func NewDescribeLoadBalancingResponse() (response *DescribeLoadBalancingResponse)
func (*DescribeLoadBalancingResponse) FromJsonString ¶
func (r *DescribeLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingResponse) ToJsonString ¶
func (r *DescribeLoadBalancingResponse) ToJsonString() string
type DescribeLoadBalancingResponseParams ¶
type DescribeLoadBalancingResponseParams struct {
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 负载均衡信息。
Data []*LoadBalancing `json:"Data,omitempty" name:"Data"`
// 唯一请求 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 DescribeLogTopicTaskDetailRequest ¶
type DescribeLogTopicTaskDetailRequest struct {
*tchttp.BaseRequest
// 推送任务ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeLogTopicTaskDetailRequest ¶
func NewDescribeLogTopicTaskDetailRequest() (request *DescribeLogTopicTaskDetailRequest)
func (*DescribeLogTopicTaskDetailRequest) FromJsonString ¶
func (r *DescribeLogTopicTaskDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogTopicTaskDetailRequest) ToJsonString ¶
func (r *DescribeLogTopicTaskDetailRequest) ToJsonString() string
type DescribeLogTopicTaskDetailRequestParams ¶
type DescribeLogTopicTaskDetailRequestParams struct {
// 推送任务ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeLogTopicTaskDetailResponse ¶
type DescribeLogTopicTaskDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeLogTopicTaskDetailResponseParams `json:"Response"`
}
func NewDescribeLogTopicTaskDetailResponse ¶
func NewDescribeLogTopicTaskDetailResponse() (response *DescribeLogTopicTaskDetailResponse)
func (*DescribeLogTopicTaskDetailResponse) FromJsonString ¶
func (r *DescribeLogTopicTaskDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLogTopicTaskDetailResponse) ToJsonString ¶
func (r *DescribeLogTopicTaskDetailResponse) ToJsonString() string
type DescribeLogTopicTaskDetailResponseParams ¶
type DescribeLogTopicTaskDetailResponseParams struct {
// 推送任务详情。
// 注意:此字段可能返回 null,表示取不到有效值。
LogTopicDetailInfo *LogTopicDetailInfo `json:"LogTopicDetailInfo,omitempty" name:"LogTopicDetailInfo"`
// 唯一请求 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>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 类型:String<br> 必选:否<br> 模糊查询:不支持<li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称
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>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 类型:String<br> 必选:否<br> 模糊查询:不支持<li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称
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 DescribeOverviewL7DataRequest ¶
type DescribeOverviewL7DataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询的指标,取值有:
// <li>l7Flow_outFlux: 访问流量;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_outBandwidth: 访问带宽;</li>
// <li>l7Flow_hit_outFlux: 缓存命中流量。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 查询的站点集合,不填默认查询所有站点。
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>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户的地域智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <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"`
}
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: 访问流量;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_outBandwidth: 访问带宽;</li>
// <li>l7Flow_hit_outFlux: 缓存命中流量。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 查询的站点集合,不填默认查询所有站点。
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>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户的地域智能选择地区。
Area *string `json:"Area,omitempty" name:"Area"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <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"`
}
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
// 站点 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>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><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname</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 {
// 站点 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>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><li>type<br> 按照【<strong>清除缓存类型</strong>】进行过滤,暂不支持多值。<br> 类型:String<br> 必选:否<br> 模糊查询:不支持。<br> 可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname</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 DescribeRateLimitIntelligenceRuleRequest ¶
type DescribeRateLimitIntelligenceRuleRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewDescribeRateLimitIntelligenceRuleRequest ¶
func NewDescribeRateLimitIntelligenceRuleRequest() (request *DescribeRateLimitIntelligenceRuleRequest)
func (*DescribeRateLimitIntelligenceRuleRequest) FromJsonString ¶
func (r *DescribeRateLimitIntelligenceRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRateLimitIntelligenceRuleRequest) ToJsonString ¶
func (r *DescribeRateLimitIntelligenceRuleRequest) ToJsonString() string
type DescribeRateLimitIntelligenceRuleRequestParams ¶
type DescribeRateLimitIntelligenceRuleRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type DescribeRateLimitIntelligenceRuleResponse ¶
type DescribeRateLimitIntelligenceRuleResponse struct {
*tchttp.BaseResponse
Response *DescribeRateLimitIntelligenceRuleResponseParams `json:"Response"`
}
func NewDescribeRateLimitIntelligenceRuleResponse ¶
func NewDescribeRateLimitIntelligenceRuleResponse() (response *DescribeRateLimitIntelligenceRuleResponse)
func (*DescribeRateLimitIntelligenceRuleResponse) FromJsonString ¶
func (r *DescribeRateLimitIntelligenceRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRateLimitIntelligenceRuleResponse) ToJsonString ¶
func (r *DescribeRateLimitIntelligenceRuleResponse) ToJsonString() string
type DescribeRateLimitIntelligenceRuleResponseParams ¶
type DescribeRateLimitIntelligenceRuleResponseParams struct {
// 速率限制智能规则。
RateLimitIntelligenceRuleDetails []*RateLimitIntelligenceRuleDetail `json:"RateLimitIntelligenceRuleDetails,omitempty" name:"RateLimitIntelligenceRuleDetails"`
// 唯一请求 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> 必选:否
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> 必选:否
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 DescribeSecurityGroupManagedRulesRequest ¶
type DescribeSecurityGroupManagedRulesRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeSecurityGroupManagedRulesRequest ¶
func NewDescribeSecurityGroupManagedRulesRequest() (request *DescribeSecurityGroupManagedRulesRequest)
func (*DescribeSecurityGroupManagedRulesRequest) FromJsonString ¶
func (r *DescribeSecurityGroupManagedRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupManagedRulesRequest) ToJsonString ¶
func (r *DescribeSecurityGroupManagedRulesRequest) ToJsonString() string
type DescribeSecurityGroupManagedRulesRequestParams ¶
type DescribeSecurityGroupManagedRulesRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeSecurityGroupManagedRulesResponse ¶
type DescribeSecurityGroupManagedRulesResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityGroupManagedRulesResponseParams `json:"Response"`
}
func NewDescribeSecurityGroupManagedRulesResponse ¶
func NewDescribeSecurityGroupManagedRulesResponse() (response *DescribeSecurityGroupManagedRulesResponse)
func (*DescribeSecurityGroupManagedRulesResponse) FromJsonString ¶
func (r *DescribeSecurityGroupManagedRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityGroupManagedRulesResponse) ToJsonString ¶
func (r *DescribeSecurityGroupManagedRulesResponse) ToJsonString() string
type DescribeSecurityGroupManagedRulesResponseParams ¶
type DescribeSecurityGroupManagedRulesResponseParams struct {
// 本次返回的规则数。
Count *int64 `json:"Count,omitempty" name:"Count"`
// 总规则数。
Total *int64 `json:"Total,omitempty" name:"Total"`
// 托管规则信息。
WafGroupInfo *WafGroupInfo `json:"WafGroupInfo,omitempty" name:"WafGroupInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyListRequest ¶
type DescribeSecurityPolicyListRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeSecurityPolicyListRequest ¶
func NewDescribeSecurityPolicyListRequest() (request *DescribeSecurityPolicyListRequest)
func (*DescribeSecurityPolicyListRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyListRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyListRequest) ToJsonString() string
type DescribeSecurityPolicyListRequestParams ¶
type DescribeSecurityPolicyListRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeSecurityPolicyListResponse ¶
type DescribeSecurityPolicyListResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyListResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyListResponse ¶
func NewDescribeSecurityPolicyListResponse() (response *DescribeSecurityPolicyListResponse)
func (*DescribeSecurityPolicyListResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyListResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyListResponse) ToJsonString() string
type DescribeSecurityPolicyListResponseParams ¶
type DescribeSecurityPolicyListResponseParams struct {
// 防护资源列表。
SecurityEntities []*SecurityEntity `json:"SecurityEntities,omitempty" name:"SecurityEntities"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyRegionsRequest ¶
type DescribeSecurityPolicyRegionsRequest struct {
*tchttp.BaseRequest
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
func NewDescribeSecurityPolicyRegionsRequest ¶
func NewDescribeSecurityPolicyRegionsRequest() (request *DescribeSecurityPolicyRegionsRequest)
func (*DescribeSecurityPolicyRegionsRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyRegionsRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyRegionsRequest) ToJsonString() string
type DescribeSecurityPolicyRegionsRequestParams ¶
type DescribeSecurityPolicyRegionsRequestParams struct {
// 分页查询偏移量。默认值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:20,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
}
Predefined struct for user
type DescribeSecurityPolicyRegionsResponse ¶
type DescribeSecurityPolicyRegionsResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyRegionsResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyRegionsResponse ¶
func NewDescribeSecurityPolicyRegionsResponse() (response *DescribeSecurityPolicyRegionsResponse)
func (*DescribeSecurityPolicyRegionsResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyRegionsResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyRegionsResponse) ToJsonString() string
type DescribeSecurityPolicyRegionsResponseParams ¶
type DescribeSecurityPolicyRegionsResponseParams struct {
// 总地域信息数。
Count *int64 `json:"Count,omitempty" name:"Count"`
// 地域信息。
GeoIps []*GeoIp `json:"GeoIps,omitempty" name:"GeoIps"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyRequest ¶
type DescribeSecurityPolicyRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewDescribeSecurityPolicyRequest ¶
func NewDescribeSecurityPolicyRequest() (request *DescribeSecurityPolicyRequest)
func (*DescribeSecurityPolicyRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyRequest) ToJsonString() string
type DescribeSecurityPolicyRequestParams ¶
type DescribeSecurityPolicyRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type DescribeSecurityPolicyResponse ¶
type DescribeSecurityPolicyResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyResponse ¶
func NewDescribeSecurityPolicyResponse() (response *DescribeSecurityPolicyResponse)
func (*DescribeSecurityPolicyResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyResponse) ToJsonString() string
type DescribeSecurityPolicyResponseParams ¶
type DescribeSecurityPolicyResponseParams struct {
// 安全配置。
// 注意:此字段可能返回 null,表示取不到有效值。
SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPortraitRulesRequest ¶
type DescribeSecurityPortraitRulesRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewDescribeSecurityPortraitRulesRequest ¶
func NewDescribeSecurityPortraitRulesRequest() (request *DescribeSecurityPortraitRulesRequest)
func (*DescribeSecurityPortraitRulesRequest) FromJsonString ¶
func (r *DescribeSecurityPortraitRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPortraitRulesRequest) ToJsonString ¶
func (r *DescribeSecurityPortraitRulesRequest) ToJsonString() string
type DescribeSecurityPortraitRulesRequestParams ¶
type DescribeSecurityPortraitRulesRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type DescribeSecurityPortraitRulesResponse ¶
type DescribeSecurityPortraitRulesResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPortraitRulesResponseParams `json:"Response"`
}
func NewDescribeSecurityPortraitRulesResponse ¶
func NewDescribeSecurityPortraitRulesResponse() (response *DescribeSecurityPortraitRulesResponse)
func (*DescribeSecurityPortraitRulesResponse) FromJsonString ¶
func (r *DescribeSecurityPortraitRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPortraitRulesResponse) ToJsonString ¶
func (r *DescribeSecurityPortraitRulesResponse) ToJsonString() string
type DescribeSecurityPortraitRulesResponseParams ¶
type DescribeSecurityPortraitRulesResponseParams struct {
// 本次返回的规则数。
Count *int64 `json:"Count,omitempty" name:"Count"`
// Bot用户画像规则。
PortraitManagedRuleDetails []*PortraitManagedRuleDetail `json:"PortraitManagedRuleDetails,omitempty" name:"PortraitManagedRuleDetails"`
// 总规则数。
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityRuleIdRequest ¶
type DescribeSecurityRuleIdRequest struct {
*tchttp.BaseRequest
// 规则Id数组。
RuleIdList []*int64 `json:"RuleIdList,omitempty" name:"RuleIdList"`
// 规则类型,取值有:
// <li>waf:web托管规则;</li>
// <li>acl:自定义规则;</li>
// <li>rate:速率限制规则;</li>
// <li>bot:Bot基础规则。</li>
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewDescribeSecurityRuleIdRequest ¶
func NewDescribeSecurityRuleIdRequest() (request *DescribeSecurityRuleIdRequest)
func (*DescribeSecurityRuleIdRequest) FromJsonString ¶
func (r *DescribeSecurityRuleIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityRuleIdRequest) ToJsonString ¶
func (r *DescribeSecurityRuleIdRequest) ToJsonString() string
type DescribeSecurityRuleIdRequestParams ¶
type DescribeSecurityRuleIdRequestParams struct {
// 规则Id数组。
RuleIdList []*int64 `json:"RuleIdList,omitempty" name:"RuleIdList"`
// 规则类型,取值有:
// <li>waf:web托管规则;</li>
// <li>acl:自定义规则;</li>
// <li>rate:速率限制规则;</li>
// <li>bot:Bot基础规则。</li>
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type DescribeSecurityRuleIdResponse ¶
type DescribeSecurityRuleIdResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityRuleIdResponseParams `json:"Response"`
}
func NewDescribeSecurityRuleIdResponse ¶
func NewDescribeSecurityRuleIdResponse() (response *DescribeSecurityRuleIdResponse)
func (*DescribeSecurityRuleIdResponse) FromJsonString ¶
func (r *DescribeSecurityRuleIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityRuleIdResponse) ToJsonString ¶
func (r *DescribeSecurityRuleIdResponse) ToJsonString() string
type DescribeSecurityRuleIdResponseParams ¶
type DescribeSecurityRuleIdResponseParams struct {
// 规则列表。
WafGroupRules []*WafGroupRule `json:"WafGroupRules,omitempty" name:"WafGroupRules"`
// 唯一请求 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"`
// 查询的站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件, key可选的值有:
// <li>country:国家/地区;</li>
// <li>domain:域名;</li>
// <li>protocol:协议类型;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue;标签Value。</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>不填将根据用户所在地智能选择地区。
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"`
// 查询的站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件, key可选的值有:
// <li>country:国家/地区;</li>
// <li>domain:域名;</li>
// <li>protocol:协议类型;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue;标签Value。</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>不填将根据用户所在地智能选择地区。
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"`
// 站点集合,不填默认选择全部站点。
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>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件, key可选的值有:
// <li>ruleId: 根据规则Id进行过滤;</li>
// <li>proxyId: 根据通道Id进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
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"`
// 站点集合,不填默认选择全部站点。
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>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件, key可选的值有:
// <li>ruleId: 根据规则Id进行过滤;</li>
// <li>proxyId: 根据通道Id进行过滤。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
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: 访问流量;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_outBandwidth: 访问带宽。</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"`
// 筛选条件,key可选的值有:
// <li>country:国家/地区;</li>
// <li>domain:域名;</li>
// <li>protocol:协议类型;</li>
// <li>resourceType:资源类型;</li>
// <li>statusCode:状态码;</li>
// <li> browserType:浏览器类型;</li>
// <li>deviceType:设备类型;</li>
// <li>operatingSystemType:操作系统类型;</li>
// <li>tlsVersion:tls版本;</li>
// <li>url:url地址;</li>
// <li>referer:refer头信息;</li>
// <li>ipVersion:ip版本;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户的地域智能选择地区。
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: 访问流量;</li>
// <li>l7Flow_request: 访问请求数;</li>
// <li>l7Flow_outBandwidth: 访问带宽。</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"`
// 筛选条件,key可选的值有:
// <li>country:国家/地区;</li>
// <li>domain:域名;</li>
// <li>protocol:协议类型;</li>
// <li>resourceType:资源类型;</li>
// <li>statusCode:状态码;</li>
// <li> browserType:浏览器类型;</li>
// <li>deviceType:设备类型;</li>
// <li>operatingSystemType:操作系统类型;</li>
// <li>tlsVersion:tls版本;</li>
// <li>url:url地址;</li>
// <li>referer:refer头信息;</li>
// <li>ipVersion:ip版本;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</li>
Filters []*QueryCondition `json:"Filters,omitempty" name:"Filters"`
// 数据归属地区,取值有:
// <li>overseas:全球(除中国大陆地区)数据;</li>
// <li>mainland:中国大陆地区数据。</li>不填将根据用户的地域智能选择地区。
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 {
// 时序流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `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 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"`
// 筛选条件,key可选的值有:
// <li> cacheType:缓存类型(状态);</li>
// <li>domain:Host/域名;</li>
// <li>resourceType:资源类型;</li>
// <li>url:url地址;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</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>不填将根据用户所在地智能选择地区。
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"`
// 筛选条件,key可选的值有:
// <li> cacheType:缓存类型(状态);</li>
// <li>domain:Host/域名;</li>
// <li>resourceType:资源类型;</li>
// <li>url:url地址;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</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>不填将根据用户所在地智能选择地区。
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 {
// 七层缓存分析时序类流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `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 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>
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:国家/地区;</li>
// <li>domain:域名;</li>
// <li>protocol:协议类型;</li>
// <li>resourceType:资源类型;</li>
// <li>statusCode:状态码;</li>
// <li> browserType:浏览器类型;</li>
// <li>deviceType:设备类型;</li>
// <li>operatingSystemType:操作系统类型;</li>
// <li>tlsVersion:tls版本;</li>
// <li>url:url地址;</li>
// <li>referer:refer头信息;</li>
// <li>ipVersion:ip版本;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</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>不填将根据用户所在地智能选择地区。
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>
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:国家/地区;</li>
// <li>domain:域名;</li>
// <li>protocol:协议类型;</li>
// <li>resourceType:资源类型;</li>
// <li>statusCode:状态码;</li>
// <li> browserType:浏览器类型;</li>
// <li>deviceType:设备类型;</li>
// <li>operatingSystemType:操作系统类型;</li>
// <li>tlsVersion:tls版本;</li>
// <li>url:url地址;</li>
// <li>referer:refer头信息;</li>
// <li>ipVersion:ip版本;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</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>不填将根据用户所在地智能选择地区。
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 {
// 七层流量前topN数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopDataRecord `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 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"`
// 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 筛选条件,key可选的值有:
// <li> cacheType:缓存类型(状态);</li>
// <li>domain:Host/域名;</li>
// <li>resourceType:资源类型;</li>
// <li>url:url地址;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</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>不填将根据用户所在地智能选择地区。
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"`
// 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 筛选条件,key可选的值有:
// <li> cacheType:缓存类型(状态);</li>
// <li>domain:Host/域名;</li>
// <li>resourceType:资源类型;</li>
// <li>url:url地址;</li>
// <li>tagKey:标签Key;</li>
// <li>tagValue:标签Value。</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>不填将根据用户所在地智能选择地区。
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 {
// 七层缓存TopN流量数据列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopDataRecord `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 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>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>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 DescribeWebProtectionAttackEventsRequest ¶
type DescribeWebProtectionAttackEventsRequest 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 NewDescribeWebProtectionAttackEventsRequest ¶
func NewDescribeWebProtectionAttackEventsRequest() (request *DescribeWebProtectionAttackEventsRequest)
func (*DescribeWebProtectionAttackEventsRequest) FromJsonString ¶
func (r *DescribeWebProtectionAttackEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionAttackEventsRequest) ToJsonString ¶
func (r *DescribeWebProtectionAttackEventsRequest) ToJsonString() string
type DescribeWebProtectionAttackEventsRequestParams ¶
type DescribeWebProtectionAttackEventsRequestParams 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 DescribeWebProtectionAttackEventsResponse ¶
type DescribeWebProtectionAttackEventsResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionAttackEventsResponseParams `json:"Response"`
}
func NewDescribeWebProtectionAttackEventsResponse ¶
func NewDescribeWebProtectionAttackEventsResponse() (response *DescribeWebProtectionAttackEventsResponse)
func (*DescribeWebProtectionAttackEventsResponse) FromJsonString ¶
func (r *DescribeWebProtectionAttackEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionAttackEventsResponse) ToJsonString ¶
func (r *DescribeWebProtectionAttackEventsResponse) ToJsonString() string
type DescribeWebProtectionAttackEventsResponseParams ¶
type DescribeWebProtectionAttackEventsResponseParams struct {
// CC相关攻击事件列表。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*CCInterceptEvent `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 DescribeZoneDDoSPolicyRequest ¶
type DescribeZoneDDoSPolicyRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeZoneDDoSPolicyRequest ¶
func NewDescribeZoneDDoSPolicyRequest() (request *DescribeZoneDDoSPolicyRequest)
func (*DescribeZoneDDoSPolicyRequest) FromJsonString ¶
func (r *DescribeZoneDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDDoSPolicyRequest) ToJsonString ¶
func (r *DescribeZoneDDoSPolicyRequest) ToJsonString() string
type DescribeZoneDDoSPolicyRequestParams ¶
type DescribeZoneDDoSPolicyRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeZoneDDoSPolicyResponse ¶
type DescribeZoneDDoSPolicyResponse struct {
*tchttp.BaseResponse
Response *DescribeZoneDDoSPolicyResponseParams `json:"Response"`
}
func NewDescribeZoneDDoSPolicyResponse ¶
func NewDescribeZoneDDoSPolicyResponse() (response *DescribeZoneDDoSPolicyResponse)
func (*DescribeZoneDDoSPolicyResponse) FromJsonString ¶
func (r *DescribeZoneDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDDoSPolicyResponse) ToJsonString ¶
func (r *DescribeZoneDDoSPolicyResponse) ToJsonString() string
type DescribeZoneDDoSPolicyResponseParams ¶
type DescribeZoneDDoSPolicyResponseParams struct {
// DDoS防护分区。
ShieldAreas []*ShieldArea `json:"ShieldAreas,omitempty" name:"ShieldAreas"`
// 所有开启代理的子域名信息。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSHosts []*DDoSHost `json:"DDoSHosts,omitempty" name:"DDoSHosts"`
// 唯一请求 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><li>Fuzzy<br> 按照【<strong>是否模糊查询</strong>】进行过滤。仅支持过滤字段名为zone-name。模糊查询时,Values长度最小为1。<br> 类型:Boolean<br> 必选:否<br> 默认值:false</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
func (r *DescribeZonesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesRequest) ToJsonString ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶
type DescribeZonesRequestParams struct {
// 分页查询偏移量。默认值: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><li>Fuzzy<br> 按照【<strong>是否模糊查询</strong>】进行过滤。仅支持过滤字段名为zone-name。模糊查询时,Values长度最小为1。<br> 类型:Boolean<br> 必选:否<br> 默认值:false</li>
Filters []*AdvancedFilter `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeZonesResponse ¶
type DescribeZonesResponse struct {
*tchttp.BaseResponse
Response *DescribeZonesResponseParams `json:"Response"`
}
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
func (r *DescribeZonesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesResponse) ToJsonString ¶
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶
type DescribeZonesResponseParams struct {
// 符合条件的站点个数。
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 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 DnsRecord ¶
type DnsRecord struct {
// 记录 ID。
DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`
// DNS记录类型,取值有:
// <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
// <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
// <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
// <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
// <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
// <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
// <li>CAA:指定可为本站点颁发证书的 CA;</li>
// <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>
DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`
// 记录名称。
DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`
// 记录值。
Content *string `json:"Content,omitempty" name:"Content"`
// 代理模式,取值有:
// <li>dns_only:仅DNS解析;</li>
// <li>proxied:代理加速。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 缓存时间,数值越小,修改记录各地生效时间越快,单位:秒。
TTL *int64 `json:"TTL,omitempty" name:"TTL"`
// MX记录优先级,数值越小越优先。
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 创建时间。
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 修改时间。
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 域名锁定状态。
Locked *bool `json:"Locked,omitempty" name:"Locked"`
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 记录解析状态,取值有:
// <li>active:生效;</li>
// <li>pending:不生效。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// CNAME 地址。
// 注意:此字段可能返回 null,表示取不到有效值。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 域名服务类型,取值有:
// <li>lb:负载均衡;</li>
// <li>security:安全;</li>
// <li>l4:四层代理。</li>
DomainStatus []*string `json:"DomainStatus,omitempty" name:"DomainStatus"`
}
type DnssecInfo ¶
type DnssecInfo struct {
// 标志。
Flags *int64 `json:"Flags,omitempty" name:"Flags"`
// 加密算法。
Algorithm *string `json:"Algorithm,omitempty" name:"Algorithm"`
// 加密类型。
KeyType *string `json:"KeyType,omitempty" name:"KeyType"`
// 摘要类型。
DigestType *string `json:"DigestType,omitempty" name:"DigestType"`
// 摘要算法。
DigestAlgorithm *string `json:"DigestAlgorithm,omitempty" name:"DigestAlgorithm"`
// 摘要信息。
Digest *string `json:"Digest,omitempty" name:"Digest"`
// DS 记录值。
DS *string `json:"DS,omitempty" name:"DS"`
// 密钥标签。
KeyTag *int64 `json:"KeyTag,omitempty" name:"KeyTag"`
// 公钥。
PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"`
}
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>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 FollowOrigin ¶
type FollowOrigin struct {
// 遵循源站配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
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 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"`
}
type Identification ¶
type Identification struct {
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 验证状态,取值有:
// <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"`
}
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"`
}
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 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"`
// 匹配内容。
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
// 规则id。仅出参使用。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 更新时间。仅出参使用。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
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 LoadBalancing ¶
type LoadBalancing struct {
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名,填写@表示根域。
Host *string `json:"Host,omitempty" name:"Host"`
// 代理模式,取值有:
// <li>dns_only:仅DNS;</li>
// <li>proxied:开启代理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 当Type=dns_only表示DNS记录的缓存时间。
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 状态,取值有:
// <li>online:部署成功;</li>
// <li>process:部署中。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 调度域名。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 主源源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 备用源站源站组ID。为空表示不适用备用源站。
BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
// 更新时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 回源类型,取值有:
// <li>normal:主备回源;</li>
// <li>advanced:高级回源配置。</li>
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 高级回源配置,当OriginType=advanced时有效。
// 注意:此字段可能返回 null,表示取不到有效值。
AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}
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 LogTopicDetailInfo ¶
type LogTopicDetailInfo struct {
// 推送任务的任务名称。
TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
// 日志集所属的地域。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 推送任务的类型。
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 任务实体列表。
EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
// 推送任务主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 推送任务主题名称。
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 推送任务主题保存时间,单位为天。
Period *uint64 `json:"Period,omitempty" name:"Period"`
// 推送任务是否开启。
Enabled *bool `json:"Enabled,omitempty" name:"Enabled"`
// 推送任务创建时间,时间格式为: YYYY-mm-dd HH:MM:SS。
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 站点ID。
// 注意:此字段可能返回 null,表示取不到有效值。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
// 注意:此字段可能返回 null,表示取不到有效值。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 是否被删除了,取值有:
// <li>yes: 已经被删除;</li>
// <li>no: 没有被删除。</li>
Deleted *string `json:"Deleted,omitempty" name:"Deleted"`
}
type ModifyAlarmConfigRequest ¶
type ModifyAlarmConfigRequest struct {
*tchttp.BaseRequest
// 告警服务类型,取值有:
// <li>ddos:ddos告警服务。</li>
ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 告警维度值列表。
EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`
// 告警阈值,不传或者传0表示不修改阈值。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 是否使用默认值,只有在不传Threshold或者Threshold=0时该参数有效。
IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`
}
func NewModifyAlarmConfigRequest ¶
func NewModifyAlarmConfigRequest() (request *ModifyAlarmConfigRequest)
func (*ModifyAlarmConfigRequest) FromJsonString ¶
func (r *ModifyAlarmConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmConfigRequest) ToJsonString ¶
func (r *ModifyAlarmConfigRequest) ToJsonString() string
type ModifyAlarmConfigRequestParams ¶
type ModifyAlarmConfigRequestParams struct {
// 告警服务类型,取值有:
// <li>ddos:ddos告警服务。</li>
ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 告警维度值列表。
EntityList []*string `json:"EntityList,omitempty" name:"EntityList"`
// 告警阈值,不传或者传0表示不修改阈值。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 是否使用默认值,只有在不传Threshold或者Threshold=0时该参数有效。
IsDefault *bool `json:"IsDefault,omitempty" name:"IsDefault"`
}
Predefined struct for user
type ModifyAlarmConfigResponse ¶
type ModifyAlarmConfigResponse struct {
*tchttp.BaseResponse
Response *ModifyAlarmConfigResponseParams `json:"Response"`
}
func NewModifyAlarmConfigResponse ¶
func NewModifyAlarmConfigResponse() (response *ModifyAlarmConfigResponse)
func (*ModifyAlarmConfigResponse) FromJsonString ¶
func (r *ModifyAlarmConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmConfigResponse) ToJsonString ¶
func (r *ModifyAlarmConfigResponse) ToJsonString() string
type ModifyAlarmConfigResponseParams ¶
type ModifyAlarmConfigResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyAlarmDefaultThresholdRequest ¶
type ModifyAlarmDefaultThresholdRequest struct {
*tchttp.BaseRequest
// 告警服务类型,取值有:
// <li>ddos:ddos告警服务。</li>
ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 新的阈值,单位为Mbps,最小阈值为10。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 防护实体,如果是四层防护,防护实体为通道ID。如果是七层防护,防护实体为站点名称。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewModifyAlarmDefaultThresholdRequest ¶
func NewModifyAlarmDefaultThresholdRequest() (request *ModifyAlarmDefaultThresholdRequest)
func (*ModifyAlarmDefaultThresholdRequest) FromJsonString ¶
func (r *ModifyAlarmDefaultThresholdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmDefaultThresholdRequest) ToJsonString ¶
func (r *ModifyAlarmDefaultThresholdRequest) ToJsonString() string
type ModifyAlarmDefaultThresholdRequestParams ¶
type ModifyAlarmDefaultThresholdRequestParams struct {
// 告警服务类型,取值有:
// <li>ddos:ddos告警服务。</li>
ServiceType *string `json:"ServiceType,omitempty" name:"ServiceType"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 新的阈值,单位为Mbps,最小阈值为10。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 防护实体,如果是四层防护,防护实体为通道ID。如果是七层防护,防护实体为站点名称。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type ModifyAlarmDefaultThresholdResponse ¶
type ModifyAlarmDefaultThresholdResponse struct {
*tchttp.BaseResponse
Response *ModifyAlarmDefaultThresholdResponseParams `json:"Response"`
}
func NewModifyAlarmDefaultThresholdResponse ¶
func NewModifyAlarmDefaultThresholdResponse() (response *ModifyAlarmDefaultThresholdResponse)
func (*ModifyAlarmDefaultThresholdResponse) FromJsonString ¶
func (r *ModifyAlarmDefaultThresholdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAlarmDefaultThresholdResponse) ToJsonString ¶
func (r *ModifyAlarmDefaultThresholdResponse) ToJsonString() string
type ModifyAlarmDefaultThresholdResponseParams ¶
type ModifyAlarmDefaultThresholdResponseParams 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"`
// 别称域名 ID。
AliasId *string `json:"AliasId,omitempty" name:"AliasId"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 证书配置,取值有:
// <li> none:不配置;</li>
// <li> hosting:SSL托管证书;</li>
// <li> apply:申请免费证书。</li>
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 选择托管证书时填入相应证书 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"`
// 别称域名 ID。
AliasId *string `json:"AliasId,omitempty" name:"AliasId"`
// 目标域名名称。
TargetName *string `json:"TargetName,omitempty" name:"TargetName"`
// 证书配置,取值有:
// <li> none:不配置;</li>
// <li> hosting:SSL托管证书;</li>
// <li> apply:申请免费证书。</li>
CertType *string `json:"CertType,omitempty" name:"CertType"`
// 选择托管证书时填入相应证书 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"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-id<br> 按照【<strong>别称域名ID</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}
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"`
// 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
// <li>target-name<br> 按照【<strong>目标域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-id<br> 按照【<strong>别称域名ID</strong>】进行过滤。<br> 类型:String<br> 必选:否<li>alias-name<br> 按照【<strong>别称域名名称</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
}
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"`
}
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"`
}
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"`
// 端口,支持格式:
// 80:80端口
// 81-90:81至90端口。不填保持原有值。
Port []*string `json:"Port,omitempty" name:"Port"`
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>不填保持原有值。
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 源站信息:
// 当OriginType=custom时,表示一个或多个源站,如:
// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
// OriginValue=["test.com:80"];
// 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
// 不填保持原有值。
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>不填保持原有值。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
func NewModifyApplicationProxyRuleRequest ¶
func NewModifyApplicationProxyRuleRequest() (request *ModifyApplicationProxyRuleRequest)
func (*ModifyApplicationProxyRuleRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRuleRequest) ToJsonString() string
type ModifyApplicationProxyRuleRequestParams ¶
type ModifyApplicationProxyRuleRequestParams struct {
// 站点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"`
// 端口,支持格式:
// 80:80端口
// 81-90:81至90端口。不填保持原有值。
Port []*string `json:"Port,omitempty" name:"Port"`
// 协议,取值有:
// <li>TCP:TCP协议;</li>
// <li>UDP:UDP协议。</li>不填保持原有值。
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 源站信息:
// 当OriginType=custom时,表示一个或多个源站,如:
// OriginValue=["8.8.8.8:80","9.9.9.9:80"]
// OriginValue=["test.com:80"];
// 当OriginType=origins时,要求有且仅有一个元素,表示源站组ID,如:
// OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
// 不填保持原有值。
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>不填保持原有值。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
Predefined struct for user
type ModifyApplicationProxyRuleResponse ¶
type ModifyApplicationProxyRuleResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyRuleResponseParams `json:"Response"`
}
func NewModifyApplicationProxyRuleResponse ¶
func NewModifyApplicationProxyRuleResponse() (response *ModifyApplicationProxyRuleResponse)
func (*ModifyApplicationProxyRuleResponse) FromJsonString ¶
func (r *ModifyApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleResponse) ToJsonString ¶
func (r *ModifyApplicationProxyRuleResponse) ToJsonString() string
type ModifyApplicationProxyRuleResponseParams ¶
type ModifyApplicationProxyRuleResponseParams struct {
// 唯一请求 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 ModifyDDoSPolicyHostRequest ¶
type ModifyDDoSPolicyHostRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Host *string `json:"Host,omitempty" name:"Host"`
// 加速开关,取值有:
// <li>on:开启加速;</li>
// <li>off:关闭加速。</li>
AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 策略id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 安全开关,取值有:
// <li>on:开启安全;</li>
// <li>off:关闭安全。</li>
SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}
func NewModifyDDoSPolicyHostRequest ¶
func NewModifyDDoSPolicyHostRequest() (request *ModifyDDoSPolicyHostRequest)
func (*ModifyDDoSPolicyHostRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyHostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyHostRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyHostRequest) ToJsonString() string
type ModifyDDoSPolicyHostRequestParams ¶
type ModifyDDoSPolicyHostRequestParams struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Host *string `json:"Host,omitempty" name:"Host"`
// 加速开关,取值有:
// <li>on:开启加速;</li>
// <li>off:关闭加速。</li>
AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 策略id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 安全开关,取值有:
// <li>on:开启安全;</li>
// <li>off:关闭安全。</li>
SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}
Predefined struct for user
type ModifyDDoSPolicyHostResponse ¶
type ModifyDDoSPolicyHostResponse struct {
*tchttp.BaseResponse
Response *ModifyDDoSPolicyHostResponseParams `json:"Response"`
}
func NewModifyDDoSPolicyHostResponse ¶
func NewModifyDDoSPolicyHostResponse() (response *ModifyDDoSPolicyHostResponse)
func (*ModifyDDoSPolicyHostResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyHostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyHostResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyHostResponse) ToJsonString() string
type ModifyDDoSPolicyHostResponseParams ¶
type ModifyDDoSPolicyHostResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDDoSPolicyRequest ¶
type ModifyDDoSPolicyRequest struct {
*tchttp.BaseRequest
// 策略Id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DDoS防护配置详情。
DDoSRule *DDoSRule `json:"DDoSRule,omitempty" name:"DDoSRule"`
}
func NewModifyDDoSPolicyRequest ¶
func NewModifyDDoSPolicyRequest() (request *ModifyDDoSPolicyRequest)
func (*ModifyDDoSPolicyRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyRequest) ToJsonString() string
type ModifyDDoSPolicyRequestParams ¶
type ModifyDDoSPolicyRequestParams struct {
// 策略Id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DDoS防护配置详情。
DDoSRule *DDoSRule `json:"DDoSRule,omitempty" name:"DDoSRule"`
}
Predefined struct for user
type ModifyDDoSPolicyResponse ¶
type ModifyDDoSPolicyResponse struct {
*tchttp.BaseResponse
Response *ModifyDDoSPolicyResponseParams `json:"Response"`
}
func NewModifyDDoSPolicyResponse ¶
func NewModifyDDoSPolicyResponse() (response *ModifyDDoSPolicyResponse)
func (*ModifyDDoSPolicyResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyResponse) ToJsonString() string
type ModifyDDoSPolicyResponseParams ¶
type ModifyDDoSPolicyResponseParams 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 ModifyDnsRecordRequest ¶
type ModifyDnsRecordRequest struct {
*tchttp.BaseRequest
// 记录ID。
DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DNS记录类型,取值有:
// <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
// <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
// <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
// <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
// <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
// <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
// <li>CAA:指定可为本站点颁发证书的 CA;</li>
// <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>不填写保持原有配置。
DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`
// 记录名称,由主机记录+站点名称组成,不填写保持原有配置。
DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`
// 记录内容,不填写保持原有配置。
Content *string `json:"Content,omitempty" name:"Content"`
// 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒,不填写保持原有配置。
TTL *int64 `json:"TTL,omitempty" name:"TTL"`
// 该参数在修改MX记录时生效,值越小优先级越高,用户可指定值范围为1~50,不指定默认为0,不填写保持原有配置。
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 代理模式,取值有:
// <li>dns_only:仅DNS解析;</li>
// <li>proxied:代理加速。</li>不填写保持原有配置。
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
func NewModifyDnsRecordRequest ¶
func NewModifyDnsRecordRequest() (request *ModifyDnsRecordRequest)
func (*ModifyDnsRecordRequest) FromJsonString ¶
func (r *ModifyDnsRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnsRecordRequest) ToJsonString ¶
func (r *ModifyDnsRecordRequest) ToJsonString() string
type ModifyDnsRecordRequestParams ¶
type ModifyDnsRecordRequestParams struct {
// 记录ID。
DnsRecordId *string `json:"DnsRecordId,omitempty" name:"DnsRecordId"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DNS记录类型,取值有:
// <li>A:将域名指向一个外网 IPv4 地址,如 8.8.8.8;</li>
// <li>AAAA:将域名指向一个外网 IPv6 地址;</li>
// <li>MX:用于邮箱服务器,相关记录值/优先级参数由邮件注册商提供。存在多条 MX 记录时,优先级越低越优先;</li>
// <li>CNAME:将域名指向另一个域名,再由该域名解析出最终 IP 地址;</li>
// <li>TXT:对域名进行标识和说明,常用于域名验证和 SPF 记录(反垃圾邮件);</li>
// <li>NS:如果需要将子域名交给其他 DNS 服务商解析,则需要添加 NS 记录。根域名无法添加 NS 记录;</li>
// <li>CAA:指定可为本站点颁发证书的 CA;</li>
// <li>SRV:标识某台服务器使用了某个服务,常见于微软系统的目录管理。</li>不填写保持原有配置。
DnsRecordType *string `json:"DnsRecordType,omitempty" name:"DnsRecordType"`
// 记录名称,由主机记录+站点名称组成,不填写保持原有配置。
DnsRecordName *string `json:"DnsRecordName,omitempty" name:"DnsRecordName"`
// 记录内容,不填写保持原有配置。
Content *string `json:"Content,omitempty" name:"Content"`
// 缓存时间,数值越小,修改记录各地生效时间越快,默认为300,单位:秒,不填写保持原有配置。
TTL *int64 `json:"TTL,omitempty" name:"TTL"`
// 该参数在修改MX记录时生效,值越小优先级越高,用户可指定值范围为1~50,不指定默认为0,不填写保持原有配置。
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 代理模式,取值有:
// <li>dns_only:仅DNS解析;</li>
// <li>proxied:代理加速。</li>不填写保持原有配置。
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
Predefined struct for user
type ModifyDnsRecordResponse ¶
type ModifyDnsRecordResponse struct {
*tchttp.BaseResponse
Response *ModifyDnsRecordResponseParams `json:"Response"`
}
func NewModifyDnsRecordResponse ¶
func NewModifyDnsRecordResponse() (response *ModifyDnsRecordResponse)
func (*ModifyDnsRecordResponse) FromJsonString ¶
func (r *ModifyDnsRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnsRecordResponse) ToJsonString ¶
func (r *ModifyDnsRecordResponse) ToJsonString() string
type ModifyDnsRecordResponseParams ¶
type ModifyDnsRecordResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDnssecRequest ¶
type ModifyDnssecRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DNSSEC状态,取值有
// <li>enabled:开启;</li>
// <li>disabled:关闭。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyDnssecRequest ¶
func NewModifyDnssecRequest() (request *ModifyDnssecRequest)
func (*ModifyDnssecRequest) FromJsonString ¶
func (r *ModifyDnssecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnssecRequest) ToJsonString ¶
func (r *ModifyDnssecRequest) ToJsonString() string
type ModifyDnssecRequestParams ¶
type ModifyDnssecRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DNSSEC状态,取值有
// <li>enabled:开启;</li>
// <li>disabled:关闭。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyDnssecResponse ¶
type ModifyDnssecResponse struct {
*tchttp.BaseResponse
Response *ModifyDnssecResponseParams `json:"Response"`
}
func NewModifyDnssecResponse ¶
func NewModifyDnssecResponse() (response *ModifyDnssecResponse)
func (*ModifyDnssecResponse) FromJsonString ¶
func (r *ModifyDnssecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnssecResponse) ToJsonString ¶
func (r *ModifyDnssecResponse) ToJsonString() string
type ModifyDnssecResponseParams ¶
type ModifyDnssecResponseParams struct {
// 唯一请求 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 ModifyLoadBalancingRequest ¶
type ModifyLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 代理模式,取值有:
// <li>dns_only:仅DNS;</li>
// <li>proxied:开启代理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 主源站源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。
BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
// 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
// 取值范围60-86400,单位:秒,不填写使用默认值:600。
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 回源类型,取值有:
// <li>normal:主备回源;</li>
// <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>不填写表示使用主备回源。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 高级回源配置,当OriginType=advanced时有效。
// 不填写表示不使用高级回源配置。
AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}
func NewModifyLoadBalancingRequest ¶
func NewModifyLoadBalancingRequest() (request *ModifyLoadBalancingRequest)
func (*ModifyLoadBalancingRequest) FromJsonString ¶
func (r *ModifyLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingRequest) ToJsonString ¶
func (r *ModifyLoadBalancingRequest) ToJsonString() string
type ModifyLoadBalancingRequestParams ¶
type ModifyLoadBalancingRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 代理模式,取值有:
// <li>dns_only:仅DNS;</li>
// <li>proxied:开启代理。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 主源站源站组ID。
OriginGroupId *string `json:"OriginGroupId,omitempty" name:"OriginGroupId"`
// 备用源站源站组ID,当Type=proxied时可以填写,为空表示不使用备用源站。
BackupOriginGroupId *string `json:"BackupOriginGroupId,omitempty" name:"BackupOriginGroupId"`
// 当Type=dns_only时,指解析记录在DNS服务器缓存的生存时间。
// 取值范围60-86400,单位:秒,不填写使用默认值:600。
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 回源类型,取值有:
// <li>normal:主备回源;</li>
// <li>advanced:高级回源配置(仅当Type=proxied时可以使用)。</li>不填写表示使用主备回源。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 高级回源配置,当OriginType=advanced时有效。
// 不填写表示不使用高级回源配置。
AdvancedOriginGroups []*AdvancedOriginGroup `json:"AdvancedOriginGroups,omitempty" name:"AdvancedOriginGroups"`
}
Predefined struct for user
type ModifyLoadBalancingResponse ¶
type ModifyLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *ModifyLoadBalancingResponseParams `json:"Response"`
}
func NewModifyLoadBalancingResponse ¶
func NewModifyLoadBalancingResponse() (response *ModifyLoadBalancingResponse)
func (*ModifyLoadBalancingResponse) FromJsonString ¶
func (r *ModifyLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingResponse) ToJsonString ¶
func (r *ModifyLoadBalancingResponse) ToJsonString() string
type ModifyLoadBalancingResponseParams ¶
type ModifyLoadBalancingResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyLoadBalancingStatusRequest ¶
type ModifyLoadBalancingStatusRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 负载均衡状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyLoadBalancingStatusRequest ¶
func NewModifyLoadBalancingStatusRequest() (request *ModifyLoadBalancingStatusRequest)
func (*ModifyLoadBalancingStatusRequest) FromJsonString ¶
func (r *ModifyLoadBalancingStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingStatusRequest) ToJsonString ¶
func (r *ModifyLoadBalancingStatusRequest) ToJsonString() string
type ModifyLoadBalancingStatusRequestParams ¶
type ModifyLoadBalancingStatusRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID。
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 负载均衡状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyLoadBalancingStatusResponse ¶
type ModifyLoadBalancingStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyLoadBalancingStatusResponseParams `json:"Response"`
}
func NewModifyLoadBalancingStatusResponse ¶
func NewModifyLoadBalancingStatusResponse() (response *ModifyLoadBalancingStatusResponse)
func (*ModifyLoadBalancingStatusResponse) FromJsonString ¶
func (r *ModifyLoadBalancingStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingStatusResponse) ToJsonString ¶
func (r *ModifyLoadBalancingStatusResponse) ToJsonString() string
type ModifyLoadBalancingStatusResponseParams ¶
type ModifyLoadBalancingStatusResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyLogTopicTaskRequest ¶
type ModifyLogTopicTaskRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 日志集所属地区。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 数据推送类型,可选的类型有:
// <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"`
// 推送任务名。
TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
// 待更新的主题名称,不填表示不更新主题名称。
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 更新后的日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
// 更新后的日志集保存时间。
Period *int64 `json:"Period,omitempty" name:"Period"`
// 待添加的推送任务实体列表。
DropEntityList []*string `json:"DropEntityList,omitempty" name:"DropEntityList"`
// 待删除的推送任务实例列表。
AddedEntityList []*string `json:"AddedEntityList,omitempty" name:"AddedEntityList"`
}
func NewModifyLogTopicTaskRequest ¶
func NewModifyLogTopicTaskRequest() (request *ModifyLogTopicTaskRequest)
func (*ModifyLogTopicTaskRequest) FromJsonString ¶
func (r *ModifyLogTopicTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogTopicTaskRequest) ToJsonString ¶
func (r *ModifyLogTopicTaskRequest) ToJsonString() string
type ModifyLogTopicTaskRequestParams ¶
type ModifyLogTopicTaskRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 日志集所属地区。
LogSetRegion *string `json:"LogSetRegion,omitempty" name:"LogSetRegion"`
// 日志集ID。
LogSetId *string `json:"LogSetId,omitempty" name:"LogSetId"`
// 日志主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 数据推送类型,可选的类型有:
// <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"`
// 推送任务名。
TaskName *string `json:"TaskName,omitempty" name:"TaskName"`
// 待更新的主题名称,不填表示不更新主题名称。
TopicName *string `json:"TopicName,omitempty" name:"TopicName"`
// 更新后的日志集名称。
LogSetName *string `json:"LogSetName,omitempty" name:"LogSetName"`
// 更新后的日志集保存时间。
Period *int64 `json:"Period,omitempty" name:"Period"`
// 待添加的推送任务实体列表。
DropEntityList []*string `json:"DropEntityList,omitempty" name:"DropEntityList"`
// 待删除的推送任务实例列表。
AddedEntityList []*string `json:"AddedEntityList,omitempty" name:"AddedEntityList"`
}
Predefined struct for user
type ModifyLogTopicTaskResponse ¶
type ModifyLogTopicTaskResponse struct {
*tchttp.BaseResponse
Response *ModifyLogTopicTaskResponseParams `json:"Response"`
}
func NewModifyLogTopicTaskResponse ¶
func NewModifyLogTopicTaskResponse() (response *ModifyLogTopicTaskResponse)
func (*ModifyLogTopicTaskResponse) FromJsonString ¶
func (r *ModifyLogTopicTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLogTopicTaskResponse) ToJsonString ¶
func (r *ModifyLogTopicTaskResponse) ToJsonString() string
type ModifyLogTopicTaskResponseParams ¶
type ModifyLogTopicTaskResponseParams 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"`
}
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"`
}
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 ModifySecurityPolicyRequest ¶
type ModifySecurityPolicyRequest struct {
*tchttp.BaseRequest
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 安全配置。
SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
}
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"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 安全配置。
SecurityConfig *SecurityConfig `json:"SecurityConfig,omitempty" name:"SecurityConfig"`
}
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 *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。
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"`
}
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 *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名。
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"`
}
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 ModifyZoneCnameSpeedUpRequest ¶
type ModifyZoneCnameSpeedUpRequest struct {
*tchttp.BaseRequest
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// CNAME 加速状态,取值有:
// <li> enabled:开启;</li>
// <li> disabled:关闭。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyZoneCnameSpeedUpRequest ¶
func NewModifyZoneCnameSpeedUpRequest() (request *ModifyZoneCnameSpeedUpRequest)
func (*ModifyZoneCnameSpeedUpRequest) FromJsonString ¶
func (r *ModifyZoneCnameSpeedUpRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneCnameSpeedUpRequest) ToJsonString ¶
func (r *ModifyZoneCnameSpeedUpRequest) ToJsonString() string
type ModifyZoneCnameSpeedUpRequestParams ¶
type ModifyZoneCnameSpeedUpRequestParams struct {
// 站点 ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// CNAME 加速状态,取值有:
// <li> enabled:开启;</li>
// <li> disabled:关闭。</li>
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyZoneCnameSpeedUpResponse ¶
type ModifyZoneCnameSpeedUpResponse struct {
*tchttp.BaseResponse
Response *ModifyZoneCnameSpeedUpResponseParams `json:"Response"`
}
func NewModifyZoneCnameSpeedUpResponse ¶
func NewModifyZoneCnameSpeedUpResponse() (response *ModifyZoneCnameSpeedUpResponse)
func (*ModifyZoneCnameSpeedUpResponse) FromJsonString ¶
func (r *ModifyZoneCnameSpeedUpResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneCnameSpeedUpResponse) ToJsonString ¶
func (r *ModifyZoneCnameSpeedUpResponse) ToJsonString() string
type ModifyZoneCnameSpeedUpResponseParams ¶
type ModifyZoneCnameSpeedUpResponseParams struct {
// 唯一请求 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"`
}
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"`
}
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"`
}
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"`
}
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 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 OriginGroupCondition ¶ added in v1.0.507
type OriginGroupCondition struct {
// 匹配类型,取值有:
// <li>url:当前站点下匹配URL路径的请求,例如:/example 或 /example/foo.jpg。支持*表示通配符,支持?表示匹配一个字符。
// </li>
Target *string `json:"Target,omitempty" name:"Target"`
// 运算符,取值有:
// <li>equal:等于。</li>
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 对应匹配类型的取值。
Values []*string `json:"Values,omitempty" name:"Values"`
}
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> ent :全球内容分发网络(不包括中国大陆)企业版套餐; </li>
// <li> ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
// <li> ent_cm :中国大陆内容分发网络企业版套餐; </li>
// <li> ent_cm_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>
Area *string `json:"Area,omitempty" name:"Area"`
}
type PortraitManagedRuleDetail ¶
type PortraitManagedRuleDetail struct {
// 规则唯一id。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则的描述。
// 注意:此字段可能返回 null,表示取不到有效值。
Description *string `json:"Description,omitempty" name:"Description"`
// 规则所属类型的名字, botdb(用户画像)。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 规则内的功能分类Id。
// 注意:此字段可能返回 null,表示取不到有效值。
ClassificationId *int64 `json:"ClassificationId,omitempty" name:"ClassificationId"`
// 规则当前所属动作状态。
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
}
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>
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"`
}
type RateLimitIntelligence ¶
type RateLimitIntelligenceRuleDetail ¶
type RateLimitIntelligenceRuleDetail struct {
// 智能识别到的客户端IP。
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
// 应用的动作。
Action *string `json:"Action,omitempty" name:"Action"`
// 更新时间。
EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"`
// 失效时间。
ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 规则id。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 处置状态,allowed即已经人为放行。
Status *string `json:"Status,omitempty" name:"Status"`
}
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>
// <li>hour:小时。</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>host:域名;</li>
// <li>sip:客户端ip。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
FreqFields []*string `json:"FreqFields,omitempty" name:"FreqFields"`
// 更新时间。
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
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>
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 {
// 执行功能判断条件。
// 注意:满足该数组内任意一项条件,功能即可执行。
Conditions []*RuleAndConditions `json:"Conditions,omitempty" name:"Conditions"`
// 执行的功能。
Actions []*Action `json:"Actions,omitempty" name:"Actions"`
}
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> URL Full: full_url,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
// <li> URL Path: url,当前站点下 URL 路径的请求; </li><li>客户端国际/地区:client_country;</li>
// <li> 查询字符串: query_string,当前站点下URL请求的查询字符串; </li>
// <li> HTTP 请求头: 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"`
}
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"`
}
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。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则类型名称。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 执行动作(处置方式),取值有:
// <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"`
// 命中时间,采用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"`
}
type SecRuleRelatedInfo ¶
type SecRuleRelatedInfo struct {
// 规则ID列表(99999为无效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"`
}
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"`
}
type SecurityEntity ¶
type SecurityEntity struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 类型,取值有:
// <li> domain:7层子域名; </li>
// <li> application:4层应用名。 </li>
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}
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"`
}
type ShieldArea ¶
type ShieldArea struct {
// 站点Id。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// DDoS策略Id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 防护类型,参考值:
// <li>domain:7层子域;</li>
// <li>application:4层应用。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 7层站点名。
EntityName *string `json:"EntityName,omitempty" name:"EntityName"`
// 该防护分区下的7层子域名。
// 注意:此字段可能返回 null,表示取不到有效值。
DDoSHosts []*DDoSHost `json:"DDoSHosts,omitempty" name:"DDoSHosts"`
// 四层tcp转发规则数。
TcpNum *int64 `json:"TcpNum,omitempty" name:"TcpNum"`
// 四层udp转发规则数。
UdpNum *int64 `json:"UdpNum,omitempty" name:"UdpNum"`
// 实例名称。
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
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 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 SwitchConfig ¶
type SwitchConfig struct {
// Web类型的安全总开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>不影响DDoS与Bot的开关。
WebSwitch *string `json:"WebSwitch,omitempty" name:"WebSwitch"`
}
type SwitchLogTopicTaskRequest ¶
type SwitchLogTopicTaskRequest struct {
*tchttp.BaseRequest
// 推送任务的主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 是否开启推送,可选的动作有:
// <li>true:开启推送任务;</li>
// <li>false:关闭推送任务。</li>
IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"`
}
func NewSwitchLogTopicTaskRequest ¶
func NewSwitchLogTopicTaskRequest() (request *SwitchLogTopicTaskRequest)
func (*SwitchLogTopicTaskRequest) FromJsonString ¶
func (r *SwitchLogTopicTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchLogTopicTaskRequest) ToJsonString ¶
func (r *SwitchLogTopicTaskRequest) ToJsonString() string
type SwitchLogTopicTaskRequestParams ¶
type SwitchLogTopicTaskRequestParams struct {
// 推送任务的主题ID。
TopicId *string `json:"TopicId,omitempty" name:"TopicId"`
// 是否开启推送,可选的动作有:
// <li>true:开启推送任务;</li>
// <li>false:关闭推送任务。</li>
IsOpen *bool `json:"IsOpen,omitempty" name:"IsOpen"`
}
Predefined struct for user
type SwitchLogTopicTaskResponse ¶
type SwitchLogTopicTaskResponse struct {
*tchttp.BaseResponse
Response *SwitchLogTopicTaskResponseParams `json:"Response"`
}
func NewSwitchLogTopicTaskResponse ¶
func NewSwitchLogTopicTaskResponse() (response *SwitchLogTopicTaskResponse)
func (*SwitchLogTopicTaskResponse) FromJsonString ¶
func (r *SwitchLogTopicTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SwitchLogTopicTaskResponse) ToJsonString ¶
func (r *SwitchLogTopicTaskResponse) ToJsonString() string
type SwitchLogTopicTaskResponseParams ¶
type SwitchLogTopicTaskResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
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 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 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 WafGroupDetail ¶
type WafGroupDetail struct {
// 规则类型ID。
RuleTypeId *int64 `json:"RuleTypeId,omitempty" name:"RuleTypeId"`
// 规则类型名称。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 规则类型描述。
RuleTypeDesc *string `json:"RuleTypeDesc,omitempty" name:"RuleTypeDesc"`
// 规则列表。
WafGroupRules []*WafGroupRule `json:"WafGroupRules,omitempty" name:"WafGroupRules"`
// 规则等级。
Level *string `json:"Level,omitempty" name:"Level"`
// 动作。
Action *string `json:"Action,omitempty" name:"Action"`
}
type WafGroupInfo ¶
type WafGroupInfo struct {
// 托管规则组列表。
WafGroupDetails []*WafGroupDetail `json:"WafGroupDetails,omitempty" name:"WafGroupDetails"`
// 规则组等级,取值有:
// <li> loose:宽松;</li>
// <li> normal:正常;</li>
// <li> strict:严格;</li>
// <li> stricter:超严格。</li>
Level *string `json:"Level,omitempty" name:"Level"`
// 保留字段。
Act *string `json:"Act,omitempty" name:"Act"`
// 模式,取值有:
// <li> block:阻断;</li>
// <li> observe:观察。</li>
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 开关,取值有:
// <li> on:开启;</li>
// <li> off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type WafGroupRule ¶
type WafGroupRule struct {
// 规则id。
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则描述。
Description *string `json:"Description,omitempty" name:"Description"`
// 等级描述。
RuleLevelDesc *string `json:"RuleLevelDesc,omitempty" name:"RuleLevelDesc"`
// 规则标签。部分类型的规则不存在该参数。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleTags []*string `json:"RuleTags,omitempty" name:"RuleTags"`
// 更新时间,格式为YYYY-MM-DD hh:mm:ss。部分类型的规则不存在该参数。
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 状态,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>为空时对应接口Status无意义,例如仅查询规则详情时。
Status *string `json:"Status,omitempty" name:"Status"`
// 规则类型名。
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 规则类型id。
RuleTypeId *int64 `json:"RuleTypeId,omitempty" name:"RuleTypeId"`
// 规则类型描述。
RuleTypeDesc *string `json:"RuleTypeDesc,omitempty" name:"RuleTypeDesc"`
}
type WafRule ¶
type WafRule struct {
// 托管规则开关,取值有:
// <li> on:开启;</li>
// <li> off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 黑名单,ID参考接口 [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1)。
BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitempty" name:"BlockRuleIDs"`
// 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。ID参考接口 [DescribeSecurityGroupManagedRules](https://tcloud4api.woa.com/document/product/1657/80807?!preview&!document=1)。
ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitempty" name:"ObserveRuleIDs"`
}
type WebLogs ¶
type WebLogs struct {
// 请求(事件)ID。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 攻击源(客户端)Ip。
AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`
// 受攻击子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// http 日志内容。
HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`
// 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"`
// 攻击时间,采用unix秒级时间戳。
AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`
// 请求地址。
RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`
// 攻击内容。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`
// 规则相关信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`
// 请求类型。
// 注意:此字段可能返回 null,表示取不到有效值。
ReqMethod *string `json:"ReqMethod,omitempty" name:"ReqMethod"`
}
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"`
}
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"`
}