Documentation ¶
Index ¶
- Constants
- type AccessConfiguration
- type AccessRegionDetial
- type AccessRegionDomainConf
- type AddRealServersRequest
- type AddRealServersRequestParams
- type AddRealServersResponse
- type AddRealServersResponseParams
- type BanAndRecoverProxyRequest
- type BanAndRecoverProxyRequestParams
- type BanAndRecoverProxyResponse
- type BanAndRecoverProxyResponseParams
- type BandwidthPriceGradient
- type BindListenerRealServersRequest
- type BindListenerRealServersRequestParams
- type BindListenerRealServersResponse
- type BindListenerRealServersResponseParams
- type BindRealServer
- type BindRealServerInfo
- type BindRuleRealServersRequest
- type BindRuleRealServersRequestParams
- type BindRuleRealServersResponse
- type BindRuleRealServersResponseParams
- type Capacity
- type Certificate
- type CertificateAliasInfo
- type CertificateDetail
- type CheckProxyCreateRequest
- type CheckProxyCreateRequestParams
- type CheckProxyCreateResponse
- type CheckProxyCreateResponseParams
- type Client
- func (c *Client) AddRealServers(request *AddRealServersRequest) (response *AddRealServersResponse, err error)
- func (c *Client) AddRealServersWithContext(ctx context.Context, request *AddRealServersRequest) (response *AddRealServersResponse, err error)
- func (c *Client) BanAndRecoverProxy(request *BanAndRecoverProxyRequest) (response *BanAndRecoverProxyResponse, err error)
- func (c *Client) BanAndRecoverProxyWithContext(ctx context.Context, request *BanAndRecoverProxyRequest) (response *BanAndRecoverProxyResponse, err error)
- func (c *Client) BindListenerRealServers(request *BindListenerRealServersRequest) (response *BindListenerRealServersResponse, err error)
- func (c *Client) BindListenerRealServersWithContext(ctx context.Context, request *BindListenerRealServersRequest) (response *BindListenerRealServersResponse, err error)
- func (c *Client) BindRuleRealServers(request *BindRuleRealServersRequest) (response *BindRuleRealServersResponse, err error)
- func (c *Client) BindRuleRealServersWithContext(ctx context.Context, request *BindRuleRealServersRequest) (response *BindRuleRealServersResponse, err error)
- func (c *Client) CheckProxyCreate(request *CheckProxyCreateRequest) (response *CheckProxyCreateResponse, err error)
- func (c *Client) CheckProxyCreateWithContext(ctx context.Context, request *CheckProxyCreateRequest) (response *CheckProxyCreateResponse, err error)
- func (c *Client) CloseProxies(request *CloseProxiesRequest) (response *CloseProxiesResponse, err error)
- func (c *Client) CloseProxiesWithContext(ctx context.Context, request *CloseProxiesRequest) (response *CloseProxiesResponse, err error)
- func (c *Client) CloseProxyGroup(request *CloseProxyGroupRequest) (response *CloseProxyGroupResponse, err error)
- func (c *Client) CloseProxyGroupWithContext(ctx context.Context, request *CloseProxyGroupRequest) (response *CloseProxyGroupResponse, err error)
- func (c *Client) CloseSecurityPolicy(request *CloseSecurityPolicyRequest) (response *CloseSecurityPolicyResponse, err error)
- func (c *Client) CloseSecurityPolicyWithContext(ctx context.Context, request *CloseSecurityPolicyRequest) (response *CloseSecurityPolicyResponse, err error)
- func (c *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)
- func (c *Client) CreateCertificateWithContext(ctx context.Context, request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)
- func (c *Client) CreateCustomHeader(request *CreateCustomHeaderRequest) (response *CreateCustomHeaderResponse, err error)
- func (c *Client) CreateCustomHeaderWithContext(ctx context.Context, request *CreateCustomHeaderRequest) (response *CreateCustomHeaderResponse, err error)
- func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)
- func (c *Client) CreateDomainErrorPageInfo(request *CreateDomainErrorPageInfoRequest) (response *CreateDomainErrorPageInfoResponse, err error)
- func (c *Client) CreateDomainErrorPageInfoWithContext(ctx context.Context, request *CreateDomainErrorPageInfoRequest) (response *CreateDomainErrorPageInfoResponse, err error)
- func (c *Client) CreateDomainWithContext(ctx context.Context, request *CreateDomainRequest) (response *CreateDomainResponse, err error)
- func (c *Client) CreateFirstLinkSession(request *CreateFirstLinkSessionRequest) (response *CreateFirstLinkSessionResponse, err error)
- func (c *Client) CreateFirstLinkSessionWithContext(ctx context.Context, request *CreateFirstLinkSessionRequest) (response *CreateFirstLinkSessionResponse, err error)
- func (c *Client) CreateGlobalDomain(request *CreateGlobalDomainRequest) (response *CreateGlobalDomainResponse, err error)
- func (c *Client) CreateGlobalDomainDns(request *CreateGlobalDomainDnsRequest) (response *CreateGlobalDomainDnsResponse, err error)
- func (c *Client) CreateGlobalDomainDnsWithContext(ctx context.Context, request *CreateGlobalDomainDnsRequest) (response *CreateGlobalDomainDnsResponse, err error)
- func (c *Client) CreateGlobalDomainWithContext(ctx context.Context, request *CreateGlobalDomainRequest) (response *CreateGlobalDomainResponse, err error)
- func (c *Client) CreateHTTPListener(request *CreateHTTPListenerRequest) (response *CreateHTTPListenerResponse, err error)
- func (c *Client) CreateHTTPListenerWithContext(ctx context.Context, request *CreateHTTPListenerRequest) (response *CreateHTTPListenerResponse, err error)
- func (c *Client) CreateHTTPSListener(request *CreateHTTPSListenerRequest) (response *CreateHTTPSListenerResponse, err error)
- func (c *Client) CreateHTTPSListenerWithContext(ctx context.Context, request *CreateHTTPSListenerRequest) (response *CreateHTTPSListenerResponse, err error)
- func (c *Client) CreateProxy(request *CreateProxyRequest) (response *CreateProxyResponse, err error)
- func (c *Client) CreateProxyGroup(request *CreateProxyGroupRequest) (response *CreateProxyGroupResponse, err error)
- func (c *Client) CreateProxyGroupDomain(request *CreateProxyGroupDomainRequest) (response *CreateProxyGroupDomainResponse, err error)
- func (c *Client) CreateProxyGroupDomainWithContext(ctx context.Context, request *CreateProxyGroupDomainRequest) (response *CreateProxyGroupDomainResponse, err error)
- func (c *Client) CreateProxyGroupWithContext(ctx context.Context, request *CreateProxyGroupRequest) (response *CreateProxyGroupResponse, err error)
- func (c *Client) CreateProxyWithContext(ctx context.Context, request *CreateProxyRequest) (response *CreateProxyResponse, 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) CreateSecurityPolicy(request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
- func (c *Client) CreateSecurityPolicyWithContext(ctx context.Context, request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
- func (c *Client) CreateSecurityRules(request *CreateSecurityRulesRequest) (response *CreateSecurityRulesResponse, err error)
- func (c *Client) CreateSecurityRulesWithContext(ctx context.Context, request *CreateSecurityRulesRequest) (response *CreateSecurityRulesResponse, err error)
- func (c *Client) CreateTCPListeners(request *CreateTCPListenersRequest) (response *CreateTCPListenersResponse, err error)
- func (c *Client) CreateTCPListenersWithContext(ctx context.Context, request *CreateTCPListenersRequest) (response *CreateTCPListenersResponse, err error)
- func (c *Client) CreateUDPListeners(request *CreateUDPListenersRequest) (response *CreateUDPListenersResponse, err error)
- func (c *Client) CreateUDPListenersWithContext(ctx context.Context, request *CreateUDPListenersRequest) (response *CreateUDPListenersResponse, err error)
- func (c *Client) DeleteCertificate(request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)
- func (c *Client) DeleteCertificateWithContext(ctx context.Context, request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)
- func (c *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
- func (c *Client) DeleteDomainErrorPageInfo(request *DeleteDomainErrorPageInfoRequest) (response *DeleteDomainErrorPageInfoResponse, err error)
- func (c *Client) DeleteDomainErrorPageInfoWithContext(ctx context.Context, request *DeleteDomainErrorPageInfoRequest) (response *DeleteDomainErrorPageInfoResponse, err error)
- func (c *Client) DeleteDomainWithContext(ctx context.Context, request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
- func (c *Client) DeleteFirstLinkSession(request *DeleteFirstLinkSessionRequest) (response *DeleteFirstLinkSessionResponse, err error)
- func (c *Client) DeleteFirstLinkSessionWithContext(ctx context.Context, request *DeleteFirstLinkSessionRequest) (response *DeleteFirstLinkSessionResponse, err error)
- func (c *Client) DeleteGlobalDomain(request *DeleteGlobalDomainRequest) (response *DeleteGlobalDomainResponse, err error)
- func (c *Client) DeleteGlobalDomainDns(request *DeleteGlobalDomainDnsRequest) (response *DeleteGlobalDomainDnsResponse, err error)
- func (c *Client) DeleteGlobalDomainDnsWithContext(ctx context.Context, request *DeleteGlobalDomainDnsRequest) (response *DeleteGlobalDomainDnsResponse, err error)
- func (c *Client) DeleteGlobalDomainWithContext(ctx context.Context, request *DeleteGlobalDomainRequest) (response *DeleteGlobalDomainResponse, err error)
- func (c *Client) DeleteListeners(request *DeleteListenersRequest) (response *DeleteListenersResponse, err error)
- func (c *Client) DeleteListenersWithContext(ctx context.Context, request *DeleteListenersRequest) (response *DeleteListenersResponse, err error)
- func (c *Client) DeleteProxyGroup(request *DeleteProxyGroupRequest) (response *DeleteProxyGroupResponse, err error)
- func (c *Client) DeleteProxyGroupWithContext(ctx context.Context, request *DeleteProxyGroupRequest) (response *DeleteProxyGroupResponse, err error)
- func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
- func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
- func (c *Client) DeleteSecurityPolicy(request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
- func (c *Client) DeleteSecurityPolicyWithContext(ctx context.Context, request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
- func (c *Client) DeleteSecurityRules(request *DeleteSecurityRulesRequest) (response *DeleteSecurityRulesResponse, err error)
- func (c *Client) DeleteSecurityRulesWithContext(ctx context.Context, request *DeleteSecurityRulesRequest) (response *DeleteSecurityRulesResponse, err error)
- func (c *Client) DescribeAccessRegions(request *DescribeAccessRegionsRequest) (response *DescribeAccessRegionsResponse, err error)
- func (c *Client) DescribeAccessRegionsByDestRegion(request *DescribeAccessRegionsByDestRegionRequest) (response *DescribeAccessRegionsByDestRegionResponse, err error)
- func (c *Client) DescribeAccessRegionsByDestRegionWithContext(ctx context.Context, request *DescribeAccessRegionsByDestRegionRequest) (response *DescribeAccessRegionsByDestRegionResponse, err error)
- func (c *Client) DescribeAccessRegionsWithContext(ctx context.Context, request *DescribeAccessRegionsRequest) (response *DescribeAccessRegionsResponse, err error)
- func (c *Client) DescribeAuthSignature(request *DescribeAuthSignatureRequest) (response *DescribeAuthSignatureResponse, err error)
- func (c *Client) DescribeAuthSignatureWithContext(ctx context.Context, request *DescribeAuthSignatureRequest) (response *DescribeAuthSignatureResponse, err error)
- func (c *Client) DescribeBlackHeader(request *DescribeBlackHeaderRequest) (response *DescribeBlackHeaderResponse, err error)
- func (c *Client) DescribeBlackHeaderWithContext(ctx context.Context, request *DescribeBlackHeaderRequest) (response *DescribeBlackHeaderResponse, err error)
- func (c *Client) DescribeCertificateDetail(request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
- func (c *Client) DescribeCertificateDetailWithContext(ctx context.Context, request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
- func (c *Client) DescribeCertificates(request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)
- func (c *Client) DescribeCertificatesWithContext(ctx context.Context, request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)
- func (c *Client) DescribeCountryAreaMapping(request *DescribeCountryAreaMappingRequest) (response *DescribeCountryAreaMappingResponse, err error)
- func (c *Client) DescribeCountryAreaMappingWithContext(ctx context.Context, request *DescribeCountryAreaMappingRequest) (response *DescribeCountryAreaMappingResponse, err error)
- func (c *Client) DescribeCrossBorderProxies(request *DescribeCrossBorderProxiesRequest) (response *DescribeCrossBorderProxiesResponse, err error)
- func (c *Client) DescribeCrossBorderProxiesWithContext(ctx context.Context, request *DescribeCrossBorderProxiesRequest) (response *DescribeCrossBorderProxiesResponse, err error)
- func (c *Client) DescribeCustomHeader(request *DescribeCustomHeaderRequest) (response *DescribeCustomHeaderResponse, err error)
- func (c *Client) DescribeCustomHeaderWithContext(ctx context.Context, request *DescribeCustomHeaderRequest) (response *DescribeCustomHeaderResponse, err error)
- func (c *Client) DescribeDestRegions(request *DescribeDestRegionsRequest) (response *DescribeDestRegionsResponse, err error)
- func (c *Client) DescribeDestRegionsWithContext(ctx context.Context, request *DescribeDestRegionsRequest) (response *DescribeDestRegionsResponse, err error)
- func (c *Client) DescribeDomainErrorPageInfo(request *DescribeDomainErrorPageInfoRequest) (response *DescribeDomainErrorPageInfoResponse, err error)
- func (c *Client) DescribeDomainErrorPageInfoByIds(request *DescribeDomainErrorPageInfoByIdsRequest) (response *DescribeDomainErrorPageInfoByIdsResponse, err error)
- func (c *Client) DescribeDomainErrorPageInfoByIdsWithContext(ctx context.Context, request *DescribeDomainErrorPageInfoByIdsRequest) (response *DescribeDomainErrorPageInfoByIdsResponse, err error)
- func (c *Client) DescribeDomainErrorPageInfoWithContext(ctx context.Context, request *DescribeDomainErrorPageInfoRequest) (response *DescribeDomainErrorPageInfoResponse, err error)
- func (c *Client) DescribeFirstLinkSession(request *DescribeFirstLinkSessionRequest) (response *DescribeFirstLinkSessionResponse, err error)
- func (c *Client) DescribeFirstLinkSessionWithContext(ctx context.Context, request *DescribeFirstLinkSessionRequest) (response *DescribeFirstLinkSessionResponse, err error)
- func (c *Client) DescribeGlobalDomainDns(request *DescribeGlobalDomainDnsRequest) (response *DescribeGlobalDomainDnsResponse, err error)
- func (c *Client) DescribeGlobalDomainDnsWithContext(ctx context.Context, request *DescribeGlobalDomainDnsRequest) (response *DescribeGlobalDomainDnsResponse, err error)
- func (c *Client) DescribeGlobalDomains(request *DescribeGlobalDomainsRequest) (response *DescribeGlobalDomainsResponse, err error)
- func (c *Client) DescribeGlobalDomainsWithContext(ctx context.Context, request *DescribeGlobalDomainsRequest) (response *DescribeGlobalDomainsResponse, err error)
- func (c *Client) DescribeGroupAndStatisticsProxy(request *DescribeGroupAndStatisticsProxyRequest) (response *DescribeGroupAndStatisticsProxyResponse, err error)
- func (c *Client) DescribeGroupAndStatisticsProxyWithContext(ctx context.Context, request *DescribeGroupAndStatisticsProxyRequest) (response *DescribeGroupAndStatisticsProxyResponse, err error)
- func (c *Client) DescribeGroupDomainConfig(request *DescribeGroupDomainConfigRequest) (response *DescribeGroupDomainConfigResponse, err error)
- func (c *Client) DescribeGroupDomainConfigWithContext(ctx context.Context, request *DescribeGroupDomainConfigRequest) (response *DescribeGroupDomainConfigResponse, err error)
- func (c *Client) DescribeHTTPListeners(request *DescribeHTTPListenersRequest) (response *DescribeHTTPListenersResponse, err error)
- func (c *Client) DescribeHTTPListenersWithContext(ctx context.Context, request *DescribeHTTPListenersRequest) (response *DescribeHTTPListenersResponse, err error)
- func (c *Client) DescribeHTTPSListeners(request *DescribeHTTPSListenersRequest) (response *DescribeHTTPSListenersResponse, err error)
- func (c *Client) DescribeHTTPSListenersWithContext(ctx context.Context, request *DescribeHTTPSListenersRequest) (response *DescribeHTTPSListenersResponse, err error)
- func (c *Client) DescribeListenerRealServers(request *DescribeListenerRealServersRequest) (response *DescribeListenerRealServersResponse, err error)
- func (c *Client) DescribeListenerRealServersWithContext(ctx context.Context, request *DescribeListenerRealServersRequest) (response *DescribeListenerRealServersResponse, err error)
- func (c *Client) DescribeListenerStatistics(request *DescribeListenerStatisticsRequest) (response *DescribeListenerStatisticsResponse, err error)
- func (c *Client) DescribeListenerStatisticsWithContext(ctx context.Context, request *DescribeListenerStatisticsRequest) (response *DescribeListenerStatisticsResponse, err error)
- func (c *Client) DescribeProxies(request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
- func (c *Client) DescribeProxiesStatus(request *DescribeProxiesStatusRequest) (response *DescribeProxiesStatusResponse, err error)
- func (c *Client) DescribeProxiesStatusWithContext(ctx context.Context, request *DescribeProxiesStatusRequest) (response *DescribeProxiesStatusResponse, err error)
- func (c *Client) DescribeProxiesWithContext(ctx context.Context, request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
- func (c *Client) DescribeProxyAndStatisticsListeners(request *DescribeProxyAndStatisticsListenersRequest) (response *DescribeProxyAndStatisticsListenersResponse, err error)
- func (c *Client) DescribeProxyAndStatisticsListenersWithContext(ctx context.Context, request *DescribeProxyAndStatisticsListenersRequest) (response *DescribeProxyAndStatisticsListenersResponse, err error)
- func (c *Client) DescribeProxyDetail(request *DescribeProxyDetailRequest) (response *DescribeProxyDetailResponse, err error)
- func (c *Client) DescribeProxyDetailWithContext(ctx context.Context, request *DescribeProxyDetailRequest) (response *DescribeProxyDetailResponse, err error)
- func (c *Client) DescribeProxyGroupDetails(request *DescribeProxyGroupDetailsRequest) (response *DescribeProxyGroupDetailsResponse, err error)
- func (c *Client) DescribeProxyGroupDetailsWithContext(ctx context.Context, request *DescribeProxyGroupDetailsRequest) (response *DescribeProxyGroupDetailsResponse, err error)
- func (c *Client) DescribeProxyGroupList(request *DescribeProxyGroupListRequest) (response *DescribeProxyGroupListResponse, err error)
- func (c *Client) DescribeProxyGroupListWithContext(ctx context.Context, request *DescribeProxyGroupListRequest) (response *DescribeProxyGroupListResponse, err error)
- func (c *Client) DescribeProxyGroupStatistics(request *DescribeProxyGroupStatisticsRequest) (response *DescribeProxyGroupStatisticsResponse, err error)
- func (c *Client) DescribeProxyGroupStatisticsWithContext(ctx context.Context, request *DescribeProxyGroupStatisticsRequest) (response *DescribeProxyGroupStatisticsResponse, err error)
- func (c *Client) DescribeProxyStatistics(request *DescribeProxyStatisticsRequest) (response *DescribeProxyStatisticsResponse, err error)
- func (c *Client) DescribeProxyStatisticsWithContext(ctx context.Context, request *DescribeProxyStatisticsRequest) (response *DescribeProxyStatisticsResponse, err error)
- func (c *Client) DescribeRealServerStatistics(request *DescribeRealServerStatisticsRequest) (response *DescribeRealServerStatisticsResponse, err error)
- func (c *Client) DescribeRealServerStatisticsWithContext(ctx context.Context, request *DescribeRealServerStatisticsRequest) (response *DescribeRealServerStatisticsResponse, err error)
- func (c *Client) DescribeRealServers(request *DescribeRealServersRequest) (response *DescribeRealServersResponse, err error)
- func (c *Client) DescribeRealServersStatus(request *DescribeRealServersStatusRequest) (response *DescribeRealServersStatusResponse, err error)
- func (c *Client) DescribeRealServersStatusWithContext(ctx context.Context, request *DescribeRealServersStatusRequest) (response *DescribeRealServersStatusResponse, err error)
- func (c *Client) DescribeRealServersWithContext(ctx context.Context, request *DescribeRealServersRequest) (response *DescribeRealServersResponse, err error)
- func (c *Client) DescribeRegionAndPrice(request *DescribeRegionAndPriceRequest) (response *DescribeRegionAndPriceResponse, err error)
- func (c *Client) DescribeRegionAndPriceWithContext(ctx context.Context, request *DescribeRegionAndPriceRequest) (response *DescribeRegionAndPriceResponse, err error)
- func (c *Client) DescribeResourcesByTag(request *DescribeResourcesByTagRequest) (response *DescribeResourcesByTagResponse, err error)
- func (c *Client) DescribeResourcesByTagWithContext(ctx context.Context, request *DescribeResourcesByTagRequest) (response *DescribeResourcesByTagResponse, err error)
- func (c *Client) DescribeRuleRealServers(request *DescribeRuleRealServersRequest) (response *DescribeRuleRealServersResponse, err error)
- func (c *Client) DescribeRuleRealServersWithContext(ctx context.Context, request *DescribeRuleRealServersRequest) (response *DescribeRuleRealServersResponse, err error)
- func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeRulesByRuleIds(request *DescribeRulesByRuleIdsRequest) (response *DescribeRulesByRuleIdsResponse, err error)
- func (c *Client) DescribeRulesByRuleIdsWithContext(ctx context.Context, request *DescribeRulesByRuleIdsRequest) (response *DescribeRulesByRuleIdsResponse, err error)
- func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
- func (c *Client) DescribeSecurityPolicyDetail(request *DescribeSecurityPolicyDetailRequest) (response *DescribeSecurityPolicyDetailResponse, err error)
- func (c *Client) DescribeSecurityPolicyDetailWithContext(ctx context.Context, request *DescribeSecurityPolicyDetailRequest) (response *DescribeSecurityPolicyDetailResponse, err error)
- func (c *Client) DescribeSecurityRules(request *DescribeSecurityRulesRequest) (response *DescribeSecurityRulesResponse, err error)
- func (c *Client) DescribeSecurityRulesWithContext(ctx context.Context, request *DescribeSecurityRulesRequest) (response *DescribeSecurityRulesResponse, err error)
- func (c *Client) DescribeTCPListeners(request *DescribeTCPListenersRequest) (response *DescribeTCPListenersResponse, err error)
- func (c *Client) DescribeTCPListenersWithContext(ctx context.Context, request *DescribeTCPListenersRequest) (response *DescribeTCPListenersResponse, err error)
- func (c *Client) DescribeUDPListeners(request *DescribeUDPListenersRequest) (response *DescribeUDPListenersResponse, err error)
- func (c *Client) DescribeUDPListenersWithContext(ctx context.Context, request *DescribeUDPListenersRequest) (response *DescribeUDPListenersResponse, err error)
- func (c *Client) DestroyProxies(request *DestroyProxiesRequest) (response *DestroyProxiesResponse, err error)
- func (c *Client) DestroyProxiesWithContext(ctx context.Context, request *DestroyProxiesRequest) (response *DestroyProxiesResponse, err error)
- func (c *Client) DisableGlobalDomain(request *DisableGlobalDomainRequest) (response *DisableGlobalDomainResponse, err error)
- func (c *Client) DisableGlobalDomainWithContext(ctx context.Context, request *DisableGlobalDomainRequest) (response *DisableGlobalDomainResponse, err error)
- func (c *Client) EnableGlobalDomain(request *EnableGlobalDomainRequest) (response *EnableGlobalDomainResponse, err error)
- func (c *Client) EnableGlobalDomainWithContext(ctx context.Context, request *EnableGlobalDomainRequest) (response *EnableGlobalDomainResponse, err error)
- func (c *Client) InquiryPriceCreateProxy(request *InquiryPriceCreateProxyRequest) (response *InquiryPriceCreateProxyResponse, err error)
- func (c *Client) InquiryPriceCreateProxyWithContext(ctx context.Context, request *InquiryPriceCreateProxyRequest) (response *InquiryPriceCreateProxyResponse, err error)
- func (c *Client) ModifyCertificate(request *ModifyCertificateRequest) (response *ModifyCertificateResponse, err error)
- func (c *Client) ModifyCertificateAttributes(request *ModifyCertificateAttributesRequest) (response *ModifyCertificateAttributesResponse, err error)
- func (c *Client) ModifyCertificateAttributesWithContext(ctx context.Context, request *ModifyCertificateAttributesRequest) (response *ModifyCertificateAttributesResponse, err error)
- func (c *Client) ModifyCertificateWithContext(ctx context.Context, request *ModifyCertificateRequest) (response *ModifyCertificateResponse, err error)
- func (c *Client) ModifyDomain(request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
- func (c *Client) ModifyDomainWithContext(ctx context.Context, request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
- func (c *Client) ModifyGlobalDomainAttribute(request *ModifyGlobalDomainAttributeRequest) (response *ModifyGlobalDomainAttributeResponse, err error)
- func (c *Client) ModifyGlobalDomainAttributeWithContext(ctx context.Context, request *ModifyGlobalDomainAttributeRequest) (response *ModifyGlobalDomainAttributeResponse, err error)
- func (c *Client) ModifyGlobalDomainDns(request *ModifyGlobalDomainDnsRequest) (response *ModifyGlobalDomainDnsResponse, err error)
- func (c *Client) ModifyGlobalDomainDnsWithContext(ctx context.Context, request *ModifyGlobalDomainDnsRequest) (response *ModifyGlobalDomainDnsResponse, err error)
- func (c *Client) ModifyGroupDomainConfig(request *ModifyGroupDomainConfigRequest) (response *ModifyGroupDomainConfigResponse, err error)
- func (c *Client) ModifyGroupDomainConfigWithContext(ctx context.Context, request *ModifyGroupDomainConfigRequest) (response *ModifyGroupDomainConfigResponse, err error)
- func (c *Client) ModifyHTTPListenerAttribute(request *ModifyHTTPListenerAttributeRequest) (response *ModifyHTTPListenerAttributeResponse, err error)
- func (c *Client) ModifyHTTPListenerAttributeWithContext(ctx context.Context, request *ModifyHTTPListenerAttributeRequest) (response *ModifyHTTPListenerAttributeResponse, err error)
- func (c *Client) ModifyHTTPSListenerAttribute(request *ModifyHTTPSListenerAttributeRequest) (response *ModifyHTTPSListenerAttributeResponse, err error)
- func (c *Client) ModifyHTTPSListenerAttributeWithContext(ctx context.Context, request *ModifyHTTPSListenerAttributeRequest) (response *ModifyHTTPSListenerAttributeResponse, err error)
- func (c *Client) ModifyProxiesAttribute(request *ModifyProxiesAttributeRequest) (response *ModifyProxiesAttributeResponse, err error)
- func (c *Client) ModifyProxiesAttributeWithContext(ctx context.Context, request *ModifyProxiesAttributeRequest) (response *ModifyProxiesAttributeResponse, err error)
- func (c *Client) ModifyProxiesProject(request *ModifyProxiesProjectRequest) (response *ModifyProxiesProjectResponse, err error)
- func (c *Client) ModifyProxiesProjectWithContext(ctx context.Context, request *ModifyProxiesProjectRequest) (response *ModifyProxiesProjectResponse, err error)
- func (c *Client) ModifyProxyConfiguration(request *ModifyProxyConfigurationRequest) (response *ModifyProxyConfigurationResponse, err error)
- func (c *Client) ModifyProxyConfigurationWithContext(ctx context.Context, request *ModifyProxyConfigurationRequest) (response *ModifyProxyConfigurationResponse, err error)
- func (c *Client) ModifyProxyGroupAttribute(request *ModifyProxyGroupAttributeRequest) (response *ModifyProxyGroupAttributeResponse, err error)
- func (c *Client) ModifyProxyGroupAttributeWithContext(ctx context.Context, request *ModifyProxyGroupAttributeRequest) (response *ModifyProxyGroupAttributeResponse, err error)
- func (c *Client) ModifyRealServerName(request *ModifyRealServerNameRequest) (response *ModifyRealServerNameResponse, err error)
- func (c *Client) ModifyRealServerNameWithContext(ctx context.Context, request *ModifyRealServerNameRequest) (response *ModifyRealServerNameResponse, err error)
- func (c *Client) ModifyRuleAttribute(request *ModifyRuleAttributeRequest) (response *ModifyRuleAttributeResponse, err error)
- func (c *Client) ModifyRuleAttributeWithContext(ctx context.Context, request *ModifyRuleAttributeRequest) (response *ModifyRuleAttributeResponse, err error)
- func (c *Client) ModifySecurityRule(request *ModifySecurityRuleRequest) (response *ModifySecurityRuleResponse, err error)
- func (c *Client) ModifySecurityRuleWithContext(ctx context.Context, request *ModifySecurityRuleRequest) (response *ModifySecurityRuleResponse, err error)
- func (c *Client) ModifyTCPListenerAttribute(request *ModifyTCPListenerAttributeRequest) (response *ModifyTCPListenerAttributeResponse, err error)
- func (c *Client) ModifyTCPListenerAttributeWithContext(ctx context.Context, request *ModifyTCPListenerAttributeRequest) (response *ModifyTCPListenerAttributeResponse, err error)
- func (c *Client) ModifyUDPListenerAttribute(request *ModifyUDPListenerAttributeRequest) (response *ModifyUDPListenerAttributeResponse, err error)
- func (c *Client) ModifyUDPListenerAttributeWithContext(ctx context.Context, request *ModifyUDPListenerAttributeRequest) (response *ModifyUDPListenerAttributeResponse, err error)
- func (c *Client) OpenProxies(request *OpenProxiesRequest) (response *OpenProxiesResponse, err error)
- func (c *Client) OpenProxiesWithContext(ctx context.Context, request *OpenProxiesRequest) (response *OpenProxiesResponse, err error)
- func (c *Client) OpenProxyGroup(request *OpenProxyGroupRequest) (response *OpenProxyGroupResponse, err error)
- func (c *Client) OpenProxyGroupWithContext(ctx context.Context, request *OpenProxyGroupRequest) (response *OpenProxyGroupResponse, err error)
- func (c *Client) OpenSecurityPolicy(request *OpenSecurityPolicyRequest) (response *OpenSecurityPolicyResponse, err error)
- func (c *Client) OpenSecurityPolicyWithContext(ctx context.Context, request *OpenSecurityPolicyRequest) (response *OpenSecurityPolicyResponse, err error)
- func (c *Client) RemoveRealServers(request *RemoveRealServersRequest) (response *RemoveRealServersResponse, err error)
- func (c *Client) RemoveRealServersWithContext(ctx context.Context, request *RemoveRealServersRequest) (response *RemoveRealServersResponse, err error)
- func (c *Client) SetAuthentication(request *SetAuthenticationRequest) (response *SetAuthenticationResponse, err error)
- func (c *Client) SetAuthenticationWithContext(ctx context.Context, request *SetAuthenticationRequest) (response *SetAuthenticationResponse, err error)
- type CloseProxiesRequest
- type CloseProxiesRequestParams
- type CloseProxiesResponse
- type CloseProxiesResponseParams
- type CloseProxyGroupRequest
- type CloseProxyGroupRequestParams
- type CloseProxyGroupResponse
- type CloseProxyGroupResponseParams
- type CloseSecurityPolicyRequest
- type CloseSecurityPolicyRequestParams
- type CloseSecurityPolicyResponse
- type CloseSecurityPolicyResponseParams
- type CountryAreaMap
- type CreateCertificateRequest
- type CreateCertificateRequestParams
- type CreateCertificateResponse
- type CreateCertificateResponseParams
- type CreateCustomHeaderRequest
- type CreateCustomHeaderRequestParams
- type CreateCustomHeaderResponse
- type CreateCustomHeaderResponseParams
- type CreateDomainErrorPageInfoRequest
- type CreateDomainErrorPageInfoRequestParams
- type CreateDomainErrorPageInfoResponse
- type CreateDomainErrorPageInfoResponseParams
- type CreateDomainRequest
- type CreateDomainRequestParams
- type CreateDomainResponse
- type CreateDomainResponseParams
- type CreateFirstLinkSessionRequest
- type CreateFirstLinkSessionRequestParams
- type CreateFirstLinkSessionResponse
- type CreateFirstLinkSessionResponseParams
- type CreateGlobalDomainDnsRequest
- type CreateGlobalDomainDnsRequestParams
- type CreateGlobalDomainDnsResponse
- type CreateGlobalDomainDnsResponseParams
- type CreateGlobalDomainRequest
- type CreateGlobalDomainRequestParams
- type CreateGlobalDomainResponse
- type CreateGlobalDomainResponseParams
- type CreateHTTPListenerRequest
- type CreateHTTPListenerRequestParams
- type CreateHTTPListenerResponse
- type CreateHTTPListenerResponseParams
- type CreateHTTPSListenerRequest
- type CreateHTTPSListenerRequestParams
- type CreateHTTPSListenerResponse
- type CreateHTTPSListenerResponseParams
- type CreateProxyGroupDomainRequest
- type CreateProxyGroupDomainRequestParams
- type CreateProxyGroupDomainResponse
- type CreateProxyGroupDomainResponseParams
- type CreateProxyGroupRequest
- type CreateProxyGroupRequestParams
- type CreateProxyGroupResponse
- type CreateProxyGroupResponseParams
- type CreateProxyRequest
- type CreateProxyRequestParams
- type CreateProxyResponse
- type CreateProxyResponseParams
- type CreateRuleRequest
- type CreateRuleRequestParams
- type CreateRuleResponse
- type CreateRuleResponseParams
- type CreateSecurityPolicyRequest
- type CreateSecurityPolicyRequestParams
- type CreateSecurityPolicyResponse
- type CreateSecurityPolicyResponseParams
- type CreateSecurityRulesRequest
- type CreateSecurityRulesRequestParams
- type CreateSecurityRulesResponse
- type CreateSecurityRulesResponseParams
- type CreateTCPListenersRequest
- type CreateTCPListenersRequestParams
- type CreateTCPListenersResponse
- type CreateTCPListenersResponseParams
- type CreateUDPListenersRequest
- type CreateUDPListenersRequestParams
- type CreateUDPListenersResponse
- type CreateUDPListenersResponseParams
- type DeleteCertificateRequest
- type DeleteCertificateRequestParams
- type DeleteCertificateResponse
- type DeleteCertificateResponseParams
- type DeleteDomainErrorPageInfoRequest
- type DeleteDomainErrorPageInfoRequestParams
- type DeleteDomainErrorPageInfoResponse
- type DeleteDomainErrorPageInfoResponseParams
- type DeleteDomainRequest
- type DeleteDomainRequestParams
- type DeleteDomainResponse
- type DeleteDomainResponseParams
- type DeleteFirstLinkSessionRequest
- type DeleteFirstLinkSessionRequestParams
- type DeleteFirstLinkSessionResponse
- type DeleteFirstLinkSessionResponseParams
- type DeleteGlobalDomainDnsRequest
- type DeleteGlobalDomainDnsRequestParams
- type DeleteGlobalDomainDnsResponse
- type DeleteGlobalDomainDnsResponseParams
- type DeleteGlobalDomainRequest
- type DeleteGlobalDomainRequestParams
- type DeleteGlobalDomainResponse
- type DeleteGlobalDomainResponseParams
- type DeleteListenersRequest
- type DeleteListenersRequestParams
- type DeleteListenersResponse
- type DeleteListenersResponseParams
- type DeleteProxyGroupRequest
- type DeleteProxyGroupRequestParams
- type DeleteProxyGroupResponse
- type DeleteProxyGroupResponseParams
- type DeleteRuleRequest
- type DeleteRuleRequestParams
- type DeleteRuleResponse
- type DeleteRuleResponseParams
- type DeleteSecurityPolicyRequest
- type DeleteSecurityPolicyRequestParams
- type DeleteSecurityPolicyResponse
- type DeleteSecurityPolicyResponseParams
- type DeleteSecurityRulesRequest
- type DeleteSecurityRulesRequestParams
- type DeleteSecurityRulesResponse
- type DeleteSecurityRulesResponseParams
- type DescribeAccessRegionsByDestRegionRequest
- type DescribeAccessRegionsByDestRegionRequestParams
- type DescribeAccessRegionsByDestRegionResponse
- type DescribeAccessRegionsByDestRegionResponseParams
- type DescribeAccessRegionsRequest
- type DescribeAccessRegionsRequestParams
- type DescribeAccessRegionsResponse
- type DescribeAccessRegionsResponseParams
- type DescribeAuthSignatureRequest
- type DescribeAuthSignatureRequestParams
- type DescribeAuthSignatureResponse
- type DescribeAuthSignatureResponseParams
- type DescribeBlackHeaderRequest
- type DescribeBlackHeaderRequestParams
- type DescribeBlackHeaderResponse
- type DescribeBlackHeaderResponseParams
- type DescribeCertificateDetailRequest
- type DescribeCertificateDetailRequestParams
- type DescribeCertificateDetailResponse
- type DescribeCertificateDetailResponseParams
- type DescribeCertificatesRequest
- type DescribeCertificatesRequestParams
- type DescribeCertificatesResponse
- type DescribeCertificatesResponseParams
- type DescribeCountryAreaMappingRequest
- type DescribeCountryAreaMappingRequestParams
- type DescribeCountryAreaMappingResponse
- type DescribeCountryAreaMappingResponseParams
- type DescribeCrossBorderProxiesRequest
- type DescribeCrossBorderProxiesRequestParams
- type DescribeCrossBorderProxiesResponse
- type DescribeCrossBorderProxiesResponseParams
- type DescribeCustomHeaderRequest
- type DescribeCustomHeaderRequestParams
- type DescribeCustomHeaderResponse
- type DescribeCustomHeaderResponseParams
- type DescribeDestRegionsRequest
- type DescribeDestRegionsRequestParams
- type DescribeDestRegionsResponse
- type DescribeDestRegionsResponseParams
- type DescribeDomainErrorPageInfoByIdsRequest
- type DescribeDomainErrorPageInfoByIdsRequestParams
- type DescribeDomainErrorPageInfoByIdsResponse
- type DescribeDomainErrorPageInfoByIdsResponseParams
- type DescribeDomainErrorPageInfoRequest
- type DescribeDomainErrorPageInfoRequestParams
- type DescribeDomainErrorPageInfoResponse
- type DescribeDomainErrorPageInfoResponseParams
- type DescribeFirstLinkSessionRequest
- type DescribeFirstLinkSessionRequestParams
- type DescribeFirstLinkSessionResponse
- type DescribeFirstLinkSessionResponseParams
- type DescribeGlobalDomainDnsRequest
- type DescribeGlobalDomainDnsRequestParams
- type DescribeGlobalDomainDnsResponse
- type DescribeGlobalDomainDnsResponseParams
- type DescribeGlobalDomainsRequest
- type DescribeGlobalDomainsRequestParams
- type DescribeGlobalDomainsResponse
- type DescribeGlobalDomainsResponseParams
- type DescribeGroupAndStatisticsProxyRequest
- type DescribeGroupAndStatisticsProxyRequestParams
- type DescribeGroupAndStatisticsProxyResponse
- type DescribeGroupAndStatisticsProxyResponseParams
- type DescribeGroupDomainConfigRequest
- type DescribeGroupDomainConfigRequestParams
- type DescribeGroupDomainConfigResponse
- type DescribeGroupDomainConfigResponseParams
- type DescribeHTTPListenersRequest
- type DescribeHTTPListenersRequestParams
- type DescribeHTTPListenersResponse
- type DescribeHTTPListenersResponseParams
- type DescribeHTTPSListenersRequest
- type DescribeHTTPSListenersRequestParams
- type DescribeHTTPSListenersResponse
- type DescribeHTTPSListenersResponseParams
- type DescribeListenerRealServersRequest
- type DescribeListenerRealServersRequestParams
- type DescribeListenerRealServersResponse
- type DescribeListenerRealServersResponseParams
- type DescribeListenerStatisticsRequest
- type DescribeListenerStatisticsRequestParams
- type DescribeListenerStatisticsResponse
- type DescribeListenerStatisticsResponseParams
- type DescribeProxiesRequest
- type DescribeProxiesRequestParams
- type DescribeProxiesResponse
- type DescribeProxiesResponseParams
- type DescribeProxiesStatusRequest
- type DescribeProxiesStatusRequestParams
- type DescribeProxiesStatusResponse
- type DescribeProxiesStatusResponseParams
- type DescribeProxyAndStatisticsListenersRequest
- type DescribeProxyAndStatisticsListenersRequestParams
- type DescribeProxyAndStatisticsListenersResponse
- type DescribeProxyAndStatisticsListenersResponseParams
- type DescribeProxyDetailRequest
- type DescribeProxyDetailRequestParams
- type DescribeProxyDetailResponse
- type DescribeProxyDetailResponseParams
- type DescribeProxyGroupDetailsRequest
- type DescribeProxyGroupDetailsRequestParams
- type DescribeProxyGroupDetailsResponse
- type DescribeProxyGroupDetailsResponseParams
- type DescribeProxyGroupListRequest
- type DescribeProxyGroupListRequestParams
- type DescribeProxyGroupListResponse
- type DescribeProxyGroupListResponseParams
- type DescribeProxyGroupStatisticsRequest
- type DescribeProxyGroupStatisticsRequestParams
- type DescribeProxyGroupStatisticsResponse
- type DescribeProxyGroupStatisticsResponseParams
- type DescribeProxyStatisticsRequest
- type DescribeProxyStatisticsRequestParams
- type DescribeProxyStatisticsResponse
- type DescribeProxyStatisticsResponseParams
- type DescribeRealServerStatisticsRequest
- type DescribeRealServerStatisticsRequestParams
- type DescribeRealServerStatisticsResponse
- type DescribeRealServerStatisticsResponseParams
- type DescribeRealServersRequest
- type DescribeRealServersRequestParams
- type DescribeRealServersResponse
- type DescribeRealServersResponseParams
- type DescribeRealServersStatusRequest
- type DescribeRealServersStatusRequestParams
- type DescribeRealServersStatusResponse
- type DescribeRealServersStatusResponseParams
- type DescribeRegionAndPriceRequest
- type DescribeRegionAndPriceRequestParams
- type DescribeRegionAndPriceResponse
- type DescribeRegionAndPriceResponseParams
- type DescribeResourcesByTagRequest
- type DescribeResourcesByTagRequestParams
- type DescribeResourcesByTagResponse
- type DescribeResourcesByTagResponseParams
- type DescribeRuleRealServersRequest
- type DescribeRuleRealServersRequestParams
- type DescribeRuleRealServersResponse
- type DescribeRuleRealServersResponseParams
- type DescribeRulesByRuleIdsRequest
- type DescribeRulesByRuleIdsRequestParams
- type DescribeRulesByRuleIdsResponse
- type DescribeRulesByRuleIdsResponseParams
- type DescribeRulesRequest
- type DescribeRulesRequestParams
- type DescribeRulesResponse
- type DescribeRulesResponseParams
- type DescribeSecurityPolicyDetailRequest
- type DescribeSecurityPolicyDetailRequestParams
- type DescribeSecurityPolicyDetailResponse
- type DescribeSecurityPolicyDetailResponseParams
- type DescribeSecurityRulesRequest
- type DescribeSecurityRulesRequestParams
- type DescribeSecurityRulesResponse
- type DescribeSecurityRulesResponseParams
- type DescribeTCPListenersRequest
- type DescribeTCPListenersRequestParams
- type DescribeTCPListenersResponse
- type DescribeTCPListenersResponseParams
- type DescribeUDPListenersRequest
- type DescribeUDPListenersRequestParams
- type DescribeUDPListenersResponse
- type DescribeUDPListenersResponseParams
- type DestAddressInfo
- type DestroyProxiesRequest
- type DestroyProxiesRequestParams
- type DestroyProxiesResponse
- type DestroyProxiesResponseParams
- type DeviceInfo
- type DisableGlobalDomainRequest
- type DisableGlobalDomainRequestParams
- type DisableGlobalDomainResponse
- type DisableGlobalDomainResponseParams
- type Domain
- type DomainAccessRegionDict
- type DomainErrorPageInfo
- type DomainRuleSet
- type EnableGlobalDomainRequest
- type EnableGlobalDomainRequestParams
- type EnableGlobalDomainResponse
- type EnableGlobalDomainResponseParams
- type Filter
- type GlobalDns
- type GroupStatisticsInfo
- type HTTPListener
- type HTTPSListener
- type HttpHeaderParam
- type IPDetail
- type InquiryPriceCreateProxyRequest
- type InquiryPriceCreateProxyRequestParams
- type InquiryPriceCreateProxyResponse
- type InquiryPriceCreateProxyResponseParams
- type ListenerInfo
- type MetricStatisticsInfo
- type ModifyCertificateAttributesRequest
- type ModifyCertificateAttributesRequestParams
- type ModifyCertificateAttributesResponse
- type ModifyCertificateAttributesResponseParams
- type ModifyCertificateRequest
- type ModifyCertificateRequestParams
- type ModifyCertificateResponse
- type ModifyCertificateResponseParams
- type ModifyDomainRequest
- type ModifyDomainRequestParams
- type ModifyDomainResponse
- type ModifyDomainResponseParams
- type ModifyGlobalDomainAttributeRequest
- type ModifyGlobalDomainAttributeRequestParams
- type ModifyGlobalDomainAttributeResponse
- type ModifyGlobalDomainAttributeResponseParams
- type ModifyGlobalDomainDnsRequest
- type ModifyGlobalDomainDnsRequestParams
- type ModifyGlobalDomainDnsResponse
- type ModifyGlobalDomainDnsResponseParams
- type ModifyGroupDomainConfigRequest
- type ModifyGroupDomainConfigRequestParams
- type ModifyGroupDomainConfigResponse
- type ModifyGroupDomainConfigResponseParams
- type ModifyHTTPListenerAttributeRequest
- type ModifyHTTPListenerAttributeRequestParams
- type ModifyHTTPListenerAttributeResponse
- type ModifyHTTPListenerAttributeResponseParams
- type ModifyHTTPSListenerAttributeRequest
- type ModifyHTTPSListenerAttributeRequestParams
- type ModifyHTTPSListenerAttributeResponse
- type ModifyHTTPSListenerAttributeResponseParams
- type ModifyProxiesAttributeRequest
- type ModifyProxiesAttributeRequestParams
- type ModifyProxiesAttributeResponse
- type ModifyProxiesAttributeResponseParams
- type ModifyProxiesProjectRequest
- type ModifyProxiesProjectRequestParams
- type ModifyProxiesProjectResponse
- type ModifyProxiesProjectResponseParams
- type ModifyProxyConfigurationRequest
- type ModifyProxyConfigurationRequestParams
- type ModifyProxyConfigurationResponse
- type ModifyProxyConfigurationResponseParams
- type ModifyProxyGroupAttributeRequest
- type ModifyProxyGroupAttributeRequestParams
- type ModifyProxyGroupAttributeResponse
- type ModifyProxyGroupAttributeResponseParams
- type ModifyRealServerNameRequest
- type ModifyRealServerNameRequestParams
- type ModifyRealServerNameResponse
- type ModifyRealServerNameResponseParams
- type ModifyRuleAttributeRequest
- type ModifyRuleAttributeRequestParams
- type ModifyRuleAttributeResponse
- type ModifyRuleAttributeResponseParams
- type ModifySecurityRuleRequest
- type ModifySecurityRuleRequestParams
- type ModifySecurityRuleResponse
- type ModifySecurityRuleResponseParams
- type ModifyTCPListenerAttributeRequest
- type ModifyTCPListenerAttributeRequestParams
- type ModifyTCPListenerAttributeResponse
- type ModifyTCPListenerAttributeResponseParams
- type ModifyUDPListenerAttributeRequest
- type ModifyUDPListenerAttributeRequestParams
- type ModifyUDPListenerAttributeResponse
- type ModifyUDPListenerAttributeResponseParams
- type NationCountryInnerInfo
- type NewRealServer
- type OpenProxiesRequest
- type OpenProxiesRequestParams
- type OpenProxiesResponse
- type OpenProxiesResponseParams
- type OpenProxyGroupRequest
- type OpenProxyGroupRequestParams
- type OpenProxyGroupResponse
- type OpenProxyGroupResponseParams
- type OpenSecurityPolicyRequest
- type OpenSecurityPolicyRequestParams
- type OpenSecurityPolicyResponse
- type OpenSecurityPolicyResponseParams
- type ProxyAccessInfo
- type ProxyGroupDetail
- type ProxyGroupInfo
- type ProxyIdDict
- type ProxyInfo
- type ProxySimpleInfo
- type ProxyStatus
- type RealServer
- type RealServerBindSetReq
- type RealServerStatus
- type RegionDetail
- type RemoveRealServersRequest
- type RemoveRealServersRequestParams
- type RemoveRealServersResponse
- type RemoveRealServersResponseParams
- type RuleCheckParams
- type RuleInfo
- type SecurityPolicyRuleIn
- type SecurityPolicyRuleOut
- type SetAuthenticationRequest
- type SetAuthenticationRequestParams
- type SetAuthenticationResponse
- type SetAuthenticationResponseParams
- type SrcAddressInfo
- type StatisticsDataInfo
- type SupportFeature
- type TCPListener
- type TagPair
- type TagResourceInfo
- type UDPListener
Constants ¶
const ( // CAM签名/鉴权错误。 AUTHFAILURE = "AuthFailure" // 非企业认证客户。 AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" // 子账户未授权操作。 AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" // DryRun 操作,代表请求将会是成功的,只是多传了 DryRun 参数。 DRYRUNOPERATION = "DryRunOperation" // 操作失败。 FAILEDOPERATION = "FailedOperation" // 账户余额不足,无法创建该通道。 FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" // 操作正在执行中,请勿重复操作。 FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" // 接口操作太频繁,请稍后重试。 FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly" // 该批通道归属于不同的通道组,无法批量操作。 FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup" // 中国电信加速token过期。 FAILEDOPERATION_CTCCTOKENEXPIRED = "FailedOperation.CTCCTokenExpired" // 证书正在使用中,无法操作。 FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing" // 相同加速间隔时间过短。 FAILEDOPERATION_CREATEQOSEXCEEDLIMIT = "FailedOperation.CreateQosExceedLimit" // 通道组中存在通道,无法删除。 FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained" // 该域名在监听器下已使用。 FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" // 域名状态为非运行状态,无法操作。 FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" // 重复的请求,请检查ClientToken的值。 FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" // 通道组状态为非运行状态,无法操作。 FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" // 加速目标IP与绑定的通道IP不匹配。 FAILEDOPERATION_IPUNMATCHED = "FailedOperation.IPUnmatched" // 通道状态为非运行状态,无法操作。 FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" // 无效的监听器协议。 FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" // 监听器数量超过限制。 FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" // 通道组下通道数量超过限制。 FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup" // 转发规则数超过限制。 FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules" // 绑定源站数量超过限制。 FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum" // 监听器正在操作中,请勿重复操作。 FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" // 监听器当前状态无法支持该操作。 FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" // 加速通道在升级中,暂不支持配置变更,请提工单申请。 FAILEDOPERATION_MIGRATION = "FailedOperation.Migration" // 该应用模版没有绑定通道。 FAILEDOPERATION_NORESOURCEBOUND = "FailedOperation.NoResourceBound" // 该通道为非标通道,限制所有写操作。 FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" // 仅支持Version2.0的通道。 FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" // 该操作不支持通道组。 FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" // 不支持配置变更。 FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar" // 单次操作端口过多,超过数量上限。 FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener" // 安全策略已关闭,请勿重复操作。 FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose" // 安全策略已开启,请勿重复操作。 FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen" // 添加规则失败:禁止拒绝默认的通道访问规则。 FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule" // 添加规则失败:安全防护访问规则重复。 FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule" // 安全策略已经存在,请勿重复创建。 FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted" // 通道安全策略操作中。 FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating" // 线路售罄或资源不足,请提工单申请。 FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut" // 通道处于非运行状态,不能添加监听器。 FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" // 不支持该版本通道。 FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" // 已经绑定了源站,无法删除。 FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" // 源站不归属于该项目。 FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject" // 请求运营商超时。 FAILEDOPERATION_REQUESTVENDORTIMEOUT = "FailedOperation.RequestVendorTimeout" // 该资源不可访问。 FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" // 资源已经被操作过。 FAILEDOPERATION_RESOURCEHADBEENDONE = "FailedOperation.ResourceHadBeenDone" // 应用ID填写有误,请检查应用ID是否存在。 FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" // 资源升级中。 FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" // 规则已经存在。 FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted" // Session不存在或已经被取消。 FAILEDOPERATION_SESSIONNOTEXIST = "FailedOperation.SessionNotExist" // 标签资源绑定失败。 FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" // 标签资源解绑失败。 FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" // 用户未认证。 FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated" // 未开通协议。 FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" // 该功能为白名单功能,如有需要请联系腾讯云助手。 FAILEDOPERATION_USERNOTINWHITELIST = "FailedOperation.UserNotInWhitelist" // 该用户不在运营商网络可加速范围内。 FAILEDOPERATION_USEROUTOFCOVERAGE = "FailedOperation.UserOutOfCoverage" // 运营商返回结果错误。 FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" // 运营商服务器临时错误。 FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" // 内部错误。 INTERNALERROR = "InternalError" // 参数错误。 INVALIDPARAMETER = "InvalidParameter" // 参数取值错误。 INVALIDPARAMETERVALUE = "InvalidParameterValue" // 证书和私钥不匹配。 INVALIDPARAMETERVALUE_CERTIFICATECONTENTNOTMATCHKEY = "InvalidParameterValue.CertificateContentNotMatchKey" // Https证书与域名不匹配。 INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" // 域名在ICP黑名单内。 INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" // 域名未备案。 INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" // RealServer已存在。 INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS" // 监听器端口已存在。 INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" // 无法同时开启所设置的特性。 INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict" // 该默认入口被封禁,无法添加。 INVALIDPARAMETERVALUE_GLOBALDOMAINHITBANBLACKLIST = "InvalidParameterValue.GlobalDomainHitBanBlacklist" // 资源已被录入封禁黑名单。 INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" // header黑名单限制。 INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist" // 带宽值不在可选范围内。 INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" // 解析失败,请检查证书内容格式。 INVALIDPARAMETERVALUE_INVALIDCERTIFICATECONTENT = "InvalidParameterValue.InvalidCertificateContent" // 证书不可用。 INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId" // 解析失败,请检查证书密钥格式。 INVALIDPARAMETERVALUE_INVALIDCERTIFICATEKEY = "InvalidParameterValue.InvalidCertificateKey" // 并发量值不在可选范围内。 INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" // 该监听器端口不可用。 INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" // 未找到或无权限访问该标签 INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" // 该域名被封禁,无法添加。 INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist" // 项目不属于该用户。 INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" // 该通道组下无法支持该通道所需的特性。 INVALIDPARAMETERVALUE_PROXYANDGROUPFEATURECONFLICT = "InvalidParameterValue.ProxyAndGroupFeatureConflict" // 该地区不支持通道所设置的特性。 INVALIDPARAMETERVALUE_PROXYANDREGIONFEATURECONFLICT = "InvalidParameterValue.ProxyAndRegionFeatureConflict" // 源站不属于该用户。 INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" // 未找到或无权限访问的加速区域。 INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion" // 未找到或无权限访问的源站区域。 INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" // 超过配额限制。 LIMITEXCEEDED = "LimitExceeded" // 域名数量超限制。 LIMITEXCEEDED_DOMAIN = "LimitExceeded.Domain" // 标签配额不足。 LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" // 缺少参数错误。 MISSINGPARAMETER = "MissingParameter" // 资源不存在。 RESOURCENOTFOUND = "ResourceNotFound" // 资源不可用。 RESOURCEUNAVAILABLE = "ResourceUnavailable" // 账号下存在违规资源,详情请查看站内信或邮件。 RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" // 未授权操作。 UNAUTHORIZEDOPERATION = "UnauthorizedOperation" // 跨境通道的联通带宽处于隔离中。 UNAUTHORIZEDOPERATION_CROSSBORDERINISOLATING = "UnauthorizedOperation.CrossBorderInIsolating" // 未知参数错误。 UNKNOWNPARAMETER = "UnknownParameter" // 操作不支持。 UNSUPPORTEDOPERATION = "UnsupportedOperation" )
const APIVersion = "2018-05-29"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessConfiguration ¶
type AccessConfiguration struct { // 加速地域。 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 网络类型,可取值:normal、cn2,默认值为normal NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` }
type AccessRegionDetial ¶
type AccessRegionDetial struct { // 区域ID RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // 区域的中文或英文名称 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 可选的并发量取值数组 ConcurrentList []*int64 `json:"ConcurrentList,omitnil,omitempty" name:"ConcurrentList"` // 可选的带宽取值数组 BandwidthList []*int64 `json:"BandwidthList,omitnil,omitempty" name:"BandwidthList"` // 机房所属大区 RegionArea *string `json:"RegionArea,omitnil,omitempty" name:"RegionArea"` // 机房所属大区名 RegionAreaName *string `json:"RegionAreaName,omitnil,omitempty" name:"RegionAreaName"` // 机房类型, dc表示DataCenter数据中心, ec表示EdgeComputing边缘节点 IDCType *string `json:"IDCType,omitnil,omitempty" name:"IDCType"` // 特性位图,每个bit位代表一种特性,其中: // 0,表示不支持该特性; // 1,表示支持该特性。 // 特性位图含义如下(从右往左): // 第1个bit,支持4层加速; // 第2个bit,支持7层加速; // 第3个bit,支持Http3接入; // 第4个bit,支持IPv6; // 第5个bit,支持精品BGP接入; // 第6个bit,支持三网接入; // 第7个bit,支持接入段Qos加速。 // 注意:此字段可能返回 null,表示取不到有效值。 FeatureBitmap *int64 `json:"FeatureBitmap,omitnil,omitempty" name:"FeatureBitmap"` }
type AccessRegionDomainConf ¶
type AddRealServersRequest ¶
type AddRealServersRequest struct { *tchttp.BaseRequest // 源站对应的项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 源站对应的IP或域名 RealServerIP []*string `json:"RealServerIP,omitnil,omitempty" name:"RealServerIP"` // 源站名称 RealServerName *string `json:"RealServerName,omitnil,omitempty" name:"RealServerName"` // 标签列表 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
func NewAddRealServersRequest ¶
func NewAddRealServersRequest() (request *AddRealServersRequest)
func (*AddRealServersRequest) FromJsonString ¶
func (r *AddRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddRealServersRequest) ToJsonString ¶
func (r *AddRealServersRequest) ToJsonString() string
type AddRealServersRequestParams ¶ added in v1.0.426
type AddRealServersRequestParams struct { // 源站对应的项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 源站对应的IP或域名 RealServerIP []*string `json:"RealServerIP,omitnil,omitempty" name:"RealServerIP"` // 源站名称 RealServerName *string `json:"RealServerName,omitnil,omitempty" name:"RealServerName"` // 标签列表 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
Predefined struct for user
type AddRealServersResponse ¶
type AddRealServersResponse struct { *tchttp.BaseResponse Response *AddRealServersResponseParams `json:"Response"` }
func NewAddRealServersResponse ¶
func NewAddRealServersResponse() (response *AddRealServersResponse)
func (*AddRealServersResponse) FromJsonString ¶
func (r *AddRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*AddRealServersResponse) ToJsonString ¶
func (r *AddRealServersResponse) ToJsonString() string
type AddRealServersResponseParams ¶ added in v1.0.426
type AddRealServersResponseParams struct { // 源站信息列表 RealServerSet []*NewRealServer `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BanAndRecoverProxyRequest ¶ added in v1.0.442
type BanAndRecoverProxyRequest struct {
*tchttp.BaseRequest
}
func NewBanAndRecoverProxyRequest ¶ added in v1.0.442
func NewBanAndRecoverProxyRequest() (request *BanAndRecoverProxyRequest)
func (*BanAndRecoverProxyRequest) FromJsonString ¶ added in v1.0.442
func (r *BanAndRecoverProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BanAndRecoverProxyRequest) ToJsonString ¶ added in v1.0.442
func (r *BanAndRecoverProxyRequest) ToJsonString() string
type BanAndRecoverProxyRequestParams ¶ added in v1.0.442
type BanAndRecoverProxyRequestParams struct { }
Predefined struct for user
type BanAndRecoverProxyResponse ¶ added in v1.0.442
type BanAndRecoverProxyResponse struct { *tchttp.BaseResponse Response *BanAndRecoverProxyResponseParams `json:"Response"` }
func NewBanAndRecoverProxyResponse ¶ added in v1.0.442
func NewBanAndRecoverProxyResponse() (response *BanAndRecoverProxyResponse)
func (*BanAndRecoverProxyResponse) FromJsonString ¶ added in v1.0.442
func (r *BanAndRecoverProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BanAndRecoverProxyResponse) ToJsonString ¶ added in v1.0.442
func (r *BanAndRecoverProxyResponse) ToJsonString() string
type BanAndRecoverProxyResponseParams ¶ added in v1.0.442
type BanAndRecoverProxyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BandwidthPriceGradient ¶
type BandwidthPriceGradient struct { // 带宽范围。 BandwidthRange []*int64 `json:"BandwidthRange,omitnil,omitempty" name:"BandwidthRange"` // 在对应带宽范围内的单宽单价,单位:元/Mbps/天。 BandwidthUnitPrice *float64 `json:"BandwidthUnitPrice,omitnil,omitempty" name:"BandwidthUnitPrice"` // 带宽折扣价,单位:元/Mbps/天。 DiscountBandwidthUnitPrice *float64 `json:"DiscountBandwidthUnitPrice,omitnil,omitempty" name:"DiscountBandwidthUnitPrice"` }
type BindListenerRealServersRequest ¶
type BindListenerRealServersRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 待绑定源站列表。如果该监听器的源站调度策略是加权轮询,需要填写源站权重 RealServerWeight, 不填或者其他调度类型默认源站权重为1。 RealServerBindSet []*RealServerBindSetReq `json:"RealServerBindSet,omitnil,omitempty" name:"RealServerBindSet"` }
func NewBindListenerRealServersRequest ¶
func NewBindListenerRealServersRequest() (request *BindListenerRealServersRequest)
func (*BindListenerRealServersRequest) FromJsonString ¶
func (r *BindListenerRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindListenerRealServersRequest) ToJsonString ¶
func (r *BindListenerRealServersRequest) ToJsonString() string
type BindListenerRealServersRequestParams ¶ added in v1.0.426
type BindListenerRealServersRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 待绑定源站列表。如果该监听器的源站调度策略是加权轮询,需要填写源站权重 RealServerWeight, 不填或者其他调度类型默认源站权重为1。 RealServerBindSet []*RealServerBindSetReq `json:"RealServerBindSet,omitnil,omitempty" name:"RealServerBindSet"` }
Predefined struct for user
type BindListenerRealServersResponse ¶
type BindListenerRealServersResponse struct { *tchttp.BaseResponse Response *BindListenerRealServersResponseParams `json:"Response"` }
func NewBindListenerRealServersResponse ¶
func NewBindListenerRealServersResponse() (response *BindListenerRealServersResponse)
func (*BindListenerRealServersResponse) FromJsonString ¶
func (r *BindListenerRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindListenerRealServersResponse) ToJsonString ¶
func (r *BindListenerRealServersResponse) ToJsonString() string
type BindListenerRealServersResponseParams ¶ added in v1.0.426
type BindListenerRealServersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type BindRealServer ¶
type BindRealServer struct { // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 源站IP或者域名 RealServerIP *string `json:"RealServerIP,omitnil,omitempty" name:"RealServerIP"` // 该源站所占权重 RealServerWeight *int64 `json:"RealServerWeight,omitnil,omitempty" name:"RealServerWeight"` // 源站健康检查状态,其中: // 0表示正常; // 1表示异常。 // 未开启健康检查状态时,该状态始终为正常。 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerStatus *int64 `json:"RealServerStatus,omitnil,omitempty" name:"RealServerStatus"` // 源站的端口号 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerPort *int64 `json:"RealServerPort,omitnil,omitempty" name:"RealServerPort"` // 当源站为域名时,域名被解析成一个或者多个IP,该字段表示其中异常的IP列表。状态异常,但该字段为空时,表示域名解析异常。 DownIPList []*string `json:"DownIPList,omitnil,omitempty" name:"DownIPList"` // 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。 RealServerFailoverRole *string `json:"RealServerFailoverRole,omitnil,omitempty" name:"RealServerFailoverRole"` }
type BindRealServerInfo ¶
type BindRealServerInfo struct { // 源站的IP或域名 RealServerIP *string `json:"RealServerIP,omitnil,omitempty" name:"RealServerIP"` // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 源站名称 RealServerName *string `json:"RealServerName,omitnil,omitempty" name:"RealServerName"` // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
type BindRuleRealServersRequest ¶
type BindRuleRealServersRequest struct { *tchttp.BaseRequest // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 需要绑定的源站信息列表。 // 如果已经存在绑定的源站,则会覆盖更新成这个源站列表。 // 当不带该字段时,表示解绑该规则上的所有源站。 // 如果该规则的源站调度策略是加权轮询,需要填写源站权重 RealServerWeight, 不填或者其他调度类型默认源站权重为1。 RealServerBindSet []*RealServerBindSetReq `json:"RealServerBindSet,omitnil,omitempty" name:"RealServerBindSet"` }
func NewBindRuleRealServersRequest ¶
func NewBindRuleRealServersRequest() (request *BindRuleRealServersRequest)
func (*BindRuleRealServersRequest) FromJsonString ¶
func (r *BindRuleRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindRuleRealServersRequest) ToJsonString ¶
func (r *BindRuleRealServersRequest) ToJsonString() string
type BindRuleRealServersRequestParams ¶ added in v1.0.426
type BindRuleRealServersRequestParams struct { // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 需要绑定的源站信息列表。 // 如果已经存在绑定的源站,则会覆盖更新成这个源站列表。 // 当不带该字段时,表示解绑该规则上的所有源站。 // 如果该规则的源站调度策略是加权轮询,需要填写源站权重 RealServerWeight, 不填或者其他调度类型默认源站权重为1。 RealServerBindSet []*RealServerBindSetReq `json:"RealServerBindSet,omitnil,omitempty" name:"RealServerBindSet"` }
Predefined struct for user
type BindRuleRealServersResponse ¶
type BindRuleRealServersResponse struct { *tchttp.BaseResponse Response *BindRuleRealServersResponseParams `json:"Response"` }
func NewBindRuleRealServersResponse ¶
func NewBindRuleRealServersResponse() (response *BindRuleRealServersResponse)
func (*BindRuleRealServersResponse) FromJsonString ¶
func (r *BindRuleRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BindRuleRealServersResponse) ToJsonString ¶
func (r *BindRuleRealServersResponse) ToJsonString() string
type BindRuleRealServersResponseParams ¶ added in v1.0.426
type BindRuleRealServersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Certificate ¶
type Certificate struct { // 证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 证书名称(旧参数,请使用CertificateAlias)。 CertificateName *string `json:"CertificateName,omitnil,omitempty" name:"CertificateName"` // 证书类型。 CertificateType *int64 `json:"CertificateType,omitnil,omitempty" name:"CertificateType"` // 证书名称。 // 注意:此字段可能返回 null,表示取不到有效值。 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` // 证书创建时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 证书生效起始时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 // 注意:此字段可能返回 null,表示取不到有效值。 BeginTime *uint64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // 证书过期时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 证书签发者通用名称。 // 注意:此字段可能返回 null,表示取不到有效值。 IssuerCN *string `json:"IssuerCN,omitnil,omitempty" name:"IssuerCN"` // 证书主题通用名称。 // 注意:此字段可能返回 null,表示取不到有效值。 SubjectCN *string `json:"SubjectCN,omitnil,omitempty" name:"SubjectCN"` }
type CertificateAliasInfo ¶
type CertificateDetail ¶
type CertificateDetail struct { // 证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 证书类型。 CertificateType *int64 `json:"CertificateType,omitnil,omitempty" name:"CertificateType"` // 证书名字。 // 注意:此字段可能返回 null,表示取不到有效值。 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` // 证书内容。 CertificateContent *string `json:"CertificateContent,omitnil,omitempty" name:"CertificateContent"` // 密钥内容。仅当证书类型为SSL证书时,返回该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 CertificateKey *string `json:"CertificateKey,omitnil,omitempty" name:"CertificateKey"` // 创建时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 证书生效起始时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 // 注意:此字段可能返回 null,表示取不到有效值。 BeginTime *uint64 `json:"BeginTime,omitnil,omitempty" name:"BeginTime"` // 证书过期时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 // 注意:此字段可能返回 null,表示取不到有效值。 EndTime *uint64 `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 证书签发者通用名称。 // 注意:此字段可能返回 null,表示取不到有效值。 IssuerCN *string `json:"IssuerCN,omitnil,omitempty" name:"IssuerCN"` // 证书主题通用名称。 // 注意:此字段可能返回 null,表示取不到有效值。 SubjectCN *string `json:"SubjectCN,omitnil,omitempty" name:"SubjectCN"` }
type CheckProxyCreateRequest ¶
type CheckProxyCreateRequest struct { *tchttp.BaseRequest // 通道的接入(加速)区域。取值可通过接口DescribeAccessRegionsByDestRegion获取到 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道的源站区域。取值可通过接口DescribeDestRegions获取到 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 如果在通道组下创建通道,需要填写通道组的ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型,可取值:normal、cn2,默认值normal NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型。Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
func NewCheckProxyCreateRequest ¶
func NewCheckProxyCreateRequest() (request *CheckProxyCreateRequest)
func (*CheckProxyCreateRequest) FromJsonString ¶
func (r *CheckProxyCreateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckProxyCreateRequest) ToJsonString ¶
func (r *CheckProxyCreateRequest) ToJsonString() string
type CheckProxyCreateRequestParams ¶ added in v1.0.426
type CheckProxyCreateRequestParams struct { // 通道的接入(加速)区域。取值可通过接口DescribeAccessRegionsByDestRegion获取到 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道的源站区域。取值可通过接口DescribeDestRegions获取到 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 如果在通道组下创建通道,需要填写通道组的ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型,可取值:normal、cn2,默认值normal NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型。Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
Predefined struct for user
type CheckProxyCreateResponse ¶
type CheckProxyCreateResponse struct { *tchttp.BaseResponse Response *CheckProxyCreateResponseParams `json:"Response"` }
func NewCheckProxyCreateResponse ¶
func NewCheckProxyCreateResponse() (response *CheckProxyCreateResponse)
func (*CheckProxyCreateResponse) FromJsonString ¶
func (r *CheckProxyCreateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CheckProxyCreateResponse) ToJsonString ¶
func (r *CheckProxyCreateResponse) ToJsonString() string
type CheckProxyCreateResponseParams ¶ added in v1.0.426
type CheckProxyCreateResponseParams struct { // 查询能否创建给定配置的通道,1可以创建,0不可创建。 CheckFlag *uint64 `json:"CheckFlag,omitnil,omitempty" name:"CheckFlag"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Client ¶
func NewClient ¶
func NewClient(credential common.CredentialIface, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) AddRealServers ¶
func (c *Client) AddRealServers(request *AddRealServersRequest) (response *AddRealServersResponse, err error)
AddRealServers 添加源站(服务器)信息,支持IP或域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) AddRealServersWithContext ¶ added in v1.0.324
func (c *Client) AddRealServersWithContext(ctx context.Context, request *AddRealServersRequest) (response *AddRealServersResponse, err error)
AddRealServers 添加源站(服务器)信息,支持IP或域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATERS = "InvalidParameterValue.DuplicateRS" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) BanAndRecoverProxy ¶ added in v1.0.442
func (c *Client) BanAndRecoverProxy(request *BanAndRecoverProxyRequest) (response *BanAndRecoverProxyResponse, err error)
BanAndRecoverProxy 本接口(BanAndRecoverProxy)用于联通封禁解封GAAP跨境通道实例,支持按照客户UIN维度下发请求。被封禁的实例带宽上限将会被限制到0Mbps,无法正常处理客户端和源站之间的请求。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEHADBEENDONE = "FailedOperation.ResourceHadBeenDone" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BanAndRecoverProxyWithContext ¶ added in v1.0.442
func (c *Client) BanAndRecoverProxyWithContext(ctx context.Context, request *BanAndRecoverProxyRequest) (response *BanAndRecoverProxyResponse, err error)
BanAndRecoverProxy 本接口(BanAndRecoverProxy)用于联通封禁解封GAAP跨境通道实例,支持按照客户UIN维度下发请求。被封禁的实例带宽上限将会被限制到0Mbps,无法正常处理客户端和源站之间的请求。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEHADBEENDONE = "FailedOperation.ResourceHadBeenDone" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) BindListenerRealServers ¶
func (c *Client) BindListenerRealServers(request *BindListenerRealServersRequest) (response *BindListenerRealServersResponse, err error)
BindListenerRealServers 本接口(BindListenerRealServers)用于TCP/UDP监听器绑定解绑源站。
注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。例如:原来绑定的源站为A,B,C,本次调用的选择绑定的源站为C,D,E,那么调用后所绑定的源站为C,D,E。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BindListenerRealServersWithContext ¶ added in v1.0.324
func (c *Client) BindListenerRealServersWithContext(ctx context.Context, request *BindListenerRealServersRequest) (response *BindListenerRealServersResponse, err error)
BindListenerRealServers 本接口(BindListenerRealServers)用于TCP/UDP监听器绑定解绑源站。
注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。例如:原来绑定的源站为A,B,C,本次调用的选择绑定的源站为C,D,E,那么调用后所绑定的源站为C,D,E。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITREALSERVERNUM = "FailedOperation.LimitRealServerNum" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BindRuleRealServers ¶
func (c *Client) BindRuleRealServers(request *BindRuleRealServersRequest) (response *BindRuleRealServersResponse, err error)
BindRuleRealServers 该接口用于7层监听器的转发规则绑定源站。注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) BindRuleRealServersWithContext ¶ added in v1.0.324
func (c *Client) BindRuleRealServersWithContext(ctx context.Context, request *BindRuleRealServersRequest) (response *BindRuleRealServersResponse, err error)
BindRuleRealServers 该接口用于7层监听器的转发规则绑定源站。注意:本接口会解绑之前绑定的源站,绑定本次调用所选择的源站。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CheckProxyCreate ¶
func (c *Client) CheckProxyCreate(request *CheckProxyCreateRequest) (response *CheckProxyCreateResponse, err error)
CheckProxyCreate 本接口(CheckProxyCreate)用于查询能否创建指定配置的加速通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion" INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CheckProxyCreateWithContext ¶ added in v1.0.324
func (c *Client) CheckProxyCreateWithContext(ctx context.Context, request *CheckProxyCreateRequest) (response *CheckProxyCreateResponse, err error)
CheckProxyCreate 本接口(CheckProxyCreate)用于查询能否创建指定配置的加速通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion" INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CloseProxies ¶
func (c *Client) CloseProxies(request *CloseProxiesRequest) (response *CloseProxiesResponse, err error)
CloseProxies 本接口(CloseProxies)用于关闭通道。通道关闭后,不再产生流量,但每天仍然收取通道基础配置费用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloseProxiesWithContext ¶ added in v1.0.324
func (c *Client) CloseProxiesWithContext(ctx context.Context, request *CloseProxiesRequest) (response *CloseProxiesResponse, err error)
CloseProxies 本接口(CloseProxies)用于关闭通道。通道关闭后,不再产生流量,但每天仍然收取通道基础配置费用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloseProxyGroup ¶
func (c *Client) CloseProxyGroup(request *CloseProxyGroupRequest) (response *CloseProxyGroupResponse, err error)
CloseProxyGroup 本接口(CloseProxyGroup)用于关闭通道组。通道组关闭后,不再产生流量,但每天仍然收取通道基础配置费用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloseProxyGroupWithContext ¶ added in v1.0.324
func (c *Client) CloseProxyGroupWithContext(ctx context.Context, request *CloseProxyGroupRequest) (response *CloseProxyGroupResponse, err error)
CloseProxyGroup 本接口(CloseProxyGroup)用于关闭通道组。通道组关闭后,不再产生流量,但每天仍然收取通道基础配置费用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloseSecurityPolicy ¶
func (c *Client) CloseSecurityPolicy(request *CloseSecurityPolicyRequest) (response *CloseSecurityPolicyResponse, err error)
CloseSecurityPolicy 关闭安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CloseSecurityPolicyWithContext ¶ added in v1.0.324
func (c *Client) CloseSecurityPolicyWithContext(ctx context.Context, request *CloseSecurityPolicyRequest) (response *CloseSecurityPolicyResponse, err error)
CloseSecurityPolicy 关闭安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_PROXYSECURITYALREADYCLOSE = "FailedOperation.ProxySecurityAlreadyClose" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateCertificate ¶
func (c *Client) CreateCertificate(request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)
CreateCertificate 本接口(CreateCertificate)用于创建Gaap相关证书和配置文件,包括基础认证配置文件,客户端CA证书,服务器SSL证书,Gaap SSL证书以及源站CA证书。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATECONTENTNOTMATCHKEY = "InvalidParameterValue.CertificateContentNotMatchKey" INVALIDPARAMETERVALUE_INVALIDCERTIFICATECONTENT = "InvalidParameterValue.InvalidCertificateContent" INVALIDPARAMETERVALUE_INVALIDCERTIFICATEKEY = "InvalidParameterValue.InvalidCertificateKey" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCertificateWithContext ¶ added in v1.0.324
func (c *Client) CreateCertificateWithContext(ctx context.Context, request *CreateCertificateRequest) (response *CreateCertificateResponse, err error)
CreateCertificate 本接口(CreateCertificate)用于创建Gaap相关证书和配置文件,包括基础认证配置文件,客户端CA证书,服务器SSL证书,Gaap SSL证书以及源站CA证书。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATECONTENTNOTMATCHKEY = "InvalidParameterValue.CertificateContentNotMatchKey" INVALIDPARAMETERVALUE_INVALIDCERTIFICATECONTENT = "InvalidParameterValue.InvalidCertificateContent" INVALIDPARAMETERVALUE_INVALIDCERTIFICATEKEY = "InvalidParameterValue.InvalidCertificateKey" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateCustomHeader ¶ added in v1.0.216
func (c *Client) CreateCustomHeader(request *CreateCustomHeaderRequest) (response *CreateCustomHeaderResponse, err error)
CreateCustomHeader 本接口(CreateCustomHeader)用于创建HTTP/HTTPS监听器的自定义header,客户端请求通过访问该监听器时,会将监听器中配置的header信息发送到源站。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateCustomHeaderWithContext ¶ added in v1.0.324
func (c *Client) CreateCustomHeaderWithContext(ctx context.Context, request *CreateCustomHeaderRequest) (response *CreateCustomHeaderResponse, err error)
CreateCustomHeader 本接口(CreateCustomHeader)用于创建HTTP/HTTPS监听器的自定义header,客户端请求通过访问该监听器时,会将监听器中配置的header信息发送到源站。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_HITBLACKLIST = "InvalidParameterValue.HitBlacklist" LIMITEXCEEDED = "LimitExceeded" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateDomain ¶
func (c *Client) CreateDomain(request *CreateDomainRequest) (response *CreateDomainResponse, err error)
CreateDomain 本接口(CreateDomain)用于创建HTTP/HTTPS监听器的访问域名,客户端请求通过访问该域名来请求后端业务。
该接口仅支持version3.0的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateDomainErrorPageInfo ¶
func (c *Client) CreateDomainErrorPageInfo(request *CreateDomainErrorPageInfoRequest) (response *CreateDomainErrorPageInfoResponse, err error)
CreateDomainErrorPageInfo 定制域名指定错误码的错误响应
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDomainErrorPageInfoWithContext ¶ added in v1.0.324
func (c *Client) CreateDomainErrorPageInfoWithContext(ctx context.Context, request *CreateDomainErrorPageInfoRequest) (response *CreateDomainErrorPageInfoResponse, err error)
CreateDomainErrorPageInfo 定制域名指定错误码的错误响应
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateDomainWithContext ¶ added in v1.0.324
func (c *Client) CreateDomainWithContext(ctx context.Context, request *CreateDomainRequest) (response *CreateDomainResponse, err error)
CreateDomain 本接口(CreateDomain)用于创建HTTP/HTTPS监听器的访问域名,客户端请求通过访问该域名来请求后端业务。
该接口仅支持version3.0的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" INVALIDPARAMETERVALUE_L7DOMAINHITBANBLACKLIST = "InvalidParameterValue.L7DomainHitBanBlacklist" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateFirstLinkSession ¶ added in v1.0.399
func (c *Client) CreateFirstLinkSession(request *CreateFirstLinkSessionRequest) (response *CreateFirstLinkSessionResponse, err error)
CreateFirstLinkSession 本接口(CreateFirstLinkSession)用于创建接入段加速会话,创建有可能成功,也可能失败,需要通过返回码来进行判断。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CTCCTOKENEXPIRED = "FailedOperation.CTCCTokenExpired" FAILEDOPERATION_CREATEQOSEXCEEDLIMIT = "FailedOperation.CreateQosExceedLimit" FAILEDOPERATION_IPUNMATCHED = "FailedOperation.IPUnmatched" FAILEDOPERATION_NORESOURCEBOUND = "FailedOperation.NoResourceBound" FAILEDOPERATION_REQUESTVENDORTIMEOUT = "FailedOperation.RequestVendorTimeout" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SESSIONNOTEXIST = "FailedOperation.SessionNotExist" FAILEDOPERATION_USEROUTOFCOVERAGE = "FailedOperation.UserOutOfCoverage" FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateFirstLinkSessionWithContext ¶ added in v1.0.399
func (c *Client) CreateFirstLinkSessionWithContext(ctx context.Context, request *CreateFirstLinkSessionRequest) (response *CreateFirstLinkSessionResponse, err error)
CreateFirstLinkSession 本接口(CreateFirstLinkSession)用于创建接入段加速会话,创建有可能成功,也可能失败,需要通过返回码来进行判断。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_CTCCTOKENEXPIRED = "FailedOperation.CTCCTokenExpired" FAILEDOPERATION_CREATEQOSEXCEEDLIMIT = "FailedOperation.CreateQosExceedLimit" FAILEDOPERATION_IPUNMATCHED = "FailedOperation.IPUnmatched" FAILEDOPERATION_NORESOURCEBOUND = "FailedOperation.NoResourceBound" FAILEDOPERATION_REQUESTVENDORTIMEOUT = "FailedOperation.RequestVendorTimeout" FAILEDOPERATION_RESOURCENOTFOUND = "FailedOperation.ResourceNotFound" FAILEDOPERATION_SESSIONNOTEXIST = "FailedOperation.SessionNotExist" FAILEDOPERATION_USEROUTOFCOVERAGE = "FailedOperation.UserOutOfCoverage" FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateGlobalDomain ¶ added in v1.0.482
func (c *Client) CreateGlobalDomain(request *CreateGlobalDomainRequest) (response *CreateGlobalDomainResponse, err error)
CreateGlobalDomain 用来创建统一域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" FAILEDOPERATION_USERNOTINWHITELIST = "FailedOperation.UserNotInWhitelist" INVALIDPARAMETERVALUE_GLOBALDOMAINHITBANBLACKLIST = "InvalidParameterValue.GlobalDomainHitBanBlacklist" LIMITEXCEEDED_DOMAIN = "LimitExceeded.Domain" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateGlobalDomainDns ¶ added in v1.0.482
func (c *Client) CreateGlobalDomainDns(request *CreateGlobalDomainDnsRequest) (response *CreateGlobalDomainDnsResponse, err error)
CreateGlobalDomainDns 创建域名解析记录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateGlobalDomainDnsWithContext ¶ added in v1.0.482
func (c *Client) CreateGlobalDomainDnsWithContext(ctx context.Context, request *CreateGlobalDomainDnsRequest) (response *CreateGlobalDomainDnsResponse, err error)
CreateGlobalDomainDns 创建域名解析记录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INVALIDPARAMETERVALUE_HITBANBLACKLIST = "InvalidParameterValue.HitBanBlacklist" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateGlobalDomainWithContext ¶ added in v1.0.482
func (c *Client) CreateGlobalDomainWithContext(ctx context.Context, request *CreateGlobalDomainRequest) (response *CreateGlobalDomainResponse, err error)
CreateGlobalDomain 用来创建统一域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" FAILEDOPERATION_USERNOTINWHITELIST = "FailedOperation.UserNotInWhitelist" INVALIDPARAMETERVALUE_GLOBALDOMAINHITBANBLACKLIST = "InvalidParameterValue.GlobalDomainHitBanBlacklist" LIMITEXCEEDED_DOMAIN = "LimitExceeded.Domain" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) CreateHTTPListener ¶
func (c *Client) CreateHTTPListener(request *CreateHTTPListenerRequest) (response *CreateHTTPListenerResponse, err error)
CreateHTTPListener 该接口(CreateHTTPListener)用于在通道实例下创建HTTP协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateHTTPListenerWithContext ¶ added in v1.0.324
func (c *Client) CreateHTTPListenerWithContext(ctx context.Context, request *CreateHTTPListenerRequest) (response *CreateHTTPListenerResponse, err error)
CreateHTTPListener 该接口(CreateHTTPListener)用于在通道实例下创建HTTP协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateHTTPSListener ¶
func (c *Client) CreateHTTPSListener(request *CreateHTTPSListenerRequest) (response *CreateHTTPSListenerResponse, err error)
CreateHTTPSListener 该接口(CreateHTTPSListener)用于在通道实例下创建HTTPS协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateHTTPSListenerWithContext ¶ added in v1.0.324
func (c *Client) CreateHTTPSListenerWithContext(ctx context.Context, request *CreateHTTPSListenerRequest) (response *CreateHTTPSListenerResponse, err error)
CreateHTTPSListener 该接口(CreateHTTPSListener)用于在通道实例下创建HTTPS协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateProxy ¶
func (c *Client) CreateProxy(request *CreateProxyRequest) (response *CreateProxyResponse, err error)
CreateProxy 本接口(CreateProxy)用于创建/复制一个指定配置的加速通道。当复制通道时,需要设置新通道的基本配置参数,并设置ClonedProxyId来指定被复制的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" INVALIDPARAMETERVALUE_PROXYANDGROUPFEATURECONFLICT = "InvalidParameterValue.ProxyAndGroupFeatureConflict" INVALIDPARAMETERVALUE_PROXYANDREGIONFEATURECONFLICT = "InvalidParameterValue.ProxyAndRegionFeatureConflict" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateProxyGroup ¶
func (c *Client) CreateProxyGroup(request *CreateProxyGroupRequest) (response *CreateProxyGroupResponse, err error)
CreateProxyGroup 本接口(CreateProxyGroup)用于创建通道组。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateProxyGroupDomain ¶
func (c *Client) CreateProxyGroupDomain(request *CreateProxyGroupDomainRequest) (response *CreateProxyGroupDomainResponse, err error)
CreateProxyGroupDomain 本接口(CreateProxyGroupDomain)用于创建通道组域名,并开启域名解析。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateProxyGroupDomainWithContext ¶ added in v1.0.324
func (c *Client) CreateProxyGroupDomainWithContext(ctx context.Context, request *CreateProxyGroupDomainRequest) (response *CreateProxyGroupDomainResponse, err error)
CreateProxyGroupDomain 本接口(CreateProxyGroupDomain)用于创建通道组域名,并开启域名解析。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateProxyGroupWithContext ¶ added in v1.0.324
func (c *Client) CreateProxyGroupWithContext(ctx context.Context, request *CreateProxyGroupRequest) (response *CreateProxyGroupResponse, err error)
CreateProxyGroup 本接口(CreateProxyGroup)用于创建通道组。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LIMITNUMOFPROXIESINGROUP = "FailedOperation.LimitNumofProxiesInGroup" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateProxyWithContext ¶ added in v1.0.324
func (c *Client) CreateProxyWithContext(ctx context.Context, request *CreateProxyRequest) (response *CreateProxyResponse, err error)
CreateProxy 本接口(CreateProxy)用于创建/复制一个指定配置的加速通道。当复制通道时,需要设置新通道的基本配置参数,并设置ClonedProxyId来指定被复制的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_PROXYSELLOUT = "FailedOperation.ProxySellOut" FAILEDOPERATION_TAGRESOURCESFAILED = "FailedOperation.TagResourcesFailed" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTAUTHENTICATED = "FailedOperation.UserNotAuthenticated" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_FEATURECONFLICT = "InvalidParameterValue.FeatureConflict" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" INVALIDPARAMETERVALUE_PROXYANDGROUPFEATURECONFLICT = "InvalidParameterValue.ProxyAndGroupFeatureConflict" INVALIDPARAMETERVALUE_PROXYANDREGIONFEATURECONFLICT = "InvalidParameterValue.ProxyAndRegionFeatureConflict" LIMITEXCEEDED_TAGQUOTA = "LimitExceeded.TagQuota" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateRule ¶
func (c *Client) CreateRule(request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 该接口(CreateRule)用于创建HTTP/HTTPS监听器转发规则。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateRuleWithContext ¶ added in v1.0.324
func (c *Client) CreateRuleWithContext(ctx context.Context, request *CreateRuleRequest) (response *CreateRuleResponse, err error)
CreateRule 该接口(CreateRule)用于创建HTTP/HTTPS监听器转发规则。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFRULES = "FailedOperation.LimitNumofRules" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) CreateSecurityPolicy ¶
func (c *Client) CreateSecurityPolicy(request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
CreateSecurityPolicy 创建安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateSecurityPolicyWithContext ¶ added in v1.0.324
func (c *Client) CreateSecurityPolicyWithContext(ctx context.Context, request *CreateSecurityPolicyRequest) (response *CreateSecurityPolicyResponse, err error)
CreateSecurityPolicy 创建安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSECURITYPOLICYEXISTED = "FailedOperation.ProxySecurityPolicyExisted" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateSecurityRules ¶
func (c *Client) CreateSecurityRules(request *CreateSecurityRulesRequest) (response *CreateSecurityRulesResponse, err error)
CreateSecurityRules 添加安全策略规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule" FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule" FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateSecurityRulesWithContext ¶ added in v1.0.324
func (c *Client) CreateSecurityRulesWithContext(ctx context.Context, request *CreateSecurityRulesRequest) (response *CreateSecurityRulesResponse, err error)
CreateSecurityRules 添加安全策略规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule" FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule" FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) CreateTCPListeners ¶
func (c *Client) CreateTCPListeners(request *CreateTCPListenersRequest) (response *CreateTCPListenersResponse, err error)
CreateTCPListeners 该接口(CreateTCPListeners)用于批量创建单通道或者通道组的TCP协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateTCPListenersWithContext ¶ added in v1.0.324
func (c *Client) CreateTCPListenersWithContext(ctx context.Context, request *CreateTCPListenersRequest) (response *CreateTCPListenersResponse, err error)
CreateTCPListeners 该接口(CreateTCPListeners)用于批量创建单通道或者通道组的TCP协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateUDPListeners ¶
func (c *Client) CreateUDPListeners(request *CreateUDPListenersRequest) (response *CreateUDPListenersResponse, err error)
CreateUDPListeners 该接口(CreateUDPListeners)用于批量创建单通道或者通道组的UDP协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) CreateUDPListenersWithContext ¶ added in v1.0.324
func (c *Client) CreateUDPListenersWithContext(ctx context.Context, request *CreateUDPListenersRequest) (response *CreateUDPListenersResponse, err error)
CreateUDPListeners 该接口(CreateUDPListeners)用于批量创建单通道或者通道组的UDP协议类型的监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LIMITNUMOFLISTENER = "FailedOperation.LimitNumofListener" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_OPERATELIMITNUMOFLISTENER = "FailedOperation.OperateLimitNumofListener" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_DUPLICATEDLISTENERPORT = "InvalidParameterValue.DuplicatedListenerPort" INVALIDPARAMETERVALUE_INVALIDLISTENERPORT = "InvalidParameterValue.InvalidListenerPort" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCertificate ¶
func (c *Client) DeleteCertificate(request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)
DeleteCertificate 本接口(DeleteCertificate)用于删除证书。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteCertificateWithContext ¶ added in v1.0.324
func (c *Client) DeleteCertificateWithContext(ctx context.Context, request *DeleteCertificateRequest) (response *DeleteCertificateResponse, err error)
DeleteCertificate 本接口(DeleteCertificate)用于删除证书。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteDomain ¶
func (c *Client) DeleteDomain(request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
DeleteDomain 本接口(DeleteDomain)仅适用于7层监听器,用于删除该监听器下对应域名及域名下的所有规则,所有已绑定源站的规则将自动解绑。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteDomainErrorPageInfo ¶
func (c *Client) DeleteDomainErrorPageInfo(request *DeleteDomainErrorPageInfoRequest) (response *DeleteDomainErrorPageInfoResponse, err error)
DeleteDomainErrorPageInfo 删除域名的定制错误
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DeleteDomainErrorPageInfoWithContext ¶ added in v1.0.324
func (c *Client) DeleteDomainErrorPageInfoWithContext(ctx context.Context, request *DeleteDomainErrorPageInfoRequest) (response *DeleteDomainErrorPageInfoResponse, err error)
DeleteDomainErrorPageInfo 删除域名的定制错误
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DeleteDomainWithContext ¶ added in v1.0.324
func (c *Client) DeleteDomainWithContext(ctx context.Context, request *DeleteDomainRequest) (response *DeleteDomainResponse, err error)
DeleteDomain 本接口(DeleteDomain)仅适用于7层监听器,用于删除该监听器下对应域名及域名下的所有规则,所有已绑定源站的规则将自动解绑。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteFirstLinkSession ¶ added in v1.0.399
func (c *Client) DeleteFirstLinkSession(request *DeleteFirstLinkSessionRequest) (response *DeleteFirstLinkSessionResponse, err error)
DeleteFirstLinkSession 本接口(DeleteFirstLinkSession)用于删除接入段加速会话,删除加速会话后会停止加速。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTVENDORTIMEOUT = "FailedOperation.RequestVendorTimeout" FAILEDOPERATION_SESSIONNOTEXIST = "FailedOperation.SessionNotExist" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteFirstLinkSessionWithContext ¶ added in v1.0.399
func (c *Client) DeleteFirstLinkSessionWithContext(ctx context.Context, request *DeleteFirstLinkSessionRequest) (response *DeleteFirstLinkSessionResponse, err error)
DeleteFirstLinkSession 本接口(DeleteFirstLinkSession)用于删除接入段加速会话,删除加速会话后会停止加速。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REQUESTVENDORTIMEOUT = "FailedOperation.RequestVendorTimeout" FAILEDOPERATION_SESSIONNOTEXIST = "FailedOperation.SessionNotExist" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteGlobalDomain ¶ added in v1.0.482
func (c *Client) DeleteGlobalDomain(request *DeleteGlobalDomainRequest) (response *DeleteGlobalDomainResponse, err error)
DeleteGlobalDomain 删除统一域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DeleteGlobalDomainDns ¶ added in v1.0.482
func (c *Client) DeleteGlobalDomainDns(request *DeleteGlobalDomainDnsRequest) (response *DeleteGlobalDomainDnsResponse, err error)
DeleteGlobalDomainDns 删除域名的某条解析记录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DeleteGlobalDomainDnsWithContext ¶ added in v1.0.482
func (c *Client) DeleteGlobalDomainDnsWithContext(ctx context.Context, request *DeleteGlobalDomainDnsRequest) (response *DeleteGlobalDomainDnsResponse, err error)
DeleteGlobalDomainDns 删除域名的某条解析记录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DeleteGlobalDomainWithContext ¶ added in v1.0.482
func (c *Client) DeleteGlobalDomainWithContext(ctx context.Context, request *DeleteGlobalDomainRequest) (response *DeleteGlobalDomainResponse, err error)
DeleteGlobalDomain 删除统一域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DeleteListeners ¶
func (c *Client) DeleteListeners(request *DeleteListenersRequest) (response *DeleteListenersResponse, err error)
DeleteListeners 该接口(DeleteListeners)用于批量删除通道或通道组的监听器,包括4/7层监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteListenersWithContext ¶ added in v1.0.324
func (c *Client) DeleteListenersWithContext(ctx context.Context, request *DeleteListenersRequest) (response *DeleteListenersResponse, err error)
DeleteListeners 该接口(DeleteListeners)用于批量删除通道或通道组的监听器,包括4/7层监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteProxyGroup ¶
func (c *Client) DeleteProxyGroup(request *DeleteProxyGroupRequest) (response *DeleteProxyGroupResponse, err error)
DeleteProxyGroup 本接口(DeleteProxyGroup)用于删除通道组。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteProxyGroupWithContext ¶ added in v1.0.324
func (c *Client) DeleteProxyGroupWithContext(ctx context.Context, request *DeleteProxyGroupRequest) (response *DeleteProxyGroupResponse, err error)
DeleteProxyGroup 本接口(DeleteProxyGroup)用于删除通道组。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DELETEPROXYGROUPPROXYREMAINED = "FailedOperation.DeleteProxyGroupProxyRemained" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteRule ¶
func (c *Client) DeleteRule(request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
DeleteRule 该接口(DeleteRule)用于删除HTTP/HTTPS监听器的转发规则。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteRuleWithContext ¶ added in v1.0.324
func (c *Client) DeleteRuleWithContext(ctx context.Context, request *DeleteRuleRequest) (response *DeleteRuleResponse, err error)
DeleteRule 该接口(DeleteRule)用于删除HTTP/HTTPS监听器的转发规则。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DeleteSecurityPolicy ¶
func (c *Client) DeleteSecurityPolicy(request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
DeleteSecurityPolicy 删除安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSecurityPolicyWithContext ¶ added in v1.0.324
func (c *Client) DeleteSecurityPolicyWithContext(ctx context.Context, request *DeleteSecurityPolicyRequest) (response *DeleteSecurityPolicyResponse, err error)
DeleteSecurityPolicy 删除安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DeleteSecurityRules ¶
func (c *Client) DeleteSecurityRules(request *DeleteSecurityRulesRequest) (response *DeleteSecurityRulesResponse, err error)
DeleteSecurityRules 删除安全策略规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DeleteSecurityRulesWithContext ¶ added in v1.0.324
func (c *Client) DeleteSecurityRulesWithContext(ctx context.Context, request *DeleteSecurityRulesRequest) (response *DeleteSecurityRulesResponse, err error)
DeleteSecurityRules 删除安全策略规则
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeAccessRegions ¶
func (c *Client) DescribeAccessRegions(request *DescribeAccessRegionsRequest) (response *DescribeAccessRegionsResponse, err error)
DescribeAccessRegions 本接口(DescribeAccessRegions)用于查询加速区域,即客户端接入区域。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeAccessRegionsByDestRegion ¶
func (c *Client) DescribeAccessRegionsByDestRegion(request *DescribeAccessRegionsByDestRegionRequest) (response *DescribeAccessRegionsByDestRegionResponse, err error)
DescribeAccessRegionsByDestRegion 本接口(DescribeAccessRegionsByDestRegion)根据源站区域查询可用的加速区域列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeAccessRegionsByDestRegionWithContext ¶ added in v1.0.324
func (c *Client) DescribeAccessRegionsByDestRegionWithContext(ctx context.Context, request *DescribeAccessRegionsByDestRegionRequest) (response *DescribeAccessRegionsByDestRegionResponse, err error)
DescribeAccessRegionsByDestRegion 本接口(DescribeAccessRegionsByDestRegion)根据源站区域查询可用的加速区域列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeAccessRegionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeAccessRegionsWithContext(ctx context.Context, request *DescribeAccessRegionsRequest) (response *DescribeAccessRegionsResponse, err error)
DescribeAccessRegions 本接口(DescribeAccessRegions)用于查询加速区域,即客户端接入区域。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeAuthSignature ¶ added in v1.0.648
func (c *Client) DescribeAuthSignature(request *DescribeAuthSignatureRequest) (response *DescribeAuthSignatureResponse, err error)
DescribeAuthSignature 为了防止在下单、询价、后付费开通等过程中确保来源合法以及订单参数没有被篡改过,各个业务方使用下单、询价等场景需调用计费签名接口获取签名,获取签名的请求需带上签名以验证身份,本接口可以获取计费签名。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeAuthSignatureWithContext ¶ added in v1.0.648
func (c *Client) DescribeAuthSignatureWithContext(ctx context.Context, request *DescribeAuthSignatureRequest) (response *DescribeAuthSignatureResponse, err error)
DescribeAuthSignature 为了防止在下单、询价、后付费开通等过程中确保来源合法以及订单参数没有被篡改过,各个业务方使用下单、询价等场景需调用计费签名接口获取签名,获取签名的请求需带上签名以验证身份,本接口可以获取计费签名。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeBlackHeader ¶ added in v1.0.216
func (c *Client) DescribeBlackHeader(request *DescribeBlackHeaderRequest) (response *DescribeBlackHeaderResponse, err error)
DescribeBlackHeader 本接口(DescribeBlackHeader)用于查询禁用的自定义header 名称
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeBlackHeaderWithContext ¶ added in v1.0.324
func (c *Client) DescribeBlackHeaderWithContext(ctx context.Context, request *DescribeBlackHeaderRequest) (response *DescribeBlackHeaderResponse, err error)
DescribeBlackHeader 本接口(DescribeBlackHeader)用于查询禁用的自定义header 名称
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCertificateDetail ¶
func (c *Client) DescribeCertificateDetail(request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
DescribeCertificateDetail 本接口(DescribeCertificateDetail)用于查询证书详情,包括证书ID,证书名字,证书类型,证书内容以及密钥等信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCertificateDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeCertificateDetailWithContext(ctx context.Context, request *DescribeCertificateDetailRequest) (response *DescribeCertificateDetailResponse, err error)
DescribeCertificateDetail 本接口(DescribeCertificateDetail)用于查询证书详情,包括证书ID,证书名字,证书类型,证书内容以及密钥等信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCertificates ¶
func (c *Client) DescribeCertificates(request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)
DescribeCertificates 本接口(DescribeCertificates)用来查询可以使用的证书列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCertificatesWithContext ¶ added in v1.0.324
func (c *Client) DescribeCertificatesWithContext(ctx context.Context, request *DescribeCertificatesRequest) (response *DescribeCertificatesResponse, err error)
DescribeCertificates 本接口(DescribeCertificates)用来查询可以使用的证书列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeCountryAreaMapping ¶
func (c *Client) DescribeCountryAreaMapping(request *DescribeCountryAreaMappingRequest) (response *DescribeCountryAreaMappingResponse, err error)
DescribeCountryAreaMapping 本接口(DescribeCountryAreaMapping)用于获取国家地区编码映射表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCountryAreaMappingWithContext ¶ added in v1.0.324
func (c *Client) DescribeCountryAreaMappingWithContext(ctx context.Context, request *DescribeCountryAreaMappingRequest) (response *DescribeCountryAreaMappingResponse, err error)
DescribeCountryAreaMapping 本接口(DescribeCountryAreaMapping)用于获取国家地区编码映射表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCrossBorderProxies ¶ added in v1.0.442
func (c *Client) DescribeCrossBorderProxies(request *DescribeCrossBorderProxiesRequest) (response *DescribeCrossBorderProxiesResponse, err error)
DescribeCrossBorderProxies 本接口(DescribeCrossBorderProxies)用于查询跨境通道实例列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCrossBorderProxiesWithContext ¶ added in v1.0.442
func (c *Client) DescribeCrossBorderProxiesWithContext(ctx context.Context, request *DescribeCrossBorderProxiesRequest) (response *DescribeCrossBorderProxiesResponse, err error)
DescribeCrossBorderProxies 本接口(DescribeCrossBorderProxies)用于查询跨境通道实例列表。
可能返回的错误码:
FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCustomHeader ¶ added in v1.0.216
func (c *Client) DescribeCustomHeader(request *DescribeCustomHeaderRequest) (response *DescribeCustomHeaderResponse, err error)
DescribeCustomHeader 本接口(DescribeCustomHeader)用于自定义header列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeCustomHeaderWithContext ¶ added in v1.0.324
func (c *Client) DescribeCustomHeaderWithContext(ctx context.Context, request *DescribeCustomHeaderRequest) (response *DescribeCustomHeaderResponse, err error)
DescribeCustomHeader 本接口(DescribeCustomHeader)用于自定义header列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeDestRegions ¶
func (c *Client) DescribeDestRegions(request *DescribeDestRegionsRequest) (response *DescribeDestRegionsResponse, err error)
DescribeDestRegions 本接口(DescribeDestRegions)用于查询源站区域,即源站服务器所在区域。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeDestRegionsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDestRegionsWithContext(ctx context.Context, request *DescribeDestRegionsRequest) (response *DescribeDestRegionsResponse, err error)
DescribeDestRegions 本接口(DescribeDestRegions)用于查询源站区域,即源站服务器所在区域。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeDomainErrorPageInfo ¶
func (c *Client) DescribeDomainErrorPageInfo(request *DescribeDomainErrorPageInfoRequest) (response *DescribeDomainErrorPageInfoResponse, err error)
DescribeDomainErrorPageInfo 查询目前定制域名的错误响应
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeDomainErrorPageInfoByIds ¶
func (c *Client) DescribeDomainErrorPageInfoByIds(request *DescribeDomainErrorPageInfoByIdsRequest) (response *DescribeDomainErrorPageInfoByIdsResponse, err error)
DescribeDomainErrorPageInfoByIds 根据定制错误ID查询错误响应
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeDomainErrorPageInfoByIdsWithContext ¶ added in v1.0.324
func (c *Client) DescribeDomainErrorPageInfoByIdsWithContext(ctx context.Context, request *DescribeDomainErrorPageInfoByIdsRequest) (response *DescribeDomainErrorPageInfoByIdsResponse, err error)
DescribeDomainErrorPageInfoByIds 根据定制错误ID查询错误响应
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeDomainErrorPageInfoWithContext ¶ added in v1.0.324
func (c *Client) DescribeDomainErrorPageInfoWithContext(ctx context.Context, request *DescribeDomainErrorPageInfoRequest) (response *DescribeDomainErrorPageInfoResponse, err error)
DescribeDomainErrorPageInfo 查询目前定制域名的错误响应
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeFirstLinkSession ¶ added in v1.0.399
func (c *Client) DescribeFirstLinkSession(request *DescribeFirstLinkSessionRequest) (response *DescribeFirstLinkSessionResponse, err error)
DescribeFirstLinkSession 本接口(DescribeFirstLinkSession)用于查询接入段加速会话状态,包括会话状态,生效时长,加速套餐等信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeFirstLinkSessionWithContext ¶ added in v1.0.399
func (c *Client) DescribeFirstLinkSessionWithContext(ctx context.Context, request *DescribeFirstLinkSessionRequest) (response *DescribeFirstLinkSessionResponse, err error)
DescribeFirstLinkSession 本接口(DescribeFirstLinkSession)用于查询接入段加速会话状态,包括会话状态,生效时长,加速套餐等信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" DRYRUNOPERATION = "DryRunOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_VENDORRETURNERROR = "FailedOperation.VendorReturnError" FAILEDOPERATION_VENDORSERVERERROR = "FailedOperation.VendorServerError" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeGlobalDomainDns ¶ added in v1.0.482
func (c *Client) DescribeGlobalDomainDns(request *DescribeGlobalDomainDnsRequest) (response *DescribeGlobalDomainDnsResponse, err error)
DescribeGlobalDomainDns 查询域名解析列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeGlobalDomainDnsWithContext ¶ added in v1.0.482
func (c *Client) DescribeGlobalDomainDnsWithContext(ctx context.Context, request *DescribeGlobalDomainDnsRequest) (response *DescribeGlobalDomainDnsResponse, err error)
DescribeGlobalDomainDns 查询域名解析列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeGlobalDomains ¶ added in v1.0.482
func (c *Client) DescribeGlobalDomains(request *DescribeGlobalDomainsRequest) (response *DescribeGlobalDomainsResponse, err error)
DescribeGlobalDomains 查询域名列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeGlobalDomainsWithContext ¶ added in v1.0.482
func (c *Client) DescribeGlobalDomainsWithContext(ctx context.Context, request *DescribeGlobalDomainsRequest) (response *DescribeGlobalDomainsResponse, err error)
DescribeGlobalDomains 查询域名列表
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INVALIDPARAMETERVALUE_INVALIDTAGS = "InvalidParameterValue.InvalidTags" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeGroupAndStatisticsProxy ¶
func (c *Client) DescribeGroupAndStatisticsProxy(request *DescribeGroupAndStatisticsProxyRequest) (response *DescribeGroupAndStatisticsProxyResponse, err error)
DescribeGroupAndStatisticsProxy 该接口为内部接口,用于查询可以获取统计数据的通道组和通道信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeGroupAndStatisticsProxyWithContext ¶ added in v1.0.324
func (c *Client) DescribeGroupAndStatisticsProxyWithContext(ctx context.Context, request *DescribeGroupAndStatisticsProxyRequest) (response *DescribeGroupAndStatisticsProxyResponse, err error)
DescribeGroupAndStatisticsProxy 该接口为内部接口,用于查询可以获取统计数据的通道组和通道信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeGroupDomainConfig ¶
func (c *Client) DescribeGroupDomainConfig(request *DescribeGroupDomainConfigRequest) (response *DescribeGroupDomainConfigResponse, err error)
DescribeGroupDomainConfig 本接口(DescribeGroupDomainConfig)用于获取通道组域名解析配置详情。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeGroupDomainConfigWithContext ¶ added in v1.0.324
func (c *Client) DescribeGroupDomainConfigWithContext(ctx context.Context, request *DescribeGroupDomainConfigRequest) (response *DescribeGroupDomainConfigResponse, err error)
DescribeGroupDomainConfig 本接口(DescribeGroupDomainConfig)用于获取通道组域名解析配置详情。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeHTTPListeners ¶
func (c *Client) DescribeHTTPListeners(request *DescribeHTTPListenersRequest) (response *DescribeHTTPListenersResponse, err error)
DescribeHTTPListeners 该接口(DescribeHTTPListeners)用来查询HTTP监听器信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeHTTPListenersWithContext ¶ added in v1.0.324
func (c *Client) DescribeHTTPListenersWithContext(ctx context.Context, request *DescribeHTTPListenersRequest) (response *DescribeHTTPListenersResponse, err error)
DescribeHTTPListeners 该接口(DescribeHTTPListeners)用来查询HTTP监听器信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeHTTPSListeners ¶
func (c *Client) DescribeHTTPSListeners(request *DescribeHTTPSListenersRequest) (response *DescribeHTTPSListenersResponse, err error)
DescribeHTTPSListeners 本接口(DescribeHTTPSListeners)用来查询HTTPS监听器信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeHTTPSListenersWithContext ¶ added in v1.0.324
func (c *Client) DescribeHTTPSListenersWithContext(ctx context.Context, request *DescribeHTTPSListenersRequest) (response *DescribeHTTPSListenersResponse, err error)
DescribeHTTPSListeners 本接口(DescribeHTTPSListeners)用来查询HTTPS监听器信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeListenerRealServers ¶
func (c *Client) DescribeListenerRealServers(request *DescribeListenerRealServersRequest) (response *DescribeListenerRealServersResponse, err error)
DescribeListenerRealServers 该接口(DescribeListenerRealServers)用于查询TCP/UDP监听器源站列表,包括该监听器已经绑定的源站列表以及可以绑定的源站列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeListenerRealServersWithContext ¶ added in v1.0.324
func (c *Client) DescribeListenerRealServersWithContext(ctx context.Context, request *DescribeListenerRealServersRequest) (response *DescribeListenerRealServersResponse, err error)
DescribeListenerRealServers 该接口(DescribeListenerRealServers)用于查询TCP/UDP监听器源站列表,包括该监听器已经绑定的源站列表以及可以绑定的源站列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeListenerStatistics ¶
func (c *Client) DescribeListenerStatistics(request *DescribeListenerStatisticsRequest) (response *DescribeListenerStatisticsResponse, err error)
DescribeListenerStatistics 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300秒, 3600秒和86400秒的细粒度,取值为细粒度范围内最大值。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeListenerStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeListenerStatisticsWithContext(ctx context.Context, request *DescribeListenerStatisticsRequest) (response *DescribeListenerStatisticsResponse, err error)
DescribeListenerStatistics 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300秒, 3600秒和86400秒的细粒度,取值为细粒度范围内最大值。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeProxies ¶
func (c *Client) DescribeProxies(request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
DescribeProxies 本接口(DescribeProxies)用于查询通道实例列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxiesStatus ¶
func (c *Client) DescribeProxiesStatus(request *DescribeProxiesStatusRequest) (response *DescribeProxiesStatusResponse, err error)
DescribeProxiesStatus 本接口(DescribeProxiesStatus)用于查询通道状态列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxiesStatusWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxiesStatusWithContext(ctx context.Context, request *DescribeProxiesStatusRequest) (response *DescribeProxiesStatusResponse, err error)
DescribeProxiesStatus 本接口(DescribeProxiesStatus)用于查询通道状态列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxiesWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxiesWithContext(ctx context.Context, request *DescribeProxiesRequest) (response *DescribeProxiesResponse, err error)
DescribeProxies 本接口(DescribeProxies)用于查询通道实例列表。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyAndStatisticsListeners ¶
func (c *Client) DescribeProxyAndStatisticsListeners(request *DescribeProxyAndStatisticsListenersRequest) (response *DescribeProxyAndStatisticsListenersResponse, err error)
DescribeProxyAndStatisticsListeners 该接口为内部接口,用于查询可以获取统计数据的通道和监听器信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeProxyAndStatisticsListenersWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxyAndStatisticsListenersWithContext(ctx context.Context, request *DescribeProxyAndStatisticsListenersRequest) (response *DescribeProxyAndStatisticsListenersResponse, err error)
DescribeProxyAndStatisticsListeners 该接口为内部接口,用于查询可以获取统计数据的通道和监听器信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeProxyDetail ¶
func (c *Client) DescribeProxyDetail(request *DescribeProxyDetailRequest) (response *DescribeProxyDetailResponse, err error)
DescribeProxyDetail 本接口(DescribeProxyDetail)用于查询通道详情。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxyDetailWithContext(ctx context.Context, request *DescribeProxyDetailRequest) (response *DescribeProxyDetailResponse, err error)
DescribeProxyDetail 本接口(DescribeProxyDetail)用于查询通道详情。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_ACTIONOPERATETOOQUICKLY = "FailedOperation.ActionOperateTooQuickly" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyGroupDetails ¶
func (c *Client) DescribeProxyGroupDetails(request *DescribeProxyGroupDetailsRequest) (response *DescribeProxyGroupDetailsResponse, err error)
DescribeProxyGroupDetails 本接口(DescribeProxyGroupDetails)用于查询通道组详情。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyGroupDetailsWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxyGroupDetailsWithContext(ctx context.Context, request *DescribeProxyGroupDetailsRequest) (response *DescribeProxyGroupDetailsResponse, err error)
DescribeProxyGroupDetails 本接口(DescribeProxyGroupDetails)用于查询通道组详情。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyGroupList ¶
func (c *Client) DescribeProxyGroupList(request *DescribeProxyGroupListRequest) (response *DescribeProxyGroupListResponse, err error)
DescribeProxyGroupList 本接口(DescribeProxyGroupList)用于拉取通道组列表及各通道组基本信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyGroupListWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxyGroupListWithContext(ctx context.Context, request *DescribeProxyGroupListRequest) (response *DescribeProxyGroupListResponse, err error)
DescribeProxyGroupList 本接口(DescribeProxyGroupList)用于拉取通道组列表及各通道组基本信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeProxyGroupStatistics ¶
func (c *Client) DescribeProxyGroupStatistics(request *DescribeProxyGroupStatisticsRequest) (response *DescribeProxyGroupStatisticsResponse, err error)
DescribeProxyGroupStatistics 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProxyGroupStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxyGroupStatisticsWithContext(ctx context.Context, request *DescribeProxyGroupStatisticsRequest) (response *DescribeProxyGroupStatisticsResponse, err error)
DescribeProxyGroupStatistics 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProxyStatistics ¶
func (c *Client) DescribeProxyStatistics(request *DescribeProxyStatisticsRequest) (response *DescribeProxyStatisticsResponse, err error)
DescribeProxyStatistics 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发,丢包和时延数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeProxyStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeProxyStatisticsWithContext(ctx context.Context, request *DescribeProxyStatisticsRequest) (response *DescribeProxyStatisticsResponse, err error)
DescribeProxyStatistics 该接口用于查询监听器统计数据,包括出入带宽,出入包量,并发,丢包和时延数据。支持300, 3600和86400的细粒度,取值为细粒度范围内最大值。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRealServerStatistics ¶
func (c *Client) DescribeRealServerStatistics(request *DescribeRealServerStatisticsRequest) (response *DescribeRealServerStatisticsResponse, err error)
DescribeRealServerStatistics 该接口(DescribeRealServerStatistics)用于查询源站健康检查结果的统计数据。源站状态展示位为1:正常或者0:异常。查询的源站需要在监听器或者规则上进行了绑定,查询时需指定绑定的监听器或者规则ID。该接口支持1分钟细粒度的源站状态统计数据展示。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeRealServerStatisticsWithContext ¶ added in v1.0.324
func (c *Client) DescribeRealServerStatisticsWithContext(ctx context.Context, request *DescribeRealServerStatisticsRequest) (response *DescribeRealServerStatisticsResponse, err error)
DescribeRealServerStatistics 该接口(DescribeRealServerStatistics)用于查询源站健康检查结果的统计数据。源站状态展示位为1:正常或者0:异常。查询的源站需要在监听器或者规则上进行了绑定,查询时需指定绑定的监听器或者规则ID。该接口支持1分钟细粒度的源站状态统计数据展示。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeRealServers ¶
func (c *Client) DescribeRealServers(request *DescribeRealServersRequest) (response *DescribeRealServersResponse, err error)
DescribeRealServers 本接口(DescribeRealServers)用于查询源站信息,可以根据项目名查询所有的源站信息,此外支持指定IP或者域名的源站模糊查询。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeRealServersStatus ¶
func (c *Client) DescribeRealServersStatus(request *DescribeRealServersStatusRequest) (response *DescribeRealServersStatusResponse, err error)
DescribeRealServersStatus 本接口(DescribeRealServersStatus)用于查询源站是否已被规则或者监听器绑定
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeRealServersStatusWithContext ¶ added in v1.0.324
func (c *Client) DescribeRealServersStatusWithContext(ctx context.Context, request *DescribeRealServersStatusRequest) (response *DescribeRealServersStatusResponse, err error)
DescribeRealServersStatus 本接口(DescribeRealServersStatus)用于查询源站是否已被规则或者监听器绑定
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REALSERVERNOTINPROJECT = "FailedOperation.RealServerNotInProject" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_REALSERVERNOTBELONG = "InvalidParameterValue.RealServerNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeRealServersWithContext ¶ added in v1.0.324
func (c *Client) DescribeRealServersWithContext(ctx context.Context, request *DescribeRealServersRequest) (response *DescribeRealServersResponse, err error)
DescribeRealServers 本接口(DescribeRealServers)用于查询源站信息,可以根据项目名查询所有的源站信息,此外支持指定IP或者域名的源站模糊查询。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeRegionAndPrice ¶
func (c *Client) DescribeRegionAndPrice(request *DescribeRegionAndPriceRequest) (response *DescribeRegionAndPriceResponse, err error)
DescribeRegionAndPrice 该接口(DescribeRegionAndPrice)用于获取源站区域和带宽梯度价格
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRegionAndPriceWithContext ¶ added in v1.0.324
func (c *Client) DescribeRegionAndPriceWithContext(ctx context.Context, request *DescribeRegionAndPriceRequest) (response *DescribeRegionAndPriceResponse, err error)
DescribeRegionAndPrice 该接口(DescribeRegionAndPrice)用于获取源站区域和带宽梯度价格
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeResourcesByTag ¶
func (c *Client) DescribeResourcesByTag(request *DescribeResourcesByTagRequest) (response *DescribeResourcesByTagResponse, err error)
DescribeResourcesByTag 本接口(DescribeResourcesByTag)用于根据标签来查询对应的资源信息,包括通道,通道组和源站。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeResourcesByTagWithContext ¶ added in v1.0.324
func (c *Client) DescribeResourcesByTagWithContext(ctx context.Context, request *DescribeResourcesByTagRequest) (response *DescribeResourcesByTagResponse, err error)
DescribeResourcesByTag 本接口(DescribeResourcesByTag)用于根据标签来查询对应的资源信息,包括通道,通道组和源站。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeRuleRealServers ¶
func (c *Client) DescribeRuleRealServers(request *DescribeRuleRealServersRequest) (response *DescribeRuleRealServersResponse, err error)
DescribeRuleRealServers 本接口(DescribeRuleRealServers)用于查询转发规则相关的源站信息, 包括该规则可绑定的源站信息和已绑定的源站信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeRuleRealServersWithContext ¶ added in v1.0.324
func (c *Client) DescribeRuleRealServersWithContext(ctx context.Context, request *DescribeRuleRealServersRequest) (response *DescribeRuleRealServersResponse, err error)
DescribeRuleRealServers 本接口(DescribeRuleRealServers)用于查询转发规则相关的源站信息, 包括该规则可绑定的源站信息和已绑定的源站信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DescribeRules ¶
func (c *Client) DescribeRules(request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 本接口(DescribeRules)用于查询监听器下的所有规则信息,包括规则域名,路径以及该规则下所绑定的源站列表。当通道版本为3.0时,该接口会返回该域名对应的高级认证配置信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeRulesByRuleIds ¶
func (c *Client) DescribeRulesByRuleIds(request *DescribeRulesByRuleIdsRequest) (response *DescribeRulesByRuleIdsResponse, err error)
DescribeRulesByRuleIds 本接口(DescribeRulesByRuleIds)用于根据规则ID拉取规则信息列表。支持一个或者多个规则信息的拉取。一次最多支持10个规则信息的拉取。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRulesByRuleIdsWithContext ¶ added in v1.0.324
func (c *Client) DescribeRulesByRuleIdsWithContext(ctx context.Context, request *DescribeRulesByRuleIdsRequest) (response *DescribeRulesByRuleIdsResponse, err error)
DescribeRulesByRuleIds 本接口(DescribeRulesByRuleIds)用于根据规则ID拉取规则信息列表。支持一个或者多个规则信息的拉取。一次最多支持10个规则信息的拉取。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeRulesWithContext(ctx context.Context, request *DescribeRulesRequest) (response *DescribeRulesResponse, err error)
DescribeRules 本接口(DescribeRules)用于查询监听器下的所有规则信息,包括规则域名,路径以及该规则下所绑定的源站列表。当通道版本为3.0时,该接口会返回该域名对应的高级认证配置信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeSecurityPolicyDetail ¶
func (c *Client) DescribeSecurityPolicyDetail(request *DescribeSecurityPolicyDetailRequest) (response *DescribeSecurityPolicyDetailResponse, err error)
DescribeSecurityPolicyDetail 获取安全策略详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeSecurityPolicyDetailWithContext ¶ added in v1.0.324
func (c *Client) DescribeSecurityPolicyDetailWithContext(ctx context.Context, request *DescribeSecurityPolicyDetailRequest) (response *DescribeSecurityPolicyDetailResponse, err error)
DescribeSecurityPolicyDetail 获取安全策略详情
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeSecurityRules ¶
func (c *Client) DescribeSecurityRules(request *DescribeSecurityRulesRequest) (response *DescribeSecurityRulesResponse, err error)
DescribeSecurityRules 本接口(DescribeSecurityRules)用于根据安全规则ID查询安全规则详情列表。支持一个或多个安全规则的查询。一次最多支持20个安全规则的查询。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeSecurityRulesWithContext ¶ added in v1.0.324
func (c *Client) DescribeSecurityRulesWithContext(ctx context.Context, request *DescribeSecurityRulesRequest) (response *DescribeSecurityRulesResponse, err error)
DescribeSecurityRules 本接口(DescribeSecurityRules)用于根据安全规则ID查询安全规则详情列表。支持一个或多个安全规则的查询。一次最多支持20个安全规则的查询。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DescribeTCPListeners ¶
func (c *Client) DescribeTCPListeners(request *DescribeTCPListenersRequest) (response *DescribeTCPListenersResponse, err error)
DescribeTCPListeners 该接口(DescribeTCPListeners)用于查询单通道或者通道组下的TCP监听器信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeTCPListenersWithContext ¶ added in v1.0.324
func (c *Client) DescribeTCPListenersWithContext(ctx context.Context, request *DescribeTCPListenersRequest) (response *DescribeTCPListenersResponse, err error)
DescribeTCPListeners 该接口(DescribeTCPListeners)用于查询单通道或者通道组下的TCP监听器信息。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) DescribeUDPListeners ¶
func (c *Client) DescribeUDPListeners(request *DescribeUDPListenersRequest) (response *DescribeUDPListenersResponse, err error)
DescribeUDPListeners 该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DescribeUDPListenersWithContext ¶ added in v1.0.324
func (c *Client) DescribeUDPListenersWithContext(ctx context.Context, request *DescribeUDPListenersRequest) (response *DescribeUDPListenersResponse, err error)
DescribeUDPListeners 该接口(DescribeUDPListeners)用于查询单通道或者通道组下的UDP监听器信息
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) DestroyProxies ¶
func (c *Client) DestroyProxies(request *DestroyProxiesRequest) (response *DestroyProxiesResponse, err error)
DestroyProxies 本接口(DestroyProxies)用于销毁。通道销毁后,不再产生任何费用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DestroyProxiesWithContext ¶ added in v1.0.324
func (c *Client) DestroyProxiesWithContext(ctx context.Context, request *DestroyProxiesRequest) (response *DestroyProxiesResponse, err error)
DestroyProxies 本接口(DestroyProxies)用于销毁。通道销毁后,不再产生任何费用。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_BELONGDIFFERENTGROUP = "FailedOperation.BelongDifferentGroup" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) DisableGlobalDomain ¶ added in v1.0.482
func (c *Client) DisableGlobalDomain(request *DisableGlobalDomainRequest) (response *DisableGlobalDomainResponse, err error)
DisableGlobalDomain 暂停域名解析
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) DisableGlobalDomainWithContext ¶ added in v1.0.482
func (c *Client) DisableGlobalDomainWithContext(ctx context.Context, request *DisableGlobalDomainRequest) (response *DisableGlobalDomainResponse, err error)
DisableGlobalDomain 暂停域名解析
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) EnableGlobalDomain ¶ added in v1.0.482
func (c *Client) EnableGlobalDomain(request *EnableGlobalDomainRequest) (response *EnableGlobalDomainResponse, err error)
EnableGlobalDomain 开启域名解析
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) EnableGlobalDomainWithContext ¶ added in v1.0.482
func (c *Client) EnableGlobalDomainWithContext(ctx context.Context, request *EnableGlobalDomainRequest) (response *EnableGlobalDomainResponse, err error)
EnableGlobalDomain 开启域名解析
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) InquiryPriceCreateProxy ¶
func (c *Client) InquiryPriceCreateProxy(request *InquiryPriceCreateProxyRequest) (response *InquiryPriceCreateProxyResponse, err error)
InquiryPriceCreateProxy 本接口(InquiryPriceCreateProxy)用于创建加速通道询价。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion" INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) InquiryPriceCreateProxyWithContext ¶ added in v1.0.324
func (c *Client) InquiryPriceCreateProxyWithContext(ctx context.Context, request *InquiryPriceCreateProxyRequest) (response *InquiryPriceCreateProxyResponse, err error)
InquiryPriceCreateProxy 本接口(InquiryPriceCreateProxy)用于创建加速通道询价。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_RESOURCEUPGRADING = "FailedOperation.ResourceUpgrading" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDBANDWIDTH = "InvalidParameterValue.InvalidBandwidth" INVALIDPARAMETERVALUE_INVALIDCONCURRENCY = "InvalidParameterValue.InvalidConcurrency" INVALIDPARAMETERVALUE_UNKNOWNACCESSREGION = "InvalidParameterValue.UnknownAccessRegion" INVALIDPARAMETERVALUE_UNKNOWNDESTREGION = "InvalidParameterValue.UnknownDestRegion" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyCertificate ¶
func (c *Client) ModifyCertificate(request *ModifyCertificateRequest) (response *ModifyCertificateResponse, err error)
ModifyCertificate 本接口(ModifyCertificate)用于修改监听器下的域名对应的证书。该接口仅适用于version3.0的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyCertificateAttributes ¶
func (c *Client) ModifyCertificateAttributes(request *ModifyCertificateAttributesRequest) (response *ModifyCertificateAttributesResponse, err error)
ModifyCertificateAttributes 本接口(ModifyCertificateAttributes)用于修改证书,包括证书名字以及证书内容。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCertificateAttributesWithContext ¶ added in v1.0.324
func (c *Client) ModifyCertificateAttributesWithContext(ctx context.Context, request *ModifyCertificateAttributesRequest) (response *ModifyCertificateAttributesResponse, err error)
ModifyCertificateAttributes 本接口(ModifyCertificateAttributes)用于修改证书,包括证书名字以及证书内容。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION_CERTIFICATEISUSING = "FailedOperation.CertificateIsUsing" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter" UNSUPPORTEDOPERATION = "UnsupportedOperation"
func (*Client) ModifyCertificateWithContext ¶ added in v1.0.324
func (c *Client) ModifyCertificateWithContext(ctx context.Context, request *ModifyCertificateRequest) (response *ModifyCertificateResponse, err error)
ModifyCertificate 本接口(ModifyCertificate)用于修改监听器下的域名对应的证书。该接口仅适用于version3.0的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyDomain ¶
func (c *Client) ModifyDomain(request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
ModifyDomain 本接口(ModifyDomain)用于监听器下的域名。当通道版本为3.0时,支持对该域名所对应的证书修改。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyDomainWithContext ¶ added in v1.0.324
func (c *Client) ModifyDomainWithContext(ctx context.Context, request *ModifyDomainRequest) (response *ModifyDomainResponse, err error)
ModifyDomain 本接口(ModifyDomain)用于监听器下的域名。当通道版本为3.0时,支持对该域名所对应的证书修改。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_DOMAINALREADYEXISTED = "FailedOperation.DomainAlreadyExisted" FAILEDOPERATION_DOMAINSTATUSNOTINRUNNING = "FailedOperation.DomainStatusNotInRunning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_INVALIDLISTENERPROTOCOL = "FailedOperation.InvalidListenerProtocol" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSTATUSNOTINRUNING = "FailedOperation.ProxyStatusNotInRuning" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_CERTIFICATENOTMATCHDOMAIN = "InvalidParameterValue.CertificateNotMatchDomain" INVALIDPARAMETERVALUE_DOMAININICPBLACKLIST = "InvalidParameterValue.DomainInIcpBlacklist" INVALIDPARAMETERVALUE_DOMAINNOTREGISTER = "InvalidParameterValue.DomainNotRegister" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyGlobalDomainAttribute ¶ added in v1.0.482
func (c *Client) ModifyGlobalDomainAttribute(request *ModifyGlobalDomainAttributeRequest) (response *ModifyGlobalDomainAttributeResponse, err error)
ModifyGlobalDomainAttribute 修改域名属性
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INVALIDPARAMETERVALUE_GLOBALDOMAINHITBANBLACKLIST = "InvalidParameterValue.GlobalDomainHitBanBlacklist" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) ModifyGlobalDomainAttributeWithContext ¶ added in v1.0.482
func (c *Client) ModifyGlobalDomainAttributeWithContext(ctx context.Context, request *ModifyGlobalDomainAttributeRequest) (response *ModifyGlobalDomainAttributeResponse, err error)
ModifyGlobalDomainAttribute 修改域名属性
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INVALIDPARAMETERVALUE_GLOBALDOMAINHITBANBLACKLIST = "InvalidParameterValue.GlobalDomainHitBanBlacklist" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) ModifyGlobalDomainDns ¶ added in v1.0.482
func (c *Client) ModifyGlobalDomainDns(request *ModifyGlobalDomainDnsRequest) (response *ModifyGlobalDomainDnsResponse, err error)
ModifyGlobalDomainDns 修改域名解析记录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) ModifyGlobalDomainDnsWithContext ¶ added in v1.0.482
func (c *Client) ModifyGlobalDomainDnsWithContext(ctx context.Context, request *ModifyGlobalDomainDnsRequest) (response *ModifyGlobalDomainDnsResponse, err error)
ModifyGlobalDomainDns 修改域名解析记录
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) ModifyGroupDomainConfig ¶
func (c *Client) ModifyGroupDomainConfig(request *ModifyGroupDomainConfigRequest) (response *ModifyGroupDomainConfigResponse, err error)
ModifyGroupDomainConfig 本接口(ModifyGroupDomainConfig)用于配置通道组就近接入域名。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyGroupDomainConfigWithContext ¶ added in v1.0.324
func (c *Client) ModifyGroupDomainConfigWithContext(ctx context.Context, request *ModifyGroupDomainConfigRequest) (response *ModifyGroupDomainConfigResponse, err error)
ModifyGroupDomainConfig 本接口(ModifyGroupDomainConfig)用于配置通道组就近接入域名。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyHTTPListenerAttribute ¶
func (c *Client) ModifyHTTPListenerAttribute(request *ModifyHTTPListenerAttributeRequest) (response *ModifyHTTPListenerAttributeResponse, err error)
ModifyHTTPListenerAttribute 该接口(ModifyHTTPListenerAttribute)用于修改通道的HTTP监听器配置信息,目前仅支持修改监听器的名称。
注意:通道组通道暂时不支持HTTP/HTTPS监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) ModifyHTTPListenerAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyHTTPListenerAttributeWithContext(ctx context.Context, request *ModifyHTTPListenerAttributeRequest) (response *ModifyHTTPListenerAttributeResponse, err error)
ModifyHTTPListenerAttribute 该接口(ModifyHTTPListenerAttribute)用于修改通道的HTTP监听器配置信息,目前仅支持修改监听器的名称。
注意:通道组通道暂时不支持HTTP/HTTPS监听器。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_NOTSUPPORTPROXYGROUP = "FailedOperation.NotSupportProxyGroup" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation"
func (*Client) ModifyHTTPSListenerAttribute ¶
func (c *Client) ModifyHTTPSListenerAttribute(request *ModifyHTTPSListenerAttributeRequest) (response *ModifyHTTPSListenerAttributeResponse, err error)
ModifyHTTPSListenerAttribute 该接口(ModifyHTTPSListenerAttribute)用于修改HTTPS监听器配置,当前不支持通道组和v1版本通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyHTTPSListenerAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyHTTPSListenerAttributeWithContext(ctx context.Context, request *ModifyHTTPSListenerAttributeRequest) (response *ModifyHTTPSListenerAttributeResponse, err error)
ModifyHTTPSListenerAttribute 该接口(ModifyHTTPSListenerAttribute)用于修改HTTPS监听器配置,当前不支持通道组和v1版本通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyProxiesAttribute ¶
func (c *Client) ModifyProxiesAttribute(request *ModifyProxiesAttributeRequest) (response *ModifyProxiesAttributeResponse, err error)
ModifyProxiesAttribute 本接口(ModifyProxiesAttribute)用于修改实例的属性(目前只支持修改通道的名称)。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxiesAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyProxiesAttributeWithContext(ctx context.Context, request *ModifyProxiesAttributeRequest) (response *ModifyProxiesAttributeResponse, err error)
ModifyProxiesAttribute 本接口(ModifyProxiesAttribute)用于修改实例的属性(目前只支持修改通道的名称)。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_RESOURCECANNOTACCESS = "FailedOperation.ResourceCanNotAccess" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_PROJECTIDNOTBELONG = "InvalidParameterValue.ProjectIdNotBelong" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxiesProject ¶
func (c *Client) ModifyProxiesProject(request *ModifyProxiesProjectRequest) (response *ModifyProxiesProjectResponse, err error)
ModifyProxiesProject 本接口(ModifyProxiesProject)用于修改通道所属项目。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxiesProjectWithContext ¶ added in v1.0.324
func (c *Client) ModifyProxiesProjectWithContext(ctx context.Context, request *ModifyProxiesProjectRequest) (response *ModifyProxiesProjectResponse, err error)
ModifyProxiesProject 本接口(ModifyProxiesProject)用于修改通道所属项目。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxyConfiguration ¶
func (c *Client) ModifyProxyConfiguration(request *ModifyProxyConfigurationRequest) (response *ModifyProxyConfigurationResponse, err error)
ModifyProxyConfiguration 本接口(ModifyProxyConfiguration)用于修改通道的配置。根据当前业务的容量需求,扩容或缩容相关通道的配置。仅支持Scalarable为1的通道,Scalarable可通过接口DescribeProxies获取。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_MIGRATION = "FailedOperation.Migration" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxyConfigurationWithContext ¶ added in v1.0.324
func (c *Client) ModifyProxyConfigurationWithContext(ctx context.Context, request *ModifyProxyConfigurationRequest) (response *ModifyProxyConfigurationResponse, err error)
ModifyProxyConfiguration 本接口(ModifyProxyConfiguration)用于修改通道的配置。根据当前业务的容量需求,扩容或缩容相关通道的配置。仅支持Scalarable为1的通道,Scalarable可通过接口DescribeProxies获取。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_MIGRATION = "FailedOperation.Migration" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_NOTSUPPORTSCALAR = "FailedOperation.NotSupportScalar" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxyGroupAttribute ¶
func (c *Client) ModifyProxyGroupAttribute(request *ModifyProxyGroupAttributeRequest) (response *ModifyProxyGroupAttributeResponse, err error)
ModifyProxyGroupAttribute 本接口(ModifyProxyGroupAttribute)用于修改通道组属性,目前仅支持修改通道组名称。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyProxyGroupAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyProxyGroupAttributeWithContext(ctx context.Context, request *ModifyProxyGroupAttributeRequest) (response *ModifyProxyGroupAttributeResponse, err error)
ModifyProxyGroupAttribute 本接口(ModifyProxyGroupAttribute)用于修改通道组属性,目前仅支持修改通道组名称。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyRealServerName ¶
func (c *Client) ModifyRealServerName(request *ModifyRealServerNameRequest) (response *ModifyRealServerNameResponse, err error)
ModifyRealServerName 本接口(ModifyRealServerName)用于修改源站的名称
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyRealServerNameWithContext ¶ added in v1.0.324
func (c *Client) ModifyRealServerNameWithContext(ctx context.Context, request *ModifyRealServerNameRequest) (response *ModifyRealServerNameResponse, err error)
ModifyRealServerName 本接口(ModifyRealServerName)用于修改源站的名称
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyRuleAttribute ¶
func (c *Client) ModifyRuleAttribute(request *ModifyRuleAttributeRequest) (response *ModifyRuleAttributeResponse, err error)
ModifyRuleAttribute 本接口(ModifyRuleAttribute)用于修改转发规则的信息,包括健康检查的配置以及转发策略。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyRuleAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyRuleAttributeWithContext(ctx context.Context, request *ModifyRuleAttributeRequest) (response *ModifyRuleAttributeResponse, err error)
ModifyRuleAttribute 本接口(ModifyRuleAttribute)用于修改转发规则的信息,包括健康检查的配置以及转发策略。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_RULEALREADYEXISTED = "FailedOperation.RuleAlreadyExisted" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifySecurityRule ¶
func (c *Client) ModifySecurityRule(request *ModifySecurityRuleRequest) (response *ModifySecurityRuleResponse, err error)
ModifySecurityRule 修改安全策略规则名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule" FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule" FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifySecurityRuleWithContext ¶ added in v1.0.324
func (c *Client) ModifySecurityRuleWithContext(ctx context.Context, request *ModifySecurityRuleRequest) (response *ModifySecurityRuleResponse, err error)
ModifySecurityRule 修改安全策略规则名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_PROXYSECURITYPOLICYDEFAULTRULE = "FailedOperation.ProxySecurityPolicyDefaultRule" FAILEDOPERATION_PROXYSECURITYPOLICYDUPLICATEDRULE = "FailedOperation.ProxySecurityPolicyDuplicatedRule" FAILEDOPERATION_PROXYSECURITYPOLICYOPERATING = "FailedOperation.ProxySecurityPolicyOperating" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) ModifyTCPListenerAttribute ¶
func (c *Client) ModifyTCPListenerAttribute(request *ModifyTCPListenerAttributeRequest) (response *ModifyTCPListenerAttributeResponse, err error)
ModifyTCPListenerAttribute 本接口(ModifyTCPListenerAttribute)用于修改通道实例下TCP监听器配置,包括健康检查的配置,调度策略。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyTCPListenerAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyTCPListenerAttributeWithContext(ctx context.Context, request *ModifyTCPListenerAttributeRequest) (response *ModifyTCPListenerAttributeResponse, err error)
ModifyTCPListenerAttribute 本接口(ModifyTCPListenerAttribute)用于修改通道实例下TCP监听器配置,包括健康检查的配置,调度策略。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyUDPListenerAttribute ¶
func (c *Client) ModifyUDPListenerAttribute(request *ModifyUDPListenerAttributeRequest) (response *ModifyUDPListenerAttributeResponse, err error)
ModifyUDPListenerAttribute 本接口(ModifyUDPListenerAttribute)用于修改通道实例下UDP监听器配置,包括监听器名称和调度策略的修改。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) ModifyUDPListenerAttributeWithContext ¶ added in v1.0.324
func (c *Client) ModifyUDPListenerAttributeWithContext(ctx context.Context, request *ModifyUDPListenerAttributeRequest) (response *ModifyUDPListenerAttributeResponse, err error)
ModifyUDPListenerAttribute 本接口(ModifyUDPListenerAttribute)用于修改通道实例下UDP监听器配置,包括监听器名称和调度策略的修改。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_GROUPSTATUSNOTINRUNING = "FailedOperation.GroupStatusNotInRuning" FAILEDOPERATION_INSTANCESTATUSNOTINRUNING = "FailedOperation.InstanceStatusNotInRuning" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NONSTANDARDPROXY = "FailedOperation.NonStandardProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation"
func (*Client) OpenProxies ¶
func (c *Client) OpenProxies(request *OpenProxiesRequest) (response *OpenProxiesResponse, err error)
OpenProxies 该接口(OpenProxies)用于开启一条或者多条通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION_CROSSBORDERINISOLATING = "UnauthorizedOperation.CrossBorderInIsolating" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) OpenProxiesWithContext ¶ added in v1.0.324
func (c *Client) OpenProxiesWithContext(ctx context.Context, request *OpenProxiesRequest) (response *OpenProxiesResponse, err error)
OpenProxies 该接口(OpenProxies)用于开启一条或者多条通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION_CROSSBORDERINISOLATING = "UnauthorizedOperation.CrossBorderInIsolating" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) OpenProxyGroup ¶
func (c *Client) OpenProxyGroup(request *OpenProxyGroupRequest) (response *OpenProxyGroupResponse, err error)
OpenProxyGroup 该接口(OpenProxyGroup)用于开启一条通道组中的所有通道
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) OpenProxyGroupWithContext ¶ added in v1.0.324
func (c *Client) OpenProxyGroupWithContext(ctx context.Context, request *OpenProxyGroupRequest) (response *OpenProxyGroupResponse, err error)
OpenProxyGroup 该接口(OpenProxyGroup)用于开启一条通道组中的所有通道
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACCOUNTBALANCEINSUFFICIENT = "FailedOperation.AccountBalanceInsufficient" FAILEDOPERATION_DUPLICATEDREQUEST = "FailedOperation.DuplicatedRequest" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) OpenSecurityPolicy ¶
func (c *Client) OpenSecurityPolicy(request *OpenSecurityPolicyRequest) (response *OpenSecurityPolicyResponse, err error)
OpenSecurityPolicy 开启安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) OpenSecurityPolicyWithContext ¶ added in v1.0.324
func (c *Client) OpenSecurityPolicyWithContext(ctx context.Context, request *OpenSecurityPolicyRequest) (response *OpenSecurityPolicyResponse, err error)
OpenSecurityPolicy 开启安全策略
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_PROXYSECURITYALREADYOPEN = "FailedOperation.ProxySecurityAlreadyOpen" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) RemoveRealServers ¶
func (c *Client) RemoveRealServers(request *RemoveRealServersRequest) (response *RemoveRealServersResponse, err error)
RemoveRealServers 删除已添加的源站(服务器)IP或域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) RemoveRealServersWithContext ¶ added in v1.0.324
func (c *Client) RemoveRealServersWithContext(ctx context.Context, request *RemoveRealServersRequest) (response *RemoveRealServersResponse, err error)
RemoveRealServers 删除已添加的源站(服务器)IP或域名
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_REALSERVERALREADYBOUND = "FailedOperation.RealServerAlreadyBound" FAILEDOPERATION_UNTAGRESOURCESFAILED = "FailedOperation.UnTagResourcesFailed" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) SetAuthentication ¶
func (c *Client) SetAuthentication(request *SetAuthenticationRequest) (response *SetAuthenticationResponse, err error)
SetAuthentication 本接口(SetAuthentication)用于通道的高级认证配置,包括认证方式选择,以及各种认证方式对应的证书选择。仅支持Version3.0的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
func (*Client) SetAuthenticationWithContext ¶ added in v1.0.324
func (c *Client) SetAuthenticationWithContext(ctx context.Context, request *SetAuthenticationRequest) (response *SetAuthenticationResponse, err error)
SetAuthentication 本接口(SetAuthentication)用于通道的高级认证配置,包括认证方式选择,以及各种认证方式对应的证书选择。仅支持Version3.0的通道。
可能返回的错误码:
AUTHFAILURE = "AuthFailure" AUTHFAILURE_NOTENTERPRISEAUTHORIZATION = "AuthFailure.NotEnterpriseAuthorization" AUTHFAILURE_UNAUTHORIZEDOPERATION = "AuthFailure.UnauthorizedOperation" FAILEDOPERATION = "FailedOperation" FAILEDOPERATION_ACTIONISDOING = "FailedOperation.ActionIsDoing" FAILEDOPERATION_LISTENERHASTASK = "FailedOperation.ListenerHasTask" FAILEDOPERATION_LISTENERSTATUSERROR = "FailedOperation.ListenerStatusError" FAILEDOPERATION_NOTSUPPORTOLDVERSIONPROXY = "FailedOperation.NotSupportOldVersionProxy" FAILEDOPERATION_PROXYVERSIONNOTSUPPORT = "FailedOperation.ProxyVersionNotSupport" FAILEDOPERATION_USERNOTCONFIRMPROTOCOL = "FailedOperation.UserNotConfirmProtocol" INTERNALERROR = "InternalError" INVALIDPARAMETER = "InvalidParameter" INVALIDPARAMETERVALUE = "InvalidParameterValue" INVALIDPARAMETERVALUE_INVALIDCERTIFICATEID = "InvalidParameterValue.InvalidCertificateId" MISSINGPARAMETER = "MissingParameter" RESOURCENOTFOUND = "ResourceNotFound" RESOURCEUNAVAILABLE = "ResourceUnavailable" RESOURCEUNAVAILABLE_ACCOUNTVIOLATION = "ResourceUnavailable.AccountViolation" UNAUTHORIZEDOPERATION = "UnauthorizedOperation" UNKNOWNPARAMETER = "UnknownParameter"
type CloseProxiesRequest ¶
type CloseProxiesRequest struct { *tchttp.BaseRequest // (旧参数,请切换到ProxyIds)通道的实例ID。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道的实例ID。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
func NewCloseProxiesRequest ¶
func NewCloseProxiesRequest() (request *CloseProxiesRequest)
func (*CloseProxiesRequest) FromJsonString ¶
func (r *CloseProxiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseProxiesRequest) ToJsonString ¶
func (r *CloseProxiesRequest) ToJsonString() string
type CloseProxiesRequestParams ¶ added in v1.0.426
type CloseProxiesRequestParams struct { // (旧参数,请切换到ProxyIds)通道的实例ID。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道的实例ID。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
Predefined struct for user
type CloseProxiesResponse ¶
type CloseProxiesResponse struct { *tchttp.BaseResponse Response *CloseProxiesResponseParams `json:"Response"` }
func NewCloseProxiesResponse ¶
func NewCloseProxiesResponse() (response *CloseProxiesResponse)
func (*CloseProxiesResponse) FromJsonString ¶
func (r *CloseProxiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseProxiesResponse) ToJsonString ¶
func (r *CloseProxiesResponse) ToJsonString() string
type CloseProxiesResponseParams ¶ added in v1.0.426
type CloseProxiesResponseParams struct { // 非运行状态下的通道实例ID列表,不可开启。 InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitnil,omitempty" name:"InvalidStatusInstanceSet"` // 开启操作失败的通道实例ID列表。 OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitnil,omitempty" name:"OperationFailedInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseProxyGroupRequest ¶
type CloseProxyGroupRequest struct { *tchttp.BaseRequest // 通道组的实例 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewCloseProxyGroupRequest ¶
func NewCloseProxyGroupRequest() (request *CloseProxyGroupRequest)
func (*CloseProxyGroupRequest) FromJsonString ¶
func (r *CloseProxyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseProxyGroupRequest) ToJsonString ¶
func (r *CloseProxyGroupRequest) ToJsonString() string
type CloseProxyGroupRequestParams ¶ added in v1.0.426
type CloseProxyGroupRequestParams struct { // 通道组的实例 ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type CloseProxyGroupResponse ¶
type CloseProxyGroupResponse struct { *tchttp.BaseResponse Response *CloseProxyGroupResponseParams `json:"Response"` }
func NewCloseProxyGroupResponse ¶
func NewCloseProxyGroupResponse() (response *CloseProxyGroupResponse)
func (*CloseProxyGroupResponse) FromJsonString ¶
func (r *CloseProxyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseProxyGroupResponse) ToJsonString ¶
func (r *CloseProxyGroupResponse) ToJsonString() string
type CloseProxyGroupResponseParams ¶ added in v1.0.426
type CloseProxyGroupResponseParams struct { // 非运行状态下的通道实例ID列表,不可开启。 InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitnil,omitempty" name:"InvalidStatusInstanceSet"` // 开启操作失败的通道实例ID列表。 OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitnil,omitempty" name:"OperationFailedInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CloseSecurityPolicyRequest ¶
type CloseSecurityPolicyRequest struct { *tchttp.BaseRequest // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 安全组策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewCloseSecurityPolicyRequest ¶
func NewCloseSecurityPolicyRequest() (request *CloseSecurityPolicyRequest)
func (*CloseSecurityPolicyRequest) FromJsonString ¶
func (r *CloseSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseSecurityPolicyRequest) ToJsonString ¶
func (r *CloseSecurityPolicyRequest) ToJsonString() string
type CloseSecurityPolicyRequestParams ¶ added in v1.0.426
type CloseSecurityPolicyRequestParams struct { // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 安全组策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type CloseSecurityPolicyResponse ¶
type CloseSecurityPolicyResponse struct { *tchttp.BaseResponse Response *CloseSecurityPolicyResponseParams `json:"Response"` }
func NewCloseSecurityPolicyResponse ¶
func NewCloseSecurityPolicyResponse() (response *CloseSecurityPolicyResponse)
func (*CloseSecurityPolicyResponse) FromJsonString ¶
func (r *CloseSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CloseSecurityPolicyResponse) ToJsonString ¶
func (r *CloseSecurityPolicyResponse) ToJsonString() string
type CloseSecurityPolicyResponseParams ¶ added in v1.0.426
type CloseSecurityPolicyResponseParams struct { // 异步流程ID,可以通过DescribeAsyncTaskStatus 查询流程执行进展和状态 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CountryAreaMap ¶
type CountryAreaMap struct { // 国家名称。 NationCountryName *string `json:"NationCountryName,omitnil,omitempty" name:"NationCountryName"` // 国家编码。 NationCountryInnerCode *string `json:"NationCountryInnerCode,omitnil,omitempty" name:"NationCountryInnerCode"` // 地区名称。 GeographicalZoneName *string `json:"GeographicalZoneName,omitnil,omitempty" name:"GeographicalZoneName"` // 地区编码。 GeographicalZoneInnerCode *string `json:"GeographicalZoneInnerCode,omitnil,omitempty" name:"GeographicalZoneInnerCode"` // 大洲名称。 ContinentName *string `json:"ContinentName,omitnil,omitempty" name:"ContinentName"` // 大洲编码。 ContinentInnerCode *string `json:"ContinentInnerCode,omitnil,omitempty" name:"ContinentInnerCode"` // 标注信息 // 注意:此字段可能返回 null,表示取不到有效值。 Remark *string `json:"Remark,omitnil,omitempty" name:"Remark"` }
type CreateCertificateRequest ¶
type CreateCertificateRequest struct { *tchttp.BaseRequest // 证书类型。其中: // 0,表示基础认证配置; // 1,表示客户端CA证书; // 2,服务器SSL证书; // 3,表示源站CA证书; // 4,表示通道SSL证书。 CertificateType *int64 `json:"CertificateType,omitnil,omitempty" name:"CertificateType"` // 证书内容。采用url编码。其中: // 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 // 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。 CertificateContent *string `json:"CertificateContent,omitnil,omitempty" name:"CertificateContent"` // 证书名称 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` // 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。 CertificateKey *string `json:"CertificateKey,omitnil,omitempty" name:"CertificateKey"` }
func NewCreateCertificateRequest ¶
func NewCreateCertificateRequest() (request *CreateCertificateRequest)
func (*CreateCertificateRequest) FromJsonString ¶
func (r *CreateCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCertificateRequest) ToJsonString ¶
func (r *CreateCertificateRequest) ToJsonString() string
type CreateCertificateRequestParams ¶ added in v1.0.426
type CreateCertificateRequestParams struct { // 证书类型。其中: // 0,表示基础认证配置; // 1,表示客户端CA证书; // 2,服务器SSL证书; // 3,表示源站CA证书; // 4,表示通道SSL证书。 CertificateType *int64 `json:"CertificateType,omitnil,omitempty" name:"CertificateType"` // 证书内容。采用url编码。其中: // 当证书类型为基础认证配置时,该参数填写用户名/密码对。格式:“用户名:密码”,例如:root:FSGdT。其中密码使用htpasswd或者openssl,例如:openssl passwd -crypt 123456。 // 当证书类型为CA/SSL证书时,该参数填写证书内容,格式为pem。 CertificateContent *string `json:"CertificateContent,omitnil,omitempty" name:"CertificateContent"` // 证书名称 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` // 密钥内容。采用url编码。仅当证书类型为SSL证书时,需要填写该参数。格式为pem。 CertificateKey *string `json:"CertificateKey,omitnil,omitempty" name:"CertificateKey"` }
Predefined struct for user
type CreateCertificateResponse ¶
type CreateCertificateResponse struct { *tchttp.BaseResponse Response *CreateCertificateResponseParams `json:"Response"` }
func NewCreateCertificateResponse ¶
func NewCreateCertificateResponse() (response *CreateCertificateResponse)
func (*CreateCertificateResponse) FromJsonString ¶
func (r *CreateCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCertificateResponse) ToJsonString ¶
func (r *CreateCertificateResponse) ToJsonString() string
type CreateCertificateResponseParams ¶ added in v1.0.426
type CreateCertificateResponseParams struct { // 证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateCustomHeaderRequest ¶ added in v1.0.216
type CreateCustomHeaderRequest struct { *tchttp.BaseRequest // 规则id RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 新增的header名称和内容列表, ‘’$remote_addr‘’会被解析替换成客户端ip,其他值原样透传到源站。 Headers []*HttpHeaderParam `json:"Headers,omitnil,omitempty" name:"Headers"` }
func NewCreateCustomHeaderRequest ¶ added in v1.0.216
func NewCreateCustomHeaderRequest() (request *CreateCustomHeaderRequest)
func (*CreateCustomHeaderRequest) FromJsonString ¶ added in v1.0.216
func (r *CreateCustomHeaderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomHeaderRequest) ToJsonString ¶ added in v1.0.216
func (r *CreateCustomHeaderRequest) ToJsonString() string
type CreateCustomHeaderRequestParams ¶ added in v1.0.426
type CreateCustomHeaderRequestParams struct { // 规则id RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 新增的header名称和内容列表, ‘’$remote_addr‘’会被解析替换成客户端ip,其他值原样透传到源站。 Headers []*HttpHeaderParam `json:"Headers,omitnil,omitempty" name:"Headers"` }
Predefined struct for user
type CreateCustomHeaderResponse ¶ added in v1.0.216
type CreateCustomHeaderResponse struct { *tchttp.BaseResponse Response *CreateCustomHeaderResponseParams `json:"Response"` }
func NewCreateCustomHeaderResponse ¶ added in v1.0.216
func NewCreateCustomHeaderResponse() (response *CreateCustomHeaderResponse)
func (*CreateCustomHeaderResponse) FromJsonString ¶ added in v1.0.216
func (r *CreateCustomHeaderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateCustomHeaderResponse) ToJsonString ¶ added in v1.0.216
func (r *CreateCustomHeaderResponse) ToJsonString() string
type CreateCustomHeaderResponseParams ¶ added in v1.0.426
type CreateCustomHeaderResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDomainErrorPageInfoRequest ¶
type CreateDomainErrorPageInfoRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 原始错误码 ErrorNos []*int64 `json:"ErrorNos,omitnil,omitempty" name:"ErrorNos"` // 新的响应包体 Body *string `json:"Body,omitnil,omitempty" name:"Body"` // 新错误码 NewErrorNo *int64 `json:"NewErrorNo,omitnil,omitempty" name:"NewErrorNo"` // 需要删除的响应头 ClearHeaders []*string `json:"ClearHeaders,omitnil,omitempty" name:"ClearHeaders"` // 需要设置的响应头 SetHeaders []*HttpHeaderParam `json:"SetHeaders,omitnil,omitempty" name:"SetHeaders"` }
func NewCreateDomainErrorPageInfoRequest ¶
func NewCreateDomainErrorPageInfoRequest() (request *CreateDomainErrorPageInfoRequest)
func (*CreateDomainErrorPageInfoRequest) FromJsonString ¶
func (r *CreateDomainErrorPageInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainErrorPageInfoRequest) ToJsonString ¶
func (r *CreateDomainErrorPageInfoRequest) ToJsonString() string
type CreateDomainErrorPageInfoRequestParams ¶ added in v1.0.426
type CreateDomainErrorPageInfoRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 原始错误码 ErrorNos []*int64 `json:"ErrorNos,omitnil,omitempty" name:"ErrorNos"` // 新的响应包体 Body *string `json:"Body,omitnil,omitempty" name:"Body"` // 新错误码 NewErrorNo *int64 `json:"NewErrorNo,omitnil,omitempty" name:"NewErrorNo"` // 需要删除的响应头 ClearHeaders []*string `json:"ClearHeaders,omitnil,omitempty" name:"ClearHeaders"` // 需要设置的响应头 SetHeaders []*HttpHeaderParam `json:"SetHeaders,omitnil,omitempty" name:"SetHeaders"` }
Predefined struct for user
type CreateDomainErrorPageInfoResponse ¶
type CreateDomainErrorPageInfoResponse struct { *tchttp.BaseResponse Response *CreateDomainErrorPageInfoResponseParams `json:"Response"` }
func NewCreateDomainErrorPageInfoResponse ¶
func NewCreateDomainErrorPageInfoResponse() (response *CreateDomainErrorPageInfoResponse)
func (*CreateDomainErrorPageInfoResponse) FromJsonString ¶
func (r *CreateDomainErrorPageInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainErrorPageInfoResponse) ToJsonString ¶
func (r *CreateDomainErrorPageInfoResponse) ToJsonString() string
type CreateDomainErrorPageInfoResponseParams ¶ added in v1.0.426
type CreateDomainErrorPageInfoResponseParams struct { // 错误定制响应的配置ID ErrorPageId *string `json:"ErrorPageId,omitnil,omitempty" name:"ErrorPageId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateDomainRequest ¶
type CreateDomainRequest struct { *tchttp.BaseRequest // 监听器ID。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要创建的域名,一个监听器下最大支持100个域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 服务器证书,用于客户端与GAAP的HTTPS的交互。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 客户端CA证书,用于客户端与GAAP的HTTPS的交互。 // 仅当采用双向认证的方式时,需要设置该字段或PolyClientCertificateIds字段。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 客户端CA证书,用于客户端与GAAP的HTTPS的交互。 // 仅当采用双向认证的方式时,需要设置该字段或ClientCertificateId字段。 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` // 是否开启Http3特性的标识,其中: // 0,表示不开启Http3; // 1,表示开启Http3。 // 默认不开启Http3。可以通过SetDomainHttp3开启。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 是否作为默认域名,默认为“否” IsDefaultServer *bool `json:"IsDefaultServer,omitnil,omitempty" name:"IsDefaultServer"` }
func NewCreateDomainRequest ¶
func NewCreateDomainRequest() (request *CreateDomainRequest)
func (*CreateDomainRequest) FromJsonString ¶
func (r *CreateDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainRequest) ToJsonString ¶
func (r *CreateDomainRequest) ToJsonString() string
type CreateDomainRequestParams ¶ added in v1.0.426
type CreateDomainRequestParams struct { // 监听器ID。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要创建的域名,一个监听器下最大支持100个域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 服务器证书,用于客户端与GAAP的HTTPS的交互。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 客户端CA证书,用于客户端与GAAP的HTTPS的交互。 // 仅当采用双向认证的方式时,需要设置该字段或PolyClientCertificateIds字段。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 客户端CA证书,用于客户端与GAAP的HTTPS的交互。 // 仅当采用双向认证的方式时,需要设置该字段或ClientCertificateId字段。 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` // 是否开启Http3特性的标识,其中: // 0,表示不开启Http3; // 1,表示开启Http3。 // 默认不开启Http3。可以通过SetDomainHttp3开启。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 是否作为默认域名,默认为“否” IsDefaultServer *bool `json:"IsDefaultServer,omitnil,omitempty" name:"IsDefaultServer"` }
Predefined struct for user
type CreateDomainResponse ¶
type CreateDomainResponse struct { *tchttp.BaseResponse Response *CreateDomainResponseParams `json:"Response"` }
func NewCreateDomainResponse ¶
func NewCreateDomainResponse() (response *CreateDomainResponse)
func (*CreateDomainResponse) FromJsonString ¶
func (r *CreateDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateDomainResponse) ToJsonString ¶
func (r *CreateDomainResponse) ToJsonString() string
type CreateDomainResponseParams ¶ added in v1.0.426
type CreateDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateFirstLinkSessionRequest ¶ added in v1.0.399
type CreateFirstLinkSessionRequest struct { *tchttp.BaseRequest // 模版ID TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 终端网络信息 SrcAddressInfo *SrcAddressInfo `json:"SrcAddressInfo,omitnil,omitempty" name:"SrcAddressInfo"` // 加速目标网络信息 DestAddressInfo *DestAddressInfo `json:"DestAddressInfo,omitnil,omitempty" name:"DestAddressInfo"` // 终端设备信息 DeviceInfo *DeviceInfo `json:"DeviceInfo,omitnil,omitempty" name:"DeviceInfo"` // 接口扩展参数,如果是电信用户,需要填充CTCC Token字段 Capacity *Capacity `json:"Capacity,omitnil,omitempty" name:"Capacity"` }
func NewCreateFirstLinkSessionRequest ¶ added in v1.0.399
func NewCreateFirstLinkSessionRequest() (request *CreateFirstLinkSessionRequest)
func (*CreateFirstLinkSessionRequest) FromJsonString ¶ added in v1.0.399
func (r *CreateFirstLinkSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirstLinkSessionRequest) ToJsonString ¶ added in v1.0.399
func (r *CreateFirstLinkSessionRequest) ToJsonString() string
type CreateFirstLinkSessionRequestParams ¶ added in v1.0.426
type CreateFirstLinkSessionRequestParams struct { // 模版ID TemplateId *string `json:"TemplateId,omitnil,omitempty" name:"TemplateId"` // 终端网络信息 SrcAddressInfo *SrcAddressInfo `json:"SrcAddressInfo,omitnil,omitempty" name:"SrcAddressInfo"` // 加速目标网络信息 DestAddressInfo *DestAddressInfo `json:"DestAddressInfo,omitnil,omitempty" name:"DestAddressInfo"` // 终端设备信息 DeviceInfo *DeviceInfo `json:"DeviceInfo,omitnil,omitempty" name:"DeviceInfo"` // 接口扩展参数,如果是电信用户,需要填充CTCC Token字段 Capacity *Capacity `json:"Capacity,omitnil,omitempty" name:"Capacity"` }
Predefined struct for user
type CreateFirstLinkSessionResponse ¶ added in v1.0.399
type CreateFirstLinkSessionResponse struct { *tchttp.BaseResponse Response *CreateFirstLinkSessionResponseParams `json:"Response"` }
func NewCreateFirstLinkSessionResponse ¶ added in v1.0.399
func NewCreateFirstLinkSessionResponse() (response *CreateFirstLinkSessionResponse)
func (*CreateFirstLinkSessionResponse) FromJsonString ¶ added in v1.0.399
func (r *CreateFirstLinkSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateFirstLinkSessionResponse) ToJsonString ¶ added in v1.0.399
func (r *CreateFirstLinkSessionResponse) ToJsonString() string
type CreateFirstLinkSessionResponseParams ¶ added in v1.0.426
type CreateFirstLinkSessionResponseParams struct { // 加速成功时返回,单次加速唯一会话Id。。 // 注意:此字段可能返回 null,表示取不到有效值。 SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` // 剩余的加速时间,单位秒。 // 注意:此字段可能返回 null,表示取不到有效值。 Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGlobalDomainDnsRequest ¶ added in v1.0.482
type CreateGlobalDomainDnsRequest struct { *tchttp.BaseRequest // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 通道ID列表 ProxyIdList []*string `json:"ProxyIdList,omitnil,omitempty" name:"ProxyIdList"` // 国家ID列表 NationCountryInnerCodes []*string `json:"NationCountryInnerCodes,omitnil,omitempty" name:"NationCountryInnerCodes"` }
func NewCreateGlobalDomainDnsRequest ¶ added in v1.0.482
func NewCreateGlobalDomainDnsRequest() (request *CreateGlobalDomainDnsRequest)
func (*CreateGlobalDomainDnsRequest) FromJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainDnsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGlobalDomainDnsRequest) ToJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainDnsRequest) ToJsonString() string
type CreateGlobalDomainDnsRequestParams ¶ added in v1.0.482
type CreateGlobalDomainDnsRequestParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 通道ID列表 ProxyIdList []*string `json:"ProxyIdList,omitnil,omitempty" name:"ProxyIdList"` // 国家ID列表 NationCountryInnerCodes []*string `json:"NationCountryInnerCodes,omitnil,omitempty" name:"NationCountryInnerCodes"` }
Predefined struct for user
type CreateGlobalDomainDnsResponse ¶ added in v1.0.482
type CreateGlobalDomainDnsResponse struct { *tchttp.BaseResponse Response *CreateGlobalDomainDnsResponseParams `json:"Response"` }
func NewCreateGlobalDomainDnsResponse ¶ added in v1.0.482
func NewCreateGlobalDomainDnsResponse() (response *CreateGlobalDomainDnsResponse)
func (*CreateGlobalDomainDnsResponse) FromJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainDnsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGlobalDomainDnsResponse) ToJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainDnsResponse) ToJsonString() string
type CreateGlobalDomainDnsResponseParams ¶ added in v1.0.482
type CreateGlobalDomainDnsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateGlobalDomainRequest ¶ added in v1.0.482
type CreateGlobalDomainRequest struct { *tchttp.BaseRequest // 域名所属项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 域名默认入口 DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` // 别名 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 标签列表 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
func NewCreateGlobalDomainRequest ¶ added in v1.0.482
func NewCreateGlobalDomainRequest() (request *CreateGlobalDomainRequest)
func (*CreateGlobalDomainRequest) FromJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGlobalDomainRequest) ToJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainRequest) ToJsonString() string
type CreateGlobalDomainRequestParams ¶ added in v1.0.482
type CreateGlobalDomainRequestParams struct { // 域名所属项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 域名默认入口 DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` // 别名 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 标签列表 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
Predefined struct for user
type CreateGlobalDomainResponse ¶ added in v1.0.482
type CreateGlobalDomainResponse struct { *tchttp.BaseResponse Response *CreateGlobalDomainResponseParams `json:"Response"` }
func NewCreateGlobalDomainResponse ¶ added in v1.0.482
func NewCreateGlobalDomainResponse() (response *CreateGlobalDomainResponse)
func (*CreateGlobalDomainResponse) FromJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateGlobalDomainResponse) ToJsonString ¶ added in v1.0.482
func (r *CreateGlobalDomainResponse) ToJsonString() string
type CreateGlobalDomainResponseParams ¶ added in v1.0.482
type CreateGlobalDomainResponseParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateHTTPListenerRequest ¶
type CreateHTTPListenerRequest struct { *tchttp.BaseRequest // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口,基于同种传输层协议(TCP 或 UDP)的监听器,端口不可重复 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 通道ID,与GroupId不能同时设置,对应为通道创建监听器 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID,与ProxyId不能同时设置,对应为通道组创建监听器 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewCreateHTTPListenerRequest ¶
func NewCreateHTTPListenerRequest() (request *CreateHTTPListenerRequest)
func (*CreateHTTPListenerRequest) FromJsonString ¶
func (r *CreateHTTPListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHTTPListenerRequest) ToJsonString ¶
func (r *CreateHTTPListenerRequest) ToJsonString() string
type CreateHTTPListenerRequestParams ¶ added in v1.0.426
type CreateHTTPListenerRequestParams struct { // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口,基于同种传输层协议(TCP 或 UDP)的监听器,端口不可重复 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 通道ID,与GroupId不能同时设置,对应为通道创建监听器 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID,与ProxyId不能同时设置,对应为通道组创建监听器 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type CreateHTTPListenerResponse ¶
type CreateHTTPListenerResponse struct { *tchttp.BaseResponse Response *CreateHTTPListenerResponseParams `json:"Response"` }
func NewCreateHTTPListenerResponse ¶
func NewCreateHTTPListenerResponse() (response *CreateHTTPListenerResponse)
func (*CreateHTTPListenerResponse) FromJsonString ¶
func (r *CreateHTTPListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHTTPListenerResponse) ToJsonString ¶
func (r *CreateHTTPListenerResponse) ToJsonString() string
type CreateHTTPListenerResponseParams ¶ added in v1.0.426
type CreateHTTPListenerResponseParams struct { // 创建的监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateHTTPSListenerRequest ¶
type CreateHTTPSListenerRequest struct { *tchttp.BaseRequest // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口,基于同种传输层协议(TCP 或 UDP)的监听器,端口不可重复 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 服务器证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 加速通道转发到源站的协议类型:HTTP | HTTPS ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 通道ID,与GroupId之间只能设置一个。表示创建通道的监听器。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 认证类型,其中: // 0,单向认证; // 1,双向认证。 // 默认使用单向认证。 AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"` // 客户端CA单证书ID,仅当双向认证时设置该参数或PolyClientCertificateIds参数 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 新的客户端多CA证书ID,仅当双向认证时设置该参数或设置ClientCertificateId参数 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` // 通道组ID,与ProxyId之间只能设置一个。表示创建通道组的监听器。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 支持Http3的开关,其中: // 0,表示不需要支持Http3接入; // 1,表示需要支持Http3接入。 // 注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。 // 该功能的启停无法在监听器创建完毕后再修改。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
func NewCreateHTTPSListenerRequest ¶
func NewCreateHTTPSListenerRequest() (request *CreateHTTPSListenerRequest)
func (*CreateHTTPSListenerRequest) FromJsonString ¶
func (r *CreateHTTPSListenerRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHTTPSListenerRequest) ToJsonString ¶
func (r *CreateHTTPSListenerRequest) ToJsonString() string
type CreateHTTPSListenerRequestParams ¶ added in v1.0.426
type CreateHTTPSListenerRequestParams struct { // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口,基于同种传输层协议(TCP 或 UDP)的监听器,端口不可重复 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 服务器证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 加速通道转发到源站的协议类型:HTTP | HTTPS ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 通道ID,与GroupId之间只能设置一个。表示创建通道的监听器。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 认证类型,其中: // 0,单向认证; // 1,双向认证。 // 默认使用单向认证。 AuthType *uint64 `json:"AuthType,omitnil,omitempty" name:"AuthType"` // 客户端CA单证书ID,仅当双向认证时设置该参数或PolyClientCertificateIds参数 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 新的客户端多CA证书ID,仅当双向认证时设置该参数或设置ClientCertificateId参数 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` // 通道组ID,与ProxyId之间只能设置一个。表示创建通道组的监听器。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 支持Http3的开关,其中: // 0,表示不需要支持Http3接入; // 1,表示需要支持Http3接入。 // 注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。 // 该功能的启停无法在监听器创建完毕后再修改。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
Predefined struct for user
type CreateHTTPSListenerResponse ¶
type CreateHTTPSListenerResponse struct { *tchttp.BaseResponse Response *CreateHTTPSListenerResponseParams `json:"Response"` }
func NewCreateHTTPSListenerResponse ¶
func NewCreateHTTPSListenerResponse() (response *CreateHTTPSListenerResponse)
func (*CreateHTTPSListenerResponse) FromJsonString ¶
func (r *CreateHTTPSListenerResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateHTTPSListenerResponse) ToJsonString ¶
func (r *CreateHTTPSListenerResponse) ToJsonString() string
type CreateHTTPSListenerResponseParams ¶ added in v1.0.426
type CreateHTTPSListenerResponseParams struct { // 创建的监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProxyGroupDomainRequest ¶
type CreateProxyGroupDomainRequest struct { *tchttp.BaseRequest // 需要开启域名的通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewCreateProxyGroupDomainRequest ¶
func NewCreateProxyGroupDomainRequest() (request *CreateProxyGroupDomainRequest)
func (*CreateProxyGroupDomainRequest) FromJsonString ¶
func (r *CreateProxyGroupDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxyGroupDomainRequest) ToJsonString ¶
func (r *CreateProxyGroupDomainRequest) ToJsonString() string
type CreateProxyGroupDomainRequestParams ¶ added in v1.0.426
type CreateProxyGroupDomainRequestParams struct { // 需要开启域名的通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type CreateProxyGroupDomainResponse ¶
type CreateProxyGroupDomainResponse struct { *tchttp.BaseResponse Response *CreateProxyGroupDomainResponseParams `json:"Response"` }
func NewCreateProxyGroupDomainResponse ¶
func NewCreateProxyGroupDomainResponse() (response *CreateProxyGroupDomainResponse)
func (*CreateProxyGroupDomainResponse) FromJsonString ¶
func (r *CreateProxyGroupDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxyGroupDomainResponse) ToJsonString ¶
func (r *CreateProxyGroupDomainResponse) ToJsonString() string
type CreateProxyGroupDomainResponseParams ¶ added in v1.0.426
type CreateProxyGroupDomainResponseParams struct { // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProxyGroupRequest ¶
type CreateProxyGroupRequest struct { *tchttp.BaseRequest // 通道组所属项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 通道组别名 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 源站地域,参考接口DescribeDestRegions 返回参数RegionDetail中的RegionId RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 标签列表 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 加速地域列表,包括加速地域名,及该地域对应的带宽和并发配置。 AccessRegionSet []*AccessConfiguration `json:"AccessRegionSet,omitnil,omitempty" name:"AccessRegionSet"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道组套餐类型,可取值:Thunder、Accelerator,默认值Thunder PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道组默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
func NewCreateProxyGroupRequest ¶
func NewCreateProxyGroupRequest() (request *CreateProxyGroupRequest)
func (*CreateProxyGroupRequest) FromJsonString ¶
func (r *CreateProxyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxyGroupRequest) ToJsonString ¶
func (r *CreateProxyGroupRequest) ToJsonString() string
type CreateProxyGroupRequestParams ¶ added in v1.0.426
type CreateProxyGroupRequestParams struct { // 通道组所属项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 通道组别名 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 源站地域,参考接口DescribeDestRegions 返回参数RegionDetail中的RegionId RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 标签列表 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 加速地域列表,包括加速地域名,及该地域对应的带宽和并发配置。 AccessRegionSet []*AccessConfiguration `json:"AccessRegionSet,omitnil,omitempty" name:"AccessRegionSet"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道组套餐类型,可取值:Thunder、Accelerator,默认值Thunder PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道组默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
Predefined struct for user
type CreateProxyGroupResponse ¶
type CreateProxyGroupResponse struct { *tchttp.BaseResponse Response *CreateProxyGroupResponseParams `json:"Response"` }
func NewCreateProxyGroupResponse ¶
func NewCreateProxyGroupResponse() (response *CreateProxyGroupResponse)
func (*CreateProxyGroupResponse) FromJsonString ¶
func (r *CreateProxyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxyGroupResponse) ToJsonString ¶
func (r *CreateProxyGroupResponse) ToJsonString() string
type CreateProxyGroupResponseParams ¶ added in v1.0.426
type CreateProxyGroupResponseParams struct { // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateProxyRequest ¶
type CreateProxyRequest struct { *tchttp.BaseRequest // 通道的项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 通道名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 接入地域。 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 源站地域。当GroupId存在时,源站地域为通道组的源站地域,此时可不填该字段。当GroupId不存在时,需要填写该字段 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // 通道所在的通道组ID,当在通道组中创建通道时必带,否则忽略该字段。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道需要添加的标签列表。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 被复制的通道ID。只有处于运行中状态的通道可以被复制。 // 当设置该参数时,表示复制该通道。 ClonedProxyId *string `json:"ClonedProxyId,omitnil,omitempty" name:"ClonedProxyId"` // 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费) BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型,normal表示常规BGP,cn2表示精品BGP,triple表示三网 NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
func NewCreateProxyRequest ¶
func NewCreateProxyRequest() (request *CreateProxyRequest)
func (*CreateProxyRequest) FromJsonString ¶
func (r *CreateProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxyRequest) ToJsonString ¶
func (r *CreateProxyRequest) ToJsonString() string
type CreateProxyRequestParams ¶ added in v1.0.426
type CreateProxyRequestParams struct { // 通道的项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 通道名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 接入地域。 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 源站地域。当GroupId存在时,源站地域为通道组的源站地域,此时可不填该字段。当GroupId不存在时,需要填写该字段 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // 通道所在的通道组ID,当在通道组中创建通道时必带,否则忽略该字段。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道需要添加的标签列表。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 被复制的通道ID。只有处于运行中状态的通道可以被复制。 // 当设置该参数时,表示复制该通道。 ClonedProxyId *string `json:"ClonedProxyId,omitnil,omitempty" name:"ClonedProxyId"` // 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费) BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型,normal表示常规BGP,cn2表示精品BGP,triple表示三网 NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
Predefined struct for user
type CreateProxyResponse ¶
type CreateProxyResponse struct { *tchttp.BaseResponse Response *CreateProxyResponseParams `json:"Response"` }
func NewCreateProxyResponse ¶
func NewCreateProxyResponse() (response *CreateProxyResponse)
func (*CreateProxyResponse) FromJsonString ¶
func (r *CreateProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateProxyResponse) ToJsonString ¶
func (r *CreateProxyResponse) ToJsonString() string
type CreateProxyResponseParams ¶ added in v1.0.426
type CreateProxyResponseParams 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 CreateRuleRequest ¶
type CreateRuleRequest struct { *tchttp.BaseRequest // 7层监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 转发规则的域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 转发规则的路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 转发规则对应源站的类型,支持IP和DOMAIN类型。 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 规则是否开启健康检查,1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 源站健康检查相关参数 CheckParams *RuleCheckParams `json:"CheckParams,omitnil,omitempty" name:"CheckParams"` // 加速通道转发到源站的协议类型:支持HTTP或HTTPS。 // 不传递该字段时表示使用对应监听器的ForwardProtocol。 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 回源Host。加速通道转发到源站的host,不设置该参数时,使用默认的host设置,即客户端发起的http请求的host。 ForwardHost *string `json:"ForwardHost,omitnil,omitempty" name:"ForwardHost"` // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。创建HTTP监听器转发规则时,SNI功能默认关闭。 ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitnil,omitempty" name:"ServerNameIndicationSwitch"` // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 ServerNameIndication *string `json:"ServerNameIndication,omitnil,omitempty" name:"ServerNameIndication"` // HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。 ForcedRedirect *string `json:"ForcedRedirect,omitnil,omitempty" name:"ForcedRedirect"` }
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 ¶ added in v1.0.426
type CreateRuleRequestParams struct { // 7层监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 转发规则的域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 转发规则的路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 转发规则对应源站的类型,支持IP和DOMAIN类型。 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 规则是否开启健康检查,1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 源站健康检查相关参数 CheckParams *RuleCheckParams `json:"CheckParams,omitnil,omitempty" name:"CheckParams"` // 加速通道转发到源站的协议类型:支持HTTP或HTTPS。 // 不传递该字段时表示使用对应监听器的ForwardProtocol。 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 回源Host。加速通道转发到源站的host,不设置该参数时,使用默认的host设置,即客户端发起的http请求的host。 ForwardHost *string `json:"ForwardHost,omitnil,omitempty" name:"ForwardHost"` // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。创建HTTP监听器转发规则时,SNI功能默认关闭。 ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitnil,omitempty" name:"ServerNameIndicationSwitch"` // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 ServerNameIndication *string `json:"ServerNameIndication,omitnil,omitempty" name:"ServerNameIndication"` // HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。 ForcedRedirect *string `json:"ForcedRedirect,omitnil,omitempty" name:"ForcedRedirect"` }
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 ¶ added in v1.0.426
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 CreateSecurityPolicyRequest ¶
type CreateSecurityPolicyRequest struct { *tchttp.BaseRequest // 默认策略:ACCEPT或DROP DefaultAction *string `json:"DefaultAction,omitnil,omitempty" name:"DefaultAction"` // 加速通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewCreateSecurityPolicyRequest ¶
func NewCreateSecurityPolicyRequest() (request *CreateSecurityPolicyRequest)
func (*CreateSecurityPolicyRequest) FromJsonString ¶
func (r *CreateSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityPolicyRequest) ToJsonString ¶
func (r *CreateSecurityPolicyRequest) ToJsonString() string
type CreateSecurityPolicyRequestParams ¶ added in v1.0.426
type CreateSecurityPolicyRequestParams struct { // 默认策略:ACCEPT或DROP DefaultAction *string `json:"DefaultAction,omitnil,omitempty" name:"DefaultAction"` // 加速通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type CreateSecurityPolicyResponse ¶
type CreateSecurityPolicyResponse struct { *tchttp.BaseResponse Response *CreateSecurityPolicyResponseParams `json:"Response"` }
func NewCreateSecurityPolicyResponse ¶
func NewCreateSecurityPolicyResponse() (response *CreateSecurityPolicyResponse)
func (*CreateSecurityPolicyResponse) FromJsonString ¶
func (r *CreateSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityPolicyResponse) ToJsonString ¶
func (r *CreateSecurityPolicyResponse) ToJsonString() string
type CreateSecurityPolicyResponseParams ¶ added in v1.0.426
type CreateSecurityPolicyResponseParams struct { // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateSecurityRulesRequest ¶
type CreateSecurityRulesRequest struct { *tchttp.BaseRequest // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 访问规则列表 RuleList []*SecurityPolicyRuleIn `json:"RuleList,omitnil,omitempty" name:"RuleList"` }
func NewCreateSecurityRulesRequest ¶
func NewCreateSecurityRulesRequest() (request *CreateSecurityRulesRequest)
func (*CreateSecurityRulesRequest) FromJsonString ¶
func (r *CreateSecurityRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityRulesRequest) ToJsonString ¶
func (r *CreateSecurityRulesRequest) ToJsonString() string
type CreateSecurityRulesRequestParams ¶ added in v1.0.426
type CreateSecurityRulesRequestParams struct { // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 访问规则列表 RuleList []*SecurityPolicyRuleIn `json:"RuleList,omitnil,omitempty" name:"RuleList"` }
Predefined struct for user
type CreateSecurityRulesResponse ¶
type CreateSecurityRulesResponse struct { *tchttp.BaseResponse Response *CreateSecurityRulesResponseParams `json:"Response"` }
func NewCreateSecurityRulesResponse ¶
func NewCreateSecurityRulesResponse() (response *CreateSecurityRulesResponse)
func (*CreateSecurityRulesResponse) FromJsonString ¶
func (r *CreateSecurityRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateSecurityRulesResponse) ToJsonString ¶
func (r *CreateSecurityRulesResponse) ToJsonString() string
type CreateSecurityRulesResponseParams ¶ added in v1.0.426
type CreateSecurityRulesResponseParams struct { // 规则ID列表 RuleIdList []*string `json:"RuleIdList,omitnil,omitempty" name:"RuleIdList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateTCPListenersRequest ¶
type CreateTCPListenersRequest struct { *tchttp.BaseRequest // 监听器名称。 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口列表。 Ports []*uint64 `json:"Ports,omitnil,omitempty" name:"Ports"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站是否开启健康检查:1开启,0关闭,UDP监听器不支持健康检查 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 监听器绑定源站类型。IP表示IP地址,DOMAIN表示域名。 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 源站端口列表,该参数仅支持v1版本监听器和通道组监听器。 RealServerPorts []*uint64 `json:"RealServerPorts,omitnil,omitempty" name:"RealServerPorts"` // 监听器获取客户端 IP 的方式,0表示 TOA, 1表示Proxy Protocol ClientIPMethod *int64 `json:"ClientIPMethod,omitnil,omitempty" name:"ClientIPMethod"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` }
func NewCreateTCPListenersRequest ¶
func NewCreateTCPListenersRequest() (request *CreateTCPListenersRequest)
func (*CreateTCPListenersRequest) FromJsonString ¶
func (r *CreateTCPListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTCPListenersRequest) ToJsonString ¶
func (r *CreateTCPListenersRequest) ToJsonString() string
type CreateTCPListenersRequestParams ¶ added in v1.0.426
type CreateTCPListenersRequestParams struct { // 监听器名称。 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口列表。 Ports []*uint64 `json:"Ports,omitnil,omitempty" name:"Ports"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站是否开启健康检查:1开启,0关闭,UDP监听器不支持健康检查 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 监听器绑定源站类型。IP表示IP地址,DOMAIN表示域名。 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 源站端口列表,该参数仅支持v1版本监听器和通道组监听器。 RealServerPorts []*uint64 `json:"RealServerPorts,omitnil,omitempty" name:"RealServerPorts"` // 监听器获取客户端 IP 的方式,0表示 TOA, 1表示Proxy Protocol ClientIPMethod *int64 `json:"ClientIPMethod,omitnil,omitempty" name:"ClientIPMethod"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` }
Predefined struct for user
type CreateTCPListenersResponse ¶
type CreateTCPListenersResponse struct { *tchttp.BaseResponse Response *CreateTCPListenersResponseParams `json:"Response"` }
func NewCreateTCPListenersResponse ¶
func NewCreateTCPListenersResponse() (response *CreateTCPListenersResponse)
func (*CreateTCPListenersResponse) FromJsonString ¶
func (r *CreateTCPListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateTCPListenersResponse) ToJsonString ¶
func (r *CreateTCPListenersResponse) ToJsonString() string
type CreateTCPListenersResponseParams ¶ added in v1.0.426
type CreateTCPListenersResponseParams struct { // 返回监听器ID ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type CreateUDPListenersRequest ¶
type CreateUDPListenersRequest struct { *tchttp.BaseRequest // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口列表 Ports []*uint64 `json:"Ports,omitnil,omitempty" name:"Ports"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 监听器绑定源站类型。IP表示IP地址,DOMAIN表示域名。 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站端口列表,该参数仅支持v1版本监听器和通道组监听器 RealServerPorts []*uint64 `json:"RealServerPorts,omitnil,omitempty" name:"RealServerPorts"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 源站是否开启健康检查:1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // UDP源站健康类型。PORT表示检查端口,PING表示PING。 CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // UDP源站健康检查探测端口。 CheckPort *int64 `json:"CheckPort,omitnil,omitempty" name:"CheckPort"` // UDP源站健康检查端口探测报文类型:TEXT表示文本。仅在健康检查类型为PORT时使用。 ContextType *string `json:"ContextType,omitnil,omitempty" name:"ContextType"` // UDP源站健康检查端口探测发送报文。仅在健康检查类型为PORT时使用。 SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // UDP源站健康检查端口探测接收报文。仅在健康检查类型为PORT时使用。 RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` }
func NewCreateUDPListenersRequest ¶
func NewCreateUDPListenersRequest() (request *CreateUDPListenersRequest)
func (*CreateUDPListenersRequest) FromJsonString ¶
func (r *CreateUDPListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUDPListenersRequest) ToJsonString ¶
func (r *CreateUDPListenersRequest) ToJsonString() string
type CreateUDPListenersRequestParams ¶ added in v1.0.426
type CreateUDPListenersRequestParams struct { // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口列表 Ports []*uint64 `json:"Ports,omitnil,omitempty" name:"Ports"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 监听器绑定源站类型。IP表示IP地址,DOMAIN表示域名。 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 源站端口列表,该参数仅支持v1版本监听器和通道组监听器 RealServerPorts []*uint64 `json:"RealServerPorts,omitnil,omitempty" name:"RealServerPorts"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 源站是否开启健康检查:1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // UDP源站健康类型。PORT表示检查端口,PING表示PING。 CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // UDP源站健康检查探测端口。 CheckPort *int64 `json:"CheckPort,omitnil,omitempty" name:"CheckPort"` // UDP源站健康检查端口探测报文类型:TEXT表示文本。仅在健康检查类型为PORT时使用。 ContextType *string `json:"ContextType,omitnil,omitempty" name:"ContextType"` // UDP源站健康检查端口探测发送报文。仅在健康检查类型为PORT时使用。 SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // UDP源站健康检查端口探测接收报文。仅在健康检查类型为PORT时使用。 RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` }
Predefined struct for user
type CreateUDPListenersResponse ¶
type CreateUDPListenersResponse struct { *tchttp.BaseResponse Response *CreateUDPListenersResponseParams `json:"Response"` }
func NewCreateUDPListenersResponse ¶
func NewCreateUDPListenersResponse() (response *CreateUDPListenersResponse)
func (*CreateUDPListenersResponse) FromJsonString ¶
func (r *CreateUDPListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateUDPListenersResponse) ToJsonString ¶
func (r *CreateUDPListenersResponse) ToJsonString() string
type CreateUDPListenersResponseParams ¶ added in v1.0.426
type CreateUDPListenersResponseParams struct { // 返回监听器ID ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteCertificateRequest ¶
type DeleteCertificateRequest struct { *tchttp.BaseRequest // 需要删除的证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` }
func NewDeleteCertificateRequest ¶
func NewDeleteCertificateRequest() (request *DeleteCertificateRequest)
func (*DeleteCertificateRequest) FromJsonString ¶
func (r *DeleteCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCertificateRequest) ToJsonString ¶
func (r *DeleteCertificateRequest) ToJsonString() string
type DeleteCertificateRequestParams ¶ added in v1.0.426
type DeleteCertificateRequestParams struct { // 需要删除的证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` }
Predefined struct for user
type DeleteCertificateResponse ¶
type DeleteCertificateResponse struct { *tchttp.BaseResponse Response *DeleteCertificateResponseParams `json:"Response"` }
func NewDeleteCertificateResponse ¶
func NewDeleteCertificateResponse() (response *DeleteCertificateResponse)
func (*DeleteCertificateResponse) FromJsonString ¶
func (r *DeleteCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteCertificateResponse) ToJsonString ¶
func (r *DeleteCertificateResponse) ToJsonString() string
type DeleteCertificateResponseParams ¶ added in v1.0.426
type DeleteCertificateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDomainErrorPageInfoRequest ¶
type DeleteDomainErrorPageInfoRequest struct { *tchttp.BaseRequest // 定制错误响应页的唯一ID,请参考CreateDomainErrorPageInfo的响应 ErrorPageId *string `json:"ErrorPageId,omitnil,omitempty" name:"ErrorPageId"` }
func NewDeleteDomainErrorPageInfoRequest ¶
func NewDeleteDomainErrorPageInfoRequest() (request *DeleteDomainErrorPageInfoRequest)
func (*DeleteDomainErrorPageInfoRequest) FromJsonString ¶
func (r *DeleteDomainErrorPageInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainErrorPageInfoRequest) ToJsonString ¶
func (r *DeleteDomainErrorPageInfoRequest) ToJsonString() string
type DeleteDomainErrorPageInfoRequestParams ¶ added in v1.0.426
type DeleteDomainErrorPageInfoRequestParams struct { // 定制错误响应页的唯一ID,请参考CreateDomainErrorPageInfo的响应 ErrorPageId *string `json:"ErrorPageId,omitnil,omitempty" name:"ErrorPageId"` }
Predefined struct for user
type DeleteDomainErrorPageInfoResponse ¶
type DeleteDomainErrorPageInfoResponse struct { *tchttp.BaseResponse Response *DeleteDomainErrorPageInfoResponseParams `json:"Response"` }
func NewDeleteDomainErrorPageInfoResponse ¶
func NewDeleteDomainErrorPageInfoResponse() (response *DeleteDomainErrorPageInfoResponse)
func (*DeleteDomainErrorPageInfoResponse) FromJsonString ¶
func (r *DeleteDomainErrorPageInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainErrorPageInfoResponse) ToJsonString ¶
func (r *DeleteDomainErrorPageInfoResponse) ToJsonString() string
type DeleteDomainErrorPageInfoResponseParams ¶ added in v1.0.426
type DeleteDomainErrorPageInfoResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteDomainRequest ¶
type DeleteDomainRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要删除的域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 是否强制删除已绑定源站的转发规则,0非强制,1强制。 // 当采用非强制删除时,如果域名下已有规则绑定了源站,则无法删除。 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` }
func NewDeleteDomainRequest ¶
func NewDeleteDomainRequest() (request *DeleteDomainRequest)
func (*DeleteDomainRequest) FromJsonString ¶
func (r *DeleteDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainRequest) ToJsonString ¶
func (r *DeleteDomainRequest) ToJsonString() string
type DeleteDomainRequestParams ¶ added in v1.0.426
type DeleteDomainRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要删除的域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 是否强制删除已绑定源站的转发规则,0非强制,1强制。 // 当采用非强制删除时,如果域名下已有规则绑定了源站,则无法删除。 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type DeleteDomainResponse ¶
type DeleteDomainResponse struct { *tchttp.BaseResponse Response *DeleteDomainResponseParams `json:"Response"` }
func NewDeleteDomainResponse ¶
func NewDeleteDomainResponse() (response *DeleteDomainResponse)
func (*DeleteDomainResponse) FromJsonString ¶
func (r *DeleteDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteDomainResponse) ToJsonString ¶
func (r *DeleteDomainResponse) ToJsonString() string
type DeleteDomainResponseParams ¶ added in v1.0.426
type DeleteDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteFirstLinkSessionRequest ¶ added in v1.0.399
type DeleteFirstLinkSessionRequest struct { *tchttp.BaseRequest // 单次加速唯一会话Id SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
func NewDeleteFirstLinkSessionRequest ¶ added in v1.0.399
func NewDeleteFirstLinkSessionRequest() (request *DeleteFirstLinkSessionRequest)
func (*DeleteFirstLinkSessionRequest) FromJsonString ¶ added in v1.0.399
func (r *DeleteFirstLinkSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirstLinkSessionRequest) ToJsonString ¶ added in v1.0.399
func (r *DeleteFirstLinkSessionRequest) ToJsonString() string
type DeleteFirstLinkSessionRequestParams ¶ added in v1.0.426
type DeleteFirstLinkSessionRequestParams struct { // 单次加速唯一会话Id SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
Predefined struct for user
type DeleteFirstLinkSessionResponse ¶ added in v1.0.399
type DeleteFirstLinkSessionResponse struct { *tchttp.BaseResponse Response *DeleteFirstLinkSessionResponseParams `json:"Response"` }
func NewDeleteFirstLinkSessionResponse ¶ added in v1.0.399
func NewDeleteFirstLinkSessionResponse() (response *DeleteFirstLinkSessionResponse)
func (*DeleteFirstLinkSessionResponse) FromJsonString ¶ added in v1.0.399
func (r *DeleteFirstLinkSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteFirstLinkSessionResponse) ToJsonString ¶ added in v1.0.399
func (r *DeleteFirstLinkSessionResponse) ToJsonString() string
type DeleteFirstLinkSessionResponseParams ¶ added in v1.0.426
type DeleteFirstLinkSessionResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGlobalDomainDnsRequest ¶ added in v1.0.482
type DeleteGlobalDomainDnsRequest struct { *tchttp.BaseRequest // 解析记录的ID DnsRecordId *uint64 `json:"DnsRecordId,omitnil,omitempty" name:"DnsRecordId"` }
func NewDeleteGlobalDomainDnsRequest ¶ added in v1.0.482
func NewDeleteGlobalDomainDnsRequest() (request *DeleteGlobalDomainDnsRequest)
func (*DeleteGlobalDomainDnsRequest) FromJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainDnsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGlobalDomainDnsRequest) ToJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainDnsRequest) ToJsonString() string
type DeleteGlobalDomainDnsRequestParams ¶ added in v1.0.482
type DeleteGlobalDomainDnsRequestParams struct { // 解析记录的ID DnsRecordId *uint64 `json:"DnsRecordId,omitnil,omitempty" name:"DnsRecordId"` }
Predefined struct for user
type DeleteGlobalDomainDnsResponse ¶ added in v1.0.482
type DeleteGlobalDomainDnsResponse struct { *tchttp.BaseResponse Response *DeleteGlobalDomainDnsResponseParams `json:"Response"` }
func NewDeleteGlobalDomainDnsResponse ¶ added in v1.0.482
func NewDeleteGlobalDomainDnsResponse() (response *DeleteGlobalDomainDnsResponse)
func (*DeleteGlobalDomainDnsResponse) FromJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainDnsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGlobalDomainDnsResponse) ToJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainDnsResponse) ToJsonString() string
type DeleteGlobalDomainDnsResponseParams ¶ added in v1.0.482
type DeleteGlobalDomainDnsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteGlobalDomainRequest ¶ added in v1.0.482
type DeleteGlobalDomainRequest struct { *tchttp.BaseRequest // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
func NewDeleteGlobalDomainRequest ¶ added in v1.0.482
func NewDeleteGlobalDomainRequest() (request *DeleteGlobalDomainRequest)
func (*DeleteGlobalDomainRequest) FromJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGlobalDomainRequest) ToJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainRequest) ToJsonString() string
type DeleteGlobalDomainRequestParams ¶ added in v1.0.482
type DeleteGlobalDomainRequestParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
Predefined struct for user
type DeleteGlobalDomainResponse ¶ added in v1.0.482
type DeleteGlobalDomainResponse struct { *tchttp.BaseResponse Response *DeleteGlobalDomainResponseParams `json:"Response"` }
func NewDeleteGlobalDomainResponse ¶ added in v1.0.482
func NewDeleteGlobalDomainResponse() (response *DeleteGlobalDomainResponse)
func (*DeleteGlobalDomainResponse) FromJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteGlobalDomainResponse) ToJsonString ¶ added in v1.0.482
func (r *DeleteGlobalDomainResponse) ToJsonString() string
type DeleteGlobalDomainResponseParams ¶ added in v1.0.482
type DeleteGlobalDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteListenersRequest ¶
type DeleteListenersRequest struct { *tchttp.BaseRequest // 待删除的监听器ID列表 ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // 已绑定源站的监听器是否允许强制删除,1:允许, 0:不允许 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` // 通道组ID,该参数和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道ID,该参数和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
func NewDeleteListenersRequest ¶
func NewDeleteListenersRequest() (request *DeleteListenersRequest)
func (*DeleteListenersRequest) FromJsonString ¶
func (r *DeleteListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteListenersRequest) ToJsonString ¶
func (r *DeleteListenersRequest) ToJsonString() string
type DeleteListenersRequestParams ¶ added in v1.0.426
type DeleteListenersRequestParams struct { // 待删除的监听器ID列表 ListenerIds []*string `json:"ListenerIds,omitnil,omitempty" name:"ListenerIds"` // 已绑定源站的监听器是否允许强制删除,1:允许, 0:不允许 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` // 通道组ID,该参数和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道ID,该参数和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
Predefined struct for user
type DeleteListenersResponse ¶
type DeleteListenersResponse struct { *tchttp.BaseResponse Response *DeleteListenersResponseParams `json:"Response"` }
func NewDeleteListenersResponse ¶
func NewDeleteListenersResponse() (response *DeleteListenersResponse)
func (*DeleteListenersResponse) FromJsonString ¶
func (r *DeleteListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteListenersResponse) ToJsonString ¶
func (r *DeleteListenersResponse) ToJsonString() string
type DeleteListenersResponseParams ¶ added in v1.0.426
type DeleteListenersResponseParams struct { // 删除操作失败的监听器ID列表 OperationFailedListenerSet []*string `json:"OperationFailedListenerSet,omitnil,omitempty" name:"OperationFailedListenerSet"` // 删除操作成功的监听器ID列表 OperationSucceedListenerSet []*string `json:"OperationSucceedListenerSet,omitnil,omitempty" name:"OperationSucceedListenerSet"` // 无效的监听器ID列表,如:监听器不存在,监听器对应实例不匹配 InvalidStatusListenerSet []*string `json:"InvalidStatusListenerSet,omitnil,omitempty" name:"InvalidStatusListenerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteProxyGroupRequest ¶
type DeleteProxyGroupRequest struct { *tchttp.BaseRequest // 需要删除的通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 强制删除标识。其中: // 0,不强制删除, // 1,强制删除。 // 默认为0,当通道组中存在通道或通道组中存在监听器/规则绑定了源站时,且Force为0时,该操作会返回失败。 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` }
func NewDeleteProxyGroupRequest ¶
func NewDeleteProxyGroupRequest() (request *DeleteProxyGroupRequest)
func (*DeleteProxyGroupRequest) FromJsonString ¶
func (r *DeleteProxyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProxyGroupRequest) ToJsonString ¶
func (r *DeleteProxyGroupRequest) ToJsonString() string
type DeleteProxyGroupRequestParams ¶ added in v1.0.426
type DeleteProxyGroupRequestParams struct { // 需要删除的通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 强制删除标识。其中: // 0,不强制删除, // 1,强制删除。 // 默认为0,当通道组中存在通道或通道组中存在监听器/规则绑定了源站时,且Force为0时,该操作会返回失败。 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type DeleteProxyGroupResponse ¶
type DeleteProxyGroupResponse struct { *tchttp.BaseResponse Response *DeleteProxyGroupResponseParams `json:"Response"` }
func NewDeleteProxyGroupResponse ¶
func NewDeleteProxyGroupResponse() (response *DeleteProxyGroupResponse)
func (*DeleteProxyGroupResponse) FromJsonString ¶
func (r *DeleteProxyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteProxyGroupResponse) ToJsonString ¶
func (r *DeleteProxyGroupResponse) ToJsonString() string
type DeleteProxyGroupResponseParams ¶ added in v1.0.426
type DeleteProxyGroupResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteRuleRequest ¶
type DeleteRuleRequest struct { *tchttp.BaseRequest // 7层监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 是否可以强制删除已绑定源站的转发规则,0非强制,1强制 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` }
func NewDeleteRuleRequest ¶
func NewDeleteRuleRequest() (request *DeleteRuleRequest)
func (*DeleteRuleRequest) FromJsonString ¶
func (r *DeleteRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRuleRequest) ToJsonString ¶
func (r *DeleteRuleRequest) ToJsonString() string
type DeleteRuleRequestParams ¶ added in v1.0.426
type DeleteRuleRequestParams struct { // 7层监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 是否可以强制删除已绑定源站的转发规则,0非强制,1强制 Force *uint64 `json:"Force,omitnil,omitempty" name:"Force"` }
Predefined struct for user
type DeleteRuleResponse ¶
type DeleteRuleResponse struct { *tchttp.BaseResponse Response *DeleteRuleResponseParams `json:"Response"` }
func NewDeleteRuleResponse ¶
func NewDeleteRuleResponse() (response *DeleteRuleResponse)
func (*DeleteRuleResponse) FromJsonString ¶
func (r *DeleteRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteRuleResponse) ToJsonString ¶
func (r *DeleteRuleResponse) ToJsonString() string
type DeleteRuleResponseParams ¶ added in v1.0.426
type DeleteRuleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityPolicyRequest ¶
type DeleteSecurityPolicyRequest struct { *tchttp.BaseRequest // 策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewDeleteSecurityPolicyRequest ¶
func NewDeleteSecurityPolicyRequest() (request *DeleteSecurityPolicyRequest)
func (*DeleteSecurityPolicyRequest) FromJsonString ¶
func (r *DeleteSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityPolicyRequest) ToJsonString ¶
func (r *DeleteSecurityPolicyRequest) ToJsonString() string
type DeleteSecurityPolicyRequestParams ¶ added in v1.0.426
type DeleteSecurityPolicyRequestParams struct { // 策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type DeleteSecurityPolicyResponse ¶
type DeleteSecurityPolicyResponse struct { *tchttp.BaseResponse Response *DeleteSecurityPolicyResponseParams `json:"Response"` }
func NewDeleteSecurityPolicyResponse ¶
func NewDeleteSecurityPolicyResponse() (response *DeleteSecurityPolicyResponse)
func (*DeleteSecurityPolicyResponse) FromJsonString ¶
func (r *DeleteSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityPolicyResponse) ToJsonString ¶
func (r *DeleteSecurityPolicyResponse) ToJsonString() string
type DeleteSecurityPolicyResponseParams ¶ added in v1.0.426
type DeleteSecurityPolicyResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeleteSecurityRulesRequest ¶
type DeleteSecurityRulesRequest struct { *tchttp.BaseRequest // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 访问规则ID列表 RuleIdList []*string `json:"RuleIdList,omitnil,omitempty" name:"RuleIdList"` }
func NewDeleteSecurityRulesRequest ¶
func NewDeleteSecurityRulesRequest() (request *DeleteSecurityRulesRequest)
func (*DeleteSecurityRulesRequest) FromJsonString ¶
func (r *DeleteSecurityRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityRulesRequest) ToJsonString ¶
func (r *DeleteSecurityRulesRequest) ToJsonString() string
type DeleteSecurityRulesRequestParams ¶ added in v1.0.426
type DeleteSecurityRulesRequestParams struct { // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 访问规则ID列表 RuleIdList []*string `json:"RuleIdList,omitnil,omitempty" name:"RuleIdList"` }
Predefined struct for user
type DeleteSecurityRulesResponse ¶
type DeleteSecurityRulesResponse struct { *tchttp.BaseResponse Response *DeleteSecurityRulesResponseParams `json:"Response"` }
func NewDeleteSecurityRulesResponse ¶
func NewDeleteSecurityRulesResponse() (response *DeleteSecurityRulesResponse)
func (*DeleteSecurityRulesResponse) FromJsonString ¶
func (r *DeleteSecurityRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeleteSecurityRulesResponse) ToJsonString ¶
func (r *DeleteSecurityRulesResponse) ToJsonString() string
type DeleteSecurityRulesResponseParams ¶ added in v1.0.426
type DeleteSecurityRulesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccessRegionsByDestRegionRequest ¶
type DescribeAccessRegionsByDestRegionRequest struct { *tchttp.BaseRequest // 源站区域:接口DescribeDestRegions返回DestRegionSet中的RegionId字段值 DestRegion *string `json:"DestRegion,omitnil,omitempty" name:"DestRegion"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` }
func NewDescribeAccessRegionsByDestRegionRequest ¶
func NewDescribeAccessRegionsByDestRegionRequest() (request *DescribeAccessRegionsByDestRegionRequest)
func (*DescribeAccessRegionsByDestRegionRequest) FromJsonString ¶
func (r *DescribeAccessRegionsByDestRegionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessRegionsByDestRegionRequest) ToJsonString ¶
func (r *DescribeAccessRegionsByDestRegionRequest) ToJsonString() string
type DescribeAccessRegionsByDestRegionRequestParams ¶ added in v1.0.426
type DescribeAccessRegionsByDestRegionRequestParams struct { // 源站区域:接口DescribeDestRegions返回DestRegionSet中的RegionId字段值 DestRegion *string `json:"DestRegion,omitnil,omitempty" name:"DestRegion"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` }
Predefined struct for user
type DescribeAccessRegionsByDestRegionResponse ¶
type DescribeAccessRegionsByDestRegionResponse struct { *tchttp.BaseResponse Response *DescribeAccessRegionsByDestRegionResponseParams `json:"Response"` }
func NewDescribeAccessRegionsByDestRegionResponse ¶
func NewDescribeAccessRegionsByDestRegionResponse() (response *DescribeAccessRegionsByDestRegionResponse)
func (*DescribeAccessRegionsByDestRegionResponse) FromJsonString ¶
func (r *DescribeAccessRegionsByDestRegionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessRegionsByDestRegionResponse) ToJsonString ¶
func (r *DescribeAccessRegionsByDestRegionResponse) ToJsonString() string
type DescribeAccessRegionsByDestRegionResponseParams ¶ added in v1.0.426
type DescribeAccessRegionsByDestRegionResponseParams struct { // 可用加速区域数量 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 可用加速区域信息列表 AccessRegionSet []*AccessRegionDetial `json:"AccessRegionSet,omitnil,omitempty" name:"AccessRegionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAccessRegionsRequest ¶
type DescribeAccessRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAccessRegionsRequest ¶
func NewDescribeAccessRegionsRequest() (request *DescribeAccessRegionsRequest)
func (*DescribeAccessRegionsRequest) FromJsonString ¶
func (r *DescribeAccessRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessRegionsRequest) ToJsonString ¶
func (r *DescribeAccessRegionsRequest) ToJsonString() string
type DescribeAccessRegionsRequestParams ¶ added in v1.0.426
type DescribeAccessRegionsRequestParams struct { }
Predefined struct for user
type DescribeAccessRegionsResponse ¶
type DescribeAccessRegionsResponse struct { *tchttp.BaseResponse Response *DescribeAccessRegionsResponseParams `json:"Response"` }
func NewDescribeAccessRegionsResponse ¶
func NewDescribeAccessRegionsResponse() (response *DescribeAccessRegionsResponse)
func (*DescribeAccessRegionsResponse) FromJsonString ¶
func (r *DescribeAccessRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAccessRegionsResponse) ToJsonString ¶
func (r *DescribeAccessRegionsResponse) ToJsonString() string
type DescribeAccessRegionsResponseParams ¶ added in v1.0.426
type DescribeAccessRegionsResponseParams struct { // 加速区域总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 加速区域详情列表 AccessRegionSet []*RegionDetail `json:"AccessRegionSet,omitnil,omitempty" name:"AccessRegionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeAuthSignatureRequest ¶ added in v1.0.648
type DescribeAuthSignatureRequest struct {
*tchttp.BaseRequest
}
func NewDescribeAuthSignatureRequest ¶ added in v1.0.648
func NewDescribeAuthSignatureRequest() (request *DescribeAuthSignatureRequest)
func (*DescribeAuthSignatureRequest) FromJsonString ¶ added in v1.0.648
func (r *DescribeAuthSignatureRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuthSignatureRequest) ToJsonString ¶ added in v1.0.648
func (r *DescribeAuthSignatureRequest) ToJsonString() string
type DescribeAuthSignatureRequestParams ¶ added in v1.0.648
type DescribeAuthSignatureRequestParams struct { }
Predefined struct for user
type DescribeAuthSignatureResponse ¶ added in v1.0.648
type DescribeAuthSignatureResponse struct { *tchttp.BaseResponse Response *DescribeAuthSignatureResponseParams `json:"Response"` }
func NewDescribeAuthSignatureResponse ¶ added in v1.0.648
func NewDescribeAuthSignatureResponse() (response *DescribeAuthSignatureResponse)
func (*DescribeAuthSignatureResponse) FromJsonString ¶ added in v1.0.648
func (r *DescribeAuthSignatureResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeAuthSignatureResponse) ToJsonString ¶ added in v1.0.648
func (r *DescribeAuthSignatureResponse) ToJsonString() string
type DescribeAuthSignatureResponseParams ¶ added in v1.0.648
type DescribeAuthSignatureResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeBlackHeaderRequest ¶ added in v1.0.216
type DescribeBlackHeaderRequest struct {
*tchttp.BaseRequest
}
func NewDescribeBlackHeaderRequest ¶ added in v1.0.216
func NewDescribeBlackHeaderRequest() (request *DescribeBlackHeaderRequest)
func (*DescribeBlackHeaderRequest) FromJsonString ¶ added in v1.0.216
func (r *DescribeBlackHeaderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlackHeaderRequest) ToJsonString ¶ added in v1.0.216
func (r *DescribeBlackHeaderRequest) ToJsonString() string
type DescribeBlackHeaderRequestParams ¶ added in v1.0.426
type DescribeBlackHeaderRequestParams struct { }
Predefined struct for user
type DescribeBlackHeaderResponse ¶ added in v1.0.216
type DescribeBlackHeaderResponse struct { *tchttp.BaseResponse Response *DescribeBlackHeaderResponseParams `json:"Response"` }
func NewDescribeBlackHeaderResponse ¶ added in v1.0.216
func NewDescribeBlackHeaderResponse() (response *DescribeBlackHeaderResponse)
func (*DescribeBlackHeaderResponse) FromJsonString ¶ added in v1.0.216
func (r *DescribeBlackHeaderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeBlackHeaderResponse) ToJsonString ¶ added in v1.0.216
func (r *DescribeBlackHeaderResponse) ToJsonString() string
type DescribeBlackHeaderResponseParams ¶ added in v1.0.426
type DescribeBlackHeaderResponseParams struct { // 禁用的自定义header列表 // 注意:此字段可能返回 null,表示取不到有效值。 BlackHeaders []*string `json:"BlackHeaders,omitnil,omitempty" name:"BlackHeaders"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCertificateDetailRequest ¶
type DescribeCertificateDetailRequest struct { *tchttp.BaseRequest // 证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` }
func NewDescribeCertificateDetailRequest ¶
func NewDescribeCertificateDetailRequest() (request *DescribeCertificateDetailRequest)
func (*DescribeCertificateDetailRequest) FromJsonString ¶
func (r *DescribeCertificateDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCertificateDetailRequest) ToJsonString ¶
func (r *DescribeCertificateDetailRequest) ToJsonString() string
type DescribeCertificateDetailRequestParams ¶ added in v1.0.426
type DescribeCertificateDetailRequestParams struct { // 证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` }
Predefined struct for user
type DescribeCertificateDetailResponse ¶
type DescribeCertificateDetailResponse struct { *tchttp.BaseResponse Response *DescribeCertificateDetailResponseParams `json:"Response"` }
func NewDescribeCertificateDetailResponse ¶
func NewDescribeCertificateDetailResponse() (response *DescribeCertificateDetailResponse)
func (*DescribeCertificateDetailResponse) FromJsonString ¶
func (r *DescribeCertificateDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCertificateDetailResponse) ToJsonString ¶
func (r *DescribeCertificateDetailResponse) ToJsonString() string
type DescribeCertificateDetailResponseParams ¶ added in v1.0.426
type DescribeCertificateDetailResponseParams struct { // 证书详情。 CertificateDetail *CertificateDetail `json:"CertificateDetail,omitnil,omitempty" name:"CertificateDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCertificatesRequest ¶
type DescribeCertificatesRequest struct { *tchttp.BaseRequest // 证书类型。其中: // 0,表示基础认证配置; // 1,表示客户端CA证书; // 2,表示服务器SSL证书; // 3,表示源站CA证书; // 4,表示通道SSL证书。 // -1,所有类型。 // 默认为-1。 CertificateType *int64 `json:"CertificateType,omitnil,omitempty" name:"CertificateType"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeCertificatesRequest ¶
func NewDescribeCertificatesRequest() (request *DescribeCertificatesRequest)
func (*DescribeCertificatesRequest) FromJsonString ¶
func (r *DescribeCertificatesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCertificatesRequest) ToJsonString ¶
func (r *DescribeCertificatesRequest) ToJsonString() string
type DescribeCertificatesRequestParams ¶ added in v1.0.426
type DescribeCertificatesRequestParams struct { // 证书类型。其中: // 0,表示基础认证配置; // 1,表示客户端CA证书; // 2,表示服务器SSL证书; // 3,表示源站CA证书; // 4,表示通道SSL证书。 // -1,所有类型。 // 默认为-1。 CertificateType *int64 `json:"CertificateType,omitnil,omitempty" name:"CertificateType"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeCertificatesResponse ¶
type DescribeCertificatesResponse struct { *tchttp.BaseResponse Response *DescribeCertificatesResponseParams `json:"Response"` }
func NewDescribeCertificatesResponse ¶
func NewDescribeCertificatesResponse() (response *DescribeCertificatesResponse)
func (*DescribeCertificatesResponse) FromJsonString ¶
func (r *DescribeCertificatesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCertificatesResponse) ToJsonString ¶
func (r *DescribeCertificatesResponse) ToJsonString() string
type DescribeCertificatesResponseParams ¶ added in v1.0.426
type DescribeCertificatesResponseParams struct { // 服务器证书列表,包括证书ID 和证书名称。 CertificateSet []*Certificate `json:"CertificateSet,omitnil,omitempty" name:"CertificateSet"` // 满足查询条件的服务器证书总数量。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCountryAreaMappingRequest ¶
type DescribeCountryAreaMappingRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCountryAreaMappingRequest ¶
func NewDescribeCountryAreaMappingRequest() (request *DescribeCountryAreaMappingRequest)
func (*DescribeCountryAreaMappingRequest) FromJsonString ¶
func (r *DescribeCountryAreaMappingRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCountryAreaMappingRequest) ToJsonString ¶
func (r *DescribeCountryAreaMappingRequest) ToJsonString() string
type DescribeCountryAreaMappingRequestParams ¶ added in v1.0.426
type DescribeCountryAreaMappingRequestParams struct { }
Predefined struct for user
type DescribeCountryAreaMappingResponse ¶
type DescribeCountryAreaMappingResponse struct { *tchttp.BaseResponse Response *DescribeCountryAreaMappingResponseParams `json:"Response"` }
func NewDescribeCountryAreaMappingResponse ¶
func NewDescribeCountryAreaMappingResponse() (response *DescribeCountryAreaMappingResponse)
func (*DescribeCountryAreaMappingResponse) FromJsonString ¶
func (r *DescribeCountryAreaMappingResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCountryAreaMappingResponse) ToJsonString ¶
func (r *DescribeCountryAreaMappingResponse) ToJsonString() string
type DescribeCountryAreaMappingResponseParams ¶ added in v1.0.426
type DescribeCountryAreaMappingResponseParams struct { // 国家地区编码映射表。 CountryAreaMappingList []*CountryAreaMap `json:"CountryAreaMappingList,omitnil,omitempty" name:"CountryAreaMappingList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCrossBorderProxiesRequest ¶ added in v1.0.442
type DescribeCrossBorderProxiesRequest struct {
*tchttp.BaseRequest
}
func NewDescribeCrossBorderProxiesRequest ¶ added in v1.0.442
func NewDescribeCrossBorderProxiesRequest() (request *DescribeCrossBorderProxiesRequest)
func (*DescribeCrossBorderProxiesRequest) FromJsonString ¶ added in v1.0.442
func (r *DescribeCrossBorderProxiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCrossBorderProxiesRequest) ToJsonString ¶ added in v1.0.442
func (r *DescribeCrossBorderProxiesRequest) ToJsonString() string
type DescribeCrossBorderProxiesRequestParams ¶ added in v1.0.442
type DescribeCrossBorderProxiesRequestParams struct { }
Predefined struct for user
type DescribeCrossBorderProxiesResponse ¶ added in v1.0.442
type DescribeCrossBorderProxiesResponse struct { *tchttp.BaseResponse Response *DescribeCrossBorderProxiesResponseParams `json:"Response"` }
func NewDescribeCrossBorderProxiesResponse ¶ added in v1.0.442
func NewDescribeCrossBorderProxiesResponse() (response *DescribeCrossBorderProxiesResponse)
func (*DescribeCrossBorderProxiesResponse) FromJsonString ¶ added in v1.0.442
func (r *DescribeCrossBorderProxiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCrossBorderProxiesResponse) ToJsonString ¶ added in v1.0.442
func (r *DescribeCrossBorderProxiesResponse) ToJsonString() string
type DescribeCrossBorderProxiesResponseParams ¶ added in v1.0.442
type DescribeCrossBorderProxiesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeCustomHeaderRequest ¶ added in v1.0.216
type DescribeCustomHeaderRequest struct { *tchttp.BaseRequest // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
func NewDescribeCustomHeaderRequest ¶ added in v1.0.216
func NewDescribeCustomHeaderRequest() (request *DescribeCustomHeaderRequest)
func (*DescribeCustomHeaderRequest) FromJsonString ¶ added in v1.0.216
func (r *DescribeCustomHeaderRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomHeaderRequest) ToJsonString ¶ added in v1.0.216
func (r *DescribeCustomHeaderRequest) ToJsonString() string
type DescribeCustomHeaderRequestParams ¶ added in v1.0.426
type DescribeCustomHeaderRequestParams struct { // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` }
Predefined struct for user
type DescribeCustomHeaderResponse ¶ added in v1.0.216
type DescribeCustomHeaderResponse struct { *tchttp.BaseResponse Response *DescribeCustomHeaderResponseParams `json:"Response"` }
func NewDescribeCustomHeaderResponse ¶ added in v1.0.216
func NewDescribeCustomHeaderResponse() (response *DescribeCustomHeaderResponse)
func (*DescribeCustomHeaderResponse) FromJsonString ¶ added in v1.0.216
func (r *DescribeCustomHeaderResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeCustomHeaderResponse) ToJsonString ¶ added in v1.0.216
func (r *DescribeCustomHeaderResponse) ToJsonString() string
type DescribeCustomHeaderResponseParams ¶ added in v1.0.426
type DescribeCustomHeaderResponseParams struct { // 规则id // 注意:此字段可能返回 null,表示取不到有效值。 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 自定义header列表 // 注意:此字段可能返回 null,表示取不到有效值。 Headers []*HttpHeaderParam `json:"Headers,omitnil,omitempty" name:"Headers"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDestRegionsRequest ¶
type DescribeDestRegionsRequest struct {
*tchttp.BaseRequest
}
func NewDescribeDestRegionsRequest ¶
func NewDescribeDestRegionsRequest() (request *DescribeDestRegionsRequest)
func (*DescribeDestRegionsRequest) FromJsonString ¶
func (r *DescribeDestRegionsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDestRegionsRequest) ToJsonString ¶
func (r *DescribeDestRegionsRequest) ToJsonString() string
type DescribeDestRegionsRequestParams ¶ added in v1.0.426
type DescribeDestRegionsRequestParams struct { }
Predefined struct for user
type DescribeDestRegionsResponse ¶
type DescribeDestRegionsResponse struct { *tchttp.BaseResponse Response *DescribeDestRegionsResponseParams `json:"Response"` }
func NewDescribeDestRegionsResponse ¶
func NewDescribeDestRegionsResponse() (response *DescribeDestRegionsResponse)
func (*DescribeDestRegionsResponse) FromJsonString ¶
func (r *DescribeDestRegionsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDestRegionsResponse) ToJsonString ¶
func (r *DescribeDestRegionsResponse) ToJsonString() string
type DescribeDestRegionsResponseParams ¶ added in v1.0.426
type DescribeDestRegionsResponseParams struct { // 源站区域总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 源站区域详情列表 DestRegionSet []*RegionDetail `json:"DestRegionSet,omitnil,omitempty" name:"DestRegionSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainErrorPageInfoByIdsRequest ¶
type DescribeDomainErrorPageInfoByIdsRequest struct { *tchttp.BaseRequest // 定制错误ID列表,最多支持10个 ErrorPageIds []*string `json:"ErrorPageIds,omitnil,omitempty" name:"ErrorPageIds"` }
func NewDescribeDomainErrorPageInfoByIdsRequest ¶
func NewDescribeDomainErrorPageInfoByIdsRequest() (request *DescribeDomainErrorPageInfoByIdsRequest)
func (*DescribeDomainErrorPageInfoByIdsRequest) FromJsonString ¶
func (r *DescribeDomainErrorPageInfoByIdsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainErrorPageInfoByIdsRequest) ToJsonString ¶
func (r *DescribeDomainErrorPageInfoByIdsRequest) ToJsonString() string
type DescribeDomainErrorPageInfoByIdsRequestParams ¶ added in v1.0.426
type DescribeDomainErrorPageInfoByIdsRequestParams struct { // 定制错误ID列表,最多支持10个 ErrorPageIds []*string `json:"ErrorPageIds,omitnil,omitempty" name:"ErrorPageIds"` }
Predefined struct for user
type DescribeDomainErrorPageInfoByIdsResponse ¶
type DescribeDomainErrorPageInfoByIdsResponse struct { *tchttp.BaseResponse Response *DescribeDomainErrorPageInfoByIdsResponseParams `json:"Response"` }
func NewDescribeDomainErrorPageInfoByIdsResponse ¶
func NewDescribeDomainErrorPageInfoByIdsResponse() (response *DescribeDomainErrorPageInfoByIdsResponse)
func (*DescribeDomainErrorPageInfoByIdsResponse) FromJsonString ¶
func (r *DescribeDomainErrorPageInfoByIdsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainErrorPageInfoByIdsResponse) ToJsonString ¶
func (r *DescribeDomainErrorPageInfoByIdsResponse) ToJsonString() string
type DescribeDomainErrorPageInfoByIdsResponseParams ¶ added in v1.0.426
type DescribeDomainErrorPageInfoByIdsResponseParams struct { // 定制错误响应配置集 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorPageSet []*DomainErrorPageInfo `json:"ErrorPageSet,omitnil,omitempty" name:"ErrorPageSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeDomainErrorPageInfoRequest ¶
type DescribeDomainErrorPageInfoRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
func NewDescribeDomainErrorPageInfoRequest ¶
func NewDescribeDomainErrorPageInfoRequest() (request *DescribeDomainErrorPageInfoRequest)
func (*DescribeDomainErrorPageInfoRequest) FromJsonString ¶
func (r *DescribeDomainErrorPageInfoRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainErrorPageInfoRequest) ToJsonString ¶
func (r *DescribeDomainErrorPageInfoRequest) ToJsonString() string
type DescribeDomainErrorPageInfoRequestParams ¶ added in v1.0.426
type DescribeDomainErrorPageInfoRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` }
Predefined struct for user
type DescribeDomainErrorPageInfoResponse ¶
type DescribeDomainErrorPageInfoResponse struct { *tchttp.BaseResponse Response *DescribeDomainErrorPageInfoResponseParams `json:"Response"` }
func NewDescribeDomainErrorPageInfoResponse ¶
func NewDescribeDomainErrorPageInfoResponse() (response *DescribeDomainErrorPageInfoResponse)
func (*DescribeDomainErrorPageInfoResponse) FromJsonString ¶
func (r *DescribeDomainErrorPageInfoResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeDomainErrorPageInfoResponse) ToJsonString ¶
func (r *DescribeDomainErrorPageInfoResponse) ToJsonString() string
type DescribeDomainErrorPageInfoResponseParams ¶ added in v1.0.426
type DescribeDomainErrorPageInfoResponseParams struct { // 定制错误响应配置集 // 注意:此字段可能返回 null,表示取不到有效值。 ErrorPageSet []*DomainErrorPageInfo `json:"ErrorPageSet,omitnil,omitempty" name:"ErrorPageSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeFirstLinkSessionRequest ¶ added in v1.0.399
type DescribeFirstLinkSessionRequest struct { *tchttp.BaseRequest // 单次加速唯一会话Id SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
func NewDescribeFirstLinkSessionRequest ¶ added in v1.0.399
func NewDescribeFirstLinkSessionRequest() (request *DescribeFirstLinkSessionRequest)
func (*DescribeFirstLinkSessionRequest) FromJsonString ¶ added in v1.0.399
func (r *DescribeFirstLinkSessionRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirstLinkSessionRequest) ToJsonString ¶ added in v1.0.399
func (r *DescribeFirstLinkSessionRequest) ToJsonString() string
type DescribeFirstLinkSessionRequestParams ¶ added in v1.0.426
type DescribeFirstLinkSessionRequestParams struct { // 单次加速唯一会话Id SessionId *string `json:"SessionId,omitnil,omitempty" name:"SessionId"` }
Predefined struct for user
type DescribeFirstLinkSessionResponse ¶ added in v1.0.399
type DescribeFirstLinkSessionResponse struct { *tchttp.BaseResponse Response *DescribeFirstLinkSessionResponseParams `json:"Response"` }
func NewDescribeFirstLinkSessionResponse ¶ added in v1.0.399
func NewDescribeFirstLinkSessionResponse() (response *DescribeFirstLinkSessionResponse)
func (*DescribeFirstLinkSessionResponse) FromJsonString ¶ added in v1.0.399
func (r *DescribeFirstLinkSessionResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeFirstLinkSessionResponse) ToJsonString ¶ added in v1.0.399
func (r *DescribeFirstLinkSessionResponse) ToJsonString() string
type DescribeFirstLinkSessionResponseParams ¶ added in v1.0.426
type DescribeFirstLinkSessionResponseParams struct { // 会话状态,具体如下: // 1: 加速中; // 0: 非加速中。 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 剩余加速时间,单位秒。 // 注意:此字段可能返回 null,表示取不到有效值。 Duration *int64 `json:"Duration,omitnil,omitempty" name:"Duration"` // 加速套餐类型。 // 套餐说明如下: // T100K:上/下行保障100kbps; // BD4M:下行带宽保障4Mbps; // BU4M:上行带宽保障4Mbps。 // 注意:此字段可能返回 null,表示取不到有效值。 SuiteType *string `json:"SuiteType,omitnil,omitempty" name:"SuiteType"` // 加速终端的公网ip // 注意:此字段可能返回 null,表示取不到有效值。 SrcPublicIpv4 *string `json:"SrcPublicIpv4,omitnil,omitempty" name:"SrcPublicIpv4"` // 加速目标ip // 注意:此字段可能返回 null,表示取不到有效值。 DestIpv4 []*string `json:"DestIpv4,omitnil,omitempty" name:"DestIpv4"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGlobalDomainDnsRequest ¶ added in v1.0.482
type DescribeGlobalDomainDnsRequest struct { *tchttp.BaseRequest // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
func NewDescribeGlobalDomainDnsRequest ¶ added in v1.0.482
func NewDescribeGlobalDomainDnsRequest() (request *DescribeGlobalDomainDnsRequest)
func (*DescribeGlobalDomainDnsRequest) FromJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainDnsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGlobalDomainDnsRequest) ToJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainDnsRequest) ToJsonString() string
type DescribeGlobalDomainDnsRequestParams ¶ added in v1.0.482
type DescribeGlobalDomainDnsRequestParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
Predefined struct for user
type DescribeGlobalDomainDnsResponse ¶ added in v1.0.482
type DescribeGlobalDomainDnsResponse struct { *tchttp.BaseResponse Response *DescribeGlobalDomainDnsResponseParams `json:"Response"` }
func NewDescribeGlobalDomainDnsResponse ¶ added in v1.0.482
func NewDescribeGlobalDomainDnsResponse() (response *DescribeGlobalDomainDnsResponse)
func (*DescribeGlobalDomainDnsResponse) FromJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainDnsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGlobalDomainDnsResponse) ToJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainDnsResponse) ToJsonString() string
type DescribeGlobalDomainDnsResponseParams ¶ added in v1.0.482
type DescribeGlobalDomainDnsResponseParams struct { // DNS解析记录详细信息列表 GlobalDnsList []*GlobalDns `json:"GlobalDnsList,omitnil,omitempty" name:"GlobalDnsList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGlobalDomainsRequest ¶ added in v1.0.482
type DescribeGlobalDomainsRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 分页偏移量 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页数量限制 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,域名会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
func NewDescribeGlobalDomainsRequest ¶ added in v1.0.482
func NewDescribeGlobalDomainsRequest() (request *DescribeGlobalDomainsRequest)
func (*DescribeGlobalDomainsRequest) FromJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGlobalDomainsRequest) ToJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainsRequest) ToJsonString() string
type DescribeGlobalDomainsRequestParams ¶ added in v1.0.482
type DescribeGlobalDomainsRequestParams struct { // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 分页偏移量 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 分页数量限制 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,域名会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
Predefined struct for user
type DescribeGlobalDomainsResponse ¶ added in v1.0.482
type DescribeGlobalDomainsResponse struct { *tchttp.BaseResponse Response *DescribeGlobalDomainsResponseParams `json:"Response"` }
func NewDescribeGlobalDomainsResponse ¶ added in v1.0.482
func NewDescribeGlobalDomainsResponse() (response *DescribeGlobalDomainsResponse)
func (*DescribeGlobalDomainsResponse) FromJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGlobalDomainsResponse) ToJsonString ¶ added in v1.0.482
func (r *DescribeGlobalDomainsResponse) ToJsonString() string
type DescribeGlobalDomainsResponseParams ¶ added in v1.0.482
type DescribeGlobalDomainsResponseParams struct { // 域名信息列表 Domains []*Domain `json:"Domains,omitnil,omitempty" name:"Domains"` // 总记录数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupAndStatisticsProxyRequest ¶
type DescribeGroupAndStatisticsProxyRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeGroupAndStatisticsProxyRequest ¶
func NewDescribeGroupAndStatisticsProxyRequest() (request *DescribeGroupAndStatisticsProxyRequest)
func (*DescribeGroupAndStatisticsProxyRequest) FromJsonString ¶
func (r *DescribeGroupAndStatisticsProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupAndStatisticsProxyRequest) ToJsonString ¶
func (r *DescribeGroupAndStatisticsProxyRequest) ToJsonString() string
type DescribeGroupAndStatisticsProxyRequestParams ¶ added in v1.0.426
type DescribeGroupAndStatisticsProxyRequestParams struct { // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeGroupAndStatisticsProxyResponse ¶
type DescribeGroupAndStatisticsProxyResponse struct { *tchttp.BaseResponse Response *DescribeGroupAndStatisticsProxyResponseParams `json:"Response"` }
func NewDescribeGroupAndStatisticsProxyResponse ¶
func NewDescribeGroupAndStatisticsProxyResponse() (response *DescribeGroupAndStatisticsProxyResponse)
func (*DescribeGroupAndStatisticsProxyResponse) FromJsonString ¶
func (r *DescribeGroupAndStatisticsProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupAndStatisticsProxyResponse) ToJsonString ¶
func (r *DescribeGroupAndStatisticsProxyResponse) ToJsonString() string
type DescribeGroupAndStatisticsProxyResponseParams ¶ added in v1.0.426
type DescribeGroupAndStatisticsProxyResponseParams struct { // 可以统计的通道组信息 GroupSet []*GroupStatisticsInfo `json:"GroupSet,omitnil,omitempty" name:"GroupSet"` // 通道组数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeGroupDomainConfigRequest ¶
type DescribeGroupDomainConfigRequest struct { *tchttp.BaseRequest // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeGroupDomainConfigRequest ¶
func NewDescribeGroupDomainConfigRequest() (request *DescribeGroupDomainConfigRequest)
func (*DescribeGroupDomainConfigRequest) FromJsonString ¶
func (r *DescribeGroupDomainConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupDomainConfigRequest) ToJsonString ¶
func (r *DescribeGroupDomainConfigRequest) ToJsonString() string
type DescribeGroupDomainConfigRequestParams ¶ added in v1.0.426
type DescribeGroupDomainConfigRequestParams struct { // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeGroupDomainConfigResponse ¶
type DescribeGroupDomainConfigResponse struct { *tchttp.BaseResponse Response *DescribeGroupDomainConfigResponseParams `json:"Response"` }
func NewDescribeGroupDomainConfigResponse ¶
func NewDescribeGroupDomainConfigResponse() (response *DescribeGroupDomainConfigResponse)
func (*DescribeGroupDomainConfigResponse) FromJsonString ¶
func (r *DescribeGroupDomainConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeGroupDomainConfigResponse) ToJsonString ¶
func (r *DescribeGroupDomainConfigResponse) ToJsonString() string
type DescribeGroupDomainConfigResponseParams ¶ added in v1.0.426
type DescribeGroupDomainConfigResponseParams struct { // 域名解析就近接入配置列表。 AccessRegionList []*DomainAccessRegionDict `json:"AccessRegionList,omitnil,omitempty" name:"AccessRegionList"` // 默认访问Ip。 DefaultDnsIp *string `json:"DefaultDnsIp,omitnil,omitempty" name:"DefaultDnsIp"` // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 接入地域的配置的总数。 AccessRegionCount *int64 `json:"AccessRegionCount,omitnil,omitempty" name:"AccessRegionCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHTTPListenersRequest ¶
type DescribeHTTPListenersRequest struct { *tchttp.BaseRequest // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,按照监听器ID进行精确查询 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,按照监听器名称进行精确查询 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,按照监听器端口进行精确查询 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20个 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeHTTPListenersRequest ¶
func NewDescribeHTTPListenersRequest() (request *DescribeHTTPListenersRequest)
func (*DescribeHTTPListenersRequest) FromJsonString ¶
func (r *DescribeHTTPListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHTTPListenersRequest) ToJsonString ¶
func (r *DescribeHTTPListenersRequest) ToJsonString() string
type DescribeHTTPListenersRequestParams ¶ added in v1.0.426
type DescribeHTTPListenersRequestParams struct { // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,按照监听器ID进行精确查询 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,按照监听器名称进行精确查询 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,按照监听器端口进行精确查询 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20个 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeHTTPListenersResponse ¶
type DescribeHTTPListenersResponse struct { *tchttp.BaseResponse Response *DescribeHTTPListenersResponseParams `json:"Response"` }
func NewDescribeHTTPListenersResponse ¶
func NewDescribeHTTPListenersResponse() (response *DescribeHTTPListenersResponse)
func (*DescribeHTTPListenersResponse) FromJsonString ¶
func (r *DescribeHTTPListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHTTPListenersResponse) ToJsonString ¶
func (r *DescribeHTTPListenersResponse) ToJsonString() string
type DescribeHTTPListenersResponseParams ¶ added in v1.0.426
type DescribeHTTPListenersResponseParams struct { // 监听器数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // HTTP监听器列表 ListenerSet []*HTTPListener `json:"ListenerSet,omitnil,omitempty" name:"ListenerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeHTTPSListenersRequest ¶
type DescribeHTTPSListenersRequest struct { *tchttp.BaseRequest // 过滤条件,通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,根据监听器ID进行精确查询。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,根据监听器名称进行精确查询。 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,根据监听器端口进行精确查询。 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量, 默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,支持按照端口或监听器名称进行模糊查询 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` // 过滤条件,通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 支持Http3的开关,其中: // 0,表示不需要支持Http3接入; // 1,表示需要支持Http3接入。 // 注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。 // 该功能的启停无法在监听器创建完毕后再修改。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
func NewDescribeHTTPSListenersRequest ¶
func NewDescribeHTTPSListenersRequest() (request *DescribeHTTPSListenersRequest)
func (*DescribeHTTPSListenersRequest) FromJsonString ¶
func (r *DescribeHTTPSListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHTTPSListenersRequest) ToJsonString ¶
func (r *DescribeHTTPSListenersRequest) ToJsonString() string
type DescribeHTTPSListenersRequestParams ¶ added in v1.0.426
type DescribeHTTPSListenersRequestParams struct { // 过滤条件,通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,根据监听器ID进行精确查询。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,根据监听器名称进行精确查询。 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,根据监听器端口进行精确查询。 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量, 默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,支持按照端口或监听器名称进行模糊查询 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` // 过滤条件,通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 支持Http3的开关,其中: // 0,表示不需要支持Http3接入; // 1,表示需要支持Http3接入。 // 注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。 // 该功能的启停无法在监听器创建完毕后再修改。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
Predefined struct for user
type DescribeHTTPSListenersResponse ¶
type DescribeHTTPSListenersResponse struct { *tchttp.BaseResponse Response *DescribeHTTPSListenersResponseParams `json:"Response"` }
func NewDescribeHTTPSListenersResponse ¶
func NewDescribeHTTPSListenersResponse() (response *DescribeHTTPSListenersResponse)
func (*DescribeHTTPSListenersResponse) FromJsonString ¶
func (r *DescribeHTTPSListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeHTTPSListenersResponse) ToJsonString ¶
func (r *DescribeHTTPSListenersResponse) ToJsonString() string
type DescribeHTTPSListenersResponseParams ¶ added in v1.0.426
type DescribeHTTPSListenersResponseParams struct { // 监听器数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // HTTPS监听器列表 ListenerSet []*HTTPSListener `json:"ListenerSet,omitnil,omitempty" name:"ListenerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListenerRealServersRequest ¶
type DescribeListenerRealServersRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
func NewDescribeListenerRealServersRequest ¶
func NewDescribeListenerRealServersRequest() (request *DescribeListenerRealServersRequest)
func (*DescribeListenerRealServersRequest) FromJsonString ¶
func (r *DescribeListenerRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenerRealServersRequest) ToJsonString ¶
func (r *DescribeListenerRealServersRequest) ToJsonString() string
type DescribeListenerRealServersRequestParams ¶ added in v1.0.426
type DescribeListenerRealServersRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
Predefined struct for user
type DescribeListenerRealServersResponse ¶
type DescribeListenerRealServersResponse struct { *tchttp.BaseResponse Response *DescribeListenerRealServersResponseParams `json:"Response"` }
func NewDescribeListenerRealServersResponse ¶
func NewDescribeListenerRealServersResponse() (response *DescribeListenerRealServersResponse)
func (*DescribeListenerRealServersResponse) FromJsonString ¶
func (r *DescribeListenerRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenerRealServersResponse) ToJsonString ¶
func (r *DescribeListenerRealServersResponse) ToJsonString() string
type DescribeListenerRealServersResponseParams ¶ added in v1.0.426
type DescribeListenerRealServersResponseParams struct { // 可绑定源站的个数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 源站信息列表 RealServerSet []*RealServer `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 已绑定源站的个数 BindRealServerTotalCount *uint64 `json:"BindRealServerTotalCount,omitnil,omitempty" name:"BindRealServerTotalCount"` // 已绑定源站信息列表 BindRealServerSet []*BindRealServer `json:"BindRealServerSet,omitnil,omitempty" name:"BindRealServerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeListenerStatisticsRequest ¶
type DescribeListenerStatisticsRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 起始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets。 MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 监控粒度,目前支持300,3600,86400,单位:秒。 // 查询时间范围不超过1天,支持最小粒度300秒; // 查询间范围不超过7天,支持最小粒度3600秒; // 查询间范围超过7天,支持最小粒度86400秒。 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` }
func NewDescribeListenerStatisticsRequest ¶
func NewDescribeListenerStatisticsRequest() (request *DescribeListenerStatisticsRequest)
func (*DescribeListenerStatisticsRequest) FromJsonString ¶
func (r *DescribeListenerStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenerStatisticsRequest) ToJsonString ¶
func (r *DescribeListenerStatisticsRequest) ToJsonString() string
type DescribeListenerStatisticsRequestParams ¶ added in v1.0.426
type DescribeListenerStatisticsRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 起始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets。 MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 监控粒度,目前支持300,3600,86400,单位:秒。 // 查询时间范围不超过1天,支持最小粒度300秒; // 查询间范围不超过7天,支持最小粒度3600秒; // 查询间范围超过7天,支持最小粒度86400秒。 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` }
Predefined struct for user
type DescribeListenerStatisticsResponse ¶
type DescribeListenerStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeListenerStatisticsResponseParams `json:"Response"` }
func NewDescribeListenerStatisticsResponse ¶
func NewDescribeListenerStatisticsResponse() (response *DescribeListenerStatisticsResponse)
func (*DescribeListenerStatisticsResponse) FromJsonString ¶
func (r *DescribeListenerStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeListenerStatisticsResponse) ToJsonString ¶
func (r *DescribeListenerStatisticsResponse) ToJsonString() string
type DescribeListenerStatisticsResponseParams ¶ added in v1.0.426
type DescribeListenerStatisticsResponseParams struct { // 通道组统计数据 StatisticsData []*MetricStatisticsInfo `json:"StatisticsData,omitnil,omitempty" name:"StatisticsData"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxiesRequest ¶
type DescribeProxiesRequest struct { *tchttp.BaseRequest // (旧参数,请切换到ProxyIds)按照一个或者多个实例ID查询。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件。 // 每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定InstanceIds和Filters。 // ProjectId - String - 是否必填:否 -(过滤条件)按照项目ID过滤。 // AccessRegion - String - 是否必填:否 - (过滤条件)按照接入地域过滤。 // RealServerRegion - String - 是否必填:否 - (过滤条件)按照源站地域过滤。 // GroupId - String - 是否必填:否 - (过滤条件)按照通道组ID过滤。 // IPAddressVersion - String - 是否必填:否 - (过滤条件)按照IP版本过滤。 // PackageType - String - 是否必填:否 - (过滤条件)按照通道套餐类型过滤。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // (新参数,替代InstanceIds)按照一个或者多个实例ID查询。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,通道会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 当该字段为1时,仅拉取非通道组的通道, // 当该字段为0时,仅拉取通道组的通道, // 不存在该字段时,拉取所有通道,包括独立通道和通道组通道。 Independent *int64 `json:"Independent,omitnil,omitempty" name:"Independent"` // 输出通道列表的排列顺序。取值范围: // asc:升序排列; // desc:降序排列。 // 默认为降序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 通道列表排序的依据字段。取值范围: // create_time:依据通道的创建时间排序; // proxy_id:依据通道的ID排序; // bandwidth:依据通道带宽上限排序; // concurrent_connections:依据通道并发排序; // 默认按通道创建时间排序。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
func NewDescribeProxiesRequest ¶
func NewDescribeProxiesRequest() (request *DescribeProxiesRequest)
func (*DescribeProxiesRequest) FromJsonString ¶
func (r *DescribeProxiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxiesRequest) ToJsonString ¶
func (r *DescribeProxiesRequest) ToJsonString() string
type DescribeProxiesRequestParams ¶ added in v1.0.426
type DescribeProxiesRequestParams struct { // (旧参数,请切换到ProxyIds)按照一个或者多个实例ID查询。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为100。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件。 // 每次请求的Filters的上限为10,Filter.Values的上限为5。参数不支持同时指定InstanceIds和Filters。 // ProjectId - String - 是否必填:否 -(过滤条件)按照项目ID过滤。 // AccessRegion - String - 是否必填:否 - (过滤条件)按照接入地域过滤。 // RealServerRegion - String - 是否必填:否 - (过滤条件)按照源站地域过滤。 // GroupId - String - 是否必填:否 - (过滤条件)按照通道组ID过滤。 // IPAddressVersion - String - 是否必填:否 - (过滤条件)按照IP版本过滤。 // PackageType - String - 是否必填:否 - (过滤条件)按照通道套餐类型过滤。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // (新参数,替代InstanceIds)按照一个或者多个实例ID查询。每次请求的实例的上限为100。参数不支持同时指定InstanceIds和Filters。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,通道会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 当该字段为1时,仅拉取非通道组的通道, // 当该字段为0时,仅拉取通道组的通道, // 不存在该字段时,拉取所有通道,包括独立通道和通道组通道。 Independent *int64 `json:"Independent,omitnil,omitempty" name:"Independent"` // 输出通道列表的排列顺序。取值范围: // asc:升序排列; // desc:降序排列。 // 默认为降序。 Order *string `json:"Order,omitnil,omitempty" name:"Order"` // 通道列表排序的依据字段。取值范围: // create_time:依据通道的创建时间排序; // proxy_id:依据通道的ID排序; // bandwidth:依据通道带宽上限排序; // concurrent_connections:依据通道并发排序; // 默认按通道创建时间排序。 OrderField *string `json:"OrderField,omitnil,omitempty" name:"OrderField"` }
Predefined struct for user
type DescribeProxiesResponse ¶
type DescribeProxiesResponse struct { *tchttp.BaseResponse Response *DescribeProxiesResponseParams `json:"Response"` }
func NewDescribeProxiesResponse ¶
func NewDescribeProxiesResponse() (response *DescribeProxiesResponse)
func (*DescribeProxiesResponse) FromJsonString ¶
func (r *DescribeProxiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxiesResponse) ToJsonString ¶
func (r *DescribeProxiesResponse) ToJsonString() string
type DescribeProxiesResponseParams ¶ added in v1.0.426
type DescribeProxiesResponseParams struct { // 通道个数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // (旧参数,请切换到ProxySet)通道实例信息列表。 InstanceSet []*ProxyInfo `json:"InstanceSet,omitnil,omitempty" name:"InstanceSet"` // (新参数)通道实例信息列表。 ProxySet []*ProxyInfo `json:"ProxySet,omitnil,omitempty" name:"ProxySet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxiesStatusRequest ¶
type DescribeProxiesStatusRequest struct { *tchttp.BaseRequest // (旧参数,请切换到ProxyIds)通道ID列表。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // (新参数)通道ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
func NewDescribeProxiesStatusRequest ¶
func NewDescribeProxiesStatusRequest() (request *DescribeProxiesStatusRequest)
func (*DescribeProxiesStatusRequest) FromJsonString ¶
func (r *DescribeProxiesStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxiesStatusRequest) ToJsonString ¶
func (r *DescribeProxiesStatusRequest) ToJsonString() string
type DescribeProxiesStatusRequestParams ¶ added in v1.0.426
type DescribeProxiesStatusRequestParams struct { // (旧参数,请切换到ProxyIds)通道ID列表。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // (新参数)通道ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
Predefined struct for user
type DescribeProxiesStatusResponse ¶
type DescribeProxiesStatusResponse struct { *tchttp.BaseResponse Response *DescribeProxiesStatusResponseParams `json:"Response"` }
func NewDescribeProxiesStatusResponse ¶
func NewDescribeProxiesStatusResponse() (response *DescribeProxiesStatusResponse)
func (*DescribeProxiesStatusResponse) FromJsonString ¶
func (r *DescribeProxiesStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxiesStatusResponse) ToJsonString ¶
func (r *DescribeProxiesStatusResponse) ToJsonString() string
type DescribeProxiesStatusResponseParams ¶ added in v1.0.426
type DescribeProxiesStatusResponseParams struct { // 通道状态列表。 InstanceStatusSet []*ProxyStatus `json:"InstanceStatusSet,omitnil,omitempty" name:"InstanceStatusSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyAndStatisticsListenersRequest ¶
type DescribeProxyAndStatisticsListenersRequest struct { *tchttp.BaseRequest // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewDescribeProxyAndStatisticsListenersRequest ¶
func NewDescribeProxyAndStatisticsListenersRequest() (request *DescribeProxyAndStatisticsListenersRequest)
func (*DescribeProxyAndStatisticsListenersRequest) FromJsonString ¶
func (r *DescribeProxyAndStatisticsListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyAndStatisticsListenersRequest) ToJsonString ¶
func (r *DescribeProxyAndStatisticsListenersRequest) ToJsonString() string
type DescribeProxyAndStatisticsListenersRequestParams ¶ added in v1.0.426
type DescribeProxyAndStatisticsListenersRequestParams struct { // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type DescribeProxyAndStatisticsListenersResponse ¶
type DescribeProxyAndStatisticsListenersResponse struct { *tchttp.BaseResponse Response *DescribeProxyAndStatisticsListenersResponseParams `json:"Response"` }
func NewDescribeProxyAndStatisticsListenersResponse ¶
func NewDescribeProxyAndStatisticsListenersResponse() (response *DescribeProxyAndStatisticsListenersResponse)
func (*DescribeProxyAndStatisticsListenersResponse) FromJsonString ¶
func (r *DescribeProxyAndStatisticsListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyAndStatisticsListenersResponse) ToJsonString ¶
func (r *DescribeProxyAndStatisticsListenersResponse) ToJsonString() string
type DescribeProxyAndStatisticsListenersResponseParams ¶ added in v1.0.426
type DescribeProxyAndStatisticsListenersResponseParams struct { // 可以统计的通道信息 ProxySet []*ProxySimpleInfo `json:"ProxySet,omitnil,omitempty" name:"ProxySet"` // 通道数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyDetailRequest ¶
type DescribeProxyDetailRequest struct { *tchttp.BaseRequest // 需查询的通道ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
func NewDescribeProxyDetailRequest ¶
func NewDescribeProxyDetailRequest() (request *DescribeProxyDetailRequest)
func (*DescribeProxyDetailRequest) FromJsonString ¶
func (r *DescribeProxyDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyDetailRequest) ToJsonString ¶
func (r *DescribeProxyDetailRequest) ToJsonString() string
type DescribeProxyDetailRequestParams ¶ added in v1.0.426
type DescribeProxyDetailRequestParams struct { // 需查询的通道ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
Predefined struct for user
type DescribeProxyDetailResponse ¶
type DescribeProxyDetailResponse struct { *tchttp.BaseResponse Response *DescribeProxyDetailResponseParams `json:"Response"` }
func NewDescribeProxyDetailResponse ¶
func NewDescribeProxyDetailResponse() (response *DescribeProxyDetailResponse)
func (*DescribeProxyDetailResponse) FromJsonString ¶
func (r *DescribeProxyDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyDetailResponse) ToJsonString ¶
func (r *DescribeProxyDetailResponse) ToJsonString() string
type DescribeProxyDetailResponseParams ¶ added in v1.0.426
type DescribeProxyDetailResponseParams struct { // 通道详情信息。 ProxyDetail *ProxyInfo `json:"ProxyDetail,omitnil,omitempty" name:"ProxyDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyGroupDetailsRequest ¶
type DescribeProxyGroupDetailsRequest struct { *tchttp.BaseRequest // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewDescribeProxyGroupDetailsRequest ¶
func NewDescribeProxyGroupDetailsRequest() (request *DescribeProxyGroupDetailsRequest)
func (*DescribeProxyGroupDetailsRequest) FromJsonString ¶
func (r *DescribeProxyGroupDetailsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyGroupDetailsRequest) ToJsonString ¶
func (r *DescribeProxyGroupDetailsRequest) ToJsonString() string
type DescribeProxyGroupDetailsRequestParams ¶ added in v1.0.426
type DescribeProxyGroupDetailsRequestParams struct { // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type DescribeProxyGroupDetailsResponse ¶
type DescribeProxyGroupDetailsResponse struct { *tchttp.BaseResponse Response *DescribeProxyGroupDetailsResponseParams `json:"Response"` }
func NewDescribeProxyGroupDetailsResponse ¶
func NewDescribeProxyGroupDetailsResponse() (response *DescribeProxyGroupDetailsResponse)
func (*DescribeProxyGroupDetailsResponse) FromJsonString ¶
func (r *DescribeProxyGroupDetailsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyGroupDetailsResponse) ToJsonString ¶
func (r *DescribeProxyGroupDetailsResponse) ToJsonString() string
type DescribeProxyGroupDetailsResponseParams ¶ added in v1.0.426
type DescribeProxyGroupDetailsResponseParams struct { // 通道组详细信息。 ProxyGroupDetail *ProxyGroupDetail `json:"ProxyGroupDetail,omitnil,omitempty" name:"ProxyGroupDetail"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyGroupListRequest ¶
type DescribeProxyGroupListRequest struct { *tchttp.BaseRequest // 偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认值为20,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 项目ID。取值范围: // -1,该用户下所有项目 // 0,默认项目 // 其他值,指定的项目 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 过滤条件。 // 每次请求的Filter.Values的上限为5。 // RealServerRegion - String - 是否必填:否 -(过滤条件)按照源站地域过滤,可参考DescribeDestRegions接口返回结果中的RegionId。 // PackageType - String - 是否必填:否 - (过滤条件)通道组类型,Thunder表示标准通道组,Accelerator表示银牌加速通道组。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,该通道组会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
func NewDescribeProxyGroupListRequest ¶
func NewDescribeProxyGroupListRequest() (request *DescribeProxyGroupListRequest)
func (*DescribeProxyGroupListRequest) FromJsonString ¶
func (r *DescribeProxyGroupListRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyGroupListRequest) ToJsonString ¶
func (r *DescribeProxyGroupListRequest) ToJsonString() string
type DescribeProxyGroupListRequestParams ¶ added in v1.0.426
type DescribeProxyGroupListRequestParams struct { // 偏移量,默认值为0。 Offset *int64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认值为20,最大值为100。 Limit *int64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 项目ID。取值范围: // -1,该用户下所有项目 // 0,默认项目 // 其他值,指定的项目 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 过滤条件。 // 每次请求的Filter.Values的上限为5。 // RealServerRegion - String - 是否必填:否 -(过滤条件)按照源站地域过滤,可参考DescribeDestRegions接口返回结果中的RegionId。 // PackageType - String - 是否必填:否 - (过滤条件)通道组类型,Thunder表示标准通道组,Accelerator表示银牌加速通道组。 Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,该通道组会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` }
Predefined struct for user
type DescribeProxyGroupListResponse ¶
type DescribeProxyGroupListResponse struct { *tchttp.BaseResponse Response *DescribeProxyGroupListResponseParams `json:"Response"` }
func NewDescribeProxyGroupListResponse ¶
func NewDescribeProxyGroupListResponse() (response *DescribeProxyGroupListResponse)
func (*DescribeProxyGroupListResponse) FromJsonString ¶
func (r *DescribeProxyGroupListResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyGroupListResponse) ToJsonString ¶
func (r *DescribeProxyGroupListResponse) ToJsonString() string
type DescribeProxyGroupListResponseParams ¶ added in v1.0.426
type DescribeProxyGroupListResponseParams struct { // 通道组总数。 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 通道组列表。 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyGroupList []*ProxyGroupInfo `json:"ProxyGroupList,omitnil,omitempty" name:"ProxyGroupList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyGroupStatisticsRequest ¶
type DescribeProxyGroupStatisticsRequest struct { *tchttp.BaseRequest // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 起始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 监控粒度,目前支持60,300,3600,86400,单位:秒。 // 当时间范围不超过1天,支持最小粒度60秒; // 当时间范围不超过7天,支持最小粒度3600秒; // 当时间范围不超过30天,支持最小粒度86400秒。 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` }
func NewDescribeProxyGroupStatisticsRequest ¶
func NewDescribeProxyGroupStatisticsRequest() (request *DescribeProxyGroupStatisticsRequest)
func (*DescribeProxyGroupStatisticsRequest) FromJsonString ¶
func (r *DescribeProxyGroupStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyGroupStatisticsRequest) ToJsonString ¶
func (r *DescribeProxyGroupStatisticsRequest) ToJsonString() string
type DescribeProxyGroupStatisticsRequestParams ¶ added in v1.0.426
type DescribeProxyGroupStatisticsRequestParams struct { // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 起始时间 StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间 EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 监控粒度,目前支持60,300,3600,86400,单位:秒。 // 当时间范围不超过1天,支持最小粒度60秒; // 当时间范围不超过7天,支持最小粒度3600秒; // 当时间范围不超过30天,支持最小粒度86400秒。 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` }
Predefined struct for user
type DescribeProxyGroupStatisticsResponse ¶
type DescribeProxyGroupStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeProxyGroupStatisticsResponseParams `json:"Response"` }
func NewDescribeProxyGroupStatisticsResponse ¶
func NewDescribeProxyGroupStatisticsResponse() (response *DescribeProxyGroupStatisticsResponse)
func (*DescribeProxyGroupStatisticsResponse) FromJsonString ¶
func (r *DescribeProxyGroupStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyGroupStatisticsResponse) ToJsonString ¶
func (r *DescribeProxyGroupStatisticsResponse) ToJsonString() string
type DescribeProxyGroupStatisticsResponseParams ¶ added in v1.0.426
type DescribeProxyGroupStatisticsResponseParams struct { // 通道组统计数据 StatisticsData []*MetricStatisticsInfo `json:"StatisticsData,omitnil,omitempty" name:"StatisticsData"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeProxyStatisticsRequest ¶
type DescribeProxyStatisticsRequest struct { *tchttp.BaseRequest // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 起始时间(2019-03-25 12:00:00) StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间(2019-03-25 12:00:00) EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets, 丢包率:PacketLoss, 延迟:Latency,http请求量:HttpQPS, Https请求量:HttpsQPS MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 监控粒度,目前支持60,300,3600,86400,单位:秒。 // 当时间范围不超过3天,支持最小粒度60秒; // 当时间范围不超过7天,支持最小粒度300秒; // 当时间范围不超过30天,支持最小粒度3600秒。 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` // 运营商(通道为三网通道时有效),支持CMCC,CUCC,CTCC,传空值或不传则合并三个运营商数据 Isp *string `json:"Isp,omitnil,omitempty" name:"Isp"` }
func NewDescribeProxyStatisticsRequest ¶
func NewDescribeProxyStatisticsRequest() (request *DescribeProxyStatisticsRequest)
func (*DescribeProxyStatisticsRequest) FromJsonString ¶
func (r *DescribeProxyStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyStatisticsRequest) ToJsonString ¶
func (r *DescribeProxyStatisticsRequest) ToJsonString() string
type DescribeProxyStatisticsRequestParams ¶ added in v1.0.426
type DescribeProxyStatisticsRequestParams struct { // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 起始时间(2019-03-25 12:00:00) StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 结束时间(2019-03-25 12:00:00) EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计指标名称列表,支持: 入带宽:InBandwidth, 出带宽:OutBandwidth, 并发:Concurrent, 入包量:InPackets, 出包量:OutPackets, 丢包率:PacketLoss, 延迟:Latency,http请求量:HttpQPS, Https请求量:HttpsQPS MetricNames []*string `json:"MetricNames,omitnil,omitempty" name:"MetricNames"` // 监控粒度,目前支持60,300,3600,86400,单位:秒。 // 当时间范围不超过3天,支持最小粒度60秒; // 当时间范围不超过7天,支持最小粒度300秒; // 当时间范围不超过30天,支持最小粒度3600秒。 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` // 运营商(通道为三网通道时有效),支持CMCC,CUCC,CTCC,传空值或不传则合并三个运营商数据 Isp *string `json:"Isp,omitnil,omitempty" name:"Isp"` }
Predefined struct for user
type DescribeProxyStatisticsResponse ¶
type DescribeProxyStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeProxyStatisticsResponseParams `json:"Response"` }
func NewDescribeProxyStatisticsResponse ¶
func NewDescribeProxyStatisticsResponse() (response *DescribeProxyStatisticsResponse)
func (*DescribeProxyStatisticsResponse) FromJsonString ¶
func (r *DescribeProxyStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeProxyStatisticsResponse) ToJsonString ¶
func (r *DescribeProxyStatisticsResponse) ToJsonString() string
type DescribeProxyStatisticsResponseParams ¶ added in v1.0.426
type DescribeProxyStatisticsResponseParams struct { // 通道统计数据 StatisticsData []*MetricStatisticsInfo `json:"StatisticsData,omitnil,omitempty" name:"StatisticsData"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRealServerStatisticsRequest ¶
type DescribeRealServerStatisticsRequest struct { *tchttp.BaseRequest // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // L7层规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 统计时长,单位:小时。仅支持最近1,3,6,12,24小时的统计查询 WithinTime *uint64 `json:"WithinTime,omitnil,omitempty" name:"WithinTime"` // 统计开始时间(2020-08-19 00:00:00) StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 统计结束时间(2020-08-19 23:59:59) EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计的数据粒度,单位:秒,仅支持1分钟-60和5分钟-300粒度 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` }
func NewDescribeRealServerStatisticsRequest ¶
func NewDescribeRealServerStatisticsRequest() (request *DescribeRealServerStatisticsRequest)
func (*DescribeRealServerStatisticsRequest) FromJsonString ¶
func (r *DescribeRealServerStatisticsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealServerStatisticsRequest) ToJsonString ¶
func (r *DescribeRealServerStatisticsRequest) ToJsonString() string
type DescribeRealServerStatisticsRequestParams ¶ added in v1.0.426
type DescribeRealServerStatisticsRequestParams struct { // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // L7层规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 统计时长,单位:小时。仅支持最近1,3,6,12,24小时的统计查询 WithinTime *uint64 `json:"WithinTime,omitnil,omitempty" name:"WithinTime"` // 统计开始时间(2020-08-19 00:00:00) StartTime *string `json:"StartTime,omitnil,omitempty" name:"StartTime"` // 统计结束时间(2020-08-19 23:59:59) EndTime *string `json:"EndTime,omitnil,omitempty" name:"EndTime"` // 统计的数据粒度,单位:秒,仅支持1分钟-60和5分钟-300粒度 Granularity *uint64 `json:"Granularity,omitnil,omitempty" name:"Granularity"` }
Predefined struct for user
type DescribeRealServerStatisticsResponse ¶
type DescribeRealServerStatisticsResponse struct { *tchttp.BaseResponse Response *DescribeRealServerStatisticsResponseParams `json:"Response"` }
func NewDescribeRealServerStatisticsResponse ¶
func NewDescribeRealServerStatisticsResponse() (response *DescribeRealServerStatisticsResponse)
func (*DescribeRealServerStatisticsResponse) FromJsonString ¶
func (r *DescribeRealServerStatisticsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealServerStatisticsResponse) ToJsonString ¶
func (r *DescribeRealServerStatisticsResponse) ToJsonString() string
type DescribeRealServerStatisticsResponseParams ¶ added in v1.0.426
type DescribeRealServerStatisticsResponseParams struct { // 指定监听器的源站状态统计数据 StatisticsData []*StatisticsDataInfo `json:"StatisticsData,omitnil,omitempty" name:"StatisticsData"` // 多个源站状态统计数据 RsStatisticsData []*MetricStatisticsInfo `json:"RsStatisticsData,omitnil,omitempty" name:"RsStatisticsData"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRealServersRequest ¶
type DescribeRealServersRequest struct { *tchttp.BaseRequest // 查询源站的所属项目ID,-1表示所有项目 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 需要查询的源站IP或域名,支持模糊匹配 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` // 偏移量,默认值是0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20个,最大值为50个 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,源站会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 过滤条件。filter的name取值(RealServerName,RealServerIP) Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
func NewDescribeRealServersRequest ¶
func NewDescribeRealServersRequest() (request *DescribeRealServersRequest)
func (*DescribeRealServersRequest) FromJsonString ¶
func (r *DescribeRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealServersRequest) ToJsonString ¶
func (r *DescribeRealServersRequest) ToJsonString() string
type DescribeRealServersRequestParams ¶ added in v1.0.426
type DescribeRealServersRequestParams struct { // 查询源站的所属项目ID,-1表示所有项目 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 需要查询的源站IP或域名,支持模糊匹配 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` // 偏移量,默认值是0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20个,最大值为50个 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 标签列表,当存在该字段时,拉取对应标签下的资源列表。 // 最多支持5个标签,当存在两个或两个以上的标签时,满足其中任意一个标签时,源站会被拉取出来。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 过滤条件。filter的name取值(RealServerName,RealServerIP) Filters []*Filter `json:"Filters,omitnil,omitempty" name:"Filters"` }
Predefined struct for user
type DescribeRealServersResponse ¶
type DescribeRealServersResponse struct { *tchttp.BaseResponse Response *DescribeRealServersResponseParams `json:"Response"` }
func NewDescribeRealServersResponse ¶
func NewDescribeRealServersResponse() (response *DescribeRealServersResponse)
func (*DescribeRealServersResponse) FromJsonString ¶
func (r *DescribeRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealServersResponse) ToJsonString ¶
func (r *DescribeRealServersResponse) ToJsonString() string
type DescribeRealServersResponseParams ¶ added in v1.0.426
type DescribeRealServersResponseParams struct { // 源站信息列表 RealServerSet []*BindRealServerInfo `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 查询得到的源站数量 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRealServersStatusRequest ¶
type DescribeRealServersStatusRequest struct { *tchttp.BaseRequest // 源站ID列表 RealServerIds []*string `json:"RealServerIds,omitnil,omitempty" name:"RealServerIds"` }
func NewDescribeRealServersStatusRequest ¶
func NewDescribeRealServersStatusRequest() (request *DescribeRealServersStatusRequest)
func (*DescribeRealServersStatusRequest) FromJsonString ¶
func (r *DescribeRealServersStatusRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealServersStatusRequest) ToJsonString ¶
func (r *DescribeRealServersStatusRequest) ToJsonString() string
type DescribeRealServersStatusRequestParams ¶ added in v1.0.426
type DescribeRealServersStatusRequestParams struct { // 源站ID列表 RealServerIds []*string `json:"RealServerIds,omitnil,omitempty" name:"RealServerIds"` }
Predefined struct for user
type DescribeRealServersStatusResponse ¶
type DescribeRealServersStatusResponse struct { *tchttp.BaseResponse Response *DescribeRealServersStatusResponseParams `json:"Response"` }
func NewDescribeRealServersStatusResponse ¶
func NewDescribeRealServersStatusResponse() (response *DescribeRealServersStatusResponse)
func (*DescribeRealServersStatusResponse) FromJsonString ¶
func (r *DescribeRealServersStatusResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRealServersStatusResponse) ToJsonString ¶
func (r *DescribeRealServersStatusResponse) ToJsonString() string
type DescribeRealServersStatusResponseParams ¶ added in v1.0.426
type DescribeRealServersStatusResponseParams struct { // 返回源站查询结果的个数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 源站被绑定状态列表 RealServerStatusSet []*RealServerStatus `json:"RealServerStatusSet,omitnil,omitempty" name:"RealServerStatusSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRegionAndPriceRequest ¶
type DescribeRegionAndPriceRequest struct { *tchttp.BaseRequest // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` }
func NewDescribeRegionAndPriceRequest ¶
func NewDescribeRegionAndPriceRequest() (request *DescribeRegionAndPriceRequest)
func (*DescribeRegionAndPriceRequest) FromJsonString ¶
func (r *DescribeRegionAndPriceRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionAndPriceRequest) ToJsonString ¶
func (r *DescribeRegionAndPriceRequest) ToJsonString() string
type DescribeRegionAndPriceRequestParams ¶ added in v1.0.426
type DescribeRegionAndPriceRequestParams struct { // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` }
Predefined struct for user
type DescribeRegionAndPriceResponse ¶
type DescribeRegionAndPriceResponse struct { *tchttp.BaseResponse Response *DescribeRegionAndPriceResponseParams `json:"Response"` }
func NewDescribeRegionAndPriceResponse ¶
func NewDescribeRegionAndPriceResponse() (response *DescribeRegionAndPriceResponse)
func (*DescribeRegionAndPriceResponse) FromJsonString ¶
func (r *DescribeRegionAndPriceResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRegionAndPriceResponse) ToJsonString ¶
func (r *DescribeRegionAndPriceResponse) ToJsonString() string
type DescribeRegionAndPriceResponseParams ¶ added in v1.0.426
type DescribeRegionAndPriceResponseParams struct { // 源站区域总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 源站区域详情列表 DestRegionSet []*RegionDetail `json:"DestRegionSet,omitnil,omitempty" name:"DestRegionSet"` // 通道带宽费用梯度价格 BandwidthUnitPrice []*BandwidthPriceGradient `json:"BandwidthUnitPrice,omitnil,omitempty" name:"BandwidthUnitPrice"` // 带宽价格货币类型: // CNY 人民币 // USD 美元 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeResourcesByTagRequest ¶
type DescribeResourcesByTagRequest struct { *tchttp.BaseRequest // 标签键。 TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // 标签值。 TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` // 资源类型,其中: // Proxy表示通道; // ProxyGroup表示通道组; // RealServer表示源站。 // 不指定该字段则查询该标签下所有资源。 ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` }
func NewDescribeResourcesByTagRequest ¶
func NewDescribeResourcesByTagRequest() (request *DescribeResourcesByTagRequest)
func (*DescribeResourcesByTagRequest) FromJsonString ¶
func (r *DescribeResourcesByTagRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagRequest) ToJsonString ¶
func (r *DescribeResourcesByTagRequest) ToJsonString() string
type DescribeResourcesByTagRequestParams ¶ added in v1.0.426
type DescribeResourcesByTagRequestParams struct { // 标签键。 TagKey *string `json:"TagKey,omitnil,omitempty" name:"TagKey"` // 标签值。 TagValue *string `json:"TagValue,omitnil,omitempty" name:"TagValue"` // 资源类型,其中: // Proxy表示通道; // ProxyGroup表示通道组; // RealServer表示源站。 // 不指定该字段则查询该标签下所有资源。 ResourceType *string `json:"ResourceType,omitnil,omitempty" name:"ResourceType"` }
Predefined struct for user
type DescribeResourcesByTagResponse ¶
type DescribeResourcesByTagResponse struct { *tchttp.BaseResponse Response *DescribeResourcesByTagResponseParams `json:"Response"` }
func NewDescribeResourcesByTagResponse ¶
func NewDescribeResourcesByTagResponse() (response *DescribeResourcesByTagResponse)
func (*DescribeResourcesByTagResponse) FromJsonString ¶
func (r *DescribeResourcesByTagResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeResourcesByTagResponse) ToJsonString ¶
func (r *DescribeResourcesByTagResponse) ToJsonString() string
type DescribeResourcesByTagResponseParams ¶ added in v1.0.426
type DescribeResourcesByTagResponseParams struct { // 资源总数 TotalCount *int64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 标签对应的资源列表 ResourceSet []*TagResourceInfo `json:"ResourceSet,omitnil,omitempty" name:"ResourceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRuleRealServersRequest ¶
type DescribeRuleRealServersRequest struct { *tchttp.BaseRequest // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
func NewDescribeRuleRealServersRequest ¶
func NewDescribeRuleRealServersRequest() (request *DescribeRuleRealServersRequest)
func (*DescribeRuleRealServersRequest) FromJsonString ¶
func (r *DescribeRuleRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleRealServersRequest) ToJsonString ¶
func (r *DescribeRuleRealServersRequest) ToJsonString() string
type DescribeRuleRealServersRequestParams ¶ added in v1.0.426
type DescribeRuleRealServersRequestParams struct { // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 偏移量,默认为0。 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 返回数量,默认为20,最大值为1000。 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` }
Predefined struct for user
type DescribeRuleRealServersResponse ¶
type DescribeRuleRealServersResponse struct { *tchttp.BaseResponse Response *DescribeRuleRealServersResponseParams `json:"Response"` }
func NewDescribeRuleRealServersResponse ¶
func NewDescribeRuleRealServersResponse() (response *DescribeRuleRealServersResponse)
func (*DescribeRuleRealServersResponse) FromJsonString ¶
func (r *DescribeRuleRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRuleRealServersResponse) ToJsonString ¶
func (r *DescribeRuleRealServersResponse) ToJsonString() string
type DescribeRuleRealServersResponseParams ¶ added in v1.0.426
type DescribeRuleRealServersResponseParams struct { // 可绑定的源站个数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 可绑定的源站信息列表 RealServerSet []*RealServer `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 已绑定的源站个数 BindRealServerTotalCount *uint64 `json:"BindRealServerTotalCount,omitnil,omitempty" name:"BindRealServerTotalCount"` // 已绑定的源站信息列表 BindRealServerSet []*BindRealServer `json:"BindRealServerSet,omitnil,omitempty" name:"BindRealServerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRulesByRuleIdsRequest ¶
type DescribeRulesByRuleIdsRequest struct { *tchttp.BaseRequest // 规则ID列表。最多支持10个规则。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
func NewDescribeRulesByRuleIdsRequest ¶
func NewDescribeRulesByRuleIdsRequest() (request *DescribeRulesByRuleIdsRequest)
func (*DescribeRulesByRuleIdsRequest) FromJsonString ¶
func (r *DescribeRulesByRuleIdsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesByRuleIdsRequest) ToJsonString ¶
func (r *DescribeRulesByRuleIdsRequest) ToJsonString() string
type DescribeRulesByRuleIdsRequestParams ¶ added in v1.0.426
type DescribeRulesByRuleIdsRequestParams struct { // 规则ID列表。最多支持10个规则。 RuleIds []*string `json:"RuleIds,omitnil,omitempty" name:"RuleIds"` }
Predefined struct for user
type DescribeRulesByRuleIdsResponse ¶
type DescribeRulesByRuleIdsResponse struct { *tchttp.BaseResponse Response *DescribeRulesByRuleIdsResponseParams `json:"Response"` }
func NewDescribeRulesByRuleIdsResponse ¶
func NewDescribeRulesByRuleIdsResponse() (response *DescribeRulesByRuleIdsResponse)
func (*DescribeRulesByRuleIdsResponse) FromJsonString ¶
func (r *DescribeRulesByRuleIdsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeRulesByRuleIdsResponse) ToJsonString ¶
func (r *DescribeRulesByRuleIdsResponse) ToJsonString() string
type DescribeRulesByRuleIdsResponseParams ¶ added in v1.0.426
type DescribeRulesByRuleIdsResponseParams struct { // 返回的规则总个数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 返回的规则列表。 RuleSet []*RuleInfo `json:"RuleSet,omitnil,omitempty" name:"RuleSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeRulesRequest ¶
type DescribeRulesRequest struct { *tchttp.BaseRequest // 7层监听器Id。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
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 ¶ added in v1.0.426
type DescribeRulesRequestParams struct { // 7层监听器Id。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` }
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 ¶ added in v1.0.426
type DescribeRulesResponseParams struct { // 按照域名分类的规则信息列表 DomainRuleSet []*DomainRuleSet `json:"DomainRuleSet,omitnil,omitempty" name:"DomainRuleSet"` // 该监听器下的域名总数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityPolicyDetailRequest ¶
type DescribeSecurityPolicyDetailRequest struct { *tchttp.BaseRequest // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewDescribeSecurityPolicyDetailRequest ¶
func NewDescribeSecurityPolicyDetailRequest() (request *DescribeSecurityPolicyDetailRequest)
func (*DescribeSecurityPolicyDetailRequest) FromJsonString ¶
func (r *DescribeSecurityPolicyDetailRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyDetailRequest) ToJsonString ¶
func (r *DescribeSecurityPolicyDetailRequest) ToJsonString() string
type DescribeSecurityPolicyDetailRequestParams ¶ added in v1.0.426
type DescribeSecurityPolicyDetailRequestParams struct { // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type DescribeSecurityPolicyDetailResponse ¶
type DescribeSecurityPolicyDetailResponse struct { *tchttp.BaseResponse Response *DescribeSecurityPolicyDetailResponseParams `json:"Response"` }
func NewDescribeSecurityPolicyDetailResponse ¶
func NewDescribeSecurityPolicyDetailResponse() (response *DescribeSecurityPolicyDetailResponse)
func (*DescribeSecurityPolicyDetailResponse) FromJsonString ¶
func (r *DescribeSecurityPolicyDetailResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityPolicyDetailResponse) ToJsonString ¶
func (r *DescribeSecurityPolicyDetailResponse) ToJsonString() string
type DescribeSecurityPolicyDetailResponseParams ¶ added in v1.0.426
type DescribeSecurityPolicyDetailResponseParams struct { // 通道ID // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 安全策略状态: // BOUND,已开启安全策略 // UNBIND,已关闭安全策略 // BINDING,安全策略开启中 // UNBINDING,安全策略关闭中。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 默认策略:ACCEPT或DROP。 DefaultAction *string `json:"DefaultAction,omitnil,omitempty" name:"DefaultAction"` // 策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 规则列表 RuleList []*SecurityPolicyRuleOut `json:"RuleList,omitnil,omitempty" name:"RuleList"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeSecurityRulesRequest ¶
type DescribeSecurityRulesRequest struct { *tchttp.BaseRequest // 安全规则ID列表。总数不能超过20个。 SecurityRuleIds []*string `json:"SecurityRuleIds,omitnil,omitempty" name:"SecurityRuleIds"` }
func NewDescribeSecurityRulesRequest ¶
func NewDescribeSecurityRulesRequest() (request *DescribeSecurityRulesRequest)
func (*DescribeSecurityRulesRequest) FromJsonString ¶
func (r *DescribeSecurityRulesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityRulesRequest) ToJsonString ¶
func (r *DescribeSecurityRulesRequest) ToJsonString() string
type DescribeSecurityRulesRequestParams ¶ added in v1.0.426
type DescribeSecurityRulesRequestParams struct { // 安全规则ID列表。总数不能超过20个。 SecurityRuleIds []*string `json:"SecurityRuleIds,omitnil,omitempty" name:"SecurityRuleIds"` }
Predefined struct for user
type DescribeSecurityRulesResponse ¶
type DescribeSecurityRulesResponse struct { *tchttp.BaseResponse Response *DescribeSecurityRulesResponseParams `json:"Response"` }
func NewDescribeSecurityRulesResponse ¶
func NewDescribeSecurityRulesResponse() (response *DescribeSecurityRulesResponse)
func (*DescribeSecurityRulesResponse) FromJsonString ¶
func (r *DescribeSecurityRulesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeSecurityRulesResponse) ToJsonString ¶
func (r *DescribeSecurityRulesResponse) ToJsonString() string
type DescribeSecurityRulesResponseParams ¶ added in v1.0.426
type DescribeSecurityRulesResponseParams struct { // 返回的安全规则详情总数。 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // 返回的安全规则详情列表。 SecurityRuleSet []*SecurityPolicyRuleOut `json:"SecurityRuleSet,omitnil,omitempty" name:"SecurityRuleSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeTCPListenersRequest ¶
type DescribeTCPListenersRequest struct { *tchttp.BaseRequest // 过滤条件,根据通道ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,根据监听器ID精确查询。 // 当设置了ProxyId时,会检查该监听器是否归属于该通道。 // 当设置了GroupId时,会检查该监听器是否归属于该通道组。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,根据监听器名称精确查询 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,根据监听器端口精确查询 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,根据通道组ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` }
func NewDescribeTCPListenersRequest ¶
func NewDescribeTCPListenersRequest() (request *DescribeTCPListenersRequest)
func (*DescribeTCPListenersRequest) FromJsonString ¶
func (r *DescribeTCPListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTCPListenersRequest) ToJsonString ¶
func (r *DescribeTCPListenersRequest) ToJsonString() string
type DescribeTCPListenersRequestParams ¶ added in v1.0.426
type DescribeTCPListenersRequestParams struct { // 过滤条件,根据通道ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,根据监听器ID精确查询。 // 当设置了ProxyId时,会检查该监听器是否归属于该通道。 // 当设置了GroupId时,会检查该监听器是否归属于该通道组。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,根据监听器名称精确查询 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,根据监听器端口精确查询 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,根据通道组ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` }
Predefined struct for user
type DescribeTCPListenersResponse ¶
type DescribeTCPListenersResponse struct { *tchttp.BaseResponse Response *DescribeTCPListenersResponseParams `json:"Response"` }
func NewDescribeTCPListenersResponse ¶
func NewDescribeTCPListenersResponse() (response *DescribeTCPListenersResponse)
func (*DescribeTCPListenersResponse) FromJsonString ¶
func (r *DescribeTCPListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeTCPListenersResponse) ToJsonString ¶
func (r *DescribeTCPListenersResponse) ToJsonString() string
type DescribeTCPListenersResponseParams ¶ added in v1.0.426
type DescribeTCPListenersResponseParams struct { // 满足条件的监听器总个数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // TCP监听器列表 ListenerSet []*TCPListener `json:"ListenerSet,omitnil,omitempty" name:"ListenerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DescribeUDPListenersRequest ¶
type DescribeUDPListenersRequest struct { *tchttp.BaseRequest // 过滤条件,根据通道ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,根据监听器ID精确查询。 // 当设置了ProxyId时,会检查该监听器是否归属于该通道。 // 当设置了GroupId时,会检查该监听器是否归属于该通道组。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,根据监听器名称精确查询 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,根据监听器端口精确查询 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,根据通道组ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` }
func NewDescribeUDPListenersRequest ¶
func NewDescribeUDPListenersRequest() (request *DescribeUDPListenersRequest)
func (*DescribeUDPListenersRequest) FromJsonString ¶
func (r *DescribeUDPListenersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUDPListenersRequest) ToJsonString ¶
func (r *DescribeUDPListenersRequest) ToJsonString() string
type DescribeUDPListenersRequestParams ¶ added in v1.0.426
type DescribeUDPListenersRequestParams struct { // 过滤条件,根据通道ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 过滤条件,根据监听器ID精确查询。 // 当设置了ProxyId时,会检查该监听器是否归属于该通道。 // 当设置了GroupId时,会检查该监听器是否归属于该通道组。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 过滤条件,根据监听器名称精确查询 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 过滤条件,根据监听器端口精确查询 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 偏移量,默认为0 Offset *uint64 `json:"Offset,omitnil,omitempty" name:"Offset"` // 限制数量,默认为20 Limit *uint64 `json:"Limit,omitnil,omitempty" name:"Limit"` // 过滤条件,根据通道组ID进行拉取,ProxyId/GroupId/ListenerId必须设置一个,但ProxyId和GroupId不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 过滤条件,支持按照端口或监听器名称进行模糊查询,该参数不能与ListenerName和Port同时使用 SearchValue *string `json:"SearchValue,omitnil,omitempty" name:"SearchValue"` }
Predefined struct for user
type DescribeUDPListenersResponse ¶
type DescribeUDPListenersResponse struct { *tchttp.BaseResponse Response *DescribeUDPListenersResponseParams `json:"Response"` }
func NewDescribeUDPListenersResponse ¶
func NewDescribeUDPListenersResponse() (response *DescribeUDPListenersResponse)
func (*DescribeUDPListenersResponse) FromJsonString ¶
func (r *DescribeUDPListenersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DescribeUDPListenersResponse) ToJsonString ¶
func (r *DescribeUDPListenersResponse) ToJsonString() string
type DescribeUDPListenersResponseParams ¶ added in v1.0.426
type DescribeUDPListenersResponseParams struct { // 监听器个数 TotalCount *uint64 `json:"TotalCount,omitnil,omitempty" name:"TotalCount"` // UDP监听器列表 ListenerSet []*UDPListener `json:"ListenerSet,omitnil,omitempty" name:"ListenerSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DestAddressInfo ¶ added in v1.0.399
type DestAddressInfo struct { // 加速的目标IP,可多ip一起加速 DestIp []*string `json:"DestIp,omitnil,omitempty" name:"DestIp"` }
type DestroyProxiesRequest ¶
type DestroyProxiesRequest struct { *tchttp.BaseRequest // 强制删除标识。 // 1,强制删除该通道列表,无论是否已经绑定了源站; // 0,如果已绑定了源站,则无法删除。 // 删除多通道时,如果该标识为0,只有所有的通道都没有绑定源站,才允许删除。 Force *int64 `json:"Force,omitnil,omitempty" name:"Force"` // (旧参数,请切换到ProxyIds)通道实例ID列表。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道实例ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
func NewDestroyProxiesRequest ¶
func NewDestroyProxiesRequest() (request *DestroyProxiesRequest)
func (*DestroyProxiesRequest) FromJsonString ¶
func (r *DestroyProxiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyProxiesRequest) ToJsonString ¶
func (r *DestroyProxiesRequest) ToJsonString() string
type DestroyProxiesRequestParams ¶ added in v1.0.426
type DestroyProxiesRequestParams struct { // 强制删除标识。 // 1,强制删除该通道列表,无论是否已经绑定了源站; // 0,如果已绑定了源站,则无法删除。 // 删除多通道时,如果该标识为0,只有所有的通道都没有绑定源站,才允许删除。 Force *int64 `json:"Force,omitnil,omitempty" name:"Force"` // (旧参数,请切换到ProxyIds)通道实例ID列表。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道实例ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
Predefined struct for user
type DestroyProxiesResponse ¶
type DestroyProxiesResponse struct { *tchttp.BaseResponse Response *DestroyProxiesResponseParams `json:"Response"` }
func NewDestroyProxiesResponse ¶
func NewDestroyProxiesResponse() (response *DestroyProxiesResponse)
func (*DestroyProxiesResponse) FromJsonString ¶
func (r *DestroyProxiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DestroyProxiesResponse) ToJsonString ¶
func (r *DestroyProxiesResponse) ToJsonString() string
type DestroyProxiesResponseParams ¶ added in v1.0.426
type DestroyProxiesResponseParams struct { // 处于不可销毁状态下的通道实例ID列表。 InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitnil,omitempty" name:"InvalidStatusInstanceSet"` // 销毁操作失败的通道实例ID列表。 OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitnil,omitempty" name:"OperationFailedInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type DeviceInfo ¶ added in v1.0.399
type DeviceInfo struct { // 设备数据卡所属的运营商 // 1:移动 // 2:电信 // 3:联通 // 4:广电 // 99:其他 Vendor *int64 `json:"Vendor,omitnil,omitempty" name:"Vendor"` // 设备操作系统 // 1:Android // 2: IOS // 99:其他 OS *int64 `json:"OS,omitnil,omitempty" name:"OS"` // 设备唯一标识 // IOS 填写 IDFV // Android 填写 IMEI DeviceId *string `json:"DeviceId,omitnil,omitempty" name:"DeviceId"` // 用户手机号码 PhoneNum *string `json:"PhoneNum,omitnil,omitempty" name:"PhoneNum"` // 无线信息 // 1:4G // 2:5G // 3:WIFI // 99:其他 Wireless *int64 `json:"Wireless,omitnil,omitempty" name:"Wireless"` }
type DisableGlobalDomainRequest ¶ added in v1.0.482
type DisableGlobalDomainRequest struct { *tchttp.BaseRequest // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
func NewDisableGlobalDomainRequest ¶ added in v1.0.482
func NewDisableGlobalDomainRequest() (request *DisableGlobalDomainRequest)
func (*DisableGlobalDomainRequest) FromJsonString ¶ added in v1.0.482
func (r *DisableGlobalDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableGlobalDomainRequest) ToJsonString ¶ added in v1.0.482
func (r *DisableGlobalDomainRequest) ToJsonString() string
type DisableGlobalDomainRequestParams ¶ added in v1.0.482
type DisableGlobalDomainRequestParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
Predefined struct for user
type DisableGlobalDomainResponse ¶ added in v1.0.482
type DisableGlobalDomainResponse struct { *tchttp.BaseResponse Response *DisableGlobalDomainResponseParams `json:"Response"` }
func NewDisableGlobalDomainResponse ¶ added in v1.0.482
func NewDisableGlobalDomainResponse() (response *DisableGlobalDomainResponse)
func (*DisableGlobalDomainResponse) FromJsonString ¶ added in v1.0.482
func (r *DisableGlobalDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DisableGlobalDomainResponse) ToJsonString ¶ added in v1.0.482
func (r *DisableGlobalDomainResponse) ToJsonString() string
type DisableGlobalDomainResponseParams ¶ added in v1.0.482
type DisableGlobalDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type Domain ¶ added in v1.0.482
type Domain struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 完整域名记录 FullDomain *string `json:"FullDomain,omitnil,omitempty" name:"FullDomain"` // 别名 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 类型 Type *string `json:"Type,omitnil,omitempty" name:"Type"` // 状态,1表示关闭,0表示开启,2表示关闭中,3表示开启中 Status *uint64 `json:"Status,omitnil,omitempty" name:"Status"` // 所属项目 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 默认入口 // 注意:此字段可能返回 null,表示取不到有效值。 DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` // 通道数量 ProxyCount *uint64 `json:"ProxyCount,omitnil,omitempty" name:"ProxyCount"` // 创建时间,使用UNIX时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 更新时间,使用UNIX时间戳 // 注意:此字段可能返回 null,表示取不到有效值。 UpdateTime *uint64 `json:"UpdateTime,omitnil,omitempty" name:"UpdateTime"` // 标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 封禁解封状态:BANNED表示已封禁,RECOVER表示已解封或未封禁,BANNING表示封禁中,RECOVERING表示解封中,BAN_FAILED表示封禁失败,RECOVER_FAILED表示解封失败。 // 注意:此字段可能返回 null,表示取不到有效值。 BanStatus *string `json:"BanStatus,omitnil,omitempty" name:"BanStatus"` }
type DomainAccessRegionDict ¶
type DomainAccessRegionDict struct { // 就近接入区域 NationCountryInnerList []*NationCountryInnerInfo `json:"NationCountryInnerList,omitnil,omitempty" name:"NationCountryInnerList"` // 加速区域通道列表 ProxyList []*ProxyIdDict `json:"ProxyList,omitnil,omitempty" name:"ProxyList"` // 加速区域ID RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // 加速区域内部编码 GeographicalZoneInnerCode *string `json:"GeographicalZoneInnerCode,omitnil,omitempty" name:"GeographicalZoneInnerCode"` // 加速区域所属大洲内部编码 ContinentInnerCode *string `json:"ContinentInnerCode,omitnil,omitempty" name:"ContinentInnerCode"` // 加速区域别名 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` }
type DomainErrorPageInfo ¶
type DomainErrorPageInfo struct { // 错误定制响应的配置ID ErrorPageId *string `json:"ErrorPageId,omitnil,omitempty" name:"ErrorPageId"` // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 原始错误码 ErrorNos []*int64 `json:"ErrorNos,omitnil,omitempty" name:"ErrorNos"` // 新的错误码 // 注意:此字段可能返回 null,表示取不到有效值。 NewErrorNo *int64 `json:"NewErrorNo,omitnil,omitempty" name:"NewErrorNo"` // 需要清理的响应头 // 注意:此字段可能返回 null,表示取不到有效值。 ClearHeaders []*string `json:"ClearHeaders,omitnil,omitempty" name:"ClearHeaders"` // 需要设置的响应头 // 注意:此字段可能返回 null,表示取不到有效值。 SetHeaders []*HttpHeaderParam `json:"SetHeaders,omitnil,omitempty" name:"SetHeaders"` // 设置的响应体(不包括 HTTP头) // 注意:此字段可能返回 null,表示取不到有效值。 Body *string `json:"Body,omitnil,omitempty" name:"Body"` // 规则状态,0为成功 // 注意:此字段可能返回 null,表示取不到有效值。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` }
type DomainRuleSet ¶
type DomainRuleSet struct { // 转发规则域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 该域名对应的转发规则列表。 RuleSet []*RuleInfo `json:"RuleSet,omitnil,omitempty" name:"RuleSet"` // 该域名对应的服务器证书ID,值为default时,表示使用默认证书(监听器配置的证书)。 // 注意:此字段可能返回 null,表示取不到有效值。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 该域名对应服务器证书名称。 // 注意:此字段可能返回 null,表示取不到有效值。 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` // 该域名对应的客户端证书ID,值为default时,表示使用默认证书(监听器配置的证书)。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 该域名对应客户端证书名称。 // 注意:此字段可能返回 null,表示取不到有效值。 ClientCertificateAlias *string `json:"ClientCertificateAlias,omitnil,omitempty" name:"ClientCertificateAlias"` // 该域名对应基础认证配置ID。 // 注意:此字段可能返回 null,表示取不到有效值。 BasicAuthConfId *string `json:"BasicAuthConfId,omitnil,omitempty" name:"BasicAuthConfId"` // 基础认证开关,其中: // 0,表示未开启; // 1,表示已开启。 // 注意:此字段可能返回 null,表示取不到有效值。 BasicAuth *int64 `json:"BasicAuth,omitnil,omitempty" name:"BasicAuth"` // 该域名对应基础认证配置名称。 // 注意:此字段可能返回 null,表示取不到有效值。 BasicAuthConfAlias *string `json:"BasicAuthConfAlias,omitnil,omitempty" name:"BasicAuthConfAlias"` // 该域名对应源站认证证书ID。 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerCertificateId *string `json:"RealServerCertificateId,omitnil,omitempty" name:"RealServerCertificateId"` // 源站认证开关,其中: // 0,表示未开启; // 1,表示已开启。 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerAuth *int64 `json:"RealServerAuth,omitnil,omitempty" name:"RealServerAuth"` // 该域名对应源站认证证书名称。 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerCertificateAlias *string `json:"RealServerCertificateAlias,omitnil,omitempty" name:"RealServerCertificateAlias"` // 该域名对应通道认证证书ID。 // 注意:此字段可能返回 null,表示取不到有效值。 GaapCertificateId *string `json:"GaapCertificateId,omitnil,omitempty" name:"GaapCertificateId"` // 通道认证开关,其中: // 0,表示未开启; // 1,表示已开启。 // 注意:此字段可能返回 null,表示取不到有效值。 GaapAuth *int64 `json:"GaapAuth,omitnil,omitempty" name:"GaapAuth"` // 该域名对应通道认证证书名称。 // 注意:此字段可能返回 null,表示取不到有效值。 GaapCertificateAlias *string `json:"GaapCertificateAlias,omitnil,omitempty" name:"GaapCertificateAlias"` // 源站认证域名。 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerCertificateDomain *string `json:"RealServerCertificateDomain,omitnil,omitempty" name:"RealServerCertificateDomain"` // 多客户端证书时,返回多个证书的id和别名 // 注意:此字段可能返回 null,表示取不到有效值。 PolyClientCertificateAliasInfo []*CertificateAliasInfo `json:"PolyClientCertificateAliasInfo,omitnil,omitempty" name:"PolyClientCertificateAliasInfo"` // 多源站证书时,返回多个证书的id和别名 // 注意:此字段可能返回 null,表示取不到有效值。 PolyRealServerCertificateAliasInfo []*CertificateAliasInfo `json:"PolyRealServerCertificateAliasInfo,omitnil,omitempty" name:"PolyRealServerCertificateAliasInfo"` // 域名的状态。 // 0表示运行中, // 1表示变更中, // 2表示删除中。 // 注意:此字段可能返回 null,表示取不到有效值。 DomainStatus *uint64 `json:"DomainStatus,omitnil,omitempty" name:"DomainStatus"` // 封禁解封状态:BANNED表示已封禁,RECOVER表示已解封或未封禁,BANNING表示封禁中,RECOVERING表示解封中,BAN_FAILED表示封禁失败,RECOVER_FAILED表示解封失败。 // 注意:此字段可能返回 null,表示取不到有效值。 BanStatus *string `json:"BanStatus,omitnil,omitempty" name:"BanStatus"` // Http3特性标识,其中: // 0表示关闭; // 1表示启用。 // 注意:此字段可能返回 null,表示取不到有效值。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 是否为默认域名 // 注意:此字段可能返回 null,表示取不到有效值。 IsDefaultServer *bool `json:"IsDefaultServer,omitnil,omitempty" name:"IsDefaultServer"` }
type EnableGlobalDomainRequest ¶ added in v1.0.482
type EnableGlobalDomainRequest struct { *tchttp.BaseRequest // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
func NewEnableGlobalDomainRequest ¶ added in v1.0.482
func NewEnableGlobalDomainRequest() (request *EnableGlobalDomainRequest)
func (*EnableGlobalDomainRequest) FromJsonString ¶ added in v1.0.482
func (r *EnableGlobalDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableGlobalDomainRequest) ToJsonString ¶ added in v1.0.482
func (r *EnableGlobalDomainRequest) ToJsonString() string
type EnableGlobalDomainRequestParams ¶ added in v1.0.482
type EnableGlobalDomainRequestParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` }
Predefined struct for user
type EnableGlobalDomainResponse ¶ added in v1.0.482
type EnableGlobalDomainResponse struct { *tchttp.BaseResponse Response *EnableGlobalDomainResponseParams `json:"Response"` }
func NewEnableGlobalDomainResponse ¶ added in v1.0.482
func NewEnableGlobalDomainResponse() (response *EnableGlobalDomainResponse)
func (*EnableGlobalDomainResponse) FromJsonString ¶ added in v1.0.482
func (r *EnableGlobalDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*EnableGlobalDomainResponse) ToJsonString ¶ added in v1.0.482
func (r *EnableGlobalDomainResponse) ToJsonString() string
type EnableGlobalDomainResponseParams ¶ added in v1.0.482
type EnableGlobalDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type GlobalDns ¶ added in v1.0.482
type GlobalDns struct { // 解析记录ID DnsRecordId *uint64 `json:"DnsRecordId,omitnil,omitempty" name:"DnsRecordId"` // 域名就近接入地域信息列表 CountryAreaList []*CountryAreaMap `json:"CountryAreaList,omitnil,omitempty" name:"CountryAreaList"` // 域名解析对应的通道接入点信息列表 AccessList []*ProxyAccessInfo `json:"AccessList,omitnil,omitempty" name:"AccessList"` // 解析状态:1表示运行中,2表示创建中,3表示修改中,4表示删除中 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` }
type GroupStatisticsInfo ¶
type GroupStatisticsInfo struct { // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道组名称 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 通道组下通道列表 ProxySet []*ProxySimpleInfo `json:"ProxySet,omitnil,omitempty" name:"ProxySet"` }
type HTTPListener ¶
type HTTPListener struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 监听器创建时间,Unix时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 监听器协议, HTTP表示HTTP,HTTPS表示HTTPS,此结构取值HTTP Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 监听器状态,其中: // 0表示运行中; // 1表示创建中; // 2表示销毁中; // 3表示源站调整中; // 4表示配置变更中。 ListenerStatus *uint64 `json:"ListenerStatus,omitnil,omitempty" name:"ListenerStatus"` // 监听器的通道ID,如果监听器属于通道组,则为null // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器的通道组ID,如果监听器属于通道,则为null // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
type HTTPSListener ¶
type HTTPSListener struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 监听器协议, HTTP表示HTTP,HTTPS表示HTTPS,此结构取值HTTPS Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 监听器状态,其中: // 0表示运行中; // 1表示创建中; // 2表示销毁中; // 3表示源站调整中; // 4表示配置变更中。 ListenerStatus *uint64 `json:"ListenerStatus,omitnil,omitempty" name:"ListenerStatus"` // 监听器服务器SSL证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 监听器后端转发源站协议 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 监听器创建时间,Unix时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 服务器SSL证书的别名 // 注意:此字段可能返回 null,表示取不到有效值。 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` // 监听器客户端CA证书ID // 注意:此字段可能返回 null,表示取不到有效值。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 监听器认证方式。其中, // 0表示单向认证; // 1表示双向认证。 // 注意:此字段可能返回 null,表示取不到有效值。 AuthType *int64 `json:"AuthType,omitnil,omitempty" name:"AuthType"` // 客户端CA证书别名 // 注意:此字段可能返回 null,表示取不到有效值。 ClientCertificateAlias *string `json:"ClientCertificateAlias,omitnil,omitempty" name:"ClientCertificateAlias"` // 多客户端CA证书别名信息 // 注意:此字段可能返回 null,表示取不到有效值。 PolyClientCertificateAliasInfo []*CertificateAliasInfo `json:"PolyClientCertificateAliasInfo,omitnil,omitempty" name:"PolyClientCertificateAliasInfo"` // 是否支持Http3,其中: // 0,不支持Http3接入; // 1,持Http3接入。 // 注意:如果支持了Http3的功能,那么该监听器会占用对应的UDP接入端口,不可再创建相同端口的UDP监听器。 // 注意:此字段可能返回 null,表示取不到有效值。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 监听器的通道ID,如果监听器属于通道组,则为null // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器的通道组ID,如果监听器属于通道,则为null // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 支持的TLS版本 // 注意:此字段可能返回 null,表示取不到有效值。 TLSSupportVersion []*string `json:"TLSSupportVersion,omitnil,omitempty" name:"TLSSupportVersion"` // 支持的TLS密码套件 // 注意:此字段可能返回 null,表示取不到有效值。 TLSCiphers *string `json:"TLSCiphers,omitnil,omitempty" name:"TLSCiphers"` }
type HttpHeaderParam ¶
type InquiryPriceCreateProxyRequest ¶
type InquiryPriceCreateProxyRequest struct { *tchttp.BaseRequest // 加速区域名称。 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // (旧参数,请切换到RealServerRegion)源站区域名称。 DestRegion *string `json:"DestRegion,omitnil,omitempty" name:"DestRegion"` // (旧参数,请切换到Concurrent)通道并发量上限,表示同时在线的连接数,单位:万。 Concurrency *int64 `json:"Concurrency,omitnil,omitempty" name:"Concurrency"` // (新参数)源站区域名称。 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // (新参数)通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *int64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 计费方式,0表示按带宽计费,1表示按流量计费。默认按带宽计费 BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型,可取值:normal、cn2,默认值normal NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
func NewInquiryPriceCreateProxyRequest ¶
func NewInquiryPriceCreateProxyRequest() (request *InquiryPriceCreateProxyRequest)
func (*InquiryPriceCreateProxyRequest) FromJsonString ¶
func (r *InquiryPriceCreateProxyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateProxyRequest) ToJsonString ¶
func (r *InquiryPriceCreateProxyRequest) ToJsonString() string
type InquiryPriceCreateProxyRequestParams ¶ added in v1.0.426
type InquiryPriceCreateProxyRequestParams struct { // 加速区域名称。 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 通道带宽上限,单位:Mbps。 Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // (旧参数,请切换到RealServerRegion)源站区域名称。 DestRegion *string `json:"DestRegion,omitnil,omitempty" name:"DestRegion"` // (旧参数,请切换到Concurrent)通道并发量上限,表示同时在线的连接数,单位:万。 Concurrency *int64 `json:"Concurrency,omitnil,omitempty" name:"Concurrency"` // (新参数)源站区域名称。 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // (新参数)通道并发量上限,表示同时在线的连接数,单位:万。 Concurrent *int64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 计费方式,0表示按带宽计费,1表示按流量计费。默认按带宽计费 BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型,可取值:normal、cn2,默认值normal NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型,Thunder表示标准通道组,Accelerator表示游戏加速器通道,CrossBorder表示跨境通道。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 该字段已废弃,当IPAddressVersion为IPv4时,所创建的通道默认支持Http3.0;当为IPv6,默认不支持Http3.0。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` }
Predefined struct for user
type InquiryPriceCreateProxyResponse ¶
type InquiryPriceCreateProxyResponse struct { *tchttp.BaseResponse Response *InquiryPriceCreateProxyResponseParams `json:"Response"` }
func NewInquiryPriceCreateProxyResponse ¶
func NewInquiryPriceCreateProxyResponse() (response *InquiryPriceCreateProxyResponse)
func (*InquiryPriceCreateProxyResponse) FromJsonString ¶
func (r *InquiryPriceCreateProxyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InquiryPriceCreateProxyResponse) ToJsonString ¶
func (r *InquiryPriceCreateProxyResponse) ToJsonString() string
type InquiryPriceCreateProxyResponseParams ¶ added in v1.0.426
type InquiryPriceCreateProxyResponseParams struct { // 通道基础费用价格,单位:元/天。 ProxyDailyPrice *float64 `json:"ProxyDailyPrice,omitnil,omitempty" name:"ProxyDailyPrice"` // 通道带宽费用梯度价格。 // 注意:此字段可能返回 null,表示取不到有效值。 BandwidthUnitPrice []*BandwidthPriceGradient `json:"BandwidthUnitPrice,omitnil,omitempty" name:"BandwidthUnitPrice"` // 通道基础费用折扣价格,单位:元/天。 DiscountProxyDailyPrice *float64 `json:"DiscountProxyDailyPrice,omitnil,omitempty" name:"DiscountProxyDailyPrice"` // 价格使用的货币,支持人民币,美元等。 Currency *string `json:"Currency,omitnil,omitempty" name:"Currency"` // 通道的流量费用价格,单位: 元/GB // 注意:此字段可能返回 null,表示取不到有效值。 FlowUnitPrice *float64 `json:"FlowUnitPrice,omitnil,omitempty" name:"FlowUnitPrice"` // 通道的流量费用折扣价格,单位:元/GB // 注意:此字段可能返回 null,表示取不到有效值。 DiscountFlowUnitPrice *float64 `json:"DiscountFlowUnitPrice,omitnil,omitempty" name:"DiscountFlowUnitPrice"` // 精品BGP的带宽费用价格,单位: 元/Mbps/天 // 注意:此字段可能返回 null,表示取不到有效值。 Cn2BandwidthPrice *float64 `json:"Cn2BandwidthPrice,omitnil,omitempty" name:"Cn2BandwidthPrice"` // 精品BGP的折后带宽费用价格,单位: 元/Mbps/天 // 注意:此字段可能返回 null,表示取不到有效值。 Cn2BandwidthPriceWithDiscount *float64 `json:"Cn2BandwidthPriceWithDiscount,omitnil,omitempty" name:"Cn2BandwidthPriceWithDiscount"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ListenerInfo ¶
type ListenerInfo struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器监听端口 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 监听器协议类型 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` }
type MetricStatisticsInfo ¶
type MetricStatisticsInfo struct { // 指标名称 MetricName *string `json:"MetricName,omitnil,omitempty" name:"MetricName"` // 指标统计数据 MetricData []*StatisticsDataInfo `json:"MetricData,omitnil,omitempty" name:"MetricData"` }
type ModifyCertificateAttributesRequest ¶
type ModifyCertificateAttributesRequest struct { *tchttp.BaseRequest // 证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 证书名字。长度不超过50个字符。 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` }
func NewModifyCertificateAttributesRequest ¶
func NewModifyCertificateAttributesRequest() (request *ModifyCertificateAttributesRequest)
func (*ModifyCertificateAttributesRequest) FromJsonString ¶
func (r *ModifyCertificateAttributesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCertificateAttributesRequest) ToJsonString ¶
func (r *ModifyCertificateAttributesRequest) ToJsonString() string
type ModifyCertificateAttributesRequestParams ¶ added in v1.0.426
type ModifyCertificateAttributesRequestParams struct { // 证书ID。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 证书名字。长度不超过50个字符。 CertificateAlias *string `json:"CertificateAlias,omitnil,omitempty" name:"CertificateAlias"` }
Predefined struct for user
type ModifyCertificateAttributesResponse ¶
type ModifyCertificateAttributesResponse struct { *tchttp.BaseResponse Response *ModifyCertificateAttributesResponseParams `json:"Response"` }
func NewModifyCertificateAttributesResponse ¶
func NewModifyCertificateAttributesResponse() (response *ModifyCertificateAttributesResponse)
func (*ModifyCertificateAttributesResponse) FromJsonString ¶
func (r *ModifyCertificateAttributesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCertificateAttributesResponse) ToJsonString ¶
func (r *ModifyCertificateAttributesResponse) ToJsonString() string
type ModifyCertificateAttributesResponseParams ¶ added in v1.0.426
type ModifyCertificateAttributesResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyCertificateRequest ¶
type ModifyCertificateRequest struct { *tchttp.BaseRequest // 监听器实例ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要修改证书的域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 新的服务器证书ID。其中: // 当CertificateId=default时,表示使用监听器的证书。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 新的客户端证书ID。其中: // 当ClientCertificateId=default时,表示使用监听器的证书。 // 仅当采用双向认证方式时,需要设置该参数或者PolyClientCertificateIds。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 新的多客户端证书ID列表。其中: // 仅当采用双向认证方式时,需要设置该参数或ClientCertificateId参数。 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` }
func NewModifyCertificateRequest ¶
func NewModifyCertificateRequest() (request *ModifyCertificateRequest)
func (*ModifyCertificateRequest) FromJsonString ¶
func (r *ModifyCertificateRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCertificateRequest) ToJsonString ¶
func (r *ModifyCertificateRequest) ToJsonString() string
type ModifyCertificateRequestParams ¶ added in v1.0.426
type ModifyCertificateRequestParams struct { // 监听器实例ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要修改证书的域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 新的服务器证书ID。其中: // 当CertificateId=default时,表示使用监听器的证书。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 新的客户端证书ID。其中: // 当ClientCertificateId=default时,表示使用监听器的证书。 // 仅当采用双向认证方式时,需要设置该参数或者PolyClientCertificateIds。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 新的多客户端证书ID列表。其中: // 仅当采用双向认证方式时,需要设置该参数或ClientCertificateId参数。 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` }
Predefined struct for user
type ModifyCertificateResponse ¶
type ModifyCertificateResponse struct { *tchttp.BaseResponse Response *ModifyCertificateResponseParams `json:"Response"` }
func NewModifyCertificateResponse ¶
func NewModifyCertificateResponse() (response *ModifyCertificateResponse)
func (*ModifyCertificateResponse) FromJsonString ¶
func (r *ModifyCertificateResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyCertificateResponse) ToJsonString ¶
func (r *ModifyCertificateResponse) ToJsonString() string
type ModifyCertificateResponseParams ¶ added in v1.0.426
type ModifyCertificateResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyDomainRequest ¶
type ModifyDomainRequest struct { *tchttp.BaseRequest // 7层监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 修改前的域名信息 OldDomain *string `json:"OldDomain,omitnil,omitempty" name:"OldDomain"` // 修改后的域名信息 NewDomain *string `json:"NewDomain,omitnil,omitempty" name:"NewDomain"` // 服务器SSL证书ID,仅适用于version3.0的通道。其中: // 不带该字段时,表示使用原证书; // 携带该字段时并且CertificateId=default,表示使用监听器证书; // 其他情况,使用该CertificateId指定的证书。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 客户端CA证书ID,仅适用于version3.0的通道。其中: // 不带该字段和PolyClientCertificateIds时,表示使用原证书; // 携带该字段时并且ClientCertificateId=default,表示使用监听器证书; // 其他情况,使用该ClientCertificateId或PolyClientCertificateIds指定的证书。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 客户端CA证书ID,仅适用于version3.0的通道。其中: // 不带该字段和ClientCertificateId时,表示使用原证书; // 携带该字段时并且ClientCertificateId=default,表示使用监听器证书; // 其他情况,使用该ClientCertificateId或PolyClientCertificateIds指定的证书。 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` // 是否作为默认域名,默认为“否” IsDefaultServer *bool `json:"IsDefaultServer,omitnil,omitempty" name:"IsDefaultServer"` }
func NewModifyDomainRequest ¶
func NewModifyDomainRequest() (request *ModifyDomainRequest)
func (*ModifyDomainRequest) FromJsonString ¶
func (r *ModifyDomainRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainRequest) ToJsonString ¶
func (r *ModifyDomainRequest) ToJsonString() string
type ModifyDomainRequestParams ¶ added in v1.0.426
type ModifyDomainRequestParams struct { // 7层监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 修改前的域名信息 OldDomain *string `json:"OldDomain,omitnil,omitempty" name:"OldDomain"` // 修改后的域名信息 NewDomain *string `json:"NewDomain,omitnil,omitempty" name:"NewDomain"` // 服务器SSL证书ID,仅适用于version3.0的通道。其中: // 不带该字段时,表示使用原证书; // 携带该字段时并且CertificateId=default,表示使用监听器证书; // 其他情况,使用该CertificateId指定的证书。 CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 客户端CA证书ID,仅适用于version3.0的通道。其中: // 不带该字段和PolyClientCertificateIds时,表示使用原证书; // 携带该字段时并且ClientCertificateId=default,表示使用监听器证书; // 其他情况,使用该ClientCertificateId或PolyClientCertificateIds指定的证书。 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 客户端CA证书ID,仅适用于version3.0的通道。其中: // 不带该字段和ClientCertificateId时,表示使用原证书; // 携带该字段时并且ClientCertificateId=default,表示使用监听器证书; // 其他情况,使用该ClientCertificateId或PolyClientCertificateIds指定的证书。 PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` // 是否作为默认域名,默认为“否” IsDefaultServer *bool `json:"IsDefaultServer,omitnil,omitempty" name:"IsDefaultServer"` }
Predefined struct for user
type ModifyDomainResponse ¶
type ModifyDomainResponse struct { *tchttp.BaseResponse Response *ModifyDomainResponseParams `json:"Response"` }
func NewModifyDomainResponse ¶
func NewModifyDomainResponse() (response *ModifyDomainResponse)
func (*ModifyDomainResponse) FromJsonString ¶
func (r *ModifyDomainResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyDomainResponse) ToJsonString ¶
func (r *ModifyDomainResponse) ToJsonString() string
type ModifyDomainResponseParams ¶ added in v1.0.426
type ModifyDomainResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGlobalDomainAttributeRequest ¶ added in v1.0.482
type ModifyGlobalDomainAttributeRequest struct { *tchttp.BaseRequest // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 别名 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 默认入口 DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` }
func NewModifyGlobalDomainAttributeRequest ¶ added in v1.0.482
func NewModifyGlobalDomainAttributeRequest() (request *ModifyGlobalDomainAttributeRequest)
func (*ModifyGlobalDomainAttributeRequest) FromJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGlobalDomainAttributeRequest) ToJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainAttributeRequest) ToJsonString() string
type ModifyGlobalDomainAttributeRequestParams ¶ added in v1.0.482
type ModifyGlobalDomainAttributeRequestParams struct { // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 别名 Alias *string `json:"Alias,omitnil,omitempty" name:"Alias"` // 默认入口 DefaultValue *string `json:"DefaultValue,omitnil,omitempty" name:"DefaultValue"` }
Predefined struct for user
type ModifyGlobalDomainAttributeResponse ¶ added in v1.0.482
type ModifyGlobalDomainAttributeResponse struct { *tchttp.BaseResponse Response *ModifyGlobalDomainAttributeResponseParams `json:"Response"` }
func NewModifyGlobalDomainAttributeResponse ¶ added in v1.0.482
func NewModifyGlobalDomainAttributeResponse() (response *ModifyGlobalDomainAttributeResponse)
func (*ModifyGlobalDomainAttributeResponse) FromJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGlobalDomainAttributeResponse) ToJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainAttributeResponse) ToJsonString() string
type ModifyGlobalDomainAttributeResponseParams ¶ added in v1.0.482
type ModifyGlobalDomainAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGlobalDomainDnsRequest ¶ added in v1.0.482
type ModifyGlobalDomainDnsRequest struct { *tchttp.BaseRequest // 解析记录ID DnsRecordId *uint64 `json:"DnsRecordId,omitnil,omitempty" name:"DnsRecordId"` // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 国家ID列表 NationCountryInnerCodes []*string `json:"NationCountryInnerCodes,omitnil,omitempty" name:"NationCountryInnerCodes"` // 通道ID列表 ProxyIdList []*string `json:"ProxyIdList,omitnil,omitempty" name:"ProxyIdList"` }
func NewModifyGlobalDomainDnsRequest ¶ added in v1.0.482
func NewModifyGlobalDomainDnsRequest() (request *ModifyGlobalDomainDnsRequest)
func (*ModifyGlobalDomainDnsRequest) FromJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainDnsRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGlobalDomainDnsRequest) ToJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainDnsRequest) ToJsonString() string
type ModifyGlobalDomainDnsRequestParams ¶ added in v1.0.482
type ModifyGlobalDomainDnsRequestParams struct { // 解析记录ID DnsRecordId *uint64 `json:"DnsRecordId,omitnil,omitempty" name:"DnsRecordId"` // 域名ID DomainId *string `json:"DomainId,omitnil,omitempty" name:"DomainId"` // 国家ID列表 NationCountryInnerCodes []*string `json:"NationCountryInnerCodes,omitnil,omitempty" name:"NationCountryInnerCodes"` // 通道ID列表 ProxyIdList []*string `json:"ProxyIdList,omitnil,omitempty" name:"ProxyIdList"` }
Predefined struct for user
type ModifyGlobalDomainDnsResponse ¶ added in v1.0.482
type ModifyGlobalDomainDnsResponse struct { *tchttp.BaseResponse Response *ModifyGlobalDomainDnsResponseParams `json:"Response"` }
func NewModifyGlobalDomainDnsResponse ¶ added in v1.0.482
func NewModifyGlobalDomainDnsResponse() (response *ModifyGlobalDomainDnsResponse)
func (*ModifyGlobalDomainDnsResponse) FromJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainDnsResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGlobalDomainDnsResponse) ToJsonString ¶ added in v1.0.482
func (r *ModifyGlobalDomainDnsResponse) ToJsonString() string
type ModifyGlobalDomainDnsResponseParams ¶ added in v1.0.482
type ModifyGlobalDomainDnsResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyGroupDomainConfigRequest ¶
type ModifyGroupDomainConfigRequest struct { *tchttp.BaseRequest // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 域名解析默认访问IP或域名。 DefaultDnsIp *string `json:"DefaultDnsIp,omitnil,omitempty" name:"DefaultDnsIp"` // 就近接入区域配置。 AccessRegionList []*AccessRegionDomainConf `json:"AccessRegionList,omitnil,omitempty" name:"AccessRegionList"` }
func NewModifyGroupDomainConfigRequest ¶
func NewModifyGroupDomainConfigRequest() (request *ModifyGroupDomainConfigRequest)
func (*ModifyGroupDomainConfigRequest) FromJsonString ¶
func (r *ModifyGroupDomainConfigRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGroupDomainConfigRequest) ToJsonString ¶
func (r *ModifyGroupDomainConfigRequest) ToJsonString() string
type ModifyGroupDomainConfigRequestParams ¶ added in v1.0.426
type ModifyGroupDomainConfigRequestParams struct { // 通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 域名解析默认访问IP或域名。 DefaultDnsIp *string `json:"DefaultDnsIp,omitnil,omitempty" name:"DefaultDnsIp"` // 就近接入区域配置。 AccessRegionList []*AccessRegionDomainConf `json:"AccessRegionList,omitnil,omitempty" name:"AccessRegionList"` }
Predefined struct for user
type ModifyGroupDomainConfigResponse ¶
type ModifyGroupDomainConfigResponse struct { *tchttp.BaseResponse Response *ModifyGroupDomainConfigResponseParams `json:"Response"` }
func NewModifyGroupDomainConfigResponse ¶
func NewModifyGroupDomainConfigResponse() (response *ModifyGroupDomainConfigResponse)
func (*ModifyGroupDomainConfigResponse) FromJsonString ¶
func (r *ModifyGroupDomainConfigResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyGroupDomainConfigResponse) ToJsonString ¶
func (r *ModifyGroupDomainConfigResponse) ToJsonString() string
type ModifyGroupDomainConfigResponseParams ¶ added in v1.0.426
type ModifyGroupDomainConfigResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyHTTPListenerAttributeRequest ¶
type ModifyHTTPListenerAttributeRequest struct { *tchttp.BaseRequest // 需要修改的监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 新的监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
func NewModifyHTTPListenerAttributeRequest ¶
func NewModifyHTTPListenerAttributeRequest() (request *ModifyHTTPListenerAttributeRequest)
func (*ModifyHTTPListenerAttributeRequest) FromJsonString ¶
func (r *ModifyHTTPListenerAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHTTPListenerAttributeRequest) ToJsonString ¶
func (r *ModifyHTTPListenerAttributeRequest) ToJsonString() string
type ModifyHTTPListenerAttributeRequestParams ¶ added in v1.0.426
type ModifyHTTPListenerAttributeRequestParams struct { // 需要修改的监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 新的监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
Predefined struct for user
type ModifyHTTPListenerAttributeResponse ¶
type ModifyHTTPListenerAttributeResponse struct { *tchttp.BaseResponse Response *ModifyHTTPListenerAttributeResponseParams `json:"Response"` }
func NewModifyHTTPListenerAttributeResponse ¶
func NewModifyHTTPListenerAttributeResponse() (response *ModifyHTTPListenerAttributeResponse)
func (*ModifyHTTPListenerAttributeResponse) FromJsonString ¶
func (r *ModifyHTTPListenerAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHTTPListenerAttributeResponse) ToJsonString ¶
func (r *ModifyHTTPListenerAttributeResponse) ToJsonString() string
type ModifyHTTPListenerAttributeResponseParams ¶ added in v1.0.426
type ModifyHTTPListenerAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyHTTPSListenerAttributeRequest ¶
type ModifyHTTPSListenerAttributeRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 通道ID, 若为单通道监听器,此项必须填写 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 修改后的监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器后端转发与源站之间的协议类型 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 修改后的监听器服务器证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 修改后的监听器客户端证书ID,不支持多客户端证书,多客户端证书新采用PolyClientCertificateIds字段 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 新字段,修改后的监听器客户端证书ID PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` }
func NewModifyHTTPSListenerAttributeRequest ¶
func NewModifyHTTPSListenerAttributeRequest() (request *ModifyHTTPSListenerAttributeRequest)
func (*ModifyHTTPSListenerAttributeRequest) FromJsonString ¶
func (r *ModifyHTTPSListenerAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHTTPSListenerAttributeRequest) ToJsonString ¶
func (r *ModifyHTTPSListenerAttributeRequest) ToJsonString() string
type ModifyHTTPSListenerAttributeRequestParams ¶ added in v1.0.426
type ModifyHTTPSListenerAttributeRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 通道ID, 若为单通道监听器,此项必须填写 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 修改后的监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器后端转发与源站之间的协议类型 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 修改后的监听器服务器证书ID CertificateId *string `json:"CertificateId,omitnil,omitempty" name:"CertificateId"` // 修改后的监听器客户端证书ID,不支持多客户端证书,多客户端证书新采用PolyClientCertificateIds字段 ClientCertificateId *string `json:"ClientCertificateId,omitnil,omitempty" name:"ClientCertificateId"` // 新字段,修改后的监听器客户端证书ID PolyClientCertificateIds []*string `json:"PolyClientCertificateIds,omitnil,omitempty" name:"PolyClientCertificateIds"` }
Predefined struct for user
type ModifyHTTPSListenerAttributeResponse ¶
type ModifyHTTPSListenerAttributeResponse struct { *tchttp.BaseResponse Response *ModifyHTTPSListenerAttributeResponseParams `json:"Response"` }
func NewModifyHTTPSListenerAttributeResponse ¶
func NewModifyHTTPSListenerAttributeResponse() (response *ModifyHTTPSListenerAttributeResponse)
func (*ModifyHTTPSListenerAttributeResponse) FromJsonString ¶
func (r *ModifyHTTPSListenerAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyHTTPSListenerAttributeResponse) ToJsonString ¶
func (r *ModifyHTTPSListenerAttributeResponse) ToJsonString() string
type ModifyHTTPSListenerAttributeResponseParams ¶ added in v1.0.426
type ModifyHTTPSListenerAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProxiesAttributeRequest ¶
type ModifyProxiesAttributeRequest struct { *tchttp.BaseRequest // (旧参数,请切换到ProxyIds)一个或多个待操作的通道ID。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 通道名称。可任意命名,但不得超过30个字符。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)一个或多个待操作的通道ID。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
func NewModifyProxiesAttributeRequest ¶
func NewModifyProxiesAttributeRequest() (request *ModifyProxiesAttributeRequest)
func (*ModifyProxiesAttributeRequest) FromJsonString ¶
func (r *ModifyProxiesAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxiesAttributeRequest) ToJsonString ¶
func (r *ModifyProxiesAttributeRequest) ToJsonString() string
type ModifyProxiesAttributeRequestParams ¶ added in v1.0.426
type ModifyProxiesAttributeRequestParams struct { // (旧参数,请切换到ProxyIds)一个或多个待操作的通道ID。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 通道名称。可任意命名,但不得超过30个字符。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)一个或多个待操作的通道ID。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
Predefined struct for user
type ModifyProxiesAttributeResponse ¶
type ModifyProxiesAttributeResponse struct { *tchttp.BaseResponse Response *ModifyProxiesAttributeResponseParams `json:"Response"` }
func NewModifyProxiesAttributeResponse ¶
func NewModifyProxiesAttributeResponse() (response *ModifyProxiesAttributeResponse)
func (*ModifyProxiesAttributeResponse) FromJsonString ¶
func (r *ModifyProxiesAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxiesAttributeResponse) ToJsonString ¶
func (r *ModifyProxiesAttributeResponse) ToJsonString() string
type ModifyProxiesAttributeResponseParams ¶ added in v1.0.426
type ModifyProxiesAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProxiesProjectRequest ¶
type ModifyProxiesProjectRequest struct { *tchttp.BaseRequest // 需要修改到的项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // (旧参数,请切换到ProxyIds)一个或多个待操作的通道ID。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)一个或多个待操作的通道ID。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
func NewModifyProxiesProjectRequest ¶
func NewModifyProxiesProjectRequest() (request *ModifyProxiesProjectRequest)
func (*ModifyProxiesProjectRequest) FromJsonString ¶
func (r *ModifyProxiesProjectRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxiesProjectRequest) ToJsonString ¶
func (r *ModifyProxiesProjectRequest) ToJsonString() string
type ModifyProxiesProjectRequestParams ¶ added in v1.0.426
type ModifyProxiesProjectRequestParams struct { // 需要修改到的项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // (旧参数,请切换到ProxyIds)一个或多个待操作的通道ID。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)一个或多个待操作的通道ID。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
Predefined struct for user
type ModifyProxiesProjectResponse ¶
type ModifyProxiesProjectResponse struct { *tchttp.BaseResponse Response *ModifyProxiesProjectResponseParams `json:"Response"` }
func NewModifyProxiesProjectResponse ¶
func NewModifyProxiesProjectResponse() (response *ModifyProxiesProjectResponse)
func (*ModifyProxiesProjectResponse) FromJsonString ¶
func (r *ModifyProxiesProjectResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxiesProjectResponse) ToJsonString ¶
func (r *ModifyProxiesProjectResponse) ToJsonString() string
type ModifyProxiesProjectResponseParams ¶ added in v1.0.426
type ModifyProxiesProjectResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProxyConfigurationRequest ¶
type ModifyProxyConfigurationRequest struct { *tchttp.BaseRequest // (旧参数,请切换到ProxyId)通道的实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 需要调整到的目标带宽,单位:Mbps。 // Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 需要调整到的目标并发值,单位:万。 // Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道的实例ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费) BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` }
func NewModifyProxyConfigurationRequest ¶
func NewModifyProxyConfigurationRequest() (request *ModifyProxyConfigurationRequest)
func (*ModifyProxyConfigurationRequest) FromJsonString ¶
func (r *ModifyProxyConfigurationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxyConfigurationRequest) ToJsonString ¶
func (r *ModifyProxyConfigurationRequest) ToJsonString() string
type ModifyProxyConfigurationRequestParams ¶ added in v1.0.426
type ModifyProxyConfigurationRequestParams struct { // (旧参数,请切换到ProxyId)通道的实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 需要调整到的目标带宽,单位:Mbps。 // Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到 Bandwidth *uint64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 需要调整到的目标并发值,单位:万。 // Bandwidth与Concurrent必须至少设置一个。取值范围根据DescribeAccessRegionsByDestRegion接口获取得到 Concurrent *uint64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道的实例ID。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 计费方式 (0:按带宽计费,1:按流量计费 默认按带宽计费) BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` }
Predefined struct for user
type ModifyProxyConfigurationResponse ¶
type ModifyProxyConfigurationResponse struct { *tchttp.BaseResponse Response *ModifyProxyConfigurationResponseParams `json:"Response"` }
func NewModifyProxyConfigurationResponse ¶
func NewModifyProxyConfigurationResponse() (response *ModifyProxyConfigurationResponse)
func (*ModifyProxyConfigurationResponse) FromJsonString ¶
func (r *ModifyProxyConfigurationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxyConfigurationResponse) ToJsonString ¶
func (r *ModifyProxyConfigurationResponse) ToJsonString() string
type ModifyProxyConfigurationResponseParams ¶ added in v1.0.426
type ModifyProxyConfigurationResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyProxyGroupAttributeRequest ¶
type ModifyProxyGroupAttributeRequest struct { *tchttp.BaseRequest // 需要修改的通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 修改后的通道组名称:不超过30个字符,超过部分会被截断。 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
func NewModifyProxyGroupAttributeRequest ¶
func NewModifyProxyGroupAttributeRequest() (request *ModifyProxyGroupAttributeRequest)
func (*ModifyProxyGroupAttributeRequest) FromJsonString ¶
func (r *ModifyProxyGroupAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxyGroupAttributeRequest) ToJsonString ¶
func (r *ModifyProxyGroupAttributeRequest) ToJsonString() string
type ModifyProxyGroupAttributeRequestParams ¶ added in v1.0.426
type ModifyProxyGroupAttributeRequestParams struct { // 需要修改的通道组ID。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 修改后的通道组名称:不超过30个字符,超过部分会被截断。 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` }
Predefined struct for user
type ModifyProxyGroupAttributeResponse ¶
type ModifyProxyGroupAttributeResponse struct { *tchttp.BaseResponse Response *ModifyProxyGroupAttributeResponseParams `json:"Response"` }
func NewModifyProxyGroupAttributeResponse ¶
func NewModifyProxyGroupAttributeResponse() (response *ModifyProxyGroupAttributeResponse)
func (*ModifyProxyGroupAttributeResponse) FromJsonString ¶
func (r *ModifyProxyGroupAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyProxyGroupAttributeResponse) ToJsonString ¶
func (r *ModifyProxyGroupAttributeResponse) ToJsonString() string
type ModifyProxyGroupAttributeResponseParams ¶ added in v1.0.426
type ModifyProxyGroupAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRealServerNameRequest ¶
type ModifyRealServerNameRequest struct { *tchttp.BaseRequest // 源站名称 RealServerName *string `json:"RealServerName,omitnil,omitempty" name:"RealServerName"` // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` }
func NewModifyRealServerNameRequest ¶
func NewModifyRealServerNameRequest() (request *ModifyRealServerNameRequest)
func (*ModifyRealServerNameRequest) FromJsonString ¶
func (r *ModifyRealServerNameRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRealServerNameRequest) ToJsonString ¶
func (r *ModifyRealServerNameRequest) ToJsonString() string
type ModifyRealServerNameRequestParams ¶ added in v1.0.426
type ModifyRealServerNameRequestParams struct { // 源站名称 RealServerName *string `json:"RealServerName,omitnil,omitempty" name:"RealServerName"` // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` }
Predefined struct for user
type ModifyRealServerNameResponse ¶
type ModifyRealServerNameResponse struct { *tchttp.BaseResponse Response *ModifyRealServerNameResponseParams `json:"Response"` }
func NewModifyRealServerNameResponse ¶
func NewModifyRealServerNameResponse() (response *ModifyRealServerNameResponse)
func (*ModifyRealServerNameResponse) FromJsonString ¶
func (r *ModifyRealServerNameResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRealServerNameResponse) ToJsonString ¶
func (r *ModifyRealServerNameResponse) ToJsonString() string
type ModifyRealServerNameResponseParams ¶ added in v1.0.426
type ModifyRealServerNameResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyRuleAttributeRequest ¶
type ModifyRuleAttributeRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查开关,其中: // 1,开启; // 0,关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 健康检查配置参数 CheckParams *RuleCheckParams `json:"CheckParams,omitnil,omitempty" name:"CheckParams"` // 转发规则路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。 // 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 回源Host。加速通道转发到源站的请求中携带的host。 // 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。 ForwardHost *string `json:"ForwardHost,omitnil,omitempty" name:"ForwardHost"` // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。 ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitnil,omitempty" name:"ServerNameIndicationSwitch"` // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 ServerNameIndication *string `json:"ServerNameIndication,omitnil,omitempty" name:"ServerNameIndication"` // HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。 ForcedRedirect *string `json:"ForcedRedirect,omitnil,omitempty" name:"ForcedRedirect"` }
func NewModifyRuleAttributeRequest ¶
func NewModifyRuleAttributeRequest() (request *ModifyRuleAttributeRequest)
func (*ModifyRuleAttributeRequest) FromJsonString ¶
func (r *ModifyRuleAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleAttributeRequest) ToJsonString ¶
func (r *ModifyRuleAttributeRequest) ToJsonString() string
type ModifyRuleAttributeRequestParams ¶ added in v1.0.426
type ModifyRuleAttributeRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 转发规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查开关,其中: // 1,开启; // 0,关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 健康检查配置参数 CheckParams *RuleCheckParams `json:"CheckParams,omitnil,omitempty" name:"CheckParams"` // 转发规则路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 加速通道转发到源站的协议类型,支持:default, HTTP和HTTPS。 // 当ForwardProtocol=default时,表示使用对应监听器的ForwardProtocol。 ForwardProtocol *string `json:"ForwardProtocol,omitnil,omitempty" name:"ForwardProtocol"` // 回源Host。加速通道转发到源站的请求中携带的host。 // 当ForwardHost=default时,使用规则的域名,其他情况为该字段所设置的值。 ForwardHost *string `json:"ForwardHost,omitnil,omitempty" name:"ForwardHost"` // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。 ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitnil,omitempty" name:"ServerNameIndicationSwitch"` // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 ServerNameIndication *string `json:"ServerNameIndication,omitnil,omitempty" name:"ServerNameIndication"` // HTTP强制跳转HTTPS。输入当前规则对应的域名与地址。 ForcedRedirect *string `json:"ForcedRedirect,omitnil,omitempty" name:"ForcedRedirect"` }
Predefined struct for user
type ModifyRuleAttributeResponse ¶
type ModifyRuleAttributeResponse struct { *tchttp.BaseResponse Response *ModifyRuleAttributeResponseParams `json:"Response"` }
func NewModifyRuleAttributeResponse ¶
func NewModifyRuleAttributeResponse() (response *ModifyRuleAttributeResponse)
func (*ModifyRuleAttributeResponse) FromJsonString ¶
func (r *ModifyRuleAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyRuleAttributeResponse) ToJsonString ¶
func (r *ModifyRuleAttributeResponse) ToJsonString() string
type ModifyRuleAttributeResponseParams ¶ added in v1.0.426
type ModifyRuleAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifySecurityRuleRequest ¶
type ModifySecurityRuleRequest struct { *tchttp.BaseRequest // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则名:不得超过30个字符,超过部分会被截断。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 安全规则动作 RuleAction *string `json:"RuleAction,omitnil,omitempty" name:"RuleAction"` // 规则关联地址,格式需要满足CIDR网络地址规范 SourceCidr *string `json:"SourceCidr,omitnil,omitempty" name:"SourceCidr"` // 协议类型 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 端口范围,支持以下格式 // 单个端口: 80 // 多个端口: 80,443 // 连续端口: 3306-20000 // 所有端口: ALL DestPortRange *string `json:"DestPortRange,omitnil,omitempty" name:"DestPortRange"` }
func NewModifySecurityRuleRequest ¶
func NewModifySecurityRuleRequest() (request *ModifySecurityRuleRequest)
func (*ModifySecurityRuleRequest) FromJsonString ¶
func (r *ModifySecurityRuleRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityRuleRequest) ToJsonString ¶
func (r *ModifySecurityRuleRequest) ToJsonString() string
type ModifySecurityRuleRequestParams ¶ added in v1.0.426
type ModifySecurityRuleRequestParams struct { // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 规则名:不得超过30个字符,超过部分会被截断。 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 安全规则动作 RuleAction *string `json:"RuleAction,omitnil,omitempty" name:"RuleAction"` // 规则关联地址,格式需要满足CIDR网络地址规范 SourceCidr *string `json:"SourceCidr,omitnil,omitempty" name:"SourceCidr"` // 协议类型 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 端口范围,支持以下格式 // 单个端口: 80 // 多个端口: 80,443 // 连续端口: 3306-20000 // 所有端口: ALL DestPortRange *string `json:"DestPortRange,omitnil,omitempty" name:"DestPortRange"` }
Predefined struct for user
type ModifySecurityRuleResponse ¶
type ModifySecurityRuleResponse struct { *tchttp.BaseResponse Response *ModifySecurityRuleResponseParams `json:"Response"` }
func NewModifySecurityRuleResponse ¶
func NewModifySecurityRuleResponse() (response *ModifySecurityRuleResponse)
func (*ModifySecurityRuleResponse) FromJsonString ¶
func (r *ModifySecurityRuleResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifySecurityRuleResponse) ToJsonString ¶
func (r *ModifySecurityRuleResponse) ToJsonString() string
type ModifySecurityRuleResponseParams ¶ added in v1.0.426
type ModifySecurityRuleResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyTCPListenerAttributeRequest ¶
type ModifyTCPListenerAttributeRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 是否开启健康检查,1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *uint64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 健康阈值,表示连续检查成功多少次数后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败次数后认定源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` }
func NewModifyTCPListenerAttributeRequest ¶
func NewModifyTCPListenerAttributeRequest() (request *ModifyTCPListenerAttributeRequest)
func (*ModifyTCPListenerAttributeRequest) FromJsonString ¶
func (r *ModifyTCPListenerAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTCPListenerAttributeRequest) ToJsonString ¶
func (r *ModifyTCPListenerAttributeRequest) ToJsonString() string
type ModifyTCPListenerAttributeRequestParams ¶ added in v1.0.426
type ModifyTCPListenerAttributeRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 是否开启健康检查,1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *uint64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 健康阈值,表示连续检查成功多少次数后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败次数后认定源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` }
Predefined struct for user
type ModifyTCPListenerAttributeResponse ¶
type ModifyTCPListenerAttributeResponse struct { *tchttp.BaseResponse Response *ModifyTCPListenerAttributeResponseParams `json:"Response"` }
func NewModifyTCPListenerAttributeResponse ¶
func NewModifyTCPListenerAttributeResponse() (response *ModifyTCPListenerAttributeResponse)
func (*ModifyTCPListenerAttributeResponse) FromJsonString ¶
func (r *ModifyTCPListenerAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyTCPListenerAttributeResponse) ToJsonString ¶
func (r *ModifyTCPListenerAttributeResponse) ToJsonString() string
type ModifyTCPListenerAttributeResponseParams ¶ added in v1.0.426
type ModifyTCPListenerAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ModifyUDPListenerAttributeRequest ¶
type ModifyUDPListenerAttributeRequest struct { *tchttp.BaseRequest // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 源站是否开启健康检查:1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // UDP源站健康类型。PORT表示检查端口,PING表示PING。 CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // UDP源站健康检查探测端口。 CheckPort *int64 `json:"CheckPort,omitnil,omitempty" name:"CheckPort"` // UDP源站健康检查端口探测报文类型:TEXT表示文本。仅在健康检查类型为PORT时使用。 ContextType *string `json:"ContextType,omitnil,omitempty" name:"ContextType"` // UDP源站健康检查端口探测发送报文。仅在健康检查类型为PORT时使用。 SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // UDP源站健康检查端口探测接收报文。仅在健康检查类型为PORT时使用。 RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` }
func NewModifyUDPListenerAttributeRequest ¶
func NewModifyUDPListenerAttributeRequest() (request *ModifyUDPListenerAttributeRequest)
func (*ModifyUDPListenerAttributeRequest) FromJsonString ¶
func (r *ModifyUDPListenerAttributeRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUDPListenerAttributeRequest) ToJsonString ¶
func (r *ModifyUDPListenerAttributeRequest) ToJsonString() string
type ModifyUDPListenerAttributeRequestParams ¶ added in v1.0.426
type ModifyUDPListenerAttributeRequestParams struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 通道组ID,ProxyId和GroupId必须设置一个,但不能同时设置。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道ID,ProxyId和GroupId必须设置一个,但不能同时设置。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 源站是否开启健康检查:1开启,0关闭。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // UDP源站健康类型。PORT表示检查端口,PING表示PING。 CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // UDP源站健康检查探测端口。 CheckPort *int64 `json:"CheckPort,omitnil,omitempty" name:"CheckPort"` // UDP源站健康检查端口探测报文类型:TEXT表示文本。仅在健康检查类型为PORT时使用。 ContextType *string `json:"ContextType,omitnil,omitempty" name:"ContextType"` // UDP源站健康检查端口探测发送报文。仅在健康检查类型为PORT时使用。 SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // UDP源站健康检查端口探测接收报文。仅在健康检查类型为PORT时使用。 RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` }
Predefined struct for user
type ModifyUDPListenerAttributeResponse ¶
type ModifyUDPListenerAttributeResponse struct { *tchttp.BaseResponse Response *ModifyUDPListenerAttributeResponseParams `json:"Response"` }
func NewModifyUDPListenerAttributeResponse ¶
func NewModifyUDPListenerAttributeResponse() (response *ModifyUDPListenerAttributeResponse)
func (*ModifyUDPListenerAttributeResponse) FromJsonString ¶
func (r *ModifyUDPListenerAttributeResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ModifyUDPListenerAttributeResponse) ToJsonString ¶
func (r *ModifyUDPListenerAttributeResponse) ToJsonString() string
type ModifyUDPListenerAttributeResponseParams ¶ added in v1.0.426
type ModifyUDPListenerAttributeResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type NationCountryInnerInfo ¶
type NewRealServer ¶
type OpenProxiesRequest ¶
type OpenProxiesRequest struct { *tchttp.BaseRequest // (旧参数,请切换到ProxyIds)通道的实例ID列表。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道的实例ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
func NewOpenProxiesRequest ¶
func NewOpenProxiesRequest() (request *OpenProxiesRequest)
func (*OpenProxiesRequest) FromJsonString ¶
func (r *OpenProxiesRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenProxiesRequest) ToJsonString ¶
func (r *OpenProxiesRequest) ToJsonString() string
type OpenProxiesRequestParams ¶ added in v1.0.426
type OpenProxiesRequestParams struct { // (旧参数,请切换到ProxyIds)通道的实例ID列表。 InstanceIds []*string `json:"InstanceIds,omitnil,omitempty" name:"InstanceIds"` // 用于保证请求幂等性的字符串。该字符串由客户生成,需保证不同请求之间唯一,最大值不超过64个ASCII字符。若不指定该参数,则无法保证请求的幂等性。 // 更多详细信息请参阅:如何保证幂等性。 ClientToken *string `json:"ClientToken,omitnil,omitempty" name:"ClientToken"` // (新参数)通道的实例ID列表。 ProxyIds []*string `json:"ProxyIds,omitnil,omitempty" name:"ProxyIds"` }
Predefined struct for user
type OpenProxiesResponse ¶
type OpenProxiesResponse struct { *tchttp.BaseResponse Response *OpenProxiesResponseParams `json:"Response"` }
func NewOpenProxiesResponse ¶
func NewOpenProxiesResponse() (response *OpenProxiesResponse)
func (*OpenProxiesResponse) FromJsonString ¶
func (r *OpenProxiesResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenProxiesResponse) ToJsonString ¶
func (r *OpenProxiesResponse) ToJsonString() string
type OpenProxiesResponseParams ¶ added in v1.0.426
type OpenProxiesResponseParams struct { // 非关闭状态下的通道实例ID列表,不可开启。 InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitnil,omitempty" name:"InvalidStatusInstanceSet"` // 开启操作失败的通道实例ID列表。 OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitnil,omitempty" name:"OperationFailedInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenProxyGroupRequest ¶
type OpenProxyGroupRequest struct { *tchttp.BaseRequest // 通道组实例 ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
func NewOpenProxyGroupRequest ¶
func NewOpenProxyGroupRequest() (request *OpenProxyGroupRequest)
func (*OpenProxyGroupRequest) FromJsonString ¶
func (r *OpenProxyGroupRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenProxyGroupRequest) ToJsonString ¶
func (r *OpenProxyGroupRequest) ToJsonString() string
type OpenProxyGroupRequestParams ¶ added in v1.0.426
type OpenProxyGroupRequestParams struct { // 通道组实例 ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
Predefined struct for user
type OpenProxyGroupResponse ¶
type OpenProxyGroupResponse struct { *tchttp.BaseResponse Response *OpenProxyGroupResponseParams `json:"Response"` }
func NewOpenProxyGroupResponse ¶
func NewOpenProxyGroupResponse() (response *OpenProxyGroupResponse)
func (*OpenProxyGroupResponse) FromJsonString ¶
func (r *OpenProxyGroupResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenProxyGroupResponse) ToJsonString ¶
func (r *OpenProxyGroupResponse) ToJsonString() string
type OpenProxyGroupResponseParams ¶ added in v1.0.426
type OpenProxyGroupResponseParams struct { // 非关闭状态下的通道实例ID列表,不可开启。 InvalidStatusInstanceSet []*string `json:"InvalidStatusInstanceSet,omitnil,omitempty" name:"InvalidStatusInstanceSet"` // 开启操作失败的通道实例ID列表。 OperationFailedInstanceSet []*string `json:"OperationFailedInstanceSet,omitnil,omitempty" name:"OperationFailedInstanceSet"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type OpenSecurityPolicyRequest ¶
type OpenSecurityPolicyRequest struct { *tchttp.BaseRequest // 需开启安全策略的通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
func NewOpenSecurityPolicyRequest ¶
func NewOpenSecurityPolicyRequest() (request *OpenSecurityPolicyRequest)
func (*OpenSecurityPolicyRequest) FromJsonString ¶
func (r *OpenSecurityPolicyRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenSecurityPolicyRequest) ToJsonString ¶
func (r *OpenSecurityPolicyRequest) ToJsonString() string
type OpenSecurityPolicyRequestParams ¶ added in v1.0.426
type OpenSecurityPolicyRequestParams struct { // 需开启安全策略的通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 安全策略ID PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
Predefined struct for user
type OpenSecurityPolicyResponse ¶
type OpenSecurityPolicyResponse struct { *tchttp.BaseResponse Response *OpenSecurityPolicyResponseParams `json:"Response"` }
func NewOpenSecurityPolicyResponse ¶
func NewOpenSecurityPolicyResponse() (response *OpenSecurityPolicyResponse)
func (*OpenSecurityPolicyResponse) FromJsonString ¶
func (r *OpenSecurityPolicyResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*OpenSecurityPolicyResponse) ToJsonString ¶
func (r *OpenSecurityPolicyResponse) ToJsonString() string
type OpenSecurityPolicyResponseParams ¶ added in v1.0.426
type OpenSecurityPolicyResponseParams struct { // 异步流程ID,可以通过DescribeAsyncTaskStatus接口查询流程运行状态 TaskId *string `json:"TaskId,omitnil,omitempty" name:"TaskId"` // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type ProxyAccessInfo ¶ added in v1.0.482
type ProxyAccessInfo struct { // 地域ID // 注意:此字段可能返回 null,表示取不到有效值。 RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // 地域名称 // 注意:此字段可能返回 null,表示取不到有效值。 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 通道ID // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道接入ip // 注意:此字段可能返回 null,表示取不到有效值。 Vip *string `json:"Vip,omitnil,omitempty" name:"Vip"` // 三网通道VIP列表 // 注意:此字段可能返回 null,表示取不到有效值。 VipList []*IPDetail `json:"VipList,omitnil,omitempty" name:"VipList"` // 接入点IDC类型。ec或dc // 注意:此字段可能返回 null,表示取不到有效值。 SourceRegionIdcType *string `json:"SourceRegionIdcType,omitnil,omitempty" name:"SourceRegionIdcType"` }
type ProxyGroupDetail ¶
type ProxyGroupDetail struct { // 创建时间 CreateTime *int64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 通道组中通道数量 ProxyNum *int64 `json:"ProxyNum,omitnil,omitempty" name:"ProxyNum"` // 通道组状态: // 0表示正常运行; // 1表示创建中; // 4表示销毁中; // 11表示迁移中; // 12表示部分部署中。 Status *int64 `json:"Status,omitnil,omitempty" name:"Status"` // 归属Uin OwnerUin *string `json:"OwnerUin,omitnil,omitempty" name:"OwnerUin"` // 创建Uin CreateUin *string `json:"CreateUin,omitnil,omitempty" name:"CreateUin"` // 通道名称 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 通道组域名解析默认IP DnsDefaultIp *string `json:"DnsDefaultIp,omitnil,omitempty" name:"DnsDefaultIp"` // 通道组域名 // 注意:此字段可能返回 null,表示取不到有效值。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 目标地域 RealServerRegionInfo *RegionDetail `json:"RealServerRegionInfo,omitnil,omitempty" name:"RealServerRegionInfo"` // 是否老通道组,2018-08-03之前创建的通道组为老通道组 IsOldGroup *bool `json:"IsOldGroup,omitnil,omitempty" name:"IsOldGroup"` // 通道组ID GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 标签列表 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 安全策略ID,当设置了安全策略时,存在该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 通道组版本 // 注意:此字段可能返回 null,表示取不到有效值。 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol // 注意:此字段可能返回 null,表示取不到有效值。 ClientIPMethod []*int64 `json:"ClientIPMethod,omitnil,omitempty" name:"ClientIPMethod"` // IP版本,可取值:IPv4、IPv6,默认值IPv4 // 注意:此字段可能返回 null,表示取不到有效值。 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 通道组套餐类型:Thunder表示标准通道组,Accelerator表示银牌加速通道组,CrossBorder表示跨境通道组。 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 支持Http3特性的标识,其中: // 0表示关闭; // 1表示启用。 // 注意:此字段可能返回 null,表示取不到有效值。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 特性位图,每个bit位代表一种特性,其中: // 0,表示不支持该特性; // 1,表示支持该特性。 // 特性位图含义如下(从右往左): // 第1个bit,支持4层加速; // 第2个bit,支持7层加速; // 第3个bit,支持Http3接入; // 第4个bit,支持IPv6; // 第5个bit,支持精品BGP接入; // 第6个bit,支持三网接入; // 第7个bit,支持接入段Qos加速。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 FeatureBitmap *int64 `json:"FeatureBitmap,omitnil,omitempty" name:"FeatureBitmap"` // 是否支持设置TSL设置 // 0表示不支持; // 1表示支持。 // 注意:此字段可能返回 null,表示取不到有效值。 IsSupportTLSChoice *uint64 `json:"IsSupportTLSChoice,omitnil,omitempty" name:"IsSupportTLSChoice"` }
type ProxyGroupInfo ¶
type ProxyGroupInfo struct { // 通道组id GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 通道组域名 // 注意:此字段可能返回 null,表示取不到有效值。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 通道组名称 // 注意:此字段可能返回 null,表示取不到有效值。 GroupName *string `json:"GroupName,omitnil,omitempty" name:"GroupName"` // 项目ID ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 目标地域 RealServerRegionInfo *RegionDetail `json:"RealServerRegionInfo,omitnil,omitempty" name:"RealServerRegionInfo"` // 通道组状态。 // 其中, // RUNNING表示运行中; // CREATING表示创建中; // DESTROYING表示销毁中; // MOVING表示通道迁移中; // CHANGING表示部分部署中。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 标签列表。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 通道组版本 // 注意:此字段可能返回 null,表示取不到有效值。 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // 创建时间 // 注意:此字段可能返回 null,表示取不到有效值。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 通道组是否包含微软通道 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyType *uint64 `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // 支持Http3特性的标识,其中: // 0表示关闭; // 1表示启用。 // 注意:此字段可能返回 null,表示取不到有效值。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 特性位图,每个bit位代表一种特性,其中: // 0,表示不支持该特性; // 1,表示支持该特性。 // 特性位图含义如下(从右往左): // 第1个bit,支持4层加速; // 第2个bit,支持7层加速; // 第3个bit,支持Http3接入; // 第4个bit,支持IPv6; // 第5个bit,支持精品BGP接入; // 第6个bit,支持三网接入; // 第7个bit,支持接入段Qos加速。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 FeatureBitmap *int64 `json:"FeatureBitmap,omitnil,omitempty" name:"FeatureBitmap"` }
type ProxyIdDict ¶
type ProxyIdDict struct { // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` }
type ProxyInfo ¶
type ProxyInfo struct { // (旧参数,请使用ProxyId)通道实例ID。 // 注意:此字段可能返回 null,表示取不到有效值。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 创建时间,采用Unix时间戳的方式,表示从1970年1月1日(UTC/GMT的午夜)开始所经过的秒数。 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 项目ID。 ProjectId *int64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 通道名称。 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 接入地域。 AccessRegion *string `json:"AccessRegion,omitnil,omitempty" name:"AccessRegion"` // 源站地域。 RealServerRegion *string `json:"RealServerRegion,omitnil,omitempty" name:"RealServerRegion"` // 带宽,单位:Mbps。 Bandwidth *int64 `json:"Bandwidth,omitnil,omitempty" name:"Bandwidth"` // 并发,单位:万个/秒。 Concurrent *int64 `json:"Concurrent,omitnil,omitempty" name:"Concurrent"` // 通道状态。其中: // RUNNING表示运行中; // CREATING表示创建中; // DESTROYING表示销毁中; // OPENING表示开启中; // CLOSING表示关闭中; // CLOSED表示已关闭; // ADJUSTING表示配置变更中; // ISOLATING表示隔离中; // ISOLATED表示已隔离; // CLONING表示复制中; // RECOVERING表示通道维护中; // MOVING表示迁移中。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` // 接入域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 接入IP。 IP *string `json:"IP,omitnil,omitempty" name:"IP"` // 通道版本号:1.0,2.0,3.0。 Version *string `json:"Version,omitnil,omitempty" name:"Version"` // (新参数)通道实例ID。 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 1,该通道可缩扩容;0,该通道无法缩扩容。 Scalarable *int64 `json:"Scalarable,omitnil,omitempty" name:"Scalarable"` // 支持的协议类型。 SupportProtocols []*string `json:"SupportProtocols,omitnil,omitempty" name:"SupportProtocols"` // 通道组ID,当通道归属于某一通道组时,存在该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` // 安全策略ID,当设置了安全策略时,存在该字段。 // 注意:此字段可能返回 null,表示取不到有效值。 PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` // 接入地域详细信息,包括地域ID和地域名。 // 注意:此字段可能返回 null,表示取不到有效值。 AccessRegionInfo *RegionDetail `json:"AccessRegionInfo,omitnil,omitempty" name:"AccessRegionInfo"` // 源站地域详细信息,包括地域ID和地域名。 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerRegionInfo *RegionDetail `json:"RealServerRegionInfo,omitnil,omitempty" name:"RealServerRegionInfo"` // 通道转发IP ForwardIP *string `json:"ForwardIP,omitnil,omitempty" name:"ForwardIP"` // 标签列表,不存在标签时,该字段为空列表。 // 注意:此字段可能返回 null,表示取不到有效值。 TagSet []*TagPair `json:"TagSet,omitnil,omitempty" name:"TagSet"` // 是否支持安全组配置 // 注意:此字段可能返回 null,表示取不到有效值。 SupportSecurity *int64 `json:"SupportSecurity,omitnil,omitempty" name:"SupportSecurity"` // 计费类型: 0表示按带宽计费 1表示按流量计费。 // 注意:此字段可能返回 null,表示取不到有效值。 BillingType *int64 `json:"BillingType,omitnil,omitempty" name:"BillingType"` // 关联了解析的域名列表 // 注意:此字段可能返回 null,表示取不到有效值。 RelatedGlobalDomains []*string `json:"RelatedGlobalDomains,omitnil,omitempty" name:"RelatedGlobalDomains"` // 配置变更时间 // 注意:此字段可能返回 null,表示取不到有效值。 ModifyConfigTime *uint64 `json:"ModifyConfigTime,omitnil,omitempty" name:"ModifyConfigTime"` // 通道类型,100表示THUNDER通道,103表示微软合作通道 // 注意:此字段可能返回 null,表示取不到有效值。 ProxyType *uint64 `json:"ProxyType,omitnil,omitempty" name:"ProxyType"` // 通道获取客户端IP的方式,0表示TOA,1表示Proxy Protocol // 注意:此字段可能返回 null,表示取不到有效值。 ClientIPMethod []*int64 `json:"ClientIPMethod,omitnil,omitempty" name:"ClientIPMethod"` // IP版本:IPv4、IPv6 // 注意:此字段可能返回 null,表示取不到有效值。 IPAddressVersion *string `json:"IPAddressVersion,omitnil,omitempty" name:"IPAddressVersion"` // 网络类型:normal表示常规BGP,cn2表示精品BGP,triple表示三网,secure_eip表示定制安全EIP // 注意:此字段可能返回 null,表示取不到有效值。 NetworkType *string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` // 通道套餐类型:Thunder表示标准通道,Accelerator表示银牌加速通道, // CrossBorder表示跨境通道。 // 注意:此字段可能返回 null,表示取不到有效值。 PackageType *string `json:"PackageType,omitnil,omitempty" name:"PackageType"` // 封禁解封状态:BANNED表示已封禁,RECOVER表示已解封或未封禁,BANNING表示封禁中,RECOVERING表示解封中,BAN_FAILED表示封禁失败,RECOVER_FAILED表示解封失败。 // 注意:此字段可能返回 null,表示取不到有效值。 BanStatus *string `json:"BanStatus,omitnil,omitempty" name:"BanStatus"` // IP列表 // 注意:此字段可能返回 null,表示取不到有效值。 IPList []*IPDetail `json:"IPList,omitnil,omitempty" name:"IPList"` // 支持Http3协议的标识,其中: // 0表示关闭; // 1表示启用。 // 注意:此字段可能返回 null,表示取不到有效值。 Http3Supported *int64 `json:"Http3Supported,omitnil,omitempty" name:"Http3Supported"` // 是否在封禁黑名单中,其中:0表示不在黑名单中,1表示在黑名单中。 // 注意:此字段可能返回 null,表示取不到有效值。 InBanBlacklist *int64 `json:"InBanBlacklist,omitnil,omitempty" name:"InBanBlacklist"` // 特性位图,每个bit位代表一种特性,其中: // 0,表示不支持该特性; // 1,表示支持该特性。 // 特性位图含义如下(从右往左): // 第1个bit,支持4层加速; // 第2个bit,支持7层加速; // 第3个bit,支持Http3接入; // 第4个bit,支持IPv6; // 第5个bit,支持精品BGP接入; // 第6个bit,支持三网接入; // 第7个bit,支持接入段Qos加速。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 FeatureBitmap *int64 `json:"FeatureBitmap,omitnil,omitempty" name:"FeatureBitmap"` // 是否是开启了auto scale的通道,0表示否,1表示是。 // 注意:此字段可能返回 null,表示取不到有效值。 IsAutoScaleProxy *int64 `json:"IsAutoScaleProxy,omitnil,omitempty" name:"IsAutoScaleProxy"` // 是否允许设置TLS配置 // 0表示不支持; // 1表示支持。 // 注意:此字段可能返回 null,表示取不到有效值。 IsSupportTLSChoice *int64 `json:"IsSupportTLSChoice,omitnil,omitempty" name:"IsSupportTLSChoice"` }
type ProxySimpleInfo ¶
type ProxySimpleInfo struct { // 通道ID ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 通道名称 ProxyName *string `json:"ProxyName,omitnil,omitempty" name:"ProxyName"` // 监听器列表 ListenerList []*ListenerInfo `json:"ListenerList,omitnil,omitempty" name:"ListenerList"` }
type ProxyStatus ¶
type ProxyStatus struct { // 通道实例ID。 InstanceId *string `json:"InstanceId,omitnil,omitempty" name:"InstanceId"` // 通道状态。 // 其中: // RUNNING表示运行中; // CREATING表示创建中; // DESTROYING表示销毁中; // OPENING表示开启中; // CLOSING表示关闭中; // CLOSED表示已关闭; // ADJUSTING表示配置变更中; // ISOLATING表示隔离中; // ISOLATED表示已隔离; // MOVING表示迁移中。 Status *string `json:"Status,omitnil,omitempty" name:"Status"` }
type RealServer ¶
type RealServer struct { // 源站的IP或域名 RealServerIP *string `json:"RealServerIP,omitnil,omitempty" name:"RealServerIP"` // 源站ID RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 源站名称 RealServerName *string `json:"RealServerName,omitnil,omitempty" name:"RealServerName"` // 项目ID ProjectId *uint64 `json:"ProjectId,omitnil,omitempty" name:"ProjectId"` // 是否在封禁黑名单中,其中:0表示不在黑名单中,1表示在黑名单中。 InBanBlacklist *int64 `json:"InBanBlacklist,omitnil,omitempty" name:"InBanBlacklist"` }
type RealServerBindSetReq ¶
type RealServerBindSetReq struct { // 源站id RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 源站端口 RealServerPort *uint64 `json:"RealServerPort,omitnil,omitempty" name:"RealServerPort"` // 源站IP RealServerIP *string `json:"RealServerIP,omitnil,omitempty" name:"RealServerIP"` // 源站权重 RealServerWeight *uint64 `json:"RealServerWeight,omitnil,omitempty" name:"RealServerWeight"` // 源站主备角色:master表示主,slave表示备,该参数必须在监听器打开了源站主备模式。 RealServerFailoverRole *string `json:"RealServerFailoverRole,omitnil,omitempty" name:"RealServerFailoverRole"` }
type RealServerStatus ¶
type RealServerStatus struct { // 源站ID。 RealServerId *string `json:"RealServerId,omitnil,omitempty" name:"RealServerId"` // 0表示未被绑定 1表示被规则或者监听器绑定。 BindStatus *int64 `json:"BindStatus,omitnil,omitempty" name:"BindStatus"` // 绑定此源站的通道ID,没有绑定时为空字符串。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 绑定此源站的通道组ID,没有绑定时为空字符串。 // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
type RegionDetail ¶
type RegionDetail struct { // 区域ID RegionId *string `json:"RegionId,omitnil,omitempty" name:"RegionId"` // 区域英文名或中文名 RegionName *string `json:"RegionName,omitnil,omitempty" name:"RegionName"` // 机房所属大区 RegionArea *string `json:"RegionArea,omitnil,omitempty" name:"RegionArea"` // 机房所属大区名 RegionAreaName *string `json:"RegionAreaName,omitnil,omitempty" name:"RegionAreaName"` // 机房类型, dc表示DataCenter数据中心, ec表示EdgeComputing边缘节点 IDCType *string `json:"IDCType,omitnil,omitempty" name:"IDCType"` // 特性位图,每个bit位代表一种特性,其中: // 0,表示不支持该特性; // 1,表示支持该特性。 // 特性位图含义如下(从右往左): // 第1个bit,支持4层加速; // 第2个bit,支持7层加速; // 第3个bit,支持Http3接入; // 第4个bit,支持IPv6; // 第5个bit,支持精品BGP接入; // 第6个bit,支持三网接入; // 第7个bit,支持接入段Qos加速。 // 注意:此字段可能返回 null,表示取不到有效值。 FeatureBitmap *uint64 `json:"FeatureBitmap,omitnil,omitempty" name:"FeatureBitmap"` // 接入区域支持的能力 // 注意:此字段可能返回 null,表示取不到有效值。 SupportFeature *SupportFeature `json:"SupportFeature,omitnil,omitempty" name:"SupportFeature"` }
type RemoveRealServersRequest ¶
type RemoveRealServersRequest struct { *tchttp.BaseRequest // 源站Id列表 RealServerIds []*string `json:"RealServerIds,omitnil,omitempty" name:"RealServerIds"` }
func NewRemoveRealServersRequest ¶
func NewRemoveRealServersRequest() (request *RemoveRealServersRequest)
func (*RemoveRealServersRequest) FromJsonString ¶
func (r *RemoveRealServersRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveRealServersRequest) ToJsonString ¶
func (r *RemoveRealServersRequest) ToJsonString() string
type RemoveRealServersRequestParams ¶ added in v1.0.426
type RemoveRealServersRequestParams struct { // 源站Id列表 RealServerIds []*string `json:"RealServerIds,omitnil,omitempty" name:"RealServerIds"` }
Predefined struct for user
type RemoveRealServersResponse ¶
type RemoveRealServersResponse struct { *tchttp.BaseResponse Response *RemoveRealServersResponseParams `json:"Response"` }
func NewRemoveRealServersResponse ¶
func NewRemoveRealServersResponse() (response *RemoveRealServersResponse)
func (*RemoveRealServersResponse) FromJsonString ¶
func (r *RemoveRealServersResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*RemoveRealServersResponse) ToJsonString ¶
func (r *RemoveRealServersResponse) ToJsonString() string
type RemoveRealServersResponseParams ¶ added in v1.0.426
type RemoveRealServersResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type RuleCheckParams ¶
type RuleCheckParams struct { // 健康检查的时间间隔 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 健康检查的响应超时时间 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 健康检查的检查路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 健康检查的方法,GET/HEAD Method *string `json:"Method,omitnil,omitempty" name:"Method"` // 确认源站正常的返回码,可选范围[100, 200, 300, 400, 500] StatusCode []*uint64 `json:"StatusCode,omitnil,omitempty" name:"StatusCode"` // 健康检查的检查域名。 // 当调用ModifyRuleAttribute时,不支持修改该参数。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 源站服务失败统计频率 // 注意:此字段可能返回 null,表示取不到有效值。 FailedCountInter *uint64 `json:"FailedCountInter,omitnil,omitempty" name:"FailedCountInter"` // 源站健康性检查阀值,超过该阀值会屏蔽服务 // 注意:此字段可能返回 null,表示取不到有效值。 FailedThreshold *uint64 `json:"FailedThreshold,omitnil,omitempty" name:"FailedThreshold"` // 源站健康性检测超出阀值后,屏蔽的时间 // 注意:此字段可能返回 null,表示取不到有效值。 BlockInter *uint64 `json:"BlockInter,omitnil,omitempty" name:"BlockInter"` }
type RuleInfo ¶
type RuleInfo struct { // 规则信息 RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 监听器信息 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 规则域名 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 规则路径 Path *string `json:"Path,omitnil,omitempty" name:"Path"` // 源站类型 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 是否开启健康检查标志,1表示开启,0表示关闭 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 规则状态,0表示运行中,1表示创建中,2表示销毁中,3表示绑定解绑源站中,4表示配置更新中 RuleStatus *uint64 `json:"RuleStatus,omitnil,omitempty" name:"RuleStatus"` // 健康检查相关参数 CheckParams *RuleCheckParams `json:"CheckParams,omitnil,omitempty" name:"CheckParams"` // 已绑定的源站相关信息 RealServerSet []*BindRealServer `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 源站的服务状态,0表示异常,1表示正常。 // 未开启健康检查时,该状态始终未正常。 // 只要有一个源站健康状态为异常时,该状态为异常,具体源站的状态请查看RealServerSet。 BindStatus *uint64 `json:"BindStatus,omitnil,omitempty" name:"BindStatus"` // 通道转发到源站的请求所携带的host,其中default表示直接转发接收到的host。 // 注意:此字段可能返回 null,表示取不到有效值。 ForwardHost *string `json:"ForwardHost,omitnil,omitempty" name:"ForwardHost"` // 服务器名称指示(ServerNameIndication,简称SNI)开关。ON表示开启,OFF表示关闭。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 ServerNameIndicationSwitch *string `json:"ServerNameIndicationSwitch,omitnil,omitempty" name:"ServerNameIndicationSwitch"` // 服务器名称指示(ServerNameIndication,简称SNI),当SNI开关打开时,该字段必填。 // 注意:此字段可能返回 null,表示取不到有效值。 // 注意:此字段可能返回 null,表示取不到有效值。 ServerNameIndication *string `json:"ServerNameIndication,omitnil,omitempty" name:"ServerNameIndication"` // 强转HTTPS指示,当传递值为https:时表示强转为https // 注意:此字段可能返回 null,表示取不到有效值。 ForcedRedirect *string `json:"ForcedRedirect,omitnil,omitempty" name:"ForcedRedirect"` }
type SecurityPolicyRuleIn ¶
type SecurityPolicyRuleIn struct { // 请求来源IP或IP段。 SourceCidr *string `json:"SourceCidr,omitnil,omitempty" name:"SourceCidr"` // 策略:允许(ACCEPT)或拒绝(DROP) Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 规则别名 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 协议:TCP或UDP,ALL表示所有协议 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 目标端口,填写格式举例: // 单个端口: 80 // 多个端口: 80,443 // 连续端口: 3306-20000 // 所有端口: ALL DestPortRange *string `json:"DestPortRange,omitnil,omitempty" name:"DestPortRange"` }
type SecurityPolicyRuleOut ¶
type SecurityPolicyRuleOut struct { // 策略:允许(ACCEPT)或拒绝(DROP) Action *string `json:"Action,omitnil,omitempty" name:"Action"` // 请求来源Ip或Ip段 SourceCidr *string `json:"SourceCidr,omitnil,omitempty" name:"SourceCidr"` // 规则别名 AliasName *string `json:"AliasName,omitnil,omitempty" name:"AliasName"` // 目标端口范围 // 注意:此字段可能返回 null,表示取不到有效值。 DestPortRange *string `json:"DestPortRange,omitnil,omitempty" name:"DestPortRange"` // 规则ID RuleId *string `json:"RuleId,omitnil,omitempty" name:"RuleId"` // 要匹配的协议类型(TCP/UDP) // 注意:此字段可能返回 null,表示取不到有效值。 Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 安全策略ID // 注意:此字段可能返回 null,表示取不到有效值。 PolicyId *string `json:"PolicyId,omitnil,omitempty" name:"PolicyId"` }
type SetAuthenticationRequest ¶
type SetAuthenticationRequest struct { *tchttp.BaseRequest // 监听器ID。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要进行高级配置的域名,该域名为监听器下的转发规则的域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 基础认证开关,其中: // 0,关闭基础认证; // 1,开启基础认证。 // 默认为0。 BasicAuth *int64 `json:"BasicAuth,omitnil,omitempty" name:"BasicAuth"` // 通道认证开关,用于源站对Gaap的认证,其中: // 0,关闭通道认证; // 1,开启通道认证。 // 默认为0。 GaapAuth *int64 `json:"GaapAuth,omitnil,omitempty" name:"GaapAuth"` // 源站认证开关,用于Gaap对服务器的认证,其中: // 0,关闭源站认证; // 1,开启源站认证。 // 默认为0。 RealServerAuth *int64 `json:"RealServerAuth,omitnil,omitempty" name:"RealServerAuth"` // 基础认证配置ID,从证书管理页获取。 BasicAuthConfId *string `json:"BasicAuthConfId,omitnil,omitempty" name:"BasicAuthConfId"` // 通道SSL证书ID,从证书管理页获取。 GaapCertificateId *string `json:"GaapCertificateId,omitnil,omitempty" name:"GaapCertificateId"` // 源站CA证书ID,从证书管理页获取。源站认证时,填写该参数或RealServerCertificateId参数 RealServerCertificateId *string `json:"RealServerCertificateId,omitnil,omitempty" name:"RealServerCertificateId"` // 该字段已废弃,请使用创建规则和修改规则中的SNI功能。 RealServerCertificateDomain *string `json:"RealServerCertificateDomain,omitnil,omitempty" name:"RealServerCertificateDomain"` // 多源站CA证书ID,从证书管理页获取。源站认证时,填写该参数或RealServerCertificateId参数 PolyRealServerCertificateIds []*string `json:"PolyRealServerCertificateIds,omitnil,omitempty" name:"PolyRealServerCertificateIds"` }
func NewSetAuthenticationRequest ¶
func NewSetAuthenticationRequest() (request *SetAuthenticationRequest)
func (*SetAuthenticationRequest) FromJsonString ¶
func (r *SetAuthenticationRequest) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAuthenticationRequest) ToJsonString ¶
func (r *SetAuthenticationRequest) ToJsonString() string
type SetAuthenticationRequestParams ¶ added in v1.0.426
type SetAuthenticationRequestParams struct { // 监听器ID。 ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 需要进行高级配置的域名,该域名为监听器下的转发规则的域名。 Domain *string `json:"Domain,omitnil,omitempty" name:"Domain"` // 基础认证开关,其中: // 0,关闭基础认证; // 1,开启基础认证。 // 默认为0。 BasicAuth *int64 `json:"BasicAuth,omitnil,omitempty" name:"BasicAuth"` // 通道认证开关,用于源站对Gaap的认证,其中: // 0,关闭通道认证; // 1,开启通道认证。 // 默认为0。 GaapAuth *int64 `json:"GaapAuth,omitnil,omitempty" name:"GaapAuth"` // 源站认证开关,用于Gaap对服务器的认证,其中: // 0,关闭源站认证; // 1,开启源站认证。 // 默认为0。 RealServerAuth *int64 `json:"RealServerAuth,omitnil,omitempty" name:"RealServerAuth"` // 基础认证配置ID,从证书管理页获取。 BasicAuthConfId *string `json:"BasicAuthConfId,omitnil,omitempty" name:"BasicAuthConfId"` // 通道SSL证书ID,从证书管理页获取。 GaapCertificateId *string `json:"GaapCertificateId,omitnil,omitempty" name:"GaapCertificateId"` // 源站CA证书ID,从证书管理页获取。源站认证时,填写该参数或RealServerCertificateId参数 RealServerCertificateId *string `json:"RealServerCertificateId,omitnil,omitempty" name:"RealServerCertificateId"` // 该字段已废弃,请使用创建规则和修改规则中的SNI功能。 RealServerCertificateDomain *string `json:"RealServerCertificateDomain,omitnil,omitempty" name:"RealServerCertificateDomain"` // 多源站CA证书ID,从证书管理页获取。源站认证时,填写该参数或RealServerCertificateId参数 PolyRealServerCertificateIds []*string `json:"PolyRealServerCertificateIds,omitnil,omitempty" name:"PolyRealServerCertificateIds"` }
Predefined struct for user
type SetAuthenticationResponse ¶
type SetAuthenticationResponse struct { *tchttp.BaseResponse Response *SetAuthenticationResponseParams `json:"Response"` }
func NewSetAuthenticationResponse ¶
func NewSetAuthenticationResponse() (response *SetAuthenticationResponse)
func (*SetAuthenticationResponse) FromJsonString ¶
func (r *SetAuthenticationResponse) FromJsonString(s string) error
FromJsonString It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SetAuthenticationResponse) ToJsonString ¶
func (r *SetAuthenticationResponse) ToJsonString() string
type SetAuthenticationResponseParams ¶ added in v1.0.426
type SetAuthenticationResponseParams struct { // 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitnil,omitempty" name:"RequestId"` }
Predefined struct for user
type SrcAddressInfo ¶ added in v1.0.399
type StatisticsDataInfo ¶
type SupportFeature ¶ added in v1.0.646
type SupportFeature struct { // 接入区域支持的网络类型列表,normal表示支持常规BGP,cn2表示精品BGP,triple表示三网,secure_eip表示定制安全eip。 NetworkType []*string `json:"NetworkType,omitnil,omitempty" name:"NetworkType"` }
type TCPListener ¶
type TCPListener struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 监听器转发源站端口,仅对版本为1.0的通道有效 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerPort *uint64 `json:"RealServerPort,omitnil,omitempty" name:"RealServerPort"` // 监听器绑定源站类型 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 监听器协议, TCP Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 监听器状态,其中: // 0表示运行中; // 1表示创建中; // 2表示销毁中; // 3表示源站调整中; // 4表示配置变更中。 ListenerStatus *uint64 `json:"ListenerStatus,omitnil,omitempty" name:"ListenerStatus"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 源站健康检查响应超时时间,单位:秒 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 源站健康检查时间间隔,单位:秒 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 监听器是否开启健康检查,其中: // 0表示关闭; // 1表示开启 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // 监听器绑定的源站状态, 其中: // 0表示异常; // 1表示正常。 BindStatus *uint64 `json:"BindStatus,omitnil,omitempty" name:"BindStatus"` // 监听器绑定的源站信息 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerSet []*BindRealServer `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 监听器创建时间,Unix时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 监听器获取客户端 IP 的方式,0表示TOA, 1表示Proxy Protocol // 注意:此字段可能返回 null,表示取不到有效值。 ClientIPMethod *uint64 `json:"ClientIPMethod,omitnil,omitempty" name:"ClientIPMethod"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 // 注意:此字段可能返回 null,表示取不到有效值。 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 // 注意:此字段可能返回 null,表示取不到有效值。 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 // 注意:此字段可能返回 null,表示取不到有效值。 FailoverSwitch *uint64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 是否开启会话保持选项:0关闭, 非0开启,非0值为会话保持时间 // 注意:此字段可能返回 null,表示取不到有效值。 SessionPersist *uint64 `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 监听器的通道ID,如果监听器属于通道组,则为null // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器的通道组ID,如果监听器属于通道,则为null // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }
type TagResourceInfo ¶
type UDPListener ¶
type UDPListener struct { // 监听器ID ListenerId *string `json:"ListenerId,omitnil,omitempty" name:"ListenerId"` // 监听器名称 ListenerName *string `json:"ListenerName,omitnil,omitempty" name:"ListenerName"` // 监听器端口 Port *uint64 `json:"Port,omitnil,omitempty" name:"Port"` // 监听器转发源站端口,仅V1版本通道或通道组监听器有效 // 注意:此字段可能返回 null,表示取不到有效值。 RealServerPort *uint64 `json:"RealServerPort,omitnil,omitempty" name:"RealServerPort"` // 监听器绑定源站类型 RealServerType *string `json:"RealServerType,omitnil,omitempty" name:"RealServerType"` // 监听器协议, UDP Protocol *string `json:"Protocol,omitnil,omitempty" name:"Protocol"` // 监听器状态,其中: // 0表示运行中; // 1表示创建中; // 2表示销毁中; // 3表示源站调整中; // 4表示配置变更中。 ListenerStatus *uint64 `json:"ListenerStatus,omitnil,omitempty" name:"ListenerStatus"` // 监听器源站访问策略,其中:rr表示轮询;wrr表示加权轮询;lc表示最小连接数;lrtt表示最小时延。 Scheduler *string `json:"Scheduler,omitnil,omitempty" name:"Scheduler"` // 监听器绑定源站状态, 0表示正常,1表示IP异常,2表示域名解析异常 BindStatus *uint64 `json:"BindStatus,omitnil,omitempty" name:"BindStatus"` // 监听器绑定的源站信息 RealServerSet []*BindRealServer `json:"RealServerSet,omitnil,omitempty" name:"RealServerSet"` // 监听器创建时间,Unix时间戳 CreateTime *uint64 `json:"CreateTime,omitnil,omitempty" name:"CreateTime"` // 是否开启会话保持选项:0关闭, 非0开启,非0值为会话保持时间 // 注意:此字段可能返回 null,表示取不到有效值。 SessionPersist *uint64 `json:"SessionPersist,omitnil,omitempty" name:"SessionPersist"` // 源站健康检查时间间隔,单位:秒。时间间隔取值在[5,300]之间。 // 注意:此字段可能返回 null,表示取不到有效值。 DelayLoop *uint64 `json:"DelayLoop,omitnil,omitempty" name:"DelayLoop"` // 源站健康检查响应超时时间,单位:秒。超时时间取值在[2,60]之间。超时时间应小于健康检查时间间隔DelayLoop。 // 注意:此字段可能返回 null,表示取不到有效值。 ConnectTimeout *uint64 `json:"ConnectTimeout,omitnil,omitempty" name:"ConnectTimeout"` // 健康阈值,表示连续检查成功多少次后认定源站健康。范围为1到10 // 注意:此字段可能返回 null,表示取不到有效值。 HealthyThreshold *uint64 `json:"HealthyThreshold,omitnil,omitempty" name:"HealthyThreshold"` // 不健康阈值,表示连续检查失败多少次数后认为源站不健康。范围为1到10 // 注意:此字段可能返回 null,表示取不到有效值。 UnhealthyThreshold *uint64 `json:"UnhealthyThreshold,omitnil,omitempty" name:"UnhealthyThreshold"` // 源站是否开启主备模式:1开启,0关闭,DOMAIN类型源站不支持开启 // 注意:此字段可能返回 null,表示取不到有效值。 FailoverSwitch *int64 `json:"FailoverSwitch,omitnil,omitempty" name:"FailoverSwitch"` // 源站是否开启健康检查:1开启,0关闭。 // 注意:此字段可能返回 null,表示取不到有效值。 HealthCheck *uint64 `json:"HealthCheck,omitnil,omitempty" name:"HealthCheck"` // UDP源站健康类型。PORT表示检查端口,PING表示PING。 // 注意:此字段可能返回 null,表示取不到有效值。 CheckType *string `json:"CheckType,omitnil,omitempty" name:"CheckType"` // UDP源站健康检查探测端口。 // 注意:此字段可能返回 null,表示取不到有效值。 CheckPort *int64 `json:"CheckPort,omitnil,omitempty" name:"CheckPort"` // UDP源站健康检查端口探测报文类型:TEXT表示文本。仅在健康检查类型为PORT时使用。 // 注意:此字段可能返回 null,表示取不到有效值。 ContextType *string `json:"ContextType,omitnil,omitempty" name:"ContextType"` // UDP源站健康检查端口探测发送报文。仅在健康检查类型为PORT时使用。 // 注意:此字段可能返回 null,表示取不到有效值。 SendContext *string `json:"SendContext,omitnil,omitempty" name:"SendContext"` // UDP源站健康检查端口探测接收报文。仅在健康检查类型为PORT时使用。 // 注意:此字段可能返回 null,表示取不到有效值。 RecvContext *string `json:"RecvContext,omitnil,omitempty" name:"RecvContext"` // 监听器的通道ID,如果监听器属于通道组,则为null // 注意:此字段可能返回 null,表示取不到有效值。 ProxyId *string `json:"ProxyId,omitnil,omitempty" name:"ProxyId"` // 监听器的通道组ID,如果监听器属于通道,则为null // 注意:此字段可能返回 null,表示取不到有效值。 GroupId *string `json:"GroupId,omitnil,omitempty" name:"GroupId"` }