Documentation ¶
Overview ¶
Package appblb defines the Application BLB services of BCE. The supported APIs are all defined in sub-package
Index ¶
- Constants
- type AppAllListenerModel
- type AppBLBModel
- type AppBackendServer
- type AppHTTPListenerModel
- type AppHTTPSListenerModel
- type AppIpGroup
- type AppIpGroupBackendPolicy
- type AppIpGroupMember
- type AppIpGroupMemberPortModel
- type AppIpGroupMemberWriteOpArgs
- type AppListenerModel
- type AppPolicy
- type AppRsPortModel
- type AppRule
- type AppSSLListenerModel
- type AppServerGroup
- type AppServerGroupPort
- type AppTCPListenerModel
- type AppUDPListenerModel
- type BLBStatus
- type Billing
- type BlbEnterpriseSecurityGroupModel
- type BlbEnterpriseSecurityGroupRuleModel
- type BlbRsWriteOpArgs
- type BlbSecurityGroupModel
- type BlbSecurityGroupRuleModel
- type Client
- func (c *Client) BindEnterpriseSecurityGroups(blbId string, args *UpdateEnterpriseSecurityGroupsArgs) error
- func (c *Client) BindSecurityGroups(blbId string, args *UpdateSecurityGroupsArgs) error
- func (c *Client) CreateAppHTTPListener(blbId string, args *CreateAppHTTPListenerArgs) error
- func (c *Client) CreateAppHTTPSListener(blbId string, args *CreateAppHTTPSListenerArgs) error
- func (c *Client) CreateAppIpGroup(blbId string, args *CreateAppIpGroupArgs) (*CreateAppIpGroupResult, error)
- func (c *Client) CreateAppIpGroupBackendPolicy(blbId string, args *CreateAppIpGroupBackendPolicyArgs) error
- func (c *Client) CreateAppIpGroupMember(blbId string, args *CreateAppIpGroupMemberArgs) error
- func (c *Client) CreateAppSSLListener(blbId string, args *CreateAppSSLListenerArgs) error
- func (c *Client) CreateAppServerGroup(blbId string, args *CreateAppServerGroupArgs) (*CreateAppServerGroupResult, error)
- func (c *Client) CreateAppServerGroupPort(blbId string, args *CreateAppServerGroupPortArgs) (*CreateAppServerGroupPortResult, error)
- func (c *Client) CreateAppTCPListener(blbId string, args *CreateAppTCPListenerArgs) error
- func (c *Client) CreateAppUDPListener(blbId string, args *CreateAppUDPListenerArgs) error
- func (c *Client) CreateBlbRs(blbId string, args *CreateBlbRsArgs) error
- func (c *Client) CreateLoadBalancer(args *CreateLoadBalancerArgs) (*CreateLoadBalanceResult, error)
- func (c *Client) CreatePolicys(blbId string, args *CreatePolicysArgs) error
- func (c *Client) DeleteAppIpGroup(blbId string, args *DeleteAppIpGroupArgs) error
- func (c *Client) DeleteAppIpGroupBackendPolicy(blbId string, args *DeleteAppIpGroupBackendPolicyArgs) error
- func (c *Client) DeleteAppIpGroupMember(blbId string, args *DeleteAppIpGroupMemberArgs) error
- func (c *Client) DeleteAppListeners(blbId string, args *DeleteAppListenersArgs) error
- func (c *Client) DeleteAppServerGroup(blbId string, args *DeleteAppServerGroupArgs) error
- func (c *Client) DeleteAppServerGroupPort(blbId string, args *DeleteAppServerGroupPortArgs) error
- func (c *Client) DeleteBlbRs(blbId string, args *DeleteBlbRsArgs) error
- func (c *Client) DeleteLoadBalancer(blbId string) error
- func (c *Client) DeletePolicys(blbId string, args *DeletePolicysArgs) error
- func (c *Client) DescribeAppAllListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppAllListenersResult, error)
- func (c *Client) DescribeAppHTTPListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppHTTPListenersResult, error)
- func (c *Client) DescribeAppHTTPSListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppHTTPSListenersResult, error)
- func (c *Client) DescribeAppIpGroup(blbId string, args *DescribeAppIpGroupArgs) (*DescribeAppIpGroupResult, error)
- func (c *Client) DescribeAppIpGroupMember(blbId string, args *DescribeAppIpGroupMemberArgs) (*DescribeAppIpGroupMemberResult, error)
- func (c *Client) DescribeAppSSLListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppSSLListenersResult, error)
- func (c *Client) DescribeAppServerGroup(blbId string, args *DescribeAppServerGroupArgs) (*DescribeAppServerGroupResult, error)
- func (c *Client) DescribeAppTCPListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppTCPListenersResult, error)
- func (c *Client) DescribeAppUDPListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppUDPListenersResult, error)
- func (c *Client) DescribeBlbRs(blbId string, args *DescribeBlbRsArgs) (*DescribeBlbRsResult, error)
- func (c *Client) DescribeEnterpriseSecurityGroups(blbId string) (*DescribeEnterpriseSecurityGroupsResult, error)
- func (c *Client) DescribeLoadBalancerDetail(blbId string) (*DescribeLoadBalancerDetailResult, error)
- func (c *Client) DescribeLoadBalancers(args *DescribeLoadBalancersArgs) (*DescribeLoadBalancersResult, error)
- func (c *Client) DescribePolicys(blbId string, args *DescribePolicysArgs) (*DescribePolicysResult, error)
- func (c *Client) DescribeRsMount(blbId, sgId string) (*DescribeRsMountResult, error)
- func (c *Client) DescribeRsUnMount(blbId, sgId string) (*DescribeRsMountResult, error)
- func (c *Client) DescribeSecurityGroups(blbId string) (*DescribeSecurityGroupsResult, error)
- func (c *Client) UnbindEnterpriseSecurityGroups(blbId string, args *UpdateEnterpriseSecurityGroupsArgs) error
- func (c *Client) UnbindSecurityGroups(blbId string, args *UpdateSecurityGroupsArgs) error
- func (c *Client) UpdateAppHTTPListener(blbId string, args *UpdateAppHTTPListenerArgs) error
- func (c *Client) UpdateAppHTTPSListener(blbId string, args *UpdateAppHTTPSListenerArgs) error
- func (c *Client) UpdateAppIpGroup(blbId string, args *UpdateAppIpGroupArgs) error
- func (c *Client) UpdateAppIpGroupBackendPolicy(blbId string, args *UpdateAppIpGroupBackendPolicyArgs) error
- func (c *Client) UpdateAppIpGroupMember(blbId string, args *UpdateAppIpGroupMemberArgs) error
- func (c *Client) UpdateAppSSLListener(blbId string, args *UpdateAppSSLListenerArgs) error
- func (c *Client) UpdateAppServerGroup(blbId string, args *UpdateAppServerGroupArgs) error
- func (c *Client) UpdateAppServerGroupPort(blbId string, args *UpdateAppServerGroupPortArgs) error
- func (c *Client) UpdateAppTCPListener(blbId string, args *UpdateAppTCPListenerArgs) error
- func (c *Client) UpdateAppUDPListener(blbId string, args *UpdateAppUDPListenerArgs) error
- func (c *Client) UpdateBlbRs(blbId string, args *UpdateBlbRsArgs) error
- func (c *Client) UpdateLoadBalancer(blbId string, args *UpdateLoadBalancerArgs) error
- type CreateAppHTTPListenerArgs
- type CreateAppHTTPSListenerArgs
- type CreateAppIpGroupArgs
- type CreateAppIpGroupBackendPolicyArgs
- type CreateAppIpGroupMemberArgs
- type CreateAppIpGroupResult
- type CreateAppSSLListenerArgs
- type CreateAppServerGroupArgs
- type CreateAppServerGroupPortArgs
- type CreateAppServerGroupPortResult
- type CreateAppServerGroupResult
- type CreateAppTCPListenerArgs
- type CreateAppUDPListenerArgs
- type CreateBlbRsArgs
- type CreateLoadBalanceResult
- type CreateLoadBalancerArgs
- type CreatePolicysArgs
- type DeleteAppIpGroupArgs
- type DeleteAppIpGroupBackendPolicyArgs
- type DeleteAppIpGroupMemberArgs
- type DeleteAppListenersArgs
- type DeleteAppServerGroupArgs
- type DeleteAppServerGroupPortArgs
- type DeleteBlbRsArgs
- type DeletePolicysArgs
- type DescribeAppAllListenersResult
- type DescribeAppHTTPListenersResult
- type DescribeAppHTTPSListenersResult
- type DescribeAppIpGroupArgs
- type DescribeAppIpGroupMemberArgs
- type DescribeAppIpGroupMemberResult
- type DescribeAppIpGroupResult
- type DescribeAppListenerArgs
- type DescribeAppSSLListenersResult
- type DescribeAppServerGroupArgs
- type DescribeAppServerGroupResult
- type DescribeAppTCPListenersResult
- type DescribeAppUDPListenersResult
- type DescribeBlbRsArgs
- type DescribeBlbRsResult
- type DescribeEnterpriseSecurityGroupsResult
- type DescribeLoadBalancerDetailResult
- type DescribeLoadBalancersArgs
- type DescribeLoadBalancersResult
- type DescribePolicysArgs
- type DescribePolicysResult
- type DescribeResultMeta
- type DescribeRsMountResult
- type DescribeSecurityGroupsResult
- type ListenerModel
- type PortTypeModel
- type Reservation
- type UpdateAppHTTPListenerArgs
- type UpdateAppHTTPSListenerArgs
- type UpdateAppIpGroupArgs
- type UpdateAppIpGroupBackendPolicyArgs
- type UpdateAppIpGroupMemberArgs
- type UpdateAppListenerArgs
- type UpdateAppSSLListenerArgs
- type UpdateAppServerGroupArgs
- type UpdateAppServerGroupPortArgs
- type UpdateAppTCPListenerArgs
- type UpdateAppUDPListenerArgs
- type UpdateBlbRsArgs
- type UpdateEnterpriseSecurityGroupsArgs
- type UpdateLoadBalancerArgs
- type UpdateSecurityGroupsArgs
Constants ¶
const ( DEFAULT_SERVICE_DOMAIN = "blb." + bce.DEFAULT_REGION + ".baidubce.com" URI_PREFIX = bce.URI_PREFIX + "v1" REQUEST_APPBLB_URL = "/appblb" APP_SERVER_GROUP_URL = "/appservergroup" APP_SERVER_GROUP_PORT_URL = "/appservergroupport" BLB_RS_URL = "/blbrs" BLB_RS_MOUNT_URL = "/blbrsmount" BLB_RS_UNMOUNT_URL = "/blbrsunmount" APP_LISTENER_URL = "/listener" APP_TCPLISTENER_URL = "/TCPlistener" APP_UDPLISTENER_URL = "/UDPlistener" APP_HTTPLISTENER_URL = "/HTTPlistener" APP_HTTPSLISTENER_URL = "/HTTPSlistener" APP_SSLLISTENER_URL = "/SSLlistener" POLICYS_URL = "/policys" APP_IP_GROUP_URL = "/ipgroup" APP_IP_GROUP_BACKEND_POLICY_URL = "/ipgroup/backendpolicy" APP_IP_GROUP_MEMBER_URL = "/ipgroup/member" SECURITY_GROUP_URL = "/securitygroup" ENTERPRISE_SECURITY_GROUP_URL = "/enterprise/securitygroup" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppAllListenerModel ¶ added in v0.9.87
type AppAllListenerModel struct { ListenerPort uint16 `json:"listenerPort"` ListenerType string `json:"listenerType"` Scheduler string `json:"scheduler"` TcpSessionTimeout int `json:"tcpSessionTimeout"` UdpSessionTimeout int `json:"udpSessionTimeout"` KeepSession bool `json:"keepSession"` KeepSessionType string `json:"keepSessionType"` KeepSessionTimeout int `json:"keepSessionTimeout"` KeepSessionCookieName string `json:"keepSessionCookieName"` XForwardedFor bool `json:"xForwardedFor"` ServerTimeout int `json:"serverTimeout"` RedirectPort int `json:"redirectPort"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType"` EncryptionProtocols []string `json:"encryptionProtocols"` AppliedCiphers string `json:"appliedCiphers"` DualAuth bool `json:"dualAuth"` ClientCertIds []string `json:"clientCertIds"` // contains filtered or unexported fields }
type AppBLBModel ¶
type AppBLBModel struct { BlbId string `json:"blbId"` Name string `json:"name"` Description string `json:"desc"` Address string `json:"address"` Status BLBStatus `json:"status"` VpcId string `json:"vpcId"` SubnetId string `json:"subnetId"` PublicIp string `json:"publicIp"` Layer4ClusterId string `json:"layer4ClusterId"` Layer7ClusterId string `json:"layer7ClusterId"` Tags []model.TagModel `json:"tags"` EipRouteType string `json:"eipRouteType"` AllowDelete bool `json:"allowDelete"` }
type AppBackendServer ¶
type AppBackendServer struct { InstanceId string `json:"instanceId,omitempty"` Weight int `json:"weight,omitempty"` PrivateIp string `json:"privateIp,omitempty"` PortList []AppRsPortModel `json:"portList,omitempty"` }
type AppHTTPListenerModel ¶
type AppHTTPListenerModel struct { ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` KeepSession bool `json:"keepSession"` KeepSessionType string `json:"keepSessionType"` KeepSessionTimeout int `json:"keepSessionTimeout"` KeepSessionCookieName string `json:"keepSessionCookieName"` XForwardedFor bool `json:"xForwardedFor"` ServerTimeout int `json:"serverTimeout"` RedirectPort int `json:"redirectPort"` }
type AppHTTPSListenerModel ¶
type AppHTTPSListenerModel struct { ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` KeepSession bool `json:"keepSession"` KeepSessionType string `json:"keepSessionType"` KeepSessionTimeout int `json:"keepSessionTimeout"` KeepSessionCookieName string `json:"keepSessionCookieName"` XForwardedFor bool `json:"xForwardedFor"` ServerTimeout int `json:"serverTimeout"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType"` EncryptionProtocols []string `json:"encryptionProtocols"` AppliedCiphers string `json:"appliedCiphers"` DualAuth bool `json:"dualAuth"` ClientCertIds []string `json:"clientCertIds"` }
type AppIpGroup ¶ added in v0.9.37
type AppIpGroup struct { Id string `json:"id"` Name string `json:"name"` Desc string `json:"desc"` BackendPolicyList []AppIpGroupBackendPolicy `json:"backendPolicyList"` }
type AppIpGroupBackendPolicy ¶ added in v0.9.37
type AppIpGroupBackendPolicy struct { Id string `json:"id"` Type string `json:"type"` HealthCheck string `json:"healthCheck"` HealthCheckPort int `json:"healthCheckPort"` HealthCheckTimeoutInSecond int `json:"healthCheckTimeoutInSecond"` HealthCheckIntervalInSecond int `json:"healthCheckIntervalInSecond"` HealthCheckDownRetry int `json:"healthCheckDownRetry"` HealthCheckUpRetry int `json:"healthCheckUpRetry"` HealthCheckNormalStatus string `json:"healthCheckNormalStatus"` HealthCheckUrlPath string `json:"healthCheckUrlPath"` UdpHealthCheckString string `json:"udpHealthCheckString"` }
type AppIpGroupMember ¶ added in v0.9.37
type AppIpGroupMember struct { Ip string `json:"ip,omitempty"` Port int `json:"port,omitempty"` Weight int `json:"weight,omitempty"` MemberId string `json:"memberId,omitempty"` PortList []AppIpGroupMemberPortModel `json:"portList,omitempty"` }
type AppIpGroupMemberPortModel ¶ added in v0.9.138
type AppIpGroupMemberWriteOpArgs ¶ added in v0.9.37
type AppIpGroupMemberWriteOpArgs struct { IpGroupId string `json:"ipGroupId"` MemberList []AppIpGroupMember `json:"memberList"` ClientToken string `json:"-"` }
type AppListenerModel ¶
type AppPolicy ¶
type AppPolicy struct { Description string `json:"desc"` AppServerGroupId string `json:"appServerGroupId,omitempty"` AppIpGroupId string `json:"appIpGroupId,omitempty"` AppIpGroupName string `json:"appIpGroupName,omitempty"` GroupType string `json:"groupType,omitempty"` BackendPort uint16 `json:"backendPort,omitempty"` Priority int `json:"priority"` RuleList []AppRule `json:"ruleList"` Id string `json:"id"` FrontendPort int `json:"frontendPort"` AppServerGroupName string `json:"appServerGroupName"` PortType string `json:"portType"` }
type AppRsPortModel ¶
type AppSSLListenerModel ¶
type AppSSLListenerModel struct { ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType"` EncryptionProtocols []string `json:"encryptionProtocols"` AppliedCiphers string `json:"appliedCiphers"` DualAuth bool `json:"dualAuth"` ClientCertIds []string `json:"clientCertIds"` }
type AppServerGroup ¶
type AppServerGroup struct { Id string `json:"id"` Name string `json:"name"` Description string `json:"desc"` Status BLBStatus `json:"status"` PortList []AppServerGroupPort `json:"portList"` }
type AppServerGroupPort ¶
type AppServerGroupPort struct { Id string `json:"id"` Port int `json:"port"` Type string `json:"type"` Status BLBStatus `json:"status"` HealthCheck string `json:"healthCheck"` HealthCheckPort int `json:"healthCheckPort"` HealthCheckTimeoutInSecond int `json:"healthCheckTimeoutInSecond"` HealthCheckIntervalInSecond int `json:"healthCheckIntervalInSecond"` HealthCheckDownRetry int `json:"healthCheckDownRetry"` HealthCheckUpRetry int `json:"healthCheckUpRetry"` HealthCheckNormalStatus string `json:"healthCheckNormalStatus"` HealthCheckUrlPath string `json:"healthCheckUrlPath"` UdpHealthCheckString string `json:"udpHealthCheckString"` }
type AppTCPListenerModel ¶
type AppTCPListenerModel struct {
AppListenerModel
}
type AppUDPListenerModel ¶
type AppUDPListenerModel struct {
AppListenerModel
}
type Billing ¶ added in v0.9.172
type Billing struct { PaymentTiming string `json:"paymentTiming,omitempty"` Reservation *Reservation `json:"reservation,omitempty"` }
type BlbEnterpriseSecurityGroupModel ¶ added in v0.9.164
type BlbEnterpriseSecurityGroupModel struct { EnterpriseSecurityGroupId string `json:"enterpriseSecurityGroupId"` EnterpriseSecurityGroupName string `json:"enterpriseSecurityGroupName"` EnterpriseSecurityGroupDesc string `json:"enterpriseSecurityGroupDesc"` EnterpriseSecurityGroupRules []BlbEnterpriseSecurityGroupRuleModel `json:"enterpriseSecurityGroupRules"` }
type BlbEnterpriseSecurityGroupRuleModel ¶ added in v0.9.164
type BlbEnterpriseSecurityGroupRuleModel struct { EnterpriseSecurityGroupRuleId string `json:"enterpriseSecurityGroupRuleId"` Direction string `json:"direction"` Action string `json:"action"` Priority string `json:"priority"` Remark string `json:"remark"` Ethertype string `json:"ethertype,omitempty"` PortRange string `json:"portRange,omitempty"` Protocol string `json:"protocol,omitempty"` SourceIp string `json:"sourceIp,omitempty"` DestIp string `json:"destIp,omitempty"` }
type BlbRsWriteOpArgs ¶
type BlbRsWriteOpArgs struct { SgId string `json:"sgId"` BackendServerList []AppBackendServer `json:"backendServerList"` ClientToken string `json:"-"` }
type BlbSecurityGroupModel ¶ added in v0.9.164
type BlbSecurityGroupModel struct { SecurityGroupId string `json:"securityGroupId"` SecurityGroupName string `json:"securityGroupName"` SecurityGroupDesc string `json:"securityGroupDesc"` VpcName string `json:"vpcName"` SecurityGroupRules []BlbSecurityGroupRuleModel `json:"securityGroupRules"` }
type BlbSecurityGroupRuleModel ¶ added in v0.9.164
type BlbSecurityGroupRuleModel struct { SecurityGroupRuleId string `json:"securityGroupRuleId"` Direction string `json:"direction"` Ethertype string `json:"ethertype,omitempty"` PortRange string `json:"portRange,omitempty"` Protocol string `json:"protocol,omitempty"` SourceGroupId string `json:"sourceGroupId,omitempty"` SourceIp string `json:"sourceIp,omitempty"` DestGroupId string `json:"destGroupId,omitempty"` DestIp string `json:"destIp,omitempty"` }
type Client ¶
Client of APPBLB service is a kind of BceClient, so derived from BceClient
func (*Client) BindEnterpriseSecurityGroups ¶ added in v0.9.164
func (c *Client) BindEnterpriseSecurityGroups(blbId string, args *UpdateEnterpriseSecurityGroupsArgs) error
BindEnterpriseSecurityGroups - bind the blb enterprise security groups (normal/application/ipv6 LoadBalancer)
PARAMS:
- blbId: LoadBalancer's ID
- args: the parameter to update enterprise security groups
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) BindSecurityGroups ¶ added in v0.9.164
func (c *Client) BindSecurityGroups(blbId string, args *UpdateSecurityGroupsArgs) error
BindSecurityGroups - bind the blb security groups (normal/application/ipv6 LoadBalancer)
PARAMS:
- blbId: LoadBalancer's ID
- args: the parameter to update security groups
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppHTTPListener ¶
func (c *Client) CreateAppHTTPListener(blbId string, args *CreateAppHTTPListenerArgs) error
CreateAppHTTPListener - create a HTTP Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create HTTP Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppHTTPSListener ¶
func (c *Client) CreateAppHTTPSListener(blbId string, args *CreateAppHTTPSListenerArgs) error
CreateAppHTTPSListener - create a HTTPS Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create HTTPS Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppIpGroup ¶ added in v0.9.37
func (c *Client) CreateAppIpGroup(blbId string, args *CreateAppIpGroupArgs) (*CreateAppIpGroupResult, error)
CreateAppIpGroup - create an ip group
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create IpGroup
RETURNS:
- *CreateAppIpGroupResult: the result of create IpGroup, contains new IpGroup's ID
- error: nil if ok otherwise the specific error
func (*Client) CreateAppIpGroupBackendPolicy ¶ added in v0.9.37
func (c *Client) CreateAppIpGroupBackendPolicy(blbId string, args *CreateAppIpGroupBackendPolicyArgs) error
CreateAppIpGroupBackendPolicy - create an ip group backend policy
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create an ip group backend policy
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppIpGroupMember ¶ added in v0.9.37
func (c *Client) CreateAppIpGroupMember(blbId string, args *CreateAppIpGroupMemberArgs) error
CreateAppIpGroupMember - create ip group members
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create ip group members
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppSSLListener ¶
func (c *Client) CreateAppSSLListener(blbId string, args *CreateAppSSLListenerArgs) error
CreateAppSSLListener - create a SSL Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create SSL Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppServerGroup ¶
func (c *Client) CreateAppServerGroup(blbId string, args *CreateAppServerGroupArgs) (*CreateAppServerGroupResult, error)
CreateAppServerGroup - create a LoadBalancer
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create ServerGroup
RETURNS:
- *CreateAppServerGroupResult: the result of create ServerGroup, contains new ServerGroup's ID
- error: nil if ok otherwise the specific error
func (*Client) CreateAppServerGroupPort ¶
func (c *Client) CreateAppServerGroupPort(blbId string, args *CreateAppServerGroupPortArgs) (*CreateAppServerGroupPortResult, error)
CreateAppServerGroupPort - create a server group port
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create a server group port
RETURNS:
- *CreateAppServerGroupPortResult: the result of create a server group port
- error: nil if ok otherwise the specific error
func (*Client) CreateAppTCPListener ¶
func (c *Client) CreateAppTCPListener(blbId string, args *CreateAppTCPListenerArgs) error
CreateAppTCPListener - create a TCP Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create TCP Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateAppUDPListener ¶
func (c *Client) CreateAppUDPListener(blbId string, args *CreateAppUDPListenerArgs) error
CreateAppUDPListener - create a UDP Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create UDP Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateBlbRs ¶
func (c *Client) CreateBlbRs(blbId string, args *CreateBlbRsArgs) error
CreateBlbRs - add backend servers
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to add backend servers
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) CreateLoadBalancer ¶
func (c *Client) CreateLoadBalancer(args *CreateLoadBalancerArgs) (*CreateLoadBalanceResult, error)
CreateLoadBalancer - create a LoadBalancer
PARAMS:
- args: parameters to create LoadBalancer
RETURNS:
- *CreateLoadBalanceResult: the result of create LoadBalancer, contains new LoadBalancer's ID
- error: nil if ok otherwise the specific error
func (*Client) CreatePolicys ¶
func (c *Client) CreatePolicys(blbId string, args *CreatePolicysArgs) error
CreatePolicys - create a policy bind with Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create a policy
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteAppIpGroup ¶ added in v0.9.37
func (c *Client) DeleteAppIpGroup(blbId string, args *DeleteAppIpGroupArgs) error
DeleteAppIpGroup - delete an ip group
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete an ip group
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteAppIpGroupBackendPolicy ¶ added in v0.9.37
func (c *Client) DeleteAppIpGroupBackendPolicy(blbId string, args *DeleteAppIpGroupBackendPolicyArgs) error
DeleteAppIpGroupBackendPolicy - delete an ip group backend policy
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete ip group backend policies
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteAppIpGroupMember ¶ added in v0.9.37
func (c *Client) DeleteAppIpGroupMember(blbId string, args *DeleteAppIpGroupMemberArgs) error
DeleteAppIpGroupMember - delete ip group members
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete ip group members
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteAppListeners ¶
func (c *Client) DeleteAppListeners(blbId string, args *DeleteAppListenersArgs) error
DeleteAppListeners - delete Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete Listeners, a listener port list
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteAppServerGroup ¶
func (c *Client) DeleteAppServerGroup(blbId string, args *DeleteAppServerGroupArgs) error
DeleteAppServerGroup - delete a server group
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete a server group
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteAppServerGroupPort ¶
func (c *Client) DeleteAppServerGroupPort(blbId string, args *DeleteAppServerGroupPortArgs) error
DeleteAppServerGroupPort - delete server group ports
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete server group ports
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteBlbRs ¶
func (c *Client) DeleteBlbRs(blbId string, args *DeleteBlbRsArgs) error
DeleteBlbRs - delete backend servers
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete backend servers
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeleteLoadBalancer ¶
DeleteLoadBalancer - delete a group
PARAMS:
- blbId: parameters to delete LoadBalancer
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DeletePolicys ¶
func (c *Client) DeletePolicys(blbId string, args *DeletePolicysArgs) error
DeletePolicys - delete a policy
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to delete a policy
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppAllListeners ¶ added in v0.9.87
func (c *Client) DescribeAppAllListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppAllListenersResult, error)
DescribeAppAllListeners - describe all Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all Listeners
RETURNS:
- *DescribeAppAllListenersResult: the result of describe all Listeners
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppHTTPListeners ¶
func (c *Client) DescribeAppHTTPListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppHTTPListenersResult, error)
DescribeAppHTTPListeners - describe all HTTP Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all HTTP Listeners
RETURNS:
- *DescribeAppHTTPListenersResult: the result of describe all HTTP Listeners
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppHTTPSListeners ¶
func (c *Client) DescribeAppHTTPSListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppHTTPSListenersResult, error)
DescribeAppHTTPSListeners - describe all HTTPS Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all HTTPS Listeners
RETURNS:
- *DescribeAppHTTPSListenersResult: the result of describe all HTTPS Listeners
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppIpGroup ¶ added in v0.9.37
func (c *Client) DescribeAppIpGroup(blbId string, args *DescribeAppIpGroupArgs) (*DescribeAppIpGroupResult, error)
DescribeAppIpGroup - describe all ip groups
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all ip groups
RETURNS:
- *DescribeAppIpGroupResult: the result of describe all ip groups
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppIpGroupMember ¶ added in v0.9.37
func (c *Client) DescribeAppIpGroupMember(blbId string, args *DescribeAppIpGroupMemberArgs) (*DescribeAppIpGroupMemberResult, error)
DescribeAppIpGroupMember - describe ip group members
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe ip group members
RETURNS:
- *DescribeAppIpGroupMemberResult: the result of describe ip group members
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppSSLListeners ¶
func (c *Client) DescribeAppSSLListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppSSLListenersResult, error)
DescribeAppSSLListeners - describe all SSL Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all SSL Listeners
RETURNS:
- *DescribeAppSSLListenersResult: the result of describe all SSL Listeners
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppServerGroup ¶
func (c *Client) DescribeAppServerGroup(blbId string, args *DescribeAppServerGroupArgs) (*DescribeAppServerGroupResult, error)
DescribeAppServerGroup - describe all server groups
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all server groups
RETURNS:
- *DescribeAppServerGroupResult: the result of describe all server groups
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppTCPListeners ¶
func (c *Client) DescribeAppTCPListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppTCPListenersResult, error)
DescribeAppTCPListeners - describe all TCP Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all TCP Listeners
RETURNS:
- *DescribeAppTCPListenersResult: the result of describe all TCP Listeners
- error: nil if ok otherwise the specific error
func (*Client) DescribeAppUDPListeners ¶
func (c *Client) DescribeAppUDPListeners(blbId string, args *DescribeAppListenerArgs) (*DescribeAppUDPListenersResult, error)
DescribeAppUDPListeners - describe all UDP Listeners
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe all UDP Listeners
RETURNS:
- *DescribeAppUDPListenersResult: the result of describe all UDP Listeners
- error: nil if ok otherwise the specific error
func (*Client) DescribeBlbRs ¶
func (c *Client) DescribeBlbRs(blbId string, args *DescribeBlbRsArgs) (*DescribeBlbRsResult, error)
DescribeBlbRs - describe backend servers
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to describe backend servers
RETURNS:
- *DescribeBlbRsResult: the result of describe backend servers
- error: nil if ok otherwise the specific error
func (*Client) DescribeEnterpriseSecurityGroups ¶ added in v0.9.164
func (c *Client) DescribeEnterpriseSecurityGroups(blbId string) (*DescribeEnterpriseSecurityGroupsResult, error)
DescribeEnterpriseSecurityGroups - describe all enterprise security groups of the specified LoadBalancer (normal/application/ipv6 LoadBalancer)
PARAMS:
- blbId: LoadBalancer's ID
RETURNS:
- *DescribeEnterpriseSecurityGroupsResult: the result of describe all enterprise security groups
- error: nil if ok otherwise the specific error
func (*Client) DescribeLoadBalancerDetail ¶
func (c *Client) DescribeLoadBalancerDetail(blbId string) (*DescribeLoadBalancerDetailResult, error)
DescribeLoadBalancerDetail - describe a LoadBalancer
PARAMS:
- blbId: describe LoadBalancer's ID
RETURNS:
- *DescribeLoadBalancerDetailResult: the result LoadBalancer detail
- error: nil if ok otherwise the specific error
func (*Client) DescribeLoadBalancers ¶
func (c *Client) DescribeLoadBalancers(args *DescribeLoadBalancersArgs) (*DescribeLoadBalancersResult, error)
DescribeLoadBalancers - describe all LoadBalancers
PARAMS:
- args: parameters to describe all LoadBalancers
RETURNS:
- *DescribeLoadBalancersResult: the result all LoadBalancers's detail
- error: nil if ok otherwise the specific error
func (*Client) DescribePolicys ¶
func (c *Client) DescribePolicys(blbId string, args *DescribePolicysArgs) (*DescribePolicysResult, error)
DescribePolicys - descirbe a policy
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to create a policy
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) DescribeRsMount ¶
func (c *Client) DescribeRsMount(blbId, sgId string) (*DescribeRsMountResult, error)
DescribeRsMount - get all mount backend server list
PARAMS:
- blbId: LoadBalancer's ID
- sgId: ServerGroup's ID
RETURNS:
- *DescribeRsMountResult: the mount backend server list
- error: nil if ok otherwise the specific error
func (*Client) DescribeRsUnMount ¶
func (c *Client) DescribeRsUnMount(blbId, sgId string) (*DescribeRsMountResult, error)
DescribeRsUnMount - get all unmount backend server list
PARAMS:
- blbId: LoadBalancer's ID
- sgId: ServerGroup's ID
RETURNS:
- *DescribeRsMountResult: the unMount backend server list
- error: nil if ok otherwise the specific error
func (*Client) DescribeSecurityGroups ¶ added in v0.9.164
func (c *Client) DescribeSecurityGroups(blbId string) (*DescribeSecurityGroupsResult, error)
DescribeSecurityGroups - describe all security groups of the specified LoadBalancer (normal/application/ipv6 LoadBalancer)
PARAMS:
- blbId: LoadBalancer's ID
RETURNS:
- *DescribeSecurityGroupsResult: the result of describe all security groups
- error: nil if ok otherwise the specific error
func (*Client) UnbindEnterpriseSecurityGroups ¶ added in v0.9.164
func (c *Client) UnbindEnterpriseSecurityGroups(blbId string, args *UpdateEnterpriseSecurityGroupsArgs) error
UnbindEnterpriseSecurityGroups - unbind the blb enterprise security groups (normal/application/ipv6 LoadBalancer)
PARAMS:
- blbId: LoadBalancer's ID
- args: the parameter to update enterprise security groups
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UnbindSecurityGroups ¶ added in v0.9.164
func (c *Client) UnbindSecurityGroups(blbId string, args *UpdateSecurityGroupsArgs) error
UnbindSecurityGroups - unbind the blb security groups (normal/application/ipv6 LoadBalancer)
PARAMS:
- blbId: LoadBalancer's ID
- args: the parameter to update security groups
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppHTTPListener ¶
func (c *Client) UpdateAppHTTPListener(blbId string, args *UpdateAppHTTPListenerArgs) error
UpdateAppHTTPListener - update a HTTP Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update HTTP Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppHTTPSListener ¶
func (c *Client) UpdateAppHTTPSListener(blbId string, args *UpdateAppHTTPSListenerArgs) error
UpdateAppHTTPSListener - update a HTTPS Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update HTTPS Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppIpGroup ¶ added in v0.9.37
func (c *Client) UpdateAppIpGroup(blbId string, args *UpdateAppIpGroupArgs) error
UpdateAppIpGroup - update an ip group
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update an ip group
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppIpGroupBackendPolicy ¶ added in v0.9.37
func (c *Client) UpdateAppIpGroupBackendPolicy(blbId string, args *UpdateAppIpGroupBackendPolicyArgs) error
UpdateAppIpGroupBackendPolicy - update ip group backend policy
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update ip group backend policy
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppIpGroupMember ¶ added in v0.9.37
func (c *Client) UpdateAppIpGroupMember(blbId string, args *UpdateAppIpGroupMemberArgs) error
UpdateAppIpGroupMember - update ip group members
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update ip group members
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppSSLListener ¶
func (c *Client) UpdateAppSSLListener(blbId string, args *UpdateAppSSLListenerArgs) error
UpdateAppSSLListener - update a SSL Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update SSL Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppServerGroup ¶
func (c *Client) UpdateAppServerGroup(blbId string, args *UpdateAppServerGroupArgs) error
UpdateAppServerGroup - update a server group
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update a server group
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppServerGroupPort ¶
func (c *Client) UpdateAppServerGroupPort(blbId string, args *UpdateAppServerGroupPortArgs) error
UpdateAppServerGroupPort - update server group port
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update server group port
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppTCPListener ¶
func (c *Client) UpdateAppTCPListener(blbId string, args *UpdateAppTCPListenerArgs) error
UpdateAppTCPListener - update a TCP Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update TCP Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateAppUDPListener ¶
func (c *Client) UpdateAppUDPListener(blbId string, args *UpdateAppUDPListenerArgs) error
UpdateAppUDPListener - update a UDP Listener
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update UDP Listener
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateBlbRs ¶
func (c *Client) UpdateBlbRs(blbId string, args *UpdateBlbRsArgs) error
UpdateBlbRs - update backend servers
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update backend servers
RETURNS:
- error: nil if ok otherwise the specific error
func (*Client) UpdateLoadBalancer ¶
func (c *Client) UpdateLoadBalancer(blbId string, args *UpdateLoadBalancerArgs) error
UpdateLoadBalancer - update a LoadBalancer
PARAMS:
- blbId: LoadBalancer's ID
- args: parameters to update LoadBalancer
RETURNS:
- error: nil if ok otherwise the specific error
type CreateAppHTTPListenerArgs ¶
type CreateAppHTTPListenerArgs struct { ClientToken string `json:"-"` ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` KeepSession bool `json:"keepSession,omitempty"` KeepSessionType string `json:"keepSessionType,omitempty"` KeepSessionTimeout int `json:"keepSessionTimeout,omitempty"` KeepSessionCookieName string `json:"keepSessionCookieName,omitempty"` XForwardedFor bool `json:"xForwardedFor,omitempty"` ServerTimeout int `json:"serverTimeout,omitempty"` RedirectPort uint16 `json:"redirectPort,omitempty"` }
type CreateAppHTTPSListenerArgs ¶
type CreateAppHTTPSListenerArgs struct { ClientToken string `json:"-"` ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` KeepSession bool `json:"keepSession,omitempty"` KeepSessionType string `json:"keepSessionType,omitempty"` KeepSessionTimeout int `json:"keepSessionTimeout,omitempty"` KeepSessionCookieName string `json:"keepSessionCookieName,omitempty"` XForwardedFor bool `json:"xForwardedFor,omitempty"` ServerTimeout int `json:"serverTimeout,omitempty"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType,omitempty"` EncryptionProtocols []string `json:"encryptionProtocols,omitempty"` AppliedCiphers string `json:"appliedCiphers,omitempty"` DualAuth bool `json:"dualAuth,omitempty"` ClientCertIds []string `json:"clientCertIds,omitempty"` }
type CreateAppIpGroupArgs ¶ added in v0.9.37
type CreateAppIpGroupArgs struct { Name string `json:"name,omitempty"` Desc string `json:"desc,omitempty"` MemberList []AppIpGroupMember `json:"memberList,omitempty"` ClientToken string `json:"-"` }
type CreateAppIpGroupBackendPolicyArgs ¶ added in v0.9.37
type CreateAppIpGroupBackendPolicyArgs struct { ClientToken string `json:"-"` IpGroupId string `json:"ipGroupId"` Type string `json:"type"` HealthCheckPort int `json:"healthCheckPort,omitempty"` HealthCheckTimeoutInSecond int `json:"healthCheckTimeoutInSecond,omitempty"` HealthCheckIntervalInSecond int `json:"healthCheckIntervalInSecond,omitempty"` HealthCheckDownRetry int `json:"healthCheckDownRetry,omitempty"` HealthCheckUpRetry int `json:"healthCheckUpRetry,omitempty"` HealthCheckNormalStatus string `json:"healthCheckNormalStatus,omitempty"` HealthCheckUrlPath string `json:"healthCheckUrlPath,omitempty"` UdpHealthCheckString string `json:"udpHealthCheckString,omitempty"` }
type CreateAppIpGroupMemberArgs ¶ added in v0.9.37
type CreateAppIpGroupMemberArgs struct {
AppIpGroupMemberWriteOpArgs
}
type CreateAppIpGroupResult ¶ added in v0.9.37
type CreateAppSSLListenerArgs ¶
type CreateAppSSLListenerArgs struct { ClientToken string `json:"-"` ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType,omitempty"` EncryptionProtocols []string `json:"encryptionProtocols,omitempty"` AppliedCiphers string `json:"appliedCiphers,omitempty"` DualAuth bool `json:"dualAuth,omitempty"` ClientCertIds []string `json:"clientCertIds,omitempty"` }
type CreateAppServerGroupArgs ¶
type CreateAppServerGroupArgs struct { Name string `json:"name,omitempty"` Description string `json:"desc,omitempty"` BackendServerList []AppBackendServer `json:"backendServerList,omitempty"` ClientToken string `json:"-"` }
type CreateAppServerGroupPortArgs ¶
type CreateAppServerGroupPortArgs struct { ClientToken string `json:"-"` SgId string `json:"sgId"` Port uint16 `json:"port"` Type string `json:"type"` HealthCheck string `json:"healthCheck,omitempty"` HealthCheckPort int `json:"healthCheckPort,omitempty"` HealthCheckTimeoutInSecond int `json:"healthCheckTimeoutInSecond,omitempty"` HealthCheckIntervalInSecond int `json:"healthCheckIntervalInSecond,omitempty"` HealthCheckDownRetry int `json:"healthCheckDownRetry,omitempty"` HealthCheckUpRetry int `json:"healthCheckUpRetry,omitempty"` HealthCheckNormalStatus string `json:"healthCheckNormalStatus,omitempty"` HealthCheckUrlPath string `json:"healthCheckUrlPath,omitempty"` UdpHealthCheckString string `json:"udpHealthCheckString,omitempty"` }
type CreateBlbRsArgs ¶
type CreateBlbRsArgs struct {
BlbRsWriteOpArgs
}
type CreateLoadBalanceResult ¶
type CreateLoadBalancerArgs ¶
type CreateLoadBalancerArgs struct { ClientToken string `json:"-"` Name string `json:"name,omitempty"` Description string `json:"desc,omitempty"` SubnetId string `json:"subnetId"` VpcId string `json:"vpcId"` ClusterProperty string `json:"clusterProperty"` Type string `json:"type,omitempty"` Address string `json:"address,omitempty"` Eip string `json:"eip,omitempty"` ResourceGroupId string `json:"resourceGroupId,omitempty"` AutoRenewLength int `json:"autoRenewLength,omitempty"` AutoRenewTimeUnit string `json:"autoRenewTimeUnit,omitempty"` PerformanceLevel string `json:"performanceLevel,omitempty"` Billing *Billing `json:"billing,omitempty"` Tags []model.TagModel `json:"tags,omitempty"` AllowDelete *bool `json:"allowDelete,omitempty"` AllocateIpv6 *bool `json:"allocateIpv6,omitempty"` }
type CreatePolicysArgs ¶
type DeleteAppIpGroupArgs ¶ added in v0.9.37
type DeleteAppIpGroupBackendPolicyArgs ¶ added in v0.9.37
type DeleteAppIpGroupMemberArgs ¶ added in v0.9.37
type DeleteAppListenersArgs ¶
type DeleteAppListenersArgs struct { ClientToken string `json:"-"` PortList []uint16 `json:"portList"` PortTypeList []PortTypeModel `json:"portTypeList"` }
type DeleteBlbRsArgs ¶
type DeletePolicysArgs ¶
type DescribeAppAllListenersResult ¶ added in v0.9.87
type DescribeAppAllListenersResult struct { ListenerList []AppAllListenerModel `json:"listenerList"` DescribeResultMeta }
type DescribeAppHTTPListenersResult ¶
type DescribeAppHTTPListenersResult struct { ListenerList []AppHTTPListenerModel `json:"listenerList"` DescribeResultMeta }
type DescribeAppHTTPSListenersResult ¶
type DescribeAppHTTPSListenersResult struct { ListenerList []AppHTTPSListenerModel `json:"listenerList"` DescribeResultMeta }
type DescribeAppIpGroupArgs ¶ added in v0.9.37
type DescribeAppIpGroupMemberArgs ¶ added in v0.9.37
type DescribeAppIpGroupMemberResult ¶ added in v0.9.37
type DescribeAppIpGroupMemberResult struct { MemberList []AppIpGroupMember `json:"memberList"` DescribeResultMeta }
type DescribeAppIpGroupResult ¶ added in v0.9.37
type DescribeAppIpGroupResult struct { DescribeResultMeta AppIpGroupList []AppIpGroup `json:"appIpGroupList"` }
type DescribeAppListenerArgs ¶
type DescribeAppSSLListenersResult ¶
type DescribeAppSSLListenersResult struct { ListenerList []AppSSLListenerModel `json:"listenerList"` DescribeResultMeta }
type DescribeAppServerGroupResult ¶
type DescribeAppServerGroupResult struct { DescribeResultMeta AppServerGroupList []AppServerGroup `json:"appServerGroupList"` }
type DescribeAppTCPListenersResult ¶
type DescribeAppTCPListenersResult struct { ListenerList []AppTCPListenerModel `json:"listenerList"` DescribeResultMeta }
type DescribeAppUDPListenersResult ¶
type DescribeAppUDPListenersResult struct { ListenerList []AppUDPListenerModel `json:"listenerList"` DescribeResultMeta }
type DescribeBlbRsArgs ¶
type DescribeBlbRsResult ¶
type DescribeBlbRsResult struct { BackendServerList []AppBackendServer `json:"backendServerList"` DescribeResultMeta }
type DescribeEnterpriseSecurityGroupsResult ¶ added in v0.9.164
type DescribeEnterpriseSecurityGroupsResult struct {
BlbEnterpriseSecurityGroups []BlbEnterpriseSecurityGroupModel `json:"enterpriseSecurityGroups"`
}
type DescribeLoadBalancerDetailResult ¶
type DescribeLoadBalancerDetailResult struct { BlbId string `json:"blbId"` Name string `json:"name"` Status BLBStatus `json:"status"` Description string `json:"desc"` Address string `json:"address"` PublicIp string `json:"publicIp"` Cidr string `json:"cidr"` VpcName string `json:"vpcName"` SubnetCider string `json:"subnetCider"` SubnetName string `json:"subnetName"` CreateTime string `json:"createTime"` ReleaseTime string `json:"releaseTime"` Layer4ClusterId string `json:"layer4ClusterId"` Layer7ClusterId string `json:"layer7ClusterId"` Listener []ListenerModel `json:"listener"` Tags []model.TagModel `json:"tags"` EipRouteType string `json:"eipRouteType"` Layer4ClusterExclusive bool `json:"layer4ClusterExclusive"` Layer7ClusterExclusive bool `json:"layer7ClusterExclusive"` Layer4ClusterMode string `json:"layer4ClusterMode"` Layer7ClusterMode string `json:"layer7ClusterMode"` Layer4MasterAz string `json:"layer4MasterAz"` Layer7MasterAz string `json:"layer7MasterAz"` Layer4SlaveAz string `json:"layer4SlaveAz"` Layer7SlaveAz string `json:"layer7SlaveAz"` PaymentTiming string `json:"paymentTiming"` PerformanceLevel string `json:"performanceLevel"` ExpireTime string `json:"expireTime"` }
type DescribeLoadBalancersResult ¶
type DescribeLoadBalancersResult struct { BlbList []AppBLBModel `json:"blbList"` DescribeResultMeta }
type DescribePolicysArgs ¶
type DescribePolicysResult ¶
type DescribePolicysResult struct { PolicyList []AppPolicy `json:"policyList"` DescribeResultMeta }
type DescribeResultMeta ¶
type DescribeRsMountResult ¶
type DescribeRsMountResult struct {
BackendServerList []AppBackendServer `json:"backendServerList"`
}
type DescribeSecurityGroupsResult ¶ added in v0.9.164
type DescribeSecurityGroupsResult struct {
BlbSecurityGroups []BlbSecurityGroupModel `json:"blbSecurityGroups"`
}
type ListenerModel ¶
type PortTypeModel ¶ added in v0.9.90
type Reservation ¶ added in v0.9.172
type UpdateAppHTTPListenerArgs ¶
type UpdateAppHTTPListenerArgs struct { ClientToken string `json:"-"` ListenerPort uint16 `json:"-"` Scheduler string `json:"scheduler"` KeepSession bool `json:"keepSession,omitempty"` KeepSessionType string `json:"keepSessionType,omitempty"` KeepSessionTimeout int `json:"keepSessionTimeout,omitempty"` KeepSessionCookieName string `json:"keepSessionCookieName,omitempty"` XForwardedFor bool `json:"xForwardedFor,omitempty"` ServerTimeout int `json:"serverTimeout,omitempty"` RedirectPort uint16 `json:"redirectPort,omitempty"` }
type UpdateAppHTTPSListenerArgs ¶
type UpdateAppHTTPSListenerArgs struct { ClientToken string `json:"-"` ListenerPort uint16 `json:"listenerPort"` Scheduler string `json:"scheduler"` KeepSession bool `json:"keepSession,omitempty"` KeepSessionType string `json:"keepSessionType,omitempty"` KeepSessionTimeout int `json:"keepSessionTimeout,omitempty"` KeepSessionCookieName string `json:"keepSessionCookieName,omitempty"` XForwardedFor bool `json:"xForwardedFor,omitempty"` ServerTimeout int `json:"serverTimeout,omitempty"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType,omitempty"` EncryptionProtocols []string `json:"encryptionProtocols,omitempty"` AppliedCiphers string `json:"appliedCiphers,omitempty"` DualAuth bool `json:"dualAuth,omitempty"` ClientCertIds []string `json:"clientCertIds,omitempty"` }
type UpdateAppIpGroupArgs ¶ added in v0.9.37
type UpdateAppIpGroupBackendPolicyArgs ¶ added in v0.9.37
type UpdateAppIpGroupBackendPolicyArgs struct { ClientToken string `json:"-"` IpGroupId string `json:"ipGroupId"` Id string `json:"id"` HealthCheckPort int `json:"healthCheckPort,omitempty"` HealthCheckUrlPath string `json:"healthCheckUrlPath,omitempty"` HealthCheckTimeoutInSecond int `json:"healthCheckTimeoutInSecond,omitempty"` HealthCheckIntervalInSecond int `json:"healthCheckIntervalInSecond,omitempty"` HealthCheckDownRetry int `json:"healthCheckDownRetry,omitempty"` HealthCheckUpRetry int `json:"healthCheckUpRetry,omitempty"` HealthCheckNormalStatus string `json:"healthCheckNormalStatus,omitempty"` UdpHealthCheckString string `json:"udpHealthCheckString,omitempty"` }
type UpdateAppIpGroupMemberArgs ¶ added in v0.9.37
type UpdateAppIpGroupMemberArgs struct {
AppIpGroupMemberWriteOpArgs
}
type UpdateAppListenerArgs ¶
type UpdateAppSSLListenerArgs ¶
type UpdateAppSSLListenerArgs struct { ClientToken string `json:"-"` ListenerPort uint16 `json:"-"` Scheduler string `json:"scheduler"` CertIds []string `json:"certIds"` EncryptionType string `json:"encryptionType,omitempty"` EncryptionProtocols []string `json:"encryptionProtocols,omitempty"` AppliedCiphers string `json:"appliedCiphers,omitempty"` DualAuth bool `json:"dualAuth,omitempty"` ClientCertIds []string `json:"clientCertIds,omitempty"` }
type UpdateAppServerGroupPortArgs ¶
type UpdateAppServerGroupPortArgs struct { ClientToken string `json:"-"` SgId string `json:"sgId"` PortId string `json:"portId"` HealthCheck string `json:"healthCheck,omitempty"` HealthCheckPort int `json:"healthCheckPort,omitempty"` HealthCheckUrlPath string `json:"healthCheckUrlPath,omitempty"` HealthCheckTimeoutInSecond int `json:"healthCheckTimeoutInSecond,omitempty"` HealthCheckIntervalInSecond int `json:"healthCheckIntervalInSecond,omitempty"` HealthCheckDownRetry int `json:"healthCheckDownRetry,omitempty"` HealthCheckUpRetry int `json:"healthCheckUpRetry,omitempty"` HealthCheckNormalStatus string `json:"healthCheckNormalStatus,omitempty"` UdpHealthCheckString string `json:"udpHealthCheckString,omitempty"` }
type UpdateAppTCPListenerArgs ¶
type UpdateAppTCPListenerArgs struct {
UpdateAppListenerArgs
}
type UpdateAppUDPListenerArgs ¶
type UpdateAppUDPListenerArgs struct {
UpdateAppListenerArgs
}
type UpdateBlbRsArgs ¶
type UpdateBlbRsArgs struct {
BlbRsWriteOpArgs
}