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 DescribeScalableTargets operation. Gets information about the scalable targets in the specified namespace.
You can filter the results using ResourceIds
and ScalableDimension
.
Namespace: Amazon.ApplicationAutoScaling.Model
Assembly: AWSSDK.ApplicationAutoScaling.dll
Version: 3.x.y.z
public class DescribeScalableTargetsRequest : AmazonApplicationAutoScalingRequest IAmazonWebServiceRequest
The DescribeScalableTargetsRequest type exposes the following members
Name | Description | |
---|---|---|
DescribeScalableTargetsRequest() |
Name | Type | Description | |
---|---|---|---|
MaxResults | System.Int32 |
Gets and sets the property MaxResults. The maximum number of scalable targets. This value can be between 1 and 50. The default value is 50.
If this parameter is used, the operation returns up to |
|
NextToken | System.String |
Gets and sets the property NextToken. The token for the next set of results. |
|
ResourceIds | System.Collections.Generic.List<System.String> |
Gets and sets the property ResourceIds. The identifier of the resource associated with the scalable target. This string consists of the resource type and unique identifier.
|
|
ScalableDimension | Amazon.ApplicationAutoScaling.ScalableDimension |
Gets and sets the property ScalableDimension. The scalable dimension associated with the scalable target. This string consists of the service namespace, resource type, and scaling property. If you specify a scalable dimension, you must also specify a resource ID.
|
|
ServiceNamespace | Amazon.ApplicationAutoScaling.ServiceNamespace |
Gets and sets the property ServiceNamespace.
The namespace of the Amazon Web Services service that provides the resource. For a
resource provided by your own application or service, use |
This example describes the scalable targets for the ECS service namespace.
var client = new AmazonApplicationAutoScalingClient(); var response = client.DescribeScalableTargets(new DescribeScalableTargetsRequest { ServiceNamespace = "ecs" }); List<ScalableTarget> scalableTargets = response.ScalableTargets;
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5