Documentation ¶
Index ¶
- type Client
- func NewClient() (client *Client, err error)
- func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
- func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)
- func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
- func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
- func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
- func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
- func (client *Client) CreateScalingRule(request *CreateScalingRuleRequest) (response *CreateScalingRuleResponse, err error)
- func (client *Client) CreateScalingRuleWithCallback(request *CreateScalingRuleRequest, ...) <-chan int
- func (client *Client) CreateScalingRuleWithChan(request *CreateScalingRuleRequest) (<-chan *CreateScalingRuleResponse, <-chan error)
- func (client *Client) DeleteScalingRule(request *DeleteScalingRuleRequest) (response *DeleteScalingRuleResponse, err error)
- func (client *Client) DeleteScalingRuleWithCallback(request *DeleteScalingRuleRequest, ...) <-chan int
- func (client *Client) DeleteScalingRuleWithChan(request *DeleteScalingRuleRequest) (<-chan *DeleteScalingRuleResponse, <-chan error)
- func (client *Client) DescribeScalingConfigurations(request *DescribeScalingConfigurationsRequest) (response *DescribeScalingConfigurationsResponse, err error)
- func (client *Client) DescribeScalingConfigurationsWithCallback(request *DescribeScalingConfigurationsRequest, ...) <-chan int
- func (client *Client) DescribeScalingConfigurationsWithChan(request *DescribeScalingConfigurationsRequest) (<-chan *DescribeScalingConfigurationsResponse, <-chan error)
- func (client *Client) DescribeScalingGroups(request *DescribeScalingGroupsRequest) (response *DescribeScalingGroupsResponse, err error)
- func (client *Client) DescribeScalingGroupsWithCallback(request *DescribeScalingGroupsRequest, ...) <-chan int
- func (client *Client) DescribeScalingGroupsWithChan(request *DescribeScalingGroupsRequest) (<-chan *DescribeScalingGroupsResponse, <-chan error)
- func (client *Client) DescribeScalingInstances(request *DescribeScalingInstancesRequest) (response *DescribeScalingInstancesResponse, err error)
- func (client *Client) DescribeScalingInstancesWithCallback(request *DescribeScalingInstancesRequest, ...) <-chan int
- func (client *Client) DescribeScalingInstancesWithChan(request *DescribeScalingInstancesRequest) (<-chan *DescribeScalingInstancesResponse, <-chan error)
- func (client *Client) DescribeScalingRules(request *DescribeScalingRulesRequest) (response *DescribeScalingRulesResponse, err error)
- func (client *Client) DescribeScalingRulesWithCallback(request *DescribeScalingRulesRequest, ...) <-chan int
- func (client *Client) DescribeScalingRulesWithChan(request *DescribeScalingRulesRequest) (<-chan *DescribeScalingRulesResponse, <-chan error)
- func (client *Client) ExecuteScalingRule(request *ExecuteScalingRuleRequest) (response *ExecuteScalingRuleResponse, err error)
- func (client *Client) ExecuteScalingRuleWithCallback(request *ExecuteScalingRuleRequest, ...) <-chan int
- func (client *Client) ExecuteScalingRuleWithChan(request *ExecuteScalingRuleRequest) (<-chan *ExecuteScalingRuleResponse, <-chan error)
- func (client *Client) ModifyScalingGroup(request *ModifyScalingGroupRequest) (response *ModifyScalingGroupResponse, err error)
- func (client *Client) ModifyScalingGroupWithCallback(request *ModifyScalingGroupRequest, ...) <-chan int
- func (client *Client) ModifyScalingGroupWithChan(request *ModifyScalingGroupRequest) (<-chan *ModifyScalingGroupResponse, <-chan error)
- func (client *Client) ModifyScalingRule(request *ModifyScalingRuleRequest) (response *ModifyScalingRuleResponse, err error)
- func (client *Client) ModifyScalingRuleWithCallback(request *ModifyScalingRuleRequest, ...) <-chan int
- func (client *Client) ModifyScalingRuleWithChan(request *ModifyScalingRuleRequest) (<-chan *ModifyScalingRuleResponse, <-chan error)
- func (client *Client) RemoveInstances(request *RemoveInstancesRequest) (response *RemoveInstancesResponse, err error)
- func (client *Client) RemoveInstancesWithCallback(request *RemoveInstancesRequest, ...) <-chan int
- func (client *Client) RemoveInstancesWithChan(request *RemoveInstancesRequest) (<-chan *RemoveInstancesResponse, <-chan error)
- type CreateScalingRuleRequest
- type CreateScalingRuleResponse
- type DBInstanceIds
- type DataDisk
- type DataDisks
- type DeleteScalingRuleRequest
- type DeleteScalingRuleResponse
- type DescribeScalingConfigurationsRequest
- type DescribeScalingConfigurationsResponse
- type DescribeScalingGroupsRequest
- type DescribeScalingGroupsResponse
- type DescribeScalingInstancesRequest
- type DescribeScalingInstancesResponse
- type DescribeScalingRulesRequest
- type DescribeScalingRulesResponse
- type ExecuteScalingRuleRequest
- type ExecuteScalingRuleResponse
- type InstanceTypes
- type LoadBalancerIds
- type ModifyScalingGroupRequest
- type ModifyScalingGroupResponse
- type ModifyScalingRuleRequest
- type ModifyScalingRuleResponse
- type RemovalPolicies
- type RemoveInstancesRequest
- type RemoveInstancesResponse
- type ScalingConfiguration
- type ScalingConfigurations
- type ScalingGroup
- type ScalingGroups
- type ScalingInstance
- type ScalingInstances
- type ScalingRule
- type ScalingRules
- type SpotPriceLimit
- type SpotPriceModel
- type Tag
- type Tags
- type VSwitchIds
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is the sdk client struct, each func corresponds to an OpenAPI
func NewClientWithAccessKey ¶
func NewClientWithAccessKey(regionId, accessKeyId, accessKeySecret string) (client *Client, err error)
NewClientWithAccessKey is a shortcut to create sdk client with accesskey usage: https://help.aliyun.com/document_detail/66217.html
func NewClientWithEcsRamRole ¶
NewClientWithEcsRamRole is a shortcut to create sdk client with ecs ram role usage: https://help.aliyun.com/document_detail/66223.html
func NewClientWithOptions ¶
func NewClientWithOptions(regionId string, config *sdk.Config, credential auth.Credential) (client *Client, err error)
NewClientWithOptions creates a sdk client with regionId/sdkConfig/credential this is the common api to create a sdk client
func NewClientWithRamRoleArn ¶
func NewClientWithRamRoleArn(regionId string, accessKeyId, accessKeySecret, roleArn, roleSessionName string) (client *Client, err error)
NewClientWithRamRoleArn is a shortcut to create sdk client with ram roleArn usage: https://help.aliyun.com/document_detail/66222.html
func NewClientWithRsaKeyPair ¶
func NewClientWithRsaKeyPair(regionId string, publicKeyId, privateKey string, sessionExpiration int) (client *Client, err error)
NewClientWithRsaKeyPair is a shortcut to create sdk client with rsa key pair attention: rsa key pair auth is only Japan regions available
func NewClientWithStsToken ¶
func NewClientWithStsToken(regionId, stsAccessKeyId, stsAccessKeySecret, stsToken string) (client *Client, err error)
NewClientWithStsToken is a shortcut to create sdk client with sts token usage: https://help.aliyun.com/document_detail/66222.html
func (*Client) CreateScalingRule ¶
func (client *Client) CreateScalingRule(request *CreateScalingRuleRequest) (response *CreateScalingRuleResponse, err error)
CreateScalingRule invokes the ess.CreateScalingRule API synchronously api document: https://help.aliyun.com/api/ess/createscalingrule.html
func (*Client) CreateScalingRuleWithCallback ¶
func (client *Client) CreateScalingRuleWithCallback(request *CreateScalingRuleRequest, callback func(response *CreateScalingRuleResponse, err error)) <-chan int
CreateScalingRuleWithCallback invokes the ess.CreateScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/createscalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) CreateScalingRuleWithChan ¶
func (client *Client) CreateScalingRuleWithChan(request *CreateScalingRuleRequest) (<-chan *CreateScalingRuleResponse, <-chan error)
CreateScalingRuleWithChan invokes the ess.CreateScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/createscalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteScalingRule ¶
func (client *Client) DeleteScalingRule(request *DeleteScalingRuleRequest) (response *DeleteScalingRuleResponse, err error)
DeleteScalingRule invokes the ess.DeleteScalingRule API synchronously api document: https://help.aliyun.com/api/ess/deletescalingrule.html
func (*Client) DeleteScalingRuleWithCallback ¶
func (client *Client) DeleteScalingRuleWithCallback(request *DeleteScalingRuleRequest, callback func(response *DeleteScalingRuleResponse, err error)) <-chan int
DeleteScalingRuleWithCallback invokes the ess.DeleteScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/deletescalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DeleteScalingRuleWithChan ¶
func (client *Client) DeleteScalingRuleWithChan(request *DeleteScalingRuleRequest) (<-chan *DeleteScalingRuleResponse, <-chan error)
DeleteScalingRuleWithChan invokes the ess.DeleteScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/deletescalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingConfigurations ¶
func (client *Client) DescribeScalingConfigurations(request *DescribeScalingConfigurationsRequest) (response *DescribeScalingConfigurationsResponse, err error)
DescribeScalingConfigurations invokes the ess.DescribeScalingConfigurations API synchronously api document: https://help.aliyun.com/api/ess/describescalingconfigurations.html
func (*Client) DescribeScalingConfigurationsWithCallback ¶
func (client *Client) DescribeScalingConfigurationsWithCallback(request *DescribeScalingConfigurationsRequest, callback func(response *DescribeScalingConfigurationsResponse, err error)) <-chan int
DescribeScalingConfigurationsWithCallback invokes the ess.DescribeScalingConfigurations API asynchronously api document: https://help.aliyun.com/api/ess/describescalingconfigurations.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingConfigurationsWithChan ¶
func (client *Client) DescribeScalingConfigurationsWithChan(request *DescribeScalingConfigurationsRequest) (<-chan *DescribeScalingConfigurationsResponse, <-chan error)
DescribeScalingConfigurationsWithChan invokes the ess.DescribeScalingConfigurations API asynchronously api document: https://help.aliyun.com/api/ess/describescalingconfigurations.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingGroups ¶
func (client *Client) DescribeScalingGroups(request *DescribeScalingGroupsRequest) (response *DescribeScalingGroupsResponse, err error)
DescribeScalingGroups invokes the ess.DescribeScalingGroups API synchronously api document: https://help.aliyun.com/api/ess/describescalinggroups.html
func (*Client) DescribeScalingGroupsWithCallback ¶
func (client *Client) DescribeScalingGroupsWithCallback(request *DescribeScalingGroupsRequest, callback func(response *DescribeScalingGroupsResponse, err error)) <-chan int
DescribeScalingGroupsWithCallback invokes the ess.DescribeScalingGroups API asynchronously api document: https://help.aliyun.com/api/ess/describescalinggroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingGroupsWithChan ¶
func (client *Client) DescribeScalingGroupsWithChan(request *DescribeScalingGroupsRequest) (<-chan *DescribeScalingGroupsResponse, <-chan error)
DescribeScalingGroupsWithChan invokes the ess.DescribeScalingGroups API asynchronously api document: https://help.aliyun.com/api/ess/describescalinggroups.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingInstances ¶
func (client *Client) DescribeScalingInstances(request *DescribeScalingInstancesRequest) (response *DescribeScalingInstancesResponse, err error)
DescribeScalingInstances invokes the ess.DescribeScalingInstances API synchronously api document: https://help.aliyun.com/api/ess/describescalinginstances.html
func (*Client) DescribeScalingInstancesWithCallback ¶
func (client *Client) DescribeScalingInstancesWithCallback(request *DescribeScalingInstancesRequest, callback func(response *DescribeScalingInstancesResponse, err error)) <-chan int
DescribeScalingInstancesWithCallback invokes the ess.DescribeScalingInstances API asynchronously api document: https://help.aliyun.com/api/ess/describescalinginstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingInstancesWithChan ¶
func (client *Client) DescribeScalingInstancesWithChan(request *DescribeScalingInstancesRequest) (<-chan *DescribeScalingInstancesResponse, <-chan error)
DescribeScalingInstancesWithChan invokes the ess.DescribeScalingInstances API asynchronously api document: https://help.aliyun.com/api/ess/describescalinginstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingRules ¶
func (client *Client) DescribeScalingRules(request *DescribeScalingRulesRequest) (response *DescribeScalingRulesResponse, err error)
DescribeScalingRules invokes the ess.DescribeScalingRules API synchronously api document: https://help.aliyun.com/api/ess/describescalingrules.html
func (*Client) DescribeScalingRulesWithCallback ¶
func (client *Client) DescribeScalingRulesWithCallback(request *DescribeScalingRulesRequest, callback func(response *DescribeScalingRulesResponse, err error)) <-chan int
DescribeScalingRulesWithCallback invokes the ess.DescribeScalingRules API asynchronously api document: https://help.aliyun.com/api/ess/describescalingrules.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) DescribeScalingRulesWithChan ¶
func (client *Client) DescribeScalingRulesWithChan(request *DescribeScalingRulesRequest) (<-chan *DescribeScalingRulesResponse, <-chan error)
DescribeScalingRulesWithChan invokes the ess.DescribeScalingRules API asynchronously api document: https://help.aliyun.com/api/ess/describescalingrules.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ExecuteScalingRule ¶
func (client *Client) ExecuteScalingRule(request *ExecuteScalingRuleRequest) (response *ExecuteScalingRuleResponse, err error)
ExecuteScalingRule invokes the ess.ExecuteScalingRule API synchronously api document: https://help.aliyun.com/api/ess/executescalingrule.html
func (*Client) ExecuteScalingRuleWithCallback ¶
func (client *Client) ExecuteScalingRuleWithCallback(request *ExecuteScalingRuleRequest, callback func(response *ExecuteScalingRuleResponse, err error)) <-chan int
ExecuteScalingRuleWithCallback invokes the ess.ExecuteScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/executescalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ExecuteScalingRuleWithChan ¶
func (client *Client) ExecuteScalingRuleWithChan(request *ExecuteScalingRuleRequest) (<-chan *ExecuteScalingRuleResponse, <-chan error)
ExecuteScalingRuleWithChan invokes the ess.ExecuteScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/executescalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyScalingGroup ¶
func (client *Client) ModifyScalingGroup(request *ModifyScalingGroupRequest) (response *ModifyScalingGroupResponse, err error)
ModifyScalingGroup invokes the ess.ModifyScalingGroup API synchronously api document: https://help.aliyun.com/api/ess/modifyscalinggroup.html
func (*Client) ModifyScalingGroupWithCallback ¶
func (client *Client) ModifyScalingGroupWithCallback(request *ModifyScalingGroupRequest, callback func(response *ModifyScalingGroupResponse, err error)) <-chan int
ModifyScalingGroupWithCallback invokes the ess.ModifyScalingGroup API asynchronously api document: https://help.aliyun.com/api/ess/modifyscalinggroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyScalingGroupWithChan ¶
func (client *Client) ModifyScalingGroupWithChan(request *ModifyScalingGroupRequest) (<-chan *ModifyScalingGroupResponse, <-chan error)
ModifyScalingGroupWithChan invokes the ess.ModifyScalingGroup API asynchronously api document: https://help.aliyun.com/api/ess/modifyscalinggroup.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyScalingRule ¶
func (client *Client) ModifyScalingRule(request *ModifyScalingRuleRequest) (response *ModifyScalingRuleResponse, err error)
ModifyScalingRule invokes the ess.ModifyScalingRule API synchronously api document: https://help.aliyun.com/api/ess/modifyscalingrule.html
func (*Client) ModifyScalingRuleWithCallback ¶
func (client *Client) ModifyScalingRuleWithCallback(request *ModifyScalingRuleRequest, callback func(response *ModifyScalingRuleResponse, err error)) <-chan int
ModifyScalingRuleWithCallback invokes the ess.ModifyScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/modifyscalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) ModifyScalingRuleWithChan ¶
func (client *Client) ModifyScalingRuleWithChan(request *ModifyScalingRuleRequest) (<-chan *ModifyScalingRuleResponse, <-chan error)
ModifyScalingRuleWithChan invokes the ess.ModifyScalingRule API asynchronously api document: https://help.aliyun.com/api/ess/modifyscalingrule.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RemoveInstances ¶
func (client *Client) RemoveInstances(request *RemoveInstancesRequest) (response *RemoveInstancesResponse, err error)
RemoveInstances invokes the ess.RemoveInstances API synchronously api document: https://help.aliyun.com/api/ess/removeinstances.html
func (*Client) RemoveInstancesWithCallback ¶
func (client *Client) RemoveInstancesWithCallback(request *RemoveInstancesRequest, callback func(response *RemoveInstancesResponse, err error)) <-chan int
RemoveInstancesWithCallback invokes the ess.RemoveInstances API asynchronously api document: https://help.aliyun.com/api/ess/removeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
func (*Client) RemoveInstancesWithChan ¶
func (client *Client) RemoveInstancesWithChan(request *RemoveInstancesRequest) (<-chan *RemoveInstancesResponse, <-chan error)
RemoveInstancesWithChan invokes the ess.RemoveInstances API asynchronously api document: https://help.aliyun.com/api/ess/removeinstances.html asynchronous document: https://help.aliyun.com/document_detail/66220.html
type CreateScalingRuleRequest ¶
type CreateScalingRuleRequest struct { *requests.RpcRequest ScalingRuleName string `position:"Query" name:"ScalingRuleName"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` AdjustmentValue requests.Integer `position:"Query" name:"AdjustmentValue"` ScalingGroupId string `position:"Query" name:"ScalingGroupId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` Cooldown requests.Integer `position:"Query" name:"Cooldown"` AdjustmentType string `position:"Query" name:"AdjustmentType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
CreateScalingRuleRequest is the request struct for api CreateScalingRule
func CreateCreateScalingRuleRequest ¶
func CreateCreateScalingRuleRequest() (request *CreateScalingRuleRequest)
CreateCreateScalingRuleRequest creates a request to invoke CreateScalingRule API
type CreateScalingRuleResponse ¶
type CreateScalingRuleResponse struct { *responses.BaseResponse ScalingRuleId string `json:"ScalingRuleId" xml:"ScalingRuleId"` ScalingRuleAri string `json:"ScalingRuleAri" xml:"ScalingRuleAri"` RequestId string `json:"RequestId" xml:"RequestId"` }
CreateScalingRuleResponse is the response struct for api CreateScalingRule
func CreateCreateScalingRuleResponse ¶
func CreateCreateScalingRuleResponse() (response *CreateScalingRuleResponse)
CreateCreateScalingRuleResponse creates a response to parse from CreateScalingRule response
type DBInstanceIds ¶
type DBInstanceIds struct {
DBInstanceId []string `json:"DBInstanceId" xml:"DBInstanceId"`
}
DBInstanceIds is a nested struct in ess response
type DataDisk ¶
type DataDisk struct { Size int `json:"Size" xml:"Size"` Category string `json:"Category" xml:"Category"` SnapshotId string `json:"SnapshotId" xml:"SnapshotId"` Device string `json:"Device" xml:"Device"` DeleteWithInstance bool `json:"DeleteWithInstance" xml:"DeleteWithInstance"` }
DataDisk is a nested struct in ess response
type DataDisks ¶
type DataDisks struct {
DataDisk []DataDisk `json:"DataDisk" xml:"DataDisk"`
}
DataDisks is a nested struct in ess response
type DeleteScalingRuleRequest ¶
type DeleteScalingRuleRequest struct { *requests.RpcRequest ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ScalingRuleId string `position:"Query" name:"ScalingRuleId"` }
DeleteScalingRuleRequest is the request struct for api DeleteScalingRule
func CreateDeleteScalingRuleRequest ¶
func CreateDeleteScalingRuleRequest() (request *DeleteScalingRuleRequest)
CreateDeleteScalingRuleRequest creates a request to invoke DeleteScalingRule API
type DeleteScalingRuleResponse ¶
type DeleteScalingRuleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
DeleteScalingRuleResponse is the response struct for api DeleteScalingRule
func CreateDeleteScalingRuleResponse ¶
func CreateDeleteScalingRuleResponse() (response *DeleteScalingRuleResponse)
CreateDeleteScalingRuleResponse creates a response to parse from DeleteScalingRule response
type DescribeScalingConfigurationsRequest ¶
type DescribeScalingConfigurationsRequest struct { *requests.RpcRequest ScalingConfigurationId6 string `position:"Query" name:"ScalingConfigurationId.6"` ScalingConfigurationId7 string `position:"Query" name:"ScalingConfigurationId.7"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ScalingConfigurationId4 string `position:"Query" name:"ScalingConfigurationId.4"` ScalingConfigurationId5 string `position:"Query" name:"ScalingConfigurationId.5"` ScalingGroupId string `position:"Query" name:"ScalingGroupId"` ScalingConfigurationId8 string `position:"Query" name:"ScalingConfigurationId.8"` ScalingConfigurationId9 string `position:"Query" name:"ScalingConfigurationId.9"` ScalingConfigurationId10 string `position:"Query" name:"ScalingConfigurationId.10"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` ScalingConfigurationName2 string `position:"Query" name:"ScalingConfigurationName.2"` ScalingConfigurationName3 string `position:"Query" name:"ScalingConfigurationName.3"` ScalingConfigurationName1 string `position:"Query" name:"ScalingConfigurationName.1"` PageSize requests.Integer `position:"Query" name:"PageSize"` ScalingConfigurationId2 string `position:"Query" name:"ScalingConfigurationId.2"` ScalingConfigurationId3 string `position:"Query" name:"ScalingConfigurationId.3"` ScalingConfigurationId1 string `position:"Query" name:"ScalingConfigurationId.1"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` ScalingConfigurationName6 string `position:"Query" name:"ScalingConfigurationName.6"` ScalingConfigurationName7 string `position:"Query" name:"ScalingConfigurationName.7"` ScalingConfigurationName4 string `position:"Query" name:"ScalingConfigurationName.4"` ScalingConfigurationName5 string `position:"Query" name:"ScalingConfigurationName.5"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ScalingConfigurationName8 string `position:"Query" name:"ScalingConfigurationName.8"` ScalingConfigurationName9 string `position:"Query" name:"ScalingConfigurationName.9"` ScalingConfigurationName10 string `position:"Query" name:"ScalingConfigurationName.10"` }
DescribeScalingConfigurationsRequest is the request struct for api DescribeScalingConfigurations
func CreateDescribeScalingConfigurationsRequest ¶
func CreateDescribeScalingConfigurationsRequest() (request *DescribeScalingConfigurationsRequest)
CreateDescribeScalingConfigurationsRequest creates a request to invoke DescribeScalingConfigurations API
type DescribeScalingConfigurationsResponse ¶
type DescribeScalingConfigurationsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` ScalingConfigurations ScalingConfigurations `json:"ScalingConfigurations" xml:"ScalingConfigurations"` }
DescribeScalingConfigurationsResponse is the response struct for api DescribeScalingConfigurations
func CreateDescribeScalingConfigurationsResponse ¶
func CreateDescribeScalingConfigurationsResponse() (response *DescribeScalingConfigurationsResponse)
CreateDescribeScalingConfigurationsResponse creates a response to parse from DescribeScalingConfigurations response
type DescribeScalingGroupsRequest ¶
type DescribeScalingGroupsRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ScalingGroupId10 string `position:"Query" name:"ScalingGroupId.10"` ScalingGroupId12 string `position:"Query" name:"ScalingGroupId.12"` ScalingGroupId13 string `position:"Query" name:"ScalingGroupId.13"` ScalingGroupId14 string `position:"Query" name:"ScalingGroupId.14"` ScalingGroupId15 string `position:"Query" name:"ScalingGroupId.15"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` PageSize requests.Integer `position:"Query" name:"PageSize"` ScalingGroupName20 string `position:"Query" name:"ScalingGroupName.20"` ScalingGroupName19 string `position:"Query" name:"ScalingGroupName.19"` ScalingGroupId20 string `position:"Query" name:"ScalingGroupId.20"` ScalingGroupName18 string `position:"Query" name:"ScalingGroupName.18"` ScalingGroupName17 string `position:"Query" name:"ScalingGroupName.17"` ScalingGroupName16 string `position:"Query" name:"ScalingGroupName.16"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ScalingGroupName string `position:"Query" name:"ScalingGroupName"` OwnerAccount string `position:"Query" name:"OwnerAccount"` ScalingGroupName1 string `position:"Query" name:"ScalingGroupName.1"` ScalingGroupName2 string `position:"Query" name:"ScalingGroupName.2"` ScalingGroupId2 string `position:"Query" name:"ScalingGroupId.2"` ScalingGroupId1 string `position:"Query" name:"ScalingGroupId.1"` ScalingGroupId6 string `position:"Query" name:"ScalingGroupId.6"` ScalingGroupId16 string `position:"Query" name:"ScalingGroupId.16"` ScalingGroupName7 string `position:"Query" name:"ScalingGroupName.7"` ScalingGroupName11 string `position:"Query" name:"ScalingGroupName.11"` ScalingGroupId5 string `position:"Query" name:"ScalingGroupId.5"` ScalingGroupId17 string `position:"Query" name:"ScalingGroupId.17"` ScalingGroupName8 string `position:"Query" name:"ScalingGroupName.8"` ScalingGroupName10 string `position:"Query" name:"ScalingGroupName.10"` ScalingGroupId4 string `position:"Query" name:"ScalingGroupId.4"` ScalingGroupId18 string `position:"Query" name:"ScalingGroupId.18"` ScalingGroupName9 string `position:"Query" name:"ScalingGroupName.9"` ScalingGroupId3 string `position:"Query" name:"ScalingGroupId.3"` ScalingGroupId19 string `position:"Query" name:"ScalingGroupId.19"` ScalingGroupName3 string `position:"Query" name:"ScalingGroupName.3"` ScalingGroupName15 string `position:"Query" name:"ScalingGroupName.15"` ScalingGroupId9 string `position:"Query" name:"ScalingGroupId.9"` ScalingGroupName4 string `position:"Query" name:"ScalingGroupName.4"` ScalingGroupName14 string `position:"Query" name:"ScalingGroupName.14"` ScalingGroupId8 string `position:"Query" name:"ScalingGroupId.8"` ScalingGroupName5 string `position:"Query" name:"ScalingGroupName.5"` ScalingGroupName13 string `position:"Query" name:"ScalingGroupName.13"` ScalingGroupId7 string `position:"Query" name:"ScalingGroupId.7"` ScalingGroupName6 string `position:"Query" name:"ScalingGroupName.6"` ScalingGroupName12 string `position:"Query" name:"ScalingGroupName.12"` }
DescribeScalingGroupsRequest is the request struct for api DescribeScalingGroups
func CreateDescribeScalingGroupsRequest ¶
func CreateDescribeScalingGroupsRequest() (request *DescribeScalingGroupsRequest)
CreateDescribeScalingGroupsRequest creates a request to invoke DescribeScalingGroups API
type DescribeScalingGroupsResponse ¶
type DescribeScalingGroupsResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` ScalingGroups ScalingGroups `json:"ScalingGroups" xml:"ScalingGroups"` }
DescribeScalingGroupsResponse is the response struct for api DescribeScalingGroups
func CreateDescribeScalingGroupsResponse ¶
func CreateDescribeScalingGroupsResponse() (response *DescribeScalingGroupsResponse)
CreateDescribeScalingGroupsResponse creates a response to parse from DescribeScalingGroups response
type DescribeScalingInstancesRequest ¶
type DescribeScalingInstancesRequest struct { *requests.RpcRequest InstanceId10 string `position:"Query" name:"InstanceId.10"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId12 string `position:"Query" name:"InstanceId.12"` InstanceId11 string `position:"Query" name:"InstanceId.11"` ScalingGroupId string `position:"Query" name:"ScalingGroupId"` LifecycleState string `position:"Query" name:"LifecycleState"` CreationType string `position:"Query" name:"CreationType"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` PageSize requests.Integer `position:"Query" name:"PageSize"` InstanceId20 string `position:"Query" name:"InstanceId.20"` InstanceId1 string `position:"Query" name:"InstanceId.1"` InstanceId3 string `position:"Query" name:"InstanceId.3"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` InstanceId2 string `position:"Query" name:"InstanceId.2"` InstanceId5 string `position:"Query" name:"InstanceId.5"` InstanceId4 string `position:"Query" name:"InstanceId.4"` OwnerAccount string `position:"Query" name:"OwnerAccount"` InstanceId7 string `position:"Query" name:"InstanceId.7"` InstanceId6 string `position:"Query" name:"InstanceId.6"` InstanceId9 string `position:"Query" name:"InstanceId.9"` InstanceId8 string `position:"Query" name:"InstanceId.8"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ScalingConfigurationId string `position:"Query" name:"ScalingConfigurationId"` HealthStatus string `position:"Query" name:"HealthStatus"` InstanceId18 string `position:"Query" name:"InstanceId.18"` InstanceId17 string `position:"Query" name:"InstanceId.17"` InstanceId19 string `position:"Query" name:"InstanceId.19"` InstanceId14 string `position:"Query" name:"InstanceId.14"` InstanceId13 string `position:"Query" name:"InstanceId.13"` InstanceId16 string `position:"Query" name:"InstanceId.16"` InstanceId15 string `position:"Query" name:"InstanceId.15"` }
DescribeScalingInstancesRequest is the request struct for api DescribeScalingInstances
func CreateDescribeScalingInstancesRequest ¶
func CreateDescribeScalingInstancesRequest() (request *DescribeScalingInstancesRequest)
CreateDescribeScalingInstancesRequest creates a request to invoke DescribeScalingInstances API
type DescribeScalingInstancesResponse ¶
type DescribeScalingInstancesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` ScalingInstances ScalingInstances `json:"ScalingInstances" xml:"ScalingInstances"` }
DescribeScalingInstancesResponse is the response struct for api DescribeScalingInstances
func CreateDescribeScalingInstancesResponse ¶
func CreateDescribeScalingInstancesResponse() (response *DescribeScalingInstancesResponse)
CreateDescribeScalingInstancesResponse creates a response to parse from DescribeScalingInstances response
type DescribeScalingRulesRequest ¶
type DescribeScalingRulesRequest struct { *requests.RpcRequest ScalingRuleName1 string `position:"Query" name:"ScalingRuleName.1"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ScalingRuleName2 string `position:"Query" name:"ScalingRuleName.2"` ScalingRuleName3 string `position:"Query" name:"ScalingRuleName.3"` ScalingRuleName4 string `position:"Query" name:"ScalingRuleName.4"` ScalingRuleName5 string `position:"Query" name:"ScalingRuleName.5"` ScalingGroupId string `position:"Query" name:"ScalingGroupId"` ScalingRuleName6 string `position:"Query" name:"ScalingRuleName.6"` ScalingRuleName7 string `position:"Query" name:"ScalingRuleName.7"` ScalingRuleName8 string `position:"Query" name:"ScalingRuleName.8"` ScalingRuleAri9 string `position:"Query" name:"ScalingRuleAri.9"` ScalingRuleName9 string `position:"Query" name:"ScalingRuleName.9"` PageNumber requests.Integer `position:"Query" name:"PageNumber"` PageSize requests.Integer `position:"Query" name:"PageSize"` ScalingRuleId10 string `position:"Query" name:"ScalingRuleId.10"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ScalingRuleAri1 string `position:"Query" name:"ScalingRuleAri.1"` ScalingRuleAri2 string `position:"Query" name:"ScalingRuleAri.2"` ScalingRuleName10 string `position:"Query" name:"ScalingRuleName.10"` ScalingRuleAri3 string `position:"Query" name:"ScalingRuleAri.3"` ScalingRuleAri4 string `position:"Query" name:"ScalingRuleAri.4"` ScalingRuleId8 string `position:"Query" name:"ScalingRuleId.8"` ScalingRuleAri5 string `position:"Query" name:"ScalingRuleAri.5"` ScalingRuleId9 string `position:"Query" name:"ScalingRuleId.9"` ScalingRuleAri6 string `position:"Query" name:"ScalingRuleAri.6"` ScalingRuleAri7 string `position:"Query" name:"ScalingRuleAri.7"` ScalingRuleAri10 string `position:"Query" name:"ScalingRuleAri.10"` ScalingRuleAri8 string `position:"Query" name:"ScalingRuleAri.8"` ScalingRuleId4 string `position:"Query" name:"ScalingRuleId.4"` ScalingRuleId5 string `position:"Query" name:"ScalingRuleId.5"` ScalingRuleId6 string `position:"Query" name:"ScalingRuleId.6"` ScalingRuleId7 string `position:"Query" name:"ScalingRuleId.7"` ScalingRuleId1 string `position:"Query" name:"ScalingRuleId.1"` ScalingRuleId2 string `position:"Query" name:"ScalingRuleId.2"` ScalingRuleId3 string `position:"Query" name:"ScalingRuleId.3"` }
DescribeScalingRulesRequest is the request struct for api DescribeScalingRules
func CreateDescribeScalingRulesRequest ¶
func CreateDescribeScalingRulesRequest() (request *DescribeScalingRulesRequest)
CreateDescribeScalingRulesRequest creates a request to invoke DescribeScalingRules API
type DescribeScalingRulesResponse ¶
type DescribeScalingRulesResponse struct { *responses.BaseResponse TotalCount int `json:"TotalCount" xml:"TotalCount"` PageNumber int `json:"PageNumber" xml:"PageNumber"` PageSize int `json:"PageSize" xml:"PageSize"` RequestId string `json:"RequestId" xml:"RequestId"` ScalingRules ScalingRules `json:"ScalingRules" xml:"ScalingRules"` }
DescribeScalingRulesResponse is the response struct for api DescribeScalingRules
func CreateDescribeScalingRulesResponse ¶
func CreateDescribeScalingRulesResponse() (response *DescribeScalingRulesResponse)
CreateDescribeScalingRulesResponse creates a response to parse from DescribeScalingRules response
type ExecuteScalingRuleRequest ¶
type ExecuteScalingRuleRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ScalingRuleAri string `position:"Query" name:"ScalingRuleAri"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ClientToken string `position:"Query" name:"ClientToken"` OwnerAccount string `position:"Query" name:"OwnerAccount"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` }
ExecuteScalingRuleRequest is the request struct for api ExecuteScalingRule
func CreateExecuteScalingRuleRequest ¶
func CreateExecuteScalingRuleRequest() (request *ExecuteScalingRuleRequest)
CreateExecuteScalingRuleRequest creates a request to invoke ExecuteScalingRule API
type ExecuteScalingRuleResponse ¶
type ExecuteScalingRuleResponse struct { *responses.BaseResponse ScalingActivityId string `json:"ScalingActivityId" xml:"ScalingActivityId"` RequestId string `json:"RequestId" xml:"RequestId"` }
ExecuteScalingRuleResponse is the response struct for api ExecuteScalingRule
func CreateExecuteScalingRuleResponse ¶
func CreateExecuteScalingRuleResponse() (response *ExecuteScalingRuleResponse)
CreateExecuteScalingRuleResponse creates a response to parse from ExecuteScalingRule response
type InstanceTypes ¶
type InstanceTypes struct {
InstanceType []string `json:"InstanceType" xml:"InstanceType"`
}
InstanceTypes is a nested struct in ess response
type LoadBalancerIds ¶
type LoadBalancerIds struct {
LoadBalancerId []string `json:"LoadBalancerId" xml:"LoadBalancerId"`
}
LoadBalancerIds is a nested struct in ess response
type ModifyScalingGroupRequest ¶
type ModifyScalingGroupRequest struct { *requests.RpcRequest ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` HealthCheckType string `position:"Query" name:"HealthCheckType"` LaunchTemplateId string `position:"Query" name:"LaunchTemplateId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` ScalingGroupName string `position:"Query" name:"ScalingGroupName"` ScalingGroupId string `position:"Query" name:"ScalingGroupId"` OwnerAccount string `position:"Query" name:"OwnerAccount"` ActiveScalingConfigurationId string `position:"Query" name:"ActiveScalingConfigurationId"` MinSize requests.Integer `position:"Query" name:"MinSize"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` LaunchTemplateVersion string `position:"Query" name:"LaunchTemplateVersion"` MaxSize requests.Integer `position:"Query" name:"MaxSize"` DefaultCooldown requests.Integer `position:"Query" name:"DefaultCooldown"` RemovalPolicy1 string `position:"Query" name:"RemovalPolicy.1"` RemovalPolicy2 string `position:"Query" name:"RemovalPolicy.2"` }
ModifyScalingGroupRequest is the request struct for api ModifyScalingGroup
func CreateModifyScalingGroupRequest ¶
func CreateModifyScalingGroupRequest() (request *ModifyScalingGroupRequest)
CreateModifyScalingGroupRequest creates a request to invoke ModifyScalingGroup API
type ModifyScalingGroupResponse ¶
type ModifyScalingGroupResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyScalingGroupResponse is the response struct for api ModifyScalingGroup
func CreateModifyScalingGroupResponse ¶
func CreateModifyScalingGroupResponse() (response *ModifyScalingGroupResponse)
CreateModifyScalingGroupResponse creates a response to parse from ModifyScalingGroup response
type ModifyScalingRuleRequest ¶
type ModifyScalingRuleRequest struct { *requests.RpcRequest ScalingRuleName string `position:"Query" name:"ScalingRuleName"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` AdjustmentValue requests.Integer `position:"Query" name:"AdjustmentValue"` OwnerAccount string `position:"Query" name:"OwnerAccount"` Cooldown requests.Integer `position:"Query" name:"Cooldown"` AdjustmentType string `position:"Query" name:"AdjustmentType"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` ScalingRuleId string `position:"Query" name:"ScalingRuleId"` }
ModifyScalingRuleRequest is the request struct for api ModifyScalingRule
func CreateModifyScalingRuleRequest ¶
func CreateModifyScalingRuleRequest() (request *ModifyScalingRuleRequest)
CreateModifyScalingRuleRequest creates a request to invoke ModifyScalingRule API
type ModifyScalingRuleResponse ¶
type ModifyScalingRuleResponse struct { *responses.BaseResponse RequestId string `json:"RequestId" xml:"RequestId"` }
ModifyScalingRuleResponse is the response struct for api ModifyScalingRule
func CreateModifyScalingRuleResponse ¶
func CreateModifyScalingRuleResponse() (response *ModifyScalingRuleResponse)
CreateModifyScalingRuleResponse creates a response to parse from ModifyScalingRule response
type RemovalPolicies ¶
type RemovalPolicies struct {
RemovalPolicy []string `json:"RemovalPolicy" xml:"RemovalPolicy"`
}
RemovalPolicies is a nested struct in ess response
type RemoveInstancesRequest ¶
type RemoveInstancesRequest struct { *requests.RpcRequest InstanceId10 string `position:"Query" name:"InstanceId.10"` ResourceOwnerId requests.Integer `position:"Query" name:"ResourceOwnerId"` InstanceId12 string `position:"Query" name:"InstanceId.12"` InstanceId11 string `position:"Query" name:"InstanceId.11"` ScalingGroupId string `position:"Query" name:"ScalingGroupId"` InstanceId20 string `position:"Query" name:"InstanceId.20"` InstanceId1 string `position:"Query" name:"InstanceId.1"` InstanceId3 string `position:"Query" name:"InstanceId.3"` ResourceOwnerAccount string `position:"Query" name:"ResourceOwnerAccount"` InstanceId2 string `position:"Query" name:"InstanceId.2"` InstanceId5 string `position:"Query" name:"InstanceId.5"` InstanceId4 string `position:"Query" name:"InstanceId.4"` OwnerAccount string `position:"Query" name:"OwnerAccount"` InstanceId7 string `position:"Query" name:"InstanceId.7"` InstanceId6 string `position:"Query" name:"InstanceId.6"` InstanceId9 string `position:"Query" name:"InstanceId.9"` InstanceId8 string `position:"Query" name:"InstanceId.8"` OwnerId requests.Integer `position:"Query" name:"OwnerId"` InstanceId18 string `position:"Query" name:"InstanceId.18"` InstanceId17 string `position:"Query" name:"InstanceId.17"` InstanceId19 string `position:"Query" name:"InstanceId.19"` InstanceId14 string `position:"Query" name:"InstanceId.14"` InstanceId13 string `position:"Query" name:"InstanceId.13"` InstanceId16 string `position:"Query" name:"InstanceId.16"` InstanceId15 string `position:"Query" name:"InstanceId.15"` }
RemoveInstancesRequest is the request struct for api RemoveInstances
func CreateRemoveInstancesRequest ¶
func CreateRemoveInstancesRequest() (request *RemoveInstancesRequest)
CreateRemoveInstancesRequest creates a request to invoke RemoveInstances API
type RemoveInstancesResponse ¶
type RemoveInstancesResponse struct { *responses.BaseResponse ScalingActivityId string `json:"ScalingActivityId" xml:"ScalingActivityId"` RequestId string `json:"RequestId" xml:"RequestId"` }
RemoveInstancesResponse is the response struct for api RemoveInstances
func CreateRemoveInstancesResponse ¶
func CreateRemoveInstancesResponse() (response *RemoveInstancesResponse)
CreateRemoveInstancesResponse creates a response to parse from RemoveInstances response
type ScalingConfiguration ¶
type ScalingConfiguration struct { ScalingConfigurationId string `json:"ScalingConfigurationId" xml:"ScalingConfigurationId"` ScalingConfigurationName string `json:"ScalingConfigurationName" xml:"ScalingConfigurationName"` ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"` InstanceName string `json:"InstanceName" xml:"InstanceName"` ImageId string `json:"ImageId" xml:"ImageId"` ImageName string `json:"ImageName" xml:"ImageName"` HostName string `json:"HostName" xml:"HostName"` InstanceType string `json:"InstanceType" xml:"InstanceType"` InstanceGeneration string `json:"InstanceGeneration" xml:"InstanceGeneration"` SecurityGroupId string `json:"SecurityGroupId" xml:"SecurityGroupId"` IoOptimized string `json:"IoOptimized" xml:"IoOptimized"` InternetChargeType string `json:"InternetChargeType" xml:"InternetChargeType"` InternetMaxBandwidthIn int `json:"InternetMaxBandwidthIn" xml:"InternetMaxBandwidthIn"` InternetMaxBandwidthOut int `json:"InternetMaxBandwidthOut" xml:"InternetMaxBandwidthOut"` SystemDiskCategory string `json:"SystemDiskCategory" xml:"SystemDiskCategory"` SystemDiskSize int `json:"SystemDiskSize" xml:"SystemDiskSize"` LifecycleState string `json:"LifecycleState" xml:"LifecycleState"` CreationTime string `json:"CreationTime" xml:"CreationTime"` LoadBalancerWeight int `json:"LoadBalancerWeight" xml:"LoadBalancerWeight"` UserData string `json:"UserData" xml:"UserData"` KeyPairName string `json:"KeyPairName" xml:"KeyPairName"` RamRoleName string `json:"RamRoleName" xml:"RamRoleName"` DeploymentSetId string `json:"DeploymentSetId" xml:"DeploymentSetId"` SecurityEnhancementStrategy string `json:"SecurityEnhancementStrategy" xml:"SecurityEnhancementStrategy"` SpotStrategy string `json:"SpotStrategy" xml:"SpotStrategy"` PasswordInherit bool `json:"PasswordInherit" xml:"PasswordInherit"` InstanceTypes InstanceTypes `json:"InstanceTypes" xml:"InstanceTypes"` DataDisks DataDisks `json:"DataDisks" xml:"DataDisks"` Tags Tags `json:"Tags" xml:"Tags"` SpotPriceLimit SpotPriceLimit `json:"SpotPriceLimit" xml:"SpotPriceLimit"` }
ScalingConfiguration is a nested struct in ess response
type ScalingConfigurations ¶
type ScalingConfigurations struct {
ScalingConfiguration []ScalingConfiguration `json:"ScalingConfiguration" xml:"ScalingConfiguration"`
}
ScalingConfigurations is a nested struct in ess response
type ScalingGroup ¶
type ScalingGroup struct { DefaultCooldown int `json:"DefaultCooldown" xml:"DefaultCooldown"` MaxSize int `json:"MaxSize" xml:"MaxSize"` PendingWaitCapacity int `json:"PendingWaitCapacity" xml:"PendingWaitCapacity"` RemovingWaitCapacity int `json:"RemovingWaitCapacity" xml:"RemovingWaitCapacity"` PendingCapacity int `json:"PendingCapacity" xml:"PendingCapacity"` RemovingCapacity int `json:"RemovingCapacity" xml:"RemovingCapacity"` ScalingGroupName string `json:"ScalingGroupName" xml:"ScalingGroupName"` ActiveCapacity int `json:"ActiveCapacity" xml:"ActiveCapacity"` StandbyCapacity int `json:"StandbyCapacity" xml:"StandbyCapacity"` ProtectedCapacity int `json:"ProtectedCapacity" xml:"ProtectedCapacity"` ActiveScalingConfigurationId string `json:"ActiveScalingConfigurationId" xml:"ActiveScalingConfigurationId"` LaunchTemplateId string `json:"LaunchTemplateId" xml:"LaunchTemplateId"` LaunchTemplateVersion string `json:"LaunchTemplateVersion" xml:"LaunchTemplateVersion"` ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"` RegionId string `json:"RegionId" xml:"RegionId"` TotalCapacity int `json:"TotalCapacity" xml:"TotalCapacity"` MinSize int `json:"MinSize" xml:"MinSize"` LifecycleState string `json:"LifecycleState" xml:"LifecycleState"` CreationTime string `json:"CreationTime" xml:"CreationTime"` ModificationTime string `json:"ModificationTime" xml:"ModificationTime"` VpcId string `json:"VpcId" xml:"VpcId"` VSwitchId string `json:"VSwitchId" xml:"VSwitchId"` MultiAZPolicy string `json:"MultiAZPolicy" xml:"MultiAZPolicy"` HealthCheckType string `json:"HealthCheckType" xml:"HealthCheckType"` VSwitchIds VSwitchIds `json:"VSwitchIds" xml:"VSwitchIds"` RemovalPolicies RemovalPolicies `json:"RemovalPolicies" xml:"RemovalPolicies"` DBInstanceIds DBInstanceIds `json:"DBInstanceIds" xml:"DBInstanceIds"` LoadBalancerIds LoadBalancerIds `json:"LoadBalancerIds" xml:"LoadBalancerIds"` }
ScalingGroup is a nested struct in ess response
type ScalingGroups ¶
type ScalingGroups struct {
ScalingGroup []ScalingGroup `json:"ScalingGroup" xml:"ScalingGroup"`
}
ScalingGroups is a nested struct in ess response
type ScalingInstance ¶
type ScalingInstance struct { InstanceId string `json:"InstanceId" xml:"InstanceId"` ScalingConfigurationId string `json:"ScalingConfigurationId" xml:"ScalingConfigurationId"` ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"` HealthStatus string `json:"HealthStatus" xml:"HealthStatus"` LoadBalancerWeight int `json:"LoadBalancerWeight" xml:"LoadBalancerWeight"` LifecycleState string `json:"LifecycleState" xml:"LifecycleState"` CreationTime string `json:"CreationTime" xml:"CreationTime"` CreationType string `json:"CreationType" xml:"CreationType"` }
ScalingInstance is a nested struct in ess response
type ScalingInstances ¶
type ScalingInstances struct {
ScalingInstance []ScalingInstance `json:"ScalingInstance" xml:"ScalingInstance"`
}
ScalingInstances is a nested struct in ess response
type ScalingRule ¶
type ScalingRule struct { ScalingRuleId string `json:"ScalingRuleId" xml:"ScalingRuleId"` ScalingGroupId string `json:"ScalingGroupId" xml:"ScalingGroupId"` ScalingRuleName string `json:"ScalingRuleName" xml:"ScalingRuleName"` Cooldown int `json:"Cooldown" xml:"Cooldown"` AdjustmentType string `json:"AdjustmentType" xml:"AdjustmentType"` AdjustmentValue int `json:"AdjustmentValue" xml:"AdjustmentValue"` MinSize int `json:"MinSize" xml:"MinSize"` MaxSize int `json:"MaxSize" xml:"MaxSize"` ScalingRuleAri string `json:"ScalingRuleAri" xml:"ScalingRuleAri"` }
ScalingRule is a nested struct in ess response
type ScalingRules ¶
type ScalingRules struct {
ScalingRule []ScalingRule `json:"ScalingRule" xml:"ScalingRule"`
}
ScalingRules is a nested struct in ess response
type SpotPriceLimit ¶
type SpotPriceLimit struct {
SpotPriceModel []SpotPriceModel `json:"SpotPriceModel" xml:"SpotPriceModel"`
}
SpotPriceLimit is a nested struct in ess response
type SpotPriceModel ¶
type SpotPriceModel struct { InstanceType string `json:"InstanceType" xml:"InstanceType"` PriceLimit float64 `json:"PriceLimit" xml:"PriceLimit"` }
SpotPriceModel is a nested struct in ess response
type Tags ¶
type Tags struct {
Tag []Tag `json:"Tag" xml:"Tag"`
}
Tags is a nested struct in ess response
type VSwitchIds ¶
type VSwitchIds struct {
VSwitchId []string `json:"VSwitchId" xml:"VSwitchId"`
}
VSwitchIds is a nested struct in ess response