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 cluster parameter group to the default value. To
reset specific parameters submit a list of the following: ParameterName
and
ApplyMethod
. To reset the entire DB cluster parameter group, specify the DBClusterParameterGroupName
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. You must call RebootDBInstance
for every DB instance in your DB cluster that you want the updated static parameter
to apply to.
For .NET Core this operation is only available in asynchronous form. Please refer to ResetDBClusterParameterGroupAsync.
Namespace: Amazon.Neptune
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z
public abstract ResetDBClusterParameterGroupResponse ResetDBClusterParameterGroup( ResetDBClusterParameterGroupRequest request )
Container for the necessary parameters to execute the ResetDBClusterParameterGroup 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 cluster parameter group to their default values.
var response = client.ResetDBClusterParameterGroup(new ResetDBClusterParameterGroupRequest { DBClusterParameterGroupName = "mydbclusterparametergroup", ResetAllParameters = true });
.NET Framework:
Supported in: 4.5 and newer, 3.5