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 ResetCacheParameterGroup operation. Modifies the parameters of a cache parameter group to the engine or system default value. You can reset specific parameters by submitting a list of parameter names. To reset the entire cache parameter group, specify the ResetAllParameters and CacheParameterGroupName parameters.

Inheritance Hierarchy


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


public class ResetCacheParameterGroupRequest : AmazonElastiCacheRequest

The ResetCacheParameterGroupRequest type exposes the following members


Public Method ResetCacheParameterGroupRequest()

Empty constructor used to set properties independently even when a simple constructor is available

Public Method ResetCacheParameterGroupRequest(string, List<ParameterNameValue>)

Instantiates ResetCacheParameterGroupRequest with the parameterized properties


Public Property CacheParameterGroupName System.String

Gets and sets the property CacheParameterGroupName.

The name of the cache parameter group to reset.

Public Property ParameterNameValues System.Collections.Generic.List<Amazon.ElastiCache.Model.ParameterNameValue>

Gets and sets the property ParameterNameValues.

An array of parameter names to reset to their default values. If ResetAllParameters is true, do not use ParameterNameValues. If ResetAllParameters is false, you must specify the name of at least one parameter to reset.

Public Property ResetAllParameters System.Boolean

Gets and sets the property ResetAllParameters.

If true, all parameters in the cache parameter group are reset to their default values. If false, only the parameters listed by ParameterNameValues are reset to their default values.

Valid values: true | false


Modifies the parameters of a cache parameter group to the engine or system default value.


var response = client.ResetCacheParameterGroup(new ResetCacheParameterGroupRequest 
    CacheParameterGroupName = "custom-mem1-4",
    ResetAllParameters = true

string cacheParameterGroupName = response.CacheParameterGroupName;


Version Information

.NET Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms