gaap

package
v1.81.90 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2024 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// all gaap proxy status https://cloud.tencent.com/document/api/608/37023#ProxyInfo
	GAAP_PROXY_CREATING   = "CREATING"
	GAAP_PROXY_RUNNING    = "RUNNING"
	GAAP_PROXY_DESTROYING = "DESTROYING"
	GAAP_PROXY_OPENING    = "OPENING"
	GAAP_PROXY_CLOSING    = "CLOSING"
	GAAP_PROXY_CLOSED     = "CLOSED"
	GAAP_PROXY_ADJUSTING  = "ADJUSTING"
	GAAP_PROXY_ISOLATING  = "ISOLATING"
	GAAP_PROXY_ISOLATED   = "ISOLATED"
	GAAP_PROXY_UNKNOWN    = "UNKNOWN"

	GAAP_LISTENER_RUNNING              = 0
	GAAP_LISTENER_CREATING             = 1
	GAAP_LISTENER_DESTROYING           = 2
	GAAP_LISTENER_REALSERVER_ADJUSTING = 3
	GAAP_LISTENER_ADJUSTING            = 4

	GAAP_SECURITY_POLICY_BOUND     = "BOUND"
	GAAP_SECURITY_POLICY_UNBIND    = "UNBIND"
	GAAP_SECURITY_POLICY_BINDING   = "BINDING"
	GAAP_SECURITY_POLICY_UNBINDING = "UNBINDING"

	GAAP_HTTP_RULE_RUNNING              = 0
	GAAP_HTTP_RULE_CREATING             = 1
	GAAP_HTTP_RULE_DESTROYING           = 2
	GAAP_HTTP_RULE_BINDING_OR_UNBINDING = 3
	GAAP_HTTP_RULE_ADJUSTING            = 4

	GAAPInternalError    = "InternalError"
	GAAPResourceNotFound = "ResourceNotFound"

	GAAP_SERVER_NAME_INDICATION_SWITCH_ON  = "ON"
	GAAP_SERVER_NAME_INDICATION_SWITCH_OFF = "OFF"

	NETWORK_TYPE_NORMAL        = "normal"
	NETWORK_TYPE_CN2           = "cn2"
	NETWORK_TYPE_TRIPLE        = "triple"
	GLOBAL_DOMAIN_STATUS_OPEN  = "open"
	GLOBAL_DOMAIN_STATUS_CLOSE = "close"
)

Variables

Functions

func DataSourceTencentCloudGaapAccessRegions

func DataSourceTencentCloudGaapAccessRegions() *schema.Resource

func DataSourceTencentCloudGaapAccessRegionsByDestRegion

func DataSourceTencentCloudGaapAccessRegionsByDestRegion() *schema.Resource

func DataSourceTencentCloudGaapBlackHeader

func DataSourceTencentCloudGaapBlackHeader() *schema.Resource

func DataSourceTencentCloudGaapCertificates

func DataSourceTencentCloudGaapCertificates() *schema.Resource

func DataSourceTencentCloudGaapCheckProxyCreate

func DataSourceTencentCloudGaapCheckProxyCreate() *schema.Resource

func DataSourceTencentCloudGaapCountryAreaMapping

func DataSourceTencentCloudGaapCountryAreaMapping() *schema.Resource

func DataSourceTencentCloudGaapCustomHeader

func DataSourceTencentCloudGaapCustomHeader() *schema.Resource

func DataSourceTencentCloudGaapDestRegions

func DataSourceTencentCloudGaapDestRegions() *schema.Resource

func DataSourceTencentCloudGaapDomainErrorPageInfoList

func DataSourceTencentCloudGaapDomainErrorPageInfoList() *schema.Resource

func DataSourceTencentCloudGaapDomainErrorPageInfos

func DataSourceTencentCloudGaapDomainErrorPageInfos() *schema.Resource

func DataSourceTencentCloudGaapGroupAndStatisticsProxy

func DataSourceTencentCloudGaapGroupAndStatisticsProxy() *schema.Resource

func DataSourceTencentCloudGaapHttpDomains

func DataSourceTencentCloudGaapHttpDomains() *schema.Resource

func DataSourceTencentCloudGaapHttpRules

func DataSourceTencentCloudGaapHttpRules() *schema.Resource

func DataSourceTencentCloudGaapLayer4Listeners

func DataSourceTencentCloudGaapLayer4Listeners() *schema.Resource

func DataSourceTencentCloudGaapLayer7Listeners

func DataSourceTencentCloudGaapLayer7Listeners() *schema.Resource

func DataSourceTencentCloudGaapListenerRealServers

func DataSourceTencentCloudGaapListenerRealServers() *schema.Resource

func DataSourceTencentCloudGaapListenerStatistics

func DataSourceTencentCloudGaapListenerStatistics() *schema.Resource

func DataSourceTencentCloudGaapProxies

func DataSourceTencentCloudGaapProxies() *schema.Resource

func DataSourceTencentCloudGaapProxiesStatus

func DataSourceTencentCloudGaapProxiesStatus() *schema.Resource

func DataSourceTencentCloudGaapProxyAndStatisticsListeners

func DataSourceTencentCloudGaapProxyAndStatisticsListeners() *schema.Resource

func DataSourceTencentCloudGaapProxyDetail

func DataSourceTencentCloudGaapProxyDetail() *schema.Resource

func DataSourceTencentCloudGaapProxyGroupStatistics

func DataSourceTencentCloudGaapProxyGroupStatistics() *schema.Resource

func DataSourceTencentCloudGaapProxyGroups

func DataSourceTencentCloudGaapProxyGroups() *schema.Resource

func DataSourceTencentCloudGaapProxyStatistics

func DataSourceTencentCloudGaapProxyStatistics() *schema.Resource

func DataSourceTencentCloudGaapRealServersStatus

func DataSourceTencentCloudGaapRealServersStatus() *schema.Resource

func DataSourceTencentCloudGaapRealservers

func DataSourceTencentCloudGaapRealservers() *schema.Resource

func DataSourceTencentCloudGaapRegionAndPrice

func DataSourceTencentCloudGaapRegionAndPrice() *schema.Resource

func DataSourceTencentCloudGaapResourcesByTag

func DataSourceTencentCloudGaapResourcesByTag() *schema.Resource

func DataSourceTencentCloudGaapRuleRealServers

func DataSourceTencentCloudGaapRuleRealServers() *schema.Resource

func DataSourceTencentCloudGaapSecurityPolices

func DataSourceTencentCloudGaapSecurityPolices() *schema.Resource

func DataSourceTencentCloudGaapSecurityRules

func DataSourceTencentCloudGaapSecurityRules() *schema.Resource

func ListEqual

func ListEqual(a, b []string) bool

func ResourceTencentCloudGaapCertificate

func ResourceTencentCloudGaapCertificate() *schema.Resource

func ResourceTencentCloudGaapCustomHeader

func ResourceTencentCloudGaapCustomHeader() *schema.Resource

func ResourceTencentCloudGaapDomainErrorPageInfo

func ResourceTencentCloudGaapDomainErrorPageInfo() *schema.Resource

func ResourceTencentCloudGaapGlobalDomain

func ResourceTencentCloudGaapGlobalDomain() *schema.Resource

func ResourceTencentCloudGaapGlobalDomainDns

func ResourceTencentCloudGaapGlobalDomainDns() *schema.Resource

func ResourceTencentCloudGaapHttpDomain

func ResourceTencentCloudGaapHttpDomain() *schema.Resource

func ResourceTencentCloudGaapHttpRule

func ResourceTencentCloudGaapHttpRule() *schema.Resource

func ResourceTencentCloudGaapLayer4Listener

func ResourceTencentCloudGaapLayer4Listener() *schema.Resource

func ResourceTencentCloudGaapLayer7Listener

func ResourceTencentCloudGaapLayer7Listener() *schema.Resource

func ResourceTencentCloudGaapProxy

func ResourceTencentCloudGaapProxy() *schema.Resource

func ResourceTencentCloudGaapProxyGroup

func ResourceTencentCloudGaapProxyGroup() *schema.Resource

func ResourceTencentCloudGaapRealserver

func ResourceTencentCloudGaapRealserver() *schema.Resource

func ResourceTencentCloudGaapSecurityPolicy

func ResourceTencentCloudGaapSecurityPolicy() *schema.Resource

func ResourceTencentCloudGaapSecurityRule

func ResourceTencentCloudGaapSecurityRule() *schema.Resource

Types

type GaapService

type GaapService struct {
	// contains filtered or unexported fields
}

func NewGaapService

func NewGaapService(client *connectivity.TencentCloudClient) GaapService

func (*GaapService) BindHttpRuleRealservers

func (me *GaapService) BindHttpRuleRealservers(ctx context.Context, listenerId, ruleId string, realservers []gaapRealserverBind) error

func (*GaapService) BindLayer4ListenerRealservers

func (me *GaapService) BindLayer4ListenerRealservers(ctx context.Context, id, protocol, proxyId string, realserverBinds []gaapRealserverBind) error

func (*GaapService) CreateCustomHeader

func (me *GaapService) CreateCustomHeader(ctx context.Context, ruleId string, headers []*gaap.HttpHeaderParam) (errRet error)

func (*GaapService) CreateDomainErrorPageInfo

func (me *GaapService) CreateDomainErrorPageInfo(ctx context.Context,
	listenerId, domain, body string,
	newErrorCode *int64,
	errorCodes []int,
	clearHeaders []string,
	setHeaders map[string]string,
) (id string, errRet error)

func (*GaapService) CreateHTTPDomain

func (me *GaapService) CreateHTTPDomain(ctx context.Context, listenerId, domain string) error

func (*GaapService) CreateHTTPListener

func (me *GaapService) CreateHTTPListener(ctx context.Context, name, proxyId string, port int) (id string, err error)

func (*GaapService) CreateHTTPSDomain

func (me *GaapService) CreateHTTPSDomain(
	ctx context.Context,
	listenerId, domain, certificateId string,
	polyClientCertificateIds []string,
) error

func (*GaapService) CreateHTTPSListener

func (me *GaapService) CreateHTTPSListener(
	ctx context.Context,
	name, certificateId, forwardProtocol, proxyId string,
	polyClientCertificateIds []string,
	port, authType int,
) (id string, err error)

func (*GaapService) CreateHttpRule

func (me *GaapService) CreateHttpRule(ctx context.Context, httpRule gaapHttpRule) (id string, err error)

func (*GaapService) CreateProxy

func (me *GaapService) CreateProxy(
	ctx context.Context,
	name, accessRegion, realserverRegion string,
	bandwidth, concurrent, projectId int,
	tags map[string]string,
	params map[string]interface{},
) (id string, err error)

func (*GaapService) CreateRealserver

func (me *GaapService) CreateRealserver(ctx context.Context, address, name string, projectId int) (id string, err error)

func (*GaapService) CreateSecurityPolicy

func (me *GaapService) CreateSecurityPolicy(ctx context.Context, proxyId, action string) (id string, err error)

func (*GaapService) CreateSecurityRule

func (me *GaapService) CreateSecurityRule(
	ctx context.Context,
	policyId, name, cidrIp, port, action, protocol string,
) (id string, err error)

func (*GaapService) CreateTCPListener

func (me *GaapService) CreateTCPListener(
	ctx context.Context,
	name, scheduler, realserverType, proxyId string,
	port, interval, connectTimeout, clientIPMethod int,
	healthCheck bool,
) (id string, err error)

func (*GaapService) CreateUDPListener

func (me *GaapService) CreateUDPListener(
	ctx context.Context,
	name, scheduler, realserverType, proxyId string,
	port int,
) (id string, err error)

func (*GaapService) DeleteCertificate

func (me *GaapService) DeleteCertificate(ctx context.Context, id string) error

func (*GaapService) DeleteDomain

func (me *GaapService) DeleteDomain(ctx context.Context, listenerId, domain string) error

func (*GaapService) DeleteDomainErrorPageInfo

func (me *GaapService) DeleteDomainErrorPageInfo(ctx context.Context, id string) error

func (*GaapService) DeleteGaapGlobalDomainById

func (me *GaapService) DeleteGaapGlobalDomainById(ctx context.Context, domainId string) (errRet error)

func (*GaapService) DeleteGaapGlobalDomainDnsById

func (me *GaapService) DeleteGaapGlobalDomainDnsById(ctx context.Context, dnsRecordId int) (errRet error)

func (*GaapService) DeleteGaapProxyGroupById

func (me *GaapService) DeleteGaapProxyGroupById(ctx context.Context, groupId string) (errRet error)

func (*GaapService) DeleteHttpRule

func (me *GaapService) DeleteHttpRule(ctx context.Context, listenerId, ruleId string) error

func (*GaapService) DeleteLayer4Listener

func (me *GaapService) DeleteLayer4Listener(ctx context.Context, id, proxyId, protocol string) error

func (*GaapService) DeleteLayer7Listener

func (me *GaapService) DeleteLayer7Listener(ctx context.Context, id, proxyId, protocol string) error

func (*GaapService) DeleteProxy

func (me *GaapService) DeleteProxy(ctx context.Context, id string) error

func (*GaapService) DeleteRealserver

func (me *GaapService) DeleteRealserver(ctx context.Context, id string) error

func (*GaapService) DeleteSecurityPolicy

func (me *GaapService) DeleteSecurityPolicy(ctx context.Context, id string) error

func (*GaapService) DeleteSecurityRule

func (me *GaapService) DeleteSecurityRule(ctx context.Context, policyId, ruleId string) error

func (*GaapService) DescribeCertificateById

func (me *GaapService) DescribeCertificateById(ctx context.Context, id string) (certificate *gaap.CertificateDetail, err error)

func (*GaapService) DescribeCertificates

func (me *GaapService) DescribeCertificates(ctx context.Context, id, name *string, certificateType *int) (certificates []*gaap.Certificate, err error)

func (*GaapService) DescribeDomain

func (me *GaapService) DescribeDomain(ctx context.Context, listenerId, domain string) (domainRet *gaap.DomainRuleSet, err error)

func (*GaapService) DescribeDomainErrorPageInfo

func (me *GaapService) DescribeDomainErrorPageInfo(ctx context.Context, listenerId, domain, id string) (info *gaap.DomainErrorPageInfo, err error)

func (*GaapService) DescribeDomainErrorPageInfoList

func (me *GaapService) DescribeDomainErrorPageInfoList(ctx context.Context, listenerId, domain string) (list []*gaap.DomainErrorPageInfo, err error)

func (*GaapService) DescribeDomains

func (me *GaapService) DescribeDomains(ctx context.Context, listenerId, domain string) (domains []*gaap.DomainRuleSet, err error)

func (*GaapService) DescribeGaapAccessRegions

func (me *GaapService) DescribeGaapAccessRegions(ctx context.Context) (describeAccessRegions []*gaap.RegionDetail, errRet error)

func (*GaapService) DescribeGaapAccessRegionsByDestRegionByFilter

func (me *GaapService) DescribeGaapAccessRegionsByDestRegionByFilter(ctx context.Context, param map[string]interface{}) (accessRegionsByDestRegion []*gaap.AccessRegionDetial, errRet error)

func (*GaapService) DescribeGaapBlackHeader

func (me *GaapService) DescribeGaapBlackHeader(ctx context.Context) (blackHeader []*string, errRet error)

func (*GaapService) DescribeGaapCheckProxyCreate

func (me *GaapService) DescribeGaapCheckProxyCreate(ctx context.Context, param map[string]interface{}) (checkProxyCreate *uint64, errRet error)

func (*GaapService) DescribeGaapCountryAreaMapping

func (me *GaapService) DescribeGaapCountryAreaMapping(ctx context.Context) (countryAreaMapping []*gaap.CountryAreaMap, errRet error)

func (*GaapService) DescribeGaapCustomHeader

func (me *GaapService) DescribeGaapCustomHeader(ctx context.Context, ruleId string) (customHeader []*gaap.HttpHeaderParam, errRet error)

func (*GaapService) DescribeGaapDestRegions

func (me *GaapService) DescribeGaapDestRegions(ctx context.Context) (destRegions []*gaap.RegionDetail, errRet error)

func (*GaapService) DescribeGaapDomainErrorPageInfosByFilter

func (me *GaapService) DescribeGaapDomainErrorPageInfosByFilter(ctx context.Context, param map[string]interface{}) (domainErrorPageInfos []*gaap.DomainErrorPageInfo, errRet error)

func (*GaapService) DescribeGaapGlobalDomainById

func (me *GaapService) DescribeGaapGlobalDomainById(ctx context.Context, domainId string, projectId int) (globalDomain *gaap.Domain, errRet error)

func (*GaapService) DescribeGaapGlobalDomainDnsById

func (me *GaapService) DescribeGaapGlobalDomainDnsById(ctx context.Context, domainId string, params map[string]interface{}) (globalDomainDns *gaap.GlobalDns, errRet error)

func (*GaapService) DescribeGaapGroupAndStatisticsProxyByFilter

func (me *GaapService) DescribeGaapGroupAndStatisticsProxyByFilter(ctx context.Context, param map[string]interface{}) (groupAndStatisticsProxy []*gaap.GroupStatisticsInfo, errRet error)

func (*GaapService) DescribeGaapListenerRealServersByFilter

func (me *GaapService) DescribeGaapListenerRealServersByFilter(ctx context.Context, param map[string]interface{}) (listenerRealServers []*gaap.RealServer, bindRealServers []*gaap.BindRealServer, errRet error)

func (*GaapService) DescribeGaapListenerStatisticsByFilter

func (me *GaapService) DescribeGaapListenerStatisticsByFilter(ctx context.Context, param map[string]interface{}) (listenerStatistics []*gaap.MetricStatisticsInfo, errRet error)

func (*GaapService) DescribeGaapProxiesStatusByFilter

func (me *GaapService) DescribeGaapProxiesStatusByFilter(ctx context.Context, param map[string]interface{}) (proxiesStatus []*gaap.ProxyStatus, errRet error)

func (*GaapService) DescribeGaapProxyAndStatisticsListenersByFilter

func (me *GaapService) DescribeGaapProxyAndStatisticsListenersByFilter(ctx context.Context, param map[string]interface{}) (proxyAndStatisticsListeners []*gaap.ProxySimpleInfo, errRet error)

func (*GaapService) DescribeGaapProxyDetail

func (me *GaapService) DescribeGaapProxyDetail(ctx context.Context, proxyId string) (proxyDetail *gaap.ProxyInfo, errRet error)

func (*GaapService) DescribeGaapProxyGroupById

func (me *GaapService) DescribeGaapProxyGroupById(ctx context.Context, groupId string) (proxyGroup *gaap.ProxyGroupDetail, errRet error)

func (*GaapService) DescribeGaapProxyGroupProxies

func (me *GaapService) DescribeGaapProxyGroupProxies(ctx context.Context, groupId string) (proxies []*gaap.ProxyInfo, errRet error)

func (*GaapService) DescribeGaapProxyGroupStatisticsByFilter

func (me *GaapService) DescribeGaapProxyGroupStatisticsByFilter(ctx context.Context, param map[string]interface{}) (proxyGroupStatistics []*gaap.MetricStatisticsInfo, errRet error)

func (*GaapService) DescribeGaapProxyGroupsByFilter

func (me *GaapService) DescribeGaapProxyGroupsByFilter(ctx context.Context, param map[string]interface{}) (proxyGroups []*gaap.ProxyGroupInfo, errRet error)

func (*GaapService) DescribeGaapProxyStatisticsByFilter

func (me *GaapService) DescribeGaapProxyStatisticsByFilter(ctx context.Context, param map[string]interface{}) (proxyStatistics []*gaap.MetricStatisticsInfo, errRet error)

func (*GaapService) DescribeGaapRealServersStatusByFilter

func (me *GaapService) DescribeGaapRealServersStatusByFilter(ctx context.Context, param map[string]interface{}) (realServersStatus []*gaap.RealServerStatus, errRet error)

func (*GaapService) DescribeGaapRegionAndPriceByFilter

func (me *GaapService) DescribeGaapRegionAndPriceByFilter(ctx context.Context, param map[string]interface{}) (regionAndPrice []*gaap.RegionDetail, bandwidthUnitPrice []*gaap.BandwidthPriceGradient, currency *string, errRet error)

func (*GaapService) DescribeGaapResourcesByTagByFilter

func (me *GaapService) DescribeGaapResourcesByTagByFilter(ctx context.Context, param map[string]interface{}) (resourcesByTag []*gaap.TagResourceInfo, errRet error)

func (*GaapService) DescribeGaapRuleRealServersByFilter

func (me *GaapService) DescribeGaapRuleRealServersByFilter(ctx context.Context, param map[string]interface{}) (ruleRealServers []*gaap.RealServer, bindRealServers []*gaap.BindRealServer, errRet error)

func (*GaapService) DescribeHTTPListeners

func (me *GaapService) DescribeHTTPListeners(
	ctx context.Context,
	proxyId, id, name *string,
	port *int,
) (listeners []*gaap.HTTPListener, err error)

func (*GaapService) DescribeHTTPSListeners

func (me *GaapService) DescribeHTTPSListeners(
	ctx context.Context,
	proxyId, listenerId, name *string,
	port *int,
) (listeners []*gaap.HTTPSListener, err error)

func (*GaapService) DescribeHttpRule

func (me *GaapService) DescribeHttpRule(ctx context.Context, id string) (rule *gaap.RuleInfo, err error)

func (*GaapService) DescribeProxies

func (me *GaapService) DescribeProxies(
	ctx context.Context,
	ids []string,
	projectId *int,
	accessRegion, realserverRegion *string,
	tags map[string]string,
) (proxies []*gaap.ProxyInfo, err error)

func (*GaapService) DescribeRealservers

func (me *GaapService) DescribeRealservers(ctx context.Context, address, name *string, tags map[string]string, projectId int) (realservers []*gaap.BindRealServerInfo, err error)

func (*GaapService) DescribeSecurityPolicy

func (me *GaapService) DescribeSecurityPolicy(ctx context.Context, id string) (proxyId, status, action string, exist bool, err error)

func (*GaapService) DescribeSecurityRule

func (me *GaapService) DescribeSecurityRule(ctx context.Context, id string) (securityRule *gaap.SecurityPolicyRuleOut, err error)

func (*GaapService) DescribeSecurityRules

func (me *GaapService) DescribeSecurityRules(ctx context.Context, policyId string) (securityRules []*gaap.SecurityPolicyRuleOut, err error)

func (*GaapService) DescribeTCPListeners

func (me *GaapService) DescribeTCPListeners(ctx context.Context, proxyId, listenerId, name *string, port *int) (listeners []*gaap.TCPListener, err error)

func (*GaapService) DescribeUDPListeners

func (me *GaapService) DescribeUDPListeners(ctx context.Context, proxyId, id, name *string, port *int) (listeners []*gaap.UDPListener, err error)

func (*GaapService) DisableGlobalDomain

func (me *GaapService) DisableGlobalDomain(ctx context.Context, domainId string) (errRet error)

func (*GaapService) DisableProxy

func (me *GaapService) DisableProxy(ctx context.Context, id string) error

func (*GaapService) DisableSecurityPolicy

func (me *GaapService) DisableSecurityPolicy(ctx context.Context, proxyId, policyId string) error

func (*GaapService) DomainInstanceStateRefreshFunc

func (me *GaapService) DomainInstanceStateRefreshFunc(instanceId string, projectId int, failStates []string) resource.StateRefreshFunc

func (*GaapService) EnableGlobalDomain

func (me *GaapService) EnableGlobalDomain(ctx context.Context, domainId string) (errRet error)

func (*GaapService) EnableProxy

func (me *GaapService) EnableProxy(ctx context.Context, id string) error

func (*GaapService) EnableSecurityPolicy

func (me *GaapService) EnableSecurityPolicy(ctx context.Context, proxyId, policyId string) error

func (*GaapService) GlobalDomainDnsStateRefreshFunc

func (me *GaapService) GlobalDomainDnsStateRefreshFunc(domainId string, dnsRecordId int, failStates []string) resource.StateRefreshFunc

func (*GaapService) ModifyCertificateName

func (me *GaapService) ModifyCertificateName(ctx context.Context, id, name string) error

func (*GaapService) ModifyDomain

func (me *GaapService) ModifyDomain(ctx context.Context, listenerId, oldDomain, newDomain string) (errRet error)

func (*GaapService) ModifyDomainCertificate

func (me *GaapService) ModifyDomainCertificate(
	ctx context.Context,
	listenerId, domain, certificateId string,
	polyClientCertificateIds []string,
) error

func (*GaapService) ModifyHTTPListener

func (me *GaapService) ModifyHTTPListener(ctx context.Context, id, proxyId, name string) error

func (*GaapService) ModifyHTTPRuleAttribute

func (me *GaapService) ModifyHTTPRuleAttribute(
	ctx context.Context,
	listenerId, ruleId, healthCheckPath, healthCheckMethod, sniSwitch, sni string,
	path, scheduler *string,
	healthCheck bool,
	interval, connectTimeout int,
	healthCheckStatusCodes []int,
) error

func (*GaapService) ModifyHTTPRuleForwardHost

func (me *GaapService) ModifyHTTPRuleForwardHost(ctx context.Context, listenerId, ruleId, forwardHost string) error

func (*GaapService) ModifyHTTPSListener

func (me *GaapService) ModifyHTTPSListener(
	ctx context.Context,
	proxyId, id string,
	name, forwardProtocol, certificateId *string,
	polyClientCertificateIds []string,
) error

func (*GaapService) ModifyProxyConfiguration

func (me *GaapService) ModifyProxyConfiguration(ctx context.Context, id string, bandwidth, concurrent *int) error

func (*GaapService) ModifyProxyName

func (me *GaapService) ModifyProxyName(ctx context.Context, id, name string) error

func (*GaapService) ModifyProxyProjectId

func (me *GaapService) ModifyProxyProjectId(ctx context.Context, id string, projectId int) error

func (*GaapService) ModifyRealserverName

func (me *GaapService) ModifyRealserverName(ctx context.Context, id, name string) error

func (*GaapService) ModifySecurityRule

func (me *GaapService) ModifySecurityRule(ctx context.Context, policyId, ruleId, cidrIp, action, port, protocol, name string) error

func (*GaapService) ModifyTCPListenerAttribute

func (me *GaapService) ModifyTCPListenerAttribute(
	ctx context.Context,
	proxyId, id string,
	name, scheduler *string,
	healthCheck *bool,
	interval, connectTimeout int,
) error

func (*GaapService) ModifyUDPListenerAttribute

func (me *GaapService) ModifyUDPListenerAttribute(
	ctx context.Context,
	proxyId, id string,
	name, scheduler *string,
) error

func (*GaapService) SetAdvancedAuth

func (me *GaapService) SetAdvancedAuth(
	ctx context.Context,
	listenerId, domain string,
	realserverAuth, basicAuth, gaapAuth bool,
	realserverCertificateIds []string,
	realserverCertificateDomain, basicAuthId, gaapAuthId *string,
) error

func (*GaapService) SwitchProxyGroup

func (me *GaapService) SwitchProxyGroup(ctx context.Context, groupId, status string) (errRet error)

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL