@pulumi/databricks 1.34.0 → 1.35.0-alpha.1710915250
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 +12 -0
- package/accessControlRuleSet.js +12 -0
- package/accessControlRuleSet.js.map +1 -1
- package/artifactAllowlist.d.ts +4 -1
- package/artifactAllowlist.js +4 -1
- package/artifactAllowlist.js.map +1 -1
- package/catalog.d.ts +4 -1
- package/catalog.js +4 -1
- package/catalog.js.map +1 -1
- package/catalogWorkspaceBinding.d.ts +2 -0
- package/catalogWorkspaceBinding.js +2 -0
- package/catalogWorkspaceBinding.js.map +1 -1
- package/cluster.d.ts +15 -1
- package/cluster.js +3 -1
- package/cluster.js.map +1 -1
- package/clusterPolicy.d.ts +4 -2
- package/clusterPolicy.js +4 -2
- package/clusterPolicy.js.map +1 -1
- package/connection.d.ts +5 -1
- package/connection.js +5 -1
- package/connection.js.map +1 -1
- package/dbfsFile.d.ts +1 -1
- package/dbfsFile.js +1 -1
- package/defaultNamespaceSetting.d.ts +3 -1
- package/defaultNamespaceSetting.js +3 -1
- package/defaultNamespaceSetting.js.map +1 -1
- package/directory.d.ts +1 -1
- package/directory.js +1 -1
- package/entitlements.d.ts +11 -4
- package/entitlements.js +11 -4
- package/entitlements.js.map +1 -1
- package/externalLocation.d.ts +36 -1
- package/externalLocation.js +36 -1
- package/externalLocation.js.map +1 -1
- package/file.d.ts +1 -1
- package/file.js +1 -1
- package/getAwsAssumeRolePolicy.d.ts +8 -2
- package/getAwsAssumeRolePolicy.js +8 -2
- package/getAwsAssumeRolePolicy.js.map +1 -1
- package/getAwsBucketPolicy.d.ts +0 -18
- package/getAwsBucketPolicy.js +0 -18
- package/getAwsBucketPolicy.js.map +1 -1
- package/getAwsCrossAccountPolicy.d.ts +8 -2
- package/getAwsCrossAccountPolicy.js +8 -2
- package/getAwsCrossAccountPolicy.js.map +1 -1
- package/getAwsUnityCatalogPolicy.d.ts +6 -2
- package/getAwsUnityCatalogPolicy.js +6 -2
- package/getAwsUnityCatalogPolicy.js.map +1 -1
- package/getCatalogs.d.ts +6 -0
- package/getCatalogs.js +6 -0
- package/getCatalogs.js.map +1 -1
- package/getCluster.d.ts +6 -0
- package/getCluster.js +6 -0
- package/getCluster.js.map +1 -1
- package/getClusterPolicy.d.ts +4 -0
- package/getClusterPolicy.js +4 -0
- package/getClusterPolicy.js.map +1 -1
- package/getClusters.d.ts +10 -0
- package/getClusters.js +10 -0
- package/getClusters.js.map +1 -1
- package/getCurrentConfig.d.ts +0 -38
- package/getCurrentConfig.js +0 -38
- package/getCurrentConfig.js.map +1 -1
- package/getCurrentMetastore.d.ts +6 -0
- package/getCurrentMetastore.js +6 -0
- package/getCurrentMetastore.js.map +1 -1
- package/getCurrentUser.d.ts +4 -40
- package/getCurrentUser.js +4 -40
- package/getCurrentUser.js.map +1 -1
- package/getDbfsFile.d.ts +6 -0
- package/getDbfsFile.js +6 -0
- package/getDbfsFile.js.map +1 -1
- package/getDbfsFilePaths.d.ts +6 -0
- package/getDbfsFilePaths.js +6 -0
- package/getDbfsFilePaths.js.map +1 -1
- package/getDirectory.d.ts +4 -0
- package/getDirectory.js +4 -0
- package/getDirectory.js.map +1 -1
- package/getGroup.d.ts +6 -0
- package/getGroup.js +6 -0
- package/getGroup.js.map +1 -1
- package/getInstancePool.d.ts +4 -0
- package/getInstancePool.js +4 -0
- package/getInstancePool.js.map +1 -1
- package/getInstanceProfiles.d.ts +4 -0
- package/getInstanceProfiles.js +4 -0
- package/getInstanceProfiles.js.map +1 -1
- package/getJob.d.ts +6 -0
- package/getJob.js +6 -0
- package/getJob.js.map +1 -1
- package/getJobs.d.ts +10 -0
- package/getJobs.js +10 -0
- package/getJobs.js.map +1 -1
- package/getMetastore.d.ts +4 -12
- package/getMetastore.js +4 -12
- package/getMetastore.js.map +1 -1
- package/getMetastores.d.ts +6 -0
- package/getMetastores.js +6 -0
- package/getMetastores.js.map +1 -1
- package/getMwsCredentials.d.ts +6 -0
- package/getMwsCredentials.js +6 -0
- package/getMwsCredentials.js.map +1 -1
- package/getMwsWorkspaces.d.ts +6 -0
- package/getMwsWorkspaces.js +6 -0
- package/getMwsWorkspaces.js.map +1 -1
- package/getNodeType.d.ts +6 -0
- package/getNodeType.js +6 -0
- package/getNodeType.js.map +1 -1
- package/getNotebook.d.ts +4 -0
- package/getNotebook.js +4 -0
- package/getNotebook.js.map +1 -1
- package/getNotebookPaths.d.ts +4 -0
- package/getNotebookPaths.js +4 -0
- package/getNotebookPaths.js.map +1 -1
- package/getPipelines.d.ts +16 -2
- package/getPipelines.js +14 -0
- package/getPipelines.js.map +1 -1
- package/getSchemas.d.ts +6 -0
- package/getSchemas.js +6 -0
- package/getSchemas.js.map +1 -1
- package/getServicePrincipal.d.ts +6 -0
- package/getServicePrincipal.js +6 -0
- package/getServicePrincipal.js.map +1 -1
- package/getServicePrincipals.d.ts +0 -26
- package/getServicePrincipals.js +0 -26
- package/getServicePrincipals.js.map +1 -1
- package/getShare.d.ts +6 -0
- package/getShare.js +6 -0
- package/getShare.js.map +1 -1
- package/getShares.d.ts +6 -0
- package/getShares.js +6 -0
- package/getShares.js.map +1 -1
- package/getSparkVersion.d.ts +6 -0
- package/getSparkVersion.js +6 -0
- package/getSparkVersion.js.map +1 -1
- package/getSqlWarehouse.d.ts +10 -0
- package/getSqlWarehouse.js +10 -0
- package/getSqlWarehouse.js.map +1 -1
- package/getSqlWarehouses.d.ts +10 -0
- package/getSqlWarehouses.js +10 -0
- package/getSqlWarehouses.js.map +1 -1
- package/getStorageCredential.d.ts +4 -10
- package/getStorageCredential.js +4 -10
- package/getStorageCredential.js.map +1 -1
- package/getStorageCredentials.d.ts +6 -0
- package/getStorageCredentials.js +6 -0
- package/getStorageCredentials.js.map +1 -1
- package/getTables.d.ts +6 -0
- package/getTables.js +6 -0
- package/getTables.js.map +1 -1
- package/getUser.d.ts +6 -0
- package/getUser.js +6 -0
- package/getUser.js.map +1 -1
- package/getViews.d.ts +4 -10
- package/getViews.js +4 -10
- package/getViews.js.map +1 -1
- package/getVolumes.d.ts +6 -0
- package/getVolumes.js +6 -0
- package/getVolumes.js.map +1 -1
- package/getZones.d.ts +4 -0
- package/getZones.js +4 -0
- package/getZones.js.map +1 -1
- package/gitCredential.d.ts +1 -1
- package/gitCredential.js +1 -1
- package/globalInitScript.d.ts +1 -1
- package/globalInitScript.js +1 -1
- package/grant.d.ts +1 -1
- package/grant.js +1 -1
- package/grants.d.ts +1 -1
- package/grants.js +1 -1
- package/group.d.ts +9 -1
- package/group.js +9 -1
- package/group.js.map +1 -1
- package/groupInstanceProfile.d.ts +3 -0
- package/groupInstanceProfile.js +3 -0
- package/groupInstanceProfile.js.map +1 -1
- package/groupRole.d.ts +5 -0
- package/groupRole.js +5 -0
- package/groupRole.js.map +1 -1
- package/instancePool.d.ts +4 -1
- package/instancePool.js +4 -1
- package/instancePool.js.map +1 -1
- package/instanceProfile.d.ts +9 -1
- package/instanceProfile.js +9 -1
- package/instanceProfile.js.map +1 -1
- package/ipAccessList.d.ts +4 -1
- package/ipAccessList.js +4 -1
- package/ipAccessList.js.map +1 -1
- package/job.d.ts +7 -1
- package/job.js +1 -1
- package/job.js.map +1 -1
- package/library.d.ts +14 -0
- package/library.js +14 -0
- package/library.js.map +1 -1
- package/metastore.d.ts +25 -1
- package/metastore.js +25 -1
- package/metastore.js.map +1 -1
- package/metastoreAssignment.d.ts +3 -1
- package/metastoreAssignment.js +3 -1
- package/metastoreAssignment.js.map +1 -1
- package/metastoreDataAccess.d.ts +28 -1
- package/metastoreDataAccess.js +28 -1
- package/metastoreDataAccess.js.map +1 -1
- package/metastoreProvider.d.ts +3 -0
- package/metastoreProvider.js +3 -0
- package/metastoreProvider.js.map +1 -1
- package/mlflowExperiment.d.ts +4 -1
- package/mlflowExperiment.js +4 -1
- package/mlflowExperiment.js.map +1 -1
- package/mlflowModel.d.ts +4 -1
- package/mlflowModel.js +4 -1
- package/mlflowModel.js.map +1 -1
- package/mlflowWebhook.d.ts +4 -0
- package/mlflowWebhook.js +4 -0
- package/mlflowWebhook.js.map +1 -1
- package/modelServing.d.ts +4 -1
- package/modelServing.js +4 -1
- package/modelServing.js.map +1 -1
- package/mount.d.ts +14 -0
- package/mount.js +14 -0
- package/mount.js.map +1 -1
- package/mwsCredentials.d.ts +1 -1
- package/mwsCredentials.js +1 -1
- package/mwsCustomerManagedKeys.d.ts +14 -0
- package/mwsCustomerManagedKeys.js +14 -0
- package/mwsCustomerManagedKeys.js.map +1 -1
- package/mwsLogDelivery.d.ts +4 -0
- package/mwsLogDelivery.js +4 -0
- package/mwsLogDelivery.js.map +1 -1
- package/mwsNetworks.d.ts +33 -95
- package/mwsNetworks.js +33 -95
- package/mwsNetworks.js.map +1 -1
- package/mwsPermissionAssignment.d.ts +8 -1
- package/mwsPermissionAssignment.js +8 -1
- package/mwsPermissionAssignment.js.map +1 -1
- package/mwsPrivateAccessSettings.d.ts +6 -0
- package/mwsPrivateAccessSettings.js +6 -0
- package/mwsPrivateAccessSettings.js.map +1 -1
- package/mwsWorkspaces.d.ts +9 -19
- package/mwsWorkspaces.js +9 -19
- package/mwsWorkspaces.js.map +1 -1
- package/notebook.d.ts +1 -1
- package/notebook.js +1 -1
- package/package.json +1 -1
- package/permissions.d.ts +15 -19
- package/permissions.js +15 -19
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +4 -1
- package/pipeline.js +4 -1
- package/pipeline.js.map +1 -1
- package/recipient.d.ts +3 -7
- package/recipient.js +3 -7
- package/recipient.js.map +1 -1
- package/registeredModel.d.ts +4 -1
- package/registeredModel.js +4 -1
- package/registeredModel.js.map +1 -1
- package/repo.d.ts +1 -1
- package/repo.js +1 -1
- package/restrictWorkspaceAdminsSetting.d.ts +3 -1
- package/restrictWorkspaceAdminsSetting.js +3 -1
- package/restrictWorkspaceAdminsSetting.js.map +1 -1
- package/schema.d.ts +4 -1
- package/schema.js +4 -1
- package/schema.js.map +1 -1
- package/secret.d.ts +4 -1
- package/secret.js +4 -1
- package/secret.js.map +1 -1
- package/secretAcl.d.ts +4 -1
- package/secretAcl.js +4 -1
- package/secretAcl.js.map +1 -1
- package/secretScope.d.ts +4 -1
- package/secretScope.js +4 -1
- package/secretScope.js.map +1 -1
- package/servicePrincipal.d.ts +12 -1
- package/servicePrincipal.js +12 -1
- package/servicePrincipal.js.map +1 -1
- package/servicePrincipalRole.d.ts +3 -0
- package/servicePrincipalRole.js +3 -0
- package/servicePrincipalRole.js.map +1 -1
- package/sqlAlert.d.ts +0 -9
- package/sqlAlert.js +0 -9
- package/sqlAlert.js.map +1 -1
- package/sqlDashboard.d.ts +6 -1
- package/sqlDashboard.js +6 -1
- package/sqlDashboard.js.map +1 -1
- package/sqlEndpoint.d.ts +4 -1
- package/sqlEndpoint.js +4 -1
- package/sqlEndpoint.js.map +1 -1
- package/sqlGlobalConfig.d.ts +8 -1
- package/sqlGlobalConfig.js +8 -1
- package/sqlGlobalConfig.js.map +1 -1
- package/sqlPermissions.d.ts +10 -7
- package/sqlPermissions.js +10 -7
- package/sqlPermissions.js.map +1 -1
- package/sqlQuery.d.ts +6 -1
- package/sqlQuery.js +6 -1
- package/sqlQuery.js.map +1 -1
- package/sqlTable.d.ts +1 -1
- package/sqlTable.js +1 -1
- package/sqlVisualization.d.ts +1 -1
- package/sqlVisualization.js +1 -1
- package/sqlWidget.d.ts +4 -1
- package/sqlWidget.js +4 -1
- package/sqlWidget.js.map +1 -1
- package/storageCredential.d.ts +7 -1
- package/storageCredential.js +7 -1
- package/storageCredential.js.map +1 -1
- package/systemSchema.d.ts +3 -1
- package/systemSchema.js +3 -1
- package/systemSchema.js.map +1 -1
- package/token.d.ts +4 -0
- package/token.js +4 -0
- package/token.js.map +1 -1
- package/types/input.d.ts +22 -0
- package/types/output.d.ts +22 -0
- package/user.d.ts +12 -1
- package/user.js +12 -1
- package/user.js.map +1 -1
- package/userInstanceProfile.d.ts +3 -0
- package/userInstanceProfile.js +3 -0
- package/userInstanceProfile.js.map +1 -1
- package/userRole.d.ts +5 -0
- package/userRole.js +5 -0
- package/userRole.js.map +1 -1
- package/vectorSearchEndpoint.d.ts +3 -1
- package/vectorSearchEndpoint.js +3 -1
- package/vectorSearchEndpoint.js.map +1 -1
- package/volume.d.ts +9 -1
- package/volume.js +9 -1
- package/volume.js.map +1 -1
- package/workspaceConf.d.ts +2 -0
- package/workspaceConf.js +2 -0
- package/workspaceConf.js.map +1 -1
- package/workspaceFile.d.ts +1 -1
- package/workspaceFile.js +1 -1
package/getCurrentMetastore.js
CHANGED
|
@@ -16,6 +16,7 @@ const utilities = require("./utilities");
|
|
|
16
16
|
*
|
|
17
17
|
* MetastoreSummary response for a metastore attached to the current workspace.
|
|
18
18
|
*
|
|
19
|
+
* <!--Start PulumiCodeChooser -->
|
|
19
20
|
* ```typescript
|
|
20
21
|
* import * as pulumi from "@pulumi/pulumi";
|
|
21
22
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -23,6 +24,8 @@ const utilities = require("./utilities");
|
|
|
23
24
|
* const this = databricks.getCurrentMetastore({});
|
|
24
25
|
* export const someMetastore = data.databricks_metastore["this"].metastore_info[0];
|
|
25
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
28
|
+
*
|
|
26
29
|
* ## Related Resources
|
|
27
30
|
*
|
|
28
31
|
* The following resources are used in the same context:
|
|
@@ -52,6 +55,7 @@ exports.getCurrentMetastore = getCurrentMetastore;
|
|
|
52
55
|
*
|
|
53
56
|
* MetastoreSummary response for a metastore attached to the current workspace.
|
|
54
57
|
*
|
|
58
|
+
* <!--Start PulumiCodeChooser -->
|
|
55
59
|
* ```typescript
|
|
56
60
|
* import * as pulumi from "@pulumi/pulumi";
|
|
57
61
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -59,6 +63,8 @@ exports.getCurrentMetastore = getCurrentMetastore;
|
|
|
59
63
|
* const this = databricks.getCurrentMetastore({});
|
|
60
64
|
* export const someMetastore = data.databricks_metastore["this"].metastore_info[0];
|
|
61
65
|
* ```
|
|
66
|
+
* <!--End PulumiCodeChooser -->
|
|
67
|
+
*
|
|
62
68
|
* ## Related Resources
|
|
63
69
|
*
|
|
64
70
|
* The following resources are used in the same context:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentMetastore.js","sourceRoot":"","sources":["../getCurrentMetastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCurrentMetastore.js","sourceRoot":"","sources":["../getCurrentMetastore.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,kDAQC;AA6BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
package/getCurrentUser.d.ts
CHANGED
|
@@ -1,26 +1,8 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* ##
|
|
3
|
+
* ## Example Usage
|
|
4
4
|
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* * `id` - The id of the calling user.
|
|
8
|
-
* * `externalId` - ID of the user in an external identity provider.
|
|
9
|
-
* * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
|
|
10
|
-
* * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
11
|
-
* * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
12
|
-
* * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
|
|
13
|
-
* * `workspaceUrl` - URL of the current Databricks workspace.
|
|
14
|
-
* * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
|
|
15
|
-
*
|
|
16
|
-
* ## Related Resources
|
|
17
|
-
*
|
|
18
|
-
* The following resources are used in the same context:
|
|
19
|
-
*
|
|
20
|
-
* * End to end workspace management guide
|
|
21
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
22
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
23
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
5
|
+
* Create personalized databricks.Job and databricks_notebook:
|
|
24
6
|
*/
|
|
25
7
|
export declare function getCurrentUser(opts?: pulumi.InvokeOptions): Promise<GetCurrentUserResult>;
|
|
26
8
|
/**
|
|
@@ -40,26 +22,8 @@ export interface GetCurrentUserResult {
|
|
|
40
22
|
readonly workspaceUrl: string;
|
|
41
23
|
}
|
|
42
24
|
/**
|
|
43
|
-
* ##
|
|
44
|
-
*
|
|
45
|
-
* Data source exposes the following attributes:
|
|
46
|
-
*
|
|
47
|
-
* * `id` - The id of the calling user.
|
|
48
|
-
* * `externalId` - ID of the user in an external identity provider.
|
|
49
|
-
* * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
|
|
50
|
-
* * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
51
|
-
* * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
52
|
-
* * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
|
|
53
|
-
* * `workspaceUrl` - URL of the current Databricks workspace.
|
|
54
|
-
* * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
|
|
55
|
-
*
|
|
56
|
-
* ## Related Resources
|
|
57
|
-
*
|
|
58
|
-
* The following resources are used in the same context:
|
|
25
|
+
* ## Example Usage
|
|
59
26
|
*
|
|
60
|
-
*
|
|
61
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
62
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
63
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
27
|
+
* Create personalized databricks.Job and databricks_notebook:
|
|
64
28
|
*/
|
|
65
29
|
export declare function getCurrentUserOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetCurrentUserResult>;
|
package/getCurrentUser.js
CHANGED
|
@@ -6,27 +6,9 @@ exports.getCurrentUserOutput = exports.getCurrentUser = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* ##
|
|
9
|
+
* ## Example Usage
|
|
10
10
|
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* * `id` - The id of the calling user.
|
|
14
|
-
* * `externalId` - ID of the user in an external identity provider.
|
|
15
|
-
* * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
|
|
16
|
-
* * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
17
|
-
* * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
18
|
-
* * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
|
|
19
|
-
* * `workspaceUrl` - URL of the current Databricks workspace.
|
|
20
|
-
* * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
|
|
21
|
-
*
|
|
22
|
-
* ## Related Resources
|
|
23
|
-
*
|
|
24
|
-
* The following resources are used in the same context:
|
|
25
|
-
*
|
|
26
|
-
* * End to end workspace management guide
|
|
27
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
28
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
29
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
11
|
+
* Create personalized databricks.Job and databricks_notebook:
|
|
30
12
|
*/
|
|
31
13
|
function getCurrentUser(opts) {
|
|
32
14
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -34,27 +16,9 @@ function getCurrentUser(opts) {
|
|
|
34
16
|
}
|
|
35
17
|
exports.getCurrentUser = getCurrentUser;
|
|
36
18
|
/**
|
|
37
|
-
* ##
|
|
38
|
-
*
|
|
39
|
-
* Data source exposes the following attributes:
|
|
40
|
-
*
|
|
41
|
-
* * `id` - The id of the calling user.
|
|
42
|
-
* * `externalId` - ID of the user in an external identity provider.
|
|
43
|
-
* * `userName` - Name of the user, e.g. `mr.foo@example.com`. If the currently logged-in identity is a service principal, returns the application ID, e.g. `11111111-2222-3333-4444-555666777888`
|
|
44
|
-
* * `home` - Home folder of the user, e.g. `/Users/mr.foo@example.com`.
|
|
45
|
-
* * `repos` - Personal Repos location of the user, e.g. `/Repos/mr.foo@example.com`.
|
|
46
|
-
* * `alphanumeric` - Alphanumeric representation of user local name. e.g. `mrFoo`.
|
|
47
|
-
* * `workspaceUrl` - URL of the current Databricks workspace.
|
|
48
|
-
* * `aclPrincipalId` - identifier for use in databricks_access_control_rule_set, e.g. `users/mr.foo@example.com` if current user is user, or `servicePrincipals/00000000-0000-0000-0000-000000000000` if current user is service principal.
|
|
49
|
-
*
|
|
50
|
-
* ## Related Resources
|
|
51
|
-
*
|
|
52
|
-
* The following resources are used in the same context:
|
|
19
|
+
* ## Example Usage
|
|
53
20
|
*
|
|
54
|
-
*
|
|
55
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
56
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
57
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
21
|
+
* Create personalized databricks.Job and databricks_notebook:
|
|
58
22
|
*/
|
|
59
23
|
function getCurrentUserOutput(opts) {
|
|
60
24
|
return pulumi.output(getCurrentUser(opts));
|
package/getCurrentUser.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCurrentUser.js","sourceRoot":"","sources":["../getCurrentUser.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,SAAgB,cAAc,CAAC,IAA2B;IAEtD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gDAAgD,EAAE,EAC9E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,wCAKC;AAkBD;;;;GAIG;AACH,SAAgB,oBAAoB,CAAC,IAA2B;IAC5D,OAAO,MAAM,CAAC,MAAM,CAAC,cAAc,CAAC,IAAI,CAAC,CAAC,CAAA;AAC9C,CAAC;AAFD,oDAEC"}
|
package/getDbfsFile.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -15,6 +16,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
15
16
|
* path: "dbfs:/reports/some.csv",
|
|
16
17
|
* });
|
|
17
18
|
* ```
|
|
19
|
+
* <!--End PulumiCodeChooser -->
|
|
20
|
+
*
|
|
18
21
|
* ## Related Resources
|
|
19
22
|
*
|
|
20
23
|
* The following resources are used in the same context:
|
|
@@ -64,6 +67,7 @@ export interface GetDbfsFileResult {
|
|
|
64
67
|
*
|
|
65
68
|
* ## Example Usage
|
|
66
69
|
*
|
|
70
|
+
* <!--Start PulumiCodeChooser -->
|
|
67
71
|
* ```typescript
|
|
68
72
|
* import * as pulumi from "@pulumi/pulumi";
|
|
69
73
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -73,6 +77,8 @@ export interface GetDbfsFileResult {
|
|
|
73
77
|
* path: "dbfs:/reports/some.csv",
|
|
74
78
|
* });
|
|
75
79
|
* ```
|
|
80
|
+
* <!--End PulumiCodeChooser -->
|
|
81
|
+
*
|
|
76
82
|
* ## Related Resources
|
|
77
83
|
*
|
|
78
84
|
* The following resources are used in the same context:
|
package/getDbfsFile.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -21,6 +22,8 @@ const utilities = require("./utilities");
|
|
|
21
22
|
* path: "dbfs:/reports/some.csv",
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
26
|
+
*
|
|
24
27
|
* ## Related Resources
|
|
25
28
|
*
|
|
26
29
|
* The following resources are used in the same context:
|
|
@@ -45,6 +48,7 @@ exports.getDbfsFile = getDbfsFile;
|
|
|
45
48
|
*
|
|
46
49
|
* ## Example Usage
|
|
47
50
|
*
|
|
51
|
+
* <!--Start PulumiCodeChooser -->
|
|
48
52
|
* ```typescript
|
|
49
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
50
54
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -54,6 +58,8 @@ exports.getDbfsFile = getDbfsFile;
|
|
|
54
58
|
* path: "dbfs:/reports/some.csv",
|
|
55
59
|
* });
|
|
56
60
|
* ```
|
|
61
|
+
* <!--End PulumiCodeChooser -->
|
|
62
|
+
*
|
|
57
63
|
* ## Related Resources
|
|
58
64
|
*
|
|
59
65
|
* The following resources are used in the same context:
|
package/getDbfsFile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDbfsFile.js","sourceRoot":"","sources":["../getDbfsFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDbfsFile.js","sourceRoot":"","sources":["../getDbfsFile.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,WAAW,CAAC,IAAqB,EAAE,IAA2B;IAE1E,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;QACrE,eAAe,EAAE,IAAI,CAAC,aAAa;QACnC,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAmCD;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,SAAgB,iBAAiB,CAAC,IAA2B,EAAE,IAA2B;IACtF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,WAAW,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACtE,CAAC;AAFD,8CAEC"}
|
package/getDbfsFilePaths.d.ts
CHANGED
|
@@ -7,6 +7,7 @@ import * as outputs from "./types/output";
|
|
|
7
7
|
*
|
|
8
8
|
* ## Example Usage
|
|
9
9
|
*
|
|
10
|
+
* <!--Start PulumiCodeChooser -->
|
|
10
11
|
* ```typescript
|
|
11
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
12
13
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -16,6 +17,8 @@ import * as outputs from "./types/output";
|
|
|
16
17
|
* recursive: false,
|
|
17
18
|
* });
|
|
18
19
|
* ```
|
|
20
|
+
* <!--End PulumiCodeChooser -->
|
|
21
|
+
*
|
|
19
22
|
* ## Related Resources
|
|
20
23
|
*
|
|
21
24
|
* The following resources are used in the same context:
|
|
@@ -63,6 +66,7 @@ export interface GetDbfsFilePathsResult {
|
|
|
63
66
|
*
|
|
64
67
|
* ## Example Usage
|
|
65
68
|
*
|
|
69
|
+
* <!--Start PulumiCodeChooser -->
|
|
66
70
|
* ```typescript
|
|
67
71
|
* import * as pulumi from "@pulumi/pulumi";
|
|
68
72
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -72,6 +76,8 @@ export interface GetDbfsFilePathsResult {
|
|
|
72
76
|
* recursive: false,
|
|
73
77
|
* });
|
|
74
78
|
* ```
|
|
79
|
+
* <!--End PulumiCodeChooser -->
|
|
80
|
+
*
|
|
75
81
|
* ## Related Resources
|
|
76
82
|
*
|
|
77
83
|
* The following resources are used in the same context:
|
package/getDbfsFilePaths.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -21,6 +22,8 @@ const utilities = require("./utilities");
|
|
|
21
22
|
* recursive: false,
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
26
|
+
*
|
|
24
27
|
* ## Related Resources
|
|
25
28
|
*
|
|
26
29
|
* The following resources are used in the same context:
|
|
@@ -47,6 +50,7 @@ exports.getDbfsFilePaths = getDbfsFilePaths;
|
|
|
47
50
|
*
|
|
48
51
|
* ## Example Usage
|
|
49
52
|
*
|
|
53
|
+
* <!--Start PulumiCodeChooser -->
|
|
50
54
|
* ```typescript
|
|
51
55
|
* import * as pulumi from "@pulumi/pulumi";
|
|
52
56
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -56,6 +60,8 @@ exports.getDbfsFilePaths = getDbfsFilePaths;
|
|
|
56
60
|
* recursive: false,
|
|
57
61
|
* });
|
|
58
62
|
* ```
|
|
63
|
+
* <!--End PulumiCodeChooser -->
|
|
64
|
+
*
|
|
59
65
|
* ## Related Resources
|
|
60
66
|
*
|
|
61
67
|
* The following resources are used in the same context:
|
package/getDbfsFilePaths.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDbfsFilePaths.js","sourceRoot":"","sources":["../getDbfsFilePaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDbfsFilePaths.js","sourceRoot":"","sources":["../getDbfsFilePaths.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,gBAAgB,CAAC,IAA0B,EAAE,IAA2B;IAEpF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oDAAoD,EAAE;QAC/E,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4CAOC;AA+BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,gBAAgB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC3E,CAAC;AAFD,wDAEC"}
|
package/getDirectory.d.ts
CHANGED
|
@@ -6,6 +6,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
6
6
|
*
|
|
7
7
|
* ## Example Usage
|
|
8
8
|
*
|
|
9
|
+
* <!--Start PulumiCodeChooser -->
|
|
9
10
|
* ```typescript
|
|
10
11
|
* import * as pulumi from "@pulumi/pulumi";
|
|
11
12
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -14,6 +15,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
14
15
|
* path: "/Production",
|
|
15
16
|
* });
|
|
16
17
|
* ```
|
|
18
|
+
* <!--End PulumiCodeChooser -->
|
|
17
19
|
*/
|
|
18
20
|
export declare function getDirectory(args: GetDirectoryArgs, opts?: pulumi.InvokeOptions): Promise<GetDirectoryResult>;
|
|
19
21
|
/**
|
|
@@ -54,6 +56,7 @@ export interface GetDirectoryResult {
|
|
|
54
56
|
*
|
|
55
57
|
* ## Example Usage
|
|
56
58
|
*
|
|
59
|
+
* <!--Start PulumiCodeChooser -->
|
|
57
60
|
* ```typescript
|
|
58
61
|
* import * as pulumi from "@pulumi/pulumi";
|
|
59
62
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -62,6 +65,7 @@ export interface GetDirectoryResult {
|
|
|
62
65
|
* path: "/Production",
|
|
63
66
|
* });
|
|
64
67
|
* ```
|
|
68
|
+
* <!--End PulumiCodeChooser -->
|
|
65
69
|
*/
|
|
66
70
|
export declare function getDirectoryOutput(args: GetDirectoryOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetDirectoryResult>;
|
|
67
71
|
/**
|
package/getDirectory.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* ## Example Usage
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -20,6 +21,7 @@ const utilities = require("./utilities");
|
|
|
20
21
|
* path: "/Production",
|
|
21
22
|
* });
|
|
22
23
|
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
23
25
|
*/
|
|
24
26
|
function getDirectory(args, opts) {
|
|
25
27
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -36,6 +38,7 @@ exports.getDirectory = getDirectory;
|
|
|
36
38
|
*
|
|
37
39
|
* ## Example Usage
|
|
38
40
|
*
|
|
41
|
+
* <!--Start PulumiCodeChooser -->
|
|
39
42
|
* ```typescript
|
|
40
43
|
* import * as pulumi from "@pulumi/pulumi";
|
|
41
44
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -44,6 +47,7 @@ exports.getDirectory = getDirectory;
|
|
|
44
47
|
* path: "/Production",
|
|
45
48
|
* });
|
|
46
49
|
* ```
|
|
50
|
+
* <!--End PulumiCodeChooser -->
|
|
47
51
|
*/
|
|
48
52
|
function getDirectoryOutput(args, opts) {
|
|
49
53
|
return pulumi.output(args).apply((a) => getDirectory(a, opts));
|
package/getDirectory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getDirectory.js","sourceRoot":"","sources":["../getDirectory.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,YAAY,CAAC,IAAsB,EAAE,IAA2B;IAE5E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,4CAA4C,EAAE;QACvE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,MAAM,EAAE,IAAI,CAAC,IAAI;KACpB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,oCAOC;AAkCD;;;;;;;;;;;;;;;;;GAiBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,YAAY,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACvE,CAAC;AAFD,gDAEC"}
|
package/getGroup.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* Adding user to administrative group
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -21,6 +22,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
22
|
* memberId: me.id,
|
|
22
23
|
* });
|
|
23
24
|
* ```
|
|
25
|
+
* <!--End PulumiCodeChooser -->
|
|
26
|
+
*
|
|
24
27
|
* ## Related Resources
|
|
25
28
|
*
|
|
26
29
|
* The following resources are used in the same context:
|
|
@@ -150,6 +153,7 @@ export interface GetGroupResult {
|
|
|
150
153
|
*
|
|
151
154
|
* Adding user to administrative group
|
|
152
155
|
*
|
|
156
|
+
* <!--Start PulumiCodeChooser -->
|
|
153
157
|
* ```typescript
|
|
154
158
|
* import * as pulumi from "@pulumi/pulumi";
|
|
155
159
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -163,6 +167,8 @@ export interface GetGroupResult {
|
|
|
163
167
|
* memberId: me.id,
|
|
164
168
|
* });
|
|
165
169
|
* ```
|
|
170
|
+
* <!--End PulumiCodeChooser -->
|
|
171
|
+
*
|
|
166
172
|
* ## Related Resources
|
|
167
173
|
*
|
|
168
174
|
* The following resources are used in the same context:
|
package/getGroup.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* Adding user to administrative group
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -27,6 +28,8 @@ const utilities = require("./utilities");
|
|
|
27
28
|
* memberId: me.id,
|
|
28
29
|
* });
|
|
29
30
|
* ```
|
|
31
|
+
* <!--End PulumiCodeChooser -->
|
|
32
|
+
*
|
|
30
33
|
* ## Related Resources
|
|
31
34
|
*
|
|
32
35
|
* The following resources are used in the same context:
|
|
@@ -67,6 +70,7 @@ exports.getGroup = getGroup;
|
|
|
67
70
|
*
|
|
68
71
|
* Adding user to administrative group
|
|
69
72
|
*
|
|
73
|
+
* <!--Start PulumiCodeChooser -->
|
|
70
74
|
* ```typescript
|
|
71
75
|
* import * as pulumi from "@pulumi/pulumi";
|
|
72
76
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -80,6 +84,8 @@ exports.getGroup = getGroup;
|
|
|
80
84
|
* memberId: me.id,
|
|
81
85
|
* });
|
|
82
86
|
* ```
|
|
87
|
+
* <!--End PulumiCodeChooser -->
|
|
88
|
+
*
|
|
83
89
|
* ## Related Resources
|
|
84
90
|
*
|
|
85
91
|
* The following resources are used in the same context:
|
package/getGroup.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getGroup.js","sourceRoot":"","sources":["../getGroup.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oCAAoC,EAAE;QAC/D,gBAAgB,EAAE,IAAI,CAAC,cAAc;QACrC,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,yBAAyB,EAAE,IAAI,CAAC,uBAAuB;QACvD,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;QACzC,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,mBAAmB,EAAE,IAAI,CAAC,iBAAiB;QAC3C,OAAO,EAAE,IAAI,CAAC,KAAK;QACnB,iBAAiB,EAAE,IAAI,CAAC,eAAe;KAC1C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAnBD,4BAmBC;AA+GD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
|
package/getInstancePool.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* Referring to an instance pool by name:
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -20,6 +21,7 @@ import * as outputs from "./types/output";
|
|
|
20
21
|
* const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
|
|
21
22
|
* // ...
|
|
22
23
|
* ```
|
|
24
|
+
* <!--End PulumiCodeChooser -->
|
|
23
25
|
*/
|
|
24
26
|
export declare function getInstancePool(args: GetInstancePoolArgs, opts?: pulumi.InvokeOptions): Promise<GetInstancePoolResult>;
|
|
25
27
|
/**
|
|
@@ -58,6 +60,7 @@ export interface GetInstancePoolResult {
|
|
|
58
60
|
*
|
|
59
61
|
* Referring to an instance pool by name:
|
|
60
62
|
*
|
|
63
|
+
* <!--Start PulumiCodeChooser -->
|
|
61
64
|
* ```typescript
|
|
62
65
|
* import * as pulumi from "@pulumi/pulumi";
|
|
63
66
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -68,6 +71,7 @@ export interface GetInstancePoolResult {
|
|
|
68
71
|
* const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
|
|
69
72
|
* // ...
|
|
70
73
|
* ```
|
|
74
|
+
* <!--End PulumiCodeChooser -->
|
|
71
75
|
*/
|
|
72
76
|
export declare function getInstancePoolOutput(args: GetInstancePoolOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstancePoolResult>;
|
|
73
77
|
/**
|
package/getInstancePool.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* Referring to an instance pool by name:
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -24,6 +25,7 @@ const utilities = require("./utilities");
|
|
|
24
25
|
* const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
|
|
25
26
|
* // ...
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*/
|
|
28
30
|
function getInstancePool(args, opts) {
|
|
29
31
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -42,6 +44,7 @@ exports.getInstancePool = getInstancePool;
|
|
|
42
44
|
*
|
|
43
45
|
* Referring to an instance pool by name:
|
|
44
46
|
*
|
|
47
|
+
* <!--Start PulumiCodeChooser -->
|
|
45
48
|
* ```typescript
|
|
46
49
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
50
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -52,6 +55,7 @@ exports.getInstancePool = getInstancePool;
|
|
|
52
55
|
* const myCluster = new databricks.Cluster("myCluster", {instancePoolId: data.databricks_instance_pool.pool.id});
|
|
53
56
|
* // ...
|
|
54
57
|
* ```
|
|
58
|
+
* <!--End PulumiCodeChooser -->
|
|
55
59
|
*/
|
|
56
60
|
function getInstancePoolOutput(args, opts) {
|
|
57
61
|
return pulumi.output(args).apply((a) => getInstancePool(a, opts));
|
package/getInstancePool.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstancePool.js","sourceRoot":"","sources":["../getInstancePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getInstancePool.js","sourceRoot":"","sources":["../getInstancePool.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAElF,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,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,0CAOC;AA8BD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,qBAAqB,CAAC,IAA+B,EAAE,IAA2B;IAC9F,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,eAAe,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC1E,CAAC;AAFD,sDAEC"}
|
package/getInstanceProfiles.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as outputs from "./types/output";
|
|
|
8
8
|
*
|
|
9
9
|
* Get all instance profiles:
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -15,6 +16,7 @@ import * as outputs from "./types/output";
|
|
|
15
16
|
* const all = databricks.getInstanceProfiles({});
|
|
16
17
|
* export const allInstanceProfiles = all.then(all => all.instanceProfiles);
|
|
17
18
|
* ```
|
|
19
|
+
* <!--End PulumiCodeChooser -->
|
|
18
20
|
*/
|
|
19
21
|
export declare function getInstanceProfiles(args?: GetInstanceProfilesArgs, opts?: pulumi.InvokeOptions): Promise<GetInstanceProfilesResult>;
|
|
20
22
|
/**
|
|
@@ -46,6 +48,7 @@ export interface GetInstanceProfilesResult {
|
|
|
46
48
|
*
|
|
47
49
|
* Get all instance profiles:
|
|
48
50
|
*
|
|
51
|
+
* <!--Start PulumiCodeChooser -->
|
|
49
52
|
* ```typescript
|
|
50
53
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
54
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -53,6 +56,7 @@ export interface GetInstanceProfilesResult {
|
|
|
53
56
|
* const all = databricks.getInstanceProfiles({});
|
|
54
57
|
* export const allInstanceProfiles = all.then(all => all.instanceProfiles);
|
|
55
58
|
* ```
|
|
59
|
+
* <!--End PulumiCodeChooser -->
|
|
56
60
|
*/
|
|
57
61
|
export declare function getInstanceProfilesOutput(args?: GetInstanceProfilesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetInstanceProfilesResult>;
|
|
58
62
|
/**
|
package/getInstanceProfiles.js
CHANGED
|
@@ -12,6 +12,7 @@ const utilities = require("./utilities");
|
|
|
12
12
|
*
|
|
13
13
|
* Get all instance profiles:
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -19,6 +20,7 @@ const utilities = require("./utilities");
|
|
|
19
20
|
* const all = databricks.getInstanceProfiles({});
|
|
20
21
|
* export const allInstanceProfiles = all.then(all => all.instanceProfiles);
|
|
21
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
22
24
|
*/
|
|
23
25
|
function getInstanceProfiles(args, opts) {
|
|
24
26
|
args = args || {};
|
|
@@ -35,6 +37,7 @@ exports.getInstanceProfiles = getInstanceProfiles;
|
|
|
35
37
|
*
|
|
36
38
|
* Get all instance profiles:
|
|
37
39
|
*
|
|
40
|
+
* <!--Start PulumiCodeChooser -->
|
|
38
41
|
* ```typescript
|
|
39
42
|
* import * as pulumi from "@pulumi/pulumi";
|
|
40
43
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -42,6 +45,7 @@ exports.getInstanceProfiles = getInstanceProfiles;
|
|
|
42
45
|
* const all = databricks.getInstanceProfiles({});
|
|
43
46
|
* export const allInstanceProfiles = all.then(all => all.instanceProfiles);
|
|
44
47
|
* ```
|
|
48
|
+
* <!--End PulumiCodeChooser -->
|
|
45
49
|
*/
|
|
46
50
|
function getInstanceProfilesOutput(args, opts) {
|
|
47
51
|
return pulumi.output(args).apply((a) => getInstanceProfiles(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getInstanceProfiles.js","sourceRoot":"","sources":["../getInstanceProfiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getInstanceProfiles.js","sourceRoot":"","sources":["../getInstanceProfiles.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAElB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,0DAA0D,EAAE;QACrF,kBAAkB,EAAE,IAAI,CAAC,gBAAgB;KAC5C,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kDAOC;AAyBD;;;;;;;;;;;;;;;;GAgBG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAA2B;IACvG,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,mBAAmB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AAC9E,CAAC;AAFD,8DAEC"}
|
package/getJob.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* Getting the existing cluster id of specific databricks.Job by name or by id:
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -19,6 +20,8 @@ import * as outputs from "./types/output";
|
|
|
19
20
|
* });
|
|
20
21
|
* export const jobNumWorkers = _this.then(_this => _this.jobSettings?.settings?.newCluster?.numWorkers);
|
|
21
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
24
|
+
*
|
|
22
25
|
* ## Related Resources
|
|
23
26
|
*
|
|
24
27
|
* The following resources are used in the same context:
|
|
@@ -74,6 +77,7 @@ export interface GetJobResult {
|
|
|
74
77
|
*
|
|
75
78
|
* Getting the existing cluster id of specific databricks.Job by name or by id:
|
|
76
79
|
*
|
|
80
|
+
* <!--Start PulumiCodeChooser -->
|
|
77
81
|
* ```typescript
|
|
78
82
|
* import * as pulumi from "@pulumi/pulumi";
|
|
79
83
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -83,6 +87,8 @@ export interface GetJobResult {
|
|
|
83
87
|
* });
|
|
84
88
|
* export const jobNumWorkers = _this.then(_this => _this.jobSettings?.settings?.newCluster?.numWorkers);
|
|
85
89
|
* ```
|
|
90
|
+
* <!--End PulumiCodeChooser -->
|
|
91
|
+
*
|
|
86
92
|
* ## Related Resources
|
|
87
93
|
*
|
|
88
94
|
* The following resources are used in the same context:
|