ess

package
v0.0.0-...-ce01f02 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	sdk.Client
}

Client is the sdk client struct, each func corresponds to an OpenAPI

func NewClient

func NewClient() (client *Client, err error)

NewClient creates a sdk client with environment variables

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

func NewClientWithEcsRamRole(regionId string, roleName string) (client *Client, err error)

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 NewClientWithRRSA

func NewClientWithRRSA(regionId, roleARN, oidcProviderARN, oidcTokenFilePath, roleSessionName string) (client *Client, err error)

NewClientWithRRSA is a shortcut to create sdk client with RRSA

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

func (*Client) DescribeScalingGroupsWithCallback

func (client *Client) DescribeScalingGroupsWithCallback(request *DescribeScalingGroupsRequest, callback func(response *DescribeScalingGroupsResponse, err error)) <-chan int

DescribeScalingGroupsWithCallback invokes the ess.DescribeScalingGroups API asynchronously

func (*Client) DescribeScalingGroupsWithChan

func (client *Client) DescribeScalingGroupsWithChan(request *DescribeScalingGroupsRequest) (<-chan *DescribeScalingGroupsResponse, <-chan error)

DescribeScalingGroupsWithChan invokes the ess.DescribeScalingGroups API asynchronously

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

func (*Client) ScaleWithAdjustment

func (client *Client) ScaleWithAdjustment(request *ScaleWithAdjustmentRequest) (response *ScaleWithAdjustmentResponse, err error)

ScaleWithAdjustment invokes the ess.ScaleWithAdjustment API synchronously

func (*Client) ScaleWithAdjustmentWithCallback

func (client *Client) ScaleWithAdjustmentWithCallback(request *ScaleWithAdjustmentRequest, callback func(response *ScaleWithAdjustmentResponse, err error)) <-chan int

ScaleWithAdjustmentWithCallback invokes the ess.ScaleWithAdjustment API asynchronously

func (*Client) ScaleWithAdjustmentWithChan

func (client *Client) ScaleWithAdjustmentWithChan(request *ScaleWithAdjustmentRequest) (<-chan *ScaleWithAdjustmentResponse, <-chan error)

ScaleWithAdjustmentWithChan invokes the ess.ScaleWithAdjustment API asynchronously

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 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"`
	ResourceGroupId      string           `position:"Query" name:"ResourceGroupId"`
	GroupType            string           `position:"Query" name:"GroupType"`
	OwnerId              requests.Integer `position:"Query" name:"OwnerId"`
	ScalingGroupId       *[]string        `position:"Query" name:"ScalingGroupId"  type:"Repeated"`
	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"`
	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"`
	ScalingGroupName7    string           `position:"Query" name:"ScalingGroupName.7"`
	ScalingGroupName11   string           `position:"Query" name:"ScalingGroupName.11"`
	ScalingGroupName8    string           `position:"Query" name:"ScalingGroupName.8"`
	ScalingGroupName10   string           `position:"Query" name:"ScalingGroupName.10"`
	ScalingGroupName9    string           `position:"Query" name:"ScalingGroupName.9"`
	ScalingGroupName3    string           `position:"Query" name:"ScalingGroupName.3"`
	ScalingGroupName15   string           `position:"Query" name:"ScalingGroupName.15"`
	ScalingGroupName4    string           `position:"Query" name:"ScalingGroupName.4"`
	ScalingGroupName14   string           `position:"Query" name:"ScalingGroupName.14"`
	ScalingGroupName5    string           `position:"Query" name:"ScalingGroupName.5"`
	ScalingGroupName13   string           `position:"Query" name:"ScalingGroupName.13"`
	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
	RequestId     string        `json:"RequestId" xml:"RequestId"`
	PageNumber    int           `json:"PageNumber" xml:"PageNumber"`
	PageSize      int           `json:"PageSize" xml:"PageSize"`
	TotalCount    int           `json:"TotalCount" xml:"TotalCount"`
	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 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 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 ScaleWithAdjustmentAllocation

type ScaleWithAdjustmentAllocation struct {
	VSwitchId *[]string `name:"VSwitchId" type:"Repeated"`
	Count     string    `name:"Count"`
}

ScaleWithAdjustmentAllocation is a repeated param struct in ScaleWithAdjustmentRequest

type ScaleWithAdjustmentLifecycleHookContext

type ScaleWithAdjustmentLifecycleHookContext struct {
	DisableLifecycleHook    string    `name:"DisableLifecycleHook"`
	IgnoredLifecycleHookIds *[]string `name:"IgnoredLifecycleHookIds" type:"Repeated"`
}

ScaleWithAdjustmentLifecycleHookContext is a repeated param struct in ScaleWithAdjustmentRequest

type ScaleWithAdjustmentOverrides

type ScaleWithAdjustmentOverrides struct {
	Memory            string                                               `name:"Memory"`
	ContainerOverride *[]ScaleWithAdjustmentOverridesContainerOverrideItem `name:"ContainerOverride" type:"Repeated"`
	Cpu               string                                               `name:"Cpu"`
}

ScaleWithAdjustmentOverrides is a repeated param struct in ScaleWithAdjustmentRequest

type ScaleWithAdjustmentOverridesContainerOverrideItem

type ScaleWithAdjustmentOverridesContainerOverrideItem struct {
	Memory         string                                                                 `name:"Memory"`
	Arg            *[]string                                                              `name:"Arg" type:"Repeated"`
	EnvironmentVar *[]ScaleWithAdjustmentOverridesContainerOverrideItemEnvironmentVarItem `name:"EnvironmentVar" type:"Repeated"`
	Name           string                                                                 `name:"Name"`
	Cpu            string                                                                 `name:"Cpu"`
	Command        *[]string                                                              `name:"Command" type:"Repeated"`
}

ScaleWithAdjustmentOverridesContainerOverrideItem is a repeated param struct in ScaleWithAdjustmentRequest

type ScaleWithAdjustmentOverridesContainerOverrideItemEnvironmentVarItem

type ScaleWithAdjustmentOverridesContainerOverrideItemEnvironmentVarItem struct {
	Value string `name:"Value"`
	Key   string `name:"Key"`
}

ScaleWithAdjustmentOverridesContainerOverrideItemEnvironmentVarItem is a repeated param struct in ScaleWithAdjustmentRequest

type ScaleWithAdjustmentRequest

type ScaleWithAdjustmentRequest struct {
	*requests.RpcRequest
	ClientToken            string                                  `position:"Query" name:"ClientToken"`
	ScalingGroupId         string                                  `position:"Query" name:"ScalingGroupId"`
	LifecycleHookContext   ScaleWithAdjustmentLifecycleHookContext `position:"Query" name:"LifecycleHookContext"  type:"Struct"`
	InstanceType           *[]string                               `position:"Query" name:"InstanceType"  type:"Repeated"`
	SyncActivity           requests.Boolean                        `position:"Query" name:"SyncActivity"`
	Allocation             *[]ScaleWithAdjustmentAllocation        `position:"Query" name:"Allocation"  type:"Repeated"`
	AdjustmentValue        requests.Integer                        `position:"Query" name:"AdjustmentValue"`
	ResourceOwnerAccount   string                                  `position:"Query" name:"ResourceOwnerAccount"`
	ActivityMetadata       string                                  `position:"Query" name:"ActivityMetadata"`
	AdjustmentType         string                                  `position:"Query" name:"AdjustmentType"`
	ParallelTask           requests.Boolean                        `position:"Query" name:"ParallelTask"`
	Overrides              ScaleWithAdjustmentOverrides            `position:"Query" name:"Overrides"  type:"Struct"`
	OwnerId                requests.Integer                        `position:"Query" name:"OwnerId"`
	SpotStrategy           string                                  `position:"Query" name:"SpotStrategy"`
	VSwitchId              *[]string                               `position:"Query" name:"VSwitchId"  type:"Repeated"`
	MinAdjustmentMagnitude requests.Integer                        `position:"Query" name:"MinAdjustmentMagnitude"`
}

ScaleWithAdjustmentRequest is the request struct for api ScaleWithAdjustment

func CreateScaleWithAdjustmentRequest

func CreateScaleWithAdjustmentRequest() (request *ScaleWithAdjustmentRequest)

CreateScaleWithAdjustmentRequest creates a request to invoke ScaleWithAdjustment API

type ScaleWithAdjustmentResponse

type ScaleWithAdjustmentResponse struct {
	*responses.BaseResponse
	ScalingActivityId string `json:"ScalingActivityId" xml:"ScalingActivityId"`
	RequestId         string `json:"RequestId" xml:"RequestId"`
	ActivityType      string `json:"ActivityType" xml:"ActivityType"`
}

ScaleWithAdjustmentResponse is the response struct for api ScaleWithAdjustment

func CreateScaleWithAdjustmentResponse

func CreateScaleWithAdjustmentResponse() (response *ScaleWithAdjustmentResponse)

CreateScaleWithAdjustmentResponse creates a response to parse from ScaleWithAdjustment 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 {
	VpcId                               string `json:"VpcId" xml:"VpcId"`
	CreationTime                        string `json:"CreationTime" xml:"CreationTime"`
	TotalInstanceCount                  int    `json:"TotalInstanceCount" xml:"TotalInstanceCount"`
	ScalingGroupName                    string `json:"ScalingGroupName" xml:"ScalingGroupName"`
	Weighted                            bool   `json:"Weighted" xml:"Weighted"`
	SpotInstancePools                   int    `json:"SpotInstancePools" xml:"SpotInstancePools"`
	StoppedCapacity                     int    `json:"StoppedCapacity" xml:"StoppedCapacity"`
	OnDemandPercentageAboveBaseCapacity int    `json:"OnDemandPercentageAboveBaseCapacity" xml:"OnDemandPercentageAboveBaseCapacity"`
	ModificationTime                    string `json:"ModificationTime" xml:"ModificationTime"`
	MinSize                             int    `json:"MinSize" xml:"MinSize"`
	ScalingGroupId                      string `json:"ScalingGroupId" xml:"ScalingGroupId"`
	CompensateWithOnDemand              bool   `json:"CompensateWithOnDemand" xml:"CompensateWithOnDemand"`
	ScalingPolicy                       string `json:"ScalingPolicy" xml:"ScalingPolicy"`
	RemovingWaitCapacity                int    `json:"RemovingWaitCapacity" xml:"RemovingWaitCapacity"`
	ActiveCapacity                      int    `json:"ActiveCapacity" xml:"ActiveCapacity"`
	OnDemandBaseCapacity                int    `json:"OnDemandBaseCapacity" xml:"OnDemandBaseCapacity"`
	ProtectedCapacity                   int    `json:"ProtectedCapacity" xml:"ProtectedCapacity"`
	HealthCheckType                     string `json:"HealthCheckType" xml:"HealthCheckType"`
	LifecycleState                      string `json:"LifecycleState" xml:"LifecycleState"`
	GroupDeletionProtection             bool   `json:"GroupDeletionProtection" xml:"GroupDeletionProtection"`
	ActiveScalingConfigurationId        string `json:"ActiveScalingConfigurationId" xml:"ActiveScalingConfigurationId"`
	GroupType                           string `json:"GroupType" xml:"GroupType"`
	MultiAZPolicy                       string `json:"MultiAZPolicy" xml:"MultiAZPolicy"`
	RemovingCapacity                    int    `json:"RemovingCapacity" xml:"RemovingCapacity"`
	PendingWaitCapacity                 int    `json:"PendingWaitCapacity" xml:"PendingWaitCapacity"`
	StandbyCapacity                     int    `json:"StandbyCapacity" xml:"StandbyCapacity"`
	CurrentHostName                     string `json:"CurrentHostName" xml:"CurrentHostName"`
	PendingCapacity                     int    `json:"PendingCapacity" xml:"PendingCapacity"`
	LaunchTemplateId                    string `json:"LaunchTemplateId" xml:"LaunchTemplateId"`
	TotalCapacity                       int    `json:"TotalCapacity" xml:"TotalCapacity"`
	DesiredCapacity                     int    `json:"DesiredCapacity" xml:"DesiredCapacity"`
	SpotInstanceRemedy                  bool   `json:"SpotInstanceRemedy" xml:"SpotInstanceRemedy"`
	LaunchTemplateVersion               string `json:"LaunchTemplateVersion" xml:"LaunchTemplateVersion"`
	RegionId                            string `json:"RegionId" xml:"RegionId"`
	VSwitchId                           string `json:"VSwitchId" xml:"VSwitchId"`
	MaxSize                             int    `json:"MaxSize" xml:"MaxSize"`
	ScaleOutAmountCheck                 bool   `json:"ScaleOutAmountCheck" xml:"ScaleOutAmountCheck"`
	DefaultCooldown                     int    `json:"DefaultCooldown" xml:"DefaultCooldown"`
	SystemSuspended                     bool   `json:"SystemSuspended" xml:"SystemSuspended"`
	IsElasticStrengthInAlarm            bool   `json:"IsElasticStrengthInAlarm" xml:"IsElasticStrengthInAlarm"`
	MonitorGroupId                      string `json:"MonitorGroupId" xml:"MonitorGroupId"`
	AzBalance                           bool   `json:"AzBalance" xml:"AzBalance"`
	AllocationStrategy                  string `json:"AllocationStrategy" xml:"AllocationStrategy"`
	SpotAllocationStrategy              string `json:"SpotAllocationStrategy" xml:"SpotAllocationStrategy"`
	MaxInstanceLifetime                 int    `json:"MaxInstanceLifetime" xml:"MaxInstanceLifetime"`
	CustomPolicyARN                     string `json:"CustomPolicyARN" xml:"CustomPolicyARN"`
	InitCapacity                        int    `json:"InitCapacity" xml:"InitCapacity"`
	ResourceGroupId                     string `json:"ResourceGroupId" xml:"ResourceGroupId"`
	EnableDesiredCapacity               bool   `json:"EnableDesiredCapacity" xml:"EnableDesiredCapacity"`
}

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 Tag

type Tag struct {
	Key   string `json:"Key" xml:"Key"`
	Value string `json:"Value" xml:"Value"`
}

Tag 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

Jump to

Keyboard shortcuts

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