@pulumi/databricks 1.72.0-alpha.1750225669 → 1.72.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.
- 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
package/databaseInstance.js
CHANGED
|
@@ -6,9 +6,23 @@ exports.DatabaseInstance = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
+
* Database Instances are managed Postgres instances, composed of a primary Postgres compute instance and 0 or more read replica instances.
|
|
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.DatabaseInstance("this", {
|
|
18
|
+
* name: "my-database-instance",
|
|
19
|
+
* capacity: "CU_2",
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
9
23
|
* ## Import
|
|
10
24
|
*
|
|
11
|
-
* As of
|
|
25
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
26
|
*
|
|
13
27
|
* hcl
|
|
14
28
|
*
|
|
@@ -20,7 +34,7 @@ const utilities = require("./utilities");
|
|
|
20
34
|
*
|
|
21
35
|
* }
|
|
22
36
|
*
|
|
23
|
-
* If you are using an older version of
|
|
37
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
38
|
*
|
|
25
39
|
* ```sh
|
|
26
40
|
* $ pulumi import databricks:index/databaseInstance:DatabaseInstance databricks_database_instance name
|
|
@@ -54,11 +68,10 @@ class DatabaseInstance extends pulumi.CustomResource {
|
|
|
54
68
|
opts = opts || {};
|
|
55
69
|
if (opts.id) {
|
|
56
70
|
const state = argsOrState;
|
|
57
|
-
resourceInputs["adminPassword"] = state ? state.adminPassword : undefined;
|
|
58
|
-
resourceInputs["adminRolename"] = state ? state.adminRolename : undefined;
|
|
59
71
|
resourceInputs["capacity"] = state ? state.capacity : undefined;
|
|
60
72
|
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
61
73
|
resourceInputs["creator"] = state ? state.creator : undefined;
|
|
74
|
+
resourceInputs["effectiveStopped"] = state ? state.effectiveStopped : undefined;
|
|
62
75
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
63
76
|
resourceInputs["pgVersion"] = state ? state.pgVersion : undefined;
|
|
64
77
|
resourceInputs["readWriteDns"] = state ? state.readWriteDns : undefined;
|
|
@@ -68,13 +81,12 @@ class DatabaseInstance extends pulumi.CustomResource {
|
|
|
68
81
|
}
|
|
69
82
|
else {
|
|
70
83
|
const args = argsOrState;
|
|
71
|
-
resourceInputs["adminPassword"] = args ? args.adminPassword : undefined;
|
|
72
|
-
resourceInputs["adminRolename"] = args ? args.adminRolename : undefined;
|
|
73
84
|
resourceInputs["capacity"] = args ? args.capacity : undefined;
|
|
74
85
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
75
86
|
resourceInputs["stopped"] = args ? args.stopped : undefined;
|
|
76
87
|
resourceInputs["creationTime"] = undefined /*out*/;
|
|
77
88
|
resourceInputs["creator"] = undefined /*out*/;
|
|
89
|
+
resourceInputs["effectiveStopped"] = undefined /*out*/;
|
|
78
90
|
resourceInputs["pgVersion"] = undefined /*out*/;
|
|
79
91
|
resourceInputs["readWriteDns"] = undefined /*out*/;
|
|
80
92
|
resourceInputs["state"] = undefined /*out*/;
|
package/databaseInstance.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"databaseInstance.js","sourceRoot":"","sources":["../databaseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"databaseInstance.js","sourceRoot":"","sources":["../databaseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACvE,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,K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umi.CustomResource {
|
|
|
143
143
|
*/
|
|
144
144
|
readonly workspaceAccess: pulumi.Output<boolean | undefined>;
|
|
145
145
|
/**
|
|
146
|
-
* This is a field to allow the principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI.
|
|
146
|
+
* This is a field to allow the principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspaceAccess` or `databricksSqlAccess`.
|
|
147
147
|
*/
|
|
148
148
|
readonly workspaceConsume: pulumi.Output<boolean | undefined>;
|
|
149
149
|
/**
|
|
@@ -190,7 +190,7 @@ export interface EntitlementsState {
|
|
|
190
190
|
*/
|
|
191
191
|
workspaceAccess?: pulumi.Input<boolean>;
|
|
192
192
|
/**
|
|
193
|
-
* This is a field to allow the principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI.
|
|
193
|
+
* This is a field to allow the principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspaceAccess` or `databricksSqlAccess`.
|
|
194
194
|
*/
|
|
195
195
|
workspaceConsume?: pulumi.Input<boolean>;
|
|
196
196
|
}
|
|
@@ -229,7 +229,7 @@ export interface EntitlementsArgs {
|
|
|
229
229
|
*/
|
|
230
230
|
workspaceAccess?: pulumi.Input<boolean>;
|
|
231
231
|
/**
|
|
232
|
-
* This is a field to allow the principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI.
|
|
232
|
+
* This is a field to allow the principal to have access to a Databricks Workspace as consumer, with limited access to workspace UI. Couldn't be used with `workspaceAccess` or `databricksSqlAccess`.
|
|
233
233
|
*/
|
|
234
234
|
workspaceConsume?: pulumi.Input<boolean>;
|
|
235
235
|
}
|
package/getAlertV2.d.ts
CHANGED
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
|
|
6
|
+
*
|
|
7
|
+
* You can use this data source to:
|
|
8
|
+
* - Retrieve alert details for reference in other resources
|
|
9
|
+
* - Check the current state and configuration of an alert
|
|
10
|
+
* - Verify notification settings and subscribers
|
|
11
|
+
* - Examine the schedule configuration
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*/
|
|
4
15
|
export declare function getAlertV2(args?: GetAlertV2Args, opts?: pulumi.InvokeOptions): Promise<GetAlertV2Result>;
|
|
5
16
|
/**
|
|
6
17
|
* A collection of arguments for invoking getAlertV2.
|
|
@@ -68,7 +79,7 @@ export interface GetAlertV2Result {
|
|
|
68
79
|
*/
|
|
69
80
|
readonly id: string;
|
|
70
81
|
/**
|
|
71
|
-
* (string) - Indicates whether the query is trashed. Possible values are: ACTIVE
|
|
82
|
+
* (string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `TRASHED`
|
|
72
83
|
*/
|
|
73
84
|
readonly lifecycleState: string;
|
|
74
85
|
/**
|
|
@@ -100,6 +111,17 @@ export interface GetAlertV2Result {
|
|
|
100
111
|
*/
|
|
101
112
|
readonly warehouseId?: string;
|
|
102
113
|
}
|
|
114
|
+
/**
|
|
115
|
+
* The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
|
|
116
|
+
*
|
|
117
|
+
* You can use this data source to:
|
|
118
|
+
* - Retrieve alert details for reference in other resources
|
|
119
|
+
* - Check the current state and configuration of an alert
|
|
120
|
+
* - Verify notification settings and subscribers
|
|
121
|
+
* - Examine the schedule configuration
|
|
122
|
+
*
|
|
123
|
+
* ## Example Usage
|
|
124
|
+
*/
|
|
103
125
|
export declare function getAlertV2Output(args?: GetAlertV2OutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertV2Result>;
|
|
104
126
|
/**
|
|
105
127
|
* A collection of arguments for invoking getAlertV2.
|
package/getAlertV2.js
CHANGED
|
@@ -5,6 +5,17 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAlertV2Output = exports.getAlertV2 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
|
|
10
|
+
*
|
|
11
|
+
* You can use this data source to:
|
|
12
|
+
* - Retrieve alert details for reference in other resources
|
|
13
|
+
* - Check the current state and configuration of an alert
|
|
14
|
+
* - Verify notification settings and subscribers
|
|
15
|
+
* - Examine the schedule configuration
|
|
16
|
+
*
|
|
17
|
+
* ## Example Usage
|
|
18
|
+
*/
|
|
8
19
|
function getAlertV2(args, opts) {
|
|
9
20
|
args = args || {};
|
|
10
21
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -20,6 +31,17 @@ function getAlertV2(args, opts) {
|
|
|
20
31
|
}, opts);
|
|
21
32
|
}
|
|
22
33
|
exports.getAlertV2 = getAlertV2;
|
|
34
|
+
/**
|
|
35
|
+
* The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
|
|
36
|
+
*
|
|
37
|
+
* You can use this data source to:
|
|
38
|
+
* - Retrieve alert details for reference in other resources
|
|
39
|
+
* - Check the current state and configuration of an alert
|
|
40
|
+
* - Verify notification settings and subscribers
|
|
41
|
+
* - Examine the schedule configuration
|
|
42
|
+
*
|
|
43
|
+
* ## Example Usage
|
|
44
|
+
*/
|
|
23
45
|
function getAlertV2Output(args, opts) {
|
|
24
46
|
args = args || {};
|
|
25
47
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
package/getAlertV2.js.map
CHANGED
|
@@ -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AAC,iBAAiB;QAC3C,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,aAAa,EAAE,IAAI,CAAC,WAAW;KAClC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAbD,4CAaC"}
|
package/getAlertsV2.d.ts
CHANGED
|
@@ -1,5 +1,24 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
|
|
5
|
+
*
|
|
6
|
+
* You can use this data source to:
|
|
7
|
+
* - Get a comprehensive list of all alerts in your workspace
|
|
8
|
+
* - Monitor and audit alert configurations across your workspace
|
|
9
|
+
*
|
|
10
|
+
* ## Example Usage
|
|
11
|
+
*
|
|
12
|
+
* ### List All Alerts
|
|
13
|
+
* This example retrieves all alerts accessible to the current user:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const all = databricks.getAlertV2({});
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
3
22
|
export declare function getAlertsV2(opts?: pulumi.InvokeOptions): Promise<GetAlertsV2Result>;
|
|
4
23
|
/**
|
|
5
24
|
* A collection of values returned by getAlertsV2.
|
|
@@ -11,4 +30,23 @@ export interface GetAlertsV2Result {
|
|
|
11
30
|
readonly id: string;
|
|
12
31
|
readonly results: outputs.GetAlertsV2Result[];
|
|
13
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
|
|
35
|
+
*
|
|
36
|
+
* You can use this data source to:
|
|
37
|
+
* - Get a comprehensive list of all alerts in your workspace
|
|
38
|
+
* - Monitor and audit alert configurations across your workspace
|
|
39
|
+
*
|
|
40
|
+
* ## Example Usage
|
|
41
|
+
*
|
|
42
|
+
* ### List All Alerts
|
|
43
|
+
* This example retrieves all alerts accessible to the current user:
|
|
44
|
+
*
|
|
45
|
+
* ```typescript
|
|
46
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
47
|
+
* import * as databricks from "@pulumi/databricks";
|
|
48
|
+
*
|
|
49
|
+
* const all = databricks.getAlertV2({});
|
|
50
|
+
* ```
|
|
51
|
+
*/
|
|
14
52
|
export declare function getAlertsV2Output(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAlertsV2Result>;
|
package/getAlertsV2.js
CHANGED
|
@@ -5,11 +5,49 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getAlertsV2Output = exports.getAlertsV2 = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
|
|
10
|
+
*
|
|
11
|
+
* You can use this data source to:
|
|
12
|
+
* - Get a comprehensive list of all alerts in your workspace
|
|
13
|
+
* - Monitor and audit alert configurations across your workspace
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ### List All Alerts
|
|
18
|
+
* This example retrieves all alerts accessible to the current user:
|
|
19
|
+
*
|
|
20
|
+
* ```typescript
|
|
21
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
22
|
+
* import * as databricks from "@pulumi/databricks";
|
|
23
|
+
*
|
|
24
|
+
* const all = databricks.getAlertV2({});
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
8
27
|
function getAlertsV2(opts) {
|
|
9
28
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
29
|
return pulumi.runtime.invoke("databricks:index/getAlertsV2:getAlertsV2", {}, opts);
|
|
11
30
|
}
|
|
12
31
|
exports.getAlertsV2 = getAlertsV2;
|
|
32
|
+
/**
|
|
33
|
+
* The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
|
|
34
|
+
*
|
|
35
|
+
* You can use this data source to:
|
|
36
|
+
* - Get a comprehensive list of all alerts in your workspace
|
|
37
|
+
* - Monitor and audit alert configurations across your workspace
|
|
38
|
+
*
|
|
39
|
+
* ## Example Usage
|
|
40
|
+
*
|
|
41
|
+
* ### List All Alerts
|
|
42
|
+
* This example retrieves all alerts accessible to the current user:
|
|
43
|
+
*
|
|
44
|
+
* ```typescript
|
|
45
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
46
|
+
* import * as databricks from "@pulumi/databricks";
|
|
47
|
+
*
|
|
48
|
+
* const all = databricks.getAlertV2({});
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
13
51
|
function getAlertsV2Output(opts) {
|
|
14
52
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
53
|
return pulumi.runtime.invokeOutput("databricks:index/getAlertsV2:getAlertsV2", {}, opts);
|
package/getAlertsV2.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAlertsV2.js","sourceRoot":"","sources":["../getAlertsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAYD,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
|
1
|
+
{"version":3,"file":"getAlertsV2.js","sourceRoot":"","sources":["../getAlertsV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,WAAW,CAAC,IAA2B;IACnD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0CAA0C,EAAE,EACxE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,kCAIC;AAYD;;;;;;;;;;;;;;;;;;GAkBG;AACH,SAAgB,iBAAiB,CAAC,IAAiC;IAC/D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,0CAA0C,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,8CAIC"}
|
package/getDatabaseInstance.d.ts
CHANGED
|
@@ -1,19 +1,27 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This data source can be used to get a single Database Instance.
|
|
4
|
+
*
|
|
5
|
+
* ## Example Usage
|
|
6
|
+
*
|
|
7
|
+
* Referring to a Database Instance by name:
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as databricks from "@pulumi/databricks";
|
|
12
|
+
*
|
|
13
|
+
* const _this = databricks.getDatabaseInstance({
|
|
14
|
+
* name: "my-database-instance",
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
2
18
|
export declare function getDatabaseInstance(args: GetDatabaseInstanceArgs, opts?: pulumi.InvokeOptions): Promise<GetDatabaseInstanceResult>;
|
|
3
19
|
/**
|
|
4
20
|
* A collection of arguments for invoking getDatabaseInstance.
|
|
5
21
|
*/
|
|
6
22
|
export interface GetDatabaseInstanceArgs {
|
|
7
23
|
/**
|
|
8
|
-
* (string) -
|
|
9
|
-
*/
|
|
10
|
-
adminPassword?: string;
|
|
11
|
-
/**
|
|
12
|
-
* (string) - Name of the admin role for the instance. If not provided, defaults to 'databricks_admin'
|
|
13
|
-
*/
|
|
14
|
-
adminRolename?: string;
|
|
15
|
-
/**
|
|
16
|
-
* (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4"
|
|
24
|
+
* (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
17
25
|
*/
|
|
18
26
|
capacity?: string;
|
|
19
27
|
/**
|
|
@@ -30,15 +38,7 @@ export interface GetDatabaseInstanceArgs {
|
|
|
30
38
|
*/
|
|
31
39
|
export interface GetDatabaseInstanceResult {
|
|
32
40
|
/**
|
|
33
|
-
* (string) -
|
|
34
|
-
*/
|
|
35
|
-
readonly adminPassword?: string;
|
|
36
|
-
/**
|
|
37
|
-
* (string) - Name of the admin role for the instance. If not provided, defaults to 'databricks_admin'
|
|
38
|
-
*/
|
|
39
|
-
readonly adminRolename?: string;
|
|
40
|
-
/**
|
|
41
|
-
* (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4"
|
|
41
|
+
* (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
42
42
|
*/
|
|
43
43
|
readonly capacity?: string;
|
|
44
44
|
/**
|
|
@@ -49,6 +49,12 @@ export interface GetDatabaseInstanceResult {
|
|
|
49
49
|
* (string) - The email of the creator of the instance
|
|
50
50
|
*/
|
|
51
51
|
readonly creator: string;
|
|
52
|
+
/**
|
|
53
|
+
* (boolean) - xref AIP-129. `stopped` is owned by the client, while `effectiveStopped` is owned by the server.
|
|
54
|
+
* `stopped` will only be set in Create/Update response messages if and only if the user provides the field via the request.
|
|
55
|
+
* `effectiveStopped` on the other hand will always bet set in all response messages (Create/Update/Get/List)
|
|
56
|
+
*/
|
|
57
|
+
readonly effectiveStopped: boolean;
|
|
52
58
|
/**
|
|
53
59
|
* The provider-assigned unique ID for this managed resource.
|
|
54
60
|
*/
|
|
@@ -66,7 +72,7 @@ export interface GetDatabaseInstanceResult {
|
|
|
66
72
|
*/
|
|
67
73
|
readonly readWriteDns: string;
|
|
68
74
|
/**
|
|
69
|
-
* (string) - The current state of the instance. Possible values are: AVAILABLE
|
|
75
|
+
* (string) - The current state of the instance. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
70
76
|
*/
|
|
71
77
|
readonly state: string;
|
|
72
78
|
/**
|
|
@@ -78,21 +84,29 @@ export interface GetDatabaseInstanceResult {
|
|
|
78
84
|
*/
|
|
79
85
|
readonly uid: string;
|
|
80
86
|
}
|
|
87
|
+
/**
|
|
88
|
+
* This data source can be used to get a single Database Instance.
|
|
89
|
+
*
|
|
90
|
+
* ## Example Usage
|
|
91
|
+
*
|
|
92
|
+
* Referring to a Database Instance by name:
|
|
93
|
+
*
|
|
94
|
+
* ```typescript
|
|
95
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
96
|
+
* import * as databricks from "@pulumi/databricks";
|
|
97
|
+
*
|
|
98
|
+
* const _this = databricks.getDatabaseInstance({
|
|
99
|
+
* name: "my-database-instance",
|
|
100
|
+
* });
|
|
101
|
+
* ```
|
|
102
|
+
*/
|
|
81
103
|
export declare function getDatabaseInstanceOutput(args: GetDatabaseInstanceOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseInstanceResult>;
|
|
82
104
|
/**
|
|
83
105
|
* A collection of arguments for invoking getDatabaseInstance.
|
|
84
106
|
*/
|
|
85
107
|
export interface GetDatabaseInstanceOutputArgs {
|
|
86
108
|
/**
|
|
87
|
-
* (string) -
|
|
88
|
-
*/
|
|
89
|
-
adminPassword?: pulumi.Input<string>;
|
|
90
|
-
/**
|
|
91
|
-
* (string) - Name of the admin role for the instance. If not provided, defaults to 'databricks_admin'
|
|
92
|
-
*/
|
|
93
|
-
adminRolename?: pulumi.Input<string>;
|
|
94
|
-
/**
|
|
95
|
-
* (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4"
|
|
109
|
+
* (string) - The sku of the instance. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
96
110
|
*/
|
|
97
111
|
capacity?: pulumi.Input<string>;
|
|
98
112
|
/**
|
package/getDatabaseInstance.js
CHANGED
|
@@ -5,22 +5,50 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getDatabaseInstanceOutput = exports.getDatabaseInstance = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can be used to get a single Database Instance.
|
|
10
|
+
*
|
|
11
|
+
* ## Example Usage
|
|
12
|
+
*
|
|
13
|
+
* Referring to a Database Instance by name:
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const _this = databricks.getDatabaseInstance({
|
|
20
|
+
* name: "my-database-instance",
|
|
21
|
+
* });
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
8
24
|
function getDatabaseInstance(args, opts) {
|
|
9
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
26
|
return pulumi.runtime.invoke("databricks:index/getDatabaseInstance:getDatabaseInstance", {
|
|
11
|
-
"adminPassword": args.adminPassword,
|
|
12
|
-
"adminRolename": args.adminRolename,
|
|
13
27
|
"capacity": args.capacity,
|
|
14
28
|
"name": args.name,
|
|
15
29
|
"stopped": args.stopped,
|
|
16
30
|
}, opts);
|
|
17
31
|
}
|
|
18
32
|
exports.getDatabaseInstance = getDatabaseInstance;
|
|
33
|
+
/**
|
|
34
|
+
* This data source can be used to get a single Database Instance.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* Referring to a Database Instance by name:
|
|
39
|
+
*
|
|
40
|
+
* ```typescript
|
|
41
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
42
|
+
* import * as databricks from "@pulumi/databricks";
|
|
43
|
+
*
|
|
44
|
+
* const _this = databricks.getDatabaseInstance({
|
|
45
|
+
* name: "my-database-instance",
|
|
46
|
+
* });
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
19
49
|
function getDatabaseInstanceOutput(args, opts) {
|
|
20
50
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
21
51
|
return pulumi.runtime.invokeOutput("databricks:index/getDatabaseInstance:getDatabaseInstance", {
|
|
22
|
-
"adminPassword": args.adminPassword,
|
|
23
|
-
"adminRolename": args.adminRolename,
|
|
24
52
|
"capacity": args.capacity,
|
|
25
53
|
"name": args.name,
|
|
26
54
|
"stopped": args.stopped,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseInstance.js","sourceRoot":"","sources":["../getDatabaseInstance.ts"],"names":[],"mappings":";AAAA,sEAAsE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,8DAOC"}
|
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
import * as outputs from "./types/output";
|
|
3
|
+
/**
|
|
4
|
+
* This data source can be used to fetch the list of Database Instances within the workspace.
|
|
5
|
+
* The list can then be accessed via the data object's `databaseInstances` field.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* Getting a list of all Database Instances:
|
|
10
|
+
*
|
|
11
|
+
* ```typescript
|
|
12
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
13
|
+
* import * as databricks from "@pulumi/databricks";
|
|
14
|
+
*
|
|
15
|
+
* const all = databricks.getDatabaseInstances({});
|
|
16
|
+
* export const allDatabaseInstances = all.then(all => all.databaseInstances);
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
3
19
|
export declare function getDatabaseInstances(opts?: pulumi.InvokeOptions): Promise<GetDatabaseInstancesResult>;
|
|
4
20
|
/**
|
|
5
21
|
* A collection of values returned by getDatabaseInstances.
|
|
@@ -11,4 +27,20 @@ export interface GetDatabaseInstancesResult {
|
|
|
11
27
|
*/
|
|
12
28
|
readonly id: string;
|
|
13
29
|
}
|
|
30
|
+
/**
|
|
31
|
+
* This data source can be used to fetch the list of Database Instances within the workspace.
|
|
32
|
+
* The list can then be accessed via the data object's `databaseInstances` field.
|
|
33
|
+
*
|
|
34
|
+
* ## Example Usage
|
|
35
|
+
*
|
|
36
|
+
* Getting a list of all Database Instances:
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as databricks from "@pulumi/databricks";
|
|
41
|
+
*
|
|
42
|
+
* const all = databricks.getDatabaseInstances({});
|
|
43
|
+
* export const allDatabaseInstances = all.then(all => all.databaseInstances);
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
14
46
|
export declare function getDatabaseInstancesOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetDatabaseInstancesResult>;
|
package/getDatabaseInstances.js
CHANGED
|
@@ -5,11 +5,43 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
5
5
|
exports.getDatabaseInstancesOutput = exports.getDatabaseInstances = void 0;
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* This data source can be used to fetch the list of Database Instances within the workspace.
|
|
10
|
+
* The list can then be accessed via the data object's `databaseInstances` field.
|
|
11
|
+
*
|
|
12
|
+
* ## Example Usage
|
|
13
|
+
*
|
|
14
|
+
* Getting a list of all Database Instances:
|
|
15
|
+
*
|
|
16
|
+
* ```typescript
|
|
17
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
18
|
+
* import * as databricks from "@pulumi/databricks";
|
|
19
|
+
*
|
|
20
|
+
* const all = databricks.getDatabaseInstances({});
|
|
21
|
+
* export const allDatabaseInstances = all.then(all => all.databaseInstances);
|
|
22
|
+
* ```
|
|
23
|
+
*/
|
|
8
24
|
function getDatabaseInstances(opts) {
|
|
9
25
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
10
26
|
return pulumi.runtime.invoke("databricks:index/getDatabaseInstances:getDatabaseInstances", {}, opts);
|
|
11
27
|
}
|
|
12
28
|
exports.getDatabaseInstances = getDatabaseInstances;
|
|
29
|
+
/**
|
|
30
|
+
* This data source can be used to fetch the list of Database Instances within the workspace.
|
|
31
|
+
* The list can then be accessed via the data object's `databaseInstances` field.
|
|
32
|
+
*
|
|
33
|
+
* ## Example Usage
|
|
34
|
+
*
|
|
35
|
+
* Getting a list of all Database Instances:
|
|
36
|
+
*
|
|
37
|
+
* ```typescript
|
|
38
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
39
|
+
* import * as databricks from "@pulumi/databricks";
|
|
40
|
+
*
|
|
41
|
+
* const all = databricks.getDatabaseInstances({});
|
|
42
|
+
* export const allDatabaseInstances = all.then(all => all.databaseInstances);
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
13
45
|
function getDatabaseInstancesOutput(opts) {
|
|
14
46
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
15
47
|
return pulumi.runtime.invokeOutput("databricks:index/getDatabaseInstances:getDatabaseInstances", {}, opts);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDatabaseInstances.js","sourceRoot":"","sources":["../getDatabaseInstances.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4DAA4D,EAAE,EAC1F,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,oDAIC;AAYD,SAAgB,0BAA0B,CAAC,IAAiC;IACxE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,4DAA4D,EAAE,EAChG,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,gEAIC"}
|
|
1
|
+
{"version":3,"file":"getDatabaseInstances.js","sourceRoot":"","sources":["../getDatabaseInstances.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;GAeG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,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