AWS SDK for .NET Documentation
Subnet Class
AmazonAmazon.EC2.ModelSubnet Did this page help you?   Yes   No    Tell us about it...
Subnet
Declaration Syntax
C#
public class Subnet
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
Subnet()()()()
Initializes a new instance of the Subnet class

AvailabilityZone
The Availability Zone the subnet is in.

AvailableIpAddressCount
The number of unused IP addresses in the subnet.

CidrBlock
The CIDR block assigned to the subnet

DefaultForAz
Whether the subnet is default for the availability zone.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
IsSetAvailabilityZone()()()()
Checks if AvailabilityZone property is set

IsSetAvailableIpAddressCount()()()()
Checks if AvailableIpAddressCount property is set

IsSetCidrBlock()()()()
Checks if CidrBlock property is set

IsSetDefaultForAz()()()()
Checks if the DefaultForAz property is set

IsSetMapPublicIpOnLaunch()()()()
Checks if the MapPublicIpOnLaunch property is set

IsSetSubnetId()()()()
Checks if SubnetId property is set

IsSetSubnetState()()()()
Checks if SubnetState property is set

IsSetTag()()()()
Checks if Tag property is set

IsSetVpcId()()()()
Checks if VpcId property is set

MapPublicIpOnLaunch
Whether to map the public IP on launch.

SubnetId
The subnet's ID

SubnetState
The current state of the subnet (pending or available).

Tag
A list of tags for the Subnet.

ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
VpcId
The ID of the VPC the subnet is in

WithAvailabilityZone(String) Obsolete.
Sets the Availability Zone the subnet is in.

WithAvailableIpAddressCount(Decimal) Obsolete.
Sets the number of unused IP addresses in the subnet.

WithCidrBlock(String) Obsolete.
Sets the CIDR block assigned to the subnet

WithDefaultForAz(Boolean) Obsolete.
Sets whether the subnet is default for the availability zone.

WithMapPublicIpOnLaunch(Boolean) Obsolete.
Sets whether to map the public IP on launch.

WithSubnetId(String) Obsolete.
Sets the subnet's ID

WithSubnetState(String) Obsolete.
Sets the current state of the subnet (pending or available).

WithTag(array<Tag>[]()[][]) Obsolete.
Sets tags for the Subnet.

WithVpcId(String) Obsolete.
Sets the ID of the VPC the subnet is in

Inheritance Hierarchy
Object
Subnet

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)