Class GetZones
Inheritance
System.Object
GetZones
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.AliCloud.Slb
Assembly: Pulumi.AliCloud.dll
Syntax
public static class GetZones
Methods
View SourceInvokeAsync(GetZonesArgs, InvokeOptions)
This data source provides availability zones for SLB that can be accessed by an Alibaba Cloud account within the region configured in the provider.
NOTE: Available in v1.73.0+.
{{% examples %}}
Example Usage
{{% example %}}
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var zonesIds = Output.Create(AliCloud.Slb.GetZones.InvokeAsync());
}
}
{{% /example %}} {{% /examples %}}
Declaration
public static Task<GetZonesResult> InvokeAsync(GetZonesArgs args = null, InvokeOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetZonesArgs | args | |
| InvokeOptions | options |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<GetZonesResult> |