Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) AddBackendServers(optional openapi.M) (*AddBackendServersResponse, error)
- func (api API) CreateLoadBalancer(optional openapi.M) (*CreateLoadBalancerResponse, error)
- func (api API) CreateLoadBalancerHTTPListener(optional openapi.M) (*openapi.Response, error)
- func (api API) CreateLoadBalancerTCPListener(optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteLoadBalancer(optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteLoadBalancerListener(optional openapi.M) (*openapi.Response, error)
- func (api API) DescribeBackendServers(optional openapi.M) (*DescribeBackendServersResponse, error)
- func (api API) DescribeLoadBalancerAttribute(optional openapi.M) (*DescribeLoadBalancerAttributeResponse, error)
- func (api API) DescribeLoadBalancerHTTPListenerAttribute(optional openapi.M) (*DescribeLoadBalancerHTTPListenerAttributeResponse, error)
- func (api API) DescribeLoadBalancerTCPListenerAttribute(optional openapi.M) (*DescribeLoadBalancerTCPListenerAttributeResponse, error)
- func (api API) DescribeLoadBalancers(optional openapi.M) (*DescribeLoadBalancersResponse, error)
- func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)
- func (api API) RemoveBackendServers(optional openapi.M) (*RemoveBackendServersResponse, error)
- func (api API) SetLoadBalancerHTTPListenerAttribute(optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerListenerStatus(optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerName(optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerStatus(optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerTCPListenerAttribute(optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBanancerListenerStatus(optional openapi.M) (*openapi.Response, error)
- type AddBackendServersResponse
- type CreateLoadBalancerResponse
- type DescribeBackendServersResponse
- type DescribeLoadBalancerAttributeResponse
- type DescribeLoadBalancerHTTPListenerAttributeResponse
- type DescribeLoadBalancerTCPListenerAttributeResponse
- type DescribeLoadBalancersResponse
- type DescribeRegionsResponse
- type RemoveBackendServersResponse
Constants ¶
const ( Product = "Slb" Style = "RPC" Version = "2013-02-21" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) AddBackendServers ¶
func (api API) AddBackendServers(optional openapi.M) (*AddBackendServersResponse, error)
AddBackendServers version 2013-02-21
optional parameters:
name: BackendServers, type: string name: HostId, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateLoadBalancer ¶
func (api API) CreateLoadBalancer(optional openapi.M) (*CreateLoadBalancerResponse, error)
CreateLoadBalancer version 2013-02-21
optional parameters:
name: Address, type: string name: ClientToken, type: string name: IsPublicAddress, type: string name: LoadBalancerMode, type: string name: LoadBalancerName, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateLoadBalancerHTTPListener ¶
CreateLoadBalancerHTTPListener version 2013-02-21
optional parameters:
name: BackendServerPort, type: int name: Cookie, type: string name: CookieTimeout, type: int name: Domain, type: string name: HealthCheck, type: string name: HealthCheckTimeout, type: int name: HealthyThreshold, type: int name: HostId, type: string name: Interval, type: int name: ListenerPort, type: int name: ListenerStatus, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: Scheduler, type: string name: StickySession, type: string name: StickySessionType, type: string name: URI, type: string name: UnhealthyThreshold, type: int name: XForwardedFor, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) CreateLoadBalancerTCPListener ¶
CreateLoadBalancerTCPListener version 2013-02-21
optional parameters:
name: BackendServerPort, type: int name: ConnectPort, type: int name: ConnectTimeout, type: int name: HealthCheck, type: string name: HostId, type: string name: Interval, type: int name: ListenerPort, type: int name: ListenerStatus, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: PersistenceTimeout, type: int name: Scheduler, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteLoadBalancer ¶
DeleteLoadBalancer version 2013-02-21
optional parameters:
name: LoadBalancerId, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DeleteLoadBalancerListener ¶
DeleteLoadBalancerListener version 2013-02-21
optional parameters:
name: HostId, type: string name: ListenerPort, type: []string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeBackendServers ¶
func (api API) DescribeBackendServers(optional openapi.M) (*DescribeBackendServersResponse, error)
DescribeBackendServers version 2013-02-21
optional parameters:
name: HostId, type: string name: ListenerPort, type: int name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeLoadBalancerAttribute ¶
func (api API) DescribeLoadBalancerAttribute(optional openapi.M) (*DescribeLoadBalancerAttributeResponse, error)
DescribeLoadBalancerAttribute version 2013-02-21
optional parameters:
name: HostId, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeLoadBalancerHTTPListenerAttribute ¶
func (api API) DescribeLoadBalancerHTTPListenerAttribute(optional openapi.M) (*DescribeLoadBalancerHTTPListenerAttributeResponse, error)
DescribeLoadBalancerHTTPListenerAttribute version 2013-02-21
optional parameters:
name: HostId, type: string name: ListenerPort, type: int name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeLoadBalancerTCPListenerAttribute ¶
func (api API) DescribeLoadBalancerTCPListenerAttribute(optional openapi.M) (*DescribeLoadBalancerTCPListenerAttributeResponse, error)
DescribeLoadBalancerTCPListenerAttribute version 2013-02-21
optional parameters:
name: HostId, type: string name: ListenerPort, type: int name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeLoadBalancers ¶
func (api API) DescribeLoadBalancers(optional openapi.M) (*DescribeLoadBalancersResponse, error)
DescribeLoadBalancers version 2013-02-21
optional parameters:
name: HostId, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: ServerId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeRegions ¶
func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)
DescribeRegions version 2013-02-21
optional parameters:
name: HostId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) RemoveBackendServers ¶
func (api API) RemoveBackendServers(optional openapi.M) (*RemoveBackendServersResponse, error)
RemoveBackendServers version 2013-02-21
optional parameters:
name: BackendServers, type: string name: HostId, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) SetLoadBalancerHTTPListenerAttribute ¶
SetLoadBalancerHTTPListenerAttribute version 2013-02-21
optional parameters:
name: Cookie, type: string name: CookieTimeout, type: int name: Domain, type: string name: HealthCheck, type: string name: HealthCheckTimeout, type: int name: HealthyThreshold, type: int name: HostId, type: string name: Interval, type: int name: ListenerPort, type: int name: LoadBalancerId, type: string name: OwnerAccount, type: string name: Scheduler, type: string name: StickySession, type: string name: StickySessionType, type: string name: URI, type: string name: UnhealthyThreshold, type: int name: XForwardedFor, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) SetLoadBalancerListenerStatus ¶
SetLoadBalancerListenerStatus version 2013-02-21
optional parameters:
name: HostId, type: string name: ListenerPort, type: int name: ListenerStatus, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) SetLoadBalancerName ¶
SetLoadBalancerName version 2013-02-21
optional parameters:
name: HostId, type: string name: LoadBalancerId, type: string name: LoadBalancerName, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) SetLoadBalancerStatus ¶
SetLoadBalancerStatus version 2013-02-21
optional parameters:
name: HostId, type: string name: LoadBalancerId, type: string name: LoadBalancerStatus, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) SetLoadBalancerTCPListenerAttribute ¶
SetLoadBalancerTCPListenerAttribute version 2013-02-21
optional parameters:
name: ConnectPort, type: int name: ConnectTimeout, type: int name: HealthCheck, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: HostId, type: string name: Interval, type: int name: ListenerPort, type: int name: LoadBalancerId, type: string name: OwnerAccount, type: string name: PersistenceTimeout, type: int name: Scheduler, type: string name: UnhealthyThreshold, type: int, min value: 1, max value: 10 name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) SetLoadBanancerListenerStatus ¶
SetLoadBanancerListenerStatus version 2013-02-21
optional parameters:
name: HostId, type: string name: ListenerPort, type: int name: ListenerStatus, type: string name: LoadBalancerId, type: string name: OwnerAccount, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
type AddBackendServersResponse ¶
type AddBackendServersResponse struct { BackendServers struct { BackendServer []struct { ServerId string Weight int } } LoadBalancerId string }
AddBackendServersResponse represents the response of the api AddBackendServers.
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { Address string LoadBalancerId string LoadBalancerName string }
CreateLoadBalancerResponse represents the response of the api CreateLoadBalancer.
type DescribeBackendServersResponse ¶
type DescribeBackendServersResponse struct { Listeners struct { Listener []struct { BackendServers struct { BackendServer []struct { ServerHealthStatus string ServerId string } } ListenerPort int } } }
DescribeBackendServersResponse represents the response of the api DescribeBackendServers.
type DescribeLoadBalancerAttributeResponse ¶
type DescribeLoadBalancerAttributeResponse struct { Address string BackendServers struct { BackendServer []struct { ServerId string Weight int } } IsPublicAddress string LoadBalancerId string LoadBalancerName string LoadBalancerStatus string RegionId string }
DescribeLoadBalancerAttributeResponse represents the response of the api DescribeLoadBalancerAttribute.
type DescribeLoadBalancerHTTPListenerAttributeResponse ¶
type DescribeLoadBalancerHTTPListenerAttributeResponse struct { BackendServerPort int Cookie string CookieTimeout int Domain string HealthCheck string HealthCheckTimeout int HealthyThreshold int Interval int ListenerPort int Scheduler string Status string StickySession string StickySessionapiType string URI string UnhealthyThreshold int XForwardedFor string }
DescribeLoadBalancerHTTPListenerAttributeResponse represents the response of the api DescribeLoadBalancerHTTPListenerAttribute.
type DescribeLoadBalancerTCPListenerAttributeResponse ¶
type DescribeLoadBalancerTCPListenerAttributeResponse struct { BackendServerPort int ConnectPort int ConnectTimeout int HealthCheck string HealthyThreshold int Interval int ListenerPort int PersistenceTimeout int Scheduler string Status string UnhealthyThreshold int }
DescribeLoadBalancerTCPListenerAttributeResponse represents the response of the api DescribeLoadBalancerTCPListenerAttribute.
type DescribeLoadBalancersResponse ¶
type DescribeLoadBalancersResponse struct { LoadBalancers struct { LoadBalancer []struct { LoadBalancerId string LoadBalancerName string LoadBalancerStatus string } } }
DescribeLoadBalancersResponse represents the response of the api DescribeLoadBalancers.
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { Regions struct { Region []struct { RegionId string } } }
DescribeRegionsResponse represents the response of the api DescribeRegions.
type RemoveBackendServersResponse ¶
type RemoveBackendServersResponse struct { BackendServers struct { BackendServer []struct { ServerId string Weight int } } LoadBalancerId string }
RemoveBackendServersResponse represents the response of the api RemoveBackendServers.