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.

Container for the parameters to the ResetDBParameterGroup operation. 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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.Neptune.AmazonNeptuneRequest
      Amazon.Neptune.Model.ResetDBParameterGroupRequest

Namespace: Amazon.Neptune.Model
Assembly: AWSSDK.Neptune.dll
Version: 3.x.y.z

Syntax

C#
public class ResetDBParameterGroupRequest : AmazonNeptuneRequest
         IAmazonWebServiceRequest

The ResetDBParameterGroupRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property DBParameterGroupName System.String

Gets and sets the property DBParameterGroupName.

The name of the DB parameter group.

Constraints:

  • Must match the name of an existing DBParameterGroup.

Public Property Parameters System.Collections.Generic.List<Amazon.Neptune.Model.Parameter>

Gets and sets the property Parameters.

To reset the entire DB parameter group, specify the DBParameterGroup name and ResetAllParameters parameters. To reset specific parameters, provide a list of the following: ParameterName and ApplyMethod. A maximum of 20 parameters can be modified in a single request.

Valid Values (for Apply method): pending-reboot

Public Property ResetAllParameters System.Boolean

Gets and sets the property ResetAllParameters.

Specifies whether (true) or not (false) to reset all parameters in the DB parameter group to default values.

Default: true

Examples

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

To reset the values of a DB parameter group


var response = client.ResetDBParameterGroup(new ResetDBParameterGroupRequest 
{
    DBParameterGroupName = "mydbparametergroup",
    ResetAllParameters = true
});


            

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5