rdb / Client / reset_db_parameter_group
reset_db_parameter_group
- rdb.Client.reset_db_parameter_group(**kwargs)
DBパラメーターグループのパラメーターをデフォルト値にリセットします。
特定のパラメーターをリセットするにはParameterName(パラメーター名)とApplyMethod(適用方法)を指定します。
すべてのパラメーターをリセットするには、DBParameterGroupName(DBパラメーターグループ名)とResetAllParameters(すべてのパラメータをリセットするフラグ)を指定します。
すべてのパラメーターをリセットする場合、dynamicパラメーターはただちに適用されますが、staticパラメーターはステータスがpending-reboot(再起動待ち)に変わり、DBサーバーが再起動されるかRebootInstanceアクションが呼び出されたときに適用が行われます。
See also: NIFCLOUD API Documentation
Request Syntax
response = client.reset_db_parameter_group( DBParameterGroupName='string', Parameters=[ { 'ApplyMethod': 'immediate'|'pending-reboot', 'ParameterName': 'string' }, ], ResetAllParameters=True|False )
- Parameters:
DBParameterGroupName (string) – [REQUIRED]
Parameters (list) –
(dict) –
ApplyMethod (string) –
ParameterName (string) –
ResetAllParameters (boolean) –
- Return type:
dict
- Returns:
Response Syntax
{ 'DBParameterGroupName': 'string', 'ResponseMetadata': { 'RequestId': 'string' } }
Response Structure
(dict) –
DBParameterGroupName (string) –
ResponseMetadata (dict) –
RequestId (string) –