nifty-update-auto-scaling-group
Description
指定したオートスケールの定義を変更します。
オートスケールを指定するためには、オートスケール名が必要です。
既存のオートスケール定義情報に対し、指定された値でオートスケール定義が更新されるため、更新しない値も設定する必要があります。ただしイメージIDは例外的に省略可能とし、省略時は変更しない動作となります。
イメージを変更する場合、増設ディスク付きのイメージは使用できません。また、変更前のイメージと異なるゾーンのイメージも使用できません。
See also: NIFCLOUD API Documentation
Synopsis
nifty-update-auto-scaling-group
--auto-scaling-group-name <value>
[--auto-scaling-group-name-update <value>]
--change-in-capacity <value>
[--default-cooldown <value>]
[--description <value>]
[--image-id <value>]
[--instance-lifecycle-limit <value>]
[--instance-type <value>]
[--load-balancers <value>]
--max-size <value>
--min-size <value>
[--scaleout <value>]
--scaleout-condition <value>
[--scaling-schedule <value>]
--scaling-trigger <value>
[--security-group <value>]
[--debug]
[--endpoint-url <value>]
[--no-verify-ssl]
[--no-paginate]
[--output <value>]
[--query <value>]
[--profile <value>]
[--region <value>]
[--version <value>]
[--color <value>]
[--no-sign-request]
[--ca-bundle <value>]
[--cli-read-timeout <value>]
[--cli-connect-timeout <value>]
Options
--auto-scaling-group-name
(string)
--auto-scaling-group-name-update
(string)
--change-in-capacity
(integer)
--default-cooldown
(integer)
--description
(string)
--image-id
(string)
--instance-lifecycle-limit
(integer)
--instance-type
(string)
Possible values:
e-mini
h2-mini
mini
c-small
e-small
h2-small
small
c-small2
e-small2
h2-small2
small2
c-small4
e-small4
h2-small4
small4
e-small8
h2-small8
small8
e-small16
h2-small16
small16
c-medium
e-medium
h2-medium
medium
c-medium4
e-medium4
h2-medium4
medium4
c-medium8
e-medium8
h2-medium8
medium8
e-medium16
h2-medium16
medium16
e-medium24
h2-medium24
medium24
c-large
e-large
h2-large
large
c-large8
e-large8
h2-large8
large8
e-large16
h2-large16
large16
e-large24
h2-large24
large24
e-large32
h2-large32
large32
e-extra-large8
h2-extra-large8
extra-large8
e-extra-large16
h2-extra-large16
extra-large16
e-extra-large24
h2-extra-large24
extra-large24
e-extra-large32
h2-extra-large32
extra-large32
e-extra-large48
h2-extra-large48
extra-large48
e-double-large16
h2-double-large16
double-large16
e-double-large24
h2-double-large24
double-large24
e-double-large32
h2-double-large32
double-large32
e-double-large48
h2-double-large48
double-large48
e-double-large64
h2-double-large64
double-large64
e-double-large96
h2-double-large96
double-large96
h2-triple-large32
triple-large32
h2-triple-large48
triple-large48
h2-triple-large64
triple-large64
h2-triple-large96
triple-large96
h2-triple-large128
triple-large128
h2-quad-large64
quad-large64
h2-quad-large96
quad-large96
h2-quad-large128
quad-large128
h2-septa-large128
septa-large128
--load-balancers
(list)
(structure)
InstancePort -> (integer)
LoadBalancerPort -> (integer)
Name -> (string)
Shorthand Syntax:
InstancePort=integer,LoadBalancerPort=integer,Name=string ...
JSON Syntax:
[
{
"InstancePort": integer,
"LoadBalancerPort": integer,
"Name": "string"
}
...
]
--max-size
(integer)
--min-size
(integer)
--scaleout
(integer)
--scaleout-condition
(string)
Possible values:
or
and
--scaling-schedule
(list)
(structure)
RequestDDay -> (structure)
EndingDDay -> (string)
StartingDDay -> (string)
RequestDay -> (structure)
SetFriday -> (string)
SetMonday -> (string)
SetSaturday -> (string)
SetSunday -> (string)
SetThursday -> (string)
SetTuesday -> (string)
SetWednesday -> (string)
RequestMonth -> (structure)
EndingMonth -> (string)
StartingMonth -> (string)
RequestTimeZone -> (structure)
EndingTimeZone -> (string)
StartingTimeZone -> (string)
Shorthand Syntax:
RequestDDay={EndingDDay=string,StartingDDay=string},RequestDay={SetFriday=string,SetMonday=string,SetSaturday=string,SetSunday=string,SetThursday=string,SetTuesday=string,SetWednesday=string},RequestMonth={EndingMonth=string,StartingMonth=string},RequestTimeZone={EndingTimeZone=string,StartingTimeZone=string} ...
JSON Syntax:
[
{
"RequestDDay": {
"EndingDDay": "string",
"StartingDDay": "string"
},
"RequestDay": {
"SetFriday": "0"|"1",
"SetMonday": "0"|"1",
"SetSaturday": "0"|"1",
"SetSunday": "0"|"1",
"SetThursday": "0"|"1",
"SetTuesday": "0"|"1",
"SetWednesday": "0"|"1"
},
"RequestMonth": {
"EndingMonth": "string",
"StartingMonth": "string"
},
"RequestTimeZone": {
"EndingTimeZone": "string",
"StartingTimeZone": "string"
}
}
...
]
--scaling-trigger
(list)
(structure)
BreachDuration -> (integer)
Resource -> (string)
UpperThreshold -> (double)
Shorthand Syntax:
BreachDuration=integer,Resource=string,UpperThreshold=double ...
JSON Syntax:
[
{
"BreachDuration": integer,
"Resource": "Server-cpu"|"Server-memory"|"Server-network"|"LoadBalancer-network",
"UpperThreshold": double
}
...
]
--security-group
(list)
(string)
Syntax:
"string" "string" ...
Global Options
--debug
(boolean)
Turn on debug logging.
--endpoint-url
(string)
Override command’s default URL with the given URL.
--no-verify-ssl
(boolean)
By default, the AWS CLI uses SSL when communicating with AWS services. For each SSL connection, the AWS CLI will verify SSL certificates. This option overrides the default behavior of verifying SSL certificates.
--no-paginate
(boolean)
Disable automatic pagination.
--output
(string)
The formatting style for command output.
json
text
table
--query
(string)
A JMESPath query to use in filtering the response data.
--profile
(string)
Use a specific profile from your credential file.
--region
(string)
The region to use. Overrides config/env settings.
--version
(string)
Display the version of this tool.
--color
(string)
Turn on/off color output.
on
off
auto
--no-sign-request
(boolean)
Do not sign requests. Credentials will not be loaded if this argument is provided.
--ca-bundle
(string)
The CA certificate bundle to use when verifying SSL certificates. Overrides config/env settings.
--cli-read-timeout
(int)
The maximum socket read time in seconds. If the value is set to 0, the socket read will be blocking and not timeout. The default value is 60 seconds.
--cli-connect-timeout
(int)
The maximum socket connect time in seconds. If the value is set to 0, the socket connect will be blocking and not timeout. The default value is 60 seconds.