DescribeSubnetsRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the DescribeSubnets operation.

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

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.Model.DescribeSubnetsRequest

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class DescribeSubnetsRequest : AmazonWebServiceRequest
         IRequestEvents

The DescribeSubnetsRequest type exposes the following members

Constructors

  Name Description
Public Method DescribeSubnetsRequest()

Properties

  Name Description
Public Property 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.
Public Property 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