@pulumi/databricks
Version:
A Pulumi package for creating and managing databricks cloud resources.
106 lines (105 loc) • 3.78 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* ## Import
*
* As of Pulumi v1.5, resources can be imported through configuration.
*
* hcl
*
* import {
*
* id = name
*
* to = databricks_online_store.this
*
* }
*
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
*
* ```sh
* $ pulumi import databricks:index/onlineStore:OnlineStore databricks_online_store name
* ```
*/
export declare class OnlineStore extends pulumi.CustomResource {
/**
* Get an existing OnlineStore resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OnlineStoreState, opts?: pulumi.CustomResourceOptions): OnlineStore;
/**
* Returns true if the given object is an instance of OnlineStore. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is OnlineStore;
/**
* The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
*/
readonly capacity: pulumi.Output<string | undefined>;
/**
* (string) - The timestamp when the online store was created
*/
readonly creationTime: pulumi.Output<string>;
/**
* (string) - The email of the creator of the online store
*/
readonly creator: pulumi.Output<string>;
/**
* The name of the online store. This is the unique identifier for the online store
*/
readonly name: pulumi.Output<string>;
/**
* (string) - The current state of the online store. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
*/
readonly state: pulumi.Output<string>;
/**
* Create a OnlineStore resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: OnlineStoreArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering OnlineStore resources.
*/
export interface OnlineStoreState {
/**
* The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
*/
capacity?: pulumi.Input<string>;
/**
* (string) - The timestamp when the online store was created
*/
creationTime?: pulumi.Input<string>;
/**
* (string) - The email of the creator of the online store
*/
creator?: pulumi.Input<string>;
/**
* The name of the online store. This is the unique identifier for the online store
*/
name?: pulumi.Input<string>;
/**
* (string) - The current state of the online store. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
*/
state?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a OnlineStore resource.
*/
export interface OnlineStoreArgs {
/**
* 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>;
}