@pulumi/databricks 1.25.0-alpha.1697866586 → 1.25.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,123 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
4
+ *
5
+ * ## Example Usage
6
+ *
7
+ * ```typescript
8
+ * import * as pulumi from "@pulumi/pulumi";
9
+ * import * as databricks from "@pulumi/databricks";
10
+ *
11
+ * const _this = new databricks.RegisteredModel("this", {
12
+ * catalogName: "main",
13
+ * schemaName: "default",
14
+ * });
15
+ * ```
16
+ * ## Access Control
17
+ *
18
+ * * databricks.Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges.
19
+ *
20
+ * ## Related Resources
21
+ *
22
+ * The following resources are often used in the same context:
23
+ *
24
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
25
+ * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
26
+ * * databricks.Table data to manage tables within Unity Catalog.
27
+ * * databricks.Schema data to manage schemas within Unity Catalog.
28
+ * * databricks.Catalog data to manage catalogs within Unity Catalog.
29
+ *
30
+ * ## Import
31
+ *
32
+ * The registered model resource can be imported using the full (3-level) name of the model. bash
33
+ *
34
+ * ```sh
35
+ * $ pulumi import databricks:index/registeredModel:RegisteredModel this <catalog_name.schema_name.model_name>
36
+ * ```
37
+ */
38
+ export declare class RegisteredModel extends pulumi.CustomResource {
39
+ /**
40
+ * Get an existing RegisteredModel resource's state with the given name, ID, and optional extra
41
+ * properties used to qualify the lookup.
42
+ *
43
+ * @param name The _unique_ name of the resulting resource.
44
+ * @param id The _unique_ provider ID of the resource to lookup.
45
+ * @param state Any extra arguments used during the lookup.
46
+ * @param opts Optional settings to control the behavior of the CustomResource.
47
+ */
48
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: RegisteredModelState, opts?: pulumi.CustomResourceOptions): RegisteredModel;
49
+ /**
50
+ * Returns true if the given object is an instance of RegisteredModel. This is designed to work even
51
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
52
+ */
53
+ static isInstance(obj: any): obj is RegisteredModel;
54
+ /**
55
+ * The name of the catalog where the schema and the registered model reside.
56
+ */
57
+ readonly catalogName: pulumi.Output<string>;
58
+ /**
59
+ * The comment attached to the registered model.
60
+ */
61
+ readonly comment: pulumi.Output<string | undefined>;
62
+ /**
63
+ * The name of the registered model.
64
+ */
65
+ readonly name: pulumi.Output<string>;
66
+ /**
67
+ * The name of the schema where the registered model resides.
68
+ */
69
+ readonly schemaName: pulumi.Output<string>;
70
+ readonly storageLocation: pulumi.Output<string>;
71
+ /**
72
+ * Create a RegisteredModel resource with the given unique name, arguments, and options.
73
+ *
74
+ * @param name The _unique_ name of the resource.
75
+ * @param args The arguments to use to populate this resource's properties.
76
+ * @param opts A bag of options that control this resource's behavior.
77
+ */
78
+ constructor(name: string, args: RegisteredModelArgs, opts?: pulumi.CustomResourceOptions);
79
+ }
80
+ /**
81
+ * Input properties used for looking up and filtering RegisteredModel resources.
82
+ */
83
+ export interface RegisteredModelState {
84
+ /**
85
+ * The name of the catalog where the schema and the registered model reside.
86
+ */
87
+ catalogName?: pulumi.Input<string>;
88
+ /**
89
+ * The comment attached to the registered model.
90
+ */
91
+ comment?: pulumi.Input<string>;
92
+ /**
93
+ * The name of the registered model.
94
+ */
95
+ name?: pulumi.Input<string>;
96
+ /**
97
+ * The name of the schema where the registered model resides.
98
+ */
99
+ schemaName?: pulumi.Input<string>;
100
+ storageLocation?: pulumi.Input<string>;
101
+ }
102
+ /**
103
+ * The set of arguments for constructing a RegisteredModel resource.
104
+ */
105
+ export interface RegisteredModelArgs {
106
+ /**
107
+ * The name of the catalog where the schema and the registered model reside.
108
+ */
109
+ catalogName: pulumi.Input<string>;
110
+ /**
111
+ * The comment attached to the registered model.
112
+ */
113
+ comment?: pulumi.Input<string>;
114
+ /**
115
+ * The name of the registered model.
116
+ */
117
+ name?: pulumi.Input<string>;
118
+ /**
119
+ * The name of the schema where the registered model resides.
120
+ */
121
+ schemaName: pulumi.Input<string>;
122
+ storageLocation?: pulumi.Input<string>;
123
+ }
@@ -0,0 +1,99 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.RegisteredModel = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * This resource allows you to create [Models in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html) in Databricks.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * ```typescript
14
+ * import * as pulumi from "@pulumi/pulumi";
15
+ * import * as databricks from "@pulumi/databricks";
16
+ *
17
+ * const _this = new databricks.RegisteredModel("this", {
18
+ * catalogName: "main",
19
+ * schemaName: "default",
20
+ * });
21
+ * ```
22
+ * ## Access Control
23
+ *
24
+ * * databricks.Grants can be used to grant principals `ALL_PRIVILEGES`, `APPLY_TAG`, and `EXECUTE` privileges.
25
+ *
26
+ * ## Related Resources
27
+ *
28
+ * The following resources are often used in the same context:
29
+ *
30
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
31
+ * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
32
+ * * databricks.Table data to manage tables within Unity Catalog.
33
+ * * databricks.Schema data to manage schemas within Unity Catalog.
34
+ * * databricks.Catalog data to manage catalogs within Unity Catalog.
35
+ *
36
+ * ## Import
37
+ *
38
+ * The registered model resource can be imported using the full (3-level) name of the model. bash
39
+ *
40
+ * ```sh
41
+ * $ pulumi import databricks:index/registeredModel:RegisteredModel this <catalog_name.schema_name.model_name>
42
+ * ```
43
+ */
44
+ class RegisteredModel extends pulumi.CustomResource {
45
+ /**
46
+ * Get an existing RegisteredModel resource's state with the given name, ID, and optional extra
47
+ * properties used to qualify the lookup.
48
+ *
49
+ * @param name The _unique_ name of the resulting resource.
50
+ * @param id The _unique_ provider ID of the resource to lookup.
51
+ * @param state Any extra arguments used during the lookup.
52
+ * @param opts Optional settings to control the behavior of the CustomResource.
53
+ */
54
+ static get(name, id, state, opts) {
55
+ return new RegisteredModel(name, state, Object.assign(Object.assign({}, opts), { id: id }));
56
+ }
57
+ /**
58
+ * Returns true if the given object is an instance of RegisteredModel. This is designed to work even
59
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
60
+ */
61
+ static isInstance(obj) {
62
+ if (obj === undefined || obj === null) {
63
+ return false;
64
+ }
65
+ return obj['__pulumiType'] === RegisteredModel.__pulumiType;
66
+ }
67
+ constructor(name, argsOrState, opts) {
68
+ let resourceInputs = {};
69
+ opts = opts || {};
70
+ if (opts.id) {
71
+ const state = argsOrState;
72
+ resourceInputs["catalogName"] = state ? state.catalogName : undefined;
73
+ resourceInputs["comment"] = state ? state.comment : undefined;
74
+ resourceInputs["name"] = state ? state.name : undefined;
75
+ resourceInputs["schemaName"] = state ? state.schemaName : undefined;
76
+ resourceInputs["storageLocation"] = state ? state.storageLocation : undefined;
77
+ }
78
+ else {
79
+ const args = argsOrState;
80
+ if ((!args || args.catalogName === undefined) && !opts.urn) {
81
+ throw new Error("Missing required property 'catalogName'");
82
+ }
83
+ if ((!args || args.schemaName === undefined) && !opts.urn) {
84
+ throw new Error("Missing required property 'schemaName'");
85
+ }
86
+ resourceInputs["catalogName"] = args ? args.catalogName : undefined;
87
+ resourceInputs["comment"] = args ? args.comment : undefined;
88
+ resourceInputs["name"] = args ? args.name : undefined;
89
+ resourceInputs["schemaName"] = args ? args.schemaName : undefined;
90
+ resourceInputs["storageLocation"] = args ? args.storageLocation : undefined;
91
+ }
92
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
93
+ super(RegisteredModel.__pulumiType, name, resourceInputs, opts);
94
+ }
95
+ }
96
+ exports.RegisteredModel = RegisteredModel;
97
+ /** @internal */
98
+ RegisteredModel.__pulumiType = 'databricks:index/registeredModel:RegisteredModel';
99
+ //# sourceMappingURL=registeredModel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registeredModel.js","sourceRoot":"","sources":["../registeredModel.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACtE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA4BD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,SAAS,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK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CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACpE,CAAC;;AAhFL,0CAiFC;AAnEG,gBAAgB;AACO,4BAAY,GAAG,kDAAkD,CAAC"}
package/schema.d.ts CHANGED
@@ -85,7 +85,7 @@ export declare class Schema extends pulumi.CustomResource {
85
85
  [key: string]: any;
86
86
  } | undefined>;
87
87
  /**
88
- * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
88
+ * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
89
89
  */
90
90
  readonly storageRoot: pulumi.Output<string | undefined>;
91
91
  /**
@@ -129,7 +129,7 @@ export interface SchemaState {
129
129
  [key: string]: any;
130
130
  }>;
131
131
  /**
132
- * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
132
+ * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
133
133
  */
134
134
  storageRoot?: pulumi.Input<string>;
135
135
  }
@@ -165,7 +165,7 @@ export interface SchemaArgs {
165
165
  [key: string]: any;
166
166
  }>;
167
167
  /**
168
- * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the metastore root location. Change forces creation of a new resource.
168
+ * Managed location of the schema. Location in cloud storage where data for managed tables will be stored. If not specified, the location will default to the catalog root location. Change forces creation of a new resource.
169
169
  */
170
170
  storageRoot?: pulumi.Input<string>;
171
171
  }
package/secretAcl.d.ts CHANGED
@@ -4,7 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
4
4
  *
5
5
  * ## Example Usage
6
6
  *
7
- * This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault.
7
+ * This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault.
8
8
  *
9
9
  * ```typescript
10
10
  * import * as pulumi from "@pulumi/pulumi";
@@ -63,7 +63,7 @@ export declare class SecretAcl extends pulumi.CustomResource {
63
63
  */
64
64
  readonly permission: pulumi.Output<string>;
65
65
  /**
66
- * name of the principals. It can be `users` for all users or name or `displayName` of databricks_group
66
+ * principal's identifier. It can be:
67
67
  */
68
68
  readonly principal: pulumi.Output<string>;
69
69
  /**
@@ -88,7 +88,7 @@ export interface SecretAclState {
88
88
  */
89
89
  permission?: pulumi.Input<string>;
90
90
  /**
91
- * name of the principals. It can be `users` for all users or name or `displayName` of databricks_group
91
+ * principal's identifier. It can be:
92
92
  */
93
93
  principal?: pulumi.Input<string>;
94
94
  /**
@@ -105,7 +105,7 @@ export interface SecretAclArgs {
105
105
  */
106
106
  permission: pulumi.Input<string>;
107
107
  /**
108
- * name of the principals. It can be `users` for all users or name or `displayName` of databricks_group
108
+ * principal's identifier. It can be:
109
109
  */
110
110
  principal: pulumi.Input<string>;
111
111
  /**
package/secretAcl.js CHANGED
@@ -10,7 +10,7 @@ const utilities = require("./utilities");
10
10
  *
11
11
  * ## Example Usage
12
12
  *
13
- * This way, data scientists can read the Publishing API key that is synchronized from example, Azure Key Vault.
13
+ * This way, data scientists can read the Publishing API key that is synchronized from, for example, Azure Key Vault.
14
14
  *
15
15
  * ```typescript
16
16
  * import * as pulumi from "@pulumi/pulumi";
package/sqlDashboard.d.ts CHANGED
@@ -70,6 +70,7 @@ export declare class SqlDashboard extends pulumi.CustomResource {
70
70
  */
71
71
  static isInstance(obj: any): obj is SqlDashboard;
72
72
  readonly createdAt: pulumi.Output<string>;
73
+ readonly dashboardFiltersEnabled: pulumi.Output<boolean | undefined>;
73
74
  readonly name: pulumi.Output<string>;
74
75
  readonly parent: pulumi.Output<string | undefined>;
75
76
  readonly tags: pulumi.Output<string[] | undefined>;
@@ -88,6 +89,7 @@ export declare class SqlDashboard extends pulumi.CustomResource {
88
89
  */
89
90
  export interface SqlDashboardState {
90
91
  createdAt?: pulumi.Input<string>;
92
+ dashboardFiltersEnabled?: pulumi.Input<boolean>;
91
93
  name?: pulumi.Input<string>;
92
94
  parent?: pulumi.Input<string>;
93
95
  tags?: pulumi.Input<pulumi.Input<string>[]>;
@@ -98,6 +100,7 @@ export interface SqlDashboardState {
98
100
  */
99
101
  export interface SqlDashboardArgs {
100
102
  createdAt?: pulumi.Input<string>;
103
+ dashboardFiltersEnabled?: pulumi.Input<boolean>;
101
104
  name?: pulumi.Input<string>;
102
105
  parent?: pulumi.Input<string>;
103
106
  tags?: pulumi.Input<pulumi.Input<string>[]>;
package/sqlDashboard.js CHANGED
@@ -88,6 +88,7 @@ class SqlDashboard extends pulumi.CustomResource {
88
88
  if (opts.id) {
89
89
  const state = argsOrState;
90
90
  resourceInputs["createdAt"] = state ? state.createdAt : undefined;
91
+ resourceInputs["dashboardFiltersEnabled"] = state ? state.dashboardFiltersEnabled : undefined;
91
92
  resourceInputs["name"] = state ? state.name : undefined;
92
93
  resourceInputs["parent"] = state ? state.parent : undefined;
93
94
  resourceInputs["tags"] = state ? state.tags : undefined;
@@ -96,6 +97,7 @@ class SqlDashboard extends pulumi.CustomResource {
96
97
  else {
97
98
  const args = argsOrState;
98
99
  resourceInputs["createdAt"] = args ? args.createdAt : undefined;
100
+ resourceInputs["dashboardFiltersEnabled"] = args ? args.dashboardFiltersEnabled : undefined;
99
101
  resourceInputs["name"] = args ? args.name : undefined;
100
102
  resourceInputs["parent"] = args ? args.parent : undefined;
101
103
  resourceInputs["tags"] = args ? args.tags : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"sqlDashboard.js","sourceRoot":"","sources":["../sqlDashboard.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,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;YACH,MAAM,IAAI,GAAG,WAA2C,CAAC;YACzD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,yBAAyB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,uBAAuB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5F,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAjEL,oCAkEC;AApDG,gBAAgB;AACO,yBAAY,GAAG,4CAA4C,CAAC"}
package/sqlQuery.d.ts CHANGED
@@ -126,12 +126,30 @@ export declare class SqlQuery extends pulumi.CustomResource {
126
126
  */
127
127
  static isInstance(obj: any): obj is SqlQuery;
128
128
  readonly createdAt: pulumi.Output<string>;
129
+ /**
130
+ * Data source ID of a SQL warehouse
131
+ */
129
132
  readonly dataSourceId: pulumi.Output<string>;
133
+ /**
134
+ * General description that conveys additional information about this query such as usage notes.
135
+ */
130
136
  readonly description: pulumi.Output<string | undefined>;
137
+ /**
138
+ * The title of this query that appears in list views, widget headings, and on the query page.
139
+ */
131
140
  readonly name: pulumi.Output<string>;
132
141
  readonly parameters: pulumi.Output<outputs.SqlQueryParameter[] | undefined>;
142
+ /**
143
+ * The identifier of the workspace folder containing the object.
144
+ */
133
145
  readonly parent: pulumi.Output<string | undefined>;
146
+ /**
147
+ * The text of the query to be run.
148
+ */
134
149
  readonly query: pulumi.Output<string>;
150
+ /**
151
+ * Run as role. Possible values are `viewer`, `owner`.
152
+ */
135
153
  readonly runAsRole: pulumi.Output<string | undefined>;
136
154
  /**
137
155
  * @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`.
@@ -153,12 +171,30 @@ export declare class SqlQuery extends pulumi.CustomResource {
153
171
  */
154
172
  export interface SqlQueryState {
155
173
  createdAt?: pulumi.Input<string>;
174
+ /**
175
+ * Data source ID of a SQL warehouse
176
+ */
156
177
  dataSourceId?: pulumi.Input<string>;
178
+ /**
179
+ * General description that conveys additional information about this query such as usage notes.
180
+ */
157
181
  description?: pulumi.Input<string>;
182
+ /**
183
+ * The title of this query that appears in list views, widget headings, and on the query page.
184
+ */
158
185
  name?: pulumi.Input<string>;
159
186
  parameters?: pulumi.Input<pulumi.Input<inputs.SqlQueryParameter>[]>;
187
+ /**
188
+ * The identifier of the workspace folder containing the object.
189
+ */
160
190
  parent?: pulumi.Input<string>;
191
+ /**
192
+ * The text of the query to be run.
193
+ */
161
194
  query?: pulumi.Input<string>;
195
+ /**
196
+ * Run as role. Possible values are `viewer`, `owner`.
197
+ */
162
198
  runAsRole?: pulumi.Input<string>;
163
199
  /**
164
200
  * @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`.
@@ -172,12 +208,30 @@ export interface SqlQueryState {
172
208
  */
173
209
  export interface SqlQueryArgs {
174
210
  createdAt?: pulumi.Input<string>;
211
+ /**
212
+ * Data source ID of a SQL warehouse
213
+ */
175
214
  dataSourceId: pulumi.Input<string>;
215
+ /**
216
+ * General description that conveys additional information about this query such as usage notes.
217
+ */
176
218
  description?: pulumi.Input<string>;
219
+ /**
220
+ * The title of this query that appears in list views, widget headings, and on the query page.
221
+ */
177
222
  name?: pulumi.Input<string>;
178
223
  parameters?: pulumi.Input<pulumi.Input<inputs.SqlQueryParameter>[]>;
224
+ /**
225
+ * The identifier of the workspace folder containing the object.
226
+ */
179
227
  parent?: pulumi.Input<string>;
228
+ /**
229
+ * The text of the query to be run.
230
+ */
180
231
  query: pulumi.Input<string>;
232
+ /**
233
+ * Run as role. Possible values are `viewer`, `owner`.
234
+ */
181
235
  runAsRole?: pulumi.Input<string>;
182
236
  /**
183
237
  * @deprecated Operations on `databricks_sql_query` schedules are deprecated. Please use `databricks_job` resource to schedule a `sql_task`.
package/sqlQuery.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"sqlQuery.js","sourceRoot":"","sources":["../sqlQuery.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2GG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,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GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YAClE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;SACnE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AA3GL,4BA4GC;AA9FG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
@@ -0,0 +1,89 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
4
+ *
5
+ * > **Notes**
6
+ * Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future.
7
+ *
8
+ * Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * Enable the system schema `access`
13
+ *
14
+ * ```typescript
15
+ * import * as pulumi from "@pulumi/pulumi";
16
+ * import * as databricks from "@pulumi/databricks";
17
+ *
18
+ * const _this = new databricks.SystemSchema("this", {schema: "access"});
19
+ * ```
20
+ *
21
+ * ## Import
22
+ *
23
+ * This resource can be imported by the metastore id and schema name bash
24
+ *
25
+ * ```sh
26
+ * $ pulumi import databricks:index/systemSchema:SystemSchema this <metastore_id>|<schema_name>
27
+ * ```
28
+ */
29
+ export declare class SystemSchema extends pulumi.CustomResource {
30
+ /**
31
+ * Get an existing SystemSchema resource's state with the given name, ID, and optional extra
32
+ * properties used to qualify the lookup.
33
+ *
34
+ * @param name The _unique_ name of the resulting resource.
35
+ * @param id The _unique_ provider ID of the resource to lookup.
36
+ * @param state Any extra arguments used during the lookup.
37
+ * @param opts Optional settings to control the behavior of the CustomResource.
38
+ */
39
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: SystemSchemaState, opts?: pulumi.CustomResourceOptions): SystemSchema;
40
+ /**
41
+ * Returns true if the given object is an instance of SystemSchema. This is designed to work even
42
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
43
+ */
44
+ static isInstance(obj: any): obj is SystemSchema;
45
+ readonly metastoreId: pulumi.Output<string>;
46
+ /**
47
+ * Full name of the system schema.
48
+ */
49
+ readonly schema: pulumi.Output<string | undefined>;
50
+ /**
51
+ * The current state of enablement for the system schema.
52
+ */
53
+ readonly state: pulumi.Output<string>;
54
+ /**
55
+ * Create a SystemSchema resource with the given unique name, arguments, and options.
56
+ *
57
+ * @param name The _unique_ name of the resource.
58
+ * @param args The arguments to use to populate this resource's properties.
59
+ * @param opts A bag of options that control this resource's behavior.
60
+ */
61
+ constructor(name: string, args?: SystemSchemaArgs, opts?: pulumi.CustomResourceOptions);
62
+ }
63
+ /**
64
+ * Input properties used for looking up and filtering SystemSchema resources.
65
+ */
66
+ export interface SystemSchemaState {
67
+ metastoreId?: pulumi.Input<string>;
68
+ /**
69
+ * Full name of the system schema.
70
+ */
71
+ schema?: pulumi.Input<string>;
72
+ /**
73
+ * The current state of enablement for the system schema.
74
+ */
75
+ state?: pulumi.Input<string>;
76
+ }
77
+ /**
78
+ * The set of arguments for constructing a SystemSchema resource.
79
+ */
80
+ export interface SystemSchemaArgs {
81
+ /**
82
+ * Full name of the system schema.
83
+ */
84
+ schema?: pulumi.Input<string>;
85
+ /**
86
+ * The current state of enablement for the system schema.
87
+ */
88
+ state?: pulumi.Input<string>;
89
+ }
@@ -0,0 +1,80 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.SystemSchema = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * > **Public Preview** This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
10
+ *
11
+ * > **Notes**
12
+ * Unity Catalog APIs are accessible via **workspace-level APIs**. This design may change in the future.
13
+ *
14
+ * Manages system tables enablement. System tables are a Databricks-hosted analytical store of your account’s operational data. System tables can be used for historical observability across your account. System tables must be enabled by an account admin.
15
+ *
16
+ * ## Example Usage
17
+ *
18
+ * Enable the system schema `access`
19
+ *
20
+ * ```typescript
21
+ * import * as pulumi from "@pulumi/pulumi";
22
+ * import * as databricks from "@pulumi/databricks";
23
+ *
24
+ * const _this = new databricks.SystemSchema("this", {schema: "access"});
25
+ * ```
26
+ *
27
+ * ## Import
28
+ *
29
+ * This resource can be imported by the metastore id and schema name bash
30
+ *
31
+ * ```sh
32
+ * $ pulumi import databricks:index/systemSchema:SystemSchema this <metastore_id>|<schema_name>
33
+ * ```
34
+ */
35
+ class SystemSchema extends pulumi.CustomResource {
36
+ /**
37
+ * Get an existing SystemSchema resource's state with the given name, ID, and optional extra
38
+ * properties used to qualify the lookup.
39
+ *
40
+ * @param name The _unique_ name of the resulting resource.
41
+ * @param id The _unique_ provider ID of the resource to lookup.
42
+ * @param state Any extra arguments used during the lookup.
43
+ * @param opts Optional settings to control the behavior of the CustomResource.
44
+ */
45
+ static get(name, id, state, opts) {
46
+ return new SystemSchema(name, state, Object.assign(Object.assign({}, opts), { id: id }));
47
+ }
48
+ /**
49
+ * Returns true if the given object is an instance of SystemSchema. This is designed to work even
50
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
51
+ */
52
+ static isInstance(obj) {
53
+ if (obj === undefined || obj === null) {
54
+ return false;
55
+ }
56
+ return obj['__pulumiType'] === SystemSchema.__pulumiType;
57
+ }
58
+ constructor(name, argsOrState, opts) {
59
+ let resourceInputs = {};
60
+ opts = opts || {};
61
+ if (opts.id) {
62
+ const state = argsOrState;
63
+ resourceInputs["metastoreId"] = state ? state.metastoreId : undefined;
64
+ resourceInputs["schema"] = state ? state.schema : undefined;
65
+ resourceInputs["state"] = state ? state.state : undefined;
66
+ }
67
+ else {
68
+ const args = argsOrState;
69
+ resourceInputs["schema"] = args ? args.schema : undefined;
70
+ resourceInputs["state"] = args ? args.state : undefined;
71
+ resourceInputs["metastoreId"] = undefined /*out*/;
72
+ }
73
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
74
+ super(SystemSchema.__pulumiType, name, resourceInputs, opts);
75
+ }
76
+ }
77
+ exports.SystemSchema = SystemSchema;
78
+ /** @internal */
79
+ SystemSchema.__pulumiType = 'databricks:index/systemSchema:SystemSchema';
80
+ //# sourceMappingURL=systemSchema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"systemSchema.js","sourceRoot":"","sources":["../systemSchema.ts"],"names":[],"mappings":";AAAA,wFAAwF;AAC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