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 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 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 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 operation, which means the DryRun parameter is passed in yet the request will still be successful. DRYRUNOPERATION = "DryRunOperation" // Operation failed. FAILEDOPERATION = "FailedOperation" // The certificate does not exist. FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" // Internal error. INTERNALERROR = "InternalError" // Server error. INTERNALERROR_BACKENDERROR = "InternalError.BackendError" // Database error. INTERNALERROR_DBERROR = "InternalError.DBError" // Failed to get configuration INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" // Failed to generate an upload link. INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" // Failed to get the role. INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" // An unknown error occurred in the backend server. INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" // Server error. INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" // The backend routing address is incorrect. INTERNALERROR_ROUTEERROR = "InternalError.RouteError" // Internal system error. INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // Parameter error. INVALIDPARAMETER = "InvalidParameter" // The domain name does not exist or is not belong to this account. INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" // Invalid node cache. INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" // Incorrect certificate information. INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" // Invalid client IP request header. INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" // The package does not support Smart Acceleration. INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" // Invalid filter field. INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" // INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" // Invalid origin server. INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" // The speciThe plan does not support limiting the max upload size. INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" // Invalid POST request size. INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" // Invalid request header. INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" // You have not purchased a plan yet. INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" // Invalid WebSocket. INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" // Parameter error. INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" // Invalid parameter. INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" // Configuration parameter error. INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" // Resource error INVALIDPARAMETER_TARGET = "InvalidParameter.Target" // Failed to create the task INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" // Invalid file upload link. INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" // The site does not exist. INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" // It conflicts with existing records. INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" // DNS records conflict with DNSSEC. INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" // This DNS record conflicts with CLB records. INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord" // This DNS record conflicts with NS records. INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" // Incorrect DNS record INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" // Incorrect DNS CNAME INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" // Incorrect DNS proxied domain name. INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" // Incorrect DNS proxy INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" // INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName" // This record already exists. INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" // This record cannot be added. INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" // The quota limit has been reached. LIMITEXCEEDED = "LimitExceeded" // Reached the upper limit of resource number LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" // Reached the daily upper limit of resource number LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" // Operation denied. OPERATIONDENIED = "OperationDenied" // The domain name doesn't have an ICP filing number. OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" // The resource is occupied. RESOURCEINUSE = "ResourceInUse" // The resource has been connected to EdgeOne by another user. RESOURCEINUSE_OTHERS = "ResourceInUse.Others" // Insufficient resource. RESOURCEINSUFFICIENT = "ResourceInsufficient" // The resource doesn’t exist. RESOURCENOTFOUND = "ResourceNotFound" // The resource is unavailable. RESOURCEUNAVAILABLE = "ResourceUnavailable" // The certificate does not exist or is not authorized. RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" // The domain name does not exist or not use a proxy. RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" // The site does not exist or is not belong to this account. RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" // CAM is not authorized. UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" // Authentication error. UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty" // The sub-account is not authorized for the operation. Please get permissions first. UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" )
const APIVersion = "2022-01-06"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ACLCondition ¶
type ACLCondition struct { // Field to match MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"` // String to match MatchParam *string `json:"MatchParam,omitempty" name:"MatchParam"` // Relation between the field and content Operator *string `json:"Operator,omitempty" name:"Operator"` // Content to match MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"` }
type ACLUserRule ¶
type ACLUserRule struct { // Name of the rule RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Action Action *string `json:"Action,omitempty" name:"Action"` // Status of the rule RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"` // ACL rule Conditions []*ACLCondition `json:"Conditions,omitempty" name:"Conditions"` // Priority of the rule RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"` // ID of the rule // Note: This field may return `null`, indicating that no valid value can be obtained. RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"` // Update time // Note: This field may return `null`, indicating that no valid value can be obtained. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // IP blocking time // Note: This field may return `null`, indicating that no valid value can be obtained. PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"` // IP blocking time unit // Note: This field may return `null`, indicating that no valid value can be obtained. PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"` // Name of the custom block page // Note: This field may return `null`, indicating that no valid value can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // ID of the custom block page // Note: This field may return `null`, indicating that no valid value can be obtained. PageId *int64 `json:"PageId,omitempty" name:"PageId"` // Redirection URL, which must be a subdomain name of the site // Note: This field may return `null`, indicating that no valid value can be obtained. RedirectUrl *string `json:"RedirectUrl,omitempty" name:"RedirectUrl"` // Return code configured on the custom block page // Note: This field may return `null`, indicating that no valid value can be obtained. ResponseCode *int64 `json:"ResponseCode,omitempty" name:"ResponseCode"` }
type AclConfig ¶
type AclConfig struct { // Switch Switch *string `json:"Switch,omitempty" name:"Switch"` // ACL user rule UserRules []*ACLUserRule `json:"UserRules,omitempty" name:"UserRules"` }
type AiRule ¶
type AiRule struct { // `smart_status_close`: Disable; `smart_status_open`: Block; // `smart_status_observe`: Observe. // Note: This field may return `null`, indicating that no valid value can be obtained. Mode *string `json:"Mode,omitempty" name:"Mode"` }
type ApplicationProxy ¶
type ApplicationProxy struct { // ID of the proxy // Note: This field may return `null`, indicating that no valid value can be obtained. ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Name of the proxy: // Domain name or subdomain name when `ProxyType=hostname` // Instance name when `ProxyType=instance` ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"` // Scheduling mode: // `ip`: Anycast IP // `domain`: CNAME PlatType *string `json:"PlatType,omitempty" name:"PlatType"` // `0`: Disable security protection; `1`: Enable security protection. SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"` // `0`: Disable acceleration; `1`: Enable acceleration. AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"` // This field is moved to `Rule.ForwardClientIp`. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // This field is moved to `Rule.SessionPersist`. SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` // Rule list Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"` // Status: // `online`: Enable // `offline`: Disable // `progress`: Deploying // `stopping`: Disabling // `fail`: Deployment/Disabling failed // Note: This field may return `null`, indicating that no valid value can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Scheduling information // Note: This field may return `null`, indicating that no valid value can be obtained. ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"` // Update time // Note: This field may return `null`, indicating that no valid value can be obtained. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Site ID // Note: This field may return `null`, indicating that no valid value can be obtained. ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name // Note: This field may return `null`, indicating that no valid value can be obtained. ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Session persistence duration // Note: This field may return `null`, indicating that no valid value can be obtained. SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"` // Specifies how a layer-4 proxy is created. // `hostname`: Create by subdomain name // `instance`: Create by instance // Note: This field may return null, indicating that no valid values can be obtained. ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"` // When `ProxyType=hostname`: // `ProxyName` indicates a specified domain name; // `HostId` indicates a unique ID of the domain name. // Note: This field may return null, indicating that no valid values can be obtained. HostId *string `json:"HostId,omitempty" name:"HostId"` }
type ApplicationProxyRule ¶
type ApplicationProxyRule struct { // Protocol. Valid values: `TCP` and `UDP`. Proto *string `json:"Proto,omitempty" name:"Proto"` // Port. Valid values: // `80`: Port 80 // `81-90`: Port range 81-90 Port []*string `json:"Port,omitempty" name:"Port"` // Origin server type. Valid values: // `custom`: Specified origins // `origins`: Origin group OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Origin server information: // When `OriginType=custom`, it indicates one or more origin servers. Example: // OriginValue=["8.8.8.8:80","9.9.9.9:80"] // OriginValue=["test.com:80"] // // When `OriginType=origins`, it indicates an origin group ID. Example: // OriginValue=["origin-xxx"] OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"` // Rule ID // Note: This field may return `null`, indicating that no valid value can be obtained. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Status: // `online`: Enable // `offline`: Disable // `progress`: Deploying // `stopping`: Disabling // `fail`: Deployment/Disabling failed Status *string `json:"Status,omitempty" name:"Status"` // Passes the client IP. When `Proto=TCP`, valid values: // `TOA`: Pass the client IP via TOA // `PPV1`: Pass the client IP via Proxy Protocol V1 // `PPV2`: Pass the client IP via Proxy Protocol V2 // `OFF`: Do not pass the client IP. // When `Proto=UDP`, valid values: // `PPV2`: Pass the client IP via Proxy Protocol V2 // `OFF`: Do not pass the client IP. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // Specifies whether to enable session persistence SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` }
type BotConfig ¶
type BotConfig struct { // Whether to enable bot security configuration Switch *string `json:"Switch,omitempty" name:"Switch"` // Preset rules ManagedRule *BotManagedRule `json:"ManagedRule,omitempty" name:"ManagedRule"` // Not supported currently UaBotRule *BotManagedRule `json:"UaBotRule,omitempty" name:"UaBotRule"` // Not supported currently IspBotRule *BotManagedRule `json:"IspBotRule,omitempty" name:"IspBotRule"` // User portrait rules PortraitRule *BotPortraitRule `json:"PortraitRule,omitempty" name:"PortraitRule"` // Bot intelligence rules // Note: This field may return null, indicating that no valid values can be obtained. IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitempty" name:"IntelligenceRule"` }
type BotLog ¶
type BotLog struct { // Attack time // Note: This field may return null, indicating that no valid values can be obtained. AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"` // Attack IP // Note: This field may return null, indicating that no valid values can be obtained. AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"` // Domain name // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // Request URI // Note: This field may return null, indicating that no valid values can be obtained. RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"` // Attack type // Note: This field may return null, indicating that no valid values can be obtained. AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Request method // Note: This field may return null, indicating that no valid values can be obtained. RequestMethod *string `json:"RequestMethod,omitempty" name:"RequestMethod"` // Attack content // Note: This field may return null, indicating that no valid values can be obtained. AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"` // Risk grade // Note: This field may return null, indicating that no valid values can be obtained. RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"` // Rule number // Note: This field may return null, indicating that no valid values can be obtained. RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"` // IP country/region // Note: This field may return null, indicating that no valid values can be obtained. SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"` // Event ID // Note: This field may return null, indicating that no valid values can be obtained. EventId *string `json:"EventId,omitempty" name:"EventId"` // Processing method // Note: This field may return null, indicating that no valid values can be obtained. DisposalMethod *string `json:"DisposalMethod,omitempty" name:"DisposalMethod"` // http_log // Note: This field may return null, indicating that no valid values can be obtained. HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"` // user agent // Note: This field may return null, indicating that no valid values can be obtained. Ua *string `json:"Ua,omitempty" name:"Ua"` // Detection method // Note: This field may return null, indicating that no valid values can be obtained. DetectionMethod *string `json:"DetectionMethod,omitempty" name:"DetectionMethod"` // Confidence // Note: This field may return null, indicating that no valid values can be obtained. Confidence *string `json:"Confidence,omitempty" name:"Confidence"` // Maliciousness // Note: This field may return null, indicating that no valid values can be obtained. Maliciousness *string `json:"Maliciousness,omitempty" name:"Maliciousness"` }
type BotLogData ¶
type BotLogData struct { // Data set of bot attack logs // Note: This field may return null, indicating that no valid values can be obtained. List []*BotLog `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type BotManagedRule ¶
type BotManagedRule struct { // ID of the rule to be enabled // Note: This field may return `null`, indicating that no valid value can be obtained. ManagedIds []*int64 `json:"ManagedIds,omitempty" name:"ManagedIds"` // ID of the rule being applied RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"` // Action of the rule. Values: `drop`; `trans`; `monitor`; `alg`. Action *string `json:"Action,omitempty" name:"Action"` // The amount of time the IP is blocked // Note: This field may return `null`, indicating that no valid value can be obtained. PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"` // Unit of IP blocking time // Note: This field may return `null`, indicating that no valid value can be obtained. PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"` // Name of the custom block page // Note: This field may return `null`, indicating that no valid value can be obtained. Name *string `json:"Name,omitempty" name:"Name"` // ID of the custom block page // Note: This field may return `null`, indicating that no valid value can be obtained. PageId *int64 `json:"PageId,omitempty" name:"PageId"` // Redirection URL, which must be a subdomain name of your site encoded by URLEncode // Note: This field may return `null`, indicating that no valid value can be obtained. RedirectUrl *string `json:"RedirectUrl,omitempty" name:"RedirectUrl"` // Response code returned after redirection // Note: This field may return `null`, indicating that no valid value can be obtained. ResponseCode *int64 `json:"ResponseCode,omitempty" name:"ResponseCode"` // ID of the rule that is set to allow requests // Note: This field may return `null`, indicating that no valid value can be obtained. TransManagedIds []*int64 `json:"TransManagedIds,omitempty" name:"TransManagedIds"` // ID of the rule that is set to verify requests by JavaScript challenge // Note: This field may return `null`, indicating that no valid value can be obtained. AlgManagedIds []*int64 `json:"AlgManagedIds,omitempty" name:"AlgManagedIds"` // ID of the rule that is set to verify requests by CAPTCHA // Note: This field may return `null`, indicating that no valid value can be obtained. CapManagedIds []*int64 `json:"CapManagedIds,omitempty" name:"CapManagedIds"` // ID of the rule that is set to observe requests // Note: This field may return `null`, indicating that no valid value can be obtained. MonManagedIds []*int64 `json:"MonManagedIds,omitempty" name:"MonManagedIds"` // ID of the rule that is set to block requests // Note: This field may return `null`, indicating that no valid value can be obtained. DropManagedIds []*int64 `json:"DropManagedIds,omitempty" name:"DropManagedIds"` }
type BotManagedRuleDetail ¶
type BotManagedRuleDetail struct { // ID of the rule RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Rule description Description *string `json:"Description,omitempty" name:"Description"` // Rule type RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"` // Whether the rule is enabled Status *string `json:"Status,omitempty" name:"Status"` }
type BotPortraitRule ¶
type BotPortraitRule struct { // ID of the rule being applied // Note: This field may return `null`, indicating that no valid value can be obtained. RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"` // ID of the rule that is set to verify requests by JavaScript challenge // Note: This field may return `null`, indicating that no valid value can be obtained. AlgManagedIds []*int64 `json:"AlgManagedIds,omitempty" name:"AlgManagedIds"` // ID of the rule that is set to verify requests by CAPTCHA // Note: This field may return `null`, indicating that no valid value can be obtained. CapManagedIds []*int64 `json:"CapManagedIds,omitempty" name:"CapManagedIds"` // ID of the rule that is set to observe requests // Note: This field may return `null`, indicating that no valid value can be obtained. MonManagedIds []*int64 `json:"MonManagedIds,omitempty" name:"MonManagedIds"` // ID of the rule that is set to block requests // Note: This field may return `null`, indicating that no valid value can be obtained. DropManagedIds []*int64 `json:"DropManagedIds,omitempty" name:"DropManagedIds"` // Feature switch // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` }
type CCInterceptEvent ¶
type CCInterceptEvent struct { // Client IP // Note: This field may return null, indicating that no valid values can be obtained. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // Number of blocks per minute // Note: This field may return null, indicating that no valid values can be obtained. InterceptNum *int64 `json:"InterceptNum,omitempty" name:"InterceptNum"` // Block time in rate-limiting policy per minute in seconds InterceptTime *int64 `json:"InterceptTime,omitempty" name:"InterceptTime"` }
type CCInterceptEventData ¶
type CCInterceptEventData struct { // Data set of attack events // Note: This field may return null, indicating that no valid values can be obtained. List []*CCInterceptEvent `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type CCLog ¶
type CCLog struct { // Attack time // Note: This field may return null, indicating that no valid values can be obtained. AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"` // Attack source IP // Note: This field may return null, indicating that no valid values can be obtained. AttackSip *string `json:"AttackSip,omitempty" name:"AttackSip"` // Attack domain name // Note: This field may return null, indicating that no valid values can be obtained. AttackDomain *string `json:"AttackDomain,omitempty" name:"AttackDomain"` // Request URI // Note: This field may return null, indicating that no valid values can be obtained. RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"` // Number of hits // Note: This field may return null, indicating that no valid values can be obtained. HitCount *uint64 `json:"HitCount,omitempty" name:"HitCount"` // IP country/region // Note: This field may return null, indicating that no valid values can be obtained. SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"` // Event ID // Note: This field may return null, indicating that no valid values can be obtained. EventId *string `json:"EventId,omitempty" name:"EventId"` // Processing method // Note: This field may return null, indicating that no valid values can be obtained. DisposalMethod *string `json:"DisposalMethod,omitempty" name:"DisposalMethod"` // http_log // Note: This field may return null, indicating that no valid values can be obtained. HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"` // Rule number // Note: This field may return null, indicating that no valid values can be obtained. RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"` // Risk grade // Note: This field may return null, indicating that no valid values can be obtained. RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"` }
type CCLogData ¶
type CCLogData struct { // Data set of CC block logs // Note: This field may return null, indicating that no valid values can be obtained. List []*CCLog `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type CacheConfig ¶
type CacheConfig struct { // Cache configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Cache *CacheConfigCache `json:"Cache,omitempty" name:"Cache"` // No-cache configuration // Note: This field may return `null`, indicating that no valid value can be obtained. NoCache *CacheConfigNoCache `json:"NoCache,omitempty" name:"NoCache"` // Follows the origin server configuration // Note: This field may return `null`, indicating that no valid value can be obtained. FollowOrigin *CacheConfigFollowOrigin `json:"FollowOrigin,omitempty" name:"FollowOrigin"` }
type CacheConfigCache ¶
type CacheConfigCache struct { // Cache configuration switch // `on`: Enable // `off`: Disable // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // Cache expiration time settings // Unit: second. The maximum value is 365 days. // Note: This field may return `null`, indicating that no valid value can be obtained. CacheTime *int64 `json:"CacheTime,omitempty" name:"CacheTime"` // Specifies whether to enable force cache // `on`: Enable // `off`: Disable // Note: This field may return `null`, indicating that no valid value can be obtained. IgnoreCacheControl *string `json:"IgnoreCacheControl,omitempty" name:"IgnoreCacheControl"` }
type CacheConfigFollowOrigin ¶
type CacheConfigFollowOrigin struct { // Specifies whether to follow the origin server configuration // `on`: Enable // `off`: Disable // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` }
type CacheConfigNoCache ¶
type CacheConfigNoCache struct { // Whether to cache the configuration // `on`: Do not cache // `off`: Cache // Note: This field may return `null`, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` }
type CacheKey ¶
type CacheKey struct { // Specifies whether to enable full-path cache // `on`: Enable full-path cache (i.e., disable Ignore Query String) // `off`: Disable full-path cache (i.e., enable Ignore Query String) // Note: This field may return `null`, indicating that no valid value can be obtained. FullUrlCache *string `json:"FullUrlCache,omitempty" name:"FullUrlCache"` // Specifies whether the cache key is case sensitive // Note: This field may return `null`, indicating that no valid value can be obtained. IgnoreCase *string `json:"IgnoreCase,omitempty" name:"IgnoreCase"` // Request parameter contained in `CacheKey` // Note: This field may return `null`, indicating that no valid value can be obtained. QueryString *QueryString `json:"QueryString,omitempty" name:"QueryString"` }
type CachePrefresh ¶
type CertFilter ¶
type CertFilter struct { // Filters by the field name. Values: // - `host`: Domain name // - `certId`: Certificate ID // - `certAlias`: Certificate alias // - `certType: default`: Default certificate; `upload`: External certificate; `managed`: Tencent Cloud certificate. Name *string `json:"Name,omitempty" name:"Name"` // Filters by the field value Values []*string `json:"Values,omitempty" name:"Values"` // Specifies whether to enable fuzzy query, which only supports the `host` field. // If it is enabled, the length of `Value` must be 1. Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"` }
type CertSort ¶
type CertSort struct { // Fields that can be sorted. Values: // `createTime`: Domain name creation time // `certExpireTime`: Certificate expiration time // `certDeployTime`: Certificate deployment time Key *string `json:"Key,omitempty" name:"Key"` // Sorting order. Valid values: `asc` and `desc` (default). Sequence *string `json:"Sequence,omitempty" name:"Sequence"` }
type CheckCertificateRequest ¶
type CheckCertificateRequest struct { *tchttp.BaseRequest // Certificate Certificate *string `json:"Certificate,omitempty" name:"Certificate"` // Private key PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` }
func NewCheckCertificateRequest ¶
func NewCheckCertificateRequest() (request *CheckCertificateRequest)
func (*CheckCertificateRequest) FromJsonString ¶
func (r *CheckCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCertificateRequest) ToJsonString ¶
func (r *CheckCertificateRequest) ToJsonString() string
type CheckCertificateRequestParams ¶
type CheckCertificateRequestParams struct { // Certificate Certificate *string `json:"Certificate,omitempty" name:"Certificate"` // Private key PrivateKey *string `json:"PrivateKey,omitempty" name:"PrivateKey"` }
Predefined struct for user
type CheckCertificateResponse ¶
type CheckCertificateResponse struct { *tchttp.BaseResponse Response *CheckCertificateResponseParams `json:"Response"` }
func NewCheckCertificateResponse ¶
func NewCheckCertificateResponse() (response *CheckCertificateResponse)
func (*CheckCertificateResponse) FromJsonString ¶
func (r *CheckCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCertificateResponse) ToJsonString ¶
func (r *CheckCertificateResponse) ToJsonString() string
type CheckCertificateResponseParams ¶
type CheckCertificateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) CheckCertificate ¶
func (c *Client) CheckCertificate(request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate This API is used to verify a certificate.
error code that may be returned:
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CheckCertificateWithContext ¶
func (c *Client) CheckCertificateWithContext(ctx context.Context, request *CheckCertificateRequest) (response *CheckCertificateResponse, err error)
CheckCertificate This API is used to verify a certificate.
error code that may be returned:
INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied"
func (*Client) CreateApplicationProxy ¶
func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy This API is used to create an application proxy.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRule ¶
func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule This API is used to create an application proxy rule.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRuleWithContext ¶
func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule This API is used to create an application proxy rule.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRules ¶
func (c *Client) CreateApplicationProxyRules(request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)
CreateApplicationProxyRules This API is used to batch create application proxy rules.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRulesWithContext ¶
func (c *Client) CreateApplicationProxyRulesWithContext(ctx context.Context, request *CreateApplicationProxyRulesRequest) (response *CreateApplicationProxyRulesResponse, err error)
CreateApplicationProxyRules This API is used to batch create application proxy rules.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyWithContext ¶
func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy This API is used to create an application proxy.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateCustomErrorPage ¶
func (c *Client) CreateCustomErrorPage(request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
CreateCustomErrorPage This API is used to create a custom error page.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateCustomErrorPageWithContext ¶
func (c *Client) CreateCustomErrorPageWithContext(ctx context.Context, request *CreateCustomErrorPageRequest) (response *CreateCustomErrorPageResponse, err error)
CreateCustomErrorPage This API is used to create a custom error page.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateDnsRecord ¶
func (c *Client) CreateDnsRecord(request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)
CreateDnsRecord This API is used to create a DNS record.
error code that may be returned:
INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHLBRECORD = "InvalidParameterValue.ConflictWithLBRecord" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateDnsRecordWithContext ¶
func (c *Client) CreateDnsRecordWithContext(ctx context.Context, request *CreateDnsRecordRequest) (response *CreateDnsRecordResponse, err error)
CreateDnsRecord This API is used to create a DNS record.
error code that may be returned:
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 ¶
func (c *Client) CreateLoadBalancing(request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
CreateLoadBalancing This API is used to create a CLB instance.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateLoadBalancingWithContext ¶
func (c *Client) CreateLoadBalancingWithContext(ctx context.Context, request *CreateLoadBalancingRequest) (response *CreateLoadBalancingResponse, err error)
CreateLoadBalancing This API is used to create a CLB instance.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded"
func (*Client) CreateOriginGroup ¶
func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup This API is used to create an origin group.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateOriginGroupWithContext ¶
func (c *Client) CreateOriginGroupWithContext(ctx context.Context, request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup This API is used to create an origin group.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePrefetchTask ¶
func (c *Client) CreatePrefetchTask(request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
CreatePrefetchTask This API is used to create a pre-warming task.
error code that may be returned:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreatePrefetchTaskWithContext ¶
func (c *Client) CreatePrefetchTaskWithContext(ctx context.Context, request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
CreatePrefetchTask This API is used to create a pre-warming task.
error code that may be returned:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreatePurgeTask ¶
func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask This API is used to create a cache purging task.
error code that may be returned:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreatePurgeTaskWithContext ¶
func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask This API is used to create a cache purging task.
error code that may be returned:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateZone ¶
func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone This API is used to access a new site.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateZoneWithContext ¶
func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone This API is used to access a new site.
error code that may be returned:
DRYRUNOPERATION = "DryRunOperation" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteApplicationProxy ¶
func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy This API is used to delete an application proxy.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyRule ¶
func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule This API is used to delete an application proxy rule.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyRuleWithContext ¶
func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule This API is used to delete an application proxy rule.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxyWithContext ¶
func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy This API is used to delete an application proxy.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDnsRecords ¶
func (c *Client) DeleteDnsRecords(request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
DeleteDnsRecords This API is used to batch delete DNS records.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteDnsRecordsWithContext ¶
func (c *Client) DeleteDnsRecordsWithContext(ctx context.Context, request *DeleteDnsRecordsRequest) (response *DeleteDnsRecordsResponse, err error)
DeleteDnsRecords This API is used to batch delete DNS records.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteLoadBalancing ¶
func (c *Client) DeleteLoadBalancing(request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
DeleteLoadBalancing This API is used to delete a CLB instance.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteLoadBalancingWithContext ¶
func (c *Client) DeleteLoadBalancingWithContext(ctx context.Context, request *DeleteLoadBalancingRequest) (response *DeleteLoadBalancingResponse, err error)
DeleteLoadBalancing This API is used to delete a CLB instance.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteOriginGroup ¶
func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup This API is used to delete an origin group.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteOriginGroupWithContext ¶
func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup This API is used to delete an origin group.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteZone ¶
func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone This API is used to delete a site.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DeleteZoneWithContext ¶
func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone This API is used to delete a site.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeApplicationProxy ¶
func (c *Client) DescribeApplicationProxy(request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)
DescribeApplicationProxy This API is used to obtain a list of application proxies.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeApplicationProxyDetail ¶
func (c *Client) DescribeApplicationProxyDetail(request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)
DescribeApplicationProxyDetail This API is used to obtain the details of an application proxy.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeApplicationProxyDetailWithContext ¶
func (c *Client) DescribeApplicationProxyDetailWithContext(ctx context.Context, request *DescribeApplicationProxyDetailRequest) (response *DescribeApplicationProxyDetailResponse, err error)
DescribeApplicationProxyDetail This API is used to obtain the details of an application proxy.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeApplicationProxyWithContext ¶
func (c *Client) DescribeApplicationProxyWithContext(ctx context.Context, request *DescribeApplicationProxyRequest) (response *DescribeApplicationProxyResponse, err error)
DescribeApplicationProxy This API is used to obtain a list of application proxies.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeBotLog ¶
func (c *Client) DescribeBotLog(request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
DescribeBotLog This API is used to query bot attack logs.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeBotLogWithContext ¶
func (c *Client) DescribeBotLogWithContext(ctx context.Context, request *DescribeBotLogRequest) (response *DescribeBotLogResponse, err error)
DescribeBotLog This API is used to query bot attack logs.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeBotManagedRules ¶
func (c *Client) DescribeBotManagedRules(request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
DescribeBotManagedRules This API is used to query bot managed rules.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeBotManagedRulesWithContext ¶
func (c *Client) DescribeBotManagedRulesWithContext(ctx context.Context, request *DescribeBotManagedRulesRequest) (response *DescribeBotManagedRulesResponse, err error)
DescribeBotManagedRules This API is used to query bot managed rules.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeCnameStatus ¶
func (c *Client) DescribeCnameStatus(request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)
DescribeCnameStatus This API is used to query the CNAME status of a domain name.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeCnameStatusWithContext ¶
func (c *Client) DescribeCnameStatusWithContext(ctx context.Context, request *DescribeCnameStatusRequest) (response *DescribeCnameStatusResponse, err error)
DescribeCnameStatus This API is used to query the CNAME status of a domain name.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSPolicy ¶
func (c *Client) DescribeDDoSPolicy(request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy This API is used to query the DDoS protection configuration.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSPolicyWithContext ¶
func (c *Client) DescribeDDoSPolicyWithContext(ctx context.Context, request *DescribeDDoSPolicyRequest) (response *DescribeDDoSPolicyResponse, err error)
DescribeDDoSPolicy This API is used to query the DDoS protection configuration.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackData ¶
func (c *Client) DescribeDDosAttackData(request *DescribeDDosAttackDataRequest) (response *DescribeDDosAttackDataResponse, err error)
DescribeDDosAttackData This API is used to query the DDoS attack data.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackDataWithContext ¶
func (c *Client) DescribeDDosAttackDataWithContext(ctx context.Context, request *DescribeDDosAttackDataRequest) (response *DescribeDDosAttackDataResponse, err error)
DescribeDDosAttackData This API is used to query the DDoS attack data.
error code that may be returned:
LIMITEXCEEDED = "LimitExceeded" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEvent ¶
func (c *Client) DescribeDDosAttackEvent(request *DescribeDDosAttackEventRequest) (response *DescribeDDosAttackEventResponse, err error)
DescribeDDosAttackEvent This API is used to query DDoS attack events.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEventDetail ¶
func (c *Client) DescribeDDosAttackEventDetail(request *DescribeDDosAttackEventDetailRequest) (response *DescribeDDosAttackEventDetailResponse, err error)
DescribeDDosAttackEventDetail This API is used to query DDoS attack event details.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEventDetailWithContext ¶
func (c *Client) DescribeDDosAttackEventDetailWithContext(ctx context.Context, request *DescribeDDosAttackEventDetailRequest) (response *DescribeDDosAttackEventDetailResponse, err error)
DescribeDDosAttackEventDetail This API is used to query DDoS attack event details.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackEventWithContext ¶
func (c *Client) DescribeDDosAttackEventWithContext(ctx context.Context, request *DescribeDDosAttackEventRequest) (response *DescribeDDosAttackEventResponse, err error)
DescribeDDosAttackEvent This API is used to query DDoS attack events.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackSourceEvent ¶
func (c *Client) DescribeDDosAttackSourceEvent(request *DescribeDDosAttackSourceEventRequest) (response *DescribeDDosAttackSourceEventResponse, err error)
DescribeDDosAttackSourceEvent This API is used to query DDoS attack sources.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackSourceEventWithContext ¶
func (c *Client) DescribeDDosAttackSourceEventWithContext(ctx context.Context, request *DescribeDDosAttackSourceEventRequest) (response *DescribeDDosAttackSourceEventResponse, err error)
DescribeDDosAttackSourceEvent This API is used to query DDoS attack sources.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackTopData ¶
func (c *Client) DescribeDDosAttackTopData(request *DescribeDDosAttackTopDataRequest) (response *DescribeDDosAttackTopDataResponse, err error)
DescribeDDosAttackTopData This API is used to query the top data of DDoS attacks.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosAttackTopDataWithContext ¶
func (c *Client) DescribeDDosAttackTopDataWithContext(ctx context.Context, request *DescribeDDosAttackTopDataRequest) (response *DescribeDDosAttackTopDataResponse, err error)
DescribeDDosAttackTopData This API is used to query the top data of DDoS attacks.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosMajorAttackEvent ¶
func (c *Client) DescribeDDosMajorAttackEvent(request *DescribeDDosMajorAttackEventRequest) (response *DescribeDDosMajorAttackEventResponse, err error)
DescribeDDosMajorAttackEvent This API is used to query the major DDoS attack event.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDosMajorAttackEventWithContext ¶
func (c *Client) DescribeDDosMajorAttackEventWithContext(ctx context.Context, request *DescribeDDosMajorAttackEventRequest) (response *DescribeDDosMajorAttackEventResponse, err error)
DescribeDDosMajorAttackEvent This API is used to query the major DDoS attack event.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDefaultCertificates ¶
func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates This API is used to query a list of default certificates.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDefaultCertificatesWithContext ¶
func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates This API is used to query a list of default certificates.
error code that may be returned:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDnsData ¶
func (c *Client) DescribeDnsData(request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData This API is used to obtain collected DNS requests.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsDataWithContext ¶
func (c *Client) DescribeDnsDataWithContext(ctx context.Context, request *DescribeDnsDataRequest) (response *DescribeDnsDataResponse, err error)
DescribeDnsData This API is used to obtain collected DNS requests.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsRecords ¶
func (c *Client) DescribeDnsRecords(request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
DescribeDnsRecords This API is used to query DNS records. Paging, sorting and filtering are supported.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnsRecordsWithContext ¶
func (c *Client) DescribeDnsRecordsWithContext(ctx context.Context, request *DescribeDnsRecordsRequest) (response *DescribeDnsRecordsResponse, err error)
DescribeDnsRecords This API is used to query DNS records. Paging, sorting and filtering are supported.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnssec ¶
func (c *Client) DescribeDnssec(request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
DescribeDnssec This API is used to query DNSSEC information.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDnssecWithContext ¶
func (c *Client) DescribeDnssecWithContext(ctx context.Context, request *DescribeDnssecRequest) (response *DescribeDnssecResponse, err error)
DescribeDnssec This API is used to query DNSSEC information.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeHostsCertificate ¶
func (c *Client) DescribeHostsCertificate(request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)
DescribeHostsCertificate This API is used to query certificates of domain names. Paging, sorting and filtering are supported.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsCertificateWithContext ¶
func (c *Client) DescribeHostsCertificateWithContext(ctx context.Context, request *DescribeHostsCertificateRequest) (response *DescribeHostsCertificateResponse, err error)
DescribeHostsCertificate This API is used to query certificates of domain names. Paging, sorting and filtering are supported.
error code that may be returned:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsSetting ¶
func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting This API is used to query detailed domain name configuration.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeHostsSettingWithContext ¶
func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting This API is used to query detailed domain name configuration.
error code that may be returned:
INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeIdentification ¶
func (c *Client) DescribeIdentification(request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)
DescribeIdentification This API is used to query verification results.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeIdentificationWithContext ¶
func (c *Client) DescribeIdentificationWithContext(ctx context.Context, request *DescribeIdentificationRequest) (response *DescribeIdentificationResponse, err error)
DescribeIdentification This API is used to query verification results.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancing ¶
func (c *Client) DescribeLoadBalancing(request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
DescribeLoadBalancing This API is used to obtain a list of CLB instances.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeLoadBalancingDetail ¶
func (c *Client) DescribeLoadBalancingDetail(request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)
DescribeLoadBalancingDetail This API is used to query the details of a CLB instance.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancingDetailWithContext ¶
func (c *Client) DescribeLoadBalancingDetailWithContext(ctx context.Context, request *DescribeLoadBalancingDetailRequest) (response *DescribeLoadBalancingDetailResponse, err error)
DescribeLoadBalancingDetail This API is used to query the details of a CLB instance.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeLoadBalancingWithContext ¶
func (c *Client) DescribeLoadBalancingWithContext(ctx context.Context, request *DescribeLoadBalancingRequest) (response *DescribeLoadBalancingResponse, err error)
DescribeLoadBalancing This API is used to obtain a list of CLB instances.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeOriginGroup ¶
func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup This API is used to get the list of origin groups.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOriginGroupDetail ¶
func (c *Client) DescribeOriginGroupDetail(request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)
DescribeOriginGroupDetail This API is used to get the details of the origin group.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOriginGroupDetailWithContext ¶
func (c *Client) DescribeOriginGroupDetailWithContext(ctx context.Context, request *DescribeOriginGroupDetailRequest) (response *DescribeOriginGroupDetailResponse, err error)
DescribeOriginGroupDetail This API is used to get the details of the origin group.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOriginGroupWithContext ¶
func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup This API is used to get the list of origin groups.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeOverviewL7Data ¶
func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data This API is used to query the layer-7 time series traffic data for monitoring.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeOverviewL7DataWithContext ¶
func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data This API is used to query the layer-7 time series traffic data for monitoring.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribePrefetchTasks ¶
func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
DescribePrefetchTasks This API is used to query the pre-warming task status.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"
func (*Client) DescribePrefetchTasksWithContext ¶
func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
DescribePrefetchTasks This API is used to query the pre-warming task status.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"
func (*Client) DescribePurgeTasks ¶
func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
DescribePurgeTasks This API is used to query the cache purging history.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribePurgeTasksWithContext ¶
func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
DescribePurgeTasks This API is used to query the cache purging history.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicy ¶
func (c *Client) DescribeSecurityPolicy(request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
DescribeSecurityPolicy This API is used to query the security protection configuration.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicyList ¶
func (c *Client) DescribeSecurityPolicyList(request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
DescribeSecurityPolicyList This API is used to query all protected subdomain names.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyListWithContext ¶
func (c *Client) DescribeSecurityPolicyListWithContext(ctx context.Context, request *DescribeSecurityPolicyListRequest) (response *DescribeSecurityPolicyListResponse, err error)
DescribeSecurityPolicyList This API is used to query all protected subdomain names.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPolicyManagedRules ¶
func (c *Client) DescribeSecurityPolicyManagedRules(request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)
DescribeSecurityPolicyManagedRules This API is used to query managed rules.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyManagedRulesId ¶
func (c *Client) DescribeSecurityPolicyManagedRulesId(request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)
DescribeSecurityPolicyManagedRulesId This API is used to query the details of a managed rule by rule ID.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyManagedRulesIdWithContext ¶
func (c *Client) DescribeSecurityPolicyManagedRulesIdWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesIdRequest) (response *DescribeSecurityPolicyManagedRulesIdResponse, err error)
DescribeSecurityPolicyManagedRulesId This API is used to query the details of a managed rule by rule ID.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyManagedRulesWithContext ¶
func (c *Client) DescribeSecurityPolicyManagedRulesWithContext(ctx context.Context, request *DescribeSecurityPolicyManagedRulesRequest) (response *DescribeSecurityPolicyManagedRulesResponse, err error)
DescribeSecurityPolicyManagedRules This API is used to query managed rules.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security"
func (*Client) DescribeSecurityPolicyRegions ¶
func (c *Client) DescribeSecurityPolicyRegions(request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
DescribeSecurityPolicyRegions This API is used to query information of all regions.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicyRegionsWithContext ¶
func (c *Client) DescribeSecurityPolicyRegionsWithContext(ctx context.Context, request *DescribeSecurityPolicyRegionsRequest) (response *DescribeSecurityPolicyRegionsResponse, err error)
DescribeSecurityPolicyRegions This API is used to query information of all regions.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPolicyWithContext ¶
func (c *Client) DescribeSecurityPolicyWithContext(ctx context.Context, request *DescribeSecurityPolicyRequest) (response *DescribeSecurityPolicyResponse, err error)
DescribeSecurityPolicy This API is used to query the security protection configuration.
error code that may be returned:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeSecurityPortraitRules ¶
func (c *Client) DescribeSecurityPortraitRules(request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
DescribeSecurityPortraitRules This API is used to query user profiling rules.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeSecurityPortraitRulesWithContext ¶
func (c *Client) DescribeSecurityPortraitRulesWithContext(ctx context.Context, request *DescribeSecurityPortraitRulesRequest) (response *DescribeSecurityPortraitRulesResponse, err error)
DescribeSecurityPortraitRules This API is used to query user profiling rules.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL4Data ¶
func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data This API is used to query the layer-4 time series traffic data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL4DataWithContext ¶
func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data This API is used to query the layer-4 time series traffic data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisData ¶
func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData This API is used to query the layer-7 time series traffic data for data analysis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisDataWithContext ¶
func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData This API is used to query the layer-7 time series traffic data for data analysis.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheData ¶
func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData This API is used to query time-series L7 cached data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheDataWithContext ¶
func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData This API is used to query time-series L7 cached data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisData ¶
func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData This API is used to query the top traffic data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisDataWithContext ¶
func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData This API is used to query the top traffic data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheData ¶
func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData This API is used to query the top-ranked L7 cached data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheDataWithContext ¶
func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData This API is used to query the top-ranked L7 cached data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesAttackEvents ¶
func (c *Client) DescribeWebManagedRulesAttackEvents(request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)
DescribeWebManagedRulesAttackEvents This API is used to query web hosting attack events.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesAttackEventsWithContext ¶
func (c *Client) DescribeWebManagedRulesAttackEventsWithContext(ctx context.Context, request *DescribeWebManagedRulesAttackEventsRequest) (response *DescribeWebManagedRulesAttackEventsResponse, err error)
DescribeWebManagedRulesAttackEvents This API is used to query web hosting attack events.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesData ¶
func (c *Client) DescribeWebManagedRulesData(request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData This API is used to query the web hosting rule data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesDataWithContext ¶
func (c *Client) DescribeWebManagedRulesDataWithContext(ctx context.Context, request *DescribeWebManagedRulesDataRequest) (response *DescribeWebManagedRulesDataResponse, err error)
DescribeWebManagedRulesData This API is used to query the web hosting rule data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebManagedRulesLog ¶
func (c *Client) DescribeWebManagedRulesLog(request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog This API is used to query web hosting logs.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesLogWithContext ¶
func (c *Client) DescribeWebManagedRulesLogWithContext(ctx context.Context, request *DescribeWebManagedRulesLogRequest) (response *DescribeWebManagedRulesLogResponse, err error)
DescribeWebManagedRulesLog This API is used to query web hosting logs.
error code that may be returned:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesTopData ¶
func (c *Client) DescribeWebManagedRulesTopData(request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)
DescribeWebManagedRulesTopData This API is used to query the top data of web hosting rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebManagedRulesTopDataWithContext ¶
func (c *Client) DescribeWebManagedRulesTopDataWithContext(ctx context.Context, request *DescribeWebManagedRulesTopDataRequest) (response *DescribeWebManagedRulesTopDataResponse, err error)
DescribeWebManagedRulesTopData This API is used to query the top data of web hosting rules.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionAttackEvents ¶
func (c *Client) DescribeWebProtectionAttackEvents(request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
DescribeWebProtectionAttackEvents This API is used to query web attack events.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionAttackEventsWithContext ¶
func (c *Client) DescribeWebProtectionAttackEventsWithContext(ctx context.Context, request *DescribeWebProtectionAttackEventsRequest) (response *DescribeWebProtectionAttackEventsResponse, err error)
DescribeWebProtectionAttackEvents This API is used to query web attack events.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionData ¶
func (c *Client) DescribeWebProtectionData(request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData This API is used to query the web protection data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionDataWithContext ¶
func (c *Client) DescribeWebProtectionDataWithContext(ctx context.Context, request *DescribeWebProtectionDataRequest) (response *DescribeWebProtectionDataResponse, err error)
DescribeWebProtectionData This API is used to query the web protection data.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeWebProtectionLog ¶
func (c *Client) DescribeWebProtectionLog(request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)
DescribeWebProtectionLog This API is used to query web protection logs.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeWebProtectionLogWithContext ¶
func (c *Client) DescribeWebProtectionLogWithContext(ctx context.Context, request *DescribeWebProtectionLogRequest) (response *DescribeWebProtectionLogResponse, err error)
DescribeWebProtectionLog This API is used to query web protection logs.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDDoSPolicy ¶
func (c *Client) DescribeZoneDDoSPolicy(request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)
DescribeZoneDDoSPolicy This API is used to query all DDoS mitigation configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDDoSPolicyWithContext ¶
func (c *Client) DescribeZoneDDoSPolicyWithContext(ctx context.Context, request *DescribeZoneDDoSPolicyRequest) (response *DescribeZoneDDoSPolicyResponse, err error)
DescribeZoneDDoSPolicy This API is used to query all DDoS mitigation configuration.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDetails ¶
func (c *Client) DescribeZoneDetails(request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)
DescribeZoneDetails This API is used to query the details of a site by site ID.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneDetailsWithContext ¶
func (c *Client) DescribeZoneDetailsWithContext(ctx context.Context, request *DescribeZoneDetailsRequest) (response *DescribeZoneDetailsResponse, err error)
DescribeZoneDetails This API is used to query the details of a site by site ID.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneSetting ¶
func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting This API is used to query the site configuration.
error code that may be returned:
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeZoneSettingWithContext ¶
func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting This API is used to query the site configuration.
error code that may be returned:
INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query the list of user sites.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeZonesWithContext ¶
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones This API is used to query the list of user sites.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DownloadL7Logs ¶
func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs This API is used to query layer-7 logs.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DownloadL7LogsWithContext ¶
func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs This API is used to query layer-7 logs.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZone ¶
func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone This API is used to verify ownership of the site.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZoneWithContext ¶
func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone This API is used to verify ownership of the site.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ImportDnsRecords ¶
func (c *Client) ImportDnsRecords(request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)
ImportDnsRecords This API is used to import DNS records.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ImportDnsRecordsWithContext ¶
func (c *Client) ImportDnsRecordsWithContext(ctx context.Context, request *ImportDnsRecordsRequest) (response *ImportDnsRecordsResponse, err error)
ImportDnsRecords This API is used to import DNS records.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxy ¶
func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy This API is used to modify an application proxy.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRule ¶
func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule This API is used to modify an application proxy rule.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyRuleStatus ¶
func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus This API is used to modify the status of an application proxy rule.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyRuleStatusWithContext ¶
func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus This API is used to modify the status of an application proxy rule.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyRuleWithContext ¶
func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule This API is used to modify an application proxy rule.
error code that may be returned:
INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError"
func (*Client) ModifyApplicationProxyStatus ¶
func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus This API is used to modify the status of an application proxy.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyStatusWithContext ¶
func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus This API is used to modify the status of an application proxy.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyWithContext ¶
func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy This API is used to modify an application proxy.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDSRVNAME = "InvalidParameterValue.InvalidSRVName" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyDDoSPolicy ¶
func (c *Client) ModifyDDoSPolicy(request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy This API is used to modify DDoS mitigation configuration.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyDDoSPolicyHost ¶
func (c *Client) ModifyDDoSPolicyHost(request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
ModifyDDoSPolicyHost This API is used to enable high availability for domain names.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDDoSPolicyHostWithContext ¶
func (c *Client) ModifyDDoSPolicyHostWithContext(ctx context.Context, request *ModifyDDoSPolicyHostRequest) (response *ModifyDDoSPolicyHostResponse, err error)
ModifyDDoSPolicyHost This API is used to enable high availability for domain names.
error code that may be returned:
FAILEDOPERATION = "FailedOperation"
func (*Client) ModifyDDoSPolicyWithContext ¶
func (c *Client) ModifyDDoSPolicyWithContext(ctx context.Context, request *ModifyDDoSPolicyRequest) (response *ModifyDDoSPolicyResponse, err error)
ModifyDDoSPolicy This API is used to modify DDoS mitigation configuration.
error code that may be returned:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyDefaultCertificate ¶
func (c *Client) ModifyDefaultCertificate(request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate This API is used to modify the status of a default certificate.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDefaultCertificateWithContext ¶
func (c *Client) ModifyDefaultCertificateWithContext(ctx context.Context, request *ModifyDefaultCertificateRequest) (response *ModifyDefaultCertificateResponse, err error)
ModifyDefaultCertificate This API is used to modify the status of a default certificate.
error code that may be returned:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound"
func (*Client) ModifyDnsRecord ¶
func (c *Client) ModifyDnsRecord(request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
ModifyDnsRecord This API is used to modify DNS records.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyDnsRecordWithContext ¶
func (c *Client) ModifyDnsRecordWithContext(ctx context.Context, request *ModifyDnsRecordRequest) (response *ModifyDnsRecordResponse, err error)
ModifyDnsRecord This API is used to modify DNS records.
error code that may be returned:
INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDPROXYNAME = "InvalidParameterValue.InvalidProxyName" INVALIDPARAMETERVALUE_RECORDALREADYEXISTS = "InvalidParameterValue.RecordAlreadyExists" INVALIDPARAMETERVALUE_RECORDNOTALLOWED = "InvalidParameterValue.RecordNotAllowed" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyDnssec ¶
func (c *Client) ModifyDnssec(request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
ModifyDnssec This API is used to modify the DNSSEC status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyDnssecWithContext ¶
func (c *Client) ModifyDnssecWithContext(ctx context.Context, request *ModifyDnssecRequest) (response *ModifyDnssecResponse, err error)
ModifyDnssec This API is used to modify the DNSSEC status.
error code that may be returned:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyHostsCertificate ¶
func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate This API is used to modify the certificate of a domain name.
error code that may be returned:
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"
func (*Client) ModifyHostsCertificateWithContext ¶
func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate This API is used to modify the certificate of a domain name.
error code that may be returned:
FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound"
func (*Client) ModifyLoadBalancing ¶
func (c *Client) ModifyLoadBalancing(request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
ModifyLoadBalancing This API is used to modify a CLB instance.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyLoadBalancingStatus ¶
func (c *Client) ModifyLoadBalancingStatus(request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
ModifyLoadBalancingStatus This API is used to modify the status of a CLB instance.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingStatusWithContext ¶
func (c *Client) ModifyLoadBalancingStatusWithContext(ctx context.Context, request *ModifyLoadBalancingStatusRequest) (response *ModifyLoadBalancingStatusResponse, err error)
ModifyLoadBalancingStatus This API is used to modify the status of a CLB instance.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyLoadBalancingWithContext ¶
func (c *Client) ModifyLoadBalancingWithContext(ctx context.Context, request *ModifyLoadBalancingRequest) (response *ModifyLoadBalancingResponse, err error)
ModifyLoadBalancing This API is used to modify a CLB instance.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyOriginGroup ¶
func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup This API is used to modify an origin group.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyOriginGroupWithContext ¶
func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup This API is used to modify an origin group.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ModifySecurityPolicy ¶
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy This API is used to modify the web and bot security configurations.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifySecurityPolicyWithContext ¶
func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy This API is used to modify the web and bot security configurations.
error code that may be returned:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyZone ¶
func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone This API is used to modify the site information.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneCnameSpeedUp ¶
func (c *Client) ModifyZoneCnameSpeedUp(request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
ModifyZoneCnameSpeedUp This API is used to modify the CNAME acceleration status.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneCnameSpeedUpWithContext ¶
func (c *Client) ModifyZoneCnameSpeedUpWithContext(ctx context.Context, request *ModifyZoneCnameSpeedUpRequest) (response *ModifyZoneCnameSpeedUpResponse, err error)
ModifyZoneCnameSpeedUp This API is used to modify the CNAME acceleration status.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyZoneSetting ¶
func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting This API is used to modify the site configuration.
error code that may be returned:
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneSettingWithContext ¶
func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting This API is used to modify the site configuration.
error code that may be returned:
INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneStatus ¶
func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus This API is used to change the site status.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneStatusWithContext ¶
func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus This API is used to change the site status.
error code that may be returned:
RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ModifyZoneWithContext ¶
func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone This API is used to modify the site information.
error code that may be returned:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) ReclaimZone ¶
func (c *Client) ReclaimZone(request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone This API is used to reclaim a site from other users after its ownership is verified.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ReclaimZoneWithContext ¶
func (c *Client) ReclaimZoneWithContext(ctx context.Context, request *ReclaimZoneRequest) (response *ReclaimZoneResponse, err error)
ReclaimZone This API is used to reclaim a site from other users after its ownership is verified.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ScanDnsRecords ¶
func (c *Client) ScanDnsRecords(request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)
ScanDnsRecords This API is used to scan resolution records.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
func (*Client) ScanDnsRecordsWithContext ¶
func (c *Client) ScanDnsRecordsWithContext(ctx context.Context, request *ScanDnsRecordsRequest) (response *ScanDnsRecordsResponse, err error)
ScanDnsRecords This API is used to scan resolution records.
error code that may be returned:
OPERATIONDENIED = "OperationDenied"
type ClientIp ¶
type ClientIp struct { // Specifies whether to enable client IP header // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // Name of the origin-pull client IP request header // Note: This field may return `null`, indicating that no valid value can be obtained. HeaderName *string `json:"HeaderName,omitempty" name:"HeaderName"` }
type CnameStatus ¶
type CnameStatus struct { // Record name Name *string `json:"Name,omitempty" name:"Name"` // CNAME address // Note: This field may return `null`, indicating that no valid value can be obtained. Cname *string `json:"Cname,omitempty" name:"Cname"` // Status // `active`: Activated // `moved`: Not activated // Note: This field may return `null`, indicating that no valid value can be obtained. Status *string `json:"Status,omitempty" name:"Status"` }
type Compression ¶
type Compression struct { // Whether to enable Smart compression // `on`: Enable // `off`: Disable Switch *string `json:"Switch,omitempty" name:"Switch"` }
type CreateApplicationProxyRequest ¶
type CreateApplicationProxyRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Name of the proxy: // Domain name or subdomain name when `ProxyType=hostname` // Instance name when `ProxyType=instance` ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"` // Scheduling mode. Values: // `ip`: Anycast IP // `domain`: CNAME PlatType *string `json:"PlatType,omitempty" name:"PlatType"` // `0`: Disable security protection; `1`: Enable security protection. SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"` // `0`: Disable acceleration; `1`: Enable acceleration. AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"` // This field is moved to `Rule.ForwardClientIp`. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // This field is moved to `Rule.SessionPersist`. SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` // Rule details Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"` // Session persistence duration. Value range: 30-3600 (in seconds). SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"` // Specifies how a layer-4 proxy is created. // `hostname`: Create by subdomain name // `instance`: Create by instance ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"` }
func NewCreateApplicationProxyRequest ¶
func NewCreateApplicationProxyRequest() (request *CreateApplicationProxyRequest)
func (*CreateApplicationProxyRequest) FromJsonString ¶
func (r *CreateApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRequest) ToJsonString ¶
func (r *CreateApplicationProxyRequest) ToJsonString() string
type CreateApplicationProxyRequestParams ¶
type CreateApplicationProxyRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Name of the proxy: // Domain name or subdomain name when `ProxyType=hostname` // Instance name when `ProxyType=instance` ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"` // Scheduling mode. Values: // `ip`: Anycast IP // `domain`: CNAME PlatType *string `json:"PlatType,omitempty" name:"PlatType"` // `0`: Disable security protection; `1`: Enable security protection. SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"` // `0`: Disable acceleration; `1`: Enable acceleration. AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"` // This field is moved to `Rule.ForwardClientIp`. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // This field is moved to `Rule.SessionPersist`. SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` // Rule details Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"` // Session persistence duration. Value range: 30-3600 (in seconds). SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"` // Specifies how a layer-4 proxy is created. // `hostname`: Create by subdomain name // `instance`: Create by instance ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"` }
Predefined struct for user
type CreateApplicationProxyResponse ¶
type CreateApplicationProxyResponse struct { *tchttp.BaseResponse Response *CreateApplicationProxyResponseParams `json:"Response"` }
func NewCreateApplicationProxyResponse ¶
func NewCreateApplicationProxyResponse() (response *CreateApplicationProxyResponse)
func (*CreateApplicationProxyResponse) FromJsonString ¶
func (r *CreateApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyResponse) ToJsonString ¶
func (r *CreateApplicationProxyResponse) ToJsonString() string
type CreateApplicationProxyResponseParams ¶
type CreateApplicationProxyResponseParams struct { // Layer-4 application proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationProxyRuleRequest ¶
type CreateApplicationProxyRuleRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Protocol. Valid values: `TCP` and `UDP`. Proto *string `json:"Proto,omitempty" name:"Proto"` // Port. Valid values: // `80`: Port 80 // `81-90`: Port range 81-90 Port []*string `json:"Port,omitempty" name:"Port"` // Origin type. Valid values: // `custom`: Specified origins // `origins`: Origin group OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Origin information: // When `OriginType=custom`, it can include one or more origins in either of the following formats: // IP:Port // Domain name:Port // When `OriginType=origins`, it is an origin group ID. OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"` // Passes the client IP. When `Proto=TCP`, valid values: // `TOA`: Pass the client IP via TOA // `PPV1`: Pass the client IP via Proxy Protocol V1 // `PPV2`: Pass the client IP via Proxy Protocol V2 // `OFF`: Do not pass the client IP. // When `Proto=UDP`, valid values: // `PPV2`: Pass the client IP via Proxy Protocol V2 // `OFF`: Do not pass the client IP. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // Specifies whether to enable session persistence SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` }
func NewCreateApplicationProxyRuleRequest ¶
func NewCreateApplicationProxyRuleRequest() (request *CreateApplicationProxyRuleRequest)
func (*CreateApplicationProxyRuleRequest) FromJsonString ¶
func (r *CreateApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRuleRequest) ToJsonString ¶
func (r *CreateApplicationProxyRuleRequest) ToJsonString() string
type CreateApplicationProxyRuleRequestParams ¶
type CreateApplicationProxyRuleRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Protocol. Valid values: `TCP` and `UDP`. Proto *string `json:"Proto,omitempty" name:"Proto"` // Port. Valid values: // `80`: Port 80 // `81-90`: Port range 81-90 Port []*string `json:"Port,omitempty" name:"Port"` // Origin type. Valid values: // `custom`: Specified origins // `origins`: Origin group OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Origin information: // When `OriginType=custom`, it can include one or more origins in either of the following formats: // IP:Port // Domain name:Port // When `OriginType=origins`, it is an origin group ID. OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"` // Passes the client IP. When `Proto=TCP`, valid values: // `TOA`: Pass the client IP via TOA // `PPV1`: Pass the client IP via Proxy Protocol V1 // `PPV2`: Pass the client IP via Proxy Protocol V2 // `OFF`: Do not pass the client IP. // When `Proto=UDP`, valid values: // `PPV2`: Pass the client IP via Proxy Protocol V2 // `OFF`: Do not pass the client IP. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // Specifies whether to enable session persistence SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` }
Predefined struct for user
type CreateApplicationProxyRuleResponse ¶
type CreateApplicationProxyRuleResponse struct { *tchttp.BaseResponse Response *CreateApplicationProxyRuleResponseParams `json:"Response"` }
func NewCreateApplicationProxyRuleResponse ¶
func NewCreateApplicationProxyRuleResponse() (response *CreateApplicationProxyRuleResponse)
func (*CreateApplicationProxyRuleResponse) FromJsonString ¶
func (r *CreateApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRuleResponse) ToJsonString ¶
func (r *CreateApplicationProxyRuleResponse) ToJsonString() string
type CreateApplicationProxyRuleResponseParams ¶
type CreateApplicationProxyRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationProxyRulesRequest ¶
type CreateApplicationProxyRulesRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule list Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"` }
func NewCreateApplicationProxyRulesRequest ¶
func NewCreateApplicationProxyRulesRequest() (request *CreateApplicationProxyRulesRequest)
func (*CreateApplicationProxyRulesRequest) FromJsonString ¶
func (r *CreateApplicationProxyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRulesRequest) ToJsonString ¶
func (r *CreateApplicationProxyRulesRequest) ToJsonString() string
type CreateApplicationProxyRulesRequestParams ¶
type CreateApplicationProxyRulesRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule list Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"` }
Predefined struct for user
type CreateApplicationProxyRulesResponse ¶
type CreateApplicationProxyRulesResponse struct { *tchttp.BaseResponse Response *CreateApplicationProxyRulesResponseParams `json:"Response"` }
func NewCreateApplicationProxyRulesResponse ¶
func NewCreateApplicationProxyRulesResponse() (response *CreateApplicationProxyRulesResponse)
func (*CreateApplicationProxyRulesResponse) FromJsonString ¶
func (r *CreateApplicationProxyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRulesResponse) ToJsonString ¶
func (r *CreateApplicationProxyRulesResponse) ToJsonString() string
type CreateApplicationProxyRulesResponseParams ¶
type CreateApplicationProxyRulesResponseParams struct { // Array of rule IDs RuleId []*string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCustomErrorPageRequest ¶
type CreateCustomErrorPageRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name of the site Entity *string `json:"Entity,omitempty" name:"Entity"` // Name of the file specified to be returned Name *string `json:"Name,omitempty" name:"Name"` // Content of the custom page Content *string `json:"Content,omitempty" name:"Content"` }
func NewCreateCustomErrorPageRequest ¶
func NewCreateCustomErrorPageRequest() (request *CreateCustomErrorPageRequest)
func (*CreateCustomErrorPageRequest) FromJsonString ¶
func (r *CreateCustomErrorPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomErrorPageRequest) ToJsonString ¶
func (r *CreateCustomErrorPageRequest) ToJsonString() string
type CreateCustomErrorPageRequestParams ¶
type CreateCustomErrorPageRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name of the site Entity *string `json:"Entity,omitempty" name:"Entity"` // Name of the file specified to be returned Name *string `json:"Name,omitempty" name:"Name"` // Content of the custom page Content *string `json:"Content,omitempty" name:"Content"` }
Predefined struct for user
type CreateCustomErrorPageResponse ¶
type CreateCustomErrorPageResponse struct { *tchttp.BaseResponse Response *CreateCustomErrorPageResponseParams `json:"Response"` }
func NewCreateCustomErrorPageResponse ¶
func NewCreateCustomErrorPageResponse() (response *CreateCustomErrorPageResponse)
func (*CreateCustomErrorPageResponse) FromJsonString ¶
func (r *CreateCustomErrorPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomErrorPageResponse) ToJsonString ¶
func (r *CreateCustomErrorPageResponse) ToJsonString() string
type CreateCustomErrorPageResponseParams ¶
type CreateCustomErrorPageResponseParams struct { // ID of the custom page PageId *int64 `json:"PageId,omitempty" name:"PageId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDnsRecordRequest ¶
type CreateDnsRecordRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Record name Name *string `json:"Name,omitempty" name:"Name"` // Record content Content *string `json:"Content,omitempty" name:"Content"` // Proxy mode. Valid values: `dns_only`, `cdn_only`, and `secure_cdn`. Mode *string `json:"Mode,omitempty" name:"Mode"` Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
func NewCreateDnsRecordRequest ¶
func NewCreateDnsRecordRequest() (request *CreateDnsRecordRequest)
func (*CreateDnsRecordRequest) FromJsonString ¶
func (r *CreateDnsRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDnsRecordRequest) ToJsonString ¶
func (r *CreateDnsRecordRequest) ToJsonString() string
type CreateDnsRecordRequestParams ¶
type CreateDnsRecordRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Record name Name *string `json:"Name,omitempty" name:"Name"` // Record content Content *string `json:"Content,omitempty" name:"Content"` // Proxy mode. Valid values: `dns_only`, `cdn_only`, and `secure_cdn`. Mode *string `json:"Mode,omitempty" name:"Mode"` Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` }
Predefined struct for user
type CreateDnsRecordResponse ¶
type CreateDnsRecordResponse struct { *tchttp.BaseResponse Response *CreateDnsRecordResponseParams `json:"Response"` }
func NewCreateDnsRecordResponse ¶
func NewCreateDnsRecordResponse() (response *CreateDnsRecordResponse)
func (*CreateDnsRecordResponse) FromJsonString ¶
func (r *CreateDnsRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDnsRecordResponse) ToJsonString ¶
func (r *CreateDnsRecordResponse) ToJsonString() string
type CreateDnsRecordResponseParams ¶
type CreateDnsRecordResponseParams struct { // Record ID Id *string `json:"Id,omitempty" name:"Id"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Record name Name *string `json:"Name,omitempty" name:"Name"` // Record content Content *string `json:"Content,omitempty" name:"Content"` Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Proxy mode Mode *string `json:"Mode,omitempty" name:"Mode"` // Resolution status. Valid values: // `active`: Activated // `pending`: Not activated Status *string `json:"Status,omitempty" name:"Status"` // Whether the DNS record is locked Locked *bool `json:"Locked,omitempty" name:"Locked"` // Creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Modification time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // CNAME address // Note: This field may return `null`, indicating that no valid value can be obtained. Cname *string `json:"Cname,omitempty" name:"Cname"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLoadBalancingRequest ¶
type CreateLoadBalancingRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name Host *string `json:"Host,omitempty" name:"Host"` // Proxy mode. Valid values: // `dns_only`: Only DNS // `proxied`: Enable proxy Type *string `json:"Type,omitempty" name:"Type"` // ID of the origin group used OriginId []*string `json:"OriginId,omitempty" name:"OriginId"` // Indicates DNS TTL time when `Type=dns_only` TTL *uint64 `json:"TTL,omitempty" name:"TTL"` }
func NewCreateLoadBalancingRequest ¶
func NewCreateLoadBalancingRequest() (request *CreateLoadBalancingRequest)
func (*CreateLoadBalancingRequest) FromJsonString ¶
func (r *CreateLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancingRequest) ToJsonString ¶
func (r *CreateLoadBalancingRequest) ToJsonString() string
type CreateLoadBalancingRequestParams ¶
type CreateLoadBalancingRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name Host *string `json:"Host,omitempty" name:"Host"` // Proxy mode. Valid values: // `dns_only`: Only DNS // `proxied`: Enable proxy Type *string `json:"Type,omitempty" name:"Type"` // ID of the origin group used OriginId []*string `json:"OriginId,omitempty" name:"OriginId"` // Indicates DNS TTL time when `Type=dns_only` TTL *uint64 `json:"TTL,omitempty" name:"TTL"` }
Predefined struct for user
type CreateLoadBalancingResponse ¶
type CreateLoadBalancingResponse struct { *tchttp.BaseResponse Response *CreateLoadBalancingResponseParams `json:"Response"` }
func NewCreateLoadBalancingResponse ¶
func NewCreateLoadBalancingResponse() (response *CreateLoadBalancingResponse)
func (*CreateLoadBalancingResponse) FromJsonString ¶
func (r *CreateLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancingResponse) ToJsonString ¶
func (r *CreateLoadBalancingResponse) ToJsonString() string
type CreateLoadBalancingResponseParams ¶
type CreateLoadBalancingResponseParams struct { // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateOriginGroupRequest ¶
type CreateOriginGroupRequest struct { *tchttp.BaseRequest // Name of the origin group OriginName *string `json:"OriginName,omitempty" name:"OriginName"` // Origin-pull configuration type. This field is required when `OriginType=self`. // `area`: Origin-pull by region // `weight`: Origin-pull by weight // When `OriginType=third_party/cos`, it can be left empty. Type *string `json:"Type,omitempty" name:"Type"` // Origin records Record []*OriginRecord `json:"Record,omitempty" name:"Record"` // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Origin type // `self`: Customer origin // `third_party`: Third-party origin // `cos`: Tencent Cloud COS origin OriginType *string `json:"OriginType,omitempty" name:"OriginType"` }
func NewCreateOriginGroupRequest ¶
func NewCreateOriginGroupRequest() (request *CreateOriginGroupRequest)
func (*CreateOriginGroupRequest) FromJsonString ¶
func (r *CreateOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateOriginGroupRequest) ToJsonString ¶
func (r *CreateOriginGroupRequest) ToJsonString() string
type CreateOriginGroupRequestParams ¶
type CreateOriginGroupRequestParams struct { // Name of the origin group OriginName *string `json:"OriginName,omitempty" name:"OriginName"` // Origin-pull configuration type. This field is required when `OriginType=self`. // `area`: Origin-pull by region // `weight`: Origin-pull by weight // When `OriginType=third_party/cos`, it can be left empty. Type *string `json:"Type,omitempty" name:"Type"` // Origin records Record []*OriginRecord `json:"Record,omitempty" name:"Record"` // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Origin type // `self`: Customer origin // `third_party`: Third-party origin // `cos`: Tencent Cloud COS origin OriginType *string `json:"OriginType,omitempty" name:"OriginType"` }
Predefined struct for user
type CreateOriginGroupResponse ¶
type CreateOriginGroupResponse struct { *tchttp.BaseResponse Response *CreateOriginGroupResponseParams `json:"Response"` }
func NewCreateOriginGroupResponse ¶
func NewCreateOriginGroupResponse() (response *CreateOriginGroupResponse)
func (*CreateOriginGroupResponse) FromJsonString ¶
func (r *CreateOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateOriginGroupResponse) ToJsonString ¶
func (r *CreateOriginGroupResponse) ToJsonString() string
type CreateOriginGroupResponseParams ¶
type CreateOriginGroupResponseParams struct { // ID of the newly added origin group OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePrefetchTaskRequest ¶
type CreatePrefetchTaskRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of resources to be pre-warmed, for example: // http://www.example.com/example.txt Targets []*string `json:"Targets,omitempty" name:"Targets"` // Specifies whether to encode the URL // Note that if it’s enabled, the purging is based on the converted URLs. EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"` // HTTP header information Headers []*Header `json:"Headers,omitempty" name:"Headers"` }
func NewCreatePrefetchTaskRequest ¶
func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)
func (*CreatePrefetchTaskRequest) FromJsonString ¶
func (r *CreatePrefetchTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrefetchTaskRequest) ToJsonString ¶
func (r *CreatePrefetchTaskRequest) ToJsonString() string
type CreatePrefetchTaskRequestParams ¶
type CreatePrefetchTaskRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of resources to be pre-warmed, for example: // http://www.example.com/example.txt Targets []*string `json:"Targets,omitempty" name:"Targets"` // Specifies whether to encode the URL // Note that if it’s enabled, the purging is based on the converted URLs. EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"` // HTTP header information Headers []*Header `json:"Headers,omitempty" name:"Headers"` }
Predefined struct for user
type CreatePrefetchTaskResponse ¶
type CreatePrefetchTaskResponse struct { *tchttp.BaseResponse Response *CreatePrefetchTaskResponseParams `json:"Response"` }
func NewCreatePrefetchTaskResponse ¶
func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)
func (*CreatePrefetchTaskResponse) FromJsonString ¶
func (r *CreatePrefetchTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrefetchTaskResponse) ToJsonString ¶
func (r *CreatePrefetchTaskResponse) ToJsonString() string
type CreatePrefetchTaskResponseParams ¶
type CreatePrefetchTaskResponseParams struct { // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // List of failed tasks // Note: This field may return `null`, indicating that no valid value can be obtained. FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePurgeTaskRequest ¶
type CreatePurgeTaskRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Type of the purging task. Values: // - `purge_url`: Purge by the URL // - `purge_prefix`: Purge by the prefix // - `purge_host`: Purge by the Hostname // - `purge_all`: Purge all cached contents Type *string `json:"Type,omitempty" name:"Type"` // Target resource to be purged, which depends on the `Type` field. // 1. When `Type = purge_host`: // Hostnames are purged, such as www.example.com and foo.bar.example.com. // 2. When `Type = purge_prefix`: // Prefixes are purged, such as http://www.example.com/example. // 3. When `Type = purge_url`: // URLs are purged, such as https://www.example.com/example.jpg. // 4. When `Type = purge_all`: All types of resources are purged. // `Targets` is not a required field. Targets []*string `json:"Targets,omitempty" name:"Targets"` // Specifies whether to transcode non-ASCII URLs according to RFC3986. // Note that if it’s enabled, the purging is based on the converted URLs. EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"` }
func NewCreatePurgeTaskRequest ¶
func NewCreatePurgeTaskRequest() (request *CreatePurgeTaskRequest)
func (*CreatePurgeTaskRequest) FromJsonString ¶
func (r *CreatePurgeTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePurgeTaskRequest) ToJsonString ¶
func (r *CreatePurgeTaskRequest) ToJsonString() string
type CreatePurgeTaskRequestParams ¶
type CreatePurgeTaskRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Type of the purging task. Values: // - `purge_url`: Purge by the URL // - `purge_prefix`: Purge by the prefix // - `purge_host`: Purge by the Hostname // - `purge_all`: Purge all cached contents Type *string `json:"Type,omitempty" name:"Type"` // Target resource to be purged, which depends on the `Type` field. // 1. When `Type = purge_host`: // Hostnames are purged, such as www.example.com and foo.bar.example.com. // 2. When `Type = purge_prefix`: // Prefixes are purged, such as http://www.example.com/example. // 3. When `Type = purge_url`: // URLs are purged, such as https://www.example.com/example.jpg. // 4. When `Type = purge_all`: All types of resources are purged. // `Targets` is not a required field. Targets []*string `json:"Targets,omitempty" name:"Targets"` // Specifies whether to transcode non-ASCII URLs according to RFC3986. // Note that if it’s enabled, the purging is based on the converted URLs. EncodeUrl *bool `json:"EncodeUrl,omitempty" name:"EncodeUrl"` }
Predefined struct for user
type CreatePurgeTaskResponse ¶
type CreatePurgeTaskResponse struct { *tchttp.BaseResponse Response *CreatePurgeTaskResponseParams `json:"Response"` }
func NewCreatePurgeTaskResponse ¶
func NewCreatePurgeTaskResponse() (response *CreatePurgeTaskResponse)
func (*CreatePurgeTaskResponse) FromJsonString ¶
func (r *CreatePurgeTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePurgeTaskResponse) ToJsonString ¶
func (r *CreatePurgeTaskResponse) ToJsonString() string
type CreatePurgeTaskResponseParams ¶
type CreatePurgeTaskResponseParams struct { // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // List of failed tasks and reasons // Note: This field may return `null`, indicating that no valid value can be obtained. FailedList []*FailReason `json:"FailedList,omitempty" name:"FailedList"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateZoneRequest ¶
type CreateZoneRequest struct { *tchttp.BaseRequest // Site name Name *string `json:"Name,omitempty" name:"Name"` // Access mode. Valid values: // - `full` (default): Access via NS // - `partial`: Access via CNAME Type *string `json:"Type,omitempty" name:"Type"` // Specifies whether to skip resolution record scanning JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"` // Resource tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
func NewCreateZoneRequest ¶
func NewCreateZoneRequest() (request *CreateZoneRequest)
func (*CreateZoneRequest) FromJsonString ¶
func (r *CreateZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateZoneRequest) ToJsonString ¶
func (r *CreateZoneRequest) ToJsonString() string
type CreateZoneRequestParams ¶
type CreateZoneRequestParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` // Access mode. Valid values: // - `full` (default): Access via NS // - `partial`: Access via CNAME Type *string `json:"Type,omitempty" name:"Type"` // Specifies whether to skip resolution record scanning JumpStart *bool `json:"JumpStart,omitempty" name:"JumpStart"` // Resource tag Tags []*Tag `json:"Tags,omitempty" name:"Tags"` }
Predefined struct for user
type CreateZoneResponse ¶
type CreateZoneResponse struct { *tchttp.BaseResponse Response *CreateZoneResponseParams `json:"Response"` }
func NewCreateZoneResponse ¶
func NewCreateZoneResponse() (response *CreateZoneResponse)
func (*CreateZoneResponse) FromJsonString ¶
func (r *CreateZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateZoneResponse) ToJsonString ¶
func (r *CreateZoneResponse) ToJsonString() string
type CreateZoneResponseParams ¶
type CreateZoneResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // Specifies how the site is connected to EdgeOne. Type *string `json:"Type,omitempty" name:"Type"` // Site status // - `pending`: The name server is not switched. // - `active`: The name server is switched to another assigned. // - `moved`: Move the NS out of Tencent Cloud Status *string `json:"Status,omitempty" name:"Status"` // List of name servers OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"` // List of name servers assigned to users NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` // Site creation date CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Site update time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DDoSAcl ¶
type DDoSAcl struct { // Destination port used as the end port DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"` // Destination port used as the start port DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"` // Source port used as the end port SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"` // Source port used as the start port SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"` // Protocol. Values: `tcp`, `udp`, and `all`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Action. Values: `drop` (Drop the request); `transmit` (Allow the request); `forward` (Continue to offer protection). Action *string `json:"Action,omitempty" name:"Action"` // Whether it is a system configuration. Values: `0` (manual configuration); `1` (system configuration). Default *int64 `json:"Default,omitempty" name:"Default"` }
type DDoSAntiPly ¶
type DDoSAntiPly struct { // Enables TCP protocol blocking. `on` (enable); `off` (disable). DropTcp *string `json:"DropTcp,omitempty" name:"DropTcp"` // Enables UDP protocol blocking. `on` (enable); `off` (disable). DropUdp *string `json:"DropUdp,omitempty" name:"DropUdp"` // Enables ICMP protocol blocking. `on` (enable); `off` (disable). DropIcmp *string `json:"DropIcmp,omitempty" name:"DropIcmp"` // Enables blocking for other protocols. `on` (enable); `off` (disable). DropOther *string `json:"DropOther,omitempty" name:"DropOther"` // Number of new connections the source port can establish. Value range: 0-4294967295. SourceCreateLimit *int64 `json:"SourceCreateLimit,omitempty" name:"SourceCreateLimit"` // Number of concurrent connections the source port can establish. Value range: 0-4294967295. SourceConnectLimit *int64 `json:"SourceConnectLimit,omitempty" name:"SourceConnectLimit"` // Number of new connections the destination port can establish. Value range: 0-4294967295. DestinationCreateLimit *int64 `json:"DestinationCreateLimit,omitempty" name:"DestinationCreateLimit"` // Number of concurrent connections the destination port can establish. Value range: 0-4294967295. DestinationConnectLimit *int64 `json:"DestinationConnectLimit,omitempty" name:"DestinationConnectLimit"` // Number of abnormal connections allowed. Value range: 0-4294967295. AbnormalConnectNum *int64 `json:"AbnormalConnectNum,omitempty" name:"AbnormalConnectNum"` // Specifies the ratio of SYN exceptions to trigger alerts. Value range: 0-100 AbnormalSynRatio *int64 `json:"AbnormalSynRatio,omitempty" name:"AbnormalSynRatio"` // Specifies a max number of SYN packets that triggers alarms. Value range: 0-65535 AbnormalSynNum *int64 `json:"AbnormalSynNum,omitempty" name:"AbnormalSynNum"` // Connection timeout period. Value range: 0-65535. ConnectTimeout *int64 `json:"ConnectTimeout,omitempty" name:"ConnectTimeout"` // Whether to enable null session protection. `0`: Disable; `1`: Enable. EmptyConnectProtect *string `json:"EmptyConnectProtect,omitempty" name:"EmptyConnectProtect"` // Whether to enable UDP fragmentation. `off`: Disable; `on`: Enable. // Note: This field may return null, indicating that no valid values can be obtained. UdpShard *string `json:"UdpShard,omitempty" name:"UdpShard"` }
type DDoSApplication ¶
type DDoSApplication struct { // Second-level domain name // Note: This field may return `null`, indicating that no valid value can be obtained. Host *string `json:"Host,omitempty" name:"Host"` // Status of the domain name // `init`: NS to be switched // `offline`: Site acceleration not enabled with DNS // `process`: Deployment in progress // `online`: Normal // Note: This field may return `null`, indicating that no valid value can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Site acceleration switch. `on`: Enable site acceleration; `off`: Disable site acceleration. This field can be used together with `SecurityType`. // Note: This field may return `null`, indicating that no valid value can be obtained. AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"` // Security acceleration switch. `on`: Enable site acceleration; `off`: Disable site acceleration. This field can be used together with `AccelerateType`. // Note: This field may return `null`, indicating that no valid value can be obtained. SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"` }
type DDoSConfig ¶
type DDoSConfig struct { // Switch Switch *string `json:"Switch,omitempty" name:"Switch"` }
type DDoSFeaturesFilter ¶
type DDoSFeaturesFilter struct { // Action. `drop`: Drop the request; `transmit`: Allow the request; `drop_block`: Drop the request and block it; `forward`: Continue to offer protection. Action *string `json:"Action,omitempty" name:"Action"` // Sets how far from the first search position Depth *int64 `json:"Depth,omitempty" name:"Depth"` // Sets how far from the second search position Depth2 *int64 `json:"Depth2,omitempty" name:"Depth2"` // End of the destination port DportEnd *int64 `json:"DportEnd,omitempty" name:"DportEnd"` // Start of the destination port DportStart *int64 `json:"DportStart,omitempty" name:"DportStart"` // Whether to match string 1 that does not contain all the specified elements IsNot *int64 `json:"IsNot,omitempty" name:"IsNot"` // Whether to match string 2 that does not contain all the specified elements IsNot2 *int64 `json:"IsNot2,omitempty" name:"IsNot2"` // Logical operator that combines two conditions. Values: `none`, `and` and `or`. If there is only one condition, pass in `none` for this condition only. MatchLogic *string `json:"MatchLogic,omitempty" name:"MatchLogic"` // Matching method of the first condition. `pcre`: Regex match; `sunday`: String match. MatchType *string `json:"MatchType,omitempty" name:"MatchType"` // Matching method of the second condition. `pcre`: Regex match; `sunday`: String match. MatchType2 *string `json:"MatchType2,omitempty" name:"MatchType2"` // Offset from the first search position Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Offset from the second search position Offset2 *int64 `json:"Offset2,omitempty" name:"Offset2"` // Maximum packet length PacketMax *int64 `json:"PacketMax,omitempty" name:"PacketMax"` // Minimum packet length PacketMin *int64 `json:"PacketMin,omitempty" name:"PacketMin"` // Protocol. Values: `tcp`, `udp`, `icmp` and `all`. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // End of the source port SportEnd *int64 `json:"SportEnd,omitempty" name:"SportEnd"` // Start of the source port SportStart *int64 `json:"SportStart,omitempty" name:"SportStart"` // String in the first condition Str *string `json:"Str,omitempty" name:"Str"` // String in the second condition Str2 *string `json:"Str2,omitempty" name:"Str2"` // Layer at which each match starts. Values: `begin_l5`, `no_match`, `begin_l3` and `begin_l4`. MatchBegin *string `json:"MatchBegin,omitempty" name:"MatchBegin"` // Layer at which each match starts. Values: `begin_l5`, `no_match`, `begin_l3` and `begin_l4`. MatchBegin2 *string `json:"MatchBegin2,omitempty" name:"MatchBegin2"` }
type DDoSGeoIp ¶
type DDoSGeoIp struct { // Region information // Note: This field may return `null`, indicating that no valid value can be obtained. RegionId []*int64 `json:"RegionId,omitempty" name:"RegionId"` // Whether to remove all settings when empty strings are passed in. Default value: `off` (remove) // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` }
type DDoSStatusInfo ¶
type DDoSStatusInfo struct { // This field is not supported. Value: `off`. AiStatus *string `json:"AiStatus,omitempty" name:"AiStatus"` // User appid Appid *string `json:"Appid,omitempty" name:"Appid"` // Protection level. Values: `low`, `middle`, and `high`. PlyLevel *string `json:"PlyLevel,omitempty" name:"PlyLevel"` }
type DDoSUserAllowBlockIP ¶
type DDoSUserAllowBlockIP struct { // Start IP address in a specific range // Note: This field may return `null`, indicating that no valid value can be obtained. Ip *string `json:"Ip,omitempty" name:"Ip"` // Start mask in a specific range // Note: This field may return `null`, indicating that no valid value can be obtained. Mask *int64 `json:"Mask,omitempty" name:"Mask"` // IP type. `block`: IP blocklist; `allow`: IP allowlist. // Note: This field may return `null`, indicating that no valid value can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Timestamp // Note: This field may return `null`, indicating that no valid value can be obtained. UpdateTime *int64 `json:"UpdateTime,omitempty" name:"UpdateTime"` // End IP address in a specific range // Note: This field may return `null`, indicating that no valid value can be obtained. Ip2 *string `json:"Ip2,omitempty" name:"Ip2"` // End mask in a specific range // Note: This field may return `null`, indicating that no valid value can be obtained. Mask2 *int64 `json:"Mask2,omitempty" name:"Mask2"` }
type DDosAttackEvent ¶
type DDosAttackEvent struct { // DDoS policy group ID // Note: This field may return null, indicating that no valid values can be obtained. PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Attack type (corresponding to interaction event name) // Note: This field may return null, indicating that no valid values can be obtained. AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Attack status // Note: This field may return null, indicating that no valid values can be obtained. AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"` // Maximum attack bandwidth // Note: This field may return null, indicating that no valid values can be obtained. AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"` // Peak attack packet rate // Note: This field may return null, indicating that no valid values can be obtained. AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitempty" name:"AttackPacketMaxRate"` // Attack start time in seconds // Note: This field may return null, indicating that no valid values can be obtained. AttackStartTime *int64 `json:"AttackStartTime,omitempty" name:"AttackStartTime"` // Attack end time in seconds // Note: This field may return null, indicating that no valid values can be obtained. AttackEndTime *int64 `json:"AttackEndTime,omitempty" name:"AttackEndTime"` // Event ID // Note: This field may return null, indicating that no valid values can be obtained. EventId *string `json:"EventId,omitempty" name:"EventId"` // Site ID // Note: This field may return null, indicating that no valid values can be obtained. ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
type DDosAttackEventData ¶
type DDosAttackEventData struct { // Data set of attack events // Note: This field may return null, indicating that no valid values can be obtained. List []*DDosAttackEvent `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type DDosAttackEventDetailData ¶
type DDosAttackEventDetailData struct { // Attack status AttackStatus *int64 `json:"AttackStatus,omitempty" name:"AttackStatus"` // Attack type AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // End time EndTime *int64 `json:"EndTime,omitempty" name:"EndTime"` // Start time StartTime *int64 `json:"StartTime,omitempty" name:"StartTime"` // Maximum bandwidth MaxBandWidth *int64 `json:"MaxBandWidth,omitempty" name:"MaxBandWidth"` // Maximum packet rate PacketMaxRate *int64 `json:"PacketMaxRate,omitempty" name:"PacketMaxRate"` // Event ID EventId *string `json:"EventId,omitempty" name:"EventId"` // DDoS policy group ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` }
type DDosAttackSourceEvent ¶
type DDosAttackSourceEvent struct { // Attack source IP // Note: This field may return null, indicating that no valid values can be obtained. AttackSourceIp *string `json:"AttackSourceIp,omitempty" name:"AttackSourceIp"` // Country/Region // Note: This field may return null, indicating that no valid values can be obtained. AttackRegion *string `json:"AttackRegion,omitempty" name:"AttackRegion"` // Accumulative attack traffic // Note: This field may return null, indicating that no valid values can be obtained. AttackFlow *uint64 `json:"AttackFlow,omitempty" name:"AttackFlow"` // Accumulative number of attack packets // Note: This field may return null, indicating that no valid values can be obtained. AttackPacketNum *uint64 `json:"AttackPacketNum,omitempty" name:"AttackPacketNum"` }
type DDosAttackSourceEventData ¶
type DDosAttackSourceEventData struct { // DDoS attack source data set // Note: This field may return null, indicating that no valid values can be obtained. List []*DDosAttackSourceEvent `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type DDosMajorAttackEvent ¶
type DDosMajorAttackEvent struct { // DDoS policy group ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Maximum attack bandwidth AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitempty" name:"AttackMaxBandWidth"` // Attack time in seconds AttackTime *int64 `json:"AttackTime,omitempty" name:"AttackTime"` }
type DDosMajorAttackEventData ¶
type DDosMajorAttackEventData struct { // `DDosMajorAttackEvent` DDoS attack event // Note: This field may return null, indicating that no valid values can be obtained. List []*DDosMajorAttackEvent `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type DdosAllowBlock ¶
type DdosAllowBlock struct { // Whether to remove all settings when empty strings are passed in. Default value: `off` (remove) Switch *string `json:"Switch,omitempty" name:"Switch"` // Array of objects in blocklist/allowlist configuration UserAllowBlockIp []*DDoSUserAllowBlockIP `json:"UserAllowBlockIp,omitempty" name:"UserAllowBlockIp"` }
type DdosPacketFilter ¶
type DdosPacketFilter struct { // Whether to remove all settings when empty strings are passed in. Default value: `off` (remove) Switch *string `json:"Switch,omitempty" name:"Switch"` // Array of objects in feature filtering configuration PacketFilter []*DDoSFeaturesFilter `json:"PacketFilter,omitempty" name:"PacketFilter"` }
type DdosRule ¶
type DdosRule struct { // DDoS mitigation level // Note: This field may return `null`, indicating that no valid value can be obtained. DdosStatusInfo *DDoSStatusInfo `json:"DdosStatusInfo,omitempty" name:"DdosStatusInfo"` // DDoS regional blocking // Note: This field may return `null`, indicating that no valid value can be obtained. DdosGeoIp *DDoSGeoIp `json:"DdosGeoIp,omitempty" name:"DdosGeoIp"` // DDoS blocklist/allowlist // Note: This field may return `null`, indicating that no valid value can be obtained. DdosAllowBlock *DdosAllowBlock `json:"DdosAllowBlock,omitempty" name:"DdosAllowBlock"` // Protocol blocking and null session protection // Note: This field may return `null`, indicating that no valid value can be obtained. DdosAntiPly *DDoSAntiPly `json:"DdosAntiPly,omitempty" name:"DdosAntiPly"` // DDoS feature filtering // Note: This field may return `null`, indicating that no valid value can be obtained. DdosPacketFilter *DdosPacketFilter `json:"DdosPacketFilter,omitempty" name:"DdosPacketFilter"` // DDoS port filtering // Note: This field may return `null`, indicating that no valid value can be obtained. DdosAcl *DdosAcls `json:"DdosAcl,omitempty" name:"DdosAcl"` // DDoS mitigation switch. `on`: Enable; `off`: Disable. // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // Whether to enable UDP fragmentation. `on`: Enable; `off`: Disable. // Note: This field may return null, indicating that no valid values can be obtained. UdpShardOpen *string `json:"UdpShardOpen,omitempty" name:"UdpShardOpen"` }
type DefaultServerCertInfo ¶
type DefaultServerCertInfo struct { // Server certificate ID, which is the ID of the default certificate. If you choose to upload an external certificate for SSL certificate management, a certificate ID will be generated. // Note: This field may return `null`, indicating that no valid value can be obtained. CertId *string `json:"CertId,omitempty" name:"CertId"` // Certificate alias // Note: This field may return `null`, indicating that no valid value can be obtained. Alias *string `json:"Alias,omitempty" name:"Alias"` // Certificate type. Valid values: // `default`: Default certificate // `upload`: External certificate // `managed`: Tencent Cloud managed certificate // Note: This field may return `null`, indicating that no valid value can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Time when the certificate expires // Note: This field may return `null`, indicating that no valid value can be obtained. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Time when the certificate takes effect // Note: This field may return `null`, indicating that no valid value can be obtained. EffectiveTime *string `json:"EffectiveTime,omitempty" name:"EffectiveTime"` // Certificate common name // Note: This field may return `null`, indicating that no valid value can be obtained. CommonName *string `json:"CommonName,omitempty" name:"CommonName"` // Domain names added to the SAN certificate // Note: This field may return `null`, indicating that no valid value can be obtained. SubjectAltName []*string `json:"SubjectAltName,omitempty" name:"SubjectAltName"` // Certificate status. Valid values: // `applying`: Application in progress // `failed`: Application failed // `processing`: Deploying certificate // `deployed`: Certificate deployed // `disabled`: Certificate disabled // Note: This field may return `null`, indicating that no valid value can be obtained. Status *string `json:"Status,omitempty" name:"Status"` // Returns a message to display failure causes when `Status=failed` // Note: This field may return `null`, indicating that no valid value can be obtained. Message *string `json:"Message,omitempty" name:"Message"` }
type DeleteApplicationProxyRequest ¶
type DeleteApplicationProxyRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` }
func NewDeleteApplicationProxyRequest ¶
func NewDeleteApplicationProxyRequest() (request *DeleteApplicationProxyRequest)
func (*DeleteApplicationProxyRequest) FromJsonString ¶
func (r *DeleteApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRequest) ToJsonString ¶
func (r *DeleteApplicationProxyRequest) ToJsonString() string
type DeleteApplicationProxyRequestParams ¶
type DeleteApplicationProxyRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` }
Predefined struct for user
type DeleteApplicationProxyResponse ¶
type DeleteApplicationProxyResponse struct { *tchttp.BaseResponse Response *DeleteApplicationProxyResponseParams `json:"Response"` }
func NewDeleteApplicationProxyResponse ¶
func NewDeleteApplicationProxyResponse() (response *DeleteApplicationProxyResponse)
func (*DeleteApplicationProxyResponse) FromJsonString ¶
func (r *DeleteApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyResponse) ToJsonString ¶
func (r *DeleteApplicationProxyResponse) ToJsonString() string
type DeleteApplicationProxyResponseParams ¶
type DeleteApplicationProxyResponseParams struct { // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationProxyRuleRequest ¶
type DeleteApplicationProxyRuleRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
func NewDeleteApplicationProxyRuleRequest ¶
func NewDeleteApplicationProxyRuleRequest() (request *DeleteApplicationProxyRuleRequest)
func (*DeleteApplicationProxyRuleRequest) FromJsonString ¶
func (r *DeleteApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRuleRequest) ToJsonString ¶
func (r *DeleteApplicationProxyRuleRequest) ToJsonString() string
type DeleteApplicationProxyRuleRequestParams ¶
type DeleteApplicationProxyRuleRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` }
Predefined struct for user
type DeleteApplicationProxyRuleResponse ¶
type DeleteApplicationProxyRuleResponse struct { *tchttp.BaseResponse Response *DeleteApplicationProxyRuleResponseParams `json:"Response"` }
func NewDeleteApplicationProxyRuleResponse ¶
func NewDeleteApplicationProxyRuleResponse() (response *DeleteApplicationProxyRuleResponse)
func (*DeleteApplicationProxyRuleResponse) FromJsonString ¶
func (r *DeleteApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRuleResponse) ToJsonString ¶
func (r *DeleteApplicationProxyRuleResponse) ToJsonString() string
type DeleteApplicationProxyRuleResponseParams ¶
type DeleteApplicationProxyRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDnsRecordsRequest ¶
type DeleteDnsRecordsRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record ID Ids []*string `json:"Ids,omitempty" name:"Ids"` }
func NewDeleteDnsRecordsRequest ¶
func NewDeleteDnsRecordsRequest() (request *DeleteDnsRecordsRequest)
func (*DeleteDnsRecordsRequest) FromJsonString ¶
func (r *DeleteDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDnsRecordsRequest) ToJsonString ¶
func (r *DeleteDnsRecordsRequest) ToJsonString() string
type DeleteDnsRecordsRequestParams ¶
type DeleteDnsRecordsRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record ID Ids []*string `json:"Ids,omitempty" name:"Ids"` }
Predefined struct for user
type DeleteDnsRecordsResponse ¶
type DeleteDnsRecordsResponse struct { *tchttp.BaseResponse Response *DeleteDnsRecordsResponseParams `json:"Response"` }
func NewDeleteDnsRecordsResponse ¶
func NewDeleteDnsRecordsResponse() (response *DeleteDnsRecordsResponse)
func (*DeleteDnsRecordsResponse) FromJsonString ¶
func (r *DeleteDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDnsRecordsResponse) ToJsonString ¶
func (r *DeleteDnsRecordsResponse) ToJsonString() string
type DeleteDnsRecordsResponseParams ¶
type DeleteDnsRecordsResponseParams struct { // Record ID Ids []*string `json:"Ids,omitempty" name:"Ids"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancingRequest ¶
type DeleteLoadBalancingRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` }
func NewDeleteLoadBalancingRequest ¶
func NewDeleteLoadBalancingRequest() (request *DeleteLoadBalancingRequest)
func (*DeleteLoadBalancingRequest) FromJsonString ¶
func (r *DeleteLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancingRequest) ToJsonString ¶
func (r *DeleteLoadBalancingRequest) ToJsonString() string
type DeleteLoadBalancingRequestParams ¶
type DeleteLoadBalancingRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` }
Predefined struct for user
type DeleteLoadBalancingResponse ¶
type DeleteLoadBalancingResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancingResponseParams `json:"Response"` }
func NewDeleteLoadBalancingResponse ¶
func NewDeleteLoadBalancingResponse() (response *DeleteLoadBalancingResponse)
func (*DeleteLoadBalancingResponse) FromJsonString ¶
func (r *DeleteLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancingResponse) ToJsonString ¶
func (r *DeleteLoadBalancingResponse) ToJsonString() string
type DeleteLoadBalancingResponseParams ¶
type DeleteLoadBalancingResponseParams struct { // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteOriginGroupRequest ¶
type DeleteOriginGroupRequest struct { *tchttp.BaseRequest // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDeleteOriginGroupRequest ¶
func NewDeleteOriginGroupRequest() (request *DeleteOriginGroupRequest)
func (*DeleteOriginGroupRequest) FromJsonString ¶
func (r *DeleteOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOriginGroupRequest) ToJsonString ¶
func (r *DeleteOriginGroupRequest) ToJsonString() string
type DeleteOriginGroupRequestParams ¶
type DeleteOriginGroupRequestParams struct { // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DeleteOriginGroupResponse ¶
type DeleteOriginGroupResponse struct { *tchttp.BaseResponse Response *DeleteOriginGroupResponseParams `json:"Response"` }
func NewDeleteOriginGroupResponse ¶
func NewDeleteOriginGroupResponse() (response *DeleteOriginGroupResponse)
func (*DeleteOriginGroupResponse) FromJsonString ¶
func (r *DeleteOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOriginGroupResponse) ToJsonString ¶
func (r *DeleteOriginGroupResponse) ToJsonString() string
type DeleteOriginGroupResponseParams ¶
type DeleteOriginGroupResponseParams struct { // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteZoneRequest ¶
type DeleteZoneRequest struct { *tchttp.BaseRequest // Site ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDeleteZoneRequest ¶
func NewDeleteZoneRequest() (request *DeleteZoneRequest)
func (*DeleteZoneRequest) FromJsonString ¶
func (r *DeleteZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteZoneRequest) ToJsonString ¶
func (r *DeleteZoneRequest) ToJsonString() string
type DeleteZoneRequestParams ¶
type DeleteZoneRequestParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` }
Predefined struct for user
type DeleteZoneResponse ¶
type DeleteZoneResponse struct { *tchttp.BaseResponse Response *DeleteZoneResponseParams `json:"Response"` }
func NewDeleteZoneResponse ¶
func NewDeleteZoneResponse() (response *DeleteZoneResponse)
func (*DeleteZoneResponse) FromJsonString ¶
func (r *DeleteZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteZoneResponse) ToJsonString ¶
func (r *DeleteZoneResponse) ToJsonString() string
type DeleteZoneResponseParams ¶
type DeleteZoneResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationProxyDetailRequest ¶
type DescribeApplicationProxyDetailRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Instance ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` }
func NewDescribeApplicationProxyDetailRequest ¶
func NewDescribeApplicationProxyDetailRequest() (request *DescribeApplicationProxyDetailRequest)
func (*DescribeApplicationProxyDetailRequest) FromJsonString ¶
func (r *DescribeApplicationProxyDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyDetailRequest) ToJsonString ¶
func (r *DescribeApplicationProxyDetailRequest) ToJsonString() string
type DescribeApplicationProxyDetailRequestParams ¶
type DescribeApplicationProxyDetailRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Instance ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` }
Predefined struct for user
type DescribeApplicationProxyDetailResponse ¶
type DescribeApplicationProxyDetailResponse struct { *tchttp.BaseResponse Response *DescribeApplicationProxyDetailResponseParams `json:"Response"` }
func NewDescribeApplicationProxyDetailResponse ¶
func NewDescribeApplicationProxyDetailResponse() (response *DescribeApplicationProxyDetailResponse)
func (*DescribeApplicationProxyDetailResponse) FromJsonString ¶
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 ¶
func (r *DescribeApplicationProxyDetailResponse) ToJsonString() string
type DescribeApplicationProxyDetailResponseParams ¶
type DescribeApplicationProxyDetailResponseParams struct { // Instance ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Name of the proxy: // Domain name or subdomain name when `ProxyType=hostname` // Instance name when `ProxyType=instance` ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"` // Proxy mode. Valid values: // `ip`: Anycast IP // `domain`: CNAME PlatType *string `json:"PlatType,omitempty" name:"PlatType"` // `0`: Disable security protection; `1`: Enable security protection. SecurityType *int64 `json:"SecurityType,omitempty" name:"SecurityType"` // `0`: Disable acceleration; `1`: Enable acceleration. AccelerateType *int64 `json:"AccelerateType,omitempty" name:"AccelerateType"` // This field is moved to `Rule.ForwardClientIp`. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // This field is moved to `Rule.SessionPersist`. SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` // List of rules Rule []*ApplicationProxyRule `json:"Rule,omitempty" name:"Rule"` // Status. Valid values: // `online`: Enable // `offline`: Disable // `progress`: Deploying Status *string `json:"Status,omitempty" name:"Status"` // Scheduling information ScheduleValue []*string `json:"ScheduleValue,omitempty" name:"ScheduleValue"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Session persistence time SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"` // Specifies how a layer-4 proxy is created. // `hostname`: Create by subdomain name // `instance`: Create by instance ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"` // When `ProxyType=hostname`: // `ProxyName` indicates a specified domain name, such as test.123.com // `HostId` indicates a unique ID of the domain name. HostId *string `json:"HostId,omitempty" name:"HostId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationProxyRequest ¶
type DescribeApplicationProxyRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Pagination parameter Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
func NewDescribeApplicationProxyRequest ¶
func NewDescribeApplicationProxyRequest() (request *DescribeApplicationProxyRequest)
func (*DescribeApplicationProxyRequest) FromJsonString ¶
func (r *DescribeApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyRequest) ToJsonString ¶
func (r *DescribeApplicationProxyRequest) ToJsonString() string
type DescribeApplicationProxyRequestParams ¶
type DescribeApplicationProxyRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Pagination parameter Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter Limit *int64 `json:"Limit,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeApplicationProxyResponse ¶
type DescribeApplicationProxyResponse struct { *tchttp.BaseResponse Response *DescribeApplicationProxyResponseParams `json:"Response"` }
func NewDescribeApplicationProxyResponse ¶
func NewDescribeApplicationProxyResponse() (response *DescribeApplicationProxyResponse)
func (*DescribeApplicationProxyResponse) FromJsonString ¶
func (r *DescribeApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxyResponse) ToJsonString ¶
func (r *DescribeApplicationProxyResponse) ToJsonString() string
type DescribeApplicationProxyResponseParams ¶
type DescribeApplicationProxyResponseParams struct { // List of data // Note: This field may return `null`, indicating that no valid value can be obtained. Data []*ApplicationProxy `json:"Data,omitempty" name:"Data"` // Total number of records // Note: This field may return `null`, indicating that no valid values can be obtained. TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // Disused // Note: This field may return `null`, indicating that no valid value can be obtained. Quota *int64 `json:"Quota,omitempty" name:"Quota"` // When `PlatType` is `ip`, it indicates the number of proxies that schedule via Anycast IP. // Note: This field may return `null`, indicating that no valid values can be obtained. IpCount *uint64 `json:"IpCount,omitempty" name:"IpCount"` // When `PlatType` is `domain`, it indicates the number of proxies that schedule via CNAME. // Note: This field may return `null`, indicating that no valid value can be obtained. DomainCount *uint64 `json:"DomainCount,omitempty" name:"DomainCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBotLogRequest ¶
type DescribeBotLogRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` // Query condition QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"` }
func NewDescribeBotLogRequest ¶
func NewDescribeBotLogRequest() (request *DescribeBotLogRequest)
func (*DescribeBotLogRequest) FromJsonString ¶
func (r *DescribeBotLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotLogRequest) ToJsonString ¶
func (r *DescribeBotLogRequest) ToJsonString() string
type DescribeBotLogRequestParams ¶
type DescribeBotLogRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` // Query condition QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"` }
Predefined struct for user
type DescribeBotLogResponse ¶
type DescribeBotLogResponse struct { *tchttp.BaseResponse Response *DescribeBotLogResponseParams `json:"Response"` }
func NewDescribeBotLogResponse ¶
func NewDescribeBotLogResponse() (response *DescribeBotLogResponse)
func (*DescribeBotLogResponse) FromJsonString ¶
func (r *DescribeBotLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotLogResponse) ToJsonString ¶
func (r *DescribeBotLogResponse) ToJsonString() string
type DescribeBotLogResponseParams ¶
type DescribeBotLogResponseParams struct { // Bot attack data Data *BotLogData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBotManagedRulesRequest ¶
type DescribeBotManagedRulesRequest struct { *tchttp.BaseRequest // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/layer-4 proxy Entity *string `json:"Entity,omitempty" name:"Entity"` // Total number of pages Page *int64 `json:"Page,omitempty" name:"Page"` // Number of rules per page PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"` // Rule type. Values: `idcid`, `sipbot` and `uabot`. All rules will be returned if this field is not specified. RuleType *string `json:"RuleType,omitempty" name:"RuleType"` }
func NewDescribeBotManagedRulesRequest ¶
func NewDescribeBotManagedRulesRequest() (request *DescribeBotManagedRulesRequest)
func (*DescribeBotManagedRulesRequest) FromJsonString ¶
func (r *DescribeBotManagedRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotManagedRulesRequest) ToJsonString ¶
func (r *DescribeBotManagedRulesRequest) ToJsonString() string
type DescribeBotManagedRulesRequestParams ¶
type DescribeBotManagedRulesRequestParams struct { // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/layer-4 proxy Entity *string `json:"Entity,omitempty" name:"Entity"` // Total number of pages Page *int64 `json:"Page,omitempty" name:"Page"` // Number of rules per page PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"` // Rule type. Values: `idcid`, `sipbot` and `uabot`. All rules will be returned if this field is not specified. RuleType *string `json:"RuleType,omitempty" name:"RuleType"` }
Predefined struct for user
type DescribeBotManagedRulesResponse ¶
type DescribeBotManagedRulesResponse struct { *tchttp.BaseResponse Response *DescribeBotManagedRulesResponseParams `json:"Response"` }
func NewDescribeBotManagedRulesResponse ¶
func NewDescribeBotManagedRulesResponse() (response *DescribeBotManagedRulesResponse)
func (*DescribeBotManagedRulesResponse) FromJsonString ¶
func (r *DescribeBotManagedRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBotManagedRulesResponse) ToJsonString ¶
func (r *DescribeBotManagedRulesResponse) ToJsonString() string
type DescribeBotManagedRulesResponseParams ¶
type DescribeBotManagedRulesResponseParams struct { // Number of bot managed rules returned Count *int64 `json:"Count,omitempty" name:"Count"` // Bot managed rules Rules []*BotManagedRuleDetail `json:"Rules,omitempty" name:"Rules"` // Total number of bot managed rules Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCnameStatusRequest ¶
type DescribeCnameStatusRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of domain names Names []*string `json:"Names,omitempty" name:"Names"` }
func NewDescribeCnameStatusRequest ¶
func NewDescribeCnameStatusRequest() (request *DescribeCnameStatusRequest)
func (*DescribeCnameStatusRequest) FromJsonString ¶
func (r *DescribeCnameStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCnameStatusRequest) ToJsonString ¶
func (r *DescribeCnameStatusRequest) ToJsonString() string
type DescribeCnameStatusRequestParams ¶
type DescribeCnameStatusRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of domain names Names []*string `json:"Names,omitempty" name:"Names"` }
Predefined struct for user
type DescribeCnameStatusResponse ¶
type DescribeCnameStatusResponse struct { *tchttp.BaseResponse Response *DescribeCnameStatusResponseParams `json:"Response"` }
func NewDescribeCnameStatusResponse ¶
func NewDescribeCnameStatusResponse() (response *DescribeCnameStatusResponse)
func (*DescribeCnameStatusResponse) FromJsonString ¶
func (r *DescribeCnameStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCnameStatusResponse) ToJsonString ¶
func (r *DescribeCnameStatusResponse) ToJsonString() string
type DescribeCnameStatusResponseParams ¶
type DescribeCnameStatusResponseParams struct { // List of CNAME statuses Status []*CnameStatus `json:"Status,omitempty" name:"Status"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSPolicyRequest ¶
type DescribeDDoSPolicyRequest struct { *tchttp.BaseRequest // Policy group ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Top-level domain name (site) ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeDDoSPolicyRequest ¶
func NewDescribeDDoSPolicyRequest() (request *DescribeDDoSPolicyRequest)
func (*DescribeDDoSPolicyRequest) FromJsonString ¶
func (r *DescribeDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSPolicyRequest) ToJsonString ¶
func (r *DescribeDDoSPolicyRequest) ToJsonString() string
type DescribeDDoSPolicyRequestParams ¶
type DescribeDDoSPolicyRequestParams struct { // Policy group ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Top-level domain name (site) ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeDDoSPolicyResponse ¶
type DescribeDDoSPolicyResponse struct { *tchttp.BaseResponse Response *DescribeDDoSPolicyResponseParams `json:"Response"` }
func NewDescribeDDoSPolicyResponse ¶
func NewDescribeDDoSPolicyResponse() (response *DescribeDDoSPolicyResponse)
func (*DescribeDDoSPolicyResponse) FromJsonString ¶
func (r *DescribeDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSPolicyResponse) ToJsonString ¶
func (r *DescribeDDoSPolicyResponse) ToJsonString() string
type DescribeDDoSPolicyResponseParams ¶
type DescribeDDoSPolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDosAttackDataRequest ¶
type DescribeDDosAttackDataRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of statistical metrics MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Port number Port *int64 `json:"Port,omitempty" name:"Port"` // Protocol type. Valid values: tcp, udp, all ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Attack type. Valid values: flood, icmpFlood..., all AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` }
func NewDescribeDDosAttackDataRequest ¶
func NewDescribeDDosAttackDataRequest() (request *DescribeDDosAttackDataRequest)
func (*DescribeDDosAttackDataRequest) FromJsonString ¶
func (r *DescribeDDosAttackDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackDataRequest) ToJsonString ¶
func (r *DescribeDDosAttackDataRequest) ToJsonString() string
type DescribeDDosAttackDataRequestParams ¶
type DescribeDDosAttackDataRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of statistical metrics MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Port number Port *int64 `json:"Port,omitempty" name:"Port"` // Protocol type. Valid values: tcp, udp, all ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Attack type. Valid values: flood, icmpFlood..., all AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` }
Predefined struct for user
type DescribeDDosAttackDataResponse ¶
type DescribeDDosAttackDataResponse struct { *tchttp.BaseResponse Response *DescribeDDosAttackDataResponseParams `json:"Response"` }
func NewDescribeDDosAttackDataResponse ¶
func NewDescribeDDosAttackDataResponse() (response *DescribeDDosAttackDataResponse)
func (*DescribeDDosAttackDataResponse) FromJsonString ¶
func (r *DescribeDDosAttackDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackDataResponse) ToJsonString ¶
func (r *DescribeDDosAttackDataResponse) ToJsonString() string
type DescribeDDosAttackDataResponseParams ¶
type DescribeDDosAttackDataResponseParams struct { // DDoS attack data // Note: This field may return null, indicating that no valid values can be obtained. Data []*SecEntry `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned data Msg *string `json:"Msg,omitempty" name:"Msg"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDosAttackEventDetailRequest ¶
type DescribeDDosAttackEventDetailRequest struct { *tchttp.BaseRequest // Event ID EventId *string `json:"EventId,omitempty" name:"EventId"` }
func NewDescribeDDosAttackEventDetailRequest ¶
func NewDescribeDDosAttackEventDetailRequest() (request *DescribeDDosAttackEventDetailRequest)
func (*DescribeDDosAttackEventDetailRequest) FromJsonString ¶
func (r *DescribeDDosAttackEventDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackEventDetailRequest) ToJsonString ¶
func (r *DescribeDDosAttackEventDetailRequest) ToJsonString() string
type DescribeDDosAttackEventDetailRequestParams ¶
type DescribeDDosAttackEventDetailRequestParams struct { // Event ID EventId *string `json:"EventId,omitempty" name:"EventId"` }
Predefined struct for user
type DescribeDDosAttackEventDetailResponse ¶
type DescribeDDosAttackEventDetailResponse struct { *tchttp.BaseResponse Response *DescribeDDosAttackEventDetailResponseParams `json:"Response"` }
func NewDescribeDDosAttackEventDetailResponse ¶
func NewDescribeDDosAttackEventDetailResponse() (response *DescribeDDosAttackEventDetailResponse)
func (*DescribeDDosAttackEventDetailResponse) FromJsonString ¶
func (r *DescribeDDosAttackEventDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackEventDetailResponse) ToJsonString ¶
func (r *DescribeDDosAttackEventDetailResponse) ToJsonString() string
type DescribeDDosAttackEventDetailResponseParams ¶
type DescribeDDosAttackEventDetailResponseParams struct { // DDoS attack event details Data *DDosAttackEventDetailData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDosAttackEventRequest ¶
type DescribeDDosAttackEventRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Protocol type. Valid values: {tcp,udp,all} ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Whether to show details. Valid values: Y (yes), N (no). IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"` }
func NewDescribeDDosAttackEventRequest ¶
func NewDescribeDDosAttackEventRequest() (request *DescribeDDosAttackEventRequest)
func (*DescribeDDosAttackEventRequest) FromJsonString ¶
func (r *DescribeDDosAttackEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackEventRequest) ToJsonString ¶
func (r *DescribeDDosAttackEventRequest) ToJsonString() string
type DescribeDDosAttackEventRequestParams ¶
type DescribeDDosAttackEventRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Protocol type. Valid values: {tcp,udp,all} ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Whether to show details. Valid values: Y (yes), N (no). IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"` }
Predefined struct for user
type DescribeDDosAttackEventResponse ¶
type DescribeDDosAttackEventResponse struct { *tchttp.BaseResponse Response *DescribeDDosAttackEventResponseParams `json:"Response"` }
func NewDescribeDDosAttackEventResponse ¶
func NewDescribeDDosAttackEventResponse() (response *DescribeDDosAttackEventResponse)
func (*DescribeDDosAttackEventResponse) FromJsonString ¶
func (r *DescribeDDosAttackEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackEventResponse) ToJsonString ¶
func (r *DescribeDDosAttackEventResponse) ToJsonString() string
type DescribeDDosAttackEventResponseParams ¶
type DescribeDDosAttackEventResponseParams struct { // DDoS attack event data Data *DDosAttackEventData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDosAttackSourceEventRequest ¶
type DescribeDDosAttackSourceEventRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Protocol type. Valid values: {tcp,udp,all} ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` }
func NewDescribeDDosAttackSourceEventRequest ¶
func NewDescribeDDosAttackSourceEventRequest() (request *DescribeDDosAttackSourceEventRequest)
func (*DescribeDDosAttackSourceEventRequest) FromJsonString ¶
func (r *DescribeDDosAttackSourceEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackSourceEventRequest) ToJsonString ¶
func (r *DescribeDDosAttackSourceEventRequest) ToJsonString() string
type DescribeDDosAttackSourceEventRequestParams ¶
type DescribeDDosAttackSourceEventRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Protocol type. Valid values: {tcp,udp,all} ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` }
Predefined struct for user
type DescribeDDosAttackSourceEventResponse ¶
type DescribeDDosAttackSourceEventResponse struct { *tchttp.BaseResponse Response *DescribeDDosAttackSourceEventResponseParams `json:"Response"` }
func NewDescribeDDosAttackSourceEventResponse ¶
func NewDescribeDDosAttackSourceEventResponse() (response *DescribeDDosAttackSourceEventResponse)
func (*DescribeDDosAttackSourceEventResponse) FromJsonString ¶
func (r *DescribeDDosAttackSourceEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackSourceEventResponse) ToJsonString ¶
func (r *DescribeDDosAttackSourceEventResponse) ToJsonString() string
type DescribeDDosAttackSourceEventResponseParams ¶
type DescribeDDosAttackSourceEventResponseParams struct { // DDoS attack source data Data *DDosAttackSourceEventData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDosAttackTopDataRequest ¶
type DescribeDDosAttackTopDataRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Number of the top data entries to query. 0: queries all data entries. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Port number Port *int64 `json:"Port,omitempty" name:"Port"` // Protocol type. Valid values: tcp, udp, all ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Attack type. Valid values: flood, icmpFlood..., all AttackType *string `json:"AttackType,omitempty" name:"AttackType"` }
func NewDescribeDDosAttackTopDataRequest ¶
func NewDescribeDDosAttackTopDataRequest() (request *DescribeDDosAttackTopDataRequest)
func (*DescribeDDosAttackTopDataRequest) FromJsonString ¶
func (r *DescribeDDosAttackTopDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackTopDataRequest) ToJsonString ¶
func (r *DescribeDDosAttackTopDataRequest) ToJsonString() string
type DescribeDDosAttackTopDataRequestParams ¶
type DescribeDDosAttackTopDataRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Number of the top data entries to query. 0: queries all data entries. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Port number Port *int64 `json:"Port,omitempty" name:"Port"` // Protocol type. Valid values: tcp, udp, all ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Attack type. Valid values: flood, icmpFlood..., all AttackType *string `json:"AttackType,omitempty" name:"AttackType"` }
Predefined struct for user
type DescribeDDosAttackTopDataResponse ¶
type DescribeDDosAttackTopDataResponse struct { *tchttp.BaseResponse Response *DescribeDDosAttackTopDataResponseParams `json:"Response"` }
func NewDescribeDDosAttackTopDataResponse ¶
func NewDescribeDDosAttackTopDataResponse() (response *DescribeDDosAttackTopDataResponse)
func (*DescribeDDosAttackTopDataResponse) FromJsonString ¶
func (r *DescribeDDosAttackTopDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosAttackTopDataResponse) ToJsonString ¶
func (r *DescribeDDosAttackTopDataResponse) ToJsonString() string
type DescribeDDosAttackTopDataResponseParams ¶
type DescribeDDosAttackTopDataResponseParams struct { // Top N data Data []*TopNEntry `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDosMajorAttackEventRequest ¶
type DescribeDDosMajorAttackEventRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Protocol type. Valid values: {tcp,udp,all} ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` }
func NewDescribeDDosMajorAttackEventRequest ¶
func NewDescribeDDosMajorAttackEventRequest() (request *DescribeDDosMajorAttackEventRequest)
func (*DescribeDDosMajorAttackEventRequest) FromJsonString ¶
func (r *DescribeDDosMajorAttackEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosMajorAttackEventRequest) ToJsonString ¶
func (r *DescribeDDosMajorAttackEventRequest) ToJsonString() string
type DescribeDDosMajorAttackEventRequestParams ¶
type DescribeDDosMajorAttackEventRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Protocol type. Valid values: {tcp,udp,all} ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` }
Predefined struct for user
type DescribeDDosMajorAttackEventResponse ¶
type DescribeDDosMajorAttackEventResponse struct { *tchttp.BaseResponse Response *DescribeDDosMajorAttackEventResponseParams `json:"Response"` }
func NewDescribeDDosMajorAttackEventResponse ¶
func NewDescribeDDosMajorAttackEventResponse() (response *DescribeDDosMajorAttackEventResponse)
func (*DescribeDDosMajorAttackEventResponse) FromJsonString ¶
func (r *DescribeDDosMajorAttackEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDosMajorAttackEventResponse) ToJsonString ¶
func (r *DescribeDDosMajorAttackEventResponse) ToJsonString() string
type DescribeDDosMajorAttackEventResponseParams ¶
type DescribeDDosMajorAttackEventResponseParams struct { // Major DDoS attack event Data *DDosMajorAttackEventData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultCertificatesRequest ¶
type DescribeDefaultCertificatesRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeDefaultCertificatesRequest ¶
func NewDescribeDefaultCertificatesRequest() (request *DescribeDefaultCertificatesRequest)
func (*DescribeDefaultCertificatesRequest) FromJsonString ¶
func (r *DescribeDefaultCertificatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultCertificatesRequest) ToJsonString ¶
func (r *DescribeDefaultCertificatesRequest) ToJsonString() string
type DescribeDefaultCertificatesRequestParams ¶
type DescribeDefaultCertificatesRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeDefaultCertificatesResponse ¶
type DescribeDefaultCertificatesResponse struct { *tchttp.BaseResponse Response *DescribeDefaultCertificatesResponseParams `json:"Response"` }
func NewDescribeDefaultCertificatesResponse ¶
func NewDescribeDefaultCertificatesResponse() (response *DescribeDefaultCertificatesResponse)
func (*DescribeDefaultCertificatesResponse) FromJsonString ¶
func (r *DescribeDefaultCertificatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultCertificatesResponse) ToJsonString ¶
func (r *DescribeDefaultCertificatesResponse) ToJsonString() string
type DescribeDefaultCertificatesResponseParams ¶
type DescribeDefaultCertificatesResponseParams struct { // Total number of certificates TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of default certificates // Note: This field may return `null`, indicating that no valid value can be obtained. CertInfo []*DefaultServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDnsDataRequest ¶
type DescribeDnsDataRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter parameters Filters []*DnsDataFilter `json:"Filters,omitempty" name:"Filters"` // Time granularity. The default value is `min`. The server can adapt to the time granularity specified. // Valid values: // `min`: 1 minute // `5min`: 5 minutes // `hour`: 1 hour // `day`: 1 day Interval *string `json:"Interval,omitempty" name:"Interval"` }
func NewDescribeDnsDataRequest ¶
func NewDescribeDnsDataRequest() (request *DescribeDnsDataRequest)
func (*DescribeDnsDataRequest) FromJsonString ¶
func (r *DescribeDnsDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsDataRequest) ToJsonString ¶
func (r *DescribeDnsDataRequest) ToJsonString() string
type DescribeDnsDataRequestParams ¶
type DescribeDnsDataRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter parameters Filters []*DnsDataFilter `json:"Filters,omitempty" name:"Filters"` // Time granularity. The default value is `min`. The server can adapt to the time granularity specified. // Valid values: // `min`: 1 minute // `5min`: 5 minutes // `hour`: 1 hour // `day`: 1 day Interval *string `json:"Interval,omitempty" name:"Interval"` }
Predefined struct for user
type DescribeDnsDataResponse ¶
type DescribeDnsDataResponse struct { *tchttp.BaseResponse Response *DescribeDnsDataResponseParams `json:"Response"` }
func NewDescribeDnsDataResponse ¶
func NewDescribeDnsDataResponse() (response *DescribeDnsDataResponse)
func (*DescribeDnsDataResponse) FromJsonString ¶
func (r *DescribeDnsDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsDataResponse) ToJsonString ¶
func (r *DescribeDnsDataResponse) ToJsonString() string
type DescribeDnsDataResponseParams ¶
type DescribeDnsDataResponseParams struct { // DNS request data // Note: This field may return `null`, indicating that no valid value can be obtained. Data []*DataItem `json:"Data,omitempty" name:"Data"` // Interval // Note: This field may return `null`, indicating that no valid value can be obtained. Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDnsRecordsRequest ¶
type DescribeDnsRecordsRequest struct { *tchttp.BaseRequest // Query filter Filters []*DnsRecordFilter `json:"Filters,omitempty" name:"Filters"` // Sorts the order Order *string `json:"Order,omitempty" name:"Order"` // Valid values: `asc`, and `desc`. Direction *string `json:"Direction,omitempty" name:"Direction"` // Valid values: `all`, and `any`. Match *string `json:"Match,omitempty" name:"Match"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset for paginated queries. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeDnsRecordsRequest ¶
func NewDescribeDnsRecordsRequest() (request *DescribeDnsRecordsRequest)
func (*DescribeDnsRecordsRequest) FromJsonString ¶
func (r *DescribeDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsRecordsRequest) ToJsonString ¶
func (r *DescribeDnsRecordsRequest) ToJsonString() string
type DescribeDnsRecordsRequestParams ¶
type DescribeDnsRecordsRequestParams struct { // Query filter Filters []*DnsRecordFilter `json:"Filters,omitempty" name:"Filters"` // Sorts the order Order *string `json:"Order,omitempty" name:"Order"` // Valid values: `asc`, and `desc`. Direction *string `json:"Direction,omitempty" name:"Direction"` // Valid values: `all`, and `any`. Match *string `json:"Match,omitempty" name:"Match"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Offset for paginated queries. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeDnsRecordsResponse ¶
type DescribeDnsRecordsResponse struct { *tchttp.BaseResponse Response *DescribeDnsRecordsResponseParams `json:"Response"` }
func NewDescribeDnsRecordsResponse ¶
func NewDescribeDnsRecordsResponse() (response *DescribeDnsRecordsResponse)
func (*DescribeDnsRecordsResponse) FromJsonString ¶
func (r *DescribeDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnsRecordsResponse) ToJsonString ¶
func (r *DescribeDnsRecordsResponse) ToJsonString() string
type DescribeDnsRecordsResponseParams ¶
type DescribeDnsRecordsResponseParams struct { // Used for paginated query by total count TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of DNS records Records []*DnsRecord `json:"Records,omitempty" name:"Records"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDnssecRequest ¶
type DescribeDnssecRequest struct { *tchttp.BaseRequest // Site ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeDnssecRequest ¶
func NewDescribeDnssecRequest() (request *DescribeDnssecRequest)
func (*DescribeDnssecRequest) FromJsonString ¶
func (r *DescribeDnssecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnssecRequest) ToJsonString ¶
func (r *DescribeDnssecRequest) ToJsonString() string
type DescribeDnssecRequestParams ¶
type DescribeDnssecRequestParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` }
Predefined struct for user
type DescribeDnssecResponse ¶
type DescribeDnssecResponse struct { *tchttp.BaseResponse Response *DescribeDnssecResponseParams `json:"Response"` }
func NewDescribeDnssecResponse ¶
func NewDescribeDnssecResponse() (response *DescribeDnssecResponse)
func (*DescribeDnssecResponse) FromJsonString ¶
func (r *DescribeDnssecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDnssecResponse) ToJsonString ¶
func (r *DescribeDnssecResponse) ToJsonString() string
type DescribeDnssecResponseParams ¶
type DescribeDnssecResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // DNSSEC status. Valid values: // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` Dnssec *DnssecInfo `json:"Dnssec,omitempty" name:"Dnssec"` // Modification time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHostsCertificateRequest ¶
type DescribeHostsCertificateRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Offset for paginated queries. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Query filter Filters []*CertFilter `json:"Filters,omitempty" name:"Filters"` // Sorting order Sort *CertSort `json:"Sort,omitempty" name:"Sort"` }
func NewDescribeHostsCertificateRequest ¶
func NewDescribeHostsCertificateRequest() (request *DescribeHostsCertificateRequest)
func (*DescribeHostsCertificateRequest) FromJsonString ¶
func (r *DescribeHostsCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsCertificateRequest) ToJsonString ¶
func (r *DescribeHostsCertificateRequest) ToJsonString() string
type DescribeHostsCertificateRequestParams ¶
type DescribeHostsCertificateRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Offset for paginated queries. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Query filter Filters []*CertFilter `json:"Filters,omitempty" name:"Filters"` // Sorting order Sort *CertSort `json:"Sort,omitempty" name:"Sort"` }
Predefined struct for user
type DescribeHostsCertificateResponse ¶
type DescribeHostsCertificateResponse struct { *tchttp.BaseResponse Response *DescribeHostsCertificateResponseParams `json:"Response"` }
func NewDescribeHostsCertificateResponse ¶
func NewDescribeHostsCertificateResponse() (response *DescribeHostsCertificateResponse)
func (*DescribeHostsCertificateResponse) FromJsonString ¶
func (r *DescribeHostsCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsCertificateResponse) ToJsonString ¶
func (r *DescribeHostsCertificateResponse) ToJsonString() string
type DescribeHostsCertificateResponseParams ¶
type DescribeHostsCertificateResponseParams struct { // Used for paginated query by total count TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of certificate configurations for domain names // Note: This field may return `null`, indicating that no valid value can be obtained. Hosts []*HostCertSetting `json:"Hosts,omitempty" name:"Hosts"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHostsSettingRequest ¶
type DescribeHostsSettingRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Offset for paginated queries. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Specifies a domain name for the query Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` }
func NewDescribeHostsSettingRequest ¶
func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest)
func (*DescribeHostsSettingRequest) FromJsonString ¶
func (r *DescribeHostsSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsSettingRequest) ToJsonString ¶
func (r *DescribeHostsSettingRequest) ToJsonString() string
type DescribeHostsSettingRequestParams ¶
type DescribeHostsSettingRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Offset for paginated queries. Default value: 0 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Limit on paginated queries. Default value: 100. Maximum value: 1000. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Specifies a domain name for the query Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` }
Predefined struct for user
type DescribeHostsSettingResponse ¶
type DescribeHostsSettingResponse struct { *tchttp.BaseResponse Response *DescribeHostsSettingResponseParams `json:"Response"` }
func NewDescribeHostsSettingResponse ¶
func NewDescribeHostsSettingResponse() (response *DescribeHostsSettingResponse)
func (*DescribeHostsSettingResponse) FromJsonString ¶
func (r *DescribeHostsSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsSettingResponse) ToJsonString ¶
func (r *DescribeHostsSettingResponse) ToJsonString() string
type DescribeHostsSettingResponseParams ¶
type DescribeHostsSettingResponseParams struct { // List of domain names Hosts []*DetailHost `json:"Hosts,omitempty" name:"Hosts"` // Number of domain names TotalNumber *int64 `json:"TotalNumber,omitempty" name:"TotalNumber"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIdentificationRequest ¶
type DescribeIdentificationRequest struct { *tchttp.BaseRequest // Site name Name *string `json:"Name,omitempty" name:"Name"` }
func NewDescribeIdentificationRequest ¶
func NewDescribeIdentificationRequest() (request *DescribeIdentificationRequest)
func (*DescribeIdentificationRequest) FromJsonString ¶
func (r *DescribeIdentificationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdentificationRequest) ToJsonString ¶
func (r *DescribeIdentificationRequest) ToJsonString() string
type DescribeIdentificationRequestParams ¶
type DescribeIdentificationRequestParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type DescribeIdentificationResponse ¶
type DescribeIdentificationResponse struct { *tchttp.BaseResponse Response *DescribeIdentificationResponseParams `json:"Response"` }
func NewDescribeIdentificationResponse ¶
func NewDescribeIdentificationResponse() (response *DescribeIdentificationResponse)
func (*DescribeIdentificationResponse) FromJsonString ¶
func (r *DescribeIdentificationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdentificationResponse) ToJsonString ¶
func (r *DescribeIdentificationResponse) ToJsonString() string
type DescribeIdentificationResponseParams ¶
type DescribeIdentificationResponseParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` // Verification status. Valid values: // - `pending`: Verifying // - `finished`: The site is verified. Status *string `json:"Status,omitempty" name:"Status"` Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` // Record type RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record value RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` // NS records of the domain name // Note: This field may return `null`, indicating that no valid value can be obtained. OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancingDetailRequest ¶
type DescribeLoadBalancingDetailRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` }
func NewDescribeLoadBalancingDetailRequest ¶
func NewDescribeLoadBalancingDetailRequest() (request *DescribeLoadBalancingDetailRequest)
func (*DescribeLoadBalancingDetailRequest) FromJsonString ¶
func (r *DescribeLoadBalancingDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingDetailRequest) ToJsonString ¶
func (r *DescribeLoadBalancingDetailRequest) ToJsonString() string
type DescribeLoadBalancingDetailRequestParams ¶
type DescribeLoadBalancingDetailRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` }
Predefined struct for user
type DescribeLoadBalancingDetailResponse ¶
type DescribeLoadBalancingDetailResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancingDetailResponseParams `json:"Response"` }
func NewDescribeLoadBalancingDetailResponse ¶
func NewDescribeLoadBalancingDetailResponse() (response *DescribeLoadBalancingDetailResponse)
func (*DescribeLoadBalancingDetailResponse) FromJsonString ¶
func (r *DescribeLoadBalancingDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingDetailResponse) ToJsonString ¶
func (r *DescribeLoadBalancingDetailResponse) ToJsonString() string
type DescribeLoadBalancingDetailResponseParams ¶
type DescribeLoadBalancingDetailResponseParams struct { // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name. You can use @ to represent the root domain. Host *string `json:"Host,omitempty" name:"Host"` // Proxy mode. Valid values: // `dns_only`: Only DNS // `proxied`: Enable proxy Type *string `json:"Type,omitempty" name:"Type"` // Indicates DNS TTL time when `Type=dns_only` TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // ID of the origin group used OriginId []*string `json:"OriginId,omitempty" name:"OriginId"` // Information of the origin server used Origin []*OriginGroup `json:"Origin,omitempty" name:"Origin"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Status of the task Status *string `json:"Status,omitempty" name:"Status"` // Schedules domain names // Note: This field may return `null`, indicating that no valid value can be obtained. Cname *string `json:"Cname,omitempty" name:"Cname"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancingRequest ¶
type DescribeLoadBalancingRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Pagination parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Ignore query string parameter Host *string `json:"Host,omitempty" name:"Host"` // Specifies whether the `Host` parameter supports fuzzy match Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"` }
func NewDescribeLoadBalancingRequest ¶
func NewDescribeLoadBalancingRequest() (request *DescribeLoadBalancingRequest)
func (*DescribeLoadBalancingRequest) FromJsonString ¶
func (r *DescribeLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingRequest) ToJsonString ¶
func (r *DescribeLoadBalancingRequest) ToJsonString() string
type DescribeLoadBalancingRequestParams ¶
type DescribeLoadBalancingRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Pagination parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Ignore query string parameter Host *string `json:"Host,omitempty" name:"Host"` // Specifies whether the `Host` parameter supports fuzzy match Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"` }
Predefined struct for user
type DescribeLoadBalancingResponse ¶
type DescribeLoadBalancingResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancingResponseParams `json:"Response"` }
func NewDescribeLoadBalancingResponse ¶
func NewDescribeLoadBalancingResponse() (response *DescribeLoadBalancingResponse)
func (*DescribeLoadBalancingResponse) FromJsonString ¶
func (r *DescribeLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancingResponse) ToJsonString ¶
func (r *DescribeLoadBalancingResponse) ToJsonString() string
type DescribeLoadBalancingResponseParams ¶
type DescribeLoadBalancingResponseParams struct { // Total number of records TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // CLB information Data []*LoadBalancing `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOriginGroupDetailRequest ¶
type DescribeOriginGroupDetailRequest struct { *tchttp.BaseRequest // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeOriginGroupDetailRequest ¶
func NewDescribeOriginGroupDetailRequest() (request *DescribeOriginGroupDetailRequest)
func (*DescribeOriginGroupDetailRequest) FromJsonString ¶
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 ¶
func (r *DescribeOriginGroupDetailRequest) ToJsonString() string
type DescribeOriginGroupDetailRequestParams ¶
type DescribeOriginGroupDetailRequestParams struct { // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeOriginGroupDetailResponse ¶
type DescribeOriginGroupDetailResponse struct { *tchttp.BaseResponse Response *DescribeOriginGroupDetailResponseParams `json:"Response"` }
func NewDescribeOriginGroupDetailResponse ¶
func NewDescribeOriginGroupDetailResponse() (response *DescribeOriginGroupDetailResponse)
func (*DescribeOriginGroupDetailResponse) FromJsonString ¶
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 ¶
func (r *DescribeOriginGroupDetailResponse) ToJsonString() string
type DescribeOriginGroupDetailResponseParams ¶
type DescribeOriginGroupDetailResponseParams struct { // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Origin group name OriginName *string `json:"OriginName,omitempty" name:"OriginName"` // Origin-pull configuration type // `area`: Origin-pull by the client IP’s region specified by `Area` in OriginRecord. // `weight`: Origin-pull by the weight specified by `Weight` in OriginRecord. Type *string `json:"Type,omitempty" name:"Type"` // Record Record []*OriginRecord `json:"Record,omitempty" name:"Record"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Origin type // Note: This field may return `null`, indicating that no valid value can be obtained. OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Whether the origin group uses layer-4 proxy. // Note: This field may return null, indicating that no valid values can be obtained. ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitempty" name:"ApplicationProxyUsed"` // Whether the origin group is used for load balancing. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitempty" name:"LoadBalancingUsed"` // Proxy mode of the load balancing task associated with the origin group. // `none`: Not used for load balancing. // `dns_only`: Used for DNS-only load balancing. // `proxied`: Used for proxied load balancing. // `both`: Used for both DNS-only and proxied load balancing. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitempty" name:"LoadBalancingUsedType"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOriginGroupRequest ¶
type DescribeOriginGroupRequest struct { *tchttp.BaseRequest // Pagination parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Filter parameters Filters []*OriginFilter `json:"Filters,omitempty" name:"Filters"` // Site ID // If it’s not specified, all origin groups will be obtained. ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeOriginGroupRequest ¶
func NewDescribeOriginGroupRequest() (request *DescribeOriginGroupRequest)
func (*DescribeOriginGroupRequest) FromJsonString ¶
func (r *DescribeOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupRequest) ToJsonString ¶
func (r *DescribeOriginGroupRequest) ToJsonString() string
type DescribeOriginGroupRequestParams ¶
type DescribeOriginGroupRequestParams struct { // Pagination parameter Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // Filter parameters Filters []*OriginFilter `json:"Filters,omitempty" name:"Filters"` // Site ID // If it’s not specified, all origin groups will be obtained. ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeOriginGroupResponse ¶
type DescribeOriginGroupResponse struct { *tchttp.BaseResponse Response *DescribeOriginGroupResponseParams `json:"Response"` }
func NewDescribeOriginGroupResponse ¶
func NewDescribeOriginGroupResponse() (response *DescribeOriginGroupResponse)
func (*DescribeOriginGroupResponse) FromJsonString ¶
func (r *DescribeOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupResponse) ToJsonString ¶
func (r *DescribeOriginGroupResponse) ToJsonString() string
type DescribeOriginGroupResponseParams ¶
type DescribeOriginGroupResponseParams struct { // Origin group information Data []*OriginGroup `json:"Data,omitempty" name:"Data"` // Total number of records TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOverviewL7DataRequest ¶
type DescribeOverviewL7DataRequest struct { *tchttp.BaseRequest // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l7Flow_outFlux`: Access traffic // `l7Flow_request`: Access requests // `l7Flow_outBandwidth`: Access bandwidth MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Time interval. Valid values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // List of `ZoneId` values. This parameter takes effect only when querying in the zone/domain dimension. ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of `Domain` values. This parameter takes effect only when querying in the domain dimension. Domains []*string `json:"Domains,omitempty" name:"Domains"` // Protocol type. Valid values: {http,http2,https,all} Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
func NewDescribeOverviewL7DataRequest ¶
func NewDescribeOverviewL7DataRequest() (request *DescribeOverviewL7DataRequest)
func (*DescribeOverviewL7DataRequest) FromJsonString ¶
func (r *DescribeOverviewL7DataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOverviewL7DataRequest) ToJsonString ¶
func (r *DescribeOverviewL7DataRequest) ToJsonString() string
type DescribeOverviewL7DataRequestParams ¶
type DescribeOverviewL7DataRequestParams struct { // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l7Flow_outFlux`: Access traffic // `l7Flow_request`: Access requests // `l7Flow_outBandwidth`: Access bandwidth MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Time interval. Valid values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // List of `ZoneId` values. This parameter takes effect only when querying in the zone/domain dimension. ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of `Domain` values. This parameter takes effect only when querying in the domain dimension. Domains []*string `json:"Domains,omitempty" name:"Domains"` // Protocol type. Valid values: {http,http2,https,all} Protocol *string `json:"Protocol,omitempty" name:"Protocol"` }
Predefined struct for user
type DescribeOverviewL7DataResponse ¶
type DescribeOverviewL7DataResponse struct { *tchttp.BaseResponse Response *DescribeOverviewL7DataResponseParams `json:"Response"` }
func NewDescribeOverviewL7DataResponse ¶
func NewDescribeOverviewL7DataResponse() (response *DescribeOverviewL7DataResponse)
func (*DescribeOverviewL7DataResponse) FromJsonString ¶
func (r *DescribeOverviewL7DataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOverviewL7DataResponse) ToJsonString ¶
func (r *DescribeOverviewL7DataResponse) ToJsonString() string
type DescribeOverviewL7DataResponseParams ¶
type DescribeOverviewL7DataResponseParams struct { // Query dimension Type *string `json:"Type,omitempty" name:"Type"` // Time interval Interval *string `json:"Interval,omitempty" name:"Interval"` // Detailed data Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePrefetchTasksRequest ¶
type DescribePrefetchTasksRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Start time of the query StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the query EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Offset of the query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of results returned Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Statuses of tasks to be queried. Values: // `processing`, `success`, `failed`, `timeout` and `invalid` Statuses []*string `json:"Statuses,omitempty" name:"Statuses"` // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of domain names queried Domains []*string `json:"Domains,omitempty" name:"Domains"` // Resources queried Target *string `json:"Target,omitempty" name:"Target"` }
func NewDescribePrefetchTasksRequest ¶
func NewDescribePrefetchTasksRequest() (request *DescribePrefetchTasksRequest)
func (*DescribePrefetchTasksRequest) FromJsonString ¶
func (r *DescribePrefetchTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrefetchTasksRequest) ToJsonString ¶
func (r *DescribePrefetchTasksRequest) ToJsonString() string
type DescribePrefetchTasksRequestParams ¶
type DescribePrefetchTasksRequestParams struct { // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Start time of the query StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the query EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Offset of the query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of results returned Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Statuses of tasks to be queried. Values: // `processing`, `success`, `failed`, `timeout` and `invalid` Statuses []*string `json:"Statuses,omitempty" name:"Statuses"` // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of domain names queried Domains []*string `json:"Domains,omitempty" name:"Domains"` // Resources queried Target *string `json:"Target,omitempty" name:"Target"` }
Predefined struct for user
type DescribePrefetchTasksResponse ¶
type DescribePrefetchTasksResponse struct { *tchttp.BaseResponse Response *DescribePrefetchTasksResponseParams `json:"Response"` }
func NewDescribePrefetchTasksResponse ¶
func NewDescribePrefetchTasksResponse() (response *DescribePrefetchTasksResponse)
func (*DescribePrefetchTasksResponse) FromJsonString ¶
func (r *DescribePrefetchTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrefetchTasksResponse) ToJsonString ¶
func (r *DescribePrefetchTasksResponse) ToJsonString() string
type DescribePrefetchTasksResponseParams ¶
type DescribePrefetchTasksResponseParams struct { // Total entries that match the specified query condition TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of tasks returned Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePurgeTasksRequest ¶
type DescribePurgeTasksRequest struct { *tchttp.BaseRequest // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Type of the purging task Type *string `json:"Type,omitempty" name:"Type"` // Start time of the query StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the query EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Offset of the query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of results returned Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Statuses of tasks to be queried. Values: // `processing`, `success`, `failed`, `timeout` and `invalid` Statuses []*string `json:"Statuses,omitempty" name:"Statuses"` // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of domain names queried Domains []*string `json:"Domains,omitempty" name:"Domains"` // Queries content Target *string `json:"Target,omitempty" name:"Target"` }
func NewDescribePurgeTasksRequest ¶
func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)
func (*DescribePurgeTasksRequest) FromJsonString ¶
func (r *DescribePurgeTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePurgeTasksRequest) ToJsonString ¶
func (r *DescribePurgeTasksRequest) ToJsonString() string
type DescribePurgeTasksRequestParams ¶
type DescribePurgeTasksRequestParams struct { // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Type of the purging task Type *string `json:"Type,omitempty" name:"Type"` // Start time of the query StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the query EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Offset of the query Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Maximum number of results returned Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Statuses of tasks to be queried. Values: // `processing`, `success`, `failed`, `timeout` and `invalid` Statuses []*string `json:"Statuses,omitempty" name:"Statuses"` // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // List of domain names queried Domains []*string `json:"Domains,omitempty" name:"Domains"` // Queries content Target *string `json:"Target,omitempty" name:"Target"` }
Predefined struct for user
type DescribePurgeTasksResponse ¶
type DescribePurgeTasksResponse struct { *tchttp.BaseResponse Response *DescribePurgeTasksResponseParams `json:"Response"` }
func NewDescribePurgeTasksResponse ¶
func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)
func (*DescribePurgeTasksResponse) FromJsonString ¶
func (r *DescribePurgeTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePurgeTasksResponse) ToJsonString ¶
func (r *DescribePurgeTasksResponse) ToJsonString() string
type DescribePurgeTasksResponseParams ¶
type DescribePurgeTasksResponseParams struct { // Total entries that match the specified query condition TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // List of tasks returned Tasks []*Task `json:"Tasks,omitempty" name:"Tasks"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPolicyListRequest ¶
type DescribeSecurityPolicyListRequest struct { *tchttp.BaseRequest // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeSecurityPolicyListRequest ¶
func NewDescribeSecurityPolicyListRequest() (request *DescribeSecurityPolicyListRequest)
func (*DescribeSecurityPolicyListRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyListRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyListRequest) ToJsonString() string
type DescribeSecurityPolicyListRequestParams ¶
type DescribeSecurityPolicyListRequestParams struct { // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeSecurityPolicyListResponse ¶
type DescribeSecurityPolicyListResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPolicyListResponseParams `json:"Response"` }
func NewDescribeSecurityPolicyListResponse ¶
func NewDescribeSecurityPolicyListResponse() (response *DescribeSecurityPolicyListResponse)
func (*DescribeSecurityPolicyListResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyListResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyListResponse) ToJsonString() string
type DescribeSecurityPolicyListResponseParams ¶
type DescribeSecurityPolicyListResponseParams struct { // List of protected resources Entities []*SecurityEntity `json:"Entities,omitempty" name:"Entities"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPolicyManagedRulesIdRequest ¶
type DescribeSecurityPolicyManagedRulesIdRequest struct { *tchttp.BaseRequest // List of rule IDs RuleId []*int64 `json:"RuleId,omitempty" name:"RuleId"` }
func NewDescribeSecurityPolicyManagedRulesIdRequest ¶
func NewDescribeSecurityPolicyManagedRulesIdRequest() (request *DescribeSecurityPolicyManagedRulesIdRequest)
func (*DescribeSecurityPolicyManagedRulesIdRequest) FromJsonString ¶
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 ¶
func (r *DescribeSecurityPolicyManagedRulesIdRequest) ToJsonString() string
type DescribeSecurityPolicyManagedRulesIdRequestParams ¶
type DescribeSecurityPolicyManagedRulesIdRequestParams struct { // List of rule IDs RuleId []*int64 `json:"RuleId,omitempty" name:"RuleId"` }
Predefined struct for user
type DescribeSecurityPolicyManagedRulesIdResponse ¶
type DescribeSecurityPolicyManagedRulesIdResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPolicyManagedRulesIdResponseParams `json:"Response"` }
func NewDescribeSecurityPolicyManagedRulesIdResponse ¶
func NewDescribeSecurityPolicyManagedRulesIdResponse() (response *DescribeSecurityPolicyManagedRulesIdResponse)
func (*DescribeSecurityPolicyManagedRulesIdResponse) FromJsonString ¶
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 ¶
func (r *DescribeSecurityPolicyManagedRulesIdResponse) ToJsonString() string
type DescribeSecurityPolicyManagedRulesIdResponseParams ¶
type DescribeSecurityPolicyManagedRulesIdResponseParams struct { // Total number of returned items Total *int64 `json:"Total,omitempty" name:"Total"` // Managed rule Rules []*ManagedRule `json:"Rules,omitempty" name:"Rules"` // Total number of returned items Count *int64 `json:"Count,omitempty" name:"Count"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPolicyManagedRulesRequest ¶
type DescribeSecurityPolicyManagedRulesRequest struct { *tchttp.BaseRequest // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/layer-4 proxy Entity *string `json:"Entity,omitempty" name:"Entity"` // Total number of pages Page *int64 `json:"Page,omitempty" name:"Page"` // Number of rules per page PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"` }
func NewDescribeSecurityPolicyManagedRulesRequest ¶
func NewDescribeSecurityPolicyManagedRulesRequest() (request *DescribeSecurityPolicyManagedRulesRequest)
func (*DescribeSecurityPolicyManagedRulesRequest) FromJsonString ¶
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 ¶
func (r *DescribeSecurityPolicyManagedRulesRequest) ToJsonString() string
type DescribeSecurityPolicyManagedRulesRequestParams ¶
type DescribeSecurityPolicyManagedRulesRequestParams struct { // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/layer-4 proxy Entity *string `json:"Entity,omitempty" name:"Entity"` // Total number of pages Page *int64 `json:"Page,omitempty" name:"Page"` // Number of rules per page PerPage *int64 `json:"PerPage,omitempty" name:"PerPage"` }
Predefined struct for user
type DescribeSecurityPolicyManagedRulesResponse ¶
type DescribeSecurityPolicyManagedRulesResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPolicyManagedRulesResponseParams `json:"Response"` }
func NewDescribeSecurityPolicyManagedRulesResponse ¶
func NewDescribeSecurityPolicyManagedRulesResponse() (response *DescribeSecurityPolicyManagedRulesResponse)
func (*DescribeSecurityPolicyManagedRulesResponse) FromJsonString ¶
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 ¶
func (r *DescribeSecurityPolicyManagedRulesResponse) ToJsonString() string
type DescribeSecurityPolicyManagedRulesResponseParams ¶
type DescribeSecurityPolicyManagedRulesResponseParams struct { // Number of rules returned Count *int64 `json:"Count,omitempty" name:"Count"` // Managed rule Rules []*ManagedRule `json:"Rules,omitempty" name:"Rules"` // Total number of rules Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPolicyRegionsRequest ¶
type DescribeSecurityPolicyRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeSecurityPolicyRegionsRequest ¶
func NewDescribeSecurityPolicyRegionsRequest() (request *DescribeSecurityPolicyRegionsRequest)
func (*DescribeSecurityPolicyRegionsRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyRegionsRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyRegionsRequest) ToJsonString() string
type DescribeSecurityPolicyRegionsRequestParams ¶
type DescribeSecurityPolicyRegionsRequestParams struct { }
Predefined struct for user
type DescribeSecurityPolicyRegionsResponse ¶
type DescribeSecurityPolicyRegionsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPolicyRegionsResponseParams `json:"Response"` }
func NewDescribeSecurityPolicyRegionsResponse ¶
func NewDescribeSecurityPolicyRegionsResponse() (response *DescribeSecurityPolicyRegionsResponse)
func (*DescribeSecurityPolicyRegionsResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyRegionsResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyRegionsResponse) ToJsonString() string
type DescribeSecurityPolicyRegionsResponseParams ¶
type DescribeSecurityPolicyRegionsResponseParams struct { // Total number of regions Count *int64 `json:"Count,omitempty" name:"Count"` // Region information GeoIp []*GeoIp `json:"GeoIp,omitempty" name:"GeoIp"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPolicyRequest ¶
type DescribeSecurityPolicyRequest struct { *tchttp.BaseRequest // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Second-level domain name Entity *string `json:"Entity,omitempty" name:"Entity"` }
func NewDescribeSecurityPolicyRequest ¶
func NewDescribeSecurityPolicyRequest() (request *DescribeSecurityPolicyRequest)
func (*DescribeSecurityPolicyRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyRequest) ToJsonString() string
type DescribeSecurityPolicyRequestParams ¶
type DescribeSecurityPolicyRequestParams struct { // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Second-level domain name Entity *string `json:"Entity,omitempty" name:"Entity"` }
Predefined struct for user
type DescribeSecurityPolicyResponse ¶
type DescribeSecurityPolicyResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPolicyResponseParams `json:"Response"` }
func NewDescribeSecurityPolicyResponse ¶
func NewDescribeSecurityPolicyResponse() (response *DescribeSecurityPolicyResponse)
func (*DescribeSecurityPolicyResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyResponse) ToJsonString() string
type DescribeSecurityPolicyResponseParams ¶
type DescribeSecurityPolicyResponseParams struct { // User ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Second-level domain name Entity *string `json:"Entity,omitempty" name:"Entity"` // Security configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Config *SecurityConfig `json:"Config,omitempty" name:"Config"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPortraitRulesRequest ¶
type DescribeSecurityPortraitRulesRequest struct { *tchttp.BaseRequest // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/Application name Entity *string `json:"Entity,omitempty" name:"Entity"` }
func NewDescribeSecurityPortraitRulesRequest ¶
func NewDescribeSecurityPortraitRulesRequest() (request *DescribeSecurityPortraitRulesRequest)
func (*DescribeSecurityPortraitRulesRequest) FromJsonString ¶
func (r *DescribeSecurityPortraitRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPortraitRulesRequest) ToJsonString ¶
func (r *DescribeSecurityPortraitRulesRequest) ToJsonString() string
type DescribeSecurityPortraitRulesRequestParams ¶
type DescribeSecurityPortraitRulesRequestParams struct { // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/Application name Entity *string `json:"Entity,omitempty" name:"Entity"` }
Predefined struct for user
type DescribeSecurityPortraitRulesResponse ¶
type DescribeSecurityPortraitRulesResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPortraitRulesResponseParams `json:"Response"` }
func NewDescribeSecurityPortraitRulesResponse ¶
func NewDescribeSecurityPortraitRulesResponse() (response *DescribeSecurityPortraitRulesResponse)
func (*DescribeSecurityPortraitRulesResponse) FromJsonString ¶
func (r *DescribeSecurityPortraitRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPortraitRulesResponse) ToJsonString ¶
func (r *DescribeSecurityPortraitRulesResponse) ToJsonString() string
type DescribeSecurityPortraitRulesResponseParams ¶
type DescribeSecurityPortraitRulesResponseParams struct { // Number of rules returned in this request Count *int64 `json:"Count,omitempty" name:"Count"` // Bot user profiling rule Rules []*PortraitManagedRuleDetail `json:"Rules,omitempty" name:"Rules"` // Total number of rules Total *int64 `json:"Total,omitempty" name:"Total"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL4DataRequest ¶
type DescribeTimingL4DataRequest struct { *tchttp.BaseRequest // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l4Flow_connections`: Access connections // `l4Flow_flux`: Access traffic // `l4Flow_inFlux`: Inbound traffic // `l4Flow_outFlux`: Outbound traffic MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // This field has been disused. Use `ProxyIds` instead. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // This field is not supported currently. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Time interval. Valid values: {min, 5min, hour, day} Interval *string `json:"Interval,omitempty" name:"Interval"` // This field is not supported currently. Use `Filter` instead. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Supported filters: `proxyd`, `ruleId` Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // List of layer-4 proxies ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"` }
func NewDescribeTimingL4DataRequest ¶
func NewDescribeTimingL4DataRequest() (request *DescribeTimingL4DataRequest)
func (*DescribeTimingL4DataRequest) FromJsonString ¶
func (r *DescribeTimingL4DataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL4DataRequest) ToJsonString ¶
func (r *DescribeTimingL4DataRequest) ToJsonString() string
type DescribeTimingL4DataRequestParams ¶
type DescribeTimingL4DataRequestParams struct { // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l4Flow_connections`: Access connections // `l4Flow_flux`: Access traffic // `l4Flow_inFlux`: Inbound traffic // `l4Flow_outFlux`: Outbound traffic MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // This field has been disused. Use `ProxyIds` instead. InstanceIds []*string `json:"InstanceIds,omitempty" name:"InstanceIds"` // This field is not supported currently. Protocol *string `json:"Protocol,omitempty" name:"Protocol"` // Time interval. Valid values: {min, 5min, hour, day} Interval *string `json:"Interval,omitempty" name:"Interval"` // This field is not supported currently. Use `Filter` instead. RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Supported filters: `proxyd`, `ruleId` Filters []*Filter `json:"Filters,omitempty" name:"Filters"` // List of layer-4 proxies ProxyIds []*string `json:"ProxyIds,omitempty" name:"ProxyIds"` }
Predefined struct for user
type DescribeTimingL4DataResponse ¶
type DescribeTimingL4DataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL4DataResponseParams `json:"Response"` }
func NewDescribeTimingL4DataResponse ¶
func NewDescribeTimingL4DataResponse() (response *DescribeTimingL4DataResponse)
func (*DescribeTimingL4DataResponse) FromJsonString ¶
func (r *DescribeTimingL4DataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL4DataResponse) ToJsonString ¶
func (r *DescribeTimingL4DataResponse) ToJsonString() string
type DescribeTimingL4DataResponseParams ¶
type DescribeTimingL4DataResponseParams struct { // Query dimension Type *string `json:"Type,omitempty" name:"Type"` // Time interval Interval *string `json:"Interval,omitempty" name:"Interval"` // Detailed data // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL7AnalysisDataRequest ¶
type DescribeTimingL7AnalysisDataRequest struct { *tchttp.BaseRequest // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l7Flow_outFlux`: Access traffic // `l7Flow_request`: Access requests // `l7Flow_outBandwidth`: Access bandwidth MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Time interval. Valid values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // Array of `ZoneId` values ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeTimingL7AnalysisDataRequest ¶
func NewDescribeTimingL7AnalysisDataRequest() (request *DescribeTimingL7AnalysisDataRequest)
func (*DescribeTimingL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeTimingL7AnalysisDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeTimingL7AnalysisDataRequest) ToJsonString() string
type DescribeTimingL7AnalysisDataRequestParams ¶
type DescribeTimingL7AnalysisDataRequestParams struct { // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l7Flow_outFlux`: Access traffic // `l7Flow_request`: Access requests // `l7Flow_outBandwidth`: Access bandwidth MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Time interval. Valid values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // Array of `ZoneId` values ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTimingL7AnalysisDataResponse ¶
type DescribeTimingL7AnalysisDataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL7AnalysisDataResponseParams `json:"Response"` }
func NewDescribeTimingL7AnalysisDataResponse ¶
func NewDescribeTimingL7AnalysisDataResponse() (response *DescribeTimingL7AnalysisDataResponse)
func (*DescribeTimingL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeTimingL7AnalysisDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeTimingL7AnalysisDataResponse) ToJsonString() string
type DescribeTimingL7AnalysisDataResponseParams ¶
type DescribeTimingL7AnalysisDataResponseParams struct { // Detailed data // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"` // Query dimension Type *string `json:"Type,omitempty" name:"Type"` // Time interval Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL7CacheDataRequest ¶
type DescribeTimingL7CacheDataRequest struct { *tchttp.BaseRequest // Start time of the query (client time in RFC 3339) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Start time of the query (client time in RFC 3339) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l7Cache_outFlux`: Access traffic // `l7Cache_request`: Access requests MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Time interval. Values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter condition: // {Key: "cacheType", Value: ["hit"], Operator: "equals"}: Filter by data responded from EdgeOne // {Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}: Filter by data responded from the origin server Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeTimingL7CacheDataRequest ¶
func NewDescribeTimingL7CacheDataRequest() (request *DescribeTimingL7CacheDataRequest)
func (*DescribeTimingL7CacheDataRequest) FromJsonString ¶
func (r *DescribeTimingL7CacheDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7CacheDataRequest) ToJsonString ¶
func (r *DescribeTimingL7CacheDataRequest) ToJsonString() string
type DescribeTimingL7CacheDataRequestParams ¶
type DescribeTimingL7CacheDataRequestParams struct { // Start time of the query (client time in RFC 3339) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Start time of the query (client time in RFC 3339) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Supported metrics for data query: // `l7Cache_outFlux`: Access traffic // `l7Cache_request`: Access requests MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // Time interval. Values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter condition: // {Key: "cacheType", Value: ["hit"], Operator: "equals"}: Filter by data responded from EdgeOne // {Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}: Filter by data responded from the origin server Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTimingL7CacheDataResponse ¶
type DescribeTimingL7CacheDataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL7CacheDataResponseParams `json:"Response"` }
func NewDescribeTimingL7CacheDataResponse ¶
func NewDescribeTimingL7CacheDataResponse() (response *DescribeTimingL7CacheDataResponse)
func (*DescribeTimingL7CacheDataResponse) FromJsonString ¶
func (r *DescribeTimingL7CacheDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7CacheDataResponse) ToJsonString ¶
func (r *DescribeTimingL7CacheDataResponse) ToJsonString() string
type DescribeTimingL7CacheDataResponseParams ¶
type DescribeTimingL7CacheDataResponseParams struct { // Details // Note: This field may return null, indicating that no valid values can be obtained. Data []*TimingDataRecord `json:"Data,omitempty" name:"Data"` // Metric specified for data query Type *string `json:"Type,omitempty" name:"Type"` // Time interval Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopL7AnalysisDataRequest ¶
type DescribeTopL7AnalysisDataRequest struct { *tchttp.BaseRequest // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Time series-type access traffic metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Top N. 0 indicates to return the full data. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Time interval. Valid values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // Array of `ZoneId` values ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeTopL7AnalysisDataRequest ¶
func NewDescribeTopL7AnalysisDataRequest() (request *DescribeTopL7AnalysisDataRequest)
func (*DescribeTopL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeTopL7AnalysisDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeTopL7AnalysisDataRequest) ToJsonString() string
type DescribeTopL7AnalysisDataRequestParams ¶
type DescribeTopL7AnalysisDataRequestParams struct { // Client time in RFC 3339 format StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // Client time in RFC 3339 format EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Time series-type access traffic metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Top N. 0 indicates to return the full data. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Time interval. Valid values: {min, 5min, hour, day, week} Interval *string `json:"Interval,omitempty" name:"Interval"` // Array of `ZoneId` values ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTopL7AnalysisDataResponse ¶
type DescribeTopL7AnalysisDataResponse struct { *tchttp.BaseResponse Response *DescribeTopL7AnalysisDataResponseParams `json:"Response"` }
func NewDescribeTopL7AnalysisDataResponse ¶
func NewDescribeTopL7AnalysisDataResponse() (response *DescribeTopL7AnalysisDataResponse)
func (*DescribeTopL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeTopL7AnalysisDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeTopL7AnalysisDataResponse) ToJsonString() string
type DescribeTopL7AnalysisDataResponseParams ¶
type DescribeTopL7AnalysisDataResponseParams struct { // Top detailed data // Note: This field may return null, indicating that no valid values can be obtained. Data []*TopDataRecord `json:"Data,omitempty" name:"Data"` // Query dimension Type *string `json:"Type,omitempty" name:"Type"` // Query metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopL7CacheDataRequest ¶
type DescribeTopL7CacheDataRequest struct { *tchttp.BaseRequest // Start time of the query (client time in RFC 3339) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the query (client time in RFC 3339) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Metric for time-series data query MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Specifies the number of data records to return. If `0` is passed in, all data is returned. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Time interval. Values: {min, 5min, hour, day, week}. This field is optional. Interval *string `json:"Interval,omitempty" name:"Interval"` // Array of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter condition Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeTopL7CacheDataRequest ¶
func NewDescribeTopL7CacheDataRequest() (request *DescribeTopL7CacheDataRequest)
func (*DescribeTopL7CacheDataRequest) FromJsonString ¶
func (r *DescribeTopL7CacheDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7CacheDataRequest) ToJsonString ¶
func (r *DescribeTopL7CacheDataRequest) ToJsonString() string
type DescribeTopL7CacheDataRequestParams ¶
type DescribeTopL7CacheDataRequestParams struct { // Start time of the query (client time in RFC 3339) StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time of the query (client time in RFC 3339) EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Metric for time-series data query MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Specifies the number of data records to return. If `0` is passed in, all data is returned. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Time interval. Values: {min, 5min, hour, day, week}. This field is optional. Interval *string `json:"Interval,omitempty" name:"Interval"` // Array of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Filter condition Filters []*Filter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeTopL7CacheDataResponse ¶
type DescribeTopL7CacheDataResponse struct { *tchttp.BaseResponse Response *DescribeTopL7CacheDataResponseParams `json:"Response"` }
func NewDescribeTopL7CacheDataResponse ¶
func NewDescribeTopL7CacheDataResponse() (response *DescribeTopL7CacheDataResponse)
func (*DescribeTopL7CacheDataResponse) FromJsonString ¶
func (r *DescribeTopL7CacheDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7CacheDataResponse) ToJsonString ¶
func (r *DescribeTopL7CacheDataResponse) ToJsonString() string
type DescribeTopL7CacheDataResponseParams ¶
type DescribeTopL7CacheDataResponseParams struct { // Top-ranked data details // Note: This field may return null, indicating that no valid values can be obtained. Data []*TopDataRecord `json:"Data,omitempty" name:"Data"` // Dimension specified for data query Type *string `json:"Type,omitempty" name:"Type"` // Metric specified for data query MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebManagedRulesAttackEventsRequest ¶
type DescribeWebManagedRulesAttackEventsRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // List of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` // Whether to show details. Valid values: Y (yes), N (no). IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"` }
func NewDescribeWebManagedRulesAttackEventsRequest ¶
func NewDescribeWebManagedRulesAttackEventsRequest() (request *DescribeWebManagedRulesAttackEventsRequest)
func (*DescribeWebManagedRulesAttackEventsRequest) FromJsonString ¶
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 ¶
func (r *DescribeWebManagedRulesAttackEventsRequest) ToJsonString() string
type DescribeWebManagedRulesAttackEventsRequestParams ¶
type DescribeWebManagedRulesAttackEventsRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // List of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` // Whether to show details. Valid values: Y (yes), N (no). IsShowDetail *string `json:"IsShowDetail,omitempty" name:"IsShowDetail"` }
Predefined struct for user
type DescribeWebManagedRulesAttackEventsResponse ¶
type DescribeWebManagedRulesAttackEventsResponse struct { *tchttp.BaseResponse Response *DescribeWebManagedRulesAttackEventsResponseParams `json:"Response"` }
func NewDescribeWebManagedRulesAttackEventsResponse ¶
func NewDescribeWebManagedRulesAttackEventsResponse() (response *DescribeWebManagedRulesAttackEventsResponse)
func (*DescribeWebManagedRulesAttackEventsResponse) FromJsonString ¶
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 ¶
func (r *DescribeWebManagedRulesAttackEventsResponse) ToJsonString() string
type DescribeWebManagedRulesAttackEventsResponseParams ¶
type DescribeWebManagedRulesAttackEventsResponseParams struct { // Web attack event data Data *WebEventData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned data Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebManagedRulesDataRequest ¶
type DescribeWebManagedRulesDataRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of statistical metrics MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` // Protocol type ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // "webshell" : WebShell detection prevention // "oa" : Common OA vulnerability prevention // "xss" : XSS attack prevention // "xxe" : XXE attack prevention // "webscan" : Scanner attack vulnerability prevention // "cms" : Common CMS vulnerability prevention // "upload" : Malicious file upload attack prevention // "sql" : SQL injection attack prevention // "cmd_inject": Command/Code injection attack prevention // "osc" : Open-source component vulnerability prevention // "file_read" : Arbitrary file read prevention // "ldap" : LDAP injection attack prevention // "other" : Other vulnerability prevention // // "all":"All" AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` }
func NewDescribeWebManagedRulesDataRequest ¶
func NewDescribeWebManagedRulesDataRequest() (request *DescribeWebManagedRulesDataRequest)
func (*DescribeWebManagedRulesDataRequest) FromJsonString ¶
func (r *DescribeWebManagedRulesDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesDataRequest) ToJsonString ¶
func (r *DescribeWebManagedRulesDataRequest) ToJsonString() string
type DescribeWebManagedRulesDataRequestParams ¶
type DescribeWebManagedRulesDataRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of statistical metrics MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` // Protocol type ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // "webshell" : WebShell detection prevention // "oa" : Common OA vulnerability prevention // "xss" : XSS attack prevention // "xxe" : XXE attack prevention // "webscan" : Scanner attack vulnerability prevention // "cms" : Common CMS vulnerability prevention // "upload" : Malicious file upload attack prevention // "sql" : SQL injection attack prevention // "cmd_inject": Command/Code injection attack prevention // "osc" : Open-source component vulnerability prevention // "file_read" : Arbitrary file read prevention // "ldap" : LDAP injection attack prevention // "other" : Other vulnerability prevention // // "all":"All" AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` }
Predefined struct for user
type DescribeWebManagedRulesDataResponse ¶
type DescribeWebManagedRulesDataResponse struct { *tchttp.BaseResponse Response *DescribeWebManagedRulesDataResponseParams `json:"Response"` }
func NewDescribeWebManagedRulesDataResponse ¶
func NewDescribeWebManagedRulesDataResponse() (response *DescribeWebManagedRulesDataResponse)
func (*DescribeWebManagedRulesDataResponse) FromJsonString ¶
func (r *DescribeWebManagedRulesDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesDataResponse) ToJsonString ¶
func (r *DescribeWebManagedRulesDataResponse) ToJsonString() string
type DescribeWebManagedRulesDataResponseParams ¶
type DescribeWebManagedRulesDataResponseParams struct { // Web attack log entity // Note: This field may return null, indicating that no valid values can be obtained. Data []*SecEntry `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebManagedRulesLogRequest ¶
type DescribeWebManagedRulesLogRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` // Query condition QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"` }
func NewDescribeWebManagedRulesLogRequest ¶
func NewDescribeWebManagedRulesLogRequest() (request *DescribeWebManagedRulesLogRequest)
func (*DescribeWebManagedRulesLogRequest) FromJsonString ¶
func (r *DescribeWebManagedRulesLogRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesLogRequest) ToJsonString ¶
func (r *DescribeWebManagedRulesLogRequest) ToJsonString() string
type DescribeWebManagedRulesLogRequestParams ¶
type DescribeWebManagedRulesLogRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` // Query condition QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"` }
Predefined struct for user
type DescribeWebManagedRulesLogResponse ¶
type DescribeWebManagedRulesLogResponse struct { *tchttp.BaseResponse Response *DescribeWebManagedRulesLogResponseParams `json:"Response"` }
func NewDescribeWebManagedRulesLogResponse ¶
func NewDescribeWebManagedRulesLogResponse() (response *DescribeWebManagedRulesLogResponse)
func (*DescribeWebManagedRulesLogResponse) FromJsonString ¶
func (r *DescribeWebManagedRulesLogResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebManagedRulesLogResponse) ToJsonString ¶
func (r *DescribeWebManagedRulesLogResponse) ToJsonString() string
type DescribeWebManagedRulesLogResponseParams ¶
type DescribeWebManagedRulesLogResponseParams struct { // Web attack log data Data *WebLogData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebManagedRulesTopDataRequest ¶
type DescribeWebManagedRulesTopDataRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Number of the top data entries to query. 0: queries all data entries. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Port number Port *int64 `json:"Port,omitempty" name:"Port"` // Protocol type. Valid values: tcp, udp, all ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Attack type. Valid values: flood, icmpFlood..., all AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` }
func NewDescribeWebManagedRulesTopDataRequest ¶
func NewDescribeWebManagedRulesTopDataRequest() (request *DescribeWebManagedRulesTopDataRequest)
func (*DescribeWebManagedRulesTopDataRequest) FromJsonString ¶
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 ¶
func (r *DescribeWebManagedRulesTopDataRequest) ToJsonString() string
type DescribeWebManagedRulesTopDataRequestParams ¶
type DescribeWebManagedRulesTopDataRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Filter metric MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // Number of the top data entries to query. 0: queries all data entries. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Set of DDoS policy group IDs PolicyIds []*int64 `json:"PolicyIds,omitempty" name:"PolicyIds"` // Port number Port *int64 `json:"Port,omitempty" name:"Port"` // Protocol type. Valid values: tcp, udp, all ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // Attack type. Valid values: flood, icmpFlood..., all AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` }
Predefined struct for user
type DescribeWebManagedRulesTopDataResponse ¶
type DescribeWebManagedRulesTopDataResponse struct { *tchttp.BaseResponse Response *DescribeWebManagedRulesTopDataResponseParams `json:"Response"` }
func NewDescribeWebManagedRulesTopDataResponse ¶
func NewDescribeWebManagedRulesTopDataResponse() (response *DescribeWebManagedRulesTopDataResponse)
func (*DescribeWebManagedRulesTopDataResponse) FromJsonString ¶
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 ¶
func (r *DescribeWebManagedRulesTopDataResponse) ToJsonString() string
type DescribeWebManagedRulesTopDataResponseParams ¶
type DescribeWebManagedRulesTopDataResponseParams struct { // Top N data Data []*TopNEntry `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebProtectionAttackEventsRequest ¶
type DescribeWebProtectionAttackEventsRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Domain name Domains []*string `json:"Domains,omitempty" name:"Domains"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` }
func NewDescribeWebProtectionAttackEventsRequest ¶
func NewDescribeWebProtectionAttackEventsRequest() (request *DescribeWebProtectionAttackEventsRequest)
func (*DescribeWebProtectionAttackEventsRequest) FromJsonString ¶
func (r *DescribeWebProtectionAttackEventsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionAttackEventsRequest) ToJsonString ¶
func (r *DescribeWebProtectionAttackEventsRequest) ToJsonString() string
type DescribeWebProtectionAttackEventsRequestParams ¶
type DescribeWebProtectionAttackEventsRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Domain name Domains []*string `json:"Domains,omitempty" name:"Domains"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` }
Predefined struct for user
type DescribeWebProtectionAttackEventsResponse ¶
type DescribeWebProtectionAttackEventsResponse struct { *tchttp.BaseResponse Response *DescribeWebProtectionAttackEventsResponseParams `json:"Response"` }
func NewDescribeWebProtectionAttackEventsResponse ¶
func NewDescribeWebProtectionAttackEventsResponse() (response *DescribeWebProtectionAttackEventsResponse)
func (*DescribeWebProtectionAttackEventsResponse) FromJsonString ¶
func (r *DescribeWebProtectionAttackEventsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionAttackEventsResponse) ToJsonString ¶
func (r *DescribeWebProtectionAttackEventsResponse) ToJsonString() string
type DescribeWebProtectionAttackEventsResponseParams ¶
type DescribeWebProtectionAttackEventsResponseParams struct { // DDoS attack event data Data *CCInterceptEventData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebProtectionDataRequest ¶
type DescribeWebProtectionDataRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of statistical metrics MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` // Protocol type ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // "webshell" : WebShell detection prevention // "oa" : Common OA vulnerability prevention // "xss" : XSS attack prevention // "xxe" : XXE attack prevention // "webscan" : Scanner attack vulnerability prevention // "cms" : Common CMS vulnerability prevention // "upload" : Malicious file upload attack prevention // "sql" : SQL injection attack prevention // "cmd_inject": Command/Code injection attack prevention // "osc" : Open-source component vulnerability prevention // "file_read" : Arbitrary file read prevention // "ldap" : LDAP injection attack prevention // "other" : Other vulnerability prevention // // "all":"All" AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` }
func NewDescribeWebProtectionDataRequest ¶
func NewDescribeWebProtectionDataRequest() (request *DescribeWebProtectionDataRequest)
func (*DescribeWebProtectionDataRequest) FromJsonString ¶
func (r *DescribeWebProtectionDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionDataRequest) ToJsonString ¶
func (r *DescribeWebProtectionDataRequest) ToJsonString() string
type DescribeWebProtectionDataRequestParams ¶
type DescribeWebProtectionDataRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // List of statistical metrics MetricNames []*string `json:"MetricNames,omitempty" name:"MetricNames"` // List of site IDs ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // List of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` // Protocol type ProtocolType *string `json:"ProtocolType,omitempty" name:"ProtocolType"` // "webshell" : WebShell detection prevention // "oa" : Common OA vulnerability prevention // "xss" : XSS attack prevention // "xxe" : XXE attack prevention // "webscan" : Scanner attack vulnerability prevention // "cms" : Common CMS vulnerability prevention // "upload" : Malicious file upload attack prevention // "sql" : SQL injection attack prevention // "cmd_inject": Command/Code injection attack prevention // "osc" : Open-source component vulnerability prevention // "file_read" : Arbitrary file read prevention // "ldap" : LDAP injection attack prevention // "other" : Other vulnerability prevention // // "all":"All" AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` }
Predefined struct for user
type DescribeWebProtectionDataResponse ¶
type DescribeWebProtectionDataResponse struct { *tchttp.BaseResponse Response *DescribeWebProtectionDataResponseParams `json:"Response"` }
func NewDescribeWebProtectionDataResponse ¶
func NewDescribeWebProtectionDataResponse() (response *DescribeWebProtectionDataResponse)
func (*DescribeWebProtectionDataResponse) FromJsonString ¶
func (r *DescribeWebProtectionDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeWebProtectionDataResponse) ToJsonString ¶
func (r *DescribeWebProtectionDataResponse) ToJsonString() string
type DescribeWebProtectionDataResponseParams ¶
type DescribeWebProtectionDataResponseParams struct { // Data details // Note: This field may return null, indicating that no valid values can be obtained. Data []*SecEntry `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Message Msg *string `json:"Msg,omitempty" name:"Msg"` // Query time granularity. Valid values: {min,5min,hour,day} Interval *string `json:"Interval,omitempty" name:"Interval"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeWebProtectionLogRequest ¶
type DescribeWebProtectionLogRequest struct { *tchttp.BaseRequest // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` // Query condition QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"` }
func NewDescribeWebProtectionLogRequest ¶
func NewDescribeWebProtectionLogRequest() (request *DescribeWebProtectionLogRequest)
func (*DescribeWebProtectionLogRequest) FromJsonString ¶
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 ¶
func (r *DescribeWebProtectionLogRequest) ToJsonString() string
type DescribeWebProtectionLogRequestParams ¶
type DescribeWebProtectionLogRequestParams struct { // Start time StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of items per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Site set ZoneIds []*string `json:"ZoneIds,omitempty" name:"ZoneIds"` // Domain name set Domains []*string `json:"Domains,omitempty" name:"Domains"` // Query condition QueryCondition []*QueryCondition `json:"QueryCondition,omitempty" name:"QueryCondition"` }
Predefined struct for user
type DescribeWebProtectionLogResponse ¶
type DescribeWebProtectionLogResponse struct { *tchttp.BaseResponse Response *DescribeWebProtectionLogResponseParams `json:"Response"` }
func NewDescribeWebProtectionLogResponse ¶
func NewDescribeWebProtectionLogResponse() (response *DescribeWebProtectionLogResponse)
func (*DescribeWebProtectionLogResponse) FromJsonString ¶
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 ¶
func (r *DescribeWebProtectionLogResponse) ToJsonString() string
type DescribeWebProtectionLogResponseParams ¶
type DescribeWebProtectionLogResponseParams struct { // Block data in rate-limiting policy Data *CCLogData `json:"Data,omitempty" name:"Data"` // Status. 1: failed; 0: succeeded Status *int64 `json:"Status,omitempty" name:"Status"` // Returned message Msg *string `json:"Msg,omitempty" name:"Msg"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZoneDDoSPolicyRequest ¶
type DescribeZoneDDoSPolicyRequest struct { *tchttp.BaseRequest // ID of the site (top-level domain name) ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeZoneDDoSPolicyRequest ¶
func NewDescribeZoneDDoSPolicyRequest() (request *DescribeZoneDDoSPolicyRequest)
func (*DescribeZoneDDoSPolicyRequest) FromJsonString ¶
func (r *DescribeZoneDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDDoSPolicyRequest) ToJsonString ¶
func (r *DescribeZoneDDoSPolicyRequest) ToJsonString() string
type DescribeZoneDDoSPolicyRequestParams ¶
type DescribeZoneDDoSPolicyRequestParams struct { // ID of the site (top-level domain name) ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeZoneDDoSPolicyResponse ¶
type DescribeZoneDDoSPolicyResponse struct { *tchttp.BaseResponse Response *DescribeZoneDDoSPolicyResponseParams `json:"Response"` }
func NewDescribeZoneDDoSPolicyResponse ¶
func NewDescribeZoneDDoSPolicyResponse() (response *DescribeZoneDDoSPolicyResponse)
func (*DescribeZoneDDoSPolicyResponse) FromJsonString ¶
func (r *DescribeZoneDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDDoSPolicyResponse) ToJsonString ¶
func (r *DescribeZoneDDoSPolicyResponse) ToJsonString() string
type DescribeZoneDDoSPolicyResponseParams ¶
type DescribeZoneDDoSPolicyResponseParams struct { // User APPID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // DDoS mitigation configuration ShieldAreas []*ShieldArea `json:"ShieldAreas,omitempty" name:"ShieldAreas"` // Includes the details of all subdomain names // Note: This field may return `null`, indicating that no valid value can be obtained. Domains []*DDoSApplication `json:"Domains,omitempty" name:"Domains"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZoneDetailsRequest ¶
type DescribeZoneDetailsRequest struct { *tchttp.BaseRequest // Site ID Id *string `json:"Id,omitempty" name:"Id"` }
func NewDescribeZoneDetailsRequest ¶
func NewDescribeZoneDetailsRequest() (request *DescribeZoneDetailsRequest)
func (*DescribeZoneDetailsRequest) FromJsonString ¶
func (r *DescribeZoneDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDetailsRequest) ToJsonString ¶
func (r *DescribeZoneDetailsRequest) ToJsonString() string
type DescribeZoneDetailsRequestParams ¶
type DescribeZoneDetailsRequestParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` }
Predefined struct for user
type DescribeZoneDetailsResponse ¶
type DescribeZoneDetailsResponse struct { *tchttp.BaseResponse Response *DescribeZoneDetailsResponseParams `json:"Response"` }
func NewDescribeZoneDetailsResponse ¶
func NewDescribeZoneDetailsResponse() (response *DescribeZoneDetailsResponse)
func (*DescribeZoneDetailsResponse) FromJsonString ¶
func (r *DescribeZoneDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneDetailsResponse) ToJsonString ¶
func (r *DescribeZoneDetailsResponse) ToJsonString() string
type DescribeZoneDetailsResponseParams ¶
type DescribeZoneDetailsResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // List of name servers used // Note: This field may return `null`, indicating that no valid value can be obtained. OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"` // List of name servers assigned to users by Tencent Cloud // Note: This field may return `null`, indicating that no valid value can be obtained. NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` // Site status // - `active`: The name server is switched. // - `pending`: The name server is not switched. // - `moved`: The name server is moved. // - `deactivated`: The name server is blocked. Status *string `json:"Status,omitempty" name:"Status"` // Specifies how the site is connected to EdgeOne. // - `full`: The site is connected via name server. // - `partial`: The site is connected via CNAME. Type *string `json:"Type,omitempty" name:"Type"` // Indicates whether the site is disabled Paused *bool `json:"Paused,omitempty" name:"Paused"` // Specifies whether to enable CNAME acceleration // - `enabled`: Enable // - `disabled`: Disable CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"` // Ownership verification status of the site when it accesses via CNAME. // - `finished`: The site is verified. // - `pending`: The site is waiting for verification. // Note: This field may return `null`, indicating that no valid value can be obtained. CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"` // Resource tag // Note: This field may return null, indicating that no valid values can be obtained. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` Area *string `json:"Area,omitempty" name:"Area"` // Billable resource // Note: This field may return null, indicating that no valid values can be obtained. Resources []*Resource `json:"Resources,omitempty" name:"Resources"` // Site modification date ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // Site creation date CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // User-defined name server information // Note: This field may return `null`, indicating that no valid value can be obtained. VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"` // User-defined name server IP information // Note: This field may return `null`, indicating that no valid value can be obtained. VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitempty" name:"VanityNameServersIps"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZoneSettingRequest ¶
type DescribeZoneSettingRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewDescribeZoneSettingRequest ¶
func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)
func (*DescribeZoneSettingRequest) FromJsonString ¶
func (r *DescribeZoneSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneSettingRequest) ToJsonString ¶
func (r *DescribeZoneSettingRequest) ToJsonString() string
type DescribeZoneSettingRequestParams ¶
type DescribeZoneSettingRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeZoneSettingResponse ¶
type DescribeZoneSettingResponse struct { *tchttp.BaseResponse Response *DescribeZoneSettingResponseParams `json:"Response"` }
func NewDescribeZoneSettingResponse ¶
func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)
func (*DescribeZoneSettingResponse) FromJsonString ¶
func (r *DescribeZoneSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneSettingResponse) ToJsonString ¶
func (r *DescribeZoneSettingResponse) ToJsonString() string
type DescribeZoneSettingResponseParams ¶
type DescribeZoneSettingResponseParams struct { // Cache expiration time configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"` // Node cache key configuration // Note: This field may return `null`, indicating that no valid value can be obtained. CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"` // Browser cache configuration // Note: This field may return `null`, indicating that no valid value can be obtained. MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"` // Offline cache // Note: This field may return `null`, indicating that no valid value can be obtained. OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"` // QUIC access // Note: This field may return `null`, indicating that no valid value can be obtained. Quic *Quic `json:"Quic,omitempty" name:"Quic"` // POST transport configuration // Note: This field may return `null`, indicating that no valid value can be obtained. PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"` // Smart compression configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Compression *Compression `json:"Compression,omitempty" name:"Compression"` // HTTP2 origin-pull configuration // Note: This field may return `null`, indicating that no valid value can be obtained. UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"` // Force HTTPS redirect configuration // Note: This field may return `null`, indicating that no valid value can be obtained. ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"` // HTTPS acceleration configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Https *Https `json:"Https,omitempty" name:"Https"` // Origin server configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Origin *Origin `json:"Origin,omitempty" name:"Origin"` // Dynamic acceleration configuration // Note: This field may return `null`, indicating that no valid value can be obtained. SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Domain name of the site Zone *string `json:"Zone,omitempty" name:"Zone"` // WebSocket configuration. // Note: This field may return `null`, indicating that no valid value can be obtained. WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"` // Origin-pull client IP header configuration // Note: This field may return `null`, indicating that no valid value can be obtained. ClientIpHeader *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"` // Cache prefresh configuration // Note: This field may return `null`, indicating that no valid value can be obtained. CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZonesRequest ¶
type DescribeZonesRequest struct { *tchttp.BaseRequest // Pagination parameter, which specifies the offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter, which specifies the number of sites returned in each page. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Query condition filter, which supports complex type. Filters []*ZoneFilter `json:"Filters,omitempty" name:"Filters"` }
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
func (r *DescribeZonesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesRequest) ToJsonString ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶
type DescribeZonesRequestParams struct { // Pagination parameter, which specifies the offset. Offset *int64 `json:"Offset,omitempty" name:"Offset"` // Pagination parameter, which specifies the number of sites returned in each page. Limit *int64 `json:"Limit,omitempty" name:"Limit"` // Query condition filter, which supports complex type. Filters []*ZoneFilter `json:"Filters,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *DescribeZonesResponseParams `json:"Response"` }
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
func (r *DescribeZonesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesResponse) ToJsonString ¶
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶
type DescribeZonesResponseParams struct { // Number of sites that match the specified conditions TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // Details of sites // Note: This field may return `null`, indicating that no valid value can be obtained. Zones []*Zone `json:"Zones,omitempty" name:"Zones"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type DetailHost ¶
type DetailHost struct { // Tencent Cloud account ID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Acceleration service status // `process`: Deploying // `online`: Enabled // `offline`: Disabled Status *string `json:"Status,omitempty" name:"Status"` // Domain name Host *string `json:"Host,omitempty" name:"Host"` }
type DnsDataFilter ¶
type DnsDataFilter struct { // Parameter name. Valid values: // `zone`: Site name // `host`: Domain name // `type`: DNS resolution type // `code`: DNS response code // `area`: Region of the resolution server Name *string `json:"Name,omitempty" name:"Name"` // Parameter value // When `Name=area`, valid values: // `Asia` // `Europe` // `Africa` // `Oceania` // `Americas` // // When `Name=code`, valid values: // `NoError`: Successful response. // `NXDomain`: Non-existent domain in the request. It is only valid when the response is from the authoritative name server. // `NotImp`: Request type not supported. // `Refused`: The name server refuses to perform the requested operation for policy reasons. Value *string `json:"Value,omitempty" name:"Value"` // Parameter value // When `Name=area`, valid values: // `Asia` // `Europe` // `Africa` // `Oceania` // `Americas` // // When `Name=code`, valid values: // `NoError`: Successful response. // `NXDomain`: Non-existent domain in the request. It is only valid when the response is from the authoritative name server. // `NotImp`: Request type not supported. // `Refused`: The name server refuses to perform the requested operation for policy reasons. Values []*string `json:"Values,omitempty" name:"Values"` }
type DnsRecord ¶
type DnsRecord struct { // Record ID Id *string `json:"Id,omitempty" name:"Id"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Host record Name *string `json:"Name,omitempty" name:"Name"` // Record value Content *string `json:"Content,omitempty" name:"Content"` // Proxy mode Mode *string `json:"Mode,omitempty" name:"Mode"` // TTL value Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority // Note: This field may return `null`, indicating that no valid value can be obtained. Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Modification time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // Domain name lock Locked *bool `json:"Locked,omitempty" name:"Locked"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Resolution status // `active`: Activated // `pending`: Not activated Status *string `json:"Status,omitempty" name:"Status"` // CNAME address // Note: This field may return `null`, indicating that no valid value can be obtained. Cname *string `json:"Cname,omitempty" name:"Cname"` // Which service is enabled for the domain name. // - `lb`: Load balancing // - `security`: Security acceleration // - `l4`: L4 proxy // Note: This field may return null, indicating that no valid values can be obtained. DomainStatus []*string `json:"DomainStatus,omitempty" name:"DomainStatus"` }
type DnsRecordFilter ¶
type DnsRecordFilter struct { // Filters by the field name. Vaules: // - `name`: Site name. // - `status`: Site status. Name *string `json:"Name,omitempty" name:"Name"` // Filters by the field value Values []*string `json:"Values,omitempty" name:"Values"` // Specifies whether to enable fuzzy query. It’s only available when the filter name is `name`. If it’s enabled, the length of `Values` must be 1. Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"` }
type DnssecInfo ¶
type DnssecInfo struct { // Flag Flags *int64 `json:"Flags,omitempty" name:"Flags"` // Encryption algorithm Algorithm *string `json:"Algorithm,omitempty" name:"Algorithm"` // Encryption type KeyType *string `json:"KeyType,omitempty" name:"KeyType"` // Digest type DigestType *string `json:"DigestType,omitempty" name:"DigestType"` // Digest algorithm DigestAlgorithm *string `json:"DigestAlgorithm,omitempty" name:"DigestAlgorithm"` // Digest message Digest *string `json:"Digest,omitempty" name:"Digest"` // DS record value DS *string `json:"DS,omitempty" name:"DS"` // Key tag KeyTag *int64 `json:"KeyTag,omitempty" name:"KeyTag"` // Public key PublicKey *string `json:"PublicKey,omitempty" name:"PublicKey"` }
type DownloadL7LogsRequest ¶
type DownloadL7LogsRequest struct { *tchttp.BaseRequest // Start time. It must conform to the RFC3339 standard. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time. It must conform to the RFC3339 standard. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of entries per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Array of site names Zones []*string `json:"Zones,omitempty" name:"Zones"` // Array of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` }
func NewDownloadL7LogsRequest ¶
func NewDownloadL7LogsRequest() (request *DownloadL7LogsRequest)
func (*DownloadL7LogsRequest) FromJsonString ¶
func (r *DownloadL7LogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadL7LogsRequest) ToJsonString ¶
func (r *DownloadL7LogsRequest) ToJsonString() string
type DownloadL7LogsRequestParams ¶
type DownloadL7LogsRequestParams struct { // Start time. It must conform to the RFC3339 standard. StartTime *string `json:"StartTime,omitempty" name:"StartTime"` // End time. It must conform to the RFC3339 standard. EndTime *string `json:"EndTime,omitempty" name:"EndTime"` // Number of entries per page PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Current page PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Array of site names Zones []*string `json:"Zones,omitempty" name:"Zones"` // Array of subdomain names Domains []*string `json:"Domains,omitempty" name:"Domains"` }
Predefined struct for user
type DownloadL7LogsResponse ¶
type DownloadL7LogsResponse struct { *tchttp.BaseResponse Response *DownloadL7LogsResponseParams `json:"Response"` }
func NewDownloadL7LogsResponse ¶
func NewDownloadL7LogsResponse() (response *DownloadL7LogsResponse)
func (*DownloadL7LogsResponse) FromJsonString ¶
func (r *DownloadL7LogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadL7LogsResponse) ToJsonString ¶
func (r *DownloadL7LogsResponse) ToJsonString() string
type DownloadL7LogsResponseParams ¶
type DownloadL7LogsResponseParams struct { // Layer-7 offline log data // Note: This field may return `null`, indicating that no valid value can be obtained. Data []*L7OfflineLog `json:"Data,omitempty" name:"Data"` // Page size // Note: This field may return `null`, indicating that no valid value can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Page number // Note: This field may return `null`, indicating that no valid value can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Total number of pages // Note: This field may return `null`, indicating that no valid value can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of entries // Note: This field may return `null`, indicating that no valid value can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type FailReason ¶
type ForceRedirect ¶
type ForceRedirect struct { // Force redirect configuration switch // `on`: Enable // `off`: Disable Switch *string `json:"Switch,omitempty" name:"Switch"` // Redirection status code // 301 // 302 // Note: This field may return `null`, indicating that no valid value can be obtained. RedirectStatusCode *int64 `json:"RedirectStatusCode,omitempty" name:"RedirectStatusCode"` }
type GeoIp ¶
type GeoIp struct { // Region ID RegionId *int64 `json:"RegionId,omitempty" name:"RegionId"` // Country name Country *string `json:"Country,omitempty" name:"Country"` // Continent name Continent *string `json:"Continent,omitempty" name:"Continent"` // Country name in English CountryEn *string `json:"CountryEn,omitempty" name:"CountryEn"` // Continent name in English ContinentEn *string `json:"ContinentEn,omitempty" name:"ContinentEn"` }
type HostCertSetting ¶
type HostCertSetting struct { // Domain name // Note: This field may return `null`, indicating that no valid value can be obtained. Host *string `json:"Host,omitempty" name:"Host"` // Server certificate configuration // Note: This field may return `null`, indicating that no valid value can be obtained. CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"` }
type Hsts ¶
type Hsts struct { // Specifies whether to enable. Valid values: `on` and `off`. Switch *string `json:"Switch,omitempty" name:"Switch"` // `MaxAge` value. // Note: This field may return `null`, indicating that no valid value can be obtained. MaxAge *int64 `json:"MaxAge,omitempty" name:"MaxAge"` // Specifies whether to include subdomain names. Valid values: `on` and `off`. // Note: This field may return `null`, indicating that no valid value can be obtained. IncludeSubDomains *string `json:"IncludeSubDomains,omitempty" name:"IncludeSubDomains"` // Specifies whether to preload. Valid values: `on` and `off`. // Note: This field may return `null`, indicating that no valid value can be obtained. Preload *string `json:"Preload,omitempty" name:"Preload"` }
type Https ¶
type Https struct { // HTTP2 configuration switch // `on`: Enable // `off`: Disable // Note: This field may return `null`, indicating that no valid value can be obtained. Http2 *string `json:"Http2,omitempty" name:"Http2"` // OCSP configuration switch // `on`: Enable // `off`: Disable // It is disabled by default. // Note: This field may return `null`, indicating that no valid value can be obtained. OcspStapling *string `json:"OcspStapling,omitempty" name:"OcspStapling"` // TLS version settings. Valid values: `TLSv1`, `TLSV1.1`, `TLSV1.2`, and `TLSv1.3`. Only consecutive versions can be enabled at the same time. // Note: This field may return `null`, indicating that no valid value can be obtained. TlsVersion []*string `json:"TlsVersion,omitempty" name:"TlsVersion"` // HSTS Configuration // Note: This field may return `null`, indicating that no valid value can be obtained. Hsts *Hsts `json:"Hsts,omitempty" name:"Hsts"` }
type IdentifyZoneRequest ¶
type IdentifyZoneRequest struct { *tchttp.BaseRequest // Site name Name *string `json:"Name,omitempty" name:"Name"` }
func NewIdentifyZoneRequest ¶
func NewIdentifyZoneRequest() (request *IdentifyZoneRequest)
func (*IdentifyZoneRequest) FromJsonString ¶
func (r *IdentifyZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IdentifyZoneRequest) ToJsonString ¶
func (r *IdentifyZoneRequest) ToJsonString() string
type IdentifyZoneRequestParams ¶
type IdentifyZoneRequestParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type IdentifyZoneResponse ¶
type IdentifyZoneResponse struct { *tchttp.BaseResponse Response *IdentifyZoneResponseParams `json:"Response"` }
func NewIdentifyZoneResponse ¶
func NewIdentifyZoneResponse() (response *IdentifyZoneResponse)
func (*IdentifyZoneResponse) FromJsonString ¶
func (r *IdentifyZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IdentifyZoneResponse) ToJsonString ¶
func (r *IdentifyZoneResponse) ToJsonString() string
type IdentifyZoneResponseParams ¶
type IdentifyZoneResponseParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` Subdomain *string `json:"Subdomain,omitempty" name:"Subdomain"` // Record type RecordType *string `json:"RecordType,omitempty" name:"RecordType"` // Record value RecordValue *string `json:"RecordValue,omitempty" name:"RecordValue"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ImportDnsRecordsRequest ¶
type ImportDnsRecordsRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // File content File *string `json:"File,omitempty" name:"File"` }
func NewImportDnsRecordsRequest ¶
func NewImportDnsRecordsRequest() (request *ImportDnsRecordsRequest)
func (*ImportDnsRecordsRequest) FromJsonString ¶
func (r *ImportDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportDnsRecordsRequest) ToJsonString ¶
func (r *ImportDnsRecordsRequest) ToJsonString() string
type ImportDnsRecordsRequestParams ¶
type ImportDnsRecordsRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // File content File *string `json:"File,omitempty" name:"File"` }
Predefined struct for user
type ImportDnsRecordsResponse ¶
type ImportDnsRecordsResponse struct { *tchttp.BaseResponse Response *ImportDnsRecordsResponseParams `json:"Response"` }
func NewImportDnsRecordsResponse ¶
func NewImportDnsRecordsResponse() (response *ImportDnsRecordsResponse)
func (*ImportDnsRecordsResponse) FromJsonString ¶
func (r *ImportDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ImportDnsRecordsResponse) ToJsonString ¶
func (r *ImportDnsRecordsResponse) ToJsonString() string
type ImportDnsRecordsResponseParams ¶
type ImportDnsRecordsResponseParams struct { // Record ID Ids []*string `json:"Ids,omitempty" name:"Ids"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type IntelligenceRule ¶
type IntelligenceRule struct { // Switch // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // Items in a bot intelligence rule // Note: This field may return null, indicating that no valid values can be obtained. Items []*IntelligenceRuleItem `json:"Items,omitempty" name:"Items"` }
type IntelligenceRuleItem ¶
type IntelligenceRuleItem struct { // Malicious bot, which is used to tag bad bots // Note: This field may return null, indicating that no valid values can be obtained. Label *string `json:"Label,omitempty" name:"Label"` // Action // Note: This field may return null, indicating that no valid values can be obtained. Action *string `json:"Action,omitempty" name:"Action"` }
type IpTableConfig ¶
type IpTableConfig struct { // Switch // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // [] // Note: This field may return null, indicating that no valid values can be obtained. Rules []*IpTableRule `json:"Rules,omitempty" name:"Rules"` }
type IpTableRule ¶
type IpTableRule struct { // Action: `drop` (block), `trans` (allow), `monitor` (observe) // Note: This field may return null, indicating that no valid values can be obtained. Action *string `json:"Action,omitempty" name:"Action"` // Matches by IP or region. Values: `ip` and `area`. // Note: This field may return null, indicating that no valid values can be obtained. MatchFrom *string `json:"MatchFrom,omitempty" name:"MatchFrom"` // Matching content // Note: This field may return null, indicating that no valid values can be obtained. MatchContent *string `json:"MatchContent,omitempty" name:"MatchContent"` // Rule ID // Note: This field may return null, indicating that no valid values can be obtained. RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"` // Update time // Note: This field may return null, indicating that no valid values can be obtained. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type L7OfflineLog ¶
type L7OfflineLog struct { // Start time of the log packaging // Note: This field may return `null`, indicating that no valid value can be obtained. LogTime *int64 `json:"LogTime,omitempty" name:"LogTime"` // Subdomain name // Note: This field may return `null`, indicating that no valid value can be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // Log size, in bytes // Note: This field may return `null`, indicating that no valid value can be obtained. Size *int64 `json:"Size,omitempty" name:"Size"` // Download address // Note: This field may return `null`, indicating that no valid value can be obtained. Url *string `json:"Url,omitempty" name:"Url"` // Log package name // Note: This field may return `null`, indicating that no valid value can be obtained. LogPacketName *string `json:"LogPacketName,omitempty" name:"LogPacketName"` }
type LoadBalancing ¶
type LoadBalancing struct { // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name. You can use @ to represent the root domain. Host *string `json:"Host,omitempty" name:"Host"` // Proxy mode. Valid values: // `dns_only`: Only DNS // `proxied`: Enable proxy Type *string `json:"Type,omitempty" name:"Type"` // Indicates DNS TTL time when `Type=dns_only` TTL *uint64 `json:"TTL,omitempty" name:"TTL"` // ID of the origin group used OriginId []*string `json:"OriginId,omitempty" name:"OriginId"` // Information of the origin server used Origin []*OriginGroup `json:"Origin,omitempty" name:"Origin"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Status Status *string `json:"Status,omitempty" name:"Status"` // Schedules domain names // Note: This field may return `null`, indicating that no valid value can be obtained. Cname *string `json:"Cname,omitempty" name:"Cname"` }
type ManagedRule ¶
type ManagedRule struct { // ID of the rule RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Rule description Description *string `json:"Description,omitempty" name:"Description"` // Rule type RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"` // Rule level RuleLevelDesc *string `json:"RuleLevelDesc,omitempty" name:"RuleLevelDesc"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Rule status: `block`, `allow` Status *string `json:"Status,omitempty" name:"Status"` // Tag of the rule // Note: This field may return `null`, indicating that no valid value can be obtained. RuleTags []*string `json:"RuleTags,omitempty" name:"RuleTags"` // Description of the rule type // Note: This field may return `null`, indicating that no valid value can be obtained. RuleTypeDesc *string `json:"RuleTypeDesc,omitempty" name:"RuleTypeDesc"` // ID of the rule type // Note: This field may return `null`, indicating that no valid value can be obtained. RuleTypeId *int64 `json:"RuleTypeId,omitempty" name:"RuleTypeId"` }
type MaxAge ¶
type MaxAge struct { // Specifies the max age of the cache (in seconds). The maximum value is 365 days. // Note: the value `0` means not to cache. // Note: This field may return `null`, indicating that no valid value can be obtained. MaxAgeTime *int64 `json:"MaxAgeTime,omitempty" name:"MaxAgeTime"` // Specifies whether to follow the max cache age of the origin server. Valid values: `on` and `off`. If it's on, `MaxAgeTime` is ignored. // Note: This field may return `null`, indicating that no valid value can be obtained. FollowOrigin *string `json:"FollowOrigin,omitempty" name:"FollowOrigin"` }
type ModifyApplicationProxyRequest ¶
type ModifyApplicationProxyRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Name of the proxy: // Domain name or subdomain name when `ProxyType=hostname` // Instance name when `ProxyType=instance` ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"` // This parameter is disused. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // This parameter is disused. SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` // Session persistence time. Value range: 30-3600 (in seconds). SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"` // Specifies how a layer-4 proxy is created. // `hostname`: Create by subdomain name // `instance`: Create by instance ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"` }
func NewModifyApplicationProxyRequest ¶
func NewModifyApplicationProxyRequest() (request *ModifyApplicationProxyRequest)
func (*ModifyApplicationProxyRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRequest) ToJsonString() string
type ModifyApplicationProxyRequestParams ¶
type ModifyApplicationProxyRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Name of the proxy: // Domain name or subdomain name when `ProxyType=hostname` // Instance name when `ProxyType=instance` ProxyName *string `json:"ProxyName,omitempty" name:"ProxyName"` // This parameter is disused. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // This parameter is disused. SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` // Session persistence time. Value range: 30-3600 (in seconds). SessionPersistTime *uint64 `json:"SessionPersistTime,omitempty" name:"SessionPersistTime"` // Specifies how a layer-4 proxy is created. // `hostname`: Create by subdomain name // `instance`: Create by instance ProxyType *string `json:"ProxyType,omitempty" name:"ProxyType"` }
Predefined struct for user
type ModifyApplicationProxyResponse ¶
type ModifyApplicationProxyResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyResponseParams `json:"Response"` }
func NewModifyApplicationProxyResponse ¶
func NewModifyApplicationProxyResponse() (response *ModifyApplicationProxyResponse)
func (*ModifyApplicationProxyResponse) FromJsonString ¶
func (r *ModifyApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyResponse) ToJsonString ¶
func (r *ModifyApplicationProxyResponse) ToJsonString() string
type ModifyApplicationProxyResponseParams ¶
type ModifyApplicationProxyResponseParams struct { // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRuleRequest ¶
type ModifyApplicationProxyRuleRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Protocol. Valid values: `TCP` and `UDP`. Proto *string `json:"Proto,omitempty" name:"Proto"` // Port. Valid values: // `80`: Port 80 // `81-90`: Port range 81-90 Port []*string `json:"Port,omitempty" name:"Port"` // Origin server type. Valid values: // `custom`: Specified origins // `origins`: Origin group OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Origin server information: // When `OriginType=custom`, it indicates one or more origin servers. Example: // OriginValue=["8.8.8.8:80","9.9.9.9:80"] // OriginValue=["test.com:80"] // // When `OriginType=origins`, it indicates an origin group ID. Example: // OriginValue=["origin-xxx"] OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"` // Passes the client IP. When `Proto=TCP`, valid values: // `TOA`: Pass the client IP via TOA. // `PPV1`: Pass the client IP via Proxy Protocol V1. // `PPV2`: Pass the client IP via Proxy Protocol V2. // `OFF`: Do not pass the client IP. // When `Proto=UDP`, valid values: // `PPV2`: Pass the client IP via Proxy Protocol V2. // `OFF`: Do not pass the client IP. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // Specifies whether to enable session persistence SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` }
func NewModifyApplicationProxyRuleRequest ¶
func NewModifyApplicationProxyRuleRequest() (request *ModifyApplicationProxyRuleRequest)
func (*ModifyApplicationProxyRuleRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRuleRequest) ToJsonString() string
type ModifyApplicationProxyRuleRequestParams ¶
type ModifyApplicationProxyRuleRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Proxy ID ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Protocol. Valid values: `TCP` and `UDP`. Proto *string `json:"Proto,omitempty" name:"Proto"` // Port. Valid values: // `80`: Port 80 // `81-90`: Port range 81-90 Port []*string `json:"Port,omitempty" name:"Port"` // Origin server type. Valid values: // `custom`: Specified origins // `origins`: Origin group OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Origin server information: // When `OriginType=custom`, it indicates one or more origin servers. Example: // OriginValue=["8.8.8.8:80","9.9.9.9:80"] // OriginValue=["test.com:80"] // // When `OriginType=origins`, it indicates an origin group ID. Example: // OriginValue=["origin-xxx"] OriginValue []*string `json:"OriginValue,omitempty" name:"OriginValue"` // Passes the client IP. When `Proto=TCP`, valid values: // `TOA`: Pass the client IP via TOA. // `PPV1`: Pass the client IP via Proxy Protocol V1. // `PPV2`: Pass the client IP via Proxy Protocol V2. // `OFF`: Do not pass the client IP. // When `Proto=UDP`, valid values: // `PPV2`: Pass the client IP via Proxy Protocol V2. // `OFF`: Do not pass the client IP. ForwardClientIp *string `json:"ForwardClientIp,omitempty" name:"ForwardClientIp"` // Specifies whether to enable session persistence SessionPersist *bool `json:"SessionPersist,omitempty" name:"SessionPersist"` }
Predefined struct for user
type ModifyApplicationProxyRuleResponse ¶
type ModifyApplicationProxyRuleResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyRuleResponseParams `json:"Response"` }
func NewModifyApplicationProxyRuleResponse ¶
func NewModifyApplicationProxyRuleResponse() (response *ModifyApplicationProxyRuleResponse)
func (*ModifyApplicationProxyRuleResponse) FromJsonString ¶
func (r *ModifyApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleResponse) ToJsonString ¶
func (r *ModifyApplicationProxyRuleResponse) ToJsonString() string
type ModifyApplicationProxyRuleResponseParams ¶
type ModifyApplicationProxyRuleResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRuleStatusRequest ¶
type ModifyApplicationProxyRuleStatusRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Status // `offline`: Disabled // `online`: Enabled Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyApplicationProxyRuleStatusRequest ¶
func NewModifyApplicationProxyRuleStatusRequest() (request *ModifyApplicationProxyRuleStatusRequest)
func (*ModifyApplicationProxyRuleStatusRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRuleStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleStatusRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRuleStatusRequest) ToJsonString() string
type ModifyApplicationProxyRuleStatusRequestParams ¶
type ModifyApplicationProxyRuleStatusRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // Status // `offline`: Disabled // `online`: Enabled Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyApplicationProxyRuleStatusResponse ¶
type ModifyApplicationProxyRuleStatusResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyRuleStatusResponseParams `json:"Response"` }
func NewModifyApplicationProxyRuleStatusResponse ¶
func NewModifyApplicationProxyRuleStatusResponse() (response *ModifyApplicationProxyRuleStatusResponse)
func (*ModifyApplicationProxyRuleStatusResponse) FromJsonString ¶
func (r *ModifyApplicationProxyRuleStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleStatusResponse) ToJsonString ¶
func (r *ModifyApplicationProxyRuleStatusResponse) ToJsonString() string
type ModifyApplicationProxyRuleStatusResponseParams ¶
type ModifyApplicationProxyRuleStatusResponseParams struct { // Rule ID RuleId *string `json:"RuleId,omitempty" name:"RuleId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyStatusRequest ¶
type ModifyApplicationProxyStatusRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Status // `offline`: Disabled // `online`: Enabled Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyApplicationProxyStatusRequest ¶
func NewModifyApplicationProxyStatusRequest() (request *ModifyApplicationProxyStatusRequest)
func (*ModifyApplicationProxyStatusRequest) FromJsonString ¶
func (r *ModifyApplicationProxyStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyStatusRequest) ToJsonString ¶
func (r *ModifyApplicationProxyStatusRequest) ToJsonString() string
type ModifyApplicationProxyStatusRequestParams ¶
type ModifyApplicationProxyStatusRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // Status // `offline`: Disabled // `online`: Enabled Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyApplicationProxyStatusResponse ¶
type ModifyApplicationProxyStatusResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyStatusResponseParams `json:"Response"` }
func NewModifyApplicationProxyStatusResponse ¶
func NewModifyApplicationProxyStatusResponse() (response *ModifyApplicationProxyStatusResponse)
func (*ModifyApplicationProxyStatusResponse) FromJsonString ¶
func (r *ModifyApplicationProxyStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyStatusResponse) ToJsonString ¶
func (r *ModifyApplicationProxyStatusResponse) ToJsonString() string
type ModifyApplicationProxyStatusResponseParams ¶
type ModifyApplicationProxyStatusResponseParams struct { // ID of the proxy ProxyId *string `json:"ProxyId,omitempty" name:"ProxyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDDoSPolicyHostRequest ¶
type ModifyDDoSPolicyHostRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Second-level domain name Host *string `json:"Host,omitempty" name:"Host"` // Whether to enable content acceleration. Values: `on` (enable content acceleration), and `off` (disable content acceleration). It can be used together with `SecurityType`. AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"` // Policy ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Whether to enable security protection. Values: `on` (enable security protection) and `off` (disable security protection). It can be used together with `AccelerateType`. SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"` }
func NewModifyDDoSPolicyHostRequest ¶
func NewModifyDDoSPolicyHostRequest() (request *ModifyDDoSPolicyHostRequest)
func (*ModifyDDoSPolicyHostRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyHostRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyHostRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyHostRequest) ToJsonString() string
type ModifyDDoSPolicyHostRequestParams ¶
type ModifyDDoSPolicyHostRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Second-level domain name Host *string `json:"Host,omitempty" name:"Host"` // Whether to enable content acceleration. Values: `on` (enable content acceleration), and `off` (disable content acceleration). It can be used together with `SecurityType`. AccelerateType *string `json:"AccelerateType,omitempty" name:"AccelerateType"` // Policy ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Whether to enable security protection. Values: `on` (enable security protection) and `off` (disable security protection). It can be used together with `AccelerateType`. SecurityType *string `json:"SecurityType,omitempty" name:"SecurityType"` }
Predefined struct for user
type ModifyDDoSPolicyHostResponse ¶
type ModifyDDoSPolicyHostResponse struct { *tchttp.BaseResponse Response *ModifyDDoSPolicyHostResponseParams `json:"Response"` }
func NewModifyDDoSPolicyHostResponse ¶
func NewModifyDDoSPolicyHostResponse() (response *ModifyDDoSPolicyHostResponse)
func (*ModifyDDoSPolicyHostResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyHostResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyHostResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyHostResponse) ToJsonString() string
type ModifyDDoSPolicyHostResponseParams ¶
type ModifyDDoSPolicyHostResponseParams struct { // Subdomain name Host *string `json:"Host,omitempty" name:"Host"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDDoSPolicyRequest ¶
type ModifyDDoSPolicyRequest struct { *tchttp.BaseRequest // ID of the policy group PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Detailed DDoS mitigation configuration DdosRule *DdosRule `json:"DdosRule,omitempty" name:"DdosRule"` }
func NewModifyDDoSPolicyRequest ¶
func NewModifyDDoSPolicyRequest() (request *ModifyDDoSPolicyRequest)
func (*ModifyDDoSPolicyRequest) FromJsonString ¶
func (r *ModifyDDoSPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyRequest) ToJsonString ¶
func (r *ModifyDDoSPolicyRequest) ToJsonString() string
type ModifyDDoSPolicyRequestParams ¶
type ModifyDDoSPolicyRequestParams struct { // ID of the policy group PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Detailed DDoS mitigation configuration DdosRule *DdosRule `json:"DdosRule,omitempty" name:"DdosRule"` }
Predefined struct for user
type ModifyDDoSPolicyResponse ¶
type ModifyDDoSPolicyResponse struct { *tchttp.BaseResponse Response *ModifyDDoSPolicyResponseParams `json:"Response"` }
func NewModifyDDoSPolicyResponse ¶
func NewModifyDDoSPolicyResponse() (response *ModifyDDoSPolicyResponse)
func (*ModifyDDoSPolicyResponse) FromJsonString ¶
func (r *ModifyDDoSPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDDoSPolicyResponse) ToJsonString ¶
func (r *ModifyDDoSPolicyResponse) ToJsonString() string
type ModifyDDoSPolicyResponseParams ¶
type ModifyDDoSPolicyResponseParams struct { // ID of the policy group PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDefaultCertificateRequest ¶
type ModifyDefaultCertificateRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Certificate ID CertId *string `json:"CertId,omitempty" name:"CertId"` // Certificate status // `deployed`: The certificate is deployed. // `disabled`: The certificate is disabled. // If the deployment fails, you can pass in `Status = deployed` again. Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyDefaultCertificateRequest ¶
func NewModifyDefaultCertificateRequest() (request *ModifyDefaultCertificateRequest)
func (*ModifyDefaultCertificateRequest) FromJsonString ¶
func (r *ModifyDefaultCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultCertificateRequest) ToJsonString ¶
func (r *ModifyDefaultCertificateRequest) ToJsonString() string
type ModifyDefaultCertificateRequestParams ¶
type ModifyDefaultCertificateRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Certificate ID CertId *string `json:"CertId,omitempty" name:"CertId"` // Certificate status // `deployed`: The certificate is deployed. // `disabled`: The certificate is disabled. // If the deployment fails, you can pass in `Status = deployed` again. Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyDefaultCertificateResponse ¶
type ModifyDefaultCertificateResponse struct { *tchttp.BaseResponse Response *ModifyDefaultCertificateResponseParams `json:"Response"` }
func NewModifyDefaultCertificateResponse ¶
func NewModifyDefaultCertificateResponse() (response *ModifyDefaultCertificateResponse)
func (*ModifyDefaultCertificateResponse) FromJsonString ¶
func (r *ModifyDefaultCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDefaultCertificateResponse) ToJsonString ¶
func (r *ModifyDefaultCertificateResponse) ToJsonString() string
type ModifyDefaultCertificateResponseParams ¶
type ModifyDefaultCertificateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDnsRecordRequest ¶
type ModifyDnsRecordRequest struct { *tchttp.BaseRequest // Record ID Id *string `json:"Id,omitempty" name:"Id"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Record name Name *string `json:"Name,omitempty" name:"Name"` // Record content Content *string `json:"Content,omitempty" name:"Content"` Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Proxy mode Mode *string `json:"Mode,omitempty" name:"Mode"` }
func NewModifyDnsRecordRequest ¶
func NewModifyDnsRecordRequest() (request *ModifyDnsRecordRequest)
func (*ModifyDnsRecordRequest) FromJsonString ¶
func (r *ModifyDnsRecordRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnsRecordRequest) ToJsonString ¶
func (r *ModifyDnsRecordRequest) ToJsonString() string
type ModifyDnsRecordRequestParams ¶
type ModifyDnsRecordRequestParams struct { // Record ID Id *string `json:"Id,omitempty" name:"Id"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Record name Name *string `json:"Name,omitempty" name:"Name"` // Record content Content *string `json:"Content,omitempty" name:"Content"` Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Proxy mode Mode *string `json:"Mode,omitempty" name:"Mode"` }
Predefined struct for user
type ModifyDnsRecordResponse ¶
type ModifyDnsRecordResponse struct { *tchttp.BaseResponse Response *ModifyDnsRecordResponseParams `json:"Response"` }
func NewModifyDnsRecordResponse ¶
func NewModifyDnsRecordResponse() (response *ModifyDnsRecordResponse)
func (*ModifyDnsRecordResponse) FromJsonString ¶
func (r *ModifyDnsRecordResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnsRecordResponse) ToJsonString ¶
func (r *ModifyDnsRecordResponse) ToJsonString() string
type ModifyDnsRecordResponseParams ¶
type ModifyDnsRecordResponseParams struct { // Record ID Id *string `json:"Id,omitempty" name:"Id"` // Record type Type *string `json:"Type,omitempty" name:"Type"` // Record name Name *string `json:"Name,omitempty" name:"Name"` // Record content Content *string `json:"Content,omitempty" name:"Content"` Ttl *int64 `json:"Ttl,omitempty" name:"Ttl"` // Priority Priority *int64 `json:"Priority,omitempty" name:"Priority"` // Proxy mode Mode *string `json:"Mode,omitempty" name:"Mode"` // Resolution status Status *string `json:"Status,omitempty" name:"Status"` // CNAME address // Note: This field may return `null`, indicating that no valid value can be obtained. Cname *string `json:"Cname,omitempty" name:"Cname"` // Whether the DNS record is locked Locked *bool `json:"Locked,omitempty" name:"Locked"` // Creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Modification time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDnssecRequest ¶
type ModifyDnssecRequest struct { *tchttp.BaseRequest // Site ID Id *string `json:"Id,omitempty" name:"Id"` // DNSSEC status // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyDnssecRequest ¶
func NewModifyDnssecRequest() (request *ModifyDnssecRequest)
func (*ModifyDnssecRequest) FromJsonString ¶
func (r *ModifyDnssecRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnssecRequest) ToJsonString ¶
func (r *ModifyDnssecRequest) ToJsonString() string
type ModifyDnssecRequestParams ¶
type ModifyDnssecRequestParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // DNSSEC status // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyDnssecResponse ¶
type ModifyDnssecResponse struct { *tchttp.BaseResponse Response *ModifyDnssecResponseParams `json:"Response"` }
func NewModifyDnssecResponse ¶
func NewModifyDnssecResponse() (response *ModifyDnssecResponse)
func (*ModifyDnssecResponse) FromJsonString ¶
func (r *ModifyDnssecResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDnssecResponse) ToJsonString ¶
func (r *ModifyDnssecResponse) ToJsonString() string
type ModifyDnssecResponseParams ¶
type ModifyDnssecResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // DNSSEC status. // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` // DNSSEC information // Note: This field may return `null`, indicating that no valid value can be obtained. Dnssec *DnssecInfo `json:"Dnssec,omitempty" name:"Dnssec"` // Modification time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyHostsCertificateRequest ¶
type ModifyHostsCertificateRequest struct { *tchttp.BaseRequest // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Domain name that the certificate will be attached to Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` // Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used. CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"` }
func NewModifyHostsCertificateRequest ¶
func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest)
func (*ModifyHostsCertificateRequest) FromJsonString ¶
func (r *ModifyHostsCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHostsCertificateRequest) ToJsonString ¶
func (r *ModifyHostsCertificateRequest) ToJsonString() string
type ModifyHostsCertificateRequestParams ¶
type ModifyHostsCertificateRequestParams struct { // ID of the site ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Domain name that the certificate will be attached to Hosts []*string `json:"Hosts,omitempty" name:"Hosts"` // Certificate information. Note that only `CertId` is required. If it is not specified, the default certificate will be used. CertInfo []*ServerCertInfo `json:"CertInfo,omitempty" name:"CertInfo"` }
Predefined struct for user
type ModifyHostsCertificateResponse ¶
type ModifyHostsCertificateResponse struct { *tchttp.BaseResponse Response *ModifyHostsCertificateResponseParams `json:"Response"` }
func NewModifyHostsCertificateResponse ¶
func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateResponse)
func (*ModifyHostsCertificateResponse) FromJsonString ¶
func (r *ModifyHostsCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHostsCertificateResponse) ToJsonString ¶
func (r *ModifyHostsCertificateResponse) ToJsonString() string
type ModifyHostsCertificateResponseParams ¶
type ModifyHostsCertificateResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancingRequest ¶
type ModifyLoadBalancingRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // Proxy mode. // `dns_only`: Only DNS // `proxied`: Enable proxy Type *string `json:"Type,omitempty" name:"Type"` // ID of the origin group used OriginId []*string `json:"OriginId,omitempty" name:"OriginId"` // Indicates DNS TTL time when `Type=dns_only` TTL *uint64 `json:"TTL,omitempty" name:"TTL"` }
func NewModifyLoadBalancingRequest ¶
func NewModifyLoadBalancingRequest() (request *ModifyLoadBalancingRequest)
func (*ModifyLoadBalancingRequest) FromJsonString ¶
func (r *ModifyLoadBalancingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingRequest) ToJsonString ¶
func (r *ModifyLoadBalancingRequest) ToJsonString() string
type ModifyLoadBalancingRequestParams ¶
type ModifyLoadBalancingRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // Proxy mode. // `dns_only`: Only DNS // `proxied`: Enable proxy Type *string `json:"Type,omitempty" name:"Type"` // ID of the origin group used OriginId []*string `json:"OriginId,omitempty" name:"OriginId"` // Indicates DNS TTL time when `Type=dns_only` TTL *uint64 `json:"TTL,omitempty" name:"TTL"` }
Predefined struct for user
type ModifyLoadBalancingResponse ¶
type ModifyLoadBalancingResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancingResponseParams `json:"Response"` }
func NewModifyLoadBalancingResponse ¶
func NewModifyLoadBalancingResponse() (response *ModifyLoadBalancingResponse)
func (*ModifyLoadBalancingResponse) FromJsonString ¶
func (r *ModifyLoadBalancingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingResponse) ToJsonString ¶
func (r *ModifyLoadBalancingResponse) ToJsonString() string
type ModifyLoadBalancingResponseParams ¶
type ModifyLoadBalancingResponseParams struct { // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancingStatusRequest ¶
type ModifyLoadBalancingStatusRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // Status. // `online`: Enabled // `offline`: Disabled Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyLoadBalancingStatusRequest ¶
func NewModifyLoadBalancingStatusRequest() (request *ModifyLoadBalancingStatusRequest)
func (*ModifyLoadBalancingStatusRequest) FromJsonString ¶
func (r *ModifyLoadBalancingStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingStatusRequest) ToJsonString ¶
func (r *ModifyLoadBalancingStatusRequest) ToJsonString() string
type ModifyLoadBalancingStatusRequestParams ¶
type ModifyLoadBalancingStatusRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // Status. // `online`: Enabled // `offline`: Disabled Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyLoadBalancingStatusResponse ¶
type ModifyLoadBalancingStatusResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancingStatusResponseParams `json:"Response"` }
func NewModifyLoadBalancingStatusResponse ¶
func NewModifyLoadBalancingStatusResponse() (response *ModifyLoadBalancingStatusResponse)
func (*ModifyLoadBalancingStatusResponse) FromJsonString ¶
func (r *ModifyLoadBalancingStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancingStatusResponse) ToJsonString ¶
func (r *ModifyLoadBalancingStatusResponse) ToJsonString() string
type ModifyLoadBalancingStatusResponseParams ¶
type ModifyLoadBalancingStatusResponseParams struct { // CLB instance ID LoadBalancingId *string `json:"LoadBalancingId,omitempty" name:"LoadBalancingId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyOriginGroupRequest ¶
type ModifyOriginGroupRequest struct { *tchttp.BaseRequest // ID of the origin group OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Name of the origin group OriginName *string `json:"OriginName,omitempty" name:"OriginName"` // Origin-pull configuration type. This field is required when `OriginType=self`. // `area`: Origin-pull by region // `weight`: Origin-pull by weight // When `OriginType=third_party/cos`, it can be left empty. Type *string `json:"Type,omitempty" name:"Type"` // Origin record Record []*OriginRecord `json:"Record,omitempty" name:"Record"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Origin type // `self`: Customer origin // `third_party`: Third-party origin // `cos`: Tencent Cloud COS origin OriginType *string `json:"OriginType,omitempty" name:"OriginType"` }
func NewModifyOriginGroupRequest ¶
func NewModifyOriginGroupRequest() (request *ModifyOriginGroupRequest)
func (*ModifyOriginGroupRequest) FromJsonString ¶
func (r *ModifyOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyOriginGroupRequest) ToJsonString ¶
func (r *ModifyOriginGroupRequest) ToJsonString() string
type ModifyOriginGroupRequestParams ¶
type ModifyOriginGroupRequestParams struct { // ID of the origin group OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Name of the origin group OriginName *string `json:"OriginName,omitempty" name:"OriginName"` // Origin-pull configuration type. This field is required when `OriginType=self`. // `area`: Origin-pull by region // `weight`: Origin-pull by weight // When `OriginType=third_party/cos`, it can be left empty. Type *string `json:"Type,omitempty" name:"Type"` // Origin record Record []*OriginRecord `json:"Record,omitempty" name:"Record"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Origin type // `self`: Customer origin // `third_party`: Third-party origin // `cos`: Tencent Cloud COS origin OriginType *string `json:"OriginType,omitempty" name:"OriginType"` }
Predefined struct for user
type ModifyOriginGroupResponse ¶
type ModifyOriginGroupResponse struct { *tchttp.BaseResponse Response *ModifyOriginGroupResponseParams `json:"Response"` }
func NewModifyOriginGroupResponse ¶
func NewModifyOriginGroupResponse() (response *ModifyOriginGroupResponse)
func (*ModifyOriginGroupResponse) FromJsonString ¶
func (r *ModifyOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyOriginGroupResponse) ToJsonString ¶
func (r *ModifyOriginGroupResponse) ToJsonString() string
type ModifyOriginGroupResponseParams ¶
type ModifyOriginGroupResponseParams struct { // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityPolicyRequest ¶
type ModifySecurityPolicyRequest struct { *tchttp.BaseRequest // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/layer-4 proxy Entity *string `json:"Entity,omitempty" name:"Entity"` // Security configuration Config *SecurityConfig `json:"Config,omitempty" name:"Config"` }
func NewModifySecurityPolicyRequest ¶
func NewModifySecurityPolicyRequest() (request *ModifySecurityPolicyRequest)
func (*ModifySecurityPolicyRequest) FromJsonString ¶
func (r *ModifySecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityPolicyRequest) ToJsonString ¶
func (r *ModifySecurityPolicyRequest) ToJsonString() string
type ModifySecurityPolicyRequestParams ¶
type ModifySecurityPolicyRequestParams struct { // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Subdomain name/layer-4 proxy Entity *string `json:"Entity,omitempty" name:"Entity"` // Security configuration Config *SecurityConfig `json:"Config,omitempty" name:"Config"` }
Predefined struct for user
type ModifySecurityPolicyResponse ¶
type ModifySecurityPolicyResponse struct { *tchttp.BaseResponse Response *ModifySecurityPolicyResponseParams `json:"Response"` }
func NewModifySecurityPolicyResponse ¶
func NewModifySecurityPolicyResponse() (response *ModifySecurityPolicyResponse)
func (*ModifySecurityPolicyResponse) FromJsonString ¶
func (r *ModifySecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityPolicyResponse) ToJsonString ¶
func (r *ModifySecurityPolicyResponse) ToJsonString() string
type ModifySecurityPolicyResponseParams ¶
type ModifySecurityPolicyResponseParams struct { // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneCnameSpeedUpRequest ¶
type ModifyZoneCnameSpeedUpRequest struct { *tchttp.BaseRequest // Site ID Id *string `json:"Id,omitempty" name:"Id"` // CNAME acceleration status. // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` }
func NewModifyZoneCnameSpeedUpRequest ¶
func NewModifyZoneCnameSpeedUpRequest() (request *ModifyZoneCnameSpeedUpRequest)
func (*ModifyZoneCnameSpeedUpRequest) FromJsonString ¶
func (r *ModifyZoneCnameSpeedUpRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneCnameSpeedUpRequest) ToJsonString ¶
func (r *ModifyZoneCnameSpeedUpRequest) ToJsonString() string
type ModifyZoneCnameSpeedUpRequestParams ¶
type ModifyZoneCnameSpeedUpRequestParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // CNAME acceleration status. // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` }
Predefined struct for user
type ModifyZoneCnameSpeedUpResponse ¶
type ModifyZoneCnameSpeedUpResponse struct { *tchttp.BaseResponse Response *ModifyZoneCnameSpeedUpResponseParams `json:"Response"` }
func NewModifyZoneCnameSpeedUpResponse ¶
func NewModifyZoneCnameSpeedUpResponse() (response *ModifyZoneCnameSpeedUpResponse)
func (*ModifyZoneCnameSpeedUpResponse) FromJsonString ¶
func (r *ModifyZoneCnameSpeedUpResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneCnameSpeedUpResponse) ToJsonString ¶
func (r *ModifyZoneCnameSpeedUpResponse) ToJsonString() string
type ModifyZoneCnameSpeedUpResponseParams ¶
type ModifyZoneCnameSpeedUpResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // CNAME acceleration status. // - `enabled`: Enabled // - `disabled`: Disabled Status *string `json:"Status,omitempty" name:"Status"` // Update time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneRequest ¶
type ModifyZoneRequest struct { *tchttp.BaseRequest // Site ID, which is used to identify the site. Id *string `json:"Id,omitempty" name:"Id"` // Specifies how the site is connected to EdgeOne. // - `full`: Connect via the name server. // - `partial`: Connect via the CNAME. Type *string `json:"Type,omitempty" name:"Type"` // Custom site information VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"` }
func NewModifyZoneRequest ¶
func NewModifyZoneRequest() (request *ModifyZoneRequest)
func (*ModifyZoneRequest) FromJsonString ¶
func (r *ModifyZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneRequest) ToJsonString ¶
func (r *ModifyZoneRequest) ToJsonString() string
type ModifyZoneRequestParams ¶
type ModifyZoneRequestParams struct { // Site ID, which is used to identify the site. Id *string `json:"Id,omitempty" name:"Id"` // Specifies how the site is connected to EdgeOne. // - `full`: Connect via the name server. // - `partial`: Connect via the CNAME. Type *string `json:"Type,omitempty" name:"Type"` // Custom site information VanityNameServers *VanityNameServers `json:"VanityNameServers,omitempty" name:"VanityNameServers"` }
Predefined struct for user
type ModifyZoneResponse ¶
type ModifyZoneResponse struct { *tchttp.BaseResponse Response *ModifyZoneResponseParams `json:"Response"` }
func NewModifyZoneResponse ¶
func NewModifyZoneResponse() (response *ModifyZoneResponse)
func (*ModifyZoneResponse) FromJsonString ¶
func (r *ModifyZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneResponse) ToJsonString ¶
func (r *ModifyZoneResponse) ToJsonString() string
type ModifyZoneResponseParams ¶
type ModifyZoneResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // Name server used by the site OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"` // Site status. // - `pending`: The name server is not connected. // - `active`: The name server is connected. // - `moved`: The name server is moved. Status *string `json:"Status,omitempty" name:"Status"` // Specifies how the site is connected to EdgeOne. // - `full`: Connect via the name server. // - `partial`: Connect via the CNAME. Type *string `json:"Type,omitempty" name:"Type"` // List of name servers assigned by Tencent Cloud NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` // Creation time CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Modification time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // CNAME access status. // - `finished`: Ownership of the site is verified. // - `pending`: Verifying the ownership of the site. // Note: This field may return `null`, indicating that no valid value can be obtained. CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneSettingRequest ¶
type ModifyZoneSettingRequest struct { *tchttp.BaseRequest // ID of the site to be modified ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Cache expiration time Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"` // Node cache key CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"` // Browser cache configuration MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"` // Offline cache OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"` // QUIC access Quic *Quic `json:"Quic,omitempty" name:"Quic"` // Maximum size of files transferred over POST request PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"` // Smart compression configuration Compression *Compression `json:"Compression,omitempty" name:"Compression"` // HTTP2 origin-pull configuration UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"` // Force HTTPS redirect configuration ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"` // HTTPS acceleration configuration Https *Https `json:"Https,omitempty" name:"Https"` // Origin server configuration Origin *Origin `json:"Origin,omitempty" name:"Origin"` // Smart acceleration configuration SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"` // WebSocket configuration WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"` // Origin-pull client IP header configuration ClientIpHeader *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"` // Cache prefresh configuration CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"` }
func NewModifyZoneSettingRequest ¶
func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)
func (*ModifyZoneSettingRequest) FromJsonString ¶
func (r *ModifyZoneSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneSettingRequest) ToJsonString ¶
func (r *ModifyZoneSettingRequest) ToJsonString() string
type ModifyZoneSettingRequestParams ¶
type ModifyZoneSettingRequestParams struct { // ID of the site to be modified ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Cache expiration time Cache *CacheConfig `json:"Cache,omitempty" name:"Cache"` // Node cache key CacheKey *CacheKey `json:"CacheKey,omitempty" name:"CacheKey"` // Browser cache configuration MaxAge *MaxAge `json:"MaxAge,omitempty" name:"MaxAge"` // Offline cache OfflineCache *OfflineCache `json:"OfflineCache,omitempty" name:"OfflineCache"` // QUIC access Quic *Quic `json:"Quic,omitempty" name:"Quic"` // Maximum size of files transferred over POST request PostMaxSize *PostMaxSize `json:"PostMaxSize,omitempty" name:"PostMaxSize"` // Smart compression configuration Compression *Compression `json:"Compression,omitempty" name:"Compression"` // HTTP2 origin-pull configuration UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitempty" name:"UpstreamHttp2"` // Force HTTPS redirect configuration ForceRedirect *ForceRedirect `json:"ForceRedirect,omitempty" name:"ForceRedirect"` // HTTPS acceleration configuration Https *Https `json:"Https,omitempty" name:"Https"` // Origin server configuration Origin *Origin `json:"Origin,omitempty" name:"Origin"` // Smart acceleration configuration SmartRouting *SmartRouting `json:"SmartRouting,omitempty" name:"SmartRouting"` // WebSocket configuration WebSocket *WebSocket `json:"WebSocket,omitempty" name:"WebSocket"` // Origin-pull client IP header configuration ClientIpHeader *ClientIp `json:"ClientIpHeader,omitempty" name:"ClientIpHeader"` // Cache prefresh configuration CachePrefresh *CachePrefresh `json:"CachePrefresh,omitempty" name:"CachePrefresh"` }
Predefined struct for user
type ModifyZoneSettingResponse ¶
type ModifyZoneSettingResponse struct { *tchttp.BaseResponse Response *ModifyZoneSettingResponseParams `json:"Response"` }
func NewModifyZoneSettingResponse ¶
func NewModifyZoneSettingResponse() (response *ModifyZoneSettingResponse)
func (*ModifyZoneSettingResponse) FromJsonString ¶
func (r *ModifyZoneSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneSettingResponse) ToJsonString ¶
func (r *ModifyZoneSettingResponse) ToJsonString() string
type ModifyZoneSettingResponseParams ¶
type ModifyZoneSettingResponseParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneStatusRequest ¶
type ModifyZoneStatusRequest struct { *tchttp.BaseRequest // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site status. // - `false`: Enable the site. // - `true`: Disable the site. Paused *bool `json:"Paused,omitempty" name:"Paused"` }
func NewModifyZoneStatusRequest ¶
func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)
func (*ModifyZoneStatusRequest) FromJsonString ¶
func (r *ModifyZoneStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneStatusRequest) ToJsonString ¶
func (r *ModifyZoneStatusRequest) ToJsonString() string
type ModifyZoneStatusRequestParams ¶
type ModifyZoneStatusRequestParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site status. // - `false`: Enable the site. // - `true`: Disable the site. Paused *bool `json:"Paused,omitempty" name:"Paused"` }
Predefined struct for user
type ModifyZoneStatusResponse ¶
type ModifyZoneStatusResponse struct { *tchttp.BaseResponse Response *ModifyZoneStatusResponseParams `json:"Response"` }
func NewModifyZoneStatusResponse ¶
func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)
func (*ModifyZoneStatusResponse) FromJsonString ¶
func (r *ModifyZoneStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneStatusResponse) ToJsonString ¶
func (r *ModifyZoneStatusResponse) ToJsonString() string
type ModifyZoneStatusResponseParams ¶
type ModifyZoneStatusResponseParams struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // Site status. // - `false`: Enable the site. // - `true`: Disable the site. Paused *bool `json:"Paused,omitempty" name:"Paused"` // Update time ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type OfflineCache ¶
type OfflineCache struct { // Whether to enable offline cache. Valid values: `on` and `off`. // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` }
type Origin ¶
type Origin struct { // Origin-pull protocol. // `http`: Switch HTTPS requests to HTTP // `follow`: Follow the protocol of the request. // `https`: Switch HTTP requests to HTTPS. This only supports port 443 on the origin server. // Note: This field may return `null`, indicating that no valid value can be obtained. OriginPullProtocol *string `json:"OriginPullProtocol,omitempty" name:"OriginPullProtocol"` }
type OriginCheckOriginStatus ¶
type OriginCheckOriginStatus struct { // `healthy`: Healthy; `unhealthy`: Unhealthy; `process`: Checking origin. Status *string `json:"Status,omitempty" name:"Status"` // List of unhealthy origin groups when `Status = unhealthy` // Note: This field may return null, indicating that no valid values can be obtained. Host []*string `json:"Host,omitempty" name:"Host"` }
type OriginFilter ¶
type OriginGroup ¶
type OriginGroup struct { // Origin group ID OriginId *string `json:"OriginId,omitempty" name:"OriginId"` // Origin group name OriginName *string `json:"OriginName,omitempty" name:"OriginName"` // Origin-pull configuration type // `area`: Origin-pull by the client IP’s region specified by `Area` in `OriginRecord`. // `weight`: Origin-pull by the weight specified by `Weight` in `OriginRecord`. Type *string `json:"Type,omitempty" name:"Type"` // Record Record []*OriginRecord `json:"Record,omitempty" name:"Record"` // Update time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Site name ZoneName *string `json:"ZoneName,omitempty" name:"ZoneName"` // Origin server type // Note: This field may return `null`, indicating that no valid value can be obtained. OriginType *string `json:"OriginType,omitempty" name:"OriginType"` // Whether the origin group uses layer-4 proxy. // Note: This field may return null, indicating that no valid values can be obtained. ApplicationProxyUsed *bool `json:"ApplicationProxyUsed,omitempty" name:"ApplicationProxyUsed"` // Whether the origin group is used for load balancing. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancingUsed *bool `json:"LoadBalancingUsed,omitempty" name:"LoadBalancingUsed"` // Origin status // Note: This field may return null, indicating that no valid values can be obtained. Status *OriginCheckOriginStatus `json:"Status,omitempty" name:"Status"` // Proxy mode of the load balancing task associated with the origin group. // `none`: This origin group is not used for load balancing. // `dns_only`: Used for DNS-only load balancing // `proxied`: Used for proxied load balancing // `both`: It’s used for both DNS-only and proxied load balancing. // Note: This field may return null, indicating that no valid values can be obtained. LoadBalancingUsedType *string `json:"LoadBalancingUsedType,omitempty" name:"LoadBalancingUsedType"` }
type OriginRecord ¶
type OriginRecord struct { // Record value Record *string `json:"Record,omitempty" name:"Record"` // A specific region when `Type=area`. // The default region when `Type` is not specified. Area []*string `json:"Area,omitempty" name:"Area"` // A specific weight when `Type=weight`. // The value range is [1-100]. // The total weight of multiple origins in an origin group should be 100. Weight *uint64 `json:"Weight,omitempty" name:"Weight"` // Port Port *uint64 `json:"Port,omitempty" name:"Port"` // Record ID RecordId *string `json:"RecordId,omitempty" name:"RecordId"` // Specifies whether to run private origin authentication. // It is valid only when `OriginType=third_part`. // Note: This field may return `null`, indicating that no valid value can be obtained. Private *bool `json:"Private,omitempty" name:"Private"` // Private origin parameter. // It is valid only when `Private=true`. // Note: This field may return `null`, indicating that no valid value can be obtained. PrivateParameter []*OriginRecordPrivateParameter `json:"PrivateParameter,omitempty" name:"PrivateParameter"` Proto *string `json:"Proto,omitempty" name:"Proto"` }
type OriginRecordPrivateParameter ¶
type OriginRecordPrivateParameter struct { // Name of the private origin authentication parameter. // `AccessKeyId`: Access key ID // `SecretAccessKey`: Secret access key Name *string `json:"Name,omitempty" name:"Name"` // Value of the private origin authentication parameter Value *string `json:"Value,omitempty" name:"Value"` }
type PortraitManagedRuleDetail ¶
type PortraitManagedRuleDetail struct { // Unique rule ID // Note: This field may return null, indicating that no valid values can be obtained. RuleId *int64 `json:"RuleId,omitempty" name:"RuleId"` // Rule description // Note: This field may return null, indicating that no valid values can be obtained. Description *string `json:"Description,omitempty" name:"Description"` // Rule type name: botdb (user profile) // Note: This field may return null, indicating that no valid values can be obtained. RuleTypeName *string `json:"RuleTypeName,omitempty" name:"RuleTypeName"` // Rule feature category ID (scanner, bot behavior, etc.) // Note: This field may return null, indicating that no valid values can be obtained. ClassificationId *int64 `json:"ClassificationId,omitempty" name:"ClassificationId"` // Current rule action status (block, alg, etc.) // Note: This field may return null, indicating that no valid values can be obtained. Status *string `json:"Status,omitempty" name:"Status"` }
type PostMaxSize ¶
type PostMaxSize struct { // Specifies whether to enable custom setting of the maximum file size. // `off`: Disable. In this case, the max size defaults to 32 MB. // `on`: Enable. You can set a custom max size. Switch *string `json:"Switch,omitempty" name:"Switch"` // Maximum size. Value range: 1-500 MB. // Note: This field may return `null`, indicating that no valid value can be obtained. MaxSize *int64 `json:"MaxSize,omitempty" name:"MaxSize"` }
type QueryCondition ¶
type QueryString ¶
type QueryString struct { // Whether to use `QueryString` as part of `CacheKey`. Valid values: `on` and `off`. // Note: This field may return `null`, indicating that no valid value can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // `includeCustom`: Include the specified query strings. // `excludeCustom`: Exclude the specified query strings. // Note: This field may return `null`, indicating that no valid value can be obtained. Action *string `json:"Action,omitempty" name:"Action"` // Array of query strings used/excluded // Note: This field may return `null`, indicating that no valid value can be obtained. Value []*string `json:"Value,omitempty" name:"Value"` }
type Quic ¶
type Quic struct { // Whether to enable QUIC Switch *string `json:"Switch,omitempty" name:"Switch"` }
type RateLimitConfig ¶
type RateLimitConfig struct { // Switch Switch *string `json:"Switch,omitempty" name:"Switch"` // Rate limit rule UserRules []*RateLimitUserRule `json:"UserRules,omitempty" name:"UserRules"` // Default template // Note: This field may return `null`, indicating that no valid value can be obtained. Template *RateLimitTemplate `json:"Template,omitempty" name:"Template"` // Client filtering // Note: This field may return null, indicating that no valid values can be obtained. Intelligence *RateLimitIntelligence `json:"Intelligence,omitempty" name:"Intelligence"` }
type RateLimitIntelligence ¶
type RateLimitIntelligence struct { // Whether to enable this feature // Note: This field may return null, indicating that no valid values can be obtained. Switch *string `json:"Switch,omitempty" name:"Switch"` // Action. Values: `monitor` (observe), `alg` (JS/Managed challenge) // Note: This field may return null, indicating that no valid values can be obtained. Action *string `json:"Action,omitempty" name:"Action"` }
type RateLimitTemplate ¶
type RateLimitTemplate struct { // Template name // Note: This field may return `null`, indicating that no valid value can be obtained. Mode *string `json:"Mode,omitempty" name:"Mode"` // Template details // Note: This field may return `null`, indicating that no valid value can be obtained. Detail *RateLimitTemplateDetail `json:"Detail,omitempty" name:"Detail"` }
type RateLimitTemplateDetail ¶
type RateLimitTemplateDetail struct { // Template name // Note: This field may return `null`, indicating that no valid value can be obtained. Mode *string `json:"Mode,omitempty" name:"Mode"` // Unique ID // Note: This field may return `null`, indicating that no valid value can be obtained. ID *int64 `json:"ID,omitempty" name:"ID"` // Action // Note: This field may return `null`, indicating that no valid value can be obtained. Action *string `json:"Action,omitempty" name:"Action"` // Time it takes to perform the action // Note: This field may return `null`, indicating that no valid value can be obtained. PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"` // Request rate threshold // Note: This field may return `null`, indicating that no valid value can be obtained. Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"` // Statistical period // Note: This field may return `null`, indicating that no valid value can be obtained. Period *int64 `json:"Period,omitempty" name:"Period"` }
type RateLimitUserRule ¶
type RateLimitUserRule struct { // Rate threshold Threshold *int64 `json:"Threshold,omitempty" name:"Threshold"` // Data collection time Period *int64 `json:"Period,omitempty" name:"Period"` // Name of the rule RuleName *string `json:"RuleName,omitempty" name:"RuleName"` // Action: `monitor` (Observe), `drop` (Block) Action *string `json:"Action,omitempty" name:"Action"` // Time it takes to perform the action PunishTime *int64 `json:"PunishTime,omitempty" name:"PunishTime"` // Time unit: second PunishTimeUnit *string `json:"PunishTimeUnit,omitempty" name:"PunishTimeUnit"` // Status of the rule RuleStatus *string `json:"RuleStatus,omitempty" name:"RuleStatus"` // Rule Conditions []*ACLCondition `json:"Conditions,omitempty" name:"Conditions"` // Priority of the rule RulePriority *int64 `json:"RulePriority,omitempty" name:"RulePriority"` // ID of the rule // Note: This field may return `null`, indicating that no valid value can be obtained. RuleID *int64 `json:"RuleID,omitempty" name:"RuleID"` // Word filter // Note: This field may return `null`, indicating that no valid value can be obtained. FreqFields []*string `json:"FreqFields,omitempty" name:"FreqFields"` // Update time // Note: This field may return `null`, indicating that no valid value can be obtained. UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type ReclaimZoneRequest ¶
type ReclaimZoneRequest struct { *tchttp.BaseRequest // Site name Name *string `json:"Name,omitempty" name:"Name"` }
func NewReclaimZoneRequest ¶
func NewReclaimZoneRequest() (request *ReclaimZoneRequest)
func (*ReclaimZoneRequest) FromJsonString ¶
func (r *ReclaimZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReclaimZoneRequest) ToJsonString ¶
func (r *ReclaimZoneRequest) ToJsonString() string
type ReclaimZoneRequestParams ¶
type ReclaimZoneRequestParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` }
Predefined struct for user
type ReclaimZoneResponse ¶
type ReclaimZoneResponse struct { *tchttp.BaseResponse Response *ReclaimZoneResponseParams `json:"Response"` }
func NewReclaimZoneResponse ¶
func NewReclaimZoneResponse() (response *ReclaimZoneResponse)
func (*ReclaimZoneResponse) FromJsonString ¶
func (r *ReclaimZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ReclaimZoneResponse) ToJsonString ¶
func (r *ReclaimZoneResponse) ToJsonString() string
type ReclaimZoneResponseParams ¶
type ReclaimZoneResponseParams struct { // Site name Name *string `json:"Name,omitempty" name:"Name"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type Resource ¶
type Resource struct { // Resource ID Id *string `json:"Id,omitempty" name:"Id"` // Billing mode // `0`: Pay-as-you-go PayMode *int64 `json:"PayMode,omitempty" name:"PayMode"` // Creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Effective time EnableTime *string `json:"EnableTime,omitempty" name:"EnableTime"` // Expiration time ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Status of the plan Status *string `json:"Status,omitempty" name:"Status"` // Pricing query parameter Sv []*Sv `json:"Sv,omitempty" name:"Sv"` // Specifies whether to enable auto-renewal // `0`: Default // `1`: Enable auto-renewal // `2`: Disable auto-renewal AutoRenewFlag *int64 `json:"AutoRenewFlag,omitempty" name:"AutoRenewFlag"` // ID of the plan PlanId *string `json:"PlanId,omitempty" name:"PlanId"` Area *string `json:"Area,omitempty" name:"Area"` }
type ScanDnsRecordsRequest ¶
type ScanDnsRecordsRequest struct { *tchttp.BaseRequest // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
func NewScanDnsRecordsRequest ¶
func NewScanDnsRecordsRequest() (request *ScanDnsRecordsRequest)
func (*ScanDnsRecordsRequest) FromJsonString ¶
func (r *ScanDnsRecordsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScanDnsRecordsRequest) ToJsonString ¶
func (r *ScanDnsRecordsRequest) ToJsonString() string
type ScanDnsRecordsRequestParams ¶
type ScanDnsRecordsRequestParams struct { // Site ID ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` }
Predefined struct for user
type ScanDnsRecordsResponse ¶
type ScanDnsRecordsResponse struct { *tchttp.BaseResponse Response *ScanDnsRecordsResponseParams `json:"Response"` }
func NewScanDnsRecordsResponse ¶
func NewScanDnsRecordsResponse() (response *ScanDnsRecordsResponse)
func (*ScanDnsRecordsResponse) FromJsonString ¶
func (r *ScanDnsRecordsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ScanDnsRecordsResponse) ToJsonString ¶
func (r *ScanDnsRecordsResponse) ToJsonString() string
type ScanDnsRecordsResponseParams ¶
type ScanDnsRecordsResponseParams struct { // Scan status // - `doing`: Scanning // - `done`: Scanned Status *string `json:"Status,omitempty" name:"Status"` // Number of DNS records added after scanning RecordsAdded *int64 `json:"RecordsAdded,omitempty" name:"RecordsAdded"` // The unique request ID, which is returned for each request. RequestId is required for locating a problem. RequestId *string `json:"RequestId,omitempty" name:"RequestId"` }
Predefined struct for user
type SecEntry ¶
type SecEntry struct { // Entry key // Note: This field may return null, indicating that no valid values can be obtained. Key *string `json:"Key,omitempty" name:"Key"` // Entry value // Note: This field may return null, indicating that no valid values can be obtained. Value []*SecEntryValue `json:"Value,omitempty" name:"Value"` }
type SecEntryValue ¶
type SecEntryValue struct { // Metric name // Note: This field may return null, indicating that no valid values can be obtained. Metric *string `json:"Metric,omitempty" name:"Metric"` // Metric data details // Note: This field may return null, indicating that no valid values can be obtained. Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"` // Maximum // Note: This field may return null, indicating that no valid values can be obtained. Max *int64 `json:"Max,omitempty" name:"Max"` // Average // Note: This field may return null, indicating that no valid values can be obtained. Avg *float64 `json:"Avg,omitempty" name:"Avg"` // Sum // Note: This field may return null, indicating that no valid values can be obtained. Sum *float64 `json:"Sum,omitempty" name:"Sum"` }
type SecurityConfig ¶
type SecurityConfig struct { // WAF configuration // Note: This field may return `null`, indicating that no valid value can be obtained. WafConfig *WafConfig `json:"WafConfig,omitempty" name:"WafConfig"` // Rate limit configuration // Note: This field may return `null`, indicating that no valid value can be obtained. RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitempty" name:"RateLimitConfig"` // DDoS mitigation configuration // Note: This field may return `null`, indicating that no valid value can be obtained. DdosConfig *DDoSConfig `json:"DdosConfig,omitempty" name:"DdosConfig"` // ACL configuration // Note: This field may return `null`, indicating that no valid value can be obtained. AclConfig *AclConfig `json:"AclConfig,omitempty" name:"AclConfig"` // Bot configuration // Note: This field may return `null`, indicating that no valid value can be obtained. BotConfig *BotConfig `json:"BotConfig,omitempty" name:"BotConfig"` // Switch that controls all web security configuration // Note: This field may return `null`, indicating that no valid value can be obtained. SwitchConfig *SwitchConfig `json:"SwitchConfig,omitempty" name:"SwitchConfig"` // IP blocklist/allowlist // Note: This field may return null, indicating that no valid values can be obtained. IpTableConfig *IpTableConfig `json:"IpTableConfig,omitempty" name:"IpTableConfig"` }
type SecurityEntity ¶
type SecurityEntity struct { // User APPID AppId *int64 `json:"AppId,omitempty" name:"AppId"` // Top-level domain name ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Second-level domain name Entity *string `json:"Entity,omitempty" name:"Entity"` // Type of protected resource. Values: `domain` and `application`. EntityType *string `json:"EntityType,omitempty" name:"EntityType"` }
type ServerCertInfo ¶
type ServerCertInfo struct { // Server certificate ID, which is the ID of the default certificate. If you choose to upload an external certificate for SSL certificate management, a certificate ID will be generated. // Note: This field may return `null`, indicating that no valid value can be obtained. CertId *string `json:"CertId,omitempty" name:"CertId"` // Alias of the certificate // Note: This field may return `null`, indicating that no valid value can be obtained. Alias *string `json:"Alias,omitempty" name:"Alias"` // Certificate type. // `default`: Default certificate // `upload`: External certificate // `managed`: Tencent Cloud managed certificate // Note: This field may return `null`, indicating that no valid value can be obtained. Type *string `json:"Type,omitempty" name:"Type"` // Time when the certificate expires // Note: This field may return `null`, indicating that no valid value can be obtained. ExpireTime *string `json:"ExpireTime,omitempty" name:"ExpireTime"` // Certificate deployment time // Note: This field may return `null`, indicating that no valid value can be obtained. DeployTime *string `json:"DeployTime,omitempty" name:"DeployTime"` // Certificate deployment status. // `processing`: Deploying // `deployed`: Deployed // Note: This field may return `null`, indicating that no valid value can be obtained. Status *string `json:"Status,omitempty" name:"Status"` }
type ShieldArea ¶
type ShieldArea struct { // ID of the site (top-level domain name) ZoneId *string `json:"ZoneId,omitempty" name:"ZoneId"` // Policy ID PolicyId *int64 `json:"PolicyId,omitempty" name:"PolicyId"` // Type of protected resource. Values: `domain` and `application`. Type *string `json:"Type,omitempty" name:"Type"` // Layer-4 proxy name // Note: This field may return `null`, indicating that no valid value can be obtained. EntityName *string `json:"EntityName,omitempty" name:"EntityName"` // Layer-7 domain name parameters // Note: This field may return `null`, indicating that no valid value can be obtained. Application []*DDoSApplication `json:"Application,omitempty" name:"Application"` // Number of layer-4 TCP forwarding rules // Note: This field may return `null`, indicating that no valid value can be obtained. TcpNum *int64 `json:"TcpNum,omitempty" name:"TcpNum"` // Number of layer-4 UDP forwarding rules // Note: This field may return `null`, indicating that no valid value can be obtained. UdpNum *int64 `json:"UdpNum,omitempty" name:"UdpNum"` // Name of the protected resource // Note: This field may return `null`, indicating that no valid value can be obtained. Entity *string `json:"Entity,omitempty" name:"Entity"` // Note: This field may return `null`, indicating that no valid value can be obtained. Share *bool `json:"Share,omitempty" name:"Share"` }
type SmartRouting ¶
type SmartRouting struct { // Whether to enable smart acceleration // `on`: Enable // `off`: Disable Switch *string `json:"Switch,omitempty" name:"Switch"` }
type SwitchConfig ¶
type SwitchConfig struct { // Switch that controls all web security configuration: basic web protection, custom rules, and rate limiting WebSwitch *string `json:"WebSwitch,omitempty" name:"WebSwitch"` }
type Tag ¶
type Tag struct { // Tag key // Note: This field may return null, indicating that no valid values can be obtained. TagKey *string `json:"TagKey,omitempty" name:"TagKey"` // Tag value // Note: This field may return null, indicating that no valid values can be obtained. TagValue *string `json:"TagValue,omitempty" name:"TagValue"` }
type Task ¶
type Task struct { // Task ID JobId *string `json:"JobId,omitempty" name:"JobId"` // Status of the task Status *string `json:"Status,omitempty" name:"Status"` // Resource Target *string `json:"Target,omitempty" name:"Target"` // Task type Type *string `json:"Type,omitempty" name:"Type"` // Task creation time CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // Task completion time UpdateTime *string `json:"UpdateTime,omitempty" name:"UpdateTime"` }
type TimingDataItem ¶
type TimingDataItem struct { // Second-level timestamp // Note: This field may return null, indicating that no valid values can be obtained. Timestamp *int64 `json:"Timestamp,omitempty" name:"Timestamp"` // Value // Note: This field may return null, indicating that no valid values can be obtained. Value *int64 `json:"Value,omitempty" name:"Value"` }
type TimingDataRecord ¶
type TimingDataRecord struct { // Query dimension value TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"` // Detailed time series data // Note: This field may return null, indicating that no valid values can be obtained. TypeValue []*TimingTypeValue `json:"TypeValue,omitempty" name:"TypeValue"` }
type TimingTypeValue ¶
type TimingTypeValue struct { // Sum // Note: This field may return null, indicating that no valid values can be obtained. Sum *int64 `json:"Sum,omitempty" name:"Sum"` // Maximum // Note: This field may return null, indicating that no valid values can be obtained. Max *int64 `json:"Max,omitempty" name:"Max"` // Average // Note: This field may return null, indicating that no valid values can be obtained. Avg *int64 `json:"Avg,omitempty" name:"Avg"` // Metric name MetricName *string `json:"MetricName,omitempty" name:"MetricName"` // This field will be disused soon. Use the `Detail` field instead. // Note: This field may return null, indicating that no valid values can be obtained. DetailData []*int64 `json:"DetailData,omitempty" name:"DetailData"` // Detailed data // Note: This field may return null, indicating that no valid values can be obtained. Detail []*TimingDataItem `json:"Detail,omitempty" name:"Detail"` }
type TopDataRecord ¶
type TopDataRecord struct { // Query dimension value TypeKey *string `json:"TypeKey,omitempty" name:"TypeKey"` // Top data rankings // Note: This field may return null, indicating that no valid values can be obtained. DetailData []*TopDetailData `json:"DetailData,omitempty" name:"DetailData"` }
type TopDetailData ¶
type TopNEntry ¶
type TopNEntry struct { // Entry key Key *string `json:"Key,omitempty" name:"Key"` // Top N data Value []*TopNEntryValue `json:"Value,omitempty" name:"Value"` }
type TopNEntryValue ¶
type UpstreamHttp2 ¶
type UpstreamHttp2 struct { // Whether to enable HTTP2 origin-pull // `on`: Enable // `off`: Disable Switch *string `json:"Switch,omitempty" name:"Switch"` }
type VanityNameServers ¶
type VanityNameServersIps ¶
type WafConfig ¶
type WafConfig struct { // Switch Switch *string `json:"Switch,omitempty" name:"Switch"` // Protection level: `loose`, `normal`, `strict`, `stricter`, `custom` Level *string `json:"Level,omitempty" name:"Level"` // Mode: `block`, `observe`, `close` Mode *string `json:"Mode,omitempty" name:"Mode"` // WAF rule allowlist/blocklist WafRules *WafRule `json:"WafRules,omitempty" name:"WafRules"` // AI rule engine // Note: This field may return `null`, indicating that no valid value can be obtained. AiRule *AiRule `json:"AiRule,omitempty" name:"AiRule"` }
type WafRule ¶
type WafRule struct { // Blocklist BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitempty" name:"BlockRuleIDs"` // Whether the WAF rule is enabled or disabled Switch *string `json:"Switch,omitempty" name:"Switch"` // Observe mode // Note: This field may return `null`, indicating that no valid value can be obtained. ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitempty" name:"ObserveRuleIDs"` }
type WebAttackEvent ¶
type WebAttackEvent struct { // Client IP // Note: This field may return null, indicating that no valid values can be obtained. ClientIp *string `json:"ClientIp,omitempty" name:"ClientIp"` // Attack URL // Note: This field may return null, indicating that no valid values can be obtained. AttackUrl *string `json:"AttackUrl,omitempty" name:"AttackUrl"` // Attack time in seconds // Note: This field may return null, indicating that no valid values can be obtained. AttackTime *int64 `json:"AttackTime,omitempty" name:"AttackTime"` }
type WebEventData ¶
type WebEventData struct { // Data set of attack events // Note: This field may return null, indicating that no valid values can be obtained. List []*WebAttackEvent `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type WebLogData ¶
type WebLogData struct { // Data // Note: This field may return null, indicating that no valid values can be obtained. List []*WebLogs `json:"List,omitempty" name:"List"` // Current page // Note: This field may return null, indicating that no valid values can be obtained. PageNo *int64 `json:"PageNo,omitempty" name:"PageNo"` // Number of items per page // Note: This field may return null, indicating that no valid values can be obtained. PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // Total number of pages // Note: This field may return null, indicating that no valid values can be obtained. Pages *int64 `json:"Pages,omitempty" name:"Pages"` // Total number of items // Note: This field may return null, indicating that no valid values can be obtained. TotalSize *int64 `json:"TotalSize,omitempty" name:"TotalSize"` }
type WebLogs ¶
type WebLogs struct { // Attack content // Note: This field may return null, indicating that no valid values can be obtained. AttackContent *string `json:"AttackContent,omitempty" name:"AttackContent"` // Attack IP // Note: This field may return null, indicating that no valid values can be obtained. AttackIp *string `json:"AttackIp,omitempty" name:"AttackIp"` // Attack type // Note: This field may return null, indicating that no valid values can be obtained. AttackType *string `json:"AttackType,omitempty" name:"AttackType"` // Domain name // Note: This field may return null, indicating that no valid values can be obtained. Domain *string `json:"Domain,omitempty" name:"Domain"` // uuid // Note: This field may return null, indicating that no valid values can be obtained. Msuuid *string `json:"Msuuid,omitempty" name:"Msuuid"` // Request method // Note: This field may return null, indicating that no valid values can be obtained. RequestMethod *string `json:"RequestMethod,omitempty" name:"RequestMethod"` // Request URI // Note: This field may return null, indicating that no valid values can be obtained. RequestUri *string `json:"RequestUri,omitempty" name:"RequestUri"` // Risk grade // Note: This field may return null, indicating that no valid values can be obtained. RiskLevel *string `json:"RiskLevel,omitempty" name:"RiskLevel"` // Rule ID // Note: This field may return null, indicating that no valid values can be obtained. RuleId *uint64 `json:"RuleId,omitempty" name:"RuleId"` // IP country/region // Note: This field may return null, indicating that no valid values can be obtained. SipCountryCode *string `json:"SipCountryCode,omitempty" name:"SipCountryCode"` // Event ID // Note: This field may return null, indicating that no valid values can be obtained. EventId *string `json:"EventId,omitempty" name:"EventId"` // Processing method // Note: This field may return null, indicating that no valid values can be obtained. DisposalMethod *string `json:"DisposalMethod,omitempty" name:"DisposalMethod"` // http_log // Note: This field may return null, indicating that no valid values can be obtained. HttpLog *string `json:"HttpLog,omitempty" name:"HttpLog"` // user agent // Note: This field may return null, indicating that no valid values can be obtained. Ua *string `json:"Ua,omitempty" name:"Ua"` // Attack time. For consistency considerations, the original parameter `time` was renamed `AttackTime`. // Note: This field may return null, indicating that no valid values can be obtained. AttackTime *uint64 `json:"AttackTime,omitempty" name:"AttackTime"` }
type WebSocket ¶
type WebSocket struct { // Whether to enable custom WebSocket timeout setting. When it’s `off`: it means to keep the default WebSocket connection timeout period, which is 15 seconds. To change the timeout period, please set it to `on`. Switch *string `json:"Switch,omitempty" name:"Switch"` // Sets timeout period in seconds. Maximum value: 120 Timeout *int64 `json:"Timeout,omitempty" name:"Timeout"` }
type Zone ¶
type Zone struct { // Site ID Id *string `json:"Id,omitempty" name:"Id"` // Site name Name *string `json:"Name,omitempty" name:"Name"` // List of name servers used by the site OriginalNameServers []*string `json:"OriginalNameServers,omitempty" name:"OriginalNameServers"` // List of name servers assigned by Tencent Cloud NameServers []*string `json:"NameServers,omitempty" name:"NameServers"` // Site status // - `active`: The name server is switched. // - `pending`: The name server is not switched. // - `moved`: The name server is moved. // - `deactivated`: The name server is blocked. Status *string `json:"Status,omitempty" name:"Status"` // How the site is connected to EdgeOne. // - `full`: The site is connected via name server. // - `partial`: The site is connected via CNAME. Type *string `json:"Type,omitempty" name:"Type"` // Indicates whether the site is disabled Paused *bool `json:"Paused,omitempty" name:"Paused"` // Specifies whether to enable CNAME acceleration // - `enabled`: Enable // - `disabled`: Disable // Note: This field may return null, indicating that no valid values can be obtained. CnameSpeedUp *string `json:"CnameSpeedUp,omitempty" name:"CnameSpeedUp"` // Ownership verification status of the site when it is connected to EdgeOne via CNAME. // - `finished`: The site is verified. // - `pending`: Verifying the ownership of the site. // Note: This field may return `null`, indicating that no valid value can be obtained. CnameStatus *string `json:"CnameStatus,omitempty" name:"CnameStatus"` // Resource tag // Note: This field may return `null`, indicating that no valid value can be obtained. Tags []*Tag `json:"Tags,omitempty" name:"Tags"` // Billable resource // Note: This field may return `null`, indicating that no valid value can be obtained. Resources []*Resource `json:"Resources,omitempty" name:"Resources"` // Site creation date CreatedOn *string `json:"CreatedOn,omitempty" name:"CreatedOn"` // Site modification date ModifiedOn *string `json:"ModifiedOn,omitempty" name:"ModifiedOn"` Area *string `json:"Area,omitempty" name:"Area"` }
type ZoneFilter ¶
type ZoneFilter struct { // Filters by the field name. Vaules: // - `name`: Site name. // - `status`: Site status. // - `tagKey`: Tag key. // - `tagValue`: Tag value. Name *string `json:"Name,omitempty" name:"Name"` // Filters by the field value Values []*string `json:"Values,omitempty" name:"Values"` // Specifies whether to enable fuzzy query. It’s only available when filter name is `name`. If it’s enabled, the length of `Values` must be 1. Fuzzy *bool `json:"Fuzzy,omitempty" name:"Fuzzy"` }