Documentation
¶
Index ¶
- Constants
- type ACLCondition
- type ACLUserRule
- type AclConfig
- type AiRule
- type ApplicationProxy
- type ApplicationProxyRule
- type BotConfig
- type BotLog
- type BotLogData
- type BotManagedRule
- type BotManagedRuleDetail
- type BotPortraitRule
- type CCInterceptEvent
- type CCInterceptEventData
- type CCLog
- type CCLogData
- type CacheConfig
- type CacheConfigCache
- type CacheConfigFollowOrigin
- type CacheConfigNoCache
- type CacheKey
- type CachePrefresh
- type CertFilter
- type CertSort
- 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) 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) CreateApplicationProxyRules(request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)
- func (c *Client) CreateApplicationProxyRulesWithContext(ctx context.Context, request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)
- func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, 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) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
- func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, 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) 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) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
- func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, 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) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
- func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, 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) DescribeApplicationProxy(request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)
- func (c *Client) DescribeApplicationProxyDetail(request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)
- func (c *Client) DescribeApplicationProxyDetailWithContext(ctx context.Context, request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)
- func (c *Client) DescribeApplicationProxyWithContext(ctx context.Context, request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, 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) DescribeCnameStatus(request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)
- func (c *Client) DescribeCnameStatusWithContext(ctx context.Context, request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, 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) 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) DescribeDDosMajorAttackEvent(request *DescribeDDosMajorAttackEventRequest) (response *DescribeDDosMajorAttackEventResponse, err error)
- func (c *Client) DescribeDDosMajorAttackEventWithContext(ctx context.Context, request *DescribeDDosMajorAttackEventRequest) (response *DescribeDDosMajorAttackEventResponse, 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) DescribeHostsCertificate(request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)
- func (c *Client) DescribeHostsCertificateWithContext(ctx context.Context, request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, 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) DescribeIdentification(request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)
- func (c *Client) DescribeIdentificationWithContext(ctx context.Context, request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)
- func (c *Client) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
- func (c *Client) DescribeLoadBalancingDetail(request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)
- func (c *Client) DescribeLoadBalancingDetailWithContext(ctx context.Context, request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)
- func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
- func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
- func (c *Client) DescribeOriginGroupDetail(request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)
- func (c *Client) DescribeOriginGroupDetailWithContext(ctx context.Context, request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, 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) 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) DescribeSecurityPolicyManagedRules(request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)
- func (c *Client) DescribeSecurityPolicyManagedRulesId(request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)
- func (c *Client) DescribeSecurityPolicyManagedRulesIdWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)
- func (c *Client) DescribeSecurityPolicyManagedRulesWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, 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) 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) DescribeWebManagedRulesAttackEvents(request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)
- func (c *Client) DescribeWebManagedRulesAttackEventsWithContext(ctx context.Context, request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, 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) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
- func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
- func (c *Client) DescribeWebManagedRulesTopData(request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)
- func (c *Client) DescribeWebManagedRulesTopDataWithContext(ctx context.Context, request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, 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) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
- func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
- func (c *Client) DescribeWebProtectionLog(request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)
- func (c *Client) DescribeWebProtectionLogWithContext(ctx context.Context, request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, 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) DescribeZoneDetails(request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)
- func (c *Client) DescribeZoneDetailsWithContext(ctx context.Context, request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, 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) 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) ImportDnsRecords(request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)
- func (c *Client) ImportDnsRecordsWithContext(ctx context.Context, request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, 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) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
- func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
- func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
- func (c *Client) 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) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
- func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
- func (c *Client) ScanDnsRecords(request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)
- func (c *Client) ScanDnsRecordsWithContext(ctx context.Context, request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)
- type ClientIp
- type CnameStatus
- type Compression
- type CreateApplicationProxyRequest
- type CreateApplicationProxyRequestParams
- type CreateApplicationProxyResponse
- type CreateApplicationProxyResponseParams
- type CreateApplicationProxyRuleRequest
- type CreateApplicationProxyRuleRequestParams
- type CreateApplicationProxyRuleResponse
- type CreateApplicationProxyRuleResponseParams
- type CreateApplicationProxyRulesRequest
- type CreateApplicationProxyRulesRequestParams
- type CreateApplicationProxyRulesResponse
- type CreateApplicationProxyRulesResponseParams
- type CreateCustomErrorPageRequest
- type CreateCustomErrorPageRequestParams
- type CreateCustomErrorPageResponse
- type CreateCustomErrorPageResponseParams
- type CreateDnsRecordRequest
- type CreateDnsRecordRequestParams
- type CreateDnsRecordResponse
- type CreateDnsRecordResponseParams
- type CreateLoadBalancingRequest
- type CreateLoadBalancingRequestParams
- type CreateLoadBalancingResponse
- type CreateLoadBalancingResponseParams
- type CreateOriginGroupRequest
- type CreateOriginGroupRequestParams
- type CreateOriginGroupResponse
- type CreateOriginGroupResponseParams
- type CreatePrefetchTaskRequest
- type CreatePrefetchTaskRequestParams
- type CreatePrefetchTaskResponse
- type CreatePrefetchTaskResponseParams
- type CreatePurgeTaskRequest
- type CreatePurgeTaskRequestParams
- type CreatePurgeTaskResponse
- type CreatePurgeTaskResponseParams
- type CreateZoneRequest
- type CreateZoneRequestParams
- type CreateZoneResponse
- type CreateZoneResponseParams
- type DDoSAcl
- type DDoSAntiPly
- type DDoSApplication
- type DDoSConfig
- type DDoSFeaturesFilter
- type DDoSGeoIp
- type DDoSStatusInfo
- type DDoSUserAllowBlockIP
- type DDosAttackEvent
- type DDosAttackEventData
- type DDosAttackEventDetailData
- type DDosAttackSourceEvent
- type DDosAttackSourceEventData
- type DDosMajorAttackEvent
- type DDosMajorAttackEventData
- type DataItem
- type DdosAcls
- type DdosAllowBlock
- type DdosPacketFilter
- type DdosRule
- type DdosSpeedLimit
- type DefaultServerCertInfo
- 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 DeleteOriginGroupRequest
- type DeleteOriginGroupRequestParams
- type DeleteOriginGroupResponse
- type DeleteOriginGroupResponseParams
- type DeleteZoneRequest
- type DeleteZoneRequestParams
- type DeleteZoneResponse
- type DeleteZoneResponseParams
- type DescribeApplicationProxyDetailRequest
- type DescribeApplicationProxyDetailRequestParams
- type DescribeApplicationProxyDetailResponse
- type DescribeApplicationProxyDetailResponseParams
- type DescribeApplicationProxyRequest
- type DescribeApplicationProxyRequestParams
- type DescribeApplicationProxyResponse
- type DescribeApplicationProxyResponseParams
- type DescribeBotLogRequest
- type DescribeBotLogRequestParams
- type DescribeBotLogResponse
- type DescribeBotLogResponseParams
- type DescribeBotManagedRulesRequest
- type DescribeBotManagedRulesRequestParams
- type DescribeBotManagedRulesResponse
- type DescribeBotManagedRulesResponseParams
- type DescribeCnameStatusRequest
- type DescribeCnameStatusRequestParams
- type DescribeCnameStatusResponse
- type DescribeCnameStatusResponseParams
- type DescribeDDoSPolicyRequest
- type DescribeDDoSPolicyRequestParams
- type DescribeDDoSPolicyResponse
- type DescribeDDoSPolicyResponseParams
- 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 DescribeDDosMajorAttackEventRequest
- type DescribeDDosMajorAttackEventRequestParams
- type DescribeDDosMajorAttackEventResponse
- type DescribeDDosMajorAttackEventResponseParams
- 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 DescribeHostsCertificateRequest
- type DescribeHostsCertificateRequestParams
- type DescribeHostsCertificateResponse
- type DescribeHostsCertificateResponseParams
- type DescribeHostsSettingRequest
- type DescribeHostsSettingRequestParams
- type DescribeHostsSettingResponse
- type DescribeHostsSettingResponseParams
- type DescribeIdentificationRequest
- type DescribeIdentificationRequestParams
- type DescribeIdentificationResponse
- type DescribeIdentificationResponseParams
- type DescribeLoadBalancingDetailRequest
- type DescribeLoadBalancingDetailRequestParams
- type DescribeLoadBalancingDetailResponse
- type DescribeLoadBalancingDetailResponseParams
- type DescribeLoadBalancingRequest
- type DescribeLoadBalancingRequestParams
- type DescribeLoadBalancingResponse
- type DescribeLoadBalancingResponseParams
- type DescribeOriginGroupDetailRequest
- type DescribeOriginGroupDetailRequestParams
- type DescribeOriginGroupDetailResponse
- type DescribeOriginGroupDetailResponseParams
- 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 DescribeSecurityPolicyListRequest
- type DescribeSecurityPolicyListRequestParams
- type DescribeSecurityPolicyListResponse
- type DescribeSecurityPolicyListResponseParams
- type DescribeSecurityPolicyManagedRulesIdRequest
- type DescribeSecurityPolicyManagedRulesIdRequestParams
- type DescribeSecurityPolicyManagedRulesIdResponse
- type DescribeSecurityPolicyManagedRulesIdResponseParams
- type DescribeSecurityPolicyManagedRulesRequest
- type DescribeSecurityPolicyManagedRulesRequestParams
- type DescribeSecurityPolicyManagedRulesResponse
- type DescribeSecurityPolicyManagedRulesResponseParams
- 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 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 DescribeWebManagedRulesAttackEventsRequest
- type DescribeWebManagedRulesAttackEventsRequestParams
- type DescribeWebManagedRulesAttackEventsResponse
- type DescribeWebManagedRulesAttackEventsResponseParams
- type DescribeWebManagedRulesDataRequest
- type DescribeWebManagedRulesDataRequestParams
- type DescribeWebManagedRulesDataResponse
- type DescribeWebManagedRulesDataResponseParams
- type DescribeWebManagedRulesLogRequest
- type DescribeWebManagedRulesLogRequestParams
- type DescribeWebManagedRulesLogResponse
- type DescribeWebManagedRulesLogResponseParams
- type DescribeWebManagedRulesTopDataRequest
- type DescribeWebManagedRulesTopDataRequestParams
- type DescribeWebManagedRulesTopDataResponse
- type DescribeWebManagedRulesTopDataResponseParams
- type DescribeWebProtectionAttackEventsRequest
- type DescribeWebProtectionAttackEventsRequestParams
- type DescribeWebProtectionAttackEventsResponse
- type DescribeWebProtectionAttackEventsResponseParams
- type DescribeWebProtectionDataRequest
- type DescribeWebProtectionDataRequestParams
- type DescribeWebProtectionDataResponse
- type DescribeWebProtectionDataResponseParams
- type DescribeWebProtectionLogRequest
- type DescribeWebProtectionLogRequestParams
- type DescribeWebProtectionLogResponse
- type DescribeWebProtectionLogResponseParams
- type DescribeZoneDDoSPolicyRequest
- type DescribeZoneDDoSPolicyRequestParams
- type DescribeZoneDDoSPolicyResponse
- type DescribeZoneDDoSPolicyResponseParams
- type DescribeZoneDetailsRequest
- type DescribeZoneDetailsRequestParams
- type DescribeZoneDetailsResponse
- type DescribeZoneDetailsResponseParams
- type DescribeZoneSettingRequest
- type DescribeZoneSettingRequestParams
- type DescribeZoneSettingResponse
- type DescribeZoneSettingResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DetailHost
- type DnsDataFilter
- type DnsRecord
- type DnsRecordFilter
- type DnssecInfo
- type DownloadL7LogsRequest
- type DownloadL7LogsRequestParams
- type DownloadL7LogsResponse
- type DownloadL7LogsResponseParams
- type FailReason
- type Filter
- type ForceRedirect
- type GeoIp
- type Header
- type HostCertSetting
- type Hsts
- type Https
- type IdentifyZoneRequest
- type IdentifyZoneRequestParams
- type IdentifyZoneResponse
- type IdentifyZoneResponseParams
- type ImportDnsRecordsRequest
- type ImportDnsRecordsRequestParams
- type ImportDnsRecordsResponse
- type ImportDnsRecordsResponseParams
- type IntelligenceRule
- type IntelligenceRuleItem
- type IpTableConfig
- type IpTableRule
- type Ipv6Access
- type L7OfflineLog
- type LoadBalancing
- type ManagedRule
- type MaxAge
- 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 ModifyOriginGroupRequest
- type ModifyOriginGroupRequestParams
- type ModifyOriginGroupResponse
- type ModifyOriginGroupResponseParams
- type ModifySecurityPolicyRequest
- type ModifySecurityPolicyRequestParams
- type ModifySecurityPolicyResponse
- type ModifySecurityPolicyResponseParams
- 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 OfflineCache
- type Origin
- type OriginCheckOriginStatus
- type OriginFilter
- type OriginGroup
- type OriginRecord
- type OriginRecordPrivateParameter
- type PortraitManagedRuleDetail
- type PostMaxSize
- type QueryCondition
- type QueryString
- type Quic
- type RateLimitConfig
- type RateLimitIntelligence
- type RateLimitTemplate
- type RateLimitTemplateDetail
- type RateLimitUserRule
- type ReclaimZoneRequest
- type ReclaimZoneRequestParams
- type ReclaimZoneResponse
- type ReclaimZoneResponseParams
- type Resource
- type ScanDnsRecordsRequest
- type ScanDnsRecordsRequestParams
- type ScanDnsRecordsResponse
- type ScanDnsRecordsResponseParams
- type SecEntry
- type SecEntryValue
- type SecRuleRelatedInfo
- type SecurityConfig
- type SecurityEntity
- type ServerCertInfo
- type ShieldArea
- type SmartRouting
- type Sv
- type SwitchConfig
- type Tag
- type Task
- type TimingDataItem
- type TimingDataRecord
- type TimingTypeValue
- type TopDataRecord
- type TopDetailData
- type TopNEntry
- type TopNEntryValue
- type UpstreamHttp2
- type VanityNameServers
- type VanityNameServersIps
- type WafConfig
- type WafRule
- type WebAttackEvent
- type WebEventData
- type WebLogData
- type WebLogs
- type WebSocket
- type Zone
- type ZoneFilter
Constants ¶
const ( // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 证书不存在。 FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" // 内部错误。 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_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" // 无效的节点缓存。 INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" // 证书信息错误。 INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" // 无效的客户端IP请求头。 INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" // 无效的源站。 INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" // 套餐包不支持最大上传大小。 INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" // 无效的请求头header。 INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" // 无套餐包。 INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" // 无效的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_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_DOMAINNOICP = "OperationDenied.DomainNoICP" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源被其他用户接入。 RESOURCEINUSE_OTHERS = "ResourceInUse.Others" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 证书不存在或未授权。 RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" // 域名不存在或未开启代理。 RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" // 站点不存在或不属于该账号。 RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" // Cam 未授权。 UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" // 鉴权错误。 UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty" // 子账户没有操作权限,请添加权限后继续操作。 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" )
const APIVersion = "2022-01-06"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLCondition ¶ added in v1.0.415
type ACLCondition struct {
// 匹配字段
MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`
// 匹配字符串
MatchParam *string `json:"MatchParam,omitempty" name:"MatchParam"`
// 匹配关系
Operator *string `json:"Operator,omitempty" name:"Operator"`
// 匹配内容
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
}
type ACLUserRule ¶ added in v1.0.415
type ACLUserRule struct {
// 规则名
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 动作
Action *string `json:"Action,omitempty" name:"Action"`
// 状态
RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`
// ACL规则
Conditions []*ACLCondition `json:"Conditions,omitempty" name:"Conditions"`
// 规则优先级
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封禁的惩罚时间
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// ip封禁的惩罚时间单位
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`
// 自定义返回页面的名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义返回页面的实例id
// 注意:此字段可能返回 null,表示取不到有效值。
PageId *int64 `json:"PageId,omitempty" name:"PageId"`
// 重定向时候的地址,必须为本用户接入的站点子域名
// 注意:此字段可能返回 null,表示取不到有效值。
RedirectUrl *string `json:"RedirectUrl,omitempty" name:"RedirectUrl"`
// 重定向时候的返回码
// 注意:此字段可能返回 null,表示取不到有效值。
ResponseCode *int64 `json:"ResponseCode,omitempty" name:"ResponseCode"`
}
type AclConfig ¶ added in v1.0.415
type AclConfig struct {
// 开关
Switch *string `json:"Switch,omitempty" name:"Switch"`
// ACL用户规则
UserRules []*ACLUserRule `json:"UserRules,omitempty" name:"UserRules"`
}
type AiRule ¶ added in v1.0.415
type AiRule struct {
// smart_status_close-关闭;smart_status_open-拦截处置;
// smart_status_observe-观察处置
// 注意:此字段可能返回 null,表示取不到有效值。
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
type ApplicationProxy ¶ added in v1.0.412
type ApplicationProxy struct {
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 当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"`
// 字段已经废弃。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 字段已经废弃。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 规则列表。
Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
// 状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用;</li>
// <li>progress:部署中;</li>
// <li>stopping:停用中;</li>
// <li>fail:部署失败/停用失败。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 调度信息。
ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"`
// 更新时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 会话保持时间。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// 当ProxyType=hostname时:
// 表示代理加速唯一标识。
HostId *string `json:"HostId,omitempty" name:"HostId"`
// Ipv6访问配置。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
// 默认值:overseas
Area *string `json:"Area,omitempty" name:"Area"`
// 封禁状态,取值有:
// <li>banned:已封禁;</li>
// <li>banning:封禁中;</li>
// <li>recover:已解封;</li>
// <li>recovering:解封禁中。</li>
BanStatus *string `json:"BanStatus,omitempty" name:"BanStatus"`
}
type ApplicationProxyRule ¶ added in v1.0.412
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>
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持,取值有:
// <li>true:开启;</li>
// <li>false:关闭。</li>
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
type BotConfig ¶ added in v1.0.415
type BotConfig struct {
// bot开关
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 预置规则
ManagedRule *BotManagedRule `json:"ManagedRule,omitempty" name:"ManagedRule"`
// 保留
UaBotRule *BotManagedRule `json:"UaBotRule,omitempty" name:"UaBotRule"`
// 保留
IspBotRule *BotManagedRule `json:"IspBotRule,omitempty" name:"IspBotRule"`
// 用户画像规则
PortraitRule *BotPortraitRule `json:"PortraitRule,omitempty" name:"PortraitRule"`
// Bot智能分析
// 注意:此字段可能返回 null,表示取不到有效值。
IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitempty" name:"IntelligenceRule"`
}
type BotLog ¶ added in v1.0.421
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"`
// 当前该字段无效 。
// 注意:此字段可能返回 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"`
// 该字段当前无效。
// 注意:此字段可能返回 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 BotLogData ¶ added in v1.0.421
type BotLogData struct {
// Bot攻击日志数据集合。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*BotLog `json:"List,omitempty" name:"List"`
// 分页拉取的起始页号。最小值:1。
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 分页拉取的最大返回结果数。最大值:1000。
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数。
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数。
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type BotManagedRule ¶ added in v1.0.415
type BotManagedRule struct {
// 想开启的规则id
// 注意:此字段可能返回 null,表示取不到有效值。
ManagedIds []*int64 `json:"ManagedIds,omitempty" name:"ManagedIds"`
// 本规则的id
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// drop/trans/monitor/alg
Action *string `json:"Action,omitempty" name:"Action"`
// ip封禁的惩罚时间
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// 单位
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`
// 自定义返回页面的名称
// 注意:此字段可能返回 null,表示取不到有效值。
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义返回页面的实例id
// 注意:此字段可能返回 null,表示取不到有效值。
PageId *int64 `json:"PageId,omitempty" name:"PageId"`
// 重定向时候的地址,必须为本用户接入的站点子域名,使用URLENCODE
// 注意:此字段可能返回 null,表示取不到有效值。
RedirectUrl *string `json:"RedirectUrl,omitempty" name:"RedirectUrl"`
// 重定向时候的返回码
// 注意:此字段可能返回 null,表示取不到有效值。
ResponseCode *int64 `json:"ResponseCode,omitempty" name:"ResponseCode"`
// 放行的规则ID
// 注意:此字段可能返回 null,表示取不到有效值。
TransManagedIds []*int64 `json:"TransManagedIds,omitempty" name:"TransManagedIds"`
// JS挑战的规则ID
// 注意:此字段可能返回 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 ¶ added in v1.0.415
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 ¶ added in v1.0.415
type BotPortraitRule struct {
// 本规则的id
// 注意:此字段可能返回 null,表示取不到有效值。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// JS挑战的规则ID
// 注意:此字段可能返回 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"`
// 本功能的开关
// 注意:此字段可能返回 null,表示取不到有效值。
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type CCInterceptEvent ¶ added in v1.0.421
type CCInterceptEvent struct {
// 客户端ip
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
// 拦截次数/min
// 注意:此字段可能返回 null,表示取不到有效值。
InterceptNum *int64 `json:"InterceptNum,omitempty" name:"InterceptNum"`
// 速拦截时间,分钟时间/min,单位为s
InterceptTime *int64 `json:"InterceptTime,omitempty" name:"InterceptTime"`
}
type CCInterceptEventData ¶ added in v1.0.421
type CCInterceptEventData struct {
// 攻击事件数据集合
// 注意:此字段可能返回 null,表示取不到有效值。
List []*CCInterceptEvent `json:"List,omitempty" name:"List"`
// 当前页
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 每页展示条数
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type CCLog ¶ added in v1.0.421
type CCLog struct {
// 攻击请求时间,采用unix秒级时间戳。
AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`
// 客户端ip。
AttackSip *string `json:"AttackSip,omitempty" name:"AttackSip"`
// 受攻击域名。
AttackDomain *string `json:"AttackDomain,omitempty" name:"AttackDomain"`
// URI。
RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`
// 命中次数。
HitCount *uint64 `json:"HitCount,omitempty" name:"HitCount"`
// 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"`
// 当前该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`
// 当前该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"`
// 当前该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`
// User Agent,仅自定义规则日志中存在。
// 注意:此字段可能返回 null,表示取不到有效值。
Ua *string `json:"Ua,omitempty" name:"Ua"`
// 请求方法,仅自定义规则日志中存在。
// 注意:此字段可能返回 null,表示取不到有效值。
RequestMethod *string `json:"RequestMethod,omitempty" name:"RequestMethod"`
// 规则信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`
}
type CCLogData ¶ added in v1.0.421
type CCLogData struct {
// CC拦截日志数据集合。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*CCLog `json:"List,omitempty" name:"List"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type CacheConfig ¶ added in v1.0.412
type CacheConfig struct {
// 缓存配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Cache *CacheConfigCache `json:"Cache,omitempty" name:"Cache"`
// 不缓存配置。
// 注意:此字段可能返回 null,表示取不到有效值。
NoCache *CacheConfigNoCache `json:"NoCache,omitempty" name:"NoCache"`
// 遵循源站配置。
// 注意:此字段可能返回 null,表示取不到有效值。
FollowOrigin *CacheConfigFollowOrigin `json:"FollowOrigin,omitempty" name:"FollowOrigin"`
}
type CacheConfigCache ¶ added in v1.0.412
type CacheConfigCache 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 CacheConfigFollowOrigin ¶ added in v1.0.412
type CacheConfigFollowOrigin struct {
// 遵循源站配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type CacheConfigNoCache ¶ added in v1.0.412
type CacheConfigNoCache struct {
// 不缓存配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type CacheKey ¶ added in v1.0.412
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 ¶ added in v1.0.429
type CertFilter ¶ added in v1.0.412
type CertFilter struct {
// 过滤字段名,支持的列表如下:
// - host:域名。
// - certId: 证书ID
// - certAlias: 证书备用名
// - certType: default: 默认证书, upload: 上传证书, managed:腾讯云证书
Name *string `json:"Name,omitempty" name:"Name"`
// 过滤字段值
Values []*string `json:"Values,omitempty" name:"Values"`
// 是否启用模糊查询,仅支持过滤字段名host。
// 模糊查询时,Value长度最大为1。
Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}
type CheckCertificateRequest ¶ added in v1.0.412
type CheckCertificateRequest struct {
*tchttp.BaseRequest
// 证书
Certificate *string `json:"Certificate,omitempty" name:"Certificate"`
// 私钥
PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}
func NewCheckCertificateRequest ¶ added in v1.0.412
func NewCheckCertificateRequest() (request *CheckCertificateRequest)
func (*CheckCertificateRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CheckCertificateRequest) ToJsonString() string
type CheckCertificateRequestParams ¶ added in v1.0.426
type CheckCertificateRequestParams struct {
// 证书
Certificate *string `json:"Certificate,omitempty" name:"Certificate"`
// 私钥
PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"`
}
Predefined struct for user
type CheckCertificateResponse ¶ added in v1.0.412
type CheckCertificateResponse struct {
*tchttp.BaseResponse
Response *CheckCertificateResponseParams `json:"Response"`
}
func NewCheckCertificateResponse ¶ added in v1.0.412
func NewCheckCertificateResponse() (response *CheckCertificateResponse)
func (*CheckCertificateResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CheckCertificateResponse) ToJsonString() string
type CheckCertificateResponseParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
func (c *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate 校验证书
可能返回的错误码:
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CheckCertificateWithContext ¶ added in v1.0.412
func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate 校验证书
可能返回的错误码:
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateApplicationProxy ¶ added in v1.0.412
func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy 创建应用代理
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRule ¶ added in v1.0.412
func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule 创建应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) CreateApplicationProxyRuleWithContext ¶ added in v1.0.412
func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule 创建应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) CreateApplicationProxyRules ¶ added in v1.0.412
func (c *Client) CreateApplicationProxyRules(request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)
CreateApplicationProxyRules 批量创建应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) CreateApplicationProxyRulesWithContext ¶ added in v1.0.412
func (c *Client) CreateApplicationProxyRulesWithContext(ctx context.Context, request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)
CreateApplicationProxyRules 批量创建应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) CreateApplicationProxyWithContext ¶ added in v1.0.412
func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy 创建应用代理
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateCustomErrorPage ¶ added in v1.0.415
func (c *Client) CreateCustomErrorPage(request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
CreateCustomErrorPage 创建自定义规则的自定义页
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) CreateCustomErrorPageWithContext ¶ added in v1.0.415
func (c *Client) CreateCustomErrorPageWithContext(ctx context.Context, request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
CreateCustomErrorPage 创建自定义规则的自定义页
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) CreateDnsRecord ¶ added in v1.0.412
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 ¶ added in v1.0.412
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) CreateLoadBalancing ¶ added in v1.0.412
func (c *Client) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
CreateLoadBalancing 创建负载均衡
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateLoadBalancingWithContext ¶ added in v1.0.412
func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
CreateLoadBalancing 创建负载均衡
可能返回的错误码:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateOriginGroup ¶ added in v1.0.415
func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup 源站组创建
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateOriginGroupWithContext ¶ added in v1.0.415
func (c *Client) CreateOriginGroupWithContext(ctx context.Context, request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup 源站组创建
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePrefetchTask ¶ added in v1.0.394
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 ¶ added in v1.0.394
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) CreateZone ¶ added in v1.0.412
func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone 用于用户接入新的站点
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateZoneWithContext ¶ added in v1.0.412
func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone 用于用户接入新的站点
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteApplicationProxy ¶ added in v1.0.412
func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 删除应用代理
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteApplicationProxyRule ¶ added in v1.0.412
func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 删除应用代理规则
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteApplicationProxyRuleWithContext ¶ added in v1.0.412
func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 删除应用代理规则
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteApplicationProxyWithContext ¶ added in v1.0.412
func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 删除应用代理
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteDnsRecords ¶ added in v1.0.412
func (c *Client) DeleteDnsRecords(request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
DeleteDnsRecords 批量删除 DNS 记录
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDnsRecordsWithContext ¶ added in v1.0.412
func (c *Client) DeleteDnsRecordsWithContext(ctx context.Context, request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
DeleteDnsRecords 批量删除 DNS 记录
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteLoadBalancing ¶ added in v1.0.412
func (c *Client) DeleteLoadBalancing(request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
DeleteLoadBalancing 删除负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteLoadBalancingWithContext ¶ added in v1.0.412
func (c *Client) DeleteLoadBalancingWithContext(ctx context.Context, request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
DeleteLoadBalancing 删除负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteOriginGroup ¶ added in v1.0.415
func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup 源站组删除
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteOriginGroupWithContext ¶ added in v1.0.415
func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup 源站组删除
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteZone ¶ added in v1.0.412
func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteZoneWithContext ¶ added in v1.0.412
func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeApplicationProxy ¶ added in v1.0.412
func (c *Client) DescribeApplicationProxy(request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)
DescribeApplicationProxy 获取应用代理列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeApplicationProxyDetail ¶ added in v1.0.412
func (c *Client) DescribeApplicationProxyDetail(request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)
DescribeApplicationProxyDetail 获取应用代理详细信息
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeApplicationProxyDetailWithContext ¶ added in v1.0.412
func (c *Client) DescribeApplicationProxyDetailWithContext(ctx context.Context, request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)
DescribeApplicationProxyDetail 获取应用代理详细信息
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeApplicationProxyWithContext ¶ added in v1.0.412
func (c *Client) DescribeApplicationProxyWithContext(ctx context.Context, request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)
DescribeApplicationProxy 获取应用代理列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBotLog ¶ added in v1.0.421
func (c *Client) DescribeBotLog(request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
DescribeBotLog 查询Bot攻击日志
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeBotLogWithContext ¶ added in v1.0.421
func (c *Client) DescribeBotLogWithContext(ctx context.Context, request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
DescribeBotLog 查询Bot攻击日志
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeBotManagedRules ¶ added in v1.0.415
func (c *Client) DescribeBotManagedRules(request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
DescribeBotManagedRules 分页查询Bot托管规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeBotManagedRulesWithContext ¶ added in v1.0.415
func (c *Client) DescribeBotManagedRulesWithContext(ctx context.Context, request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
DescribeBotManagedRules 分页查询Bot托管规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeCnameStatus ¶ added in v1.0.412
func (c *Client) DescribeCnameStatus(request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)
DescribeCnameStatus 查询域名 CNAME 状态
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeCnameStatusWithContext ¶ added in v1.0.412
func (c *Client) DescribeCnameStatusWithContext(ctx context.Context, request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)
DescribeCnameStatus 查询域名 CNAME 状态
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSPolicy ¶ added in v1.0.415
func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy 查询DDoS防护配置详情
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSPolicyWithContext ¶ added in v1.0.415
func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy 查询DDoS防护配置详情
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackData ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackData(request *DescribeDDosAttackDataRequest) (response *DescribeDDosAttackDataResponse, err error)
DescribeDDosAttackData 查询DDos攻击时序数据
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackDataWithContext(ctx context.Context, request *DescribeDDosAttackDataRequest) (response *DescribeDDosAttackDataResponse, err error)
DescribeDDosAttackData 查询DDos攻击时序数据
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEvent ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackEvent(request *DescribeDDosAttackEventRequest) (response *DescribeDDosAttackEventResponse, err error)
DescribeDDosAttackEvent 查询DDos攻击事件
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEventDetail ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackEventDetail(request *DescribeDDosAttackEventDetailRequest) (response *DescribeDDosAttackEventDetailResponse, err error)
DescribeDDosAttackEventDetail 查询DDos攻击事件详情
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEventDetailWithContext ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackEventDetailWithContext(ctx context.Context, request *DescribeDDosAttackEventDetailRequest) (response *DescribeDDosAttackEventDetailResponse, err error)
DescribeDDosAttackEventDetail 查询DDos攻击事件详情
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEventWithContext ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackEventWithContext(ctx context.Context, request *DescribeDDosAttackEventRequest) (response *DescribeDDosAttackEventResponse, err error)
DescribeDDosAttackEvent 查询DDos攻击事件
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackSourceEvent ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackSourceEvent(request *DescribeDDosAttackSourceEventRequest) (response *DescribeDDosAttackSourceEventResponse, err error)
DescribeDDosAttackSourceEvent 查询DDos攻击源信息
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackSourceEventWithContext ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackSourceEventWithContext(ctx context.Context, request *DescribeDDosAttackSourceEventRequest) (response *DescribeDDosAttackSourceEventResponse, err error)
DescribeDDosAttackSourceEvent 查询DDos攻击源信息
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackTopData ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackTopData(request *DescribeDDosAttackTopDataRequest) (response *DescribeDDosAttackTopDataResponse, err error)
DescribeDDosAttackTopData 查询DDos攻击Top数据
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackTopDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeDDosAttackTopDataWithContext(ctx context.Context, request *DescribeDDosAttackTopDataRequest) (response *DescribeDDosAttackTopDataResponse, err error)
DescribeDDosAttackTopData 查询DDos攻击Top数据
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosMajorAttackEvent ¶ added in v1.0.421
func (c *Client) DescribeDDosMajorAttackEvent(request *DescribeDDosMajorAttackEventRequest) (response *DescribeDDosMajorAttackEventResponse, err error)
DescribeDDosMajorAttackEvent 查询DDos主攻击事件
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosMajorAttackEventWithContext ¶ added in v1.0.421
func (c *Client) DescribeDDosMajorAttackEventWithContext(ctx context.Context, request *DescribeDDosMajorAttackEventRequest) (response *DescribeDDosMajorAttackEventResponse, err error)
DescribeDDosMajorAttackEvent 查询DDos主攻击事件
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDefaultCertificates ¶ added in v1.0.412
func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates 查询默认证书列表
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDefaultCertificatesWithContext ¶ added in v1.0.412
func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates 查询默认证书列表
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDnsData ¶ added in v1.0.412
func (c *Client) DescribeDnsData(request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData 获取DNS请求数统计曲线
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsDataWithContext ¶ added in v1.0.412
func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData 获取DNS请求数统计曲线
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsRecords ¶ added in v1.0.412
func (c *Client) DescribeDnsRecords(request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
DescribeDnsRecords 查询 DNS 记录列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsRecordsWithContext ¶ added in v1.0.412
func (c *Client) DescribeDnsRecordsWithContext(ctx context.Context, request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
DescribeDnsRecords 查询 DNS 记录列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnssec ¶ added in v1.0.412
func (c *Client) DescribeDnssec(request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
DescribeDnssec 用于查询 DNSSEC 相关信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnssecWithContext ¶ added in v1.0.412
func (c *Client) DescribeDnssecWithContext(ctx context.Context, request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
DescribeDnssec 用于查询 DNSSEC 相关信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeHostsCertificate ¶ added in v1.0.412
func (c *Client) DescribeHostsCertificate(request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)
DescribeHostsCertificate 查询域名证书列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsCertificateWithContext ¶ added in v1.0.412
func (c *Client) DescribeHostsCertificateWithContext(ctx context.Context, request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)
DescribeHostsCertificate 查询域名证书列表,支持搜索、分页、排序、过滤。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsSetting ¶ added in v1.0.412
func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsSettingWithContext ¶ added in v1.0.412
func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeIdentification ¶ added in v1.0.412
func (c *Client) DescribeIdentification(request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)
DescribeIdentification 查询验证结果
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeIdentificationWithContext ¶ added in v1.0.412
func (c *Client) DescribeIdentificationWithContext(ctx context.Context, request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)
DescribeIdentification 查询验证结果
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancing ¶ added in v1.0.412
func (c *Client) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
DescribeLoadBalancing 获取负载均衡列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeLoadBalancingDetail ¶ added in v1.0.412
func (c *Client) DescribeLoadBalancingDetail(request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)
DescribeLoadBalancingDetail 获取负载均衡详细信息
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancingDetailWithContext ¶ added in v1.0.412
func (c *Client) DescribeLoadBalancingDetailWithContext(ctx context.Context, request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)
DescribeLoadBalancingDetail 获取负载均衡详细信息
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancingWithContext ¶ added in v1.0.412
func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
DescribeLoadBalancing 获取负载均衡列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeOriginGroup ¶ added in v1.0.415
func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组信息列表
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOriginGroupDetail ¶ added in v1.0.415
func (c *Client) DescribeOriginGroupDetail(request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)
DescribeOriginGroupDetail 获取源站组详细信息
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOriginGroupDetailWithContext ¶ added in v1.0.415
func (c *Client) DescribeOriginGroupDetailWithContext(ctx context.Context, request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)
DescribeOriginGroupDetail 获取源站组详细信息
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOriginGroupWithContext ¶ added in v1.0.415
func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组信息列表
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOverviewL7Data ¶ added in v1.0.421
func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 查询七层监控类时序流量数据
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeOverviewL7DataWithContext ¶ added in v1.0.421
func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 查询七层监控类时序流量数据
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribePrefetchTasks ¶ added in v1.0.394
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 ¶ added in v1.0.394
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) DescribeSecurityPolicy ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicy(request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
DescribeSecurityPolicy 查询安全防护配置详情
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicyList ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyList(request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
DescribeSecurityPolicyList 查询全部安全实例
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyListWithContext ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyListWithContext(ctx context.Context, request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
DescribeSecurityPolicyList 查询全部安全实例
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyManagedRules ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyManagedRules(request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)
DescribeSecurityPolicyManagedRules 分页查询门神规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyManagedRulesId ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyManagedRulesId(request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)
DescribeSecurityPolicyManagedRulesId 规则id查询门神规则详情
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyManagedRulesIdWithContext ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyManagedRulesIdWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)
DescribeSecurityPolicyManagedRulesId 规则id查询门神规则详情
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyManagedRulesWithContext ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyManagedRulesWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)
DescribeSecurityPolicyManagedRules 分页查询门神规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyRegions ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyRegions(request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
DescribeSecurityPolicyRegions 查询所有地域信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicyRegionsWithContext ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyRegionsWithContext(ctx context.Context, request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
DescribeSecurityPolicyRegions 查询所有地域信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicyWithContext ¶ added in v1.0.415
func (c *Client) DescribeSecurityPolicyWithContext(ctx context.Context, request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
DescribeSecurityPolicy 查询安全防护配置详情
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPortraitRules ¶ added in v1.0.419
func (c *Client) DescribeSecurityPortraitRules(request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
DescribeSecurityPortraitRules 查询Bot用户画像规则
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPortraitRulesWithContext ¶ added in v1.0.419
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) DescribeTimingL4Data ¶ added in v1.0.421
func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data 四层时序流量数据查询
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL4DataWithContext ¶ added in v1.0.421
func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data 四层时序流量数据查询
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisData ¶ added in v1.0.421
func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData 查询七层数据分析类时序流量数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData 查询七层数据分析类时序流量数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheData ¶ added in v1.0.422
func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData 七层查询缓存分析时序类流量数据
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheDataWithContext ¶ added in v1.0.422
func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData 七层查询缓存分析时序类流量数据
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisData ¶ added in v1.0.421
func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData 查询top类流量数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData 查询top类流量数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheData ¶ added in v1.0.422
func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData 七层查询缓存分析top类流量数据
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheDataWithContext ¶ added in v1.0.422
func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData 七层查询缓存分析top类流量数据
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesAttackEvents ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesAttackEvents(request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)
DescribeWebManagedRulesAttackEvents 查询Web托管攻击事件
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesAttackEventsWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesAttackEventsWithContext(ctx context.Context, request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)
DescribeWebManagedRulesAttackEvents 查询Web托管攻击事件
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesData ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesData(request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData 查询waf攻击时序数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesDataWithContext(ctx context.Context, request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData 查询waf攻击时序数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesLog ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog 查询waf攻击日志
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesLogWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog 查询waf攻击日志
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesTopData ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesTopData(request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)
DescribeWebManagedRulesTopData 查询waf攻击top数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesTopDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebManagedRulesTopDataWithContext(ctx context.Context, request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)
DescribeWebManagedRulesTopData 查询waf攻击top数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionAttackEvents ¶ added in v1.0.421
func (c *Client) DescribeWebProtectionAttackEvents(request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
DescribeWebProtectionAttackEvents 查询web防护攻击事件
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionAttackEventsWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebProtectionAttackEventsWithContext(ctx context.Context, request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
DescribeWebProtectionAttackEvents 查询web防护攻击事件
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionData ¶ added in v1.0.421
func (c *Client) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData 查询CC防护时序数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionDataWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData 查询CC防护时序数据
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionLog ¶ added in v1.0.421
func (c *Client) DescribeWebProtectionLog(request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)
DescribeWebProtectionLog 查询CC防护日志
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionLogWithContext ¶ added in v1.0.421
func (c *Client) DescribeWebProtectionLogWithContext(ctx context.Context, request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)
DescribeWebProtectionLog 查询CC防护日志
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDDoSPolicy ¶ added in v1.0.415
func (c *Client) DescribeZoneDDoSPolicy(request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)
DescribeZoneDDoSPolicy 查询所有DDoS防护分区
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDDoSPolicyWithContext ¶ added in v1.0.415
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) DescribeZoneDetails ¶ added in v1.0.412
func (c *Client) DescribeZoneDetails(request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)
DescribeZoneDetails 根据站点 ID 查询站点的详细信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDetailsWithContext ¶ added in v1.0.412
func (c *Client) DescribeZoneDetailsWithContext(ctx context.Context, request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)
DescribeZoneDetails 根据站点 ID 查询站点的详细信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneSetting ¶ added in v1.0.412
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 ¶ added in v1.0.412
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 ¶ added in v1.0.393
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 用户查询用户站点信息列表,支持分页
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeZonesWithContext ¶ added in v1.0.393
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) DownloadL7Logs ¶ added in v1.0.401
func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs 查询七层离线日志
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DownloadL7LogsWithContext ¶ added in v1.0.401
func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs 查询七层离线日志
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZone ¶ added in v1.0.412
func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone 用于验证站点所有权
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZoneWithContext ¶ added in v1.0.412
func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone 用于验证站点所有权
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ImportDnsRecords ¶ added in v1.0.412
func (c *Client) ImportDnsRecords(request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)
ImportDnsRecords 导入 DNS 记录
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ImportDnsRecordsWithContext ¶ added in v1.0.412
func (c *Client) ImportDnsRecordsWithContext(ctx context.Context, request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)
ImportDnsRecords 导入 DNS 记录
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxy ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy 修改应用代理
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRule ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule 修改应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyRuleStatus ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus 修改应用代理规则的状态
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyRuleStatusWithContext ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus 修改应用代理规则的状态
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyRuleWithContext ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule 修改应用代理规则
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyStatus ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 修改应用代理的状态
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyStatusWithContext ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 修改应用代理的状态
可能返回的错误码:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyWithContext ¶ added in v1.0.412
func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy 修改应用代理
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDDoSPolicy ¶ added in v1.0.415
func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy 修改DDoS防护分区配置
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifyDDoSPolicyHost ¶ added in v1.0.415
func (c *Client) ModifyDDoSPolicyHost(request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
ModifyDDoSPolicyHost 域名DDoS高可用开关
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDDoSPolicyHostWithContext ¶ added in v1.0.415
func (c *Client) ModifyDDoSPolicyHostWithContext(ctx context.Context, request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
ModifyDDoSPolicyHost 域名DDoS高可用开关
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDDoSPolicyWithContext ¶ added in v1.0.415
func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy 修改DDoS防护分区配置
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) ModifyDefaultCertificate ¶ added in v1.0.412
func (c *Client) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate 修改默认证书状态
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDefaultCertificateWithContext ¶ added in v1.0.412
func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate 修改默认证书状态
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDnsRecord ¶ added in v1.0.412
func (c *Client) ModifyDnsRecord(request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
ModifyDnsRecord 修改 DNS 记录
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyDnsRecordWithContext ¶ added in v1.0.412
func (c *Client) ModifyDnsRecordWithContext(ctx context.Context, request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
ModifyDnsRecord 修改 DNS 记录
可能返回的错误码:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyDnssec ¶ added in v1.0.412
func (c *Client) ModifyDnssec(request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
ModifyDnssec 修改 DNSSEC 状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDnssecWithContext ¶ added in v1.0.412
func (c *Client) ModifyDnssecWithContext(ctx context.Context, request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
ModifyDnssec 修改 DNSSEC 状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyHostsCertificate ¶ added in v1.0.412
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 ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (c *Client) ModifyLoadBalancing(request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
ModifyLoadBalancing 修改负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingStatus ¶ added in v1.0.412
func (c *Client) ModifyLoadBalancingStatus(request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
ModifyLoadBalancingStatus 修改负载均衡状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingStatusWithContext ¶ added in v1.0.412
func (c *Client) ModifyLoadBalancingStatusWithContext(ctx context.Context, request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
ModifyLoadBalancingStatus 修改负载均衡状态
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingWithContext ¶ added in v1.0.412
func (c *Client) ModifyLoadBalancingWithContext(ctx context.Context, request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
ModifyLoadBalancing 修改负载均衡
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyOriginGroup ¶ added in v1.0.415
func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 源站组修改
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyOriginGroupWithContext ¶ added in v1.0.415
func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 源站组修改
可能返回的错误码:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifySecurityPolicy ¶ added in v1.0.415
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifySecurityPolicyWithContext ¶ added in v1.0.415
func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyZone ¶ added in v1.0.412
func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 用该站点信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneCnameSpeedUp ¶ added in v1.0.412
func (c *Client) ModifyZoneCnameSpeedUp(request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
ModifyZoneCnameSpeedUp 开启,关闭 CNAME 加速
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneCnameSpeedUpWithContext ¶ added in v1.0.412
func (c *Client) ModifyZoneCnameSpeedUpWithContext(ctx context.Context, request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
ModifyZoneCnameSpeedUp 开启,关闭 CNAME 加速
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneSetting ¶ added in v1.0.412
func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting 用于修改站点配置
可能返回的错误码:
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 ¶ added in v1.0.412
func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting 用于修改站点配置
可能返回的错误码:
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 ¶ added in v1.0.412
func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneStatusWithContext ¶ added in v1.0.412
func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneWithContext ¶ added in v1.0.412
func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 用该站点信息
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ReclaimZone ¶ added in v1.0.412
func (c *Client) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ReclaimZoneWithContext ¶ added in v1.0.412
func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone 站点被其他用户接入后,验证了站点所有权之后,可以找回该站点
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ScanDnsRecords ¶ added in v1.0.412
func (c *Client) ScanDnsRecords(request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)
ScanDnsRecords 扫描站点历史解析记录
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ScanDnsRecordsWithContext ¶ added in v1.0.412
func (c *Client) ScanDnsRecordsWithContext(ctx context.Context, request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)
ScanDnsRecords 扫描站点历史解析记录
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
type CnameStatus ¶ added in v1.0.412
type Compression ¶ added in v1.0.412
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 CreateApplicationProxyRequest ¶ added in v1.0.412
type CreateApplicationProxyRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 当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"`
// 字段已经废弃。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 字段已经废弃。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 规则详细信息。
Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
// 四层代理模式,取值有:
// <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 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
}
func NewCreateApplicationProxyRequest ¶ added in v1.0.412
func NewCreateApplicationProxyRequest() (request *CreateApplicationProxyRequest)
func (*CreateApplicationProxyRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateApplicationProxyRequest) ToJsonString() string
type CreateApplicationProxyRequestParams ¶ added in v1.0.426
type CreateApplicationProxyRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 当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"`
// 字段已经废弃。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 字段已经废弃。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 规则详细信息。
Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
// 四层代理模式,取值有:
// <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 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
}
Predefined struct for user
type CreateApplicationProxyResponse ¶ added in v1.0.412
type CreateApplicationProxyResponse struct {
*tchttp.BaseResponse
Response *CreateApplicationProxyResponseParams `json:"Response"`
}
func NewCreateApplicationProxyResponse ¶ added in v1.0.412
func NewCreateApplicationProxyResponse() (response *CreateApplicationProxyResponse)
func (*CreateApplicationProxyResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateApplicationProxyResponse) ToJsonString() string
type CreateApplicationProxyResponseParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
type CreateApplicationProxyRuleRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 协议,取值为TCP或者UDP
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// 80:80端口
// 81-90:81至90端口
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值:
// custom:手动添加
// origins:源站组
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// 当OriginType=custom时,表示多个:
// IP:端口
// 域名:端口
// 当OriginType=origins时,包含一个元素,表示源站组ID
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,当Proto=TCP时,取值:
// TOA:TOA
// PPV1: Proxy Protocol传递,协议版本V1
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
// 当Proto=UDP时,取值:
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
func NewCreateApplicationProxyRuleRequest ¶ added in v1.0.412
func NewCreateApplicationProxyRuleRequest() (request *CreateApplicationProxyRuleRequest)
func (*CreateApplicationProxyRuleRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateApplicationProxyRuleRequest) ToJsonString() string
type CreateApplicationProxyRuleRequestParams ¶ added in v1.0.426
type CreateApplicationProxyRuleRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 协议,取值为TCP或者UDP
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// 80:80端口
// 81-90:81至90端口
Port []*string `json:"Port,omitempty" name:"Port"`
// 源站类型,取值:
// custom:手动添加
// origins:源站组
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 源站信息:
// 当OriginType=custom时,表示多个:
// IP:端口
// 域名:端口
// 当OriginType=origins时,包含一个元素,表示源站组ID
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,当Proto=TCP时,取值:
// TOA:TOA
// PPV1: Proxy Protocol传递,协议版本V1
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
// 当Proto=UDP时,取值:
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
Predefined struct for user
type CreateApplicationProxyRuleResponse ¶ added in v1.0.412
type CreateApplicationProxyRuleResponse struct {
*tchttp.BaseResponse
Response *CreateApplicationProxyRuleResponseParams `json:"Response"`
}
func NewCreateApplicationProxyRuleResponse ¶ added in v1.0.412
func NewCreateApplicationProxyRuleResponse() (response *CreateApplicationProxyRuleResponse)
func (*CreateApplicationProxyRuleResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateApplicationProxyRuleResponse) ToJsonString() string
type CreateApplicationProxyRuleResponseParams ¶ added in v1.0.426
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 CreateApplicationProxyRulesRequest ¶ added in v1.0.412
type CreateApplicationProxyRulesRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则列表
Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
}
func NewCreateApplicationProxyRulesRequest ¶ added in v1.0.412
func NewCreateApplicationProxyRulesRequest() (request *CreateApplicationProxyRulesRequest)
func (*CreateApplicationProxyRulesRequest) FromJsonString ¶ added in v1.0.412
func (r *CreateApplicationProxyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRulesRequest) ToJsonString ¶ added in v1.0.412
func (r *CreateApplicationProxyRulesRequest) ToJsonString() string
type CreateApplicationProxyRulesRequestParams ¶ added in v1.0.426
type CreateApplicationProxyRulesRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 规则列表
Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
}
Predefined struct for user
type CreateApplicationProxyRulesResponse ¶ added in v1.0.412
type CreateApplicationProxyRulesResponse struct {
*tchttp.BaseResponse
Response *CreateApplicationProxyRulesResponseParams `json:"Response"`
}
func NewCreateApplicationProxyRulesResponse ¶ added in v1.0.412
func NewCreateApplicationProxyRulesResponse() (response *CreateApplicationProxyRulesResponse)
func (*CreateApplicationProxyRulesResponse) FromJsonString ¶ added in v1.0.412
func (r *CreateApplicationProxyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRulesResponse) ToJsonString ¶ added in v1.0.412
func (r *CreateApplicationProxyRulesResponse) ToJsonString() string
type CreateApplicationProxyRulesResponseParams ¶ added in v1.0.426
type CreateApplicationProxyRulesResponseParams struct {
// 新增的规则ID数组
RuleId []*string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateCustomErrorPageRequest ¶ added in v1.0.415
type CreateCustomErrorPageRequest struct {
*tchttp.BaseRequest
// zone的id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 具体所属实体
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 自定义页面的文件名
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义页面的内容
Content *string `json:"Content,omitempty" name:"Content"`
}
func NewCreateCustomErrorPageRequest ¶ added in v1.0.415
func NewCreateCustomErrorPageRequest() (request *CreateCustomErrorPageRequest)
func (*CreateCustomErrorPageRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *CreateCustomErrorPageRequest) ToJsonString() string
type CreateCustomErrorPageRequestParams ¶ added in v1.0.426
type CreateCustomErrorPageRequestParams struct {
// zone的id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 具体所属实体
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 自定义页面的文件名
Name *string `json:"Name,omitempty" name:"Name"`
// 自定义页面的内容
Content *string `json:"Content,omitempty" name:"Content"`
}
Predefined struct for user
type CreateCustomErrorPageResponse ¶ added in v1.0.415
type CreateCustomErrorPageResponse struct {
*tchttp.BaseResponse
Response *CreateCustomErrorPageResponseParams `json:"Response"`
}
func NewCreateCustomErrorPageResponse ¶ added in v1.0.415
func NewCreateCustomErrorPageResponse() (response *CreateCustomErrorPageResponse)
func (*CreateCustomErrorPageResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *CreateCustomErrorPageResponse) ToJsonString() string
type CreateCustomErrorPageResponseParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
type CreateDnsRecordRequest struct {
*tchttp.BaseRequest
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 记录名
Name *string `json:"Name,omitempty" name:"Name"`
// 记录内容
Content *string `json:"Content,omitempty" name:"Content"`
// 代理模式,可选值:dns_only, cdn_only, secure_cdn
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 生存时间值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}
func NewCreateDnsRecordRequest ¶ added in v1.0.412
func NewCreateDnsRecordRequest() (request *CreateDnsRecordRequest)
func (*CreateDnsRecordRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateDnsRecordRequest) ToJsonString() string
type CreateDnsRecordRequestParams ¶ added in v1.0.426
type CreateDnsRecordRequestParams struct {
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 记录名
Name *string `json:"Name,omitempty" name:"Name"`
// 记录内容
Content *string `json:"Content,omitempty" name:"Content"`
// 代理模式,可选值:dns_only, cdn_only, secure_cdn
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 生存时间值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
}
Predefined struct for user
type CreateDnsRecordResponse ¶ added in v1.0.412
type CreateDnsRecordResponse struct {
*tchttp.BaseResponse
Response *CreateDnsRecordResponseParams `json:"Response"`
}
func NewCreateDnsRecordResponse ¶ added in v1.0.412
func NewCreateDnsRecordResponse() (response *CreateDnsRecordResponse)
func (*CreateDnsRecordResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateDnsRecordResponse) ToJsonString() string
type CreateDnsRecordResponseParams ¶ added in v1.0.426
type CreateDnsRecordResponseParams struct {
// 记录 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 记录名称
Name *string `json:"Name,omitempty" name:"Name"`
// 记录内容
Content *string `json:"Content,omitempty" name:"Content"`
// 生存时间值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 代理模式
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 解析状态
// active: 生效
// pending: 不生效
Status *string `json:"Status,omitempty" name:"Status"`
// 已锁定
Locked *bool `json:"Locked,omitempty" name:"Locked"`
// 创建时间
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 修改时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// CNAME 地址
// 注意:此字段可能返回 null,表示取不到有效值。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreateLoadBalancingRequest ¶ added in v1.0.412
type CreateLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名
Host *string `json:"Host,omitempty" name:"Host"`
// 代理模式:
// dns_only: 仅DNS
// proxied: 开启代理
Type *string `json:"Type,omitempty" name:"Type"`
// 使用的源站组ID
OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`
// 当Type=dns_only表示DNS的TTL时间
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}
func NewCreateLoadBalancingRequest ¶ added in v1.0.412
func NewCreateLoadBalancingRequest() (request *CreateLoadBalancingRequest)
func (*CreateLoadBalancingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateLoadBalancingRequest) ToJsonString() string
type CreateLoadBalancingRequestParams ¶ added in v1.0.426
type CreateLoadBalancingRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名
Host *string `json:"Host,omitempty" name:"Host"`
// 代理模式:
// dns_only: 仅DNS
// proxied: 开启代理
Type *string `json:"Type,omitempty" name:"Type"`
// 使用的源站组ID
OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`
// 当Type=dns_only表示DNS的TTL时间
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}
Predefined struct for user
type CreateLoadBalancingResponse ¶ added in v1.0.412
type CreateLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *CreateLoadBalancingResponseParams `json:"Response"`
}
func NewCreateLoadBalancingResponse ¶ added in v1.0.412
func NewCreateLoadBalancingResponse() (response *CreateLoadBalancingResponse)
func (*CreateLoadBalancingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateLoadBalancingResponse) ToJsonString() string
type CreateLoadBalancingResponseParams ¶ added in v1.0.426
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 CreateOriginGroupRequest ¶ added in v1.0.415
type CreateOriginGroupRequest struct {
*tchttp.BaseRequest
// 源站组名称
OriginName *string `json:"OriginName,omitempty" name:"OriginName"`
// 配置类型,当OriginType=self 时,需要填写:
// area: 按区域配置
// weight: 按权重配置
// 当OriginType=third_party/cos 时,不需要填写
Type *string `json:"Type,omitempty" name:"Type"`
// 源站记录
Record []*OriginRecord `json:"Record,omitempty" name:"Record"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站类型
// self:自有源站
// third_party:第三方源站
// cos:腾讯云COS源站
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
}
func NewCreateOriginGroupRequest ¶ added in v1.0.415
func NewCreateOriginGroupRequest() (request *CreateOriginGroupRequest)
func (*CreateOriginGroupRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *CreateOriginGroupRequest) ToJsonString() string
type CreateOriginGroupRequestParams ¶ added in v1.0.426
type CreateOriginGroupRequestParams struct {
// 源站组名称
OriginName *string `json:"OriginName,omitempty" name:"OriginName"`
// 配置类型,当OriginType=self 时,需要填写:
// area: 按区域配置
// weight: 按权重配置
// 当OriginType=third_party/cos 时,不需要填写
Type *string `json:"Type,omitempty" name:"Type"`
// 源站记录
Record []*OriginRecord `json:"Record,omitempty" name:"Record"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站类型
// self:自有源站
// third_party:第三方源站
// cos:腾讯云COS源站
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
}
Predefined struct for user
type CreateOriginGroupResponse ¶ added in v1.0.415
type CreateOriginGroupResponse struct {
*tchttp.BaseResponse
Response *CreateOriginGroupResponseParams `json:"Response"`
}
func NewCreateOriginGroupResponse ¶ added in v1.0.415
func NewCreateOriginGroupResponse() (response *CreateOriginGroupResponse)
func (*CreateOriginGroupResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *CreateOriginGroupResponse) ToJsonString() string
type CreateOriginGroupResponseParams ¶ added in v1.0.426
type CreateOriginGroupResponseParams struct {
// 新增的源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type CreatePrefetchTaskRequest ¶ added in v1.0.394
type CreatePrefetchTaskRequest struct {
*tchttp.BaseRequest
// Zone 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 ¶ added in v1.0.394
func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)
func (*CreatePrefetchTaskRequest) FromJsonString ¶ added in v1.0.394
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 ¶ added in v1.0.394
func (r *CreatePrefetchTaskRequest) ToJsonString() string
type CreatePrefetchTaskRequestParams ¶ added in v1.0.426
type CreatePrefetchTaskRequestParams struct {
// Zone 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 ¶ added in v1.0.394
type CreatePrefetchTaskResponse struct {
*tchttp.BaseResponse
Response *CreatePrefetchTaskResponseParams `json:"Response"`
}
func NewCreatePrefetchTaskResponse ¶ added in v1.0.394
func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)
func (*CreatePrefetchTaskResponse) FromJsonString ¶ added in v1.0.394
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 ¶ added in v1.0.394
func (r *CreatePrefetchTaskResponse) ToJsonString() string
type CreatePrefetchTaskResponseParams ¶ added in v1.0.426
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
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 类型,当前支持的类型:
// - purge_url:URL
// - purge_prefix:前缀
// - purge_host:Hostname
// - purge_all:全部缓存
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 ¶ added in v1.0.426
type CreatePurgeTaskRequestParams struct {
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 类型,当前支持的类型:
// - purge_url:URL
// - purge_prefix:前缀
// - purge_host:Hostname
// - purge_all:全部缓存
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 ¶ added in v1.0.426
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 CreateZoneRequest ¶ added in v1.0.412
type CreateZoneRequest struct {
*tchttp.BaseRequest
// 站点名字
Name *string `json:"Name,omitempty" name:"Name"`
// 接入方式,默认full
// - full NS接入
// - partial CNAME接入
Type *string `json:"Type,omitempty" name:"Type"`
// 是否跳过站点历史解析记录扫描
JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`
// 资源标签
Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}
func NewCreateZoneRequest ¶ added in v1.0.412
func NewCreateZoneRequest() (request *CreateZoneRequest)
func (*CreateZoneRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateZoneRequest) ToJsonString() string
type CreateZoneRequestParams ¶ added in v1.0.426
type CreateZoneRequestParams struct {
// 站点名字
Name *string `json:"Name,omitempty" name:"Name"`
// 接入方式,默认full
// - full NS接入
// - partial CNAME接入
Type *string `json:"Type,omitempty" name:"Type"`
// 是否跳过站点历史解析记录扫描
JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"`
// 资源标签
Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
}
Predefined struct for user
type CreateZoneResponse ¶ added in v1.0.412
type CreateZoneResponse struct {
*tchttp.BaseResponse
Response *CreateZoneResponseParams `json:"Response"`
}
func NewCreateZoneResponse ¶ added in v1.0.412
func NewCreateZoneResponse() (response *CreateZoneResponse)
func (*CreateZoneResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *CreateZoneResponse) ToJsonString() string
type CreateZoneResponseParams ¶ added in v1.0.426
type CreateZoneResponseParams struct {
// 站点ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 站点接入方式
Type *string `json:"Type,omitempty" name:"Type"`
// 站点状态
// - pending 未切换NS
// - active NS 已切换到分配的 NS
// - moved NS 从腾讯云切走
Status *string `json:"Status,omitempty" name:"Status"`
// 当前使用的 NS 列表
OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`
// 给用户分配的 NS 列表
NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`
// 站点创建时间
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 站点更新时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DDoSAcl ¶ added in v1.0.415
type DDoSAcl 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"`
// 是否为系统配置,取值为:
// <li>0 :修改配置 ;</li>
// <li>1 :系统默认配置 。</li>
Default *int64 `json:"Default,omitempty" name:"Default"`
}
type DDoSAntiPly ¶ added in v1.0.415
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 DDoSApplication ¶ added in v1.0.415
type DDoSApplication 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 DDoSConfig ¶ added in v1.0.415
type DDoSConfig struct {
// 开关
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DDoSFeaturesFilter ¶ added in v1.0.415
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 ¶ added in v1.0.415
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/76031?!preview&!document=1)。
RegionId []*int64 `json:"RegionId,omitempty" name:"RegionId"`
}
type DDoSStatusInfo ¶ added in v1.0.415
type DDoSStatusInfo struct {
// 暂不支持,默认值off。
AiStatus *string `json:"AiStatus,omitempty" name:"AiStatus"`
// 废弃字段。
Appid *string `json:"Appid,omitempty" name:"Appid"`
// 策略等级,取值有:
// <li>low :宽松 ;</li>
// <li>middle :适中 ;</li>
// <li>high : 严格。 </li>
PlyLevel *string `json:"PlyLevel,omitempty" name:"PlyLevel"`
}
type DDoSUserAllowBlockIP ¶ added in v1.0.415
type DDoSUserAllowBlockIP struct {
// 客户端IP。
Ip *string `json:"Ip,omitempty" name:"Ip"`
// 掩码。
Mask *int64 `json:"Mask,omitempty" name:"Mask"`
// 类型,取值有:
// <li>block :丢弃 ;</li>
// <li>allow :允许。</li>
Type *string `json:"Type,omitempty" name:"Type"`
// 10位时间戳,例如1199116800。
UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 客户端IP2,设置IP范围时使用,例如 1.1.1.1-1.1.1.2。
Ip2 *string `json:"Ip2,omitempty" name:"Ip2"`
// 掩码2,设置IP网段范围时使用,例如 1.1.1.0/24-1.1.2.0/24。
Mask2 *int64 `json:"Mask2,omitempty" name:"Mask2"`
}
type DDosAttackEvent ¶ added in v1.0.421
type DDosAttackEvent struct {
// ddos 策略组id
// 注意:此字段可能返回 null,表示取不到有效值。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 攻击类型(对应交互事件名称)
// 注意:此字段可能返回 null,表示取不到有效值。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 攻击状态
// 注意:此字段可能返回 null,表示取不到有效值。
AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"`
// 攻击最大带宽
// 注意:此字段可能返回 null,表示取不到有效值。
AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"`
// 攻击包速率峰值
// 注意:此字段可能返回 null,表示取不到有效值。
AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitempty" name:"AttackPacketMaxRate"`
// 攻击开始时间 单位为s
// 注意:此字段可能返回 null,表示取不到有效值。
AttackStartTime *int64 `json:"AttackStartTime,omitempty" name:"AttackStartTime"`
// 攻击结束时间 单位为s
// 注意:此字段可能返回 null,表示取不到有效值。
AttackEndTime *int64 `json:"AttackEndTime,omitempty" name:"AttackEndTime"`
// 事件ID
// 注意:此字段可能返回 null,表示取不到有效值。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 站点id
// 注意:此字段可能返回 null,表示取不到有效值。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
type DDosAttackEventData ¶ added in v1.0.421
type DDosAttackEventData struct {
// 攻击事件数据集合。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*DDosAttackEvent `json:"List,omitempty" name:"List"`
// 分页拉取的起始页号。最小值:1。
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 分页拉取的最大返回结果数。最大值:1000。
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数。
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数。
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type DDosAttackEventDetailData ¶ added in v1.0.421
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 ¶ added in v1.0.421
type DDosAttackSourceEvent struct {
// 攻击源ip。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackSourceIp *string `json:"AttackSourceIp,omitempty" name:"AttackSourceIp"`
// 地区(国家)。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackRegion *string `json:"AttackRegion,omitempty" name:"AttackRegion"`
// 累计攻击流量。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackFlow *uint64 `json:"AttackFlow,omitempty" name:"AttackFlow"`
// 累计攻击包量。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackPacketNum *uint64 `json:"AttackPacketNum,omitempty" name:"AttackPacketNum"`
}
type DDosAttackSourceEventData ¶ added in v1.0.421
type DDosAttackSourceEventData struct {
// DDos攻击源数据集合。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*DDosAttackSourceEvent `json:"List,omitempty" name:"List"`
// 分页拉取的起始页号。最小值:1。
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 分页拉取的最大返回结果数。最大值:1000。
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数。
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数。
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type DDosMajorAttackEvent ¶ added in v1.0.421
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 DDosMajorAttackEventData ¶ added in v1.0.421
type DDosMajorAttackEventData struct {
// DDosMajorAttackEvent ddos 攻击事件。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*DDosMajorAttackEvent `json:"List,omitempty" name:"List"`
// 分页拉取的起始页号。最小值:1。
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 分页拉取的最大返回结果数。最大值:1000。
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数。
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数。
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type DdosAllowBlock ¶ added in v1.0.415
type DdosAllowBlock struct {
// 黑白名单数组。
UserAllowBlockIp []*DDoSUserAllowBlockIP `json:"UserAllowBlockIp,omitempty" name:"UserAllowBlockIp"`
// 开关标识防护是否清空,取值有:
// <li>off :清空黑白名单列表,UserAllowBlockIp无需填写。 ;</li>
// <li>on :配置黑白名单,需填写UserAllowBlockIp参数。</li>默认值为on。
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DdosPacketFilter ¶ added in v1.0.415
type DdosPacketFilter struct {
// 特征过滤规则数组。
PacketFilter []*DDoSFeaturesFilter `json:"PacketFilter,omitempty" name:"PacketFilter"`
// 特征过滤清空标识,取值有:
// <li>off :清空特征过滤规则,无需填写 PacketFilter 参数 ;</li>
// <li>on :配置特征过滤规则,需填写 PacketFilter 参数。</li>默认值为on。
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type DdosRule ¶ added in v1.0.415
type DdosRule struct {
// DDoS防护等级。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosStatusInfo *DDoSStatusInfo `json:"DdosStatusInfo,omitempty" name:"DdosStatusInfo"`
// DDoS地域封禁。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosGeoIp *DDoSGeoIp `json:"DdosGeoIp,omitempty" name:"DdosGeoIp"`
// DDoS黑白名单。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosAllowBlock *DdosAllowBlock `json:"DdosAllowBlock,omitempty" name:"DdosAllowBlock"`
// DDoS 协议封禁+连接防护。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosAntiPly *DDoSAntiPly `json:"DdosAntiPly,omitempty" name:"DdosAntiPly"`
// DDoS特征过滤。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosPacketFilter *DdosPacketFilter `json:"DdosPacketFilter,omitempty" name:"DdosPacketFilter"`
// DDoS端口过滤。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosAcl *DdosAcls `json:"DdosAcl,omitempty" name:"DdosAcl"`
// DDoS开关,取值有:
// <li>on :开启 ;</li>
// <li>off :关闭 。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
// UDP分片功能是否支持,取值有:
// <li>on :支持 ;</li>
// <li>off :不支持 。</li>
UdpShardOpen *string `json:"UdpShardOpen,omitempty" name:"UdpShardOpen"`
// DDoS源站访问速率限制。
// 注意:此字段可能返回 null,表示取不到有效值。
DdosSpeedLimit *DdosSpeedLimit `json:"DdosSpeedLimit,omitempty" name:"DdosSpeedLimit"`
}
type DdosSpeedLimit ¶ added in v1.0.476
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 DefaultServerCertInfo ¶ added in v1.0.412
type DefaultServerCertInfo struct {
// 服务器证书 ID, 默认证书ID, 或在 SSL 证书管理进行证书托管时自动生成
// 注意:此字段可能返回 null,表示取不到有效值。
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书备注名
// 注意:此字段可能返回 null,表示取不到有效值。
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 证书类型:
// default: 默认证书
// upload:用户上传
// managed:腾讯云托管
// 注意:此字段可能返回 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"`
// 证书状态:
// applying: 证书申请中
// failed: 证书(申请)失败
// processing: 证书部署中
// deployed: 证书已部署
// disabled: 证书被禁用
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
// Status为失败时,此字段返回失败原因
// 注意:此字段可能返回 null,表示取不到有效值。
Message *string `json:"Message,omitempty" name:"Message"`
}
type DeleteApplicationProxyRequest ¶ added in v1.0.412
type DeleteApplicationProxyRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
func NewDeleteApplicationProxyRequest ¶ added in v1.0.412
func NewDeleteApplicationProxyRequest() (request *DeleteApplicationProxyRequest)
func (*DeleteApplicationProxyRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteApplicationProxyRequest) ToJsonString() string
type DeleteApplicationProxyRequestParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
type DeleteApplicationProxyResponse struct {
*tchttp.BaseResponse
Response *DeleteApplicationProxyResponseParams `json:"Response"`
}
func NewDeleteApplicationProxyResponse ¶ added in v1.0.412
func NewDeleteApplicationProxyResponse() (response *DeleteApplicationProxyResponse)
func (*DeleteApplicationProxyResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteApplicationProxyResponse) ToJsonString() string
type DeleteApplicationProxyResponseParams ¶ added in v1.0.426
type DeleteApplicationProxyResponseParams struct {
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteApplicationProxyRuleRequest ¶ added in v1.0.412
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 ¶ added in v1.0.412
func NewDeleteApplicationProxyRuleRequest() (request *DeleteApplicationProxyRuleRequest)
func (*DeleteApplicationProxyRuleRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteApplicationProxyRuleRequest) ToJsonString() string
type DeleteApplicationProxyRuleRequestParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
type DeleteApplicationProxyRuleResponse struct {
*tchttp.BaseResponse
Response *DeleteApplicationProxyRuleResponseParams `json:"Response"`
}
func NewDeleteApplicationProxyRuleResponse ¶ added in v1.0.412
func NewDeleteApplicationProxyRuleResponse() (response *DeleteApplicationProxyRuleResponse)
func (*DeleteApplicationProxyRuleResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteApplicationProxyRuleResponse) ToJsonString() string
type DeleteApplicationProxyRuleResponseParams ¶ added in v1.0.426
type DeleteApplicationProxyRuleResponseParams struct {
// 规则ID
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteDnsRecordsRequest ¶ added in v1.0.412
type DeleteDnsRecordsRequest struct {
*tchttp.BaseRequest
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 记录 ID
Ids []*string `json:"Ids,omitempty" name:"Ids"`
}
func NewDeleteDnsRecordsRequest ¶ added in v1.0.412
func NewDeleteDnsRecordsRequest() (request *DeleteDnsRecordsRequest)
func (*DeleteDnsRecordsRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteDnsRecordsRequest) ToJsonString() string
type DeleteDnsRecordsRequestParams ¶ added in v1.0.426
type DeleteDnsRecordsRequestParams struct {
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 记录 ID
Ids []*string `json:"Ids,omitempty" name:"Ids"`
}
Predefined struct for user
type DeleteDnsRecordsResponse ¶ added in v1.0.412
type DeleteDnsRecordsResponse struct {
*tchttp.BaseResponse
Response *DeleteDnsRecordsResponseParams `json:"Response"`
}
func NewDeleteDnsRecordsResponse ¶ added in v1.0.412
func NewDeleteDnsRecordsResponse() (response *DeleteDnsRecordsResponse)
func (*DeleteDnsRecordsResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteDnsRecordsResponse) ToJsonString() string
type DeleteDnsRecordsResponseParams ¶ added in v1.0.426
type DeleteDnsRecordsResponseParams struct {
// 记录 ID
Ids []*string `json:"Ids,omitempty" name:"Ids"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteLoadBalancingRequest ¶ added in v1.0.412
type DeleteLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}
func NewDeleteLoadBalancingRequest ¶ added in v1.0.412
func NewDeleteLoadBalancingRequest() (request *DeleteLoadBalancingRequest)
func (*DeleteLoadBalancingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteLoadBalancingRequest) ToJsonString() string
type DeleteLoadBalancingRequestParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
type DeleteLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *DeleteLoadBalancingResponseParams `json:"Response"`
}
func NewDeleteLoadBalancingResponse ¶ added in v1.0.412
func NewDeleteLoadBalancingResponse() (response *DeleteLoadBalancingResponse)
func (*DeleteLoadBalancingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteLoadBalancingResponse) ToJsonString() string
type DeleteLoadBalancingResponseParams ¶ added in v1.0.426
type DeleteLoadBalancingResponseParams struct {
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteOriginGroupRequest ¶ added in v1.0.415
type DeleteOriginGroupRequest struct {
*tchttp.BaseRequest
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDeleteOriginGroupRequest ¶ added in v1.0.415
func NewDeleteOriginGroupRequest() (request *DeleteOriginGroupRequest)
func (*DeleteOriginGroupRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DeleteOriginGroupRequest) ToJsonString() string
type DeleteOriginGroupRequestParams ¶ added in v1.0.426
type DeleteOriginGroupRequestParams struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DeleteOriginGroupResponse ¶ added in v1.0.415
type DeleteOriginGroupResponse struct {
*tchttp.BaseResponse
Response *DeleteOriginGroupResponseParams `json:"Response"`
}
func NewDeleteOriginGroupResponse ¶ added in v1.0.415
func NewDeleteOriginGroupResponse() (response *DeleteOriginGroupResponse)
func (*DeleteOriginGroupResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DeleteOriginGroupResponse) ToJsonString() string
type DeleteOriginGroupResponseParams ¶ added in v1.0.426
type DeleteOriginGroupResponseParams struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DeleteZoneRequest ¶ added in v1.0.412
type DeleteZoneRequest struct {
*tchttp.BaseRequest
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
func NewDeleteZoneRequest ¶ added in v1.0.412
func NewDeleteZoneRequest() (request *DeleteZoneRequest)
func (*DeleteZoneRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteZoneRequest) ToJsonString() string
type DeleteZoneRequestParams ¶ added in v1.0.426
type DeleteZoneRequestParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
Predefined struct for user
type DeleteZoneResponse ¶ added in v1.0.412
type DeleteZoneResponse struct {
*tchttp.BaseResponse
Response *DeleteZoneResponseParams `json:"Response"`
}
func NewDeleteZoneResponse ¶ added in v1.0.412
func NewDeleteZoneResponse() (response *DeleteZoneResponse)
func (*DeleteZoneResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DeleteZoneResponse) ToJsonString() string
type DeleteZoneResponseParams ¶ added in v1.0.426
type DeleteZoneResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeApplicationProxyDetailRequest ¶ added in v1.0.412
type DescribeApplicationProxyDetailRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 实例ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
func NewDescribeApplicationProxyDetailRequest ¶ added in v1.0.412
func NewDescribeApplicationProxyDetailRequest() (request *DescribeApplicationProxyDetailRequest)
func (*DescribeApplicationProxyDetailRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyDetailRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyDetailRequest) ToJsonString() string
type DescribeApplicationProxyDetailRequestParams ¶ added in v1.0.426
type DescribeApplicationProxyDetailRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 实例ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
Predefined struct for user
type DescribeApplicationProxyDetailResponse ¶ added in v1.0.412
type DescribeApplicationProxyDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeApplicationProxyDetailResponseParams `json:"Response"`
}
func NewDescribeApplicationProxyDetailResponse ¶ added in v1.0.412
func NewDescribeApplicationProxyDetailResponse() (response *DescribeApplicationProxyDetailResponse)
func (*DescribeApplicationProxyDetailResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyDetailResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyDetailResponse) ToJsonString() string
type DescribeApplicationProxyDetailResponseParams ¶ added in v1.0.426
type DescribeApplicationProxyDetailResponseParams struct {
// 实例ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 当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"`
// 字段已经废弃。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 字段已经废弃。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 规则列表。
Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"`
// 状态,取值有:
// <li>online:启用;</li>
// <li>offline:停用;</li>
// <li>progress:部署中。</li>
Status *string `json:"Status,omitempty" name:"Status"`
// 调度信息。
ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"`
// 更新时间。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 会话保持时间。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// 当ProxyType=hostname时:
// 表示代理加速唯一标识。
HostId *string `json:"HostId,omitempty" name:"HostId"`
// IPv6访问配置。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeApplicationProxyRequest ¶ added in v1.0.412
type DescribeApplicationProxyRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量,默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为10,最大可设置为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 代理ID。
// 当ProxyId为空时,表示查询站点下所有应用代理的列表。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
func NewDescribeApplicationProxyRequest ¶ added in v1.0.412
func NewDescribeApplicationProxyRequest() (request *DescribeApplicationProxyRequest)
func (*DescribeApplicationProxyRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyRequest) ToJsonString() string
type DescribeApplicationProxyRequestParams ¶ added in v1.0.426
type DescribeApplicationProxyRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量,默认为0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为10,最大可设置为1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 代理ID。
// 当ProxyId为空时,表示查询站点下所有应用代理的列表。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
}
Predefined struct for user
type DescribeApplicationProxyResponse ¶ added in v1.0.412
type DescribeApplicationProxyResponse struct {
*tchttp.BaseResponse
Response *DescribeApplicationProxyResponseParams `json:"Response"`
}
func NewDescribeApplicationProxyResponse ¶ added in v1.0.412
func NewDescribeApplicationProxyResponse() (response *DescribeApplicationProxyResponse)
func (*DescribeApplicationProxyResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeApplicationProxyResponse) ToJsonString() string
type DescribeApplicationProxyResponseParams ¶ added in v1.0.426
type DescribeApplicationProxyResponseParams struct {
// 应用代理列表。
Data []*ApplicationProxy `json:"Data,omitempty" name:"Data"`
// 记录总数。
TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 字段已废弃。
Quota *int64 `json:"Quota,omitempty" name:"Quota"`
// 当ProxyId为空时,表示套餐内PlatType为ip的Anycast IP的实例数量。
IpCount *uint64 `json:"IpCount,omitempty" name:"IpCount"`
// 当ProxyId为空时,表示套餐内PlatType为domain的CNAME的实例数量。
DomainCount *uint64 `json:"DomainCount,omitempty" name:"DomainCount"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeBotLogRequest ¶ added in v1.0.421
type DescribeBotLogRequest struct {
*tchttp.BaseRequest
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认查询所有子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,取值有:
// <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>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeBotLogRequest ¶ added in v1.0.421
func NewDescribeBotLogRequest() (request *DescribeBotLogRequest)
func (*DescribeBotLogRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeBotLogRequest) ToJsonString() string
type DescribeBotLogRequestParams ¶ added in v1.0.426
type DescribeBotLogRequestParams struct {
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认查询所有子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,取值有:
// <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>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeBotLogResponse ¶ added in v1.0.421
type DescribeBotLogResponse struct {
*tchttp.BaseResponse
Response *DescribeBotLogResponseParams `json:"Response"`
}
func NewDescribeBotLogResponse ¶ added in v1.0.421
func NewDescribeBotLogResponse() (response *DescribeBotLogResponse)
func (*DescribeBotLogResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeBotLogResponse) ToJsonString() string
type DescribeBotLogResponseParams ¶ added in v1.0.426
type DescribeBotLogResponseParams struct {
// Bot攻击数据内容。
Data *BotLogData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeBotManagedRulesRequest ¶ added in v1.0.415
type DescribeBotManagedRulesRequest struct {
*tchttp.BaseRequest
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 页数
Page *int64 `json:"Page,omitempty" name:"Page"`
// 每页数量
PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"`
// idcid/sipbot/uabot规则类型,空代表拉取全部
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
}
func NewDescribeBotManagedRulesRequest ¶ added in v1.0.415
func NewDescribeBotManagedRulesRequest() (request *DescribeBotManagedRulesRequest)
func (*DescribeBotManagedRulesRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeBotManagedRulesRequest) ToJsonString() string
type DescribeBotManagedRulesRequestParams ¶ added in v1.0.426
type DescribeBotManagedRulesRequestParams struct {
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 页数
Page *int64 `json:"Page,omitempty" name:"Page"`
// 每页数量
PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"`
// idcid/sipbot/uabot规则类型,空代表拉取全部
RuleType *string `json:"RuleType,omitempty" name:"RuleType"`
}
Predefined struct for user
type DescribeBotManagedRulesResponse ¶ added in v1.0.415
type DescribeBotManagedRulesResponse struct {
*tchttp.BaseResponse
Response *DescribeBotManagedRulesResponseParams `json:"Response"`
}
func NewDescribeBotManagedRulesResponse ¶ added in v1.0.415
func NewDescribeBotManagedRulesResponse() (response *DescribeBotManagedRulesResponse)
func (*DescribeBotManagedRulesResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeBotManagedRulesResponse) ToJsonString() string
type DescribeBotManagedRulesResponseParams ¶ added in v1.0.426
type DescribeBotManagedRulesResponseParams struct {
// 本次返回的规则数
Count *int64 `json:"Count,omitempty" name:"Count"`
// Bot规则
Rules []*BotManagedRuleDetail `json:"Rules,omitempty" name:"Rules"`
// 总规则数
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeCnameStatusRequest ¶ added in v1.0.412
type DescribeCnameStatusRequest struct {
*tchttp.BaseRequest
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 域名列表
Names []*string `json:"Names,omitempty" name:"Names"`
}
func NewDescribeCnameStatusRequest ¶ added in v1.0.412
func NewDescribeCnameStatusRequest() (request *DescribeCnameStatusRequest)
func (*DescribeCnameStatusRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeCnameStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCnameStatusRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeCnameStatusRequest) ToJsonString() string
type DescribeCnameStatusRequestParams ¶ added in v1.0.426
type DescribeCnameStatusRequestParams struct {
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 域名列表
Names []*string `json:"Names,omitempty" name:"Names"`
}
Predefined struct for user
type DescribeCnameStatusResponse ¶ added in v1.0.412
type DescribeCnameStatusResponse struct {
*tchttp.BaseResponse
Response *DescribeCnameStatusResponseParams `json:"Response"`
}
func NewDescribeCnameStatusResponse ¶ added in v1.0.412
func NewDescribeCnameStatusResponse() (response *DescribeCnameStatusResponse)
func (*DescribeCnameStatusResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeCnameStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCnameStatusResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeCnameStatusResponse) ToJsonString() string
type DescribeCnameStatusResponseParams ¶ added in v1.0.426
type DescribeCnameStatusResponseParams struct {
// 状态列表
Status []*CnameStatus `json:"Status,omitempty" name:"Status"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDoSPolicyRequest ¶ added in v1.0.415
type DescribeDDoSPolicyRequest struct {
*tchttp.BaseRequest
// 策略组id
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 一级域名zone
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeDDoSPolicyRequest ¶ added in v1.0.415
func NewDescribeDDoSPolicyRequest() (request *DescribeDDoSPolicyRequest)
func (*DescribeDDoSPolicyRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeDDoSPolicyRequest) ToJsonString() string
type DescribeDDoSPolicyRequestParams ¶ added in v1.0.426
type DescribeDDoSPolicyRequestParams struct {
// 策略组id
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 一级域名zone
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeDDoSPolicyResponse ¶ added in v1.0.415
type DescribeDDoSPolicyResponse struct {
*tchttp.BaseResponse
Response *DescribeDDoSPolicyResponseParams `json:"Response"`
}
func NewDescribeDDoSPolicyResponse ¶ added in v1.0.415
func NewDescribeDDoSPolicyResponse() (response *DescribeDDoSPolicyResponse)
func (*DescribeDDoSPolicyResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeDDoSPolicyResponse) ToJsonString() string
type DescribeDDoSPolicyResponseParams ¶ added in v1.0.426
type DescribeDDoSPolicyResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDosAttackDataRequest ¶ added in v1.0.421
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"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// ddos策略组id列表,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 攻击类型,取值有:
// <li>flood ;</li>
// <li>icmpFlood ;</li>
// <li>all 。</li>
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDosAttackDataRequest ¶ added in v1.0.421
func NewDescribeDDosAttackDataRequest() (request *DescribeDDosAttackDataRequest)
func (*DescribeDDosAttackDataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackDataRequest) ToJsonString() string
type DescribeDDosAttackDataRequestParams ¶ added in v1.0.426
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"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// ddos策略组id列表,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 攻击类型,取值有:
// <li>flood ;</li>
// <li>icmpFlood ;</li>
// <li>all 。</li>
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDosAttackDataResponse ¶ added in v1.0.421
type DescribeDDosAttackDataResponse struct {
*tchttp.BaseResponse
Response *DescribeDDosAttackDataResponseParams `json:"Response"`
}
func NewDescribeDDosAttackDataResponse ¶ added in v1.0.421
func NewDescribeDDosAttackDataResponse() (response *DescribeDDosAttackDataResponse)
func (*DescribeDDosAttackDataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackDataResponse) ToJsonString() string
type DescribeDDosAttackDataResponseParams ¶ added in v1.0.426
type DescribeDDosAttackDataResponseParams struct {
// DDos攻击数据内容。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecEntry `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDosAttackEventDetailRequest ¶ added in v1.0.421
type DescribeDDosAttackEventDetailRequest struct {
*tchttp.BaseRequest
// 事件id。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDosAttackEventDetailRequest ¶ added in v1.0.421
func NewDescribeDDosAttackEventDetailRequest() (request *DescribeDDosAttackEventDetailRequest)
func (*DescribeDDosAttackEventDetailRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackEventDetailRequest) ToJsonString() string
type DescribeDDosAttackEventDetailRequestParams ¶ added in v1.0.426
type DescribeDDosAttackEventDetailRequestParams struct {
// 事件id。
EventId *string `json:"EventId,omitempty" name:"EventId"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDosAttackEventDetailResponse ¶ added in v1.0.421
type DescribeDDosAttackEventDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeDDosAttackEventDetailResponseParams `json:"Response"`
}
func NewDescribeDDosAttackEventDetailResponse ¶ added in v1.0.421
func NewDescribeDDosAttackEventDetailResponse() (response *DescribeDDosAttackEventDetailResponse)
func (*DescribeDDosAttackEventDetailResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackEventDetailResponse) ToJsonString() string
type DescribeDDosAttackEventDetailResponseParams ¶ added in v1.0.426
type DescribeDDosAttackEventDetailResponseParams struct {
// DDos攻击事件详情。
Data *DDosAttackEventDetailData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDosAttackEventRequest ¶ added in v1.0.421
type DescribeDDosAttackEventRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos策略组id列表,不填默认选择全部策略Id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 是否展示详情,取值有:
// <li>Y :展示 ;</li>
// <li>N :不展示 。</li>默认为Y。
IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDosAttackEventRequest ¶ added in v1.0.421
func NewDescribeDDosAttackEventRequest() (request *DescribeDDosAttackEventRequest)
func (*DescribeDDosAttackEventRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackEventRequest) ToJsonString() string
type DescribeDDosAttackEventRequestParams ¶ added in v1.0.426
type DescribeDDosAttackEventRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos策略组id列表,不填默认选择全部策略Id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 是否展示详情,取值有:
// <li>Y :展示 ;</li>
// <li>N :不展示 。</li>默认为Y。
IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDosAttackEventResponse ¶ added in v1.0.421
type DescribeDDosAttackEventResponse struct {
*tchttp.BaseResponse
Response *DescribeDDosAttackEventResponseParams `json:"Response"`
}
func NewDescribeDDosAttackEventResponse ¶ added in v1.0.421
func NewDescribeDDosAttackEventResponse() (response *DescribeDDosAttackEventResponse)
func (*DescribeDDosAttackEventResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackEventResponse) ToJsonString() string
type DescribeDDosAttackEventResponseParams ¶ added in v1.0.426
type DescribeDDosAttackEventResponseParams struct {
// DDos攻击事件数据。
Data *DDosAttackEventData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDosAttackSourceEventRequest ¶ added in v1.0.421
type DescribeDDosAttackSourceEventRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos策略组id 集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDosAttackSourceEventRequest ¶ added in v1.0.421
func NewDescribeDDosAttackSourceEventRequest() (request *DescribeDDosAttackSourceEventRequest)
func (*DescribeDDosAttackSourceEventRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackSourceEventRequest) ToJsonString() string
type DescribeDDosAttackSourceEventRequestParams ¶ added in v1.0.426
type DescribeDDosAttackSourceEventRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos策略组id 集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDosAttackSourceEventResponse ¶ added in v1.0.421
type DescribeDDosAttackSourceEventResponse struct {
*tchttp.BaseResponse
Response *DescribeDDosAttackSourceEventResponseParams `json:"Response"`
}
func NewDescribeDDosAttackSourceEventResponse ¶ added in v1.0.421
func NewDescribeDDosAttackSourceEventResponse() (response *DescribeDDosAttackSourceEventResponse)
func (*DescribeDDosAttackSourceEventResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackSourceEventResponse) ToJsonString() string
type DescribeDDosAttackSourceEventResponseParams ¶ added in v1.0.426
type DescribeDDosAttackSourceEventResponseParams struct {
// DDos攻击源数据。
Data *DDosAttackSourceEventData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDosAttackTopDataRequest ¶ added in v1.0.421
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"`
// 查询前多少个,传值为0返回全量。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 站点id集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// ddos策略组id 集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 攻击类型,取值有:
// <li>flood ;</li>
// <li>icmpFlood ;</li>
// <li>all 。</li>
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDosAttackTopDataRequest ¶ added in v1.0.421
func NewDescribeDDosAttackTopDataRequest() (request *DescribeDDosAttackTopDataRequest)
func (*DescribeDDosAttackTopDataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackTopDataRequest) ToJsonString() string
type DescribeDDosAttackTopDataRequestParams ¶ added in v1.0.426
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"`
// 查询前多少个,传值为0返回全量。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 站点id集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// ddos策略组id 集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 端口号。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 攻击类型,取值有:
// <li>flood ;</li>
// <li>icmpFlood ;</li>
// <li>all 。</li>
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDosAttackTopDataResponse ¶ added in v1.0.421
type DescribeDDosAttackTopDataResponse struct {
*tchttp.BaseResponse
Response *DescribeDDosAttackTopDataResponseParams `json:"Response"`
}
func NewDescribeDDosAttackTopDataResponse ¶ added in v1.0.421
func NewDescribeDDosAttackTopDataResponse() (response *DescribeDDosAttackTopDataResponse)
func (*DescribeDDosAttackTopDataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosAttackTopDataResponse) ToJsonString() string
type DescribeDDosAttackTopDataResponseParams ¶ added in v1.0.426
type DescribeDDosAttackTopDataResponseParams struct {
// top数据内容
Data []*TopNEntry `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应消息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDDosMajorAttackEventRequest ¶ added in v1.0.421
type DescribeDDosMajorAttackEventRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos 策略组id集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeDDosMajorAttackEventRequest ¶ added in v1.0.421
func NewDescribeDDosMajorAttackEventRequest() (request *DescribeDDosMajorAttackEventRequest)
func (*DescribeDDosMajorAttackEventRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosMajorAttackEventRequest) ToJsonString() string
type DescribeDDosMajorAttackEventRequestParams ¶ added in v1.0.426
type DescribeDDosMajorAttackEventRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos 策略组id集合,不填默认选择全部策略id。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 协议类型,取值有:
// <li>tcp ;</li>
// <li>udp ;</li>
// <li>all 。</li>
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeDDosMajorAttackEventResponse ¶ added in v1.0.421
type DescribeDDosMajorAttackEventResponse struct {
*tchttp.BaseResponse
Response *DescribeDDosMajorAttackEventResponseParams `json:"Response"`
}
func NewDescribeDDosMajorAttackEventResponse ¶ added in v1.0.421
func NewDescribeDDosMajorAttackEventResponse() (response *DescribeDDosMajorAttackEventResponse)
func (*DescribeDDosMajorAttackEventResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeDDosMajorAttackEventResponse) ToJsonString() string
type DescribeDDosMajorAttackEventResponseParams ¶ added in v1.0.426
type DescribeDDosMajorAttackEventResponseParams struct {
// DDos查询主攻击事件。
Data *DDosMajorAttackEventData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应消息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDefaultCertificatesRequest ¶ added in v1.0.412
type DescribeDefaultCertificatesRequest struct {
*tchttp.BaseRequest
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeDefaultCertificatesRequest ¶ added in v1.0.412
func NewDescribeDefaultCertificatesRequest() (request *DescribeDefaultCertificatesRequest)
func (*DescribeDefaultCertificatesRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDefaultCertificatesRequest) ToJsonString() string
type DescribeDefaultCertificatesRequestParams ¶ added in v1.0.426
type DescribeDefaultCertificatesRequestParams struct {
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeDefaultCertificatesResponse ¶ added in v1.0.412
type DescribeDefaultCertificatesResponse struct {
*tchttp.BaseResponse
Response *DescribeDefaultCertificatesResponseParams `json:"Response"`
}
func NewDescribeDefaultCertificatesResponse ¶ added in v1.0.412
func NewDescribeDefaultCertificatesResponse() (response *DescribeDefaultCertificatesResponse)
func (*DescribeDefaultCertificatesResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDefaultCertificatesResponse) ToJsonString() string
type DescribeDefaultCertificatesResponseParams ¶ added in v1.0.426
type DescribeDefaultCertificatesResponseParams struct {
// 证书总数
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 默认证书列表
// 注意:此字段可能返回 null,表示取不到有效值。
CertInfo []*DefaultServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDnsDataRequest ¶ added in v1.0.412
type DescribeDnsDataRequest struct {
*tchttp.BaseRequest
// 起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 过滤参数
Filters []*DnsDataFilter `json:"Filters,omitempty" name:"Filters"`
// 时间粒度,默认为1分钟粒度,服务端根据时间范围自适应。
// 支持指定以下几种粒度:
// min:1分钟粒度
// 5min:5分钟粒度
// hour:1小时粒度
// day:天粒度
Interval *string `json:"Interval,omitempty" name:"Interval"`
}
func NewDescribeDnsDataRequest ¶ added in v1.0.412
func NewDescribeDnsDataRequest() (request *DescribeDnsDataRequest)
func (*DescribeDnsDataRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDnsDataRequest) ToJsonString() string
type DescribeDnsDataRequestParams ¶ added in v1.0.426
type DescribeDnsDataRequestParams struct {
// 起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 过滤参数
Filters []*DnsDataFilter `json:"Filters,omitempty" name:"Filters"`
// 时间粒度,默认为1分钟粒度,服务端根据时间范围自适应。
// 支持指定以下几种粒度:
// min:1分钟粒度
// 5min:5分钟粒度
// hour:1小时粒度
// day:天粒度
Interval *string `json:"Interval,omitempty" name:"Interval"`
}
Predefined struct for user
type DescribeDnsDataResponse ¶ added in v1.0.412
type DescribeDnsDataResponse struct {
*tchttp.BaseResponse
Response *DescribeDnsDataResponseParams `json:"Response"`
}
func NewDescribeDnsDataResponse ¶ added in v1.0.412
func NewDescribeDnsDataResponse() (response *DescribeDnsDataResponse)
func (*DescribeDnsDataResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDnsDataResponse) ToJsonString() string
type DescribeDnsDataResponseParams ¶ added in v1.0.426
type DescribeDnsDataResponseParams struct {
// 统计曲线数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*DataItem `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 DescribeDnsRecordsRequest ¶ added in v1.0.412
type DescribeDnsRecordsRequest struct {
*tchttp.BaseRequest
// 查询条件过滤器
Filters []*DnsRecordFilter `json:"Filters,omitempty" name:"Filters"`
// 排序
Order *string `json:"Order,omitempty" name:"Order"`
// 可选值 asc, desc
Direction *string `json:"Direction,omitempty" name:"Direction"`
// 可选值 all, any
Match *string `json:"Match,omitempty" name:"Match"`
// 分页查询限制数目,默认为 100,最大可设置为 1000
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页查询偏移量,默认为 0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeDnsRecordsRequest ¶ added in v1.0.412
func NewDescribeDnsRecordsRequest() (request *DescribeDnsRecordsRequest)
func (*DescribeDnsRecordsRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDnsRecordsRequest) ToJsonString() string
type DescribeDnsRecordsRequestParams ¶ added in v1.0.426
type DescribeDnsRecordsRequestParams struct {
// 查询条件过滤器
Filters []*DnsRecordFilter `json:"Filters,omitempty" name:"Filters"`
// 排序
Order *string `json:"Order,omitempty" name:"Order"`
// 可选值 asc, desc
Direction *string `json:"Direction,omitempty" name:"Direction"`
// 可选值 all, any
Match *string `json:"Match,omitempty" name:"Match"`
// 分页查询限制数目,默认为 100,最大可设置为 1000
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 分页查询偏移量,默认为 0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeDnsRecordsResponse ¶ added in v1.0.412
type DescribeDnsRecordsResponse struct {
*tchttp.BaseResponse
Response *DescribeDnsRecordsResponseParams `json:"Response"`
}
func NewDescribeDnsRecordsResponse ¶ added in v1.0.412
func NewDescribeDnsRecordsResponse() (response *DescribeDnsRecordsResponse)
func (*DescribeDnsRecordsResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDnsRecordsResponse) ToJsonString() string
type DescribeDnsRecordsResponseParams ¶ added in v1.0.426
type DescribeDnsRecordsResponseParams struct {
// 总数,用于分页查询
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// DNS 记录列表
Records []*DnsRecord `json:"Records,omitempty" name:"Records"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeDnssecRequest ¶ added in v1.0.412
type DescribeDnssecRequest struct {
*tchttp.BaseRequest
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
func NewDescribeDnssecRequest ¶ added in v1.0.412
func NewDescribeDnssecRequest() (request *DescribeDnssecRequest)
func (*DescribeDnssecRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDnssecRequest) ToJsonString() string
type DescribeDnssecRequestParams ¶ added in v1.0.426
type DescribeDnssecRequestParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
Predefined struct for user
type DescribeDnssecResponse ¶ added in v1.0.412
type DescribeDnssecResponse struct {
*tchttp.BaseResponse
Response *DescribeDnssecResponseParams `json:"Response"`
}
func NewDescribeDnssecResponse ¶ added in v1.0.412
func NewDescribeDnssecResponse() (response *DescribeDnssecResponse)
func (*DescribeDnssecResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeDnssecResponse) ToJsonString() string
type DescribeDnssecResponseParams ¶ added in v1.0.426
type DescribeDnssecResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// DNSSEC 状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
// DNSSEC 相关信息
// 注意:此字段可能返回 null,表示取不到有效值。
Dnssec *DnssecInfo `json:"Dnssec,omitempty" name:"Dnssec"`
// 修改时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeHostsCertificateRequest ¶ added in v1.0.412
type DescribeHostsCertificateRequest struct {
*tchttp.BaseRequest
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量,默认为 0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为 100,最大可设置为 1000
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询条件过滤器
Filters []*CertFilter `json:"Filters,omitempty" name:"Filters"`
// 排序方式
Sort *CertSort `json:"Sort,omitempty" name:"Sort"`
}
func NewDescribeHostsCertificateRequest ¶ added in v1.0.412
func NewDescribeHostsCertificateRequest() (request *DescribeHostsCertificateRequest)
func (*DescribeHostsCertificateRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeHostsCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsCertificateRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeHostsCertificateRequest) ToJsonString() string
type DescribeHostsCertificateRequestParams ¶ added in v1.0.426
type DescribeHostsCertificateRequestParams struct {
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量,默认为 0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为 100,最大可设置为 1000
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询条件过滤器
Filters []*CertFilter `json:"Filters,omitempty" name:"Filters"`
// 排序方式
Sort *CertSort `json:"Sort,omitempty" name:"Sort"`
}
Predefined struct for user
type DescribeHostsCertificateResponse ¶ added in v1.0.412
type DescribeHostsCertificateResponse struct {
*tchttp.BaseResponse
Response *DescribeHostsCertificateResponseParams `json:"Response"`
}
func NewDescribeHostsCertificateResponse ¶ added in v1.0.412
func NewDescribeHostsCertificateResponse() (response *DescribeHostsCertificateResponse)
func (*DescribeHostsCertificateResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeHostsCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsCertificateResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeHostsCertificateResponse) ToJsonString() string
type DescribeHostsCertificateResponseParams ¶ added in v1.0.426
type DescribeHostsCertificateResponseParams struct {
// 总数,用于分页查询
TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"`
// 域名证书配置列表
// 注意:此字段可能返回 null,表示取不到有效值。
Hosts []*HostCertSetting `json:"Hosts,omitempty" name:"Hosts"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeHostsSettingRequest ¶ added in v1.0.412
type DescribeHostsSettingRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量,默认为 0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为 100,最大可设置为 1000
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 指定域名查询
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
}
func NewDescribeHostsSettingRequest ¶ added in v1.0.412
func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest)
func (*DescribeHostsSettingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeHostsSettingRequest) ToJsonString() string
type DescribeHostsSettingRequestParams ¶ added in v1.0.426
type DescribeHostsSettingRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页查询偏移量,默认为 0
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目,默认为 100,最大可设置为 1000
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 指定域名查询
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
}
Predefined struct for user
type DescribeHostsSettingResponse ¶ added in v1.0.412
type DescribeHostsSettingResponse struct {
*tchttp.BaseResponse
Response *DescribeHostsSettingResponseParams `json:"Response"`
}
func NewDescribeHostsSettingResponse ¶ added in v1.0.412
func NewDescribeHostsSettingResponse() (response *DescribeHostsSettingResponse)
func (*DescribeHostsSettingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeHostsSettingResponse) ToJsonString() string
type DescribeHostsSettingResponseParams ¶ added in v1.0.426
type DescribeHostsSettingResponseParams struct {
// 域名列表
Hosts []*DetailHost `json:"Hosts,omitempty" name:"Hosts"`
// 域名数量
TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeIdentificationRequest ¶ added in v1.0.412
type DescribeIdentificationRequest struct {
*tchttp.BaseRequest
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewDescribeIdentificationRequest ¶ added in v1.0.412
func NewDescribeIdentificationRequest() (request *DescribeIdentificationRequest)
func (*DescribeIdentificationRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeIdentificationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdentificationRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeIdentificationRequest) ToJsonString() string
type DescribeIdentificationRequestParams ¶ added in v1.0.426
type DescribeIdentificationRequestParams struct {
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type DescribeIdentificationResponse ¶ added in v1.0.412
type DescribeIdentificationResponse struct {
*tchttp.BaseResponse
Response *DescribeIdentificationResponseParams `json:"Response"`
}
func NewDescribeIdentificationResponse ¶ added in v1.0.412
func NewDescribeIdentificationResponse() (response *DescribeIdentificationResponse)
func (*DescribeIdentificationResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeIdentificationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdentificationResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeIdentificationResponse) ToJsonString() string
type DescribeIdentificationResponseParams ¶ added in v1.0.426
type DescribeIdentificationResponseParams struct {
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 验证状态
// - pending 验证中
// - finished 验证完成
Status *string `json:"Status,omitempty" name:"Status"`
// 子域
Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"`
// 记录类型
RecordType *string `json:"RecordType,omitempty" name:"RecordType"`
// 记录值
RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"`
// 域名当前的 NS 记录
// 注意:此字段可能返回 null,表示取不到有效值。
OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLoadBalancingDetailRequest ¶ added in v1.0.412
type DescribeLoadBalancingDetailRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}
func NewDescribeLoadBalancingDetailRequest ¶ added in v1.0.412
func NewDescribeLoadBalancingDetailRequest() (request *DescribeLoadBalancingDetailRequest)
func (*DescribeLoadBalancingDetailRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeLoadBalancingDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingDetailRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeLoadBalancingDetailRequest) ToJsonString() string
type DescribeLoadBalancingDetailRequestParams ¶ added in v1.0.426
type DescribeLoadBalancingDetailRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
}
Predefined struct for user
type DescribeLoadBalancingDetailResponse ¶ added in v1.0.412
type DescribeLoadBalancingDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeLoadBalancingDetailResponseParams `json:"Response"`
}
func NewDescribeLoadBalancingDetailResponse ¶ added in v1.0.412
func NewDescribeLoadBalancingDetailResponse() (response *DescribeLoadBalancingDetailResponse)
func (*DescribeLoadBalancingDetailResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeLoadBalancingDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingDetailResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeLoadBalancingDetailResponse) ToJsonString() string
type DescribeLoadBalancingDetailResponseParams ¶ added in v1.0.426
type DescribeLoadBalancingDetailResponseParams struct {
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名,填写@表示根域
Host *string `json:"Host,omitempty" name:"Host"`
// 代理模式:
// dns_only: 仅DNS
// proxied: 开启代理
Type *string `json:"Type,omitempty" name:"Type"`
// 当Type=dns_only表示DNS的TTL时间
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 使用的源站组ID
OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`
// 使用的源站信息
Origin []*OriginGroup `json:"Origin,omitempty" name:"Origin"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 状态
Status *string `json:"Status,omitempty" name:"Status"`
// 调度域名
// 注意:此字段可能返回 null,表示取不到有效值。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeLoadBalancingRequest ¶ added in v1.0.412
type DescribeLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页参数Offset
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页参数Limit
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 过滤参数Host
Host *string `json:"Host,omitempty" name:"Host"`
// 过滤参数Host是否支持模糊匹配
Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}
func NewDescribeLoadBalancingRequest ¶ added in v1.0.412
func NewDescribeLoadBalancingRequest() (request *DescribeLoadBalancingRequest)
func (*DescribeLoadBalancingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeLoadBalancingRequest) ToJsonString() string
type DescribeLoadBalancingRequestParams ¶ added in v1.0.426
type DescribeLoadBalancingRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 分页参数Offset
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页参数Limit
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 过滤参数Host
Host *string `json:"Host,omitempty" name:"Host"`
// 过滤参数Host是否支持模糊匹配
Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}
Predefined struct for user
type DescribeLoadBalancingResponse ¶ added in v1.0.412
type DescribeLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *DescribeLoadBalancingResponseParams `json:"Response"`
}
func NewDescribeLoadBalancingResponse ¶ added in v1.0.412
func NewDescribeLoadBalancingResponse() (response *DescribeLoadBalancingResponse)
func (*DescribeLoadBalancingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeLoadBalancingResponse) ToJsonString() string
type DescribeLoadBalancingResponseParams ¶ added in v1.0.426
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 DescribeOriginGroupDetailRequest ¶ added in v1.0.415
type DescribeOriginGroupDetailRequest struct {
*tchttp.BaseRequest
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeOriginGroupDetailRequest ¶ added in v1.0.415
func NewDescribeOriginGroupDetailRequest() (request *DescribeOriginGroupDetailRequest)
func (*DescribeOriginGroupDetailRequest) FromJsonString ¶ added in v1.0.415
func (r *DescribeOriginGroupDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupDetailRequest) ToJsonString ¶ added in v1.0.415
func (r *DescribeOriginGroupDetailRequest) ToJsonString() string
type DescribeOriginGroupDetailRequestParams ¶ added in v1.0.426
type DescribeOriginGroupDetailRequestParams struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeOriginGroupDetailResponse ¶ added in v1.0.415
type DescribeOriginGroupDetailResponse struct {
*tchttp.BaseResponse
Response *DescribeOriginGroupDetailResponseParams `json:"Response"`
}
func NewDescribeOriginGroupDetailResponse ¶ added in v1.0.415
func NewDescribeOriginGroupDetailResponse() (response *DescribeOriginGroupDetailResponse)
func (*DescribeOriginGroupDetailResponse) FromJsonString ¶ added in v1.0.415
func (r *DescribeOriginGroupDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupDetailResponse) ToJsonString ¶ added in v1.0.415
func (r *DescribeOriginGroupDetailResponse) ToJsonString() string
type DescribeOriginGroupDetailResponseParams ¶ added in v1.0.426
type DescribeOriginGroupDetailResponseParams struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 源站组名称
OriginName *string `json:"OriginName,omitempty" name:"OriginName"`
// 源站组配置类型
// area:表示按照Record记录中的Area字段进行按客户端IP所在区域回源。
// weight:表示按照Record记录中的Weight字段进行按权重回源。
Type *string `json:"Type,omitempty" name:"Type"`
// 记录
Record []*OriginRecord `json:"Record,omitempty" name:"Record"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 源站类型
// 注意:此字段可能返回 null,表示取不到有效值。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 当前源站组是否被四层代理使用。
// 注意:此字段可能返回 null,表示取不到有效值。
ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitempty" name:"ApplicationProxyUsed"`
// 当前源站组是否被负载均衡使用。
// 注意:此字段可能返回 null,表示取不到有效值。
LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitempty" name:"LoadBalancingUsed"`
// 使用当前源站组的负载均衡的类型:
// none:未被使用
// dns_only:被仅DNS类型负载均衡使用
// proxied:被代理加速类型负载均衡使用
// both:同时被仅DNS和代理加速类型负载均衡使用
// 注意:此字段可能返回 null,表示取不到有效值。
LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitempty" name:"LoadBalancingUsedType"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeOriginGroupRequest ¶ added in v1.0.415
type DescribeOriginGroupRequest struct {
*tchttp.BaseRequest
// 分页参数Offset
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页参数Limit
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 过滤参数
Filters []*OriginFilter `json:"Filters,omitempty" name:"Filters"`
// 站点ID
// 不填写获取所有站点源站组
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeOriginGroupRequest ¶ added in v1.0.415
func NewDescribeOriginGroupRequest() (request *DescribeOriginGroupRequest)
func (*DescribeOriginGroupRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeOriginGroupRequest) ToJsonString() string
type DescribeOriginGroupRequestParams ¶ added in v1.0.426
type DescribeOriginGroupRequestParams struct {
// 分页参数Offset
Offset *uint64 `json:"Offset,omitempty" name:"Offset"`
// 分页参数Limit
Limit *uint64 `json:"Limit,omitempty" name:"Limit"`
// 过滤参数
Filters []*OriginFilter `json:"Filters,omitempty" name:"Filters"`
// 站点ID
// 不填写获取所有站点源站组
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeOriginGroupResponse ¶ added in v1.0.415
type DescribeOriginGroupResponse struct {
*tchttp.BaseResponse
Response *DescribeOriginGroupResponseParams `json:"Response"`
}
func NewDescribeOriginGroupResponse ¶ added in v1.0.415
func NewDescribeOriginGroupResponse() (response *DescribeOriginGroupResponse)
func (*DescribeOriginGroupResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeOriginGroupResponse) ToJsonString() string
type DescribeOriginGroupResponseParams ¶ added in v1.0.426
type DescribeOriginGroupResponseParams struct {
// 源站组信息
Data []*OriginGroup `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 DescribeOverviewL7DataRequest ¶ added in v1.0.421
type DescribeOverviewL7DataRequest struct {
*tchttp.BaseRequest
// RFC3339格式,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339格式,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,支持的指标
// l7Flow_outFlux: 访问流量
// l7Flow_request: 访问请求数
// l7Flow_outBandwidth: 访问带宽
// l7Flow_hit_outFlux: 缓存命中流量
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId列表,仅在zone/domain维度下查询时该参数有效
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// Domain列表,仅在domain维度下查询时该参数有效
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 协议类型, 选填{http,http2,https,all}
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeOverviewL7DataRequest ¶ added in v1.0.421
func NewDescribeOverviewL7DataRequest() (request *DescribeOverviewL7DataRequest)
func (*DescribeOverviewL7DataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeOverviewL7DataRequest) ToJsonString() string
type DescribeOverviewL7DataRequestParams ¶ added in v1.0.426
type DescribeOverviewL7DataRequestParams struct {
// RFC3339格式,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339格式,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,支持的指标
// l7Flow_outFlux: 访问流量
// l7Flow_request: 访问请求数
// l7Flow_outBandwidth: 访问带宽
// l7Flow_hit_outFlux: 缓存命中流量
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId列表,仅在zone/domain维度下查询时该参数有效
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// Domain列表,仅在domain维度下查询时该参数有效
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 协议类型, 选填{http,http2,https,all}
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeOverviewL7DataResponse ¶ added in v1.0.421
type DescribeOverviewL7DataResponse struct {
*tchttp.BaseResponse
Response *DescribeOverviewL7DataResponseParams `json:"Response"`
}
func NewDescribeOverviewL7DataResponse ¶ added in v1.0.421
func NewDescribeOverviewL7DataResponse() (response *DescribeOverviewL7DataResponse)
func (*DescribeOverviewL7DataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeOverviewL7DataResponse) ToJsonString() string
type DescribeOverviewL7DataResponseParams ¶ added in v1.0.426
type DescribeOverviewL7DataResponseParams struct {
// 查询维度
Type *string `json:"Type,omitempty" name:"Type"`
// 时间间隔
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 详细数据
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribePrefetchTasksRequest ¶ added in v1.0.394
type DescribePrefetchTasksRequest struct {
*tchttp.BaseRequest
// 任务ID
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 查询起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询起始偏移量
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 查询最大返回的结果条数
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询的状态
// 允许的值为:processing、success、failed、timeout、invalid
Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`
// zone id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询的域名列表
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询的资源
Target *string `json:"Target,omitempty" name:"Target"`
}
func NewDescribePrefetchTasksRequest ¶ added in v1.0.394
func NewDescribePrefetchTasksRequest() (request *DescribePrefetchTasksRequest)
func (*DescribePrefetchTasksRequest) FromJsonString ¶ added in v1.0.394
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 ¶ added in v1.0.394
func (r *DescribePrefetchTasksRequest) ToJsonString() string
type DescribePrefetchTasksRequestParams ¶ added in v1.0.426
type DescribePrefetchTasksRequestParams struct {
// 任务ID
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 查询起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询起始偏移量
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 查询最大返回的结果条数
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询的状态
// 允许的值为:processing、success、failed、timeout、invalid
Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`
// zone id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询的域名列表
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询的资源
Target *string `json:"Target,omitempty" name:"Target"`
}
Predefined struct for user
type DescribePrefetchTasksResponse ¶ added in v1.0.394
type DescribePrefetchTasksResponse struct {
*tchttp.BaseResponse
Response *DescribePrefetchTasksResponseParams `json:"Response"`
}
func NewDescribePrefetchTasksResponse ¶ added in v1.0.394
func NewDescribePrefetchTasksResponse() (response *DescribePrefetchTasksResponse)
func (*DescribePrefetchTasksResponse) FromJsonString ¶ added in v1.0.394
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 ¶ added in v1.0.394
func (r *DescribePrefetchTasksResponse) ToJsonString() string
type DescribePrefetchTasksResponseParams ¶ added in v1.0.426
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
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 类型
Type *string `json:"Type,omitempty" name:"Type"`
// 查询起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询起始偏移量
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 查询最大返回的结果条数
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询的状态
// 允许的值为:processing、success、failed、timeout、invalid
Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`
// zone id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询的域名列表
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询内容
Target *string `json:"Target,omitempty" name:"Target"`
}
func NewDescribePurgeTasksRequest ¶
func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)
func (*DescribePurgeTasksRequest) FromJsonString ¶
func (r *DescribePurgeTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePurgeTasksRequest) ToJsonString ¶
func (r *DescribePurgeTasksRequest) ToJsonString() string
type DescribePurgeTasksRequestParams ¶ added in v1.0.426
type DescribePurgeTasksRequestParams struct {
// 任务ID
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 类型
Type *string `json:"Type,omitempty" name:"Type"`
// 查询起始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 查询结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 查询起始偏移量
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 查询最大返回的结果条数
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询的状态
// 允许的值为:processing、success、failed、timeout、invalid
Statuses []*string `json:"Statuses,omitempty" name:"Statuses"`
// zone id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 查询的域名列表
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询内容
Target *string `json:"Target,omitempty" name:"Target"`
}
Predefined struct for user
type DescribePurgeTasksResponse ¶
type DescribePurgeTasksResponse struct {
*tchttp.BaseResponse
Response *DescribePurgeTasksResponseParams `json:"Response"`
}
func NewDescribePurgeTasksResponse ¶
func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)
func (*DescribePurgeTasksResponse) FromJsonString ¶
func (r *DescribePurgeTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePurgeTasksResponse) ToJsonString ¶
func (r *DescribePurgeTasksResponse) ToJsonString() string
type DescribePurgeTasksResponseParams ¶ added in v1.0.426
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 DescribeSecurityPolicyListRequest ¶ added in v1.0.415
type DescribeSecurityPolicyListRequest struct {
*tchttp.BaseRequest
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeSecurityPolicyListRequest ¶ added in v1.0.415
func NewDescribeSecurityPolicyListRequest() (request *DescribeSecurityPolicyListRequest)
func (*DescribeSecurityPolicyListRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeSecurityPolicyListRequest) ToJsonString() string
type DescribeSecurityPolicyListRequestParams ¶ added in v1.0.426
type DescribeSecurityPolicyListRequestParams struct {
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeSecurityPolicyListResponse ¶ added in v1.0.415
type DescribeSecurityPolicyListResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyListResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyListResponse ¶ added in v1.0.415
func NewDescribeSecurityPolicyListResponse() (response *DescribeSecurityPolicyListResponse)
func (*DescribeSecurityPolicyListResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeSecurityPolicyListResponse) ToJsonString() string
type DescribeSecurityPolicyListResponseParams ¶ added in v1.0.426
type DescribeSecurityPolicyListResponseParams struct {
// 防护资源列表
Entities []*SecurityEntity `json:"Entities,omitempty" name:"Entities"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyManagedRulesIdRequest ¶ added in v1.0.415
type DescribeSecurityPolicyManagedRulesIdRequest struct {
*tchttp.BaseRequest
// 规则id集合
RuleId []*int64 `json:"RuleId,omitempty" name:"RuleId"`
}
func NewDescribeSecurityPolicyManagedRulesIdRequest ¶ added in v1.0.415
func NewDescribeSecurityPolicyManagedRulesIdRequest() (request *DescribeSecurityPolicyManagedRulesIdRequest)
func (*DescribeSecurityPolicyManagedRulesIdRequest) FromJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesIdRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyManagedRulesIdRequest) ToJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesIdRequest) ToJsonString() string
type DescribeSecurityPolicyManagedRulesIdRequestParams ¶ added in v1.0.426
type DescribeSecurityPolicyManagedRulesIdRequestParams struct {
// 规则id集合
RuleId []*int64 `json:"RuleId,omitempty" name:"RuleId"`
}
Predefined struct for user
type DescribeSecurityPolicyManagedRulesIdResponse ¶ added in v1.0.415
type DescribeSecurityPolicyManagedRulesIdResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyManagedRulesIdResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyManagedRulesIdResponse ¶ added in v1.0.415
func NewDescribeSecurityPolicyManagedRulesIdResponse() (response *DescribeSecurityPolicyManagedRulesIdResponse)
func (*DescribeSecurityPolicyManagedRulesIdResponse) FromJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesIdResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyManagedRulesIdResponse) ToJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesIdResponse) ToJsonString() string
type DescribeSecurityPolicyManagedRulesIdResponseParams ¶ added in v1.0.426
type DescribeSecurityPolicyManagedRulesIdResponseParams struct {
// 返回总数
Total *int64 `json:"Total,omitempty" name:"Total"`
// 门神规则
Rules []*ManagedRule `json:"Rules,omitempty" name:"Rules"`
// 返回总数
Count *int64 `json:"Count,omitempty" name:"Count"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyManagedRulesRequest ¶ added in v1.0.415
type DescribeSecurityPolicyManagedRulesRequest struct {
*tchttp.BaseRequest
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 页数
Page *int64 `json:"Page,omitempty" name:"Page"`
// 每页数量
PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"`
}
func NewDescribeSecurityPolicyManagedRulesRequest ¶ added in v1.0.415
func NewDescribeSecurityPolicyManagedRulesRequest() (request *DescribeSecurityPolicyManagedRulesRequest)
func (*DescribeSecurityPolicyManagedRulesRequest) FromJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyManagedRulesRequest) ToJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesRequest) ToJsonString() string
type DescribeSecurityPolicyManagedRulesRequestParams ¶ added in v1.0.426
type DescribeSecurityPolicyManagedRulesRequestParams struct {
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 页数
Page *int64 `json:"Page,omitempty" name:"Page"`
// 每页数量
PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"`
}
Predefined struct for user
type DescribeSecurityPolicyManagedRulesResponse ¶ added in v1.0.415
type DescribeSecurityPolicyManagedRulesResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyManagedRulesResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyManagedRulesResponse ¶ added in v1.0.415
func NewDescribeSecurityPolicyManagedRulesResponse() (response *DescribeSecurityPolicyManagedRulesResponse)
func (*DescribeSecurityPolicyManagedRulesResponse) FromJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyManagedRulesResponse) ToJsonString ¶ added in v1.0.415
func (r *DescribeSecurityPolicyManagedRulesResponse) ToJsonString() string
type DescribeSecurityPolicyManagedRulesResponseParams ¶ added in v1.0.426
type DescribeSecurityPolicyManagedRulesResponseParams struct {
// 本次返回的规则数
Count *int64 `json:"Count,omitempty" name:"Count"`
// 门神规则
Rules []*ManagedRule `json:"Rules,omitempty" name:"Rules"`
// 总规则数
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyRegionsRequest ¶ added in v1.0.415
type DescribeSecurityPolicyRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSecurityPolicyRegionsRequest ¶ added in v1.0.415
func NewDescribeSecurityPolicyRegionsRequest() (request *DescribeSecurityPolicyRegionsRequest)
func (*DescribeSecurityPolicyRegionsRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeSecurityPolicyRegionsRequest) ToJsonString() string
type DescribeSecurityPolicyRegionsRequestParams ¶ added in v1.0.426
type DescribeSecurityPolicyRegionsRequestParams struct {
}
Predefined struct for user
type DescribeSecurityPolicyRegionsResponse ¶ added in v1.0.415
type DescribeSecurityPolicyRegionsResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyRegionsResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyRegionsResponse ¶ added in v1.0.415
func NewDescribeSecurityPolicyRegionsResponse() (response *DescribeSecurityPolicyRegionsResponse)
func (*DescribeSecurityPolicyRegionsResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeSecurityPolicyRegionsResponse) ToJsonString() string
type DescribeSecurityPolicyRegionsResponseParams ¶ added in v1.0.426
type DescribeSecurityPolicyRegionsResponseParams struct {
// 总数
Count *int64 `json:"Count,omitempty" name:"Count"`
// 地域信息
GeoIp []*GeoIp `json:"GeoIp,omitempty" name:"GeoIp"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPolicyRequest ¶ added in v1.0.415
type DescribeSecurityPolicyRequest struct {
*tchttp.BaseRequest
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewDescribeSecurityPolicyRequest ¶ added in v1.0.415
func NewDescribeSecurityPolicyRequest() (request *DescribeSecurityPolicyRequest)
func (*DescribeSecurityPolicyRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeSecurityPolicyRequest) ToJsonString() string
type DescribeSecurityPolicyRequestParams ¶ added in v1.0.426
type DescribeSecurityPolicyRequestParams struct {
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type DescribeSecurityPolicyResponse ¶ added in v1.0.415
type DescribeSecurityPolicyResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPolicyResponseParams `json:"Response"`
}
func NewDescribeSecurityPolicyResponse ¶ added in v1.0.415
func NewDescribeSecurityPolicyResponse() (response *DescribeSecurityPolicyResponse)
func (*DescribeSecurityPolicyResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeSecurityPolicyResponse) ToJsonString() string
type DescribeSecurityPolicyResponseParams ¶ added in v1.0.426
type DescribeSecurityPolicyResponseParams struct {
// 用户id
AppId *int64 `json:"AppId,omitempty" name:"AppId"`
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 安全配置
// 注意:此字段可能返回 null,表示取不到有效值。
Config *SecurityConfig `json:"Config,omitempty" name:"Config"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeSecurityPortraitRulesRequest ¶ added in v1.0.419
type DescribeSecurityPortraitRulesRequest struct {
*tchttp.BaseRequest
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
func NewDescribeSecurityPortraitRulesRequest ¶ added in v1.0.419
func NewDescribeSecurityPortraitRulesRequest() (request *DescribeSecurityPortraitRulesRequest)
func (*DescribeSecurityPortraitRulesRequest) FromJsonString ¶ added in v1.0.419
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 ¶ added in v1.0.419
func (r *DescribeSecurityPortraitRulesRequest) ToJsonString() string
type DescribeSecurityPortraitRulesRequestParams ¶ added in v1.0.426
type DescribeSecurityPortraitRulesRequestParams struct {
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 子域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
}
Predefined struct for user
type DescribeSecurityPortraitRulesResponse ¶ added in v1.0.419
type DescribeSecurityPortraitRulesResponse struct {
*tchttp.BaseResponse
Response *DescribeSecurityPortraitRulesResponseParams `json:"Response"`
}
func NewDescribeSecurityPortraitRulesResponse ¶ added in v1.0.419
func NewDescribeSecurityPortraitRulesResponse() (response *DescribeSecurityPortraitRulesResponse)
func (*DescribeSecurityPortraitRulesResponse) FromJsonString ¶ added in v1.0.419
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 ¶ added in v1.0.419
func (r *DescribeSecurityPortraitRulesResponse) ToJsonString() string
type DescribeSecurityPortraitRulesResponseParams ¶ added in v1.0.426
type DescribeSecurityPortraitRulesResponseParams struct {
// 本次返回的规则数
Count *int64 `json:"Count,omitempty" name:"Count"`
// Bot用户画像规则
Rules []*PortraitManagedRuleDetail `json:"Rules,omitempty" name:"Rules"`
// 总规则数
Total *int64 `json:"Total,omitempty" name:"Total"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL4DataRequest ¶ added in v1.0.421
type DescribeTimingL4DataRequest struct {
*tchttp.BaseRequest
// RFC3339格式,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339格式,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 支持的指标:
// l4Flow_connections: 访问连接数
// l4Flow_flux: 访问总流量
// l4Flow_inFlux: 访问入流量
// l4Flow_outFlux: 访问出流量
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点id列表
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 该字段已废弃,请使用ProxyIds字段
InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
// 该字段当前无效
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 时间间隔,选填{min, 5min, hour, day}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 该字段当前无效,请使用Filter筛选
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 支持的 Filter:proxyd,ruleId
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 四层实例列表
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeTimingL4DataRequest ¶ added in v1.0.421
func NewDescribeTimingL4DataRequest() (request *DescribeTimingL4DataRequest)
func (*DescribeTimingL4DataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeTimingL4DataRequest) ToJsonString() string
type DescribeTimingL4DataRequestParams ¶ added in v1.0.426
type DescribeTimingL4DataRequestParams struct {
// RFC3339格式,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339格式,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 支持的指标:
// l4Flow_connections: 访问连接数
// l4Flow_flux: 访问总流量
// l4Flow_inFlux: 访问入流量
// l4Flow_outFlux: 访问出流量
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点id列表
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 该字段已废弃,请使用ProxyIds字段
InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"`
// 该字段当前无效
Protocol *string `json:"Protocol,omitempty" name:"Protocol"`
// 时间间隔,选填{min, 5min, hour, day}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 该字段当前无效,请使用Filter筛选
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 支持的 Filter:proxyd,ruleId
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 四层实例列表
ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeTimingL4DataResponse ¶ added in v1.0.421
type DescribeTimingL4DataResponse struct {
*tchttp.BaseResponse
Response *DescribeTimingL4DataResponseParams `json:"Response"`
}
func NewDescribeTimingL4DataResponse ¶ added in v1.0.421
func NewDescribeTimingL4DataResponse() (response *DescribeTimingL4DataResponse)
func (*DescribeTimingL4DataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeTimingL4DataResponse) ToJsonString() string
type DescribeTimingL4DataResponseParams ¶ added in v1.0.426
type DescribeTimingL4DataResponseParams struct {
// 查询维度
Type *string `json:"Type,omitempty" name:"Type"`
// 时间间隔
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 详细数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL7AnalysisDataRequest ¶ added in v1.0.421
type DescribeTimingL7AnalysisDataRequest struct {
*tchttp.BaseRequest
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,支持的指标
// l7Flow_outFlux: 访问流量
// l7Flow_request: 访问请求数
// l7Flow_outBandwidth: 访问带宽
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId数组
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeTimingL7AnalysisDataRequest ¶ added in v1.0.421
func NewDescribeTimingL7AnalysisDataRequest() (request *DescribeTimingL7AnalysisDataRequest)
func (*DescribeTimingL7AnalysisDataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeTimingL7AnalysisDataRequest) ToJsonString() string
type DescribeTimingL7AnalysisDataRequestParams ¶ added in v1.0.426
type DescribeTimingL7AnalysisDataRequestParams struct {
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 指标列表,支持的指标
// l7Flow_outFlux: 访问流量
// l7Flow_request: 访问请求数
// l7Flow_outBandwidth: 访问带宽
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId数组
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeTimingL7AnalysisDataResponse ¶ added in v1.0.421
type DescribeTimingL7AnalysisDataResponse struct {
*tchttp.BaseResponse
Response *DescribeTimingL7AnalysisDataResponseParams `json:"Response"`
}
func NewDescribeTimingL7AnalysisDataResponse ¶ added in v1.0.421
func NewDescribeTimingL7AnalysisDataResponse() (response *DescribeTimingL7AnalysisDataResponse)
func (*DescribeTimingL7AnalysisDataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeTimingL7AnalysisDataResponse) ToJsonString() string
type DescribeTimingL7AnalysisDataResponseParams ¶ added in v1.0.426
type DescribeTimingL7AnalysisDataResponseParams struct {
// 详细数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 查询维度
Type *string `json:"Type,omitempty" name:"Type"`
// 时间间隔
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTimingL7CacheDataRequest ¶ added in v1.0.422
type DescribeTimingL7CacheDataRequest struct {
*tchttp.BaseRequest
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时序类访问流量指标列表,支持的指标
// l7Cache_outFlux: 访问流量
// l7Cache_request: 访问请求数
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 站点id列表
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件,筛选EO/源站响应如下:
// EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
// 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeTimingL7CacheDataRequest ¶ added in v1.0.422
func NewDescribeTimingL7CacheDataRequest() (request *DescribeTimingL7CacheDataRequest)
func (*DescribeTimingL7CacheDataRequest) FromJsonString ¶ added in v1.0.422
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 ¶ added in v1.0.422
func (r *DescribeTimingL7CacheDataRequest) ToJsonString() string
type DescribeTimingL7CacheDataRequestParams ¶ added in v1.0.426
type DescribeTimingL7CacheDataRequestParams struct {
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时序类访问流量指标列表,支持的指标
// l7Cache_outFlux: 访问流量
// l7Cache_request: 访问请求数
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 站点id列表
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件,筛选EO/源站响应如下:
// EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
// 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeTimingL7CacheDataResponse ¶ added in v1.0.422
type DescribeTimingL7CacheDataResponse struct {
*tchttp.BaseResponse
Response *DescribeTimingL7CacheDataResponseParams `json:"Response"`
}
func NewDescribeTimingL7CacheDataResponse ¶ added in v1.0.422
func NewDescribeTimingL7CacheDataResponse() (response *DescribeTimingL7CacheDataResponse)
func (*DescribeTimingL7CacheDataResponse) FromJsonString ¶ added in v1.0.422
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 ¶ added in v1.0.422
func (r *DescribeTimingL7CacheDataResponse) ToJsonString() string
type DescribeTimingL7CacheDataResponseParams ¶ added in v1.0.426
type DescribeTimingL7CacheDataResponseParams struct {
// 详细数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"`
// 查询维度
Type *string `json:"Type,omitempty" name:"Type"`
// 时间间隔
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTopL7AnalysisDataRequest ¶ added in v1.0.421
type DescribeTopL7AnalysisDataRequest struct {
*tchttp.BaseRequest
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时序类访问流量指标
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// topN,填0时返回全量数据
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId数组
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeTopL7AnalysisDataRequest ¶ added in v1.0.421
func NewDescribeTopL7AnalysisDataRequest() (request *DescribeTopL7AnalysisDataRequest)
func (*DescribeTopL7AnalysisDataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeTopL7AnalysisDataRequest) ToJsonString() string
type DescribeTopL7AnalysisDataRequestParams ¶ added in v1.0.426
type DescribeTopL7AnalysisDataRequestParams struct {
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时序类访问流量指标
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// topN,填0时返回全量数据
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId数组
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeTopL7AnalysisDataResponse ¶ added in v1.0.421
type DescribeTopL7AnalysisDataResponse struct {
*tchttp.BaseResponse
Response *DescribeTopL7AnalysisDataResponseParams `json:"Response"`
}
func NewDescribeTopL7AnalysisDataResponse ¶ added in v1.0.421
func NewDescribeTopL7AnalysisDataResponse() (response *DescribeTopL7AnalysisDataResponse)
func (*DescribeTopL7AnalysisDataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeTopL7AnalysisDataResponse) ToJsonString() string
type DescribeTopL7AnalysisDataResponseParams ¶ added in v1.0.426
type DescribeTopL7AnalysisDataResponseParams struct {
// top详细数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`
// 查询维度
Type *string `json:"Type,omitempty" name:"Type"`
// 查询指标
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeTopL7CacheDataRequest ¶ added in v1.0.422
type DescribeTopL7CacheDataRequest struct {
*tchttp.BaseRequest
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时序类访问流量指标
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// topN,填0时返回全量数据
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId数组
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeTopL7CacheDataRequest ¶ added in v1.0.422
func NewDescribeTopL7CacheDataRequest() (request *DescribeTopL7CacheDataRequest)
func (*DescribeTopL7CacheDataRequest) FromJsonString ¶ added in v1.0.422
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 ¶ added in v1.0.422
func (r *DescribeTopL7CacheDataRequest) ToJsonString() string
type DescribeTopL7CacheDataRequestParams ¶ added in v1.0.426
type DescribeTopL7CacheDataRequestParams struct {
// RFC3339标准,客户端时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// RFC3339标准,客户端时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 时序类访问流量指标
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// topN,填0时返回全量数据
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 时间间隔,选填{min, 5min, hour, day, week}
Interval *string `json:"Interval,omitempty" name:"Interval"`
// ZoneId数组
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 筛选条件
Filters []*Filter `json:"Filters,omitempty" name:"Filters"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeTopL7CacheDataResponse ¶ added in v1.0.422
type DescribeTopL7CacheDataResponse struct {
*tchttp.BaseResponse
Response *DescribeTopL7CacheDataResponseParams `json:"Response"`
}
func NewDescribeTopL7CacheDataResponse ¶ added in v1.0.422
func NewDescribeTopL7CacheDataResponse() (response *DescribeTopL7CacheDataResponse)
func (*DescribeTopL7CacheDataResponse) FromJsonString ¶ added in v1.0.422
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 ¶ added in v1.0.422
func (r *DescribeTopL7CacheDataResponse) ToJsonString() string
type DescribeTopL7CacheDataResponseParams ¶ added in v1.0.426
type DescribeTopL7CacheDataResponseParams struct {
// top详细数据
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*TopDataRecord `json:"Data,omitempty" name:"Data"`
// 查询维度
Type *string `json:"Type,omitempty" name:"Type"`
// 查询指标
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesAttackEventsRequest ¶ added in v1.0.421
type DescribeWebManagedRulesAttackEventsRequest struct {
*tchttp.BaseRequest
// 开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 条数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 当前页
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos策略组id列表
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点集合
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 选填{Y、N},默认为Y;Y:展示,N:不展示
IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"`
}
func NewDescribeWebManagedRulesAttackEventsRequest ¶ added in v1.0.421
func NewDescribeWebManagedRulesAttackEventsRequest() (request *DescribeWebManagedRulesAttackEventsRequest)
func (*DescribeWebManagedRulesAttackEventsRequest) FromJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesAttackEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesAttackEventsRequest) ToJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesAttackEventsRequest) ToJsonString() string
type DescribeWebManagedRulesAttackEventsRequestParams ¶ added in v1.0.426
type DescribeWebManagedRulesAttackEventsRequestParams struct {
// 开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 条数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 当前页
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// ddos策略组id列表
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 站点集合
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 选填{Y、N},默认为Y;Y:展示,N:不展示
IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"`
}
Predefined struct for user
type DescribeWebManagedRulesAttackEventsResponse ¶ added in v1.0.421
type DescribeWebManagedRulesAttackEventsResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesAttackEventsResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesAttackEventsResponse ¶ added in v1.0.421
func NewDescribeWebManagedRulesAttackEventsResponse() (response *DescribeWebManagedRulesAttackEventsResponse)
func (*DescribeWebManagedRulesAttackEventsResponse) FromJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesAttackEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesAttackEventsResponse) ToJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesAttackEventsResponse) ToJsonString() string
type DescribeWebManagedRulesAttackEventsResponseParams ¶ added in v1.0.426
type DescribeWebManagedRulesAttackEventsResponseParams struct {
// Web攻击事件数据
Data *WebEventData `json:"Data,omitempty" name:"Data"`
// 状态,1:失败,0:成功
Status *int64 `json:"Status,omitempty" name:"Status"`
// 返回数据
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesDataRequest ¶ added in v1.0.421
type DescribeWebManagedRulesDataRequest struct {
*tchttp.BaseRequest
// 开始时间,RFC3339格式。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间,RFC3339格式。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>waf_interceptNum :waf拦截次数 。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表,不填默认选择子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 该字段已废弃,请勿传。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 该字段已废弃,请勿传。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,取值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebManagedRulesDataRequest ¶ added in v1.0.421
func NewDescribeWebManagedRulesDataRequest() (request *DescribeWebManagedRulesDataRequest)
func (*DescribeWebManagedRulesDataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebManagedRulesDataRequest) ToJsonString() string
type DescribeWebManagedRulesDataRequestParams ¶ added in v1.0.426
type DescribeWebManagedRulesDataRequestParams struct {
// 开始时间,RFC3339格式。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间,RFC3339格式。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>waf_interceptNum :waf拦截次数 。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表,不填默认选择子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 该字段已废弃,请勿传。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 该字段已废弃,请勿传。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,取值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebManagedRulesDataResponse ¶ added in v1.0.421
type DescribeWebManagedRulesDataResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesDataResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesDataResponse ¶ added in v1.0.421
func NewDescribeWebManagedRulesDataResponse() (response *DescribeWebManagedRulesDataResponse)
func (*DescribeWebManagedRulesDataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebManagedRulesDataResponse) ToJsonString() string
type DescribeWebManagedRulesDataResponseParams ¶ added in v1.0.426
type DescribeWebManagedRulesDataResponseParams struct {
// Web攻击日志实体。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecEntry `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应消息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesLogRequest ¶ added in v1.0.421
type DescribeWebManagedRulesLogRequest struct {
*tchttp.BaseRequest
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,取值有:
// <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>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebManagedRulesLogRequest ¶ added in v1.0.421
func NewDescribeWebManagedRulesLogRequest() (request *DescribeWebManagedRulesLogRequest)
func (*DescribeWebManagedRulesLogRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebManagedRulesLogRequest) ToJsonString() string
type DescribeWebManagedRulesLogRequestParams ¶ added in v1.0.426
type DescribeWebManagedRulesLogRequestParams struct {
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点集合,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件,取值有:
// <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>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebManagedRulesLogResponse ¶ added in v1.0.421
type DescribeWebManagedRulesLogResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesLogResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesLogResponse ¶ added in v1.0.421
func NewDescribeWebManagedRulesLogResponse() (response *DescribeWebManagedRulesLogResponse)
func (*DescribeWebManagedRulesLogResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebManagedRulesLogResponse) ToJsonString() string
type DescribeWebManagedRulesLogResponseParams ¶ added in v1.0.426
type DescribeWebManagedRulesLogResponseParams struct {
// web攻击日志数据内容。
Data *WebLogData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebManagedRulesTopDataRequest ¶ added in v1.0.421
type DescribeWebManagedRulesTopDataRequest struct {
*tchttp.BaseRequest
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>waf_requestNum_url :url请求数排行 ;</li>
// <li>waf_requestNum_cip:客户端ip请求数排行 ;</li>
// <li>waf_cipRequestNum_region :客户端区域请求数排行 。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 查询前多少个,传值为0返回全量。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 该字段已废弃,请勿传。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 该字段已废弃,请勿传。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 该字段已废弃,请勿传。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 该字段已废弃,请勿传。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,取值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebManagedRulesTopDataRequest ¶ added in v1.0.421
func NewDescribeWebManagedRulesTopDataRequest() (request *DescribeWebManagedRulesTopDataRequest)
func (*DescribeWebManagedRulesTopDataRequest) FromJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesTopDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesTopDataRequest) ToJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesTopDataRequest) ToJsonString() string
type DescribeWebManagedRulesTopDataRequestParams ¶ added in v1.0.426
type DescribeWebManagedRulesTopDataRequestParams struct {
// 开始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>waf_requestNum_url :url请求数排行 ;</li>
// <li>waf_requestNum_cip:客户端ip请求数排行 ;</li>
// <li>waf_cipRequestNum_region :客户端区域请求数排行 。</li>
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 查询前多少个,传值为0返回全量。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 该字段已废弃,请勿传。
PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"`
// 该字段已废弃,请勿传。
Port *int64 `json:"Port,omitempty" name:"Port"`
// 该字段已废弃,请勿传。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 该字段已废弃,请勿传。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,取值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebManagedRulesTopDataResponse ¶ added in v1.0.421
type DescribeWebManagedRulesTopDataResponse struct {
*tchttp.BaseResponse
Response *DescribeWebManagedRulesTopDataResponseParams `json:"Response"`
}
func NewDescribeWebManagedRulesTopDataResponse ¶ added in v1.0.421
func NewDescribeWebManagedRulesTopDataResponse() (response *DescribeWebManagedRulesTopDataResponse)
func (*DescribeWebManagedRulesTopDataResponse) FromJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesTopDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesTopDataResponse) ToJsonString ¶ added in v1.0.421
func (r *DescribeWebManagedRulesTopDataResponse) ToJsonString() string
type DescribeWebManagedRulesTopDataResponseParams ¶ added in v1.0.426
type DescribeWebManagedRulesTopDataResponseParams struct {
// top数据内容。
Data []*TopNEntry `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应消息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionAttackEventsRequest ¶ added in v1.0.421
type DescribeWebProtectionAttackEventsRequest struct {
*tchttp.BaseRequest
// 开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 条数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 当前页
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 域名
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 站点集合
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
}
func NewDescribeWebProtectionAttackEventsRequest ¶ added in v1.0.421
func NewDescribeWebProtectionAttackEventsRequest() (request *DescribeWebProtectionAttackEventsRequest)
func (*DescribeWebProtectionAttackEventsRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebProtectionAttackEventsRequest) ToJsonString() string
type DescribeWebProtectionAttackEventsRequestParams ¶ added in v1.0.426
type DescribeWebProtectionAttackEventsRequestParams struct {
// 开始时间
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 条数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 当前页
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 域名
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 站点集合
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
}
Predefined struct for user
type DescribeWebProtectionAttackEventsResponse ¶ added in v1.0.421
type DescribeWebProtectionAttackEventsResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionAttackEventsResponseParams `json:"Response"`
}
func NewDescribeWebProtectionAttackEventsResponse ¶ added in v1.0.421
func NewDescribeWebProtectionAttackEventsResponse() (response *DescribeWebProtectionAttackEventsResponse)
func (*DescribeWebProtectionAttackEventsResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebProtectionAttackEventsResponse) ToJsonString() string
type DescribeWebProtectionAttackEventsResponseParams ¶ added in v1.0.426
type DescribeWebProtectionAttackEventsResponseParams struct {
// DDos攻击事件数据
Data *CCInterceptEventData `json:"Data,omitempty" name:"Data"`
// 状态,1:失败,0:成功
Status *int64 `json:"Status,omitempty" name:"Status"`
// 返回消息
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionDataRequest ¶ added in v1.0.421
type DescribeWebProtectionDataRequest struct {
*tchttp.BaseRequest
// 开始时间,RFC3339格式。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间,RFC3339格式。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>ccRate_interceptNum :速率限制规则限制次数 ;</li>
// <li>ccAcl_interceptNum :自定义规则拦截次数 。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 该字段已废弃,请勿传。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 该字段已废弃,请勿传。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,取值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebProtectionDataRequest ¶ added in v1.0.421
func NewDescribeWebProtectionDataRequest() (request *DescribeWebProtectionDataRequest)
func (*DescribeWebProtectionDataRequest) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebProtectionDataRequest) ToJsonString() string
type DescribeWebProtectionDataRequestParams ¶ added in v1.0.426
type DescribeWebProtectionDataRequestParams struct {
// 开始时间,RFC3339格式。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间,RFC3339格式。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 统计指标列表,取值有:
// <li>ccRate_interceptNum :速率限制规则限制次数 ;</li>
// <li>ccAcl_interceptNum :自定义规则拦截次数 。</li>
MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"`
// 站点id列表,不填默认选择全部站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 子域名列表,不填默认选择全部子域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 该字段已废弃,请勿传。
ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"`
// 该字段已废弃,请勿传。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 筛选条件,取值有:
// <li>action :执行动作 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebProtectionDataResponse ¶ added in v1.0.421
type DescribeWebProtectionDataResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionDataResponseParams `json:"Response"`
}
func NewDescribeWebProtectionDataResponse ¶ added in v1.0.421
func NewDescribeWebProtectionDataResponse() (response *DescribeWebProtectionDataResponse)
func (*DescribeWebProtectionDataResponse) FromJsonString ¶ added in v1.0.421
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 ¶ added in v1.0.421
func (r *DescribeWebProtectionDataResponse) ToJsonString() string
type DescribeWebProtectionDataResponseParams ¶ added in v1.0.426
type DescribeWebProtectionDataResponseParams struct {
// 数据详情。
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*SecEntry `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应消息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 查询时间粒度,取值有:
// <li>min :1分钟 ;</li>
// <li>5min :5分钟 ;</li>
// <li>hour :1小时 ;</li>
// <li>day :1天 。</li>
Interval *string `json:"Interval,omitempty" name:"Interval"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeWebProtectionLogRequest ¶ added in v1.0.421
type DescribeWebProtectionLogRequest struct {
*tchttp.BaseRequest
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认查询所有域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件。
// 限速规则日志中取值有:
// <li>action :执行动作(处置方式);</li>
// <li>ruleId :规则id ;</li>
// <li>oriDomain :被攻击的子域名 ;</li>
// <li>attackIp :攻击ip 。</li>
// 自定义规则日志中取值有:
// <li>action :执行动作(处置方式);</li>
// <li>ruleId :规则id ;</li>
// <li>oriDomain :被攻击的子域名 ;</li>
// <li>attackIp :攻击ip ;</li>
// <li>eventId :事件id ;</li>
// <li>ua :用户代理 ;</li>
// <li>requestMethod :请求方法 ;</li>
// <li>uri :统一资源标识符 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 日志类型,取值有:
// <li>rate :限速日志 ;</li>
// <li>acl :自定义规则日志 。</li>不填默认为rate。
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
func NewDescribeWebProtectionLogRequest ¶ added in v1.0.421
func NewDescribeWebProtectionLogRequest() (request *DescribeWebProtectionLogRequest)
func (*DescribeWebProtectionLogRequest) FromJsonString ¶ added in v1.0.421
func (r *DescribeWebProtectionLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionLogRequest) ToJsonString ¶ added in v1.0.421
func (r *DescribeWebProtectionLogRequest) ToJsonString() string
type DescribeWebProtectionLogRequestParams ¶ added in v1.0.426
type DescribeWebProtectionLogRequestParams struct {
// 起始时间。
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间。
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点集合,不填默认查询所有站点。
ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"`
// 域名集合,不填默认查询所有域名。
Domains []*string `json:"Domains,omitempty" name:"Domains"`
// 筛选条件。
// 限速规则日志中取值有:
// <li>action :执行动作(处置方式);</li>
// <li>ruleId :规则id ;</li>
// <li>oriDomain :被攻击的子域名 ;</li>
// <li>attackIp :攻击ip 。</li>
// 自定义规则日志中取值有:
// <li>action :执行动作(处置方式);</li>
// <li>ruleId :规则id ;</li>
// <li>oriDomain :被攻击的子域名 ;</li>
// <li>attackIp :攻击ip ;</li>
// <li>eventId :事件id ;</li>
// <li>ua :用户代理 ;</li>
// <li>requestMethod :请求方法 ;</li>
// <li>uri :统一资源标识符 。</li>
QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"`
// 日志类型,取值有:
// <li>rate :限速日志 ;</li>
// <li>acl :自定义规则日志 。</li>不填默认为rate。
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
// 数据归属地区,取值有:
// <li>overseas :全球(除中国大陆地区)数据 ;</li>
// <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
Area *string `json:"Area,omitempty" name:"Area"`
}
Predefined struct for user
type DescribeWebProtectionLogResponse ¶ added in v1.0.421
type DescribeWebProtectionLogResponse struct {
*tchttp.BaseResponse
Response *DescribeWebProtectionLogResponseParams `json:"Response"`
}
func NewDescribeWebProtectionLogResponse ¶ added in v1.0.421
func NewDescribeWebProtectionLogResponse() (response *DescribeWebProtectionLogResponse)
func (*DescribeWebProtectionLogResponse) FromJsonString ¶ added in v1.0.421
func (r *DescribeWebProtectionLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionLogResponse) ToJsonString ¶ added in v1.0.421
func (r *DescribeWebProtectionLogResponse) ToJsonString() string
type DescribeWebProtectionLogResponseParams ¶ added in v1.0.426
type DescribeWebProtectionLogResponseParams struct {
// 限速拦截数据内容。
Data *CCLogData `json:"Data,omitempty" name:"Data"`
// 请求响应状态,取值有:
// <li>1 :失败 ;</li>
// <li>0 :成功 。</li>
Status *int64 `json:"Status,omitempty" name:"Status"`
// 请求响应信息。
Msg *string `json:"Msg,omitempty" name:"Msg"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeZoneDDoSPolicyRequest ¶ added in v1.0.415
type DescribeZoneDDoSPolicyRequest struct {
*tchttp.BaseRequest
// 一级域名id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeZoneDDoSPolicyRequest ¶ added in v1.0.415
func NewDescribeZoneDDoSPolicyRequest() (request *DescribeZoneDDoSPolicyRequest)
func (*DescribeZoneDDoSPolicyRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeZoneDDoSPolicyRequest) ToJsonString() string
type DescribeZoneDDoSPolicyRequestParams ¶ added in v1.0.426
type DescribeZoneDDoSPolicyRequestParams struct {
// 一级域名id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeZoneDDoSPolicyResponse ¶ added in v1.0.415
type DescribeZoneDDoSPolicyResponse struct {
*tchttp.BaseResponse
Response *DescribeZoneDDoSPolicyResponseParams `json:"Response"`
}
func NewDescribeZoneDDoSPolicyResponse ¶ added in v1.0.415
func NewDescribeZoneDDoSPolicyResponse() (response *DescribeZoneDDoSPolicyResponse)
func (*DescribeZoneDDoSPolicyResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *DescribeZoneDDoSPolicyResponse) ToJsonString() string
type DescribeZoneDDoSPolicyResponseParams ¶ added in v1.0.426
type DescribeZoneDDoSPolicyResponseParams struct {
// 用户appid
AppId *int64 `json:"AppId,omitempty" name:"AppId"`
// 防护分区
ShieldAreas []*ShieldArea `json:"ShieldAreas,omitempty" name:"ShieldAreas"`
// 所有子域名信息,包含安全加速/内容加速
// 注意:此字段可能返回 null,表示取不到有效值。
Domains []*DDoSApplication `json:"Domains,omitempty" name:"Domains"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeZoneDetailsRequest ¶ added in v1.0.412
type DescribeZoneDetailsRequest struct {
*tchttp.BaseRequest
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
func NewDescribeZoneDetailsRequest ¶ added in v1.0.412
func NewDescribeZoneDetailsRequest() (request *DescribeZoneDetailsRequest)
func (*DescribeZoneDetailsRequest) FromJsonString ¶ added in v1.0.412
func (r *DescribeZoneDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDetailsRequest) ToJsonString ¶ added in v1.0.412
func (r *DescribeZoneDetailsRequest) ToJsonString() string
type DescribeZoneDetailsRequestParams ¶ added in v1.0.426
type DescribeZoneDetailsRequestParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
}
Predefined struct for user
type DescribeZoneDetailsResponse ¶ added in v1.0.412
type DescribeZoneDetailsResponse struct {
*tchttp.BaseResponse
Response *DescribeZoneDetailsResponseParams `json:"Response"`
}
func NewDescribeZoneDetailsResponse ¶ added in v1.0.412
func NewDescribeZoneDetailsResponse() (response *DescribeZoneDetailsResponse)
func (*DescribeZoneDetailsResponse) FromJsonString ¶ added in v1.0.412
func (r *DescribeZoneDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDetailsResponse) ToJsonString ¶ added in v1.0.412
func (r *DescribeZoneDetailsResponse) ToJsonString() string
type DescribeZoneDetailsResponseParams ¶ added in v1.0.426
type DescribeZoneDetailsResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 用户当前使用的 NS 列表
OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`
// 腾讯云分配给用户的 NS 列表
NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`
// 站点状态
// - active:NS 已切换
// - pending:NS 未切换
// - moved:NS 已切走
// - deactivated:被封禁
Status *string `json:"Status,omitempty" name:"Status"`
// 站点接入方式
// - full:NS 接入
// - partial:CNAME 接入
Type *string `json:"Type,omitempty" name:"Type"`
// 站点是否关闭
Paused *bool `json:"Paused,omitempty" name:"Paused"`
// 是否开启 CNAME 加速
// - enabled:开启
// - disabled:关闭
CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"`
// cname切换验证状态
// - finished 切换完成
// - pending 切换验证中
CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`
// 资源标签
// 注意:此字段可能返回 null,表示取不到有效值。
Tags []*Tag `json:"Tags,omitempty" name:"Tags"`
// 站点接入地域,取值为:
// <li> global:全球;</li>
// <li> mainland:中国大陆;</li>
// <li> overseas:境外区域。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 计费资源
// 注意:此字段可能返回 null,表示取不到有效值。
Resources []*Resource `json:"Resources,omitempty" name:"Resources"`
// 站点修改时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 站点创建时间
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 用户自定义 NS 信息
// 注意:此字段可能返回 null,表示取不到有效值。
VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
// 用户自定义 NS IP 信息
// 注意:此字段可能返回 null,表示取不到有效值。
VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitempty" name:"VanityNameServersIps"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeZoneSettingRequest ¶ added in v1.0.412
type DescribeZoneSettingRequest struct {
*tchttp.BaseRequest
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewDescribeZoneSettingRequest ¶ added in v1.0.412
func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)
func (*DescribeZoneSettingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeZoneSettingRequest) ToJsonString() string
type DescribeZoneSettingRequestParams ¶ added in v1.0.426
type DescribeZoneSettingRequestParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type DescribeZoneSettingResponse ¶ added in v1.0.412
type DescribeZoneSettingResponse struct {
*tchttp.BaseResponse
Response *DescribeZoneSettingResponseParams `json:"Response"`
}
func NewDescribeZoneSettingResponse ¶ added in v1.0.412
func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)
func (*DescribeZoneSettingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *DescribeZoneSettingResponse) ToJsonString() string
type DescribeZoneSettingResponseParams ¶ added in v1.0.426
type DescribeZoneSettingResponseParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称。
Zone *string `json:"Zone,omitempty" name:"Zone"`
// 缓存过期时间配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"`
// 节点缓存键配置。
// 注意:此字段可能返回 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"`
// Https 加速配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Https *Https `json:"Https,omitempty" name:"Https"`
// 源站配置。
// 注意:此字段可能返回 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 *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`
// 缓存预刷新配置。
// 注意:此字段可能返回 null,表示取不到有效值。
CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
// Ipv6访问配置。
// 注意:此字段可能返回 null,表示取不到有效值。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
// 站点加速区域信息,取值有:
// <li>mainland:中国境内加速;</li>
// <li>overseas:中国境外加速。</li>
Area *string `json:"Area,omitempty" name:"Area"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type DescribeZonesRequest ¶ added in v1.0.393
type DescribeZonesRequest struct {
*tchttp.BaseRequest
// 分页查询偏移量。默认值:0,最小值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:1000,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询条件过滤器,复杂类型。
Filters []*ZoneFilter `json:"Filters,omitempty" name:"Filters"`
}
func NewDescribeZonesRequest ¶ added in v1.0.393
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶ added in v1.0.393
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 ¶ added in v1.0.393
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶ added in v1.0.426
type DescribeZonesRequestParams struct {
// 分页查询偏移量。默认值:0,最小值:0。
Offset *int64 `json:"Offset,omitempty" name:"Offset"`
// 分页查询限制数目。默认值:1000,最大值:1000。
Limit *int64 `json:"Limit,omitempty" name:"Limit"`
// 查询条件过滤器,复杂类型。
Filters []*ZoneFilter `json:"Filters,omitempty" name:"Filters"`
}
Predefined struct for user
type DescribeZonesResponse ¶ added in v1.0.393
type DescribeZonesResponse struct {
*tchttp.BaseResponse
Response *DescribeZonesResponseParams `json:"Response"`
}
func NewDescribeZonesResponse ¶ added in v1.0.393
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶ added in v1.0.393
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 ¶ added in v1.0.393
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶ added in v1.0.426
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 ¶ added in v1.0.412
type DetailHost struct {
// 腾讯云账号ID
AppId *int64 `json:"AppId,omitempty" name:"AppId"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 加速服务状态
// process:部署中
// online:已启动
// offline:已关闭
Status *string `json:"Status,omitempty" name:"Status"`
// 域名
Host *string `json:"Host,omitempty" name:"Host"`
}
type DnsDataFilter ¶ added in v1.0.412
type DnsDataFilter struct {
// 参数名称,取值范围:
// zone:站点名
// host:域名
// type:dns解析类型
// code:dns返回状态码
// area:解析服务器所在区域
Name *string `json:"Name,omitempty" name:"Name"`
// 参数值
// 当Name=area时,Value取值范围:
// 亚洲:Asia
// 欧洲:Europe
// 非洲:Africa
// 大洋洲:Oceania
// 美洲:Americas
//
// 当Name=code时,Value取值范围:
// NoError:成功的响应
// NXDomain:只在权威域名服务器的响应消息中有效,标示请求中请求的域不存在
// NotImp:域名服务器不支持请求的类型
// Refused:域名服务器因为策略的原因拒绝执行请求的操作
Value *string `json:"Value,omitempty" name:"Value"`
// 参数值
// 当Name=area时,Value取值范围:
// 亚洲:Asia
// 欧洲:Europe
// 非洲:Africa
// 大洋洲:Oceania
// 美洲:Americas
//
// 当Name=code时,Value取值范围:
// NoError:成功的响应
// NXDomain:只在权威域名服务器的响应消息中有效,标示请求中请求的域不存在
// NotImp:域名服务器不支持请求的类型
// Refused:域名服务器因为策略的原因拒绝执行请求的操作
Values []*string `json:"Values,omitempty" name:"Values"`
}
type DnsRecord ¶ added in v1.0.412
type DnsRecord struct {
// 记录 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 主机记录
Name *string `json:"Name,omitempty" name:"Name"`
// 记录值
Content *string `json:"Content,omitempty" name:"Content"`
// 代理模式
Mode *string `json:"Mode,omitempty" name:"Mode"`
// TTL 值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
// 注意:此字段可能返回 null,表示取不到有效值。
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"`
// 解析状态
// active: 生效
// pending: 不生效
Status *string `json:"Status,omitempty" name:"Status"`
// CNAME 地址
// 注意:此字段可能返回 null,表示取不到有效值。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 域名是否开启了负载均衡,四层代理,安全
// - lb 负载均衡
// - security 安全
// - l4 四层代理
// 注意:此字段可能返回 null,表示取不到有效值。
DomainStatus []*string `json:"DomainStatus,omitempty" name:"DomainStatus"`
}
type DnsRecordFilter ¶ added in v1.0.412
type DnssecInfo ¶ added in v1.0.412
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 DownloadL7LogsRequest ¶ added in v1.0.401
type DownloadL7LogsRequest struct {
*tchttp.BaseRequest
// 起始时间(需严格按照RFC3339标准传参)
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间(需严格按照RFC3339标准传参)
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 每页展示条数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 当前页
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点名集合
Zones []*string `json:"Zones,omitempty" name:"Zones"`
// 子域名集合
Domains []*string `json:"Domains,omitempty" name:"Domains"`
}
func NewDownloadL7LogsRequest ¶ added in v1.0.401
func NewDownloadL7LogsRequest() (request *DownloadL7LogsRequest)
func (*DownloadL7LogsRequest) FromJsonString ¶ added in v1.0.401
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 ¶ added in v1.0.401
func (r *DownloadL7LogsRequest) ToJsonString() string
type DownloadL7LogsRequestParams ¶ added in v1.0.426
type DownloadL7LogsRequestParams struct {
// 起始时间(需严格按照RFC3339标准传参)
StartTime *string `json:"StartTime,omitempty" name:"StartTime"`
// 结束时间(需严格按照RFC3339标准传参)
EndTime *string `json:"EndTime,omitempty" name:"EndTime"`
// 每页展示条数
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 当前页
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 站点名集合
Zones []*string `json:"Zones,omitempty" name:"Zones"`
// 子域名集合
Domains []*string `json:"Domains,omitempty" name:"Domains"`
}
Predefined struct for user
type DownloadL7LogsResponse ¶ added in v1.0.401
type DownloadL7LogsResponse struct {
*tchttp.BaseResponse
Response *DownloadL7LogsResponseParams `json:"Response"`
}
func NewDownloadL7LogsResponse ¶ added in v1.0.401
func NewDownloadL7LogsResponse() (response *DownloadL7LogsResponse)
func (*DownloadL7LogsResponse) FromJsonString ¶ added in v1.0.401
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 ¶ added in v1.0.401
func (r *DownloadL7LogsResponse) ToJsonString() string
type DownloadL7LogsResponseParams ¶ added in v1.0.426
type DownloadL7LogsResponseParams struct {
// 七层离线日志data
// 注意:此字段可能返回 null,表示取不到有效值。
Data []*L7OfflineLog `json:"Data,omitempty" name:"Data"`
// 页面大小
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 页号
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 总页数
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type FailReason ¶
type ForceRedirect ¶ added in v1.0.412
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 GeoIp ¶ added in v1.0.415
type GeoIp struct {
// 地域ID
RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"`
// 国家名
Country *string `json:"Country,omitempty" name:"Country"`
// 洲
Continent *string `json:"Continent,omitempty" name:"Continent"`
// 国家英文名
CountryEn *string `json:"CountryEn,omitempty" name:"CountryEn"`
// 洲
ContinentEn *string `json:"ContinentEn,omitempty" name:"ContinentEn"`
}
type HostCertSetting ¶ added in v1.0.412
type HostCertSetting struct {
// 域名
// 注意:此字段可能返回 null,表示取不到有效值。
Host *string `json:"Host,omitempty" name:"Host"`
// 服务端证书配置
// 注意:此字段可能返回 null,表示取不到有效值。
CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}
type Hsts ¶ added in v1.0.412
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 ¶ added in v1.0.412
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"`
}
type IdentifyZoneRequest ¶ added in v1.0.412
type IdentifyZoneRequest struct {
*tchttp.BaseRequest
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewIdentifyZoneRequest ¶ added in v1.0.412
func NewIdentifyZoneRequest() (request *IdentifyZoneRequest)
func (*IdentifyZoneRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *IdentifyZoneRequest) ToJsonString() string
type IdentifyZoneRequestParams ¶ added in v1.0.426
type IdentifyZoneRequestParams struct {
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type IdentifyZoneResponse ¶ added in v1.0.412
type IdentifyZoneResponse struct {
*tchttp.BaseResponse
Response *IdentifyZoneResponseParams `json:"Response"`
}
func NewIdentifyZoneResponse ¶ added in v1.0.412
func NewIdentifyZoneResponse() (response *IdentifyZoneResponse)
func (*IdentifyZoneResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *IdentifyZoneResponse) ToJsonString() string
type IdentifyZoneResponseParams ¶ added in v1.0.426
type IdentifyZoneResponseParams struct {
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 子域
Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"`
// 记录类型
RecordType *string `json:"RecordType,omitempty" name:"RecordType"`
// 记录值
RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ImportDnsRecordsRequest ¶ added in v1.0.412
type ImportDnsRecordsRequest struct {
*tchttp.BaseRequest
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 文件内容
File *string `json:"File,omitempty" name:"File"`
}
func NewImportDnsRecordsRequest ¶ added in v1.0.412
func NewImportDnsRecordsRequest() (request *ImportDnsRecordsRequest)
func (*ImportDnsRecordsRequest) FromJsonString ¶ added in v1.0.412
func (r *ImportDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportDnsRecordsRequest) ToJsonString ¶ added in v1.0.412
func (r *ImportDnsRecordsRequest) ToJsonString() string
type ImportDnsRecordsRequestParams ¶ added in v1.0.426
type ImportDnsRecordsRequestParams struct {
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 文件内容
File *string `json:"File,omitempty" name:"File"`
}
Predefined struct for user
type ImportDnsRecordsResponse ¶ added in v1.0.412
type ImportDnsRecordsResponse struct {
*tchttp.BaseResponse
Response *ImportDnsRecordsResponseParams `json:"Response"`
}
func NewImportDnsRecordsResponse ¶ added in v1.0.412
func NewImportDnsRecordsResponse() (response *ImportDnsRecordsResponse)
func (*ImportDnsRecordsResponse) FromJsonString ¶ added in v1.0.412
func (r *ImportDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportDnsRecordsResponse) ToJsonString ¶ added in v1.0.412
func (r *ImportDnsRecordsResponse) ToJsonString() string
type ImportDnsRecordsResponseParams ¶ added in v1.0.426
type ImportDnsRecordsResponseParams struct {
// 记录 ID
Ids []*string `json:"Ids,omitempty" name:"Ids"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type IntelligenceRule ¶ added in v1.0.435
type IntelligenceRule struct {
// 开关
// 注意:此字段可能返回 null,表示取不到有效值。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 规则详情
// 注意:此字段可能返回 null,表示取不到有效值。
Items []*IntelligenceRuleItem `json:"Items,omitempty" name:"Items"`
}
type IntelligenceRuleItem ¶ added in v1.0.435
type IpTableConfig ¶ added in v1.0.435
type IpTableConfig struct {
// 开关
// 注意:此字段可能返回 null,表示取不到有效值。
Switch *string `json:"Switch,omitempty" name:"Switch"`
// []
// 注意:此字段可能返回 null,表示取不到有效值。
Rules []*IpTableRule `json:"Rules,omitempty" name:"Rules"`
}
type IpTableRule ¶ added in v1.0.435
type IpTableRule struct {
// 动作: drop拦截,trans放行,monitor观察
// 注意:此字段可能返回 null,表示取不到有效值。
Action *string `json:"Action,omitempty" name:"Action"`
// 根据类型匹配:ip(根据ip), area(根据区域)
// 注意:此字段可能返回 null,表示取不到有效值。
MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"`
// 匹配内容
// 注意:此字段可能返回 null,表示取不到有效值。
MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"`
// 规则id
// 注意:此字段可能返回 null,表示取不到有效值。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type Ipv6Access ¶ added in v1.0.474
type Ipv6Access struct {
// Ipv6访问功能配置,取值有:
// <li>on:开启Ipv6访问功能;</li>
// <li>off:关闭Ipv6访问功能。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type L7OfflineLog ¶ added in v1.0.401
type L7OfflineLog struct {
// 日志打包开始时间
// 注意:此字段可能返回 null,表示取不到有效值。
LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"`
// 子域名
// 注意:此字段可能返回 null,表示取不到有效值。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 原始大小 单位byte
// 注意:此字段可能返回 null,表示取不到有效值。
Size *int64 `json:"Size,omitempty" name:"Size"`
// 下载地址
// 注意:此字段可能返回 null,表示取不到有效值。
Url *string `json:"Url,omitempty" name:"Url"`
// 日志数据包名
// 注意:此字段可能返回 null,表示取不到有效值。
LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"`
// 加速区域,取值有:
// <li>mainland:中国大陆境内;</li>
// <li>overseas:全球(不含中国大陆)。</li>
Area *string `json:"Area,omitempty" name:"Area"`
}
type LoadBalancing ¶ added in v1.0.412
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"`
// 代理模式:
// dns_only: 仅DNS
// proxied: 开启代理
Type *string `json:"Type,omitempty" name:"Type"`
// 当Type=dns_only表示DNS的TTL时间
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
// 使用的源站组ID
OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`
// 使用的源站信息
Origin []*OriginGroup `json:"Origin,omitempty" name:"Origin"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 状态
Status *string `json:"Status,omitempty" name:"Status"`
// 调度域名
// 注意:此字段可能返回 null,表示取不到有效值。
Cname *string `json:"Cname,omitempty" name:"Cname"`
}
type ManagedRule ¶ added in v1.0.415
type ManagedRule struct {
// 规则id
RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"`
// 规则描述
Description *string `json:"Description,omitempty" name:"Description"`
// 规则类型名
RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"`
// 策略规则防护等级
RuleLevelDesc *string `json:"RuleLevelDesc,omitempty" name:"RuleLevelDesc"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 规则当前状态 block, allow
Status *string `json:"Status,omitempty" name:"Status"`
// 规则标签
// 注意:此字段可能返回 null,表示取不到有效值。
RuleTags []*string `json:"RuleTags,omitempty" name:"RuleTags"`
// 规则类型详细描述
// 注意:此字段可能返回 null,表示取不到有效值。
RuleTypeDesc *string `json:"RuleTypeDesc,omitempty" name:"RuleTypeDesc"`
// 规则类型id
// 注意:此字段可能返回 null,表示取不到有效值。
RuleTypeId *int64 `json:"RuleTypeId,omitempty" name:"RuleTypeId"`
}
type ModifyApplicationProxyRequest ¶ added in v1.0.412
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"`
// 参数已经废弃。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 参数已经废弃。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 会话保持时间,不填写保持原有配置。取值范围:30-3600,单位:秒。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>不填写保持原有配置。
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// Ipv6访问配置,不填写保持原有配置。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
}
func NewModifyApplicationProxyRequest ¶ added in v1.0.412
func NewModifyApplicationProxyRequest() (request *ModifyApplicationProxyRequest)
func (*ModifyApplicationProxyRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyRequest) ToJsonString() string
type ModifyApplicationProxyRequestParams ¶ added in v1.0.426
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"`
// 参数已经废弃。
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 参数已经废弃。
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
// 会话保持时间,不填写保持原有配置。取值范围:30-3600,单位:秒。
SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"`
// 四层代理模式,取值有:
// <li>hostname:表示子域名模式;</li>
// <li>instance:表示实例模式。</li>不填写保持原有配置。
ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"`
// Ipv6访问配置,不填写保持原有配置。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
}
Predefined struct for user
type ModifyApplicationProxyResponse ¶ added in v1.0.412
type ModifyApplicationProxyResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyResponseParams `json:"Response"`
}
func NewModifyApplicationProxyResponse ¶ added in v1.0.412
func NewModifyApplicationProxyResponse() (response *ModifyApplicationProxyResponse)
func (*ModifyApplicationProxyResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyResponse) ToJsonString() string
type ModifyApplicationProxyResponseParams ¶ added in v1.0.426
type ModifyApplicationProxyResponseParams struct {
// 代理ID。
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyRuleRequest ¶ added in v1.0.412
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"`
// 协议,取值为TCP或者UDP
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// 80:80端口
// 81-90:81至90端口
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-xxx"]
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,当Proto=TCP时,取值:
// TOA:TOA
// PPV1: Proxy Protocol传递,协议版本V1
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
// 当Proto=UDP时,取值:
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
func NewModifyApplicationProxyRuleRequest ¶ added in v1.0.412
func NewModifyApplicationProxyRuleRequest() (request *ModifyApplicationProxyRuleRequest)
func (*ModifyApplicationProxyRuleRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyRuleRequest) ToJsonString() string
type ModifyApplicationProxyRuleRequestParams ¶ added in v1.0.426
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"`
// 协议,取值为TCP或者UDP
Proto *string `json:"Proto,omitempty" name:"Proto"`
// 端口,支持格式:
// 80:80端口
// 81-90:81至90端口
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-xxx"]
OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"`
// 传递客户端IP,当Proto=TCP时,取值:
// TOA:TOA
// PPV1: Proxy Protocol传递,协议版本V1
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
// 当Proto=UDP时,取值:
// PPV2: Proxy Protocol传递,协议版本V2
// OFF:不传递
ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"`
// 是否开启会话保持
SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"`
}
Predefined struct for user
type ModifyApplicationProxyRuleResponse ¶ added in v1.0.412
type ModifyApplicationProxyRuleResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyRuleResponseParams `json:"Response"`
}
func NewModifyApplicationProxyRuleResponse ¶ added in v1.0.412
func NewModifyApplicationProxyRuleResponse() (response *ModifyApplicationProxyRuleResponse)
func (*ModifyApplicationProxyRuleResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyRuleResponse) ToJsonString() string
type ModifyApplicationProxyRuleResponseParams ¶ added in v1.0.426
type ModifyApplicationProxyRuleResponseParams struct {
// 规则ID
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyRuleStatusRequest ¶ added in v1.0.412
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"`
// 状态
// offline: 停用
// online: 启用
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyApplicationProxyRuleStatusRequest ¶ added in v1.0.412
func NewModifyApplicationProxyRuleStatusRequest() (request *ModifyApplicationProxyRuleStatusRequest)
func (*ModifyApplicationProxyRuleStatusRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyRuleStatusRequest) ToJsonString() string
type ModifyApplicationProxyRuleStatusRequestParams ¶ added in v1.0.426
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"`
// 状态
// offline: 停用
// online: 启用
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyApplicationProxyRuleStatusResponse ¶ added in v1.0.412
type ModifyApplicationProxyRuleStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyRuleStatusResponseParams `json:"Response"`
}
func NewModifyApplicationProxyRuleStatusResponse ¶ added in v1.0.412
func NewModifyApplicationProxyRuleStatusResponse() (response *ModifyApplicationProxyRuleStatusResponse)
func (*ModifyApplicationProxyRuleStatusResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyRuleStatusResponse) ToJsonString() string
type ModifyApplicationProxyRuleStatusResponseParams ¶ added in v1.0.426
type ModifyApplicationProxyRuleStatusResponseParams struct {
// 规则ID
RuleId *string `json:"RuleId,omitempty" name:"RuleId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyApplicationProxyStatusRequest ¶ added in v1.0.412
type ModifyApplicationProxyStatusRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 状态
// offline: 停用
// online: 启用
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyApplicationProxyStatusRequest ¶ added in v1.0.412
func NewModifyApplicationProxyStatusRequest() (request *ModifyApplicationProxyStatusRequest)
func (*ModifyApplicationProxyStatusRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyStatusRequest) ToJsonString() string
type ModifyApplicationProxyStatusRequestParams ¶ added in v1.0.426
type ModifyApplicationProxyStatusRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 状态
// offline: 停用
// online: 启用
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyApplicationProxyStatusResponse ¶ added in v1.0.412
type ModifyApplicationProxyStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyApplicationProxyStatusResponseParams `json:"Response"`
}
func NewModifyApplicationProxyStatusResponse ¶ added in v1.0.412
func NewModifyApplicationProxyStatusResponse() (response *ModifyApplicationProxyStatusResponse)
func (*ModifyApplicationProxyStatusResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyApplicationProxyStatusResponse) ToJsonString() string
type ModifyApplicationProxyStatusResponseParams ¶ added in v1.0.426
type ModifyApplicationProxyStatusResponseParams struct {
// 代理ID
ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDDoSPolicyHostRequest ¶ added in v1.0.415
type ModifyDDoSPolicyHostRequest struct {
*tchttp.BaseRequest
// 站点id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名
Host *string `json:"Host,omitempty" name:"Host"`
// 加速开关 on-开启加速;off-关闭加速(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 策略id
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 安全开关 on-开启安全;off-关闭安全(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}
func NewModifyDDoSPolicyHostRequest ¶ added in v1.0.415
func NewModifyDDoSPolicyHostRequest() (request *ModifyDDoSPolicyHostRequest)
func (*ModifyDDoSPolicyHostRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifyDDoSPolicyHostRequest) ToJsonString() string
type ModifyDDoSPolicyHostRequestParams ¶ added in v1.0.426
type ModifyDDoSPolicyHostRequestParams struct {
// 站点id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名
Host *string `json:"Host,omitempty" name:"Host"`
// 加速开关 on-开启加速;off-关闭加速(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"`
// 策略id
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 安全开关 on-开启安全;off-关闭安全(AccelerateType:on,SecurityType:on,安全加速,未开防护增强;AccelerateType:off,SecurityType:on,安全加速,开启防护增强;AccelerateType:on,SecurityType:off,内容加速,未开防护增强)
SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"`
}
Predefined struct for user
type ModifyDDoSPolicyHostResponse ¶ added in v1.0.415
type ModifyDDoSPolicyHostResponse struct {
*tchttp.BaseResponse
Response *ModifyDDoSPolicyHostResponseParams `json:"Response"`
}
func NewModifyDDoSPolicyHostResponse ¶ added in v1.0.415
func NewModifyDDoSPolicyHostResponse() (response *ModifyDDoSPolicyHostResponse)
func (*ModifyDDoSPolicyHostResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifyDDoSPolicyHostResponse) ToJsonString() string
type ModifyDDoSPolicyHostResponseParams ¶ added in v1.0.426
type ModifyDDoSPolicyHostResponseParams struct {
// 修改成功的host
Host *string `json:"Host,omitempty" name:"Host"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDDoSPolicyRequest ¶ added in v1.0.415
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 ¶ added in v1.0.415
func NewModifyDDoSPolicyRequest() (request *ModifyDDoSPolicyRequest)
func (*ModifyDDoSPolicyRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifyDDoSPolicyRequest) ToJsonString() string
type ModifyDDoSPolicyRequestParams ¶ added in v1.0.426
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 ¶ added in v1.0.415
type ModifyDDoSPolicyResponse struct {
*tchttp.BaseResponse
Response *ModifyDDoSPolicyResponseParams `json:"Response"`
}
func NewModifyDDoSPolicyResponse ¶ added in v1.0.415
func NewModifyDDoSPolicyResponse() (response *ModifyDDoSPolicyResponse)
func (*ModifyDDoSPolicyResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifyDDoSPolicyResponse) ToJsonString() string
type ModifyDDoSPolicyResponseParams ¶ added in v1.0.426
type ModifyDDoSPolicyResponseParams struct {
// 策略id。
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDefaultCertificateRequest ¶ added in v1.0.412
type ModifyDefaultCertificateRequest struct {
*tchttp.BaseRequest
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 默认证书ID
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书状态
// deployed: 部署证书
// disabled:禁用证书
// 失败状态下重新deployed即可重试失败
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyDefaultCertificateRequest ¶ added in v1.0.412
func NewModifyDefaultCertificateRequest() (request *ModifyDefaultCertificateRequest)
func (*ModifyDefaultCertificateRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyDefaultCertificateRequest) ToJsonString() string
type ModifyDefaultCertificateRequestParams ¶ added in v1.0.426
type ModifyDefaultCertificateRequestParams struct {
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 默认证书ID
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书状态
// deployed: 部署证书
// disabled:禁用证书
// 失败状态下重新deployed即可重试失败
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyDefaultCertificateResponse ¶ added in v1.0.412
type ModifyDefaultCertificateResponse struct {
*tchttp.BaseResponse
Response *ModifyDefaultCertificateResponseParams `json:"Response"`
}
func NewModifyDefaultCertificateResponse ¶ added in v1.0.412
func NewModifyDefaultCertificateResponse() (response *ModifyDefaultCertificateResponse)
func (*ModifyDefaultCertificateResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyDefaultCertificateResponse) ToJsonString() string
type ModifyDefaultCertificateResponseParams ¶ added in v1.0.426
type ModifyDefaultCertificateResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDnsRecordRequest ¶ added in v1.0.412
type ModifyDnsRecordRequest struct {
*tchttp.BaseRequest
// 记录 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 记录名称
Name *string `json:"Name,omitempty" name:"Name"`
// 记录内容
Content *string `json:"Content,omitempty" name:"Content"`
// 生存时间值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 代理模式
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
func NewModifyDnsRecordRequest ¶ added in v1.0.412
func NewModifyDnsRecordRequest() (request *ModifyDnsRecordRequest)
func (*ModifyDnsRecordRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyDnsRecordRequest) ToJsonString() string
type ModifyDnsRecordRequestParams ¶ added in v1.0.426
type ModifyDnsRecordRequestParams struct {
// 记录 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 记录名称
Name *string `json:"Name,omitempty" name:"Name"`
// 记录内容
Content *string `json:"Content,omitempty" name:"Content"`
// 生存时间值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 代理模式
Mode *string `json:"Mode,omitempty" name:"Mode"`
}
Predefined struct for user
type ModifyDnsRecordResponse ¶ added in v1.0.412
type ModifyDnsRecordResponse struct {
*tchttp.BaseResponse
Response *ModifyDnsRecordResponseParams `json:"Response"`
}
func NewModifyDnsRecordResponse ¶ added in v1.0.412
func NewModifyDnsRecordResponse() (response *ModifyDnsRecordResponse)
func (*ModifyDnsRecordResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyDnsRecordResponse) ToJsonString() string
type ModifyDnsRecordResponseParams ¶ added in v1.0.426
type ModifyDnsRecordResponseParams struct {
// 记录 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 记录类型
Type *string `json:"Type,omitempty" name:"Type"`
// 记录名称
Name *string `json:"Name,omitempty" name:"Name"`
// 记录内容
Content *string `json:"Content,omitempty" name:"Content"`
// 生存时间值
Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"`
// 优先级
Priority *int64 `json:"Priority,omitempty" name:"Priority"`
// 代理模式
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 解析状态
Status *string `json:"Status,omitempty" name:"Status"`
// CNAME 地址
// 注意:此字段可能返回 null,表示取不到有效值。
Cname *string `json:"Cname,omitempty" name:"Cname"`
// 锁定状态
Locked *bool `json:"Locked,omitempty" name:"Locked"`
// 创建时间
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 修改时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyDnssecRequest ¶ added in v1.0.412
type ModifyDnssecRequest struct {
*tchttp.BaseRequest
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// DNSSEC 状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyDnssecRequest ¶ added in v1.0.412
func NewModifyDnssecRequest() (request *ModifyDnssecRequest)
func (*ModifyDnssecRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyDnssecRequest) ToJsonString() string
type ModifyDnssecRequestParams ¶ added in v1.0.426
type ModifyDnssecRequestParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// DNSSEC 状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyDnssecResponse ¶ added in v1.0.412
type ModifyDnssecResponse struct {
*tchttp.BaseResponse
Response *ModifyDnssecResponseParams `json:"Response"`
}
func NewModifyDnssecResponse ¶ added in v1.0.412
func NewModifyDnssecResponse() (response *ModifyDnssecResponse)
func (*ModifyDnssecResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyDnssecResponse) ToJsonString() string
type ModifyDnssecResponseParams ¶ added in v1.0.426
type ModifyDnssecResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// DNSSEC 状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
// DNSSEC 相关信息
// 注意:此字段可能返回 null,表示取不到有效值。
Dnssec *DnssecInfo `json:"Dnssec,omitempty" name:"Dnssec"`
// 修改时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyHostsCertificateRequest ¶ added in v1.0.412
type ModifyHostsCertificateRequest struct {
*tchttp.BaseRequest
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 本次变更的域名
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
// 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书
CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}
func NewModifyHostsCertificateRequest ¶ added in v1.0.412
func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest)
func (*ModifyHostsCertificateRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyHostsCertificateRequest) ToJsonString() string
type ModifyHostsCertificateRequestParams ¶ added in v1.0.426
type ModifyHostsCertificateRequestParams struct {
// Zone ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 本次变更的域名
Hosts []*string `json:"Hosts,omitempty" name:"Hosts"`
// 证书信息, 只需要传入 CertId 即可, 如果为空, 则使用默认证书
CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"`
}
Predefined struct for user
type ModifyHostsCertificateResponse ¶ added in v1.0.412
type ModifyHostsCertificateResponse struct {
*tchttp.BaseResponse
Response *ModifyHostsCertificateResponseParams `json:"Response"`
}
func NewModifyHostsCertificateResponse ¶ added in v1.0.412
func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateResponse)
func (*ModifyHostsCertificateResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyHostsCertificateResponse) ToJsonString() string
type ModifyHostsCertificateResponseParams ¶ added in v1.0.426
type ModifyHostsCertificateResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyLoadBalancingRequest ¶ added in v1.0.412
type ModifyLoadBalancingRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 代理模式:
// dns_only: 仅DNS
// proxied: 开启代理
Type *string `json:"Type,omitempty" name:"Type"`
// 使用的源站组ID
OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`
// 当Type=dns_only表示DNS的TTL时间
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}
func NewModifyLoadBalancingRequest ¶ added in v1.0.412
func NewModifyLoadBalancingRequest() (request *ModifyLoadBalancingRequest)
func (*ModifyLoadBalancingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyLoadBalancingRequest) ToJsonString() string
type ModifyLoadBalancingRequestParams ¶ added in v1.0.426
type ModifyLoadBalancingRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 代理模式:
// dns_only: 仅DNS
// proxied: 开启代理
Type *string `json:"Type,omitempty" name:"Type"`
// 使用的源站组ID
OriginId []*string `json:"OriginId,omitempty" name:"OriginId"`
// 当Type=dns_only表示DNS的TTL时间
TTL *uint64 `json:"TTL,omitempty" name:"TTL"`
}
Predefined struct for user
type ModifyLoadBalancingResponse ¶ added in v1.0.412
type ModifyLoadBalancingResponse struct {
*tchttp.BaseResponse
Response *ModifyLoadBalancingResponseParams `json:"Response"`
}
func NewModifyLoadBalancingResponse ¶ added in v1.0.412
func NewModifyLoadBalancingResponse() (response *ModifyLoadBalancingResponse)
func (*ModifyLoadBalancingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyLoadBalancingResponse) ToJsonString() string
type ModifyLoadBalancingResponseParams ¶ added in v1.0.426
type ModifyLoadBalancingResponseParams struct {
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyLoadBalancingStatusRequest ¶ added in v1.0.412
type ModifyLoadBalancingStatusRequest struct {
*tchttp.BaseRequest
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 状态
// online: 启用
// offline: 停用
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyLoadBalancingStatusRequest ¶ added in v1.0.412
func NewModifyLoadBalancingStatusRequest() (request *ModifyLoadBalancingStatusRequest)
func (*ModifyLoadBalancingStatusRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyLoadBalancingStatusRequest) ToJsonString() string
type ModifyLoadBalancingStatusRequestParams ¶ added in v1.0.426
type ModifyLoadBalancingStatusRequestParams struct {
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 状态
// online: 启用
// offline: 停用
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyLoadBalancingStatusResponse ¶ added in v1.0.412
type ModifyLoadBalancingStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyLoadBalancingStatusResponseParams `json:"Response"`
}
func NewModifyLoadBalancingStatusResponse ¶ added in v1.0.412
func NewModifyLoadBalancingStatusResponse() (response *ModifyLoadBalancingStatusResponse)
func (*ModifyLoadBalancingStatusResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyLoadBalancingStatusResponse) ToJsonString() string
type ModifyLoadBalancingStatusResponseParams ¶ added in v1.0.426
type ModifyLoadBalancingStatusResponseParams struct {
// 负载均衡ID
LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyOriginGroupRequest ¶ added in v1.0.415
type ModifyOriginGroupRequest struct {
*tchttp.BaseRequest
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 源站组名称
OriginName *string `json:"OriginName,omitempty" name:"OriginName"`
// 配置类型,当OriginType=self 时,需要填写:
// area: 按区域配置
// weight: 按权重配置
// 当OriginType=third_party/cos 时,不需要填写
Type *string `json:"Type,omitempty" name:"Type"`
// 源站记录
Record []*OriginRecord `json:"Record,omitempty" name:"Record"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站类型
// self:自有源站
// third_party:第三方源站
// cos:腾讯云COS源站
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
}
func NewModifyOriginGroupRequest ¶ added in v1.0.415
func NewModifyOriginGroupRequest() (request *ModifyOriginGroupRequest)
func (*ModifyOriginGroupRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifyOriginGroupRequest) ToJsonString() string
type ModifyOriginGroupRequestParams ¶ added in v1.0.426
type ModifyOriginGroupRequestParams struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 源站组名称
OriginName *string `json:"OriginName,omitempty" name:"OriginName"`
// 配置类型,当OriginType=self 时,需要填写:
// area: 按区域配置
// weight: 按权重配置
// 当OriginType=third_party/cos 时,不需要填写
Type *string `json:"Type,omitempty" name:"Type"`
// 源站记录
Record []*OriginRecord `json:"Record,omitempty" name:"Record"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 源站类型
// self:自有源站
// third_party:第三方源站
// cos:腾讯云COS源站
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
}
Predefined struct for user
type ModifyOriginGroupResponse ¶ added in v1.0.415
type ModifyOriginGroupResponse struct {
*tchttp.BaseResponse
Response *ModifyOriginGroupResponseParams `json:"Response"`
}
func NewModifyOriginGroupResponse ¶ added in v1.0.415
func NewModifyOriginGroupResponse() (response *ModifyOriginGroupResponse)
func (*ModifyOriginGroupResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifyOriginGroupResponse) ToJsonString() string
type ModifyOriginGroupResponseParams ¶ added in v1.0.426
type ModifyOriginGroupResponseParams struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifySecurityPolicyRequest ¶ added in v1.0.415
type ModifySecurityPolicyRequest struct {
*tchttp.BaseRequest
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 安全配置
Config *SecurityConfig `json:"Config,omitempty" name:"Config"`
}
func NewModifySecurityPolicyRequest ¶ added in v1.0.415
func NewModifySecurityPolicyRequest() (request *ModifySecurityPolicyRequest)
func (*ModifySecurityPolicyRequest) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifySecurityPolicyRequest) ToJsonString() string
type ModifySecurityPolicyRequestParams ¶ added in v1.0.426
type ModifySecurityPolicyRequestParams struct {
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名/应用名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 安全配置
Config *SecurityConfig `json:"Config,omitempty" name:"Config"`
}
Predefined struct for user
type ModifySecurityPolicyResponse ¶ added in v1.0.415
type ModifySecurityPolicyResponse struct {
*tchttp.BaseResponse
Response *ModifySecurityPolicyResponseParams `json:"Response"`
}
func NewModifySecurityPolicyResponse ¶ added in v1.0.415
func NewModifySecurityPolicyResponse() (response *ModifySecurityPolicyResponse)
func (*ModifySecurityPolicyResponse) FromJsonString ¶ added in v1.0.415
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 ¶ added in v1.0.415
func (r *ModifySecurityPolicyResponse) ToJsonString() string
type ModifySecurityPolicyResponseParams ¶ added in v1.0.426
type ModifySecurityPolicyResponseParams struct {
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneCnameSpeedUpRequest ¶ added in v1.0.412
type ModifyZoneCnameSpeedUpRequest struct {
*tchttp.BaseRequest
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// CNAME 加速状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
}
func NewModifyZoneCnameSpeedUpRequest ¶ added in v1.0.412
func NewModifyZoneCnameSpeedUpRequest() (request *ModifyZoneCnameSpeedUpRequest)
func (*ModifyZoneCnameSpeedUpRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneCnameSpeedUpRequest) ToJsonString() string
type ModifyZoneCnameSpeedUpRequestParams ¶ added in v1.0.426
type ModifyZoneCnameSpeedUpRequestParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// CNAME 加速状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
}
Predefined struct for user
type ModifyZoneCnameSpeedUpResponse ¶ added in v1.0.412
type ModifyZoneCnameSpeedUpResponse struct {
*tchttp.BaseResponse
Response *ModifyZoneCnameSpeedUpResponseParams `json:"Response"`
}
func NewModifyZoneCnameSpeedUpResponse ¶ added in v1.0.412
func NewModifyZoneCnameSpeedUpResponse() (response *ModifyZoneCnameSpeedUpResponse)
func (*ModifyZoneCnameSpeedUpResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneCnameSpeedUpResponse) ToJsonString() string
type ModifyZoneCnameSpeedUpResponseParams ¶ added in v1.0.426
type ModifyZoneCnameSpeedUpResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// CNAME 加速状态
// - enabled 开启
// - disabled 关闭
Status *string `json:"Status,omitempty" name:"Status"`
// 更新时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneRequest ¶ added in v1.0.412
type ModifyZoneRequest struct {
*tchttp.BaseRequest
// 站点 ID,用于唯一标识站点信息
Id *string `json:"Id,omitempty" name:"Id"`
// 站点接入方式
// - full NS 接入
// - partial CNAME 接入
Type *string `json:"Type,omitempty" name:"Type"`
// 自定义站点信息
VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
}
func NewModifyZoneRequest ¶ added in v1.0.412
func NewModifyZoneRequest() (request *ModifyZoneRequest)
func (*ModifyZoneRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneRequest) ToJsonString() string
type ModifyZoneRequestParams ¶ added in v1.0.426
type ModifyZoneRequestParams struct {
// 站点 ID,用于唯一标识站点信息
Id *string `json:"Id,omitempty" name:"Id"`
// 站点接入方式
// - full NS 接入
// - partial CNAME 接入
Type *string `json:"Type,omitempty" name:"Type"`
// 自定义站点信息
VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"`
}
Predefined struct for user
type ModifyZoneResponse ¶ added in v1.0.412
type ModifyZoneResponse struct {
*tchttp.BaseResponse
Response *ModifyZoneResponseParams `json:"Response"`
}
func NewModifyZoneResponse ¶ added in v1.0.412
func NewModifyZoneResponse() (response *ModifyZoneResponse)
func (*ModifyZoneResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneResponse) ToJsonString() string
type ModifyZoneResponseParams ¶ added in v1.0.426
type ModifyZoneResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 站点当前使用的 NS
OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"`
// 站点状态
// - pending 未接入 NS
// - active 已接入 NS
// - moved NS 已切走
Status *string `json:"Status,omitempty" name:"Status"`
// 站点接入方式
// - full NS 接入
// - partial CNAME 接入
Type *string `json:"Type,omitempty" name:"Type"`
// 腾讯云分配的 NS 列表
NameServers []*string `json:"NameServers,omitempty" name:"NameServers"`
// 创建时间
CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"`
// 修改时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// cname 接入状态
// - finished 站点验证完成
// - pending 站点验证中
// 注意:此字段可能返回 null,表示取不到有效值。
CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneSettingRequest ¶ added in v1.0.412
type ModifyZoneSettingRequest struct {
*tchttp.BaseRequest
// 待变更的站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 缓存过期时间配置。
// 不填写表示保持原有配置。
Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"`
// 节点缓存键配置。
// 不填写表示保持原有配置。
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 *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`
// 缓存预刷新配置。
// 不填写表示保持原有配置。
CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
// Ipv6访问配置。
// 不填写表示保持原有配置。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
}
func NewModifyZoneSettingRequest ¶ added in v1.0.412
func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)
func (*ModifyZoneSettingRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneSettingRequest) ToJsonString() string
type ModifyZoneSettingRequestParams ¶ added in v1.0.426
type ModifyZoneSettingRequestParams struct {
// 待变更的站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 缓存过期时间配置。
// 不填写表示保持原有配置。
Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"`
// 节点缓存键配置。
// 不填写表示保持原有配置。
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 *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"`
// 缓存预刷新配置。
// 不填写表示保持原有配置。
CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"`
// Ipv6访问配置。
// 不填写表示保持原有配置。
Ipv6 *Ipv6Access `json:"Ipv6,omitempty" name:"Ipv6"`
}
Predefined struct for user
type ModifyZoneSettingResponse ¶ added in v1.0.412
type ModifyZoneSettingResponse struct {
*tchttp.BaseResponse
Response *ModifyZoneSettingResponseParams `json:"Response"`
}
func NewModifyZoneSettingResponse ¶ added in v1.0.412
func NewModifyZoneSettingResponse() (response *ModifyZoneSettingResponse)
func (*ModifyZoneSettingResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneSettingResponse) ToJsonString() string
type ModifyZoneSettingResponseParams ¶ added in v1.0.426
type ModifyZoneSettingResponseParams struct {
// 站点ID。
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type ModifyZoneStatusRequest ¶ added in v1.0.412
type ModifyZoneStatusRequest struct {
*tchttp.BaseRequest
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点状态
// - false 开启站点
// - true 关闭站点
Paused *bool `json:"Paused,omitempty" name:"Paused"`
}
func NewModifyZoneStatusRequest ¶ added in v1.0.412
func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)
func (*ModifyZoneStatusRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneStatusRequest) ToJsonString() string
type ModifyZoneStatusRequestParams ¶ added in v1.0.426
type ModifyZoneStatusRequestParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点状态
// - false 开启站点
// - true 关闭站点
Paused *bool `json:"Paused,omitempty" name:"Paused"`
}
Predefined struct for user
type ModifyZoneStatusResponse ¶ added in v1.0.412
type ModifyZoneStatusResponse struct {
*tchttp.BaseResponse
Response *ModifyZoneStatusResponseParams `json:"Response"`
}
func NewModifyZoneStatusResponse ¶ added in v1.0.412
func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)
func (*ModifyZoneStatusResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ModifyZoneStatusResponse) ToJsonString() string
type ModifyZoneStatusResponseParams ¶ added in v1.0.426
type ModifyZoneStatusResponseParams struct {
// 站点 ID
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 站点状态
// - false 开启站点
// - true 关闭站点
Paused *bool `json:"Paused,omitempty" name:"Paused"`
// 更新时间
ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type OfflineCache ¶ added in v1.0.412
type OfflineCache struct {
// 离线缓存是否开启,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type Origin ¶ added in v1.0.412
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 回源,https 回源时仅支持源站 443 端口。</li>
// 注意:此字段可能返回 null,表示取不到有效值。
OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"`
// OriginType 为对象存储(COS)时,可以指定是否允许访问私有 bucket。
// 注意:此字段可能返回 null,表示取不到有效值。
CosPrivateAccess *string `json:"CosPrivateAccess,omitempty" name:"CosPrivateAccess"`
}
type OriginCheckOriginStatus ¶ added in v1.0.432
type OriginFilter ¶ added in v1.0.415
type OriginGroup ¶ added in v1.0.412
type OriginGroup struct {
// 源站组ID
OriginId *string `json:"OriginId,omitempty" name:"OriginId"`
// 源站组名称
OriginName *string `json:"OriginName,omitempty" name:"OriginName"`
// 源站组配置类型
// area:表示按照Record记录中的Area字段进行按客户端IP所在区域回源。
// weight:表示按照Record记录中的Weight字段进行按权重回源。
Type *string `json:"Type,omitempty" name:"Type"`
// 记录
Record []*OriginRecord `json:"Record,omitempty" name:"Record"`
// 更新时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
// 站点ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 站点名称
ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"`
// 源站类型
// 注意:此字段可能返回 null,表示取不到有效值。
OriginType *string `json:"OriginType,omitempty" name:"OriginType"`
// 当前源站组是否被四层代理使用。
// 注意:此字段可能返回 null,表示取不到有效值。
ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitempty" name:"ApplicationProxyUsed"`
// 当前源站组是否被负载均衡使用。
// 注意:此字段可能返回 null,表示取不到有效值。
LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitempty" name:"LoadBalancingUsed"`
// 源站状态信息
// 注意:此字段可能返回 null,表示取不到有效值。
Status *OriginCheckOriginStatus `json:"Status,omitempty" name:"Status"`
// 使用当前源站组的负载均衡的类型:
// none:未被使用
// dns_only:被仅DNS类型负载均衡使用
// proxied:被代理加速类型负载均衡使用
// both:同时被仅DNS和代理加速类型负载均衡使用
// 注意:此字段可能返回 null,表示取不到有效值。
LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitempty" name:"LoadBalancingUsedType"`
}
type OriginRecord ¶ added in v1.0.412
type OriginRecord struct {
// 记录值
Record *string `json:"Record,omitempty" name:"Record"`
// 当源站配置类型Type=area时,表示区域
// 为空表示默认区域
Area []*string `json:"Area,omitempty" name:"Area"`
// 当源站配置类型Type=weight时,表示权重
// 取值范围为[1-100]
// 源站组内多个源站权重总和应为100。
// 当源站配置类型Type=proto,表示权重
// 取值范围为[1-100]
// 源站组内Proto相同的多个源站权重总和应为100。
Weight *uint64 `json:"Weight,omitempty" name:"Weight"`
// 端口
Port *uint64 `json:"Port,omitempty" name:"Port"`
// 记录ID
RecordId *string `json:"RecordId,omitempty" name:"RecordId"`
// 是否私有鉴权
// 当源站类型OriginType=third_part时有效
// 注意:此字段可能返回 null,表示取不到有效值。
Private *bool `json:"Private,omitempty" name:"Private"`
// 私有鉴权参数
// 当源站类型Private=true时有效
// 注意:此字段可能返回 null,表示取不到有效值。
PrivateParameter []*OriginRecordPrivateParameter `json:"PrivateParameter,omitempty" name:"PrivateParameter"`
// 当源站配置类型Type=proto时,表示客户端请求协议,取值:http/https
// 注意:此字段可能返回 null,表示取不到有效值。
Proto *string `json:"Proto,omitempty" name:"Proto"`
}
type OriginRecordPrivateParameter ¶ added in v1.0.412
type PortraitManagedRuleDetail ¶ added in v1.0.419
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(扫描器,Bot行为等)
// 注意:此字段可能返回 null,表示取不到有效值。
ClassificationId *int64 `json:"ClassificationId,omitempty" name:"ClassificationId"`
// 规则当前所属动作状态(block, alg, ...)
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
}
type PostMaxSize ¶ added in v1.0.412
type QueryCondition ¶ added in v1.0.421
type QueryString ¶ added in v1.0.412
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 ¶ added in v1.0.412
type Quic struct {
// 是否开启Quic配置,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type RateLimitConfig ¶ added in v1.0.415
type RateLimitConfig struct {
// 开关
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 用户规则
UserRules []*RateLimitUserRule `json:"UserRules,omitempty" name:"UserRules"`
// 默认模板
// 注意:此字段可能返回 null,表示取不到有效值。
Template *RateLimitTemplate `json:"Template,omitempty" name:"Template"`
// 智能客户端过滤
// 注意:此字段可能返回 null,表示取不到有效值。
Intelligence *RateLimitIntelligence `json:"Intelligence,omitempty" name:"Intelligence"`
}
type RateLimitIntelligence ¶ added in v1.0.435
type RateLimitTemplate ¶ added in v1.0.415
type RateLimitTemplate struct {
// 模板名称
// 注意:此字段可能返回 null,表示取不到有效值。
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 模板值详情
// 注意:此字段可能返回 null,表示取不到有效值。
Detail *RateLimitTemplateDetail `json:"Detail,omitempty" name:"Detail"`
}
type RateLimitTemplateDetail ¶ added in v1.0.415
type RateLimitTemplateDetail struct {
// 模板名称
// 注意:此字段可能返回 null,表示取不到有效值。
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 唯一id
// 注意:此字段可能返回 null,表示取不到有效值。
ID *int64 `json:"ID,omitempty" name:"ID"`
// 处置动作
// 注意:此字段可能返回 null,表示取不到有效值。
Action *string `json:"Action,omitempty" name:"Action"`
// 惩罚时间,秒
// 注意:此字段可能返回 null,表示取不到有效值。
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// 阈值
// 注意:此字段可能返回 null,表示取不到有效值。
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// 统计周期
// 注意:此字段可能返回 null,表示取不到有效值。
Period *int64 `json:"Period,omitempty" name:"Period"`
}
type RateLimitUserRule ¶ added in v1.0.415
type RateLimitUserRule struct {
// RateLimit统计阈值
Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"`
// RateLimit统计时间
Period *int64 `json:"Period,omitempty" name:"Period"`
// 规则名
RuleName *string `json:"RuleName,omitempty" name:"RuleName"`
// 动作:monitor(观察), drop(拦截)
Action *string `json:"Action,omitempty" name:"Action"`
// 惩罚时长
PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"`
// 处罚时长单位,second
PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"`
// 规则状态
RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"`
// 规则
Conditions []*ACLCondition `json:"Conditions,omitempty" name:"Conditions"`
// 规则权重
RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"`
// 规则id
// 注意:此字段可能返回 null,表示取不到有效值。
RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"`
// 过滤词
// 注意:此字段可能返回 null,表示取不到有效值。
FreqFields []*string `json:"FreqFields,omitempty" name:"FreqFields"`
// 更新时间
// 注意:此字段可能返回 null,表示取不到有效值。
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type ReclaimZoneRequest ¶ added in v1.0.412
type ReclaimZoneRequest struct {
*tchttp.BaseRequest
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
}
func NewReclaimZoneRequest ¶ added in v1.0.412
func NewReclaimZoneRequest() (request *ReclaimZoneRequest)
func (*ReclaimZoneRequest) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ReclaimZoneRequest) ToJsonString() string
type ReclaimZoneRequestParams ¶ added in v1.0.426
type ReclaimZoneRequestParams struct {
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
}
Predefined struct for user
type ReclaimZoneResponse ¶ added in v1.0.412
type ReclaimZoneResponse struct {
*tchttp.BaseResponse
Response *ReclaimZoneResponseParams `json:"Response"`
}
func NewReclaimZoneResponse ¶ added in v1.0.412
func NewReclaimZoneResponse() (response *ReclaimZoneResponse)
func (*ReclaimZoneResponse) FromJsonString ¶ added in v1.0.412
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 ¶ added in v1.0.412
func (r *ReclaimZoneResponse) ToJsonString() string
type ReclaimZoneResponseParams ¶ added in v1.0.426
type ReclaimZoneResponseParams struct {
// 站点名称
Name *string `json:"Name,omitempty" name:"Name"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type Resource ¶ added in v1.0.452
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 ScanDnsRecordsRequest ¶ added in v1.0.412
type ScanDnsRecordsRequest struct {
*tchttp.BaseRequest
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
func NewScanDnsRecordsRequest ¶ added in v1.0.412
func NewScanDnsRecordsRequest() (request *ScanDnsRecordsRequest)
func (*ScanDnsRecordsRequest) FromJsonString ¶ added in v1.0.412
func (r *ScanDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScanDnsRecordsRequest) ToJsonString ¶ added in v1.0.412
func (r *ScanDnsRecordsRequest) ToJsonString() string
type ScanDnsRecordsRequestParams ¶ added in v1.0.426
type ScanDnsRecordsRequestParams struct {
// 站点 ID
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
}
Predefined struct for user
type ScanDnsRecordsResponse ¶ added in v1.0.412
type ScanDnsRecordsResponse struct {
*tchttp.BaseResponse
Response *ScanDnsRecordsResponseParams `json:"Response"`
}
func NewScanDnsRecordsResponse ¶ added in v1.0.412
func NewScanDnsRecordsResponse() (response *ScanDnsRecordsResponse)
func (*ScanDnsRecordsResponse) FromJsonString ¶ added in v1.0.412
func (r *ScanDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScanDnsRecordsResponse) ToJsonString ¶ added in v1.0.412
func (r *ScanDnsRecordsResponse) ToJsonString() string
type ScanDnsRecordsResponseParams ¶ added in v1.0.426
type ScanDnsRecordsResponseParams struct {
// 扫描状态
// - doing 扫描中
// - done 扫描完成
Status *string `json:"Status,omitempty" name:"Status"`
// 扫描后添加的记录数
RecordsAdded *int64 `json:"RecordsAdded,omitempty" name:"RecordsAdded"`
// 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
RequestId *string `json:"RequestId,omitempty" name:"RequestId"`
}
Predefined struct for user
type SecEntry ¶ added in v1.0.421
type SecEntry struct {
// 查询维度值。
// 注意:此字段可能返回 null,表示取不到有效值。
Key *string `json:"Key,omitempty" name:"Key"`
// 查询维度下详细数据。
// 注意:此字段可能返回 null,表示取不到有效值。
Value []*SecEntryValue `json:"Value,omitempty" name:"Value"`
}
type SecEntryValue ¶ added in v1.0.421
type SecEntryValue struct {
// 指标名称。
// 注意:此字段可能返回 null,表示取不到有效值。
Metric *string `json:"Metric,omitempty" name:"Metric"`
// 时序数据详情。
// 注意:此字段可能返回 null,表示取不到有效值。
Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`
// 最大值。
// 注意:此字段可能返回 null,表示取不到有效值。
Max *int64 `json:"Max,omitempty" name:"Max"`
// 平均值。
// 注意:此字段可能返回 null,表示取不到有效值。
Avg *float64 `json:"Avg,omitempty" name:"Avg"`
// 数据总和。
// 注意:此字段可能返回 null,表示取不到有效值。
Sum *float64 `json:"Sum,omitempty" name:"Sum"`
}
type SecRuleRelatedInfo ¶ added in v1.0.471
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 ¶ added in v1.0.415
type SecurityConfig struct {
// 门神配置
// 注意:此字段可能返回 null,表示取不到有效值。
WafConfig *WafConfig `json:"WafConfig,omitempty" name:"WafConfig"`
// RateLimit配置
// 注意:此字段可能返回 null,表示取不到有效值。
RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitempty" name:"RateLimitConfig"`
// DDoS配置
// 注意:此字段可能返回 null,表示取不到有效值。
DdosConfig *DDoSConfig `json:"DdosConfig,omitempty" name:"DdosConfig"`
// ACL配置
// 注意:此字段可能返回 null,表示取不到有效值。
AclConfig *AclConfig `json:"AclConfig,omitempty" name:"AclConfig"`
// Bot配置
// 注意:此字段可能返回 null,表示取不到有效值。
BotConfig *BotConfig `json:"BotConfig,omitempty" name:"BotConfig"`
// 总开关
// 注意:此字段可能返回 null,表示取不到有效值。
SwitchConfig *SwitchConfig `json:"SwitchConfig,omitempty" name:"SwitchConfig"`
// IP黑白名单
// 注意:此字段可能返回 null,表示取不到有效值。
IpTableConfig *IpTableConfig `json:"IpTableConfig,omitempty" name:"IpTableConfig"`
}
type SecurityEntity ¶ added in v1.0.415
type SecurityEntity struct {
// 用户appid
AppId *int64 `json:"AppId,omitempty" name:"AppId"`
// 一级域名
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 二级域名
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 类型 domain/application
EntityType *string `json:"EntityType,omitempty" name:"EntityType"`
}
type ServerCertInfo ¶ added in v1.0.412
type ServerCertInfo struct {
// 服务器证书 ID, 默认证书ID, 或在 SSL 证书管理进行证书托管时自动生成
// 注意:此字段可能返回 null,表示取不到有效值。
CertId *string `json:"CertId,omitempty" name:"CertId"`
// 证书备注名
// 注意:此字段可能返回 null,表示取不到有效值。
Alias *string `json:"Alias,omitempty" name:"Alias"`
// 证书类型:
// default: 默认证书
// upload:用户上传
// managed:腾讯云托管
// 注意:此字段可能返回 null,表示取不到有效值。
Type *string `json:"Type,omitempty" name:"Type"`
// 证书过期时间
// 注意:此字段可能返回 null,表示取不到有效值。
ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"`
// 证书部署时间
// 注意:此字段可能返回 null,表示取不到有效值。
DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"`
// 部署状态:
// processing: 部署中
// deployed: 已部署
// 注意:此字段可能返回 null,表示取不到有效值。
Status *string `json:"Status,omitempty" name:"Status"`
}
type ShieldArea ¶ added in v1.0.415
type ShieldArea struct {
// 一级域名id
ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"`
// 策略id
PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"`
// 防护类型 domain/application
Type *string `json:"Type,omitempty" name:"Type"`
// 四层应用名
// 注意:此字段可能返回 null,表示取不到有效值。
EntityName *string `json:"EntityName,omitempty" name:"EntityName"`
// 7层域名参数
// 注意:此字段可能返回 null,表示取不到有效值。
Application []*DDoSApplication `json:"Application,omitempty" name:"Application"`
// 四层tcp转发规则数
// 注意:此字段可能返回 null,表示取不到有效值。
TcpNum *int64 `json:"TcpNum,omitempty" name:"TcpNum"`
// 四层udp转发规则数
// 注意:此字段可能返回 null,表示取不到有效值。
UdpNum *int64 `json:"UdpNum,omitempty" name:"UdpNum"`
// 实例名称
// 注意:此字段可能返回 null,表示取不到有效值。
Entity *string `json:"Entity,omitempty" name:"Entity"`
// 注意:此字段可能返回 null,表示取不到有效值。
Share *bool `json:"Share,omitempty" name:"Share"`
}
type SmartRouting ¶ added in v1.0.412
type SmartRouting struct {
// 智能加速配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type SwitchConfig ¶ added in v1.0.415
type SwitchConfig struct {
// Web类型的安全总开关:Web基础防护,自定义规则,速率限制
WebSwitch *string `json:"WebSwitch,omitempty" name:"WebSwitch"`
}
type Task ¶
type Task struct {
// 任务ID
JobId *string `json:"JobId,omitempty" name:"JobId"`
// 状态
Status *string `json:"Status,omitempty" name:"Status"`
// 资源
Target *string `json:"Target,omitempty" name:"Target"`
// 任务类型
Type *string `json:"Type,omitempty" name:"Type"`
// 任务创建时间
CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"`
// 任务完成时间
UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"`
}
type TimingDataItem ¶ added in v1.0.421
type TimingDataRecord ¶ added in v1.0.421
type TimingDataRecord struct {
// 查询维度值
TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`
// 详细时序数据
// 注意:此字段可能返回 null,表示取不到有效值。
TypeValue []*TimingTypeValue `json:"TypeValue,omitempty" name:"TypeValue"`
}
type TimingTypeValue ¶ added in v1.0.421
type TimingTypeValue struct {
// 数据和
// 注意:此字段可能返回 null,表示取不到有效值。
Sum *int64 `json:"Sum,omitempty" name:"Sum"`
// 最大
// 注意:此字段可能返回 null,表示取不到有效值。
Max *int64 `json:"Max,omitempty" name:"Max"`
// 平均
// 注意:此字段可能返回 null,表示取不到有效值。
Avg *int64 `json:"Avg,omitempty" name:"Avg"`
// 指标名
MetricName *string `json:"MetricName,omitempty" name:"MetricName"`
// 废弃字段,即将下线,请使用Detail字段
// 注意:此字段可能返回 null,表示取不到有效值。
DetailData []*int64 `json:"DetailData,omitempty" name:"DetailData"`
// 详细数据
// 注意:此字段可能返回 null,表示取不到有效值。
Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"`
}
type TopDataRecord ¶ added in v1.0.421
type TopDataRecord struct {
// 查询维度值
TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"`
// top数据排行
// 注意:此字段可能返回 null,表示取不到有效值。
DetailData []*TopDetailData `json:"DetailData,omitempty" name:"DetailData"`
}
type TopDetailData ¶ added in v1.0.421
type TopNEntry ¶ added in v1.0.421
type TopNEntry struct {
// top查询维度值。
Key *string `json:"Key,omitempty" name:"Key"`
// 查询具体数据。
Value []*TopNEntryValue `json:"Value,omitempty" name:"Value"`
}
type TopNEntryValue ¶ added in v1.0.421
type UpstreamHttp2 ¶ added in v1.0.412
type UpstreamHttp2 struct {
// http2回源配置开关,取值有:
// <li>on:开启;</li>
// <li>off:关闭。</li>
Switch *string `json:"Switch,omitempty" name:"Switch"`
}
type VanityNameServers ¶ added in v1.0.412
type VanityNameServersIps ¶ added in v1.0.412
type WafConfig ¶ added in v1.0.415
type WafConfig struct {
// 开关
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 防护级别,loose/normal/strict/stricter/custom
Level *string `json:"Level,omitempty" name:"Level"`
// 模式 block-阻断;observe-观察模式;close-关闭
Mode *string `json:"Mode,omitempty" name:"Mode"`
// 托管规则黑白名单
WafRules *WafRule `json:"WafRules,omitempty" name:"WafRules"`
// AI规则引擎防护
// 注意:此字段可能返回 null,表示取不到有效值。
AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"`
}
type WafRule ¶ added in v1.0.415
type WafRule struct {
// 黑名单,ID参考接口 DescribeSecurityPolicyManagedRules
BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitempty" name:"BlockRuleIDs"`
// 托管规则 开关
Switch *string `json:"Switch,omitempty" name:"Switch"`
// 观察模式,ID参考接口 DescribeSecurityPolicyManagedRules
// 注意:此字段可能返回 null,表示取不到有效值。
ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitempty" name:"ObserveRuleIDs"`
}
type WebAttackEvent ¶ added in v1.0.421
type WebAttackEvent struct {
// 客户端ip
// 注意:此字段可能返回 null,表示取不到有效值。
ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"`
// 攻击URL
// 注意:此字段可能返回 null,表示取不到有效值。
AttackUrl *string `json:"AttackUrl,omitempty" name:"AttackUrl"`
// 攻击时间 单位为s
// 注意:此字段可能返回 null,表示取不到有效值。
AttackTime *int64 `json:"AttackTime,omitempty" name:"AttackTime"`
}
type WebEventData ¶ added in v1.0.421
type WebEventData struct {
// 攻击事件数据集合
// 注意:此字段可能返回 null,表示取不到有效值。
List []*WebAttackEvent `json:"List,omitempty" name:"List"`
// 当前页
// 注意:此字段可能返回 null,表示取不到有效值。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 每页展示条数
// 注意:此字段可能返回 null,表示取不到有效值。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数
// 注意:此字段可能返回 null,表示取不到有效值。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数
// 注意:此字段可能返回 null,表示取不到有效值。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type WebLogData ¶ added in v1.0.421
type WebLogData struct {
// 分组数据。
// 注意:此字段可能返回 null,表示取不到有效值。
List []*WebLogs `json:"List,omitempty" name:"List"`
// 分页拉取的起始页号。最小值:1。
PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"`
// 分页拉取的最大返回结果数。最大值:1000。
PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"`
// 总页数。
Pages *int64 `json:"Pages,omitempty" name:"Pages"`
// 总条数。
TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"`
}
type WebLogs ¶ added in v1.0.421
type WebLogs struct {
// 该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"`
// 攻击源(客户端)Ip。
AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"`
// 该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
AttackType *string `json:"AttackType,omitempty" name:"AttackType"`
// 受攻击子域名。
Domain *string `json:"Domain,omitempty" name:"Domain"`
// 该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
Msuuid *string `json:"Msuuid,omitempty" name:"Msuuid"`
// 该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
RequestMethod *string `json:"RequestMethod,omitempty" name:"RequestMethod"`
// URI
RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"`
// 该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"`
// 该字段已废弃。
// 注意:此字段可能返回 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 log。
HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"`
// 该字段已废弃。
// 注意:此字段可能返回 null,表示取不到有效值。
Ua *string `json:"Ua,omitempty" name:"Ua"`
// 攻击时间,采用unix秒级时间戳。
AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"`
// 规则相关信息列表。
// 注意:此字段可能返回 null,表示取不到有效值。
RuleDetailList []*SecRuleRelatedInfo `json:"RuleDetailList,omitempty" name:"RuleDetailList"`
}
type Zone ¶ added in v1.0.393
type Zone struct {
// 站点ID。
Id *string `json:"Id,omitempty" name:"Id"`
// 站点名称。
Name *string `json:"Name,omitempty" name:"Name"`
// 站点当前使用的 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"`
}
type ZoneFilter ¶ added in v1.0.393
type ZoneFilter struct {
// 过滤字段名,支持的列表如下:
// <li> name:站点名;</li>
// <li> status:站点状态;</li>
// <li> tagKey:标签键;</li>
// <li> tagValue: 标签值。</li>
Name *string `json:"Name,omitempty" name:"Name"`
// 过滤字段值。
Values []*string `json:"Values,omitempty" name:"Values"`
// 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1。默认为false。
Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"`
}