UNPKG

@pulumi/databricks

Version:

A Pulumi package for creating and managing databricks cloud resources.

80 lines (79 loc) 2.63 kB
import * as pulumi from "@pulumi/pulumi"; export declare function getOnlineStore(args: GetOnlineStoreArgs, opts?: pulumi.InvokeOptions): Promise<GetOnlineStoreResult>; /** * A collection of arguments for invoking getOnlineStore. */ export interface GetOnlineStoreArgs { /** * (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8" */ capacity: string; /** * The name of the online store. This is the unique identifier for the online store */ name: string; /** * (integer) - The number of read replicas for the online store. Defaults to 0 */ readReplicaCount?: number; /** * Workspace ID of the resource */ workspaceId?: string; } /** * A collection of values returned by getOnlineStore. */ export interface GetOnlineStoreResult { /** * (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8" */ readonly capacity: string; /** * (string) - The timestamp when the online store was created */ readonly creationTime: string; /** * (string) - The email of the creator of the online store */ readonly creator: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * (string) - The name of the online store. This is the unique identifier for the online store */ readonly name: string; /** * (integer) - The number of read replicas for the online store. Defaults to 0 */ readonly readReplicaCount?: number; /** * (string) - The current state of the online store. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING` */ readonly state: string; readonly workspaceId?: string; } export declare function getOnlineStoreOutput(args: GetOnlineStoreOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOnlineStoreResult>; /** * A collection of arguments for invoking getOnlineStore. */ export interface GetOnlineStoreOutputArgs { /** * (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8" */ capacity: pulumi.Input<string>; /** * The name of the online store. This is the unique identifier for the online store */ name: pulumi.Input<string>; /** * (integer) - The number of read replicas for the online store. Defaults to 0 */ readReplicaCount?: pulumi.Input<number>; /** * Workspace ID of the resource */ workspaceId?: pulumi.Input<string>; }