Gives you information about your subnets. You can filter the results to return information only about subnets that match criteria you specify.
For example, you could ask to get information about a particular subnet (or all) only if the subnet's state is available. You can specify multiple filters (e.g., the subnet is in a particular VPC, and the subnet's state is available).
The result includes information for a particular subnet only if the subnet matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.
Inheritance Hierarchy
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3
Syntax
public class DescribeSubnetsRequest : AmazonWebServiceRequest IRequestEvents
The DescribeSubnetsRequest type exposes the following members
Constructors
Name | Description | |
---|---|---|
![]() |
DescribeSubnetsRequest() |
Properties
Name | Description | |
---|---|---|
![]() |
Filters | A list of filters used to match properties for Subnets. For a complete reference to the available filter keys for this operation, see the Amazon EC2 API reference. |
![]() |
SubnetIds | A set of one or more subnet IDs. |
Version Information
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8
.NET for Windows Phone:
Supported in: Window Phone 8