UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

83 lines (82 loc) 2.55 kB
import * as pulumi from "@pulumi/pulumi"; /** * This data source allows you to fetch all available AWS availability zones on your workspace on AWS. * * > This data source can only be used with a workspace-level provider! * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const zones = databricks.getZones({}); * ``` */ export declare function getZones(args?: GetZonesArgs, opts?: pulumi.InvokeOptions): Promise<GetZonesResult>; /** * A collection of arguments for invoking getZones. */ export interface GetZonesArgs { /** * This is the default zone that gets assigned to your workspace. This is the zone used by default for clusters and instance pools. */ defaultZone?: string; /** * The id for the zone object. */ id?: string; /** * This is a list of all the zones available for your subnets in your Databricks workspace. */ zones?: string[]; } /** * A collection of values returned by getZones. */ export interface GetZonesResult { /** * This is the default zone that gets assigned to your workspace. This is the zone used by default for clusters and instance pools. */ readonly defaultZone: string; /** * The id for the zone object. */ readonly id: string; /** * This is a list of all the zones available for your subnets in your Databricks workspace. */ readonly zones: string[]; } /** * This data source allows you to fetch all available AWS availability zones on your workspace on AWS. * * > This data source can only be used with a workspace-level provider! * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as databricks from "@pulumi/databricks"; * * const zones = databricks.getZones({}); * ``` */ export declare function getZonesOutput(args?: GetZonesOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetZonesResult>; /** * A collection of arguments for invoking getZones. */ export interface GetZonesOutputArgs { /** * This is the default zone that gets assigned to your workspace. This is the zone used by default for clusters and instance pools. */ defaultZone?: pulumi.Input<string>; /** * The id for the zone object. */ id?: pulumi.Input<string>; /** * This is a list of all the zones available for your subnets in your Databricks workspace. */ zones?: pulumi.Input<pulumi.Input<string>[]>; }