@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
|
@@ -6,18 +6,21 @@ exports.getAwsCrossAccountPolicyOutput = exports.getAwsCrossAccountPolicy = void
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your
|
|
9
|
+
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](<https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%!C(MISSING)2%!A(MISSING)0VPC,%!C(MISSING)2%!A(MISSING)0default>).
|
|
10
10
|
*
|
|
11
11
|
* ## Example Usage
|
|
12
12
|
*
|
|
13
13
|
* For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricksAwsS3Mount pages.
|
|
14
14
|
*
|
|
15
|
+
* <!--Start PulumiCodeChooser -->
|
|
15
16
|
* ```typescript
|
|
16
17
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
18
|
* import * as databricks from "@pulumi/databricks";
|
|
18
19
|
*
|
|
19
20
|
* const this = databricks.getAwsCrossAccountPolicy({});
|
|
20
21
|
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
23
|
+
*
|
|
21
24
|
* ## Related Resources
|
|
22
25
|
*
|
|
23
26
|
* The following resources are used in the same context:
|
|
@@ -36,18 +39,21 @@ function getAwsCrossAccountPolicy(args, opts) {
|
|
|
36
39
|
}
|
|
37
40
|
exports.getAwsCrossAccountPolicy = getAwsCrossAccountPolicy;
|
|
38
41
|
/**
|
|
39
|
-
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your
|
|
42
|
+
* This data source constructs necessary AWS cross-account policy for you, which is based on [official documentation](<https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%!C(MISSING)2%!A(MISSING)0VPC,%!C(MISSING)2%!A(MISSING)0default>).
|
|
40
43
|
*
|
|
41
44
|
* ## Example Usage
|
|
42
45
|
*
|
|
43
46
|
* For more detailed usage please see databricks.getAwsAssumeRolePolicy or databricksAwsS3Mount pages.
|
|
44
47
|
*
|
|
48
|
+
* <!--Start PulumiCodeChooser -->
|
|
45
49
|
* ```typescript
|
|
46
50
|
* import * as pulumi from "@pulumi/pulumi";
|
|
47
51
|
* import * as databricks from "@pulumi/databricks";
|
|
48
52
|
*
|
|
49
53
|
* const this = databricks.getAwsCrossAccountPolicy({});
|
|
50
54
|
* ```
|
|
55
|
+
* <!--End PulumiCodeChooser -->
|
|
56
|
+
*
|
|
51
57
|
* ## Related Resources
|
|
52
58
|
*
|
|
53
59
|
* The following resources are used in the same context:
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAwsCrossAccountPolicy.js","sourceRoot":"","sources":["../getAwsCrossAccountPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAwsCrossAccountPolicy.js","sourceRoot":"","sources":["../getAwsCrossAccountPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,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,oEAAoE,EAAE;QAC/F,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,4DAOC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAA2B;IACjH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
|
-
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your
|
|
3
|
+
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](<https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%!C(MISSING)2%!A(MISSING)0VPC,%!C(MISSING)2%!A(MISSING)0default>) in case of any questions.
|
|
4
4
|
*
|
|
5
5
|
* This data source constructs necessary AWS Unity Catalog policy for you, which is based on [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws).
|
|
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 aws from "@pulumi/aws";
|
|
@@ -54,6 +55,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
54
55
|
* managedPolicyArns: [unityMetastore.arn],
|
|
55
56
|
* });
|
|
56
57
|
* ```
|
|
58
|
+
* <!--End PulumiCodeChooser -->
|
|
57
59
|
*/
|
|
58
60
|
export declare function getAwsUnityCatalogPolicy(args: GetAwsUnityCatalogPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetAwsUnityCatalogPolicyResult>;
|
|
59
61
|
/**
|
|
@@ -95,12 +97,13 @@ export interface GetAwsUnityCatalogPolicyResult {
|
|
|
95
97
|
readonly roleName: string;
|
|
96
98
|
}
|
|
97
99
|
/**
|
|
98
|
-
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your
|
|
100
|
+
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](<https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%!C(MISSING)2%!A(MISSING)0VPC,%!C(MISSING)2%!A(MISSING)0default>) in case of any questions.
|
|
99
101
|
*
|
|
100
102
|
* This data source constructs necessary AWS Unity Catalog policy for you, which is based on [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws).
|
|
101
103
|
*
|
|
102
104
|
* ## Example Usage
|
|
103
105
|
*
|
|
106
|
+
* <!--Start PulumiCodeChooser -->
|
|
104
107
|
* ```typescript
|
|
105
108
|
* import * as pulumi from "@pulumi/pulumi";
|
|
106
109
|
* import * as aws from "@pulumi/aws";
|
|
@@ -149,6 +152,7 @@ export interface GetAwsUnityCatalogPolicyResult {
|
|
|
149
152
|
* managedPolicyArns: [unityMetastore.arn],
|
|
150
153
|
* });
|
|
151
154
|
* ```
|
|
155
|
+
* <!--End PulumiCodeChooser -->
|
|
152
156
|
*/
|
|
153
157
|
export declare function getAwsUnityCatalogPolicyOutput(args: GetAwsUnityCatalogPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetAwsUnityCatalogPolicyResult>;
|
|
154
158
|
/**
|
|
@@ -6,12 +6,13 @@ exports.getAwsUnityCatalogPolicyOutput = exports.getAwsUnityCatalogPolicy = void
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your
|
|
9
|
+
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](<https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%!C(MISSING)2%!A(MISSING)0VPC,%!C(MISSING)2%!A(MISSING)0default>) in case of any questions.
|
|
10
10
|
*
|
|
11
11
|
* This data source constructs necessary AWS Unity Catalog policy for you, which is based on [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws).
|
|
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 aws from "@pulumi/aws";
|
|
@@ -60,6 +61,7 @@ const utilities = require("./utilities");
|
|
|
60
61
|
* managedPolicyArns: [unityMetastore.arn],
|
|
61
62
|
* });
|
|
62
63
|
* ```
|
|
64
|
+
* <!--End PulumiCodeChooser -->
|
|
63
65
|
*/
|
|
64
66
|
function getAwsUnityCatalogPolicy(args, opts) {
|
|
65
67
|
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
|
|
@@ -72,12 +74,13 @@ function getAwsUnityCatalogPolicy(args, opts) {
|
|
|
72
74
|
}
|
|
73
75
|
exports.getAwsUnityCatalogPolicy = getAwsUnityCatalogPolicy;
|
|
74
76
|
/**
|
|
75
|
-
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your
|
|
77
|
+
* > **Note** This resource has an evolving API, which may change in future versions of the provider. Please always consult [latest documentation](<https://docs.databricks.com/administration-guide/account-api/iam-role.html#language-Your%!C(MISSING)2%!A(MISSING)0VPC,%!C(MISSING)2%!A(MISSING)0default>) in case of any questions.
|
|
76
78
|
*
|
|
77
79
|
* This data source constructs necessary AWS Unity Catalog policy for you, which is based on [official documentation](https://docs.databricks.com/data-governance/unity-catalog/get-started.html#configure-a-storage-bucket-and-iam-role-in-aws).
|
|
78
80
|
*
|
|
79
81
|
* ## Example Usage
|
|
80
82
|
*
|
|
83
|
+
* <!--Start PulumiCodeChooser -->
|
|
81
84
|
* ```typescript
|
|
82
85
|
* import * as pulumi from "@pulumi/pulumi";
|
|
83
86
|
* import * as aws from "@pulumi/aws";
|
|
@@ -126,6 +129,7 @@ exports.getAwsUnityCatalogPolicy = getAwsUnityCatalogPolicy;
|
|
|
126
129
|
* managedPolicyArns: [unityMetastore.arn],
|
|
127
130
|
* });
|
|
128
131
|
* ```
|
|
132
|
+
* <!--End PulumiCodeChooser -->
|
|
129
133
|
*/
|
|
130
134
|
function getAwsUnityCatalogPolicyOutput(args, opts) {
|
|
131
135
|
return pulumi.output(args).apply((a) => getAwsUnityCatalogPolicy(a, opts));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getAwsUnityCatalogPolicy.js","sourceRoot":"","sources":["../getAwsUnityCatalogPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getAwsUnityCatalogPolicy.js","sourceRoot":"","sources":["../getAwsUnityCatalogPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IAEpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4DASC;AAyCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyDG;AACH,SAAgB,8BAA8B,CAAC,IAAwC,EAAE,IAA2B;IAChH,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,wBAAwB,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnF,CAAC;AAFD,wEAEC"}
|
package/getCatalogs.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* Listing all catalogs:
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -11,6 +12,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
11
12
|
* const all = databricks.getCatalogs({});
|
|
12
13
|
* export const allCatalogs = all;
|
|
13
14
|
* ```
|
|
15
|
+
* <!--End PulumiCodeChooser -->
|
|
16
|
+
*
|
|
14
17
|
* ## Related Resources
|
|
15
18
|
*
|
|
16
19
|
* The following resources are used in the same context:
|
|
@@ -46,6 +49,7 @@ export interface GetCatalogsResult {
|
|
|
46
49
|
*
|
|
47
50
|
* Listing all catalogs:
|
|
48
51
|
*
|
|
52
|
+
* <!--Start PulumiCodeChooser -->
|
|
49
53
|
* ```typescript
|
|
50
54
|
* import * as pulumi from "@pulumi/pulumi";
|
|
51
55
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -53,6 +57,8 @@ export interface GetCatalogsResult {
|
|
|
53
57
|
* const all = databricks.getCatalogs({});
|
|
54
58
|
* export const allCatalogs = all;
|
|
55
59
|
* ```
|
|
60
|
+
* <!--End PulumiCodeChooser -->
|
|
61
|
+
*
|
|
56
62
|
* ## Related Resources
|
|
57
63
|
*
|
|
58
64
|
* The following resources are used in the same context:
|
package/getCatalogs.js
CHANGED
|
@@ -10,6 +10,7 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* Listing all catalogs:
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -17,6 +18,8 @@ const utilities = require("./utilities");
|
|
|
17
18
|
* const all = databricks.getCatalogs({});
|
|
18
19
|
* export const allCatalogs = all;
|
|
19
20
|
* ```
|
|
21
|
+
* <!--End PulumiCodeChooser -->
|
|
22
|
+
*
|
|
20
23
|
* ## Related Resources
|
|
21
24
|
*
|
|
22
25
|
* The following resources are used in the same context:
|
|
@@ -37,6 +40,7 @@ exports.getCatalogs = getCatalogs;
|
|
|
37
40
|
*
|
|
38
41
|
* Listing all catalogs:
|
|
39
42
|
*
|
|
43
|
+
* <!--Start PulumiCodeChooser -->
|
|
40
44
|
* ```typescript
|
|
41
45
|
* import * as pulumi from "@pulumi/pulumi";
|
|
42
46
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -44,6 +48,8 @@ exports.getCatalogs = getCatalogs;
|
|
|
44
48
|
* const all = databricks.getCatalogs({});
|
|
45
49
|
* export const allCatalogs = all;
|
|
46
50
|
* ```
|
|
51
|
+
* <!--End PulumiCodeChooser -->
|
|
52
|
+
*
|
|
47
53
|
* ## Related Resources
|
|
48
54
|
*
|
|
49
55
|
* The following resources are used in the same context:
|
package/getCatalogs.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCatalogs.js","sourceRoot":"","sources":["../getCatalogs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCatalogs.js","sourceRoot":"","sources":["../getCatalogs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,0CAA0C,EAAE;QACrE,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AAyBD;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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/getCluster.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ import * as outputs from "./types/output";
|
|
|
10
10
|
*
|
|
11
11
|
* Retrieve attributes of each SQL warehouses in a workspace
|
|
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
|
* clusterId: __value,
|
|
20
21
|
* })));
|
|
21
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
24
|
+
*
|
|
22
25
|
* ## Related Resources
|
|
23
26
|
*
|
|
24
27
|
* The following resources are often used in the same context:
|
|
@@ -80,6 +83,7 @@ export interface GetClusterResult {
|
|
|
80
83
|
*
|
|
81
84
|
* Retrieve attributes of each SQL warehouses in a workspace
|
|
82
85
|
*
|
|
86
|
+
* <!--Start PulumiCodeChooser -->
|
|
83
87
|
* ```typescript
|
|
84
88
|
* import * as pulumi from "@pulumi/pulumi";
|
|
85
89
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -89,6 +93,8 @@ export interface GetClusterResult {
|
|
|
89
93
|
* clusterId: __value,
|
|
90
94
|
* })));
|
|
91
95
|
* ```
|
|
96
|
+
* <!--End PulumiCodeChooser -->
|
|
97
|
+
*
|
|
92
98
|
* ## Related Resources
|
|
93
99
|
*
|
|
94
100
|
* The following resources are often used in the same context:
|
package/getCluster.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* Retrieve attributes of each SQL warehouses in a workspace
|
|
16
16
|
*
|
|
17
|
+
* <!--Start PulumiCodeChooser -->
|
|
17
18
|
* ```typescript
|
|
18
19
|
* import * as pulumi from "@pulumi/pulumi";
|
|
19
20
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -23,6 +24,8 @@ const utilities = require("./utilities");
|
|
|
23
24
|
* clusterId: __value,
|
|
24
25
|
* })));
|
|
25
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
28
|
+
*
|
|
26
29
|
* ## Related Resources
|
|
27
30
|
*
|
|
28
31
|
* The following resources are often used in the same context:
|
|
@@ -55,6 +58,7 @@ exports.getCluster = getCluster;
|
|
|
55
58
|
*
|
|
56
59
|
* Retrieve attributes of each SQL warehouses in a workspace
|
|
57
60
|
*
|
|
61
|
+
* <!--Start PulumiCodeChooser -->
|
|
58
62
|
* ```typescript
|
|
59
63
|
* import * as pulumi from "@pulumi/pulumi";
|
|
60
64
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -64,6 +68,8 @@ exports.getCluster = getCluster;
|
|
|
64
68
|
* clusterId: __value,
|
|
65
69
|
* })));
|
|
66
70
|
* ```
|
|
71
|
+
* <!--End PulumiCodeChooser -->
|
|
72
|
+
*
|
|
67
73
|
* ## Related Resources
|
|
68
74
|
*
|
|
69
75
|
* The following resources are often used in the same context:
|
package/getCluster.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCluster.js","sourceRoot":"","sources":["../getCluster.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,UAAU,CAAC,IAAqB,EAAE,IAA2B;IACzE,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,wCAAwC,EAAE;QACnE,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;KAChB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,gCAUC;AA0CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,UAAU,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACrE,CAAC;AAFD,4CAEC"}
|
package/getClusterPolicy.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
8
8
|
*
|
|
9
9
|
* Referring to a cluster policy by name:
|
|
10
10
|
*
|
|
11
|
+
* <!--Start PulumiCodeChooser -->
|
|
11
12
|
* ```typescript
|
|
12
13
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
14
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -18,6 +19,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
18
19
|
* const myCluster = new databricks.Cluster("myCluster", {policyId: personal.then(personal => personal.id)});
|
|
19
20
|
* // ...
|
|
20
21
|
* ```
|
|
22
|
+
* <!--End PulumiCodeChooser -->
|
|
21
23
|
*/
|
|
22
24
|
export declare function getClusterPolicy(args?: GetClusterPolicyArgs, opts?: pulumi.InvokeOptions): Promise<GetClusterPolicyResult>;
|
|
23
25
|
/**
|
|
@@ -100,6 +102,7 @@ export interface GetClusterPolicyResult {
|
|
|
100
102
|
*
|
|
101
103
|
* Referring to a cluster policy by name:
|
|
102
104
|
*
|
|
105
|
+
* <!--Start PulumiCodeChooser -->
|
|
103
106
|
* ```typescript
|
|
104
107
|
* import * as pulumi from "@pulumi/pulumi";
|
|
105
108
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -110,6 +113,7 @@ export interface GetClusterPolicyResult {
|
|
|
110
113
|
* const myCluster = new databricks.Cluster("myCluster", {policyId: personal.then(personal => personal.id)});
|
|
111
114
|
* // ...
|
|
112
115
|
* ```
|
|
116
|
+
* <!--End PulumiCodeChooser -->
|
|
113
117
|
*/
|
|
114
118
|
export declare function getClusterPolicyOutput(args?: GetClusterPolicyOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetClusterPolicyResult>;
|
|
115
119
|
/**
|
package/getClusterPolicy.js
CHANGED
|
@@ -14,6 +14,7 @@ const utilities = require("./utilities");
|
|
|
14
14
|
*
|
|
15
15
|
* Referring to a cluster policy 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", {policyId: personal.then(personal => personal.id)});
|
|
25
26
|
* // ...
|
|
26
27
|
* ```
|
|
28
|
+
* <!--End PulumiCodeChooser -->
|
|
27
29
|
*/
|
|
28
30
|
function getClusterPolicy(args, opts) {
|
|
29
31
|
args = args || {};
|
|
@@ -49,6 +51,7 @@ exports.getClusterPolicy = getClusterPolicy;
|
|
|
49
51
|
*
|
|
50
52
|
* Referring to a cluster policy by name:
|
|
51
53
|
*
|
|
54
|
+
* <!--Start PulumiCodeChooser -->
|
|
52
55
|
* ```typescript
|
|
53
56
|
* import * as pulumi from "@pulumi/pulumi";
|
|
54
57
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -59,6 +62,7 @@ exports.getClusterPolicy = getClusterPolicy;
|
|
|
59
62
|
* const myCluster = new databricks.Cluster("myCluster", {policyId: personal.then(personal => personal.id)});
|
|
60
63
|
* // ...
|
|
61
64
|
* ```
|
|
65
|
+
* <!--End PulumiCodeChooser -->
|
|
62
66
|
*/
|
|
63
67
|
function getClusterPolicyOutput(args, opts) {
|
|
64
68
|
return pulumi.output(args).apply((a) => getClusterPolicy(a, opts));
|
package/getClusterPolicy.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusterPolicy.js","sourceRoot":"","sources":["../getClusterPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getClusterPolicy.js","sourceRoot":"","sources":["../getClusterPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,oDAAoD,EAAE;QAC/E,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,aAAa,EAAE,IAAI,CAAC,WAAW;QAC/B,IAAI,EAAE,IAAI,CAAC,EAAE;QACb,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;QAC7C,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,iCAAiC,EAAE,IAAI,CAAC,+BAA+B;QACvE,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAdD,4CAcC;AA0ED;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,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/getClusters.d.ts
CHANGED
|
@@ -4,15 +4,18 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
4
4
|
*
|
|
5
5
|
* Retrieve all clusters on this workspace on AWS or GCP:
|
|
6
6
|
*
|
|
7
|
+
* <!--Start PulumiCodeChooser -->
|
|
7
8
|
* ```typescript
|
|
8
9
|
* import * as pulumi from "@pulumi/pulumi";
|
|
9
10
|
* import * as databricks from "@pulumi/databricks";
|
|
10
11
|
*
|
|
11
12
|
* const all = databricks.getClusters({});
|
|
12
13
|
* ```
|
|
14
|
+
* <!--End PulumiCodeChooser -->
|
|
13
15
|
*
|
|
14
16
|
* Retrieve all clusters with "Shared" in their cluster name on this Azure Databricks workspace:
|
|
15
17
|
*
|
|
18
|
+
* <!--Start PulumiCodeChooser -->
|
|
16
19
|
* ```typescript
|
|
17
20
|
* import * as pulumi from "@pulumi/pulumi";
|
|
18
21
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -21,6 +24,8 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
21
24
|
* clusterNameContains: "shared",
|
|
22
25
|
* });
|
|
23
26
|
* ```
|
|
27
|
+
* <!--End PulumiCodeChooser -->
|
|
28
|
+
*
|
|
24
29
|
* ## Related Resources
|
|
25
30
|
*
|
|
26
31
|
* The following resources are used in the same context:
|
|
@@ -62,15 +67,18 @@ export interface GetClustersResult {
|
|
|
62
67
|
*
|
|
63
68
|
* Retrieve all clusters on this workspace on AWS or GCP:
|
|
64
69
|
*
|
|
70
|
+
* <!--Start PulumiCodeChooser -->
|
|
65
71
|
* ```typescript
|
|
66
72
|
* import * as pulumi from "@pulumi/pulumi";
|
|
67
73
|
* import * as databricks from "@pulumi/databricks";
|
|
68
74
|
*
|
|
69
75
|
* const all = databricks.getClusters({});
|
|
70
76
|
* ```
|
|
77
|
+
* <!--End PulumiCodeChooser -->
|
|
71
78
|
*
|
|
72
79
|
* Retrieve all clusters with "Shared" in their cluster name on this Azure Databricks workspace:
|
|
73
80
|
*
|
|
81
|
+
* <!--Start PulumiCodeChooser -->
|
|
74
82
|
* ```typescript
|
|
75
83
|
* import * as pulumi from "@pulumi/pulumi";
|
|
76
84
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -79,6 +87,8 @@ export interface GetClustersResult {
|
|
|
79
87
|
* clusterNameContains: "shared",
|
|
80
88
|
* });
|
|
81
89
|
* ```
|
|
90
|
+
* <!--End PulumiCodeChooser -->
|
|
91
|
+
*
|
|
82
92
|
* ## Related Resources
|
|
83
93
|
*
|
|
84
94
|
* The following resources are used in the same context:
|
package/getClusters.js
CHANGED
|
@@ -10,15 +10,18 @@ const utilities = require("./utilities");
|
|
|
10
10
|
*
|
|
11
11
|
* Retrieve all clusters on this workspace on AWS or GCP:
|
|
12
12
|
*
|
|
13
|
+
* <!--Start PulumiCodeChooser -->
|
|
13
14
|
* ```typescript
|
|
14
15
|
* import * as pulumi from "@pulumi/pulumi";
|
|
15
16
|
* import * as databricks from "@pulumi/databricks";
|
|
16
17
|
*
|
|
17
18
|
* const all = databricks.getClusters({});
|
|
18
19
|
* ```
|
|
20
|
+
* <!--End PulumiCodeChooser -->
|
|
19
21
|
*
|
|
20
22
|
* Retrieve all clusters with "Shared" in their cluster name on this Azure Databricks workspace:
|
|
21
23
|
*
|
|
24
|
+
* <!--Start PulumiCodeChooser -->
|
|
22
25
|
* ```typescript
|
|
23
26
|
* import * as pulumi from "@pulumi/pulumi";
|
|
24
27
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -27,6 +30,8 @@ const utilities = require("./utilities");
|
|
|
27
30
|
* clusterNameContains: "shared",
|
|
28
31
|
* });
|
|
29
32
|
* ```
|
|
33
|
+
* <!--End PulumiCodeChooser -->
|
|
34
|
+
*
|
|
30
35
|
* ## Related Resources
|
|
31
36
|
*
|
|
32
37
|
* The following resources are used in the same context:
|
|
@@ -52,15 +57,18 @@ exports.getClusters = getClusters;
|
|
|
52
57
|
*
|
|
53
58
|
* Retrieve all clusters on this workspace on AWS or GCP:
|
|
54
59
|
*
|
|
60
|
+
* <!--Start PulumiCodeChooser -->
|
|
55
61
|
* ```typescript
|
|
56
62
|
* import * as pulumi from "@pulumi/pulumi";
|
|
57
63
|
* import * as databricks from "@pulumi/databricks";
|
|
58
64
|
*
|
|
59
65
|
* const all = databricks.getClusters({});
|
|
60
66
|
* ```
|
|
67
|
+
* <!--End PulumiCodeChooser -->
|
|
61
68
|
*
|
|
62
69
|
* Retrieve all clusters with "Shared" in their cluster name on this Azure Databricks workspace:
|
|
63
70
|
*
|
|
71
|
+
* <!--Start PulumiCodeChooser -->
|
|
64
72
|
* ```typescript
|
|
65
73
|
* import * as pulumi from "@pulumi/pulumi";
|
|
66
74
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -69,6 +77,8 @@ exports.getClusters = getClusters;
|
|
|
69
77
|
* clusterNameContains: "shared",
|
|
70
78
|
* });
|
|
71
79
|
* ```
|
|
80
|
+
* <!--End PulumiCodeChooser -->
|
|
81
|
+
*
|
|
72
82
|
* ## Related Resources
|
|
73
83
|
*
|
|
74
84
|
* The following resources are used in the same context:
|
package/getClusters.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getClusters.js","sourceRoot":"","sources":["../getClusters.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,WAAW,CAAC,IAAsB,EAAE,IAA2B;IAC3E,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,0CAA0C,EAAE;QACrE,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;KAClD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,kCAOC;AA0BD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAsCG;AACH,SAAgB,iBAAiB,CAAC,IAA4B,EAAE,IAA2B;IACvF,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/getCurrentConfig.d.ts
CHANGED
|
@@ -1,25 +1,6 @@
|
|
|
1
1
|
import * as pulumi from "@pulumi/pulumi";
|
|
2
2
|
/**
|
|
3
3
|
* Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
|
|
4
|
-
*
|
|
5
|
-
* ## Exported attributes
|
|
6
|
-
*
|
|
7
|
-
* Data source exposes the following attributes:
|
|
8
|
-
*
|
|
9
|
-
* * `isAccount` - Whether the provider is configured at account-level
|
|
10
|
-
* * `accountId` - Account Id if provider is configured at account-level
|
|
11
|
-
* * `host` - Host of the Databricks workspace or account console
|
|
12
|
-
* * `cloudType` - Cloud type specified in the provider
|
|
13
|
-
* * `authType` - Auth type used by the provider
|
|
14
|
-
*
|
|
15
|
-
* ## Related Resources
|
|
16
|
-
*
|
|
17
|
-
* The following resources are used in the same context:
|
|
18
|
-
*
|
|
19
|
-
* * End to end workspace management guide
|
|
20
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
21
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
22
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
23
4
|
*/
|
|
24
5
|
export declare function getCurrentConfig(args?: GetCurrentConfigArgs, opts?: pulumi.InvokeOptions): Promise<GetCurrentConfigResult>;
|
|
25
6
|
/**
|
|
@@ -48,25 +29,6 @@ export interface GetCurrentConfigResult {
|
|
|
48
29
|
}
|
|
49
30
|
/**
|
|
50
31
|
* Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
|
|
51
|
-
*
|
|
52
|
-
* ## Exported attributes
|
|
53
|
-
*
|
|
54
|
-
* Data source exposes the following attributes:
|
|
55
|
-
*
|
|
56
|
-
* * `isAccount` - Whether the provider is configured at account-level
|
|
57
|
-
* * `accountId` - Account Id if provider is configured at account-level
|
|
58
|
-
* * `host` - Host of the Databricks workspace or account console
|
|
59
|
-
* * `cloudType` - Cloud type specified in the provider
|
|
60
|
-
* * `authType` - Auth type used by the provider
|
|
61
|
-
*
|
|
62
|
-
* ## Related Resources
|
|
63
|
-
*
|
|
64
|
-
* The following resources are used in the same context:
|
|
65
|
-
*
|
|
66
|
-
* * End to end workspace management guide
|
|
67
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
68
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
69
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
70
32
|
*/
|
|
71
33
|
export declare function getCurrentConfigOutput(args?: GetCurrentConfigOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetCurrentConfigResult>;
|
|
72
34
|
/**
|
package/getCurrentConfig.js
CHANGED
|
@@ -7,25 +7,6 @@ const pulumi = require("@pulumi/pulumi");
|
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
9
|
* Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
|
|
10
|
-
*
|
|
11
|
-
* ## Exported attributes
|
|
12
|
-
*
|
|
13
|
-
* Data source exposes the following attributes:
|
|
14
|
-
*
|
|
15
|
-
* * `isAccount` - Whether the provider is configured at account-level
|
|
16
|
-
* * `accountId` - Account Id if provider is configured at account-level
|
|
17
|
-
* * `host` - Host of the Databricks workspace or account console
|
|
18
|
-
* * `cloudType` - Cloud type specified in the provider
|
|
19
|
-
* * `authType` - Auth type used by the provider
|
|
20
|
-
*
|
|
21
|
-
* ## Related Resources
|
|
22
|
-
*
|
|
23
|
-
* The following resources are used in the same context:
|
|
24
|
-
*
|
|
25
|
-
* * End to end workspace management guide
|
|
26
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
27
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
28
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
29
10
|
*/
|
|
30
11
|
function getCurrentConfig(args, opts) {
|
|
31
12
|
args = args || {};
|
|
@@ -41,25 +22,6 @@ function getCurrentConfig(args, opts) {
|
|
|
41
22
|
exports.getCurrentConfig = getCurrentConfig;
|
|
42
23
|
/**
|
|
43
24
|
* Retrieves information about the currently configured provider to make a decision, for example, add a dynamic block based on the specific cloud.
|
|
44
|
-
*
|
|
45
|
-
* ## Exported attributes
|
|
46
|
-
*
|
|
47
|
-
* Data source exposes the following attributes:
|
|
48
|
-
*
|
|
49
|
-
* * `isAccount` - Whether the provider is configured at account-level
|
|
50
|
-
* * `accountId` - Account Id if provider is configured at account-level
|
|
51
|
-
* * `host` - Host of the Databricks workspace or account console
|
|
52
|
-
* * `cloudType` - Cloud type specified in the provider
|
|
53
|
-
* * `authType` - Auth type used by the provider
|
|
54
|
-
*
|
|
55
|
-
* ## Related Resources
|
|
56
|
-
*
|
|
57
|
-
* The following resources are used in the same context:
|
|
58
|
-
*
|
|
59
|
-
* * End to end workspace management guide
|
|
60
|
-
* * databricks.Directory to manage directories in [Databricks Workpace](https://docs.databricks.com/workspace/workspace-objects.html).
|
|
61
|
-
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
62
|
-
* * databricks.Repo to manage [Databricks Repos](https://docs.databricks.com/repos.html).
|
|
63
25
|
*/
|
|
64
26
|
function getCurrentConfigOutput(args, opts) {
|
|
65
27
|
return pulumi.output(args).apply((a) => getCurrentConfig(a, opts));
|
package/getCurrentConfig.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getCurrentConfig.js","sourceRoot":"","sources":["../getCurrentConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"getCurrentConfig.js","sourceRoot":"","sources":["../getCurrentConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,gBAAgB,CAAC,IAA2B,EAAE,IAA2B;IACrF,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,oDAAoD,EAAE;QAC/E,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,MAAM,EAAE,IAAI,CAAC,IAAI;QACjB,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAXD,4CAWC;AA2BD;;GAEG;AACH,SAAgB,sBAAsB,CAAC,IAAiC,EAAE,IAA2B;IACjG,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/getCurrentMetastore.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
*
|
|
13
13
|
* MetastoreSummary response for a metastore attached to the current workspace.
|
|
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,8 @@ import * as outputs from "./types/output";
|
|
|
19
20
|
* const this = databricks.getCurrentMetastore({});
|
|
20
21
|
* export const someMetastore = data.databricks_metastore["this"].metastore_info[0];
|
|
21
22
|
* ```
|
|
23
|
+
* <!--End PulumiCodeChooser -->
|
|
24
|
+
*
|
|
22
25
|
* ## Related Resources
|
|
23
26
|
*
|
|
24
27
|
* The following resources are used in the same context:
|
|
@@ -66,6 +69,7 @@ export interface GetCurrentMetastoreResult {
|
|
|
66
69
|
*
|
|
67
70
|
* MetastoreSummary response for a metastore attached to the current workspace.
|
|
68
71
|
*
|
|
72
|
+
* <!--Start PulumiCodeChooser -->
|
|
69
73
|
* ```typescript
|
|
70
74
|
* import * as pulumi from "@pulumi/pulumi";
|
|
71
75
|
* import * as databricks from "@pulumi/databricks";
|
|
@@ -73,6 +77,8 @@ export interface GetCurrentMetastoreResult {
|
|
|
73
77
|
* const this = databricks.getCurrentMetastore({});
|
|
74
78
|
* export const someMetastore = data.databricks_metastore["this"].metastore_info[0];
|
|
75
79
|
* ```
|
|
80
|
+
* <!--End PulumiCodeChooser -->
|
|
81
|
+
*
|
|
76
82
|
* ## Related Resources
|
|
77
83
|
*
|
|
78
84
|
* The following resources are used in the same context:
|