@pulumi/databricks 1.51.0-alpha.1728383519 → 1.51.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/accessControlRuleSet.d.ts +3 -3
- package/accessControlRuleSet.js +3 -3
- package/artifactAllowlist.d.ts +2 -3
- package/artifactAllowlist.js +2 -3
- package/artifactAllowlist.js.map +1 -1
- package/budget.d.ts +150 -0
- package/budget.js +125 -0
- package/budget.js.map +1 -0
- package/catalog.d.ts +1 -1
- package/catalog.js +1 -1
- package/catalogWorkspaceBinding.d.ts +3 -5
- package/catalogWorkspaceBinding.js +3 -5
- package/catalogWorkspaceBinding.js.map +1 -1
- package/connection.d.ts +1 -1
- package/connection.js +1 -1
- package/defaultNamespaceSetting.d.ts +1 -1
- package/defaultNamespaceSetting.js +1 -1
- package/entitlements.d.ts +1 -1
- package/entitlements.js +1 -1
- package/externalLocation.d.ts +1 -1
- package/externalLocation.js +1 -1
- package/getMlflowModels.d.ts +64 -0
- package/getMlflowModels.js +54 -0
- package/getMlflowModels.js.map +1 -0
- package/grant.d.ts +2 -4
- package/grant.js +2 -4
- package/grant.js.map +1 -1
- package/grants.d.ts +2 -4
- package/grants.js +2 -4
- package/grants.js.map +1 -1
- package/group.d.ts +2 -2
- package/group.js +2 -2
- package/groupInstanceProfile.d.ts +1 -1
- package/groupInstanceProfile.js +1 -1
- package/groupRole.d.ts +1 -1
- package/groupRole.js +1 -1
- package/index.d.ts +6 -0
- package/index.js +13 -4
- package/index.js.map +1 -1
- package/instancePool.d.ts +1 -1
- package/instancePool.js +1 -1
- package/instanceProfile.d.ts +1 -1
- package/instanceProfile.js +1 -1
- package/ipAccessList.d.ts +1 -1
- package/ipAccessList.js +1 -1
- package/job.d.ts +1 -1
- package/job.js +1 -1
- package/library.d.ts +3 -3
- package/library.js +3 -3
- package/metastore.d.ts +1 -1
- package/metastore.js +1 -1
- package/metastoreAssignment.d.ts +1 -1
- package/metastoreAssignment.js +1 -1
- package/metastoreDataAccess.d.ts +1 -1
- package/metastoreDataAccess.js +1 -1
- package/metastoreProvider.d.ts +2 -2
- package/metastoreProvider.js +2 -2
- package/mlflowModel.d.ts +1 -1
- package/mlflowModel.js +1 -1
- package/mlflowWebhook.d.ts +1 -1
- package/mlflowWebhook.js +1 -1
- package/modelServing.d.ts +4 -1
- package/modelServing.js +3 -1
- package/modelServing.js.map +1 -1
- package/mount.d.ts +1 -1
- package/mount.js +1 -1
- package/mwsCustomerManagedKeys.d.ts +2 -2
- package/mwsCustomerManagedKeys.js +2 -2
- package/mwsLogDelivery.d.ts +2 -2
- package/mwsLogDelivery.js +2 -2
- package/mwsNccBinding.d.ts +2 -2
- package/mwsNccBinding.js +2 -2
- package/mwsNccPrivateEndpointRule.d.ts +2 -2
- package/mwsNccPrivateEndpointRule.js +2 -2
- package/mwsNetworkConnectivityConfig.d.ts +1 -1
- package/mwsNetworkConnectivityConfig.js +1 -1
- package/mwsNetworks.d.ts +1 -1
- package/mwsNetworks.js +1 -1
- package/mwsPrivateAccessSettings.d.ts +3 -3
- package/mwsPrivateAccessSettings.js +3 -3
- package/mwsStorageConfigurations.d.ts +1 -1
- package/mwsStorageConfigurations.js +1 -1
- package/mwsVpcEndpoint.d.ts +2 -2
- package/mwsVpcEndpoint.js +2 -2
- package/oboToken.d.ts +2 -2
- package/oboToken.js +2 -2
- package/onlineTable.d.ts +8 -3
- package/onlineTable.js +2 -2
- package/onlineTable.js.map +1 -1
- package/package.json +2 -2
- package/permissions.d.ts +9 -9
- package/permissions.js +9 -9
- package/pipeline.d.ts +6 -0
- package/pipeline.js +4 -0
- package/pipeline.js.map +1 -1
- package/recipient.d.ts +1 -1
- package/recipient.js +1 -1
- package/registeredModel.d.ts +1 -1
- package/registeredModel.js +1 -1
- package/repo.d.ts +1 -1
- package/repo.js +1 -1
- package/restrictWorkspaceAdminsSetting.d.ts +2 -2
- package/restrictWorkspaceAdminsSetting.js +2 -2
- package/schema.d.ts +1 -1
- package/schema.js +1 -1
- package/servicePrincipal.d.ts +2 -2
- package/servicePrincipal.js +2 -2
- package/servicePrincipalRole.d.ts +1 -1
- package/servicePrincipalRole.js +1 -1
- package/servicePrincipalSecret.d.ts +1 -1
- package/servicePrincipalSecret.js +1 -1
- package/share.d.ts +2 -2
- package/share.js +2 -2
- package/sqlAlert.d.ts +1 -1
- package/sqlAlert.js +1 -1
- package/sqlDashboard.d.ts +2 -2
- package/sqlDashboard.js +2 -2
- package/sqlPermissions.d.ts +1 -1
- package/sqlPermissions.js +1 -1
- package/sqlQuery.d.ts +1 -1
- package/sqlQuery.js +1 -1
- package/sqlTable.d.ts +44 -0
- package/sqlTable.js +44 -0
- package/sqlTable.js.map +1 -1
- package/sqlWidget.d.ts +2 -2
- package/sqlWidget.js +2 -2
- package/storageCredential.d.ts +1 -1
- package/storageCredential.js +1 -1
- package/systemSchema.d.ts +2 -2
- package/systemSchema.js +2 -2
- package/token.d.ts +1 -1
- package/token.js +1 -1
- package/types/input.d.ts +162 -10
- package/types/output.d.ts +160 -10
- package/user.d.ts +2 -2
- package/user.js +2 -2
- package/userInstanceProfile.d.ts +1 -1
- package/userInstanceProfile.js +1 -1
- package/userRole.d.ts +1 -1
- package/userRole.js +1 -1
- package/vectorSearchEndpoint.d.ts +1 -1
- package/vectorSearchEndpoint.js +1 -1
- package/vectorSearchIndex.d.ts +1 -1
- package/vectorSearchIndex.js +1 -1
- package/volume.d.ts +2 -2
- package/volume.js +2 -2
- package/workspaceBinding.d.ts +3 -5
- package/workspaceBinding.js +3 -5
- package/workspaceBinding.js.map +1 -1
- package/workspaceConf.d.ts +3 -3
- package/workspaceConf.js +3 -3
|
@@ -2,13 +2,13 @@ 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
|
-
* >
|
|
5
|
+
* > This resource can be used with an account or workspace-level provider.
|
|
6
6
|
*
|
|
7
7
|
* This resource allows you to manage access rules on Databricks account level resources. For convenience we allow accessing this resource through the Databricks account and workspace.
|
|
8
8
|
*
|
|
9
|
-
* >
|
|
9
|
+
* > Currently, we only support managing access rules on service principal, group and account resources through `databricks.AccessControlRuleSet`.
|
|
10
10
|
*
|
|
11
|
-
*
|
|
11
|
+
* !> `databricks.AccessControlRuleSet` cannot be used to manage access rules for resources supported by databricks_permissions. Refer to its documentation for more information.
|
|
12
12
|
*
|
|
13
13
|
* ## Service principal rule set usage
|
|
14
14
|
*
|
package/accessControlRuleSet.js
CHANGED
|
@@ -6,13 +6,13 @@ exports.AccessControlRuleSet = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
9
|
+
* > This resource can be used with an account or workspace-level provider.
|
|
10
10
|
*
|
|
11
11
|
* This resource allows you to manage access rules on Databricks account level resources. For convenience we allow accessing this resource through the Databricks account and workspace.
|
|
12
12
|
*
|
|
13
|
-
* >
|
|
13
|
+
* > Currently, we only support managing access rules on service principal, group and account resources through `databricks.AccessControlRuleSet`.
|
|
14
14
|
*
|
|
15
|
-
*
|
|
15
|
+
* !> `databricks.AccessControlRuleSet` cannot be used to manage access rules for resources supported by databricks_permissions. Refer to its documentation for more information.
|
|
16
16
|
*
|
|
17
17
|
* ## Service principal rule set usage
|
|
18
18
|
*
|
package/artifactAllowlist.d.ts
CHANGED
|
@@ -2,10 +2,9 @@ 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
|
-
* >
|
|
6
|
-
* It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
5
|
+
* > It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
7
6
|
*
|
|
8
|
-
* >
|
|
7
|
+
* > This resource can only be used with a workspace-level provider!
|
|
9
8
|
*
|
|
10
9
|
* In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the allowlist in UC so that users can leverage these artifacts on compute configured with shared access mode.
|
|
11
10
|
*
|
package/artifactAllowlist.js
CHANGED
|
@@ -6,10 +6,9 @@ exports.ArtifactAllowlist = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
10
|
-
* It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
9
|
+
* > It is required to define all allowlist for an artifact type in a single resource, otherwise Pulumi cannot guarantee config drift prevention.
|
|
11
10
|
*
|
|
12
|
-
* >
|
|
11
|
+
* > This resource can only be used with a workspace-level provider!
|
|
13
12
|
*
|
|
14
13
|
* In Databricks Runtime 13.3 and above, you can add libraries and init scripts to the allowlist in UC so that users can leverage these artifacts on compute configured with shared access mode.
|
|
15
14
|
*
|
package/artifactAllowlist.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifactAllowlist.js","sourceRoot":"","sources":["../artifactAllowlist.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"artifactAllowlist.js","sourceRoot":"","sources":["../artifactAllowlist.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAA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,IAAI,IAAI,IAAI,CAAC,YAAY,KAAK,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,GAAG,EAAE;gBACzD,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC,CAAC,SAAS,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,SAAS,CAAC;YACtE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAhFL,8CAiFC;AAnEG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
package/budget.d.ts
ADDED
|
@@ -0,0 +1,150 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* > Initialize provider with `alias = "account"`, and `host` pointing to the account URL, like, `host = "https://accounts.cloud.databricks.com"`. Use `provider = databricks.account` for all account-level resources.
|
|
6
|
+
*
|
|
7
|
+
* > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
8
|
+
*
|
|
9
|
+
* This resource allows you to manage [Databricks Budgets](https://docs.databricks.com/en/admin/account-settings/budgets.html).
|
|
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.Budget("this", {
|
|
18
|
+
* displayName: "databricks-workspace-budget",
|
|
19
|
+
* alertConfigurations: [{
|
|
20
|
+
* timePeriod: "MONTH",
|
|
21
|
+
* triggerType: "CUMULATIVE_SPENDING_EXCEEDED",
|
|
22
|
+
* quantityType: "LIST_PRICE_DOLLARS_USD",
|
|
23
|
+
* quantityThreshold: "840",
|
|
24
|
+
* actionConfigurations: [{
|
|
25
|
+
* actionType: "EMAIL_NOTIFICATION",
|
|
26
|
+
* target: "abc@gmail.com",
|
|
27
|
+
* }],
|
|
28
|
+
* }],
|
|
29
|
+
* filter: {
|
|
30
|
+
* workspaceId: {
|
|
31
|
+
* operator: "IN",
|
|
32
|
+
* values: [1234567890098765],
|
|
33
|
+
* },
|
|
34
|
+
* tags: [
|
|
35
|
+
* {
|
|
36
|
+
* key: "Team",
|
|
37
|
+
* value: {
|
|
38
|
+
* operator: "IN",
|
|
39
|
+
* values: ["Data Science"],
|
|
40
|
+
* },
|
|
41
|
+
* },
|
|
42
|
+
* {
|
|
43
|
+
* key: "Environment",
|
|
44
|
+
* value: {
|
|
45
|
+
* operator: "IN",
|
|
46
|
+
* values: ["Development"],
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* ],
|
|
50
|
+
* },
|
|
51
|
+
* });
|
|
52
|
+
* ```
|
|
53
|
+
*
|
|
54
|
+
* ## Related Resources
|
|
55
|
+
*
|
|
56
|
+
* The following resources are used in the context:
|
|
57
|
+
*
|
|
58
|
+
* * databricks.MwsWorkspaces to set up Databricks workspaces.
|
|
59
|
+
*
|
|
60
|
+
* ## Import
|
|
61
|
+
*
|
|
62
|
+
* This resource can be imported by Databricks account ID and Budget.
|
|
63
|
+
*
|
|
64
|
+
* ```sh
|
|
65
|
+
* $ pulumi import databricks:index/budget:Budget this '<account_id>|<budget_configuration_id>'
|
|
66
|
+
* ```
|
|
67
|
+
*/
|
|
68
|
+
export declare class Budget extends pulumi.CustomResource {
|
|
69
|
+
/**
|
|
70
|
+
* Get an existing Budget resource's state with the given name, ID, and optional extra
|
|
71
|
+
* properties used to qualify the lookup.
|
|
72
|
+
*
|
|
73
|
+
* @param name The _unique_ name of the resulting resource.
|
|
74
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
75
|
+
* @param state Any extra arguments used during the lookup.
|
|
76
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
77
|
+
*/
|
|
78
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: BudgetState, opts?: pulumi.CustomResourceOptions): Budget;
|
|
79
|
+
/**
|
|
80
|
+
* Returns true if the given object is an instance of Budget. This is designed to work even
|
|
81
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
82
|
+
*/
|
|
83
|
+
static isInstance(obj: any): obj is Budget;
|
|
84
|
+
/**
|
|
85
|
+
* The ID of the Databricks Account.
|
|
86
|
+
*/
|
|
87
|
+
readonly accountId: pulumi.Output<string>;
|
|
88
|
+
readonly alertConfigurations: pulumi.Output<outputs.BudgetAlertConfiguration[] | undefined>;
|
|
89
|
+
/**
|
|
90
|
+
* The ID of the budget configuration.
|
|
91
|
+
*/
|
|
92
|
+
readonly budgetConfigurationId: pulumi.Output<string>;
|
|
93
|
+
readonly createTime: pulumi.Output<number>;
|
|
94
|
+
/**
|
|
95
|
+
* Name of the budget in Databricks Account.
|
|
96
|
+
*/
|
|
97
|
+
readonly displayName: pulumi.Output<string | undefined>;
|
|
98
|
+
readonly filter: pulumi.Output<outputs.BudgetFilter | undefined>;
|
|
99
|
+
readonly updateTime: pulumi.Output<number>;
|
|
100
|
+
/**
|
|
101
|
+
* Create a Budget resource with the given unique name, arguments, and options.
|
|
102
|
+
*
|
|
103
|
+
* @param name The _unique_ name of the resource.
|
|
104
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
105
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
106
|
+
*/
|
|
107
|
+
constructor(name: string, args?: BudgetArgs, opts?: pulumi.CustomResourceOptions);
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Input properties used for looking up and filtering Budget resources.
|
|
111
|
+
*/
|
|
112
|
+
export interface BudgetState {
|
|
113
|
+
/**
|
|
114
|
+
* The ID of the Databricks Account.
|
|
115
|
+
*/
|
|
116
|
+
accountId?: pulumi.Input<string>;
|
|
117
|
+
alertConfigurations?: pulumi.Input<pulumi.Input<inputs.BudgetAlertConfiguration>[]>;
|
|
118
|
+
/**
|
|
119
|
+
* The ID of the budget configuration.
|
|
120
|
+
*/
|
|
121
|
+
budgetConfigurationId?: pulumi.Input<string>;
|
|
122
|
+
createTime?: pulumi.Input<number>;
|
|
123
|
+
/**
|
|
124
|
+
* Name of the budget in Databricks Account.
|
|
125
|
+
*/
|
|
126
|
+
displayName?: pulumi.Input<string>;
|
|
127
|
+
filter?: pulumi.Input<inputs.BudgetFilter>;
|
|
128
|
+
updateTime?: pulumi.Input<number>;
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* The set of arguments for constructing a Budget resource.
|
|
132
|
+
*/
|
|
133
|
+
export interface BudgetArgs {
|
|
134
|
+
/**
|
|
135
|
+
* The ID of the Databricks Account.
|
|
136
|
+
*/
|
|
137
|
+
accountId?: pulumi.Input<string>;
|
|
138
|
+
alertConfigurations?: pulumi.Input<pulumi.Input<inputs.BudgetAlertConfiguration>[]>;
|
|
139
|
+
/**
|
|
140
|
+
* The ID of the budget configuration.
|
|
141
|
+
*/
|
|
142
|
+
budgetConfigurationId?: pulumi.Input<string>;
|
|
143
|
+
createTime?: pulumi.Input<number>;
|
|
144
|
+
/**
|
|
145
|
+
* Name of the budget in Databricks Account.
|
|
146
|
+
*/
|
|
147
|
+
displayName?: pulumi.Input<string>;
|
|
148
|
+
filter?: pulumi.Input<inputs.BudgetFilter>;
|
|
149
|
+
updateTime?: pulumi.Input<number>;
|
|
150
|
+
}
|
package/budget.js
ADDED
|
@@ -0,0 +1,125 @@
|
|
|
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.Budget = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* > Initialize provider with `alias = "account"`, and `host` pointing to the account URL, like, `host = "https://accounts.cloud.databricks.com"`. Use `provider = databricks.account` for all account-level resources.
|
|
10
|
+
*
|
|
11
|
+
* > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
12
|
+
*
|
|
13
|
+
* This resource allows you to manage [Databricks Budgets](https://docs.databricks.com/en/admin/account-settings/budgets.html).
|
|
14
|
+
*
|
|
15
|
+
* ## Example Usage
|
|
16
|
+
*
|
|
17
|
+
* ```typescript
|
|
18
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
19
|
+
* import * as databricks from "@pulumi/databricks";
|
|
20
|
+
*
|
|
21
|
+
* const _this = new databricks.Budget("this", {
|
|
22
|
+
* displayName: "databricks-workspace-budget",
|
|
23
|
+
* alertConfigurations: [{
|
|
24
|
+
* timePeriod: "MONTH",
|
|
25
|
+
* triggerType: "CUMULATIVE_SPENDING_EXCEEDED",
|
|
26
|
+
* quantityType: "LIST_PRICE_DOLLARS_USD",
|
|
27
|
+
* quantityThreshold: "840",
|
|
28
|
+
* actionConfigurations: [{
|
|
29
|
+
* actionType: "EMAIL_NOTIFICATION",
|
|
30
|
+
* target: "abc@gmail.com",
|
|
31
|
+
* }],
|
|
32
|
+
* }],
|
|
33
|
+
* filter: {
|
|
34
|
+
* workspaceId: {
|
|
35
|
+
* operator: "IN",
|
|
36
|
+
* values: [1234567890098765],
|
|
37
|
+
* },
|
|
38
|
+
* tags: [
|
|
39
|
+
* {
|
|
40
|
+
* key: "Team",
|
|
41
|
+
* value: {
|
|
42
|
+
* operator: "IN",
|
|
43
|
+
* values: ["Data Science"],
|
|
44
|
+
* },
|
|
45
|
+
* },
|
|
46
|
+
* {
|
|
47
|
+
* key: "Environment",
|
|
48
|
+
* value: {
|
|
49
|
+
* operator: "IN",
|
|
50
|
+
* values: ["Development"],
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* ],
|
|
54
|
+
* },
|
|
55
|
+
* });
|
|
56
|
+
* ```
|
|
57
|
+
*
|
|
58
|
+
* ## Related Resources
|
|
59
|
+
*
|
|
60
|
+
* The following resources are used in the context:
|
|
61
|
+
*
|
|
62
|
+
* * databricks.MwsWorkspaces to set up Databricks workspaces.
|
|
63
|
+
*
|
|
64
|
+
* ## Import
|
|
65
|
+
*
|
|
66
|
+
* This resource can be imported by Databricks account ID and Budget.
|
|
67
|
+
*
|
|
68
|
+
* ```sh
|
|
69
|
+
* $ pulumi import databricks:index/budget:Budget this '<account_id>|<budget_configuration_id>'
|
|
70
|
+
* ```
|
|
71
|
+
*/
|
|
72
|
+
class Budget extends pulumi.CustomResource {
|
|
73
|
+
/**
|
|
74
|
+
* Get an existing Budget resource's state with the given name, ID, and optional extra
|
|
75
|
+
* properties used to qualify the lookup.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resulting resource.
|
|
78
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
79
|
+
* @param state Any extra arguments used during the lookup.
|
|
80
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
81
|
+
*/
|
|
82
|
+
static get(name, id, state, opts) {
|
|
83
|
+
return new Budget(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* Returns true if the given object is an instance of Budget. This is designed to work even
|
|
87
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
88
|
+
*/
|
|
89
|
+
static isInstance(obj) {
|
|
90
|
+
if (obj === undefined || obj === null) {
|
|
91
|
+
return false;
|
|
92
|
+
}
|
|
93
|
+
return obj['__pulumiType'] === Budget.__pulumiType;
|
|
94
|
+
}
|
|
95
|
+
constructor(name, argsOrState, opts) {
|
|
96
|
+
let resourceInputs = {};
|
|
97
|
+
opts = opts || {};
|
|
98
|
+
if (opts.id) {
|
|
99
|
+
const state = argsOrState;
|
|
100
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
101
|
+
resourceInputs["alertConfigurations"] = state ? state.alertConfigurations : undefined;
|
|
102
|
+
resourceInputs["budgetConfigurationId"] = state ? state.budgetConfigurationId : undefined;
|
|
103
|
+
resourceInputs["createTime"] = state ? state.createTime : undefined;
|
|
104
|
+
resourceInputs["displayName"] = state ? state.displayName : undefined;
|
|
105
|
+
resourceInputs["filter"] = state ? state.filter : undefined;
|
|
106
|
+
resourceInputs["updateTime"] = state ? state.updateTime : undefined;
|
|
107
|
+
}
|
|
108
|
+
else {
|
|
109
|
+
const args = argsOrState;
|
|
110
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
111
|
+
resourceInputs["alertConfigurations"] = args ? args.alertConfigurations : undefined;
|
|
112
|
+
resourceInputs["budgetConfigurationId"] = args ? args.budgetConfigurationId : undefined;
|
|
113
|
+
resourceInputs["createTime"] = args ? args.createTime : undefined;
|
|
114
|
+
resourceInputs["displayName"] = args ? args.displayName : undefined;
|
|
115
|
+
resourceInputs["filter"] = args ? args.filter : undefined;
|
|
116
|
+
resourceInputs["updateTime"] = args ? args.updateTime : undefined;
|
|
117
|
+
}
|
|
118
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
119
|
+
super(Budget.__pulumiType, name, resourceInputs, opts);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
exports.Budget = Budget;
|
|
123
|
+
/** @internal */
|
|
124
|
+
Budget.__pulumiType = 'databricks:index/budget:Budget';
|
|
125
|
+
//# sourceMappingURL=budget.js.map
|
package/budget.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"budget.js","sourceRoot":"","sources":["../budget.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+DG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,MAAM,CAAC,YAAY,CAAC;IACvD,CAAC;IA2BD,YAAY,IAAY,EAAE,WAAsC,EAAE,IAAmC;QACjG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAsC,CAAC;YACrD,cAAc,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,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IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;SACrE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA7EL,wBA8EC;AAhEG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
|
package/catalog.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* >
|
|
3
|
+
* > This resource can only be used with a workspace-level provider!
|
|
4
4
|
*
|
|
5
5
|
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, Databases (also called Schemas), and Tables / Views.
|
|
6
6
|
*
|
package/catalog.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Catalog = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* Within a metastore, Unity Catalog provides a 3-level namespace for organizing data: Catalogs, Databases (also called Schemas), and Tables / Views.
|
|
12
12
|
*
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* >
|
|
3
|
+
* > This resource has been deprecated and will be removed soon. Please use the databricks.WorkspaceBinding resource instead.
|
|
4
4
|
*
|
|
5
5
|
* If you use workspaces to isolate user data access, you may want to limit catalog access to specific workspaces in your account, also known as workspace-catalog binding
|
|
6
6
|
*
|
|
7
7
|
* By default, Databricks assigns the catalog to all workspaces attached to the current metastore. By using `databricks.CatalogWorkspaceBinding`, the catalog will be unassigned from all workspaces and only assigned explicitly using this resource.
|
|
8
8
|
*
|
|
9
|
-
* >
|
|
10
|
-
* To use this resource the catalog must have its isolation mode set to `ISOLATED` in the `databricks.Catalog` resource. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration).
|
|
9
|
+
* > To use this resource the catalog must have its isolation mode set to `ISOLATED` in the `databricks.Catalog` resource. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration).
|
|
11
10
|
*
|
|
12
|
-
* >
|
|
13
|
-
* If the catalog's isolation mode was set to `ISOLATED` using Pulumi then the catalog will have been automatically bound to the workspace it was created from.
|
|
11
|
+
* > If the catalog's isolation mode was set to `ISOLATED` using Pulumi then the catalog will have been automatically bound to the workspace it was created from.
|
|
14
12
|
*
|
|
15
13
|
* ## Example Usage
|
|
16
14
|
*
|
|
@@ -6,17 +6,15 @@ exports.CatalogWorkspaceBinding = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
9
|
+
* > This resource has been deprecated and will be removed soon. Please use the databricks.WorkspaceBinding resource instead.
|
|
10
10
|
*
|
|
11
11
|
* If you use workspaces to isolate user data access, you may want to limit catalog access to specific workspaces in your account, also known as workspace-catalog binding
|
|
12
12
|
*
|
|
13
13
|
* By default, Databricks assigns the catalog to all workspaces attached to the current metastore. By using `databricks.CatalogWorkspaceBinding`, the catalog will be unassigned from all workspaces and only assigned explicitly using this resource.
|
|
14
14
|
*
|
|
15
|
-
* >
|
|
16
|
-
* To use this resource the catalog must have its isolation mode set to `ISOLATED` in the `databricks.Catalog` resource. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration).
|
|
15
|
+
* > To use this resource the catalog must have its isolation mode set to `ISOLATED` in the `databricks.Catalog` resource. Alternatively, the isolation mode can be set using the UI or API by following [this guide](https://docs.databricks.com/data-governance/unity-catalog/create-catalogs.html#configuration).
|
|
17
16
|
*
|
|
18
|
-
* >
|
|
19
|
-
* If the catalog's isolation mode was set to `ISOLATED` using Pulumi then the catalog will have been automatically bound to the workspace it was created from.
|
|
17
|
+
* > If the catalog's isolation mode was set to `ISOLATED` using Pulumi then the catalog will have been automatically bound to the workspace it was created from.
|
|
20
18
|
*
|
|
21
19
|
* ## Example Usage
|
|
22
20
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"catalogWorkspaceBinding.js","sourceRoot":"","sources":["../catalogWorkspaceBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"catalogWorkspaceBinding.js","sourceRoot":"","sources":["../catalogWorkspaceBinding.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAkCG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC9E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,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CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;SACvE;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,uBAAuB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC5E,CAAC;;AA7EL,0DA8EC;AAhEG,gBAAgB;AACO,oCAAY,GAAG,kEAAkE,CAAC"}
|
package/connection.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* >
|
|
3
|
+
* > This resource can only be used with a workspace-level provider!
|
|
4
4
|
*
|
|
5
5
|
* 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
6
|
*
|
package/connection.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Connection = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
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:
|
|
12
12
|
*
|
|
@@ -2,7 +2,7 @@ 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
|
-
* >
|
|
5
|
+
* > This resource can only be used with a workspace-level provider!
|
|
6
6
|
*
|
|
7
7
|
* The `databricks.DefaultNamespaceSetting` resource allows you to operate the setting configuration for the default namespace in the Databricks workspace.
|
|
8
8
|
* Setting the default catalog for the workspace determines the catalog that is used when queries do not reference
|
|
@@ -6,7 +6,7 @@ exports.DefaultNamespaceSetting = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* The `databricks.DefaultNamespaceSetting` resource allows you to operate the setting configuration for the default namespace in the Databricks workspace.
|
|
12
12
|
* Setting the default catalog for the workspace determines the catalog that is used when queries do not reference
|
package/entitlements.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
/**
|
|
3
3
|
* This resource allows you to set entitlements to existing databricks_users, databricks.Group or databricks_service_principal.
|
|
4
4
|
*
|
|
5
|
-
* >
|
|
5
|
+
* > You must define entitlements of a principal using either `databricks.Entitlements` or directly within one of databricks_users, databricks.Group or databricks_service_principal. Having entitlements defined in both resources will result in non-deterministic behaviour.
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
package/entitlements.js
CHANGED
|
@@ -8,7 +8,7 @@ const utilities = require("./utilities");
|
|
|
8
8
|
/**
|
|
9
9
|
* This resource allows you to set entitlements to existing databricks_users, databricks.Group or databricks_service_principal.
|
|
10
10
|
*
|
|
11
|
-
* >
|
|
11
|
+
* > You must define entitlements of a principal using either `databricks.Entitlements` or directly within one of databricks_users, databricks.Group or databricks_service_principal. Having entitlements defined in both resources will result in non-deterministic behaviour.
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
package/externalLocation.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ 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
|
-
* >
|
|
5
|
+
* > This resource can only be used with a workspace-level provider!
|
|
6
6
|
*
|
|
7
7
|
* To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
|
|
8
8
|
*
|
package/externalLocation.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.ExternalLocation = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* >
|
|
9
|
+
* > This resource can only be used with a workspace-level provider!
|
|
10
10
|
*
|
|
11
11
|
* To work with external tables, Unity Catalog introduces two new objects to access and work with external cloud storage:
|
|
12
12
|
*
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* > **Note** This data source could be only used with workspace-level provider!
|
|
4
|
+
*
|
|
5
|
+
* Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
6
|
+
*
|
|
7
|
+
* ## Example Usage
|
|
8
|
+
*
|
|
9
|
+
* ```typescript
|
|
10
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
11
|
+
* import * as databricks from "@pulumi/databricks";
|
|
12
|
+
*
|
|
13
|
+
* const this = databricks.getMlflowModels({});
|
|
14
|
+
* export const model = _this;
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare function getMlflowModels(args?: GetMlflowModelsArgs, opts?: pulumi.InvokeOptions): Promise<GetMlflowModelsResult>;
|
|
18
|
+
/**
|
|
19
|
+
* A collection of arguments for invoking getMlflowModels.
|
|
20
|
+
*/
|
|
21
|
+
export interface GetMlflowModelsArgs {
|
|
22
|
+
/**
|
|
23
|
+
* List of names of databricks_mlflow_model
|
|
24
|
+
*/
|
|
25
|
+
names?: string[];
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A collection of values returned by getMlflowModels.
|
|
29
|
+
*/
|
|
30
|
+
export interface GetMlflowModelsResult {
|
|
31
|
+
/**
|
|
32
|
+
* The provider-assigned unique ID for this managed resource.
|
|
33
|
+
*/
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/**
|
|
36
|
+
* List of names of databricks_mlflow_model
|
|
37
|
+
*/
|
|
38
|
+
readonly names: string[];
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* > **Note** This data source could be only used with workspace-level provider!
|
|
42
|
+
*
|
|
43
|
+
* Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
44
|
+
*
|
|
45
|
+
* ## Example Usage
|
|
46
|
+
*
|
|
47
|
+
* ```typescript
|
|
48
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
49
|
+
* import * as databricks from "@pulumi/databricks";
|
|
50
|
+
*
|
|
51
|
+
* const this = databricks.getMlflowModels({});
|
|
52
|
+
* export const model = _this;
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
export declare function getMlflowModelsOutput(args?: GetMlflowModelsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetMlflowModelsResult>;
|
|
56
|
+
/**
|
|
57
|
+
* A collection of arguments for invoking getMlflowModels.
|
|
58
|
+
*/
|
|
59
|
+
export interface GetMlflowModelsOutputArgs {
|
|
60
|
+
/**
|
|
61
|
+
* List of names of databricks_mlflow_model
|
|
62
|
+
*/
|
|
63
|
+
names?: pulumi.Input<pulumi.Input<string>[]>;
|
|
64
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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.getMlflowModelsOutput = exports.getMlflowModels = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* > **Note** This data source could be only used with workspace-level provider!
|
|
10
|
+
*
|
|
11
|
+
* Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
12
|
+
*
|
|
13
|
+
* ## Example Usage
|
|
14
|
+
*
|
|
15
|
+
* ```typescript
|
|
16
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
17
|
+
* import * as databricks from "@pulumi/databricks";
|
|
18
|
+
*
|
|
19
|
+
* const this = databricks.getMlflowModels({});
|
|
20
|
+
* export const model = _this;
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
function getMlflowModels(args, opts) {
|
|
24
|
+
args = args || {};
|
|
25
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
26
|
+
return pulumi.runtime.invoke("databricks:index/getMlflowModels:getMlflowModels", {
|
|
27
|
+
"names": args.names,
|
|
28
|
+
}, opts);
|
|
29
|
+
}
|
|
30
|
+
exports.getMlflowModels = getMlflowModels;
|
|
31
|
+
/**
|
|
32
|
+
* > **Note** This data source could be only used with workspace-level provider!
|
|
33
|
+
*
|
|
34
|
+
* Retrieves a list of databricks.MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
35
|
+
*
|
|
36
|
+
* ## Example Usage
|
|
37
|
+
*
|
|
38
|
+
* ```typescript
|
|
39
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
40
|
+
* import * as databricks from "@pulumi/databricks";
|
|
41
|
+
*
|
|
42
|
+
* const this = databricks.getMlflowModels({});
|
|
43
|
+
* export const model = _this;
|
|
44
|
+
* ```
|
|
45
|
+
*/
|
|
46
|
+
function getMlflowModelsOutput(args, opts) {
|
|
47
|
+
args = args || {};
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
49
|
+
return pulumi.runtime.invokeOutput("databricks:index/getMlflowModels:getMlflowModels", {
|
|
50
|
+
"names": args.names,
|
|
51
|
+
}, opts);
|
|
52
|
+
}
|
|
53
|
+
exports.getMlflowModelsOutput = getMlflowModelsOutput;
|
|
54
|
+
//# sourceMappingURL=getMlflowModels.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getMlflowModels.js","sourceRoot":"","sources":["../getMlflowModels.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAA0B,EAAE,IAA2B;IACnF,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kDAAkD,EAAE;QAC7E,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0CAMC;AAyBD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,qBAAqB,CAAC,IAAgC,EAAE,IAA2B;IAC/F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kDAAkD,EAAE;QACnF,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,sDAMC"}
|