AWS SDK for .NET Documentation
DescribeAvailabilityZones Method (request)
Amazon ► Amazon.EC2 ► AmazonEC2 ► DescribeAvailabilityZones(DescribeAvailabilityZonesRequest)
Did this page help you? Yes No Tell us about it...
Lists Availability Zones that are currently available to the account and their states.
Declaration Syntax

C#

    DescribeAvailabilityZonesResponse DescribeAvailabilityZones(
    	DescribeAvailabilityZonesRequest request
    )

Parameters

request (DescribeAvailabilityZonesRequest)
  Describe Availability Zones request

Return Value
Describe Availability Zones Response from the service
Remarks
Availability Zones are not the same across accounts. The Availability Zone us-east-1a for account A is not necessarily the same as us-east-1a for account B. Zone assignments are mapped independently for each account.
Exceptions

Exception | Condition
--- | ---
WebException |
AmazonEC2Exception |

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