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 DescribeConsumableResource operation. Returns a description of the specified consumable resource.
Namespace: Amazon.Batch.Model
Assembly: AWSSDK.Batch.dll
Version: 3.x.y.z
public class DescribeConsumableResourceRequest : AmazonBatchRequest IAmazonWebServiceRequest
The DescribeConsumableResourceRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DescribeConsumableResourceRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ConsumableResource | System.String |
Gets and sets the property ConsumableResource. The name or ARN of the consumable resource whose description will be returned. |
Returns a description of the specified consumable resource.
var client = new AmazonBatchClient(); var response = client.DescribeConsumableResource(new DescribeConsumableResourceRequest { ConsumableResource = "myConsumableResource" }); long availableQuantity = response.AvailableQuantity; string consumableResourceArn = response.ConsumableResourceArn; string consumableResourceName = response.ConsumableResourceName; long createdAt = response.CreatedAt; long inUseQuantity = response.InUseQuantity; string resourceType = response.ResourceType; Dictionary<string, string> tags = response.Tags; long totalQuantity = response.TotalQuantity;
.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