setDesiredCapacity
- 印刷する
- PDF
setDesiredCapacity
- 印刷する
- PDF
記事の要約
この要約は役に立ちましたか?
ご意見ありがとうございます
VPC環境で利用できます。
概要
Auto Scaling Groupの詳細情報のうち、希望する容量の設定を修正します。
リクエスト
リクエストパラメータ
パラメータ名 | 必須有無 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
regionCode | No | String | リージョンコード 希望する容量を修正するAuto Scaling Groupのリージョン(Region)を決定できます。 regionCodeはgetRegionListアクションを通じて取得できます。 Default:getRegionList照会結果の最初のリージョンを選択 | |
autoScalingGroupNo | Yes | String | 希望する容量を修正するAuto Scaling Group番号 autoScalingGroupNoはgetAutoScalingGroupListアクションを通じて取得できます。 | |
desiredCapacity | Yes | Integer | Min : 0, Max : 30 | 希望する容量 希望する容量に応じてサーバ数が調整されます。 変更しようとする希望する容量は、既に設定されているminSize以上でなおかつmaxSize以下でなければなりません。 |
responseFormatType | No | String | レスポンス結果のフォーマットタイプ Options : xml | json Default : xml |
レスポンス
レスポンスデータのタイプ
- AutoScalingGroupListタイプ
AutoScalingGroupList extends CommonResponse |
---|
private Integer totalRows; |
private List |
AutoScalingGroup |
---|
private String vpcNo; |
private String subnetNo; |
private String serverNamePrefix; |
private String autoScalingGroupNo; |
private String autoScalingGroupName; |
private String launchConfigurationNo; |
private Integer minSize; |
private Integer maxSize; |
private Integer desiredCapacity; |
private Integer defaultCoolDown; |
private Integer healthCheckGracePeriod; |
private CommonCode healthCheckType; |
private Date createDate; |
private CommonCode autoScalingGroupStatus; |
private TargetGroupNoList targetGroupNoList; |
private List |
private AccessControlGroupNoList accessControlGroupNoList; |
private List |
TargetGroupNoList |
---|
private List |
InAutoScalingGroupServerInstance |
---|
private String serverInstanceNo; |
private CommonCode healthStatus; |
private CommonCode lifecycleState; |
AccessControlGroupNoList |
---|
private List |
SuspendedProcess |
---|
private CommonCode process; |
private String suspensionReason; |
例
リクエスト例
レスポンス例
この記事は役に立ちましたか?