Class GetAvailabilityZones
Inheritance
System.Object
GetAvailabilityZones
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.OpenStack.Compute
Assembly: Pulumi.OpenStack.dll
Syntax
public static class GetAvailabilityZones
Methods
View SourceInvokeAsync(GetAvailabilityZonesArgs, InvokeOptions)
Use this data source to get a list of availability zones from OpenStack
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using OpenStack = Pulumi.OpenStack;
class MyStack : Stack
{
public MyStack()
{
var zones = Output.Create(OpenStack.Compute.GetAvailabilityZones.InvokeAsync());
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetAvailabilityZonesResult> InvokeAsync(GetAvailabilityZonesArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetAvailabilityZonesArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetAvailabilityZonesResult> |