Documentation ¶
Index ¶
- Constants
- type AccelerateMainland
- type AccelerateType
- type AccelerationDomain
- type AccelerationDomainCertificate
- type AclCondition
- type AclConfig
- type AclUserRule
- type Action
- type AdvancedFilter
- type AiRule
- type AlgDetectJS
- type AlgDetectResult
- type AlgDetectRule
- type AlgDetectSession
- type AliasDomain
- type ApplicationProxy
- type ApplicationProxyRule
- type AscriptionInfo
- type BillingData
- type BillingDataFilter
- type BindSecurityTemplateToEntityRequest
- type BindSecurityTemplateToEntityRequestParams
- type BindSecurityTemplateToEntityResponse
- type BindSecurityTemplateToEntityResponseParams
- type BindSharedCNAMEMap
- type BindSharedCNAMERequest
- type BindSharedCNAMERequestParams
- type BindSharedCNAMEResponse
- type BindSharedCNAMEResponseParams
- type BindZoneToPlanRequest
- type BindZoneToPlanRequestParams
- type BindZoneToPlanResponse
- type BindZoneToPlanResponseParams
- type BotConfig
- type BotExtendAction
- type BotManagedRule
- type BotPortraitRule
- type BotUserRule
- type CC
- type CLSTopic
- type Cache
- type CacheConfig
- type CacheKey
- type CachePrefresh
- type CacheTag
- type CertificateInfo
- type CheckCnameStatusRequest
- type CheckCnameStatusRequestParams
- type CheckCnameStatusResponse
- type CheckCnameStatusResponseParams
- type CheckRegionHealthStatus
- type Client
- func (c *Client) BindSecurityTemplateToEntity(request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
- func (c *Client) BindSecurityTemplateToEntityWithContext(ctx context.Context, request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
- func (c *Client) BindSharedCNAME(request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
- func (c *Client) BindSharedCNAMEWithContext(ctx context.Context, request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
- func (c *Client) BindZoneToPlan(request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
- func (c *Client) BindZoneToPlanWithContext(ctx context.Context, request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
- func (c *Client) CheckCnameStatus(request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
- func (c *Client) CheckCnameStatusWithContext(ctx context.Context, request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
- func (c *Client) CreateAccelerationDomain(request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
- func (c *Client) CreateAccelerationDomainWithContext(ctx context.Context, request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
- func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
- func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
- func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
- func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
- func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
- func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
- func (c *Client) CreateCLSIndex(request *CreateCLSIndexRequest) (response *CreateCLSIndexResponse, err error)
- func (c *Client) CreateCLSIndexWithContext(ctx context.Context, request *CreateCLSIndexRequest) (response *CreateCLSIndexResponse, err error)
- func (c *Client) CreateConfigGroupVersion(request *CreateConfigGroupVersionRequest) (response *CreateConfigGroupVersionResponse, err error)
- func (c *Client) CreateConfigGroupVersionWithContext(ctx context.Context, request *CreateConfigGroupVersionRequest) (response *CreateConfigGroupVersionResponse, err error)
- func (c *Client) CreateCustomizeErrorPage(request *CreateCustomizeErrorPageRequest) (response *CreateCustomizeErrorPageResponse, err error)
- func (c *Client) CreateCustomizeErrorPageWithContext(ctx context.Context, request *CreateCustomizeErrorPageRequest) (response *CreateCustomizeErrorPageResponse, err error)
- func (c *Client) CreateFunction(request *CreateFunctionRequest) (response *CreateFunctionResponse, err error)
- func (c *Client) CreateFunctionRule(request *CreateFunctionRuleRequest) (response *CreateFunctionRuleResponse, err error)
- func (c *Client) CreateFunctionRuleWithContext(ctx context.Context, request *CreateFunctionRuleRequest) (response *CreateFunctionRuleResponse, err error)
- func (c *Client) CreateFunctionWithContext(ctx context.Context, request *CreateFunctionRequest) (response *CreateFunctionResponse, err error)
- func (c *Client) CreateL4Proxy(request *CreateL4ProxyRequest) (response *CreateL4ProxyResponse, err error)
- func (c *Client) CreateL4ProxyRules(request *CreateL4ProxyRulesRequest) (response *CreateL4ProxyRulesResponse, err error)
- func (c *Client) CreateL4ProxyRulesWithContext(ctx context.Context, request *CreateL4ProxyRulesRequest) (response *CreateL4ProxyRulesResponse, err error)
- func (c *Client) CreateL4ProxyWithContext(ctx context.Context, request *CreateL4ProxyRequest) (response *CreateL4ProxyResponse, err error)
- func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
- func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, 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) CreatePlan(request *CreatePlanRequest) (response *CreatePlanResponse, err error)
- func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
- func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
- func (c *Client) CreatePlanWithContext(ctx context.Context, request *CreatePlanRequest) (response *CreatePlanResponse, 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) CreateRealtimeLogDeliveryTask(request *CreateRealtimeLogDeliveryTaskRequest) (response *CreateRealtimeLogDeliveryTaskResponse, err error)
- func (c *Client) CreateRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *CreateRealtimeLogDeliveryTaskRequest) (response *CreateRealtimeLogDeliveryTaskResponse, err error)
- func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
- func (c *Client) CreateSecurityIPGroup(request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
- func (c *Client) CreateSecurityIPGroupWithContext(ctx context.Context, request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
- func (c *Client) CreateSharedCNAME(request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
- func (c *Client) CreateSharedCNAMEWithContext(ctx context.Context, request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
- func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
- func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
- func (c *Client) DeleteAccelerationDomains(request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
- func (c *Client) DeleteAccelerationDomainsWithContext(ctx context.Context, request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
- func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
- func (c *Client) DeleteAliasDomainWithContext(ctx context.Context, request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
- func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
- func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
- func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
- func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
- func (c *Client) DeleteCustomErrorPage(request *DeleteCustomErrorPageRequest) (response *DeleteCustomErrorPageResponse, err error)
- func (c *Client) DeleteCustomErrorPageWithContext(ctx context.Context, request *DeleteCustomErrorPageRequest) (response *DeleteCustomErrorPageResponse, err error)
- func (c *Client) DeleteFunction(request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error)
- func (c *Client) DeleteFunctionRules(request *DeleteFunctionRulesRequest) (response *DeleteFunctionRulesResponse, err error)
- func (c *Client) DeleteFunctionRulesWithContext(ctx context.Context, request *DeleteFunctionRulesRequest) (response *DeleteFunctionRulesResponse, err error)
- func (c *Client) DeleteFunctionWithContext(ctx context.Context, request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error)
- func (c *Client) DeleteL4Proxy(request *DeleteL4ProxyRequest) (response *DeleteL4ProxyResponse, err error)
- func (c *Client) DeleteL4ProxyRules(request *DeleteL4ProxyRulesRequest) (response *DeleteL4ProxyRulesResponse, err error)
- func (c *Client) DeleteL4ProxyRulesWithContext(ctx context.Context, request *DeleteL4ProxyRulesRequest) (response *DeleteL4ProxyRulesResponse, err error)
- func (c *Client) DeleteL4ProxyWithContext(ctx context.Context, request *DeleteL4ProxyRequest) (response *DeleteL4ProxyResponse, err error)
- func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
- func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, 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) DeleteRealtimeLogDeliveryTask(request *DeleteRealtimeLogDeliveryTaskRequest) (response *DeleteRealtimeLogDeliveryTaskResponse, err error)
- func (c *Client) DeleteRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *DeleteRealtimeLogDeliveryTaskRequest) (response *DeleteRealtimeLogDeliveryTaskResponse, err error)
- func (c *Client) DeleteRules(request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
- func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
- func (c *Client) DeleteSecurityIPGroup(request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
- func (c *Client) DeleteSecurityIPGroupWithContext(ctx context.Context, request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
- func (c *Client) DeleteSharedCNAME(request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
- func (c *Client) DeleteSharedCNAMEWithContext(ctx context.Context, request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
- func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
- func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
- func (c *Client) DeployConfigGroupVersion(request *DeployConfigGroupVersionRequest) (response *DeployConfigGroupVersionResponse, err error)
- func (c *Client) DeployConfigGroupVersionWithContext(ctx context.Context, request *DeployConfigGroupVersionRequest) (response *DeployConfigGroupVersionResponse, err error)
- func (c *Client) DescribeAccelerationDomains(request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
- func (c *Client) DescribeAccelerationDomainsWithContext(ctx context.Context, request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
- func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
- func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
- func (c *Client) DescribeApplicationProxies(request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
- func (c *Client) DescribeApplicationProxiesWithContext(ctx context.Context, request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
- func (c *Client) DescribeAvailablePlans(request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
- func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
- func (c *Client) DescribeBillingData(request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
- func (c *Client) DescribeBillingDataWithContext(ctx context.Context, request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
- func (c *Client) DescribeConfigGroupVersionDetail(request *DescribeConfigGroupVersionDetailRequest) (response *DescribeConfigGroupVersionDetailResponse, err error)
- func (c *Client) DescribeConfigGroupVersionDetailWithContext(ctx context.Context, request *DescribeConfigGroupVersionDetailRequest) (response *DescribeConfigGroupVersionDetailResponse, err error)
- func (c *Client) DescribeConfigGroupVersions(request *DescribeConfigGroupVersionsRequest) (response *DescribeConfigGroupVersionsResponse, err error)
- func (c *Client) DescribeConfigGroupVersionsWithContext(ctx context.Context, request *DescribeConfigGroupVersionsRequest) (response *DescribeConfigGroupVersionsResponse, err error)
- func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
- func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
- func (c *Client) DescribeCustomErrorPages(request *DescribeCustomErrorPagesRequest) (response *DescribeCustomErrorPagesResponse, err error)
- func (c *Client) DescribeCustomErrorPagesWithContext(ctx context.Context, request *DescribeCustomErrorPagesRequest) (response *DescribeCustomErrorPagesResponse, err error)
- func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
- func (c *Client) DescribeDDoSAttackDataWithContext(ctx context.Context, request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
- func (c *Client) DescribeDDoSAttackEvent(request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
- func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
- func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
- func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
- func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
- func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
- func (c *Client) DescribeDeployHistory(request *DescribeDeployHistoryRequest) (response *DescribeDeployHistoryResponse, err error)
- func (c *Client) DescribeDeployHistoryWithContext(ctx context.Context, request *DescribeDeployHistoryRequest) (response *DescribeDeployHistoryResponse, err error)
- func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
- func (c *Client) DescribeFunctionRules(request *DescribeFunctionRulesRequest) (response *DescribeFunctionRulesResponse, err error)
- func (c *Client) DescribeFunctionRulesWithContext(ctx context.Context, request *DescribeFunctionRulesRequest) (response *DescribeFunctionRulesResponse, err error)
- func (c *Client) DescribeFunctionRuntimeEnvironment(request *DescribeFunctionRuntimeEnvironmentRequest) (response *DescribeFunctionRuntimeEnvironmentResponse, err error)
- func (c *Client) DescribeFunctionRuntimeEnvironmentWithContext(ctx context.Context, request *DescribeFunctionRuntimeEnvironmentRequest) (response *DescribeFunctionRuntimeEnvironmentResponse, err error)
- func (c *Client) DescribeFunctions(request *DescribeFunctionsRequest) (response *DescribeFunctionsResponse, err error)
- func (c *Client) DescribeFunctionsWithContext(ctx context.Context, request *DescribeFunctionsRequest) (response *DescribeFunctionsResponse, 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) DescribeIPRegion(request *DescribeIPRegionRequest) (response *DescribeIPRegionResponse, err error)
- func (c *Client) DescribeIPRegionWithContext(ctx context.Context, request *DescribeIPRegionRequest) (response *DescribeIPRegionResponse, err error)
- func (c *Client) DescribeIdentifications(request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
- func (c *Client) DescribeIdentificationsWithContext(ctx context.Context, request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
- func (c *Client) DescribeL4Proxy(request *DescribeL4ProxyRequest) (response *DescribeL4ProxyResponse, err error)
- func (c *Client) DescribeL4ProxyRules(request *DescribeL4ProxyRulesRequest) (response *DescribeL4ProxyRulesResponse, err error)
- func (c *Client) DescribeL4ProxyRulesWithContext(ctx context.Context, request *DescribeL4ProxyRulesRequest) (response *DescribeL4ProxyRulesResponse, err error)
- func (c *Client) DescribeL4ProxyWithContext(ctx context.Context, request *DescribeL4ProxyRequest) (response *DescribeL4ProxyResponse, err error)
- func (c *Client) DescribeLoadBalancerList(request *DescribeLoadBalancerListRequest) (response *DescribeLoadBalancerListResponse, err error)
- func (c *Client) DescribeLoadBalancerListWithContext(ctx context.Context, request *DescribeLoadBalancerListRequest) (response *DescribeLoadBalancerListResponse, err error)
- func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
- func (c *Client) DescribeOriginGroupHealthStatus(request *DescribeOriginGroupHealthStatusRequest) (response *DescribeOriginGroupHealthStatusResponse, err error)
- func (c *Client) DescribeOriginGroupHealthStatusWithContext(ctx context.Context, request *DescribeOriginGroupHealthStatusRequest) (response *DescribeOriginGroupHealthStatusResponse, err error)
- func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
- func (c *Client) DescribeOriginProtection(request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
- func (c *Client) DescribeOriginProtectionWithContext(ctx context.Context, request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
- func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
- func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
- func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
- func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
- func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
- func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
- func (c *Client) DescribeRealtimeLogDeliveryTasks(request *DescribeRealtimeLogDeliveryTasksRequest) (response *DescribeRealtimeLogDeliveryTasksResponse, err error)
- func (c *Client) DescribeRealtimeLogDeliveryTasksWithContext(ctx context.Context, request *DescribeRealtimeLogDeliveryTasksRequest) (response *DescribeRealtimeLogDeliveryTasksResponse, err error)
- func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
- func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
- func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeSecurityIPGroup(request *DescribeSecurityIPGroupRequest) (response *DescribeSecurityIPGroupResponse, err error)
- func (c *Client) DescribeSecurityIPGroupInfo(request *DescribeSecurityIPGroupInfoRequest) (response *DescribeSecurityIPGroupInfoResponse, err error)
- func (c *Client) DescribeSecurityIPGroupInfoWithContext(ctx context.Context, request *DescribeSecurityIPGroupInfoRequest) (response *DescribeSecurityIPGroupInfoResponse, err error)
- func (c *Client) DescribeSecurityIPGroupWithContext(ctx context.Context, request *DescribeSecurityIPGroupRequest) (response *DescribeSecurityIPGroupResponse, err error)
- func (c *Client) DescribeSecurityTemplateBindings(request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
- func (c *Client) DescribeSecurityTemplateBindingsWithContext(ctx context.Context, request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
- func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
- func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
- func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
- func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
- func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
- func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
- func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
- func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
- func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
- func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
- func (c *Client) DestroyPlan(request *DestroyPlanRequest) (response *DestroyPlanResponse, err error)
- func (c *Client) DestroyPlanWithContext(ctx context.Context, request *DestroyPlanRequest) (response *DestroyPlanResponse, err error)
- func (c *Client) DownloadL4Logs(request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
- func (c *Client) DownloadL4LogsWithContext(ctx context.Context, request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
- func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
- func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
- func (c *Client) HandleFunctionRuntimeEnvironment(request *HandleFunctionRuntimeEnvironmentRequest) (response *HandleFunctionRuntimeEnvironmentResponse, err error)
- func (c *Client) HandleFunctionRuntimeEnvironmentWithContext(ctx context.Context, request *HandleFunctionRuntimeEnvironmentRequest) (response *HandleFunctionRuntimeEnvironmentResponse, 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) IncreasePlanQuota(request *IncreasePlanQuotaRequest) (response *IncreasePlanQuotaResponse, err error)
- func (c *Client) IncreasePlanQuotaWithContext(ctx context.Context, request *IncreasePlanQuotaRequest) (response *IncreasePlanQuotaResponse, err error)
- func (c *Client) ModifyAccelerationDomain(request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
- func (c *Client) ModifyAccelerationDomainStatuses(request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
- func (c *Client) ModifyAccelerationDomainStatusesWithContext(ctx context.Context, request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
- func (c *Client) ModifyAccelerationDomainWithContext(ctx context.Context, request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
- func (c *Client) ModifyAliasDomain(request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
- func (c *Client) ModifyAliasDomainStatus(request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
- func (c *Client) ModifyAliasDomainStatusWithContext(ctx context.Context, request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
- func (c *Client) ModifyAliasDomainWithContext(ctx context.Context, request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
- func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
- func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
- func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
- func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
- func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
- func (c *Client) ModifyCustomErrorPage(request *ModifyCustomErrorPageRequest) (response *ModifyCustomErrorPageResponse, err error)
- func (c *Client) ModifyCustomErrorPageWithContext(ctx context.Context, request *ModifyCustomErrorPageRequest) (response *ModifyCustomErrorPageResponse, err error)
- func (c *Client) ModifyFunction(request *ModifyFunctionRequest) (response *ModifyFunctionResponse, err error)
- func (c *Client) ModifyFunctionRule(request *ModifyFunctionRuleRequest) (response *ModifyFunctionRuleResponse, err error)
- func (c *Client) ModifyFunctionRulePriority(request *ModifyFunctionRulePriorityRequest) (response *ModifyFunctionRulePriorityResponse, err error)
- func (c *Client) ModifyFunctionRulePriorityWithContext(ctx context.Context, request *ModifyFunctionRulePriorityRequest) (response *ModifyFunctionRulePriorityResponse, err error)
- func (c *Client) ModifyFunctionRuleWithContext(ctx context.Context, request *ModifyFunctionRuleRequest) (response *ModifyFunctionRuleResponse, err error)
- func (c *Client) ModifyFunctionWithContext(ctx context.Context, request *ModifyFunctionRequest) (response *ModifyFunctionResponse, 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) ModifyL4Proxy(request *ModifyL4ProxyRequest) (response *ModifyL4ProxyResponse, err error)
- func (c *Client) ModifyL4ProxyRules(request *ModifyL4ProxyRulesRequest) (response *ModifyL4ProxyRulesResponse, err error)
- func (c *Client) ModifyL4ProxyRulesStatus(request *ModifyL4ProxyRulesStatusRequest) (response *ModifyL4ProxyRulesStatusResponse, err error)
- func (c *Client) ModifyL4ProxyRulesStatusWithContext(ctx context.Context, request *ModifyL4ProxyRulesStatusRequest) (response *ModifyL4ProxyRulesStatusResponse, err error)
- func (c *Client) ModifyL4ProxyRulesWithContext(ctx context.Context, request *ModifyL4ProxyRulesRequest) (response *ModifyL4ProxyRulesResponse, err error)
- func (c *Client) ModifyL4ProxyStatus(request *ModifyL4ProxyStatusRequest) (response *ModifyL4ProxyStatusResponse, err error)
- func (c *Client) ModifyL4ProxyStatusWithContext(ctx context.Context, request *ModifyL4ProxyStatusRequest) (response *ModifyL4ProxyStatusResponse, err error)
- func (c *Client) ModifyL4ProxyWithContext(ctx context.Context, request *ModifyL4ProxyRequest) (response *ModifyL4ProxyResponse, err error)
- func (c *Client) ModifyLoadBalancer(request *ModifyLoadBalancerRequest) (response *ModifyLoadBalancerResponse, err error)
- func (c *Client) ModifyLoadBalancerWithContext(ctx context.Context, request *ModifyLoadBalancerRequest) (response *ModifyLoadBalancerResponse, 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) ModifyPlan(request *ModifyPlanRequest) (response *ModifyPlanResponse, err error)
- func (c *Client) ModifyPlanWithContext(ctx context.Context, request *ModifyPlanRequest) (response *ModifyPlanResponse, err error)
- func (c *Client) ModifyRealtimeLogDeliveryTask(request *ModifyRealtimeLogDeliveryTaskRequest) (response *ModifyRealtimeLogDeliveryTaskResponse, err error)
- func (c *Client) ModifyRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *ModifyRealtimeLogDeliveryTaskRequest) (response *ModifyRealtimeLogDeliveryTaskResponse, err error)
- func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
- func (c *Client) ModifySecurityIPGroup(request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
- func (c *Client) ModifySecurityIPGroupWithContext(ctx context.Context, request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
- func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
- func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
- func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
- func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
- func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
- func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
- func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
- func (c *Client) RenewPlan(request *RenewPlanRequest) (response *RenewPlanResponse, err error)
- func (c *Client) RenewPlanWithContext(ctx context.Context, request *RenewPlanRequest) (response *RenewPlanResponse, err error)
- func (c *Client) UpgradePlan(request *UpgradePlanRequest) (response *UpgradePlanResponse, err error)
- func (c *Client) UpgradePlanWithContext(ctx context.Context, request *UpgradePlanRequest) (response *UpgradePlanResponse, err error)
- func (c *Client) VerifyOwnership(request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
- func (c *Client) VerifyOwnershipWithContext(ctx context.Context, request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
- type ClientIpCountry
- type ClientIpHeader
- type CnameStatus
- type CodeAction
- type Compression
- type ConfigGroupVersionInfo
- type CreateAccelerationDomainRequest
- type CreateAccelerationDomainRequestParams
- type CreateAccelerationDomainResponse
- type CreateAccelerationDomainResponseParams
- type CreateAliasDomainRequest
- type CreateAliasDomainRequestParams
- type CreateAliasDomainResponse
- type CreateAliasDomainResponseParams
- type CreateApplicationProxyRequest
- type CreateApplicationProxyRequestParams
- type CreateApplicationProxyResponse
- type CreateApplicationProxyResponseParams
- type CreateApplicationProxyRuleRequest
- type CreateApplicationProxyRuleRequestParams
- type CreateApplicationProxyRuleResponse
- type CreateApplicationProxyRuleResponseParams
- type CreateCLSIndexRequest
- type CreateCLSIndexRequestParams
- type CreateCLSIndexResponse
- type CreateCLSIndexResponseParams
- type CreateConfigGroupVersionRequest
- type CreateConfigGroupVersionRequestParams
- type CreateConfigGroupVersionResponse
- type CreateConfigGroupVersionResponseParams
- type CreateCustomizeErrorPageRequest
- type CreateCustomizeErrorPageRequestParams
- type CreateCustomizeErrorPageResponse
- type CreateCustomizeErrorPageResponseParams
- type CreateFunctionRequest
- type CreateFunctionRequestParams
- type CreateFunctionResponse
- type CreateFunctionResponseParams
- type CreateFunctionRuleRequest
- type CreateFunctionRuleRequestParams
- type CreateFunctionRuleResponse
- type CreateFunctionRuleResponseParams
- type CreateL4ProxyRequest
- type CreateL4ProxyRequestParams
- type CreateL4ProxyResponse
- type CreateL4ProxyResponseParams
- type CreateL4ProxyRulesRequest
- type CreateL4ProxyRulesRequestParams
- type CreateL4ProxyRulesResponse
- type CreateL4ProxyRulesResponseParams
- type CreateLoadBalancerRequest
- type CreateLoadBalancerRequestParams
- type CreateLoadBalancerResponse
- type CreateLoadBalancerResponseParams
- type CreateOriginGroupRequest
- type CreateOriginGroupRequestParams
- type CreateOriginGroupResponse
- type CreateOriginGroupResponseParams
- type CreatePlanForZoneRequest
- type CreatePlanForZoneRequestParams
- type CreatePlanForZoneResponse
- type CreatePlanForZoneResponseParams
- type CreatePlanRequest
- type CreatePlanRequestParams
- type CreatePlanResponse
- type CreatePlanResponseParams
- type CreatePrefetchTaskRequest
- type CreatePrefetchTaskRequestParams
- type CreatePrefetchTaskResponse
- type CreatePrefetchTaskResponseParams
- type CreatePurgeTaskRequest
- type CreatePurgeTaskRequestParams
- type CreatePurgeTaskResponse
- type CreatePurgeTaskResponseParams
- type CreateRealtimeLogDeliveryTaskRequest
- type CreateRealtimeLogDeliveryTaskRequestParams
- type CreateRealtimeLogDeliveryTaskResponse
- type CreateRealtimeLogDeliveryTaskResponseParams
- type CreateRuleRequest
- type CreateRuleRequestParams
- type CreateRuleResponse
- type CreateRuleResponseParams
- type CreateSecurityIPGroupRequest
- type CreateSecurityIPGroupRequestParams
- type CreateSecurityIPGroupResponse
- type CreateSecurityIPGroupResponseParams
- type CreateSharedCNAMERequest
- type CreateSharedCNAMERequestParams
- type CreateSharedCNAMEResponse
- type CreateSharedCNAMEResponseParams
- type CreateZoneRequest
- type CreateZoneRequestParams
- type CreateZoneResponse
- type CreateZoneResponseParams
- type CustomEndpoint
- type CustomErrorPage
- type CustomField
- type CustomizedHeader
- type DDoS
- type DDoSAttackEvent
- type DDoSBlockData
- type DDosProtectionConfig
- type DefaultServerCertInfo
- type DeleteAccelerationDomainsRequest
- type DeleteAccelerationDomainsRequestParams
- type DeleteAccelerationDomainsResponse
- type DeleteAccelerationDomainsResponseParams
- type DeleteAliasDomainRequest
- type DeleteAliasDomainRequestParams
- type DeleteAliasDomainResponse
- type DeleteAliasDomainResponseParams
- type DeleteApplicationProxyRequest
- type DeleteApplicationProxyRequestParams
- type DeleteApplicationProxyResponse
- type DeleteApplicationProxyResponseParams
- type DeleteApplicationProxyRuleRequest
- type DeleteApplicationProxyRuleRequestParams
- type DeleteApplicationProxyRuleResponse
- type DeleteApplicationProxyRuleResponseParams
- type DeleteCustomErrorPageRequest
- type DeleteCustomErrorPageRequestParams
- type DeleteCustomErrorPageResponse
- type DeleteCustomErrorPageResponseParams
- type DeleteFunctionRequest
- type DeleteFunctionRequestParams
- type DeleteFunctionResponse
- type DeleteFunctionResponseParams
- type DeleteFunctionRulesRequest
- type DeleteFunctionRulesRequestParams
- type DeleteFunctionRulesResponse
- type DeleteFunctionRulesResponseParams
- type DeleteL4ProxyRequest
- type DeleteL4ProxyRequestParams
- type DeleteL4ProxyResponse
- type DeleteL4ProxyResponseParams
- type DeleteL4ProxyRulesRequest
- type DeleteL4ProxyRulesRequestParams
- type DeleteL4ProxyRulesResponse
- type DeleteL4ProxyRulesResponseParams
- type DeleteLoadBalancerRequest
- type DeleteLoadBalancerRequestParams
- type DeleteLoadBalancerResponse
- type DeleteLoadBalancerResponseParams
- type DeleteOriginGroupRequest
- type DeleteOriginGroupRequestParams
- type DeleteOriginGroupResponse
- type DeleteOriginGroupResponseParams
- type DeleteRealtimeLogDeliveryTaskRequest
- type DeleteRealtimeLogDeliveryTaskRequestParams
- type DeleteRealtimeLogDeliveryTaskResponse
- type DeleteRealtimeLogDeliveryTaskResponseParams
- type DeleteRulesRequest
- type DeleteRulesRequestParams
- type DeleteRulesResponse
- type DeleteRulesResponseParams
- type DeleteSecurityIPGroupRequest
- type DeleteSecurityIPGroupRequestParams
- type DeleteSecurityIPGroupResponse
- type DeleteSecurityIPGroupResponseParams
- type DeleteSharedCNAMERequest
- type DeleteSharedCNAMERequestParams
- type DeleteSharedCNAMEResponse
- type DeleteSharedCNAMEResponseParams
- type DeleteZoneRequest
- type DeleteZoneRequestParams
- type DeleteZoneResponse
- type DeleteZoneResponseParams
- type DeliveryCondition
- type DeployConfigGroupVersionRequest
- type DeployConfigGroupVersionRequestParams
- type DeployConfigGroupVersionResponse
- type DeployConfigGroupVersionResponseParams
- type DeployRecord
- type DescribeAccelerationDomainsRequest
- type DescribeAccelerationDomainsRequestParams
- type DescribeAccelerationDomainsResponse
- type DescribeAccelerationDomainsResponseParams
- type DescribeAliasDomainsRequest
- type DescribeAliasDomainsRequestParams
- type DescribeAliasDomainsResponse
- type DescribeAliasDomainsResponseParams
- type DescribeApplicationProxiesRequest
- type DescribeApplicationProxiesRequestParams
- type DescribeApplicationProxiesResponse
- type DescribeApplicationProxiesResponseParams
- type DescribeAvailablePlansRequest
- type DescribeAvailablePlansRequestParams
- type DescribeAvailablePlansResponse
- type DescribeAvailablePlansResponseParams
- type DescribeBillingDataRequest
- type DescribeBillingDataRequestParams
- type DescribeBillingDataResponse
- type DescribeBillingDataResponseParams
- type DescribeConfigGroupVersionDetailRequest
- type DescribeConfigGroupVersionDetailRequestParams
- type DescribeConfigGroupVersionDetailResponse
- type DescribeConfigGroupVersionDetailResponseParams
- type DescribeConfigGroupVersionsRequest
- type DescribeConfigGroupVersionsRequestParams
- type DescribeConfigGroupVersionsResponse
- type DescribeConfigGroupVersionsResponseParams
- type DescribeContentQuotaRequest
- type DescribeContentQuotaRequestParams
- type DescribeContentQuotaResponse
- type DescribeContentQuotaResponseParams
- type DescribeCustomErrorPagesRequest
- type DescribeCustomErrorPagesRequestParams
- type DescribeCustomErrorPagesResponse
- type DescribeCustomErrorPagesResponseParams
- type DescribeDDoSAttackDataRequest
- type DescribeDDoSAttackDataRequestParams
- type DescribeDDoSAttackDataResponse
- type DescribeDDoSAttackDataResponseParams
- type DescribeDDoSAttackEventRequest
- type DescribeDDoSAttackEventRequestParams
- type DescribeDDoSAttackEventResponse
- type DescribeDDoSAttackEventResponseParams
- type DescribeDDoSAttackTopDataRequest
- type DescribeDDoSAttackTopDataRequestParams
- type DescribeDDoSAttackTopDataResponse
- type DescribeDDoSAttackTopDataResponseParams
- type DescribeDefaultCertificatesRequest
- type DescribeDefaultCertificatesRequestParams
- type DescribeDefaultCertificatesResponse
- type DescribeDefaultCertificatesResponseParams
- type DescribeDeployHistoryRequest
- type DescribeDeployHistoryRequestParams
- type DescribeDeployHistoryResponse
- type DescribeDeployHistoryResponseParams
- type DescribeEnvironmentsRequest
- type DescribeEnvironmentsRequestParams
- type DescribeEnvironmentsResponse
- type DescribeEnvironmentsResponseParams
- type DescribeFunctionRulesRequest
- type DescribeFunctionRulesRequestParams
- type DescribeFunctionRulesResponse
- type DescribeFunctionRulesResponseParams
- type DescribeFunctionRuntimeEnvironmentRequest
- type DescribeFunctionRuntimeEnvironmentRequestParams
- type DescribeFunctionRuntimeEnvironmentResponse
- type DescribeFunctionRuntimeEnvironmentResponseParams
- type DescribeFunctionsRequest
- type DescribeFunctionsRequestParams
- type DescribeFunctionsResponse
- type DescribeFunctionsResponseParams
- type DescribeHostsSettingRequest
- type DescribeHostsSettingRequestParams
- type DescribeHostsSettingResponse
- type DescribeHostsSettingResponseParams
- type DescribeIPRegionRequest
- type DescribeIPRegionRequestParams
- type DescribeIPRegionResponse
- type DescribeIPRegionResponseParams
- type DescribeIdentificationsRequest
- type DescribeIdentificationsRequestParams
- type DescribeIdentificationsResponse
- type DescribeIdentificationsResponseParams
- type DescribeL4ProxyRequest
- type DescribeL4ProxyRequestParams
- type DescribeL4ProxyResponse
- type DescribeL4ProxyResponseParams
- type DescribeL4ProxyRulesRequest
- type DescribeL4ProxyRulesRequestParams
- type DescribeL4ProxyRulesResponse
- type DescribeL4ProxyRulesResponseParams
- type DescribeLoadBalancerListRequest
- type DescribeLoadBalancerListRequestParams
- type DescribeLoadBalancerListResponse
- type DescribeLoadBalancerListResponseParams
- type DescribeOriginGroupHealthStatusRequest
- type DescribeOriginGroupHealthStatusRequestParams
- type DescribeOriginGroupHealthStatusResponse
- type DescribeOriginGroupHealthStatusResponseParams
- type DescribeOriginGroupRequest
- type DescribeOriginGroupRequestParams
- type DescribeOriginGroupResponse
- type DescribeOriginGroupResponseParams
- type DescribeOriginProtectionRequest
- type DescribeOriginProtectionRequestParams
- type DescribeOriginProtectionResponse
- type DescribeOriginProtectionResponseParams
- type DescribeOverviewL7DataRequest
- type DescribeOverviewL7DataRequestParams
- type DescribeOverviewL7DataResponse
- type DescribeOverviewL7DataResponseParams
- type DescribePrefetchTasksRequest
- type DescribePrefetchTasksRequestParams
- type DescribePrefetchTasksResponse
- type DescribePrefetchTasksResponseParams
- type DescribePurgeTasksRequest
- type DescribePurgeTasksRequestParams
- type DescribePurgeTasksResponse
- type DescribePurgeTasksResponseParams
- type DescribeRealtimeLogDeliveryTasksRequest
- type DescribeRealtimeLogDeliveryTasksRequestParams
- type DescribeRealtimeLogDeliveryTasksResponse
- type DescribeRealtimeLogDeliveryTasksResponseParams
- type DescribeRulesRequest
- type DescribeRulesRequestParams
- type DescribeRulesResponse
- type DescribeRulesResponseParams
- type DescribeRulesSettingRequest
- type DescribeRulesSettingRequestParams
- type DescribeRulesSettingResponse
- type DescribeRulesSettingResponseParams
- type DescribeSecurityIPGroupInfoRequest
- type DescribeSecurityIPGroupInfoRequestParams
- type DescribeSecurityIPGroupInfoResponse
- type DescribeSecurityIPGroupInfoResponseParams
- type DescribeSecurityIPGroupRequest
- type DescribeSecurityIPGroupRequestParams
- type DescribeSecurityIPGroupResponse
- type DescribeSecurityIPGroupResponseParams
- type DescribeSecurityTemplateBindingsRequest
- type DescribeSecurityTemplateBindingsRequestParams
- type DescribeSecurityTemplateBindingsResponse
- type DescribeSecurityTemplateBindingsResponseParams
- type DescribeTimingL4DataRequest
- type DescribeTimingL4DataRequestParams
- type DescribeTimingL4DataResponse
- type DescribeTimingL4DataResponseParams
- type DescribeTimingL7AnalysisDataRequest
- type DescribeTimingL7AnalysisDataRequestParams
- type DescribeTimingL7AnalysisDataResponse
- type DescribeTimingL7AnalysisDataResponseParams
- type DescribeTimingL7CacheDataRequest
- type DescribeTimingL7CacheDataRequestParams
- type DescribeTimingL7CacheDataResponse
- type DescribeTimingL7CacheDataResponseParams
- type DescribeTopL7AnalysisDataRequest
- type DescribeTopL7AnalysisDataRequestParams
- type DescribeTopL7AnalysisDataResponse
- type DescribeTopL7AnalysisDataResponseParams
- type DescribeTopL7CacheDataRequest
- type DescribeTopL7CacheDataRequestParams
- type DescribeTopL7CacheDataResponse
- type DescribeTopL7CacheDataResponseParams
- type DescribeZoneSettingRequest
- type DescribeZoneSettingRequestParams
- type DescribeZoneSettingResponse
- type DescribeZoneSettingResponseParams
- type DescribeZonesRequest
- type DescribeZonesRequestParams
- type DescribeZonesResponse
- type DescribeZonesResponseParams
- type DestroyPlanRequest
- type DestroyPlanRequestParams
- type DestroyPlanResponse
- type DestroyPlanResponseParams
- type DetailHost
- type DiffIPWhitelist
- type DnsVerification
- type DownloadL4LogsRequest
- type DownloadL4LogsRequestParams
- type DownloadL4LogsResponse
- type DownloadL4LogsResponseParams
- type DownloadL7LogsRequest
- type DownloadL7LogsRequestParams
- type DownloadL7LogsResponse
- type DownloadL7LogsResponseParams
- type DropPageConfig
- type DropPageDetail
- type EntityStatus
- type EnvInfo
- type ErrorPageReference
- type ExceptConfig
- type ExceptUserRule
- type ExceptUserRuleCondition
- type ExceptUserRuleScope
- type FailReason
- type FileAscriptionInfo
- type FileVerification
- type Filter
- type FirstPartConfig
- type FollowOrigin
- type ForceRedirect
- type Function
- type FunctionEnvironmentVariable
- type FunctionRule
- type FunctionRuleCondition
- type Grpc
- type HandleFunctionRuntimeEnvironmentRequest
- type HandleFunctionRuntimeEnvironmentRequestParams
- type HandleFunctionRuntimeEnvironmentResponse
- type HandleFunctionRuntimeEnvironmentResponseParams
- type Header
- type HealthChecker
- type Hsts
- type Https
- type IPGroup
- type IPRegionInfo
- type IPWhitelist
- type Identification
- type IdentifyZoneRequest
- type IdentifyZoneRequestParams
- type IdentifyZoneResponse
- type IdentifyZoneResponseParams
- type ImageOptimize
- type IncreasePlanQuotaRequest
- type IncreasePlanQuotaRequestParams
- type IncreasePlanQuotaResponse
- type IncreasePlanQuotaResponseParams
- type IntelligenceRule
- type IntelligenceRuleItem
- type IpTableConfig
- type IpTableRule
- type Ipv6
- type JITVideoProcess
- type L4OfflineLog
- type L4Proxy
- type L4ProxyRemoteAuth
- type L4ProxyRule
- type L7OfflineLog
- type LoadBalancer
- type LogFormat
- type MaxAge
- type ModifyAccelerationDomainRequest
- type ModifyAccelerationDomainRequestParams
- type ModifyAccelerationDomainResponse
- type ModifyAccelerationDomainResponseParams
- type ModifyAccelerationDomainStatusesRequest
- type ModifyAccelerationDomainStatusesRequestParams
- type ModifyAccelerationDomainStatusesResponse
- type ModifyAccelerationDomainStatusesResponseParams
- type ModifyAliasDomainRequest
- type ModifyAliasDomainRequestParams
- type ModifyAliasDomainResponse
- type ModifyAliasDomainResponseParams
- type ModifyAliasDomainStatusRequest
- type ModifyAliasDomainStatusRequestParams
- type ModifyAliasDomainStatusResponse
- type ModifyAliasDomainStatusResponseParams
- type ModifyApplicationProxyRequest
- type ModifyApplicationProxyRequestParams
- type ModifyApplicationProxyResponse
- type ModifyApplicationProxyResponseParams
- type ModifyApplicationProxyRuleRequest
- type ModifyApplicationProxyRuleRequestParams
- type ModifyApplicationProxyRuleResponse
- type ModifyApplicationProxyRuleResponseParams
- type ModifyApplicationProxyRuleStatusRequest
- type ModifyApplicationProxyRuleStatusRequestParams
- type ModifyApplicationProxyRuleStatusResponse
- type ModifyApplicationProxyRuleStatusResponseParams
- type ModifyApplicationProxyStatusRequest
- type ModifyApplicationProxyStatusRequestParams
- type ModifyApplicationProxyStatusResponse
- type ModifyApplicationProxyStatusResponseParams
- type ModifyCustomErrorPageRequest
- type ModifyCustomErrorPageRequestParams
- type ModifyCustomErrorPageResponse
- type ModifyCustomErrorPageResponseParams
- type ModifyFunctionRequest
- type ModifyFunctionRequestParams
- type ModifyFunctionResponse
- type ModifyFunctionResponseParams
- type ModifyFunctionRulePriorityRequest
- type ModifyFunctionRulePriorityRequestParams
- type ModifyFunctionRulePriorityResponse
- type ModifyFunctionRulePriorityResponseParams
- type ModifyFunctionRuleRequest
- type ModifyFunctionRuleRequestParams
- type ModifyFunctionRuleResponse
- type ModifyFunctionRuleResponseParams
- type ModifyHostsCertificateRequest
- type ModifyHostsCertificateRequestParams
- type ModifyHostsCertificateResponse
- type ModifyHostsCertificateResponseParams
- type ModifyL4ProxyRequest
- type ModifyL4ProxyRequestParams
- type ModifyL4ProxyResponse
- type ModifyL4ProxyResponseParams
- type ModifyL4ProxyRulesRequest
- type ModifyL4ProxyRulesRequestParams
- type ModifyL4ProxyRulesResponse
- type ModifyL4ProxyRulesResponseParams
- type ModifyL4ProxyRulesStatusRequest
- type ModifyL4ProxyRulesStatusRequestParams
- type ModifyL4ProxyRulesStatusResponse
- type ModifyL4ProxyRulesStatusResponseParams
- type ModifyL4ProxyStatusRequest
- type ModifyL4ProxyStatusRequestParams
- type ModifyL4ProxyStatusResponse
- type ModifyL4ProxyStatusResponseParams
- type ModifyLoadBalancerRequest
- type ModifyLoadBalancerRequestParams
- type ModifyLoadBalancerResponse
- type ModifyLoadBalancerResponseParams
- type ModifyOriginGroupRequest
- type ModifyOriginGroupRequestParams
- type ModifyOriginGroupResponse
- type ModifyOriginGroupResponseParams
- type ModifyPlanRequest
- type ModifyPlanRequestParams
- type ModifyPlanResponse
- type ModifyPlanResponseParams
- type ModifyRealtimeLogDeliveryTaskRequest
- type ModifyRealtimeLogDeliveryTaskRequestParams
- type ModifyRealtimeLogDeliveryTaskResponse
- type ModifyRealtimeLogDeliveryTaskResponseParams
- type ModifyRuleRequest
- type ModifyRuleRequestParams
- type ModifyRuleResponse
- type ModifyRuleResponseParams
- type ModifySecurityIPGroupRequest
- type ModifySecurityIPGroupRequestParams
- type ModifySecurityIPGroupResponse
- type ModifySecurityIPGroupResponseParams
- type ModifySecurityPolicyRequest
- type ModifySecurityPolicyRequestParams
- type ModifySecurityPolicyResponse
- type ModifySecurityPolicyResponseParams
- type ModifyZoneRequest
- type ModifyZoneRequestParams
- type ModifyZoneResponse
- type ModifyZoneResponseParams
- type ModifyZoneSettingRequest
- type ModifyZoneSettingRequestParams
- type ModifyZoneSettingResponse
- type ModifyZoneSettingResponseParams
- type ModifyZoneStatusRequest
- type ModifyZoneStatusRequestParams
- type ModifyZoneStatusResponse
- type ModifyZoneStatusResponseParams
- type MutualTLS
- type NoCache
- type NormalAction
- type NsVerification
- type OfflineCache
- type Origin
- type OriginDetail
- type OriginGroup
- type OriginGroupHealthStatus
- type OriginGroupHealthStatusDetail
- type OriginGroupInLoadBalancer
- type OriginGroupReference
- type OriginHealthStatus
- type OriginInfo
- type OriginProtectionInfo
- type OriginRecord
- type OwnershipVerification
- type PartialModule
- type PlanInfo
- type PostMaxSize
- type PrepaidPlanParam
- type PrivateParameter
- type QueryCondition
- type QueryString
- type Quic
- type Quota
- type RateLimitConfig
- type RateLimitIntelligence
- type RateLimitTemplate
- type RateLimitTemplateDetail
- type RateLimitUserRule
- type RealtimeLogDeliveryTask
- type RenewFlag
- type RenewPlanRequest
- type RenewPlanRequestParams
- type RenewPlanResponse
- type RenewPlanResponseParams
- type Resource
- type RewriteAction
- type Rule
- type RuleAndConditions
- type RuleChoicePropertiesItem
- type RuleCodeActionParams
- type RuleCondition
- type RuleExtraParameter
- type RuleItem
- type RuleNormalActionParams
- type RuleRewriteActionParams
- type RulesProperties
- type RulesSettingAction
- type S3
- type SecEntry
- type SecEntryValue
- type SecurityConfig
- type SecurityTemplateBinding
- type SecurityType
- type ServerCertInfo
- type SkipCondition
- type SlowPostConfig
- type SlowRateConfig
- type SmartRouting
- type StandardDebug
- type SubRule
- type SubRuleItem
- type Sv
- type SwitchConfig
- type Tag
- type Task
- type TemplateConfig
- type TemplateScope
- type TimingDataItem
- type TimingDataRecord
- type TimingTypeValue
- type TopDataRecord
- type TopDetailData
- type TopEntry
- type TopEntryValue
- type UpgradePlanRequest
- type UpgradePlanRequestParams
- type UpgradePlanResponse
- type UpgradePlanResponseParams
- type UpstreamCertInfo
- type UpstreamHttp2
- type VanityNameServers
- type VanityNameServersIps
- type VerifyOwnershipRequest
- type VerifyOwnershipRequestParams
- type VerifyOwnershipResponse
- type VerifyOwnershipResponseParams
- type Waf
- type WafConfig
- type WafRule
- type WebSocket
- type Zone
- type ZoneSetting
Constants ¶
const ( // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 边缘HTTPS证书已过期,暂不支持下发过期证书。 FAILEDOPERATION_CERTIFICATEHASEXPIRED = "FailedOperation.CertificateHasExpired" // 边缘HTTPS证书不存在。 FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" // 配置文件Condition表达式语法错误。 FAILEDOPERATION_CONFIGCONDITIONSYNTAXERROR = "FailedOperation.ConfigConditionSyntaxError" // 无法识别的Condition匹配类型。 FAILEDOPERATION_CONFIGCONDITIONUNKNOWNTARGET = "FailedOperation.ConfigConditionUnknownTarget" // 配置文件Condition表达式值的项不能为空。 FAILEDOPERATION_CONFIGCONDITIONVALUEEMPTYERROR = "FailedOperation.ConfigConditionValueEmptyError" // 配置文件存在类型不匹配的字段。 FAILEDOPERATION_CONFIGFIELDTYPEERROR = "FailedOperation.ConfigFieldTypeError" // 配置文件存在语法错误。 FAILEDOPERATION_CONFIGFORMATERROR = "FailedOperation.ConfigFormatError" // 配置文件内容格式错误,无法解析。 FAILEDOPERATION_CONFIGMALFORMEDCONTENT = "FailedOperation.ConfigMalformedContent" // 配置文件参数校验错误。 FAILEDOPERATION_CONFIGPARAMVALIDATEERRORS = "FailedOperation.ConfigParamValidateErrors" // 配置文件无法识别的字段:存在拼写错误,或者该字段所在的层级出错。 FAILEDOPERATION_CONFIGUNKNOWNFIELD = "FailedOperation.ConfigUnknownField" // 当前不支持该配置文件版本。 FAILEDOPERATION_CONFIGUNSUPPORTEDFORMATVERSION = "FailedOperation.ConfigUnsupportedFormatVersion" // 创建日志集失败,请检查日志集名是否已存在。 FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed" // 创建日志主题任务失败,请检查日志主题名或任务名是否已存在。 FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed" // 创建自定义推送任务认证失败, 请检查推送地址是否正确。 FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = "FailedOperation.CreateLogTopicTaskAuthFailure" // 边缘客户端证书已过期,暂不支持下发过期证书。 FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = "FailedOperation.EdgeClientCertificateHasExpired" // 有其他任务正在部署中,请稍后重试。 FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" // 账户余额不足。 FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" // 站点状态不正确。 FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" // content缺少必带的配置块。 FAILEDOPERATION_MISSINGCONFIGCHUNK = "FailedOperation.MissingConfigChunk" // 操作失败。 FAILEDOPERATION_MODIFYFAILED = "FailedOperation.ModifyFailed" // 实时日志认证失败 FAILEDOPERATION_REALTIMELOGAUTHFAILURE = "FailedOperation.RealtimeLogAuthFailure" // 实时日志推送任务不存在 FAILEDOPERATION_REALTIMELOGNOTFOUND = "FailedOperation.RealtimeLogNotFound" // 该站点下函数规则操作冲突。 FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" // 未知的配置组类型。 FAILEDOPERATION_UNKNOWNCONFIGGROUPTYPE = "FailedOperation.UnknownConfigGroupType" // 回源客户端证书已过期,暂不支持下发过期证书。 FAILEDOPERATION_UPSTREAMCLIENTCERTIFICATEHASEXPIRED = "FailedOperation.UpstreamClientCertificateHasExpired" // 内部错误。 INTERNALERROR = "InternalError" // 后台处理出错。 INTERNALERROR_BACKENDERROR = "InternalError.BackendError" // 配置已被锁定,请解除配置锁定之后在重试。 INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" // 数据库错误。 INTERNALERROR_DBERROR = "InternalError.DBError" // 获取配置失败。 INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" // 调用 DNSPod 失败,请稍后重试,若无法解决,请联系智能客服或提交工单。 INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod" // 上传链接生成失败。 INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" // 获取角色失败。 INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" // 后端服务器发生未知错误。 INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" // 配额系统处理失败。 INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" // 后端服务路由地址错误。 INTERNALERROR_ROUTEERROR = "InternalError.RouteError" // 内部错误-系统错误。 INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" // 未知错误。 INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 正则表达式非标准RE2格式。 INVALIDPARAMETER_ACCESSREDIRECTREGEXERROR = "InvalidParameter.AccessRedirectRegexError" // 操作频繁,请稍后重试。 INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" // 别称域名不支持配无私钥证书。 INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTKEYLESS = "InvalidParameter.AliasDomainNotSupportKeyless" // 别称域名不支持配置国密证书。 INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert" // 函数内容存在语法错误。 INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent" // 函数名称不符合命名规范。 INVALIDPARAMETER_BADFUNCTIONNAME = "InvalidParameter.BadFunctionName" // 无效的查询字符串。 INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff" // 查询字符串规则超过了限制。 INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" // 无效的边缘HTTPS证书配置,证书与域名不匹配。 INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" // 内部错误。 INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" // 边缘HTTPS证书即将过期。 INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" // 无效的边缘HTTPS证书配置,密钥长度不符合最短要求RSA>=2048,DSA>=2048,DH>=2048,EC>=225。 INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" // 待变更域名未绑定证书或 keyless 服务端,请先绑定后再操作。 INVALIDPARAMETER_CERTIFICATECONFLICTWITHKEYLESSSERVER = "InvalidParameter.CertificateConflictWithKeylessServer" // IPv6 访问与客户端 IP 地理位置功能冲突。 INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" // CNAME模式下无法申请泛域名证书。 INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" // 无效的压缩算法。 INVALIDPARAMETER_COMPRESSIONINVALIDALGORITHMS = "InvalidParameter.CompressionInvalidAlgorithms" // 源站不能和域名一致。 INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" // 函数内容超过大小限制。 INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit" // 域名不存在或不属于该账号。 INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" // 当前域名已开启流量调度功能。 INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" // 重复规则。 INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" // 无效的边缘客户端证书配置。 INVALIDPARAMETER_EDGECLIENTCERTCHECKERROR = "InvalidParameter.EdgeClientCertCheckError" // 操作不支持条件。 INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" // 非法操作。 INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" // 非法操作-操作配置重复。 INVALIDPARAMETER_ERRINVALIDACTIONDUPLICATEACTION = "InvalidParameter.ErrInvalidActionDuplicateAction" // 无效的规则引擎操作,源站IP不支持内网IP或回环地址。 INVALIDPARAMETER_ERRINVALIDACTIONORIGINPRIVATEADDRESS = "InvalidParameter.ErrInvalidActionOriginPrivateAddress" // 非法操作-非法参数。 INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" // 非法操作-非法参数-无效action。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" // 非法操作-非法参数-无效参数值类型。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" // 非法操作-非法参数-参数名重复。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" // 非法操作-非法参数-无效参数值类型。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" // 非法操作-非法参数-参数值数量超出限制。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" // 非法操作-非法参数-无效参数值。 INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" // 非法操作-非法类型。 INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" // 非法条件。 INVALIDPARAMETER_ERRINVALIDCONDITION = "InvalidParameter.ErrInvalidCondition" // 修改源站操作不能仅配置host匹配类型。 INVALIDPARAMETER_ERRINVALIDCONDITIONCANNOTONLYCONTAINHOSTWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionCannotOnlyContainHostWhenModifyOriginActionConfigured" // 修改源站操作仅支持配置一个host匹配类型。 INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured" // 非法条件-非法忽略大小写。 INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" // 非法条件-非法参数名称-无效的参数名称。 INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" // 非法条件-非法参数名称-匹配类型不支持参数名称。 INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" // 非法条件-非法参数值-无效的正则表达式。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" // 非法条件-非法参数值-无效的url。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" // 非法条件-非法参数值-无效的参数值。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" // 非法条件-非法参数值-无效的参数值-文件名不应包含文件后缀。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" // 非法条件-非法参数值-参数值长度超出限制。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" // 非法条件-非法参数值-正则表达式数量超出限制。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYREGULAR = "InvalidParameter.ErrInvalidConditionValueTooManyRegular" // 非法条件-非法参数值-参数值数量超出限制。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" // 非法条件-非法参数值-通配符数量超出限制。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" // 非法条件-非法参数值-参数值数量为0。 INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" // 修改源站操作不支持ELSE。 INVALIDPARAMETER_ERRINVALIDELSEWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidElseWhenModifyOriginActionConfigured" // 条件为空。 INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" // 函数名称和本账号下其他函数冲突。 INVALIDPARAMETER_FUNCTIONNAMECONFLICT = "InvalidParameter.FunctionNameConflict" // 开启 Grpc 协议支持需要同时开启 HTTP/2 协议支持。 INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" // 回源Host错误。 INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" // 域名不存在。 INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" // CNAME 未切换或者源站未路由到EO服务器。 INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" // 参数错误。 INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" // 无效的token鉴权。 INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" // 无效的token鉴权过期时间。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPEEXPIRETIME = "InvalidParameter.InvalidAuthenticationTypeExpireTime" // 无效的token鉴权密钥。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" // 无效的token鉴权参数。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" // 无效的token鉴权时间格式。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEFORMAT = "InvalidParameter.InvalidAuthenticationTypeTimeFormat" // 无效的token鉴权时间参数。 INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEPARAM = "InvalidParameter.InvalidAuthenticationTypeTimeParam" // 自动使用代金券格式不正确,请输入正确的自动使用代金券格式。 INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" // 无效的第三方对象存储。 INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" // 请正确填写地域作为第三方对象存储私有访问参数。 INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" // 无效的第三方对象存储。 INVALIDPARAMETER_INVALIDAWSSECRETKEY = "InvalidParameter.InvalidAwsSecretKey" // 无效的备源回源Host。 INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" // 无效的节点缓存。 INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" // 无效的节点缓存,遵循源站行为。 INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" // 无效的缓存键。 INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" // 无效的自定义Cache Key Cookie无效。 INVALIDPARAMETER_INVALIDCACHEKEYCOOKIE = "InvalidParameter.InvalidCacheKeyCookie" // 无效的缓存键忽略大小写。 INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" // 无效的查询字符串。 INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGACTION = "InvalidParameter.InvalidCacheKeyQueryStringAction" // 无效的查询字符串。 INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" // 无效的自定义Cache Key Scheme无效。 INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" // 无效的节点缓存。 INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" // 无效的节点缓存时间。 INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" // 无效的边缘HTTPS证书信息。 INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" // 无效的客户端IP地理位置配置,HeaderName由1-100个字母或数字组成的,不能以"-"开头或结尾。 INVALIDPARAMETER_INVALIDCLIENTIPCOUNTRYHEADERNAME = "InvalidParameter.InvalidClientIpCountryHeaderName" // 无效的客户端IP请求头。 INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" // 分区域回源的源站无效。 INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" // 不合法的条件。 INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" // 无效的回源配置,源站类型为对象存储时,源站地址必须为对象存储域名。 INVALIDPARAMETER_INVALIDCOSDOMAIN = "InvalidParameter.InvalidCosDomain" // 无效的智能加速。 INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" // 套餐包不支持智能加速配置。 INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" // 无效的自定义错误页面。 INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" // 无效的自定义错误页面。 INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" // 不合法的过滤字段。 INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" // 无效的强制HTTPS跳转。 INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" // 无效的HTTPS。 INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" // 无效的边缘HTTPS证书配置,证书内容无效。 INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" // 加密套件与TLS版本不匹配。 INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" // 无效的HTTPS HSTS。 INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" // 无效的HTTPS TLS版本。 INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" // 无效时间间隔。取值应为[min 5min hour day]。 INVALIDPARAMETER_INVALIDINTERVAL = "InvalidParameter.InvalidInterval" // 无效的Ipv6开关配置。 INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" // 日志输出格式的字段分隔符不正确 INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter" // 日志输出格式类型不正确 INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType" // 日志输出格式的日志记录分隔符不正确 INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter" // 无效的浏览器缓存。 INVALIDPARAMETER_INVALIDMAXAGEFOLLOWORIGIN = "InvalidParameter.InvalidMaxAgeFollowOrigin" // 无效的浏览器缓存。 INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" // 无效查询维度。 INVALIDPARAMETER_INVALIDMETRIC = "InvalidParameter.InvalidMetric" // 无效的源站。 INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" // 源站组类型错误。 INVALIDPARAMETER_INVALIDORIGINGROUPTYPE = "InvalidParameter.InvalidOriginGroupType" // 不支持填写内网IP/回环地址作为源站地址 INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" // 源站类型错误。 INVALIDPARAMETER_INVALIDORIGINTYPE = "InvalidParameter.InvalidOriginType" // 源站错误或不存在。 INVALIDPARAMETER_INVALIDORIGINVALUE = "InvalidParameter.InvalidOriginValue" // 参数错误。 INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" // 套餐周期格式不正确,请输入正确的套餐周期格式。 INVALIDPARAMETER_INVALIDPERIOD = "InvalidParameter.InvalidPeriod" // 套餐类型格式不正确,请输入正确的套餐类型格式。 INVALIDPARAMETER_INVALIDPLANTYPE = "InvalidParameter.InvalidPlanType" // 套餐包不支持最大上传大小。 INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" // 无效的最大上传大小。 INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" // 请填写AccessKeyId、SecretAccessKey作为第三方对象存储私有访问参数。 INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" // 请指定PrivateAccess参数值为on/off。 INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = "InvalidParameter.InvalidPrivateAccessSwitch" // 套餐包不支持Quic配置。 INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" // 配额数量格式不正确,请输入正确的配额数量格式。 INVALIDPARAMETER_INVALIDQUOTANUMBER = "InvalidParameter.InvalidQuotaNumber" // 配额类型格式不正确,请输入正确的配额类型格式。 INVALIDPARAMETER_INVALIDQUOTATYPE = "InvalidParameter.InvalidQuotaType" // 无效的分片回源。 INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" // 自动续费标志格式不正确,请输入正确的自动续费标签格式。 INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" // 无效的请求头header。 INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" // x-forwarded-for 请求头配置无效 INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" // 无效的请求头header。 INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" // 无套餐包。 INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" // 无效的响应头header。 INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" // 无效的响应头header。 INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" // 无效的规则引擎操作。 INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" // 规则不存在。 INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" // 无效的规则引擎条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" // 无效的规则引擎文件后缀条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" // 无效的规则引擎URL条件。 INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" // 规则协议错误。(TCP/UDP)。 INVALIDPARAMETER_INVALIDRULEPROTO = "InvalidParameter.InvalidRuleProto" // 无效的回源Host。 INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" // edgeone的debug配置无效。 INVALIDPARAMETER_INVALIDSTANDARDDEBUG = "InvalidParameter.InvalidStandardDebug" // 无效的客户端ip或ip段。 INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" // AllowClientIPList 参数必填,支持 IPv4 及 IPv6 网段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试,::/0 表示允许所有 IPv6 客户端进行调试。 INVALIDPARAMETER_INVALIDSTANDARDDEBUGEMPTYLIST = "InvalidParameter.InvalidStandardDebugEmptyList" // 有效期超过限制。 INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" // 无效的回源请求参数设置-无效查询字符串值。 INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" // 无效的URL重写。 INVALIDPARAMETER_INVALIDURLREDIRECT = "InvalidParameter.InvalidUrlRedirect" // URL重写的目标HOST无效。 INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" // URL重写的目标URL无效。 INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" // 无效的WebSocket。 INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" // 无效的缓存键。 INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" // 参数长度超过限制。 INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" // 修改源站操作中负载均衡实例Id必填。 INVALIDPARAMETER_LOADBALANCEINSTANCEIDISREQUIRED = "InvalidParameter.LoadBalanceInstanceIdIsRequired" // 引用负载均衡的4层代理服务正在部署中,请稍后再编辑。 INVALIDPARAMETER_LOADBALANCERBINDL4NOTINSTABLESTATUS = "InvalidParameter.LoadBalancerBindL4NotInStableStatus" // 引用负载均衡的7层域名服务正在部署中,请稍后再编辑。 INVALIDPARAMETER_LOADBALANCERBINDL7NOTINSTABLESTATUS = "InvalidParameter.LoadBalancerBindL7NotInStableStatus" // 同一站点下的负载均衡名称不可以重复。 INVALIDPARAMETER_LOADBALANCERNAMEREPEATED = "InvalidParameter.LoadBalancerNameRepeated" // 负载均衡实例存在被四层实例引用,不允许删除。 INVALIDPARAMETER_LOADBALANCERUSEDINL4PROXY = "InvalidParameter.LoadBalancerUsedInL4Proxy" // 负载均衡实例存在被七层域名引用,不允许删除。 INVALIDPARAMETER_LOADBALANCERUSEDINL7DOMAIN = "InvalidParameter.LoadBalancerUsedInL7Domain" // 负载均衡实例存在被规则引擎引用,不允许删除。 INVALIDPARAMETER_LOADBALANCERUSEDINRULEENGINE = "InvalidParameter.LoadBalancerUsedInRuleEngine" // 修改参数缺失。 INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing" // 不支持智能路由 INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting" // 操作配置存在不支持的预设变量。 INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" // 域名处于直接回源架构,需要保持智能加速功能的开启。 INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = "InvalidParameter.OCDirectOriginRequiresSmartRouting" // 源站组类型与负载均衡器类型不匹配。 INVALIDPARAMETER_ORIGINGROUPTYPECANNOTMATCHLBTYPE = "InvalidParameter.OriginGroupTypeCanNotMatchLBType" // 源站是内网IP。 INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" // 四层代理禁止IP域名混填。 INVALIDPARAMETER_ORIGINL4RECORDIPV4MIXDOMAIN = "InvalidParameter.OriginL4RecordIPV4MixDomain" // 四层代理禁止使用多域名源站。 INVALIDPARAMETER_ORIGINL4RECORDMULTIDOMAIN = "InvalidParameter.OriginL4RecordMultiDomain" // 源站组名称已经存在。 INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" // 修改源站操作中源站组Id必填。 INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" // 修改源站操作中回源协议必填。 INVALIDPARAMETER_ORIGINPULLPROTOCOLISREQUIRED = "InvalidParameter.OriginPullProtocolIsRequired" // 源站格式错误。 INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" // 权重取值范围:0 - 100。 INVALIDPARAMETER_ORIGINRECORDWEIGHTVALUE = "InvalidParameter.OriginRecordWeightValue" // 密钥格式错误。 INVALIDPARAMETER_ORIGINTHIRDPARTYPARAMFORMATERROR = "InvalidParameter.OriginThirdPartyParamFormatError" // 参数错误: 无效 "结束时间", 不在允许的查询范围内: [开始时间, 开始+ 7天] INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" // 套餐不存在。 INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" // 最大上传大小超出限制 INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" // 实例名称重复。 INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" // 实例名称可输入1-50个字符,允许的字符为a-z、0-9、-,- 不能单独注册或连续使用,不能放在开头或结尾。 INVALIDPARAMETER_PROXYNAMENOTMATCHED = "InvalidParameter.ProxyNameNotMatched" // 推送实例已经创建 INVALIDPARAMETER_REALTIMELOGENTITYALREADYCREATED = "InvalidParameter.RealtimeLogEntityAlreadyCreated" // 日志推送地域不合法 INVALIDPARAMETER_REALTIMELOGINVALIDDELIVERYAREA = "InvalidParameter.RealtimeLogInvalidDeliveryArea" // 日志推送类型不合法 INVALIDPARAMETER_REALTIMELOGINVALIDLOGTYPE = "InvalidParameter.RealtimeLogInvalidLogType" // 实时日志数据投递类型不合法 INVALIDPARAMETER_REALTIMELOGINVALIDTASKTYPE = "InvalidParameter.RealtimeLogInvalidTaskType" // 实时日志推送任务数据超过了限制 INVALIDPARAMETER_REALTIMELOGNUMSEXCEEDLIMIT = "InvalidParameter.RealtimeLogNumsExceedLimit" // 无效的响应头header。 INVALIDPARAMETER_RESPONSEHEADERCACHECONTROLNOTALLOWDELETE = "InvalidParameter.ResponseHeaderCacheControlNotAllowDelete" // 规则源站信息格式错误。 INVALIDPARAMETER_RULEORIGINFORMATERROR = "InvalidParameter.RuleOriginFormatError" // 规则源站不支持多域名。 INVALIDPARAMETER_RULEORIGINMULTIDOMAIN = "InvalidParameter.RuleOriginMultiDomain" // 规则源站端口应为整数。 INVALIDPARAMETER_RULEORIGINPORTINTEGER = "InvalidParameter.RuleOriginPortInteger" // 规则源站错误。 INVALIDPARAMETER_RULEORIGINVALUEERROR = "InvalidParameter.RuleOriginValueError" // 规则端口重复。 INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" // 规则端口段错误。 INVALIDPARAMETER_RULEPORTGROUP = "InvalidParameter.RulePortGroup" // 规则端口必须为整数。 INVALIDPARAMETER_RULEPORTINTEGER = "InvalidParameter.RulePortInteger" // 参数错误 INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" // 配置项参数错误。 INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" // 一些绑定的源站组不存在。 INVALIDPARAMETER_SOMEORIGINGROUPNOTEXIST = "InvalidParameter.SomeOriginGroupNotExist" // Shield Space 未绑定源站,请先绑定源站后重试。 INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" // 状态码缓存的状态码无效。 INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode" // 资源存在错误。 INVALIDPARAMETER_TARGET = "InvalidParameter.Target" // 任务无法生成。 INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" // 内部错误。 INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" // HTTPS的TLS版本不连续。 INVALIDPARAMETER_TLSVERSIONNOTINSEQUENCE = "InvalidParameter.TlsVersionNotInSequence" // 过滤值过多。 INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" // 过滤项过多。 INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters" // 文件上传链接存在问题。 INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" // 无效的回源客户端证书配置。 INVALIDPARAMETER_UPSTREAMCLIENTCERTCHECKERROR = "InvalidParameter.UpstreamClientCertCheckError" // 站点已被绑定。 INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" // 站点未绑定套餐。 INVALIDPARAMETER_ZONEHASNOTBEENBOUNDTOPLAN = "InvalidParameter.ZoneHasNotBeenBoundToPlan" // 站点升级中,暂不支持进行变更操作,请稍后再试。 INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" // 无域名接入站点切换到CNAME接入类型时站点名称必传。 INVALIDPARAMETER_ZONENAMEISREQUIRED = "InvalidParameter.ZoneNameIsRequired" // 站点不存在。 INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 该站点域名已被禁用。 INVALIDPARAMETERVALUE_ACCESSBLACKLIST = "InvalidParameterValue.AccessBlacklist" // 别称域名暂不支持配置边缘双向认证。 INVALIDPARAMETERVALUE_ALIASDOMAINNOTSUPPORTEDGEMTLS = "InvalidParameterValue.AliasDomainNotSupportEdgeMTLS" // 别称域名暂不支持配置回源双向认证。 INVALIDPARAMETERVALUE_ALIASDOMAINNOTSUPPORTUPSTREAMMTLS = "InvalidParameterValue.AliasDomainNotSupportUpstreamMTLS" // 边缘双向认证配置中的客户端证书必须是CA证书。 INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = "InvalidParameterValue.CertificateVerifyClientMustCa" // 边缘双向认证配置至少需要配置一本证书。 INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyClientNeedCert" // 当前回源双向认证的证书仅支持 RSA或 ECC 算法证书,暂不支持国密 SM2 算法证书。 INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTMUSTRSAORECC = "InvalidParameterValue.CertificateVerifyUpstreamClientMustRSAorECC" // 回源双向认证的证书类型不正确,不支持配置为 CA 证书。 INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTMUSTSVR = "InvalidParameterValue.CertificateVerifyUpstreamClientMustSVR" // 回源双向认证配置至少需要配置一本证书。 INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyUpstreamClientNeedCert" // 边缘双向认证配置中的客户端 CA 证书最多允许配置20本。 INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.ClientCertInfoQuotaLimit" // 与已经添加的记录冲突。 INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" // DNS 记录与 DNSSEC 功能冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" // DNS 记录与 加速域名 记录冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHDOMAIN = "InvalidParameterValue.ConflictWithDomain" // DNS 记录与 NS 记录冲突。 INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" // 主机记录与记录值不能取值相同。 INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" // 页面内容与Content-Type不匹配。 INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = "InvalidParameterValue.ContentTypeNotMatch" // 入参中的域名与站点参数不匹配,请更正后重试。 INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" // 格式不匹配。 INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" // 配置参数格式不匹配。 INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" // 包含无效的值。 INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" // 别称域名名称不合法,别称域名应该由数字、英文字母、连词符组成,且连词符不能位于开头和结尾处。 INVALIDPARAMETERVALUE_INVALIDALIASDOMAINNAME = "InvalidParameterValue.InvalidAliasDomainName" // 无效的别称域名后缀(该域名为内部接入域名,暂不支持作为别称域名接入)。 INVALIDPARAMETERVALUE_INVALIDALIASNAMESUFFIX = "InvalidParameterValue.InvalidAliasNameSuffix" // DNS 记录内容错误。 INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" // DNS 记录名称错误。 INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" // 加速域名名称不合法,加速域名应该由数字、英文字母、连词符组成,且连词符不能位于开头和结尾处。 INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = "InvalidParameterValue.InvalidDomainName" // 加速域名状态不符合要求。 INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" // 无效的 keyless 服务端 Id。 INVALIDPARAMETERVALUE_INVALIDKEYLESSSERVERID = "InvalidParameterValue.InvalidKeylessServerId" // DNS 代理域名源站错误。 INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" // 标签值存在不合法字符。 INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" // 缺少必要配置参数。 INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" // 不支持接入泛域名 CNAME INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME" // 值不在要求的集合内。 INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" // 值不在指定范围。 INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" // 指定的源站组不存在。 INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists" // 页面名称已存在。 INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = "InvalidParameterValue.PageNameAlreadyExist" // 不符合指定的正则表达式。 INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" // 已开启边缘双向认证,客户端使用 RSA 或者 ECC 算法证书时,边缘 HTTPS 证书必须也配置有相同算法证书。 INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = "InvalidParameterValue.ServerCertInfoNeedContainRSAorECC" // 已开启边缘双向认证,客户端使用国密算法 CA 证书时,边缘 HTTPS 证书必须也配置有国密证书。 INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = "InvalidParameterValue.ServerCertInfoNeedContainSM2" // 请输入合法的共享 CNAME 前缀,最大支持50个字符。 INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch" // 暂不支持当前域名后缀接入,如您需要使用请联系我们。 INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = "InvalidParameterValue.TopLevelDomainNotSupport" // 配置项错误。 INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" // 回源双向认证配置中的客户端证书最多允许配置1本。 INVALIDPARAMETERVALUE_UPSTREAMCLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.UpstreamClientCertInfoQuotaLimit" // 站点名称格式不正确,请输入正确的域名格式。 INVALIDPARAMETERVALUE_ZONENAMEINVALID = "InvalidParameterValue.ZoneNameInvalid" // 暂不支持 punycode 接入。 INVALIDPARAMETERVALUE_ZONENAMENOTSUPPORTPUNYCODE = "InvalidParameterValue.ZoneNameNotSupportPunyCode" // 站点不支持以子域名接入,请以二级域名作为站点接入。 INVALIDPARAMETERVALUE_ZONENAMENOTSUPPORTSUBDOMAIN = "InvalidParameterValue.ZoneNameNotSupportSubDomain" // 该同名站点标识已被占用,请重新输入。 INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 本次提交的资源数超过上限。 LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" // 实时日志自定义字段正则类型字段数量超过限制 LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded" // 当天提交的资源数超过上限。 LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" // 函数数量达到限制。 LIMITEXCEEDED_FUNCTIONLIMITEXCEEDED = "LimitExceeded.FunctionLimitExceeded" // 负载均衡数量超过限制。 LIMITEXCEEDED_LOADBALANCINGCOUNTLIMITEXCEEDED = "LimitExceeded.LoadBalancingCountLimitExceeded" // 计费套餐不支持。 LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow" // 导入的规则数量超限制。 LIMITEXCEEDED_PROXYRULESLIMITEXCEEDED = "LimitExceeded.ProxyRulesLimitExceeded" // 查询时间范围超出限制。 LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" // 单位时间内接口请求频率达到限制。 LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" // 规则数量达到限制。 LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded" // 超出功能限制。 LIMITEXCEEDED_SECURITY = "LimitExceeded.Security" // 用户实例数量限制。 LIMITEXCEEDED_USERQUOTALIMITED = "LimitExceeded.UserQuotaLimited" // 套餐可绑定的站点数量超过配额。 LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 操作被拒绝。 OPERATIONDENIED = "OperationDenied" // 功能内测中,请联系商务开启「中国大陆网络优化(国际加速)」功能。 OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" // 中国大陆加速与IPv6冲突,不能同时配置。 OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" // 当前站点下存在域名功能与中国大陆网络优化冲突,不能同时配置。 OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict" // 引用源站组的7层域名服务正在部署中,请稍后再编辑。 OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline" // 当前仅无私钥证书模式允许证书私钥为空。 OPERATIONDENIED_CERTIFICATEPRIVATEKEYISEMPTY = "OperationDenied.CertificatePrivateKeyIsEmpty" // 合规封禁中。 OPERATIONDENIED_COMPLIANCEFORBIDDEN = "OperationDenied.ComplianceForbidden" // 配置已被锁定,请解除配置锁定之后在重试。 OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" // TEO_QCSLinkedRoleInDnspodAccessEO 角色未进行授权,请授权后重试。 OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation" // 删除站点时预检查未通过。 OPERATIONDENIED_DELETEZONEPRECHECKFAILED = "OperationDenied.DeleteZonePreCheckFailed" // 站点停用未完毕,请稍后再试。 OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" // 有域名在共享cname组内,不可切换接入类型。 OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" // 域名被封禁,暂时无法操作。 OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" // 域名尚未备案。 OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" // 站点下有域名时不允许修改服务区域。 OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero" // 站点内有域名处于非稳态,稳态包括:“在线” 和 “离线” 两个状态。 OPERATIONDENIED_DOMAINSTATUSUNSTABLE = "OperationDenied.DomainStatusUnstable" // 企业版套餐不支持自动续费。 OPERATIONDENIED_ENTERPRISEPLANAUTORENEWUNSUPPORTED = "OperationDenied.EnterprisePlanAutoRenewUnsupported" // 企业版套餐不支持续费。 OPERATIONDENIED_ENTERPRISEPLANRENEWUNSUPPORTED = "OperationDenied.EnterprisePlanRenewUnsupported" // 企业版套餐不支持升级。 OPERATIONDENIED_ENTERPRISEPLANUPGRADEUNSUPPORTED = "OperationDenied.EnterprisePlanUpgradeUnsupported" // 站点环境未准备好。 OPERATIONDENIED_ENVNOTREADY = "OperationDenied.EnvNotReady" // 站点处于停用状态,请开启后重试。 OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" // 待变更域名边缘双向认证证书不一致,请确认变更域名证书一致后重试。 OPERATIONDENIED_HOSTSCLIENTCERTIFICATEINCONSISTENCY = "OperationDenied.HostsClientCertificateInconsistency" // 待变更域名 keyless 服务端不一致,请确认变更域名 keyless 服务端一致后重试。 OPERATIONDENIED_HOSTSKEYLESSSERVERINCONSISTENCY = "OperationDenied.HostsKeylessServerInconsistency" // 待变更域名回源双向认证证书不一致,请确认变更域名证书一致后重试。 OPERATIONDENIED_HOSTSUPSTREAMCERTIFICATEINCONSISTENCY = "OperationDenied.HostsUpstreamCertificateInconsistency" // 开启高防时必须保证安全是开启状态。 OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" // 开启高防必须保证站点加速区域是国内。 OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea" // 独立DDoS防护与IPv6冲突,不能同时配置。 OPERATIONDENIED_IPV6ADVANCEDCONFLICT = "OperationDenied.Ipv6AdvancedConflict" // ipv6功能和固定ip无法同时开启。 OPERATIONDENIED_IPV6STATICIPCONFLICT = "OperationDenied.Ipv6StaticIpConflict" // 待变更域名存在不同的证书或 keyless 服务端,请确认边缘 HTTPS 证书或 keyless 服务端一致后重试。 OPERATIONDENIED_KEYLESSCERTSWITCHTOFREECERTCONFLICT = "OperationDenied.KeylessCertSwitchToFreeCertConflict" // 当前无私钥证书模式要求证书私钥为空。 OPERATIONDENIED_KEYLESSMODECERTIFICATEPRIVATEKEYNEEDEMPTY = "OperationDenied.KeylessModeCertificatePrivateKeyNeedEmpty" // 四层实例资源售卖火爆,已售罄,正在加紧补货中,当前无法新增四层代理,请您耐心等待。 OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" // 四层端口资源售卖火爆,已售罄,正在加紧补货中,当前无法新增四层代理或添加规则,请您耐心等待。 OPERATIONDENIED_L4PORTLACKOFRESOURCES = "OperationDenied.L4PortLackOfResources" // 4层代理资源处于封禁中,禁止操作。 OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" // 4层通道处于关闭状态,不允许添加规则。 OPERATIONDENIED_L4PROXYINOFFLINESTATUS = "OperationDenied.L4ProxyInOfflineStatus" // 实例处于部署中,无法操作。 OPERATIONDENIED_L4PROXYINPROCESSSTATUS = "OperationDenied.L4ProxyInProcessStatus" // 存在四层代理实例处于部署中状态,暂不支持停用站点。 OPERATIONDENIED_L4PROXYINPROGRESSSTATUS = "OperationDenied.L4ProxyInProgressStatus" // 存在四层代理实例处于停用中状态,暂不支持停用站点。 OPERATIONDENIED_L4PROXYINSTOPPINGSTATUS = "OperationDenied.L4ProxyInStoppingStatus" // 绑定4层实例有处于非运行中的状态,禁止操作。 OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" // 存在加速域名处于部署中状态,暂不支持停用站点。 OPERATIONDENIED_L7HOSTINPROCESSSTATUS = "OperationDenied.L7HostInProcessStatus" // 绑定负载均衡有处于非运行中的状态,禁止操作。 OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = "OperationDenied.LoadBalanceStatusNotInOnline" // 站点状态不支持操作负载均衡。 OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive" // 非海外独立防护,不能开启ipv6。 OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = "OperationDenied.MsgIpv6AdvancedConflict" // 已存在多个Cname接入站点,不允许切换至NS。 OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" // NS接入模式不支持域名流量调度功能。 OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" // 无域名接入站点仅可以切换到CNAME接入类型。 OPERATIONDENIED_NODOMAINACCESSZONEONLYALLOWMODIFIEDTOCNAME = "OperationDenied.NoDomainAccessZoneOnlyAllowModifiedToCNAME" // 无域名接入站点不支持除切换为CNAME接入类型以外的任何修改动作。 OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = "OperationDenied.NoDomainAccessZoneOnlySupportModifyType" // 当前无私钥证书功能仅针对白名单用户开放。 OPERATIONDENIED_NOTINKEYLESSWHITELIST = "OperationDenied.NotInKeylessWhiteList" // 当前回源双向认证功能仅针对白名单用户开放。 OPERATIONDENIED_NOTINUPSTREAMMTLSWHITELIST = "OperationDenied.NotInUpstreamMTLSWhiteList" // 用户不在版本管理的白名单内。 OPERATIONDENIED_NOTINVERSIONCONTROLWHITELIST = "OperationDenied.NotInVersionControlWhiteList" // 加速域名使用中,无法删除。 OPERATIONDENIED_ORIGINGROUPACCELERATIONDOMAINUSED = "OperationDenied.OriginGroupAccelerationDomainUsed" // 四层代理使用中,无法删除。 OPERATIONDENIED_ORIGINGROUPL4USED = "OperationDenied.OriginGroupL4Used" // 负载均衡使用中,无法删除。 OPERATIONDENIED_ORIGINGROUPLBUSED = "OperationDenied.OriginGroupLBUsed" // 规则引擎使用中,无法删除。 OPERATIONDENIED_ORIGINGROUPRULEENGINEUSED = "OperationDenied.OriginGroupRuleEngineUsed" // 归属权校验未通过,请先完成站点归属权校验。 OPERATIONDENIED_OWNERSHIPVERIFICATIONNOTPASSED = "OperationDenied.OwnershipVerificationNotPassed" // 套餐不支持降级。 OPERATIONDENIED_PLANDOWNGRADENOTALLOWED = "OperationDenied.PlanDowngradeNotAllowed" // 套餐已过期。 OPERATIONDENIED_PLANHASBEENEXPIRED = "OperationDenied.PlanHasBeenExpired" // 套餐已被隔离。 OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated" // 该套餐不支持增购套餐配额。 OPERATIONDENIED_PLANINCREASEPLANQUOTAUNSUPPORTED = "OperationDenied.PlanIncreasePlanQuotaUnsupported" // 套餐不支持变更站点的服务区域。 OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = "OperationDenied.PlanNotSupportModifyZoneArea" // Anycast IP调度模式不支持开启中国大陆加速。 OPERATIONDENIED_PLATTYPEIPACCELERATEMAINLANDNOTSUPPORT = "OperationDenied.PlatTypeIPAccelerateMainlandNotSupport" // 如需创建企业版套餐,请联系商务人员。 OPERATIONDENIED_PLEASECONTACTBUSINESSPERSONNEL = "OperationDenied.PleaseContactBusinessPersonnel" // DNS 记录不允许添加。 OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" // 计费资源操作中,请稍后重试。 OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked" // 当前有互相排斥的请求操作并行发起,请稍后重试。 OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" // 绑定在共享 CNAME 中的域名不允许变更 中国大陆网络优化(国际加速)访问,如果您需要单独变更,请先将域名从共享 CNAME 中解绑。 OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = "OperationDenied.SharedCNAMEUnsupportedAccelerateMainland" // 绑定在共享 CNAME 中的域名不允许变更 IPv6 访问,如果您需要单独变更,请先将域名从共享 CNAME 中解绑。 OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6" // 该实例地域无法开启固定IP。 OPERATIONDENIED_STATICIPAREACONFLICT = "OperationDenied.StaticIpAreaConflict" // 当前并不支持关闭回源双向认证,如需关闭,请通过将边缘 HTTPS 证书更改为不配置来关闭。 OPERATIONDENIED_UNSUPPORTTOCLOSEUPSTREAMMTLS = "OperationDenied.UnSupportToCloseUpstreamMTLS" // 如需启用回源双向认证,请先配置边缘 HTTPS 证书。 OPERATIONDENIED_USEUPSTREAMMTLSNEEDOPENHTTPS = "OperationDenied.UseUpstreamMTLSNeedOpenHttps" // 存在使用中的测试版本,请将测试版本发布现网或者回滚测试版本再重试。 OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" // 当前处于版本管理模式下,该操作不允许。 OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" // 站点工作模式不属于版本管理模式。 OPERATIONDENIED_WORKMODENOTINVERSIONCONTROL = "OperationDenied.WorkModeNotInVersionControl" // 共享CNAME已被其他站点绑定,请先解绑才能删除站点 OPERATIONDENIED_ZONEISBINDINGSHAREDCNAME = "OperationDenied.ZoneIsBindingSharedCNAME" // 站点存在自定义错误页面引用,请先解绑。 OPERATIONDENIED_ZONEISREFERENCECUSTOMERRORPAGE = "OperationDenied.ZoneIsReferenceCustomErrorPage" // 站点未启用。 OPERATIONDENIED_ZONENOTACTIVE = "OperationDenied.ZoneNotActive" // 资源被占用。 RESOURCEINUSE = "ResourceInUse" // 资源被本账号别称域名占用。 RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" // 当前已存在相同的别称域名,不支持重复添加 RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" // 资源被本账号Cname接入占用。 RESOURCEINUSE_CNAME = "ResourceInUse.Cname" // Dns资源被占用。 RESOURCEINUSE_DNS = "ResourceInUse.Dns" // 该域名正在解析中,如果您需要开启加速,请前往 DNS 记录页开启加速。 RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" // 已存在相同的别称域名。 RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" // 资源已被泛域名占用。 RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" // 资源被本账号的子域名占用。 RESOURCEINUSE_HOST = "ResourceInUse.Host" // 资源被本账号NS接入占用。 RESOURCEINUSE_NS = "ResourceInUse.NS" // 资源被其他用户接入。 RESOURCEINUSE_OTHERS = "ResourceInUse.Others" // 资源被其他账号别称域名占用。 RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" // 资源被其他账号Cname接入占用。 RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" // 资源被其他账号的子域名占用。 RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" // 资源被其他账号NS接入占用。 RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" // 资源被本账号和其他账号同时Cname接入占用。 RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" // 该共享 CNAME 已绑定加速域名,禁止删除。如您需要删除,请先将对应域名解绑。 RESOURCEINUSE_SHAREDCNAME = "ResourceInUse.SharedCNAME" // 别称域名已站点接入。 RESOURCEINUSE_ZONE = "ResourceInUse.Zone" // 资源不足。 RESOURCEINSUFFICIENT = "ResourceInsufficient" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // DNSPod 未正常接入该域名,请在 DNSPod 接入后重试。 RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount" // 最大上传大小额度未配置 RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" // 配置组版本不存在,请检查后重试。 RESOURCENOTFOUND_VERSIONNOTFOUND = "ResourceNotFound.VersionNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 证书不存在或未授权。 RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" // 当前域名已接入EdgeOne,如确认需要接入到当前账号,请进行域名找回。 RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" // 请求的加速域名不存在,请更正后重试。 RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" // 函数不存在或不属于该账号。 RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" // 域名不存在或未开启代理。 RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" // 规则不存在或不属于该账号。 RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound" // 该共享 CNAME 已被占用,请重新输入。 RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists" // 站点不存在或不属于该账号。 RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" // 资源售卖火爆,已售罄,正在加紧补货中,当前无法新增域名,请您耐心等待。 RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // Cam 未授权。 UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" // 鉴权错误。 UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty" // 子账户没有操作权限,请添加权限后继续操作。 UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" // 后端服务器发生未知错误。 UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" // 别称域名不支持目标域名源站类型为对象存储。 UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos" )
const APIVersion = "2022-09-01"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccelerateMainland ¶ added in v1.0.647
type AccelerateMainland struct { // 是否开启中国大陆加速优化配置,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type AccelerateType ¶
type AccelerateType struct { // 加速开关。取值范围: // <li> on:打开;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type AccelerationDomain ¶ added in v1.0.591
type AccelerationDomain struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名名称。 DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // 加速域名状态,取值有: // <li>online:已生效;</li> // <li>process:部署中;</li> // <li>offline:已停用;</li> // <li>forbidden:已封禁;</li> // <li>init:未生效,待激活站点;</li> DomainStatus *string `json:"DomainStatus,omitnil,omitempty" name:"DomainStatus"` // 源站信息。 // 注意:此字段可能返回 null,表示取不到有效值。 OriginDetail *OriginDetail `json:"OriginDetail,omitnil,omitempty" name:"OriginDetail"` // 回源协议,取值有: // <li>FOLLOW: 协议跟随;</li> // <li>HTTP: HTTP协议回源;</li> // <li>HTTPS: HTTPS协议回源。</li> // 注意:此字段可能返回 null,表示取不到有效值。 OriginProtocol *string `json:"OriginProtocol,omitnil,omitempty" name:"OriginProtocol"` // 域名证书信息 // 注意:此字段可能返回 null,表示取不到有效值。 Certificate *AccelerationDomainCertificate `json:"Certificate,omitnil,omitempty" name:"Certificate"` // HTTP回源端口。 // 注意:此字段可能返回 null,表示取不到有效值。 HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil,omitempty" name:"HttpOriginPort"` // HTTPS回源端口。 // 注意:此字段可能返回 null,表示取不到有效值。 HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil,omitempty" name:"HttpsOriginPort"` // IPv6状态,取值有: // <li>follow:遵循站点IPv6配置;</li> // <li>on:开启状态;</li> // <li>off:关闭状态。</li> // 注意:此字段可能返回 null,表示取不到有效值。 IPv6Status *string `json:"IPv6Status,omitnil,omitempty" name:"IPv6Status"` // CNAME 地址。 Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` // 加速域名归属权验证状态,取值有: <li>pending:待验证;</li> <li>finished:已完成验证。</li> // 注意:此字段可能返回 null,表示取不到有效值。 IdentificationStatus *string `json:"IdentificationStatus,omitnil,omitempty" name:"IdentificationStatus"` // 创建时间。 CreatedOn *string `json:"CreatedOn,omitnil,omitempty" name:"CreatedOn"` // 修改时间。 ModifiedOn *string `json:"ModifiedOn,omitnil,omitempty" name:"ModifiedOn"` // 当域名需要进行归属权验证才能继续提供服务时,该对象会携带对应验证方式所需要的信息。 // 注意:此字段可能返回 null,表示取不到有效值。 OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil,omitempty" name:"OwnershipVerification"` }
type AccelerationDomainCertificate ¶ added in v1.0.758
type AccelerationDomainCertificate struct { // 配置证书的模式,取值有: <li>disable:不配置证书;</li> <li>eofreecert:配置 EdgeOne 免费证书;</li> <li>sslcert:配置 SSL 证书。</li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 服务端证书列表,相关证书部署在 EO 的入口侧。 // 注意:此字段可能返回 null,表示取不到有效值。 List []*CertificateInfo `json:"List,omitnil,omitempty" name:"List"` // 在边缘双向认证场景下,该字段为客户端的 CA 证书,部署在 EO 节点内,用于 EO 节点认证客户端证书。 ClientCertInfo *MutualTLS `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"` // 用于 EO 节点回源时携带的证书,源站启用双向认证握手时使用,用于源站认证客户端证书是否有效,确保请求来源于受信任的 EO 节点。 UpstreamCertInfo *UpstreamCertInfo `json:"UpstreamCertInfo,omitnil,omitempty" name:"UpstreamCertInfo"` }
type AclCondition ¶
type AclCondition struct { // 匹配字段,取值有: // <li>host:请求域名;</li> // <li>sip:客户端IP;</li> // <li>ua:User-Agent;</li> // <li>cookie:会话 Cookie;</li> // <li>cgi:CGI 脚本;</li> // <li>xff:XFF 扩展头部;</li> // <li>url:请求 URL;</li> // <li>accept:请求内容类型;</li> // <li>method:请求方式;</li> // <li>header:请求头部;</li> // <li>app_proto:应用层协议;</li> // <li>sip_proto:网络层协议;</li> // <li>uabot:UA 特征规则,仅bot自定义规则可用;</li> // <li>idcid:IDC 规则,仅bot自定义规则可用;</li> // <li>sipbot:搜索引擎规则,仅bot自定义规则可用;</li> // <li>portrait:画像分析,仅bot自定义规则可用;</li> // <li>header_seq:请求头顺序,仅bot自定义规则可用;</li> // <li>hdr:请求正文,仅Web防护自定义规则可用。</li> MatchFrom *string `json:"MatchFrom,omitnil,omitempty" name:"MatchFrom"` // 匹配字符串。当 MatchFrom 为 header 时,可以填入 header 的 key 作为参数。 MatchParam *string `json:"MatchParam,omitnil,omitempty" name:"MatchParam"` // 匹配关系,取值有: // <li>equal:字符串等于;</li> // <li>not_equal:数值不等于;</li> // <li>include:字符包含;</li> // <li>not_include:字符不包含;</li> // <li>match:ip匹配;</li> // <li>not_match:ip不匹配;</li> // <li>include_area:地域包含;</li> // <li>is_empty:存在字段但值为空;</li> // <li>not_exists:不存在关键字段;</li> // <li>regexp:正则匹配;</li> // <li>len_gt:数值大于;</li> // <li>len_lt:数值小于;</li> // <li>len_eq:数值等于;</li> // <li>match_prefix:前缀匹配;</li> // <li>match_suffix:后缀匹配;</li> // <li>wildcard:通配符。</li> Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 匹配内容。 MatchContent *string `json:"MatchContent,omitnil,omitempty" name:"MatchContent"` }
type AclConfig ¶
type AclConfig struct { // 开关,取值有: // <li> on:开启;</li> // <li> off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 用户自定义规则。 AclUserRules []*AclUserRule `json:"AclUserRules,omitnil,omitempty" name:"AclUserRules"` // 托管定制规则 // 注意:此字段可能返回 null,表示取不到有效值。 Customizes []*AclUserRule `json:"Customizes,omitnil,omitempty" name:"Customizes"` }
type AclUserRule ¶
type AclUserRule struct { // 规则名。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 处罚动作,取值有: // <li>trans:放行;</li> // <li>drop:拦截;</li> // <li>monitor:观察;</li> // <li>ban:IP 封禁;</li> // <li>redirect:重定向;</li> // <li>page:指定页面;</li> // <li>alg:JavaScript 挑战。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 规则状态,取值有: // <li>on:生效;</li> // <li>off:失效。</li> RuleStatus *string `json:"RuleStatus,omitnil,omitempty" name:"RuleStatus"` // 自定义规则。 AclConditions []*AclCondition `json:"AclConditions,omitnil,omitempty" name:"AclConditions"` // 规则优先级,取值范围0-100。 RulePriority *int64 `json:"RulePriority,omitnil,omitempty" name:"RulePriority"` // 规则 Id。仅出参使用。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 更新时间。仅出参使用。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // ip 封禁的惩罚时间。Action 是 ban 时必填,且不能为空,取值范围0-2天。 PunishTime *int64 `json:"PunishTime,omitnil,omitempty" name:"PunishTime"` // ip 封禁的惩罚时间单位,取值有: // <li>second:秒;</li> // <li>minutes:分;</li> // <li>hour:小时。</li>默认为 second。 PunishTimeUnit *string `json:"PunishTimeUnit,omitnil,omitempty" name:"PunishTimeUnit"` // 自定义返回页面的名称。Action 是 page 时必填,且不能为空。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义返回页面的实例 Id。默认为0,代表使用系统默认拦截页面。该参数已废弃。 PageId *int64 `json:"PageId,omitnil,omitempty" name:"PageId"` // 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。 CustomResponseId *string `json:"CustomResponseId,omitnil,omitempty" name:"CustomResponseId"` // 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。 ResponseCode *int64 `json:"ResponseCode,omitnil,omitempty" name:"ResponseCode"` // 重定向时候的地址。Action 是 redirect 时必填,且不能为空。 RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"` }
type Action ¶
type Action struct { // 常规功能操作,选择该类型的功能项有: // <li> 访问URL 重写(AccessUrlRedirect);</li> // <li> 回源 URL 重写 (UpstreamUrlRedirect);</li> // <li> QUIC(QUIC);</li> // <li> WebSocket (WebSocket);</li> // <li> 视频拖拽(VideoSeek);</li> // <li> Token 鉴权(Authentication);</li> // <li> 自定义CacheKey(CacheKey);</li> // <li> 节点缓存 TTL (Cache);</li> // <li> 浏览器缓存 TTL(MaxAge);</li> // <li> 离线缓存(OfflineCache);</li> // <li> 智能加速(SmartRouting);</li> // <li> 分片回源(RangeOriginPull);</li> // <li> HTTP/2 回源(UpstreamHttp2);</li> // <li> Host Header 重写(HostHeader);</li> // <li> 强制 HTTPS(ForceRedirect);</li> // <li> 回源 HTTPS(OriginPullProtocol);</li> // <li> 缓存预刷新(CachePrefresh);</li> // <li> 智能压缩(Compression);</li> // <li> Hsts;</li> // <li> ClientIpHeader;</li> // <li> SslTlsSecureConf;</li> // <li> OcspStapling;</li> // <li> HTTP/2 访问(Http2);</li> // <li> 回源跟随重定向(UpstreamFollowRedirect);</li> // <li> 修改源站(Origin)。</li> // <li> 七层回源超时(HTTPUpstreamTimeout)。</li> // <li> Http应答(HttpResponse)。</li> // 注意:此字段可能返回 null,表示取不到有效值。 NormalAction *NormalAction `json:"NormalAction,omitnil,omitempty" name:"NormalAction"` // 带有请求头/响应头的功能操作,选择该类型的功能项有: // <li> 修改 HTTP 请求头(RequestHeader);</li> // <li> 修改HTTP响应头(ResponseHeader)。</li> // 注意:此字段可能返回 null,表示取不到有效值。 RewriteAction *RewriteAction `json:"RewriteAction,omitnil,omitempty" name:"RewriteAction"` // 带有状态码的功能操作,选择该类型的功能项有: // <li> 自定义错误页面(ErrorPage);</li> // <li> 状态码缓存 TTL(StatusCodeCache)。</li> // 注意:此字段可能返回 null,表示取不到有效值。 CodeAction *CodeAction `json:"CodeAction,omitnil,omitempty" name:"CodeAction"` }
type AdvancedFilter ¶
type AiRule ¶
type AiRule struct { // AI规则引擎状态,取值有: // <li> smart_status_close:关闭;</li> // <li> smart_status_open:拦截处置;</li> // <li> smart_status_observe:观察处置。</li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
type AlgDetectJS ¶ added in v1.0.632
type AlgDetectJS struct { // 操作名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 工作量证明 (proof_Of-Work)校验强度,默认low,取值有: // <li>low:低;</li> // <li>middle:中;</li> // <li>high:高。</li> WorkLevel *string `json:"WorkLevel,omitnil,omitempty" name:"WorkLevel"` // 执行方式,js延迟执行的时间。单位为ms,默认500,取值:0~1000。 ExecuteMode *int64 `json:"ExecuteMode,omitnil,omitempty" name:"ExecuteMode"` // 客户端末启用JS(末完成检测)统计周期。单位为秒,默认10,取值:5~3600。 InvalidStatTime *int64 `json:"InvalidStatTime,omitnil,omitempty" name:"InvalidStatTime"` // 客户端末启用JS(末完成检测)触发阈值。单位为次,默认300,取值:1~100000000。 InvalidThreshold *int64 `json:"InvalidThreshold,omitnil,omitempty" name:"InvalidThreshold"` // Bot主动特征识别客户端行为校验结果。 AlgDetectResults []*AlgDetectResult `json:"AlgDetectResults,omitnil,omitempty" name:"AlgDetectResults"` }
type AlgDetectResult ¶ added in v1.0.632
type AlgDetectResult struct { // 校验结果,取值有: // <li>invalid:不合法Cookie;</li> // <li>cookie_empty:末携带Cookie或Cookie己过期;</li> // <li>js_empty:客户端末启用JS(末完成检测);</li> // <li>low:会话速率和周期特征校验低风险;</li> // <li>middle:会话速率和周期特征校验中风险;</li> // <li>high:会话速率和周期特征校验高风险;</li> // <li>timeout:检测超时时长;</li> // <li>not_browser:不合法浏览器;</li> // <li>is_bot:Bot客户端。</li> Result *string `json:"Result,omitnil,omitempty" name:"Result"` // 处罚动作,取值有: // <li>drop:拦截;</li> // <li>monitor:观察;</li> // <li>silence:静默;</li> // <li>shortdelay:(短时间)等待后响应;</li> // <li>longdelay:(长时间)等待后响应。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` }
type AlgDetectRule ¶ added in v1.0.632
type AlgDetectRule struct { // 规则id。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 规则名。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则开关。 Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 自定义规则。 AlgConditions []*AclCondition `json:"AlgConditions,omitnil,omitempty" name:"AlgConditions"` // Cookie校验和会话行为分析。 // 注意:此字段可能返回 null,表示取不到有效值。 AlgDetectSession *AlgDetectSession `json:"AlgDetectSession,omitnil,omitempty" name:"AlgDetectSession"` // 客户端行为校验。 AlgDetectJS []*AlgDetectJS `json:"AlgDetectJS,omitnil,omitempty" name:"AlgDetectJS"` // 更新时间。仅出参使用。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type AlgDetectSession ¶ added in v1.0.632
type AlgDetectSession struct { // 操作名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 校验方式,默认update_detect,取值有: // <li>detect:仅校验;</li> // <li>update_detect:更新Cookie并校验。</li> DetectMode *string `json:"DetectMode,omitnil,omitempty" name:"DetectMode"` // 会话速率和周期特征校验开关,默认off,取值有: // <li>off:关闭;</li> // <li>on:打开。</li> SessionAnalyzeSwitch *string `json:"SessionAnalyzeSwitch,omitnil,omitempty" name:"SessionAnalyzeSwitch"` // 校验结果为未携带Cookie或Cookie已过期的统计周期。单位为秒,默认10,取值:5~3600。 InvalidStatTime *int64 `json:"InvalidStatTime,omitnil,omitempty" name:"InvalidStatTime"` // 校验结果为未携带Cookie或Cookie已过期的触发阈值。单位为次,默认300,取值:1~100000000。 InvalidThreshold *int64 `json:"InvalidThreshold,omitnil,omitempty" name:"InvalidThreshold"` // Cookie校验校验结果。 AlgDetectResults []*AlgDetectResult `json:"AlgDetectResults,omitnil,omitempty" name:"AlgDetectResults"` // 会话速率和周期特征校验结果。 SessionBehaviors []*AlgDetectResult `json:"SessionBehaviors,omitnil,omitempty" name:"SessionBehaviors"` }
type AliasDomain ¶ added in v1.0.510
type AliasDomain struct { // 别称域名名称。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 目标域名名称。 TargetName *string `json:"TargetName,omitnil,omitempty" name:"TargetName"` // 别称域名状态,取值有: // <li> active:已生效; </li> // <li> pending:部署中;</li> // <li> conflict:被找回。 </li> // <li> stop:已停用;</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 封禁模式,取值有: // <li> 0:未封禁; </li> // <li> 11:合规封禁;</li> // <li> 14:未备案封禁。</li> ForbidMode *int64 `json:"ForbidMode,omitnil,omitempty" name:"ForbidMode"` // 别称域名创建时间。 CreatedOn *string `json:"CreatedOn,omitnil,omitempty" name:"CreatedOn"` // 别称域名修改时间。 ModifiedOn *string `json:"ModifiedOn,omitnil,omitempty" name:"ModifiedOn"` }
type ApplicationProxy ¶
type ApplicationProxy struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 当ProxyType=hostname时,表示域名或子域名; // 当ProxyType=instance时,表示代理名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 四层代理模式,取值有: // <li>hostname:表示子域名模式;</li> // <li>instance:表示实例模式。</li> ProxyType *string `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // 调度模式,取值有: // <li>ip:表示Anycast IP调度;</li> // <li>domain:表示CNAME调度。</li> PlatType *string `json:"PlatType,omitnil,omitempty" name:"PlatType"` // 加速区域,取值有: // <li>mainland:中国大陆境内;</li> // <li>overseas:全球(不含中国大陆)。</li> // 默认值:overseas Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 是否开启安全,取值有: // <li>0:关闭安全;</li> // <li>1:开启安全。</li> SecurityType *int64 `json:"SecurityType,omitnil,omitempty" name:"SecurityType"` // 是否开启加速,取值有: // <li>0:关闭加速;</li> // <li>1:开启加速。</li> AccelerateType *int64 `json:"AccelerateType,omitnil,omitempty" name:"AccelerateType"` // 会话保持时间。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 状态,取值有: // <li>online:启用;</li> // <li>offline:停用;</li> // <li>progress:部署中;</li> // <li>stopping:停用中;</li> // <li>fail:部署失败/停用失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 封禁状态,取值有: // <li>banned:已封禁;</li> // <li>banning:封禁中;</li> // <li>recover:已解封;</li> // <li>recovering:解封禁中。</li> BanStatus *string `json:"BanStatus,omitnil,omitempty" name:"BanStatus"` // 调度信息。 ScheduleValue []*string `json:"ScheduleValue,omitnil,omitempty" name:"ScheduleValue"` // 当ProxyType=hostname时: // 表示代理加速唯一标识。 HostId *string `json:"HostId,omitnil,omitempty" name:"HostId"` // Ipv6访问配置。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 更新时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 规则列表。 ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitnil,omitempty" name:"ApplicationProxyRules"` // 中国大陆加速优化配置。 AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
type ApplicationProxyRule ¶
type ApplicationProxyRule struct { // 协议,取值有: // <li>TCP:TCP协议;</li> // <li>UDP:UDP协议。</li> Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"` // 端口,支持格式: // <li>单个端口,如:80。</li> // <li>端口段,如:81-82。表示81,82两个端口。</li> // 注意:一条规则最多可填写20个端口。 Port []*string `json:"Port,omitnil,omitempty" name:"Port"` // 源站类型,取值有: // <li>custom:手动添加;</li> // <li>loadbalancer:负载均衡;</li> // <li>origins:源站组。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 源站信息: // <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li> // <li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-xdffsfasdfs"]`;</li> // <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li> OriginValue []*string `json:"OriginValue,omitnil,omitempty" name:"OriginValue"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 状态,取值有: // <li>online:启用;</li> // <li>offline:停用;</li> // <li>progress:部署中;</li> // <li>stopping:停用中;</li> // <li>fail:部署失败/停用失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 传递客户端IP,取值有: // <li>TOA:TOA(仅Proto=TCP时可选);</li> // <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li> // <li>PPV2:Proxy Protocol传递,协议版本V2;</li> // <li>OFF:不传递。</li>默认值:OFF。 ForwardClientIp *string `json:"ForwardClientIp,omitnil,omitempty" name:"ForwardClientIp"` // 是否开启会话保持,取值有: // <li>true:开启;</li> // <li>false:关闭。</li>默认值:false。 SessionPersist *bool `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 会话保持的时间,只有当SessionPersist为true时,该值才会生效。 // 注意:此字段可能返回 null,表示取不到有效值。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 源站端口,支持格式: // <li>单端口,如:80。</li> // <li>端口段:81-82,表示81,82两个端口。</li> OriginPort *string `json:"OriginPort,omitnil,omitempty" name:"OriginPort"` // 规则标签。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"` }
type AscriptionInfo ¶
type BillingData ¶ added in v1.0.852
type BillingDataFilter ¶
type BindSecurityTemplateToEntityRequest ¶ added in v1.0.776
type BindSecurityTemplateToEntityRequest struct { *tchttp.BaseRequest // 需要绑定或解绑的策略模板所属站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 绑定至策略模板(或者从策略模板解绑)的域名列表。 Entities []*string `json:"Entities,omitnil,omitempty" name:"Entities"` // 绑定或解绑操作选项,取值有: // <li>bind:绑定域名至策略模板;</li> // <li>unbind-keep-policy:将域名从策略模板解绑,解绑时保留当前策略;</li> // <li>unbind-use-default:将域名从策略模板解绑,并使用默认空白策略。</li>注意:解绑操作当前仅支持单个域名解绑。即:当 Operate 参数取值为 unbind-keep-policy 或 unbind-use-default 时,Entities 参数列表仅支持填写一个域名。 Operate *string `json:"Operate,omitnil,omitempty" name:"Operate"` // 指定绑定或解绑的策略模板 ID 或站点全局策略 // - 如需绑定至策略模板,或从策略模板解绑,请指定策略模板 ID。 // - 如需绑定至站点全局策略,或从站点全局策略解绑,请使用 @ZoneLevel@domain 参数值。 // // 注意:解绑后,域名将使用独立策略,并单独计算规则配额,请确保解绑前套餐规则配额充足。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 如指定的域名已经绑定了策略模板,是否替换该模板。支持下列取值: // <li>true: 替换域名当前绑定的模板;</li> // <li>false:不替换域名当前绑定的模板。</li>注意:当选择不替换已有策略模板时,若指定域名已经绑定策略模板,API 将返回错误。 OverWrite *bool `json:"OverWrite,omitnil,omitempty" name:"OverWrite"` }
func NewBindSecurityTemplateToEntityRequest ¶ added in v1.0.776
func NewBindSecurityTemplateToEntityRequest() (request *BindSecurityTemplateToEntityRequest)
func (*BindSecurityTemplateToEntityRequest) FromJsonString ¶ added in v1.0.776
func (r *BindSecurityTemplateToEntityRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindSecurityTemplateToEntityRequest) ToJsonString ¶ added in v1.0.776
func (r *BindSecurityTemplateToEntityRequest) ToJsonString() string
type BindSecurityTemplateToEntityRequestParams ¶ added in v1.0.776
type BindSecurityTemplateToEntityRequestParams struct { // 需要绑定或解绑的策略模板所属站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 绑定至策略模板(或者从策略模板解绑)的域名列表。 Entities []*string `json:"Entities,omitnil,omitempty" name:"Entities"` // 绑定或解绑操作选项,取值有: // <li>bind:绑定域名至策略模板;</li> // <li>unbind-keep-policy:将域名从策略模板解绑,解绑时保留当前策略;</li> // <li>unbind-use-default:将域名从策略模板解绑,并使用默认空白策略。</li>注意:解绑操作当前仅支持单个域名解绑。即:当 Operate 参数取值为 unbind-keep-policy 或 unbind-use-default 时,Entities 参数列表仅支持填写一个域名。 Operate *string `json:"Operate,omitnil,omitempty" name:"Operate"` // 指定绑定或解绑的策略模板 ID 或站点全局策略 // - 如需绑定至策略模板,或从策略模板解绑,请指定策略模板 ID。 // - 如需绑定至站点全局策略,或从站点全局策略解绑,请使用 @ZoneLevel@domain 参数值。 // // 注意:解绑后,域名将使用独立策略,并单独计算规则配额,请确保解绑前套餐规则配额充足。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 如指定的域名已经绑定了策略模板,是否替换该模板。支持下列取值: // <li>true: 替换域名当前绑定的模板;</li> // <li>false:不替换域名当前绑定的模板。</li>注意:当选择不替换已有策略模板时,若指定域名已经绑定策略模板,API 将返回错误。 OverWrite *bool `json:"OverWrite,omitnil,omitempty" name:"OverWrite"` }
Predefined struct for user
type BindSecurityTemplateToEntityResponse ¶ added in v1.0.776
type BindSecurityTemplateToEntityResponse struct { *tchttp.BaseResponse Response *BindSecurityTemplateToEntityResponseParams `json:"Response"` }
func NewBindSecurityTemplateToEntityResponse ¶ added in v1.0.776
func NewBindSecurityTemplateToEntityResponse() (response *BindSecurityTemplateToEntityResponse)
func (*BindSecurityTemplateToEntityResponse) FromJsonString ¶ added in v1.0.776
func (r *BindSecurityTemplateToEntityResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindSecurityTemplateToEntityResponse) ToJsonString ¶ added in v1.0.776
func (r *BindSecurityTemplateToEntityResponse) ToJsonString() string
type BindSecurityTemplateToEntityResponseParams ¶ added in v1.0.776
type BindSecurityTemplateToEntityResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BindSharedCNAMEMap ¶ added in v1.0.784
type BindSharedCNAMERequest ¶ added in v1.0.784
type BindSharedCNAMERequest struct { string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // <li>bind:绑定;</li> // <li>unbind:解绑。</li> BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"` BindSharedCNAMEMaps []*BindSharedCNAMEMap `json:"BindSharedCNAMEMaps,omitnil,omitempty" name:"BindSharedCNAMEMaps"` }ZoneId *
func NewBindSharedCNAMERequest ¶ added in v1.0.784
func NewBindSharedCNAMERequest() (request *BindSharedCNAMERequest)
func (*BindSharedCNAMERequest) FromJsonString ¶ added in v1.0.784
func (r *BindSharedCNAMERequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindSharedCNAMERequest) ToJsonString ¶ added in v1.0.784
func (r *BindSharedCNAMERequest) ToJsonString() string
type BindSharedCNAMERequestParams ¶ added in v1.0.784
type BindSharedCNAMERequestParams struct { string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // <li>bind:绑定;</li> // <li>unbind:解绑。</li> BindType *string `json:"BindType,omitnil,omitempty" name:"BindType"` BindSharedCNAMEMaps []*BindSharedCNAMEMap `json:"BindSharedCNAMEMaps,omitnil,omitempty" name:"BindSharedCNAMEMaps"` }ZoneId *
Predefined struct for user
type BindSharedCNAMEResponse ¶ added in v1.0.784
type BindSharedCNAMEResponse struct {}
func NewBindSharedCNAMEResponse ¶ added in v1.0.784
func NewBindSharedCNAMEResponse() (response *BindSharedCNAMEResponse)
func (*BindSharedCNAMEResponse) FromJsonString ¶ added in v1.0.784
func (r *BindSharedCNAMEResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindSharedCNAMEResponse) ToJsonString ¶ added in v1.0.784
func (r *BindSharedCNAMEResponse) ToJsonString() string
type BindSharedCNAMEResponseParams ¶ added in v1.0.784
type BindSharedCNAMEResponseParams struct { string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }RequestId *
Predefined struct for user
type BindZoneToPlanRequest ¶ added in v1.0.539
type BindZoneToPlanRequest struct { *tchttp.BaseRequest // 未绑定套餐的站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 待绑定的目标套餐ID。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` }
func NewBindZoneToPlanRequest ¶ added in v1.0.539
func NewBindZoneToPlanRequest() (request *BindZoneToPlanRequest)
func (*BindZoneToPlanRequest) FromJsonString ¶ added in v1.0.539
func (r *BindZoneToPlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindZoneToPlanRequest) ToJsonString ¶ added in v1.0.539
func (r *BindZoneToPlanRequest) ToJsonString() string
type BindZoneToPlanRequestParams ¶ added in v1.0.539
type BindZoneToPlanRequestParams struct { // 未绑定套餐的站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 待绑定的目标套餐ID。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` }
Predefined struct for user
type BindZoneToPlanResponse ¶ added in v1.0.539
type BindZoneToPlanResponse struct { *tchttp.BaseResponse Response *BindZoneToPlanResponseParams `json:"Response"` }
func NewBindZoneToPlanResponse ¶ added in v1.0.539
func NewBindZoneToPlanResponse() (response *BindZoneToPlanResponse)
func (*BindZoneToPlanResponse) FromJsonString ¶ added in v1.0.539
func (r *BindZoneToPlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindZoneToPlanResponse) ToJsonString ¶ added in v1.0.539
func (r *BindZoneToPlanResponse) ToJsonString() string
type BindZoneToPlanResponseParams ¶ added in v1.0.539
type BindZoneToPlanResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BotConfig ¶
type BotConfig struct { // bot开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 通用详细基础规则。如果为null,默认使用历史配置。 BotManagedRule *BotManagedRule `json:"BotManagedRule,omitnil,omitempty" name:"BotManagedRule"` // 用户画像规则。如果为null,默认使用历史配置。 BotPortraitRule *BotPortraitRule `json:"BotPortraitRule,omitnil,omitempty" name:"BotPortraitRule"` // Bot智能分析。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 IntelligenceRule *IntelligenceRule `json:"IntelligenceRule,omitnil,omitempty" name:"IntelligenceRule"` // Bot自定义规则。如果为null,默认使用历史配置。 BotUserRules []*BotUserRule `json:"BotUserRules,omitnil,omitempty" name:"BotUserRules"` // Bot主动特征识别规则。 AlgDetectRule []*AlgDetectRule `json:"AlgDetectRule,omitnil,omitempty" name:"AlgDetectRule"` // Bot托管定制策略,入参可不填,仅出参使用。 // 注意:此字段可能返回 null,表示取不到有效值。 Customizes []*BotUserRule `json:"Customizes,omitnil,omitempty" name:"Customizes"` }
type BotExtendAction ¶ added in v1.0.617
type BotExtendAction struct { // 处置动作,取值有: // <li>monitor:观察;</li> // <li>alg:JavaScript挑战;</li> // <li>captcha:托管挑战;</li> // <li>random:随机,按照ExtendActions分配处置动作和比例;</li> // <li>silence:静默;</li> // <li>shortdelay:短时响应;</li> // <li>longdelay:长时响应。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 处置方式的触发概率,范围0-100。 // 注意:此字段可能返回 null,表示取不到有效值。 Percent *uint64 `json:"Percent,omitnil,omitempty" name:"Percent"` }
type BotManagedRule ¶
type BotManagedRule struct { // 触发规则后的处置方式,取值有: // <li>drop:拦截;</li> // <li>trans:放行;</li> // <li>alg:Javascript挑战;</li> // <li>monitor:观察。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 本规则的ID。仅出参使用。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 放行的规则ID。默认所有规则不配置放行。 // 注意:此字段可能返回 null,表示取不到有效值。 TransManagedIds []*int64 `json:"TransManagedIds,omitnil,omitempty" name:"TransManagedIds"` // JS挑战的规则ID。默认所有规则不配置JS挑战。 // 注意:此字段可能返回 null,表示取不到有效值。 AlgManagedIds []*int64 `json:"AlgManagedIds,omitnil,omitempty" name:"AlgManagedIds"` // 数字验证码的规则ID。默认所有规则不配置数字验证码。 // 注意:此字段可能返回 null,表示取不到有效值。 CapManagedIds []*int64 `json:"CapManagedIds,omitnil,omitempty" name:"CapManagedIds"` // 观察的规则ID。默认所有规则不配置观察。 // 注意:此字段可能返回 null,表示取不到有效值。 MonManagedIds []*int64 `json:"MonManagedIds,omitnil,omitempty" name:"MonManagedIds"` // 拦截的规则ID。默认所有规则不配置拦截。 // 注意:此字段可能返回 null,表示取不到有效值。 DropManagedIds []*int64 `json:"DropManagedIds,omitnil,omitempty" name:"DropManagedIds"` }
type BotPortraitRule ¶
type BotPortraitRule struct { // 本功能的开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 本规则的ID。仅出参使用。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // JS挑战的规则ID。默认所有规则不配置JS挑战。 // 注意:此字段可能返回 null,表示取不到有效值。 AlgManagedIds []*int64 `json:"AlgManagedIds,omitnil,omitempty" name:"AlgManagedIds"` // 数字验证码的规则ID。默认所有规则不配置数字验证码。 // 注意:此字段可能返回 null,表示取不到有效值。 CapManagedIds []*int64 `json:"CapManagedIds,omitnil,omitempty" name:"CapManagedIds"` // 观察的规则ID。默认所有规则不配置观察。 // 注意:此字段可能返回 null,表示取不到有效值。 MonManagedIds []*int64 `json:"MonManagedIds,omitnil,omitempty" name:"MonManagedIds"` // 拦截的规则ID。默认所有规则不配置拦截。 // 注意:此字段可能返回 null,表示取不到有效值。 DropManagedIds []*int64 `json:"DropManagedIds,omitnil,omitempty" name:"DropManagedIds"` }
type BotUserRule ¶ added in v1.0.617
type BotUserRule struct { // 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 处置动作,取值有: // <li>drop:拦截;</li> // <li>monitor:观察;</li> // <li>trans:放行;</li> // <li>redirect:重定向;</li> // <li>page:指定页面;</li> // <li>alg:JavaScript 挑战;</li> // <li>captcha:托管挑战;</li> // <li>random:随机处置;</li> // <li>silence:静默;</li> // <li>shortdelay:短时响应;</li> // <li>longdelay:长时响应。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 规则状态,取值有: // <li>on:生效;</li> // <li>off:不生效。</li>默认 on 生效。 RuleStatus *string `json:"RuleStatus,omitnil,omitempty" name:"RuleStatus"` // 规则详情。 AclConditions []*AclCondition `json:"AclConditions,omitnil,omitempty" name:"AclConditions"` // 规则权重,取值范围0-100。 RulePriority *int64 `json:"RulePriority,omitnil,omitempty" name:"RulePriority"` // 规则 Id。仅出参使用。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 随机处置的处置方式及占比,非随机处置可不填暂不支持。 ExtendActions []*BotExtendAction `json:"ExtendActions,omitnil,omitempty" name:"ExtendActions"` // 过滤词,取值有: // <li>sip:客户端 ip。</li> // 默认为空字符串。 FreqFields []*string `json:"FreqFields,omitnil,omitempty" name:"FreqFields"` // 更新时间。仅出参使用。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 统计范围。取值有: // <li>source_to_eo:(响应)源站到 EdgeOne;</li> // <li>client_to_eo:(请求)客户端到 EdgeOne。</li> // 默认为 source_to_eo。 FreqScope []*string `json:"FreqScope,omitnil,omitempty" name:"FreqScope"` // 自定义返回页面的名称。Action 是 page 时必填,且不能为空。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。 CustomResponseId *string `json:"CustomResponseId,omitnil,omitempty" name:"CustomResponseId"` // 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。 ResponseCode *int64 `json:"ResponseCode,omitnil,omitempty" name:"ResponseCode"` // 重定向时候的地址。Action 是 redirect 时必填,且不能为空。 RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"` }
type CLSTopic ¶ added in v1.0.869
type CLSTopic struct { // 腾讯云 CLS 日志集 ID。 LogSetId *string `json:"LogSetId,omitnil,omitempty" name:"LogSetId"` // 腾讯云 CLS 日志主题 ID。 TopicId *string `json:"TopicId,omitnil,omitempty" name:"TopicId"` // 腾讯云 CLS 日志集所在的地域。 LogSetRegion *string `json:"LogSetRegion,omitnil,omitempty" name:"LogSetRegion"` }
type Cache ¶
type Cache struct { // 缓存配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 缓存过期时间设置。 // 单位为秒,最大可设置为 365 天。 // 注意:此字段可能返回 null,表示取不到有效值。 CacheTime *int64 `json:"CacheTime,omitnil,omitempty" name:"CacheTime"` // 是否开启强制缓存,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: IgnoreCacheControl is deprecated. IgnoreCacheControl *string `json:"IgnoreCacheControl,omitnil,omitempty" name:"IgnoreCacheControl"` }
type CacheConfig ¶
type CacheConfig struct { // 缓存配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Cache *Cache `json:"Cache,omitnil,omitempty" name:"Cache"` // 不缓存配置。 // 注意:此字段可能返回 null,表示取不到有效值。 NoCache *NoCache `json:"NoCache,omitnil,omitempty" name:"NoCache"` // 遵循源站配置。 // 注意:此字段可能返回 null,表示取不到有效值。 FollowOrigin *FollowOrigin `json:"FollowOrigin,omitnil,omitempty" name:"FollowOrigin"` }
type CacheKey ¶
type CacheKey struct { // 是否开启全路径缓存,取值有: // <li>on:开启全路径缓存(即关闭参数忽略);</li> // <li>off:关闭全路径缓存(即开启参数忽略)。</li> // 注意:此字段可能返回 null,表示取不到有效值。 FullUrlCache *string `json:"FullUrlCache,omitnil,omitempty" name:"FullUrlCache"` // 是否忽略大小写缓存,取值有: // <li>on:忽略;</li> // <li>off:不忽略。</li> // 注意:此字段可能返回 null,表示取不到有效值。 IgnoreCase *string `json:"IgnoreCase,omitnil,omitempty" name:"IgnoreCase"` // CacheKey 中包含请求参数。 // 注意:此字段可能返回 null,表示取不到有效值。 QueryString *QueryString `json:"QueryString,omitnil,omitempty" name:"QueryString"` }
type CachePrefresh ¶
type CacheTag ¶ added in v1.0.917
type CacheTag struct { // 待清除缓存的域名列表。 Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` }
type CertificateInfo ¶ added in v1.0.758
type CertificateInfo struct { // 证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // 证书备注名。 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 证书类型,取值有: // <li>default:默认证书;</li> // <li>upload:用户上传;</li> // <li>managed:腾讯云托管。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 证书过期时间。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 证书部署时间。 DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"` // 签名算法。 SignAlgo *string `json:"SignAlgo,omitnil,omitempty" name:"SignAlgo"` // 证书状态,取值有: // <li>deployed:已部署;</li> // <li>processing:部署中;</li> // <li>applying:申请中;</li> // <li>failed:申请失败;</li> // <li>issued:绑定失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type CheckCnameStatusRequest ¶ added in v1.0.695
type CheckCnameStatusRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名列表。 RecordNames []*string `json:"RecordNames,omitnil,omitempty" name:"RecordNames"` }
func NewCheckCnameStatusRequest ¶ added in v1.0.695
func NewCheckCnameStatusRequest() (request *CheckCnameStatusRequest)
func (*CheckCnameStatusRequest) FromJsonString ¶ added in v1.0.695
func (r *CheckCnameStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCnameStatusRequest) ToJsonString ¶ added in v1.0.695
func (r *CheckCnameStatusRequest) ToJsonString() string
type CheckCnameStatusRequestParams ¶ added in v1.0.695
type CheckCnameStatusRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名列表。 RecordNames []*string `json:"RecordNames,omitnil,omitempty" name:"RecordNames"` }
Predefined struct for user
type CheckCnameStatusResponse ¶ added in v1.0.695
type CheckCnameStatusResponse struct { *tchttp.BaseResponse Response *CheckCnameStatusResponseParams `json:"Response"` }
func NewCheckCnameStatusResponse ¶ added in v1.0.695
func NewCheckCnameStatusResponse() (response *CheckCnameStatusResponse)
func (*CheckCnameStatusResponse) FromJsonString ¶ added in v1.0.695
func (r *CheckCnameStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckCnameStatusResponse) ToJsonString ¶ added in v1.0.695
func (r *CheckCnameStatusResponse) ToJsonString() string
type CheckCnameStatusResponseParams ¶ added in v1.0.695
type CheckCnameStatusResponseParams struct { // 加速域名 CNAME 状态信息列表。 CnameStatus []*CnameStatus `json:"CnameStatus,omitnil,omitempty" name:"CnameStatus"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CheckRegionHealthStatus ¶ added in v1.0.1031
type CheckRegionHealthStatus struct { // 健康检查区域,ISO-3166-1 两位字母代码。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 单健康检查区域下探测源站的健康状态,取值有: // <li>Healthy:健康;</li> // <li>Unhealthy:不健康;</li> // <li> Undetected:未探测到数据。</li>说明:单健康检查区域下所有源站为健康,则状态为健康,否则为不健康。 Healthy *string `json:"Healthy,omitnil,omitempty" name:"Healthy"` // 源站健康状态。 OriginHealthStatus []*OriginHealthStatus `json:"OriginHealthStatus,omitnil,omitempty" name:"OriginHealthStatus"` }
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) BindSecurityTemplateToEntity ¶ added in v1.0.776
func (c *Client) BindSecurityTemplateToEntity(request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
BindSecurityTemplateToEntity 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindSecurityTemplateToEntityWithContext ¶ added in v1.0.776
func (c *Client) BindSecurityTemplateToEntityWithContext(ctx context.Context, request *BindSecurityTemplateToEntityRequest) (response *BindSecurityTemplateToEntityResponse, err error)
BindSecurityTemplateToEntity 操作安全策略模板,支持将域名绑定或换绑到指定的策略模板,或者从指定的策略模板解绑。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindSharedCNAME ¶ added in v1.0.784
func (c *Client) BindSharedCNAME(request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
BindSharedCNAME 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
可能返回的错误码:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) BindSharedCNAMEWithContext ¶ added in v1.0.784
func (c *Client) BindSharedCNAMEWithContext(ctx context.Context, request *BindSharedCNAMERequest) (response *BindSharedCNAMEResponse, err error)
BindSharedCNAME 用于加速域名绑定或解绑共享 CNAME,该功能白名单内测中。
可能返回的错误码:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) BindZoneToPlan ¶ added in v1.0.539
func (c *Client) BindZoneToPlan(request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
BindZoneToPlan 将未绑定套餐的站点绑定到已有套餐
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) BindZoneToPlanWithContext ¶ added in v1.0.539
func (c *Client) BindZoneToPlanWithContext(ctx context.Context, request *BindZoneToPlanRequest) (response *BindZoneToPlanResponse, err error)
BindZoneToPlan 将未绑定套餐的站点绑定到已有套餐
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CheckCnameStatus ¶ added in v1.0.695
func (c *Client) CheckCnameStatus(request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
CheckCnameStatus 校验域名 CNAME 状态
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CheckCnameStatusWithContext ¶ added in v1.0.695
func (c *Client) CheckCnameStatusWithContext(ctx context.Context, request *CheckCnameStatusRequest) (response *CheckCnameStatusResponse, err error)
CheckCnameStatus 校验域名 CNAME 状态
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateAccelerationDomain ¶ added in v1.0.591
func (c *Client) CreateAccelerationDomain(request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
CreateAccelerationDomain 在创建完站点之后,您可以通过本接口创建加速域名。
CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = "InvalidParameter.InvalidPrivateAccessSwitch" INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHDOMAIN = "InvalidParameterValue.ConflictWithDomain" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = "InvalidParameterValue.InvalidDomainName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea" OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = "OperationDenied.LoadBalanceStatusNotInOnline" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateAccelerationDomainWithContext ¶ added in v1.0.591
func (c *Client) CreateAccelerationDomainWithContext(ctx context.Context, request *CreateAccelerationDomainRequest) (response *CreateAccelerationDomainResponse, err error)
CreateAccelerationDomain 在创建完站点之后,您可以通过本接口创建加速域名。
CNAME 模式接入时,若您未完成站点归属权校验,本接口将为您返回域名归属权验证信息,您可以单独对域名进行归属权验证,详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_INVALIDACCELERATETYPE = "InvalidParameter.InvalidAccelerateType" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" INVALIDPARAMETER_INVALIDPRIVATEACCESSSWITCH = "InvalidParameter.InvalidPrivateAccessSwitch" INVALIDPARAMETER_INVALIDQUICBILLING = "InvalidParameter.InvalidQuicBilling" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_CONFLICTWITHDNSSEC = "InvalidParameterValue.ConflictWithDNSSEC" INVALIDPARAMETERVALUE_CONFLICTWITHDOMAIN = "InvalidParameterValue.ConflictWithDomain" INVALIDPARAMETERVALUE_CONFLICTWITHNSRECORD = "InvalidParameterValue.ConflictWithNSRecord" INVALIDPARAMETERVALUE_CONTENTSAMEASNAME = "InvalidParameterValue.ContentSameAsName" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDNSCONTENT = "InvalidParameterValue.InvalidDNSContent" INVALIDPARAMETERVALUE_INVALIDDNSNAME = "InvalidParameterValue.InvalidDNSName" INVALIDPARAMETERVALUE_INVALIDDOMAINNAME = "InvalidParameterValue.InvalidDomainName" INVALIDPARAMETERVALUE_INVALIDPROXYORIGIN = "InvalidParameterValue.InvalidProxyOrigin" INVALIDPARAMETERVALUE_ORIGINGROUPNOTEXISTS = "InvalidParameterValue.OriginGroupNotExists" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSEZONEAREA = "OperationDenied.InvalidAdvancedDefenseZoneArea" OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = "OperationDenied.LoadBalanceStatusNotInOnline" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" RESOURCESSOLDOUT_L7LACKOFRESOURCES = "ResourcesSoldOut.L7LackOfResources" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateAliasDomain ¶ added in v1.0.510
func (c *Client) CreateAliasDomain(request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain 创建别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR = "InternalError" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDALIASDOMAINNAME = "InvalidParameterValue.InvalidAliasDomainName" INVALIDPARAMETERVALUE_INVALIDALIASNAMESUFFIX = "InvalidParameterValue.InvalidAliasNameSuffix" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" RESOURCEINUSE_ZONE = "ResourceInUse.Zone" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos"
func (*Client) CreateAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) CreateAliasDomainWithContext(ctx context.Context, request *CreateAliasDomainRequest) (response *CreateAliasDomainResponse, err error)
CreateAliasDomain 创建别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR = "InternalError" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTSMCERT = "InvalidParameter.AliasDomainNotSupportSMCert" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDALIASDOMAINNAME = "InvalidParameterValue.InvalidAliasDomainName" INVALIDPARAMETERVALUE_INVALIDALIASNAMESUFFIX = "InvalidParameterValue.InvalidAliasNameSuffix" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEINUSE_ALIASNAME = "ResourceInUse.AliasName" RESOURCEINUSE_DUPLICATENAME = "ResourceInUse.DuplicateName" RESOURCEINUSE_ZONE = "ResourceInUse.Zone" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_DOMAINALREADYEXISTS = "ResourceUnavailable.DomainAlreadyExists" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION_TARGETNAMEORIGINTYPECOS = "UnsupportedOperation.TargetNameOriginTypeCos"
func (*Client) CreateApplicationProxy ¶
func (c *Client) CreateApplicationProxy(request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy 本接口为旧版,如需调用请尽快迁移至新版 [创建四层代理实例](https://cloud.tencent.com/document/product/1552/103417) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" INVALIDPARAMETER_PROXYNAMENOTMATCHED = "InvalidParameter.ProxyNameNotMatched" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_USERQUOTALIMITED = "LimitExceeded.UserQuotaLimited" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_PLATTYPEIPACCELERATEMAINLANDNOTSUPPORT = "OperationDenied.PlatTypeIPAccelerateMainlandNotSupport" OPERATIONDENIED_ZONENOTACTIVE = "OperationDenied.ZoneNotActive" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateApplicationProxyRule ¶
func (c *Client) CreateApplicationProxyRule(request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [创建四层代理转发规则
](https://cloud.tencent.com/document/product/1552/103416) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDRULEPROTO = "InvalidParameter.InvalidRuleProto" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_RULEORIGINFORMATERROR = "InvalidParameter.RuleOriginFormatError" INVALIDPARAMETER_RULEORIGINMULTIDOMAIN = "InvalidParameter.RuleOriginMultiDomain" INVALIDPARAMETER_RULEORIGINPORTINTEGER = "InvalidParameter.RuleOriginPortInteger" INVALIDPARAMETER_RULEORIGINVALUEERROR = "InvalidParameter.RuleOriginValueError" INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" INVALIDPARAMETER_RULEPORTGROUP = "InvalidParameter.RulePortGroup" INVALIDPARAMETER_RULEPORTINTEGER = "InvalidParameter.RulePortInteger" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateApplicationProxyRuleWithContext ¶
func (c *Client) CreateApplicationProxyRuleWithContext(ctx context.Context, request *CreateApplicationProxyRuleRequest) (response *CreateApplicationProxyRuleResponse, err error)
CreateApplicationProxyRule 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [创建四层代理转发规则
](https://cloud.tencent.com/document/product/1552/103416) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDRULEPROTO = "InvalidParameter.InvalidRuleProto" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_RULEORIGINFORMATERROR = "InvalidParameter.RuleOriginFormatError" INVALIDPARAMETER_RULEORIGINMULTIDOMAIN = "InvalidParameter.RuleOriginMultiDomain" INVALIDPARAMETER_RULEORIGINPORTINTEGER = "InvalidParameter.RuleOriginPortInteger" INVALIDPARAMETER_RULEORIGINVALUEERROR = "InvalidParameter.RuleOriginValueError" INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" INVALIDPARAMETER_RULEPORTGROUP = "InvalidParameter.RulePortGroup" INVALIDPARAMETER_RULEPORTINTEGER = "InvalidParameter.RulePortInteger" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateApplicationProxyWithContext ¶
func (c *Client) CreateApplicationProxyWithContext(ctx context.Context, request *CreateApplicationProxyRequest) (response *CreateApplicationProxyResponse, err error)
CreateApplicationProxy 本接口为旧版,如需调用请尽快迁移至新版 [创建四层代理实例](https://cloud.tencent.com/document/product/1552/103417) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" INVALIDPARAMETER_PROXYNAMENOTMATCHED = "InvalidParameter.ProxyNameNotMatched" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_USERQUOTALIMITED = "LimitExceeded.UserQuotaLimited" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_PLATTYPEIPACCELERATEMAINLANDNOTSUPPORT = "OperationDenied.PlatTypeIPAccelerateMainlandNotSupport" OPERATIONDENIED_ZONENOTACTIVE = "OperationDenied.ZoneNotActive" RESOURCEINSUFFICIENT = "ResourceInsufficient" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateCLSIndex ¶ added in v1.0.869
func (c *Client) CreateCLSIndex(request *CreateCLSIndexRequest) (response *CreateCLSIndexResponse, err error)
CreateCLSIndex 针对指定实时日志投递任务(task-id),在对应的腾讯云 CLS 日志主题中创建投递日志字段对应的键值索引。如果您在腾讯云 CLS 已经创建索引,本接口将采用合并的方式追加索引。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"
func (*Client) CreateCLSIndexWithContext ¶ added in v1.0.869
func (c *Client) CreateCLSIndexWithContext(ctx context.Context, request *CreateCLSIndexRequest) (response *CreateCLSIndexResponse, err error)
CreateCLSIndex 针对指定实时日志投递任务(task-id),在对应的腾讯云 CLS 日志主题中创建投递日志字段对应的键值索引。如果您在腾讯云 CLS 已经创建索引,本接口将采用合并的方式追加索引。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed"
func (*Client) CreateConfigGroupVersion ¶ added in v1.0.803
func (c *Client) CreateConfigGroupVersion(request *CreateConfigGroupVersionRequest) (response *CreateConfigGroupVersionResponse, err error)
CreateConfigGroupVersion 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CONFIGCONDITIONSYNTAXERROR = "FailedOperation.ConfigConditionSyntaxError" FAILEDOPERATION_CONFIGCONDITIONUNKNOWNTARGET = "FailedOperation.ConfigConditionUnknownTarget" FAILEDOPERATION_CONFIGCONDITIONVALUEEMPTYERROR = "FailedOperation.ConfigConditionValueEmptyError" FAILEDOPERATION_CONFIGFIELDTYPEERROR = "FailedOperation.ConfigFieldTypeError" FAILEDOPERATION_CONFIGFORMATERROR = "FailedOperation.ConfigFormatError" FAILEDOPERATION_CONFIGMALFORMEDCONTENT = "FailedOperation.ConfigMalformedContent" FAILEDOPERATION_CONFIGPARAMVALIDATEERRORS = "FailedOperation.ConfigParamValidateErrors" FAILEDOPERATION_CONFIGUNKNOWNFIELD = "FailedOperation.ConfigUnknownField" FAILEDOPERATION_CONFIGUNSUPPORTEDFORMATVERSION = "FailedOperation.ConfigUnsupportedFormatVersion" FAILEDOPERATION_MISSINGCONFIGCHUNK = "FailedOperation.MissingConfigChunk" FAILEDOPERATION_UNKNOWNCONFIGGROUPTYPE = "FailedOperation.UnknownConfigGroupType" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGACTION = "InvalidParameter.InvalidCacheKeyQueryStringAction" INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGEFOLLOWORIGIN = "InvalidParameter.InvalidMaxAgeFollowOrigin" INVALIDPARAMETER_INVALIDSTANDARDDEBUG = "InvalidParameter.InvalidStandardDebug" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_NOTINVERSIONCONTROLWHITELIST = "OperationDenied.NotInVersionControlWhiteList" OPERATIONDENIED_OWNERSHIPVERIFICATIONNOTPASSED = "OperationDenied.OwnershipVerificationNotPassed" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" OPERATIONDENIED_WORKMODENOTINVERSIONCONTROL = "OperationDenied.WorkModeNotInVersionControl" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
func (*Client) CreateConfigGroupVersionWithContext ¶ added in v1.0.803
func (c *Client) CreateConfigGroupVersionWithContext(ctx context.Context, request *CreateConfigGroupVersionRequest) (response *CreateConfigGroupVersionResponse, err error)
CreateConfigGroupVersion 在版本管理模式下,用于创建指定配置组的新版本。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CONFIGCONDITIONSYNTAXERROR = "FailedOperation.ConfigConditionSyntaxError" FAILEDOPERATION_CONFIGCONDITIONUNKNOWNTARGET = "FailedOperation.ConfigConditionUnknownTarget" FAILEDOPERATION_CONFIGCONDITIONVALUEEMPTYERROR = "FailedOperation.ConfigConditionValueEmptyError" FAILEDOPERATION_CONFIGFIELDTYPEERROR = "FailedOperation.ConfigFieldTypeError" FAILEDOPERATION_CONFIGFORMATERROR = "FailedOperation.ConfigFormatError" FAILEDOPERATION_CONFIGMALFORMEDCONTENT = "FailedOperation.ConfigMalformedContent" FAILEDOPERATION_CONFIGPARAMVALIDATEERRORS = "FailedOperation.ConfigParamValidateErrors" FAILEDOPERATION_CONFIGUNKNOWNFIELD = "FailedOperation.ConfigUnknownField" FAILEDOPERATION_CONFIGUNSUPPORTEDFORMATVERSION = "FailedOperation.ConfigUnsupportedFormatVersion" FAILEDOPERATION_MISSINGCONFIGCHUNK = "FailedOperation.MissingConfigChunk" FAILEDOPERATION_UNKNOWNCONFIGGROUPTYPE = "FailedOperation.UnknownConfigGroupType" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGACTION = "InvalidParameter.InvalidCacheKeyQueryStringAction" INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGEFOLLOWORIGIN = "InvalidParameter.InvalidMaxAgeFollowOrigin" INVALIDPARAMETER_INVALIDSTANDARDDEBUG = "InvalidParameter.InvalidStandardDebug" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded" MISSINGPARAMETER = "MissingParameter" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_NOTINVERSIONCONTROLWHITELIST = "OperationDenied.NotInVersionControlWhiteList" OPERATIONDENIED_OWNERSHIPVERIFICATIONNOTPASSED = "OperationDenied.OwnershipVerificationNotPassed" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" OPERATIONDENIED_WORKMODENOTINVERSIONCONTROL = "OperationDenied.WorkModeNotInVersionControl" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound"
func (*Client) CreateCustomizeErrorPage ¶ added in v1.0.939
func (c *Client) CreateCustomizeErrorPage(request *CreateCustomizeErrorPageRequest) (response *CreateCustomizeErrorPageResponse, err error)
CreateCustomizeErrorPage 创建自定义错误页面。
可能返回的错误码:
INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = "InvalidParameterValue.ContentTypeNotMatch" INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = "InvalidParameterValue.PageNameAlreadyExist"
func (*Client) CreateCustomizeErrorPageWithContext ¶ added in v1.0.939
func (c *Client) CreateCustomizeErrorPageWithContext(ctx context.Context, request *CreateCustomizeErrorPageRequest) (response *CreateCustomizeErrorPageResponse, err error)
CreateCustomizeErrorPage 创建自定义错误页面。
可能返回的错误码:
INVALIDPARAMETERVALUE_CONTENTTYPENOTMATCH = "InvalidParameterValue.ContentTypeNotMatch" INVALIDPARAMETERVALUE_PAGENAMEALREADYEXIST = "InvalidParameterValue.PageNameAlreadyExist"
func (*Client) CreateFunction ¶ added in v1.0.1013
func (c *Client) CreateFunction(request *CreateFunctionRequest) (response *CreateFunctionResponse, err error)
CreateFunction 创建并部署边缘函数至 EdgeOne 的边缘节点。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent" INVALIDPARAMETER_BADFUNCTIONNAME = "InvalidParameter.BadFunctionName" INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit" INVALIDPARAMETER_FUNCTIONNAMECONFLICT = "InvalidParameter.FunctionNameConflict" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" LIMITEXCEEDED_FUNCTIONLIMITEXCEEDED = "LimitExceeded.FunctionLimitExceeded" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateFunctionRule ¶ added in v1.0.1013
func (c *Client) CreateFunctionRule(request *CreateFunctionRuleRequest) (response *CreateFunctionRuleResponse, err error)
CreateFunctionRule 创建边缘函数的触发规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) CreateFunctionRuleWithContext ¶ added in v1.0.1013
func (c *Client) CreateFunctionRuleWithContext(ctx context.Context, request *CreateFunctionRuleRequest) (response *CreateFunctionRuleResponse, err error)
CreateFunctionRule 创建边缘函数的触发规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" LIMITEXCEEDED_RULELIMITEXCEEDED = "LimitExceeded.RuleLimitExceeded" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) CreateFunctionWithContext ¶ added in v1.0.1013
func (c *Client) CreateFunctionWithContext(ctx context.Context, request *CreateFunctionRequest) (response *CreateFunctionResponse, err error)
CreateFunction 创建并部署边缘函数至 EdgeOne 的边缘节点。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent" INVALIDPARAMETER_BADFUNCTIONNAME = "InvalidParameter.BadFunctionName" INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit" INVALIDPARAMETER_FUNCTIONNAMECONFLICT = "InvalidParameter.FunctionNameConflict" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" LIMITEXCEEDED_FUNCTIONLIMITEXCEEDED = "LimitExceeded.FunctionLimitExceeded" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateL4Proxy ¶ added in v1.0.850
func (c *Client) CreateL4Proxy(request *CreateL4ProxyRequest) (response *CreateL4ProxyResponse, err error)
CreateL4Proxy 用于创建四层代理实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_IPV6ADVANCEDCONFLICT = "OperationDenied.Ipv6AdvancedConflict" OPERATIONDENIED_IPV6STATICIPCONFLICT = "OperationDenied.Ipv6StaticIpConflict" OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = "OperationDenied.MsgIpv6AdvancedConflict" OPERATIONDENIED_STATICIPAREACONFLICT = "OperationDenied.StaticIpAreaConflict" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateL4ProxyRules ¶ added in v1.0.850
func (c *Client) CreateL4ProxyRules(request *CreateL4ProxyRulesRequest) (response *CreateL4ProxyRulesResponse, err error)
CreateL4ProxyRules 用于创建四层代理实例规则,支持单条或者批量创建。
可能返回的错误码:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDORIGINVALUE = "InvalidParameter.InvalidOriginValue" INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" LIMITEXCEEDED_PROXYRULESLIMITEXCEEDED = "LimitExceeded.ProxyRulesLimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PORTLACKOFRESOURCES = "OperationDenied.L4PortLackOfResources" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateL4ProxyRulesWithContext ¶ added in v1.0.850
func (c *Client) CreateL4ProxyRulesWithContext(ctx context.Context, request *CreateL4ProxyRulesRequest) (response *CreateL4ProxyRulesResponse, err error)
CreateL4ProxyRules 用于创建四层代理实例规则,支持单条或者批量创建。
可能返回的错误码:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDORIGINVALUE = "InvalidParameter.InvalidOriginValue" INVALIDPARAMETER_RULEPORTDUPLICATING = "InvalidParameter.RulePortDuplicating" LIMITEXCEEDED_PROXYRULESLIMITEXCEEDED = "LimitExceeded.ProxyRulesLimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PORTLACKOFRESOURCES = "OperationDenied.L4PortLackOfResources" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) CreateL4ProxyWithContext ¶ added in v1.0.850
func (c *Client) CreateL4ProxyWithContext(ctx context.Context, request *CreateL4ProxyRequest) (response *CreateL4ProxyResponse, err error)
CreateL4Proxy 用于创建四层代理实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_PROXYNAMEDUPLICATING = "InvalidParameter.ProxyNameDuplicating" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_IPV6ADVANCEDCONFLICT = "OperationDenied.Ipv6AdvancedConflict" OPERATIONDENIED_IPV6STATICIPCONFLICT = "OperationDenied.Ipv6StaticIpConflict" OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" OPERATIONDENIED_MSGIPV6ADVANCEDCONFLICT = "OperationDenied.MsgIpv6AdvancedConflict" OPERATIONDENIED_STATICIPAREACONFLICT = "OperationDenied.StaticIpAreaConflict" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateLoadBalancer ¶ added in v1.0.1031
func (c *Client) CreateLoadBalancer(request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer 创建负载均衡实例。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223)。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
INVALIDPARAMETER_LOADBALANCERNAMEREPEATED = "InvalidParameter.LoadBalancerNameRepeated" INVALIDPARAMETER_ORIGINGROUPTYPECANNOTMATCHLBTYPE = "InvalidParameter.OriginGroupTypeCanNotMatchLBType" INVALIDPARAMETER_SOMEORIGINGROUPNOTEXIST = "InvalidParameter.SomeOriginGroupNotExist" LIMITEXCEEDED_LOADBALANCINGCOUNTLIMITEXCEEDED = "LimitExceeded.LoadBalancingCountLimitExceeded"
func (*Client) CreateLoadBalancerWithContext ¶ added in v1.0.1031
func (c *Client) CreateLoadBalancerWithContext(ctx context.Context, request *CreateLoadBalancerRequest) (response *CreateLoadBalancerResponse, err error)
CreateLoadBalancer 创建负载均衡实例。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223)。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
INVALIDPARAMETER_LOADBALANCERNAMEREPEATED = "InvalidParameter.LoadBalancerNameRepeated" INVALIDPARAMETER_ORIGINGROUPTYPECANNOTMATCHLBTYPE = "InvalidParameter.OriginGroupTypeCanNotMatchLBType" INVALIDPARAMETER_SOMEORIGINGROUPNOTEXIST = "InvalidParameter.SomeOriginGroupNotExist" LIMITEXCEEDED_LOADBALANCINGCOUNTLIMITEXCEEDED = "LimitExceeded.LoadBalancingCountLimitExceeded"
func (*Client) CreateOriginGroup ¶
func (c *Client) CreateOriginGroup(request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINGROUPTYPE = "InvalidParameter.InvalidOriginGroupType" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" INVALIDPARAMETER_ORIGINRECORDWEIGHTVALUE = "InvalidParameter.OriginRecordWeightValue" INVALIDPARAMETER_ORIGINTHIRDPARTYPARAMFORMATERROR = "InvalidParameter.OriginThirdPartyParamFormatError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateOriginGroupWithContext ¶
func (c *Client) CreateOriginGroupWithContext(ctx context.Context, request *CreateOriginGroupRequest) (response *CreateOriginGroupResponse, err error)
CreateOriginGroup 创建源站组,以源站组的方式管理业务源站。此处配置的源站组可于**添加加速域名**和**四层代理**等功能中引用。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINGROUPTYPE = "InvalidParameter.InvalidOriginGroupType" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" INVALIDPARAMETER_ORIGINRECORDWEIGHTVALUE = "InvalidParameter.OriginRecordWeightValue" INVALIDPARAMETER_ORIGINTHIRDPARTYPARAMFORMATERROR = "InvalidParameter.OriginThirdPartyParamFormatError" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_LOADBALANCINGZONEISNOTACTIVE = "OperationDenied.LoadBalancingZoneIsNotActive" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreatePlan ¶ added in v1.0.912
func (c *Client) CreatePlan(request *CreatePlanRequest) (response *CreatePlanResponse, err error)
CreatePlan 若您需要使用 Edgeone 产品,您需要通过此接口创建计费套餐。
> 创建套餐后,您需要通过 [CreateZone](https://cloud.tencent.com/document/product/1552/80719) 完成创建站点,绑定套餐的流程,Edgeone 才能正常提供服务。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" INVALIDPARAMETER_INVALIDPERIOD = "InvalidParameter.InvalidPeriod" INVALIDPARAMETER_INVALIDPLANTYPE = "InvalidParameter.InvalidPlanType" INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" OPERATIONDENIED_PLEASECONTACTBUSINESSPERSONNEL = "OperationDenied.PleaseContactBusinessPersonnel"
func (*Client) CreatePlanForZone ¶
func (c *Client) CreatePlanForZone(request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone 为未购买套餐的站点购买套餐
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
func (*Client) CreatePlanForZoneWithContext ¶
func (c *Client) CreatePlanForZoneWithContext(ctx context.Context, request *CreatePlanForZoneRequest) (response *CreatePlanForZoneResponse, err error)
CreatePlanForZone 为未购买套餐的站点购买套餐
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP"
func (*Client) CreatePlanWithContext ¶ added in v1.0.912
func (c *Client) CreatePlanWithContext(ctx context.Context, request *CreatePlanRequest) (response *CreatePlanResponse, err error)
CreatePlan 若您需要使用 Edgeone 产品,您需要通过此接口创建计费套餐。
> 创建套餐后,您需要通过 [CreateZone](https://cloud.tencent.com/document/product/1552/80719) 完成创建站点,绑定套餐的流程,Edgeone 才能正常提供服务。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" INVALIDPARAMETER_INVALIDPERIOD = "InvalidParameter.InvalidPeriod" INVALIDPARAMETER_INVALIDPLANTYPE = "InvalidParameter.InvalidPlanType" INVALIDPARAMETER_INVALIDRENEWFLAG = "InvalidParameter.InvalidRenewFlag" OPERATIONDENIED_PLEASECONTACTBUSINESSPERSONNEL = "OperationDenied.PleaseContactBusinessPersonnel"
func (*Client) CreatePrefetchTask ¶
func (c *Client) CreatePrefetchTask(request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
CreatePrefetchTask 创建预热任务
可能返回的错误码:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreatePrefetchTaskWithContext ¶
func (c *Client) CreatePrefetchTaskWithContext(ctx context.Context, request *CreatePrefetchTaskRequest) (response *CreatePrefetchTaskResponse, err error)
CreatePrefetchTask 创建预热任务
可能返回的错误码:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_FAILEDTOGENERATEURL = "InternalError.FailedToGenerateUrl" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreatePurgeTask ¶
func (c *Client) CreatePurgeTask(request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
清除缓存任务详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。
可能返回的错误码:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreatePurgeTaskWithContext ¶
func (c *Client) CreatePurgeTaskWithContext(ctx context.Context, request *CreatePurgeTaskRequest) (response *CreatePurgeTaskResponse, err error)
CreatePurgeTask 当源站资源更新,但节点缓存 TTL 未过期时,用户仍会访问到旧的资源,此时可以通过该接口实现节点资源更新。触发更新的方法有以下两种:<li>直接删除:不做任何校验,直接删除节点缓存,用户请求时触发回源拉取;</li><li>标记过期:将节点资源置为过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li>
清除缓存任务详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。
可能返回的错误码:
INTERNALERROR_BACKENDERROR = "InternalError.BackendError" INTERNALERROR_DOMAINCONFIG = "InternalError.DomainConfig" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_QUOTASYSTEM = "InternalError.QuotaSystem" INVALIDPARAMETER_DOMAINNOTFOUND = "InvalidParameter.DomainNotFound" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" INVALIDPARAMETER_TARGET = "InvalidParameter.Target" INVALIDPARAMETER_TASKNOTGENERATED = "InvalidParameter.TaskNotGenerated" INVALIDPARAMETER_UPLOADURL = "InvalidParameter.UploadUrl" LIMITEXCEEDED_BATCHQUOTA = "LimitExceeded.BatchQuota" LIMITEXCEEDED_DAILYQUOTA = "LimitExceeded.DailyQuota" LIMITEXCEEDED_PACKNOTALLOW = "LimitExceeded.PackNotAllow" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateRealtimeLogDeliveryTask ¶ added in v1.0.869
func (c *Client) CreateRealtimeLogDeliveryTask(request *CreateRealtimeLogDeliveryTaskRequest) (response *CreateRealtimeLogDeliveryTaskResponse, err error)
CreateRealtimeLogDeliveryTask 通过本接口创建实时日志投递任务。本接口有如下限制:
同一个实体(七层域名或者四层代理实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed" FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed" FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = "FailedOperation.CreateLogTopicTaskAuthFailure" FAILEDOPERATION_REALTIMELOGAUTHFAILURE = "FailedOperation.RealtimeLogAuthFailure" FAILEDOPERATION_REALTIMELOGNOTFOUND = "FailedOperation.RealtimeLogNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter" INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType" INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter" INVALIDPARAMETER_REALTIMELOGENTITYALREADYCREATED = "InvalidParameter.RealtimeLogEntityAlreadyCreated" INVALIDPARAMETER_REALTIMELOGINVALIDDELIVERYAREA = "InvalidParameter.RealtimeLogInvalidDeliveryArea" INVALIDPARAMETER_REALTIMELOGINVALIDLOGTYPE = "InvalidParameter.RealtimeLogInvalidLogType" INVALIDPARAMETER_REALTIMELOGINVALIDTASKTYPE = "InvalidParameter.RealtimeLogInvalidTaskType" INVALIDPARAMETER_REALTIMELOGNUMSEXCEEDLIMIT = "InvalidParameter.RealtimeLogNumsExceedLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateRealtimeLogDeliveryTaskWithContext ¶ added in v1.0.869
func (c *Client) CreateRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *CreateRealtimeLogDeliveryTaskRequest) (response *CreateRealtimeLogDeliveryTaskResponse, err error)
CreateRealtimeLogDeliveryTask 通过本接口创建实时日志投递任务。本接口有如下限制:
同一个实体(七层域名或者四层代理实例)在同种数据投递类型(LogType)和数据投递区域(Area)的组合下,只能被添加到一个实时日志投递任务中。建议先通过 [DescribeRealtimeLogDeliveryTasks](https://cloud.tencent.com/document/product/1552/104110) 接口根据实体查询实时日志投递任务列表,检查实体是否已经被添加到另一实时日志投递任务中。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATECLSLOGSETFAILED = "FailedOperation.CreateClsLogSetFailed" FAILEDOPERATION_CREATECLSLOGTOPICTASKFAILED = "FailedOperation.CreateClsLogTopicTaskFailed" FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = "FailedOperation.CreateLogTopicTaskAuthFailure" FAILEDOPERATION_REALTIMELOGAUTHFAILURE = "FailedOperation.RealtimeLogAuthFailure" FAILEDOPERATION_REALTIMELOGNOTFOUND = "FailedOperation.RealtimeLogNotFound" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter" INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType" INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter" INVALIDPARAMETER_REALTIMELOGENTITYALREADYCREATED = "InvalidParameter.RealtimeLogEntityAlreadyCreated" INVALIDPARAMETER_REALTIMELOGINVALIDDELIVERYAREA = "InvalidParameter.RealtimeLogInvalidDeliveryArea" INVALIDPARAMETER_REALTIMELOGINVALIDLOGTYPE = "InvalidParameter.RealtimeLogInvalidLogType" INVALIDPARAMETER_REALTIMELOGINVALIDTASKTYPE = "InvalidParameter.RealtimeLogInvalidTaskType" INVALIDPARAMETER_REALTIMELOGNUMSEXCEEDLIMIT = "InvalidParameter.RealtimeLogNumsExceedLimit" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 规则引擎创建规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACCESSREDIRECTREGEXERROR = "InvalidParameter.AccessRedirectRegexError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONORIGINPRIVATEADDRESS = "InvalidParameter.ErrInvalidActionOriginPrivateAddress" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITION = "InvalidParameter.ErrInvalidCondition" INVALIDPARAMETER_ERRINVALIDCONDITIONCANNOTONLYCONTAINHOSTWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionCannotOnlyContainHostWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYREGULAR = "InvalidParameter.ErrInvalidConditionValueTooManyRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPEEXPIRETIME = "InvalidParameter.InvalidAuthenticationTypeExpireTime" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECT = "InvalidParameter.InvalidUrlRedirect" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_LOADBALANCEINSTANCEIDISREQUIRED = "InvalidParameter.LoadBalanceInstanceIdIsRequired" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateRuleWithContext ¶
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 规则引擎创建规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACCESSREDIRECTREGEXERROR = "InvalidParameter.AccessRedirectRegexError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONORIGINPRIVATEADDRESS = "InvalidParameter.ErrInvalidActionOriginPrivateAddress" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMBADVALUETYPE = "InvalidParameter.ErrInvalidActionParamBadValueType" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITION = "InvalidParameter.ErrInvalidCondition" INVALIDPARAMETER_ERRINVALIDCONDITIONCANNOTONLYCONTAINHOSTWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionCannotOnlyContainHostWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYREGULAR = "InvalidParameter.ErrInvalidConditionValueTooManyRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEZEROLENGTH = "InvalidParameter.ErrInvalidConditionValueZeroLength" INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATION = "InvalidParameter.InvalidAuthentication" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPEEXPIRETIME = "InvalidParameter.InvalidAuthenticationTypeExpireTime" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHECONFIGCACHE = "InvalidParameter.InvalidCacheConfigCache" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECT = "InvalidParameter.InvalidUrlRedirect" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_LOADBALANCEINSTANCEIDISREQUIRED = "InvalidParameter.LoadBalanceInstanceIdIsRequired" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_TASKSYSTEMERROR = "InvalidParameter.TaskSystemError" INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSecurityIPGroup ¶ added in v1.0.647
func (c *Client) CreateSecurityIPGroup(request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
CreateSecurityIPGroup 创建安全 IP 组
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSecurityIPGroupWithContext ¶ added in v1.0.647
func (c *Client) CreateSecurityIPGroupWithContext(ctx context.Context, request *CreateSecurityIPGroupRequest) (response *CreateSecurityIPGroupResponse, err error)
CreateSecurityIPGroup 创建安全 IP 组
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) CreateSharedCNAME ¶ added in v1.0.742
func (c *Client) CreateSharedCNAME(request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
CreateSharedCNAME 用于创建共享 CNAME,该功能白名单内测中。
可能返回的错误码:
INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME" INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists"
func (*Client) CreateSharedCNAMEWithContext ¶ added in v1.0.742
func (c *Client) CreateSharedCNAMEWithContext(ctx context.Context, request *CreateSharedCNAMERequest) (response *CreateSharedCNAMEResponse, err error)
CreateSharedCNAME 用于创建共享 CNAME,该功能白名单内测中。
可能返回的错误码:
INVALIDPARAMETERVALUE_NOTALLOWEDWILDCARDSHAREDCNAME = "InvalidParameterValue.NotAllowedWildcardSharedCNAME" INVALIDPARAMETERVALUE_SHAREDCNAMEPREFIXNOTMATCH = "InvalidParameterValue.SharedCNAMEPrefixNotMatch" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEUNAVAILABLE_SHAREDCNAMEALREADYEXISTS = "ResourceUnavailable.SharedCNAMEAlreadyExists"
func (*Client) CreateZone ¶
func (c *Client) CreateZone(request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
> 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACCESSBLACKLIST = "InvalidParameterValue.AccessBlacklist" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = "InvalidParameterValue.TopLevelDomainNotSupport" INVALIDPARAMETERVALUE_ZONENAMEINVALID = "InvalidParameterValue.ZoneNameInvalid" INVALIDPARAMETERVALUE_ZONENAMENOTSUPPORTPUNYCODE = "InvalidParameterValue.ZoneNameNotSupportPunyCode" INVALIDPARAMETERVALUE_ZONENAMENOTSUPPORTSUBDOMAIN = "InvalidParameterValue.ZoneNameNotSupportSubDomain" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_COMPLIANCEFORBIDDEN = "OperationDenied.ComplianceForbidden" OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_HOST = "ResourceInUse.Host" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) CreateZoneWithContext ¶
func (c *Client) CreateZoneWithContext(ctx context.Context, request *CreateZoneRequest) (response *CreateZoneResponse, err error)
CreateZone EdgeOne 为您提供 CNAME、NS 和无域名接入三种接入方式,您需要先通过此接口完成站点创建。CNAME 和 NS 接入站点的场景可参考 [从零开始快速接入 EdgeOne](https://cloud.tencent.com/document/product/1552/87601); 无域名接入的场景可参考 [快速启用四层代理服务](https://cloud.tencent.com/document/product/1552/96051)。
> 建议您在账号下已存在套餐时调用本接口创建站点,请在入参时传入 PlanId ,直接将站点绑定至该套餐;不传入 PlanId 时,创建出来的站点会处于未激活状态,无法正常服务,您需要通过 [BindZoneToPlan](https://cloud.tencent.com/document/product/1552/83042) 完成套餐绑定之后,站点才可正常提供服务 。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" INVALIDPARAMETER_ZONEHASBEENBOUND = "InvalidParameter.ZoneHasBeenBound" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ACCESSBLACKLIST = "InvalidParameterValue.AccessBlacklist" INVALIDPARAMETERVALUE_INVALIDTAGVALUE = "InvalidParameterValue.InvalidTagValue" INVALIDPARAMETERVALUE_TOPLEVELDOMAINNOTSUPPORT = "InvalidParameterValue.TopLevelDomainNotSupport" INVALIDPARAMETERVALUE_ZONENAMEINVALID = "InvalidParameterValue.ZoneNameInvalid" INVALIDPARAMETERVALUE_ZONENAMENOTSUPPORTPUNYCODE = "InvalidParameterValue.ZoneNameNotSupportPunyCode" INVALIDPARAMETERVALUE_ZONENAMENOTSUPPORTSUBDOMAIN = "InvalidParameterValue.ZoneNameNotSupportSubDomain" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" LIMITEXCEEDED_ZONEBINDPLAN = "LimitExceeded.ZoneBindPlan" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_COMPLIANCEFORBIDDEN = "OperationDenied.ComplianceForbidden" OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation" OPERATIONDENIED_DOMAINISBLOCKED = "OperationDenied.DomainIsBlocked" OPERATIONDENIED_RECORDISFORBIDDEN = "OperationDenied.RecordIsForbidden" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_ALIASDOMAIN = "ResourceInUse.AliasDomain" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_HOST = "ResourceInUse.Host" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSHOST = "ResourceInUse.OthersHost" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DeleteAccelerationDomains ¶ added in v1.0.591
func (c *Client) DeleteAccelerationDomains(request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
DeleteAccelerationDomains 批量删除加速域名
可能返回的错误码:
INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteAccelerationDomainsWithContext ¶ added in v1.0.591
func (c *Client) DeleteAccelerationDomainsWithContext(ctx context.Context, request *DeleteAccelerationDomainsRequest) (response *DeleteAccelerationDomainsResponse, err error)
DeleteAccelerationDomains 批量删除加速域名
可能返回的错误码:
INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteAliasDomain ¶ added in v1.0.510
func (c *Client) DeleteAliasDomain(request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain 删除别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) DeleteAliasDomainWithContext(ctx context.Context, request *DeleteAliasDomainRequest) (response *DeleteAliasDomainResponse, err error)
DeleteAliasDomain 删除别称域名。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteApplicationProxy ¶
func (c *Client) DeleteApplicationProxy(request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理实例
](https://cloud.tencent.com/document/product/1552/103415) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteApplicationProxyRule ¶
func (c *Client) DeleteApplicationProxyRule(request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理转发规则](https://cloud.tencent.com/document/product/1552/103414) 。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteApplicationProxyRuleWithContext ¶
func (c *Client) DeleteApplicationProxyRuleWithContext(ctx context.Context, request *DeleteApplicationProxyRuleRequest) (response *DeleteApplicationProxyRuleResponse, err error)
DeleteApplicationProxyRule 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理转发规则](https://cloud.tencent.com/document/product/1552/103414) 。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteApplicationProxyWithContext ¶
func (c *Client) DeleteApplicationProxyWithContext(ctx context.Context, request *DeleteApplicationProxyRequest) (response *DeleteApplicationProxyResponse, err error)
DeleteApplicationProxy 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [删除四层代理实例
](https://cloud.tencent.com/document/product/1552/103415) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteCustomErrorPage ¶ added in v1.0.939
func (c *Client) DeleteCustomErrorPage(request *DeleteCustomErrorPageRequest) (response *DeleteCustomErrorPageResponse, err error)
DeleteCustomErrorPage 删除自定义错误页面。
可能返回的错误码:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteCustomErrorPageWithContext ¶ added in v1.0.939
func (c *Client) DeleteCustomErrorPageWithContext(ctx context.Context, request *DeleteCustomErrorPageRequest) (response *DeleteCustomErrorPageResponse, err error)
DeleteCustomErrorPage 删除自定义错误页面。
可能返回的错误码:
RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DeleteFunction ¶ added in v1.0.1013
func (c *Client) DeleteFunction(request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error)
DeleteFunction 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DeleteFunctionRules ¶ added in v1.0.1013
func (c *Client) DeleteFunctionRules(request *DeleteFunctionRulesRequest) (response *DeleteFunctionRulesResponse, err error)
DeleteFunctionRules 删除边缘函数触发规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DeleteFunctionRulesWithContext ¶ added in v1.0.1013
func (c *Client) DeleteFunctionRulesWithContext(ctx context.Context, request *DeleteFunctionRulesRequest) (response *DeleteFunctionRulesResponse, err error)
DeleteFunctionRules 删除边缘函数触发规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DeleteFunctionWithContext ¶ added in v1.0.1013
func (c *Client) DeleteFunctionWithContext(ctx context.Context, request *DeleteFunctionRequest) (response *DeleteFunctionResponse, err error)
DeleteFunction 删除边缘函数,删除后函数无法恢复,关联的触发规则会一并删除。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DeleteL4Proxy ¶ added in v1.0.850
func (c *Client) DeleteL4Proxy(request *DeleteL4ProxyRequest) (response *DeleteL4ProxyResponse, err error)
DeleteL4Proxy 用于删除四层代理实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteL4ProxyRules ¶ added in v1.0.850
func (c *Client) DeleteL4ProxyRules(request *DeleteL4ProxyRulesRequest) (response *DeleteL4ProxyRulesResponse, err error)
DeleteL4ProxyRules 用于删除四层代理转发规则,支持单条或者批量操作。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteL4ProxyRulesWithContext ¶ added in v1.0.850
func (c *Client) DeleteL4ProxyRulesWithContext(ctx context.Context, request *DeleteL4ProxyRulesRequest) (response *DeleteL4ProxyRulesResponse, err error)
DeleteL4ProxyRules 用于删除四层代理转发规则,支持单条或者批量操作。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteL4ProxyWithContext ¶ added in v1.0.850
func (c *Client) DeleteL4ProxyWithContext(ctx context.Context, request *DeleteL4ProxyRequest) (response *DeleteL4ProxyResponse, err error)
DeleteL4Proxy 用于删除四层代理实例。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteLoadBalancer ¶ added in v1.0.1031
func (c *Client) DeleteLoadBalancer(request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer 删除负载均衡实例,若负载均衡示例被其他服务(例如:四层代理等)引用的时候,示例无法被删除,需要先解除引用关系。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_LOADBALANCERUSEDINL4PROXY = "InvalidParameter.LoadBalancerUsedInL4Proxy" INVALIDPARAMETER_LOADBALANCERUSEDINL7DOMAIN = "InvalidParameter.LoadBalancerUsedInL7Domain" INVALIDPARAMETER_LOADBALANCERUSEDINRULEENGINE = "InvalidParameter.LoadBalancerUsedInRuleEngine"
func (*Client) DeleteLoadBalancerWithContext ¶ added in v1.0.1031
func (c *Client) DeleteLoadBalancerWithContext(ctx context.Context, request *DeleteLoadBalancerRequest) (response *DeleteLoadBalancerResponse, err error)
DeleteLoadBalancer 删除负载均衡实例,若负载均衡示例被其他服务(例如:四层代理等)引用的时候,示例无法被删除,需要先解除引用关系。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_LOADBALANCERUSEDINL4PROXY = "InvalidParameter.LoadBalancerUsedInL4Proxy" INVALIDPARAMETER_LOADBALANCERUSEDINL7DOMAIN = "InvalidParameter.LoadBalancerUsedInL7Domain" INVALIDPARAMETER_LOADBALANCERUSEDINRULEENGINE = "InvalidParameter.LoadBalancerUsedInRuleEngine"
func (*Client) DeleteOriginGroup ¶
func (c *Client) DeleteOriginGroup(request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ORIGINGROUPACCELERATIONDOMAINUSED = "OperationDenied.OriginGroupAccelerationDomainUsed" OPERATIONDENIED_ORIGINGROUPL4USED = "OperationDenied.OriginGroupL4Used" OPERATIONDENIED_ORIGINGROUPLBUSED = "OperationDenied.OriginGroupLBUsed" OPERATIONDENIED_ORIGINGROUPRULEENGINEUSED = "OperationDenied.OriginGroupRuleEngineUsed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteOriginGroupWithContext ¶
func (c *Client) DeleteOriginGroupWithContext(ctx context.Context, request *DeleteOriginGroupRequest) (response *DeleteOriginGroupResponse, err error)
DeleteOriginGroup 删除源站组,若源站组仍然被服务(例如:四层代理,域名服务,负载均衡,规则引起)引用,将不允许删除。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ORIGINGROUPACCELERATIONDOMAINUSED = "OperationDenied.OriginGroupAccelerationDomainUsed" OPERATIONDENIED_ORIGINGROUPL4USED = "OperationDenied.OriginGroupL4Used" OPERATIONDENIED_ORIGINGROUPLBUSED = "OperationDenied.OriginGroupLBUsed" OPERATIONDENIED_ORIGINGROUPRULEENGINEUSED = "OperationDenied.OriginGroupRuleEngineUsed" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteRealtimeLogDeliveryTask ¶ added in v1.0.869
func (c *Client) DeleteRealtimeLogDeliveryTask(request *DeleteRealtimeLogDeliveryTaskRequest) (response *DeleteRealtimeLogDeliveryTaskResponse, err error)
DeleteRealtimeLogDeliveryTask 通过本接口删除实时日志投递任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteRealtimeLogDeliveryTaskWithContext ¶ added in v1.0.869
func (c *Client) DeleteRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *DeleteRealtimeLogDeliveryTaskRequest) (response *DeleteRealtimeLogDeliveryTaskResponse, err error)
DeleteRealtimeLogDeliveryTask 通过本接口删除实时日志投递任务。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DeleteRules ¶
func (c *Client) DeleteRules(request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules 批量删除规则引擎规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteRulesWithContext ¶
func (c *Client) DeleteRulesWithContext(ctx context.Context, request *DeleteRulesRequest) (response *DeleteRulesResponse, err error)
DeleteRules 批量删除规则引擎规则。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSecurityIPGroup ¶ added in v1.0.647
func (c *Client) DeleteSecurityIPGroup(request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
DeleteSecurityIPGroup 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSecurityIPGroupWithContext ¶ added in v1.0.647
func (c *Client) DeleteSecurityIPGroupWithContext(ctx context.Context, request *DeleteSecurityIPGroupRequest) (response *DeleteSecurityIPGroupResponse, err error)
DeleteSecurityIPGroup 删除指定 IP 组,如果有规则引用了 IP 组情况,则不允许删除。
可能返回的错误码:
INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteSharedCNAME ¶ added in v1.0.784
func (c *Client) DeleteSharedCNAME(request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
DeleteSharedCNAME 用于删除共享 CNAME,该功能白名单内测中。
可能返回的错误码:
RESOURCEINUSE_SHAREDCNAME = "ResourceInUse.SharedCNAME"
func (*Client) DeleteSharedCNAMEWithContext ¶ added in v1.0.784
func (c *Client) DeleteSharedCNAMEWithContext(ctx context.Context, request *DeleteSharedCNAMERequest) (response *DeleteSharedCNAMEResponse, err error)
DeleteSharedCNAME 用于删除共享 CNAME,该功能白名单内测中。
可能返回的错误码:
RESOURCEINUSE_SHAREDCNAME = "ResourceInUse.SharedCNAME"
func (*Client) DeleteZone ¶
func (c *Client) DeleteZone(request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DELETEZONEPRECHECKFAILED = "OperationDenied.DeleteZonePreCheckFailed" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ZONEISBINDINGSHAREDCNAME = "OperationDenied.ZoneIsBindingSharedCNAME" OPERATIONDENIED_ZONEISREFERENCECUSTOMERRORPAGE = "OperationDenied.ZoneIsReferenceCustomErrorPage" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeleteZoneWithContext ¶
func (c *Client) DeleteZoneWithContext(ctx context.Context, request *DeleteZoneRequest) (response *DeleteZoneResponse, err error)
DeleteZone 删除站点。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DELETEZONEPRECHECKFAILED = "OperationDenied.DeleteZonePreCheckFailed" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ZONEISBINDINGSHAREDCNAME = "OperationDenied.ZoneIsBindingSharedCNAME" OPERATIONDENIED_ZONEISREFERENCECUSTOMERRORPAGE = "OperationDenied.ZoneIsReferenceCustomErrorPage" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DeployConfigGroupVersion ¶ added in v1.0.803
func (c *Client) DeployConfigGroupVersion(request *DeployConfigGroupVersionRequest) (response *DeployConfigGroupVersionResponse, err error)
DeployConfigGroupVersion 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
FAILEDOPERATION_CONFIGCONDITIONSYNTAXERROR = "FailedOperation.ConfigConditionSyntaxError" FAILEDOPERATION_CONFIGCONDITIONUNKNOWNTARGET = "FailedOperation.ConfigConditionUnknownTarget" FAILEDOPERATION_CONFIGCONDITIONVALUEEMPTYERROR = "FailedOperation.ConfigConditionValueEmptyError" FAILEDOPERATION_CONFIGFIELDTYPEERROR = "FailedOperation.ConfigFieldTypeError" FAILEDOPERATION_CONFIGFORMATERROR = "FailedOperation.ConfigFormatError" FAILEDOPERATION_CONFIGMALFORMEDCONTENT = "FailedOperation.ConfigMalformedContent" FAILEDOPERATION_CONFIGPARAMVALIDATEERRORS = "FailedOperation.ConfigParamValidateErrors" FAILEDOPERATION_CONFIGUNKNOWNFIELD = "FailedOperation.ConfigUnknownField" FAILEDOPERATION_CONFIGUNSUPPORTEDFORMATVERSION = "FailedOperation.ConfigUnsupportedFormatVersion" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DOMAINSTATUSUNSTABLE = "OperationDenied.DomainStatusUnstable" OPERATIONDENIED_ENVNOTREADY = "OperationDenied.EnvNotReady" OPERATIONDENIED_NOTINVERSIONCONTROLWHITELIST = "OperationDenied.NotInVersionControlWhiteList" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" OPERATIONDENIED_WORKMODENOTINVERSIONCONTROL = "OperationDenied.WorkModeNotInVersionControl" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_VERSIONNOTFOUND = "ResourceNotFound.VersionNotFound"
func (*Client) DeployConfigGroupVersionWithContext ¶ added in v1.0.803
func (c *Client) DeployConfigGroupVersionWithContext(ctx context.Context, request *DeployConfigGroupVersionRequest) (response *DeployConfigGroupVersionResponse, err error)
DeployConfigGroupVersion 在版本管理模式下,用于版本发布,可通过 EnvId 将版本发布至测试环境或生产环境。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
FAILEDOPERATION_CONFIGCONDITIONSYNTAXERROR = "FailedOperation.ConfigConditionSyntaxError" FAILEDOPERATION_CONFIGCONDITIONUNKNOWNTARGET = "FailedOperation.ConfigConditionUnknownTarget" FAILEDOPERATION_CONFIGCONDITIONVALUEEMPTYERROR = "FailedOperation.ConfigConditionValueEmptyError" FAILEDOPERATION_CONFIGFIELDTYPEERROR = "FailedOperation.ConfigFieldTypeError" FAILEDOPERATION_CONFIGFORMATERROR = "FailedOperation.ConfigFormatError" FAILEDOPERATION_CONFIGMALFORMEDCONTENT = "FailedOperation.ConfigMalformedContent" FAILEDOPERATION_CONFIGPARAMVALIDATEERRORS = "FailedOperation.ConfigParamValidateErrors" FAILEDOPERATION_CONFIGUNKNOWNFIELD = "FailedOperation.ConfigUnknownField" FAILEDOPERATION_CONFIGUNSUPPORTEDFORMATVERSION = "FailedOperation.ConfigUnsupportedFormatVersion" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DOMAINSTATUSUNSTABLE = "OperationDenied.DomainStatusUnstable" OPERATIONDENIED_ENVNOTREADY = "OperationDenied.EnvNotReady" OPERATIONDENIED_NOTINVERSIONCONTROLWHITELIST = "OperationDenied.NotInVersionControlWhiteList" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" OPERATIONDENIED_WORKMODENOTINVERSIONCONTROL = "OperationDenied.WorkModeNotInVersionControl" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_VERSIONNOTFOUND = "ResourceNotFound.VersionNotFound"
func (*Client) DescribeAccelerationDomains ¶ added in v1.0.591
func (c *Client) DescribeAccelerationDomains(request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
DescribeAccelerationDomains 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAccelerationDomainsWithContext ¶ added in v1.0.591
func (c *Client) DescribeAccelerationDomainsWithContext(ctx context.Context, request *DescribeAccelerationDomainsRequest) (response *DescribeAccelerationDomainsResponse, err error)
DescribeAccelerationDomains 您可以通过本接口查看站点下的域名信息,包括加速域名、源站以及域名状态等信息。您可以查看站点下全部域名的信息,也可以指定过滤条件查询对应的域名信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_DOMAINONTRAFFICSCHEDULING = "InvalidParameter.DomainOnTrafficScheduling" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAliasDomains ¶ added in v1.0.510
func (c *Client) DescribeAliasDomains(request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains 查询别称域名信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAliasDomainsWithContext ¶ added in v1.0.510
func (c *Client) DescribeAliasDomainsWithContext(ctx context.Context, request *DescribeAliasDomainsRequest) (response *DescribeAliasDomainsResponse, err error)
DescribeAliasDomains 查询别称域名信息列表。
可能返回的错误码:
INTERNALERROR = "InternalError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeApplicationProxies ¶
func (c *Client) DescribeApplicationProxies(request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
DescribeApplicationProxies 本接口为旧版,如需调用请尽快迁移至新版,新版接口中将四层代理实例列表的查询和四层转发规则的查询拆分成两个接口,详情请参考 [查询四层代理实例列表](https://cloud.tencent.com/document/product/1552/103413) 和 [查询四层代理转发规则列表](https://cloud.tencent.com/document/product/1552/103412)。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeApplicationProxiesWithContext ¶
func (c *Client) DescribeApplicationProxiesWithContext(ctx context.Context, request *DescribeApplicationProxiesRequest) (response *DescribeApplicationProxiesResponse, err error)
DescribeApplicationProxies 本接口为旧版,如需调用请尽快迁移至新版,新版接口中将四层代理实例列表的查询和四层转发规则的查询拆分成两个接口,详情请参考 [查询四层代理实例列表](https://cloud.tencent.com/document/product/1552/103413) 和 [查询四层代理转发规则列表](https://cloud.tencent.com/document/product/1552/103412)。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeAvailablePlans ¶
func (c *Client) DescribeAvailablePlans(request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans 查询当前账户可用套餐信息列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeAvailablePlansWithContext ¶
func (c *Client) DescribeAvailablePlansWithContext(ctx context.Context, request *DescribeAvailablePlansRequest) (response *DescribeAvailablePlansResponse, err error)
DescribeAvailablePlans 查询当前账户可用套餐信息列表
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeBillingData ¶
func (c *Client) DescribeBillingData(request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
DescribeBillingData 通过本接口查询计费数据。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_INVALIDINTERVAL = "InvalidParameter.InvalidInterval" INVALIDPARAMETER_INVALIDMETRIC = "InvalidParameter.InvalidMetric" INVALIDPARAMETER_ZONEHASNOTBEENBOUNDTOPLAN = "InvalidParameter.ZoneHasNotBeenBoundToPlan"
func (*Client) DescribeBillingDataWithContext ¶
func (c *Client) DescribeBillingDataWithContext(ctx context.Context, request *DescribeBillingDataRequest) (response *DescribeBillingDataResponse, err error)
DescribeBillingData 通过本接口查询计费数据。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_INVALIDINTERVAL = "InvalidParameter.InvalidInterval" INVALIDPARAMETER_INVALIDMETRIC = "InvalidParameter.InvalidMetric" INVALIDPARAMETER_ZONEHASNOTBEENBOUNDTOPLAN = "InvalidParameter.ZoneHasNotBeenBoundToPlan"
func (*Client) DescribeConfigGroupVersionDetail ¶ added in v1.0.803
func (c *Client) DescribeConfigGroupVersionDetail(request *DescribeConfigGroupVersionDetailRequest) (response *DescribeConfigGroupVersionDetailResponse, err error)
DescribeConfigGroupVersionDetail 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeConfigGroupVersionDetailWithContext ¶ added in v1.0.803
func (c *Client) DescribeConfigGroupVersionDetailWithContext(ctx context.Context, request *DescribeConfigGroupVersionDetailRequest) (response *DescribeConfigGroupVersionDetailResponse, err error)
DescribeConfigGroupVersionDetail 在版本管理模式下,用于获取版本的详细信息,包括版本 ID、描述、状态、创建时间、所属配置组信息以及版本配置文件的内容。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeConfigGroupVersions ¶ added in v1.0.803
func (c *Client) DescribeConfigGroupVersions(request *DescribeConfigGroupVersionsRequest) (response *DescribeConfigGroupVersionsResponse, err error)
DescribeConfigGroupVersions 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeConfigGroupVersionsWithContext ¶ added in v1.0.803
func (c *Client) DescribeConfigGroupVersionsWithContext(ctx context.Context, request *DescribeConfigGroupVersionsRequest) (response *DescribeConfigGroupVersionsResponse, err error)
DescribeConfigGroupVersions 在版本管理模式下,用于查询指定配置组的版本列表。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeContentQuota ¶
func (c *Client) DescribeContentQuota(request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota 查询内容管理接口配额
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeContentQuotaWithContext ¶
func (c *Client) DescribeContentQuotaWithContext(ctx context.Context, request *DescribeContentQuotaRequest) (response *DescribeContentQuotaResponse, err error)
DescribeContentQuota 查询内容管理接口配额
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeCustomErrorPages ¶ added in v1.0.939
func (c *Client) DescribeCustomErrorPages(request *DescribeCustomErrorPagesRequest) (response *DescribeCustomErrorPagesResponse, err error)
DescribeCustomErrorPages 查询自定义错误页列表。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
func (*Client) DescribeCustomErrorPagesWithContext ¶ added in v1.0.939
func (c *Client) DescribeCustomErrorPagesWithContext(ctx context.Context, request *DescribeCustomErrorPagesRequest) (response *DescribeCustomErrorPagesResponse, err error)
DescribeCustomErrorPages 查询自定义错误页列表。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError"
func (*Client) DescribeDDoSAttackData ¶
func (c *Client) DescribeDDoSAttackData(request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
DescribeDDoSAttackData 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDDoSAttackDataWithContext ¶
func (c *Client) DescribeDDoSAttackDataWithContext(ctx context.Context, request *DescribeDDoSAttackDataRequest) (response *DescribeDDoSAttackDataResponse, err error)
DescribeDDoSAttackData 本接口(DescribeDDoSAttackData)用于查询DDoS攻击时序数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDDoSAttackEvent ¶
func (c *Client) DescribeDDoSAttackEvent(request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
DescribeDDoSAttackEvent 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackEventWithContext ¶
func (c *Client) DescribeDDoSAttackEventWithContext(ctx context.Context, request *DescribeDDoSAttackEventRequest) (response *DescribeDDoSAttackEventResponse, err error)
DescribeDDoSAttackEvent 本接口(DescribeDDoSAttackEvent)用于查询DDoS攻击事件列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopData ¶
func (c *Client) DescribeDDoSAttackTopData(request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDDoSAttackTopDataWithContext ¶
func (c *Client) DescribeDDoSAttackTopDataWithContext(ctx context.Context, request *DescribeDDoSAttackTopDataRequest) (response *DescribeDDoSAttackTopDataResponse, err error)
DescribeDDoSAttackTopData 本接口(DescribeDDoSAttackTopData)用于查询DDoS攻击Top数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeDefaultCertificates ¶
func (c *Client) DescribeDefaultCertificates(request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates 查询默认证书列表
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDefaultCertificatesWithContext ¶
func (c *Client) DescribeDefaultCertificatesWithContext(ctx context.Context, request *DescribeDefaultCertificatesRequest) (response *DescribeDefaultCertificatesResponse, err error)
DescribeDefaultCertificates 查询默认证书列表
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeDeployHistory ¶ added in v1.0.803
func (c *Client) DescribeDeployHistory(request *DescribeDeployHistoryRequest) (response *DescribeDeployHistoryResponse, err error)
DescribeDeployHistory 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeDeployHistoryWithContext ¶ added in v1.0.803
func (c *Client) DescribeDeployHistoryWithContext(ctx context.Context, request *DescribeDeployHistoryRequest) (response *DescribeDeployHistoryResponse, err error)
DescribeDeployHistory 在版本管理模式下,用于查询生产/测试环境的版本发布历史。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeEnvironments ¶ added in v1.0.803
func (c *Client) DescribeEnvironments(request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeEnvironmentsWithContext ¶ added in v1.0.803
func (c *Client) DescribeEnvironmentsWithContext(ctx context.Context, request *DescribeEnvironmentsRequest) (response *DescribeEnvironmentsResponse, err error)
DescribeEnvironments 在版本管理模式下,用于查询环境信息,可获取环境 ID、类型、当前生效版本等。版本管理功能内测中,当前仅白名单开放。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) DescribeFunctionRules ¶ added in v1.0.1013
func (c *Client) DescribeFunctionRules(request *DescribeFunctionRulesRequest) (response *DescribeFunctionRulesResponse, err error)
DescribeFunctionRules 查询边缘函数触发规则列表,支持按照规则 ID、函数 ID、规则描述等条件进行过滤。
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DescribeFunctionRulesWithContext ¶ added in v1.0.1013
func (c *Client) DescribeFunctionRulesWithContext(ctx context.Context, request *DescribeFunctionRulesRequest) (response *DescribeFunctionRulesResponse, err error)
DescribeFunctionRules 查询边缘函数触发规则列表,支持按照规则 ID、函数 ID、规则描述等条件进行过滤。
可能返回的错误码:
INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DescribeFunctionRuntimeEnvironment ¶ added in v1.0.1013
func (c *Client) DescribeFunctionRuntimeEnvironment(request *DescribeFunctionRuntimeEnvironmentRequest) (response *DescribeFunctionRuntimeEnvironmentResponse, err error)
DescribeFunctionRuntimeEnvironment 查询边缘函数运行环境,包括环境变量。
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DescribeFunctionRuntimeEnvironmentWithContext ¶ added in v1.0.1013
func (c *Client) DescribeFunctionRuntimeEnvironmentWithContext(ctx context.Context, request *DescribeFunctionRuntimeEnvironmentRequest) (response *DescribeFunctionRuntimeEnvironmentResponse, err error)
DescribeFunctionRuntimeEnvironment 查询边缘函数运行环境,包括环境变量。
可能返回的错误码:
INTERNALERROR_DBERROR = "InternalError.DBError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DescribeFunctions ¶ added in v1.0.1013
func (c *Client) DescribeFunctions(request *DescribeFunctionsRequest) (response *DescribeFunctionsResponse, err error)
DescribeFunctions 查询边缘函数列表,支持函数 ID、函数名称、描述等条件的过滤。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DescribeFunctionsWithContext ¶ added in v1.0.1013
func (c *Client) DescribeFunctionsWithContext(ctx context.Context, request *DescribeFunctionsRequest) (response *DescribeFunctionsResponse, err error)
DescribeFunctions 查询边缘函数列表,支持函数 ID、函数名称、描述等条件的过滤。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_INVALIDFILTERNAME = "InvalidParameter.InvalidFilterName" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_TOOMANYFILTERVALUES = "InvalidParameter.TooManyFilterValues" INVALIDPARAMETER_TOOMANYFILTERS = "InvalidParameter.TooManyFilters" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) DescribeHostsSetting ¶
func (c *Client) DescribeHostsSetting(request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeHostsSettingWithContext ¶
func (c *Client) DescribeHostsSettingWithContext(ctx context.Context, request *DescribeHostsSettingRequest) (response *DescribeHostsSettingResponse, err error)
DescribeHostsSetting 用于查询域名配置信息
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeIPRegion ¶ added in v1.0.813
func (c *Client) DescribeIPRegion(request *DescribeIPRegionRequest) (response *DescribeIPRegionResponse, err error)
DescribeIPRegion 该接口可用于查询 IP 是否为 EdgeOne IP。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeIPRegionWithContext ¶ added in v1.0.813
func (c *Client) DescribeIPRegionWithContext(ctx context.Context, request *DescribeIPRegionRequest) (response *DescribeIPRegionResponse, err error)
DescribeIPRegion 该接口可用于查询 IP 是否为 EdgeOne IP。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer"
func (*Client) DescribeIdentifications ¶
func (c *Client) DescribeIdentifications(request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
DescribeIdentifications 查询站点的验证信息。
可能返回的错误码:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeIdentificationsWithContext ¶
func (c *Client) DescribeIdentificationsWithContext(ctx context.Context, request *DescribeIdentificationsRequest) (response *DescribeIdentificationsResponse, err error)
DescribeIdentifications 查询站点的验证信息。
可能返回的错误码:
OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DescribeL4Proxy ¶ added in v1.0.850
func (c *Client) DescribeL4Proxy(request *DescribeL4ProxyRequest) (response *DescribeL4ProxyResponse, err error)
DescribeL4Proxy 用于查询四层代理实例列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeL4ProxyRules ¶ added in v1.0.850
func (c *Client) DescribeL4ProxyRules(request *DescribeL4ProxyRulesRequest) (response *DescribeL4ProxyRulesResponse, err error)
DescribeL4ProxyRules 查询四层代理实例下的转发规则列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeL4ProxyRulesWithContext ¶ added in v1.0.850
func (c *Client) DescribeL4ProxyRulesWithContext(ctx context.Context, request *DescribeL4ProxyRulesRequest) (response *DescribeL4ProxyRulesResponse, err error)
DescribeL4ProxyRules 查询四层代理实例下的转发规则列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeL4ProxyWithContext ¶ added in v1.0.850
func (c *Client) DescribeL4ProxyWithContext(ctx context.Context, request *DescribeL4ProxyRequest) (response *DescribeL4ProxyResponse, err error)
DescribeL4Proxy 用于查询四层代理实例列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeLoadBalancerList ¶ added in v1.0.1031
func (c *Client) DescribeLoadBalancerList(request *DescribeLoadBalancerListRequest) (response *DescribeLoadBalancerListResponse, err error)
DescribeLoadBalancerList 查询负载均衡实例列表。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeLoadBalancerListWithContext ¶ added in v1.0.1031
func (c *Client) DescribeLoadBalancerListWithContext(ctx context.Context, request *DescribeLoadBalancerListRequest) (response *DescribeLoadBalancerListResponse, err error)
DescribeLoadBalancerList 查询负载均衡实例列表。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation"
func (*Client) DescribeOriginGroup ¶
func (c *Client) DescribeOriginGroup(request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginGroupHealthStatus ¶ added in v1.0.1031
func (c *Client) DescribeOriginGroupHealthStatus(request *DescribeOriginGroupHealthStatusRequest) (response *DescribeOriginGroupHealthStatusResponse, err error)
DescribeOriginGroupHealthStatus 查询负载均衡实例下源站组健康状态。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginGroupHealthStatusWithContext ¶ added in v1.0.1031
func (c *Client) DescribeOriginGroupHealthStatusWithContext(ctx context.Context, request *DescribeOriginGroupHealthStatusRequest) (response *DescribeOriginGroupHealthStatusResponse, err error)
DescribeOriginGroupHealthStatus 查询负载均衡实例下源站组健康状态。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginGroupWithContext ¶
func (c *Client) DescribeOriginGroupWithContext(ctx context.Context, request *DescribeOriginGroupRequest) (response *DescribeOriginGroupResponse, err error)
DescribeOriginGroup 获取源站组列表
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginProtection ¶ added in v1.0.570
func (c *Client) DescribeOriginProtection(request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
DescribeOriginProtection 查询源站防护信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOriginProtectionWithContext ¶ added in v1.0.570
func (c *Client) DescribeOriginProtectionWithContext(ctx context.Context, request *DescribeOriginProtectionRequest) (response *DescribeOriginProtectionResponse, err error)
DescribeOriginProtection 查询源站防护信息
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeOverviewL7Data ¶
func (c *Client) DescribeOverviewL7Data(request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeOverviewL7DataWithContext ¶
func (c *Client) DescribeOverviewL7DataWithContext(ctx context.Context, request *DescribeOverviewL7DataRequest) (response *DescribeOverviewL7DataResponse, err error)
DescribeOverviewL7Data 本接口(DescribeOverviewL7Data)用于查询七层监控类时序流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribePrefetchTasks ¶
func (c *Client) DescribePrefetchTasks(request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
DescribePrefetchTasks DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"
func (*Client) DescribePrefetchTasksWithContext ¶
func (c *Client) DescribePrefetchTasksWithContext(ctx context.Context, request *DescribePrefetchTasksRequest) (response *DescribePrefetchTasksResponse, err error)
DescribePrefetchTasks DescribePrefetchTasks 用于查询预热任务提交历史记录及执行进度,通过 CreatePrefetchTasks 接口提交的任务可通过此接口进行查询。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_DOMAINEMPTY = "UnauthorizedOperation.DomainEmpty"
func (*Client) DescribePurgeTasks ¶
func (c *Client) DescribePurgeTasks(request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
DescribePurgeTasks DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribePurgeTasksWithContext ¶
func (c *Client) DescribePurgeTasksWithContext(ctx context.Context, request *DescribePurgeTasksRequest) (response *DescribePurgeTasksResponse, err error)
DescribePurgeTasks DescribePurgeTasks 用于查询提交的 URL 刷新、目录刷新记录及执行进度,通过 CreatePurgeTasks 接口提交的任务均可通过此接口进行查询。
可能返回的错误码:
INTERNALERROR = "InternalError" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied"
func (*Client) DescribeRealtimeLogDeliveryTasks ¶ added in v1.0.869
func (c *Client) DescribeRealtimeLogDeliveryTasks(request *DescribeRealtimeLogDeliveryTasksRequest) (response *DescribeRealtimeLogDeliveryTasksResponse, err error)
DescribeRealtimeLogDeliveryTasks 通过本接口查询实时日志投递任务列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeRealtimeLogDeliveryTasksWithContext ¶ added in v1.0.869
func (c *Client) DescribeRealtimeLogDeliveryTasksWithContext(ctx context.Context, request *DescribeRealtimeLogDeliveryTasksRequest) (response *DescribeRealtimeLogDeliveryTasksResponse, err error)
DescribeRealtimeLogDeliveryTasks 通过本接口查询实时日志投递任务列表。
可能返回的错误码:
UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeRules ¶
func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 查询规则引擎规则。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesSetting ¶
func (c *Client) DescribeRulesSetting(request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesSettingWithContext ¶
func (c *Client) DescribeRulesSettingWithContext(ctx context.Context, request *DescribeRulesSettingRequest) (response *DescribeRulesSettingResponse, err error)
DescribeRulesSetting 返回规则引擎可应用匹配请求的设置列表及其详细建议配置信息
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeRulesWithContext ¶
func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 查询规则引擎规则。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityIPGroup ¶ added in v1.0.915
func (c *Client) DescribeSecurityIPGroup(request *DescribeSecurityIPGroupRequest) (response *DescribeSecurityIPGroupResponse, err error)
DescribeSecurityIPGroup 查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityIPGroupInfo ¶ added in v1.0.874
func (c *Client) DescribeSecurityIPGroupInfo(request *DescribeSecurityIPGroupInfoRequest) (response *DescribeSecurityIPGroupInfoResponse, err error)
DescribeSecurityIPGroupInfo 接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
](https://cloud.tencent.com/document/product/1552/105866) 接口。
查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityIPGroupInfoWithContext ¶ added in v1.0.874
func (c *Client) DescribeSecurityIPGroupInfoWithContext(ctx context.Context, request *DescribeSecurityIPGroupInfoRequest) (response *DescribeSecurityIPGroupInfoResponse, err error)
DescribeSecurityIPGroupInfo 接口已废弃,将于 2024 年 6 月 30 日停止服务。请使用 [查询安全 IP 组
](https://cloud.tencent.com/document/product/1552/105866) 接口。
查询 IP 组的配置信息,包括 IP 组名称、 IP 组内容、 IP 组归属站点。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityIPGroupWithContext ¶ added in v1.0.915
func (c *Client) DescribeSecurityIPGroupWithContext(ctx context.Context, request *DescribeSecurityIPGroupRequest) (response *DescribeSecurityIPGroupResponse, err error)
DescribeSecurityIPGroup 查询安全 IP 组的配置信息,包括安全 IP 组的 ID、名称和内容。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityTemplateBindings ¶ added in v1.0.775
func (c *Client) DescribeSecurityTemplateBindings(request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
DescribeSecurityTemplateBindings 查询指定策略模板的绑定关系列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeSecurityTemplateBindingsWithContext ¶ added in v1.0.775
func (c *Client) DescribeSecurityTemplateBindingsWithContext(ctx context.Context, request *DescribeSecurityTemplateBindingsRequest) (response *DescribeSecurityTemplateBindingsResponse, err error)
DescribeSecurityTemplateBindings 查询指定策略模板的绑定关系列表。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeTimingL4Data ¶
func (c *Client) DescribeTimingL4Data(request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL4DataWithContext ¶
func (c *Client) DescribeTimingL4DataWithContext(ctx context.Context, request *DescribeTimingL4DataRequest) (response *DescribeTimingL4DataResponse, err error)
DescribeTimingL4Data 本接口(DescribeTimingL4Data)用于查询四层时序流量数据列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisData ¶
func (c *Client) DescribeTimingL7AnalysisData(request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData 本接口查询七层域名业务的时序数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7AnalysisDataWithContext ¶
func (c *Client) DescribeTimingL7AnalysisDataWithContext(ctx context.Context, request *DescribeTimingL7AnalysisDataRequest) (response *DescribeTimingL7AnalysisDataResponse, err error)
DescribeTimingL7AnalysisData 本接口查询七层域名业务的时序数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheData ¶
func (c *Client) DescribeTimingL7CacheData(request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData 本接口用于查询七层缓存分析时序类流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTimingL7CacheDataWithContext ¶
func (c *Client) DescribeTimingL7CacheDataWithContext(ctx context.Context, request *DescribeTimingL7CacheDataRequest) (response *DescribeTimingL7CacheDataResponse, err error)
DescribeTimingL7CacheData 本接口用于查询七层缓存分析时序类流量数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80648">DescribeTimingL7AnalysisData</a> 接口。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED = "LimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7AnalysisData ¶
func (c *Client) DescribeTopL7AnalysisData(request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData 本接口用于查询七层域名业务按照指定维度的 topN 数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeTopL7AnalysisDataWithContext ¶
func (c *Client) DescribeTopL7AnalysisDataWithContext(ctx context.Context, request *DescribeTopL7AnalysisDataRequest) (response *DescribeTopL7AnalysisDataResponse, err error)
DescribeTopL7AnalysisData 本接口用于查询七层域名业务按照指定维度的 topN 数据。请注意本接口查询数据有 10 分钟左右延迟,建议拉取当前时间 10 分钟以前的数据。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" LIMITEXCEEDED = "LimitExceeded" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) DescribeTopL7CacheData ¶
func (c *Client) DescribeTopL7CacheData(request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData 本接口用于查询七层缓存分析 topN 数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80646"> DescribeTopL7AnalysisData</a> 接口。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeTopL7CacheDataWithContext ¶
func (c *Client) DescribeTopL7CacheDataWithContext(ctx context.Context, request *DescribeTopL7CacheDataRequest) (response *DescribeTopL7CacheDataResponse, err error)
DescribeTopL7CacheData 本接口用于查询七层缓存分析 topN 数据。此接口待废弃,请使用 <a href="https://cloud.tencent.com/document/product/1552/80646"> DescribeTopL7AnalysisData</a> 接口。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" LIMITEXCEEDED_QUERYTIMELIMITEXCEEDED = "LimitExceeded.QueryTimeLimitExceeded" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DescribeZoneSetting ¶
func (c *Client) DescribeZoneSetting(request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting 用于查询站点的所有配置信息。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeZoneSettingWithContext ¶
func (c *Client) DescribeZoneSettingWithContext(ctx context.Context, request *DescribeZoneSettingRequest) (response *DescribeZoneSettingResponse, err error)
DescribeZoneSetting 用于查询站点的所有配置信息。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeZones ¶
func (c *Client) DescribeZones(request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DescribeZonesWithContext ¶
func (c *Client) DescribeZonesWithContext(ctx context.Context, request *DescribeZonesRequest) (response *DescribeZonesResponse, err error)
DescribeZones 该接口用于查询您有权限的站点信息。可根据不同查询条件筛选站点。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) DestroyPlan ¶ added in v1.0.912
func (c *Client) DestroyPlan(request *DestroyPlanRequest) (response *DestroyPlanResponse, err error)
DestroyPlan 当您需要停止 Edgeone 套餐的计费,可以通过该接口销毁计费套餐。
> 销毁计费套餐需要满足以下条件:
1.套餐已过期(企业版套餐除外); 2.套餐下所有站点均已关闭或删除。
> 站点状态可以通过 [查询站点列表](https://cloud.tencent.com/document/product/1552/80713) 接口进行查询
停用站点可以通过 [切换站点状态](https://cloud.tencent.com/document/product/1552/80707) 接口将站点切换至关闭状态
删除站点可以通过 [删除站点](https://cloud.tencent.com/document/product/1552/80717) 接口将站点删除
可能返回的错误码:
INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted"
func (*Client) DestroyPlanWithContext ¶ added in v1.0.912
func (c *Client) DestroyPlanWithContext(ctx context.Context, request *DestroyPlanRequest) (response *DestroyPlanResponse, err error)
DestroyPlan 当您需要停止 Edgeone 套餐的计费,可以通过该接口销毁计费套餐。
> 销毁计费套餐需要满足以下条件:
1.套餐已过期(企业版套餐除外); 2.套餐下所有站点均已关闭或删除。
> 站点状态可以通过 [查询站点列表](https://cloud.tencent.com/document/product/1552/80713) 接口进行查询
停用站点可以通过 [切换站点状态](https://cloud.tencent.com/document/product/1552/80707) 接口将站点切换至关闭状态
删除站点可以通过 [删除站点](https://cloud.tencent.com/document/product/1552/80717) 接口将站点删除
可能返回的错误码:
INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted"
func (*Client) DownloadL4Logs ¶
func (c *Client) DownloadL4Logs(request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
DownloadL4Logs 本接口(DownloadL4Logs)用于下载四层离线日志。
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DownloadL4LogsWithContext ¶
func (c *Client) DownloadL4LogsWithContext(ctx context.Context, request *DownloadL4LogsRequest) (response *DownloadL4LogsResponse, err error)
DownloadL4Logs 本接口(DownloadL4Logs)用于下载四层离线日志。
可能返回的错误码:
RESOURCEUNAVAILABLE = "ResourceUnavailable"
func (*Client) DownloadL7Logs ¶
func (c *Client) DownloadL7Logs(request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs 本接口(DownloadL7Logs)下载七层离线日志。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) DownloadL7LogsWithContext ¶
func (c *Client) DownloadL7LogsWithContext(ctx context.Context, request *DownloadL7LogsRequest) (response *DownloadL7LogsResponse, err error)
DownloadL7Logs 本接口(DownloadL7Logs)下载七层离线日志。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) HandleFunctionRuntimeEnvironment ¶ added in v1.0.1013
func (c *Client) HandleFunctionRuntimeEnvironment(request *HandleFunctionRuntimeEnvironmentRequest) (response *HandleFunctionRuntimeEnvironmentResponse, err error)
HandleFunctionRuntimeEnvironment 操作边缘函数运行环境,支持环境变量的相关设置。
设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) HandleFunctionRuntimeEnvironmentWithContext ¶ added in v1.0.1013
func (c *Client) HandleFunctionRuntimeEnvironmentWithContext(ctx context.Context, request *HandleFunctionRuntimeEnvironmentRequest) (response *HandleFunctionRuntimeEnvironmentResponse, err error)
HandleFunctionRuntimeEnvironment 操作边缘函数运行环境,支持环境变量的相关设置。
设置环境变量后,可在函数代码中使用,具体参考 [边缘函数引入环境变量](https://cloud.tencent.com/document/product/1552/109151#0151fd9a-8b0e-407b-ae37-54553a60ded6)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) IdentifyZone ¶
func (c *Client) IdentifyZone(request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone 用于验证站点所有权。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IdentifyZoneWithContext ¶
func (c *Client) IdentifyZoneWithContext(ctx context.Context, request *IdentifyZoneRequest) (response *IdentifyZoneResponse, err error)
IdentifyZone 用于验证站点所有权。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) IncreasePlanQuota ¶ added in v1.0.912
func (c *Client) IncreasePlanQuota(request *IncreasePlanQuotaRequest) (response *IncreasePlanQuotaResponse, err error)
IncreasePlanQuota 当您的套餐绑定的站点数,或配置的 Web 防护 - 自定义规则 - 精准匹配策略的规则数,或 Web 防护 - 速率限制 - 精准速率限制模块的规则数达到套餐允许的配额上限,可以通过该接口增购对应配额。
> 该接口该仅支持企业版套餐。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDQUOTANUMBER = "InvalidParameter.InvalidQuotaNumber" INVALIDPARAMETER_INVALIDQUOTATYPE = "InvalidParameter.InvalidQuotaType" OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated" OPERATIONDENIED_PLANINCREASEPLANQUOTAUNSUPPORTED = "OperationDenied.PlanIncreasePlanQuotaUnsupported" OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked"
func (*Client) IncreasePlanQuotaWithContext ¶ added in v1.0.912
func (c *Client) IncreasePlanQuotaWithContext(ctx context.Context, request *IncreasePlanQuotaRequest) (response *IncreasePlanQuotaResponse, err error)
IncreasePlanQuota 当您的套餐绑定的站点数,或配置的 Web 防护 - 自定义规则 - 精准匹配策略的规则数,或 Web 防护 - 速率限制 - 精准速率限制模块的规则数达到套餐允许的配额上限,可以通过该接口增购对应配额。
> 该接口该仅支持企业版套餐。
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDQUOTANUMBER = "InvalidParameter.InvalidQuotaNumber" INVALIDPARAMETER_INVALIDQUOTATYPE = "InvalidParameter.InvalidQuotaType" OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated" OPERATIONDENIED_PLANINCREASEPLANQUOTAUNSUPPORTED = "OperationDenied.PlanIncreasePlanQuotaUnsupported" OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked"
func (*Client) ModifyAccelerationDomain ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomain(request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
ModifyAccelerationDomain 修改加速域名信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDAWSSECRETKEY = "InvalidParameter.InvalidAwsSecretKey" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyAccelerationDomainStatuses ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomainStatuses(request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
ModifyAccelerationDomainStatuses 批量修改加速域名状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyAccelerationDomainStatusesWithContext ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomainStatusesWithContext(ctx context.Context, request *ModifyAccelerationDomainStatusesRequest) (response *ModifyAccelerationDomainStatusesResponse, err error)
ModifyAccelerationDomainStatuses 批量修改加速域名状态
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_INVALIDERRORPAGE = "InvalidParameter.InvalidErrorPage" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" OPERATIONDENIED_VERSIONCONTROLLOCKED = "OperationDenied.VersionControlLocked" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyAccelerationDomainWithContext ¶ added in v1.0.591
func (c *Client) ModifyAccelerationDomainWithContext(ctx context.Context, request *ModifyAccelerationDomainRequest) (response *ModifyAccelerationDomainResponse, err error)
ModifyAccelerationDomain 修改加速域名信息
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CONFLICTHOSTORIGIN = "InvalidParameter.ConflictHostOrigin" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDAWSSECRETKEY = "InvalidParameter.InvalidAwsSecretKey" INVALIDPARAMETER_INVALIDCLIENTIPORIGIN = "InvalidParameter.InvalidClientIpOrigin" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDPRIVATEACCESSPARAMS = "InvalidParameter.InvalidPrivateAccessParams" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_ORIGINISINNERIP = "InvalidParameter.OriginIsInnerIp" INVALIDPARAMETER_SPACENOTBINDORIGIN = "InvalidParameter.SpaceNotBindOrigin" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_CONFLICTRECORD = "InvalidParameterValue.ConflictRecord" INVALIDPARAMETERVALUE_DOMAINNOTMATCHZONE = "InvalidParameterValue.DomainNotMatchZone" INVALIDPARAMETERVALUE_INVALIDDOMAINSTATUS = "InvalidParameterValue.InvalidDomainStatus" OPERATIONDENIED_DOMAINNOICP = "OperationDenied.DomainNoICP" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEINUSE_DNSRECORD = "ResourceInUse.DnsRecord" RESOURCEUNAVAILABLE_DOMAINNOTFOUND = "ResourceUnavailable.DomainNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyAliasDomain ¶ added in v1.0.510
func (c *Client) ModifyAliasDomain(request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
ModifyAliasDomain 修改别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyAliasDomainStatus ¶ added in v1.0.510
func (c *Client) ModifyAliasDomainStatus(request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
ModifyAliasDomainStatus 修改别称域名状态。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyAliasDomainStatusWithContext ¶ added in v1.0.510
func (c *Client) ModifyAliasDomainStatusWithContext(ctx context.Context, request *ModifyAliasDomainStatusRequest) (response *ModifyAliasDomainStatusResponse, err error)
ModifyAliasDomainStatus 修改别称域名状态。
可能返回的错误码:
INTERNALERROR = "InternalError" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse"
func (*Client) ModifyAliasDomainWithContext ¶ added in v1.0.510
func (c *Client) ModifyAliasDomainWithContext(ctx context.Context, request *ModifyAliasDomainRequest) (response *ModifyAliasDomainResponse, err error)
ModifyAliasDomain 修改别称域名。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INTERNALERROR = "InternalError" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" OPERATIONDENIED = "OperationDenied"
func (*Client) ModifyApplicationProxy ¶
func (c *Client) ModifyApplicationProxy(request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理实例
](https://cloud.tencent.com/document/product/1552/103411) 。
可能返回的错误码:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRule ¶
func (c *Client) ModifyApplicationProxyRule(request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理转发规则
](https://cloud.tencent.com/document/product/1552/103410) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRuleStatus ¶
func (c *Client) ModifyApplicationProxyRuleStatus(request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理转发规则状态
](https://cloud.tencent.com/document/product/1552/103409) 。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRuleStatusWithContext ¶
func (c *Client) ModifyApplicationProxyRuleStatusWithContext(ctx context.Context, request *ModifyApplicationProxyRuleStatusRequest) (response *ModifyApplicationProxyRuleStatusResponse, err error)
ModifyApplicationProxyRuleStatus 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理转发规则状态
](https://cloud.tencent.com/document/product/1552/103409) 。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyRuleWithContext ¶
func (c *Client) ModifyApplicationProxyRuleWithContext(ctx context.Context, request *ModifyApplicationProxyRuleRequest) (response *ModifyApplicationProxyRuleResponse, err error)
ModifyApplicationProxyRule 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理转发规则
](https://cloud.tencent.com/document/product/1552/103410) 。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyStatus ¶
func (c *Client) ModifyApplicationProxyStatus(request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理实例状态](https://cloud.tencent.com/document/product/1552/103408) 。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyStatusWithContext ¶
func (c *Client) ModifyApplicationProxyStatusWithContext(ctx context.Context, request *ModifyApplicationProxyStatusRequest) (response *ModifyApplicationProxyStatusResponse, err error)
ModifyApplicationProxyStatus 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理实例状态](https://cloud.tencent.com/document/product/1552/103408) 。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyApplicationProxyWithContext ¶
func (c *Client) ModifyApplicationProxyWithContext(ctx context.Context, request *ModifyApplicationProxyRequest) (response *ModifyApplicationProxyResponse, err error)
ModifyApplicationProxy 本接口为旧版,如需调用请尽快迁移至新版,详情请参考 [修改四层代理实例
](https://cloud.tencent.com/document/product/1552/103411) 。
可能返回的错误码:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyCustomErrorPage ¶ added in v1.0.939
func (c *Client) ModifyCustomErrorPage(request *ModifyCustomErrorPageRequest) (response *ModifyCustomErrorPageResponse, err error)
ModifyCustomErrorPage 修改自定义错误页面。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyCustomErrorPageWithContext ¶ added in v1.0.939
func (c *Client) ModifyCustomErrorPageWithContext(ctx context.Context, request *ModifyCustomErrorPageRequest) (response *ModifyCustomErrorPageResponse, err error)
ModifyCustomErrorPage 修改自定义错误页面。
可能返回的错误码:
RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyFunction ¶ added in v1.0.1013
func (c *Client) ModifyFunction(request *ModifyFunctionRequest) (response *ModifyFunctionResponse, err error)
ModifyFunction 修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent" INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) ModifyFunctionRule ¶ added in v1.0.1013
func (c *Client) ModifyFunctionRule(request *ModifyFunctionRuleRequest) (response *ModifyFunctionRuleResponse, err error)
ModifyFunctionRule 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
func (*Client) ModifyFunctionRulePriority ¶ added in v1.0.1013
func (c *Client) ModifyFunctionRulePriority(request *ModifyFunctionRulePriorityRequest) (response *ModifyFunctionRulePriorityResponse, err error)
ModifyFunctionRulePriority 修改边缘函数触发规则的优先级。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) ModifyFunctionRulePriorityWithContext ¶ added in v1.0.1013
func (c *Client) ModifyFunctionRulePriorityWithContext(ctx context.Context, request *ModifyFunctionRulePriorityRequest) (response *ModifyFunctionRulePriorityResponse, err error)
ModifyFunctionRulePriority 修改边缘函数触发规则的优先级。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) ModifyFunctionRuleWithContext ¶ added in v1.0.1013
func (c *Client) ModifyFunctionRuleWithContext(ctx context.Context, request *ModifyFunctionRuleRequest) (response *ModifyFunctionRuleResponse, err error)
ModifyFunctionRule 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RULEOPERATIONCONFLICT = "FailedOperation.RuleOperationConflict" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_DUPLICATERULE = "InvalidParameter.DuplicateRule" INVALIDPARAMETER_INVALIDCONDITIONS = "InvalidParameter.InvalidConditions" INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_RULENOTFOUND = "ResourceUnavailable.RuleNotFound"
func (*Client) ModifyFunctionWithContext ¶ added in v1.0.1013
func (c *Client) ModifyFunctionWithContext(ctx context.Context, request *ModifyFunctionRequest) (response *ModifyFunctionResponse, err error)
ModifyFunction 修改边缘函数,支持修改函数的内容及描述信息,修改且重新部署后,函数立刻生效。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_FUNCTIONDEPLOYING = "FailedOperation.FunctionDeploying" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_BADCONTENT = "InvalidParameter.BadContent" INVALIDPARAMETER_CONTENTEXCEEDSLIMIT = "InvalidParameter.ContentExceedsLimit" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_MODIFYPARAMETERSMISSING = "InvalidParameter.ModifyParametersMissing" RESOURCEUNAVAILABLE_FUNCTIONNOTFOUND = "ResourceUnavailable.FunctionNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound"
func (*Client) ModifyHostsCertificate ¶
func (c *Client) ModifyHostsCertificate(request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
](https://cloud.tencent.com/document/product/1552/88874)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATEHASEXPIRED = "FailedOperation.CertificateHasExpired" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = "FailedOperation.EdgeClientCertificateHasExpired" FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" FAILEDOPERATION_MODIFYFAILED = "FailedOperation.ModifyFailed" FAILEDOPERATION_UPSTREAMCLIENTCERTIFICATEHASEXPIRED = "FailedOperation.UpstreamClientCertificateHasExpired" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTKEYLESS = "InvalidParameter.AliasDomainNotSupportKeyless" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" INVALIDPARAMETER_CERTIFICATECONFLICTWITHKEYLESSSERVER = "InvalidParameter.CertificateConflictWithKeylessServer" INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" INVALIDPARAMETER_EDGECLIENTCERTCHECKERROR = "InvalidParameter.EdgeClientCertCheckError" INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_UPSTREAMCLIENTCERTCHECKERROR = "InvalidParameter.UpstreamClientCertCheckError" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_ALIASDOMAINNOTSUPPORTEDGEMTLS = "InvalidParameterValue.AliasDomainNotSupportEdgeMTLS" INVALIDPARAMETERVALUE_ALIASDOMAINNOTSUPPORTUPSTREAMMTLS = "InvalidParameterValue.AliasDomainNotSupportUpstreamMTLS" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = "InvalidParameterValue.CertificateVerifyClientMustCa" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyClientNeedCert" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTMUSTRSAORECC = "InvalidParameterValue.CertificateVerifyUpstreamClientMustRSAorECC" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTMUSTSVR = "InvalidParameterValue.CertificateVerifyUpstreamClientMustSVR" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyUpstreamClientNeedCert" INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.ClientCertInfoQuotaLimit" INVALIDPARAMETERVALUE_INVALIDKEYLESSSERVERID = "InvalidParameterValue.InvalidKeylessServerId" INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = "InvalidParameterValue.ServerCertInfoNeedContainRSAorECC" INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = "InvalidParameterValue.ServerCertInfoNeedContainSM2" INVALIDPARAMETERVALUE_UPSTREAMCLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.UpstreamClientCertInfoQuotaLimit" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CERTIFICATEPRIVATEKEYISEMPTY = "OperationDenied.CertificatePrivateKeyIsEmpty" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_HOSTSCLIENTCERTIFICATEINCONSISTENCY = "OperationDenied.HostsClientCertificateInconsistency" OPERATIONDENIED_HOSTSKEYLESSSERVERINCONSISTENCY = "OperationDenied.HostsKeylessServerInconsistency" OPERATIONDENIED_HOSTSUPSTREAMCERTIFICATEINCONSISTENCY = "OperationDenied.HostsUpstreamCertificateInconsistency" OPERATIONDENIED_KEYLESSCERTSWITCHTOFREECERTCONFLICT = "OperationDenied.KeylessCertSwitchToFreeCertConflict" OPERATIONDENIED_KEYLESSMODECERTIFICATEPRIVATEKEYNEEDEMPTY = "OperationDenied.KeylessModeCertificatePrivateKeyNeedEmpty" OPERATIONDENIED_NOTINKEYLESSWHITELIST = "OperationDenied.NotInKeylessWhiteList" OPERATIONDENIED_NOTINUPSTREAMMTLSWHITELIST = "OperationDenied.NotInUpstreamMTLSWhiteList" OPERATIONDENIED_UNSUPPORTTOCLOSEUPSTREAMMTLS = "OperationDenied.UnSupportToCloseUpstreamMTLS" OPERATIONDENIED_USEUPSTREAMMTLSNEEDOPENHTTPS = "OperationDenied.UseUpstreamMTLSNeedOpenHttps" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyHostsCertificateWithContext ¶
func (c *Client) ModifyHostsCertificateWithContext(ctx context.Context, request *ModifyHostsCertificateRequest) (response *ModifyHostsCertificateResponse, err error)
ModifyHostsCertificate 完成域名创建之后,您可以为域名配置自有证书,也可以使用 EdgeOne 为您提供的 [免费证书](https://cloud.tencent.com/document/product/1552/90437)。
如果您需要配置自有证书,请先将证书上传至 [SSL证书控制台](https://console.cloud.tencent.com/certoverview),然后在本接口中传入对应的证书 ID。详情参考 [部署自有证书至 EdgeOne 域名
](https://cloud.tencent.com/document/product/1552/88874)。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATEHASEXPIRED = "FailedOperation.CertificateHasExpired" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" FAILEDOPERATION_EDGECLIENTCERTIFICATEHASEXPIRED = "FailedOperation.EdgeClientCertificateHasExpired" FAILEDOPERATION_INVALIDZONESTATUS = "FailedOperation.InvalidZoneStatus" FAILEDOPERATION_MODIFYFAILED = "FailedOperation.ModifyFailed" FAILEDOPERATION_UPSTREAMCLIENTCERTIFICATEHASEXPIRED = "FailedOperation.UpstreamClientCertificateHasExpired" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_GETROLEERROR = "InternalError.GetRoleError" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_ALIASDOMAINNOTSUPPORTKEYLESS = "InvalidParameter.AliasDomainNotSupportKeyless" INVALIDPARAMETER_CERTNOTMATCHDOMAIN = "InvalidParameter.CertNotMatchDomain" INVALIDPARAMETER_CERTTOEXPIRE = "InvalidParameter.CertToExpire" INVALIDPARAMETER_CERTTOOSHORTKEYSIZE = "InvalidParameter.CertTooShortKeySize" INVALIDPARAMETER_CERTIFICATECONFLICTWITHKEYLESSSERVER = "InvalidParameter.CertificateConflictWithKeylessServer" INVALIDPARAMETER_CNAMEWILDHOSTNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.CnameWildHostNotAllowApplyCertificate" INVALIDPARAMETER_EDGECLIENTCERTCHECKERROR = "InvalidParameter.EdgeClientCertCheckError" INVALIDPARAMETER_HOSTSTATUSNOTALLOWAPPLYCERTIFICATE = "InvalidParameter.HostStatusNotAllowApplyCertificate" INVALIDPARAMETER_INVALIDCERTINFO = "InvalidParameter.InvalidCertInfo" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_UPSTREAMCLIENTCERTCHECKERROR = "InvalidParameter.UpstreamClientCertCheckError" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETERVALUE_ALIASDOMAINNOTSUPPORTEDGEMTLS = "InvalidParameterValue.AliasDomainNotSupportEdgeMTLS" INVALIDPARAMETERVALUE_ALIASDOMAINNOTSUPPORTUPSTREAMMTLS = "InvalidParameterValue.AliasDomainNotSupportUpstreamMTLS" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTMUSTCA = "InvalidParameterValue.CertificateVerifyClientMustCa" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyClientNeedCert" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTMUSTRSAORECC = "InvalidParameterValue.CertificateVerifyUpstreamClientMustRSAorECC" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTMUSTSVR = "InvalidParameterValue.CertificateVerifyUpstreamClientMustSVR" INVALIDPARAMETERVALUE_CERTIFICATEVERIFYUPSTREAMCLIENTNEEDCERT = "InvalidParameterValue.CertificateVerifyUpstreamClientNeedCert" INVALIDPARAMETERVALUE_CLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.ClientCertInfoQuotaLimit" INVALIDPARAMETERVALUE_INVALIDKEYLESSSERVERID = "InvalidParameterValue.InvalidKeylessServerId" INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINRSAORECC = "InvalidParameterValue.ServerCertInfoNeedContainRSAorECC" INVALIDPARAMETERVALUE_SERVERCERTINFONEEDCONTAINSM2 = "InvalidParameterValue.ServerCertInfoNeedContainSM2" INVALIDPARAMETERVALUE_UPSTREAMCLIENTCERTINFOQUOTALIMIT = "InvalidParameterValue.UpstreamClientCertInfoQuotaLimit" LIMITEXCEEDED_RATELIMITEXCEEDED = "LimitExceeded.RateLimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CERTIFICATEPRIVATEKEYISEMPTY = "OperationDenied.CertificatePrivateKeyIsEmpty" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_HOSTSCLIENTCERTIFICATEINCONSISTENCY = "OperationDenied.HostsClientCertificateInconsistency" OPERATIONDENIED_HOSTSKEYLESSSERVERINCONSISTENCY = "OperationDenied.HostsKeylessServerInconsistency" OPERATIONDENIED_HOSTSUPSTREAMCERTIFICATEINCONSISTENCY = "OperationDenied.HostsUpstreamCertificateInconsistency" OPERATIONDENIED_KEYLESSCERTSWITCHTOFREECERTCONFLICT = "OperationDenied.KeylessCertSwitchToFreeCertConflict" OPERATIONDENIED_KEYLESSMODECERTIFICATEPRIVATEKEYNEEDEMPTY = "OperationDenied.KeylessModeCertificatePrivateKeyNeedEmpty" OPERATIONDENIED_NOTINKEYLESSWHITELIST = "OperationDenied.NotInKeylessWhiteList" OPERATIONDENIED_NOTINUPSTREAMMTLSWHITELIST = "OperationDenied.NotInUpstreamMTLSWhiteList" OPERATIONDENIED_UNSUPPORTTOCLOSEUPSTREAMMTLS = "OperationDenied.UnSupportToCloseUpstreamMTLS" OPERATIONDENIED_USEUPSTREAMMTLSNEEDOPENHTTPS = "OperationDenied.UseUpstreamMTLSNeedOpenHttps" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" RESOURCEUNAVAILABLE_HOSTNOTFOUND = "ResourceUnavailable.HostNotFound" RESOURCEUNAVAILABLE_ZONENOTFOUND = "ResourceUnavailable.ZoneNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyL4Proxy ¶ added in v1.0.850
func (c *Client) ModifyL4Proxy(request *ModifyL4ProxyRequest) (response *ModifyL4ProxyResponse, err error)
ModifyL4Proxy 用于修改四层代理实例的配置。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" OPERATIONDENIED_L4PROXYINOFFLINESTATUS = "OperationDenied.L4ProxyInOfflineStatus" OPERATIONDENIED_L4PROXYINPROCESSSTATUS = "OperationDenied.L4ProxyInProcessStatus" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyL4ProxyRules ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyRules(request *ModifyL4ProxyRulesRequest) (response *ModifyL4ProxyRulesResponse, err error)
ModifyL4ProxyRules 用于修改四层代理转发规则,支持单条或者批量修改。
可能返回的错误码:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyL4ProxyRulesStatus ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyRulesStatus(request *ModifyL4ProxyRulesStatusRequest) (response *ModifyL4ProxyRulesStatusResponse, err error)
ModifyL4ProxyRulesStatus 用于启用/停用四层代理转发规则状态,支持单条或者批量操作。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyL4ProxyRulesStatusWithContext ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyRulesStatusWithContext(ctx context.Context, request *ModifyL4ProxyRulesStatusRequest) (response *ModifyL4ProxyRulesStatusResponse, err error)
ModifyL4ProxyRulesStatus 用于启用/停用四层代理转发规则状态,支持单条或者批量操作。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyL4ProxyRulesWithContext ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyRulesWithContext(ctx context.Context, request *ModifyL4ProxyRulesRequest) (response *ModifyL4ProxyRulesResponse, err error)
ModifyL4ProxyRules 用于修改四层代理转发规则,支持单条或者批量修改。
可能返回的错误码:
INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_PARAMETERERROR = "InvalidParameter.ParameterError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyL4ProxyStatus ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyStatus(request *ModifyL4ProxyStatusRequest) (response *ModifyL4ProxyStatusResponse, err error)
ModifyL4ProxyStatus 用于启用/停用四层代理实例。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyL4ProxyStatusWithContext ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyStatusWithContext(ctx context.Context, request *ModifyL4ProxyStatusRequest) (response *ModifyL4ProxyStatusResponse, err error)
ModifyL4ProxyStatus 用于启用/停用四层代理实例。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4PROXYINBANNEDSTATUS = "OperationDenied.L4ProxyInBannedStatus" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) ModifyL4ProxyWithContext ¶ added in v1.0.850
func (c *Client) ModifyL4ProxyWithContext(ctx context.Context, request *ModifyL4ProxyRequest) (response *ModifyL4ProxyResponse, err error)
ModifyL4Proxy 用于修改四层代理实例的配置。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_L4LACKOFRESOURCES = "OperationDenied.L4LackOfResources" OPERATIONDENIED_L4PROXYINOFFLINESTATUS = "OperationDenied.L4ProxyInOfflineStatus" OPERATIONDENIED_L4PROXYINPROCESSSTATUS = "OperationDenied.L4ProxyInProcessStatus" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyLoadBalancer ¶ added in v1.0.1031
func (c *Client) ModifyLoadBalancer(request *ModifyLoadBalancerRequest) (response *ModifyLoadBalancerResponse, err error)
ModifyLoadBalancer 修改负载均衡实例配置。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
INVALIDPARAMETER_LOADBALANCERBINDL4NOTINSTABLESTATUS = "InvalidParameter.LoadBalancerBindL4NotInStableStatus" INVALIDPARAMETER_LOADBALANCERBINDL7NOTINSTABLESTATUS = "InvalidParameter.LoadBalancerBindL7NotInStableStatus"
func (*Client) ModifyLoadBalancerWithContext ¶ added in v1.0.1031
func (c *Client) ModifyLoadBalancerWithContext(ctx context.Context, request *ModifyLoadBalancerRequest) (response *ModifyLoadBalancerResponse, err error)
ModifyLoadBalancer 修改负载均衡实例配置。负载均衡功能内测中,如您需要使用请 [联系我们](https://cloud.tencent.com/online-service)。
可能返回的错误码:
INVALIDPARAMETER_LOADBALANCERBINDL4NOTINSTABLESTATUS = "InvalidParameter.LoadBalancerBindL4NotInStableStatus" INVALIDPARAMETER_LOADBALANCERBINDL7NOTINSTABLESTATUS = "InvalidParameter.LoadBalancerBindL7NotInStableStatus"
func (*Client) ModifyOriginGroup ¶
func (c *Client) ModifyOriginGroup(request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINL4RECORDIPV4MIXDOMAIN = "InvalidParameter.OriginL4RecordIPV4MixDomain" INVALIDPARAMETER_ORIGINL4RECORDMULTIDOMAIN = "InvalidParameter.OriginL4RecordMultiDomain" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline" OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = "OperationDenied.LoadBalanceStatusNotInOnline" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyOriginGroupWithContext ¶
func (c *Client) ModifyOriginGroupWithContext(ctx context.Context, request *ModifyOriginGroupRequest) (response *ModifyOriginGroupResponse, err error)
ModifyOriginGroup 修改源站组配置,新提交的源站记录将会覆盖原有源站组中的源站记录。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" INVALIDPARAMETER_HOSTHEADERINVALID = "InvalidParameter.HostHeaderInvalid" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_ORIGINL4RECORDIPV4MIXDOMAIN = "InvalidParameter.OriginL4RecordIPV4MixDomain" INVALIDPARAMETER_ORIGINL4RECORDMULTIDOMAIN = "InvalidParameter.OriginL4RecordMultiDomain" INVALIDPARAMETER_ORIGINNAMEEXISTS = "InvalidParameter.OriginNameExists" INVALIDPARAMETER_ORIGINRECORDFORMATERROR = "InvalidParameter.OriginRecordFormatError" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATIONDOMAINSTATUSNOTINONLINE = "OperationDenied.AccelerationDomainStatusNotInOnline" OPERATIONDENIED_L4STATUSNOTINONLINE = "OperationDenied.L4StatusNotInOnline" OPERATIONDENIED_LOADBALANCESTATUSNOTINONLINE = "OperationDenied.LoadBalanceStatusNotInOnline" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyPlan ¶ added in v1.0.912
func (c *Client) ModifyPlan(request *ModifyPlanRequest) (response *ModifyPlanResponse, err error)
ModifyPlan 修改套餐配置。目前仅支持修改预付费套餐的自动续费开关。
可能返回的错误码:
INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_ENTERPRISEPLANAUTORENEWUNSUPPORTED = "OperationDenied.EnterprisePlanAutoRenewUnsupported" OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated"
func (*Client) ModifyPlanWithContext ¶ added in v1.0.912
func (c *Client) ModifyPlanWithContext(ctx context.Context, request *ModifyPlanRequest) (response *ModifyPlanResponse, err error)
ModifyPlan 修改套餐配置。目前仅支持修改预付费套餐的自动续费开关。
可能返回的错误码:
INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_ENTERPRISEPLANAUTORENEWUNSUPPORTED = "OperationDenied.EnterprisePlanAutoRenewUnsupported" OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated"
func (*Client) ModifyRealtimeLogDeliveryTask ¶ added in v1.0.869
func (c *Client) ModifyRealtimeLogDeliveryTask(request *ModifyRealtimeLogDeliveryTaskRequest) (response *ModifyRealtimeLogDeliveryTaskResponse, err error)
ModifyRealtimeLogDeliveryTask 通过本接口修改实时日志投递任务配置。本接口有如下限制:<li>不支持修改实时日志投递任务目的地类型(TaskType);</li><li>不支持修改数据投递类型(LogType)</li><li>不支持修改数据投递区域(Area)</li><li>当原实时日志投递任务的目的地为腾讯云 CLS 时,不支持修改目的地详细配置,如日志集、日志主题。</li>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = "FailedOperation.CreateLogTopicTaskAuthFailure" INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter" INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType" INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter" LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded"
func (*Client) ModifyRealtimeLogDeliveryTaskWithContext ¶ added in v1.0.869
func (c *Client) ModifyRealtimeLogDeliveryTaskWithContext(ctx context.Context, request *ModifyRealtimeLogDeliveryTaskRequest) (response *ModifyRealtimeLogDeliveryTaskResponse, err error)
ModifyRealtimeLogDeliveryTask 通过本接口修改实时日志投递任务配置。本接口有如下限制:<li>不支持修改实时日志投递任务目的地类型(TaskType);</li><li>不支持修改数据投递类型(LogType)</li><li>不支持修改数据投递区域(Area)</li><li>当原实时日志投递任务的目的地为腾讯云 CLS 时,不支持修改目的地详细配置,如日志集、日志主题。</li>
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CREATELOGTOPICTASKAUTHFAILURE = "FailedOperation.CreateLogTopicTaskAuthFailure" INVALIDPARAMETER_INVALIDLOGFORMATFIELDDELIMITER = "InvalidParameter.InvalidLogFormatFieldDelimiter" INVALIDPARAMETER_INVALIDLOGFORMATFORMATTYPE = "InvalidParameter.InvalidLogFormatFormatType" INVALIDPARAMETER_INVALIDLOGFORMATRECORDDELIMITER = "InvalidParameter.InvalidLogFormatRecordDelimiter" LIMITEXCEEDED_CUSTOMLOGFIELDREGEXLIMITEXCEEDED = "LimitExceeded.CustomLogFieldRegexLimitExceeded"
func (*Client) ModifyRule ¶
func (c *Client) ModifyRule(request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 修改规则引擎规则。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_COMPRESSIONINVALIDALGORITHMS = "InvalidParameter.CompressionInvalidAlgorithms" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONDUPLICATEACTION = "InvalidParameter.ErrInvalidActionDuplicateAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDELSEWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidElseWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEFORMAT = "InvalidParameter.InvalidAuthenticationTypeTimeFormat" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEPARAM = "InvalidParameter.InvalidAuthenticationTypeTimeParam" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYCOOKIE = "InvalidParameter.InvalidCacheKeyCookie" INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDCOSDOMAIN = "InvalidParameter.InvalidCosDomain" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_LOADBALANCEINSTANCEIDISREQUIRED = "InvalidParameter.LoadBalanceInstanceIdIsRequired" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_ORIGINPULLPROTOCOLISREQUIRED = "InvalidParameter.OriginPullProtocolIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_RESPONSEHEADERCACHECONTROLNOTALLOWDELETE = "InvalidParameter.ResponseHeaderCacheControlNotAllowDelete" INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode" INVALIDPARAMETER_TLSVERSIONNOTINSEQUENCE = "InvalidParameter.TlsVersionNotInSequence" INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifyRuleWithContext ¶
func (c *Client) ModifyRuleWithContext(ctx context.Context, request *ModifyRuleRequest) (response *ModifyRuleResponse, err error)
ModifyRule 修改规则引擎规则。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_COMPRESSIONINVALIDALGORITHMS = "InvalidParameter.CompressionInvalidAlgorithms" INVALIDPARAMETER_ERRACTIONUNSUPPORTTARGET = "InvalidParameter.ErrActionUnsupportTarget" INVALIDPARAMETER_ERRINVALIDACTION = "InvalidParameter.ErrInvalidAction" INVALIDPARAMETER_ERRINVALIDACTIONDUPLICATEACTION = "InvalidParameter.ErrInvalidActionDuplicateAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAM = "InvalidParameter.ErrInvalidActionParam" INVALIDPARAMETER_ERRINVALIDACTIONPARAMACTION = "InvalidParameter.ErrInvalidActionParamAction" INVALIDPARAMETER_ERRINVALIDACTIONPARAMDUPLICATENAME = "InvalidParameter.ErrInvalidActionParamDuplicateName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMNAME = "InvalidParameter.ErrInvalidActionParamName" INVALIDPARAMETER_ERRINVALIDACTIONPARAMTOOMANYVALUES = "InvalidParameter.ErrInvalidActionParamTooManyValues" INVALIDPARAMETER_ERRINVALIDACTIONPARAMVALUE = "InvalidParameter.ErrInvalidActionParamValue" INVALIDPARAMETER_ERRINVALIDACTIONTYPE = "InvalidParameter.ErrInvalidActionType" INVALIDPARAMETER_ERRINVALIDCONDITIONHOSTTOOMANYWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidConditionHostTooManyWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRINVALIDCONDITIONIGNORECASE = "InvalidParameter.ErrInvalidConditionIgnoreCase" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMEBADNAME = "InvalidParameter.ErrInvalidConditionNameBadName" INVALIDPARAMETER_ERRINVALIDCONDITIONNAMETARGETNOTSUPPORTNAME = "InvalidParameter.ErrInvalidConditionNameTargetNotSupportName" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADREGULAR = "InvalidParameter.ErrInvalidConditionValueBadRegular" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADURL = "InvalidParameter.ErrInvalidConditionValueBadUrl" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUE = "InvalidParameter.ErrInvalidConditionValueBadValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUEBADVALUECONTAINFILENAMEEXTENSION = "InvalidParameter.ErrInvalidConditionValueBadValueContainFileNameExtension" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOLONGVALUE = "InvalidParameter.ErrInvalidConditionValueTooLongValue" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYVALUES = "InvalidParameter.ErrInvalidConditionValueTooManyValues" INVALIDPARAMETER_ERRINVALIDCONDITIONVALUETOOMANYWILDCARD = "InvalidParameter.ErrInvalidConditionValueTooManyWildcard" INVALIDPARAMETER_ERRINVALIDELSEWHENMODIFYORIGINACTIONCONFIGURED = "InvalidParameter.ErrInvalidElseWhenModifyOriginActionConfigured" INVALIDPARAMETER_ERRNILCONDITION = "InvalidParameter.ErrNilCondition" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_HOSTNOTFOUND = "InvalidParameter.HostNotFound" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESECRETKEY = "InvalidParameter.InvalidAuthenticationTypeSecretKey" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPESIGNPARAM = "InvalidParameter.InvalidAuthenticationTypeSignParam" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEFORMAT = "InvalidParameter.InvalidAuthenticationTypeTimeFormat" INVALIDPARAMETER_INVALIDAUTHENTICATIONTYPETIMEPARAM = "InvalidParameter.InvalidAuthenticationTypeTimeParam" INVALIDPARAMETER_INVALIDAWSREGION = "InvalidParameter.InvalidAwsRegion" INVALIDPARAMETER_INVALIDBACKUPSERVERNAME = "InvalidParameter.InvalidBackupServerName" INVALIDPARAMETER_INVALIDCACHEKEY = "InvalidParameter.InvalidCacheKey" INVALIDPARAMETER_INVALIDCACHEKEYCOOKIE = "InvalidParameter.InvalidCacheKeyCookie" INVALIDPARAMETER_INVALIDCACHEKEYIGNORECASE = "InvalidParameter.InvalidCacheKeyIgnoreCase" INVALIDPARAMETER_INVALIDCACHEKEYSCHEME = "InvalidParameter.InvalidCacheKeyScheme" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDCOSDOMAIN = "InvalidParameter.InvalidCosDomain" INVALIDPARAMETER_INVALIDERRORPAGEREDIRECTURL = "InvalidParameter.InvalidErrorPageRedirectUrl" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDREQUESTHEADERNAMEXFF = "InvalidParameter.InvalidRequestHeaderNameXff" INVALIDPARAMETER_INVALIDREQUESTHEADERVALUE = "InvalidParameter.InvalidRequestHeaderValue" INVALIDPARAMETER_INVALIDRESPONSEHEADERNAME = "InvalidParameter.InvalidResponseHeaderName" INVALIDPARAMETER_INVALIDRESPONSEHEADERVALUE = "InvalidParameter.InvalidResponseHeaderValue" INVALIDPARAMETER_INVALIDRULEENGINEACTION = "InvalidParameter.InvalidRuleEngineAction" INVALIDPARAMETER_INVALIDRULEENGINENOTFOUND = "InvalidParameter.InvalidRuleEngineNotFound" INVALIDPARAMETER_INVALIDRULEENGINETARGET = "InvalidParameter.InvalidRuleEngineTarget" INVALIDPARAMETER_INVALIDRULEENGINETARGETSEXTENSION = "InvalidParameter.InvalidRuleEngineTargetsExtension" INVALIDPARAMETER_INVALIDRULEENGINETARGETSURL = "InvalidParameter.InvalidRuleEngineTargetsUrl" INVALIDPARAMETER_INVALIDSERVERNAME = "InvalidParameter.InvalidServerName" INVALIDPARAMETER_INVALIDUPSTREAMREQUESTQUERYSTRINGVALUE = "InvalidParameter.InvalidUpstreamRequestQueryStringValue" INVALIDPARAMETER_INVALIDURLREDIRECTHOST = "InvalidParameter.InvalidUrlRedirectHost" INVALIDPARAMETER_INVALIDURLREDIRECTURL = "InvalidParameter.InvalidUrlRedirectUrl" INVALIDPARAMETER_KEYRULESINVALIDQUERYSTRINGVALUE = "InvalidParameter.KeyRulesInvalidQueryStringValue" INVALIDPARAMETER_LOADBALANCEINSTANCEIDISREQUIRED = "InvalidParameter.LoadBalanceInstanceIdIsRequired" INVALIDPARAMETER_NOTSUPPORTTHISPRESET = "InvalidParameter.NotSupportThisPreset" INVALIDPARAMETER_ORIGINORIGINGROUPIDISREQUIRED = "InvalidParameter.OriginOriginGroupIdIsRequired" INVALIDPARAMETER_ORIGINPULLPROTOCOLISREQUIRED = "InvalidParameter.OriginPullProtocolIsRequired" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_RESPONSEHEADERCACHECONTROLNOTALLOWDELETE = "InvalidParameter.ResponseHeaderCacheControlNotAllowDelete" INVALIDPARAMETER_STATUSCODECACHEINVALIDSTATUSCODE = "InvalidParameter.StatusCodeCacheInvalidStatusCode" INVALIDPARAMETER_TLSVERSIONNOTINSEQUENCE = "InvalidParameter.TlsVersionNotInSequence" INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" LIMITEXCEEDED = "LimitExceeded" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_INVALIDADVANCEDDEFENSESECURITYTYPE = "OperationDenied.InvalidAdvancedDefenseSecurityType" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifySecurityIPGroup ¶ added in v1.0.647
func (c *Client) ModifySecurityIPGroup(request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
ModifySecurityIPGroup 修改安全 IP 组。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifySecurityIPGroupWithContext ¶ added in v1.0.647
func (c *Client) ModifySecurityIPGroupWithContext(ctx context.Context, request *ModifySecurityIPGroupRequest) (response *ModifySecurityIPGroupResponse, err error)
ModifySecurityIPGroup 修改安全 IP 组。
可能返回的错误码:
INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" RESOURCENOTFOUND = "ResourceNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown"
func (*Client) ModifySecurityPolicy ¶
func (c *Client) ModifySecurityPolicy(request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" LIMITEXCEEDED_SECURITY = "LimitExceeded.Security" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifySecurityPolicyWithContext ¶
func (c *Client) ModifySecurityPolicyWithContext(ctx context.Context, request *ModifySecurityPolicyRequest) (response *ModifySecurityPolicyResponse, err error)
ModifySecurityPolicy 修改Web&Bot安全配置。
可能返回的错误码:
INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_PROXYSERVER = "InternalError.ProxyServer" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INVALIDPARAMETER_SECURITY = "InvalidParameter.Security" LIMITEXCEEDED_SECURITY = "LimitExceeded.Security" OPERATIONDENIED = "OperationDenied" RESOURCEINUSE = "ResourceInUse" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission" UNAUTHORIZEDOPERATION_UNKNOWN = "UnauthorizedOperation.Unknown" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyZone ¶
func (c *Client) ModifyZone(request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 修改站点信息。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_ZONENAMEISREQUIRED = "InvalidParameter.ZoneNameIsRequired" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" OPERATIONDENIED_NODOMAINACCESSZONEONLYALLOWMODIFIEDTOCNAME = "OperationDenied.NoDomainAccessZoneOnlyAllowModifiedToCNAME" OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = "OperationDenied.NoDomainAccessZoneOnlySupportModifyType" OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = "OperationDenied.PlanNotSupportModifyZoneArea" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneSetting ¶
func (c *Client) ModifyZoneSetting(request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting 用于修改站点配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPCOUNTRYHEADERNAME = "InvalidParameter.InvalidClientIpCountryHeaderName" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINTYPE = "InvalidParameter.InvalidOriginType" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEMPTYLIST = "InvalidParameter.InvalidStandardDebugEmptyList" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting" INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = "InvalidParameter.OCDirectOriginRequiresSmartRouting" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = "OperationDenied.SharedCNAMEUnsupportedAccelerateMainland" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneSettingWithContext ¶
func (c *Client) ModifyZoneSettingWithContext(ctx context.Context, request *ModifyZoneSettingRequest) (response *ModifyZoneSettingResponse, err error)
ModifyZoneSetting 用于修改站点配置
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CERTIFICATENOTFOUND = "FailedOperation.CertificateNotFound" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_ROUTEERROR = "InternalError.RouteError" INTERNALERROR_SYSTEMERROR = "InternalError.SystemError" INTERNALERROR_UNKNOWERROR = "InternalError.UnknowError" INVALIDPARAMETER_ACTIONINPROGRESS = "InvalidParameter.ActionInProgress" INVALIDPARAMETER_CACHEKEYQUERYSTRINGREQUIRESFULLURLCACHEOFF = "InvalidParameter.CacheKeyQueryStringRequiresFullUrlCacheOff" INVALIDPARAMETER_CACHEKEYQUERYSTRINGTOOMANYVALUE = "InvalidParameter.CacheKeyQueryStringTooManyValue" INVALIDPARAMETER_CERTSYSTEMERROR = "InvalidParameter.CertSystemError" INVALIDPARAMETER_CLIENTIPCOUNTRYCONFLICTSWITHIPV6 = "InvalidParameter.ClientIpCountryConflictsWithIpv6" INVALIDPARAMETER_GRPCREQUIREHTTP2 = "InvalidParameter.GrpcRequireHttp2" INVALIDPARAMETER_INVALIDAWSPRIVATEACCESS = "InvalidParameter.InvalidAwsPrivateAccess" INVALIDPARAMETER_INVALIDCACHECONFIGFOLLOWORIGIN = "InvalidParameter.InvalidCacheConfigFollowOrigin" INVALIDPARAMETER_INVALIDCACHEKEYQUERYSTRINGVALUE = "InvalidParameter.InvalidCacheKeyQueryStringValue" INVALIDPARAMETER_INVALIDCACHEONLYONSWITCH = "InvalidParameter.InvalidCacheOnlyOnSwitch" INVALIDPARAMETER_INVALIDCACHETIME = "InvalidParameter.InvalidCacheTime" INVALIDPARAMETER_INVALIDCLIENTIPCOUNTRYHEADERNAME = "InvalidParameter.InvalidClientIpCountryHeaderName" INVALIDPARAMETER_INVALIDCLIENTIPHEADERNAME = "InvalidParameter.InvalidClientIpHeaderName" INVALIDPARAMETER_INVALIDDYNAMICROUTINE = "InvalidParameter.InvalidDynamicRoutine" INVALIDPARAMETER_INVALIDDYNAMICROUTINEBILLING = "InvalidParameter.InvalidDynamicRoutineBilling" INVALIDPARAMETER_INVALIDFORCEREDIRECTTYPE = "InvalidParameter.InvalidForceRedirectType" INVALIDPARAMETER_INVALIDHTTPS = "InvalidParameter.InvalidHttps" INVALIDPARAMETER_INVALIDHTTPSCERTINFO = "InvalidParameter.InvalidHttpsCertInfo" INVALIDPARAMETER_INVALIDHTTPSCIPHERSUITEANDTLSVERSION = "InvalidParameter.InvalidHttpsCipherSuiteAndTlsVersion" INVALIDPARAMETER_INVALIDHTTPSHSTSMAXAGE = "InvalidParameter.InvalidHttpsHstsMaxAge" INVALIDPARAMETER_INVALIDHTTPSTLSVERSION = "InvalidParameter.InvalidHttpsTlsVersion" INVALIDPARAMETER_INVALIDIPV6SWITCH = "InvalidParameter.InvalidIpv6Switch" INVALIDPARAMETER_INVALIDMAXAGETIME = "InvalidParameter.InvalidMaxAgeTime" INVALIDPARAMETER_INVALIDORIGIN = "InvalidParameter.InvalidOrigin" INVALIDPARAMETER_INVALIDORIGINTYPE = "InvalidParameter.InvalidOriginType" INVALIDPARAMETER_INVALIDPARAMETER = "InvalidParameter.InvalidParameter" INVALIDPARAMETER_INVALIDPOSTMAXSIZEBILLING = "InvalidParameter.InvalidPostMaxSizeBilling" INVALIDPARAMETER_INVALIDPOSTSIZEVALUE = "InvalidParameter.InvalidPostSizeValue" INVALIDPARAMETER_INVALIDRANGEORIGINPULL = "InvalidParameter.InvalidRangeOriginPull" INVALIDPARAMETER_INVALIDREQUESTHEADERNAME = "InvalidParameter.InvalidRequestHeaderName" INVALIDPARAMETER_INVALIDRESOURCEIDBILLING = "InvalidParameter.InvalidResourceIdBilling" INVALIDPARAMETER_INVALIDSTANDARDDEBUGCLIENTIP = "InvalidParameter.InvalidStandardDebugClientIp" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEMPTYLIST = "InvalidParameter.InvalidStandardDebugEmptyList" INVALIDPARAMETER_INVALIDSTANDARDDEBUGEXPIRETIMELIMIT = "InvalidParameter.InvalidStandardDebugExpireTimeLimit" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_MULTIPLYLAYERNOTSUPPORTSMARTROUTING = "InvalidParameter.MultiplyLayerNotSupportSmartRouting" INVALIDPARAMETER_OCDIRECTORIGINREQUIRESSMARTROUTING = "InvalidParameter.OCDirectOriginRequiresSmartRouting" INVALIDPARAMETER_POSTMAXSIZELIMITEXCEEDED = "InvalidParameter.PostMaxSizeLimitExceeded" INVALIDPARAMETER_SETTINGINVALIDPARAM = "InvalidParameter.SettingInvalidParam" INVALIDPARAMETER_ZONEISGRAYPUBLISHING = "InvalidParameter.ZoneIsGrayPublishing" INVALIDPARAMETER_ZONENOTFOUND = "InvalidParameter.ZoneNotFound" INVALIDPARAMETERVALUE_FORMATMISMATCH = "InvalidParameterValue.FormatMismatch" INVALIDPARAMETERVALUE_GENERALMISMATCH = "InvalidParameterValue.GeneralMismatch" INVALIDPARAMETERVALUE_INCLUDEINVALIDVALUE = "InvalidParameterValue.IncludeInvalidValue" INVALIDPARAMETERVALUE_MISSINGNECESSARYPARAM = "InvalidParameterValue.MissingNecessaryParam" INVALIDPARAMETERVALUE_NOTINENUMERATION = "InvalidParameterValue.NotInEnumeration" INVALIDPARAMETERVALUE_NOTWITHINRANGE = "InvalidParameterValue.NotWithinRange" INVALIDPARAMETERVALUE_REGEXMISMATCH = "InvalidParameterValue.RegExMismatch" INVALIDPARAMETERVALUE_UNRECOGNIZABLEVALUE = "InvalidParameterValue.UnrecognizableValue" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_ACCELERATEMAINLANDDISABLE = "OperationDenied.AccelerateMainlandDisable" OPERATIONDENIED_ACCELERATEMAINLANDIPV6CONFLICT = "OperationDenied.AccelerateMainlandIpv6Conflict" OPERATIONDENIED_ACCELERATEMAINLANDMULTIPLYLAYERCONFLICT = "OperationDenied.AccelerateMainlandMultiplyLayerConflict" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDACCELERATEMAINLAND = "OperationDenied.SharedCNAMEUnsupportedAccelerateMainland" OPERATIONDENIED_SHAREDCNAMEUNSUPPORTEDIPV6 = "OperationDenied.SharedCNAMEUnsupportedIPv6" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_POSTMAXSIZEQUOTANOTFOUND = "ResourceNotFound.PostMaxSizeQuotaNotFound" RESOURCEUNAVAILABLE_CERTNOTFOUND = "ResourceUnavailable.CertNotFound" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) ModifyZoneStatus ¶
func (c *Client) ModifyZoneStatus(request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_L4PROXYINPROGRESSSTATUS = "OperationDenied.L4ProxyInProgressStatus" OPERATIONDENIED_L4PROXYINSTOPPINGSTATUS = "OperationDenied.L4ProxyInStoppingStatus" OPERATIONDENIED_L7HOSTINPROCESSSTATUS = "OperationDenied.L7HostInProcessStatus" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyZoneStatusWithContext ¶
func (c *Client) ModifyZoneStatusWithContext(ctx context.Context, request *ModifyZoneStatusRequest) (response *ModifyZoneStatusResponse, err error)
ModifyZoneStatus 用于开启,关闭站点。
可能返回的错误码:
OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_CONFIGLOCKED = "OperationDenied.ConfigLocked" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_L4PROXYINPROGRESSSTATUS = "OperationDenied.L4ProxyInProgressStatus" OPERATIONDENIED_L4PROXYINSTOPPINGSTATUS = "OperationDenied.L4ProxyInStoppingStatus" OPERATIONDENIED_L7HOSTINPROCESSSTATUS = "OperationDenied.L7HostInProcessStatus" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" OPERATIONDENIED_VERSIONCONTROLISGRAYING = "OperationDenied.VersionControlIsGraying" RESOURCEINUSE = "ResourceInUse" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized"
func (*Client) ModifyZoneWithContext ¶
func (c *Client) ModifyZoneWithContext(ctx context.Context, request *ModifyZoneRequest) (response *ModifyZoneResponse, err error)
ModifyZone 修改站点信息。
可能返回的错误码:
DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" INTERNALERROR_CONFIGLOCKED = "InternalError.ConfigLocked" INTERNALERROR_FAILEDTOCALLDNSPOD = "InternalError.FailedToCallDNSPod" INVALIDPARAMETER_INVALIDORIGINIP = "InvalidParameter.InvalidOriginIp" INVALIDPARAMETER_INVALIDWEBSOCKETTIMEOUT = "InvalidParameter.InvalidWebSocketTimeout" INVALIDPARAMETER_LENGTHEXCEEDSLIMIT = "InvalidParameter.LengthExceedsLimit" INVALIDPARAMETER_ZONENAMEISREQUIRED = "InvalidParameter.ZoneNameIsRequired" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_ZONESAMEASNAME = "InvalidParameterValue.ZoneSameAsName" OPERATIONDENIED = "OperationDenied" OPERATIONDENIED_DNSPODUNAUTHORIZEDROLEOPERATION = "OperationDenied.DNSPodUnauthorizedRoleOperation" OPERATIONDENIED_DISABLEZONENOTCOMPLETED = "OperationDenied.DisableZoneNotCompleted" OPERATIONDENIED_DOMAININSHARECNAMEGROUP = "OperationDenied.DomainInShareCnameGroup" OPERATIONDENIED_DOMAINNUMBERISNOTZERO = "OperationDenied.DomainNumberIsNotZero" OPERATIONDENIED_ERRZONEISALREADYPAUSED = "OperationDenied.ErrZoneIsAlreadyPaused" OPERATIONDENIED_MULTIPLECNAMEZONE = "OperationDenied.MultipleCnameZone" OPERATIONDENIED_NSNOTALLOWTRAFFICSTRATEGY = "OperationDenied.NSNotAllowTrafficStrategy" OPERATIONDENIED_NODOMAINACCESSZONEONLYALLOWMODIFIEDTOCNAME = "OperationDenied.NoDomainAccessZoneOnlyAllowModifiedToCNAME" OPERATIONDENIED_NODOMAINACCESSZONEONLYSUPPORTMODIFYTYPE = "OperationDenied.NoDomainAccessZoneOnlySupportModifyType" OPERATIONDENIED_PLANNOTSUPPORTMODIFYZONEAREA = "OperationDenied.PlanNotSupportModifyZoneArea" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCEINUSE_CNAME = "ResourceInUse.Cname" RESOURCEINUSE_DNS = "ResourceInUse.Dns" RESOURCEINUSE_GENERICHOST = "ResourceInUse.GenericHost" RESOURCEINUSE_NS = "ResourceInUse.NS" RESOURCEINUSE_OTHERS = "ResourceInUse.Others" RESOURCEINUSE_OTHERSALIASDOMAIN = "ResourceInUse.OthersAliasDomain" RESOURCEINUSE_OTHERSCNAME = "ResourceInUse.OthersCname" RESOURCEINUSE_OTHERSNS = "ResourceInUse.OthersNS" RESOURCEINUSE_SELFANDOTHERSCNAME = "ResourceInUse.SelfAndOthersCname" RESOURCENOTFOUND = "ResourceNotFound" RESOURCENOTFOUND_DNSPODDOMAINNOTINACCOUNT = "ResourceNotFound.DNSPodDomainNotInAccount" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION_CAMUNAUTHORIZED = "UnauthorizedOperation.CamUnauthorized" UNAUTHORIZEDOPERATION_NOPERMISSION = "UnauthorizedOperation.NoPermission"
func (*Client) RenewPlan ¶ added in v1.0.912
func (c *Client) RenewPlan(request *RenewPlanRequest) (response *RenewPlanResponse, err error)
RenewPlan 当您的套餐需要延长有效期,可以通过该接口进行续费。套餐续费仅支持个人版,基础版,标准版套餐。
> 费用详情可参考 [套餐费用](https://cloud.tencent.com/document/product/1552/94158)
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" INVALIDPARAMETER_INVALIDPERIOD = "InvalidParameter.InvalidPeriod" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_ENTERPRISEPLANRENEWUNSUPPORTED = "OperationDenied.EnterprisePlanRenewUnsupported" OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked"
func (*Client) RenewPlanWithContext ¶ added in v1.0.912
func (c *Client) RenewPlanWithContext(ctx context.Context, request *RenewPlanRequest) (response *RenewPlanResponse, err error)
RenewPlan 当您的套餐需要延长有效期,可以通过该接口进行续费。套餐续费仅支持个人版,基础版,标准版套餐。
> 费用详情可参考 [套餐费用](https://cloud.tencent.com/document/product/1552/94158)
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" INVALIDPARAMETER_INVALIDPERIOD = "InvalidParameter.InvalidPeriod" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_ENTERPRISEPLANRENEWUNSUPPORTED = "OperationDenied.EnterprisePlanRenewUnsupported" OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked"
func (*Client) UpgradePlan ¶ added in v1.0.912
func (c *Client) UpgradePlan(request *UpgradePlanRequest) (response *UpgradePlanResponse, err error)
UpgradePlan 当您需要使用高等级套餐才拥有的功能,可以通过本接口升级套餐,仅支持个人版,基础版套餐进行升级。
> 不同类型 Edgeone 计费套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165)
计费套餐升级规则以及资费详情参考 [Edgeone计费套餐升配说明](https://cloud.tencent.com/document/product/1552/95291)
如果需要将套餐升级至企业版,请 [联系我们](https://cloud.tencent.com/online-service)
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" INVALIDPARAMETER_INVALIDPLANTYPE = "InvalidParameter.InvalidPlanType" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_ENTERPRISEPLANUPGRADEUNSUPPORTED = "OperationDenied.EnterprisePlanUpgradeUnsupported" OPERATIONDENIED_PLANDOWNGRADENOTALLOWED = "OperationDenied.PlanDowngradeNotAllowed" OPERATIONDENIED_PLANHASBEENEXPIRED = "OperationDenied.PlanHasBeenExpired" OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated" OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked"
func (*Client) UpgradePlanWithContext ¶ added in v1.0.912
func (c *Client) UpgradePlanWithContext(ctx context.Context, request *UpgradePlanRequest) (response *UpgradePlanResponse, err error)
UpgradePlan 当您需要使用高等级套餐才拥有的功能,可以通过本接口升级套餐,仅支持个人版,基础版套餐进行升级。
> 不同类型 Edgeone 计费套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165)
计费套餐升级规则以及资费详情参考 [Edgeone计费套餐升配说明](https://cloud.tencent.com/document/product/1552/95291)
如果需要将套餐升级至企业版,请 [联系我们](https://cloud.tencent.com/online-service)
可能返回的错误码:
FAILEDOPERATION_INSUFFICIENTACCOUNTBALANCE = "FailedOperation.InsufficientAccountBalance" INVALIDPARAMETER_INVALIDAUTOUSEVOUCHER = "InvalidParameter.InvalidAutoUseVoucher" INVALIDPARAMETER_INVALIDPLANTYPE = "InvalidParameter.InvalidPlanType" INVALIDPARAMETER_PLANNOTFOUND = "InvalidParameter.PlanNotFound" OPERATIONDENIED_ENTERPRISEPLANUPGRADEUNSUPPORTED = "OperationDenied.EnterprisePlanUpgradeUnsupported" OPERATIONDENIED_PLANDOWNGRADENOTALLOWED = "OperationDenied.PlanDowngradeNotAllowed" OPERATIONDENIED_PLANHASBEENEXPIRED = "OperationDenied.PlanHasBeenExpired" OPERATIONDENIED_PLANHASBEENISOLATED = "OperationDenied.PlanHasBeenIsolated" OPERATIONDENIED_RESOURCEHASBEENLOCKED = "OperationDenied.ResourceHasBeenLocked"
func (*Client) VerifyOwnership ¶ added in v1.0.757
func (c *Client) VerifyOwnership(request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
VerifyOwnership 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound"
func (*Client) VerifyOwnershipWithContext ¶ added in v1.0.757
func (c *Client) VerifyOwnershipWithContext(ctx context.Context, request *VerifyOwnershipRequest) (response *VerifyOwnershipResponse, err error)
VerifyOwnership 在 CNAME 接入模式下,您需要对站点或者域名的归属权进行验证,可以通过本接口触发验证。若站点通过归属权验证后,后续添加域名无需再验证。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。
在 NS 接入模式下,您也可以通过本接口来查询 NS 服务器是否切换成功,详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。
可能返回的错误码:
INTERNALERROR_ROUTEERROR = "InternalError.RouteError" OPERATIONDENIED_RESOURCELOCKEDTEMPORARY = "OperationDenied.ResourceLockedTemporary" RESOURCENOTFOUND = "ResourceNotFound"
type ClientIpCountry ¶ added in v1.0.507
type ClientIpHeader ¶
type ClientIpHeader struct { // 配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 回源时,存放客户端 IP 的请求头名称。当 Switch 为 on 时,该参数必填。该参数不允许填写 X-Forwarded-For。 // 注意:此字段可能返回 null,表示取不到有效值。 HeaderName *string `json:"HeaderName,omitnil,omitempty" name:"HeaderName"` }
type CnameStatus ¶ added in v1.0.695
type CnameStatus struct { // 记录名称。 RecordName *string `json:"RecordName,omitnil,omitempty" name:"RecordName"` // CNAME 地址。 // 注意:此字段可能返回 null,表示取不到有效值。 Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` // Cname状态信息,取值有: // <li>active:生效;</li> // <li>moved:不生效。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type CodeAction ¶
type CodeAction struct { // 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 操作参数。 Parameters []*RuleCodeActionParams `json:"Parameters,omitnil,omitempty" name:"Parameters"` }
type Compression ¶
type Compression struct { // 智能压缩配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 支持的压缩算法列表,取值有: // <li>brotli:brotli算法;</li> // <li>gzip:gzip算法。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Algorithms []*string `json:"Algorithms,omitnil,omitempty" name:"Algorithms"` }
type ConfigGroupVersionInfo ¶ added in v1.0.803
type ConfigGroupVersionInfo struct { // 版本 ID。 VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"` // 版本号。 VersionNumber *string `json:"VersionNumber,omitnil,omitempty" name:"VersionNumber"` // 配置组 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 配置组类型。取值有: // <li>l7_acceleration :七层加速配置组。</li> // <li>edge_functions :边缘函数配置组。</li> GroupType *string `json:"GroupType,omitnil,omitempty" name:"GroupType"` // 版本描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 版本状态,取值有: // <li>creating:创建中;</li> // <li>inactive:未生效;</li> // <li>active:已生效。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 版本创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` }
type CreateAccelerationDomainRequest ¶ added in v1.0.591
type CreateAccelerationDomainRequest struct { *tchttp.BaseRequest // 加速域名所属站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名。 DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // 源站信息。 OriginInfo *OriginInfo `json:"OriginInfo,omitnil,omitempty" name:"OriginInfo"` // 回源协议,取值有: // <li>FOLLOW: 协议跟随;</li> // <li>HTTP: HTTP协议回源;</li> // <li>HTTPS: HTTPS协议回源。</li> // <li>不填默认为: FOLLOW。</li> OriginProtocol *string `json:"OriginProtocol,omitnil,omitempty" name:"OriginProtocol"` // HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填默认为80。 HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil,omitempty" name:"HttpOriginPort"` // HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填默认为443。 HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil,omitempty" name:"HttpsOriginPort"` // IPv6状态,取值有: // <li>follow:遵循站点IPv6配置;</li> // <li>on:开启状态;</li> // <li>off:关闭状态。</li> // <li>不填默认为:follow。</li> IPv6Status *string `json:"IPv6Status,omitnil,omitempty" name:"IPv6Status"` }
func NewCreateAccelerationDomainRequest ¶ added in v1.0.591
func NewCreateAccelerationDomainRequest() (request *CreateAccelerationDomainRequest)
func (*CreateAccelerationDomainRequest) FromJsonString ¶ added in v1.0.591
func (r *CreateAccelerationDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccelerationDomainRequest) ToJsonString ¶ added in v1.0.591
func (r *CreateAccelerationDomainRequest) ToJsonString() string
type CreateAccelerationDomainRequestParams ¶ added in v1.0.591
type CreateAccelerationDomainRequestParams struct { // 加速域名所属站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名。 DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // 源站信息。 OriginInfo *OriginInfo `json:"OriginInfo,omitnil,omitempty" name:"OriginInfo"` // 回源协议,取值有: // <li>FOLLOW: 协议跟随;</li> // <li>HTTP: HTTP协议回源;</li> // <li>HTTPS: HTTPS协议回源。</li> // <li>不填默认为: FOLLOW。</li> OriginProtocol *string `json:"OriginProtocol,omitnil,omitempty" name:"OriginProtocol"` // HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填默认为80。 HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil,omitempty" name:"HttpOriginPort"` // HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填默认为443。 HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil,omitempty" name:"HttpsOriginPort"` // IPv6状态,取值有: // <li>follow:遵循站点IPv6配置;</li> // <li>on:开启状态;</li> // <li>off:关闭状态。</li> // <li>不填默认为:follow。</li> IPv6Status *string `json:"IPv6Status,omitnil,omitempty" name:"IPv6Status"` }
Predefined struct for user
type CreateAccelerationDomainResponse ¶ added in v1.0.591
type CreateAccelerationDomainResponse struct { *tchttp.BaseResponse Response *CreateAccelerationDomainResponseParams `json:"Response"` }
func NewCreateAccelerationDomainResponse ¶ added in v1.0.591
func NewCreateAccelerationDomainResponse() (response *CreateAccelerationDomainResponse)
func (*CreateAccelerationDomainResponse) FromJsonString ¶ added in v1.0.591
func (r *CreateAccelerationDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAccelerationDomainResponse) ToJsonString ¶ added in v1.0.591
func (r *CreateAccelerationDomainResponse) ToJsonString() string
type CreateAccelerationDomainResponseParams ¶ added in v1.0.591
type CreateAccelerationDomainResponseParams struct { // 当您的站点未进行归属权验证时,您可通过该参数返回的信息单独对域名进行归属权校验。详情参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789)。 // 注意:此字段可能返回 null,表示取不到有效值。 OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil,omitempty" name:"OwnershipVerification"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateAliasDomainRequest ¶ added in v1.0.510
type CreateAliasDomainRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 别称域名名称。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 目标域名名称。 TargetName *string `json:"TargetName,omitnil,omitempty" name:"TargetName"` // 证书配置,取值有: // <li> none:不配置;</li> // <li> hosting:SSL托管证书。</li>默认取值为 none。 CertType *string `json:"CertType,omitnil,omitempty" name:"CertType"` // 当 CertType 取值为 hosting 时需填入相应证书 ID。 CertId []*string `json:"CertId,omitnil,omitempty" name:"CertId"` }
func NewCreateAliasDomainRequest ¶ added in v1.0.510
func NewCreateAliasDomainRequest() (request *CreateAliasDomainRequest)
func (*CreateAliasDomainRequest) FromJsonString ¶ added in v1.0.510
func (r *CreateAliasDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAliasDomainRequest) ToJsonString ¶ added in v1.0.510
func (r *CreateAliasDomainRequest) ToJsonString() string
type CreateAliasDomainRequestParams ¶ added in v1.0.510
type CreateAliasDomainRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 别称域名名称。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 目标域名名称。 TargetName *string `json:"TargetName,omitnil,omitempty" name:"TargetName"` // 证书配置,取值有: // <li> none:不配置;</li> // <li> hosting:SSL托管证书。</li>默认取值为 none。 CertType *string `json:"CertType,omitnil,omitempty" name:"CertType"` // 当 CertType 取值为 hosting 时需填入相应证书 ID。 CertId []*string `json:"CertId,omitnil,omitempty" name:"CertId"` }
Predefined struct for user
type CreateAliasDomainResponse ¶ added in v1.0.510
type CreateAliasDomainResponse struct { *tchttp.BaseResponse Response *CreateAliasDomainResponseParams `json:"Response"` }
func NewCreateAliasDomainResponse ¶ added in v1.0.510
func NewCreateAliasDomainResponse() (response *CreateAliasDomainResponse)
func (*CreateAliasDomainResponse) FromJsonString ¶ added in v1.0.510
func (r *CreateAliasDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateAliasDomainResponse) ToJsonString ¶ added in v1.0.510
func (r *CreateAliasDomainResponse) ToJsonString() string
type CreateAliasDomainResponseParams ¶ added in v1.0.510
type CreateAliasDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationProxyRequest ¶
type CreateApplicationProxyRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 当 ProxyType=hostname 时,表示域名或子域名; // 当 ProxyType=instance 时,表示代理名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 调度模式,取值有: // <li>ip:表示Anycast IP调度;</li> // <li>domain:表示CNAME调度。</li> PlatType *string `json:"PlatType,omitnil,omitempty" name:"PlatType"` // 是否开启安全,取值有: // <li>0:关闭安全;</li> // <li>1:开启安全。</li> SecurityType *int64 `json:"SecurityType,omitnil,omitempty" name:"SecurityType"` // 是否开启加速,取值有: // <li>0:关闭加速;</li> // <li>1:开启加速。</li> AccelerateType *int64 `json:"AccelerateType,omitnil,omitempty" name:"AccelerateType"` // 四层代理模式,取值有: <li>instance:表示实例模式。</li>不填写使用默认值instance。 ProxyType *string `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // 会话保持时间,取值范围:30-3600,单位:秒。 // 不填写使用默认值600。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // Ipv6 访问配置。 // 不填写表示关闭 Ipv6 访问。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 规则详细信息。 // 不填写则不创建规则。 ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitnil,omitempty" name:"ApplicationProxyRules"` // 中国大陆加速优化配置。不填写表示关闭中国大陆加速优化。 AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
func NewCreateApplicationProxyRequest ¶
func NewCreateApplicationProxyRequest() (request *CreateApplicationProxyRequest)
func (*CreateApplicationProxyRequest) FromJsonString ¶
func (r *CreateApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRequest) ToJsonString ¶
func (r *CreateApplicationProxyRequest) ToJsonString() string
type CreateApplicationProxyRequestParams ¶
type CreateApplicationProxyRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 当 ProxyType=hostname 时,表示域名或子域名; // 当 ProxyType=instance 时,表示代理名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 调度模式,取值有: // <li>ip:表示Anycast IP调度;</li> // <li>domain:表示CNAME调度。</li> PlatType *string `json:"PlatType,omitnil,omitempty" name:"PlatType"` // 是否开启安全,取值有: // <li>0:关闭安全;</li> // <li>1:开启安全。</li> SecurityType *int64 `json:"SecurityType,omitnil,omitempty" name:"SecurityType"` // 是否开启加速,取值有: // <li>0:关闭加速;</li> // <li>1:开启加速。</li> AccelerateType *int64 `json:"AccelerateType,omitnil,omitempty" name:"AccelerateType"` // 四层代理模式,取值有: <li>instance:表示实例模式。</li>不填写使用默认值instance。 ProxyType *string `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // 会话保持时间,取值范围:30-3600,单位:秒。 // 不填写使用默认值600。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // Ipv6 访问配置。 // 不填写表示关闭 Ipv6 访问。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 规则详细信息。 // 不填写则不创建规则。 ApplicationProxyRules []*ApplicationProxyRule `json:"ApplicationProxyRules,omitnil,omitempty" name:"ApplicationProxyRules"` // 中国大陆加速优化配置。不填写表示关闭中国大陆加速优化。 AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
Predefined struct for user
type CreateApplicationProxyResponse ¶
type CreateApplicationProxyResponse struct { *tchttp.BaseResponse Response *CreateApplicationProxyResponseParams `json:"Response"` }
func NewCreateApplicationProxyResponse ¶
func NewCreateApplicationProxyResponse() (response *CreateApplicationProxyResponse)
func (*CreateApplicationProxyResponse) FromJsonString ¶
func (r *CreateApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyResponse) ToJsonString ¶
func (r *CreateApplicationProxyResponse) ToJsonString() string
type CreateApplicationProxyResponseParams ¶
type CreateApplicationProxyResponseParams struct { // 新增的四层代理应用ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateApplicationProxyRuleRequest ¶
type CreateApplicationProxyRuleRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 协议,取值有: // <li>TCP:TCP协议;</li> // <li>UDP:UDP协议。</li> Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"` // 端口,支持格式: // <li>80:80端口;</li> // <li>81-90:81至90端口。</li> Port []*string `json:"Port,omitnil,omitempty" name:"Port"` // 源站类型,取值有: // <li>custom:手动添加;</li> // <li>loadbalancer:负载均衡;</li> // <li>origins:源站组。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 源站信息: // <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li> // <li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-xdffsfasdfs"]`;</li> // <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li> OriginValue []*string `json:"OriginValue,omitnil,omitempty" name:"OriginValue"` // 传递客户端IP,取值有: // <li>TOA:TOA(仅Proto=TCP时可选);</li> // <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li> // <li>PPV2:Proxy Protocol传递,协议版本V2;</li> // <li>OFF:不传递。</li>默认值:OFF。 ForwardClientIp *string `json:"ForwardClientIp,omitnil,omitempty" name:"ForwardClientIp"` // 是否开启会话保持,取值有: // <li>true:开启;</li> // <li>false:关闭。</li>默认值:false。 SessionPersist *bool `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 会话保持的时间,只有当SessionPersist为true时,该值才会生效。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 源站端口,支持格式: // <li>单端口:80;</li> // <li>端口段:81-90,81至90端口。</li> OriginPort *string `json:"OriginPort,omitnil,omitempty" name:"OriginPort"` // 规则标签。默认值为空字符串。 RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"` }
func NewCreateApplicationProxyRuleRequest ¶
func NewCreateApplicationProxyRuleRequest() (request *CreateApplicationProxyRuleRequest)
func (*CreateApplicationProxyRuleRequest) FromJsonString ¶
func (r *CreateApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRuleRequest) ToJsonString ¶
func (r *CreateApplicationProxyRuleRequest) ToJsonString() string
type CreateApplicationProxyRuleRequestParams ¶
type CreateApplicationProxyRuleRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 协议,取值有: // <li>TCP:TCP协议;</li> // <li>UDP:UDP协议。</li> Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"` // 端口,支持格式: // <li>80:80端口;</li> // <li>81-90:81至90端口。</li> Port []*string `json:"Port,omitnil,omitempty" name:"Port"` // 源站类型,取值有: // <li>custom:手动添加;</li> // <li>loadbalancer:负载均衡;</li> // <li>origins:源站组。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 源站信息: // <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li> // <li>当 OriginType 为 loadbalancer 时,表示一个负载均衡,如`["lb-xdffsfasdfs"]`;</li> // <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li> OriginValue []*string `json:"OriginValue,omitnil,omitempty" name:"OriginValue"` // 传递客户端IP,取值有: // <li>TOA:TOA(仅Proto=TCP时可选);</li> // <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li> // <li>PPV2:Proxy Protocol传递,协议版本V2;</li> // <li>OFF:不传递。</li>默认值:OFF。 ForwardClientIp *string `json:"ForwardClientIp,omitnil,omitempty" name:"ForwardClientIp"` // 是否开启会话保持,取值有: // <li>true:开启;</li> // <li>false:关闭。</li>默认值:false。 SessionPersist *bool `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 会话保持的时间,只有当SessionPersist为true时,该值才会生效。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 源站端口,支持格式: // <li>单端口:80;</li> // <li>端口段:81-90,81至90端口。</li> OriginPort *string `json:"OriginPort,omitnil,omitempty" name:"OriginPort"` // 规则标签。默认值为空字符串。 RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"` }
Predefined struct for user
type CreateApplicationProxyRuleResponse ¶
type CreateApplicationProxyRuleResponse struct { *tchttp.BaseResponse Response *CreateApplicationProxyRuleResponseParams `json:"Response"` }
func NewCreateApplicationProxyRuleResponse ¶
func NewCreateApplicationProxyRuleResponse() (response *CreateApplicationProxyRuleResponse)
func (*CreateApplicationProxyRuleResponse) FromJsonString ¶
func (r *CreateApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateApplicationProxyRuleResponse) ToJsonString ¶
func (r *CreateApplicationProxyRuleResponse) ToJsonString() string
type CreateApplicationProxyRuleResponseParams ¶
type CreateApplicationProxyRuleResponseParams struct { // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCLSIndexRequest ¶ added in v1.0.869
type CreateCLSIndexRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewCreateCLSIndexRequest ¶ added in v1.0.869
func NewCreateCLSIndexRequest() (request *CreateCLSIndexRequest)
func (*CreateCLSIndexRequest) FromJsonString ¶ added in v1.0.869
func (r *CreateCLSIndexRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCLSIndexRequest) ToJsonString ¶ added in v1.0.869
func (r *CreateCLSIndexRequest) ToJsonString() string
type CreateCLSIndexRequestParams ¶ added in v1.0.869
type CreateCLSIndexRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type CreateCLSIndexResponse ¶ added in v1.0.869
type CreateCLSIndexResponse struct { *tchttp.BaseResponse Response *CreateCLSIndexResponseParams `json:"Response"` }
func NewCreateCLSIndexResponse ¶ added in v1.0.869
func NewCreateCLSIndexResponse() (response *CreateCLSIndexResponse)
func (*CreateCLSIndexResponse) FromJsonString ¶ added in v1.0.869
func (r *CreateCLSIndexResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCLSIndexResponse) ToJsonString ¶ added in v1.0.869
func (r *CreateCLSIndexResponse) ToJsonString() string
type CreateCLSIndexResponseParams ¶ added in v1.0.869
type CreateCLSIndexResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateConfigGroupVersionRequest ¶ added in v1.0.803
type CreateConfigGroupVersionRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 待新建版本的配置组 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 待导入的配置内容。要求采用 JSON 格式,按照 UTF-8 方式进行编码。配置文件内容可参考下方示例。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 版本描述,可输入最大长度为 50 个字符,可以通过本字段填写该版本的使用场景等。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewCreateConfigGroupVersionRequest ¶ added in v1.0.803
func NewCreateConfigGroupVersionRequest() (request *CreateConfigGroupVersionRequest)
func (*CreateConfigGroupVersionRequest) FromJsonString ¶ added in v1.0.803
func (r *CreateConfigGroupVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigGroupVersionRequest) ToJsonString ¶ added in v1.0.803
func (r *CreateConfigGroupVersionRequest) ToJsonString() string
type CreateConfigGroupVersionRequestParams ¶ added in v1.0.803
type CreateConfigGroupVersionRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 待新建版本的配置组 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 待导入的配置内容。要求采用 JSON 格式,按照 UTF-8 方式进行编码。配置文件内容可参考下方示例。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 版本描述,可输入最大长度为 50 个字符,可以通过本字段填写该版本的使用场景等。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type CreateConfigGroupVersionResponse ¶ added in v1.0.803
type CreateConfigGroupVersionResponse struct { *tchttp.BaseResponse Response *CreateConfigGroupVersionResponseParams `json:"Response"` }
func NewCreateConfigGroupVersionResponse ¶ added in v1.0.803
func NewCreateConfigGroupVersionResponse() (response *CreateConfigGroupVersionResponse)
func (*CreateConfigGroupVersionResponse) FromJsonString ¶ added in v1.0.803
func (r *CreateConfigGroupVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateConfigGroupVersionResponse) ToJsonString ¶ added in v1.0.803
func (r *CreateConfigGroupVersionResponse) ToJsonString() string
type CreateConfigGroupVersionResponseParams ¶ added in v1.0.803
type CreateConfigGroupVersionResponseParams struct { // 版本 ID。 VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCustomizeErrorPageRequest ¶ added in v1.0.939
type CreateCustomizeErrorPageRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义错误页名称,名称为 2-30 个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li> ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // 自定义错误页面描述,描述不超过 60 个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 自定义错误页面内容,内容不超过 2KB。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
func NewCreateCustomizeErrorPageRequest ¶ added in v1.0.939
func NewCreateCustomizeErrorPageRequest() (request *CreateCustomizeErrorPageRequest)
func (*CreateCustomizeErrorPageRequest) FromJsonString ¶ added in v1.0.939
func (r *CreateCustomizeErrorPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomizeErrorPageRequest) ToJsonString ¶ added in v1.0.939
func (r *CreateCustomizeErrorPageRequest) ToJsonString() string
type CreateCustomizeErrorPageRequestParams ¶ added in v1.0.939
type CreateCustomizeErrorPageRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义错误页名称,名称为 2-30 个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义错误页面类型,取值有:<li>text/html; </li><li>application/json;</li><li>text/plain;</li><li>text/xml。</li> ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // 自定义错误页面描述,描述不超过 60 个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 自定义错误页面内容,内容不超过 2KB。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
Predefined struct for user
type CreateCustomizeErrorPageResponse ¶ added in v1.0.939
type CreateCustomizeErrorPageResponse struct { *tchttp.BaseResponse Response *CreateCustomizeErrorPageResponseParams `json:"Response"` }
func NewCreateCustomizeErrorPageResponse ¶ added in v1.0.939
func NewCreateCustomizeErrorPageResponse() (response *CreateCustomizeErrorPageResponse)
func (*CreateCustomizeErrorPageResponse) FromJsonString ¶ added in v1.0.939
func (r *CreateCustomizeErrorPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomizeErrorPageResponse) ToJsonString ¶ added in v1.0.939
func (r *CreateCustomizeErrorPageResponse) ToJsonString() string
type CreateCustomizeErrorPageResponseParams ¶ added in v1.0.939
type CreateCustomizeErrorPageResponseParams struct { // 页面 ID。 PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFunctionRequest ¶ added in v1.0.1013
type CreateFunctionRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数名称,只能包含小写字母、数字、连字符,以数字或字母开头,以数字或字母结尾,最大支持 30 个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 函数描述,最大支持 60 个字符。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewCreateFunctionRequest ¶ added in v1.0.1013
func NewCreateFunctionRequest() (request *CreateFunctionRequest)
func (*CreateFunctionRequest) FromJsonString ¶ added in v1.0.1013
func (r *CreateFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFunctionRequest) ToJsonString ¶ added in v1.0.1013
func (r *CreateFunctionRequest) ToJsonString() string
type CreateFunctionRequestParams ¶ added in v1.0.1013
type CreateFunctionRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数名称,只能包含小写字母、数字、连字符,以数字或字母开头,以数字或字母结尾,最大支持 30 个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 函数描述,最大支持 60 个字符。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type CreateFunctionResponse ¶ added in v1.0.1013
type CreateFunctionResponse struct { *tchttp.BaseResponse Response *CreateFunctionResponseParams `json:"Response"` }
func NewCreateFunctionResponse ¶ added in v1.0.1013
func NewCreateFunctionResponse() (response *CreateFunctionResponse)
func (*CreateFunctionResponse) FromJsonString ¶ added in v1.0.1013
func (r *CreateFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFunctionResponse) ToJsonString ¶ added in v1.0.1013
func (r *CreateFunctionResponse) ToJsonString() string
type CreateFunctionResponseParams ¶ added in v1.0.1013
type CreateFunctionResponseParams struct { // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFunctionRuleRequest ¶ added in v1.0.1013
type CreateFunctionRuleRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系。 FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"` // 函数 ID,命中触发规则条件后执行的函数。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 规则描述,最大支持 60 个字符。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewCreateFunctionRuleRequest ¶ added in v1.0.1013
func NewCreateFunctionRuleRequest() (request *CreateFunctionRuleRequest)
func (*CreateFunctionRuleRequest) FromJsonString ¶ added in v1.0.1013
func (r *CreateFunctionRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFunctionRuleRequest) ToJsonString ¶ added in v1.0.1013
func (r *CreateFunctionRuleRequest) ToJsonString() string
type CreateFunctionRuleRequestParams ¶ added in v1.0.1013
type CreateFunctionRuleRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系。 FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"` // 函数 ID,命中触发规则条件后执行的函数。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 规则描述,最大支持 60 个字符。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type CreateFunctionRuleResponse ¶ added in v1.0.1013
type CreateFunctionRuleResponse struct { *tchttp.BaseResponse Response *CreateFunctionRuleResponseParams `json:"Response"` }
func NewCreateFunctionRuleResponse ¶ added in v1.0.1013
func NewCreateFunctionRuleResponse() (response *CreateFunctionRuleResponse)
func (*CreateFunctionRuleResponse) FromJsonString ¶ added in v1.0.1013
func (r *CreateFunctionRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFunctionRuleResponse) ToJsonString ¶ added in v1.0.1013
func (r *CreateFunctionRuleResponse) ToJsonString() string
type CreateFunctionRuleResponseParams ¶ added in v1.0.1013
type CreateFunctionRuleResponseParams struct { // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateL4ProxyRequest ¶ added in v1.0.850
type CreateL4ProxyRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例名称,可输入 1-50 个字符,允许的字符为 a-z、0-9、-,且 - 不能单独注册或连续使用,不能放在开头或结尾。创建完成后不支持修改。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 四层代理实例加速区域。 // <li>mainland:中国大陆可用区;</li> // <li>overseas:全球可用区(不含中国大陆);</li> // <li>global:全球可用区。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 是否开启 IPv6 访问,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> // Ipv6 *string `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 是否开启固定 IP,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> StaticIp *string `json:"StaticIp,omitnil,omitempty" name:"StaticIp"` // 是否开启中国大陆网络优化,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> AccelerateMainland *string `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` // L3/L4 DDoS 防护配置,不填写时默认使用平台默认防护选项。详情参考 [独立 DDoS 防护](https://cloud.tencent.com/document/product/1552/95994)。 DDosProtectionConfig *DDosProtectionConfig `json:"DDosProtectionConfig,omitnil,omitempty" name:"DDosProtectionConfig"` }
func NewCreateL4ProxyRequest ¶ added in v1.0.850
func NewCreateL4ProxyRequest() (request *CreateL4ProxyRequest)
func (*CreateL4ProxyRequest) FromJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4ProxyRequest) ToJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyRequest) ToJsonString() string
type CreateL4ProxyRequestParams ¶ added in v1.0.850
type CreateL4ProxyRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例名称,可输入 1-50 个字符,允许的字符为 a-z、0-9、-,且 - 不能单独注册或连续使用,不能放在开头或结尾。创建完成后不支持修改。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 四层代理实例加速区域。 // <li>mainland:中国大陆可用区;</li> // <li>overseas:全球可用区(不含中国大陆);</li> // <li>global:全球可用区。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 是否开启 IPv6 访问,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> // Ipv6 *string `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 是否开启固定 IP,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> StaticIp *string `json:"StaticIp,omitnil,omitempty" name:"StaticIp"` // 是否开启中国大陆网络优化,不填写时默认为 off。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> AccelerateMainland *string `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` // L3/L4 DDoS 防护配置,不填写时默认使用平台默认防护选项。详情参考 [独立 DDoS 防护](https://cloud.tencent.com/document/product/1552/95994)。 DDosProtectionConfig *DDosProtectionConfig `json:"DDosProtectionConfig,omitnil,omitempty" name:"DDosProtectionConfig"` }
Predefined struct for user
type CreateL4ProxyResponse ¶ added in v1.0.850
type CreateL4ProxyResponse struct { *tchttp.BaseResponse Response *CreateL4ProxyResponseParams `json:"Response"` }
func NewCreateL4ProxyResponse ¶ added in v1.0.850
func NewCreateL4ProxyResponse() (response *CreateL4ProxyResponse)
func (*CreateL4ProxyResponse) FromJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4ProxyResponse) ToJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyResponse) ToJsonString() string
type CreateL4ProxyResponseParams ¶ added in v1.0.850
type CreateL4ProxyResponseParams struct { // 四层实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateL4ProxyRulesRequest ¶ added in v1.0.850
type CreateL4ProxyRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则列表。单次最多支持 200 条转发规则。 // 注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。 L4ProxyRules []*L4ProxyRule `json:"L4ProxyRules,omitnil,omitempty" name:"L4ProxyRules"` }
func NewCreateL4ProxyRulesRequest ¶ added in v1.0.850
func NewCreateL4ProxyRulesRequest() (request *CreateL4ProxyRulesRequest)
func (*CreateL4ProxyRulesRequest) FromJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4ProxyRulesRequest) ToJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyRulesRequest) ToJsonString() string
type CreateL4ProxyRulesRequestParams ¶ added in v1.0.850
type CreateL4ProxyRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则列表。单次最多支持 200 条转发规则。 // 注意:L4ProxyRule 在此处使用时,Protocol、PortRange、OriginType、OriginValue、OriginPortRange 为必填字段;ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段;RuleId、Status 请勿填写。 L4ProxyRules []*L4ProxyRule `json:"L4ProxyRules,omitnil,omitempty" name:"L4ProxyRules"` }
Predefined struct for user
type CreateL4ProxyRulesResponse ¶ added in v1.0.850
type CreateL4ProxyRulesResponse struct { *tchttp.BaseResponse Response *CreateL4ProxyRulesResponseParams `json:"Response"` }
func NewCreateL4ProxyRulesResponse ¶ added in v1.0.850
func NewCreateL4ProxyRulesResponse() (response *CreateL4ProxyRulesResponse)
func (*CreateL4ProxyRulesResponse) FromJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateL4ProxyRulesResponse) ToJsonString ¶ added in v1.0.850
func (r *CreateL4ProxyRulesResponse) ToJsonString() string
type CreateL4ProxyRulesResponseParams ¶ added in v1.0.850
type CreateL4ProxyRulesResponseParams struct { // 新增转发规则的 ID,以数组的形式返回。 L4ProxyRuleIds []*string `json:"L4ProxyRuleIds,omitnil,omitempty" name:"L4ProxyRuleIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateLoadBalancerRequest ¶ added in v1.0.1031
type CreateLoadBalancerRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例类型,取值有: // <li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li> // <li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。 OriginGroups []*OriginGroupInLoadBalancer `json:"OriginGroups,omitnil,omitempty" name:"OriginGroups"` // 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写时,默认为不启用健康检查。 HealthChecker *HealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"` // 源站组间的流量调度策略,取值有: // <li>Pritory:按优先级顺序进行故障转移。</li>默认值为 Pritory。 SteeringPolicy *string `json:"SteeringPolicy,omitnil,omitempty" name:"SteeringPolicy"` // 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有: // <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li> // <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>默认值为 OtherRecordInOriginGroup。 FailoverPolicy *string `json:"FailoverPolicy,omitnil,omitempty" name:"FailoverPolicy"` }
func NewCreateLoadBalancerRequest ¶ added in v1.0.1031
func NewCreateLoadBalancerRequest() (request *CreateLoadBalancerRequest)
func (*CreateLoadBalancerRequest) FromJsonString ¶ added in v1.0.1031
func (r *CreateLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerRequest) ToJsonString ¶ added in v1.0.1031
func (r *CreateLoadBalancerRequest) ToJsonString() string
type CreateLoadBalancerRequestParams ¶ added in v1.0.1031
type CreateLoadBalancerRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例类型,取值有: // <li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li> // <li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。 OriginGroups []*OriginGroupInLoadBalancer `json:"OriginGroups,omitnil,omitempty" name:"OriginGroups"` // 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写时,默认为不启用健康检查。 HealthChecker *HealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"` // 源站组间的流量调度策略,取值有: // <li>Pritory:按优先级顺序进行故障转移。</li>默认值为 Pritory。 SteeringPolicy *string `json:"SteeringPolicy,omitnil,omitempty" name:"SteeringPolicy"` // 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有: // <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li> // <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>默认值为 OtherRecordInOriginGroup。 FailoverPolicy *string `json:"FailoverPolicy,omitnil,omitempty" name:"FailoverPolicy"` }
Predefined struct for user
type CreateLoadBalancerResponse ¶ added in v1.0.1031
type CreateLoadBalancerResponse struct { *tchttp.BaseResponse Response *CreateLoadBalancerResponseParams `json:"Response"` }
func NewCreateLoadBalancerResponse ¶ added in v1.0.1031
func NewCreateLoadBalancerResponse() (response *CreateLoadBalancerResponse)
func (*CreateLoadBalancerResponse) FromJsonString ¶ added in v1.0.1031
func (r *CreateLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateLoadBalancerResponse) ToJsonString ¶ added in v1.0.1031
func (r *CreateLoadBalancerResponse) ToJsonString() string
type CreateLoadBalancerResponseParams ¶ added in v1.0.1031
type CreateLoadBalancerResponseParams struct { // 负载均衡实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateOriginGroupRequest ¶
type CreateOriginGroupRequest struct { *tchttp.BaseRequest // 站点 ID ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 源站组名称,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组类型,此参数必填,取值有: // <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡、HTTP 专用型负载均衡引用;</li> // <li>HTTP: HTTP 专用型源站组,支持添加 IP/域名、对象存储源站作为源站,无法被四层代理引用,仅支持被添加加速域名、规则引擎-修改源站、HTTP 专用型负载均衡引用。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站记录信息,此参数必填。 Records []*OriginRecord `json:"Records,omitnil,omitempty" name:"Records"` // 回源 Host Header,仅 Type = HTTP 时传入生效,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。 HostHeader *string `json:"HostHeader,omitnil,omitempty" name:"HostHeader"` }
func NewCreateOriginGroupRequest ¶
func NewCreateOriginGroupRequest() (request *CreateOriginGroupRequest)
func (*CreateOriginGroupRequest) FromJsonString ¶
func (r *CreateOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateOriginGroupRequest) ToJsonString ¶
func (r *CreateOriginGroupRequest) ToJsonString() string
type CreateOriginGroupRequestParams ¶
type CreateOriginGroupRequestParams struct { // 站点 ID ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 源站组名称,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组类型,此参数必填,取值有: // <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡、HTTP 专用型负载均衡引用;</li> // <li>HTTP: HTTP 专用型源站组,支持添加 IP/域名、对象存储源站作为源站,无法被四层代理引用,仅支持被添加加速域名、规则引擎-修改源站、HTTP 专用型负载均衡引用。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站记录信息,此参数必填。 Records []*OriginRecord `json:"Records,omitnil,omitempty" name:"Records"` // 回源 Host Header,仅 Type = HTTP 时传入生效,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。 HostHeader *string `json:"HostHeader,omitnil,omitempty" name:"HostHeader"` }
Predefined struct for user
type CreateOriginGroupResponse ¶
type CreateOriginGroupResponse struct { *tchttp.BaseResponse Response *CreateOriginGroupResponseParams `json:"Response"` }
func NewCreateOriginGroupResponse ¶
func NewCreateOriginGroupResponse() (response *CreateOriginGroupResponse)
func (*CreateOriginGroupResponse) FromJsonString ¶
func (r *CreateOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateOriginGroupResponse) ToJsonString ¶
func (r *CreateOriginGroupResponse) ToJsonString() string
type CreateOriginGroupResponseParams ¶
type CreateOriginGroupResponseParams struct { // 源站组ID。 OriginGroupId *string `json:"OriginGroupId,omitnil,omitempty" name:"OriginGroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePlanForZoneRequest ¶
type CreatePlanForZoneRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 所要购买套餐的类型,取值有: // <li> sta: 全球内容分发网络(不包括中国大陆)标准版套餐; </li> // <li> sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li> // <li> sta_cm: 中国大陆内容分发网络标准版套餐; </li> // <li> sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;</li> // <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li> // <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li> // <li> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li> // <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li> // <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li> // <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li> // <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li> // <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://cloud.tencent.com/document/product/1552/80606">DescribeAvailablePlans</a>返回为准。 PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` }
func NewCreatePlanForZoneRequest ¶
func NewCreatePlanForZoneRequest() (request *CreatePlanForZoneRequest)
func (*CreatePlanForZoneRequest) FromJsonString ¶
func (r *CreatePlanForZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePlanForZoneRequest) ToJsonString ¶
func (r *CreatePlanForZoneRequest) ToJsonString() string
type CreatePlanForZoneRequestParams ¶
type CreatePlanForZoneRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 所要购买套餐的类型,取值有: // <li> sta: 全球内容分发网络(不包括中国大陆)标准版套餐; </li> // <li> sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li> // <li> sta_cm: 中国大陆内容分发网络标准版套餐; </li> // <li> sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;</li> // <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li> // <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li> // <li> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li> // <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li> // <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li> // <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li> // <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li> // <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://cloud.tencent.com/document/product/1552/80606">DescribeAvailablePlans</a>返回为准。 PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` }
Predefined struct for user
type CreatePlanForZoneResponse ¶
type CreatePlanForZoneResponse struct { *tchttp.BaseResponse Response *CreatePlanForZoneResponseParams `json:"Response"` }
func NewCreatePlanForZoneResponse ¶
func NewCreatePlanForZoneResponse() (response *CreatePlanForZoneResponse)
func (*CreatePlanForZoneResponse) FromJsonString ¶
func (r *CreatePlanForZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePlanForZoneResponse) ToJsonString ¶
func (r *CreatePlanForZoneResponse) ToJsonString() string
type CreatePlanForZoneResponseParams ¶
type CreatePlanForZoneResponseParams struct { // 购买的资源名字列表。 ResourceNames []*string `json:"ResourceNames,omitnil,omitempty" name:"ResourceNames"` // 购买的订单号列表。 DealNames []*string `json:"DealNames,omitnil,omitempty" name:"DealNames"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePlanRequest ¶ added in v1.0.912
type CreatePlanRequest struct { *tchttp.BaseRequest // 订阅的套餐类型,取值有:<li> personal:个人版套餐,预付费套餐;</li><li> basic:基础版套餐,预付费套餐;</li><li> standard:标准版套餐,预付费套餐;</li><li> enterprise:企业版套餐,后付费套餐。</li>订阅预付费套餐时,请确保账号内有足够余额,余额不足会产生一个待支付的订单。 // 计费概述参考 [Edgeone计费概述](https://cloud.tencent.com/document/product/1552/94156) // 不同套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165) PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` // 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>该参数仅在 PlanType 为 personal, basic, standard 时有效。 // 不填写使用默认值 false。 AutoUseVoucher *string `json:"AutoUseVoucher,omitnil,omitempty" name:"AutoUseVoucher"` // 订阅预付费套餐参数,PlanType 为 personal, basic, standard 时,可以选填该参数,用于传入套餐的订阅时长和是否开启自动续费。 // 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。 PrepaidPlanParam *PrepaidPlanParam `json:"PrepaidPlanParam,omitnil,omitempty" name:"PrepaidPlanParam"` }
func NewCreatePlanRequest ¶ added in v1.0.912
func NewCreatePlanRequest() (request *CreatePlanRequest)
func (*CreatePlanRequest) FromJsonString ¶ added in v1.0.912
func (r *CreatePlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePlanRequest) ToJsonString ¶ added in v1.0.912
func (r *CreatePlanRequest) ToJsonString() string
type CreatePlanRequestParams ¶ added in v1.0.912
type CreatePlanRequestParams struct { // 订阅的套餐类型,取值有:<li> personal:个人版套餐,预付费套餐;</li><li> basic:基础版套餐,预付费套餐;</li><li> standard:标准版套餐,预付费套餐;</li><li> enterprise:企业版套餐,后付费套餐。</li>订阅预付费套餐时,请确保账号内有足够余额,余额不足会产生一个待支付的订单。 // 计费概述参考 [Edgeone计费概述](https://cloud.tencent.com/document/product/1552/94156) // 不同套餐区别参考 [Edgeone计费套餐选型对比](https://cloud.tencent.com/document/product/1552/94165) PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` // 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>该参数仅在 PlanType 为 personal, basic, standard 时有效。 // 不填写使用默认值 false。 AutoUseVoucher *string `json:"AutoUseVoucher,omitnil,omitempty" name:"AutoUseVoucher"` // 订阅预付费套餐参数,PlanType 为 personal, basic, standard 时,可以选填该参数,用于传入套餐的订阅时长和是否开启自动续费。 // 不填该参数时,默认开通套餐时长为 1 个月,不开启自动续费。 PrepaidPlanParam *PrepaidPlanParam `json:"PrepaidPlanParam,omitnil,omitempty" name:"PrepaidPlanParam"` }
Predefined struct for user
type CreatePlanResponse ¶ added in v1.0.912
type CreatePlanResponse struct { *tchttp.BaseResponse Response *CreatePlanResponseParams `json:"Response"` }
func NewCreatePlanResponse ¶ added in v1.0.912
func NewCreatePlanResponse() (response *CreatePlanResponse)
func (*CreatePlanResponse) FromJsonString ¶ added in v1.0.912
func (r *CreatePlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePlanResponse) ToJsonString ¶ added in v1.0.912
func (r *CreatePlanResponse) ToJsonString() string
type CreatePlanResponseParams ¶ added in v1.0.912
type CreatePlanResponseParams struct { // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 订单号。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePrefetchTaskRequest ¶
type CreatePrefetchTaskRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 要预热的资源列表,每个元素格式类似如下: // http://www.example.com/example.txt。参数值当前必填。 // 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。 Targets []*string `json:"Targets,omitnil,omitempty" name:"Targets"` // 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。 EncodeUrl *bool `json:"EncodeUrl,omitnil,omitempty" name:"EncodeUrl"` // 附带的http头部信息。 Headers []*Header `json:"Headers,omitnil,omitempty" name:"Headers"` }
func NewCreatePrefetchTaskRequest ¶
func NewCreatePrefetchTaskRequest() (request *CreatePrefetchTaskRequest)
func (*CreatePrefetchTaskRequest) FromJsonString ¶
func (r *CreatePrefetchTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrefetchTaskRequest) ToJsonString ¶
func (r *CreatePrefetchTaskRequest) ToJsonString() string
type CreatePrefetchTaskRequestParams ¶
type CreatePrefetchTaskRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 要预热的资源列表,每个元素格式类似如下: // http://www.example.com/example.txt。参数值当前必填。 // 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。 Targets []*string `json:"Targets,omitnil,omitempty" name:"Targets"` // 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。 EncodeUrl *bool `json:"EncodeUrl,omitnil,omitempty" name:"EncodeUrl"` // 附带的http头部信息。 Headers []*Header `json:"Headers,omitnil,omitempty" name:"Headers"` }
Predefined struct for user
type CreatePrefetchTaskResponse ¶
type CreatePrefetchTaskResponse struct { *tchttp.BaseResponse Response *CreatePrefetchTaskResponseParams `json:"Response"` }
func NewCreatePrefetchTaskResponse ¶
func NewCreatePrefetchTaskResponse() (response *CreatePrefetchTaskResponse)
func (*CreatePrefetchTaskResponse) FromJsonString ¶
func (r *CreatePrefetchTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePrefetchTaskResponse) ToJsonString ¶
func (r *CreatePrefetchTaskResponse) ToJsonString() string
type CreatePrefetchTaskResponseParams ¶
type CreatePrefetchTaskResponseParams struct { // 任务 ID。 JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // 失败的任务列表。 // 注意:此字段可能返回 null,表示取不到有效值。 FailedList []*FailReason `json:"FailedList,omitnil,omitempty" name:"FailedList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreatePurgeTaskRequest ¶
type CreatePurgeTaskRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 节点缓存清除类型,取值有: // <li>purge_url:URL刷新;</li> // <li>purge_prefix:目录刷新;</li> // <li>purge_host:Hostname 刷新;</li> // <li>purge_all:站点下全部缓存刷新;</li> // <li>purge_cache_tag:cache-tag 刷新。</li>缓存清除类型详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 节点缓存清除方法,针对目录刷新、Hostname刷新以及刷新全部缓存类型有效,取值有:<li> invalidate:仅刷新目录下产生了更新的资源;</li><li> delete:无论目录下资源是否更新都刷新节点资源。</li>默认值: invalidate。 Method *string `json:"Method,omitnil,omitempty" name:"Method"` // 要清除缓存的资源列表。每个元素格式依据清除缓存类型而定,可参考接口示例。<li>单次提交的任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。</li> Targets []*string `json:"Targets,omitnil,omitempty" name:"Targets"` // 若有编码转换,仅清除编码转换后匹配的资源。 // 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。 EncodeUrl *bool `json:"EncodeUrl,omitnil,omitempty" name:"EncodeUrl"` // 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。 CacheTag *CacheTag `json:"CacheTag,omitnil,omitempty" name:"CacheTag"` }
func NewCreatePurgeTaskRequest ¶
func NewCreatePurgeTaskRequest() (request *CreatePurgeTaskRequest)
func (*CreatePurgeTaskRequest) FromJsonString ¶
func (r *CreatePurgeTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePurgeTaskRequest) ToJsonString ¶
func (r *CreatePurgeTaskRequest) ToJsonString() string
type CreatePurgeTaskRequestParams ¶
type CreatePurgeTaskRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 节点缓存清除类型,取值有: // <li>purge_url:URL刷新;</li> // <li>purge_prefix:目录刷新;</li> // <li>purge_host:Hostname 刷新;</li> // <li>purge_all:站点下全部缓存刷新;</li> // <li>purge_cache_tag:cache-tag 刷新。</li>缓存清除类型详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 节点缓存清除方法,针对目录刷新、Hostname刷新以及刷新全部缓存类型有效,取值有:<li> invalidate:仅刷新目录下产生了更新的资源;</li><li> delete:无论目录下资源是否更新都刷新节点资源。</li>默认值: invalidate。 Method *string `json:"Method,omitnil,omitempty" name:"Method"` // 要清除缓存的资源列表。每个元素格式依据清除缓存类型而定,可参考接口示例。<li>单次提交的任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。</li> Targets []*string `json:"Targets,omitnil,omitempty" name:"Targets"` // 若有编码转换,仅清除编码转换后匹配的资源。 // 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。 // // Deprecated: EncodeUrl is deprecated. EncodeUrl *bool `json:"EncodeUrl,omitnil,omitempty" name:"EncodeUrl"` // 节点缓存清除类型取值为 purge_cache_tag 时附带的信息。 CacheTag *CacheTag `json:"CacheTag,omitnil,omitempty" name:"CacheTag"` }
Predefined struct for user
type CreatePurgeTaskResponse ¶
type CreatePurgeTaskResponse struct { *tchttp.BaseResponse Response *CreatePurgeTaskResponseParams `json:"Response"` }
func NewCreatePurgeTaskResponse ¶
func NewCreatePurgeTaskResponse() (response *CreatePurgeTaskResponse)
func (*CreatePurgeTaskResponse) FromJsonString ¶
func (r *CreatePurgeTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreatePurgeTaskResponse) ToJsonString ¶
func (r *CreatePurgeTaskResponse) ToJsonString() string
type CreatePurgeTaskResponseParams ¶
type CreatePurgeTaskResponseParams struct { // 任务 ID。 JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // 失败的任务列表及原因。 // 注意:此字段可能返回 null,表示取不到有效值。 FailedList []*FailReason `json:"FailedList,omitnil,omitempty" name:"FailedList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRealtimeLogDeliveryTaskRequest ¶ added in v1.0.869
type CreateRealtimeLogDeliveryTaskRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 实时日志投递任务类型,取值有: // <li>cls: 推送到腾讯云 CLS;</li> // <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> // <li>s3:推送到 AWS S3 兼容存储桶地址。</li> TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: // <li>七层域名:domain.example.com;</li> // <li>四层代理实例:sid-2s69eb5wcms7。</li> EntityList []*string `json:"EntityList,omitnil,omitempty" name:"EntityList"` // 数据投递类型,取值有: // <li>domain:站点加速日志;</li> // <li>application:四层代理日志;</li> // <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li> // <li>web-attack:托管规则日志;</li> // <li>web-rule:自定义规则日志;</li> // <li>web-bot:Bot管理日志。</li> LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 数据投递区域,取值有: // <li>mainland:中国大陆境内;</li> // <li>overseas:全球(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 投递的预设字段列表。 Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。 CustomFields []*CustomField `json:"CustomFields,omitnil,omitempty" name:"CustomFields"` // 日志投递的过滤条件,不填表示投递全量日志。 DeliveryConditions []*DeliveryCondition `json:"DeliveryConditions,omitnil,omitempty" name:"DeliveryConditions"` // 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。 Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"` // 日志投递的输出格式。不填表示为默认格式,默认格式逻辑如下: // <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> // <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。 LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。 CLS *CLSTopic `json:"CLS,omitnil,omitempty" name:"CLS"` // 自定义 HTTP 服务的配置信息。当 TaskType 取值为 custom_endpoint 时,该参数必填。 CustomEndpoint *CustomEndpoint `json:"CustomEndpoint,omitnil,omitempty" name:"CustomEndpoint"` // AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3 时,该参数必填。 S3 *S3 `json:"S3,omitnil,omitempty" name:"S3"` }
func NewCreateRealtimeLogDeliveryTaskRequest ¶ added in v1.0.869
func NewCreateRealtimeLogDeliveryTaskRequest() (request *CreateRealtimeLogDeliveryTaskRequest)
func (*CreateRealtimeLogDeliveryTaskRequest) FromJsonString ¶ added in v1.0.869
func (r *CreateRealtimeLogDeliveryTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRealtimeLogDeliveryTaskRequest) ToJsonString ¶ added in v1.0.869
func (r *CreateRealtimeLogDeliveryTaskRequest) ToJsonString() string
type CreateRealtimeLogDeliveryTaskRequestParams ¶ added in v1.0.869
type CreateRealtimeLogDeliveryTaskRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 实时日志投递任务类型,取值有: // <li>cls: 推送到腾讯云 CLS;</li> // <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> // <li>s3:推送到 AWS S3 兼容存储桶地址。</li> TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: // <li>七层域名:domain.example.com;</li> // <li>四层代理实例:sid-2s69eb5wcms7。</li> EntityList []*string `json:"EntityList,omitnil,omitempty" name:"EntityList"` // 数据投递类型,取值有: // <li>domain:站点加速日志;</li> // <li>application:四层代理日志;</li> // <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li> // <li>web-attack:托管规则日志;</li> // <li>web-rule:自定义规则日志;</li> // <li>web-bot:Bot管理日志。</li> LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 数据投递区域,取值有: // <li>mainland:中国大陆境内;</li> // <li>overseas:全球(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 投递的预设字段列表。 Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。 CustomFields []*CustomField `json:"CustomFields,omitnil,omitempty" name:"CustomFields"` // 日志投递的过滤条件,不填表示投递全量日志。 DeliveryConditions []*DeliveryCondition `json:"DeliveryConditions,omitnil,omitempty" name:"DeliveryConditions"` // 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。 Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"` // 日志投递的输出格式。不填表示为默认格式,默认格式逻辑如下: // <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> // <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。 LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。 CLS *CLSTopic `json:"CLS,omitnil,omitempty" name:"CLS"` // 自定义 HTTP 服务的配置信息。当 TaskType 取值为 custom_endpoint 时,该参数必填。 CustomEndpoint *CustomEndpoint `json:"CustomEndpoint,omitnil,omitempty" name:"CustomEndpoint"` // AWS S3 兼容存储桶的配置信息。当 TaskType 取值为 s3 时,该参数必填。 S3 *S3 `json:"S3,omitnil,omitempty" name:"S3"` }
Predefined struct for user
type CreateRealtimeLogDeliveryTaskResponse ¶ added in v1.0.869
type CreateRealtimeLogDeliveryTaskResponse struct { *tchttp.BaseResponse Response *CreateRealtimeLogDeliveryTaskResponseParams `json:"Response"` }
func NewCreateRealtimeLogDeliveryTaskResponse ¶ added in v1.0.869
func NewCreateRealtimeLogDeliveryTaskResponse() (response *CreateRealtimeLogDeliveryTaskResponse)
func (*CreateRealtimeLogDeliveryTaskResponse) FromJsonString ¶ added in v1.0.869
func (r *CreateRealtimeLogDeliveryTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRealtimeLogDeliveryTaskResponse) ToJsonString ¶ added in v1.0.869
func (r *CreateRealtimeLogDeliveryTaskResponse) ToJsonString() string
type CreateRealtimeLogDeliveryTaskResponseParams ¶ added in v1.0.869
type CreateRealtimeLogDeliveryTaskResponseParams struct { // 创建成功的任务ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateRuleRequest ¶
type CreateRuleRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则名称,名称字符串长度 1~255。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则状态,取值有: // <li> enable: 启用; </li> // <li> disable: 未启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 规则内容。 Rules []*Rule `json:"Rules,omitnil,omitempty" name:"Rules"` // 规则标签。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewCreateRuleRequest ¶
func NewCreateRuleRequest() (request *CreateRuleRequest)
func (*CreateRuleRequest) FromJsonString ¶
func (r *CreateRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRuleRequest) ToJsonString ¶
func (r *CreateRuleRequest) ToJsonString() string
type CreateRuleRequestParams ¶
type CreateRuleRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则名称,名称字符串长度 1~255。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则状态,取值有: // <li> enable: 启用; </li> // <li> disable: 未启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 规则内容。 Rules []*Rule `json:"Rules,omitnil,omitempty" name:"Rules"` // 规则标签。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type CreateRuleResponse ¶
type CreateRuleResponse struct { *tchttp.BaseResponse Response *CreateRuleResponseParams `json:"Response"` }
func NewCreateRuleResponse ¶
func NewCreateRuleResponse() (response *CreateRuleResponse)
func (*CreateRuleResponse) FromJsonString ¶
func (r *CreateRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateRuleResponse) ToJsonString ¶
func (r *CreateRuleResponse) ToJsonString() string
type CreateRuleResponseParams ¶
type CreateRuleResponseParams struct { // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSecurityIPGroupRequest ¶ added in v1.0.647
type CreateSecurityIPGroupRequest struct { *tchttp.BaseRequest // 站点 Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // IP 组信息。 IPGroup *IPGroup `json:"IPGroup,omitnil,omitempty" name:"IPGroup"` }
func NewCreateSecurityIPGroupRequest ¶ added in v1.0.647
func NewCreateSecurityIPGroupRequest() (request *CreateSecurityIPGroupRequest)
func (*CreateSecurityIPGroupRequest) FromJsonString ¶ added in v1.0.647
func (r *CreateSecurityIPGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityIPGroupRequest) ToJsonString ¶ added in v1.0.647
func (r *CreateSecurityIPGroupRequest) ToJsonString() string
type CreateSecurityIPGroupRequestParams ¶ added in v1.0.647
type CreateSecurityIPGroupRequestParams struct { // 站点 Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // IP 组信息。 IPGroup *IPGroup `json:"IPGroup,omitnil,omitempty" name:"IPGroup"` }
Predefined struct for user
type CreateSecurityIPGroupResponse ¶ added in v1.0.647
type CreateSecurityIPGroupResponse struct { *tchttp.BaseResponse Response *CreateSecurityIPGroupResponseParams `json:"Response"` }
func NewCreateSecurityIPGroupResponse ¶ added in v1.0.647
func NewCreateSecurityIPGroupResponse() (response *CreateSecurityIPGroupResponse)
func (*CreateSecurityIPGroupResponse) FromJsonString ¶ added in v1.0.647
func (r *CreateSecurityIPGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityIPGroupResponse) ToJsonString ¶ added in v1.0.647
func (r *CreateSecurityIPGroupResponse) ToJsonString() string
type CreateSecurityIPGroupResponseParams ¶ added in v1.0.647
type CreateSecurityIPGroupResponseParams struct { // IP 组 Id。 GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSharedCNAMERequest ¶ added in v1.0.742
type CreateSharedCNAMERequest struct { string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // // 共享 CNAME 完整格式为:`<自定义前缀>+<zoneid中的12位随机字符串>+share.dnse[0-5].com`。 // // 例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.dnse2.com。 SharedCNAMEPrefix *string `json:"SharedCNAMEPrefix,omitnil,omitempty" name:"SharedCNAMEPrefix"` Description *string `json:"Description,omitnil,omitempty" name:"Description"` }ZoneId *
func NewCreateSharedCNAMERequest ¶ added in v1.0.742
func NewCreateSharedCNAMERequest() (request *CreateSharedCNAMERequest)
func (*CreateSharedCNAMERequest) FromJsonString ¶ added in v1.0.742
func (r *CreateSharedCNAMERequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSharedCNAMERequest) ToJsonString ¶ added in v1.0.742
func (r *CreateSharedCNAMERequest) ToJsonString() string
type CreateSharedCNAMERequestParams ¶ added in v1.0.742
type CreateSharedCNAMERequestParams struct { string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // // 共享 CNAME 完整格式为:`<自定义前缀>+<zoneid中的12位随机字符串>+share.dnse[0-5].com`。 // // 例如前缀传入 example.com,EO 会为您创建共享 CNAME:example.com.sai2ig51kaa5.share.dnse2.com。 SharedCNAMEPrefix *string `json:"SharedCNAMEPrefix,omitnil,omitempty" name:"SharedCNAMEPrefix"` Description *string `json:"Description,omitnil,omitempty" name:"Description"` }ZoneId *
Predefined struct for user
type CreateSharedCNAMEResponse ¶ added in v1.0.742
type CreateSharedCNAMEResponse struct {}
func NewCreateSharedCNAMEResponse ¶ added in v1.0.742
func NewCreateSharedCNAMEResponse() (response *CreateSharedCNAMEResponse)
func (*CreateSharedCNAMEResponse) FromJsonString ¶ added in v1.0.742
func (r *CreateSharedCNAMEResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSharedCNAMEResponse) ToJsonString ¶ added in v1.0.742
func (r *CreateSharedCNAMEResponse) ToJsonString() string
type CreateSharedCNAMEResponseParams ¶ added in v1.0.742
type CreateSharedCNAMEResponseParams struct { string `json:"SharedCNAME,omitnil,omitempty" name:"SharedCNAME"` RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }SharedCNAME *
Predefined struct for user
type CreateZoneRequest ¶
type CreateZoneRequest struct { *tchttp.BaseRequest // 站点接入类型。该参数取值如下,不填写时默认为 partial: // <li>partial:CNAME 接入;</li> // <li>full:NS 接入;</li> // <li>noDomainAccess:无域名接入;</li> // <li>dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 站点名称。CNAME/NS 接入的时,请传入二级域名(example.com)作为站点名称;无域名接入时,该值请保留为空。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // Type 取值为 partial/full 时,七层域名的加速区域。以下为该参数取值,不填写时该值默认为 overseas。Type 取值为 noDomainAccess 时该值请保留为空: // <li> global: 全球可用区;</li> // <li> mainland: 中国大陆可用区;</li> // <li> overseas: 全球可用区(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](https://cloud.tencent.com/document/product/1552/70202),无此使用场景时,该字段保留为空即可。 AliasZoneName *string `json:"AliasZoneName,omitnil,omitempty" name:"AliasZoneName"` // 标签。该参数用于对站点进行分权限管控、分账。需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建对应的标签才可以在此处传入对应的标签键和标签值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否允许重复接入。 // <li> true:允许重复接入;</li> // <li> false:不允许重复接入。</li>不填写使用默认值false。 AllowDuplicates *bool `json:"AllowDuplicates,omitnil,omitempty" name:"AllowDuplicates"` // 是否跳过站点现有的DNS记录扫描。默认值:false。 JumpStart *bool `json:"JumpStart,omitnil,omitempty" name:"JumpStart"` }
func NewCreateZoneRequest ¶
func NewCreateZoneRequest() (request *CreateZoneRequest)
func (*CreateZoneRequest) FromJsonString ¶
func (r *CreateZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateZoneRequest) ToJsonString ¶
func (r *CreateZoneRequest) ToJsonString() string
type CreateZoneRequestParams ¶
type CreateZoneRequestParams struct { // 站点接入类型。该参数取值如下,不填写时默认为 partial: // <li>partial:CNAME 接入;</li> // <li>full:NS 接入;</li> // <li>noDomainAccess:无域名接入;</li> // <li>dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 站点名称。CNAME/NS 接入的时,请传入二级域名(example.com)作为站点名称;无域名接入时,该值请保留为空。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // Type 取值为 partial/full 时,七层域名的加速区域。以下为该参数取值,不填写时该值默认为 overseas。Type 取值为 noDomainAccess 时该值请保留为空: // <li> global: 全球可用区;</li> // <li> mainland: 中国大陆可用区;</li> // <li> overseas: 全球可用区(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 待绑定的目标套餐 ID。当您账号下已存在套餐时,可以填写此参数,直接将站点绑定至该套餐。若您当前没有可绑定的套餐时,请前往控制台购买套餐完成站点创建。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 同名站点标识。限制输入数字、英文、- 和 _ 组合,长度 20 个字符以内。详情参考 [同名站点标识](https://cloud.tencent.com/document/product/1552/70202),无此使用场景时,该字段保留为空即可。 AliasZoneName *string `json:"AliasZoneName,omitnil,omitempty" name:"AliasZoneName"` // 标签。该参数用于对站点进行分权限管控、分账。需要先前往 [标签控制台](https://console.cloud.tencent.com/tag/taglist) 创建对应的标签才可以在此处传入对应的标签键和标签值。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 是否允许重复接入。 // <li> true:允许重复接入;</li> // <li> false:不允许重复接入。</li>不填写使用默认值false。 // // Deprecated: AllowDuplicates is deprecated. AllowDuplicates *bool `json:"AllowDuplicates,omitnil,omitempty" name:"AllowDuplicates"` // 是否跳过站点现有的DNS记录扫描。默认值:false。 // // Deprecated: JumpStart is deprecated. JumpStart *bool `json:"JumpStart,omitnil,omitempty" name:"JumpStart"` }
Predefined struct for user
type CreateZoneResponse ¶
type CreateZoneResponse struct { *tchttp.BaseResponse Response *CreateZoneResponseParams `json:"Response"` }
func NewCreateZoneResponse ¶
func NewCreateZoneResponse() (response *CreateZoneResponse)
func (*CreateZoneResponse) FromJsonString ¶
func (r *CreateZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateZoneResponse) ToJsonString ¶
func (r *CreateZoneResponse) ToJsonString() string
type CreateZoneResponseParams ¶
type CreateZoneResponseParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点归属权验证信息。站点完成创建后,您还需要完成归属权校验,站点才能正常服务。 // // Type = partial 时,您需要参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789) 前往您的域名解析服务商添加 TXT 记录或者前往根域名服务器添加文件,再调用接口 [VerifyOwnership]() 完成验证; // // Type = full 时,您需要参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452) 切换 DNS 服务器即可,可通过接口 [VerifyOwnership]() 查询 DNS 是否切换成功; // // Type = noDomainAccess 时,该值为空,不需要进行任何操作。 // 注意:此字段可能返回 null,表示取不到有效值。 OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil,omitempty" name:"OwnershipVerification"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CustomEndpoint ¶ added in v1.0.869
type CustomEndpoint struct { // 实时日志投递的自定义 HTTP 接口地址,暂仅支持 HTTP/HTTPS 协议。 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 填写自定义的 SecretId 用于生成加密签名,如果源站需要鉴权此参数必填。 AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"` // 填写自定义的 SecretKey 用于生成加密签名,如果源站需要鉴权此参数必填。 AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"` // 数据压缩类型,取值有: <li> gzip:使用 gzip 方式压缩。</li>不填表示不启用压缩。 CompressType *string `json:"CompressType,omitnil,omitempty" name:"CompressType"` // POST 请求投递日志时,使用的应用层协议类型,取值有: // <li>http:HTTP 协议;</li> // <li>https:HTTPS 协议。</li>如果不填默认根据填写的 URL 地址解析出协议类型。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 投递日志时携带的自定义请求头。若您填写的头部名称为 Content-Type 等 EdgeOne 日志推送默认携带的头部,那么您填写的头部值将覆盖默认值。头部值引用单个变量${batchSize},以获取每次 POST 请求中包含的日志条数。 Headers []*Header `json:"Headers,omitnil,omitempty" name:"Headers"` }
type CustomErrorPage ¶ added in v1.0.939
type CustomErrorPage struct { // 自定义错误页面 ID。 PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义错误页面名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义错误页面类型。 ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // 自定义错误页面描述。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 自定义错误页面内容。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 自定义错误页面引用。 References []*ErrorPageReference `json:"References,omitnil,omitempty" name:"References"` }
type CustomField ¶ added in v1.0.869
type CustomField struct { // 自定义日志字段类型。从 HTTP 请求和响应中的指定位置提取数据,取值有: // <li>ReqHeader:从 HTTP 请求头中提取指定字段值;</li> // <li>RspHeader:从 HTTP 响应头中提取指定字段值;</li> // <li>Cookie: 从 Cookie 中提取指定字段值;</li> // <li>ReqBody: 从 HTTP 请求正文中通过 Google RE2 正则表达式提取指定内容。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 根据字段类型(Name)填入字段值的定义。需要区分大小写。 // <li>当字段类型为 ReqHeader、RspHeader、Cookie 时,填入需要提取值的参数名称,例如:Accept-Language。可输入 1-100 个字符,允许的字符开头为字母,中间为字母、数字、-,结尾为字母、数字;</li> // <li>当字段类型为 ReqBody 时,填入 Google RE2 正则表达式,正则表达式长度上限为 4KB。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` // 是否投递该字段,不填表示不投递此字段。 // 注意:此字段可能返回 null,表示取不到有效值。 Enabled *bool `json:"Enabled,omitnil,omitempty" name:"Enabled"` }
type CustomizedHeader ¶ added in v1.0.1031
type DDoS ¶
type DDoS struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type DDoSAttackEvent ¶
type DDoSAttackEvent struct { // 事件ID。 EventId *string `json:"EventId,omitnil,omitempty" name:"EventId"` // 攻击类型(对应交互事件名称)。 AttackType *string `json:"AttackType,omitnil,omitempty" name:"AttackType"` // 攻击状态。 AttackStatus *int64 `json:"AttackStatus,omitnil,omitempty" name:"AttackStatus"` // 攻击最大带宽。 AttackMaxBandWidth *int64 `json:"AttackMaxBandWidth,omitnil,omitempty" name:"AttackMaxBandWidth"` // 攻击包速率峰值。 AttackPacketMaxRate *int64 `json:"AttackPacketMaxRate,omitnil,omitempty" name:"AttackPacketMaxRate"` // 攻击开始时间,单位为s。 AttackStartTime *int64 `json:"AttackStartTime,omitnil,omitempty" name:"AttackStartTime"` // 攻击结束时间,单位为s。 AttackEndTime *int64 `json:"AttackEndTime,omitnil,omitempty" name:"AttackEndTime"` // DDoS策略组ID。 // 注意:此字段可能返回 null,表示取不到有效值。 PolicyId *int64 `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 站点ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 攻击事件所属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 封禁解封信息。 // 注意:此字段可能返回 null,表示取不到有效值。 DDoSBlockData []*DDoSBlockData `json:"DDoSBlockData,omitnil,omitempty" name:"DDoSBlockData"` }
type DDoSBlockData ¶
type DDosProtectionConfig ¶ added in v1.0.850
type DDosProtectionConfig struct { // 中国大陆地区独立 DDoS 防护的规格。详情请参考 [独立 DDoS 防护相关费用](https://cloud.tencent.com/document/product/1552/94162) // <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li> // <li>BASE30_MAX300:开启独立 DDoS 防护,提供 30 Gbps 保底防护带宽以及 300 Gbps 弹性防护带宽;</li> // <li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps 保底防护带宽以及 600 Gbps 弹性防护带宽。</li>不填写参数时,取默认值 PLATFORM。 LevelMainland *string `json:"LevelMainland,omitnil,omitempty" name:"LevelMainland"` // 中国大陆地区独立 DDoS 防护的弹性防护带宽配置。 // 仅当开启中国大陆区域独立 DDos 防护时有效(详见 LevelMainland 参数配置),且取值范围有如下限制: // <li>开启中国大陆地区独立 DDoS 防护,使用 30 Gbps 保底防护带宽规格时( LevelMainland 参数值为 BASE30_MAX300 ):有效取值范围为 30 至 300,单位为 Gbps;</li> // <li>开启中国大陆地区独立 DDoS 防护,使用 60 Gbps 保底防护带宽规格时( LevelMainland 参数值为 BASE60_MAX600 ):有效取值范围为 60 至 600,单位为 Gbps;</li> // <li>使用平台默认防护( LevelMainland 参数值为 PLATFORM ):不支持配置,本参数值无效。</li> MaxBandwidthMainland *uint64 `json:"MaxBandwidthMainland,omitnil,omitempty" name:"MaxBandwidthMainland"` // 全球(除中国大陆以外)地区独立 DDoS 防护的规格。 // <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li> // <li>ANYCAST300:开启独立 DDoS 防护,提供 300 Gbps 防护带宽;</li> // <li>ANYCAST_ALLIN:开启独立 DDoS 防护,使用全部可用防护资源进行防护。</li>不填写参数时,取默认值 PLATFORM。 LevelOverseas *string `json:"LevelOverseas,omitnil,omitempty" name:"LevelOverseas"` }
type DefaultServerCertInfo ¶
type DefaultServerCertInfo struct { // 服务器证书 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // 证书备注名。 // 注意:此字段可能返回 null,表示取不到有效值。 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 证书类型,取值有: // <li>default: 默认证书;</li> // <li>upload:用户上传;</li> // <li>managed:腾讯云托管。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 证书过期时间。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 证书生效时间。 // 注意:此字段可能返回 null,表示取不到有效值。 EffectiveTime *string `json:"EffectiveTime,omitnil,omitempty" name:"EffectiveTime"` // 证书公用名。 // 注意:此字段可能返回 null,表示取不到有效值。 CommonName *string `json:"CommonName,omitnil,omitempty" name:"CommonName"` // 证书SAN域名。 // 注意:此字段可能返回 null,表示取不到有效值。 SubjectAltName []*string `json:"SubjectAltName,omitnil,omitempty" name:"SubjectAltName"` // 部署状态,取值有: // <li>processing: 部署中;</li> // <li>deployed: 已部署;</li> // <li>failed: 部署失败。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // Status为失败时,此字段返回失败原因。 // 注意:此字段可能返回 null,表示取不到有效值。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 证书算法。 // 注意:此字段可能返回 null,表示取不到有效值。 SignAlgo *string `json:"SignAlgo,omitnil,omitempty" name:"SignAlgo"` }
type DeleteAccelerationDomainsRequest ¶ added in v1.0.591
type DeleteAccelerationDomainsRequest struct { *tchttp.BaseRequest // 加速域名所属站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 需要删除的加速域名ID列表。 DomainNames []*string `json:"DomainNames,omitnil,omitempty" name:"DomainNames"` // 是否强制删除。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制删除该域名,取值有: // <li> true:删除该域名及所有关联资源;</li> // <li> false:当该加速域名存在关联资源时,不允许删除。</li>不填写,默认值为:false。 Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
func NewDeleteAccelerationDomainsRequest ¶ added in v1.0.591
func NewDeleteAccelerationDomainsRequest() (request *DeleteAccelerationDomainsRequest)
func (*DeleteAccelerationDomainsRequest) FromJsonString ¶ added in v1.0.591
func (r *DeleteAccelerationDomainsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccelerationDomainsRequest) ToJsonString ¶ added in v1.0.591
func (r *DeleteAccelerationDomainsRequest) ToJsonString() string
type DeleteAccelerationDomainsRequestParams ¶ added in v1.0.591
type DeleteAccelerationDomainsRequestParams struct { // 加速域名所属站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 需要删除的加速域名ID列表。 DomainNames []*string `json:"DomainNames,omitnil,omitempty" name:"DomainNames"` // 是否强制删除。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制删除该域名,取值有: // <li> true:删除该域名及所有关联资源;</li> // <li> false:当该加速域名存在关联资源时,不允许删除。</li>不填写,默认值为:false。 Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type DeleteAccelerationDomainsResponse ¶ added in v1.0.591
type DeleteAccelerationDomainsResponse struct { *tchttp.BaseResponse Response *DeleteAccelerationDomainsResponseParams `json:"Response"` }
func NewDeleteAccelerationDomainsResponse ¶ added in v1.0.591
func NewDeleteAccelerationDomainsResponse() (response *DeleteAccelerationDomainsResponse)
func (*DeleteAccelerationDomainsResponse) FromJsonString ¶ added in v1.0.591
func (r *DeleteAccelerationDomainsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAccelerationDomainsResponse) ToJsonString ¶ added in v1.0.591
func (r *DeleteAccelerationDomainsResponse) ToJsonString() string
type DeleteAccelerationDomainsResponseParams ¶ added in v1.0.591
type DeleteAccelerationDomainsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteAliasDomainRequest ¶ added in v1.0.510
type DeleteAliasDomainRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 待删除别称域名名称。如果为空,则不执行删除操作。 AliasNames []*string `json:"AliasNames,omitnil,omitempty" name:"AliasNames"` }
func NewDeleteAliasDomainRequest ¶ added in v1.0.510
func NewDeleteAliasDomainRequest() (request *DeleteAliasDomainRequest)
func (*DeleteAliasDomainRequest) FromJsonString ¶ added in v1.0.510
func (r *DeleteAliasDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAliasDomainRequest) ToJsonString ¶ added in v1.0.510
func (r *DeleteAliasDomainRequest) ToJsonString() string
type DeleteAliasDomainRequestParams ¶ added in v1.0.510
type DeleteAliasDomainRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 待删除别称域名名称。如果为空,则不执行删除操作。 AliasNames []*string `json:"AliasNames,omitnil,omitempty" name:"AliasNames"` }
Predefined struct for user
type DeleteAliasDomainResponse ¶ added in v1.0.510
type DeleteAliasDomainResponse struct { *tchttp.BaseResponse Response *DeleteAliasDomainResponseParams `json:"Response"` }
func NewDeleteAliasDomainResponse ¶ added in v1.0.510
func NewDeleteAliasDomainResponse() (response *DeleteAliasDomainResponse)
func (*DeleteAliasDomainResponse) FromJsonString ¶ added in v1.0.510
func (r *DeleteAliasDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteAliasDomainResponse) ToJsonString ¶ added in v1.0.510
func (r *DeleteAliasDomainResponse) ToJsonString() string
type DeleteAliasDomainResponseParams ¶ added in v1.0.510
type DeleteAliasDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationProxyRequest ¶
type DeleteApplicationProxyRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
func NewDeleteApplicationProxyRequest ¶
func NewDeleteApplicationProxyRequest() (request *DeleteApplicationProxyRequest)
func (*DeleteApplicationProxyRequest) FromJsonString ¶
func (r *DeleteApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRequest) ToJsonString ¶
func (r *DeleteApplicationProxyRequest) ToJsonString() string
type DeleteApplicationProxyRequestParams ¶
type DeleteApplicationProxyRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
Predefined struct for user
type DeleteApplicationProxyResponse ¶
type DeleteApplicationProxyResponse struct { *tchttp.BaseResponse Response *DeleteApplicationProxyResponseParams `json:"Response"` }
func NewDeleteApplicationProxyResponse ¶
func NewDeleteApplicationProxyResponse() (response *DeleteApplicationProxyResponse)
func (*DeleteApplicationProxyResponse) FromJsonString ¶
func (r *DeleteApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyResponse) ToJsonString ¶
func (r *DeleteApplicationProxyResponse) ToJsonString() string
type DeleteApplicationProxyResponseParams ¶
type DeleteApplicationProxyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteApplicationProxyRuleRequest ¶
type DeleteApplicationProxyRuleRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
func NewDeleteApplicationProxyRuleRequest ¶
func NewDeleteApplicationProxyRuleRequest() (request *DeleteApplicationProxyRuleRequest)
func (*DeleteApplicationProxyRuleRequest) FromJsonString ¶
func (r *DeleteApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRuleRequest) ToJsonString ¶
func (r *DeleteApplicationProxyRuleRequest) ToJsonString() string
type DeleteApplicationProxyRuleRequestParams ¶
type DeleteApplicationProxyRuleRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
Predefined struct for user
type DeleteApplicationProxyRuleResponse ¶
type DeleteApplicationProxyRuleResponse struct { *tchttp.BaseResponse Response *DeleteApplicationProxyRuleResponseParams `json:"Response"` }
func NewDeleteApplicationProxyRuleResponse ¶
func NewDeleteApplicationProxyRuleResponse() (response *DeleteApplicationProxyRuleResponse)
func (*DeleteApplicationProxyRuleResponse) FromJsonString ¶
func (r *DeleteApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteApplicationProxyRuleResponse) ToJsonString ¶
func (r *DeleteApplicationProxyRuleResponse) ToJsonString() string
type DeleteApplicationProxyRuleResponseParams ¶
type DeleteApplicationProxyRuleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCustomErrorPageRequest ¶ added in v1.0.939
type DeleteCustomErrorPageRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义页面 ID。 PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` }
func NewDeleteCustomErrorPageRequest ¶ added in v1.0.939
func NewDeleteCustomErrorPageRequest() (request *DeleteCustomErrorPageRequest)
func (*DeleteCustomErrorPageRequest) FromJsonString ¶ added in v1.0.939
func (r *DeleteCustomErrorPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCustomErrorPageRequest) ToJsonString ¶ added in v1.0.939
func (r *DeleteCustomErrorPageRequest) ToJsonString() string
type DeleteCustomErrorPageRequestParams ¶ added in v1.0.939
type DeleteCustomErrorPageRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义页面 ID。 PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` }
Predefined struct for user
type DeleteCustomErrorPageResponse ¶ added in v1.0.939
type DeleteCustomErrorPageResponse struct { *tchttp.BaseResponse Response *DeleteCustomErrorPageResponseParams `json:"Response"` }
func NewDeleteCustomErrorPageResponse ¶ added in v1.0.939
func NewDeleteCustomErrorPageResponse() (response *DeleteCustomErrorPageResponse)
func (*DeleteCustomErrorPageResponse) FromJsonString ¶ added in v1.0.939
func (r *DeleteCustomErrorPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCustomErrorPageResponse) ToJsonString ¶ added in v1.0.939
func (r *DeleteCustomErrorPageResponse) ToJsonString() string
type DeleteCustomErrorPageResponseParams ¶ added in v1.0.939
type DeleteCustomErrorPageResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFunctionRequest ¶ added in v1.0.1013
type DeleteFunctionRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` }
func NewDeleteFunctionRequest ¶ added in v1.0.1013
func NewDeleteFunctionRequest() (request *DeleteFunctionRequest)
func (*DeleteFunctionRequest) FromJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFunctionRequest) ToJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionRequest) ToJsonString() string
type DeleteFunctionRequestParams ¶ added in v1.0.1013
type DeleteFunctionRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` }
Predefined struct for user
type DeleteFunctionResponse ¶ added in v1.0.1013
type DeleteFunctionResponse struct { *tchttp.BaseResponse Response *DeleteFunctionResponseParams `json:"Response"` }
func NewDeleteFunctionResponse ¶ added in v1.0.1013
func NewDeleteFunctionResponse() (response *DeleteFunctionResponse)
func (*DeleteFunctionResponse) FromJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFunctionResponse) ToJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionResponse) ToJsonString() string
type DeleteFunctionResponseParams ¶ added in v1.0.1013
type DeleteFunctionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFunctionRulesRequest ¶ added in v1.0.1013
type DeleteFunctionRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则 ID 列表。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
func NewDeleteFunctionRulesRequest ¶ added in v1.0.1013
func NewDeleteFunctionRulesRequest() (request *DeleteFunctionRulesRequest)
func (*DeleteFunctionRulesRequest) FromJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFunctionRulesRequest) ToJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionRulesRequest) ToJsonString() string
type DeleteFunctionRulesRequestParams ¶ added in v1.0.1013
type DeleteFunctionRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则 ID 列表。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
Predefined struct for user
type DeleteFunctionRulesResponse ¶ added in v1.0.1013
type DeleteFunctionRulesResponse struct { *tchttp.BaseResponse Response *DeleteFunctionRulesResponseParams `json:"Response"` }
func NewDeleteFunctionRulesResponse ¶ added in v1.0.1013
func NewDeleteFunctionRulesResponse() (response *DeleteFunctionRulesResponse)
func (*DeleteFunctionRulesResponse) FromJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFunctionRulesResponse) ToJsonString ¶ added in v1.0.1013
func (r *DeleteFunctionRulesResponse) ToJsonString() string
type DeleteFunctionRulesResponseParams ¶ added in v1.0.1013
type DeleteFunctionRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteL4ProxyRequest ¶ added in v1.0.850
type DeleteL4ProxyRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
func NewDeleteL4ProxyRequest ¶ added in v1.0.850
func NewDeleteL4ProxyRequest() (request *DeleteL4ProxyRequest)
func (*DeleteL4ProxyRequest) FromJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL4ProxyRequest) ToJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyRequest) ToJsonString() string
type DeleteL4ProxyRequestParams ¶ added in v1.0.850
type DeleteL4ProxyRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
Predefined struct for user
type DeleteL4ProxyResponse ¶ added in v1.0.850
type DeleteL4ProxyResponse struct { *tchttp.BaseResponse Response *DeleteL4ProxyResponseParams `json:"Response"` }
func NewDeleteL4ProxyResponse ¶ added in v1.0.850
func NewDeleteL4ProxyResponse() (response *DeleteL4ProxyResponse)
func (*DeleteL4ProxyResponse) FromJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL4ProxyResponse) ToJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyResponse) ToJsonString() string
type DeleteL4ProxyResponseParams ¶ added in v1.0.850
type DeleteL4ProxyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteL4ProxyRulesRequest ¶ added in v1.0.850
type DeleteL4ProxyRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则 ID 列表。单次最多支持 200 条转发规则。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
func NewDeleteL4ProxyRulesRequest ¶ added in v1.0.850
func NewDeleteL4ProxyRulesRequest() (request *DeleteL4ProxyRulesRequest)
func (*DeleteL4ProxyRulesRequest) FromJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL4ProxyRulesRequest) ToJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyRulesRequest) ToJsonString() string
type DeleteL4ProxyRulesRequestParams ¶ added in v1.0.850
type DeleteL4ProxyRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则 ID 列表。单次最多支持 200 条转发规则。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
Predefined struct for user
type DeleteL4ProxyRulesResponse ¶ added in v1.0.850
type DeleteL4ProxyRulesResponse struct { *tchttp.BaseResponse Response *DeleteL4ProxyRulesResponseParams `json:"Response"` }
func NewDeleteL4ProxyRulesResponse ¶ added in v1.0.850
func NewDeleteL4ProxyRulesResponse() (response *DeleteL4ProxyRulesResponse)
func (*DeleteL4ProxyRulesResponse) FromJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteL4ProxyRulesResponse) ToJsonString ¶ added in v1.0.850
func (r *DeleteL4ProxyRulesResponse) ToJsonString() string
type DeleteL4ProxyRulesResponseParams ¶ added in v1.0.850
type DeleteL4ProxyRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteLoadBalancerRequest ¶ added in v1.0.1031
type DeleteLoadBalancerRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 负载均衡实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
func NewDeleteLoadBalancerRequest ¶ added in v1.0.1031
func NewDeleteLoadBalancerRequest() (request *DeleteLoadBalancerRequest)
func (*DeleteLoadBalancerRequest) FromJsonString ¶ added in v1.0.1031
func (r *DeleteLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerRequest) ToJsonString ¶ added in v1.0.1031
func (r *DeleteLoadBalancerRequest) ToJsonString() string
type DeleteLoadBalancerRequestParams ¶ added in v1.0.1031
type DeleteLoadBalancerRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 负载均衡实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` }
Predefined struct for user
type DeleteLoadBalancerResponse ¶ added in v1.0.1031
type DeleteLoadBalancerResponse struct { *tchttp.BaseResponse Response *DeleteLoadBalancerResponseParams `json:"Response"` }
func NewDeleteLoadBalancerResponse ¶ added in v1.0.1031
func NewDeleteLoadBalancerResponse() (response *DeleteLoadBalancerResponse)
func (*DeleteLoadBalancerResponse) FromJsonString ¶ added in v1.0.1031
func (r *DeleteLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteLoadBalancerResponse) ToJsonString ¶ added in v1.0.1031
func (r *DeleteLoadBalancerResponse) ToJsonString() string
type DeleteLoadBalancerResponseParams ¶ added in v1.0.1031
type DeleteLoadBalancerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteOriginGroupRequest ¶
type DeleteOriginGroupRequest struct { *tchttp.BaseRequest // 站点 ID ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 源站组 ID,此参数必填。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDeleteOriginGroupRequest ¶
func NewDeleteOriginGroupRequest() (request *DeleteOriginGroupRequest)
func (*DeleteOriginGroupRequest) FromJsonString ¶
func (r *DeleteOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOriginGroupRequest) ToJsonString ¶
func (r *DeleteOriginGroupRequest) ToJsonString() string
type DeleteOriginGroupRequestParams ¶
type DeleteOriginGroupRequestParams struct { // 站点 ID ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 源站组 ID,此参数必填。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DeleteOriginGroupResponse ¶
type DeleteOriginGroupResponse struct { *tchttp.BaseResponse Response *DeleteOriginGroupResponseParams `json:"Response"` }
func NewDeleteOriginGroupResponse ¶
func NewDeleteOriginGroupResponse() (response *DeleteOriginGroupResponse)
func (*DeleteOriginGroupResponse) FromJsonString ¶
func (r *DeleteOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteOriginGroupResponse) ToJsonString ¶
func (r *DeleteOriginGroupResponse) ToJsonString() string
type DeleteOriginGroupResponseParams ¶
type DeleteOriginGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRealtimeLogDeliveryTaskRequest ¶ added in v1.0.869
type DeleteRealtimeLogDeliveryTaskRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
func NewDeleteRealtimeLogDeliveryTaskRequest ¶ added in v1.0.869
func NewDeleteRealtimeLogDeliveryTaskRequest() (request *DeleteRealtimeLogDeliveryTaskRequest)
func (*DeleteRealtimeLogDeliveryTaskRequest) FromJsonString ¶ added in v1.0.869
func (r *DeleteRealtimeLogDeliveryTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRealtimeLogDeliveryTaskRequest) ToJsonString ¶ added in v1.0.869
func (r *DeleteRealtimeLogDeliveryTaskRequest) ToJsonString() string
type DeleteRealtimeLogDeliveryTaskRequestParams ¶ added in v1.0.869
type DeleteRealtimeLogDeliveryTaskRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` }
Predefined struct for user
type DeleteRealtimeLogDeliveryTaskResponse ¶ added in v1.0.869
type DeleteRealtimeLogDeliveryTaskResponse struct { *tchttp.BaseResponse Response *DeleteRealtimeLogDeliveryTaskResponseParams `json:"Response"` }
func NewDeleteRealtimeLogDeliveryTaskResponse ¶ added in v1.0.869
func NewDeleteRealtimeLogDeliveryTaskResponse() (response *DeleteRealtimeLogDeliveryTaskResponse)
func (*DeleteRealtimeLogDeliveryTaskResponse) FromJsonString ¶ added in v1.0.869
func (r *DeleteRealtimeLogDeliveryTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRealtimeLogDeliveryTaskResponse) ToJsonString ¶ added in v1.0.869
func (r *DeleteRealtimeLogDeliveryTaskResponse) ToJsonString() string
type DeleteRealtimeLogDeliveryTaskResponseParams ¶ added in v1.0.869
type DeleteRealtimeLogDeliveryTaskResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRulesRequest ¶
type DeleteRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 指定删除的规则 ID 列表。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
func NewDeleteRulesRequest ¶
func NewDeleteRulesRequest() (request *DeleteRulesRequest)
func (*DeleteRulesRequest) FromJsonString ¶
func (r *DeleteRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRulesRequest) ToJsonString ¶
func (r *DeleteRulesRequest) ToJsonString() string
type DeleteRulesRequestParams ¶
type DeleteRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 指定删除的规则 ID 列表。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
Predefined struct for user
type DeleteRulesResponse ¶
type DeleteRulesResponse struct { *tchttp.BaseResponse Response *DeleteRulesResponseParams `json:"Response"` }
func NewDeleteRulesResponse ¶
func NewDeleteRulesResponse() (response *DeleteRulesResponse)
func (*DeleteRulesResponse) FromJsonString ¶
func (r *DeleteRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRulesResponse) ToJsonString ¶
func (r *DeleteRulesResponse) ToJsonString() string
type DeleteRulesResponseParams ¶
type DeleteRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityIPGroupRequest ¶ added in v1.0.647
type DeleteSecurityIPGroupRequest struct { *tchttp.BaseRequest // 站点 Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // IP 组 Id。 GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDeleteSecurityIPGroupRequest ¶ added in v1.0.647
func NewDeleteSecurityIPGroupRequest() (request *DeleteSecurityIPGroupRequest)
func (*DeleteSecurityIPGroupRequest) FromJsonString ¶ added in v1.0.647
func (r *DeleteSecurityIPGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityIPGroupRequest) ToJsonString ¶ added in v1.0.647
func (r *DeleteSecurityIPGroupRequest) ToJsonString() string
type DeleteSecurityIPGroupRequestParams ¶ added in v1.0.647
type DeleteSecurityIPGroupRequestParams struct { // 站点 Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // IP 组 Id。 GroupId *int64 `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DeleteSecurityIPGroupResponse ¶ added in v1.0.647
type DeleteSecurityIPGroupResponse struct { *tchttp.BaseResponse Response *DeleteSecurityIPGroupResponseParams `json:"Response"` }
func NewDeleteSecurityIPGroupResponse ¶ added in v1.0.647
func NewDeleteSecurityIPGroupResponse() (response *DeleteSecurityIPGroupResponse)
func (*DeleteSecurityIPGroupResponse) FromJsonString ¶ added in v1.0.647
func (r *DeleteSecurityIPGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityIPGroupResponse) ToJsonString ¶ added in v1.0.647
func (r *DeleteSecurityIPGroupResponse) ToJsonString() string
type DeleteSecurityIPGroupResponseParams ¶ added in v1.0.647
type DeleteSecurityIPGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSharedCNAMERequest ¶ added in v1.0.784
type DeleteSharedCNAMERequest struct { string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` SharedCNAME *string `json:"SharedCNAME,omitnil,omitempty" name:"SharedCNAME"` }ZoneId *
func NewDeleteSharedCNAMERequest ¶ added in v1.0.784
func NewDeleteSharedCNAMERequest() (request *DeleteSharedCNAMERequest)
func (*DeleteSharedCNAMERequest) FromJsonString ¶ added in v1.0.784
func (r *DeleteSharedCNAMERequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSharedCNAMERequest) ToJsonString ¶ added in v1.0.784
func (r *DeleteSharedCNAMERequest) ToJsonString() string
type DeleteSharedCNAMERequestParams ¶ added in v1.0.784
type DeleteSharedCNAMERequestParams struct { string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` SharedCNAME *string `json:"SharedCNAME,omitnil,omitempty" name:"SharedCNAME"` }ZoneId *
Predefined struct for user
type DeleteSharedCNAMEResponse ¶ added in v1.0.784
type DeleteSharedCNAMEResponse struct {}
func NewDeleteSharedCNAMEResponse ¶ added in v1.0.784
func NewDeleteSharedCNAMEResponse() (response *DeleteSharedCNAMEResponse)
func (*DeleteSharedCNAMEResponse) FromJsonString ¶ added in v1.0.784
func (r *DeleteSharedCNAMEResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSharedCNAMEResponse) ToJsonString ¶ added in v1.0.784
func (r *DeleteSharedCNAMEResponse) ToJsonString() string
type DeleteSharedCNAMEResponseParams ¶ added in v1.0.784
type DeleteSharedCNAMEResponseParams struct { string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }RequestId *
Predefined struct for user
type DeleteZoneRequest ¶
type DeleteZoneRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
func NewDeleteZoneRequest ¶
func NewDeleteZoneRequest() (request *DeleteZoneRequest)
func (*DeleteZoneRequest) FromJsonString ¶
func (r *DeleteZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteZoneRequest) ToJsonString ¶
func (r *DeleteZoneRequest) ToJsonString() string
type DeleteZoneRequestParams ¶
type DeleteZoneRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
Predefined struct for user
type DeleteZoneResponse ¶
type DeleteZoneResponse struct { *tchttp.BaseResponse Response *DeleteZoneResponseParams `json:"Response"` }
func NewDeleteZoneResponse ¶
func NewDeleteZoneResponse() (response *DeleteZoneResponse)
func (*DeleteZoneResponse) FromJsonString ¶
func (r *DeleteZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteZoneResponse) ToJsonString ¶
func (r *DeleteZoneResponse) ToJsonString() string
type DeleteZoneResponseParams ¶
type DeleteZoneResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeliveryCondition ¶ added in v1.0.869
type DeliveryCondition struct { // 日志过滤条件,详细的过滤条件如下: // <li>EdgeResponseStatusCode:按照 EdgeOne 节点响应返回给客户端的状态码进行过滤。<br> 支持运算符:equal、great、less、great_equal、less_equal<br> 取值范围:任意大于等于 0 的整数</li> // <li>OriginResponseStatusCode:按照源站响应状态码进行过滤。<br> 支持运算符:equal、great、less、great_equal、less_equal<br> 取值范围:任意大于等于 -1 的整数</li> // <li>SecurityAction:按照请求命中安全规则后的最终处置动作进行过滤。<br> 支持运算符:equal<br> 可选项如下:<br> -:未知/未命中<br> Monitor:观察<br> JSChallenge:JavaScript 挑战<br> Deny:拦截<br> Allow:放行<br> BlockIP:IP 封禁<br> Redirect:重定向<br> ReturnCustomPage:返回自定义页面<br> ManagedChallenge:托管挑战<br> Silence:静默<br> LongDelay:长时间等待后响应<br> ShortDelay:短时间等待后响应</li> // <li>SecurityModule:按照最终处置请求的安全模块名称进行过滤。<br> 支持运算符:equal<br> 可选项如下:<br> -:未知/未命中<br> CustomRule:Web防护 - 自定义规则<br> RateLimitingCustomRule:Web防护 - 速率限制规则<br> ManagedRule:Web防护 - 托管规则<br> L7DDoS:Web防护 - CC攻击防护<br> BotManagement:Bot管理 - Bot基础管理<br> BotClientReputation:Bot管理 - 客户端画像分析<br> BotBehaviorAnalysis:Bot管理 - Bot智能分析<br> BotCustomRule:Bot管理 - 自定义Bot规则<br> BotActiveDetection:Bot管理 - 主动特征识别</li> Conditions []*QueryCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` }
type DeployConfigGroupVersionRequest ¶ added in v1.0.803
type DeployConfigGroupVersionRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 环境 ID。请填写版本需要发布到的环境 ID。 EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` // 需要发布的版本信息。可以同时变更多个不同配置组的版本,每个配置组一次仅支持变更一个版本。 ConfigGroupVersionInfos []*ConfigGroupVersionInfo `json:"ConfigGroupVersionInfos,omitnil,omitempty" name:"ConfigGroupVersionInfos"` // 变更说明。用于描述此次变更的内容、原因,最大支持 100 个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
func NewDeployConfigGroupVersionRequest ¶ added in v1.0.803
func NewDeployConfigGroupVersionRequest() (request *DeployConfigGroupVersionRequest)
func (*DeployConfigGroupVersionRequest) FromJsonString ¶ added in v1.0.803
func (r *DeployConfigGroupVersionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployConfigGroupVersionRequest) ToJsonString ¶ added in v1.0.803
func (r *DeployConfigGroupVersionRequest) ToJsonString() string
type DeployConfigGroupVersionRequestParams ¶ added in v1.0.803
type DeployConfigGroupVersionRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 环境 ID。请填写版本需要发布到的环境 ID。 EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` // 需要发布的版本信息。可以同时变更多个不同配置组的版本,每个配置组一次仅支持变更一个版本。 ConfigGroupVersionInfos []*ConfigGroupVersionInfo `json:"ConfigGroupVersionInfos,omitnil,omitempty" name:"ConfigGroupVersionInfos"` // 变更说明。用于描述此次变更的内容、原因,最大支持 100 个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
Predefined struct for user
type DeployConfigGroupVersionResponse ¶ added in v1.0.803
type DeployConfigGroupVersionResponse struct { *tchttp.BaseResponse Response *DeployConfigGroupVersionResponseParams `json:"Response"` }
func NewDeployConfigGroupVersionResponse ¶ added in v1.0.803
func NewDeployConfigGroupVersionResponse() (response *DeployConfigGroupVersionResponse)
func (*DeployConfigGroupVersionResponse) FromJsonString ¶ added in v1.0.803
func (r *DeployConfigGroupVersionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployConfigGroupVersionResponse) ToJsonString ¶ added in v1.0.803
func (r *DeployConfigGroupVersionResponse) ToJsonString() string
type DeployConfigGroupVersionResponseParams ¶ added in v1.0.803
type DeployConfigGroupVersionResponseParams struct { // 发布记录 ID。 RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeployRecord ¶ added in v1.0.803
type DeployRecord struct { // 发布版本的详细信息。 ConfigGroupVersionInfos []*ConfigGroupVersionInfo `json:"ConfigGroupVersionInfos,omitnil,omitempty" name:"ConfigGroupVersionInfos"` // 发布时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"` // 发布状态,取值有: // <li> deploying :发布中;</li> // <li>failure :发布失败;</li> // <li>success: 发布成功。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 发布结果信息。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` // 发布记录 ID。 // 注意:此字段可能返回 null,表示取不到有效值。 RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // 变更说明。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` }
type DescribeAccelerationDomainsRequest ¶ added in v1.0.591
type DescribeAccelerationDomainsRequest struct { *tchttp.BaseRequest // 加速域名所属站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,上限:200。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有域名信息。详细的过滤条件如下: // <li>domain-name:按照加速域名进行过滤;</li> // <li>origin-type:按照源站类型进行过滤;</li> // <li>origin:按照主源站地址进行过滤;</li> // <li>backup-origin: 按照备用源站地址进行过滤;</li> // <li>domain-cname:按照 CNAME 进行过滤;</li> // <li>share-cname:按照共享 CNAME 进行过滤;</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可根据该字段对返回结果进行排序,取值有: // <li>created_on:加速域名创建时间;</li> // <li>domain-name:加速域名。</li>不填写时,默认对返回结果按照 domain-name 排序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有: // <li>asc:升序排列;</li> // <li>desc:降序排列。</li>不填写使用默认值 asc。 Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"` // 匹配方式,取值有: // <li>all:返回匹配所有查询条件的加速域名;</li> // <li>any:返回匹配任意一个查询条件的加速域名。</li>不填写时默认值为 all。 Match *string `json:"Match,omitnil,omitempty" name:"Match"` }
func NewDescribeAccelerationDomainsRequest ¶ added in v1.0.591
func NewDescribeAccelerationDomainsRequest() (request *DescribeAccelerationDomainsRequest)
func (*DescribeAccelerationDomainsRequest) FromJsonString ¶ added in v1.0.591
func (r *DescribeAccelerationDomainsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccelerationDomainsRequest) ToJsonString ¶ added in v1.0.591
func (r *DescribeAccelerationDomainsRequest) ToJsonString() string
type DescribeAccelerationDomainsRequestParams ¶ added in v1.0.591
type DescribeAccelerationDomainsRequestParams struct { // 加速域名所属站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,上限:200。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有域名信息。详细的过滤条件如下: // <li>domain-name:按照加速域名进行过滤;</li> // <li>origin-type:按照源站类型进行过滤;</li> // <li>origin:按照主源站地址进行过滤;</li> // <li>backup-origin: 按照备用源站地址进行过滤;</li> // <li>domain-cname:按照 CNAME 进行过滤;</li> // <li>share-cname:按照共享 CNAME 进行过滤;</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可根据该字段对返回结果进行排序,取值有: // <li>created_on:加速域名创建时间;</li> // <li>domain-name:加速域名。</li>不填写时,默认对返回结果按照 domain-name 排序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有: // <li>asc:升序排列;</li> // <li>desc:降序排列。</li>不填写使用默认值 asc。 Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"` // 匹配方式,取值有: // <li>all:返回匹配所有查询条件的加速域名;</li> // <li>any:返回匹配任意一个查询条件的加速域名。</li>不填写时默认值为 all。 Match *string `json:"Match,omitnil,omitempty" name:"Match"` }
Predefined struct for user
type DescribeAccelerationDomainsResponse ¶ added in v1.0.591
type DescribeAccelerationDomainsResponse struct { *tchttp.BaseResponse Response *DescribeAccelerationDomainsResponseParams `json:"Response"` }
func NewDescribeAccelerationDomainsResponse ¶ added in v1.0.591
func NewDescribeAccelerationDomainsResponse() (response *DescribeAccelerationDomainsResponse)
func (*DescribeAccelerationDomainsResponse) FromJsonString ¶ added in v1.0.591
func (r *DescribeAccelerationDomainsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccelerationDomainsResponse) ToJsonString ¶ added in v1.0.591
func (r *DescribeAccelerationDomainsResponse) ToJsonString() string
type DescribeAccelerationDomainsResponseParams ¶ added in v1.0.591
type DescribeAccelerationDomainsResponseParams struct { // 符合查询条件的加速域名个数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 符合查询条件的所有加速域名的信息。 AccelerationDomains []*AccelerationDomain `json:"AccelerationDomains,omitnil,omitempty" name:"AccelerationDomains"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAliasDomainsRequest ¶ added in v1.0.510
type DescribeAliasDomainsRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>target-name:目标域名名称进行过滤;</li> // <li>alias-name:按照别称域名名称进行过滤。</li>模糊查询时仅支持过滤字段名为 alias-name。 Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeAliasDomainsRequest ¶ added in v1.0.510
func NewDescribeAliasDomainsRequest() (request *DescribeAliasDomainsRequest)
func (*DescribeAliasDomainsRequest) FromJsonString ¶ added in v1.0.510
func (r *DescribeAliasDomainsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAliasDomainsRequest) ToJsonString ¶ added in v1.0.510
func (r *DescribeAliasDomainsRequest) ToJsonString() string
type DescribeAliasDomainsRequestParams ¶ added in v1.0.510
type DescribeAliasDomainsRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>target-name:目标域名名称进行过滤;</li> // <li>alias-name:按照别称域名名称进行过滤。</li>模糊查询时仅支持过滤字段名为 alias-name。 Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeAliasDomainsResponse ¶ added in v1.0.510
type DescribeAliasDomainsResponse struct { *tchttp.BaseResponse Response *DescribeAliasDomainsResponseParams `json:"Response"` }
func NewDescribeAliasDomainsResponse ¶ added in v1.0.510
func NewDescribeAliasDomainsResponse() (response *DescribeAliasDomainsResponse)
func (*DescribeAliasDomainsResponse) FromJsonString ¶ added in v1.0.510
func (r *DescribeAliasDomainsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAliasDomainsResponse) ToJsonString ¶ added in v1.0.510
func (r *DescribeAliasDomainsResponse) ToJsonString() string
type DescribeAliasDomainsResponseParams ¶ added in v1.0.510
type DescribeAliasDomainsResponseParams struct { // 符合条件的别称域名个数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 别称域名详细信息列表。 AliasDomains []*AliasDomain `json:"AliasDomains,omitnil,omitempty" name:"AliasDomains"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeApplicationProxiesRequest ¶
type DescribeApplicationProxiesRequest struct { *tchttp.BaseRequest // 站点ID。该参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br> 按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br> 类型:String<br> 必选:否</li><li>rule-tag<br> 按照【<strong>规则标签</strong>】对应用代理下的规则进行过滤。规则标签形如:rule-service-1。<br> 类型:String<br> 必选:否</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeApplicationProxiesRequest ¶
func NewDescribeApplicationProxiesRequest() (request *DescribeApplicationProxiesRequest)
func (*DescribeApplicationProxiesRequest) FromJsonString ¶
func (r *DescribeApplicationProxiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxiesRequest) ToJsonString ¶
func (r *DescribeApplicationProxiesRequest) ToJsonString() string
type DescribeApplicationProxiesRequestParams ¶
type DescribeApplicationProxiesRequestParams struct { // 站点ID。该参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:<li>proxy-id<br> 按照【<strong>代理ID</strong>】进行过滤。代理ID形如:proxy-ev2sawbwfd。<br> 类型:String<br> 必选:否</li><li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-vawer2vadg。<br> 类型:String<br> 必选:否</li><li>rule-tag<br> 按照【<strong>规则标签</strong>】对应用代理下的规则进行过滤。规则标签形如:rule-service-1。<br> 类型:String<br> 必选:否</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeApplicationProxiesResponse ¶
type DescribeApplicationProxiesResponse struct { *tchttp.BaseResponse Response *DescribeApplicationProxiesResponseParams `json:"Response"` }
func NewDescribeApplicationProxiesResponse ¶
func NewDescribeApplicationProxiesResponse() (response *DescribeApplicationProxiesResponse)
func (*DescribeApplicationProxiesResponse) FromJsonString ¶
func (r *DescribeApplicationProxiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeApplicationProxiesResponse) ToJsonString ¶
func (r *DescribeApplicationProxiesResponse) ToJsonString() string
type DescribeApplicationProxiesResponseParams ¶
type DescribeApplicationProxiesResponseParams struct { // 应用代理列表。 ApplicationProxies []*ApplicationProxy `json:"ApplicationProxies,omitnil,omitempty" name:"ApplicationProxies"` // 记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAvailablePlansRequest ¶
type DescribeAvailablePlansRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAvailablePlansRequest ¶
func NewDescribeAvailablePlansRequest() (request *DescribeAvailablePlansRequest)
func (*DescribeAvailablePlansRequest) FromJsonString ¶
func (r *DescribeAvailablePlansRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailablePlansRequest) ToJsonString ¶
func (r *DescribeAvailablePlansRequest) ToJsonString() string
type DescribeAvailablePlansRequestParams ¶
type DescribeAvailablePlansRequestParams struct { }
Predefined struct for user
type DescribeAvailablePlansResponse ¶
type DescribeAvailablePlansResponse struct { *tchttp.BaseResponse Response *DescribeAvailablePlansResponseParams `json:"Response"` }
func NewDescribeAvailablePlansResponse ¶
func NewDescribeAvailablePlansResponse() (response *DescribeAvailablePlansResponse)
func (*DescribeAvailablePlansResponse) FromJsonString ¶
func (r *DescribeAvailablePlansResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAvailablePlansResponse) ToJsonString ¶
func (r *DescribeAvailablePlansResponse) ToJsonString() string
type DescribeAvailablePlansResponseParams ¶
type DescribeAvailablePlansResponseParams struct { // 当前账户可购买套餐类型及相关信息。 // 注意:此字段可能返回 null,表示取不到有效值。 PlanInfo []*PlanInfo `json:"PlanInfo,omitnil,omitempty" name:"PlanInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBillingDataRequest ¶
type DescribeBillingDataRequest struct { *tchttp.BaseRequest // 起始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 指标列表,取值有: // <li>acc_flux: 内容加速流量,单位为 Byte;</li> // <li>smt_flux: 智能加速流量,单位为 Byte;</li> // <li>l4_flux: 四层加速流量,单位为 Byte;</li> // <li>sec_flux: 独立防护流量,单位为 Byte;</li> // <li>zxctg_flux: 中国大陆网络优化流量,单位为 Byte;</li> // <li>acc_bandwidth: 内容加速带宽,单位为 bps;</li> // <li>smt_bandwidth: 智能加速带宽,单位为 bps;</li> // <li>l4_bandwidth: 四层加速带宽,单位为 bps;</li> // <li>sec_bandwidth: 独立防护带宽,单位为 bps;</li> // <li>zxctg_bandwidth: 中国大陆网络优化带宽,单位为 bps;</li> // <li>sec_request_clean: HTTP/HTTPS 请求,单位为次;</li> // <li>smt_request_clean: 智能加速请求,单位为次;</li> // <li>quic_request: QUIC 请求,单位为次;</li> // <li>bot_request_clean: Bot 请求,单位为次;</li> // <li>cls_count: 实时日志推送条数,单位为条;</li> // <li>ddos_bandwidth: 弹性 DDoS 防护带宽,单位为 bps。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 查询时间粒度,取值有: // <li>5min:5 分钟粒度;</li> // <li>hour:1 小时粒度;</li> // <li>day:1 天粒度。</li> Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件取值如下: // <li>host:按照域名进行过滤。示例值:test.example.com。<br></li> // <li>proxy-id:按照四层代理实例 ID 进行过滤。示例值:sid-2rugn89bkla9。<br></li> // <li>region-id:按照计费大区进行过滤。可选项如下:<br> CH:中国大陆境内<br> AF:非洲<br> AS1:亚太一区<br> AS2:亚太二区<br> AS3:亚太三区<br> EU:欧洲<br> MidEast:中东<br> NA:北美<br> SA:南美</li> Filters []*BillingDataFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeBillingDataRequest ¶
func NewDescribeBillingDataRequest() (request *DescribeBillingDataRequest)
func (*DescribeBillingDataRequest) FromJsonString ¶
func (r *DescribeBillingDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingDataRequest) ToJsonString ¶
func (r *DescribeBillingDataRequest) ToJsonString() string
type DescribeBillingDataRequestParams ¶
type DescribeBillingDataRequestParams struct { // 起始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 指标列表,取值有: // <li>acc_flux: 内容加速流量,单位为 Byte;</li> // <li>smt_flux: 智能加速流量,单位为 Byte;</li> // <li>l4_flux: 四层加速流量,单位为 Byte;</li> // <li>sec_flux: 独立防护流量,单位为 Byte;</li> // <li>zxctg_flux: 中国大陆网络优化流量,单位为 Byte;</li> // <li>acc_bandwidth: 内容加速带宽,单位为 bps;</li> // <li>smt_bandwidth: 智能加速带宽,单位为 bps;</li> // <li>l4_bandwidth: 四层加速带宽,单位为 bps;</li> // <li>sec_bandwidth: 独立防护带宽,单位为 bps;</li> // <li>zxctg_bandwidth: 中国大陆网络优化带宽,单位为 bps;</li> // <li>sec_request_clean: HTTP/HTTPS 请求,单位为次;</li> // <li>smt_request_clean: 智能加速请求,单位为次;</li> // <li>quic_request: QUIC 请求,单位为次;</li> // <li>bot_request_clean: Bot 请求,单位为次;</li> // <li>cls_count: 实时日志推送条数,单位为条;</li> // <li>ddos_bandwidth: 弹性 DDoS 防护带宽,单位为 bps。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 查询时间粒度,取值有: // <li>5min:5 分钟粒度;</li> // <li>hour:1 小时粒度;</li> // <li>day:1 天粒度。</li> Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件取值如下: // <li>host:按照域名进行过滤。示例值:test.example.com。<br></li> // <li>proxy-id:按照四层代理实例 ID 进行过滤。示例值:sid-2rugn89bkla9。<br></li> // <li>region-id:按照计费大区进行过滤。可选项如下:<br> CH:中国大陆境内<br> AF:非洲<br> AS1:亚太一区<br> AS2:亚太二区<br> AS3:亚太三区<br> EU:欧洲<br> MidEast:中东<br> NA:北美<br> SA:南美</li> Filters []*BillingDataFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeBillingDataResponse ¶
type DescribeBillingDataResponse struct { *tchttp.BaseResponse Response *DescribeBillingDataResponseParams `json:"Response"` }
func NewDescribeBillingDataResponse ¶
func NewDescribeBillingDataResponse() (response *DescribeBillingDataResponse)
func (*DescribeBillingDataResponse) FromJsonString ¶
func (r *DescribeBillingDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBillingDataResponse) ToJsonString ¶
func (r *DescribeBillingDataResponse) ToJsonString() string
type DescribeBillingDataResponseParams ¶
type DescribeBillingDataResponseParams struct { // 数据点列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*BillingData `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigGroupVersionDetailRequest ¶ added in v1.0.803
type DescribeConfigGroupVersionDetailRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 版本 ID。 VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"` }
func NewDescribeConfigGroupVersionDetailRequest ¶ added in v1.0.803
func NewDescribeConfigGroupVersionDetailRequest() (request *DescribeConfigGroupVersionDetailRequest)
func (*DescribeConfigGroupVersionDetailRequest) FromJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigGroupVersionDetailRequest) ToJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionDetailRequest) ToJsonString() string
type DescribeConfigGroupVersionDetailRequestParams ¶ added in v1.0.803
type DescribeConfigGroupVersionDetailRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 版本 ID。 VersionId *string `json:"VersionId,omitnil,omitempty" name:"VersionId"` }
Predefined struct for user
type DescribeConfigGroupVersionDetailResponse ¶ added in v1.0.803
type DescribeConfigGroupVersionDetailResponse struct { *tchttp.BaseResponse Response *DescribeConfigGroupVersionDetailResponseParams `json:"Response"` }
func NewDescribeConfigGroupVersionDetailResponse ¶ added in v1.0.803
func NewDescribeConfigGroupVersionDetailResponse() (response *DescribeConfigGroupVersionDetailResponse)
func (*DescribeConfigGroupVersionDetailResponse) FromJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigGroupVersionDetailResponse) ToJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionDetailResponse) ToJsonString() string
type DescribeConfigGroupVersionDetailResponseParams ¶ added in v1.0.803
type DescribeConfigGroupVersionDetailResponseParams struct { // 版本信息。 ConfigGroupVersionInfo *ConfigGroupVersionInfo `json:"ConfigGroupVersionInfo,omitnil,omitempty" name:"ConfigGroupVersionInfo"` // 版本文件的内容。以 JSON 格式返回。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeConfigGroupVersionsRequest ¶ added in v1.0.803
type DescribeConfigGroupVersionsRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 配置组 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 过滤条件,Filters.Values 的上限为 20,该参数不填写时,返回所选配置组下的所有版本信息。详细的过滤条件如下: // <li>version-id:按照版本 ID 进行过滤;</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeConfigGroupVersionsRequest ¶ added in v1.0.803
func NewDescribeConfigGroupVersionsRequest() (request *DescribeConfigGroupVersionsRequest)
func (*DescribeConfigGroupVersionsRequest) FromJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigGroupVersionsRequest) ToJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionsRequest) ToJsonString() string
type DescribeConfigGroupVersionsRequestParams ¶ added in v1.0.803
type DescribeConfigGroupVersionsRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 配置组 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 过滤条件,Filters.Values 的上限为 20,该参数不填写时,返回所选配置组下的所有版本信息。详细的过滤条件如下: // <li>version-id:按照版本 ID 进行过滤;</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值为 20,最大值为 100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeConfigGroupVersionsResponse ¶ added in v1.0.803
type DescribeConfigGroupVersionsResponse struct { *tchttp.BaseResponse Response *DescribeConfigGroupVersionsResponseParams `json:"Response"` }
func NewDescribeConfigGroupVersionsResponse ¶ added in v1.0.803
func NewDescribeConfigGroupVersionsResponse() (response *DescribeConfigGroupVersionsResponse)
func (*DescribeConfigGroupVersionsResponse) FromJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeConfigGroupVersionsResponse) ToJsonString ¶ added in v1.0.803
func (r *DescribeConfigGroupVersionsResponse) ToJsonString() string
type DescribeConfigGroupVersionsResponseParams ¶ added in v1.0.803
type DescribeConfigGroupVersionsResponseParams struct { // 版本总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 版本信息列表。 ConfigGroupVersionInfos []*ConfigGroupVersionInfo `json:"ConfigGroupVersionInfos,omitnil,omitempty" name:"ConfigGroupVersionInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeContentQuotaRequest ¶
type DescribeContentQuotaRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
func NewDescribeContentQuotaRequest ¶
func NewDescribeContentQuotaRequest() (request *DescribeContentQuotaRequest)
func (*DescribeContentQuotaRequest) FromJsonString ¶
func (r *DescribeContentQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeContentQuotaRequest) ToJsonString ¶
func (r *DescribeContentQuotaRequest) ToJsonString() string
type DescribeContentQuotaRequestParams ¶
type DescribeContentQuotaRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeContentQuotaResponse ¶
type DescribeContentQuotaResponse struct { *tchttp.BaseResponse Response *DescribeContentQuotaResponseParams `json:"Response"` }
func NewDescribeContentQuotaResponse ¶
func NewDescribeContentQuotaResponse() (response *DescribeContentQuotaResponse)
func (*DescribeContentQuotaResponse) FromJsonString ¶
func (r *DescribeContentQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeContentQuotaResponse) ToJsonString ¶
func (r *DescribeContentQuotaResponse) ToJsonString() string
type DescribeContentQuotaResponseParams ¶
type DescribeContentQuotaResponseParams struct { // 刷新相关配额。 // 注意:此字段可能返回 null,表示取不到有效值。 PurgeQuota []*Quota `json:"PurgeQuota,omitnil,omitempty" name:"PurgeQuota"` // 预热相关配额。 // 注意:此字段可能返回 null,表示取不到有效值。 PrefetchQuota []*Quota `json:"PrefetchQuota,omitnil,omitempty" name:"PrefetchQuota"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomErrorPagesRequest ¶ added in v1.0.939
type DescribeCustomErrorPagesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下: // <li>page-id: 按照页面 ID 进行过滤;</li> // <li>name: 按照页面名称进行过滤;</li> // <li>description:按照页面描述过滤;</li> // <li>content-type:按照页面类型过滤。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeCustomErrorPagesRequest ¶ added in v1.0.939
func NewDescribeCustomErrorPagesRequest() (request *DescribeCustomErrorPagesRequest)
func (*DescribeCustomErrorPagesRequest) FromJsonString ¶ added in v1.0.939
func (r *DescribeCustomErrorPagesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomErrorPagesRequest) ToJsonString ¶ added in v1.0.939
func (r *DescribeCustomErrorPagesRequest) ToJsonString() string
type DescribeCustomErrorPagesRequestParams ¶ added in v1.0.939
type DescribeCustomErrorPagesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values 的上限为20,详细的过滤条件Name值如下: // <li>page-id: 按照页面 ID 进行过滤;</li> // <li>name: 按照页面名称进行过滤;</li> // <li>description:按照页面描述过滤;</li> // <li>content-type:按照页面类型过滤。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeCustomErrorPagesResponse ¶ added in v1.0.939
type DescribeCustomErrorPagesResponse struct { *tchttp.BaseResponse Response *DescribeCustomErrorPagesResponseParams `json:"Response"` }
func NewDescribeCustomErrorPagesResponse ¶ added in v1.0.939
func NewDescribeCustomErrorPagesResponse() (response *DescribeCustomErrorPagesResponse)
func (*DescribeCustomErrorPagesResponse) FromJsonString ¶ added in v1.0.939
func (r *DescribeCustomErrorPagesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomErrorPagesResponse) ToJsonString ¶ added in v1.0.939
func (r *DescribeCustomErrorPagesResponse) ToJsonString() string
type DescribeCustomErrorPagesResponseParams ¶ added in v1.0.939
type DescribeCustomErrorPagesResponseParams struct { // 自定义错误页面总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 自定义错误页面数据列表。 ErrorPages []*CustomErrorPage `json:"ErrorPages,omitnil,omitempty" name:"ErrorPages"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSAttackDataRequest ¶
type DescribeDDoSAttackDataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标列表,取值有: // <li>ddos_attackMaxBandwidth:攻击带宽峰值;</li> // <li>ddos_attackMaxPackageRate:攻击包速率峰值 ;</li> // <li>ddos_attackBandwidth:攻击带宽曲线;</li> // <li>ddos_attackPackageRate:攻击包速率曲线。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // DDoS策略组ID列表,不填默认选择全部策略ID。 PolicyIds []*int64 `json:"PolicyIds,omitnil,omitempty" name:"PolicyIds"` // 查询时间粒度,取值有: // <li>min:1分钟;</li> // <li>5min:5分钟;</li> // <li>hour:1小时;</li> // <li>day:1天。</li>不填将根据开始时间与结束时间的间隔自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeDDoSAttackDataRequest ¶
func NewDescribeDDoSAttackDataRequest() (request *DescribeDDoSAttackDataRequest)
func (*DescribeDDoSAttackDataRequest) FromJsonString ¶
func (r *DescribeDDoSAttackDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackDataRequest) ToJsonString ¶
func (r *DescribeDDoSAttackDataRequest) ToJsonString() string
type DescribeDDoSAttackDataRequestParams ¶
type DescribeDDoSAttackDataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标列表,取值有: // <li>ddos_attackMaxBandwidth:攻击带宽峰值;</li> // <li>ddos_attackMaxPackageRate:攻击包速率峰值 ;</li> // <li>ddos_attackBandwidth:攻击带宽曲线;</li> // <li>ddos_attackPackageRate:攻击包速率曲线。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // DDoS策略组ID列表,不填默认选择全部策略ID。 PolicyIds []*int64 `json:"PolicyIds,omitnil,omitempty" name:"PolicyIds"` // 查询时间粒度,取值有: // <li>min:1分钟;</li> // <li>5min:5分钟;</li> // <li>hour:1小时;</li> // <li>day:1天。</li>不填将根据开始时间与结束时间的间隔自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeDDoSAttackDataResponse ¶
type DescribeDDoSAttackDataResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackDataResponseParams `json:"Response"` }
func NewDescribeDDoSAttackDataResponse ¶
func NewDescribeDDoSAttackDataResponse() (response *DescribeDDoSAttackDataResponse)
func (*DescribeDDoSAttackDataResponse) FromJsonString ¶
func (r *DescribeDDoSAttackDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackDataResponse) ToJsonString ¶
func (r *DescribeDDoSAttackDataResponse) ToJsonString() string
type DescribeDDoSAttackDataResponseParams ¶
type DescribeDDoSAttackDataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // DDoS攻击数据内容列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*SecEntry `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSAttackEventRequest ¶
type DescribeDDoSAttackEventRequest struct { *tchttp.BaseRequest // 开始时间,时间范围为 30 天。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,时间范围为 30 天。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // ddos策略组集合,不填默认选择全部策略。 PolicyIds []*int64 `json:"PolicyIds,omitnil,omitempty" name:"PolicyIds"` // 站点集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 分页查询的限制数目,默认值为20,最大查询条目为1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 展示攻击详情的参数,若填false,默认只返回攻击次数,不返回攻击详情;若填true,返回攻击详情。 ShowDetail *bool `json:"ShowDetail,omitnil,omitempty" name:"ShowDetail"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据;</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 排序字段,取值有: // <li>MaxBandWidth:带宽峰值;</li> // <li>AttackStartTime:攻击开始时间。</li>不填默认值为:AttackStartTime。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,取值有: // <li>asc:升序方式;</li> // <li>desc:降序方式。</li>不填默认值为:desc。 OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` }
func NewDescribeDDoSAttackEventRequest ¶
func NewDescribeDDoSAttackEventRequest() (request *DescribeDDoSAttackEventRequest)
func (*DescribeDDoSAttackEventRequest) FromJsonString ¶
func (r *DescribeDDoSAttackEventRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackEventRequest) ToJsonString ¶
func (r *DescribeDDoSAttackEventRequest) ToJsonString() string
type DescribeDDoSAttackEventRequestParams ¶
type DescribeDDoSAttackEventRequestParams struct { // 开始时间,时间范围为 30 天。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间,时间范围为 30 天。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // ddos策略组集合,不填默认选择全部策略。 PolicyIds []*int64 `json:"PolicyIds,omitnil,omitempty" name:"PolicyIds"` // 站点集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 分页查询的限制数目,默认值为20,最大查询条目为1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页的偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 展示攻击详情的参数,若填false,默认只返回攻击次数,不返回攻击详情;若填true,返回攻击详情。 ShowDetail *bool `json:"ShowDetail,omitnil,omitempty" name:"ShowDetail"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据;</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 排序字段,取值有: // <li>MaxBandWidth:带宽峰值;</li> // <li>AttackStartTime:攻击开始时间。</li>不填默认值为:AttackStartTime。 OrderBy *string `json:"OrderBy,omitnil,omitempty" name:"OrderBy"` // 排序方式,取值有: // <li>asc:升序方式;</li> // <li>desc:降序方式。</li>不填默认值为:desc。 OrderType *string `json:"OrderType,omitnil,omitempty" name:"OrderType"` }
Predefined struct for user
type DescribeDDoSAttackEventResponse ¶
type DescribeDDoSAttackEventResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackEventResponseParams `json:"Response"` }
func NewDescribeDDoSAttackEventResponse ¶
func NewDescribeDDoSAttackEventResponse() (response *DescribeDDoSAttackEventResponse)
func (*DescribeDDoSAttackEventResponse) FromJsonString ¶
func (r *DescribeDDoSAttackEventResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackEventResponse) ToJsonString ¶
func (r *DescribeDDoSAttackEventResponse) ToJsonString() string
type DescribeDDoSAttackEventResponseParams ¶
type DescribeDDoSAttackEventResponseParams struct { // DDOS攻击事件数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*DDoSAttackEvent `json:"Data,omitnil,omitempty" name:"Data"` // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDDoSAttackTopDataRequest ¶
type DescribeDDoSAttackTopDataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的统计指标,取值有: // <li>ddos_attackFlux_protocol:按各协议的攻击流量排行;</li> // <li>ddos_attackPackageNum_protocol:按各协议的攻击包量排行;</li> // <li>ddos_attackNum_attackType:按各攻击类型的攻击数量排行;</li> // <li>ddos_attackNum_sregion:按攻击源地区的攻击数量排行;</li> // <li>ddos_attackFlux_sip:按攻击源IP的攻击数量排行;</li> // <li>ddos_attackFlux_sregion:按攻击源地区的攻击数量排行。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 站点ID集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // DDoS策略组ID集合,不填默认选择全部策略ID。 PolicyIds []*int64 `json:"PolicyIds,omitnil,omitempty" name:"PolicyIds"` // 攻击类型,取值有: // <li>flood:洪泛攻击;</li> // <li>icmpFlood:icmp洪泛攻击;</li> // <li>all:所有的攻击类型。</li>不填默认为all,表示查询全部攻击类型。 AttackType *string `json:"AttackType,omitnil,omitempty" name:"AttackType"` // 协议类型,取值有: // <li>tcp:tcp协议;</li> // <li>udp:udp协议;</li> // <li>all:所有的协议类型。</li>不填默认为all,表示查询所有协议。 ProtocolType *string `json:"ProtocolType,omitnil,omitempty" name:"ProtocolType"` // 端口号。 Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeDDoSAttackTopDataRequest ¶
func NewDescribeDDoSAttackTopDataRequest() (request *DescribeDDoSAttackTopDataRequest)
func (*DescribeDDoSAttackTopDataRequest) FromJsonString ¶
func (r *DescribeDDoSAttackTopDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackTopDataRequest) ToJsonString ¶
func (r *DescribeDDoSAttackTopDataRequest) ToJsonString() string
type DescribeDDoSAttackTopDataRequestParams ¶
type DescribeDDoSAttackTopDataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的统计指标,取值有: // <li>ddos_attackFlux_protocol:按各协议的攻击流量排行;</li> // <li>ddos_attackPackageNum_protocol:按各协议的攻击包量排行;</li> // <li>ddos_attackNum_attackType:按各攻击类型的攻击数量排行;</li> // <li>ddos_attackNum_sregion:按攻击源地区的攻击数量排行;</li> // <li>ddos_attackFlux_sip:按攻击源IP的攻击数量排行;</li> // <li>ddos_attackFlux_sregion:按攻击源地区的攻击数量排行。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 站点ID集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // DDoS策略组ID集合,不填默认选择全部策略ID。 PolicyIds []*int64 `json:"PolicyIds,omitnil,omitempty" name:"PolicyIds"` // 攻击类型,取值有: // <li>flood:洪泛攻击;</li> // <li>icmpFlood:icmp洪泛攻击;</li> // <li>all:所有的攻击类型。</li>不填默认为all,表示查询全部攻击类型。 AttackType *string `json:"AttackType,omitnil,omitempty" name:"AttackType"` // 协议类型,取值有: // <li>tcp:tcp协议;</li> // <li>udp:udp协议;</li> // <li>all:所有的协议类型。</li>不填默认为all,表示查询所有协议。 ProtocolType *string `json:"ProtocolType,omitnil,omitempty" name:"ProtocolType"` // 端口号。 Port *int64 `json:"Port,omitnil,omitempty" name:"Port"` // 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeDDoSAttackTopDataResponse ¶
type DescribeDDoSAttackTopDataResponse struct { *tchttp.BaseResponse Response *DescribeDDoSAttackTopDataResponseParams `json:"Response"` }
func NewDescribeDDoSAttackTopDataResponse ¶
func NewDescribeDDoSAttackTopDataResponse() (response *DescribeDDoSAttackTopDataResponse)
func (*DescribeDDoSAttackTopDataResponse) FromJsonString ¶
func (r *DescribeDDoSAttackTopDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDDoSAttackTopDataResponse) ToJsonString ¶
func (r *DescribeDDoSAttackTopDataResponse) ToJsonString() string
type DescribeDDoSAttackTopDataResponseParams ¶
type DescribeDDoSAttackTopDataResponseParams struct { // DDoS攻击Top数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TopEntry `json:"Data,omitnil,omitempty" name:"Data"` // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDefaultCertificatesRequest ¶
type DescribeDefaultCertificatesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values的上限为5。详细的过滤条件如下: // <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是 </li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeDefaultCertificatesRequest ¶
func NewDescribeDefaultCertificatesRequest() (request *DescribeDefaultCertificatesRequest)
func (*DescribeDefaultCertificatesRequest) FromJsonString ¶
func (r *DescribeDefaultCertificatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultCertificatesRequest) ToJsonString ¶
func (r *DescribeDefaultCertificatesRequest) ToJsonString() string
type DescribeDefaultCertificatesRequestParams ¶
type DescribeDefaultCertificatesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values的上限为5。详细的过滤条件如下: // <li>zone-id<br> 按照【<strong>站点ID</strong>】进行过滤。站点ID形如:zone-xxx。<br> 类型:String<br> 必选:是 </li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeDefaultCertificatesResponse ¶
type DescribeDefaultCertificatesResponse struct { *tchttp.BaseResponse Response *DescribeDefaultCertificatesResponseParams `json:"Response"` }
func NewDescribeDefaultCertificatesResponse ¶
func NewDescribeDefaultCertificatesResponse() (response *DescribeDefaultCertificatesResponse)
func (*DescribeDefaultCertificatesResponse) FromJsonString ¶
func (r *DescribeDefaultCertificatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDefaultCertificatesResponse) ToJsonString ¶
func (r *DescribeDefaultCertificatesResponse) ToJsonString() string
type DescribeDefaultCertificatesResponseParams ¶
type DescribeDefaultCertificatesResponseParams struct { // 证书总数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 默认证书列表。 DefaultServerCertInfo []*DefaultServerCertInfo `json:"DefaultServerCertInfo,omitnil,omitempty" name:"DefaultServerCertInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDeployHistoryRequest ¶ added in v1.0.803
type DescribeDeployHistoryRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 环境 ID。 EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` // 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下: // <li>record-id:按照发布记录 ID 进行过滤进行过滤。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeDeployHistoryRequest ¶ added in v1.0.803
func NewDescribeDeployHistoryRequest() (request *DescribeDeployHistoryRequest)
func (*DescribeDeployHistoryRequest) FromJsonString ¶ added in v1.0.803
func (r *DescribeDeployHistoryRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeployHistoryRequest) ToJsonString ¶ added in v1.0.803
func (r *DescribeDeployHistoryRequest) ToJsonString() string
type DescribeDeployHistoryRequestParams ¶ added in v1.0.803
type DescribeDeployHistoryRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 环境 ID。 EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` // 过滤条件,Filters.Values 的上限为 20,详细的过滤条件如下: // <li>record-id:按照发布记录 ID 进行过滤进行过滤。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeDeployHistoryResponse ¶ added in v1.0.803
type DescribeDeployHistoryResponse struct { *tchttp.BaseResponse Response *DescribeDeployHistoryResponseParams `json:"Response"` }
func NewDescribeDeployHistoryResponse ¶ added in v1.0.803
func NewDescribeDeployHistoryResponse() (response *DescribeDeployHistoryResponse)
func (*DescribeDeployHistoryResponse) FromJsonString ¶ added in v1.0.803
func (r *DescribeDeployHistoryResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDeployHistoryResponse) ToJsonString ¶ added in v1.0.803
func (r *DescribeDeployHistoryResponse) ToJsonString() string
type DescribeDeployHistoryResponseParams ¶ added in v1.0.803
type DescribeDeployHistoryResponseParams struct { // 发布记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 发布记录详情。 Records []*DeployRecord `json:"Records,omitnil,omitempty" name:"Records"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeEnvironmentsRequest ¶ added in v1.0.803
type DescribeEnvironmentsRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
func NewDescribeEnvironmentsRequest ¶ added in v1.0.803
func NewDescribeEnvironmentsRequest() (request *DescribeEnvironmentsRequest)
func (*DescribeEnvironmentsRequest) FromJsonString ¶ added in v1.0.803
func (r *DescribeEnvironmentsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsRequest) ToJsonString ¶ added in v1.0.803
func (r *DescribeEnvironmentsRequest) ToJsonString() string
type DescribeEnvironmentsRequestParams ¶ added in v1.0.803
type DescribeEnvironmentsRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeEnvironmentsResponse ¶ added in v1.0.803
type DescribeEnvironmentsResponse struct { *tchttp.BaseResponse Response *DescribeEnvironmentsResponseParams `json:"Response"` }
func NewDescribeEnvironmentsResponse ¶ added in v1.0.803
func NewDescribeEnvironmentsResponse() (response *DescribeEnvironmentsResponse)
func (*DescribeEnvironmentsResponse) FromJsonString ¶ added in v1.0.803
func (r *DescribeEnvironmentsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeEnvironmentsResponse) ToJsonString ¶ added in v1.0.803
func (r *DescribeEnvironmentsResponse) ToJsonString() string
type DescribeEnvironmentsResponseParams ¶ added in v1.0.803
type DescribeEnvironmentsResponseParams struct { // 环境总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 环境列表。 EnvInfos []*EnvInfo `json:"EnvInfos,omitnil,omitempty" name:"EnvInfos"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFunctionRulesRequest ¶ added in v1.0.1013
type DescribeFunctionRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下: // <li>rule-id:按照【规则 ID】进行精确匹配。</li> // <li>function-id:按照【函数 ID】进行精确匹配。</li> // <li>remark:按照【规则描述】进行模糊匹配。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeFunctionRulesRequest ¶ added in v1.0.1013
func NewDescribeFunctionRulesRequest() (request *DescribeFunctionRulesRequest)
func (*DescribeFunctionRulesRequest) FromJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFunctionRulesRequest) ToJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRulesRequest) ToJsonString() string
type DescribeFunctionRulesRequestParams ¶ added in v1.0.1013
type DescribeFunctionRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下: // <li>rule-id:按照【规则 ID】进行精确匹配。</li> // <li>function-id:按照【函数 ID】进行精确匹配。</li> // <li>remark:按照【规则描述】进行模糊匹配。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeFunctionRulesResponse ¶ added in v1.0.1013
type DescribeFunctionRulesResponse struct { *tchttp.BaseResponse Response *DescribeFunctionRulesResponseParams `json:"Response"` }
func NewDescribeFunctionRulesResponse ¶ added in v1.0.1013
func NewDescribeFunctionRulesResponse() (response *DescribeFunctionRulesResponse)
func (*DescribeFunctionRulesResponse) FromJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFunctionRulesResponse) ToJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRulesResponse) ToJsonString() string
type DescribeFunctionRulesResponseParams ¶ added in v1.0.1013
type DescribeFunctionRulesResponseParams struct { // 规则详情列表。 FunctionRules []*FunctionRule `json:"FunctionRules,omitnil,omitempty" name:"FunctionRules"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFunctionRuntimeEnvironmentRequest ¶ added in v1.0.1013
type DescribeFunctionRuntimeEnvironmentRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` }
func NewDescribeFunctionRuntimeEnvironmentRequest ¶ added in v1.0.1013
func NewDescribeFunctionRuntimeEnvironmentRequest() (request *DescribeFunctionRuntimeEnvironmentRequest)
func (*DescribeFunctionRuntimeEnvironmentRequest) FromJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRuntimeEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFunctionRuntimeEnvironmentRequest) ToJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRuntimeEnvironmentRequest) ToJsonString() string
type DescribeFunctionRuntimeEnvironmentRequestParams ¶ added in v1.0.1013
type DescribeFunctionRuntimeEnvironmentRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` }
Predefined struct for user
type DescribeFunctionRuntimeEnvironmentResponse ¶ added in v1.0.1013
type DescribeFunctionRuntimeEnvironmentResponse struct { *tchttp.BaseResponse Response *DescribeFunctionRuntimeEnvironmentResponseParams `json:"Response"` }
func NewDescribeFunctionRuntimeEnvironmentResponse ¶ added in v1.0.1013
func NewDescribeFunctionRuntimeEnvironmentResponse() (response *DescribeFunctionRuntimeEnvironmentResponse)
func (*DescribeFunctionRuntimeEnvironmentResponse) FromJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRuntimeEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFunctionRuntimeEnvironmentResponse) ToJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionRuntimeEnvironmentResponse) ToJsonString() string
type DescribeFunctionRuntimeEnvironmentResponseParams ¶ added in v1.0.1013
type DescribeFunctionRuntimeEnvironmentResponseParams struct { // 环境变量列表。 EnvironmentVariables []*FunctionEnvironmentVariable `json:"EnvironmentVariables,omitnil,omitempty" name:"EnvironmentVariables"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFunctionsRequest ¶ added in v1.0.1013
type DescribeFunctionsRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 按照函数 ID 列表过滤。 FunctionIds []*string `json:"FunctionIds,omitnil,omitempty" name:"FunctionIds"` // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下: // <li>name:按照【函数名称】进行模糊匹配。</li> // <li>remark:按照【函数描述】进行模糊匹配。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:200。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeFunctionsRequest ¶ added in v1.0.1013
func NewDescribeFunctionsRequest() (request *DescribeFunctionsRequest)
func (*DescribeFunctionsRequest) FromJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFunctionsRequest) ToJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionsRequest) ToJsonString() string
type DescribeFunctionsRequestParams ¶ added in v1.0.1013
type DescribeFunctionsRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 按照函数 ID 列表过滤。 FunctionIds []*string `json:"FunctionIds,omitnil,omitempty" name:"FunctionIds"` // 过滤条件列表,多个条件为且关系,Filters.Values 的上限为 20。详细的过滤条件如下: // <li>name:按照【函数名称】进行模糊匹配。</li> // <li>remark:按照【函数描述】进行模糊匹配。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:200。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeFunctionsResponse ¶ added in v1.0.1013
type DescribeFunctionsResponse struct { *tchttp.BaseResponse Response *DescribeFunctionsResponseParams `json:"Response"` }
func NewDescribeFunctionsResponse ¶ added in v1.0.1013
func NewDescribeFunctionsResponse() (response *DescribeFunctionsResponse)
func (*DescribeFunctionsResponse) FromJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFunctionsResponse) ToJsonString ¶ added in v1.0.1013
func (r *DescribeFunctionsResponse) ToJsonString() string
type DescribeFunctionsResponseParams ¶ added in v1.0.1013
type DescribeFunctionsResponseParams struct { // 符合查询条件的函数总数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 符合查询条件的所有函数信息。 Functions []*Function `json:"Functions,omitnil,omitempty" name:"Functions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHostsSettingRequest ¶
type DescribeHostsSettingRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量。默认值: 0,最小值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值: 100,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>host:按照域名进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeHostsSettingRequest ¶
func NewDescribeHostsSettingRequest() (request *DescribeHostsSettingRequest)
func (*DescribeHostsSettingRequest) FromJsonString ¶
func (r *DescribeHostsSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsSettingRequest) ToJsonString ¶
func (r *DescribeHostsSettingRequest) ToJsonString() string
type DescribeHostsSettingRequestParams ¶
type DescribeHostsSettingRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量。默认值: 0,最小值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值: 100,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>host:按照域名进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeHostsSettingResponse ¶
type DescribeHostsSettingResponse struct { *tchttp.BaseResponse Response *DescribeHostsSettingResponseParams `json:"Response"` }
func NewDescribeHostsSettingResponse ¶
func NewDescribeHostsSettingResponse() (response *DescribeHostsSettingResponse)
func (*DescribeHostsSettingResponse) FromJsonString ¶
func (r *DescribeHostsSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHostsSettingResponse) ToJsonString ¶
func (r *DescribeHostsSettingResponse) ToJsonString() string
type DescribeHostsSettingResponseParams ¶
type DescribeHostsSettingResponseParams struct { // 域名列表。 DetailHosts []*DetailHost `json:"DetailHosts,omitnil,omitempty" name:"DetailHosts"` // 域名数量。 TotalNumber *int64 `json:"TotalNumber,omitnil,omitempty" name:"TotalNumber"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIPRegionRequest ¶ added in v1.0.813
type DescribeIPRegionRequest struct { *tchttp.BaseRequest // 待查询的 IP 列表,支持 IPV4 和 IPV6,最大可查询 100 条。 IPs []*string `json:"IPs,omitnil,omitempty" name:"IPs"` }
func NewDescribeIPRegionRequest ¶ added in v1.0.813
func NewDescribeIPRegionRequest() (request *DescribeIPRegionRequest)
func (*DescribeIPRegionRequest) FromJsonString ¶ added in v1.0.813
func (r *DescribeIPRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIPRegionRequest) ToJsonString ¶ added in v1.0.813
func (r *DescribeIPRegionRequest) ToJsonString() string
type DescribeIPRegionRequestParams ¶ added in v1.0.813
type DescribeIPRegionRequestParams struct { // 待查询的 IP 列表,支持 IPV4 和 IPV6,最大可查询 100 条。 IPs []*string `json:"IPs,omitnil,omitempty" name:"IPs"` }
Predefined struct for user
type DescribeIPRegionResponse ¶ added in v1.0.813
type DescribeIPRegionResponse struct { *tchttp.BaseResponse Response *DescribeIPRegionResponseParams `json:"Response"` }
func NewDescribeIPRegionResponse ¶ added in v1.0.813
func NewDescribeIPRegionResponse() (response *DescribeIPRegionResponse)
func (*DescribeIPRegionResponse) FromJsonString ¶ added in v1.0.813
func (r *DescribeIPRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIPRegionResponse) ToJsonString ¶ added in v1.0.813
func (r *DescribeIPRegionResponse) ToJsonString() string
type DescribeIPRegionResponseParams ¶ added in v1.0.813
type DescribeIPRegionResponseParams struct { // IP 归属信息列表。 IPRegionInfo []*IPRegionInfo `json:"IPRegionInfo,omitnil,omitempty" name:"IPRegionInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeIdentificationsRequest ¶
type DescribeIdentificationsRequest struct { *tchttp.BaseRequest // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>zone-name:按照站点名称进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeIdentificationsRequest ¶
func NewDescribeIdentificationsRequest() (request *DescribeIdentificationsRequest)
func (*DescribeIdentificationsRequest) FromJsonString ¶
func (r *DescribeIdentificationsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdentificationsRequest) ToJsonString ¶
func (r *DescribeIdentificationsRequest) ToJsonString() string
type DescribeIdentificationsRequestParams ¶
type DescribeIdentificationsRequestParams struct { // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>zone-name:按照站点名称进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeIdentificationsResponse ¶
type DescribeIdentificationsResponse struct { *tchttp.BaseResponse Response *DescribeIdentificationsResponseParams `json:"Response"` }
func NewDescribeIdentificationsResponse ¶
func NewDescribeIdentificationsResponse() (response *DescribeIdentificationsResponse)
func (*DescribeIdentificationsResponse) FromJsonString ¶
func (r *DescribeIdentificationsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeIdentificationsResponse) ToJsonString ¶
func (r *DescribeIdentificationsResponse) ToJsonString() string
type DescribeIdentificationsResponseParams ¶
type DescribeIdentificationsResponseParams struct { // 符合条件的站点个数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 站点验证信息列表。 Identifications []*Identification `json:"Identifications,omitnil,omitempty" name:"Identifications"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeL4ProxyRequest ¶ added in v1.0.850
type DescribeL4ProxyRequest struct { *tchttp.BaseRequest // 四层代理实例所属站点的 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,不填写时默认为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下: // <li>proxy-id:按照四层代理实例 ID 进行过滤;</li> // <li>ddos-protection-type:按照安全防护类型进行过滤。</li> // Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeL4ProxyRequest ¶ added in v1.0.850
func NewDescribeL4ProxyRequest() (request *DescribeL4ProxyRequest)
func (*DescribeL4ProxyRequest) FromJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4ProxyRequest) ToJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyRequest) ToJsonString() string
type DescribeL4ProxyRequestParams ¶ added in v1.0.850
type DescribeL4ProxyRequestParams struct { // 四层代理实例所属站点的 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,不填写时默认为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有四层代理实例信息。详细的过滤条件如下: // <li>proxy-id:按照四层代理实例 ID 进行过滤;</li> // <li>ddos-protection-type:按照安全防护类型进行过滤。</li> // Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeL4ProxyResponse ¶ added in v1.0.850
type DescribeL4ProxyResponse struct { *tchttp.BaseResponse Response *DescribeL4ProxyResponseParams `json:"Response"` }
func NewDescribeL4ProxyResponse ¶ added in v1.0.850
func NewDescribeL4ProxyResponse() (response *DescribeL4ProxyResponse)
func (*DescribeL4ProxyResponse) FromJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4ProxyResponse) ToJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyResponse) ToJsonString() string
type DescribeL4ProxyResponseParams ¶ added in v1.0.850
type DescribeL4ProxyResponseParams struct { // 四层代理实例的数量。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 四层代理实例列表。 L4Proxies []*L4Proxy `json:"L4Proxies,omitnil,omitempty" name:"L4Proxies"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeL4ProxyRulesRequest ¶ added in v1.0.850
type DescribeL4ProxyRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 分页查询偏移量,不填写时默认为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。不填写时返回当前四层实例下所有的规则信息,详细的过滤条件如下: <li>rule-id:按照规则 ID 对四层代理实例下的规则进行过滤。规则 ID 形如:rule-31vv7qig0vjy;</li> <li>rule-tag:按照规则标签对四层代理实例下的规则进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeL4ProxyRulesRequest ¶ added in v1.0.850
func NewDescribeL4ProxyRulesRequest() (request *DescribeL4ProxyRulesRequest)
func (*DescribeL4ProxyRulesRequest) FromJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4ProxyRulesRequest) ToJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyRulesRequest) ToJsonString() string
type DescribeL4ProxyRulesRequestParams ¶ added in v1.0.850
type DescribeL4ProxyRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 分页查询偏移量,不填写时默认为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。不填写时返回当前四层实例下所有的规则信息,详细的过滤条件如下: <li>rule-id:按照规则 ID 对四层代理实例下的规则进行过滤。规则 ID 形如:rule-31vv7qig0vjy;</li> <li>rule-tag:按照规则标签对四层代理实例下的规则进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeL4ProxyRulesResponse ¶ added in v1.0.850
type DescribeL4ProxyRulesResponse struct { *tchttp.BaseResponse Response *DescribeL4ProxyRulesResponseParams `json:"Response"` }
func NewDescribeL4ProxyRulesResponse ¶ added in v1.0.850
func NewDescribeL4ProxyRulesResponse() (response *DescribeL4ProxyRulesResponse)
func (*DescribeL4ProxyRulesResponse) FromJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeL4ProxyRulesResponse) ToJsonString ¶ added in v1.0.850
func (r *DescribeL4ProxyRulesResponse) ToJsonString() string
type DescribeL4ProxyRulesResponseParams ¶ added in v1.0.850
type DescribeL4ProxyRulesResponseParams struct { // 转发规则总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 转发规则列表。 L4ProxyRules []*L4ProxyRule `json:"L4ProxyRules,omitnil,omitempty" name:"L4ProxyRules"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeLoadBalancerListRequest ¶ added in v1.0.1031
type DescribeLoadBalancerListRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,默认为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,最大值:100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有负载均衡实例信息。详细的过滤条件如下: // <li>InstanceName:按照负载均衡实例名称进行过滤;</li> // <li>InstanceId:按照负载均衡实例 ID 进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeLoadBalancerListRequest ¶ added in v1.0.1031
func NewDescribeLoadBalancerListRequest() (request *DescribeLoadBalancerListRequest)
func (*DescribeLoadBalancerListRequest) FromJsonString ¶ added in v1.0.1031
func (r *DescribeLoadBalancerListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerListRequest) ToJsonString ¶ added in v1.0.1031
func (r *DescribeLoadBalancerListRequest) ToJsonString() string
type DescribeLoadBalancerListRequestParams ¶ added in v1.0.1031
type DescribeLoadBalancerListRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,默认为 0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,最大值:100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有负载均衡实例信息。详细的过滤条件如下: // <li>InstanceName:按照负载均衡实例名称进行过滤;</li> // <li>InstanceId:按照负载均衡实例 ID 进行过滤。</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeLoadBalancerListResponse ¶ added in v1.0.1031
type DescribeLoadBalancerListResponse struct { *tchttp.BaseResponse Response *DescribeLoadBalancerListResponseParams `json:"Response"` }
func NewDescribeLoadBalancerListResponse ¶ added in v1.0.1031
func NewDescribeLoadBalancerListResponse() (response *DescribeLoadBalancerListResponse)
func (*DescribeLoadBalancerListResponse) FromJsonString ¶ added in v1.0.1031
func (r *DescribeLoadBalancerListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeLoadBalancerListResponse) ToJsonString ¶ added in v1.0.1031
func (r *DescribeLoadBalancerListResponse) ToJsonString() string
type DescribeLoadBalancerListResponseParams ¶ added in v1.0.1031
type DescribeLoadBalancerListResponseParams struct { // 负载均衡实例总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 负载均衡实例列表。 LoadBalancerList []*LoadBalancer `json:"LoadBalancerList,omitnil,omitempty" name:"LoadBalancerList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOriginGroupHealthStatusRequest ¶ added in v1.0.1031
type DescribeOriginGroupHealthStatusRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 负载均衡实例 ID。 LBInstanceId *string `json:"LBInstanceId,omitnil,omitempty" name:"LBInstanceId"` // 源站组 ID。不填写时默认获取负载均衡下所有源站组的健康状态。 OriginGroupIds []*string `json:"OriginGroupIds,omitnil,omitempty" name:"OriginGroupIds"` }
func NewDescribeOriginGroupHealthStatusRequest ¶ added in v1.0.1031
func NewDescribeOriginGroupHealthStatusRequest() (request *DescribeOriginGroupHealthStatusRequest)
func (*DescribeOriginGroupHealthStatusRequest) FromJsonString ¶ added in v1.0.1031
func (r *DescribeOriginGroupHealthStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupHealthStatusRequest) ToJsonString ¶ added in v1.0.1031
func (r *DescribeOriginGroupHealthStatusRequest) ToJsonString() string
type DescribeOriginGroupHealthStatusRequestParams ¶ added in v1.0.1031
type DescribeOriginGroupHealthStatusRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 负载均衡实例 ID。 LBInstanceId *string `json:"LBInstanceId,omitnil,omitempty" name:"LBInstanceId"` // 源站组 ID。不填写时默认获取负载均衡下所有源站组的健康状态。 OriginGroupIds []*string `json:"OriginGroupIds,omitnil,omitempty" name:"OriginGroupIds"` }
Predefined struct for user
type DescribeOriginGroupHealthStatusResponse ¶ added in v1.0.1031
type DescribeOriginGroupHealthStatusResponse struct { *tchttp.BaseResponse Response *DescribeOriginGroupHealthStatusResponseParams `json:"Response"` }
func NewDescribeOriginGroupHealthStatusResponse ¶ added in v1.0.1031
func NewDescribeOriginGroupHealthStatusResponse() (response *DescribeOriginGroupHealthStatusResponse)
func (*DescribeOriginGroupHealthStatusResponse) FromJsonString ¶ added in v1.0.1031
func (r *DescribeOriginGroupHealthStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupHealthStatusResponse) ToJsonString ¶ added in v1.0.1031
func (r *DescribeOriginGroupHealthStatusResponse) ToJsonString() string
type DescribeOriginGroupHealthStatusResponseParams ¶ added in v1.0.1031
type DescribeOriginGroupHealthStatusResponseParams struct { // 源站组下源站的健康状态。 OriginGroupHealthStatusList []*OriginGroupHealthStatusDetail `json:"OriginGroupHealthStatusList,omitnil,omitempty" name:"OriginGroupHealthStatusList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOriginGroupRequest ¶
type DescribeOriginGroupRequest struct { *tchttp.BaseRequest // 站点ID,此参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,不填默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,不填默认为20,取值:1-1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 模糊查询:不支持</li><li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeOriginGroupRequest ¶
func NewDescribeOriginGroupRequest() (request *DescribeOriginGroupRequest)
func (*DescribeOriginGroupRequest) FromJsonString ¶
func (r *DescribeOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupRequest) ToJsonString ¶
func (r *DescribeOriginGroupRequest) ToJsonString() string
type DescribeOriginGroupRequestParams ¶
type DescribeOriginGroupRequestParams struct { // 站点ID,此参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量,不填默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,不填默认为20,取值:1-1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>origin-group-id<br> 按照【<strong>源站组ID</strong>】进行过滤。源站组ID形如:origin-2ccgtb24-7dc5-46s2-9r3e-95825d53dwe3a<br> 模糊查询:不支持</li><li>origin-group-name<br> 按照【<strong>源站组名称</strong>】进行过滤<br> 模糊查询:支持。使用模糊查询时,仅支持填写一个源站组名称</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeOriginGroupResponse ¶
type DescribeOriginGroupResponse struct { *tchttp.BaseResponse Response *DescribeOriginGroupResponseParams `json:"Response"` }
func NewDescribeOriginGroupResponse ¶
func NewDescribeOriginGroupResponse() (response *DescribeOriginGroupResponse)
func (*DescribeOriginGroupResponse) FromJsonString ¶
func (r *DescribeOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginGroupResponse) ToJsonString ¶
func (r *DescribeOriginGroupResponse) ToJsonString() string
type DescribeOriginGroupResponseParams ¶
type DescribeOriginGroupResponseParams struct { // 记录总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 源站组信息。 OriginGroups []*OriginGroup `json:"OriginGroups,omitnil,omitempty" name:"OriginGroups"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOriginProtectionRequest ¶ added in v1.0.570
type DescribeOriginProtectionRequest struct { *tchttp.BaseRequest // 查询的站点ID集合。该参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>need-update<br> 按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:需要更新<br> false:无需更新<br></li> // <li>plan-support<br> 按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:支持<br> false:不支持<br></li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量,默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeOriginProtectionRequest ¶ added in v1.0.570
func NewDescribeOriginProtectionRequest() (request *DescribeOriginProtectionRequest)
func (*DescribeOriginProtectionRequest) FromJsonString ¶ added in v1.0.570
func (r *DescribeOriginProtectionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginProtectionRequest) ToJsonString ¶ added in v1.0.570
func (r *DescribeOriginProtectionRequest) ToJsonString() string
type DescribeOriginProtectionRequestParams ¶ added in v1.0.570
type DescribeOriginProtectionRequestParams struct { // 查询的站点ID集合。该参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>need-update<br> 按照【<strong>站点是否需要更新源站防护IP白名单</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:需要更新<br> false:无需更新<br></li> // <li>plan-support<br> 按照【<strong>站点套餐是否支持源站防护</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> true:支持<br> false:不支持<br></li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 分页查询偏移量,默认为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeOriginProtectionResponse ¶ added in v1.0.570
type DescribeOriginProtectionResponse struct { *tchttp.BaseResponse Response *DescribeOriginProtectionResponseParams `json:"Response"` }
func NewDescribeOriginProtectionResponse ¶ added in v1.0.570
func NewDescribeOriginProtectionResponse() (response *DescribeOriginProtectionResponse)
func (*DescribeOriginProtectionResponse) FromJsonString ¶ added in v1.0.570
func (r *DescribeOriginProtectionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOriginProtectionResponse) ToJsonString ¶ added in v1.0.570
func (r *DescribeOriginProtectionResponse) ToJsonString() string
type DescribeOriginProtectionResponseParams ¶ added in v1.0.570
type DescribeOriginProtectionResponseParams struct { // 源站防护信息。 // 注意:此字段可能返回 null,表示取不到有效值。 OriginProtectionInfo []*OriginProtectionInfo `json:"OriginProtectionInfo,omitnil,omitempty" name:"OriginProtectionInfo"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeOverviewL7DataRequest ¶
type DescribeOverviewL7DataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li>l7Flow_outFlux: Edegone响应流量;</li> // <li>l7Flow_inFlux: Edgeone请求流量;</li> // <li>l7Flow_outBandwidth: Edegone响应带宽;</li> // <li>l7Flow_inBandwidth: Edegone请求带宽;</li> // <li>l7Flow_hit_outFlux: 缓存命中流量;</li> // <li>l7Flow_request: 访问请求数;</li> // <li>l7Flow_flux: 访问请求上行+下行流量;</li> // <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询的域名集合,此参数已经废弃。 Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // 查询的协议类型,取值有: // <li>http: http协议;</li> // <li>https: https协议;</li> // <li>http2: http2协议;</li> // <li>all: 所有协议。</li>不填默认为all,此参数暂未生效。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 查询时间粒度,取值有: // <li>min:1分钟;</li> // <li>5min:5分钟;</li> // <li>hour:1小时;</li> // <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件Key值如下: // <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li> // <li>domain<br> 按照【<strong>域名</strong>】进行过滤。</li> // <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li> // <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeOverviewL7DataRequest ¶
func NewDescribeOverviewL7DataRequest() (request *DescribeOverviewL7DataRequest)
func (*DescribeOverviewL7DataRequest) FromJsonString ¶
func (r *DescribeOverviewL7DataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOverviewL7DataRequest) ToJsonString ¶
func (r *DescribeOverviewL7DataRequest) ToJsonString() string
type DescribeOverviewL7DataRequestParams ¶
type DescribeOverviewL7DataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li>l7Flow_outFlux: Edegone响应流量;</li> // <li>l7Flow_inFlux: Edgeone请求流量;</li> // <li>l7Flow_outBandwidth: Edegone响应带宽;</li> // <li>l7Flow_inBandwidth: Edegone请求带宽;</li> // <li>l7Flow_hit_outFlux: 缓存命中流量;</li> // <li>l7Flow_request: 访问请求数;</li> // <li>l7Flow_flux: 访问请求上行+下行流量;</li> // <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询的域名集合,此参数已经废弃。 Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // 查询的协议类型,取值有: // <li>http: http协议;</li> // <li>https: https协议;</li> // <li>http2: http2协议;</li> // <li>all: 所有协议。</li>不填默认为all,此参数暂未生效。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 查询时间粒度,取值有: // <li>min:1分钟;</li> // <li>5min:5分钟;</li> // <li>hour:1小时;</li> // <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件Key值如下: // <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li> // <li>domain<br> 按照【<strong>域名</strong>】进行过滤。</li> // <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li> // <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeOverviewL7DataResponse ¶
type DescribeOverviewL7DataResponse struct { *tchttp.BaseResponse Response *DescribeOverviewL7DataResponseParams `json:"Response"` }
func NewDescribeOverviewL7DataResponse ¶
func NewDescribeOverviewL7DataResponse() (response *DescribeOverviewL7DataResponse)
func (*DescribeOverviewL7DataResponse) FromJsonString ¶
func (r *DescribeOverviewL7DataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeOverviewL7DataResponse) ToJsonString ¶
func (r *DescribeOverviewL7DataResponse) ToJsonString() string
type DescribeOverviewL7DataResponseParams ¶
type DescribeOverviewL7DataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 七层监控类时序流量数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TimingDataRecord `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePrefetchTasksRequest ¶
type DescribePrefetchTasksRequest struct { *tchttp.BaseRequest // 站点ID。该参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 查询起始时间,时间与 job-id 必填一个。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,时间与 job-id 必填一个。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 分页查询偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,上限:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:<li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li><li>target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;</li><li>domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;</li><li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时<br> invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribePrefetchTasksRequest ¶
func NewDescribePrefetchTasksRequest() (request *DescribePrefetchTasksRequest)
func (*DescribePrefetchTasksRequest) FromJsonString ¶
func (r *DescribePrefetchTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrefetchTasksRequest) ToJsonString ¶
func (r *DescribePrefetchTasksRequest) ToJsonString() string
type DescribePrefetchTasksRequestParams ¶
type DescribePrefetchTasksRequestParams struct { // 站点ID。该参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 查询起始时间,时间与 job-id 必填一个。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,时间与 job-id 必填一个。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 分页查询偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,上限:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:<li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li><li>target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;</li><li>domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;</li><li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时<br> invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribePrefetchTasksResponse ¶
type DescribePrefetchTasksResponse struct { *tchttp.BaseResponse Response *DescribePrefetchTasksResponseParams `json:"Response"` }
func NewDescribePrefetchTasksResponse ¶
func NewDescribePrefetchTasksResponse() (response *DescribePrefetchTasksResponse)
func (*DescribePrefetchTasksResponse) FromJsonString ¶
func (r *DescribePrefetchTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePrefetchTasksResponse) ToJsonString ¶
func (r *DescribePrefetchTasksResponse) ToJsonString() string
type DescribePrefetchTasksResponseParams ¶
type DescribePrefetchTasksResponseParams struct { // 该查询条件总共条目数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 任务结果列表。 Tasks []*Task `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribePurgeTasksRequest ¶
type DescribePurgeTasksRequest struct { *tchttp.BaseRequest // 站点 ID。该参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 查询起始时间,时间与 job-id 必填一个。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,时间与 job-id 必填一个。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 分页查询偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li> // <li>target:按照目标资源信息进行过滤,target 形如:http://www.qq.com/1.txt 或者 tag1,暂不支持多值,支持模糊查询;</li> // <li>domains:按照域名进行过滤,形如:www.qq.com,不支持模糊查询;</li> // <li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li> // <li>type:按照清除缓存类型进行过滤,暂不支持多值,不支持模糊查询。可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname<br> purge_cache_tag:CacheTag</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribePurgeTasksRequest ¶
func NewDescribePurgeTasksRequest() (request *DescribePurgeTasksRequest)
func (*DescribePurgeTasksRequest) FromJsonString ¶
func (r *DescribePurgeTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePurgeTasksRequest) ToJsonString ¶
func (r *DescribePurgeTasksRequest) ToJsonString() string
type DescribePurgeTasksRequestParams ¶
type DescribePurgeTasksRequestParams struct { // 站点 ID。该参数必填。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 查询起始时间,时间与 job-id 必填一个。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 查询结束时间,时间与 job-id 必填一个。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 分页查询偏移量,默认为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目,默认值:20,最大值:1000。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li> // <li>target:按照目标资源信息进行过滤,target 形如:http://www.qq.com/1.txt 或者 tag1,暂不支持多值,支持模糊查询;</li> // <li>domains:按照域名进行过滤,形如:www.qq.com,不支持模糊查询;</li> // <li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时</li> // <li>type:按照清除缓存类型进行过滤,暂不支持多值,不支持模糊查询。可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname<br> purge_cache_tag:CacheTag</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribePurgeTasksResponse ¶
type DescribePurgeTasksResponse struct { *tchttp.BaseResponse Response *DescribePurgeTasksResponseParams `json:"Response"` }
func NewDescribePurgeTasksResponse ¶
func NewDescribePurgeTasksResponse() (response *DescribePurgeTasksResponse)
func (*DescribePurgeTasksResponse) FromJsonString ¶
func (r *DescribePurgeTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribePurgeTasksResponse) ToJsonString ¶
func (r *DescribePurgeTasksResponse) ToJsonString() string
type DescribePurgeTasksResponseParams ¶
type DescribePurgeTasksResponseParams struct { // 该查询条件总共条目数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 任务结果列表。 Tasks []*Task `json:"Tasks,omitnil,omitempty" name:"Tasks"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRealtimeLogDeliveryTasksRequest ¶ added in v1.0.869
type DescribeRealtimeLogDeliveryTasksRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有实时日志投递任务信息。详细的过滤条件如下: // <li>task-id:按照实时日志投递任务 ID进行过滤。不支持模糊查询。</li> // <li>task-name:按照实时日志投递任务名称进行过滤。支持模糊查询,使用模糊查询时,仅支持填写一个实时日志投递任务名称。</li> // <li>entity-list:按照实时日志投递任务对应的实体进行过滤。不支持模糊查询。示例值:domain.example.com 或者 sid-2s69eb5wcms7。</li> // <li>task-type:按照实时日志投递任务类型进行过滤。不支持模糊查询。可选项如下:<br> cls: 推送到腾讯云 CLS;<br> custom_endpoint:推送到自定义 HTTP(S) 地址;<br> s3:推送到 AWS S3 兼容存储桶地址。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeRealtimeLogDeliveryTasksRequest ¶ added in v1.0.869
func NewDescribeRealtimeLogDeliveryTasksRequest() (request *DescribeRealtimeLogDeliveryTasksRequest)
func (*DescribeRealtimeLogDeliveryTasksRequest) FromJsonString ¶ added in v1.0.869
func (r *DescribeRealtimeLogDeliveryTasksRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealtimeLogDeliveryTasksRequest) ToJsonString ¶ added in v1.0.869
func (r *DescribeRealtimeLogDeliveryTasksRequest) ToJsonString() string
type DescribeRealtimeLogDeliveryTasksRequestParams ¶ added in v1.0.869
type DescribeRealtimeLogDeliveryTasksRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 zone-id 下所有实时日志投递任务信息。详细的过滤条件如下: // <li>task-id:按照实时日志投递任务 ID进行过滤。不支持模糊查询。</li> // <li>task-name:按照实时日志投递任务名称进行过滤。支持模糊查询,使用模糊查询时,仅支持填写一个实时日志投递任务名称。</li> // <li>entity-list:按照实时日志投递任务对应的实体进行过滤。不支持模糊查询。示例值:domain.example.com 或者 sid-2s69eb5wcms7。</li> // <li>task-type:按照实时日志投递任务类型进行过滤。不支持模糊查询。可选项如下:<br> cls: 推送到腾讯云 CLS;<br> custom_endpoint:推送到自定义 HTTP(S) 地址;<br> s3:推送到 AWS S3 兼容存储桶地址。</li> Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeRealtimeLogDeliveryTasksResponse ¶ added in v1.0.869
type DescribeRealtimeLogDeliveryTasksResponse struct { *tchttp.BaseResponse Response *DescribeRealtimeLogDeliveryTasksResponseParams `json:"Response"` }
func NewDescribeRealtimeLogDeliveryTasksResponse ¶ added in v1.0.869
func NewDescribeRealtimeLogDeliveryTasksResponse() (response *DescribeRealtimeLogDeliveryTasksResponse)
func (*DescribeRealtimeLogDeliveryTasksResponse) FromJsonString ¶ added in v1.0.869
func (r *DescribeRealtimeLogDeliveryTasksResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealtimeLogDeliveryTasksResponse) ToJsonString ¶ added in v1.0.869
func (r *DescribeRealtimeLogDeliveryTasksResponse) ToJsonString() string
type DescribeRealtimeLogDeliveryTasksResponseParams ¶ added in v1.0.869
type DescribeRealtimeLogDeliveryTasksResponseParams struct { // 符合查询条件的实时日志投递任务个数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 符合查询条件的所有实时日志投递任务列表。 RealtimeLogDeliveryTasks []*RealtimeLogDeliveryTask `json:"RealtimeLogDeliveryTasks,omitnil,omitempty" name:"RealtimeLogDeliveryTasks"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRulesRequest ¶
type DescribeRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>rule-id<br> 按照【<strong>规则ID</strong>】进行过滤。<br> 类型:string<br> 必选:否</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeRulesRequest ¶
func NewDescribeRulesRequest() (request *DescribeRulesRequest)
func (*DescribeRulesRequest) FromJsonString ¶
func (r *DescribeRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesRequest) ToJsonString ¶
func (r *DescribeRulesRequest) ToJsonString() string
type DescribeRulesRequestParams ¶
type DescribeRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 过滤条件,Filters.Values的上限为20。详细的过滤条件如下: // <li>rule-id<br> 按照【<strong>规则ID</strong>】进行过滤。<br> 类型:string<br> 必选:否</li> Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeRulesResponse ¶
type DescribeRulesResponse struct { *tchttp.BaseResponse Response *DescribeRulesResponseParams `json:"Response"` }
func NewDescribeRulesResponse ¶
func NewDescribeRulesResponse() (response *DescribeRulesResponse)
func (*DescribeRulesResponse) FromJsonString ¶
func (r *DescribeRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesResponse) ToJsonString ¶
func (r *DescribeRulesResponse) ToJsonString() string
type DescribeRulesResponseParams ¶
type DescribeRulesResponseParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则列表,按规则执行顺序从先往后排序。 RuleItems []*RuleItem `json:"RuleItems,omitnil,omitempty" name:"RuleItems"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRulesSettingRequest ¶
type DescribeRulesSettingRequest struct {
*tchttp.BaseRequest
}
func NewDescribeRulesSettingRequest ¶
func NewDescribeRulesSettingRequest() (request *DescribeRulesSettingRequest)
func (*DescribeRulesSettingRequest) FromJsonString ¶
func (r *DescribeRulesSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesSettingRequest) ToJsonString ¶
func (r *DescribeRulesSettingRequest) ToJsonString() string
type DescribeRulesSettingRequestParams ¶
type DescribeRulesSettingRequestParams struct { }
Predefined struct for user
type DescribeRulesSettingResponse ¶
type DescribeRulesSettingResponse struct { *tchttp.BaseResponse Response *DescribeRulesSettingResponseParams `json:"Response"` }
func NewDescribeRulesSettingResponse ¶
func NewDescribeRulesSettingResponse() (response *DescribeRulesSettingResponse)
func (*DescribeRulesSettingResponse) FromJsonString ¶
func (r *DescribeRulesSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesSettingResponse) ToJsonString ¶
func (r *DescribeRulesSettingResponse) ToJsonString() string
type DescribeRulesSettingResponseParams ¶
type DescribeRulesSettingResponseParams struct { // 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。 Actions []*RulesSettingAction `json:"Actions,omitnil,omitempty" name:"Actions"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityIPGroupInfoRequest ¶ added in v1.0.874
type DescribeSecurityIPGroupInfoRequest struct { *tchttp.BaseRequest // 站点的 ID ,用于指定查询的站点范围。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 单次返回的最大条目数。默认值为 20 ,最大查询条目为 1000 。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页查询的起始条目偏移量。默认值为 0 。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDescribeSecurityIPGroupInfoRequest ¶ added in v1.0.874
func NewDescribeSecurityIPGroupInfoRequest() (request *DescribeSecurityIPGroupInfoRequest)
func (*DescribeSecurityIPGroupInfoRequest) FromJsonString ¶ added in v1.0.874
func (r *DescribeSecurityIPGroupInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityIPGroupInfoRequest) ToJsonString ¶ added in v1.0.874
func (r *DescribeSecurityIPGroupInfoRequest) ToJsonString() string
type DescribeSecurityIPGroupInfoRequestParams ¶ added in v1.0.874
type DescribeSecurityIPGroupInfoRequestParams struct { // 站点的 ID ,用于指定查询的站点范围。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 单次返回的最大条目数。默认值为 20 ,最大查询条目为 1000 。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页查询的起始条目偏移量。默认值为 0 。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DescribeSecurityIPGroupInfoResponse ¶ added in v1.0.874
type DescribeSecurityIPGroupInfoResponse struct { *tchttp.BaseResponse Response *DescribeSecurityIPGroupInfoResponseParams `json:"Response"` }
func NewDescribeSecurityIPGroupInfoResponse ¶ added in v1.0.874
func NewDescribeSecurityIPGroupInfoResponse() (response *DescribeSecurityIPGroupInfoResponse)
func (*DescribeSecurityIPGroupInfoResponse) FromJsonString ¶ added in v1.0.874
func (r *DescribeSecurityIPGroupInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityIPGroupInfoResponse) ToJsonString ¶ added in v1.0.874
func (r *DescribeSecurityIPGroupInfoResponse) ToJsonString() string
type DescribeSecurityIPGroupInfoResponseParams ¶ added in v1.0.874
type DescribeSecurityIPGroupInfoResponseParams struct { // 返回的满足条件的 IP 组数量。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // IP 组的详细配置信息。包含每个 IP 组的 ID 、名称和 IP /网段列表信息。 IPGroups []*IPGroup `json:"IPGroups,omitnil,omitempty" name:"IPGroups"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityIPGroupRequest ¶ added in v1.0.915
type DescribeSecurityIPGroupRequest struct { *tchttp.BaseRequest // 站点 ID ,用于指定查询的站点范围。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 指定安全 IP 组 ID。 // <li>提供该参数时,仅查询指定 ID 的安全 IP 组配置;</li> // <li>不传递参数时,返回站点下所有安全 IP 组信息。</li> GroupIds []*int64 `json:"GroupIds,omitnil,omitempty" name:"GroupIds"` }
func NewDescribeSecurityIPGroupRequest ¶ added in v1.0.915
func NewDescribeSecurityIPGroupRequest() (request *DescribeSecurityIPGroupRequest)
func (*DescribeSecurityIPGroupRequest) FromJsonString ¶ added in v1.0.915
func (r *DescribeSecurityIPGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityIPGroupRequest) ToJsonString ¶ added in v1.0.915
func (r *DescribeSecurityIPGroupRequest) ToJsonString() string
type DescribeSecurityIPGroupRequestParams ¶ added in v1.0.915
type DescribeSecurityIPGroupRequestParams struct { // 站点 ID ,用于指定查询的站点范围。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 指定安全 IP 组 ID。 // <li>提供该参数时,仅查询指定 ID 的安全 IP 组配置;</li> // <li>不传递参数时,返回站点下所有安全 IP 组信息。</li> GroupIds []*int64 `json:"GroupIds,omitnil,omitempty" name:"GroupIds"` }
Predefined struct for user
type DescribeSecurityIPGroupResponse ¶ added in v1.0.915
type DescribeSecurityIPGroupResponse struct { *tchttp.BaseResponse Response *DescribeSecurityIPGroupResponseParams `json:"Response"` }
func NewDescribeSecurityIPGroupResponse ¶ added in v1.0.915
func NewDescribeSecurityIPGroupResponse() (response *DescribeSecurityIPGroupResponse)
func (*DescribeSecurityIPGroupResponse) FromJsonString ¶ added in v1.0.915
func (r *DescribeSecurityIPGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityIPGroupResponse) ToJsonString ¶ added in v1.0.915
func (r *DescribeSecurityIPGroupResponse) ToJsonString() string
type DescribeSecurityIPGroupResponseParams ¶ added in v1.0.915
type DescribeSecurityIPGroupResponseParams struct { // 安全 IP 组的详细配置信息。包含每个安全 IP 组的 ID 、名称和 IP / 网段列表信息。 IPGroups []*IPGroup `json:"IPGroups,omitnil,omitempty" name:"IPGroups"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityTemplateBindingsRequest ¶ added in v1.0.775
type DescribeSecurityTemplateBindingsRequest struct { *tchttp.BaseRequest // 要查询的站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 要查询的策略模板 ID。 TemplateId []*string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewDescribeSecurityTemplateBindingsRequest ¶ added in v1.0.775
func NewDescribeSecurityTemplateBindingsRequest() (request *DescribeSecurityTemplateBindingsRequest)
func (*DescribeSecurityTemplateBindingsRequest) FromJsonString ¶ added in v1.0.775
func (r *DescribeSecurityTemplateBindingsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityTemplateBindingsRequest) ToJsonString ¶ added in v1.0.775
func (r *DescribeSecurityTemplateBindingsRequest) ToJsonString() string
type DescribeSecurityTemplateBindingsRequestParams ¶ added in v1.0.775
type DescribeSecurityTemplateBindingsRequestParams struct { // 要查询的站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 要查询的策略模板 ID。 TemplateId []*string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type DescribeSecurityTemplateBindingsResponse ¶ added in v1.0.775
type DescribeSecurityTemplateBindingsResponse struct { *tchttp.BaseResponse Response *DescribeSecurityTemplateBindingsResponseParams `json:"Response"` }
func NewDescribeSecurityTemplateBindingsResponse ¶ added in v1.0.775
func NewDescribeSecurityTemplateBindingsResponse() (response *DescribeSecurityTemplateBindingsResponse)
func (*DescribeSecurityTemplateBindingsResponse) FromJsonString ¶ added in v1.0.775
func (r *DescribeSecurityTemplateBindingsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityTemplateBindingsResponse) ToJsonString ¶ added in v1.0.775
func (r *DescribeSecurityTemplateBindingsResponse) ToJsonString() string
type DescribeSecurityTemplateBindingsResponseParams ¶ added in v1.0.775
type DescribeSecurityTemplateBindingsResponseParams struct { // 指定策略模板的绑定关系列表。 // // 当某个站点中的域名包含在指定策略模板的绑定关系中时,绑定关系列表 `TemplateScope` 中会包含该站点的 `ZoneId`,和该站点下的和该策略模板有关的域名绑定关系。 // // 注意:当没有任何域名正在绑定或已经绑定到指定策略模板时,绑定关系为空。即:返回结构体中,`TemplateScope` 数组长度为 0。 // // 绑定关系中,同一域名可能在 `EntityStatus` 列表中重复出现,并标记为不同 `Status` 。例如,正在被绑定到其他策略模板的域名,会同时标记为 `online` 和 `pending` 。 SecurityTemplate []*SecurityTemplateBinding `json:"SecurityTemplate,omitnil,omitempty" name:"SecurityTemplate"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL4DataRequest ¶
type DescribeTimingL4DataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询指标,取值有: // <li>l4Flow_connections: 访问连接数;</li> // <li>l4Flow_flux: 访问总流量;</li> // <li>l4Flow_inFlux: 访问入流量;</li> // <li>l4Flow_outFlux: 访问出流量。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 四层实例列表, 不填表示选择全部实例。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 查询时间粒度,取值有: // <li>min: 1分钟 ;</li> // <li>5min: 5分钟 ;</li> // <li>hour: 1小时 ;</li> // <li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件Key值如下: // <li>ruleId:按照转发规则 ID 进行过滤。</li> // <li>proxyId:按照四层代理实例 ID 进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeTimingL4DataRequest ¶
func NewDescribeTimingL4DataRequest() (request *DescribeTimingL4DataRequest)
func (*DescribeTimingL4DataRequest) FromJsonString ¶
func (r *DescribeTimingL4DataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL4DataRequest) ToJsonString ¶
func (r *DescribeTimingL4DataRequest) ToJsonString() string
type DescribeTimingL4DataRequestParams ¶
type DescribeTimingL4DataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询指标,取值有: // <li>l4Flow_connections: 访问连接数;</li> // <li>l4Flow_flux: 访问总流量;</li> // <li>l4Flow_inFlux: 访问入流量;</li> // <li>l4Flow_outFlux: 访问出流量。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 四层实例列表, 不填表示选择全部实例。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 查询时间粒度,取值有: // <li>min: 1分钟 ;</li> // <li>5min: 5分钟 ;</li> // <li>hour: 1小时 ;</li> // <li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件Key值如下: // <li>ruleId:按照转发规则 ID 进行过滤。</li> // <li>proxyId:按照四层代理实例 ID 进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeTimingL4DataResponse ¶
type DescribeTimingL4DataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL4DataResponseParams `json:"Response"` }
func NewDescribeTimingL4DataResponse ¶
func NewDescribeTimingL4DataResponse() (response *DescribeTimingL4DataResponse)
func (*DescribeTimingL4DataResponse) FromJsonString ¶
func (r *DescribeTimingL4DataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL4DataResponse) ToJsonString ¶
func (r *DescribeTimingL4DataResponse) ToJsonString() string
type DescribeTimingL4DataResponseParams ¶
type DescribeTimingL4DataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 四层时序流量数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TimingDataRecord `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL7AnalysisDataRequest ¶
type DescribeTimingL7AnalysisDataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 指标列表,取值有: // <li>l7Flow_outFlux: L7 EdgeOne 响应流量;</li> // <li>l7Flow_inFlux: L7 客户端请求流量;</li> // <li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求);</li> // <li>l7Flow_outBandwidth: L7 EdgeOne 响应带宽;</li> // <li>l7Flow_inBandwidth:L7 客户端请求带宽;</li> // <li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求);</li> // <li>l7Flow_request: L7 访问请求数。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询时间粒度,取值有: // <li>min: 1分钟;</li> // <li>5min: 5分钟;</li> // <li>hour: 1小时;</li> // <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件 Key 值如下: // <li>country:按照国家/地区进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li> // <li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href="https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">境内省份映射表</a>,示例值:22。</li> // <li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li> // <li>domain:按照子域名进行过滤,示例值: www.example.com。</li> // <li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li> // <li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li> // <li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li> // <li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li> // <li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li> // <li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li> // <li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li> // <li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li> // <li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li> // <li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li> // <li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li> // <li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li> // <li>clientIp:按照客户端 IP 进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li> // 不填默认取值为 global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeTimingL7AnalysisDataRequest ¶
func NewDescribeTimingL7AnalysisDataRequest() (request *DescribeTimingL7AnalysisDataRequest)
func (*DescribeTimingL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeTimingL7AnalysisDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeTimingL7AnalysisDataRequest) ToJsonString() string
type DescribeTimingL7AnalysisDataRequestParams ¶
type DescribeTimingL7AnalysisDataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 指标列表,取值有: // <li>l7Flow_outFlux: L7 EdgeOne 响应流量;</li> // <li>l7Flow_inFlux: L7 客户端请求流量;</li> // <li>l7Flow_flux: L7 访问总流量(EdgeOne 响应+客户端请求);</li> // <li>l7Flow_outBandwidth: L7 EdgeOne 响应带宽;</li> // <li>l7Flow_inBandwidth:L7 客户端请求带宽;</li> // <li>l7Flow_bandwidth:L7 访问总带宽(EdgeOne 响应+客户端请求);</li> // <li>l7Flow_request: L7 访问请求数。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询时间粒度,取值有: // <li>min: 1分钟;</li> // <li>5min: 5分钟;</li> // <li>hour: 1小时;</li> // <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 过滤条件,详细的过滤条件 Key 值如下: // <li>country:按照国家/地区进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li> // <li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href="https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">境内省份映射表</a>,示例值:22。</li> // <li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li> // <li>domain:按照子域名进行过滤,示例值: www.example.com。</li> // <li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li> // <li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li> // <li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li> // <li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li> // <li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li> // <li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li> // <li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li> // <li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li> // <li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li> // <li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li> // <li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li> // <li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li> // <li>clientIp:按照客户端 IP 进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li> // 不填默认取值为 global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeTimingL7AnalysisDataResponse ¶
type DescribeTimingL7AnalysisDataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL7AnalysisDataResponseParams `json:"Response"` }
func NewDescribeTimingL7AnalysisDataResponse ¶
func NewDescribeTimingL7AnalysisDataResponse() (response *DescribeTimingL7AnalysisDataResponse)
func (*DescribeTimingL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeTimingL7AnalysisDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeTimingL7AnalysisDataResponse) ToJsonString() string
type DescribeTimingL7AnalysisDataResponseParams ¶
type DescribeTimingL7AnalysisDataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 时序流量数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TimingDataRecord `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTimingL7CacheDataRequest ¶
type DescribeTimingL7CacheDataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li>l7Cache_outFlux:响应流量;</li> // <li>l7Cache_request:响应请求数;</li> // <li> l7Cache_outBandwidth:响应带宽。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 过滤条件,详细的过滤条件如下: // <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li> // <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li> // <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li> // <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li> // <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li> // <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> // <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询时间粒度,可选的值有: // <li>min:1分钟的时间粒度;</li> // <li>5min:5分钟的时间粒度;</li> // <li>hour:1小时的时间粒度;</li> // <li>day:1天的时间粒度。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeTimingL7CacheDataRequest ¶
func NewDescribeTimingL7CacheDataRequest() (request *DescribeTimingL7CacheDataRequest)
func (*DescribeTimingL7CacheDataRequest) FromJsonString ¶
func (r *DescribeTimingL7CacheDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7CacheDataRequest) ToJsonString ¶
func (r *DescribeTimingL7CacheDataRequest) ToJsonString() string
type DescribeTimingL7CacheDataRequestParams ¶
type DescribeTimingL7CacheDataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li>l7Cache_outFlux:响应流量;</li> // <li>l7Cache_request:响应请求数;</li> // <li> l7Cache_outBandwidth:响应带宽。</li> MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 过滤条件,详细的过滤条件如下: // <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li> // <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li> // <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li> // <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li> // <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li> // <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> // <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询时间粒度,可选的值有: // <li>min:1分钟的时间粒度;</li> // <li>5min:5分钟的时间粒度;</li> // <li>hour:1小时的时间粒度;</li> // <li>day:1天的时间粒度。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeTimingL7CacheDataResponse ¶
type DescribeTimingL7CacheDataResponse struct { *tchttp.BaseResponse Response *DescribeTimingL7CacheDataResponseParams `json:"Response"` }
func NewDescribeTimingL7CacheDataResponse ¶
func NewDescribeTimingL7CacheDataResponse() (response *DescribeTimingL7CacheDataResponse)
func (*DescribeTimingL7CacheDataResponse) FromJsonString ¶
func (r *DescribeTimingL7CacheDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTimingL7CacheDataResponse) ToJsonString ¶
func (r *DescribeTimingL7CacheDataResponse) ToJsonString() string
type DescribeTimingL7CacheDataResponseParams ¶
type DescribeTimingL7CacheDataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 七层缓存分析时序类流量数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TimingDataRecord `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopL7AnalysisDataRequest ¶
type DescribeTopL7AnalysisDataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li> l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标; </li> // <li> l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标; </li> // <li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_us_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标; </li> // <li> l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标; </li> // <li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_us_os:按操作系统类型维度统计 L7 访问请求数指标。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,详细的过滤条件 Key 值如下: // <li>country:按照国家/地区进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li> // <li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href="https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">境内省份映射表</a>,示例值:22。</li> // <li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li> // <li>domain:按照子域名进行过滤,示例值: www.example.com。</li> // <li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li> // <li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li> // <li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li> // <li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li> // <li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li> // <li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li> // <li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li> // <li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li> // <li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li> // <li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li> // <li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li> // <li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li> // <li>clientIp:按照客户端 IP 进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询时间粒度,取值有: // <li>min: 1分钟;</li> // <li>5min: 5分钟;</li> // <li>hour: 1小时;</li> // <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeTopL7AnalysisDataRequest ¶
func NewDescribeTopL7AnalysisDataRequest() (request *DescribeTopL7AnalysisDataRequest)
func (*DescribeTopL7AnalysisDataRequest) FromJsonString ¶
func (r *DescribeTopL7AnalysisDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7AnalysisDataRequest) ToJsonString ¶
func (r *DescribeTopL7AnalysisDataRequest) ToJsonString() string
type DescribeTopL7AnalysisDataRequestParams ¶
type DescribeTopL7AnalysisDataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li> l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标; </li> // <li> l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标; </li> // <li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_outFlux_us_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;</li> // <li> l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标; </li> // <li> l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标; </li> // <li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li> // <li> l7Flow_request_us_os:按操作系统类型维度统计 L7 访问请求数指标。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,详细的过滤条件 Key 值如下: // <li>country:按照国家/地区进行过滤,国家/地区遵循 <a href="https://baike.baidu.com/item/ISO%203166-1/5269555">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li> // <li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href="https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8">境内省份映射表</a>,示例值:22。</li> // <li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li> // <li>domain:按照子域名进行过滤,示例值: www.example.com。</li> // <li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li> // <li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li> // <li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li> // <li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li> // <li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li> // <li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li> // <li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li> // <li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li> // <li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li> // <li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li> // <li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li> // <li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li> // <li>clientIp:按照客户端 IP 进行过滤。</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询时间粒度,取值有: // <li>min: 1分钟;</li> // <li>5min: 5分钟;</li> // <li>hour: 1小时;</li> // <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:2 小时范围内以 min 粒度查询,2 天范围内以 5min 粒度查询,7 天范围内以 hour 粒度查询,超过 7 天以 day 粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeTopL7AnalysisDataResponse ¶
type DescribeTopL7AnalysisDataResponse struct { *tchttp.BaseResponse Response *DescribeTopL7AnalysisDataResponseParams `json:"Response"` }
func NewDescribeTopL7AnalysisDataResponse ¶
func NewDescribeTopL7AnalysisDataResponse() (response *DescribeTopL7AnalysisDataResponse)
func (*DescribeTopL7AnalysisDataResponse) FromJsonString ¶
func (r *DescribeTopL7AnalysisDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7AnalysisDataResponse) ToJsonString ¶
func (r *DescribeTopL7AnalysisDataResponse) ToJsonString() string
type DescribeTopL7AnalysisDataResponseParams ¶
type DescribeTopL7AnalysisDataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 七层访问数据按照 MetricName 指定统计维度的前 topN 数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TopDataRecord `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTopL7CacheDataRequest ¶
type DescribeTopL7CacheDataRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li> l7Cache_outFlux_domain:host/域名;</li> // <li> l7Cache_outFlux_url:url地址;</li> // <li> l7Cache_outFlux_resourceType:资源类型;</li> // <li> l7Cache_outFlux_statusCode:状态码。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询前多少个数据,最大值为1000,不填默认为10, 表示查询前top 10的数据。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,详细的过滤条件如下: // <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li> // <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li> // <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li> // <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li> // <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li> // <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> // <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询时间粒度,取值有: // <li>min: 1分钟;</li> // <li>5min: 5分钟;</li> // <li>hour: 1小时;</li> // <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
func NewDescribeTopL7CacheDataRequest ¶
func NewDescribeTopL7CacheDataRequest() (request *DescribeTopL7CacheDataRequest)
func (*DescribeTopL7CacheDataRequest) FromJsonString ¶
func (r *DescribeTopL7CacheDataRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7CacheDataRequest) ToJsonString ¶
func (r *DescribeTopL7CacheDataRequest) ToJsonString() string
type DescribeTopL7CacheDataRequestParams ¶
type DescribeTopL7CacheDataRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 查询的指标,取值有: // <li> l7Cache_outFlux_domain:host/域名;</li> // <li> l7Cache_outFlux_url:url地址;</li> // <li> l7Cache_outFlux_resourceType:资源类型;</li> // <li> l7Cache_outFlux_statusCode:状态码。</li> MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 查询前多少个数据,最大值为1000,不填默认为10, 表示查询前top 10的数据。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,详细的过滤条件如下: // <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li> // <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li> // <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li> // <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li> // <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li> // <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> // <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li> Filters []*QueryCondition `json:"Filters,omitnil,omitempty" name:"Filters"` // 查询时间粒度,取值有: // <li>min: 1分钟;</li> // <li>5min: 5分钟;</li> // <li>hour: 1小时;</li> // <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。 Interval *string `json:"Interval,omitnil,omitempty" name:"Interval"` // 数据归属地区,取值有: // <li>overseas:全球(除中国大陆地区)数据;</li> // <li>mainland:中国大陆地区数据;</li> // <li>global:全球数据。</li>不填默认取值为global。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
Predefined struct for user
type DescribeTopL7CacheDataResponse ¶
type DescribeTopL7CacheDataResponse struct { *tchttp.BaseResponse Response *DescribeTopL7CacheDataResponseParams `json:"Response"` }
func NewDescribeTopL7CacheDataResponse ¶
func NewDescribeTopL7CacheDataResponse() (response *DescribeTopL7CacheDataResponse)
func (*DescribeTopL7CacheDataResponse) FromJsonString ¶
func (r *DescribeTopL7CacheDataResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTopL7CacheDataResponse) ToJsonString ¶
func (r *DescribeTopL7CacheDataResponse) ToJsonString() string
type DescribeTopL7CacheDataResponseParams ¶
type DescribeTopL7CacheDataResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 七层缓存TopN流量数据列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Data []*TopDataRecord `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZoneSettingRequest ¶
type DescribeZoneSettingRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
func NewDescribeZoneSettingRequest ¶
func NewDescribeZoneSettingRequest() (request *DescribeZoneSettingRequest)
func (*DescribeZoneSettingRequest) FromJsonString ¶
func (r *DescribeZoneSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneSettingRequest) ToJsonString ¶
func (r *DescribeZoneSettingRequest) ToJsonString() string
type DescribeZoneSettingRequestParams ¶
type DescribeZoneSettingRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` }
Predefined struct for user
type DescribeZoneSettingResponse ¶
type DescribeZoneSettingResponse struct { *tchttp.BaseResponse Response *DescribeZoneSettingResponseParams `json:"Response"` }
func NewDescribeZoneSettingResponse ¶
func NewDescribeZoneSettingResponse() (response *DescribeZoneSettingResponse)
func (*DescribeZoneSettingResponse) FromJsonString ¶
func (r *DescribeZoneSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZoneSettingResponse) ToJsonString ¶
func (r *DescribeZoneSettingResponse) ToJsonString() string
type DescribeZoneSettingResponseParams ¶
type DescribeZoneSettingResponseParams struct { // 站点配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ZoneSetting *ZoneSetting `json:"ZoneSetting,omitnil,omitempty" name:"ZoneSetting"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeZonesRequest ¶
type DescribeZonesRequest struct { *tchttp.BaseRequest // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下有权限的所有站点信息。详细的过滤条件如下: // <li>zone-name:按照站点名称进行过滤;</li><li>zone-id:按照站点 ID进行过滤。站点 ID 形如:zone-2noz78a8ev6k;</li><li>status:按照站点状态进行过滤;</li><li>tag-key:按照标签键进行过滤;</li><li>tag-value: 按照标签值进行过滤。</li>模糊查询时仅支持过滤字段名为 zone-name。 Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可根据该字段对返回结果进行排序,取值有: // <li> type:接入类型;</li> // <li> area:加速区域;</li> // <li> create-time:创建时间;</li> // <li> zone-name:站点名称;</li> // <li> use-time:最近使用时间;</li> // <li> active-status:生效状态。</li>不填写时对返回结果默认按照 create-time 排序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有: // <li> asc:从小到大排序;</li> // <li> desc:从大到小排序。</li>不填写使用默认值 desc。 Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"` }
func NewDescribeZonesRequest ¶
func NewDescribeZonesRequest() (request *DescribeZonesRequest)
func (*DescribeZonesRequest) FromJsonString ¶
func (r *DescribeZonesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesRequest) ToJsonString ¶
func (r *DescribeZonesRequest) ToJsonString() string
type DescribeZonesRequestParams ¶
type DescribeZonesRequestParams struct { // 分页查询偏移量。默认值:0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页查询限制数目。默认值:20,最大值:100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下有权限的所有站点信息。详细的过滤条件如下: // <li>zone-name:按照站点名称进行过滤;</li><li>zone-id:按照站点 ID进行过滤。站点 ID 形如:zone-2noz78a8ev6k;</li><li>status:按照站点状态进行过滤;</li><li>tag-key:按照标签键进行过滤;</li><li>tag-value: 按照标签值进行过滤。</li>模糊查询时仅支持过滤字段名为 zone-name。 Filters []*AdvancedFilter `json:"Filters,omitnil,omitempty" name:"Filters"` // 可根据该字段对返回结果进行排序,取值有: // <li> type:接入类型;</li> // <li> area:加速区域;</li> // <li> create-time:创建时间;</li> // <li> zone-name:站点名称;</li> // <li> use-time:最近使用时间;</li> // <li> active-status:生效状态。</li>不填写时对返回结果默认按照 create-time 排序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 排序方向,如果是字段值为数字,则根据数字大小排序;如果字段值为文本,则根据 ascill 码的大小排序。取值有: // <li> asc:从小到大排序;</li> // <li> desc:从大到小排序。</li>不填写使用默认值 desc。 Direction *string `json:"Direction,omitnil,omitempty" name:"Direction"` }
Predefined struct for user
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { *tchttp.BaseResponse Response *DescribeZonesResponseParams `json:"Response"` }
func NewDescribeZonesResponse ¶
func NewDescribeZonesResponse() (response *DescribeZonesResponse)
func (*DescribeZonesResponse) FromJsonString ¶
func (r *DescribeZonesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeZonesResponse) ToJsonString ¶
func (r *DescribeZonesResponse) ToJsonString() string
type DescribeZonesResponseParams ¶
type DescribeZonesResponseParams struct { // 符合条件的站点个数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 站点详细信息。 Zones []*Zone `json:"Zones,omitnil,omitempty" name:"Zones"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestroyPlanRequest ¶ added in v1.0.912
type DestroyPlanRequest struct { *tchttp.BaseRequest // 套餐 ID,形如 edgeone-2wdo315m2y4c。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` }
func NewDestroyPlanRequest ¶ added in v1.0.912
func NewDestroyPlanRequest() (request *DestroyPlanRequest)
func (*DestroyPlanRequest) FromJsonString ¶ added in v1.0.912
func (r *DestroyPlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyPlanRequest) ToJsonString ¶ added in v1.0.912
func (r *DestroyPlanRequest) ToJsonString() string
type DestroyPlanRequestParams ¶ added in v1.0.912
type DestroyPlanRequestParams struct { // 套餐 ID,形如 edgeone-2wdo315m2y4c。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` }
Predefined struct for user
type DestroyPlanResponse ¶ added in v1.0.912
type DestroyPlanResponse struct { *tchttp.BaseResponse Response *DestroyPlanResponseParams `json:"Response"` }
func NewDestroyPlanResponse ¶ added in v1.0.912
func NewDestroyPlanResponse() (response *DestroyPlanResponse)
func (*DestroyPlanResponse) FromJsonString ¶ added in v1.0.912
func (r *DestroyPlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyPlanResponse) ToJsonString ¶ added in v1.0.912
func (r *DestroyPlanResponse) ToJsonString() string
type DestroyPlanResponseParams ¶ added in v1.0.912
type DestroyPlanResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DetailHost ¶
type DetailHost struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速服务状态,取值为: // <li> process:部署中;</li> // <li> online:已启动;</li> // <li> offline:已关闭。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 域名。 Host *string `json:"Host,omitnil,omitempty" name:"Host"` // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 分配的Cname域名 Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` // 资源ID。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 锁状态。 Lock *int64 `json:"Lock,omitnil,omitempty" name:"Lock"` // 域名状态类型。 Mode *int64 `json:"Mode,omitnil,omitempty" name:"Mode"` // 域名加速地域,取值有: // <li> global:全球;</li> // <li> mainland:中国大陆;</li> // <li> overseas:境外区域。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 加速类型配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 AccelerateType *AccelerateType `json:"AccelerateType,omitnil,omitempty" name:"AccelerateType"` // Https配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 Https *Https `json:"Https,omitnil,omitempty" name:"Https"` // 缓存配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 CacheConfig *CacheConfig `json:"CacheConfig,omitnil,omitempty" name:"CacheConfig"` // 源站配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"` // 安全类型。 // 注意:此字段可能返回 null,表示取不到有效值。 SecurityType *SecurityType `json:"SecurityType,omitnil,omitempty" name:"SecurityType"` // 缓存键配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"` // 智能压缩配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"` // Waf防护配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 Waf *Waf `json:"Waf,omitnil,omitempty" name:"Waf"` // CC防护配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 CC *CC `json:"CC,omitnil,omitempty" name:"CC"` // DDoS防护配置。 // 注意:此字段可能返回 null,表示取不到有效值。 DDoS *DDoS `json:"DDoS,omitnil,omitempty" name:"DDoS"` // 智能路由配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 SmartRouting *SmartRouting `json:"SmartRouting,omitnil,omitempty" name:"SmartRouting"` // Ipv6访问配置项。 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 回源时是否携带客户端IP所属地域信息的配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil,omitempty" name:"ClientIpCountry"` }
type DiffIPWhitelist ¶ added in v1.0.570
type DiffIPWhitelist struct { // 最新IP白名单列表。 LatestIPWhitelist *IPWhitelist `json:"LatestIPWhitelist,omitnil,omitempty" name:"LatestIPWhitelist"` // 最新IP白名单列表相比于当前IP白名单列表,新增部分。 AddedIPWhitelist *IPWhitelist `json:"AddedIPWhitelist,omitnil,omitempty" name:"AddedIPWhitelist"` // 最新IP白名单列表相比于当前IP白名单列表,删减部分。 RemovedIPWhitelist *IPWhitelist `json:"RemovedIPWhitelist,omitnil,omitempty" name:"RemovedIPWhitelist"` // 最新IP白名单列表相比于当前IP白名单列表,不变部分。 NoChangeIPWhitelist *IPWhitelist `json:"NoChangeIPWhitelist,omitnil,omitempty" name:"NoChangeIPWhitelist"` }
type DnsVerification ¶ added in v1.0.756
type DownloadL4LogsRequest ¶
type DownloadL4LogsRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 四层实例 ID 集合。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 分页查询的限制数目,默认值为 20,最大查询条目为 300。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页的偏移量,默认值为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDownloadL4LogsRequest ¶
func NewDownloadL4LogsRequest() (request *DownloadL4LogsRequest)
func (*DownloadL4LogsRequest) FromJsonString ¶
func (r *DownloadL4LogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadL4LogsRequest) ToJsonString ¶
func (r *DownloadL4LogsRequest) ToJsonString() string
type DownloadL4LogsRequestParams ¶
type DownloadL4LogsRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 站点 ID 集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 四层实例 ID 集合。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 分页查询的限制数目,默认值为 20,最大查询条目为 300。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页的偏移量,默认值为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DownloadL4LogsResponse ¶
type DownloadL4LogsResponse struct { *tchttp.BaseResponse Response *DownloadL4LogsResponseParams `json:"Response"` }
func NewDownloadL4LogsResponse ¶
func NewDownloadL4LogsResponse() (response *DownloadL4LogsResponse)
func (*DownloadL4LogsResponse) FromJsonString ¶
func (r *DownloadL4LogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadL4LogsResponse) ToJsonString ¶
func (r *DownloadL4LogsResponse) ToJsonString() string
type DownloadL4LogsResponseParams ¶
type DownloadL4LogsResponseParams struct { // 查询结果的总条数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 四层离线日志数据列表。 Data []*L4OfflineLog `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DownloadL7LogsRequest ¶
type DownloadL7LogsRequest struct { *tchttp.BaseRequest // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 站点ID集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 子域名集合,不填默认选择全部子域名。 Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // 分页查询的限制数目,默认值为 20,最大查询条目为 300。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页的偏移量,默认值为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
func NewDownloadL7LogsRequest ¶
func NewDownloadL7LogsRequest() (request *DownloadL7LogsRequest)
func (*DownloadL7LogsRequest) FromJsonString ¶
func (r *DownloadL7LogsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadL7LogsRequest) ToJsonString ¶
func (r *DownloadL7LogsRequest) ToJsonString() string
type DownloadL7LogsRequestParams ¶
type DownloadL7LogsRequestParams struct { // 开始时间。 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间。 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 站点ID集合,此参数必填。 ZoneIds []*string `json:"ZoneIds,omitnil,omitempty" name:"ZoneIds"` // 子域名集合,不填默认选择全部子域名。 Domains []*string `json:"Domains,omitnil,omitempty" name:"Domains"` // 分页查询的限制数目,默认值为 20,最大查询条目为 300。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 分页的偏移量,默认值为 0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` }
Predefined struct for user
type DownloadL7LogsResponse ¶
type DownloadL7LogsResponse struct { *tchttp.BaseResponse Response *DownloadL7LogsResponseParams `json:"Response"` }
func NewDownloadL7LogsResponse ¶
func NewDownloadL7LogsResponse() (response *DownloadL7LogsResponse)
func (*DownloadL7LogsResponse) FromJsonString ¶
func (r *DownloadL7LogsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadL7LogsResponse) ToJsonString ¶
func (r *DownloadL7LogsResponse) ToJsonString() string
type DownloadL7LogsResponseParams ¶
type DownloadL7LogsResponseParams struct { // 查询结果的总条数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 七层离线日志数据列表。 Data []*L7OfflineLog `json:"Data,omitnil,omitempty" name:"Data"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DropPageConfig ¶
type DropPageConfig struct { // 配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // Waf(托管规则)模块的拦截页面配置。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 WafDropPageDetail *DropPageDetail `json:"WafDropPageDetail,omitnil,omitempty" name:"WafDropPageDetail"` // 自定义页面的拦截页面配置。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 AclDropPageDetail *DropPageDetail `json:"AclDropPageDetail,omitnil,omitempty" name:"AclDropPageDetail"` }
type DropPageDetail ¶
type DropPageDetail struct { // 拦截页面的唯一 Id。系统默认包含一个自带拦截页面,Id 值为0。 // 该 Id 可通过创建拦截页面接口进行上传获取。如传入0,代表使用系统默认拦截页面。该参数已废弃。 PageId *int64 `json:"PageId,omitnil,omitempty" name:"PageId"` // 拦截页面的 HTTP 状态码。状态码取值:100~600,不支持 3xx 状态码。托管规则拦截页面默认:566,安全防护(除托管规则外)拦截页面默认:567. StatusCode *int64 `json:"StatusCode,omitnil,omitempty" name:"StatusCode"` // 页面文件名或 url。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 页面的类型,取值有: // <li>page:指定页面。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Type 类型是 page 时必填,且不能为空。 CustomResponseId *string `json:"CustomResponseId,omitnil,omitempty" name:"CustomResponseId"` }
type EntityStatus ¶ added in v1.0.775
type EntityStatus struct { // 实例名,现在只有子域名。 Entity *string `json:"Entity,omitnil,omitempty" name:"Entity"` // 实例配置下发状态,取值有: // <li>online:配置已生效;</li><li>fail:配置失败;</li><li> process:配置下发中。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 实例配置下发信息提示。 Message *string `json:"Message,omitnil,omitempty" name:"Message"` }
type EnvInfo ¶ added in v1.0.803
type EnvInfo struct { // 环境 ID。 EnvId *string `json:"EnvId,omitnil,omitempty" name:"EnvId"` // 环境类型,取值有: // <li>production: 生产环境;</li><li>staging: 测试环境。</li> EnvType *string `json:"EnvType,omitnil,omitempty" name:"EnvType"` // 环境状态,取值有: // <li>creating:创建中;</li> // <li>running:稳定运行中,可进行版本变更;</li> // <li>version_deploying:版本部署中,不能进行新的变更。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 当前环境的配置生效范围: // <li>当 EnvType 取值为 production 时,该参数值为 ["ALL"],代表全网生效;</li> // <li>当 EnvType 取值为 staging 时,会返回测试节点 IP,可用于绑定 host 测试。</li> Scope []*string `json:"Scope,omitnil,omitempty" name:"Scope"` // 当前环境中各配置组实际生效的版本,根据 Status 的取值有以下两种情况: // <li>当 Status 取值为 version_deploying 时,本字段返回的值为执行变更动作之前生效的版本,即新版本部署期间,实际生效的版本为执行变更动作之前的版本;</li> // <li>当 Status 取值为 running 时,本字段返回的值即为当前实际生效的版本。</li> CurrentConfigGroupVersionInfos []*ConfigGroupVersionInfo `json:"CurrentConfigGroupVersionInfos,omitnil,omitempty" name:"CurrentConfigGroupVersionInfos"` // 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type ErrorPageReference ¶ added in v1.0.939
type ErrorPageReference struct { // 引用的业务 ID,如自定义拦截规则 ID。 BusinessId *string `json:"BusinessId,omitnil,omitempty" name:"BusinessId"` }
type ExceptConfig ¶
type ExceptConfig struct { // 配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 例外规则详情。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ExceptUserRules []*ExceptUserRule `json:"ExceptUserRules,omitnil,omitempty" name:"ExceptUserRules"` }
type ExceptUserRule ¶
type ExceptUserRule struct { // 规则名称,不可使用中文。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则的处置方式,当前仅支持skip:跳过全部托管规则。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 规则生效状态,取值有: // <li>on:生效;</li> // <li>off:失效。</li> RuleStatus *string `json:"RuleStatus,omitnil,omitempty" name:"RuleStatus"` // 规则ID。仅出参使用。默认由底层生成。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 更新时间,如果为null,默认由底层按当前时间生成。 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 匹配条件。 // 注意:此字段可能返回 null,表示取不到有效值。 ExceptUserRuleConditions []*ExceptUserRuleCondition `json:"ExceptUserRuleConditions,omitnil,omitempty" name:"ExceptUserRuleConditions"` // 规则生效的范围。 // 注意:此字段可能返回 null,表示取不到有效值。 ExceptUserRuleScope *ExceptUserRuleScope `json:"ExceptUserRuleScope,omitnil,omitempty" name:"ExceptUserRuleScope"` // 优先级,取值范围0-100。如果为null,默认由底层设置为0。 RulePriority *int64 `json:"RulePriority,omitnil,omitempty" name:"RulePriority"` }
type ExceptUserRuleCondition ¶
type ExceptUserRuleCondition struct { // 匹配项,取值有: // <li>host:请求域名;</li> // <li>sip:客户端IP;</li> // <li>ua:User-Agent;</li> // <li>cookie:会话 Cookie;</li> // <li>cgi:CGI 脚本;</li> // <li>xff:XFF 扩展头部;</li> // <li>url:请求 URL;</li> // <li>accept:请求内容类型;</li> // <li>method:请求方式;</li> // <li>header:请求头部;</li> // <li>sip_proto:网络层协议。</li> MatchFrom *string `json:"MatchFrom,omitnil,omitempty" name:"MatchFrom"` // 匹配项的参数。仅当 MatchFrom 为 header 时,可以使用本参数,值可填入 header 的 key 作为参数。 MatchParam *string `json:"MatchParam,omitnil,omitempty" name:"MatchParam"` // 匹配操作符,取值有: // <li>equal:字符串等于;</li> // <li>not_equal:数值不等于;</li> // <li>include:字符包含;</li> // <li>not_include:字符不包含;</li> // <li>match:ip匹配;</li> // <li>not_match:ip不匹配;</li> // <li>include_area:地域包含;</li> // <li>is_empty:存在字段但值为空;</li> // <li>not_exists:不存在关键字段;</li> // <li>regexp:正则匹配;</li> // <li>len_gt:数值大于;</li> // <li>len_lt:数值小于;</li> // <li>len_eq:数值等于;</li> // <li>match_prefix:前缀匹配;</li> // <li>match_suffix:后缀匹配;</li> // <li>wildcard:通配符。</li> Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 匹配值。 MatchContent *string `json:"MatchContent,omitnil,omitempty" name:"MatchContent"` }
type ExceptUserRuleScope ¶
type ExceptUserRuleScope struct { // 例外规则类型。其中complete模式代表全量数据进行例外,partial模式代表可选择指定模块指定字段进行例外,该字段取值有: // <li>complete:完全跳过模式;</li> // <li>partial:部分跳过模式。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 生效的模块,该字段取值有: // <li>waf:托管规则;</li> // <li>rate:速率限制;</li> // <li>acl:自定义规则;</li> // <li>cc:cc攻击防护;</li> // <li>bot:Bot防护。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Modules []*string `json:"Modules,omitnil,omitempty" name:"Modules"` // 跳过部分规则ID的例外规则详情。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 PartialModules []*PartialModule `json:"PartialModules,omitnil,omitempty" name:"PartialModules"` // 跳过具体字段不去扫描的例外规则详情。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 SkipConditions []*SkipCondition `json:"SkipConditions,omitnil,omitempty" name:"SkipConditions"` }
type FailReason ¶
type FileAscriptionInfo ¶ added in v1.0.507
type FileVerification ¶ added in v1.0.756
type FileVerification struct { // EdgeOne 后台服务器将通过 Scheme + Host + URL Path 的格式(例如 https://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。该字段为您需要创建的 URL Path 部分。 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
type FirstPartConfig ¶ added in v1.0.581
type FirstPartConfig struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 首段包的统计时长,单位是秒,即期望首段包的统计时长是多少,默认5秒。 // 注意:此字段可能返回 null,表示取不到有效值。 StatTime *uint64 `json:"StatTime,omitnil,omitempty" name:"StatTime"` }
type FollowOrigin ¶
type FollowOrigin struct { // 遵循源站配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 源站未返回 Cache-Control 头时,缓存/不缓存开关。当 Switch 为 on 时,此字段必填,否则此字段不生效。取值有: // <li>on:缓存;</li> // <li>off:不缓存。</li> // 注意:此字段可能返回 null,表示取不到有效值。 DefaultCache *string `json:"DefaultCache,omitnil,omitempty" name:"DefaultCache"` // 源站未返回 Cache-Control 头时,使用/不使用默认缓存策略开关。当 DefaultCache 为 on 时,此字段必填,否则此字段不生效;当 DefaultCacheTime 不为 0 时,此字段必须为 off。取值有: // <li>on:使用默认缓存策略;</li> // <li>off:不使用默认缓存策略。</li> // 注意:此字段可能返回 null,表示取不到有效值。 DefaultCacheStrategy *string `json:"DefaultCacheStrategy,omitnil,omitempty" name:"DefaultCacheStrategy"` // 源站未返回 Cache-Control 头时,表示默认的缓存时间,单位为秒,取值:0~315360000。当 DefaultCache 为 on 时,此字段必填,否则此字段不生效;当 DefaultCacheStrategy 为 on 时, 此字段必须为 0。 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultCacheTime *int64 `json:"DefaultCacheTime,omitnil,omitempty" name:"DefaultCacheTime"` }
type ForceRedirect ¶
type ForceRedirect struct { // 访问强制跳转配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 重定向状态码,取值有: // <li>301:301跳转;</li> // <li>302:302跳转。</li> // 注意:此字段可能返回 null,表示取不到有效值。 RedirectStatusCode *int64 `json:"RedirectStatusCode,omitnil,omitempty" name:"RedirectStatusCode"` }
type Function ¶ added in v1.0.1013
type Function struct { // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数名字。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 函数描述。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 函数内容。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` // 函数默认域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 修改时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type FunctionEnvironmentVariable ¶ added in v1.0.1013
type FunctionEnvironmentVariable struct { // 变量的名称,限制只能包含大小写字母、数字,特殊字符仅支持 @ . - _ ,最大 64 个字节,不支持重复。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 变量的值,限制最大 5000 字节,默认值为空。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` // 变量的类型,取值有: // <li>string:字符串类型;</li> // <li>json:json 对象类型。</li>默认值为:string。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type FunctionRule ¶ added in v1.0.1013
type FunctionRule struct { // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则条件列表,列表项之间为或关系。 FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"` // 函数 ID,命中触发规则条件后执行的函数。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 规则描述。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 函数名称。 FunctionName *string `json:"FunctionName,omitnil,omitempty" name:"FunctionName"` // 函数触发规则优先级,数值越大,优先级越高。 Priority *int64 `json:"Priority,omitnil,omitempty" name:"Priority"` // 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type FunctionRuleCondition ¶ added in v1.0.1013
type FunctionRuleCondition struct { // 边缘函数触发规则条件,该列表内所有项全部满足即判断该条件满足。 RuleConditions []*RuleCondition `json:"RuleConditions,omitnil,omitempty" name:"RuleConditions"` }
type Grpc ¶ added in v1.0.565
type Grpc struct { // 是否开启 Grpc 配置,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type HandleFunctionRuntimeEnvironmentRequest ¶ added in v1.0.1013
type HandleFunctionRuntimeEnvironmentRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 操作类型,取值有: // <li>setEnvironmentVariable:设置环境变量,当环境变量存在时为修改行为,否则为添加行为;</li> // <li>deleteEnvironmentVariable:删除环境变量变量;</li> // <li>clearEnvironmentVariable:清空环境变量变量;</li> // <li>resetEnvironmentVariable:重置环境变量变量。</li> Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // 环境变量列表,函数运行环境最多支持 64 个变量。当 Operation 取值为 setEnvironmentVariable、deleteEnvironmentVariable、resetEnvironmentVariable 时必填。 EnvironmentVariables []*FunctionEnvironmentVariable `json:"EnvironmentVariables,omitnil,omitempty" name:"EnvironmentVariables"` }
func NewHandleFunctionRuntimeEnvironmentRequest ¶ added in v1.0.1013
func NewHandleFunctionRuntimeEnvironmentRequest() (request *HandleFunctionRuntimeEnvironmentRequest)
func (*HandleFunctionRuntimeEnvironmentRequest) FromJsonString ¶ added in v1.0.1013
func (r *HandleFunctionRuntimeEnvironmentRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*HandleFunctionRuntimeEnvironmentRequest) ToJsonString ¶ added in v1.0.1013
func (r *HandleFunctionRuntimeEnvironmentRequest) ToJsonString() string
type HandleFunctionRuntimeEnvironmentRequestParams ¶ added in v1.0.1013
type HandleFunctionRuntimeEnvironmentRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 操作类型,取值有: // <li>setEnvironmentVariable:设置环境变量,当环境变量存在时为修改行为,否则为添加行为;</li> // <li>deleteEnvironmentVariable:删除环境变量变量;</li> // <li>clearEnvironmentVariable:清空环境变量变量;</li> // <li>resetEnvironmentVariable:重置环境变量变量。</li> Operation *string `json:"Operation,omitnil,omitempty" name:"Operation"` // 环境变量列表,函数运行环境最多支持 64 个变量。当 Operation 取值为 setEnvironmentVariable、deleteEnvironmentVariable、resetEnvironmentVariable 时必填。 EnvironmentVariables []*FunctionEnvironmentVariable `json:"EnvironmentVariables,omitnil,omitempty" name:"EnvironmentVariables"` }
Predefined struct for user
type HandleFunctionRuntimeEnvironmentResponse ¶ added in v1.0.1013
type HandleFunctionRuntimeEnvironmentResponse struct { *tchttp.BaseResponse Response *HandleFunctionRuntimeEnvironmentResponseParams `json:"Response"` }
func NewHandleFunctionRuntimeEnvironmentResponse ¶ added in v1.0.1013
func NewHandleFunctionRuntimeEnvironmentResponse() (response *HandleFunctionRuntimeEnvironmentResponse)
func (*HandleFunctionRuntimeEnvironmentResponse) FromJsonString ¶ added in v1.0.1013
func (r *HandleFunctionRuntimeEnvironmentResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*HandleFunctionRuntimeEnvironmentResponse) ToJsonString ¶ added in v1.0.1013
func (r *HandleFunctionRuntimeEnvironmentResponse) ToJsonString() string
type HandleFunctionRuntimeEnvironmentResponseParams ¶ added in v1.0.1013
type HandleFunctionRuntimeEnvironmentResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type HealthChecker ¶ added in v1.0.1031
type HealthChecker struct { // 健康检查策略,取值有: // <li>HTTP;</li> // <li>HTTPS;</li> // <li>TCP;</li> // <li>UDP;</li> // <li>ICMP Ping;</li> // <li>NoCheck。</li> // 注意:NoCheck 表示不启用健康检查策略。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 检查端口。当 Type=HTTP 或 Type=HTTPS 或 Type=TCP 或 Type=UDP 时为必填。 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 检查频率,表示多久发起一次健康检查任务,单位为秒。可取值有:30,60,180,300 或 600。 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 每一次健康检查的超时时间,若健康检查消耗时间大于此值,则检查结果判定为”不健康“, 单位为秒,默认值为 5s,取值必须小于 Interval。 Timeout *uint64 `json:"Timeout,omitnil,omitempty" name:"Timeout"` // 健康阈值,表示连续几次健康检查结果为"健康",则判断源站为"健康",单位为次,默认 3 次,最小取值 1 次。 HealthThreshold *uint64 `json:"HealthThreshold,omitnil,omitempty" name:"HealthThreshold"` // 不健康阈值,表示连续几次健康检查结果为"不健康",则判断源站为"不健康",单位为次,默认 2 次。 CriticalThreshold *uint64 `json:"CriticalThreshold,omitnil,omitempty" name:"CriticalThreshold"` // 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测路径,需要填写完整的 host/path,不包含协议部分,例如:www.example.com/test。 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示请求方法,取值有: // <li>GET;</li> // <li>HEAD。</li> Method *string `json:"Method,omitnil,omitempty" name:"Method"` // 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测节点向源站发起健康检查时,响应哪些状态码可用于认定探测结果为健康。 ExpectedCodes []*string `json:"ExpectedCodes,omitnil,omitempty" name:"ExpectedCodes"` // 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示探测请求携带的自定义 HTTP 请求头,至多可配置 10 个。 Headers []*CustomizedHeader `json:"Headers,omitnil,omitempty" name:"Headers"` // 该参数仅当 Type=HTTP 或 Type=HTTPS 时有效,表示是否启用遵循 301/302 重定向。启用后,301/302 默认为"健康"的状态码,默认跳转 3 次。 FollowRedirect *string `json:"FollowRedirect,omitnil,omitempty" name:"FollowRedirect"` // 该参数仅当 Type=UDP 时有效,表示健康检查发送的内容。只允许 ASCII 可见字符,最大长度限制 500 个字符。 SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // 该参数仅当 Type=UDP 时有效,表示健康检查期望源站返回结果。只允许 ASCII 可见字符,最大长度限制 500 个字符。 RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` }
type Hsts ¶
type Hsts struct { // 是否开启,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // MaxAge 数值。单位为秒,最大值为1天。 // 注意:此字段可能返回 null,表示取不到有效值。 MaxAge *int64 `json:"MaxAge,omitnil,omitempty" name:"MaxAge"` // 是否包含子域名,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 IncludeSubDomains *string `json:"IncludeSubDomains,omitnil,omitempty" name:"IncludeSubDomains"` // 是否开启预加载,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Preload *string `json:"Preload,omitnil,omitempty" name:"Preload"` }
type Https ¶
type Https struct { // http2 配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Http2 *string `json:"Http2,omitnil,omitempty" name:"Http2"` // OCSP 配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 OcspStapling *string `json:"OcspStapling,omitnil,omitempty" name:"OcspStapling"` // Tls 版本设置,取值有: // <li>TLSv1:TLSv1版本;</li> // <li>TLSV1.1:TLSv1.1版本;</li> // <li>TLSV1.2:TLSv1.2版本;</li> // <li>TLSv1.3:TLSv1.3版本。</li>修改时必须开启连续的版本。 // 注意:此字段可能返回 null,表示取不到有效值。 TlsVersion []*string `json:"TlsVersion,omitnil,omitempty" name:"TlsVersion"` // HSTS 配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Hsts *Hsts `json:"Hsts,omitnil,omitempty" name:"Hsts"` // 证书配置。 // 注意:此字段可能返回 null,表示取不到有效值。 CertInfo []*ServerCertInfo `json:"CertInfo,omitnil,omitempty" name:"CertInfo"` // 申请类型,取值有: // <li>apply:托管EdgeOne;</li> // <li>none:不托管EdgeOne。</li>不填,默认取值为none。 // 注意:此字段可能返回 null,表示取不到有效值。 ApplyType *string `json:"ApplyType,omitnil,omitempty" name:"ApplyType"` // 密码套件,取值有: // <li>loose-v2023:提供高兼容性,安全性一般,支持 TLS 1.0-1.3 密码套件;</li> // <li>general-v2023:提供较高兼容性,安全性中等,支持 TLS 1.2-1.3 密码套件;</li> // <li>strict-v2023:提供高安全性能,禁用所有含不安全隐患的加密套件,支持 TLS 1.2-1.3 密码套件。</li> // 注意:此字段可能返回 null,表示取不到有效值。 CipherSuite *string `json:"CipherSuite,omitnil,omitempty" name:"CipherSuite"` }
type IPRegionInfo ¶ added in v1.0.813
type IPWhitelist ¶ added in v1.0.570
type Identification ¶
type Identification struct { // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 验证子域名。验证站点时,该值为空。验证子域名是为具体子域名。 // 注意:此字段可能返回 null,表示取不到有效值。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 验证状态,取值有: // <li> pending:验证中;</li> // <li> finished:验证完成。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 站点归属权校验:Dns校验信息。 Ascription *AscriptionInfo `json:"Ascription,omitnil,omitempty" name:"Ascription"` // 域名当前的 NS 记录。 // 注意:此字段可能返回 null,表示取不到有效值。 OriginalNameServers []*string `json:"OriginalNameServers,omitnil,omitempty" name:"OriginalNameServers"` // 站点归属权校验:文件校验信息。 FileAscription *FileAscriptionInfo `json:"FileAscription,omitnil,omitempty" name:"FileAscription"` }
type IdentifyZoneRequest ¶
type IdentifyZoneRequest struct { *tchttp.BaseRequest // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 站点下的子域名。如果验证站点下的子域名,则传该值,否则为空。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
func NewIdentifyZoneRequest ¶
func NewIdentifyZoneRequest() (request *IdentifyZoneRequest)
func (*IdentifyZoneRequest) FromJsonString ¶
func (r *IdentifyZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IdentifyZoneRequest) ToJsonString ¶
func (r *IdentifyZoneRequest) ToJsonString() string
type IdentifyZoneRequestParams ¶
type IdentifyZoneRequestParams struct { // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 站点下的子域名。如果验证站点下的子域名,则传该值,否则为空。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
Predefined struct for user
type IdentifyZoneResponse ¶
type IdentifyZoneResponse struct { *tchttp.BaseResponse Response *IdentifyZoneResponseParams `json:"Response"` }
func NewIdentifyZoneResponse ¶
func NewIdentifyZoneResponse() (response *IdentifyZoneResponse)
func (*IdentifyZoneResponse) FromJsonString ¶
func (r *IdentifyZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IdentifyZoneResponse) ToJsonString ¶
func (r *IdentifyZoneResponse) ToJsonString() string
type IdentifyZoneResponseParams ¶
type IdentifyZoneResponseParams struct { // 站点归属校验:Dns校验信息。 Ascription *AscriptionInfo `json:"Ascription,omitnil,omitempty" name:"Ascription"` // 站点归属权校验:文件校验信息。 FileAscription *FileAscriptionInfo `json:"FileAscription,omitnil,omitempty" name:"FileAscription"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ImageOptimize ¶ added in v1.0.620
type ImageOptimize struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type IncreasePlanQuotaRequest ¶ added in v1.0.912
type IncreasePlanQuotaRequest struct { *tchttp.BaseRequest // 套餐 ID, 形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 新增的套餐配额类型,取值有:<li> site:站点数;</li><li> precise_access_control_rule:Web 防护 - 自定义规则 - 精准匹配策略的规则配额;</li><li> rate_limiting_rule:Web 防护 - 速率限制 - 精准速率限制模块的规则配额。</li> QuotaType *string `json:"QuotaType,omitnil,omitempty" name:"QuotaType"` // 新增的配额个数。单次新增的配额个数上限为 100。 QuotaNumber *int64 `json:"QuotaNumber,omitnil,omitempty" name:"QuotaNumber"` }
func NewIncreasePlanQuotaRequest ¶ added in v1.0.912
func NewIncreasePlanQuotaRequest() (request *IncreasePlanQuotaRequest)
func (*IncreasePlanQuotaRequest) FromJsonString ¶ added in v1.0.912
func (r *IncreasePlanQuotaRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IncreasePlanQuotaRequest) ToJsonString ¶ added in v1.0.912
func (r *IncreasePlanQuotaRequest) ToJsonString() string
type IncreasePlanQuotaRequestParams ¶ added in v1.0.912
type IncreasePlanQuotaRequestParams struct { // 套餐 ID, 形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 新增的套餐配额类型,取值有:<li> site:站点数;</li><li> precise_access_control_rule:Web 防护 - 自定义规则 - 精准匹配策略的规则配额;</li><li> rate_limiting_rule:Web 防护 - 速率限制 - 精准速率限制模块的规则配额。</li> QuotaType *string `json:"QuotaType,omitnil,omitempty" name:"QuotaType"` // 新增的配额个数。单次新增的配额个数上限为 100。 QuotaNumber *int64 `json:"QuotaNumber,omitnil,omitempty" name:"QuotaNumber"` }
Predefined struct for user
type IncreasePlanQuotaResponse ¶ added in v1.0.912
type IncreasePlanQuotaResponse struct { *tchttp.BaseResponse Response *IncreasePlanQuotaResponseParams `json:"Response"` }
func NewIncreasePlanQuotaResponse ¶ added in v1.0.912
func NewIncreasePlanQuotaResponse() (response *IncreasePlanQuotaResponse)
func (*IncreasePlanQuotaResponse) FromJsonString ¶ added in v1.0.912
func (r *IncreasePlanQuotaResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*IncreasePlanQuotaResponse) ToJsonString ¶ added in v1.0.912
func (r *IncreasePlanQuotaResponse) ToJsonString() string
type IncreasePlanQuotaResponseParams ¶ added in v1.0.912
type IncreasePlanQuotaResponseParams struct { // 订单号。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type IntelligenceRule ¶
type IntelligenceRule struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 规则详情。 // 注意:此字段可能返回 null,表示取不到有效值。 IntelligenceRuleItems []*IntelligenceRuleItem `json:"IntelligenceRuleItems,omitnil,omitempty" name:"IntelligenceRuleItems"` }
type IntelligenceRuleItem ¶
type IntelligenceRuleItem struct { // 智能分析标签,取值有: // <li>evil_bot:恶意bot;</li> // <li>suspect_bot:疑似bot;</li> // <li>good_bot:良好bot;</li> // <li>normal:正常请求。</li> Label *string `json:"Label,omitnil,omitempty" name:"Label"` // 触发智能分析标签对应的处置方式,取值有: // <li>drop:拦截;</li> // <li>trans:放行;</li> // <li>alg:Javascript挑战;</li> // <li>captcha:数字验证码;</li> // <li>monitor:观察。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` }
type IpTableConfig ¶
type IpTableConfig struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭;</li> // 注意:此字段可能返回 null,表示取不到有效值。 Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 基础管控规则。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 IpTableRules []*IpTableRule `json:"IpTableRules,omitnil,omitempty" name:"IpTableRules"` }
type IpTableRule ¶
type IpTableRule struct { // 动作,取值有: // <li> drop:拦截;</li> // <li> trans:放行;</li> // <li> monitor:观察。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 根据类型匹配,取值有: // <li>ip:客户端 IP 进行匹配;</li> // <li>area:客户端 IP 所属地区匹配;</li> // <li>asn:客户端所属的自治系统进行匹配;</li> // <li>referer:请求头 Referer 进行匹配;</li> // <li>ua:请求头 User-Agent 进行匹配;</li> // <li>url:请求 URL 进行匹配。</li> MatchFrom *string `json:"MatchFrom,omitnil,omitempty" name:"MatchFrom"` // 规则的匹配方式。取值有: // <li> match:匹配,适用于 MatchFrom 为 ip;</li> // <li> not_match:不匹配,适用于 MatchFrom 为 ip;</li> // <li> include_area:地域包含,适用于 MatchFrom 为 area;</li> // <li> not_include_area:地域不包含,适用于 MatchFrom 为 area;</li> // <li> asn_match:ASN 包含,适用于 MatchFrom 为 asn;</li> // <li> asn_not_match:ASN 不包含,适用于 MatchFrom 为 asn;</li> // <li> equal:等于,适用于 MatchFrom 为 ua , referer;</li> // <li> not_equal:不等于,适用于 MatchFrom 为 ua , referer;</li> // <li> include:通配符匹配,适用于 MatchFrom 为 ua , referer , url;</li> // <li> not_include:通配符不匹配,适用于 MatchFrom 为 ua , referer;</li> // <li> is_emty:配置内容为空,适用于 MatchFrom 为 ua , referer;</li> // <li> not_exists:配置内容不存在,适用于 MatchFrom 为 ua , referer。</li> Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 规则id。仅出参使用。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 更新时间。仅出参使用。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 规则启用状态。取值有: // <li> on:启用;</li> // <li> off:未启用。</li> // 当入参缺省时,按 on 取值。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 规则名。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 匹配内容。支持多值输入。 // <li>当输入多个匹配值时,请使用英文逗号分隔;</li> // <li>当 MatchFrom 为 ua 时,不支持多值输入;</li> // <li>当 Operator 为 is_empty 或 not_exists 时,本字段入参值无效。</li> MatchContent *string `json:"MatchContent,omitnil,omitempty" name:"MatchContent"` }
type Ipv6 ¶
type Ipv6 struct { // Ipv6 访问功能配置,取值有: // <li>on:开启Ipv6访问功能;</li> // <li>off:关闭Ipv6访问功能。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type JITVideoProcess ¶ added in v1.0.1031
type JITVideoProcess struct { // 视频即时处理配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type L4OfflineLog ¶
type L4OfflineLog struct { // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 日志所属区域,取值有: // <li>mainland:中国大陆境内;</li> // <li>overseas:全球(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 离线日志数据包名。 LogPacketName *string `json:"LogPacketName,omitnil,omitempty" name:"LogPacketName"` // 离线日志下载地址。 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 日志打包时间,此参数已经废弃。 LogTime *int64 `json:"LogTime,omitnil,omitempty" name:"LogTime"` // 日志打包开始时间。 LogStartTime *string `json:"LogStartTime,omitnil,omitempty" name:"LogStartTime"` // 日志打包结束时间。 LogEndTime *string `json:"LogEndTime,omitnil,omitempty" name:"LogEndTime"` // 日志大小,单位为 Byte。 Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` }
type L4Proxy ¶ added in v1.0.850
type L4Proxy struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 四层代理实例名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 四层代理实例的加速区域。 // <li>mainland:中国大陆可用区;</li> // <li>overseas: 全球可用区(不含中国大陆);</li> // <li>global:全球可用区。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 接入 CNAME。 Cname *string `json:"Cname,omitnil,omitempty" name:"Cname"` // 开启固定 IP 后,该值会返回对应的接入 IP;未开启时,该值为空。 Ips []*string `json:"Ips,omitnil,omitempty" name:"Ips"` // 四层代理实例状态。 // <li>online:已启用;</li> // <li>offline:已停用;</li> // <li>progress:部署中;</li> // <li>stopping:停用中;</li> // <li>banned:已封禁;</li> // <li>fail:部署失败/停用失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 是否开启 IPv6 访问。 // <li>on:开启;</li> // <li>off:关闭。</li> Ipv6 *string `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 是否开启固定 IP。 // <li>on:开启;</li> <li>off:关闭。</li> StaticIp *string `json:"StaticIp,omitnil,omitempty" name:"StaticIp"` // 是否开启中国大陆网络优化。 // <li>on:开启</li> <li>off:关闭</li> AccelerateMainland *string `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` // 安全防护配置。 // 注意:此字段可能返回 null,表示取不到有效值。 DDosProtectionConfig *DDosProtectionConfig `json:"DDosProtectionConfig,omitnil,omitempty" name:"DDosProtectionConfig"` // 四层代理实例下的转发规则数量。 L4ProxyRuleCount *int64 `json:"L4ProxyRuleCount,omitnil,omitempty" name:"L4ProxyRuleCount"` // 最新变更时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type L4ProxyRemoteAuth ¶ added in v1.0.1010
type L4ProxyRemoteAuth struct { // 四层远程鉴权开关,取值有: // <li>on:表示开启;</li> // <li>off:表示关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 远程鉴权服务地址,格式为: domain/ip:port。例:example.auth.com:8888 Address *string `json:"Address,omitnil,omitempty" name:"Address"` // 远程鉴权服务不可访问后,经过四层转发规则默认回源行为,取值有: // <li>reject:表示进行拦截,拒绝访问;</li> // <li>allow:表示允许通过。</li> ServerFaultyBehavior *string `json:"ServerFaultyBehavior,omitnil,omitempty" name:"ServerFaultyBehavior"` }
type L4ProxyRule ¶ added in v1.0.850
type L4ProxyRule struct { // 转发规则 ID。 // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数请勿填写;在 ModifyL4ProxyRules 作为入参使用时,该参数必填。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 转发协议。取值有: // <li>TCP:TCP 协议;</li> // <li>UDP:UDP 协议。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 转发端口,支持按照以下形式填写: // <li>单端口,如:80;</li> // <li>端口段,如:81-85。表示 81、82、83、84、85 五个端口。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。 PortRange []*string `json:"PortRange,omitnil,omitempty" name:"PortRange"` // 源站类型,取值有: // <li>IP_DOMAIN:IP/域名源站;</li> // <li>ORIGIN_GROUP:源站组;</li> // <li>LB:负载均衡,当前仅白名单开放。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。 OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 源站地址: // <li>当 OriginType 为 IP_DOMAIN 时,填写 IP 或域名,如 8.8.8.8 或 test.com ;</li> // <li>当 OriginType 为 ORIGIN_GROUP 时,填写源站组 ID,如 og-537y24vf5b41;</li> // <li>当 OriginType 为 LB 时,填写负载均衡实例 ID,如 lb-2qwk30xf7s9g。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。 OriginValue []*string `json:"OriginValue,omitnil,omitempty" name:"OriginValue"` // 源站端口,支持按照以下形式填写: // <li>单端口,如:80;</li> // <li>端口段,如:81-85,表示 81、82、83、84、85 五个端口。填写端口段时,则需要与转发端口段长度保持一致,例如转发端口:80-90,则转发端口:90-100。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数必填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写时表示不修改。 OriginPortRange *string `json:"OriginPortRange,omitnil,omitempty" name:"OriginPortRange"` // 传递客户端 IP 的形式,取值有: // <li>TOA:TOA(仅 Protocol = TCP 时可选);</li> // <li>PPV1:Proxy Protocol 传递,协议版本 V1(仅 Protocol = TCP 时可选);</li> // <li>PPV2:Proxy Protocol 传递,协议版本 V2;</li> // <li>SPP:Simple Proxy Protocol 传递,(仅 Protocol = UDP 时可选);</li> // <li>OFF:不传递。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填,不填写时默认为 OFF;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。 ClientIPPassThroughMode *string `json:"ClientIPPassThroughMode,omitnil,omitempty" name:"ClientIPPassThroughMode"` // 是否开启会话保持,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填,不填写时默认为 off;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。 SessionPersist *string `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 会话保持时间,取值范围为 30-3600,单位为秒。 // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填,仅当 SessionPersist = on 时,该值才会生效,且当 SessionPersist = on ,该值不填写默认为 3600;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 规则标签。可输入1-50 个任意字符。 // 注意:L4ProxyRule 在 CreateL4ProxyRules 作为入参使用时,该参数选填;在 ModifyL4ProxyRules 作为入参使用时,该参数选填,不填写表示不修改。 RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"` // 规则状态,取值有: // <li>online:已启用;</li> // <li>offline:已停用;</li> // <li>progress:部署中;</li> // <li>stopping:停用中;</li> // <li>fail:部署失败/停用失败。</li> // 注意:L4ProxyRule 在 CreateL4ProxyRules、ModifyL4ProxyRules 作为入参使用时,该参数请勿填写。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // BuID。 BuId *string `json:"BuId,omitnil,omitempty" name:"BuId"` // 远程鉴权信息。 // 注意:RemoteAuth 在 CreateL4ProxyRules 或 ModifyL4ProxyRules 不可作为入参使用,如有传此参数,会忽略。在 DescribeL4ProxyRules 返回为空时,表示没有开启远程鉴权。 // 注意:此字段可能返回 null,表示取不到有效值。 RemoteAuth *L4ProxyRemoteAuth `json:"RemoteAuth,omitnil,omitempty" name:"RemoteAuth"` }
type L7OfflineLog ¶
type L7OfflineLog struct { // 离线日志域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 日志所属区域,取值有: // <li>mainland:中国大陆境内; </li> // <li>overseas:全球(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 离线日志数据包名。 LogPacketName *string `json:"LogPacketName,omitnil,omitempty" name:"LogPacketName"` // 离线日志下载地址。 Url *string `json:"Url,omitnil,omitempty" name:"Url"` // 日志打包时间,此参数已经废弃。 LogTime *int64 `json:"LogTime,omitnil,omitempty" name:"LogTime"` // 日志打包开始时间。 LogStartTime *string `json:"LogStartTime,omitnil,omitempty" name:"LogStartTime"` // 日志打包结束时间。 LogEndTime *string `json:"LogEndTime,omitnil,omitempty" name:"LogEndTime"` // 日志原始大小,单位 Byte。 Size *int64 `json:"Size,omitnil,omitempty" name:"Size"` }
type LoadBalancer ¶ added in v1.0.1031
type LoadBalancer struct { // 实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 实例类型,取值有: // <li>HTTP:HTTP 专用型,支持添加 HTTP 专用型和通用型源站组,仅支持被站点加速相关服务引用(如域名服务和规则引擎);</li> // <li>GENERAL:通用型,仅支持添加通用型源站组,能被站点加速服务(如域名服务和规则引擎)和四层代理引用。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。 HealthChecker *HealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"` // 源站组间的流量调度策略,取值有: // <li>Pritory:按优先级顺序进行故障转移 。</li> SteeringPolicy *string `json:"SteeringPolicy,omitnil,omitempty" name:"SteeringPolicy"` // 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有: // <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li> // <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li> FailoverPolicy *string `json:"FailoverPolicy,omitnil,omitempty" name:"FailoverPolicy"` // 源站组健康状态。 OriginGroupHealthStatus []*OriginGroupHealthStatus `json:"OriginGroupHealthStatus,omitnil,omitempty" name:"OriginGroupHealthStatus"` // 负载均衡状态,取值有: // <li>Pending:部署中;</li> // <li>Deleting:删除中;</li> // <li>Running:已生效。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 该负载均衡实例绑的定四层层代理实例的列表。 L4UsedList []*string `json:"L4UsedList,omitnil,omitempty" name:"L4UsedList"` // 该负载均衡实例绑定的七层域名列表。 L7UsedList []*string `json:"L7UsedList,omitnil,omitempty" name:"L7UsedList"` }
type LogFormat ¶ added in v1.0.910
type LogFormat struct { // 日志投递的预设输出格式类型,取值有: // <li>json:使用预设日志输出格式 JSON Lines,单条日志中的字段以键值对方式呈现;</li> // <li>csv:使用预设日志输出格式 csv,单条日志中仅呈现字段值,不呈现字段名称。</li> FormatType *string `json:"FormatType,omitnil,omitempty" name:"FormatType"` // 在每个日志投递批次之前添加的字符串。每个日志投递批次可能包含多条日志记录。 BatchPrefix *string `json:"BatchPrefix,omitnil,omitempty" name:"BatchPrefix"` // 在每个日志投递批次后附加的字符串。 BatchSuffix *string `json:"BatchSuffix,omitnil,omitempty" name:"BatchSuffix"` // 在每条日志记录之前添加的字符串。 RecordPrefix *string `json:"RecordPrefix,omitnil,omitempty" name:"RecordPrefix"` // 在每条日志记录后附加的字符串。 RecordSuffix *string `json:"RecordSuffix,omitnil,omitempty" name:"RecordSuffix"` // 插入日志记录之间作为分隔符的字符串,取值有: // <li>\n:换行符;</li> // <li>\t:制表符;</li> // <li>,:半角逗号。</li> RecordDelimiter *string `json:"RecordDelimiter,omitnil,omitempty" name:"RecordDelimiter"` // 单条日志记录内,插入字段之间作为分隔符的字符串,取值有: // <li>\t:制表符;</li> // <li>,:半角逗号;</li> // <li>;:半角分号。</li> FieldDelimiter *string `json:"FieldDelimiter,omitnil,omitempty" name:"FieldDelimiter"` }
type MaxAge ¶
type MaxAge struct { // 是否遵循源站,取值有: // <li>on:遵循源站,忽略MaxAge 时间设置;</li> // <li>off:不遵循源站,使用MaxAge 时间设置。</li> FollowOrigin *string `json:"FollowOrigin,omitnil,omitempty" name:"FollowOrigin"` // MaxAge 时间设置,单位秒,最大365天。 // 注意:时间为0,即不缓存。 MaxAgeTime *int64 `json:"MaxAgeTime,omitnil,omitempty" name:"MaxAgeTime"` }
type ModifyAccelerationDomainRequest ¶ added in v1.0.591
type ModifyAccelerationDomainRequest struct { *tchttp.BaseRequest // 加速域名所属站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名名称。 DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // 源站信息。 OriginInfo *OriginInfo `json:"OriginInfo,omitnil,omitempty" name:"OriginInfo"` // 回源协议,取值有: // <li>FOLLOW: 协议跟随;</li> // <li>HTTP: HTTP协议回源;</li> // <li>HTTPS: HTTPS协议回源。</li> // <li>不填保持原有配置。</li> OriginProtocol *string `json:"OriginProtocol,omitnil,omitempty" name:"OriginProtocol"` // HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。 HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil,omitempty" name:"HttpOriginPort"` // HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。 HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil,omitempty" name:"HttpsOriginPort"` // IPv6状态,取值有: // <li>follow:遵循站点IPv6配置;</li> // <li>on:开启状态;</li> // <li>off:关闭状态。</li> // <li>不填保持原有配置。</li> IPv6Status *string `json:"IPv6Status,omitnil,omitempty" name:"IPv6Status"` }
func NewModifyAccelerationDomainRequest ¶ added in v1.0.591
func NewModifyAccelerationDomainRequest() (request *ModifyAccelerationDomainRequest)
func (*ModifyAccelerationDomainRequest) FromJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccelerationDomainRequest) ToJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainRequest) ToJsonString() string
type ModifyAccelerationDomainRequestParams ¶ added in v1.0.591
type ModifyAccelerationDomainRequestParams struct { // 加速域名所属站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 加速域名名称。 DomainName *string `json:"DomainName,omitnil,omitempty" name:"DomainName"` // 源站信息。 OriginInfo *OriginInfo `json:"OriginInfo,omitnil,omitempty" name:"OriginInfo"` // 回源协议,取值有: // <li>FOLLOW: 协议跟随;</li> // <li>HTTP: HTTP协议回源;</li> // <li>HTTPS: HTTPS协议回源。</li> // <li>不填保持原有配置。</li> OriginProtocol *string `json:"OriginProtocol,omitnil,omitempty" name:"OriginProtocol"` // HTTP回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTP时生效, 不填保持原有配置。 HttpOriginPort *uint64 `json:"HttpOriginPort,omitnil,omitempty" name:"HttpOriginPort"` // HTTPS回源端口,取值为1-65535,当OriginProtocol=FOLLOW/HTTPS时生效,不填保持原有配置。 HttpsOriginPort *uint64 `json:"HttpsOriginPort,omitnil,omitempty" name:"HttpsOriginPort"` // IPv6状态,取值有: // <li>follow:遵循站点IPv6配置;</li> // <li>on:开启状态;</li> // <li>off:关闭状态。</li> // <li>不填保持原有配置。</li> IPv6Status *string `json:"IPv6Status,omitnil,omitempty" name:"IPv6Status"` }
Predefined struct for user
type ModifyAccelerationDomainResponse ¶ added in v1.0.591
type ModifyAccelerationDomainResponse struct { *tchttp.BaseResponse Response *ModifyAccelerationDomainResponseParams `json:"Response"` }
func NewModifyAccelerationDomainResponse ¶ added in v1.0.591
func NewModifyAccelerationDomainResponse() (response *ModifyAccelerationDomainResponse)
func (*ModifyAccelerationDomainResponse) FromJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccelerationDomainResponse) ToJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainResponse) ToJsonString() string
type ModifyAccelerationDomainResponseParams ¶ added in v1.0.591
type ModifyAccelerationDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAccelerationDomainStatusesRequest ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesRequest struct { *tchttp.BaseRequest // 加速域名所属站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 要执行状态变更的加速域名列表。 DomainNames []*string `json:"DomainNames,omitnil,omitempty" name:"DomainNames"` // 加速域名状态,取值有: // <li>online:启用;</li> // <li>offline:停用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 是否强制停用。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制停用该域名,取值有: // <li> true:停用该域名及所有关联资源;</li> // <li> false:当该加速域名存在关联资源时,不允许停用。</li>不填写,默认值为:false。 Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
func NewModifyAccelerationDomainStatusesRequest ¶ added in v1.0.591
func NewModifyAccelerationDomainStatusesRequest() (request *ModifyAccelerationDomainStatusesRequest)
func (*ModifyAccelerationDomainStatusesRequest) FromJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainStatusesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccelerationDomainStatusesRequest) ToJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainStatusesRequest) ToJsonString() string
type ModifyAccelerationDomainStatusesRequestParams ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesRequestParams struct { // 加速域名所属站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 要执行状态变更的加速域名列表。 DomainNames []*string `json:"DomainNames,omitnil,omitempty" name:"DomainNames"` // 加速域名状态,取值有: // <li>online:启用;</li> // <li>offline:停用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 是否强制停用。当域名存在关联资源(如马甲域名、流量调度功能)时,是否强制停用该域名,取值有: // <li> true:停用该域名及所有关联资源;</li> // <li> false:当该加速域名存在关联资源时,不允许停用。</li>不填写,默认值为:false。 Force *bool `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type ModifyAccelerationDomainStatusesResponse ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesResponse struct { *tchttp.BaseResponse Response *ModifyAccelerationDomainStatusesResponseParams `json:"Response"` }
func NewModifyAccelerationDomainStatusesResponse ¶ added in v1.0.591
func NewModifyAccelerationDomainStatusesResponse() (response *ModifyAccelerationDomainStatusesResponse)
func (*ModifyAccelerationDomainStatusesResponse) FromJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainStatusesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAccelerationDomainStatusesResponse) ToJsonString ¶ added in v1.0.591
func (r *ModifyAccelerationDomainStatusesResponse) ToJsonString() string
type ModifyAccelerationDomainStatusesResponseParams ¶ added in v1.0.591
type ModifyAccelerationDomainStatusesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAliasDomainRequest ¶ added in v1.0.510
type ModifyAliasDomainRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 别称域名名称。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 目标域名名称。 TargetName *string `json:"TargetName,omitnil,omitempty" name:"TargetName"` // 证书配置,取值有: // <li> none:不配置;</li> // <li> hosting:SSL托管证书;</li> // <li> apply:申请免费证书。</li>不填写保持原有配置。 CertType *string `json:"CertType,omitnil,omitempty" name:"CertType"` // 当 CertType 取值为 hosting 时填入相应证书 ID。 CertId []*string `json:"CertId,omitnil,omitempty" name:"CertId"` }
func NewModifyAliasDomainRequest ¶ added in v1.0.510
func NewModifyAliasDomainRequest() (request *ModifyAliasDomainRequest)
func (*ModifyAliasDomainRequest) FromJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAliasDomainRequest) ToJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainRequest) ToJsonString() string
type ModifyAliasDomainRequestParams ¶ added in v1.0.510
type ModifyAliasDomainRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 别称域名名称。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 目标域名名称。 TargetName *string `json:"TargetName,omitnil,omitempty" name:"TargetName"` // 证书配置,取值有: // <li> none:不配置;</li> // <li> hosting:SSL托管证书;</li> // <li> apply:申请免费证书。</li>不填写保持原有配置。 CertType *string `json:"CertType,omitnil,omitempty" name:"CertType"` // 当 CertType 取值为 hosting 时填入相应证书 ID。 CertId []*string `json:"CertId,omitnil,omitempty" name:"CertId"` }
Predefined struct for user
type ModifyAliasDomainResponse ¶ added in v1.0.510
type ModifyAliasDomainResponse struct { *tchttp.BaseResponse Response *ModifyAliasDomainResponseParams `json:"Response"` }
func NewModifyAliasDomainResponse ¶ added in v1.0.510
func NewModifyAliasDomainResponse() (response *ModifyAliasDomainResponse)
func (*ModifyAliasDomainResponse) FromJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAliasDomainResponse) ToJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainResponse) ToJsonString() string
type ModifyAliasDomainResponseParams ¶ added in v1.0.510
type ModifyAliasDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyAliasDomainStatusRequest ¶ added in v1.0.510
type ModifyAliasDomainStatusRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 别称域名状态,取值有: // <li> false:开启别称域名;</li> // <li> true:关闭别称域名。</li> Paused *bool `json:"Paused,omitnil,omitempty" name:"Paused"` // 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。 AliasNames []*string `json:"AliasNames,omitnil,omitempty" name:"AliasNames"` }
func NewModifyAliasDomainStatusRequest ¶ added in v1.0.510
func NewModifyAliasDomainStatusRequest() (request *ModifyAliasDomainStatusRequest)
func (*ModifyAliasDomainStatusRequest) FromJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAliasDomainStatusRequest) ToJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainStatusRequest) ToJsonString() string
type ModifyAliasDomainStatusRequestParams ¶ added in v1.0.510
type ModifyAliasDomainStatusRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 别称域名状态,取值有: // <li> false:开启别称域名;</li> // <li> true:关闭别称域名。</li> Paused *bool `json:"Paused,omitnil,omitempty" name:"Paused"` // 待修改状态的别称域名名称。如果为空,则不执行修改状态操作。 AliasNames []*string `json:"AliasNames,omitnil,omitempty" name:"AliasNames"` }
Predefined struct for user
type ModifyAliasDomainStatusResponse ¶ added in v1.0.510
type ModifyAliasDomainStatusResponse struct { *tchttp.BaseResponse Response *ModifyAliasDomainStatusResponseParams `json:"Response"` }
func NewModifyAliasDomainStatusResponse ¶ added in v1.0.510
func NewModifyAliasDomainStatusResponse() (response *ModifyAliasDomainStatusResponse)
func (*ModifyAliasDomainStatusResponse) FromJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyAliasDomainStatusResponse) ToJsonString ¶ added in v1.0.510
func (r *ModifyAliasDomainStatusResponse) ToJsonString() string
type ModifyAliasDomainStatusResponseParams ¶ added in v1.0.510
type ModifyAliasDomainStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRequest ¶
type ModifyApplicationProxyRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 当 ProxyType=hostname 时,表示域名或子域名; // 当 ProxyType=instance 时,表示代理名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 会话保持时间,取值范围:30-3600,单位:秒。 // 不填写保持原有配置。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 四层代理模式,取值有: // <li>instance:表示实例模式。</li>不填写使用默认值instance。 ProxyType *string `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // Ipv6 访问配置,不填写保持原有配置。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 中国大陆加速优化配置。 不填写表示保持原有配置。 AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
func NewModifyApplicationProxyRequest ¶
func NewModifyApplicationProxyRequest() (request *ModifyApplicationProxyRequest)
func (*ModifyApplicationProxyRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRequest) ToJsonString() string
type ModifyApplicationProxyRequestParams ¶
type ModifyApplicationProxyRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 当 ProxyType=hostname 时,表示域名或子域名; // 当 ProxyType=instance 时,表示代理名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 会话保持时间,取值范围:30-3600,单位:秒。 // 不填写保持原有配置。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 四层代理模式,取值有: // <li>instance:表示实例模式。</li>不填写使用默认值instance。 ProxyType *string `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // Ipv6 访问配置,不填写保持原有配置。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 中国大陆加速优化配置。 不填写表示保持原有配置。 AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
Predefined struct for user
type ModifyApplicationProxyResponse ¶
type ModifyApplicationProxyResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyResponseParams `json:"Response"` }
func NewModifyApplicationProxyResponse ¶
func NewModifyApplicationProxyResponse() (response *ModifyApplicationProxyResponse)
func (*ModifyApplicationProxyResponse) FromJsonString ¶
func (r *ModifyApplicationProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyResponse) ToJsonString ¶
func (r *ModifyApplicationProxyResponse) ToJsonString() string
type ModifyApplicationProxyResponseParams ¶
type ModifyApplicationProxyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRuleRequest ¶
type ModifyApplicationProxyRuleRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 源站类型,取值有: // <li>custom:手动添加;</li> // <li>origins:源站组。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 端口,支持格式: // <li>80:80端口;</li> // <li>81-90:81至90端口。</li> Port []*string `json:"Port,omitnil,omitempty" name:"Port"` // 协议,取值有: // <li>TCP:TCP协议;</li> // <li>UDP:UDP协议。</li>不填保持原有值。 Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"` // 源站信息: // <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li> // <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li> // // 不填保持原有值。 OriginValue []*string `json:"OriginValue,omitnil,omitempty" name:"OriginValue"` // 传递客户端IP,取值有: // <li>TOA:TOA(仅Proto=TCP时可选);</li> // <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li> // <li>PPV2:Proxy Protocol传递,协议版本V2;</li> // <li>OFF:不传递。</li>不填保持原有值。 ForwardClientIp *string `json:"ForwardClientIp,omitnil,omitempty" name:"ForwardClientIp"` // 是否开启会话保持,取值有: // <li>true:开启;</li> // <li>false:关闭。</li>不填为false。 SessionPersist *bool `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 会话保持的时间,只有当SessionPersist为true时,该值才会生效。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 源站端口,支持格式: // <li>单端口:80;</li> // <li>端口段:81-90,81至90端口。</li> OriginPort *string `json:"OriginPort,omitnil,omitempty" name:"OriginPort"` // 规则标签。不填保持原有值。 RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"` }
func NewModifyApplicationProxyRuleRequest ¶
func NewModifyApplicationProxyRuleRequest() (request *ModifyApplicationProxyRuleRequest)
func (*ModifyApplicationProxyRuleRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRuleRequest) ToJsonString() string
type ModifyApplicationProxyRuleRequestParams ¶
type ModifyApplicationProxyRuleRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 源站类型,取值有: // <li>custom:手动添加;</li> // <li>origins:源站组。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 端口,支持格式: // <li>80:80端口;</li> // <li>81-90:81至90端口。</li> Port []*string `json:"Port,omitnil,omitempty" name:"Port"` // 协议,取值有: // <li>TCP:TCP协议;</li> // <li>UDP:UDP协议。</li>不填保持原有值。 Proto *string `json:"Proto,omitnil,omitempty" name:"Proto"` // 源站信息: // <li>当 OriginType 为 custom 时,表示一个或多个源站,如`["8.8.8.8","9.9.9.9"]` 或 `OriginValue=["test.com"]`;</li> // <li>当 OriginType 为 origins 时,要求有且仅有一个元素,表示源站组ID,如`["origin-537f5b41-162a-11ed-abaa-525400c5da15"]`。</li> // // 不填保持原有值。 OriginValue []*string `json:"OriginValue,omitnil,omitempty" name:"OriginValue"` // 传递客户端IP,取值有: // <li>TOA:TOA(仅Proto=TCP时可选);</li> // <li>PPV1:Proxy Protocol传递,协议版本V1(仅Proto=TCP时可选);</li> // <li>PPV2:Proxy Protocol传递,协议版本V2;</li> // <li>OFF:不传递。</li>不填保持原有值。 ForwardClientIp *string `json:"ForwardClientIp,omitnil,omitempty" name:"ForwardClientIp"` // 是否开启会话保持,取值有: // <li>true:开启;</li> // <li>false:关闭。</li>不填为false。 SessionPersist *bool `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 会话保持的时间,只有当SessionPersist为true时,该值才会生效。 SessionPersistTime *uint64 `json:"SessionPersistTime,omitnil,omitempty" name:"SessionPersistTime"` // 源站端口,支持格式: // <li>单端口:80;</li> // <li>端口段:81-90,81至90端口。</li> OriginPort *string `json:"OriginPort,omitnil,omitempty" name:"OriginPort"` // 规则标签。不填保持原有值。 RuleTag *string `json:"RuleTag,omitnil,omitempty" name:"RuleTag"` }
Predefined struct for user
type ModifyApplicationProxyRuleResponse ¶
type ModifyApplicationProxyRuleResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyRuleResponseParams `json:"Response"` }
func NewModifyApplicationProxyRuleResponse ¶
func NewModifyApplicationProxyRuleResponse() (response *ModifyApplicationProxyRuleResponse)
func (*ModifyApplicationProxyRuleResponse) FromJsonString ¶
func (r *ModifyApplicationProxyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleResponse) ToJsonString ¶
func (r *ModifyApplicationProxyRuleResponse) ToJsonString() string
type ModifyApplicationProxyRuleResponseParams ¶
type ModifyApplicationProxyRuleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyRuleStatusRequest ¶
type ModifyApplicationProxyRuleStatusRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 状态,取值有: // <li>offline: 停用;</li> // <li>online: 启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyApplicationProxyRuleStatusRequest ¶
func NewModifyApplicationProxyRuleStatusRequest() (request *ModifyApplicationProxyRuleStatusRequest)
func (*ModifyApplicationProxyRuleStatusRequest) FromJsonString ¶
func (r *ModifyApplicationProxyRuleStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleStatusRequest) ToJsonString ¶
func (r *ModifyApplicationProxyRuleStatusRequest) ToJsonString() string
type ModifyApplicationProxyRuleStatusRequestParams ¶
type ModifyApplicationProxyRuleStatusRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 状态,取值有: // <li>offline: 停用;</li> // <li>online: 启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyApplicationProxyRuleStatusResponse ¶
type ModifyApplicationProxyRuleStatusResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyRuleStatusResponseParams `json:"Response"` }
func NewModifyApplicationProxyRuleStatusResponse ¶
func NewModifyApplicationProxyRuleStatusResponse() (response *ModifyApplicationProxyRuleStatusResponse)
func (*ModifyApplicationProxyRuleStatusResponse) FromJsonString ¶
func (r *ModifyApplicationProxyRuleStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyRuleStatusResponse) ToJsonString ¶
func (r *ModifyApplicationProxyRuleStatusResponse) ToJsonString() string
type ModifyApplicationProxyRuleStatusResponseParams ¶
type ModifyApplicationProxyRuleStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyApplicationProxyStatusRequest ¶
type ModifyApplicationProxyStatusRequest struct { *tchttp.BaseRequest // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 状态,取值有: // <li>offline: 停用;</li> // <li>online: 启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyApplicationProxyStatusRequest ¶
func NewModifyApplicationProxyStatusRequest() (request *ModifyApplicationProxyStatusRequest)
func (*ModifyApplicationProxyStatusRequest) FromJsonString ¶
func (r *ModifyApplicationProxyStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyStatusRequest) ToJsonString ¶
func (r *ModifyApplicationProxyStatusRequest) ToJsonString() string
type ModifyApplicationProxyStatusRequestParams ¶
type ModifyApplicationProxyStatusRequestParams struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 代理ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 状态,取值有: // <li>offline: 停用;</li> // <li>online: 启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyApplicationProxyStatusResponse ¶
type ModifyApplicationProxyStatusResponse struct { *tchttp.BaseResponse Response *ModifyApplicationProxyStatusResponseParams `json:"Response"` }
func NewModifyApplicationProxyStatusResponse ¶
func NewModifyApplicationProxyStatusResponse() (response *ModifyApplicationProxyStatusResponse)
func (*ModifyApplicationProxyStatusResponse) FromJsonString ¶
func (r *ModifyApplicationProxyStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyApplicationProxyStatusResponse) ToJsonString ¶
func (r *ModifyApplicationProxyStatusResponse) ToJsonString() string
type ModifyApplicationProxyStatusResponseParams ¶
type ModifyApplicationProxyStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCustomErrorPageRequest ¶ added in v1.0.939
type ModifyCustomErrorPageRequest struct { *tchttp.BaseRequest // 自定义错误页面 ID。 PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义错误页名称,名称为2 - 60个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义错误页描述,描述内容不超过60个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li> ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // 自定义错误页面内容。内容不超过 2KB。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
func NewModifyCustomErrorPageRequest ¶ added in v1.0.939
func NewModifyCustomErrorPageRequest() (request *ModifyCustomErrorPageRequest)
func (*ModifyCustomErrorPageRequest) FromJsonString ¶ added in v1.0.939
func (r *ModifyCustomErrorPageRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCustomErrorPageRequest) ToJsonString ¶ added in v1.0.939
func (r *ModifyCustomErrorPageRequest) ToJsonString() string
type ModifyCustomErrorPageRequestParams ¶ added in v1.0.939
type ModifyCustomErrorPageRequestParams struct { // 自定义错误页面 ID。 PageId *string `json:"PageId,omitnil,omitempty" name:"PageId"` // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 自定义错误页名称,名称为2 - 60个字符。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义错误页描述,描述内容不超过60个字符。 Description *string `json:"Description,omitnil,omitempty" name:"Description"` // 自定义错误页面类型,取值有:<li>text/html。 </li><li>application/json。</li><li>plain/text。</li><li>text/xml。</li> ContentType *string `json:"ContentType,omitnil,omitempty" name:"ContentType"` // 自定义错误页面内容。内容不超过 2KB。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
Predefined struct for user
type ModifyCustomErrorPageResponse ¶ added in v1.0.939
type ModifyCustomErrorPageResponse struct { *tchttp.BaseResponse Response *ModifyCustomErrorPageResponseParams `json:"Response"` }
func NewModifyCustomErrorPageResponse ¶ added in v1.0.939
func NewModifyCustomErrorPageResponse() (response *ModifyCustomErrorPageResponse)
func (*ModifyCustomErrorPageResponse) FromJsonString ¶ added in v1.0.939
func (r *ModifyCustomErrorPageResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCustomErrorPageResponse) ToJsonString ¶ added in v1.0.939
func (r *ModifyCustomErrorPageResponse) ToJsonString() string
type ModifyCustomErrorPageResponseParams ¶ added in v1.0.939
type ModifyCustomErrorPageResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFunctionRequest ¶ added in v1.0.1013
type ModifyFunctionRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 函数描述,最大支持 60 个字符,不填写保持原有配置。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小,不填写保持原有配置。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
func NewModifyFunctionRequest ¶ added in v1.0.1013
func NewModifyFunctionRequest() (request *ModifyFunctionRequest)
func (*ModifyFunctionRequest) FromJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionRequest) ToJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRequest) ToJsonString() string
type ModifyFunctionRequestParams ¶ added in v1.0.1013
type ModifyFunctionRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 函数 ID。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 函数描述,最大支持 60 个字符,不填写保持原有配置。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` // 函数内容,当前仅支持 JavaScript 代码,最大支持 5MB 大小,不填写保持原有配置。 Content *string `json:"Content,omitnil,omitempty" name:"Content"` }
Predefined struct for user
type ModifyFunctionResponse ¶ added in v1.0.1013
type ModifyFunctionResponse struct { *tchttp.BaseResponse Response *ModifyFunctionResponseParams `json:"Response"` }
func NewModifyFunctionResponse ¶ added in v1.0.1013
func NewModifyFunctionResponse() (response *ModifyFunctionResponse)
func (*ModifyFunctionResponse) FromJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionResponse) ToJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionResponse) ToJsonString() string
type ModifyFunctionResponseParams ¶ added in v1.0.1013
type ModifyFunctionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFunctionRulePriorityRequest ¶ added in v1.0.1013
type ModifyFunctionRulePriorityRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则 ID 列表,必须填入调整优先级后的所有规则 ID,多条规则执行顺序依次从上往下,不填写保持原优先级顺序。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
func NewModifyFunctionRulePriorityRequest ¶ added in v1.0.1013
func NewModifyFunctionRulePriorityRequest() (request *ModifyFunctionRulePriorityRequest)
func (*ModifyFunctionRulePriorityRequest) FromJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRulePriorityRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionRulePriorityRequest) ToJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRulePriorityRequest) ToJsonString() string
type ModifyFunctionRulePriorityRequestParams ¶ added in v1.0.1013
type ModifyFunctionRulePriorityRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则 ID 列表,必须填入调整优先级后的所有规则 ID,多条规则执行顺序依次从上往下,不填写保持原优先级顺序。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
Predefined struct for user
type ModifyFunctionRulePriorityResponse ¶ added in v1.0.1013
type ModifyFunctionRulePriorityResponse struct { *tchttp.BaseResponse Response *ModifyFunctionRulePriorityResponseParams `json:"Response"` }
func NewModifyFunctionRulePriorityResponse ¶ added in v1.0.1013
func NewModifyFunctionRulePriorityResponse() (response *ModifyFunctionRulePriorityResponse)
func (*ModifyFunctionRulePriorityResponse) FromJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRulePriorityResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionRulePriorityResponse) ToJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRulePriorityResponse) ToJsonString() string
type ModifyFunctionRulePriorityResponseParams ¶ added in v1.0.1013
type ModifyFunctionRulePriorityResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyFunctionRuleRequest ¶ added in v1.0.1013
type ModifyFunctionRuleRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。 FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"` // 函数 ID,命中触发规则条件后执行的函数,不填写保持原有配置。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 规则描述,最大支持 60 个字符,不填写保持原有配置。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
func NewModifyFunctionRuleRequest ¶ added in v1.0.1013
func NewModifyFunctionRuleRequest() (request *ModifyFunctionRuleRequest)
func (*ModifyFunctionRuleRequest) FromJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionRuleRequest) ToJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRuleRequest) ToJsonString() string
type ModifyFunctionRuleRequestParams ¶ added in v1.0.1013
type ModifyFunctionRuleRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。 FunctionRuleConditions []*FunctionRuleCondition `json:"FunctionRuleConditions,omitnil,omitempty" name:"FunctionRuleConditions"` // 函数 ID,命中触发规则条件后执行的函数,不填写保持原有配置。 FunctionId *string `json:"FunctionId,omitnil,omitempty" name:"FunctionId"` // 规则描述,最大支持 60 个字符,不填写保持原有配置。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
Predefined struct for user
type ModifyFunctionRuleResponse ¶ added in v1.0.1013
type ModifyFunctionRuleResponse struct { *tchttp.BaseResponse Response *ModifyFunctionRuleResponseParams `json:"Response"` }
func NewModifyFunctionRuleResponse ¶ added in v1.0.1013
func NewModifyFunctionRuleResponse() (response *ModifyFunctionRuleResponse)
func (*ModifyFunctionRuleResponse) FromJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyFunctionRuleResponse) ToJsonString ¶ added in v1.0.1013
func (r *ModifyFunctionRuleResponse) ToJsonString() string
type ModifyFunctionRuleResponseParams ¶ added in v1.0.1013
type ModifyFunctionRuleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyHostsCertificateRequest ¶
type ModifyHostsCertificateRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 需要修改证书配置的加速域名。 Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"` // 配置服务端证书的模式,取值有: // <li>disable:不配置服务端证书;</li> // <li>eofreecert:配置 EdgeOne 免费服务端证书;</li> // <li>sslcert:配置 SSL 托管服务端证书;</li> // 不填写表示服务端证书保持原有配置。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitnil,omitempty" name:"ServerCertInfo"` // 托管类型,取值有: // <li>none:不托管EO;</li> // <li>apply:托管EO</li> // 不填,默认取值为none。 ApplyType *string `json:"ApplyType,omitnil,omitempty" name:"ApplyType"` // 在边缘双向认证场景下,该字段为客户端的 CA 证书,部署在 EO 节点内,用于客户端对 EO 节点进行认证。默认关闭,不填写表示保持原有配置。 ClientCertInfo *MutualTLS `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"` }
func NewModifyHostsCertificateRequest ¶
func NewModifyHostsCertificateRequest() (request *ModifyHostsCertificateRequest)
func (*ModifyHostsCertificateRequest) FromJsonString ¶
func (r *ModifyHostsCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHostsCertificateRequest) ToJsonString ¶
func (r *ModifyHostsCertificateRequest) ToJsonString() string
type ModifyHostsCertificateRequestParams ¶
type ModifyHostsCertificateRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 需要修改证书配置的加速域名。 Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"` // 配置服务端证书的模式,取值有: // <li>disable:不配置服务端证书;</li> // <li>eofreecert:配置 EdgeOne 免费服务端证书;</li> // <li>sslcert:配置 SSL 托管服务端证书;</li> // 不填写表示服务端证书保持原有配置。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 ServerCertInfo []*ServerCertInfo `json:"ServerCertInfo,omitnil,omitempty" name:"ServerCertInfo"` // 托管类型,取值有: // <li>none:不托管EO;</li> // <li>apply:托管EO</li> // 不填,默认取值为none。 // // Deprecated: ApplyType is deprecated. ApplyType *string `json:"ApplyType,omitnil,omitempty" name:"ApplyType"` // 在边缘双向认证场景下,该字段为客户端的 CA 证书,部署在 EO 节点内,用于客户端对 EO 节点进行认证。默认关闭,不填写表示保持原有配置。 ClientCertInfo *MutualTLS `json:"ClientCertInfo,omitnil,omitempty" name:"ClientCertInfo"` }
Predefined struct for user
type ModifyHostsCertificateResponse ¶
type ModifyHostsCertificateResponse struct { *tchttp.BaseResponse Response *ModifyHostsCertificateResponseParams `json:"Response"` }
func NewModifyHostsCertificateResponse ¶
func NewModifyHostsCertificateResponse() (response *ModifyHostsCertificateResponse)
func (*ModifyHostsCertificateResponse) FromJsonString ¶
func (r *ModifyHostsCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHostsCertificateResponse) ToJsonString ¶
func (r *ModifyHostsCertificateResponse) ToJsonString() string
type ModifyHostsCertificateResponseParams ¶
type ModifyHostsCertificateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyL4ProxyRequest ¶ added in v1.0.850
type ModifyL4ProxyRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 应用 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 是否开启 IPv6 访问。 不填该参数时,表示不修改该配置。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> Ipv6 *string `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 是否开启中国大陆网络优化。不填该参数时,表示不修改该配置。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> AccelerateMainland *string `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
func NewModifyL4ProxyRequest ¶ added in v1.0.850
func NewModifyL4ProxyRequest() (request *ModifyL4ProxyRequest)
func (*ModifyL4ProxyRequest) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyRequest) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRequest) ToJsonString() string
type ModifyL4ProxyRequestParams ¶ added in v1.0.850
type ModifyL4ProxyRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 应用 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 是否开启 IPv6 访问。 不填该参数时,表示不修改该配置。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> Ipv6 *string `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 是否开启中国大陆网络优化。不填该参数时,表示不修改该配置。该配置仅在部分加速区域和安全防护配置下支持开启,详情请参考 [新建四层代理实例](https://cloud.tencent.com/document/product/1552/90025) 。取值为: // <li>on:开启;</li> // <li>off:关闭。</li> AccelerateMainland *string `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` }
Predefined struct for user
type ModifyL4ProxyResponse ¶ added in v1.0.850
type ModifyL4ProxyResponse struct { *tchttp.BaseResponse Response *ModifyL4ProxyResponseParams `json:"Response"` }
func NewModifyL4ProxyResponse ¶ added in v1.0.850
func NewModifyL4ProxyResponse() (response *ModifyL4ProxyResponse)
func (*ModifyL4ProxyResponse) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyResponse) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyResponse) ToJsonString() string
type ModifyL4ProxyResponseParams ¶ added in v1.0.850
type ModifyL4ProxyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyL4ProxyRulesRequest ¶ added in v1.0.850
type ModifyL4ProxyRulesRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则列表。单次最多支持 200 条转发规则。 // 注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。 L4ProxyRules []*L4ProxyRule `json:"L4ProxyRules,omitnil,omitempty" name:"L4ProxyRules"` }
func NewModifyL4ProxyRulesRequest ¶ added in v1.0.850
func NewModifyL4ProxyRulesRequest() (request *ModifyL4ProxyRulesRequest)
func (*ModifyL4ProxyRulesRequest) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyRulesRequest) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesRequest) ToJsonString() string
type ModifyL4ProxyRulesRequestParams ¶ added in v1.0.850
type ModifyL4ProxyRulesRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则列表。单次最多支持 200 条转发规则。 // 注意:L4ProxyRule 在此处使用时,RuleId 为必填字段;Protocol、PortRange、OriginType、OriginValue、OriginPortRange、ClientIPPassThroughMode、SessionPersist、SessionPersistTime、RuleTag 均为选填字段,不填写表示不修改;Status 请勿填写。 L4ProxyRules []*L4ProxyRule `json:"L4ProxyRules,omitnil,omitempty" name:"L4ProxyRules"` }
Predefined struct for user
type ModifyL4ProxyRulesResponse ¶ added in v1.0.850
type ModifyL4ProxyRulesResponse struct { *tchttp.BaseResponse Response *ModifyL4ProxyRulesResponseParams `json:"Response"` }
func NewModifyL4ProxyRulesResponse ¶ added in v1.0.850
func NewModifyL4ProxyRulesResponse() (response *ModifyL4ProxyRulesResponse)
func (*ModifyL4ProxyRulesResponse) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyRulesResponse) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesResponse) ToJsonString() string
type ModifyL4ProxyRulesResponseParams ¶ added in v1.0.850
type ModifyL4ProxyRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyL4ProxyRulesStatusRequest ¶ added in v1.0.850
type ModifyL4ProxyRulesStatusRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则 ID 列表。单次最多支持 200 条转发规则。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` // 转发规则状态,取值有: // <li>online:启用;</li> // <li>offline:停用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyL4ProxyRulesStatusRequest ¶ added in v1.0.850
func NewModifyL4ProxyRulesStatusRequest() (request *ModifyL4ProxyRulesStatusRequest)
func (*ModifyL4ProxyRulesStatusRequest) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyRulesStatusRequest) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesStatusRequest) ToJsonString() string
type ModifyL4ProxyRulesStatusRequestParams ¶ added in v1.0.850
type ModifyL4ProxyRulesStatusRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 转发规则 ID 列表。单次最多支持 200 条转发规则。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` // 转发规则状态,取值有: // <li>online:启用;</li> // <li>offline:停用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyL4ProxyRulesStatusResponse ¶ added in v1.0.850
type ModifyL4ProxyRulesStatusResponse struct { *tchttp.BaseResponse Response *ModifyL4ProxyRulesStatusResponseParams `json:"Response"` }
func NewModifyL4ProxyRulesStatusResponse ¶ added in v1.0.850
func NewModifyL4ProxyRulesStatusResponse() (response *ModifyL4ProxyRulesStatusResponse)
func (*ModifyL4ProxyRulesStatusResponse) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyRulesStatusResponse) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyRulesStatusResponse) ToJsonString() string
type ModifyL4ProxyRulesStatusResponseParams ¶ added in v1.0.850
type ModifyL4ProxyRulesStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyL4ProxyStatusRequest ¶ added in v1.0.850
type ModifyL4ProxyStatusRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 四层代理实例状态,取值有: // <li>online:启用;</li> // <li>offline:停用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
func NewModifyL4ProxyStatusRequest ¶ added in v1.0.850
func NewModifyL4ProxyStatusRequest() (request *ModifyL4ProxyStatusRequest)
func (*ModifyL4ProxyStatusRequest) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyStatusRequest) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyStatusRequest) ToJsonString() string
type ModifyL4ProxyStatusRequestParams ¶ added in v1.0.850
type ModifyL4ProxyStatusRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 四层代理实例 ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 四层代理实例状态,取值有: // <li>online:启用;</li> // <li>offline:停用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
Predefined struct for user
type ModifyL4ProxyStatusResponse ¶ added in v1.0.850
type ModifyL4ProxyStatusResponse struct { *tchttp.BaseResponse Response *ModifyL4ProxyStatusResponseParams `json:"Response"` }
func NewModifyL4ProxyStatusResponse ¶ added in v1.0.850
func NewModifyL4ProxyStatusResponse() (response *ModifyL4ProxyStatusResponse)
func (*ModifyL4ProxyStatusResponse) FromJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyL4ProxyStatusResponse) ToJsonString ¶ added in v1.0.850
func (r *ModifyL4ProxyStatusResponse) ToJsonString() string
type ModifyL4ProxyStatusResponseParams ¶ added in v1.0.850
type ModifyL4ProxyStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyLoadBalancerRequest ¶ added in v1.0.1031
type ModifyLoadBalancerRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 负载均衡实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。不填写表示维持原有配置。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。不填写表示维持原有配置。 OriginGroups []*OriginGroupInLoadBalancer `json:"OriginGroups,omitnil,omitempty" name:"OriginGroups"` // 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写表示维持原有配置。 HealthChecker *HealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"` // 源站组间的流量调度策略,取值有: // <li>Pritory:按优先级顺序进行故障转移 。</li>不填写表示维持原有配置。 SteeringPolicy *string `json:"SteeringPolicy,omitnil,omitempty" name:"SteeringPolicy"` // 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有: // <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li> // <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>不填写表示维持原有配置。 FailoverPolicy *string `json:"FailoverPolicy,omitnil,omitempty" name:"FailoverPolicy"` }
func NewModifyLoadBalancerRequest ¶ added in v1.0.1031
func NewModifyLoadBalancerRequest() (request *ModifyLoadBalancerRequest)
func (*ModifyLoadBalancerRequest) FromJsonString ¶ added in v1.0.1031
func (r *ModifyLoadBalancerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerRequest) ToJsonString ¶ added in v1.0.1031
func (r *ModifyLoadBalancerRequest) ToJsonString() string
type ModifyLoadBalancerRequestParams ¶ added in v1.0.1031
type ModifyLoadBalancerRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 负载均衡实例 ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 实例名称,可输入 1-200 个字符,允许字符为 a-z,A-Z,0-9,_,-。不填写表示维持原有配置。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组列表及其对应的容灾调度优先级。详情请参考 [快速创建负载均衡实例](https://cloud.tencent.com/document/product/1552/104223) 中的示例场景。不填写表示维持原有配置。 OriginGroups []*OriginGroupInLoadBalancer `json:"OriginGroups,omitnil,omitempty" name:"OriginGroups"` // 健康检查策略。详情请参考 [健康检查策略介绍](https://cloud.tencent.com/document/product/1552/104228)。不填写表示维持原有配置。 HealthChecker *HealthChecker `json:"HealthChecker,omitnil,omitempty" name:"HealthChecker"` // 源站组间的流量调度策略,取值有: // <li>Pritory:按优先级顺序进行故障转移 。</li>不填写表示维持原有配置。 SteeringPolicy *string `json:"SteeringPolicy,omitnil,omitempty" name:"SteeringPolicy"` // 实际访问某源站失败时的请求重试策略,详情请参考 [请求重试策略介绍](https://cloud.tencent.com/document/product/1552/104227),取值有: // <li>OtherOriginGroup:单次请求失败后,请求优先重试下一优先级源站组;</li> // <li>OtherRecordInOriginGroup:单次请求失败后,请求优先重试同源站组内的其他源站。</li>不填写表示维持原有配置。 FailoverPolicy *string `json:"FailoverPolicy,omitnil,omitempty" name:"FailoverPolicy"` }
Predefined struct for user
type ModifyLoadBalancerResponse ¶ added in v1.0.1031
type ModifyLoadBalancerResponse struct { *tchttp.BaseResponse Response *ModifyLoadBalancerResponseParams `json:"Response"` }
func NewModifyLoadBalancerResponse ¶ added in v1.0.1031
func NewModifyLoadBalancerResponse() (response *ModifyLoadBalancerResponse)
func (*ModifyLoadBalancerResponse) FromJsonString ¶ added in v1.0.1031
func (r *ModifyLoadBalancerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyLoadBalancerResponse) ToJsonString ¶ added in v1.0.1031
func (r *ModifyLoadBalancerResponse) ToJsonString() string
type ModifyLoadBalancerResponseParams ¶ added in v1.0.1031
type ModifyLoadBalancerResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyOriginGroupRequest ¶
type ModifyOriginGroupRequest struct { *tchttp.BaseRequest // 站点 ID ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 源站组 ID,此参数必填。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站组名称,不填保持原有配置,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组类型,取值有: // <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡引用;</li> // <li>HTTP: HTTP专用型源站组,支持添加 IP/域名、对象存储源站,无法被四层代理引用。</li>不填保持原有配置。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站记录信息,不填保持原有配置。 Records []*OriginRecord `json:"Records,omitnil,omitempty" name:"Records"` // 回源 Host Header,仅 Type = HTTP 时生效, 不填或者填空表示不配置回源Host,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。 HostHeader *string `json:"HostHeader,omitnil,omitempty" name:"HostHeader"` }
func NewModifyOriginGroupRequest ¶
func NewModifyOriginGroupRequest() (request *ModifyOriginGroupRequest)
func (*ModifyOriginGroupRequest) FromJsonString ¶
func (r *ModifyOriginGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyOriginGroupRequest) ToJsonString ¶
func (r *ModifyOriginGroupRequest) ToJsonString() string
type ModifyOriginGroupRequestParams ¶
type ModifyOriginGroupRequestParams struct { // 站点 ID ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 源站组 ID,此参数必填。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站组名称,不填保持原有配置,可输入1 - 200个字符,允许的字符为 a - z, A - Z, 0 - 9, _, - 。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组类型,取值有: // <li>GENERAL:通用型源站组,仅支持添加 IP/域名 源站,可以被域名服务、规则引擎、四层代理、通用型负载均衡引用;</li> // <li>HTTP: HTTP专用型源站组,支持添加 IP/域名、对象存储源站,无法被四层代理引用。</li>不填保持原有配置。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站记录信息,不填保持原有配置。 Records []*OriginRecord `json:"Records,omitnil,omitempty" name:"Records"` // 回源 Host Header,仅 Type = HTTP 时生效, 不填或者填空表示不配置回源Host,规则引擎修改 Host Header 配置优先级高于源站组的 Host Header。 HostHeader *string `json:"HostHeader,omitnil,omitempty" name:"HostHeader"` }
Predefined struct for user
type ModifyOriginGroupResponse ¶
type ModifyOriginGroupResponse struct { *tchttp.BaseResponse Response *ModifyOriginGroupResponseParams `json:"Response"` }
func NewModifyOriginGroupResponse ¶
func NewModifyOriginGroupResponse() (response *ModifyOriginGroupResponse)
func (*ModifyOriginGroupResponse) FromJsonString ¶
func (r *ModifyOriginGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyOriginGroupResponse) ToJsonString ¶
func (r *ModifyOriginGroupResponse) ToJsonString() string
type ModifyOriginGroupResponseParams ¶
type ModifyOriginGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyPlanRequest ¶ added in v1.0.912
type ModifyPlanRequest struct { *tchttp.BaseRequest // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 预付费套餐自动续费配置。若开启了自动续费,则会在套餐到期前一天自动续费,仅支持个人版,基础版,标准版套餐。不填写表示保持原有配置。 RenewFlag *RenewFlag `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
func NewModifyPlanRequest ¶ added in v1.0.912
func NewModifyPlanRequest() (request *ModifyPlanRequest)
func (*ModifyPlanRequest) FromJsonString ¶ added in v1.0.912
func (r *ModifyPlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPlanRequest) ToJsonString ¶ added in v1.0.912
func (r *ModifyPlanRequest) ToJsonString() string
type ModifyPlanRequestParams ¶ added in v1.0.912
type ModifyPlanRequestParams struct { // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 预付费套餐自动续费配置。若开启了自动续费,则会在套餐到期前一天自动续费,仅支持个人版,基础版,标准版套餐。不填写表示保持原有配置。 RenewFlag *RenewFlag `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
Predefined struct for user
type ModifyPlanResponse ¶ added in v1.0.912
type ModifyPlanResponse struct { *tchttp.BaseResponse Response *ModifyPlanResponseParams `json:"Response"` }
func NewModifyPlanResponse ¶ added in v1.0.912
func NewModifyPlanResponse() (response *ModifyPlanResponse)
func (*ModifyPlanResponse) FromJsonString ¶ added in v1.0.912
func (r *ModifyPlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyPlanResponse) ToJsonString ¶ added in v1.0.912
func (r *ModifyPlanResponse) ToJsonString() string
type ModifyPlanResponseParams ¶ added in v1.0.912
type ModifyPlanResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRealtimeLogDeliveryTaskRequest ¶ added in v1.0.869
type ModifyRealtimeLogDeliveryTaskRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。不填保持原有配置。 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 实时日志投递任务的状态,取值有: // <li>enabled: 启用;</li> // <li>disabled: 停用。</li>不填保持原有配置。 DeliveryStatus *string `json:"DeliveryStatus,omitnil,omitempty" name:"DeliveryStatus"` // 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: // <li>七层域名:domain.example.com;</li> // <li>四层代理实例:sid-2s69eb5wcms7。</li>不填保持原有配置。 EntityList []*string `json:"EntityList,omitnil,omitempty" name:"EntityList"` // 投递的预设字段列表。不填保持原有配置。 Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。不填保持原有配置。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。 CustomFields []*CustomField `json:"CustomFields,omitnil,omitempty" name:"CustomFields"` // 日志投递的过滤条件。不填表示投递全量日志。 DeliveryConditions []*DeliveryCondition `json:"DeliveryConditions,omitnil,omitempty" name:"DeliveryConditions"` // 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填保持原有配置。 Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"` // 日志投递的输出格式。不填保持原有配置。 // 特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。 LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 自定义 HTTP 服务的配置信息,不填保持原有配置。 CustomEndpoint *CustomEndpoint `json:"CustomEndpoint,omitnil,omitempty" name:"CustomEndpoint"` // AWS S3 兼容存储桶的配置信息,不填保持原有配置。 S3 *S3 `json:"S3,omitnil,omitempty" name:"S3"` }
func NewModifyRealtimeLogDeliveryTaskRequest ¶ added in v1.0.869
func NewModifyRealtimeLogDeliveryTaskRequest() (request *ModifyRealtimeLogDeliveryTaskRequest)
func (*ModifyRealtimeLogDeliveryTaskRequest) FromJsonString ¶ added in v1.0.869
func (r *ModifyRealtimeLogDeliveryTaskRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRealtimeLogDeliveryTaskRequest) ToJsonString ¶ added in v1.0.869
func (r *ModifyRealtimeLogDeliveryTaskRequest) ToJsonString() string
type ModifyRealtimeLogDeliveryTaskRequestParams ¶ added in v1.0.869
type ModifyRealtimeLogDeliveryTaskRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 实时日志投递任务的名称,格式为数字、英文、-和_组合,最多 200 个字符。不填保持原有配置。 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 实时日志投递任务的状态,取值有: // <li>enabled: 启用;</li> // <li>disabled: 停用。</li>不填保持原有配置。 DeliveryStatus *string `json:"DeliveryStatus,omitnil,omitempty" name:"DeliveryStatus"` // 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: // <li>七层域名:domain.example.com;</li> // <li>四层代理实例:sid-2s69eb5wcms7。</li>不填保持原有配置。 EntityList []*string `json:"EntityList,omitnil,omitempty" name:"EntityList"` // 投递的预设字段列表。不填保持原有配置。 Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // 投递的自定义字段列表,支持在 HTTP 请求头、响应头、Cookie、请求正文中提取指定内容。不填保持原有配置。自定义字段名称不能重复,且最多不能超过 200 个字段。单个实时日志推送任务最多添加 5 个请求正文类型的自定义字段。目前仅站点加速日志(LogType=domain)支持添加自定义字段。 CustomFields []*CustomField `json:"CustomFields,omitnil,omitempty" name:"CustomFields"` // 日志投递的过滤条件。不填表示投递全量日志。 DeliveryConditions []*DeliveryCondition `json:"DeliveryConditions,omitnil,omitempty" name:"DeliveryConditions"` // 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填保持原有配置。 Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"` // 日志投递的输出格式。不填保持原有配置。 // 特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。 LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // 自定义 HTTP 服务的配置信息,不填保持原有配置。 CustomEndpoint *CustomEndpoint `json:"CustomEndpoint,omitnil,omitempty" name:"CustomEndpoint"` // AWS S3 兼容存储桶的配置信息,不填保持原有配置。 S3 *S3 `json:"S3,omitnil,omitempty" name:"S3"` }
Predefined struct for user
type ModifyRealtimeLogDeliveryTaskResponse ¶ added in v1.0.869
type ModifyRealtimeLogDeliveryTaskResponse struct { *tchttp.BaseResponse Response *ModifyRealtimeLogDeliveryTaskResponseParams `json:"Response"` }
func NewModifyRealtimeLogDeliveryTaskResponse ¶ added in v1.0.869
func NewModifyRealtimeLogDeliveryTaskResponse() (response *ModifyRealtimeLogDeliveryTaskResponse)
func (*ModifyRealtimeLogDeliveryTaskResponse) FromJsonString ¶ added in v1.0.869
func (r *ModifyRealtimeLogDeliveryTaskResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRealtimeLogDeliveryTaskResponse) ToJsonString ¶ added in v1.0.869
func (r *ModifyRealtimeLogDeliveryTaskResponse) ToJsonString() string
type ModifyRealtimeLogDeliveryTaskResponseParams ¶ added in v1.0.869
type ModifyRealtimeLogDeliveryTaskResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRuleRequest ¶
type ModifyRuleRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则名称,字符串名称长度 1~255。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则内容。 Rules []*Rule `json:"Rules,omitnil,omitempty" name:"Rules"` // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则状态,取值有: // <li> enable: 启用; </li> // <li> disable: 未启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 规则标签。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` }
func NewModifyRuleRequest ¶
func NewModifyRuleRequest() (request *ModifyRuleRequest)
func (*ModifyRuleRequest) FromJsonString ¶
func (r *ModifyRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleRequest) ToJsonString ¶
func (r *ModifyRuleRequest) ToJsonString() string
type ModifyRuleRequestParams ¶
type ModifyRuleRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 规则名称,字符串名称长度 1~255。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则内容。 Rules []*Rule `json:"Rules,omitnil,omitempty" name:"Rules"` // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则状态,取值有: // <li> enable: 启用; </li> // <li> disable: 未启用。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 规则标签。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` }
Predefined struct for user
type ModifyRuleResponse ¶
type ModifyRuleResponse struct { *tchttp.BaseResponse Response *ModifyRuleResponseParams `json:"Response"` }
func NewModifyRuleResponse ¶
func NewModifyRuleResponse() (response *ModifyRuleResponse)
func (*ModifyRuleResponse) FromJsonString ¶
func (r *ModifyRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleResponse) ToJsonString ¶
func (r *ModifyRuleResponse) ToJsonString() string
type ModifyRuleResponseParams ¶
type ModifyRuleResponseParams struct { // 规则 ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityIPGroupRequest ¶ added in v1.0.647
type ModifySecurityIPGroupRequest struct { *tchttp.BaseRequest // 站点 Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // IP 组配置。 IPGroup *IPGroup `json:"IPGroup,omitnil,omitempty" name:"IPGroup"` // 操作类型,取值有: // <li> append: 向 IPGroup 中追加 Content 参数中内容;</li> // <li> remove: 从 IPGroup 中删除 Content 参数中内容;</li> // <li> update: 全量替换 IPGroup 内容,并可修改 IPGroup 名称。 </li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
func NewModifySecurityIPGroupRequest ¶ added in v1.0.647
func NewModifySecurityIPGroupRequest() (request *ModifySecurityIPGroupRequest)
func (*ModifySecurityIPGroupRequest) FromJsonString ¶ added in v1.0.647
func (r *ModifySecurityIPGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityIPGroupRequest) ToJsonString ¶ added in v1.0.647
func (r *ModifySecurityIPGroupRequest) ToJsonString() string
type ModifySecurityIPGroupRequestParams ¶ added in v1.0.647
type ModifySecurityIPGroupRequestParams struct { // 站点 Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // IP 组配置。 IPGroup *IPGroup `json:"IPGroup,omitnil,omitempty" name:"IPGroup"` // 操作类型,取值有: // <li> append: 向 IPGroup 中追加 Content 参数中内容;</li> // <li> remove: 从 IPGroup 中删除 Content 参数中内容;</li> // <li> update: 全量替换 IPGroup 内容,并可修改 IPGroup 名称。 </li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` }
Predefined struct for user
type ModifySecurityIPGroupResponse ¶ added in v1.0.647
type ModifySecurityIPGroupResponse struct { *tchttp.BaseResponse Response *ModifySecurityIPGroupResponseParams `json:"Response"` }
func NewModifySecurityIPGroupResponse ¶ added in v1.0.647
func NewModifySecurityIPGroupResponse() (response *ModifySecurityIPGroupResponse)
func (*ModifySecurityIPGroupResponse) FromJsonString ¶ added in v1.0.647
func (r *ModifySecurityIPGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityIPGroupResponse) ToJsonString ¶ added in v1.0.647
func (r *ModifySecurityIPGroupResponse) ToJsonString() string
type ModifySecurityIPGroupResponseParams ¶ added in v1.0.647
type ModifySecurityIPGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityPolicyRequest ¶
type ModifySecurityPolicyRequest struct { *tchttp.BaseRequest // 站点Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 安全配置。 SecurityConfig *SecurityConfig `json:"SecurityConfig,omitnil,omitempty" name:"SecurityConfig"` // 子域名/应用名。 // // 注意:当同时指定本参数和 TemplateId 参数时,本参数不生效。请勿同时指定本参数和 TemplateId 参数。 Entity *string `json:"Entity,omitnil,omitempty" name:"Entity"` // 指定模板策略 ID,或指定站点全局策略。 // - 如需配置策略模板,请指定策略模板 ID。 // - 如需配置站点全局策略,请使用 @ZoneLevel@Domain 参数值 // // 注意:当使用本参数时,Entity 参数不生效。请勿同时使用本参数和 Entity 参数。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
func NewModifySecurityPolicyRequest ¶
func NewModifySecurityPolicyRequest() (request *ModifySecurityPolicyRequest)
func (*ModifySecurityPolicyRequest) FromJsonString ¶
func (r *ModifySecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityPolicyRequest) ToJsonString ¶
func (r *ModifySecurityPolicyRequest) ToJsonString() string
type ModifySecurityPolicyRequestParams ¶
type ModifySecurityPolicyRequestParams struct { // 站点Id。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 安全配置。 SecurityConfig *SecurityConfig `json:"SecurityConfig,omitnil,omitempty" name:"SecurityConfig"` // 子域名/应用名。 // // 注意:当同时指定本参数和 TemplateId 参数时,本参数不生效。请勿同时指定本参数和 TemplateId 参数。 Entity *string `json:"Entity,omitnil,omitempty" name:"Entity"` // 指定模板策略 ID,或指定站点全局策略。 // - 如需配置策略模板,请指定策略模板 ID。 // - 如需配置站点全局策略,请使用 @ZoneLevel@Domain 参数值 // // 注意:当使用本参数时,Entity 参数不生效。请勿同时使用本参数和 Entity 参数。 TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` }
Predefined struct for user
type ModifySecurityPolicyResponse ¶
type ModifySecurityPolicyResponse struct { *tchttp.BaseResponse Response *ModifySecurityPolicyResponseParams `json:"Response"` }
func NewModifySecurityPolicyResponse ¶
func NewModifySecurityPolicyResponse() (response *ModifySecurityPolicyResponse)
func (*ModifySecurityPolicyResponse) FromJsonString ¶
func (r *ModifySecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityPolicyResponse) ToJsonString ¶
func (r *ModifySecurityPolicyResponse) ToJsonString() string
type ModifySecurityPolicyResponseParams ¶
type ModifySecurityPolicyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneRequest ¶
type ModifyZoneRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点接入方式,取值有: // <li>full:NS 接入;</li> // <li>partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到 CNAME 接入;</li> // <li>dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。</li>不填写保持原有配置。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。当站点是无域名接入方式时不允许传此参数。 VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil,omitempty" name:"VanityNameServers"` // 站点别名。数字、英文、-和_组合,限制20个字符。 AliasZoneName *string `json:"AliasZoneName,omitnil,omitempty" name:"AliasZoneName"` // 站点接入地域,取值有: // <li> global:全球;</li> // <li> mainland:中国大陆;</li> // <li> overseas:境外区域。</li>当站点是无域名接入方式时,不允许传此参数。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 站点名称。仅当站点由无域名接入方式切换到CNAME接入方式的场景下有效。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` }
func NewModifyZoneRequest ¶
func NewModifyZoneRequest() (request *ModifyZoneRequest)
func (*ModifyZoneRequest) FromJsonString ¶
func (r *ModifyZoneRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneRequest) ToJsonString ¶
func (r *ModifyZoneRequest) ToJsonString() string
type ModifyZoneRequestParams ¶
type ModifyZoneRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点接入方式,取值有: // <li>full:NS 接入;</li> // <li>partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到 CNAME 接入;</li> // <li>dnsPodAccess:DNSPod 托管接入,该接入模式要求您的域名已托管在 DNSPod 内。</li>不填写保持原有配置。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。当站点是无域名接入方式时不允许传此参数。 VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil,omitempty" name:"VanityNameServers"` // 站点别名。数字、英文、-和_组合,限制20个字符。 AliasZoneName *string `json:"AliasZoneName,omitnil,omitempty" name:"AliasZoneName"` // 站点接入地域,取值有: // <li> global:全球;</li> // <li> mainland:中国大陆;</li> // <li> overseas:境外区域。</li>当站点是无域名接入方式时,不允许传此参数。 Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 站点名称。仅当站点由无域名接入方式切换到CNAME接入方式的场景下有效。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` }
Predefined struct for user
type ModifyZoneResponse ¶
type ModifyZoneResponse struct { *tchttp.BaseResponse Response *ModifyZoneResponseParams `json:"Response"` }
func NewModifyZoneResponse ¶
func NewModifyZoneResponse() (response *ModifyZoneResponse)
func (*ModifyZoneResponse) FromJsonString ¶
func (r *ModifyZoneResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneResponse) ToJsonString ¶
func (r *ModifyZoneResponse) ToJsonString() string
type ModifyZoneResponseParams ¶
type ModifyZoneResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneSettingRequest ¶
type ModifyZoneSettingRequest struct { *tchttp.BaseRequest // 待变更的站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 缓存过期时间配置。 // 不填写表示保持原有配置。 CacheConfig *CacheConfig `json:"CacheConfig,omitnil,omitempty" name:"CacheConfig"` // 节点缓存键配置。 // 不填写表示保持原有配置。 CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"` // 浏览器缓存配置。 // 不填写表示保持原有配置。 MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"` // 离线缓存配置。 // 不填写表示保持原有配置。 OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"` // Quic 访问配置。 // 不填写表示保持原有配置。 Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"` // Post 请求传输配置。 // 不填写表示保持原有配置。 PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil,omitempty" name:"PostMaxSize"` // 智能压缩配置。 // 不填写表示保持原有配置。 Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"` // Http2 回源配置。 // 不填写表示保持原有配置。 UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil,omitempty" name:"UpstreamHttp2"` // 访问协议强制 Https 跳转配置。 // 不填写表示保持原有配置。 ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"` // Https 加速配置。 // 不填写表示保持原有配置。 Https *Https `json:"Https,omitnil,omitempty" name:"Https"` // 源站配置。 // 不填写表示保持原有配置。 Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"` // 智能加速配置。 // 不填写表示保持原有配置。 SmartRouting *SmartRouting `json:"SmartRouting,omitnil,omitempty" name:"SmartRouting"` // WebSocket 配置。 // 不填写表示保持原有配置。 WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"` // 客户端 IP 回源请求头配置。 // 不填写表示保持原有配置。 ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitnil,omitempty" name:"ClientIpHeader"` // 缓存预刷新配置。 // 不填写表示保持原有配置。 CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil,omitempty" name:"CachePrefresh"` // Ipv6 访问配置。 // 不填写表示保持原有配置。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 回源时是否携带客户端 IP 所属地域信息的配置。 // 不填写表示保持原有配置。 ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil,omitempty" name:"ClientIpCountry"` // Grpc 协议支持配置。 // 不填写表示保持原有配置。 Grpc *Grpc `json:"Grpc,omitnil,omitempty" name:"Grpc"` // 图片优化配置。 // 不填写表示关闭。 ImageOptimize *ImageOptimize `json:"ImageOptimize,omitnil,omitempty" name:"ImageOptimize"` // 标准 Debug 配置。 StandardDebug *StandardDebug `json:"StandardDebug,omitnil,omitempty" name:"StandardDebug"` // 视频即时处理配置。不填写表示保持原有配置。 JITVideoProcess *JITVideoProcess `json:"JITVideoProcess,omitnil,omitempty" name:"JITVideoProcess"` }
func NewModifyZoneSettingRequest ¶
func NewModifyZoneSettingRequest() (request *ModifyZoneSettingRequest)
func (*ModifyZoneSettingRequest) FromJsonString ¶
func (r *ModifyZoneSettingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneSettingRequest) ToJsonString ¶
func (r *ModifyZoneSettingRequest) ToJsonString() string
type ModifyZoneSettingRequestParams ¶
type ModifyZoneSettingRequestParams struct { // 待变更的站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 缓存过期时间配置。 // 不填写表示保持原有配置。 CacheConfig *CacheConfig `json:"CacheConfig,omitnil,omitempty" name:"CacheConfig"` // 节点缓存键配置。 // 不填写表示保持原有配置。 CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"` // 浏览器缓存配置。 // 不填写表示保持原有配置。 MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"` // 离线缓存配置。 // 不填写表示保持原有配置。 OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"` // Quic 访问配置。 // 不填写表示保持原有配置。 Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"` // Post 请求传输配置。 // 不填写表示保持原有配置。 PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil,omitempty" name:"PostMaxSize"` // 智能压缩配置。 // 不填写表示保持原有配置。 Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"` // Http2 回源配置。 // 不填写表示保持原有配置。 UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil,omitempty" name:"UpstreamHttp2"` // 访问协议强制 Https 跳转配置。 // 不填写表示保持原有配置。 ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"` // Https 加速配置。 // 不填写表示保持原有配置。 Https *Https `json:"Https,omitnil,omitempty" name:"Https"` // 源站配置。 // 不填写表示保持原有配置。 Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"` // 智能加速配置。 // 不填写表示保持原有配置。 SmartRouting *SmartRouting `json:"SmartRouting,omitnil,omitempty" name:"SmartRouting"` // WebSocket 配置。 // 不填写表示保持原有配置。 WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"` // 客户端 IP 回源请求头配置。 // 不填写表示保持原有配置。 ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitnil,omitempty" name:"ClientIpHeader"` // 缓存预刷新配置。 // 不填写表示保持原有配置。 CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil,omitempty" name:"CachePrefresh"` // Ipv6 访问配置。 // 不填写表示保持原有配置。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // 回源时是否携带客户端 IP 所属地域信息的配置。 // 不填写表示保持原有配置。 ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil,omitempty" name:"ClientIpCountry"` // Grpc 协议支持配置。 // 不填写表示保持原有配置。 Grpc *Grpc `json:"Grpc,omitnil,omitempty" name:"Grpc"` // 图片优化配置。 // 不填写表示关闭。 ImageOptimize *ImageOptimize `json:"ImageOptimize,omitnil,omitempty" name:"ImageOptimize"` // 标准 Debug 配置。 StandardDebug *StandardDebug `json:"StandardDebug,omitnil,omitempty" name:"StandardDebug"` // 视频即时处理配置。不填写表示保持原有配置。 JITVideoProcess *JITVideoProcess `json:"JITVideoProcess,omitnil,omitempty" name:"JITVideoProcess"` }
Predefined struct for user
type ModifyZoneSettingResponse ¶
type ModifyZoneSettingResponse struct { *tchttp.BaseResponse Response *ModifyZoneSettingResponseParams `json:"Response"` }
func NewModifyZoneSettingResponse ¶
func NewModifyZoneSettingResponse() (response *ModifyZoneSettingResponse)
func (*ModifyZoneSettingResponse) FromJsonString ¶
func (r *ModifyZoneSettingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneSettingResponse) ToJsonString ¶
func (r *ModifyZoneSettingResponse) ToJsonString() string
type ModifyZoneSettingResponseParams ¶
type ModifyZoneSettingResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyZoneStatusRequest ¶
type ModifyZoneStatusRequest struct { *tchttp.BaseRequest // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点状态,取值有: // <li> false:开启站点;</li> // <li> true:关闭站点。</li> Paused *bool `json:"Paused,omitnil,omitempty" name:"Paused"` }
func NewModifyZoneStatusRequest ¶
func NewModifyZoneStatusRequest() (request *ModifyZoneStatusRequest)
func (*ModifyZoneStatusRequest) FromJsonString ¶
func (r *ModifyZoneStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneStatusRequest) ToJsonString ¶
func (r *ModifyZoneStatusRequest) ToJsonString() string
type ModifyZoneStatusRequestParams ¶
type ModifyZoneStatusRequestParams struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点状态,取值有: // <li> false:开启站点;</li> // <li> true:关闭站点。</li> Paused *bool `json:"Paused,omitnil,omitempty" name:"Paused"` }
Predefined struct for user
type ModifyZoneStatusResponse ¶
type ModifyZoneStatusResponse struct { *tchttp.BaseResponse Response *ModifyZoneStatusResponseParams `json:"Response"` }
func NewModifyZoneStatusResponse ¶
func NewModifyZoneStatusResponse() (response *ModifyZoneStatusResponse)
func (*ModifyZoneStatusResponse) FromJsonString ¶
func (r *ModifyZoneStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyZoneStatusResponse) ToJsonString ¶
func (r *ModifyZoneStatusResponse) ToJsonString() string
type ModifyZoneStatusResponseParams ¶
type ModifyZoneStatusResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type MutualTLS ¶ added in v1.0.955
type MutualTLS struct { // 双向认证配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 双向认证证书列表。 // 注意:MutualTLS 在 ModifyHostsCertificate 作为入参使用时,该参数传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 CertInfos []*CertificateInfo `json:"CertInfos,omitnil,omitempty" name:"CertInfos"` }
type NoCache ¶
type NoCache struct { // 不缓存配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type NormalAction ¶
type NormalAction struct { // 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 参数。 Parameters []*RuleNormalActionParams `json:"Parameters,omitnil,omitempty" name:"Parameters"` }
type NsVerification ¶ added in v1.0.756
type NsVerification struct { // NS 接入时,分配给用户的 DNS 服务器地址,需要将域名的 NameServer 切换至该地址。 NameServers []*string `json:"NameServers,omitnil,omitempty" name:"NameServers"` }
type OfflineCache ¶
type OfflineCache struct { // 离线缓存是否开启,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type Origin ¶
type Origin struct { // 主源站列表。 // 注意:此字段可能返回 null,表示取不到有效值。 Origins []*string `json:"Origins,omitnil,omitempty" name:"Origins"` // 备源站列表。 // 注意:此字段可能返回 null,表示取不到有效值。 BackupOrigins []*string `json:"BackupOrigins,omitnil,omitempty" name:"BackupOrigins"` // 回源协议配置,取值有: // <li>http:强制 http 回源;</li> // <li>follow:协议跟随回源;</li> // <li>https:强制 https 回源。</li> // 注意:此字段可能返回 null,表示取不到有效值。 OriginPullProtocol *string `json:"OriginPullProtocol,omitnil,omitempty" name:"OriginPullProtocol"` // 源站为腾讯云 COS 时,是否为私有访问 bucket,取值有: // <li>on:私有访问;</li> // <li>off:公共访问。</li> // 注意:此字段可能返回 null,表示取不到有效值。 CosPrivateAccess *string `json:"CosPrivateAccess,omitnil,omitempty" name:"CosPrivateAccess"` }
type OriginDetail ¶ added in v1.0.591
type OriginDetail struct { // 源站类型,取值有: // <li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li> // <li>COS:腾讯云 COS 对象存储源站;</li> // <li>AWS_S3:AWS S3 对象存储源站;</li> // <li>ORIGIN_GROUP:源站组类型源站;</li> // <li>VOD:云点播;</li> // <li>SPACE:源站卸载,当前仅白名单开放;</li> // <li>LB:负载均衡,当前仅白名单开放。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 源站地址,根据 OriginType 的取值分为以下情况: // <li>当 OriginType = IP_DOMAIN 时,该参数为 IPv4、IPv6 地址或域名;</li> // <li>当 OriginType = COS 时,该参数为 COS 桶的访问域名;</li> // <li>当 OriginType = AWS_S3,该参数为 S3 桶的访问域名;</li> // <li>当 OriginType = ORIGIN_GROUP 时,该参数为源站组 ID;</li> // <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li> Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"` // 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 且配置了备源站组时会生效。 BackupOrigin *string `json:"BackupOrigin,omitnil,omitempty" name:"BackupOrigin"` // 主源源站组名称,当 OriginType = ORIGIN_GROUP 时该参数会返回值。 OriginGroupName *string `json:"OriginGroupName,omitnil,omitempty" name:"OriginGroupName"` // 备用源站组名称,该参数仅当 OriginType = ORIGIN_GROUP 且配置了备用源站组时会生效。 BackOriginGroupName *string `json:"BackOriginGroupName,omitnil,omitempty" name:"BackOriginGroupName"` // 指定是否允许访问私有对象存储源站,该参数仅当源站类型OriginType = COS 或 AWS_S3 时会生效,取值有: // <li>on:使用私有鉴权;</li> // <li>off:不使用私有鉴权。</li> // 不填写,默认值为 off。 PrivateAccess *string `json:"PrivateAccess,omitnil,omitempty" name:"PrivateAccess"` // 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。 // 注意:此字段可能返回 null,表示取不到有效值。 PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"` // MO 子应用 ID // // Deprecated: VodeoSubAppId is deprecated. VodeoSubAppId *int64 `json:"VodeoSubAppId,omitnil,omitempty" name:"VodeoSubAppId"` // MO 分发范围,取值有: <li>All:全部</li> <li>Bucket:存储桶</li> // // Deprecated: VodeoDistributionRange is deprecated. VodeoDistributionRange *string `json:"VodeoDistributionRange,omitnil,omitempty" name:"VodeoDistributionRange"` // MO 存储桶 ID,分发范围(DistributionRange)为存储桶(Bucket)时必填 // // Deprecated: VodeoBucketId is deprecated. VodeoBucketId *string `json:"VodeoBucketId,omitnil,omitempty" name:"VodeoBucketId"` }
type OriginGroup ¶
type OriginGroup struct { // 源站组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站组名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 源站组类型,取值有: // <li>GENERAL:通用型源站组;</li> // <li>HTTP: HTTP专用型源站组。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站记录信息。 Records []*OriginRecord `json:"Records,omitnil,omitempty" name:"Records"` // 源站组被引用实例列表。 References []*OriginGroupReference `json:"References,omitnil,omitempty" name:"References"` // 源站组创建时间。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 源站组更新时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 回源Host Header。 // 注意:此字段可能返回 null,表示取不到有效值。 HostHeader *string `json:"HostHeader,omitnil,omitempty" name:"HostHeader"` }
type OriginGroupHealthStatus ¶ added in v1.0.1031
type OriginGroupHealthStatus struct { // 源站组 ID。 OriginGroupID *string `json:"OriginGroupID,omitnil,omitempty" name:"OriginGroupID"` // 源站组名。 OriginGroupName *string `json:"OriginGroupName,omitnil,omitempty" name:"OriginGroupName"` // 源站组类型,取值有: // <li>HTTP:HTTP 专用型;</li> // <li>GENERAL:通用型。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 优先级。 Priority *string `json:"Priority,omitnil,omitempty" name:"Priority"` // 源站组里各源站的健康状态。 OriginHealthStatus []*OriginHealthStatus `json:"OriginHealthStatus,omitnil,omitempty" name:"OriginHealthStatus"` }
type OriginGroupHealthStatusDetail ¶ added in v1.0.1031
type OriginGroupHealthStatusDetail struct { // 源站组 ID。 OriginGroupId *string `json:"OriginGroupId,omitnil,omitempty" name:"OriginGroupId"` // 根据所有探测区域的结果综合决策出来的源站组下各个源站的健康状态。超过一半的地域判定该源站不健康,则对应状态为不健康,否则为健康。 OriginHealthStatus []*OriginHealthStatus `json:"OriginHealthStatus,omitnil,omitempty" name:"OriginHealthStatus"` // 各个健康检查区域下源站的健康状态。 CheckRegionHealthStatus []*CheckRegionHealthStatus `json:"CheckRegionHealthStatus,omitnil,omitempty" name:"CheckRegionHealthStatus"` }
type OriginGroupInLoadBalancer ¶ added in v1.0.1031
type OriginGroupInLoadBalancer struct { // 优先级,填写格式为 "priority_" + "数字",最高优先级为 "priority_1"。参考取值有: // <li>priority_1:第一优先级;</li> // <li>priority_2:第二优先级;</li> // <li>priority_3:第三优先级。</li>其他优先级可以将数字递增,最多可以递增至 "priority_10"。 Priority *string `json:"Priority,omitnil,omitempty" name:"Priority"` // 源站组 ID。 OriginGroupId *string `json:"OriginGroupId,omitnil,omitempty" name:"OriginGroupId"` }
type OriginGroupReference ¶ added in v1.0.774
type OriginGroupReference struct { // 引用服务类型,取值有: // <li>AccelerationDomain: 加速域名;</li> // <li>RuleEngine: 规则引擎;</li> // <li>Loadbalance: 负载均衡;</li> // <li>ApplicationProxy: 四层代理。</li> InstanceType *string `json:"InstanceType,omitnil,omitempty" name:"InstanceType"` // 引用类型的实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 应用类型的实例名称。 InstanceName *string `json:"InstanceName,omitnil,omitempty" name:"InstanceName"` }
type OriginHealthStatus ¶ added in v1.0.1031
type OriginInfo ¶ added in v1.0.591
type OriginInfo struct { // 源站类型,取值有: // <li>IP_DOMAIN:IPV4、IPV6 或域名类型源站;</li> // <li>COS:腾讯云 COS 对象存储源站;</li> // <li>AWS_S3:AWS S3 对象存储源站;</li> // <li>ORIGIN_GROUP:源站组类型源站;</li> // <li>VOD:云点播;</li> // <li>SPACE:源站卸载,当前仅白名单开放;</li> // <li>LB:负载均衡,当前仅白名单开放。</li> OriginType *string `json:"OriginType,omitnil,omitempty" name:"OriginType"` // 源站地址,根据 OriginType 的取值分为以下情况: // <li>当 OriginType = IP_DOMAIN 时,该参数请填写 IPv4、IPv6 地址或域名;</li> // <li>当 OriginType = COS 时,该参数请填写 COS 桶的访问域名;</li> // <li>当 OriginType = AWS_S3,该参数请填写 S3 桶的访问域名;</li> // <li>当 OriginType = ORIGIN_GROUP 时,该参数请填写源站组 ID;</li> // <li>当 OriginType = VOD 时,该参数请填写云点播应用 ID ;</li> // <li>当 OriginType = LB 时,该参数请填写负载均衡实例 ID,该功能当前仅白名单开放;</li> // <li>当 OriginType = SPACE 时,该参数请填写源站卸载空间 ID,该功能当前仅白名单开放。</li> Origin *string `json:"Origin,omitnil,omitempty" name:"Origin"` // 备用源站组 ID,该参数仅在 OriginType = ORIGIN_GROUP 时生效,该字段为旧版能力,调用后控制台无法进行配置修改,如需使用请提交工单咨询。 BackupOrigin *string `json:"BackupOrigin,omitnil,omitempty" name:"BackupOrigin"` // 指定是否允许访问私有对象存储源站,该参数仅当源站类型 OriginType = COS 或 AWS_S3 时会生效,取值有: // <li>on:使用私有鉴权;</li> // <li>off:不使用私有鉴权。</li> // 不填写时,默认值为off。 PrivateAccess *string `json:"PrivateAccess,omitnil,omitempty" name:"PrivateAccess"` // 私有鉴权使用参数,该参数仅当源站类型 PrivateAccess = on 时会生效。 PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"` // VODEO 子应用 ID。该参数当 OriginType = VODEO 时必填。 // // Deprecated: VodeoSubAppId is deprecated. VodeoSubAppId *int64 `json:"VodeoSubAppId,omitnil,omitempty" name:"VodeoSubAppId"` // VODEO 分发范围,该参数当 OriginType = VODEO 时必填。取值有: // <li>All:当前应用下所有存储桶;</li> // <li>Bucket:指定的某一个存储桶。</li> // // Deprecated: VodeoDistributionRange is deprecated. VodeoDistributionRange *string `json:"VodeoDistributionRange,omitnil,omitempty" name:"VodeoDistributionRange"` // VODEO 存储桶 ID,该参数当 OriginType = VODEO 且 VodeoDistributionRange = Bucket 时必填。 // // Deprecated: VodeoBucketId is deprecated. VodeoBucketId *string `json:"VodeoBucketId,omitnil,omitempty" name:"VodeoBucketId"` }
type OriginProtectionInfo ¶ added in v1.0.570
type OriginProtectionInfo struct { // 站点ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 域名列表。 Hosts []*string `json:"Hosts,omitnil,omitempty" name:"Hosts"` // 代理ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 当前版本的IP白名单。 // 注意:此字段可能返回 null,表示取不到有效值。 CurrentIPWhitelist *IPWhitelist `json:"CurrentIPWhitelist,omitnil,omitempty" name:"CurrentIPWhitelist"` // 该站点是否需要更新源站白名单,取值有: // <li>true :需要更新IP白名单 ;</li> // <li>false :无需更新IP白名单。</li> NeedUpdate *bool `json:"NeedUpdate,omitnil,omitempty" name:"NeedUpdate"` // 源站防护状态,取值有: // <li>online :源站防护启用中 ;</li> // <li>offline :源站防护已停用 ;</li> // <li>nonactivate :源站防护未激活,仅在从未使用过源站防护功能的站点调用中返回。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 站点套餐是否支持源站防护,取值有: // <li>true :支持 ;</li> // <li>false :不支持。</li> PlanSupport *bool `json:"PlanSupport,omitnil,omitempty" name:"PlanSupport"` // 最新IP白名单与当前IP白名单的对比。 // 注意:此字段可能返回 null,表示取不到有效值。 DiffIPWhitelist *DiffIPWhitelist `json:"DiffIPWhitelist,omitnil,omitempty" name:"DiffIPWhitelist"` }
type OriginRecord ¶
type OriginRecord struct { // 源站记录值,不包含端口信息,可以为:IPv4,IPv6,域名格式。 Record *string `json:"Record,omitnil,omitempty" name:"Record"` // 源站类型,取值有: // <li>IP_DOMAIN:IPV4、IPV6、域名类型源站;</li> // <li>COS:COS源。</li> // <li>AWS_S3:AWS S3对象存储源站。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 源站记录ID。 RecordId *string `json:"RecordId,omitnil,omitempty" name:"RecordId"` // 源站权重,取值为0-100, 不填表示不设置权重,由系统自由调度,填0表示权重为0, 流量将不会调度到此源站。 // 注意:此字段可能返回 null,表示取不到有效值。 Weight *uint64 `json:"Weight,omitnil,omitempty" name:"Weight"` // 是否私有鉴权,当源站类型 RecordType=COS/AWS_S3 时生效,取值有: // <li>true:使用私有鉴权;</li> // <li>false:不使用私有鉴权。</li>不填写,默认值为:false。 Private *bool `json:"Private,omitnil,omitempty" name:"Private"` // 私有鉴权参数,当源站类型Private=true时有效。 PrivateParameters []*PrivateParameter `json:"PrivateParameters,omitnil,omitempty" name:"PrivateParameters"` }
type OwnershipVerification ¶ added in v1.0.756
type OwnershipVerification struct { // CNAME 、无域名接入时,使用 DNS 解析验证时所需的信息。详情参考 [站点/域名归属权验证 // ](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。 // 注意:此字段可能返回 null,表示取不到有效值。 DnsVerification *DnsVerification `json:"DnsVerification,omitnil,omitempty" name:"DnsVerification"` // CNAME 、无域名接入时,使用文件验证时所需的信息。详情参考 [站点/域名归属权验证 // ](https://cloud.tencent.com/document/product/1552/70789#7af6ecf8-afca-4e35-8811-b5797ed1bde5)。 // 注意:此字段可能返回 null,表示取不到有效值。 FileVerification *FileVerification `json:"FileVerification,omitnil,omitempty" name:"FileVerification"` // NS 接入,切换 DNS 服务器所需的信息。详情参考 [修改 DNS 服务器](https://cloud.tencent.com/document/product/1552/90452)。 // 注意:此字段可能返回 null,表示取不到有效值。 NsVerification *NsVerification `json:"NsVerification,omitnil,omitempty" name:"NsVerification"` }
type PartialModule ¶ added in v1.0.507
type PlanInfo ¶
type PlanInfo struct { // 结算货币类型,取值有: // <li> CNY :人民币结算; </li> // <li> USD :美元结算。</li> Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 套餐所含流量,该流量数值为安全加速流量,内容加速流量和智能加速流量的总和(单位:字节)。 Flux *uint64 `json:"Flux,omitnil,omitempty" name:"Flux"` // 结算周期,取值有: // <li> y :按年结算; </li> // <li> m :按月结算;</li> // <li> h :按小时结算; </li> // <li> M :按分钟结算;</li> // <li> s :按秒结算。 </li> Frequency *string `json:"Frequency,omitnil,omitempty" name:"Frequency"` // 套餐类型,取值有: // <li> sta :全球内容分发网络(不包括中国大陆)标准版套餐; </li> // <li> sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li> // <li> sta_cm :中国大陆内容分发网络标准版套餐; </li> // <li> sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理;</li> // <li> sta_global :全球内容分发网络(包括中国大陆)标准版套餐; </li> // <li> sta_global_with_bot :全球内容分发网络(包括中国大陆)标准版套餐附带bot管理;</li> // <li> ent :全球内容分发网络(不包括中国大陆)企业版套餐; </li> // <li> ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li> // <li> ent_cm :中国大陆内容分发网络企业版套餐; </li> // <li> ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理;</li> // <li> ent_global :全球内容分发网络(包括中国大陆)企业版套餐; </li> // <li> ent_global_with_bot :全球内容分发网络(包括中国大陆)企业版套餐附带bot管理。</li> PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` // 套餐价格(单位:分)。 Price *float64 `json:"Price,omitnil,omitempty" name:"Price"` // 套餐所含请求次数,该请求次数为安全加速请求次数。(单位:次)。 Request *uint64 `json:"Request,omitnil,omitempty" name:"Request"` // 套餐所能绑定的站点个数。 SiteNumber *uint64 `json:"SiteNumber,omitnil,omitempty" name:"SiteNumber"` // 套餐加速区域类型,取值有: // <li> mainland :中国大陆; </li> // <li> overseas :全球(不包括中国大陆);</li> // <li> global :全球(包括中国大陆)。 </li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` }
type PostMaxSize ¶
type PrepaidPlanParam ¶ added in v1.0.912
type PrepaidPlanParam struct { // 订阅预付费套餐的周期,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。 // // 不填写使用默认值 1。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 预付费套餐的自动续费标志,取值有: // <li> on:开启自动续费;</li> // <li> off:不开启自动续费。</li> // 不填写使用默认值 off,自动续费时,默认续费1个月。 RenewFlag *string `json:"RenewFlag,omitnil,omitempty" name:"RenewFlag"` }
type PrivateParameter ¶
type PrivateParameter struct { // 私有鉴权参数名称,取值有: // <li>AccessKeyId:鉴权参数 Access Key ID;</li> // <li>SecretAccessKey:鉴权参数 Secret Access Key;</li> // <li>SignatureVersion:鉴权版本,v2 或者 v4;</li> // <li>Region:存储桶地域。</li> Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 私有鉴权参数值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` }
type QueryCondition ¶
type QueryCondition struct { // 筛选条件的key。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 查询条件操作符,操作类型有: // <li>equals: 等于;</li> // <li>notEquals: 不等于;</li> // <li>include: 包含;</li> // <li>notInclude: 不包含; </li> // <li>startWith: 开始的值是value;</li> // <li>notStartWith: 不以value的值开始;</li> // <li>endWith: 结尾是value值;</li> // <li>notEndWith: 不以value的值结尾。</li> Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 筛选条件的值。 Value []*string `json:"Value,omitnil,omitempty" name:"Value"` }
type QueryString ¶
type QueryString struct { // CacheKey是否由QueryString组成,取值有: // <li>on:是;</li> // <li>off:否。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // CacheKey使用QueryString的方式,取值有: // <li>includeCustom:使用部分url参数;</li> // <li>excludeCustom:排除部分url参数。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 使用/排除的url参数数组。 // 注意:此字段可能返回 null,表示取不到有效值。 Value []*string `json:"Value,omitnil,omitempty" name:"Value"` }
type Quic ¶
type Quic struct { // 是否开启 Quic 配置,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type Quota ¶
type Quota struct { // 单次批量提交配额上限。 Batch *int64 `json:"Batch,omitnil,omitempty" name:"Batch"` // 每日提交配额上限。 Daily *int64 `json:"Daily,omitnil,omitempty" name:"Daily"` // 每日剩余的可提交配额。 DailyAvailable *int64 `json:"DailyAvailable,omitnil,omitempty" name:"DailyAvailable"` // 刷新预热缓存类型,取值有: // <li> purge_prefix:按前缀刷新;</li> // <li> purge_url:按URL刷新;</li> // <li> purge_host:按Hostname刷新;</li> // <li> purge_all:刷新全部缓存内容;</li> // <li> purge_cache_tag:按CacheTag刷新;</li><li> prefetch_url:按URL预热。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type RateLimitConfig ¶
type RateLimitConfig struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 速率限制-用户规则列表。如果为null,默认使用历史配置。 RateLimitUserRules []*RateLimitUserRule `json:"RateLimitUserRules,omitnil,omitempty" name:"RateLimitUserRules"` // 速率限制模板功能。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 RateLimitTemplate *RateLimitTemplate `json:"RateLimitTemplate,omitnil,omitempty" name:"RateLimitTemplate"` // 智能客户端过滤。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 RateLimitIntelligence *RateLimitIntelligence `json:"RateLimitIntelligence,omitnil,omitempty" name:"RateLimitIntelligence"` // 速率限制-托管定制规则。如果为null,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 RateLimitCustomizes []*RateLimitUserRule `json:"RateLimitCustomizes,omitnil,omitempty" name:"RateLimitCustomizes"` }
type RateLimitIntelligence ¶
type RateLimitIntelligence struct { // 功能开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 执行动作,取值有: // <li>monitor:观察;</li> // <li>alg:挑战。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 规则id,仅出参使用。 RuleId *int64 `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
type RateLimitTemplate ¶
type RateLimitTemplate struct { // 模板等级名称,取值有: // <li>sup_loose:超级宽松;</li> // <li>loose:宽松;</li> // <li>emergency:紧急;</li> // <li>normal:适中;</li> // <li>strict:严格;</li> // <li>close:关闭,仅精准速率限制生效。</li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 模板处置方式,取值有: // <li>alg:JavaScript挑战;</li> // <li>monitor:观察。</li>不填写默认取alg。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 模板值详情。仅出参返回。 RateLimitTemplateDetail *RateLimitTemplateDetail `json:"RateLimitTemplateDetail,omitnil,omitempty" name:"RateLimitTemplateDetail"` }
type RateLimitTemplateDetail ¶
type RateLimitTemplateDetail struct { // 模板等级名称,取值有: // <li>sup_loose:超级宽松;</li> // <li>loose:宽松;</li> // <li>emergency:紧急;</li> // <li>normal:适中;</li> // <li>strict:严格;</li> // <li>close:关闭,仅精准速率限制生效。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 唯一id。 ID *int64 `json:"ID,omitnil,omitempty" name:"ID"` // 模板处置方式,取值有: // <li>alg:JavaScript挑战;</li> // <li>monitor:观察。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 惩罚时间,取值范围0-2天,单位秒。 // 注意:此字段可能返回 null,表示取不到有效值。 PunishTime *int64 `json:"PunishTime,omitnil,omitempty" name:"PunishTime"` // 统计阈值,单位是次,取值范围0-4294967294。 Threshold *int64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` // 统计周期,取值范围0-120秒。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` }
type RateLimitUserRule ¶
type RateLimitUserRule struct { // 速率限制统计阈值,单位是次,取值范围0-4294967294。 Threshold *int64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` // 速率限制统计时间,取值范围 10/20/30/40/50/60 单位是秒。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 处置动作,取值有: <li>monitor:观察;</li> <li>drop:拦截;</li><li> redirect:重定向;</li><li> page:指定页面;</li><li>alg:JavaScript 挑战。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 惩罚时长,0-2天。 PunishTime *int64 `json:"PunishTime,omitnil,omitempty" name:"PunishTime"` // 处罚时长单位,取值有: // <li>second:秒;</li> // <li>minutes:分钟;</li> // <li>hour:小时。</li> PunishTimeUnit *string `json:"PunishTimeUnit,omitnil,omitempty" name:"PunishTimeUnit"` // 规则状态,取值有: // <li>on:生效;</li> // <li>off:不生效。</li>默认 on 生效。 RuleStatus *string `json:"RuleStatus,omitnil,omitempty" name:"RuleStatus"` // 规则详情。 AclConditions []*AclCondition `json:"AclConditions,omitnil,omitempty" name:"AclConditions"` // 规则权重,取值范围0-100。 RulePriority *int64 `json:"RulePriority,omitnil,omitempty" name:"RulePriority"` // 规则 Id。仅出参使用。 RuleID *int64 `json:"RuleID,omitnil,omitempty" name:"RuleID"` // 过滤词,取值有: // <li>sip:客户端 ip。</li> // 默认为空字符串。 FreqFields []*string `json:"FreqFields,omitnil,omitempty" name:"FreqFields"` // 更新时间。仅出参使用。修改时默认为当前时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 统计范围。取值有: // <li>source_to_eo:(响应)源站到 EdgeOne;</li> // <li>client_to_eo:(请求)客户端到 EdgeOne。</li> // 默认为 source_to_eo。 FreqScope []*string `json:"FreqScope,omitnil,omitempty" name:"FreqScope"` // 自定义返回页面的名称。Action 是 page 时必填,且不能为空。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 自定义响应 Id。该 Id 可通过查询自定义错误页列表接口获取。默认值为default,使用系统默认页面。Action 是 page 时必填,且不能为空。 CustomResponseId *string `json:"CustomResponseId,omitnil,omitempty" name:"CustomResponseId"` // 自定义返回页面的响应码。Action 是 page 时必填,且不能为空,取值: 100~600,不支持 3xx 响应码。默认值:567。 ResponseCode *int64 `json:"ResponseCode,omitnil,omitempty" name:"ResponseCode"` // 重定向时候的地址。Action 是 redirect 时必填,且不能为空。 RedirectUrl *string `json:"RedirectUrl,omitnil,omitempty" name:"RedirectUrl"` }
type RealtimeLogDeliveryTask ¶ added in v1.0.869
type RealtimeLogDeliveryTask struct { // 实时日志投递任务 ID。 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 实时日志投递任务的名称。 TaskName *string `json:"TaskName,omitnil,omitempty" name:"TaskName"` // 实时日志投递任务的状态,取值有: <li>enabled: 已启用;</li> <li>disabled: 已停用;</li><li>deleted: 异常删除状态,请检查目的地腾讯云 CLS 日志集/日志主题是否已被删除。</li> DeliveryStatus *string `json:"DeliveryStatus,omitnil,omitempty" name:"DeliveryStatus"` // 实时日志投递任务类型,取值有: <li>cls: 推送到腾讯云 CLS;</li> <li>custom_endpoint:推送到自定义 HTTP(S) 地址;</li> <li>s3:推送到 AWS S3 兼容存储桶地址。</li> TaskType *string `json:"TaskType,omitnil,omitempty" name:"TaskType"` // 实时日志投递任务对应的实体(七层域名或者四层代理实例)列表。取值示例如下: <li>七层域名:domain.example.com;</li> <li>四层代理实例:sid-2s69eb5wcms7。</li> EntityList []*string `json:"EntityList,omitnil,omitempty" name:"EntityList"` // 数据投递类型,取值有: <li>domain:站点加速日志;</li> <li>application:四层代理日志;</li> <li>web-rateLiming:速率限制和 CC 攻击防护日志;</li> <li>web-attack:托管规则日志;</li> <li>web-rule:自定义规则日志;</li> <li>web-bot:Bot管理日志。</li> LogType *string `json:"LogType,omitnil,omitempty" name:"LogType"` // 数据投递区域,取值有: <li>mainland:中国大陆境内;</li> <li>overseas:全球(不含中国大陆)。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 投递的预设字段列表。 Fields []*string `json:"Fields,omitnil,omitempty" name:"Fields"` // 投递的自定义字段列表。 CustomFields []*CustomField `json:"CustomFields,omitnil,omitempty" name:"CustomFields"` // 日志投递的过滤条件。 DeliveryConditions []*DeliveryCondition `json:"DeliveryConditions,omitnil,omitempty" name:"DeliveryConditions"` // 采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。 Sample *uint64 `json:"Sample,omitnil,omitempty" name:"Sample"` // 日志投递的输出格式。出参为 null 时表示为默认格式,默认格式逻辑如下: // <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li> // <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li> // 注意:此字段可能返回 null,表示取不到有效值。 LogFormat *LogFormat `json:"LogFormat,omitnil,omitempty" name:"LogFormat"` // CLS 的配置信息。 // 注意:此字段可能返回 null,表示取不到有效值。 CLS *CLSTopic `json:"CLS,omitnil,omitempty" name:"CLS"` // 自定义 HTTP 服务的配置信息。 // 注意:此字段可能返回 null,表示取不到有效值。 CustomEndpoint *CustomEndpoint `json:"CustomEndpoint,omitnil,omitempty" name:"CustomEndpoint"` // AWS S3 兼容存储桶的配置信息。 // 注意:此字段可能返回 null,表示取不到有效值。 S3 *S3 `json:"S3,omitnil,omitempty" name:"S3"` // 创建时间。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type RenewFlag ¶ added in v1.0.912
type RenewFlag struct { // 预付费套餐的自动续费标志,取值有: // <li> on:开启自动续费;</li> // <li> off:不开启自动续费。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type RenewPlanRequest ¶ added in v1.0.912
type RenewPlanRequest struct { *tchttp.BaseRequest // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 续费套餐的时长,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。 AutoUseVoucher *string `json:"AutoUseVoucher,omitnil,omitempty" name:"AutoUseVoucher"` }
func NewRenewPlanRequest ¶ added in v1.0.912
func NewRenewPlanRequest() (request *RenewPlanRequest)
func (*RenewPlanRequest) FromJsonString ¶ added in v1.0.912
func (r *RenewPlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewPlanRequest) ToJsonString ¶ added in v1.0.912
func (r *RenewPlanRequest) ToJsonString() string
type RenewPlanRequestParams ¶ added in v1.0.912
type RenewPlanRequestParams struct { // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 续费套餐的时长,单位:月,取值有:1,2,3,4,5,6,7,8,9,10,11,12,24,36。 Period *int64 `json:"Period,omitnil,omitempty" name:"Period"` // 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。 AutoUseVoucher *string `json:"AutoUseVoucher,omitnil,omitempty" name:"AutoUseVoucher"` }
Predefined struct for user
type RenewPlanResponse ¶ added in v1.0.912
type RenewPlanResponse struct { *tchttp.BaseResponse Response *RenewPlanResponseParams `json:"Response"` }
func NewRenewPlanResponse ¶ added in v1.0.912
func NewRenewPlanResponse() (response *RenewPlanResponse)
func (*RenewPlanResponse) FromJsonString ¶ added in v1.0.912
func (r *RenewPlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RenewPlanResponse) ToJsonString ¶ added in v1.0.912
func (r *RenewPlanResponse) ToJsonString() string
type RenewPlanResponseParams ¶ added in v1.0.912
type RenewPlanResponseParams struct { // 订单号。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Resource ¶
type Resource struct { // 资源 ID。 Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 付费模式,取值有: // <li>0:后付费。</li> PayMode *int64 `json:"PayMode,omitnil,omitempty" name:"PayMode"` // 创建时间。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 生效时间。 EnableTime *string `json:"EnableTime,omitnil,omitempty" name:"EnableTime"` // 失效时间。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 套餐状态,取值有: // <li>normal:正常;</li> // <li>isolated:隔离;</li> // <li>destroyed:销毁。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 询价参数。 Sv []*Sv `json:"Sv,omitnil,omitempty" name:"Sv"` // 是否自动续费,取值有: // <li>0:默认状态;</li> // <li>1:自动续费;</li> // <li>2:不自动续费。</li> AutoRenewFlag *int64 `json:"AutoRenewFlag,omitnil,omitempty" name:"AutoRenewFlag"` // 套餐关联资源 ID。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 地域,取值有: // <li>mainland:国内;</li> // <li>overseas:海外。</li> // <li>global:全球。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 资源类型,取值有: // <li>plan:套餐类型;</li> // <li>pay-as-you-go:后付费类型。</li> // <li>value-added:增值服务类型。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Group *string `json:"Group,omitnil,omitempty" name:"Group"` // 当前资源绑定的站点数量。 // 注意:此字段可能返回 null,表示取不到有效值。 ZoneNumber *int64 `json:"ZoneNumber,omitnil,omitempty" name:"ZoneNumber"` // 资源标记类型,取值有: // <li>vodeo:vodeo资源。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` }
type RewriteAction ¶
type RewriteAction struct { // 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 参数。 Parameters []*RuleRewriteActionParams `json:"Parameters,omitnil,omitempty" name:"Parameters"` }
type Rule ¶
type Rule struct { // 执行功能判断条件。 // 注意:满足该数组内任意一项条件,功能即可执行。 Conditions []*RuleAndConditions `json:"Conditions,omitnil,omitempty" name:"Conditions"` // 执行的功能。注意:Actions 和 SubRules 不可都为空 Actions []*Action `json:"Actions,omitnil,omitempty" name:"Actions"` // 嵌套规则。注意:SubRules 和 Actions 不可都为空 SubRules []*SubRuleItem `json:"SubRules,omitnil,omitempty" name:"SubRules"` }
type RuleAndConditions ¶
type RuleAndConditions struct { // 规则引擎条件,该数组内所有项全部满足即判断该条件满足。 Conditions []*RuleCondition `json:"Conditions,omitnil,omitempty" name:"Conditions"` }
type RuleChoicePropertiesItem ¶
type RuleChoicePropertiesItem struct { // 参数名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数值类型。 // <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li> // <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li> // <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li> // <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 参数值的可选值。 // 注意:若参数值为用户自定义则该数组为空数组。 ChoicesValue []*string `json:"ChoicesValue,omitnil,omitempty" name:"ChoicesValue"` // 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 Min *int64 `json:"Min,omitnil,omitempty" name:"Min"` // 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 Max *int64 `json:"Max,omitnil,omitempty" name:"Max"` // 参数值是否支持多选或者填写多个。 IsMultiple *bool `json:"IsMultiple,omitnil,omitempty" name:"IsMultiple"` // 是否允许为空。 IsAllowEmpty *bool `json:"IsAllowEmpty,omitnil,omitempty" name:"IsAllowEmpty"` // 特殊参数。 // <li> 为 NULL:RuleAction 选择 NormalAction;</li> // <li> 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;</li> // <li> 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。</li> ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitnil,omitempty" name:"ExtraParameter"` }
type RuleCodeActionParams ¶
type RuleCodeActionParams struct { // 状态 Code。 StatusCode *int64 `json:"StatusCode,omitnil,omitempty" name:"StatusCode"` // 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数值。 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` }
type RuleCondition ¶
type RuleCondition struct { // 运算符,取值有: // <li> equal: 等于; </li> // <li> notequal: 不等于;</li> // <li> exist: 存在; </li> // <li> notexist: 不存在。</li> Operator *string `json:"Operator,omitnil,omitempty" name:"Operator"` // 匹配类型,取值有: <li> filename:文件名; </li> <li> extension:文件后缀; </li> <li> host:HOST; </li> <li> full_url:URL Full,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li> <li> url:URL Path,当前站点下 URL 路径的请求; </li><li>client_country:客户端国家/地区;</li> <li> query_string:查询字符串,当前站点下请求URL的查询字符串; </li> <li> request_header:HTTP请求头部。 </li><li> client_ip:客户端 IP。 </li> Target *string `json:"Target,omitnil,omitempty" name:"Target"` // 对应匹配类型的参数值,仅在匹配类型为查询字符串或HTTP请求头并且运算符取值为存在或不存在时允许传空数组,对应匹配类型有: // <li> 文件后缀:jpg、txt等文件后缀;</li> // <li> 文件名称:例如 foo.jpg 中的 foo;</li> // <li> 全部(站点任意请求): all; </li> // <li> HOST:当前站点下的 host ,例如www.maxx55.com;</li> // <li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li> // <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example;</li> // <li> 客户端国家/地区:符合ISO3166标准的国家/地区标识;</li> // <li> 查询字符串: 当前站点下URL请求中查询字符串的参数值,例如lang=cn&version=1中的cn和1; </li> // <li> HTTP 请求头: HTTP请求头部字段值,例如Accept-Language:zh-CN,zh;q=0.9中的zh-CN,zh;q=0.9。 </li> // <li> 客户端 IP: 当前请求携带的客户端请求IP,支持IPv4 IPv6, 支持IP段。 </li> Values []*string `json:"Values,omitnil,omitempty" name:"Values"` // 是否忽略参数值的大小写,默认值为 false。 IgnoreCase *bool `json:"IgnoreCase,omitnil,omitempty" name:"IgnoreCase"` // 对应匹配类型的参数名称,在 Target 值为以下取值时有效,有效时值不能为空: // <li> query_string(查询字符串): 当前站点下URL请求中查询字符串的参数名称,例如lang=cn&version=1中的lang和version; </li> // <li> request_header(HTTP 请求头): HTTP请求头部字段名,例如Accept-Language:zh-CN,zh;q=0.9中的Accept-Language。 </li> Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 是否忽略参数名称的大小写,默认值为 false。 // 注意:此字段可能返回 null,表示取不到有效值。 // // Deprecated: IgnoreNameCase is deprecated. IgnoreNameCase *bool `json:"IgnoreNameCase,omitnil,omitempty" name:"IgnoreNameCase"` }
type RuleExtraParameter ¶
type RuleExtraParameter struct { // 参数名,取值有: // <li> Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;</li> // <li> StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。</li> Id *string `json:"Id,omitnil,omitempty" name:"Id"` // 参数值类型。 // <li> CHOICE:参数值只能在 Values 中选择; </li> // <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li> // <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 可选参数值。 // 注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。 Choices []*string `json:"Choices,omitnil,omitempty" name:"Choices"` }
type RuleItem ¶
type RuleItem struct { // 规则ID。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则名称,名称字符串长度 1~255。 RuleName *string `json:"RuleName,omitnil,omitempty" name:"RuleName"` // 规则状态,取值有: // <li> enable: 启用; </li> // <li> disable: 未启用。 </li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 规则内容。 Rules []*Rule `json:"Rules,omitnil,omitempty" name:"Rules"` // 规则优先级, 值越大优先级越高,最小为 1。 RulePriority *int64 `json:"RulePriority,omitnil,omitempty" name:"RulePriority"` // 规则标签。 Tags []*string `json:"Tags,omitnil,omitempty" name:"Tags"` }
type RuleNormalActionParams ¶
type RuleNormalActionParams struct { // 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数值。 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` }
type RuleRewriteActionParams ¶
type RuleRewriteActionParams struct { // 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://cloud.tencent.com/document/product/1552/80618) 查看。现在只有三种取值: // <li> add:添加 HTTP 头部;</li> // <li> set:重写 HTTP 头部;</li> // <li> del:删除 HTTP 头部。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 参数名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 参数值。 Values []*string `json:"Values,omitnil,omitempty" name:"Values"` }
type RulesProperties ¶
type RulesProperties struct { // 值为参数名称。 Name *string `json:"Name,omitnil,omitempty" name:"Name"` // 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 Min *int64 `json:"Min,omitnil,omitempty" name:"Min"` // 参数值的可选值。 // 注意:若参数值为用户自定义则该数组为空数组。 ChoicesValue []*string `json:"ChoicesValue,omitnil,omitempty" name:"ChoicesValue"` // 参数值类型。 // <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li> // <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li> // <li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li> // <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li> // <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://cloud.tencent.com/document/product/1552/80622#.E7.A4.BA.E4.BE.8B2-.E5.8F.82.E6.95.B0.E4.B8.BA-OBJECT-.E7.B1.BB.E5.9E.8B.E7.9A.84.E5.88.9B.E5.BB.BA) Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。 Max *int64 `json:"Max,omitnil,omitempty" name:"Max"` // 参数值是否支持多选或者填写多个。 IsMultiple *bool `json:"IsMultiple,omitnil,omitempty" name:"IsMultiple"` // 是否允许为空。 IsAllowEmpty *bool `json:"IsAllowEmpty,omitnil,omitempty" name:"IsAllowEmpty"` // 该参数对应的关联配置参数,属于调用接口的必填参数。 // 注意:如果可选参数无特殊新增参数则该数组为空数组。 ChoiceProperties []*RuleChoicePropertiesItem `json:"ChoiceProperties,omitnil,omitempty" name:"ChoiceProperties"` // <li> 为 NULL:无特殊参数,RuleAction 选择 NormalAction;</li> // 注意:此字段可能返回 null,表示取不到有效值。 ExtraParameter *RuleExtraParameter `json:"ExtraParameter,omitnil,omitempty" name:"ExtraParameter"` }
type RulesSettingAction ¶
type RulesSettingAction struct { // 功能名称,取值有: // <li> 访问URL 重写(AccessUrlRedirect);</li> // <li> 回源 URL 重写 (UpstreamUrlRedirect);</li> // <li> 自定义错误页面 // (ErrorPage);</li> // <li> QUIC(QUIC);</li> // <li> WebSocket (WebSocket);</li> // <li> 视频拖拽(VideoSeek);</li> // <li> Token 鉴权(Authentication);</li> // <li> 自定义CacheKey(CacheKey);</li> // <li> 节点缓存 TTL (Cache);</li> // <li> 浏览器缓存 TTL(MaxAge);</li> // <li> 离线缓存(OfflineCache);</li> // <li> 智能加速(SmartRouting);</li> // <li> 分片回源(RangeOriginPull);</li> // <li> HTTP/2 回源(UpstreamHttp2);</li> // <li> Host Header 重写(HostHeader);</li> // <li> 强制 HTTPS(ForceRedirect);</li> // <li> 回源 HTTPS(OriginPullProtocol);</li> // <li> 缓存预刷新(CachePrefresh);</li> // <li> 智能压缩(Compression);</li> // <li> 修改 HTTP 请求头(RequestHeader);</li> // <li> 修改HTTP响应头(ResponseHeader);</li> // <li> 状态码缓存 TTL(StatusCodeCache);</li> // <li> Hsts;</li> // <li> ClientIpHeader;</li> // <li> TlsVersion;</li> // <li> OcspStapling。</li> Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 参数信息。 Properties []*RulesProperties `json:"Properties,omitnil,omitempty" name:"Properties"` }
type S3 ¶ added in v1.0.869
type S3 struct { // 不包含存储桶名称或路径的 URL,例如:`https://storage.googleapis.com`、`https://s3.ap-northeast-2.amazonaws.com`、`https://cos.ap-nanjing.myqcloud.com`。 Endpoint *string `json:"Endpoint,omitnil,omitempty" name:"Endpoint"` // 存储桶所在的地域,例如:`ap-northeast-2`。 Region *string `json:"Region,omitnil,omitempty" name:"Region"` // 存储桶名称和日志存储目录,例如:`your_bucket_name/EO-logs/`。如果存储桶中无此目录则会自动创建。 Bucket *string `json:"Bucket,omitnil,omitempty" name:"Bucket"` // 访问存储桶使用的 Access Key ID。 AccessId *string `json:"AccessId,omitnil,omitempty" name:"AccessId"` // 访问存储桶使用的 secret key。 AccessKey *string `json:"AccessKey,omitnil,omitempty" name:"AccessKey"` // 数据压缩类型,取值有: <li> gzip:gzip压缩。</li>不填表示不启用压缩。 CompressType *string `json:"CompressType,omitnil,omitempty" name:"CompressType"` }
type SecEntry ¶
type SecEntry struct { // 查询维度值。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 查询维度下详细数据。 Value []*SecEntryValue `json:"Value,omitnil,omitempty" name:"Value"` }
type SecEntryValue ¶
type SecEntryValue struct { // 指标名称。 Metric *string `json:"Metric,omitnil,omitempty" name:"Metric"` // 时序数据详情。 Detail []*TimingDataItem `json:"Detail,omitnil,omitempty" name:"Detail"` // 最大值。 Max *int64 `json:"Max,omitnil,omitempty" name:"Max"` // 平均值。 Avg *float64 `json:"Avg,omitnil,omitempty" name:"Avg"` // 数据总和。 Sum *float64 `json:"Sum,omitnil,omitempty" name:"Sum"` }
type SecurityConfig ¶
type SecurityConfig struct { // 托管规则。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 WafConfig *WafConfig `json:"WafConfig,omitnil,omitempty" name:"WafConfig"` // 速率限制。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 RateLimitConfig *RateLimitConfig `json:"RateLimitConfig,omitnil,omitempty" name:"RateLimitConfig"` // 自定义规则。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 AclConfig *AclConfig `json:"AclConfig,omitnil,omitempty" name:"AclConfig"` // Bot配置。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 BotConfig *BotConfig `json:"BotConfig,omitnil,omitempty" name:"BotConfig"` // 七层防护总开关。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 SwitchConfig *SwitchConfig `json:"SwitchConfig,omitnil,omitempty" name:"SwitchConfig"` // 基础访问管控。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 IpTableConfig *IpTableConfig `json:"IpTableConfig,omitnil,omitempty" name:"IpTableConfig"` // 例外规则配置。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ExceptConfig *ExceptConfig `json:"ExceptConfig,omitnil,omitempty" name:"ExceptConfig"` // 自定义拦截页面配置。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 DropPageConfig *DropPageConfig `json:"DropPageConfig,omitnil,omitempty" name:"DropPageConfig"` // 模板配置。此处仅出参数使用。 // 注意:此字段可能返回 null,表示取不到有效值。 TemplateConfig *TemplateConfig `json:"TemplateConfig,omitnil,omitempty" name:"TemplateConfig"` // 慢速攻击配置。如果入参为空或不填,默认使用历史配置。 // 注意:此字段可能返回 null,表示取不到有效值。 SlowPostConfig *SlowPostConfig `json:"SlowPostConfig,omitnil,omitempty" name:"SlowPostConfig"` }
type SecurityTemplateBinding ¶ added in v1.0.775
type SecurityTemplateBinding struct { // 模板ID TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 模板绑定状态。 TemplateScope []*TemplateScope `json:"TemplateScope,omitnil,omitempty" name:"TemplateScope"` }
type SecurityType ¶
type SecurityType struct { // 安全类型开关,取值为: // <li> on:开启;</li> // <li> off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type ServerCertInfo ¶
type ServerCertInfo struct { // 服务器证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。 // // 注意:此字段可能返回 null,表示取不到有效值。 CertId *string `json:"CertId,omitnil,omitempty" name:"CertId"` // 证书备注名。 // 注意:此字段可能返回 null,表示取不到有效值。 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 证书类型,取值有: // <li>default:默认证书;</li> // <li>upload:用户上传;</li> // <li>managed:腾讯云托管。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 证书过期时间。 // 注意:此字段可能返回 null,表示取不到有效值。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` // 证书部署时间。 // 注意:此字段可能返回 null,表示取不到有效值。 DeployTime *string `json:"DeployTime,omitnil,omitempty" name:"DeployTime"` // 签名算法。 // 注意:此字段可能返回 null,表示取不到有效值。 SignAlgo *string `json:"SignAlgo,omitnil,omitempty" name:"SignAlgo"` // 证书归属域名名称。 // 注意:此字段可能返回 null,表示取不到有效值。 CommonName *string `json:"CommonName,omitnil,omitempty" name:"CommonName"` }
type SkipCondition ¶ added in v1.0.507
type SkipCondition struct { // 例外跳过类型,取值为: // <li>header_fields:HTTP请求Header;</li> // <li>cookie:HTTP请求Cookie;</li> // <li>query_string:HTTP请求URL中的Query参数;</li> // <li>uri:HTTP请求URI;</li> // <li>body_raw:HTTP请求Body;</li> // <li>body_json: JSON格式的HTTP Body。</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 选择跳过的字段,取值为: // <li>args:uri 下选择 query 参数: ?name1=jack&age=12;</li> // <li>path:uri 下选择部分路径:/path/to/resource.jpg;</li> // <li>full:uri 下选择完整路径:example.com/path/to/resource.jpg?name1=jack&age=12;</li> // <li>upload_filename:分段文件名,即分段传输文件时;</li> // <li>keys:所有的Key;</li> // <li>values:匹配Key对应的值;</li> // <li>key_value:匹配Key及匹配Value。</li> Selector *string `json:"Selector,omitnil,omitempty" name:"Selector"` // 匹配Key所使用的匹配方式,取值为: // <li>equal:精准匹配,等于;</li> // <li>wildcard:通配符匹配,支持 * 通配。</li> MatchFromType *string `json:"MatchFromType,omitnil,omitempty" name:"MatchFromType"` // 匹配Key的值。 // 注意:此字段可能返回 null,表示取不到有效值。 MatchFrom []*string `json:"MatchFrom,omitnil,omitempty" name:"MatchFrom"` // 匹配Content所使用的匹配方式,取值为: // <li>equal:精准匹配,等于;</li> // <li>wildcard:通配符匹配,支持 * 通配。</li> MatchContentType *string `json:"MatchContentType,omitnil,omitempty" name:"MatchContentType"` // 匹配Value的值。 // 注意:此字段可能返回 null,表示取不到有效值。 MatchContent []*string `json:"MatchContent,omitnil,omitempty" name:"MatchContent"` }
type SlowPostConfig ¶ added in v1.0.581
type SlowPostConfig struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 首包配置。 // 注意:此字段可能返回 null,表示取不到有效值。 FirstPartConfig *FirstPartConfig `json:"FirstPartConfig,omitnil,omitempty" name:"FirstPartConfig"` // 基础配置。 // 注意:此字段可能返回 null,表示取不到有效值。 SlowRateConfig *SlowRateConfig `json:"SlowRateConfig,omitnil,omitempty" name:"SlowRateConfig"` // 慢速攻击的处置动作,取值有: // <li>monitor:观察;</li> // <li>drop:拦截。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 本规则的Id。 // 注意:此字段可能返回 null,表示取不到有效值。 RuleId *uint64 `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
type SlowRateConfig ¶ added in v1.0.581
type SlowRateConfig struct { // 开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 统计的间隔,单位是秒,即在首段包传输结束后,将数据传输轴按照本参数切分,每个分片独立计算慢速攻击。 // 注意:此字段可能返回 null,表示取不到有效值。 Interval *uint64 `json:"Interval,omitnil,omitempty" name:"Interval"` // 统计时应用的速率阈值,单位是bps,即如果本分片中的传输速率没达到本参数的值,则判定为慢速攻击,应用慢速攻击的处置方式。 // 注意:此字段可能返回 null,表示取不到有效值。 Threshold *uint64 `json:"Threshold,omitnil,omitempty" name:"Threshold"` }
type SmartRouting ¶
type SmartRouting struct { // 智能加速配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type StandardDebug ¶ added in v1.0.695
type StandardDebug struct { // Debug 功能开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 允许的客户端来源。支持填写 IPv4 以及 IPv6 的 IP/IP 段。0.0.0.0/0 表示允许所有 IPv4 客户端进行调试,::/0 表示允许所有 IPv6 客户端进行调试。 AllowClientIPList []*string `json:"AllowClientIPList,omitnil,omitempty" name:"AllowClientIPList"` // Debug 功能到期时间。超出设置的时间,则功能失效。 ExpireTime *string `json:"ExpireTime,omitnil,omitempty" name:"ExpireTime"` }
type SubRule ¶ added in v1.0.518
type SubRule struct { // 执行功能判断条件。 // 注意:满足该数组内任意一项条件,功能即可执行。 Conditions []*RuleAndConditions `json:"Conditions,omitnil,omitempty" name:"Conditions"` // 执行的功能。 Actions []*Action `json:"Actions,omitnil,omitempty" name:"Actions"` }
type SubRuleItem ¶ added in v1.0.518
type Sv ¶
type Sv struct { // 询价参数键。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 询价参数值。 Value *string `json:"Value,omitnil,omitempty" name:"Value"` // 询价参数映射的配额,取值有: // <li>zone:站点数;</li> // <li>custom-rule:自定义规则数;</li> // <li>rate-limiting-rule:速率限制规则数;</li> // <li>l4-proxy-instance:四层代理实例数。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Pack *string `json:"Pack,omitnil,omitempty" name:"Pack"` // 询价参数映射的四层代理实例Id。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 询价参数对应的防护等级。 // 取值有: <li> cm_30G:中国大陆加速区域保底防护30Gbps;</li><li> cm_60G:中国大陆加速区域保底防护60Gbps;</li><li> cm_100G:中国大陆加速区域保底防护100Gbps;</li><li> anycast_300G:全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> anycast_unlimited:全球加速区域(除中国大陆)Anycast无上限全力防护;</li><li> cm_30G_anycast_300G:中国大陆加速区域保底防护30Gbps,全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> cm_30G_anycast_unlimited:中国大陆加速区域保底防护30Gbps,全球加速区域(除中国大陆)Anycast无上限全力防护;</li><li> cm_60G_anycast_300G:中国大陆加速区域保底防护60Gbps,全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> cm_60G_anycast_unlimited:中国大陆加速区域保底防护60Gbps,全球加速区域(除中国大陆)Anycast无上限全力防护;</li><li> cm_100G_anycast_300G:中国大陆加速区域保底防护100Gbps,全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> cm_100G_anycast_unlimited:中国大陆加速区域保底防护100Gbps,全球加速区域(除中国大陆)Anycast无上限全力防护。</li> // 注意:此字段可能返回 null,表示取不到有效值。 ProtectionSpecs *string `json:"ProtectionSpecs,omitnil,omitempty" name:"ProtectionSpecs"` }
type SwitchConfig ¶
type SwitchConfig struct { // Web类型的安全总开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li>不影响DDoS与Bot的开关。 WebSwitch *string `json:"WebSwitch,omitnil,omitempty" name:"WebSwitch"` }
type Task ¶
type Task struct { // 任务 ID。 JobId *string `json:"JobId,omitnil,omitempty" name:"JobId"` // 资源。 Target *string `json:"Target,omitnil,omitempty" name:"Target"` // 任务类型。 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 节点缓存清除方法,取值有: // <li>invalidate:标记过期,用户请求时触发回源校验,即发送带有 If-None-Match 和 If-Modified-Since 头部的 HTTP 条件请求。若源站响应 200,则节点会回源拉取新的资源并更新缓存;若源站响应 304,则节点不会更新缓存;</li> // <li>delete:直接删除节点缓存,用户请求时触发回源拉取资源。</li> // 注意:此字段可能返回 null,表示取不到有效值。 Method *string `json:"Method,omitnil,omitempty" name:"Method"` // 状态。取值有: // <li>processing:处理中;</li> // <li>success:成功;</li> // <li> failed:失败;</li> // <li>timeout:超时。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 任务创建时间。 CreateTime *string `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 任务完成时间。 UpdateTime *string `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` }
type TemplateConfig ¶ added in v1.0.533
type TemplateScope ¶ added in v1.0.775
type TemplateScope struct { // 站点ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 实例状态列表。 // 注意:此字段可能返回 null,表示取不到有效值。 EntityStatus []*EntityStatus `json:"EntityStatus,omitnil,omitempty" name:"EntityStatus"` }
type TimingDataItem ¶
type TimingDataRecord ¶
type TimingDataRecord struct { // 查询维度值。 TypeKey *string `json:"TypeKey,omitnil,omitempty" name:"TypeKey"` // 详细时序数据。 TypeValue []*TimingTypeValue `json:"TypeValue,omitnil,omitempty" name:"TypeValue"` }
type TimingTypeValue ¶
type TimingTypeValue struct { // 数据和。 Sum *int64 `json:"Sum,omitnil,omitempty" name:"Sum"` // 最大值。 Max *int64 `json:"Max,omitnil,omitempty" name:"Max"` // 平均值。 Avg *int64 `json:"Avg,omitnil,omitempty" name:"Avg"` // 指标名。 MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 详细数据。 // 注意:此字段可能返回 null,表示取不到有效值。 Detail []*TimingDataItem `json:"Detail,omitnil,omitempty" name:"Detail"` }
type TopDataRecord ¶
type TopDataRecord struct { // 查询维度值。 TypeKey *string `json:"TypeKey,omitnil,omitempty" name:"TypeKey"` // top数据排行。 DetailData []*TopDetailData `json:"DetailData,omitnil,omitempty" name:"DetailData"` }
type TopDetailData ¶
type TopEntry ¶
type TopEntry struct { // top查询维度值。 Key *string `json:"Key,omitnil,omitempty" name:"Key"` // 查询具体数据。 Value []*TopEntryValue `json:"Value,omitnil,omitempty" name:"Value"` }
type TopEntryValue ¶
type UpgradePlanRequest ¶ added in v1.0.912
type UpgradePlanRequest struct { *tchttp.BaseRequest // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 需要升级到的目标套餐版本,取值有:<li> basic:基础版套餐;</li><li> standard:标准版套餐。</li> PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` // 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。 AutoUseVoucher *string `json:"AutoUseVoucher,omitnil,omitempty" name:"AutoUseVoucher"` }
func NewUpgradePlanRequest ¶ added in v1.0.912
func NewUpgradePlanRequest() (request *UpgradePlanRequest)
func (*UpgradePlanRequest) FromJsonString ¶ added in v1.0.912
func (r *UpgradePlanRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradePlanRequest) ToJsonString ¶ added in v1.0.912
func (r *UpgradePlanRequest) ToJsonString() string
type UpgradePlanRequestParams ¶ added in v1.0.912
type UpgradePlanRequestParams struct { // 套餐 ID,形如 edgeone-2unuvzjmmn2q。 PlanId *string `json:"PlanId,omitnil,omitempty" name:"PlanId"` // 需要升级到的目标套餐版本,取值有:<li> basic:基础版套餐;</li><li> standard:标准版套餐。</li> PlanType *string `json:"PlanType,omitnil,omitempty" name:"PlanType"` // 是否自动使用代金券,取值有:<li> true:是;</li><li> false:否。</li>不填写使用默认值 false。 AutoUseVoucher *string `json:"AutoUseVoucher,omitnil,omitempty" name:"AutoUseVoucher"` }
Predefined struct for user
type UpgradePlanResponse ¶ added in v1.0.912
type UpgradePlanResponse struct { *tchttp.BaseResponse Response *UpgradePlanResponseParams `json:"Response"` }
func NewUpgradePlanResponse ¶ added in v1.0.912
func NewUpgradePlanResponse() (response *UpgradePlanResponse)
func (*UpgradePlanResponse) FromJsonString ¶ added in v1.0.912
func (r *UpgradePlanResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*UpgradePlanResponse) ToJsonString ¶ added in v1.0.912
func (r *UpgradePlanResponse) ToJsonString() string
type UpgradePlanResponseParams ¶ added in v1.0.912
type UpgradePlanResponseParams struct { // 订单号。 DealName *string `json:"DealName,omitnil,omitempty" name:"DealName"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type UpstreamCertInfo ¶ added in v1.0.1036
type UpstreamCertInfo struct { // 在回源双向认证场景下,该字段为 EO 节点回源时携带的证书(包含公钥、私钥即可),部署在 EO 节点,用于源站对 EO 节点进行认证。在作为入参使用时,不填写表示保持原有配置。 UpstreamMutualTLS *MutualTLS `json:"UpstreamMutualTLS,omitnil,omitempty" name:"UpstreamMutualTLS"` }
type UpstreamHttp2 ¶
type UpstreamHttp2 struct { // http2 回源配置开关,取值有: // <li>on:开启;</li> // <li>off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` }
type VanityNameServers ¶
type VanityNameServersIps ¶
type VerifyOwnershipRequest ¶ added in v1.0.757
type VerifyOwnershipRequest struct { *tchttp.BaseRequest // 站点或者加速域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
func NewVerifyOwnershipRequest ¶ added in v1.0.757
func NewVerifyOwnershipRequest() (request *VerifyOwnershipRequest)
func (*VerifyOwnershipRequest) FromJsonString ¶ added in v1.0.757
func (r *VerifyOwnershipRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*VerifyOwnershipRequest) ToJsonString ¶ added in v1.0.757
func (r *VerifyOwnershipRequest) ToJsonString() string
type VerifyOwnershipRequestParams ¶ added in v1.0.757
type VerifyOwnershipRequestParams struct { // 站点或者加速域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
Predefined struct for user
type VerifyOwnershipResponse ¶ added in v1.0.757
type VerifyOwnershipResponse struct { *tchttp.BaseResponse Response *VerifyOwnershipResponseParams `json:"Response"` }
func NewVerifyOwnershipResponse ¶ added in v1.0.757
func NewVerifyOwnershipResponse() (response *VerifyOwnershipResponse)
func (*VerifyOwnershipResponse) FromJsonString ¶ added in v1.0.757
func (r *VerifyOwnershipResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*VerifyOwnershipResponse) ToJsonString ¶ added in v1.0.757
func (r *VerifyOwnershipResponse) ToJsonString() string
type VerifyOwnershipResponseParams ¶ added in v1.0.757
type VerifyOwnershipResponseParams struct { // 归属权验证结果。 // <li>success:验证成功;</li> // <li>fail:验证失败。</li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 当验证结果为不通过时,该字段会返回原因,协助您排查问题。 Result *string `json:"Result,omitnil,omitempty" name:"Result"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type WafConfig ¶
type WafConfig struct { // WafConfig开关,取值有: // <li> on:开启;</li> // <li> off:关闭。</li>开关仅与配置是否生效有关,即使为off(关闭),也可以正常修改配置的内容。 Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 上一次设置的防护级别,取值有: // <li> loose:宽松;</li> // <li> normal:正常;</li> // <li> strict:严格;</li> // <li> stricter:超严格;</li> // <li> custom:自定义。</li> Level *string `json:"Level,omitnil,omitempty" name:"Level"` // 全局WAF模式,取值有: // <li> block:阻断(全局阻断,但可对详细规则配置观察);</li> // <li> observe:观察(无论详细规则配置什么,都为观察)。</li> Mode *string `json:"Mode,omitnil,omitempty" name:"Mode"` // 托管规则详细配置。如果为null,默认使用历史配置。 WafRule *WafRule `json:"WafRule,omitnil,omitempty" name:"WafRule"` // AI规则引擎防护配置。如果为null,默认使用历史配置。 AiRule *AiRule `json:"AiRule,omitnil,omitempty" name:"AiRule"` }
type WafRule ¶
type WafRule struct { // 托管规则开关,取值有: // <li> on:开启;</li> // <li> off:关闭。</li> Switch *string `json:"Switch,omitnil,omitempty" name:"Switch"` // 黑名单ID列表,将规则ID加入本参数列表中代表该ID关闭,即该规则ID不再生效。 BlockRuleIDs []*int64 `json:"BlockRuleIDs,omitnil,omitempty" name:"BlockRuleIDs"` // 观察模式ID列表,将规则ID加入本参数列表中代表该ID使用观察模式生效,即该规则ID进入观察模式。 ObserveRuleIDs []*int64 `json:"ObserveRuleIDs,omitnil,omitempty" name:"ObserveRuleIDs"` }
type Zone ¶
type Zone struct { // 站点 ID。 ZoneId *string `json:"ZoneId,omitnil,omitempty" name:"ZoneId"` // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 站点当前使用的 NS 列表。 OriginalNameServers []*string `json:"OriginalNameServers,omitnil,omitempty" name:"OriginalNameServers"` // 腾讯云分配的 NS 列表。 NameServers []*string `json:"NameServers,omitnil,omitempty" name:"NameServers"` // 站点状态,取值有: // <li> active:NS 已切换; </li> // <li> pending:NS 未切换;</li> // <li> moved:NS 已切走;</li> // <li> deactivated:被封禁。 </li> // <li> initializing:待绑定套餐。 </li> Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 站点接入方式,取值有: // <li> full:NS 接入;</li> // <li> partial:CNAME 接入;</li> // <li> noDomainAccess:无域名接入;</li> Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 站点是否关闭。 Paused *bool `json:"Paused,omitnil,omitempty" name:"Paused"` // 是否开启 CNAME 加速,取值有: // <li> enabled:开启;</li> // <li> disabled:关闭。</li> CnameSpeedUp *string `json:"CnameSpeedUp,omitnil,omitempty" name:"CnameSpeedUp"` // CNAME 接入状态,取值有: // <li> finished:站点已验证;</li> // <li> pending:站点验证中。</li> CnameStatus *string `json:"CnameStatus,omitnil,omitempty" name:"CnameStatus"` // 资源标签列表。 Tags []*Tag `json:"Tags,omitnil,omitempty" name:"Tags"` // 计费资源列表。 Resources []*Resource `json:"Resources,omitnil,omitempty" name:"Resources"` // 站点创建时间。 CreatedOn *string `json:"CreatedOn,omitnil,omitempty" name:"CreatedOn"` // 站点修改时间。 ModifiedOn *string `json:"ModifiedOn,omitnil,omitempty" name:"ModifiedOn"` // 站点接入地域,取值有: // <li> global:全球;</li> // <li> mainland:中国大陆;</li> // <li> overseas:境外区域。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 用户自定义 NS 信息。 // 注意:此字段可能返回 null,表示取不到有效值。 VanityNameServers *VanityNameServers `json:"VanityNameServers,omitnil,omitempty" name:"VanityNameServers"` // 用户自定义 NS IP 信息。 // 注意:此字段可能返回 null,表示取不到有效值。 VanityNameServersIps []*VanityNameServersIps `json:"VanityNameServersIps,omitnil,omitempty" name:"VanityNameServersIps"` // 展示状态,取值有: // <li> active:已启用;</li> // <li> inactive:未生效;</li> // <li> paused:已停用。</li> ActiveStatus *string `json:"ActiveStatus,omitnil,omitempty" name:"ActiveStatus"` // 站点别名。数字、英文、-和_组合,限制20个字符。 // 注意:此字段可能返回 null,表示取不到有效值。 AliasZoneName *string `json:"AliasZoneName,omitnil,omitempty" name:"AliasZoneName"` // 是否伪站点,取值有: // <li> 0:非伪站点;</li> // <li> 1:伪站点。</li> IsFake *int64 `json:"IsFake,omitnil,omitempty" name:"IsFake"` // 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作;</li><li> plan_migrate:套餐迁移中,不允许进行修改操作。</li> LockStatus *string `json:"LockStatus,omitnil,omitempty" name:"LockStatus"` // 归属权验证信息。 // 注意:此字段可能返回 null,表示取不到有效值。 OwnershipVerification *OwnershipVerification `json:"OwnershipVerification,omitnil,omitempty" name:"OwnershipVerification"` }
type ZoneSetting ¶
type ZoneSetting struct { // 站点名称。 ZoneName *string `json:"ZoneName,omitnil,omitempty" name:"ZoneName"` // 站点加速区域信息,取值有: // <li> mainland:中国境内加速;</li> // <li> overseas:中国境外加速。</li> Area *string `json:"Area,omitnil,omitempty" name:"Area"` // 节点缓存键配置。 // 注意:此字段可能返回 null,表示取不到有效值。 CacheKey *CacheKey `json:"CacheKey,omitnil,omitempty" name:"CacheKey"` // Quic访问配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Quic *Quic `json:"Quic,omitnil,omitempty" name:"Quic"` // POST请求传输配置。 // 注意:此字段可能返回 null,表示取不到有效值。 PostMaxSize *PostMaxSize `json:"PostMaxSize,omitnil,omitempty" name:"PostMaxSize"` // 智能压缩配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Compression *Compression `json:"Compression,omitnil,omitempty" name:"Compression"` // Http2回源配置。 // 注意:此字段可能返回 null,表示取不到有效值。 UpstreamHttp2 *UpstreamHttp2 `json:"UpstreamHttp2,omitnil,omitempty" name:"UpstreamHttp2"` // 访问协议强制Https跳转配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ForceRedirect *ForceRedirect `json:"ForceRedirect,omitnil,omitempty" name:"ForceRedirect"` // 缓存过期时间配置。 // 注意:此字段可能返回 null,表示取不到有效值。 CacheConfig *CacheConfig `json:"CacheConfig,omitnil,omitempty" name:"CacheConfig"` // 源站配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Origin *Origin `json:"Origin,omitnil,omitempty" name:"Origin"` // 智能加速配置。 // 注意:此字段可能返回 null,表示取不到有效值。 SmartRouting *SmartRouting `json:"SmartRouting,omitnil,omitempty" name:"SmartRouting"` // 浏览器缓存配置。 // 注意:此字段可能返回 null,表示取不到有效值。 MaxAge *MaxAge `json:"MaxAge,omitnil,omitempty" name:"MaxAge"` // 离线缓存配置。 // 注意:此字段可能返回 null,表示取不到有效值。 OfflineCache *OfflineCache `json:"OfflineCache,omitnil,omitempty" name:"OfflineCache"` // WebSocket配置。 // 注意:此字段可能返回 null,表示取不到有效值。 WebSocket *WebSocket `json:"WebSocket,omitnil,omitempty" name:"WebSocket"` // 客户端IP回源请求头配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientIpHeader *ClientIpHeader `json:"ClientIpHeader,omitnil,omitempty" name:"ClientIpHeader"` // 缓存预刷新配置。 // 注意:此字段可能返回 null,表示取不到有效值。 CachePrefresh *CachePrefresh `json:"CachePrefresh,omitnil,omitempty" name:"CachePrefresh"` // Ipv6访问配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Ipv6 *Ipv6 `json:"Ipv6,omitnil,omitempty" name:"Ipv6"` // Https 加速配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Https *Https `json:"Https,omitnil,omitempty" name:"Https"` // 回源时是否携带客户端IP所属地域信息的配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientIpCountry *ClientIpCountry `json:"ClientIpCountry,omitnil,omitempty" name:"ClientIpCountry"` // Grpc协议支持配置。 // 注意:此字段可能返回 null,表示取不到有效值。 Grpc *Grpc `json:"Grpc,omitnil,omitempty" name:"Grpc"` // 图片优化相关配置。 // 注意:此字段可能返回 null,表示取不到有效值。 ImageOptimize *ImageOptimize `json:"ImageOptimize,omitnil,omitempty" name:"ImageOptimize"` // 中国大陆加速优化配置。 // 注意:此字段可能返回 null,表示取不到有效值。 AccelerateMainland *AccelerateMainland `json:"AccelerateMainland,omitnil,omitempty" name:"AccelerateMainland"` // 标准 Debug 配置。 // 注意:此字段可能返回 null,表示取不到有效值。 StandardDebug *StandardDebug `json:"StandardDebug,omitnil,omitempty" name:"StandardDebug"` // 视频即时处理配置。 // 注意:此字段可能返回 null,表示取不到有效值。 JITVideoProcess *JITVideoProcess `json:"JITVideoProcess,omitnil,omitempty" name:"JITVideoProcess"` }