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 DeleteCacheParameterGroup operation. Deletes the specified cache parameter group. You cannot delete a cache parameter group if it is associated with any cache clusters. You cannot delete the default cache parameter groups in your account.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.ElastiCache.AmazonElastiCacheRequest
      Amazon.ElastiCache.Model.DeleteCacheParameterGroupRequest

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

Syntax

C#
public class DeleteCacheParameterGroupRequest : AmazonElastiCacheRequest
         IAmazonWebServiceRequest

The DeleteCacheParameterGroupRequest type exposes the following members

Constructors

NameDescription
Public Method DeleteCacheParameterGroupRequest()

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

Public Method DeleteCacheParameterGroupRequest(string)

Instantiates DeleteCacheParameterGroupRequest with the parameterized properties

Properties

NameTypeDescription
Public Property CacheParameterGroupName System.String

Gets and sets the property CacheParameterGroupName.

The name of the cache parameter group to delete.

The specified cache security group must not be associated with any clusters.

Examples

Deletes the Amazon ElastiCache parameter group custom-mem1-4.

DeleteCacheParameterGroup


var client = new AmazonElastiCacheClient();
var response = client.DeleteCacheParameterGroup(new DeleteCacheParameterGroupRequest 
{
    CacheParameterGroupName = "custom-mem1-4"
});


            

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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