@pulumi/databricks 1.72.0-alpha.1750139016 → 1.72.0-alpha.1752500848
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.
- package/accountNetworkPolicy.d.ts +2 -2
- package/accountNetworkPolicy.js +2 -2
- package/alertV2.d.ts +10 -4
- package/alertV2.js +8 -2
- package/alertV2.js.map +1 -1
- package/budgetPolicy.d.ts +2 -2
- package/budgetPolicy.js +2 -2
- package/cluster.d.ts +6 -0
- package/cluster.js +4 -0
- package/cluster.js.map +1 -1
- package/connection.d.ts +24 -29
- package/connection.js +3 -17
- package/connection.js.map +1 -1
- package/databaseInstance.d.ts +33 -31
- package/databaseInstance.js +18 -6
- package/databaseInstance.js.map +1 -1
- package/entitlements.d.ts +3 -3
- package/getAlertV2.d.ts +23 -1
- package/getAlertV2.js +22 -0
- package/getAlertV2.js.map +1 -1
- package/getAlertsV2.d.ts +38 -0
- package/getAlertsV2.js +38 -0
- package/getAlertsV2.js.map +1 -1
- package/getDatabaseInstance.d.ts +42 -28
- package/getDatabaseInstance.js +32 -4
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabaseInstances.d.ts +32 -0
- package/getDatabaseInstances.js +32 -0
- package/getDatabaseInstances.js.map +1 -1
- package/getJobs.d.ts +63 -10
- package/getJobs.js +56 -10
- package/getJobs.js.map +1 -1
- package/getOnlineStore.d.ts +58 -0
- package/getOnlineStore.js +24 -0
- package/getOnlineStore.js.map +1 -0
- package/getOnlineStores.d.ts +14 -0
- package/getOnlineStores.js +18 -0
- package/getOnlineStores.js.map +1 -0
- package/getQualityMonitorV2.d.ts +95 -0
- package/getQualityMonitorV2.js +68 -0
- package/getQualityMonitorV2.js.map +1 -0
- package/getQualityMonitorsV2.d.ts +46 -0
- package/getQualityMonitorsV2.js +50 -0
- package/getQualityMonitorsV2.js.map +1 -0
- package/group.d.ts +3 -3
- package/index.d.ts +18 -0
- package/index.js +26 -4
- package/index.js.map +1 -1
- package/instancePool.d.ts +2 -0
- package/instancePool.js +2 -0
- package/instancePool.js.map +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +91 -5
- package/mwsNccPrivateEndpointRule.js +37 -7
- package/mwsNccPrivateEndpointRule.js.map +1 -1
- package/mwsWorkspaces.d.ts +9 -9
- package/mwsWorkspaces.js +0 -6
- package/mwsWorkspaces.js.map +1 -1
- package/onlineStore.d.ts +105 -0
- package/onlineStore.js +78 -0
- package/onlineStore.js.map +1 -0
- package/package.json +2 -2
- package/pipeline.d.ts +21 -0
- package/pipeline.js +4 -0
- package/pipeline.js.map +1 -1
- package/qualityMonitorV2.d.ts +111 -0
- package/qualityMonitorV2.js +100 -0
- package/qualityMonitorV2.js.map +1 -0
- package/recipientFederationPolicy.d.ts +2 -2
- package/recipientFederationPolicy.js +2 -2
- package/schema.d.ts +8 -0
- package/schema.js +2 -0
- package/schema.js.map +1 -1
- package/servicePrincipal.d.ts +3 -3
- package/servicePrincipalRole.d.ts +19 -3
- package/servicePrincipalRole.js +16 -0
- package/servicePrincipalRole.js.map +1 -1
- package/servicePrincipalSecret.d.ts +29 -3
- package/servicePrincipalSecret.js +16 -0
- package/servicePrincipalSecret.js.map +1 -1
- package/types/input.d.ts +238 -51
- package/types/output.d.ts +284 -70
- package/user.d.ts +3 -3
- package/workspaceNetworkOption.d.ts +2 -2
- package/workspaceNetworkOption.js +2 -2
|
@@ -4,7 +4,7 @@ import * as outputs from "./types/output";
|
|
|
4
4
|
/**
|
|
5
5
|
* ## Import
|
|
6
6
|
*
|
|
7
|
-
* As of
|
|
7
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
8
8
|
*
|
|
9
9
|
* hcl
|
|
10
10
|
*
|
|
@@ -16,7 +16,7 @@ import * as outputs from "./types/output";
|
|
|
16
16
|
*
|
|
17
17
|
* }
|
|
18
18
|
*
|
|
19
|
-
* If you are using an older version of
|
|
19
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
20
20
|
*
|
|
21
21
|
* ```sh
|
|
22
22
|
* $ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy databricks_account_network_policy network_policy_id
|
package/accountNetworkPolicy.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* ## Import
|
|
10
10
|
*
|
|
11
|
-
* As of
|
|
11
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
12
|
*
|
|
13
13
|
* hcl
|
|
14
14
|
*
|
|
@@ -20,7 +20,7 @@ const utilities = require("./utilities");
|
|
|
20
20
|
*
|
|
21
21
|
* }
|
|
22
22
|
*
|
|
23
|
-
* If you are using an older version of
|
|
23
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
24
|
*
|
|
25
25
|
* ```sh
|
|
26
26
|
* $ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy databricks_account_network_policy network_policy_id
|
package/alertV2.d.ts
CHANGED
|
@@ -2,9 +2,15 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* The Alert v2 resource allows you to manage SQL alerts in Databricks SQL. Alerts monitor query results and notify you when specific conditions are met.
|
|
6
|
+
*
|
|
7
|
+
* Alerts run on a schedule and evaluate query results against defined thresholds. When an alert is triggered, notifications can be sent to specified users or destinations.
|
|
8
|
+
*
|
|
9
|
+
* ## Example Usage
|
|
10
|
+
*
|
|
5
11
|
* ## Import
|
|
6
12
|
*
|
|
7
|
-
* As of
|
|
13
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
8
14
|
*
|
|
9
15
|
* hcl
|
|
10
16
|
*
|
|
@@ -16,7 +22,7 @@ import * as outputs from "./types/output";
|
|
|
16
22
|
*
|
|
17
23
|
* }
|
|
18
24
|
*
|
|
19
|
-
* If you are using an older version of
|
|
25
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
20
26
|
*
|
|
21
27
|
* ```sh
|
|
22
28
|
* $ pulumi import databricks:index/alertV2:AlertV2 databricks_alert_v2 id
|
|
@@ -56,7 +62,7 @@ export declare class AlertV2 extends pulumi.CustomResource {
|
|
|
56
62
|
readonly displayName: pulumi.Output<string | undefined>;
|
|
57
63
|
readonly evaluation: pulumi.Output<outputs.AlertV2Evaluation | undefined>;
|
|
58
64
|
/**
|
|
59
|
-
* (string) - Indicates whether the query is trashed. Possible values are: ACTIVE
|
|
65
|
+
* (string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `TRASHED`
|
|
60
66
|
*/
|
|
61
67
|
readonly lifecycleState: pulumi.Output<string>;
|
|
62
68
|
/**
|
|
@@ -115,7 +121,7 @@ export interface AlertV2State {
|
|
|
115
121
|
displayName?: pulumi.Input<string>;
|
|
116
122
|
evaluation?: pulumi.Input<inputs.AlertV2Evaluation>;
|
|
117
123
|
/**
|
|
118
|
-
* (string) - Indicates whether the query is trashed. Possible values are: ACTIVE
|
|
124
|
+
* (string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `TRASHED`
|
|
119
125
|
*/
|
|
120
126
|
lifecycleState?: pulumi.Input<string>;
|
|
121
127
|
/**
|
package/alertV2.js
CHANGED
|
@@ -6,9 +6,15 @@ exports.AlertV2 = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* The Alert v2 resource allows you to manage SQL alerts in Databricks SQL. Alerts monitor query results and notify you when specific conditions are met.
|
|
10
|
+
*
|
|
11
|
+
* Alerts run on a schedule and evaluate query results against defined thresholds. When an alert is triggered, notifications can be sent to specified users or destinations.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
9
15
|
* ## Import
|
|
10
16
|
*
|
|
11
|
-
* As of
|
|
17
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
18
|
*
|
|
13
19
|
* hcl
|
|
14
20
|
*
|
|
@@ -20,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
20
26
|
*
|
|
21
27
|
* }
|
|
22
28
|
*
|
|
23
|
-
* If you are using an older version of
|
|
29
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
30
|
*
|
|
25
31
|
* ```sh
|
|
26
32
|
* $ pulumi import databricks:index/alertV2:AlertV2 databricks_alert_v2 id
|
package/alertV2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alertV2.js","sourceRoot":"","sources":["../alertV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"alertV2.js","sourceRoot":"","sources":["../alertV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,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,OAAO,CAAC,YAAY,CAAC;IACxD,CAAC;IAyDD,YAAY,IAAY,EAAE,WAAwC,EAAE,IAAmC;QACnG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAA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,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACrD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AAvHL,0BAwHC;AA1GG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
|
package/budgetPolicy.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ import * as outputs from "./types/output";
|
|
|
27
27
|
*
|
|
28
28
|
* ## Import
|
|
29
29
|
*
|
|
30
|
-
* As of
|
|
30
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
31
31
|
*
|
|
32
32
|
* hcl
|
|
33
33
|
*
|
|
@@ -39,7 +39,7 @@ import * as outputs from "./types/output";
|
|
|
39
39
|
*
|
|
40
40
|
* }
|
|
41
41
|
*
|
|
42
|
-
* If you are using an older version of
|
|
42
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
43
43
|
*
|
|
44
44
|
* ```sh
|
|
45
45
|
* $ pulumi import databricks:index/budgetPolicy:BudgetPolicy databricks_budget_policy policy_id
|
package/budgetPolicy.js
CHANGED
|
@@ -31,7 +31,7 @@ const utilities = require("./utilities");
|
|
|
31
31
|
*
|
|
32
32
|
* ## Import
|
|
33
33
|
*
|
|
34
|
-
* As of
|
|
34
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
35
35
|
*
|
|
36
36
|
* hcl
|
|
37
37
|
*
|
|
@@ -43,7 +43,7 @@ const utilities = require("./utilities");
|
|
|
43
43
|
*
|
|
44
44
|
* }
|
|
45
45
|
*
|
|
46
|
-
* If you are using an older version of
|
|
46
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
47
47
|
*
|
|
48
48
|
* ```sh
|
|
49
49
|
* $ pulumi import databricks:index/budgetPolicy:BudgetPolicy databricks_budget_policy policy_id
|
package/cluster.d.ts
CHANGED
|
@@ -171,6 +171,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
171
171
|
* Identifier of Cluster Policy to validate cluster and preset certain defaults. *The primary use for cluster policies is to allow users to create policy-scoped clusters via UI rather than sharing configuration for API-created clusters.* For example, when you specify `policyId` of [external metastore](https://docs.databricks.com/administration-guide/clusters/policies.html#external-metastore-policy) policy, you still have to fill in relevant keys for `sparkConf`. If relevant fields aren't filled in, then it will cause the configuration drift detected on each plan/apply, and Pulumi will try to apply the detected changes.
|
|
172
172
|
*/
|
|
173
173
|
readonly policyId: pulumi.Output<string | undefined>;
|
|
174
|
+
readonly remoteDiskThroughput: pulumi.Output<number | undefined>;
|
|
174
175
|
/**
|
|
175
176
|
* The type of runtime engine to use. If not specified, the runtime engine type is inferred based on the sparkVersion value. Allowed values include: `PHOTON`, `STANDARD`.
|
|
176
177
|
*/
|
|
@@ -205,6 +206,7 @@ export declare class Cluster extends pulumi.CustomResource {
|
|
|
205
206
|
* (string) State of the cluster.
|
|
206
207
|
*/
|
|
207
208
|
readonly state: pulumi.Output<string>;
|
|
209
|
+
readonly totalInitialRemoteDiskSize: pulumi.Output<number | undefined>;
|
|
208
210
|
readonly url: pulumi.Output<string>;
|
|
209
211
|
/**
|
|
210
212
|
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
@@ -367,6 +369,7 @@ export interface ClusterState {
|
|
|
367
369
|
* Identifier of Cluster Policy to validate cluster and preset certain defaults. *The primary use for cluster policies is to allow users to create policy-scoped clusters via UI rather than sharing configuration for API-created clusters.* For example, when you specify `policyId` of [external metastore](https://docs.databricks.com/administration-guide/clusters/policies.html#external-metastore-policy) policy, you still have to fill in relevant keys for `sparkConf`. If relevant fields aren't filled in, then it will cause the configuration drift detected on each plan/apply, and Pulumi will try to apply the detected changes.
|
|
368
370
|
*/
|
|
369
371
|
policyId?: pulumi.Input<string>;
|
|
372
|
+
remoteDiskThroughput?: pulumi.Input<number>;
|
|
370
373
|
/**
|
|
371
374
|
* The type of runtime engine to use. If not specified, the runtime engine type is inferred based on the sparkVersion value. Allowed values include: `PHOTON`, `STANDARD`.
|
|
372
375
|
*/
|
|
@@ -401,6 +404,7 @@ export interface ClusterState {
|
|
|
401
404
|
* (string) State of the cluster.
|
|
402
405
|
*/
|
|
403
406
|
state?: pulumi.Input<string>;
|
|
407
|
+
totalInitialRemoteDiskSize?: pulumi.Input<number>;
|
|
404
408
|
url?: pulumi.Input<string>;
|
|
405
409
|
/**
|
|
406
410
|
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
@@ -548,6 +552,7 @@ export interface ClusterArgs {
|
|
|
548
552
|
* Identifier of Cluster Policy to validate cluster and preset certain defaults. *The primary use for cluster policies is to allow users to create policy-scoped clusters via UI rather than sharing configuration for API-created clusters.* For example, when you specify `policyId` of [external metastore](https://docs.databricks.com/administration-guide/clusters/policies.html#external-metastore-policy) policy, you still have to fill in relevant keys for `sparkConf`. If relevant fields aren't filled in, then it will cause the configuration drift detected on each plan/apply, and Pulumi will try to apply the detected changes.
|
|
549
553
|
*/
|
|
550
554
|
policyId?: pulumi.Input<string>;
|
|
555
|
+
remoteDiskThroughput?: pulumi.Input<number>;
|
|
551
556
|
/**
|
|
552
557
|
* The type of runtime engine to use. If not specified, the runtime engine type is inferred based on the sparkVersion value. Allowed values include: `PHOTON`, `STANDARD`.
|
|
553
558
|
*/
|
|
@@ -578,6 +583,7 @@ export interface ClusterArgs {
|
|
|
578
583
|
* SSH public key contents that will be added to each Spark node in this cluster. The corresponding private keys can be used to login with the user name ubuntu on port 2200. You can specify up to 10 keys.
|
|
579
584
|
*/
|
|
580
585
|
sshPublicKeys?: pulumi.Input<pulumi.Input<string>[]>;
|
|
586
|
+
totalInitialRemoteDiskSize?: pulumi.Input<number>;
|
|
581
587
|
/**
|
|
582
588
|
* Whenever ML runtime should be selected or not. Actual runtime is determined by `sparkVersion` (DBR release), this field `useMlRuntime`, and whether `nodeTypeId` is GPU node or not.
|
|
583
589
|
*/
|
package/cluster.js
CHANGED
|
@@ -73,6 +73,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
73
73
|
resourceInputs["nodeTypeId"] = state ? state.nodeTypeId : undefined;
|
|
74
74
|
resourceInputs["numWorkers"] = state ? state.numWorkers : undefined;
|
|
75
75
|
resourceInputs["policyId"] = state ? state.policyId : undefined;
|
|
76
|
+
resourceInputs["remoteDiskThroughput"] = state ? state.remoteDiskThroughput : undefined;
|
|
76
77
|
resourceInputs["runtimeEngine"] = state ? state.runtimeEngine : undefined;
|
|
77
78
|
resourceInputs["singleUserName"] = state ? state.singleUserName : undefined;
|
|
78
79
|
resourceInputs["sparkConf"] = state ? state.sparkConf : undefined;
|
|
@@ -80,6 +81,7 @@ class Cluster extends pulumi.CustomResource {
|
|
|
80
81
|
resourceInputs["sparkVersion"] = state ? state.sparkVersion : undefined;
|
|
81
82
|
resourceInputs["sshPublicKeys"] = state ? state.sshPublicKeys : undefined;
|
|
82
83
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
84
|
+
resourceInputs["totalInitialRemoteDiskSize"] = state ? state.totalInitialRemoteDiskSize : undefined;
|
|
83
85
|
resourceInputs["url"] = state ? state.url : undefined;
|
|
84
86
|
resourceInputs["useMlRuntime"] = state ? state.useMlRuntime : undefined;
|
|
85
87
|
resourceInputs["workloadType"] = state ? state.workloadType : undefined;
|
|
@@ -116,12 +118,14 @@ class Cluster extends pulumi.CustomResource {
|
|
|
116
118
|
resourceInputs["nodeTypeId"] = args ? args.nodeTypeId : undefined;
|
|
117
119
|
resourceInputs["numWorkers"] = args ? args.numWorkers : undefined;
|
|
118
120
|
resourceInputs["policyId"] = args ? args.policyId : undefined;
|
|
121
|
+
resourceInputs["remoteDiskThroughput"] = args ? args.remoteDiskThroughput : undefined;
|
|
119
122
|
resourceInputs["runtimeEngine"] = args ? args.runtimeEngine : undefined;
|
|
120
123
|
resourceInputs["singleUserName"] = args ? args.singleUserName : undefined;
|
|
121
124
|
resourceInputs["sparkConf"] = args ? args.sparkConf : undefined;
|
|
122
125
|
resourceInputs["sparkEnvVars"] = args ? args.sparkEnvVars : undefined;
|
|
123
126
|
resourceInputs["sparkVersion"] = args ? args.sparkVersion : undefined;
|
|
124
127
|
resourceInputs["sshPublicKeys"] = args ? args.sshPublicKeys : undefined;
|
|
128
|
+
resourceInputs["totalInitialRemoteDiskSize"] = args ? args.totalInitialRemoteDiskSize : undefined;
|
|
125
129
|
resourceInputs["useMlRuntime"] = args ? args.useMlRuntime : undefined;
|
|
126
130
|
resourceInputs["workloadType"] = args ? args.workloadType : undefined;
|
|
127
131
|
resourceInputs["clusterId"] = undefined /*out*/;
|
package/cluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cluster.js","sourceRoot":"","sources":["../cluster.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;GAUG;AACH,MAAa,OAAQ,SAAQ,MAAM,CAAC,cAAc;IAC9C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoB,EAAE,IAAmC;QAClH,OAAO,IAAI,OAAO,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9D,C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C,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,OAAO,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5D,CAAC;;AArTL,0BAsTC;AAxSG,gBAAgB;AACO,oBAAY,GAAG,kCAAkC,CAAC"}
|
package/connection.d.ts
CHANGED
|
@@ -2,14 +2,14 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
+
* > This resource can only be used with a workspace-level provider!
|
|
6
|
+
*
|
|
5
7
|
* Lakehouse Federation is the query federation platform for Databricks. Databricks uses Unity Catalog to manage query federation. To make a dataset available for read-only querying using Lakehouse Federation, you create the following:
|
|
6
8
|
*
|
|
7
9
|
* - A connection, a securable object in Unity Catalog that specifies a path and credentials for accessing an external database system.
|
|
8
10
|
* - A foreign catalog
|
|
9
11
|
*
|
|
10
|
-
* This resource manages connections in Unity Catalog
|
|
11
|
-
*
|
|
12
|
-
* > This resource can only be used with a workspace-level provider!
|
|
12
|
+
* This resource manages connections in Unity Catalog. Please note that OAuth U2M is not supported as it requires user interaction for authentication.
|
|
13
13
|
*
|
|
14
14
|
* ## Example Usage
|
|
15
15
|
*
|
|
@@ -71,20 +71,6 @@ import * as outputs from "./types/output";
|
|
|
71
71
|
*
|
|
72
72
|
* Create a connection to builtin Hive Metastore
|
|
73
73
|
*
|
|
74
|
-
* ```typescript
|
|
75
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
76
|
-
* import * as databricks from "@pulumi/databricks";
|
|
77
|
-
*
|
|
78
|
-
* const _this = new databricks.Connection("this", {
|
|
79
|
-
* name: "hms-builtin",
|
|
80
|
-
* connectionType: "HIVE_METASTORE",
|
|
81
|
-
* comment: "This is a connection to builtin HMS",
|
|
82
|
-
* options: {
|
|
83
|
-
* builtin: "true",
|
|
84
|
-
* },
|
|
85
|
-
* });
|
|
86
|
-
* ```
|
|
87
|
-
*
|
|
88
74
|
* ## Import
|
|
89
75
|
*
|
|
90
76
|
* This resource can be imported by `id`:
|
|
@@ -124,7 +110,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
124
110
|
*/
|
|
125
111
|
static isInstance(obj: any): obj is Connection;
|
|
126
112
|
/**
|
|
127
|
-
* Free-form text.
|
|
113
|
+
* Free-form text. Change forces creation of a new resource.
|
|
128
114
|
*/
|
|
129
115
|
readonly comment: pulumi.Output<string | undefined>;
|
|
130
116
|
/**
|
|
@@ -132,7 +118,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
132
118
|
*/
|
|
133
119
|
readonly connectionId: pulumi.Output<string>;
|
|
134
120
|
/**
|
|
135
|
-
* Connection type. `
|
|
121
|
+
* Connection type. `MYSQL`, `POSTGRESQL`, `SNOWFLAKE`, `REDSHIFT` `SQLDW`, `SQLSERVER`, `DATABRICKS`, `SALESFORCE`, `BIGQUERY`, `WORKDAY_RAAS`, `HIVE_METASTORE`, `GA4_RAW_DATA`, `SERVICENOW`, `SALESFORCE_DATA_CLOUD`, `GLUE`, `ORACLE`, `TERADATA`, `HTTP` or `POWER_BI` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources). Change forces creation of a new resource.
|
|
136
122
|
*/
|
|
137
123
|
readonly connectionType: pulumi.Output<string | undefined>;
|
|
138
124
|
/**
|
|
@@ -160,7 +146,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
160
146
|
*/
|
|
161
147
|
readonly name: pulumi.Output<string>;
|
|
162
148
|
/**
|
|
163
|
-
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
149
|
+
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password`, `authorizationEndpoint`, `clientId`, `clientSecret` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
164
150
|
*/
|
|
165
151
|
readonly options: pulumi.Output<{
|
|
166
152
|
[key: string]: string;
|
|
@@ -170,7 +156,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
170
156
|
*/
|
|
171
157
|
readonly owner: pulumi.Output<string>;
|
|
172
158
|
/**
|
|
173
|
-
* Free-form connection properties.
|
|
159
|
+
* Free-form connection properties. Change forces creation of a new resource.
|
|
174
160
|
*/
|
|
175
161
|
readonly properties: pulumi.Output<{
|
|
176
162
|
[key: string]: string;
|
|
@@ -179,6 +165,9 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
179
165
|
* Object with the status of an asynchronously provisioned resource.
|
|
180
166
|
*/
|
|
181
167
|
readonly provisioningInfos: pulumi.Output<outputs.ConnectionProvisioningInfo[]>;
|
|
168
|
+
/**
|
|
169
|
+
* Indicates whether the connection is read-only. Change forces creation of a new resource.
|
|
170
|
+
*/
|
|
182
171
|
readonly readOnly: pulumi.Output<boolean>;
|
|
183
172
|
readonly securableType: pulumi.Output<string>;
|
|
184
173
|
/**
|
|
@@ -207,7 +196,7 @@ export declare class Connection extends pulumi.CustomResource {
|
|
|
207
196
|
*/
|
|
208
197
|
export interface ConnectionState {
|
|
209
198
|
/**
|
|
210
|
-
* Free-form text.
|
|
199
|
+
* Free-form text. Change forces creation of a new resource.
|
|
211
200
|
*/
|
|
212
201
|
comment?: pulumi.Input<string>;
|
|
213
202
|
/**
|
|
@@ -215,7 +204,7 @@ export interface ConnectionState {
|
|
|
215
204
|
*/
|
|
216
205
|
connectionId?: pulumi.Input<string>;
|
|
217
206
|
/**
|
|
218
|
-
* Connection type. `
|
|
207
|
+
* Connection type. `MYSQL`, `POSTGRESQL`, `SNOWFLAKE`, `REDSHIFT` `SQLDW`, `SQLSERVER`, `DATABRICKS`, `SALESFORCE`, `BIGQUERY`, `WORKDAY_RAAS`, `HIVE_METASTORE`, `GA4_RAW_DATA`, `SERVICENOW`, `SALESFORCE_DATA_CLOUD`, `GLUE`, `ORACLE`, `TERADATA`, `HTTP` or `POWER_BI` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources). Change forces creation of a new resource.
|
|
219
208
|
*/
|
|
220
209
|
connectionType?: pulumi.Input<string>;
|
|
221
210
|
/**
|
|
@@ -243,7 +232,7 @@ export interface ConnectionState {
|
|
|
243
232
|
*/
|
|
244
233
|
name?: pulumi.Input<string>;
|
|
245
234
|
/**
|
|
246
|
-
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
235
|
+
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password`, `authorizationEndpoint`, `clientId`, `clientSecret` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
247
236
|
*/
|
|
248
237
|
options?: pulumi.Input<{
|
|
249
238
|
[key: string]: pulumi.Input<string>;
|
|
@@ -253,7 +242,7 @@ export interface ConnectionState {
|
|
|
253
242
|
*/
|
|
254
243
|
owner?: pulumi.Input<string>;
|
|
255
244
|
/**
|
|
256
|
-
* Free-form connection properties.
|
|
245
|
+
* Free-form connection properties. Change forces creation of a new resource.
|
|
257
246
|
*/
|
|
258
247
|
properties?: pulumi.Input<{
|
|
259
248
|
[key: string]: pulumi.Input<string>;
|
|
@@ -262,6 +251,9 @@ export interface ConnectionState {
|
|
|
262
251
|
* Object with the status of an asynchronously provisioned resource.
|
|
263
252
|
*/
|
|
264
253
|
provisioningInfos?: pulumi.Input<pulumi.Input<inputs.ConnectionProvisioningInfo>[]>;
|
|
254
|
+
/**
|
|
255
|
+
* Indicates whether the connection is read-only. Change forces creation of a new resource.
|
|
256
|
+
*/
|
|
265
257
|
readOnly?: pulumi.Input<boolean>;
|
|
266
258
|
securableType?: pulumi.Input<string>;
|
|
267
259
|
/**
|
|
@@ -282,11 +274,11 @@ export interface ConnectionState {
|
|
|
282
274
|
*/
|
|
283
275
|
export interface ConnectionArgs {
|
|
284
276
|
/**
|
|
285
|
-
* Free-form text.
|
|
277
|
+
* Free-form text. Change forces creation of a new resource.
|
|
286
278
|
*/
|
|
287
279
|
comment?: pulumi.Input<string>;
|
|
288
280
|
/**
|
|
289
|
-
* Connection type. `
|
|
281
|
+
* Connection type. `MYSQL`, `POSTGRESQL`, `SNOWFLAKE`, `REDSHIFT` `SQLDW`, `SQLSERVER`, `DATABRICKS`, `SALESFORCE`, `BIGQUERY`, `WORKDAY_RAAS`, `HIVE_METASTORE`, `GA4_RAW_DATA`, `SERVICENOW`, `SALESFORCE_DATA_CLOUD`, `GLUE`, `ORACLE`, `TERADATA`, `HTTP` or `POWER_BI` are supported. Up-to-date list of connection type supported is in the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources). Change forces creation of a new resource.
|
|
290
282
|
*/
|
|
291
283
|
connectionType?: pulumi.Input<string>;
|
|
292
284
|
/**
|
|
@@ -294,7 +286,7 @@ export interface ConnectionArgs {
|
|
|
294
286
|
*/
|
|
295
287
|
name?: pulumi.Input<string>;
|
|
296
288
|
/**
|
|
297
|
-
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
289
|
+
* The key value of options required by the connection, e.g. `host`, `port`, `user`, `password`, `authorizationEndpoint`, `clientId`, `clientSecret` or `GoogleServiceAccountKeyJson`. Please consult the [documentation](https://docs.databricks.com/query-federation/index.html#supported-data-sources) for the required option.
|
|
298
290
|
*/
|
|
299
291
|
options?: pulumi.Input<{
|
|
300
292
|
[key: string]: pulumi.Input<string>;
|
|
@@ -304,10 +296,13 @@ export interface ConnectionArgs {
|
|
|
304
296
|
*/
|
|
305
297
|
owner?: pulumi.Input<string>;
|
|
306
298
|
/**
|
|
307
|
-
* Free-form connection properties.
|
|
299
|
+
* Free-form connection properties. Change forces creation of a new resource.
|
|
308
300
|
*/
|
|
309
301
|
properties?: pulumi.Input<{
|
|
310
302
|
[key: string]: pulumi.Input<string>;
|
|
311
303
|
}>;
|
|
304
|
+
/**
|
|
305
|
+
* Indicates whether the connection is read-only. Change forces creation of a new resource.
|
|
306
|
+
*/
|
|
312
307
|
readOnly?: pulumi.Input<boolean>;
|
|
313
308
|
}
|
package/connection.js
CHANGED
|
@@ -6,14 +6,14 @@ exports.Connection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
|
+
*
|
|
9
11
|
* Lakehouse Federation is the query federation platform for Databricks. Databricks uses Unity Catalog to manage query federation. To make a dataset available for read-only querying using Lakehouse Federation, you create the following:
|
|
10
12
|
*
|
|
11
13
|
* - A connection, a securable object in Unity Catalog that specifies a path and credentials for accessing an external database system.
|
|
12
14
|
* - A foreign catalog
|
|
13
15
|
*
|
|
14
|
-
* This resource manages connections in Unity Catalog
|
|
15
|
-
*
|
|
16
|
-
* > This resource can only be used with a workspace-level provider!
|
|
16
|
+
* This resource manages connections in Unity Catalog. Please note that OAuth U2M is not supported as it requires user interaction for authentication.
|
|
17
17
|
*
|
|
18
18
|
* ## Example Usage
|
|
19
19
|
*
|
|
@@ -75,20 +75,6 @@ const utilities = require("./utilities");
|
|
|
75
75
|
*
|
|
76
76
|
* Create a connection to builtin Hive Metastore
|
|
77
77
|
*
|
|
78
|
-
* ```typescript
|
|
79
|
-
* import * as pulumi from "@pulumi/pulumi";
|
|
80
|
-
* import * as databricks from "@pulumi/databricks";
|
|
81
|
-
*
|
|
82
|
-
* const _this = new databricks.Connection("this", {
|
|
83
|
-
* name: "hms-builtin",
|
|
84
|
-
* connectionType: "HIVE_METASTORE",
|
|
85
|
-
* comment: "This is a connection to builtin HMS",
|
|
86
|
-
* options: {
|
|
87
|
-
* builtin: "true",
|
|
88
|
-
* },
|
|
89
|
-
* });
|
|
90
|
-
* ```
|
|
91
|
-
*
|
|
92
78
|
* ## Import
|
|
93
79
|
*
|
|
94
80
|
* This resource can be imported by `id`:
|
package/connection.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"connection.js","sourceRoot":"","sources":["../connection.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2FG;AACH,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACjE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,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c,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;QAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC/D,CAAC;;AA1JL,gCA2JC;AA7IG,gBAAgB;AACO,uBAAY,GAAG,wCAAwC,CAAC"}
|
package/databaseInstance.d.ts
CHANGED
|
@@ -1,8 +1,22 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
+
* Database Instances are managed Postgres instances, composed of a primary Postgres compute instance and 0 or more read replica instances.
|
|
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.DatabaseInstance("this", {
|
|
12
|
+
* name: "my-database-instance",
|
|
13
|
+
* capacity: "CU_2",
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
16
|
+
*
|
|
3
17
|
* ## Import
|
|
4
18
|
*
|
|
5
|
-
* As of
|
|
19
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
6
20
|
*
|
|
7
21
|
* hcl
|
|
8
22
|
*
|
|
@@ -14,7 +28,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
28
|
*
|
|
15
29
|
* }
|
|
16
30
|
*
|
|
17
|
-
* If you are using an older version of
|
|
31
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
18
32
|
*
|
|
19
33
|
* ```sh
|
|
20
34
|
* $ pulumi import databricks:index/databaseInstance:DatabaseInstance databricks_database_instance name
|
|
@@ -37,15 +51,7 @@ export declare class DatabaseInstance extends pulumi.CustomResource {
|
|
|
37
51
|
*/
|
|
38
52
|
static isInstance(obj: any): obj is DatabaseInstance;
|
|
39
53
|
/**
|
|
40
|
-
*
|
|
41
|
-
*/
|
|
42
|
-
readonly adminPassword: pulumi.Output<string | undefined>;
|
|
43
|
-
/**
|
|
44
|
-
* Name of the admin role for the instance. If not provided, defaults to 'databricks_admin'
|
|
45
|
-
*/
|
|
46
|
-
readonly adminRolename: pulumi.Output<string | undefined>;
|
|
47
|
-
/**
|
|
48
|
-
* The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4"
|
|
54
|
+
* The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
49
55
|
*/
|
|
50
56
|
readonly capacity: pulumi.Output<string | undefined>;
|
|
51
57
|
/**
|
|
@@ -56,6 +62,12 @@ export declare class DatabaseInstance extends pulumi.CustomResource {
|
|
|
56
62
|
* (string) - The email of the creator of the instance
|
|
57
63
|
*/
|
|
58
64
|
readonly creator: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* (boolean) - xref AIP-129. `stopped` is owned by the client, while `effectiveStopped` is owned by the server.
|
|
67
|
+
* `stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
68
|
+
* `effectiveStopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
69
|
+
*/
|
|
70
|
+
readonly effectiveStopped: pulumi.Output<boolean>;
|
|
59
71
|
/**
|
|
60
72
|
* The name of the instance. This is the unique identifier for the instance
|
|
61
73
|
*/
|
|
@@ -69,7 +81,7 @@ export declare class DatabaseInstance extends pulumi.CustomResource {
|
|
|
69
81
|
*/
|
|
70
82
|
readonly readWriteDns: pulumi.Output<string>;
|
|
71
83
|
/**
|
|
72
|
-
* (string) - The current state of the instance. Possible values are: AVAILABLE
|
|
84
|
+
* (string) - The current state of the instance. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
73
85
|
*/
|
|
74
86
|
readonly state: pulumi.Output<string>;
|
|
75
87
|
/**
|
|
@@ -94,15 +106,7 @@ export declare class DatabaseInstance extends pulumi.CustomResource {
|
|
|
94
106
|
*/
|
|
95
107
|
export interface DatabaseInstanceState {
|
|
96
108
|
/**
|
|
97
|
-
*
|
|
98
|
-
*/
|
|
99
|
-
adminPassword?: pulumi.Input<string>;
|
|
100
|
-
/**
|
|
101
|
-
* Name of the admin role for the instance. If not provided, defaults to 'databricks_admin'
|
|
102
|
-
*/
|
|
103
|
-
adminRolename?: pulumi.Input<string>;
|
|
104
|
-
/**
|
|
105
|
-
* The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4"
|
|
109
|
+
* The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
106
110
|
*/
|
|
107
111
|
capacity?: pulumi.Input<string>;
|
|
108
112
|
/**
|
|
@@ -113,6 +117,12 @@ export interface DatabaseInstanceState {
|
|
|
113
117
|
* (string) - The email of the creator of the instance
|
|
114
118
|
*/
|
|
115
119
|
creator?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* (boolean) - xref AIP-129. `stopped` is owned by the client, while `effectiveStopped` is owned by the server.
|
|
122
|
+
* `stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
123
|
+
* `effectiveStopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
124
|
+
*/
|
|
125
|
+
effectiveStopped?: pulumi.Input<boolean>;
|
|
116
126
|
/**
|
|
117
127
|
* The name of the instance. This is the unique identifier for the instance
|
|
118
128
|
*/
|
|
@@ -126,7 +136,7 @@ export interface DatabaseInstanceState {
|
|
|
126
136
|
*/
|
|
127
137
|
readWriteDns?: pulumi.Input<string>;
|
|
128
138
|
/**
|
|
129
|
-
* (string) - The current state of the instance. Possible values are: AVAILABLE
|
|
139
|
+
* (string) - The current state of the instance. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
130
140
|
*/
|
|
131
141
|
state?: pulumi.Input<string>;
|
|
132
142
|
/**
|
|
@@ -143,15 +153,7 @@ export interface DatabaseInstanceState {
|
|
|
143
153
|
*/
|
|
144
154
|
export interface DatabaseInstanceArgs {
|
|
145
155
|
/**
|
|
146
|
-
*
|
|
147
|
-
*/
|
|
148
|
-
adminPassword?: pulumi.Input<string>;
|
|
149
|
-
/**
|
|
150
|
-
* Name of the admin role for the instance. If not provided, defaults to 'databricks_admin'
|
|
151
|
-
*/
|
|
152
|
-
adminRolename?: pulumi.Input<string>;
|
|
153
|
-
/**
|
|
154
|
-
* The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4"
|
|
156
|
+
* The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
155
157
|
*/
|
|
156
158
|
capacity?: pulumi.Input<string>;
|
|
157
159
|
/**
|