nifty-create-auto-scaling-group
Description
オートスケール定義を新規作成します。
オートスケール定義を新規作成するには、自身で作成したイメージ(追加ディスクなし)が必要です。
指定したイメージが存在するゾーンに対してオートスケール定義が作成されます。
See also: NIFCLOUD API Documentation
Synopsis
nifty-create-auto-scaling-group
--auto-scaling-group-name <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)
--change-in-capacity
(integer)
--default-cooldown
(integer)
--description
(string)
--image-id
(string)
--instance-lifecycle-limit
(integer)
--instance-type
(string)
Possible values:
e2-mini
e-mini
h2-mini
mini
c2-small
c-small
e2-small
e-small
h2-small
small
c2-small2
c-small2
e2-small2
e-small2
h2-small2
small2
c2-small4
c-small4
e2-small4
e-small4
h2-small4
small4
e2-small8
e-small8
h2-small8
small8
e2-small16
e-small16
h2-small16
small16
c2-medium
c-medium
e2-medium
e-medium
h2-medium
medium
c2-medium4
c-medium4
e2-medium4
e-medium4
h2-medium4
medium4
c2-medium8
c-medium8
e2-medium8
e-medium8
h2-medium8
medium8
e2-medium16
e-medium16
h2-medium16
medium16
e2-medium24
e-medium24
h2-medium24
medium24
c2-large
c-large
e2-large
e-large
h2-large
large
c2-large8
c-large8
e2-large8
e-large8
h2-large8
large8
e2-large16
e-large16
h2-large16
large16
e2-large24
e-large24
h2-large24
large24
e2-large32
e-large32
h2-large32
large32
e2-extra-large8
e-extra-large8
h2-extra-large8
extra-large8
e2-extra-large16
e-extra-large16
h2-extra-large16
extra-large16
e2-extra-large24
e-extra-large24
h2-extra-large24
extra-large24
e2-extra-large32
e-extra-large32
h2-extra-large32
extra-large32
e2-extra-large48
e-extra-large48
h2-extra-large48
extra-large48
e2-double-large16
e-double-large16
h2-double-large16
double-large16
e2-double-large24
e-double-large24
h2-double-large24
double-large24
e2-double-large32
e-double-large32
h2-double-large32
double-large32
e2-double-large48
e-double-large48
h2-double-large48
double-large48
e2-double-large64
e-double-large64
h2-double-large64
double-large64
e2-double-large96
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.