modify-db-instance
Description
DBサーバーの設定を変更します。
一度に複数のDB設定を変更することができます。
一部のパラメーターは、ApplyImmediatelyをfalseに指定しても「今すぐ」適用されることにご注意ください。
また、設定変更内容によってはIO性能低下・DBサーバー停止・DBサービス停止を伴うことがあります。
詳しくはユーザガイドとRDB技術仕様/制限値を参照してください。
See also: NIFCLOUD API Documentation
Synopsis
modify-db-instance
[--accounting-type <value>]
[--allocated-storage <value>]
[--allow-major-version-upgrade | --no-allow-major-version-upgrade]
[--apply-immediately | --no-apply-immediately]
[--auto-minor-version-upgrade | --no-auto-minor-version-upgrade]
[--backup-retention-period <value>]
[--binlog-retention-period <value>]
[--ca-certificate-identifier <value>]
[--custom-binlog-retention-period | --no-custom-binlog-retention-period]
[--db-instance-class <value>]
--db-instance-identifier <value>
[--db-parameter-group-name <value>]
[--db-security-groups <value>]
[--engine-version <value>]
[--iops <value>]
[--master-user-password <value>]
[--multi-az | --no-multi-az]
[--new-db-instance-identifier <value>]
[--nifty-multi-az-type <value>]
[--nifty-slave-private-address <value>]
[--option-group-name <value>]
[--preferred-backup-window <value>]
[--preferred-maintenance-window <value>]
[--vpc-security-group-ids <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
--accounting-type
(string)
Possible values:
1
2
--allocated-storage
(integer)
--allow-major-version-upgrade
| --no-allow-major-version-upgrade
(boolean)
--apply-immediately
| --no-apply-immediately
(boolean)
--auto-minor-version-upgrade
| --no-auto-minor-version-upgrade
(boolean)
--backup-retention-period
(integer)
--binlog-retention-period
(integer)
--ca-certificate-identifier
(string)
--custom-binlog-retention-period
| --no-custom-binlog-retention-period
(boolean)
--db-instance-class
(string)
Possible values:
db.mini
db.e-small
db.small
db.e-small2
db.small2
db.e-small4
db.small4
db.e-small8
db.small8
db.e-small16
db.small16
db.e-medium
db.medium
db.e-medium4
db.medium4
db.e-medium8
db.medium8
db.e-medium16
db.medium16
db.e-medium24
db.medium24
db.e-large
db.large
db.e-large8
db.large8
db.e-large16
db.large16
db.e-large24
db.large24
db.e-large32
db.large32
db.e-extra-large8
db.extra-large8
db.e-extra-large16
db.extra-large16
db.e-extra-large24
db.extra-large24
db.e-extra-large32
db.extra-large32
db.e-extra-large48
db.extra-large48
db.e-double-large16
db.double-large16
db.e-double-large24
db.double-large24
db.e-double-large32
db.double-large32
db.e-double-large48
db.double-large48
db.e-double-large64
db.double-large64
db.e-double-large96
db.double-large96
db.triple-large32
db.triple-large48
db.triple-large64
db.triple-large96
db.triple-large128
db.quad-large64
db.quad-large96
db.quad-large128
db.septa-large128
--db-instance-identifier
(string)
--db-parameter-group-name
(string)
--db-security-groups
(list)
(string)
Syntax:
"string" "string" ...
--engine-version
(string)
--iops
(integer)
--master-user-password
(string)
--multi-az
| --no-multi-az
(boolean)
--new-db-instance-identifier
(string)
--nifty-multi-az-type
(integer)
--nifty-slave-private-address
(string)
--option-group-name
(string)
--preferred-backup-window
(string)
--preferred-maintenance-window
(string)
--vpc-security-group-ids
(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.
Output
DBInstance -> (structure)
AccountingType -> (string)
AllocatedStorage -> (integer)
AutoMinorVersionUpgrade -> (boolean)
AvailabilityZone -> (string)
BackupRetentionPeriod -> (integer)
BinlogRetentionPeriod -> (integer)
CACertificateIdentifier -> (string)
DBInstanceClass -> (string)
DBInstanceIdentifier -> (string)
DBInstanceStatus -> (string)
DBName -> (string)
DBParameterGroups -> (list)
(structure)
DBParameterGroupName -> (string)
ParameterApplyStatus -> (string)
DBSecurityGroups -> (list)
(structure)
DBSecurityGroupName -> (string)
Status -> (string)
Endpoint -> (structure)
Address -> (string)
NiftyPrivateAddress -> (string)
Port -> (integer)
Engine -> (string)
EngineVersion -> (string)
ExternalReplicationInfo -> (structure)
ExternalMasterAddress -> (string)
ExternalReplicationMessage -> (string)
ExternalReplicationStatus -> (string)
ReplicationAddresses -> (list)
(string)
ReplicationPrivateAddresses -> (list)
(string)
InstanceCreateTime -> (timestamp)
LatestRestorableTime -> (timestamp)
LicenseModel -> (string)
MasterUsername -> (string)
MultiAZ -> (boolean)
NextMonthAccountingType -> (string)
NiftyMasterPrivateAddress -> (string)
NiftyMultiAZType -> (string)
NiftyNetworkId -> (string)
NiftySlavePrivateAddress -> (string)
NiftyStorageType -> (integer)
OptionGroupMemberships -> (list)
(structure)
OptionGroupName -> (string)
Status -> (string)
PendingModifiedValues -> (structure)
AllocatedStorage -> (integer)
BackupRetentionPeriod -> (integer)
DBInstanceClass -> (string)
DBInstanceIdentifier -> (string)
EngineVersion -> (string)
MasterUserPassword -> (string)
MultiAZ -> (boolean)
Port -> (integer)
PreferredBackupWindow -> (string)
PreferredMaintenanceWindow -> (string)
PubliclyAccessible -> (boolean)
ReadReplicaDBInstanceIdentifiers -> (list)
(string)
ReadReplicaSourceDBInstanceIdentifier -> (string)
SecondaryAvailabilityZone -> (string)
StatusInfos -> (list)
(structure)
Message -> (string)
Normal -> (boolean)
Status -> (string)
StatusType -> (string)
VpcSecurityGroups -> (string)
ResponseMetadata -> (structure)
RequestId -> (string)