UNPKG

@pulumi/openstack

Version:

A Pulumi package for creating and managing OpenStack cloud resources.

67 lines (66 loc) 2.02 kB
import * as pulumi from "@pulumi/pulumi"; /** * Use this data source to get a list of Shared File System availability zones * from OpenStack * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const zones = openstack.sharedfilesystem.getAvailbilityZones({}); * ``` */ export declare function getAvailbilityZones(args?: GetAvailbilityZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetAvailbilityZonesResult>; /** * A collection of arguments for invoking getAvailbilityZones. */ export interface GetAvailbilityZonesArgs { /** * The region in which to obtain the V2 Shared File System * client. If omitted, the `region` argument of the provider is used. */ region?: string; } /** * A collection of values returned by getAvailbilityZones. */ export interface GetAvailbilityZonesResult { /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The names of the availability zones, ordered alphanumerically. */ readonly names: string[]; /** * See Argument Reference above. */ readonly region: string; } /** * Use this data source to get a list of Shared File System availability zones * from OpenStack * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as openstack from "@pulumi/openstack"; * * const zones = openstack.sharedfilesystem.getAvailbilityZones({}); * ``` */ export declare function getAvailbilityZonesOutput(args?: GetAvailbilityZonesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAvailbilityZonesResult>; /** * A collection of arguments for invoking getAvailbilityZones. */ export interface GetAvailbilityZonesOutputArgs { /** * The region in which to obtain the V2 Shared File System * client. If omitted, the `region` argument of the provider is used. */ region?: pulumi.Input<string>; }