Class GetAvailabilityZone
Inheritance
System.Object
GetAvailabilityZone
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Pulumi.Aws
Assembly: Pulumi.Aws.dll
Syntax
public static class GetAvailabilityZone
Methods
View SourceInvokeAsync(GetAvailabilityZoneArgs, InvokeOptions)
aws..getAvailabilityZone provides details about a specific availability zone (AZ)
in the current region.
This can be used both to validate an availability zone given in a variable and to split the AZ name into its component parts of an AWS region and an AZ identifier letter. The latter may be useful e.g. for implementing a consistent subnet numbering scheme across several regions by mapping both the region and the subnet letter to network numbers.
This is different from the aws..getAvailabilityZones (plural) data source,
which provides a list of the available zones.
{{% examples %}} {{% /examples %}}
Declaration
public static Task<GetAvailabilityZoneResult> InvokeAsync(GetAvailabilityZoneArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAvailabilityZoneArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAvailabilityZoneResult> |