GetAvailbilityZones

Use this data source to get a list of Shared File System availability zones from OpenStack

Example Usage

using Pulumi;
using OpenStack = Pulumi.OpenStack;

class MyStack : Stack
{
    public MyStack()
    {
        var zones = Output.Create(OpenStack.SharedFileSystem.GetAvailbilityZones.InvokeAsync());
    }

}

Coming soon!

import pulumi
import pulumi_openstack as openstack

zones = openstack.sharedfilesystem.get_availbility_zones()
import * as pulumi from "@pulumi/pulumi";
import * as openstack from "@pulumi/openstack";

const zones = pulumi.output(openstack.sharedfilesystem.getAvailbilityZones({ async: true }));

Using GetAvailbilityZones

function getAvailbilityZones(args: GetAvailbilityZonesArgs, opts?: InvokeOptions): Promise<GetAvailbilityZonesResult>
function  get_availbility_zones(region=None, opts=None)
func GetAvailbilityZones(ctx *Context, args *GetAvailbilityZonesArgs, opts ...InvokeOption) (*GetAvailbilityZonesResult, error)
public static class GetAvailbilityZones {
    public static Task<GetAvailbilityZonesResult> InvokeAsync(GetAvailbilityZonesArgs args, InvokeOptions? opts = null)
}

The following arguments are supported:

Region string

The region in which to obtain the V2 Shared File System client. If omitted, the region argument of the provider is used.

Region string

The region in which to obtain the V2 Shared File System client. If omitted, the region argument of the provider is used.

region string

The region in which to obtain the V2 Shared File System client. If omitted, the region argument of the provider is used.

region str

The region in which to obtain the V2 Shared File System client. If omitted, the region argument of the provider is used.

GetAvailbilityZones Result

The following output properties are available:

Id string

The provider-assigned unique ID for this managed resource.

Names List<string>

The names of the availability zones, ordered alphanumerically.

Region string

See Argument Reference above.

Id string

The provider-assigned unique ID for this managed resource.

Names []string

The names of the availability zones, ordered alphanumerically.

Region string

See Argument Reference above.

id string

The provider-assigned unique ID for this managed resource.

names string[]

The names of the availability zones, ordered alphanumerically.

region string

See Argument Reference above.

id str

The provider-assigned unique ID for this managed resource.

names List[str]

The names of the availability zones, ordered alphanumerically.

region str

See Argument Reference above.

Package Details

Repository
https://github.com/pulumi/pulumi-openstack
License
Apache-2.0
Notes
This Pulumi package is based on the openstack Terraform Provider.