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 DescribeCapacityProviders operation. Describes one or more of your capacity providers.
Namespace: Amazon.ECS.Model
Assembly: AWSSDK.ECS.dll
Version: 3.x.y.z
public class DescribeCapacityProvidersRequest : AmazonECSRequest IAmazonWebServiceRequest
The DescribeCapacityProvidersRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DescribeCapacityProvidersRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
CapacityProviders | System.Collections.Generic.List<System.String> |
Gets and sets the property CapacityProviders.
The short name or full Amazon Resource Name (ARN) of one or more capacity providers.
Up to |
![]() |
Include | System.Collections.Generic.List<System.String> |
Gets and sets the property Include.
Specifies whether or not you want to see the resource tags for the capacity provider.
If |
![]() |
MaxResults | System.Int32 |
Gets and sets the property MaxResults.
The maximum number of account setting results returned by |
![]() |
NextToken | System.String |
Gets and sets the property NextToken.
The This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes. |
This example retrieves details about all capacity providers.
var client = new AmazonECSClient(); var response = client.DescribeCapacityProviders(new DescribeCapacityProvidersRequest { }); List<CapacityProvider> capacityProviders = response.CapacityProviders;
This example retrieves details about the capacity provider MyCapacityProvider
var client = new AmazonECSClient(); var response = client.DescribeCapacityProviders(new DescribeCapacityProvidersRequest { CapacityProviders = new List<string> { "MyCapacityProvider" }, Include = new List<string> { "TAGS" } }); List<CapacityProvider> capacityProviders = response.CapacityProviders;
.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