AWS SDK Version 3 for .NET
API Reference

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.

Note:

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

Syntax

C#
public abstract ResetDBClusterParameterGroupResponse ResetDBClusterParameterGroup(
         ResetDBClusterParameterGroupRequest request
)
Parameters
request
Type: Amazon.Neptune.Model.ResetDBClusterParameterGroupRequest

Container for the necessary parameters to execute the ResetDBClusterParameterGroup service method.

Return Value
The response from the ResetDBClusterParameterGroup service method, as returned by Neptune.

Exceptions

ExceptionCondition
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.

Examples

This example resets all parameters for the specified DB cluster parameter group to their default values.

To reset the values of a DB cluster parameter group


var response = client.ResetDBClusterParameterGroup(new ResetDBClusterParameterGroupRequest 
{
    DBClusterParameterGroupName = "mydbclusterparametergroup",
    ResetAllParameters = true
});


            

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

See Also