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 ListAllowedNodeTypeModifications operation. Lists all available node types that you can scale your Redis OSS cluster's or replication group's current node type.
When you use the ModifyCacheCluster
or ModifyReplicationGroup
operations
to scale your cluster or replication group, the value of the CacheNodeType
parameter must be one of the node types returned by this operation.
Namespace: Amazon.ElastiCache.Model
Assembly: AWSSDK.ElastiCache.dll
Version: 3.x.y.z
public class ListAllowedNodeTypeModificationsRequest : AmazonElastiCacheRequest IAmazonWebServiceRequest
The ListAllowedNodeTypeModificationsRequest type exposes the following members
Name | Description | |
---|---|---|
ListAllowedNodeTypeModificationsRequest() |
Name | Type | Description | |
---|---|---|---|
CacheClusterId | System.String |
Gets and sets the property CacheClusterId. The name of the cluster you want to scale up to a larger node instanced type. ElastiCache uses the cluster id to identify the current node type of this cluster and from that to create a list of node types you can scale up to.
You must provide a value for either the |
|
ReplicationGroupId | System.String |
Gets and sets the property ReplicationGroupId. The name of the replication group want to scale up to a larger node type. ElastiCache uses the replication group id to identify the current node type being used by this replication group, and from that to create a list of node types you can scale up to.
You must provide a value for either the |
Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.
var client = new AmazonElastiCacheClient(); var response = client.ListAllowedNodeTypeModifications(new ListAllowedNodeTypeModificationsRequest { ReplicationGroupId = "myreplgroup" }); List<string> scaleUpModifications = response.ScaleUpModifications;
Lists all available node types that you can scale your Redis cluster's or replication group's current node type up to.
var client = new AmazonElastiCacheClient(); var response = client.ListAllowedNodeTypeModifications(new ListAllowedNodeTypeModificationsRequest { ReplicationGroupId = "myreplgroup" }); List<string> scaleUpModifications = response.ScaleUpModifications;
.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