AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Modifies the parameters of a DB parameter group to the engine/system default value.
To reset specific parameters, provide a list of the following: ParameterName
and ApplyMethod
. To reset the entire DB parameter group, specify the DBParameterGroup
name and ResetAllParameters
parameters. When resetting the entire group, dynamic
parameters are updated immediately and static parameters are set to pending-reboot
to take effect on the next DB instance restart or RebootDBInstance
request.
For .NET Core this operation is only available in asynchronous form. Please refer to ResetDBParameterGroupAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract ResetDBParameterGroupResponse ResetDBParameterGroup( ResetDBParameterGroupRequest request )
Container for the necessary parameters to execute the ResetDBParameterGroup service method.
Exception | Condition |
---|---|
DBParameterGroupNotFoundException | DBParameterGroupName does not refer to an existing DB parameter group. |
InvalidDBParameterGroupStateException | The DB parameter group is in use or is in an invalid state. If you are attempting to delete the parameter group, you cannot delete it when the parameter group is in this state. |
This example resets all parameters for the specified DB parameter group to their default values.
var response = client.ResetDBParameterGroup(new ResetDBParameterGroupRequest { DBParameterGroupName = "mydbparametergroup", ResetAllParameters = true });
.NET Framework:
Supported in: 4.5 and newer, 3.5