Documentation ¶
Index ¶
- Constants
- func NewParams() openapi.Params
- type API
- func (api API) AddBackendServers(LoadBalancerId string, optional openapi.M) (*AddBackendServersResponse, error)
- func (api API) AddListenerWhiteListItem(ListenerPort int, LoadBalancerId, SourceItems string, optional openapi.M) (*openapi.Response, error)
- func (api API) CreateLoadBalancer(optional openapi.M) (*CreateLoadBalancerResponse, error)
- func (api API) CreateLoadBalancerHTTPListener(BackendServerPort, Bandwidth int, HealthCheck string, ListenerPort int, ...) (*openapi.Response, error)
- func (api API) CreateLoadBalancerHTTPSListener(BackendServerPort, Bandwidth int, HealthCheck string, ListenerPort int, ...) (*openapi.Response, error)
- func (api API) CreateLoadBalancerTCPListener(BackendServerPort, Bandwidth, ListenerPort int, LoadBalancerId string, ...) (*openapi.Response, error)
- func (api API) CreateLoadBalancerUDPListener(BackendServerPort, Bandwidth, ListenerPort int, LoadBalancerId string, ...) (*openapi.Response, error)
- func (api API) DeleteLoadBalancer(LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteLoadBalancerListener(ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DeleteServerCertificate(ServerCertificateId string, optional openapi.M) (*openapi.Response, error)
- func (api API) DescribeHealthStatus(LoadBalancerId string, optional openapi.M) (*DescribeHealthStatusResponse, error)
- func (api API) DescribeListenerAccessControlAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeListenerAccessControlAttributeResponse, error)
- func (api API) DescribeLoadBalancerAttribute(LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerAttributeResponse, error)
- func (api API) DescribeLoadBalancerHTTPListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerHTTPListenerAttributeResponse, error)
- func (api API) DescribeLoadBalancerHTTPSListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerHTTPSListenerAttributeResponse, error)
- func (api API) DescribeLoadBalancerTCPListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerTCPListenerAttributeResponse, error)
- func (api API) DescribeLoadBalancerUDPListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerUDPListenerAttributeResponse, error)
- func (api API) DescribeLoadBalancers(optional openapi.M) (*DescribeLoadBalancersResponse, error)
- func (api API) DescribeLocations(optional openapi.M) (*openapi.Response, error)
- func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)
- func (api API) DescribeRegions4Location(optional openapi.M) (*DescribeRegions4LocationResponse, error)
- func (api API) DescribeServerCertificate(ServerCertificateId string, optional openapi.M) (*DescribeServerCertificateResponse, error)
- func (api API) DescribeServerCertificates(optional openapi.M) (*DescribeServerCertificatesResponse, error)
- func (api API) DescribeZones(optional openapi.M) (*DescribeZonesResponse, error)
- func (api API) ModifyLoadBalancerInternetSpec(LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) RemoveBackendServers(BackendServers, LoadBalancerId string, optional openapi.M) (*RemoveBackendServersResponse, error)
- func (api API) RemoveListenerWhiteListItem(ListenerPort int, LoadBalancerId, SourceItems string, optional openapi.M) (*openapi.Response, error)
- func (api API) SetBackendServers(LoadBalancerId string, optional openapi.M) (*SetBackendServersResponse, error)
- func (api API) SetListenerAccessControlStatus(AccessControlStatus string, ListenerPort int, LoadBalancerId string, ...) (*openapi.Response, error)
- func (api API) SetLoadBalancerHTTPListenerAttribute(Bandwidth int, HealthCheck string, ListenerPort int, ...) (*openapi.Response, error)
- func (api API) SetLoadBalancerHTTPSListenerAttribute(Bandwidth int, HealthCheck string, ListenerPort int, ...) (*openapi.Response, error)
- func (api API) SetLoadBalancerName(LoadBalancerId, LoadBalancerName string, optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerStatus(LoadBalancerId, LoadBalancerStatus string, optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerTCPListenerAttribute(Bandwidth, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) SetLoadBalancerUDPListenerAttribute(Bandwidth, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) SetServerCertificateName(ServerCertificateId, ServerCertificateName string, optional openapi.M) (*openapi.Response, error)
- func (api API) StartLoadBalancerListener(ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) StopLoadBalancerListener(ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
- func (api API) UploadServerCertificate(PrivateKey, ServerCertificate string, optional openapi.M) (*UploadServerCertificateResponse, error)
- type AddBackendServersResponse
- type CreateLoadBalancerResponse
- type DescribeHealthStatusResponse
- type DescribeListenerAccessControlAttributeResponse
- type DescribeLoadBalancerAttributeResponse
- type DescribeLoadBalancerHTTPListenerAttributeResponse
- type DescribeLoadBalancerHTTPSListenerAttributeResponse
- type DescribeLoadBalancerTCPListenerAttributeResponse
- type DescribeLoadBalancerUDPListenerAttributeResponse
- type DescribeLoadBalancersResponse
- type DescribeRegions4LocationResponse
- type DescribeRegionsResponse
- type DescribeServerCertificateResponse
- type DescribeServerCertificatesResponse
- type DescribeZonesResponse
- type RemoveBackendServersResponse
- type SetBackendServersResponse
- type UploadServerCertificateResponse
Constants ¶
const ( Product = "Slb" Style = "RPC" Version = "2014-05-15" )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
openapi.Service
}
func (API) AddBackendServers ¶
func (api API) AddBackendServers(LoadBalancerId string, optional openapi.M) (*AddBackendServersResponse, error)
AddBackendServers version 2014-05-15
required parameters:
name: LoadBalancerId, type: string
optional parameters:
name: BackendServers, 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) AddListenerWhiteListItem ¶
func (api API) AddListenerWhiteListItem(ListenerPort int, LoadBalancerId, SourceItems string, optional openapi.M) (*openapi.Response, error)
AddListenerWhiteListItem version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string name: SourceItems, type: string
optional parameters:
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) CreateLoadBalancer ¶
func (api API) CreateLoadBalancer(optional openapi.M) (*CreateLoadBalancerResponse, error)
CreateLoadBalancer version 2014-05-15
optional parameters:
name: AddressType, type: string name: Bandwidth, type: int, min value: -1, max value: 1000 name: ClientToken, type: string name: InternetChargeType, type: string name: LoadBalancerName, type: string name: MasterZoneId, type: string name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityStatus, type: string name: SlaveZoneId, type: string name: VSwitchId, type: string name: VpcId, type: string 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(BackendServerPort, Bandwidth int, HealthCheck string, ListenerPort int, LoadBalancerId, StickySession string, optional openapi.M) (*openapi.Response, error)
CreateLoadBalancerHTTPListener version 2014-05-15
required parameters:
name: BackendServerPort, type: int, min value: 1, max value: 65535 name: Bandwidth, type: int, min value: -1, max value: 1000 name: HealthCheck, type: string name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string name: StickySession, type: string
optional parameters:
name: Cookie, type: string name: CookieTimeout, type: int, min value: 1, max value: 86400 name: HealthCheckConnectPort, type: int, min value: -520, max value: 65535 name: HealthCheckDomain, type: string name: HealthCheckHttpCode, type: string name: HealthCheckInterval, type: int, min value: 1, max value: 5 name: HealthCheckTimeout, type: int, min value: 1, max value: 50 name: HealthCheckURI, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Scheduler, type: string name: StickySessionType, type: string name: UnhealthyThreshold, type: int, min value: 1, max value: 10 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) CreateLoadBalancerHTTPSListener ¶
func (api API) CreateLoadBalancerHTTPSListener(BackendServerPort, Bandwidth int, HealthCheck string, ListenerPort int, LoadBalancerId, ServerCertificateId, StickySession string, optional openapi.M) (*openapi.Response, error)
CreateLoadBalancerHTTPSListener version 2014-05-15
required parameters:
name: BackendServerPort, type: int, min value: 1, max value: 65535 name: Bandwidth, type: int, min value: -1, max value: 1000 name: HealthCheck, type: string name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string name: ServerCertificateId, type: string name: StickySession, type: string
optional parameters:
name: Cookie, type: string name: CookieTimeout, type: int, min value: 1, max value: 86400 name: HealthCheckConnectPort, type: int, min value: -520, max value: 65535 name: HealthCheckDomain, type: string name: HealthCheckHttpCode, type: string name: HealthCheckInterval, type: int, min value: 1, max value: 5 name: HealthCheckTimeout, type: int, min value: 1, max value: 50 name: HealthCheckURI, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Scheduler, type: string name: StickySessionType, type: string name: UnhealthyThreshold, type: int, min value: 1, max value: 10 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(BackendServerPort, Bandwidth, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
CreateLoadBalancerTCPListener version 2014-05-15
required parameters:
name: BackendServerPort, type: int, min value: 1, max value: 65535 name: Bandwidth, type: int, min value: -1, max value: 1000 name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
name: HealthCheckConnectPort, type: int, min value: 1, max value: 65535 name: HealthCheckConnectTimeout, type: int, min value: 1, max value: 50 name: HealthCheckDomain, type: string name: HealthCheckHttpCode, type: string name: HealthCheckType, type: string name: HealthCheckURI, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: PersistenceTimeout, type: int, min value: 0, max value: 86400 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 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 name: healthCheckInterval, type: int, min value: 1, max value: 5
func (API) CreateLoadBalancerUDPListener ¶
func (api API) CreateLoadBalancerUDPListener(BackendServerPort, Bandwidth, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
CreateLoadBalancerUDPListener version 2014-05-15
required parameters:
name: BackendServerPort, type: int, min value: 1, max value: 65535 name: Bandwidth, type: int, min value: -1, max value: 1000 name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
name: HealthCheckConnectPort, type: int, min value: 1, max value: 65535 name: HealthCheckConnectTimeout, type: int, min value: 1, max value: 50 name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: PersistenceTimeout, type: int, min value: 0, max value: 86400 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 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 name: healthCheckInterval, type: int, min value: 1, max value: 5
func (API) DeleteLoadBalancer ¶
func (api API) DeleteLoadBalancer(LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
DeleteLoadBalancer version 2014-05-15
required parameters:
name: LoadBalancerId, type: string
optional parameters:
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(ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
DeleteLoadBalancerListener version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) DeleteServerCertificate ¶
func (api API) DeleteServerCertificate(ServerCertificateId string, optional openapi.M) (*openapi.Response, error)
DeleteServerCertificate version 2014-05-15
required parameters:
name: ServerCertificateId, type: string
optional parameters:
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) DescribeHealthStatus ¶
func (api API) DescribeHealthStatus(LoadBalancerId string, optional openapi.M) (*DescribeHealthStatusResponse, error)
DescribeHealthStatus version 2014-05-15
required parameters:
name: LoadBalancerId, type: string
optional parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 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) DescribeListenerAccessControlAttribute ¶
func (api API) DescribeListenerAccessControlAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeListenerAccessControlAttributeResponse, error)
DescribeListenerAccessControlAttribute version 2014-05-15
required parameters:
name: ListenerPort, type: int name: LoadBalancerId, type: string
optional parameters:
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) DescribeLoadBalancerAttribute ¶
func (api API) DescribeLoadBalancerAttribute(LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerAttributeResponse, error)
DescribeLoadBalancerAttribute version 2014-05-15
required parameters:
name: LoadBalancerId, type: string
optional parameters:
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) DescribeLoadBalancerHTTPListenerAttribute ¶
func (api API) DescribeLoadBalancerHTTPListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerHTTPListenerAttributeResponse, error)
DescribeLoadBalancerHTTPListenerAttribute version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) DescribeLoadBalancerHTTPSListenerAttribute ¶
func (api API) DescribeLoadBalancerHTTPSListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerHTTPSListenerAttributeResponse, error)
DescribeLoadBalancerHTTPSListenerAttribute version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) DescribeLoadBalancerTCPListenerAttribute ¶
func (api API) DescribeLoadBalancerTCPListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerTCPListenerAttributeResponse, error)
DescribeLoadBalancerTCPListenerAttribute version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) DescribeLoadBalancerUDPListenerAttribute ¶
func (api API) DescribeLoadBalancerUDPListenerAttribute(ListenerPort int, LoadBalancerId string, optional openapi.M) (*DescribeLoadBalancerUDPListenerAttributeResponse, error)
DescribeLoadBalancerUDPListenerAttribute version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) DescribeLoadBalancers ¶
func (api API) DescribeLoadBalancers(optional openapi.M) (*DescribeLoadBalancersResponse, error)
DescribeLoadBalancers version 2014-05-15
optional parameters:
name: Address, type: string name: AddressType, type: string name: InternetChargeType, type: string name: LoadBalancerId, type: string name: MasterZoneId, type: string name: NetworkType, type: string name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityStatus, type: string name: ServerId, type: string name: SlaveZoneId, type: string name: VSwitchId, type: string name: VpcId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeLocations ¶
DescribeLocations version 2014-05-15
optional parameters:
name: Namespace, type: string name: NamespaceUid, 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) DescribeRegions ¶
func (api API) DescribeRegions(optional openapi.M) (*DescribeRegionsResponse, error)
DescribeRegions version 2014-05-15
optional parameters:
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) DescribeRegions4Location ¶
func (api API) DescribeRegions4Location(optional openapi.M) (*DescribeRegions4LocationResponse, error)
DescribeRegions4Location version 2014-05-15
optional parameters:
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) DescribeServerCertificate ¶
func (api API) DescribeServerCertificate(ServerCertificateId string, optional openapi.M) (*DescribeServerCertificateResponse, error)
DescribeServerCertificate version 2014-05-15
required parameters:
name: ServerCertificateId, type: string
optional parameters:
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) DescribeServerCertificates ¶
func (api API) DescribeServerCertificates(optional openapi.M) (*DescribeServerCertificatesResponse, error)
DescribeServerCertificates version 2014-05-15
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ServerCertificateId, type: string name: _method, type: string, optional values: GET|POST name: _region, type: string name: _scheme, type: string, optional values: http|https
func (API) DescribeZones ¶
func (api API) DescribeZones(optional openapi.M) (*DescribeZonesResponse, error)
DescribeZones version 2014-05-15
optional parameters:
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) ModifyLoadBalancerInternetSpec ¶
func (api API) ModifyLoadBalancerInternetSpec(LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
ModifyLoadBalancerInternetSpec version 2014-05-15
required parameters:
name: LoadBalancerId, type: string
optional parameters:
name: Bandwidth, type: int, min value: 1, max value: 1000 name: InternetChargeType, type: string name: MasterZoneId, type: string name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: SecurityStatus, type: string name: SlaveZoneId, 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(BackendServers, LoadBalancerId string, optional openapi.M) (*RemoveBackendServersResponse, error)
RemoveBackendServers version 2014-05-15
required parameters:
name: BackendServers, type: string name: LoadBalancerId, type: string
optional parameters:
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) RemoveListenerWhiteListItem ¶
func (api API) RemoveListenerWhiteListItem(ListenerPort int, LoadBalancerId, SourceItems string, optional openapi.M) (*openapi.Response, error)
RemoveListenerWhiteListItem version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string name: SourceItems, type: string
optional parameters:
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) SetBackendServers ¶
func (api API) SetBackendServers(LoadBalancerId string, optional openapi.M) (*SetBackendServersResponse, error)
SetBackendServers version 2014-05-15
required parameters:
name: LoadBalancerId, type: string
optional parameters:
name: BackendServers, 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) SetListenerAccessControlStatus ¶
func (api API) SetListenerAccessControlStatus(AccessControlStatus string, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
SetListenerAccessControlStatus version 2014-05-15
required parameters:
name: AccessControlStatus, type: string name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) SetLoadBalancerHTTPListenerAttribute ¶
func (api API) SetLoadBalancerHTTPListenerAttribute(Bandwidth int, HealthCheck string, ListenerPort int, LoadBalancerId, StickySession string, optional openapi.M) (*openapi.Response, error)
SetLoadBalancerHTTPListenerAttribute version 2014-05-15
required parameters:
name: Bandwidth, type: int, min value: -1, max value: 1000 name: HealthCheck, type: string name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string name: StickySession, type: string
optional parameters:
name: Cookie, type: string name: CookieTimeout, type: int, min value: 1, max value: 86400 name: HealthCheckConnectPort, type: int, min value: -520, max value: 65535 name: HealthCheckDomain, type: string name: HealthCheckHttpCode, type: string name: HealthCheckInterval, type: int, min value: 1, max value: 5 name: HealthCheckTimeout, type: int, min value: 1, max value: 50 name: HealthCheckURI, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Scheduler, type: string name: StickySessionType, type: string name: UnhealthyThreshold, type: int, min value: 1, max value: 10 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) SetLoadBalancerHTTPSListenerAttribute ¶
func (api API) SetLoadBalancerHTTPSListenerAttribute(Bandwidth int, HealthCheck string, ListenerPort int, LoadBalancerId, StickySession string, optional openapi.M) (*openapi.Response, error)
SetLoadBalancerHTTPSListenerAttribute version 2014-05-15
required parameters:
name: Bandwidth, type: int, min value: -1, max value: 1000 name: HealthCheck, type: string name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string name: StickySession, type: string
optional parameters:
name: Cookie, type: string name: CookieTimeout, type: int, min value: 1, max value: 86400 name: HealthCheckConnectPort, type: int, min value: -520, max value: 65535 name: HealthCheckDomain, type: string name: HealthCheckHttpCode, type: string name: HealthCheckInterval, type: int, min value: 1, max value: 5 name: HealthCheckTimeout, type: int, min value: 1, max value: 50 name: HealthCheckURI, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Scheduler, type: string name: ServerCertificateId, type: string name: StickySessionType, type: string name: UnhealthyThreshold, type: int, min value: 1, max value: 10 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) SetLoadBalancerName ¶
func (api API) SetLoadBalancerName(LoadBalancerId, LoadBalancerName string, optional openapi.M) (*openapi.Response, error)
SetLoadBalancerName version 2014-05-15
required parameters:
name: LoadBalancerId, type: string name: LoadBalancerName, type: string
optional parameters:
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) SetLoadBalancerStatus ¶
func (api API) SetLoadBalancerStatus(LoadBalancerId, LoadBalancerStatus string, optional openapi.M) (*openapi.Response, error)
SetLoadBalancerStatus version 2014-05-15
required parameters:
name: LoadBalancerId, type: string name: LoadBalancerStatus, type: string
optional parameters:
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) SetLoadBalancerTCPListenerAttribute ¶
func (api API) SetLoadBalancerTCPListenerAttribute(Bandwidth, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
SetLoadBalancerTCPListenerAttribute version 2014-05-15
required parameters:
name: Bandwidth, type: int, min value: -1, max value: 1000 name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
name: HealthCheckConnectPort, type: int, min value: 1, max value: 65535 name: HealthCheckConnectTimeout, type: int, min value: 1, max value: 50 name: HealthCheckDomain, type: string name: HealthCheckHttpCode, type: string name: HealthCheckInterval, type: int, min value: 1, max value: 5 name: HealthCheckType, type: string name: HealthCheckURI, type: string name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: PersistenceTimeout, type: int, min value: 0, max value: 86400 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: Scheduler, type: string name: SynProxy, 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) SetLoadBalancerUDPListenerAttribute ¶
func (api API) SetLoadBalancerUDPListenerAttribute(Bandwidth, ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
SetLoadBalancerUDPListenerAttribute version 2014-05-15
required parameters:
name: Bandwidth, type: int, min value: -1, max value: 1000 name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
name: HealthCheckConnectPort, type: int, min value: 1, max value: 65535 name: HealthCheckConnectTimeout, type: int, min value: 1, max value: 50 name: HealthCheckInterval, type: int, min value: 1, max value: 5 name: HealthyThreshold, type: int, min value: 1, max value: 10 name: MaxConnLimit, type: int name: OwnerAccount, type: string name: OwnerId, type: int64 name: PersistenceTimeout, type: int, min value: 0, max value: 86400 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 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) SetServerCertificateName ¶
func (api API) SetServerCertificateName(ServerCertificateId, ServerCertificateName string, optional openapi.M) (*openapi.Response, error)
SetServerCertificateName version 2014-05-15
required parameters:
name: ServerCertificateId, type: string name: ServerCertificateName, type: string
optional parameters:
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) StartLoadBalancerListener ¶
func (api API) StartLoadBalancerListener(ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
StartLoadBalancerListener version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) StopLoadBalancerListener ¶
func (api API) StopLoadBalancerListener(ListenerPort int, LoadBalancerId string, optional openapi.M) (*openapi.Response, error)
StopLoadBalancerListener version 2014-05-15
required parameters:
name: ListenerPort, type: int, min value: 1, max value: 65535 name: LoadBalancerId, type: string
optional parameters:
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) UploadServerCertificate ¶
func (api API) UploadServerCertificate(PrivateKey, ServerCertificate string, optional openapi.M) (*UploadServerCertificateResponse, error)
UploadServerCertificate version 2014-05-15
required parameters:
name: PrivateKey, type: string name: ServerCertificate, type: string
optional parameters:
name: OwnerAccount, type: string name: OwnerId, type: int64 name: ResourceOwnerAccount, type: string name: ResourceOwnerId, type: int64 name: ServerCertificateName, 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 string } } LoadBalancerId string }
AddBackendServersResponse represents the response of the api AddBackendServers.
type CreateLoadBalancerResponse ¶
type CreateLoadBalancerResponse struct { Address string LoadBalancerId string LoadBalancerName string NetworkType string VSwitchId string VpcId string }
CreateLoadBalancerResponse represents the response of the api CreateLoadBalancer.
type DescribeHealthStatusResponse ¶
type DescribeHealthStatusResponse struct { BackendServers struct { BackendServer []struct { ServerHealthStatus string ServerId string } } }
DescribeHealthStatusResponse represents the response of the api DescribeHealthStatus.
type DescribeListenerAccessControlAttributeResponse ¶
type DescribeListenerAccessControlAttributeResponse struct { AccessControlStatus string SourceItems string }
DescribeListenerAccessControlAttributeResponse represents the response of the api DescribeListenerAccessControlAttribute.
type DescribeLoadBalancerAttributeResponse ¶
type DescribeLoadBalancerAttributeResponse struct { Address string AddressType string BackendServers struct { BackendServer []struct { ServerId string Weight int } } Bandwidth int CreateTime string CreateTimeStamp int64 InternetChargeType string ListenerPortsAndProtocal struct { ListenerPortAndProtocal []struct { ListenerPort int ListenerProtocal string } } ListenerPortsAndProtocol struct { ListenerPortAndProtocol []struct { ListenerPort int ListenerProtocol string } } LoadBalancerId string LoadBalancerName string LoadBalancerStatus string MasterZoneId string MaxConnLimit int NetworkType string RegionId string RegionIdAlias string SecurityStatus string SlaveZoneId string SysBandwidth int VSwitchId string VpcId string }
DescribeLoadBalancerAttributeResponse represents the response of the api DescribeLoadBalancerAttribute.
type DescribeLoadBalancerHTTPListenerAttributeResponse ¶
type DescribeLoadBalancerHTTPListenerAttributeResponse struct { BackendServerPort int Bandwidth int Cookie string CookieTimeout int HealthCheck string HealthCheckConnectPort int HealthCheckDomain string HealthCheckHttpCode string HealthCheckInterval int HealthCheckTimeout int HealthCheckURI string HealthyThreshold int ListenerPort int MaxConnLimit int Scheduler string Status string StickySession string StickySessionType string UnhealthyThreshold int XForwardedFor string }
DescribeLoadBalancerHTTPListenerAttributeResponse represents the response of the api DescribeLoadBalancerHTTPListenerAttribute.
type DescribeLoadBalancerHTTPSListenerAttributeResponse ¶
type DescribeLoadBalancerHTTPSListenerAttributeResponse struct { BackendServerPort int Bandwidth int Cookie string CookieTimeout int HealthCheck string HealthCheckConnectPort int HealthCheckDomain string HealthCheckHttpCode string HealthCheckInterval int HealthCheckTimeout int HealthCheckURI string HealthyThreshold int ListenerPort int MaxConnLimit int Scheduler string ServerCertificateId string Status string StickySession string StickySessionType string UnhealthyThreshold int XForwardedFor string }
DescribeLoadBalancerHTTPSListenerAttributeResponse represents the response of the api DescribeLoadBalancerHTTPSListenerAttribute.
type DescribeLoadBalancerTCPListenerAttributeResponse ¶
type DescribeLoadBalancerTCPListenerAttributeResponse struct { BackendServerPort int Bandwidth int HealthCheck string HealthCheckConnectPort int HealthCheckConnectTimeout int HealthCheckDomain string HealthCheckHttpCode string HealthCheckInterval int HealthCheckType string HealthCheckURI string HealthyThreshold int ListenerPort int MaxConnLimit int PersistenceTimeout int Scheduler string Status string SynProxy string UnhealthyThreshold int }
DescribeLoadBalancerTCPListenerAttributeResponse represents the response of the api DescribeLoadBalancerTCPListenerAttribute.
type DescribeLoadBalancerUDPListenerAttributeResponse ¶
type DescribeLoadBalancerUDPListenerAttributeResponse struct { BackendServerPort int Bandwidth int HealthCheck string HealthCheckConnectPort int HealthCheckConnectTimeout int HealthCheckInterval int HealthyThreshold int ListenerPort int MaxConnLimit int PersistenceTimeout int Scheduler string Status string UnhealthyThreshold int }
DescribeLoadBalancerUDPListenerAttributeResponse represents the response of the api DescribeLoadBalancerUDPListenerAttribute.
type DescribeLoadBalancersResponse ¶
type DescribeLoadBalancersResponse struct { LoadBalancers struct { LoadBalancer []struct { Address string AddressType string InternetChargeType string LoadBalancerId string LoadBalancerName string LoadBalancerStatus string MasterZoneId string MaxConnLimit int NetworkType string RegionId string RegionIdAlias string SecurityStatus string SlaveZoneId string SysBandwidth int VSwitchId string VpcId string } } }
DescribeLoadBalancersResponse represents the response of the api DescribeLoadBalancers.
type DescribeRegions4LocationResponse ¶
type DescribeRegions4LocationResponse struct { Regions struct { Region []struct { LocalName string RegionId string } } }
DescribeRegions4LocationResponse represents the response of the api DescribeRegions4Location.
type DescribeRegionsResponse ¶
type DescribeRegionsResponse struct { Regions struct { Region []struct { LocalName string RegionId string } } }
DescribeRegionsResponse represents the response of the api DescribeRegions.
type DescribeServerCertificateResponse ¶
type DescribeServerCertificateResponse struct { Fingerprint string RegionId string RegionIdAlias string ServerCertificateId string ServerCertificateName string }
DescribeServerCertificateResponse represents the response of the api DescribeServerCertificate.
type DescribeServerCertificatesResponse ¶
type DescribeServerCertificatesResponse struct { ServerCertificates struct { ServerCertificate []struct { Fingerprint string RegionId string RegionIdAlias string ServerCertificateId string ServerCertificateName string } } }
DescribeServerCertificatesResponse represents the response of the api DescribeServerCertificates.
type DescribeZonesResponse ¶
type DescribeZonesResponse struct { Zones struct { Zone []struct { LocalName string SlaveZones struct { SlaveZone []struct { LocalName string ZoneId string } } ZoneId string } } }
DescribeZonesResponse represents the response of the api DescribeZones.
type RemoveBackendServersResponse ¶
type RemoveBackendServersResponse struct { BackendServers struct { BackendServer []struct { ServerId string Weight int } } LoadBalancerId string }
RemoveBackendServersResponse represents the response of the api RemoveBackendServers.
type SetBackendServersResponse ¶
type SetBackendServersResponse struct { BackendServers struct { BackendServer []struct { ServerId string Weight string } } LoadBalancerId string }
SetBackendServersResponse represents the response of the api SetBackendServers.