slb

package
v0.0.0-...-0b043e4 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2015 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Product = "Slb"
	Style   = "RPC"
	Version = "2013-02-21"
)

Variables

This section is empty.

Functions

func NewParams

func NewParams() openapi.Params

Types

type API

type API struct {
	openapi.Service
}

func New

func New(accessKeyId, accessKeySecret string) API

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

func (api API) CreateLoadBalancerHTTPListener(optional openapi.M) (*openapi.Response, error)

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

func (api API) CreateLoadBalancerTCPListener(optional openapi.M) (*openapi.Response, error)

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

func (api API) DeleteLoadBalancer(optional openapi.M) (*openapi.Response, error)

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

func (api API) DeleteLoadBalancerListener(optional openapi.M) (*openapi.Response, error)

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

func (api API) SetLoadBalancerHTTPListenerAttribute(optional openapi.M) (*openapi.Response, error)

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

func (api API) SetLoadBalancerListenerStatus(optional openapi.M) (*openapi.Response, error)

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

func (api API) SetLoadBalancerName(optional openapi.M) (*openapi.Response, error)

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

func (api API) SetLoadBalancerStatus(optional openapi.M) (*openapi.Response, error)

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

func (api API) SetLoadBalancerTCPListenerAttribute(optional openapi.M) (*openapi.Response, error)

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

func (api API) SetLoadBanancerListenerStatus(optional openapi.M) (*openapi.Response, error)

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.

Jump to

Keyboard shortcuts

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