@pulumi/databricks 0.0.1-alpha.1648473134
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/LICENSE +202 -0
- package/README.md +303 -0
- package/awsS3Mount.d.ts +50 -0
- package/awsS3Mount.js +63 -0
- package/awsS3Mount.js.map +1 -0
- package/azureAdlsGen1Mount.d.ts +65 -0
- package/azureAdlsGen1Mount.js +85 -0
- package/azureAdlsGen1Mount.js.map +1 -0
- package/azureAdlsGen2Mount.d.ts +68 -0
- package/azureAdlsGen2Mount.js +93 -0
- package/azureAdlsGen2Mount.js.map +1 -0
- package/azureBlobMount.d.ts +62 -0
- package/azureBlobMount.js +83 -0
- package/azureBlobMount.js.map +1 -0
- package/catalog.d.ts +124 -0
- package/catalog.js +88 -0
- package/catalog.js.map +1 -0
- package/cluster.d.ts +332 -0
- package/cluster.js +121 -0
- package/cluster.js.map +1 -0
- package/clusterPolicy.d.ts +112 -0
- package/clusterPolicy.js +97 -0
- package/clusterPolicy.js.map +1 -0
- package/config/index.d.ts +1 -0
- package/config/index.js +21 -0
- package/config/index.js.map +1 -0
- package/config/vars.d.ts +20 -0
- package/config/vars.js +127 -0
- package/config/vars.js.map +1 -0
- package/dbfsFile.d.ts +91 -0
- package/dbfsFile.js +71 -0
- package/dbfsFile.js.map +1 -0
- package/directory.d.ts +72 -0
- package/directory.js +65 -0
- package/directory.js.map +1 -0
- package/externalLocation.d.ts +114 -0
- package/externalLocation.js +80 -0
- package/externalLocation.js.map +1 -0
- package/getAwsAssumeRolePolicy.d.ts +47 -0
- package/getAwsAssumeRolePolicy.js +24 -0
- package/getAwsAssumeRolePolicy.js.map +1 -0
- package/getAwsBucketPolicy.d.ts +59 -0
- package/getAwsBucketPolicy.js +36 -0
- package/getAwsBucketPolicy.js.map +1 -0
- package/getAwsCrossAccountPolicy.d.ts +59 -0
- package/getAwsCrossAccountPolicy.js +47 -0
- package/getAwsCrossAccountPolicy.js.map +1 -0
- package/getCatalogs.d.ts +54 -0
- package/getCatalogs.js +43 -0
- package/getCatalogs.js.map +1 -0
- package/getClusters.d.ts +69 -0
- package/getClusters.js +57 -0
- package/getClusters.js.map +1 -0
- package/getCurrentUser.d.ts +39 -0
- package/getCurrentUser.js +38 -0
- package/getCurrentUser.js.map +1 -0
- package/getDbfsFile.d.ts +69 -0
- package/getDbfsFile.js +44 -0
- package/getDbfsFile.js.map +1 -0
- package/getDbfsFilePaths.d.ts +68 -0
- package/getDbfsFilePaths.js +46 -0
- package/getDbfsFilePaths.js.map +1 -0
- package/getGroup.d.ts +166 -0
- package/getGroup.js +46 -0
- package/getGroup.js.map +1 -0
- package/getJobs.d.ts +47 -0
- package/getJobs.js +30 -0
- package/getJobs.js.map +1 -0
- package/getNodeType.d.ts +173 -0
- package/getNodeType.js +71 -0
- package/getNodeType.js.map +1 -0
- package/getNotebook.d.ts +93 -0
- package/getNotebook.js +39 -0
- package/getNotebook.js.map +1 -0
- package/getNotebookPaths.d.ts +58 -0
- package/getNotebookPaths.js +36 -0
- package/getNotebookPaths.js.map +1 -0
- package/getSchemas.d.ts +65 -0
- package/getSchemas.js +45 -0
- package/getSchemas.js.map +1 -0
- package/getSparkVersion.d.ts +150 -0
- package/getSparkVersion.js +70 -0
- package/getSparkVersion.js.map +1 -0
- package/getTables.d.ts +75 -0
- package/getTables.js +47 -0
- package/getTables.js.map +1 -0
- package/getUser.d.ts +78 -0
- package/getUser.js +39 -0
- package/getUser.js.map +1 -0
- package/getZones.d.ts +29 -0
- package/getZones.js +26 -0
- package/getZones.js.map +1 -0
- package/gitCredential.d.ts +48 -0
- package/gitCredential.js +64 -0
- package/gitCredential.js.map +1 -0
- package/globalInitScript.d.ts +99 -0
- package/globalInitScript.js +68 -0
- package/globalInitScript.js.map +1 -0
- package/grants.d.ts +58 -0
- package/grants.js +64 -0
- package/grants.js.map +1 -0
- package/group.d.ts +131 -0
- package/group.js +83 -0
- package/group.js.map +1 -0
- package/groupInstanceProfile.d.ts +96 -0
- package/groupInstanceProfile.js +93 -0
- package/groupInstanceProfile.js.map +1 -0
- package/index.d.ts +81 -0
- package/index.js +362 -0
- package/index.js.map +1 -0
- package/instancePool.d.ts +166 -0
- package/instancePool.js +93 -0
- package/instancePool.js.map +1 -0
- package/instanceProfile.d.ts +180 -0
- package/instanceProfile.js +161 -0
- package/instanceProfile.js.map +1 -0
- package/ipAccessList.d.ts +128 -0
- package/ipAccessList.js +108 -0
- package/ipAccessList.js.map +1 -0
- package/job.d.ts +228 -0
- package/job.js +102 -0
- package/job.js.map +1 -0
- package/library.d.ts +183 -0
- package/library.js +189 -0
- package/library.js.map +1 -0
- package/metastore.d.ts +102 -0
- package/metastore.js +75 -0
- package/metastore.js.map +1 -0
- package/metastoreAssignment.d.ts +94 -0
- package/metastoreAssignment.js +81 -0
- package/metastoreAssignment.js.map +1 -0
- package/metastoreDataAccess.d.ts +85 -0
- package/metastoreDataAccess.js +73 -0
- package/metastoreDataAccess.js.map +1 -0
- package/mlflowExperiment.d.ts +122 -0
- package/mlflowExperiment.js +99 -0
- package/mlflowExperiment.js.map +1 -0
- package/mlflowModel.d.ts +131 -0
- package/mlflowModel.js +107 -0
- package/mlflowModel.js.map +1 -0
- package/mlflowWebhook.d.ts +129 -0
- package/mlflowWebhook.js +100 -0
- package/mlflowWebhook.js.map +1 -0
- package/mount.d.ts +89 -0
- package/mount.js +76 -0
- package/mount.js.map +1 -0
- package/mwsCredentials.d.ts +137 -0
- package/mwsCredentials.js +115 -0
- package/mwsCredentials.js.map +1 -0
- package/mwsCustomerManagedKeys.d.ts +257 -0
- package/mwsCustomerManagedKeys.js +226 -0
- package/mwsCustomerManagedKeys.js.map +1 -0
- package/mwsLogDelivery.d.ts +219 -0
- package/mwsLogDelivery.js +144 -0
- package/mwsLogDelivery.js.map +1 -0
- package/mwsNetworks.d.ts +129 -0
- package/mwsNetworks.js +89 -0
- package/mwsNetworks.js.map +1 -0
- package/mwsPrivateAccessSettings.d.ts +137 -0
- package/mwsPrivateAccessSettings.js +74 -0
- package/mwsPrivateAccessSettings.js.map +1 -0
- package/mwsStorageConfigurations.d.ts +122 -0
- package/mwsStorageConfigurations.js +106 -0
- package/mwsStorageConfigurations.js.map +1 -0
- package/mwsVpcEndpoint.d.ts +122 -0
- package/mwsVpcEndpoint.js +79 -0
- package/mwsVpcEndpoint.js.map +1 -0
- package/mwsWorkspaces.d.ts +222 -0
- package/mwsWorkspaces.js +106 -0
- package/mwsWorkspaces.js.map +1 -0
- package/notebook.d.ts +128 -0
- package/notebook.js +77 -0
- package/notebook.js.map +1 -0
- package/oboToken.d.ts +98 -0
- package/oboToken.js +82 -0
- package/oboToken.js.map +1 -0
- package/package.json +28 -0
- package/package.json.bak +28 -0
- package/package.json.dev +28 -0
- package/permissions.d.ts +211 -0
- package/permissions.js +97 -0
- package/permissions.js.map +1 -0
- package/pipeline.d.ts +200 -0
- package/pipeline.js +134 -0
- package/pipeline.js.map +1 -0
- package/provider.d.ts +61 -0
- package/provider.js +64 -0
- package/provider.js.map +1 -0
- package/repo.d.ts +117 -0
- package/repo.js +71 -0
- package/repo.js.map +1 -0
- package/schema.d.ts +149 -0
- package/schema.js +106 -0
- package/schema.js.map +1 -0
- package/scripts/install-pulumi-plugin.js +21 -0
- package/secret.d.ts +115 -0
- package/secret.js +99 -0
- package/secret.js.map +1 -0
- package/secretAcl.d.ts +115 -0
- package/secretAcl.js +105 -0
- package/secretAcl.js.map +1 -0
- package/secretScope.d.ts +85 -0
- package/secretScope.js +64 -0
- package/secretScope.js.map +1 -0
- package/servicePrincipal.d.ts +142 -0
- package/servicePrincipal.js +83 -0
- package/servicePrincipal.js.map +1 -0
- package/sqlDashboard.d.ts +90 -0
- package/sqlDashboard.js +99 -0
- package/sqlDashboard.js.map +1 -0
- package/sqlEndpoint.d.ts +249 -0
- package/sqlEndpoint.js +128 -0
- package/sqlEndpoint.js.map +1 -0
- package/sqlGlobalConfig.d.ts +157 -0
- package/sqlGlobalConfig.js +115 -0
- package/sqlGlobalConfig.js.map +1 -0
- package/sqlPermissions.d.ts +191 -0
- package/sqlPermissions.js +139 -0
- package/sqlPermissions.js.map +1 -0
- package/sqlQuery.d.ts +131 -0
- package/sqlQuery.js +139 -0
- package/sqlQuery.js.map +1 -0
- package/sqlVisualization.d.ts +105 -0
- package/sqlVisualization.js +119 -0
- package/sqlVisualization.js.map +1 -0
- package/sqlWidget.d.ts +109 -0
- package/sqlWidget.js +114 -0
- package/sqlWidget.js.map +1 -0
- package/storageCredential.d.ts +122 -0
- package/storageCredential.js +118 -0
- package/storageCredential.js.map +1 -0
- package/table.d.ts +249 -0
- package/table.js +157 -0
- package/table.js.map +1 -0
- package/token.d.ts +102 -0
- package/token.js +84 -0
- package/token.js.map +1 -0
- package/types/index.d.ts +3 -0
- package/types/index.js +11 -0
- package/types/index.js.map +1 -0
- package/types/input.d.ts +1209 -0
- package/types/input.js +5 -0
- package/types/input.js.map +1 -0
- package/types/output.d.ts +1222 -0
- package/types/output.js +5 -0
- package/types/output.js.map +1 -0
- package/user.d.ts +149 -0
- package/user.js +91 -0
- package/user.js.map +1 -0
- package/userInstanceProfile.d.ts +93 -0
- package/userInstanceProfile.js +90 -0
- package/userInstanceProfile.js.map +1 -0
- package/userRole.d.ts +106 -0
- package/userRole.js +103 -0
- package/userRole.js.map +1 -0
- package/utilities.d.ts +4 -0
- package/utilities.js +57 -0
- package/utilities.js.map +1 -0
- package/workspaceConf.d.ts +76 -0
- package/workspaceConf.js +71 -0
- package/workspaceConf.js.map +1 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mwsVpcEndpoint.js","sourceRoot":"","sources":["../mwsVpcEndpoint.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;GAIG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IAgErD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,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,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YACxE,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;SAC/E;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,cAAc,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACnE,CAAC;IApGD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;;AA1BL,wCAsGC;AAxFG,gBAAgB;AACO,2BAAY,GAAG,gDAAgD,CAAC"}
|
|
@@ -0,0 +1,222 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import { input as inputs, output as outputs } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* ## Import
|
|
5
|
+
*
|
|
6
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
7
|
+
*/
|
|
8
|
+
export declare class MwsWorkspaces extends pulumi.CustomResource {
|
|
9
|
+
/**
|
|
10
|
+
* Get an existing MwsWorkspaces resource's state with the given name, ID, and optional extra
|
|
11
|
+
* properties used to qualify the lookup.
|
|
12
|
+
*
|
|
13
|
+
* @param name The _unique_ name of the resulting resource.
|
|
14
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
15
|
+
* @param state Any extra arguments used during the lookup.
|
|
16
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
17
|
+
*/
|
|
18
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: MwsWorkspacesState, opts?: pulumi.CustomResourceOptions): MwsWorkspaces;
|
|
19
|
+
/**
|
|
20
|
+
* Returns true if the given object is an instance of MwsWorkspaces. This is designed to work even
|
|
21
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
22
|
+
*/
|
|
23
|
+
static isInstance(obj: any): obj is MwsWorkspaces;
|
|
24
|
+
/**
|
|
25
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
26
|
+
*/
|
|
27
|
+
readonly accountId: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* AWS region of VPC
|
|
30
|
+
*/
|
|
31
|
+
readonly awsRegion: pulumi.Output<string | undefined>;
|
|
32
|
+
readonly cloud: pulumi.Output<string>;
|
|
33
|
+
readonly cloudResourceBucket: pulumi.Output<outputs.MwsWorkspacesCloudResourceBucket | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* (Integer) time when workspace was created
|
|
36
|
+
*/
|
|
37
|
+
readonly creationTime: pulumi.Output<number>;
|
|
38
|
+
readonly credentialsId: pulumi.Output<string | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* @deprecated Use managed_services_customer_managed_key_id instead
|
|
41
|
+
*/
|
|
42
|
+
readonly customerManagedKeyId: pulumi.Output<string | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* part of URL: `https://<deployment-name>.cloud.databricks.com`
|
|
45
|
+
*/
|
|
46
|
+
readonly deploymentName: pulumi.Output<string | undefined>;
|
|
47
|
+
readonly externalCustomerInfo: pulumi.Output<outputs.MwsWorkspacesExternalCustomerInfo | undefined>;
|
|
48
|
+
readonly isNoPublicIpEnabled: pulumi.Output<boolean | undefined>;
|
|
49
|
+
readonly location: pulumi.Output<string | undefined>;
|
|
50
|
+
/**
|
|
51
|
+
* `customerManagedKeyId` from customer managed keys with `useCases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
52
|
+
*/
|
|
53
|
+
readonly managedServicesCustomerManagedKeyId: pulumi.Output<string | undefined>;
|
|
54
|
+
readonly network: pulumi.Output<outputs.MwsWorkspacesNetwork | undefined>;
|
|
55
|
+
readonly networkId: pulumi.Output<string | undefined>;
|
|
56
|
+
readonly pricingTier: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* Canonical unique identifier of databricks.MwsPrivateAccessSettings in Databricks Account
|
|
59
|
+
*/
|
|
60
|
+
readonly privateAccessSettingsId: pulumi.Output<string | undefined>;
|
|
61
|
+
/**
|
|
62
|
+
* `storageConfigurationId` from storage configuration
|
|
63
|
+
*/
|
|
64
|
+
readonly storageConfigurationId: pulumi.Output<string | undefined>;
|
|
65
|
+
readonly storageCustomerManagedKeyId: pulumi.Output<string | undefined>;
|
|
66
|
+
readonly token: pulumi.Output<outputs.MwsWorkspacesToken | undefined>;
|
|
67
|
+
readonly workspaceId: pulumi.Output<number>;
|
|
68
|
+
/**
|
|
69
|
+
* name of the workspace, will appear on UI
|
|
70
|
+
*/
|
|
71
|
+
readonly workspaceName: pulumi.Output<string>;
|
|
72
|
+
/**
|
|
73
|
+
* (String) workspace status
|
|
74
|
+
*/
|
|
75
|
+
readonly workspaceStatus: pulumi.Output<string>;
|
|
76
|
+
/**
|
|
77
|
+
* (String) updates on workspace status
|
|
78
|
+
*/
|
|
79
|
+
readonly workspaceStatusMessage: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* (String) URL of the workspace
|
|
82
|
+
*/
|
|
83
|
+
readonly workspaceUrl: pulumi.Output<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Create a MwsWorkspaces resource with the given unique name, arguments, and options.
|
|
86
|
+
*
|
|
87
|
+
* @param name The _unique_ name of the resource.
|
|
88
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
89
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
90
|
+
*/
|
|
91
|
+
constructor(name: string, args: MwsWorkspacesArgs, opts?: pulumi.CustomResourceOptions);
|
|
92
|
+
}
|
|
93
|
+
/**
|
|
94
|
+
* Input properties used for looking up and filtering MwsWorkspaces resources.
|
|
95
|
+
*/
|
|
96
|
+
export interface MwsWorkspacesState {
|
|
97
|
+
/**
|
|
98
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
99
|
+
*/
|
|
100
|
+
accountId?: pulumi.Input<string>;
|
|
101
|
+
/**
|
|
102
|
+
* AWS region of VPC
|
|
103
|
+
*/
|
|
104
|
+
awsRegion?: pulumi.Input<string>;
|
|
105
|
+
cloud?: pulumi.Input<string>;
|
|
106
|
+
cloudResourceBucket?: pulumi.Input<inputs.MwsWorkspacesCloudResourceBucket>;
|
|
107
|
+
/**
|
|
108
|
+
* (Integer) time when workspace was created
|
|
109
|
+
*/
|
|
110
|
+
creationTime?: pulumi.Input<number>;
|
|
111
|
+
credentialsId?: pulumi.Input<string>;
|
|
112
|
+
/**
|
|
113
|
+
* @deprecated Use managed_services_customer_managed_key_id instead
|
|
114
|
+
*/
|
|
115
|
+
customerManagedKeyId?: pulumi.Input<string>;
|
|
116
|
+
/**
|
|
117
|
+
* part of URL: `https://<deployment-name>.cloud.databricks.com`
|
|
118
|
+
*/
|
|
119
|
+
deploymentName?: pulumi.Input<string>;
|
|
120
|
+
externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo>;
|
|
121
|
+
isNoPublicIpEnabled?: pulumi.Input<boolean>;
|
|
122
|
+
location?: pulumi.Input<string>;
|
|
123
|
+
/**
|
|
124
|
+
* `customerManagedKeyId` from customer managed keys with `useCases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
125
|
+
*/
|
|
126
|
+
managedServicesCustomerManagedKeyId?: pulumi.Input<string>;
|
|
127
|
+
network?: pulumi.Input<inputs.MwsWorkspacesNetwork>;
|
|
128
|
+
networkId?: pulumi.Input<string>;
|
|
129
|
+
pricingTier?: pulumi.Input<string>;
|
|
130
|
+
/**
|
|
131
|
+
* Canonical unique identifier of databricks.MwsPrivateAccessSettings in Databricks Account
|
|
132
|
+
*/
|
|
133
|
+
privateAccessSettingsId?: pulumi.Input<string>;
|
|
134
|
+
/**
|
|
135
|
+
* `storageConfigurationId` from storage configuration
|
|
136
|
+
*/
|
|
137
|
+
storageConfigurationId?: pulumi.Input<string>;
|
|
138
|
+
storageCustomerManagedKeyId?: pulumi.Input<string>;
|
|
139
|
+
token?: pulumi.Input<inputs.MwsWorkspacesToken>;
|
|
140
|
+
workspaceId?: pulumi.Input<number>;
|
|
141
|
+
/**
|
|
142
|
+
* name of the workspace, will appear on UI
|
|
143
|
+
*/
|
|
144
|
+
workspaceName?: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* (String) workspace status
|
|
147
|
+
*/
|
|
148
|
+
workspaceStatus?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* (String) updates on workspace status
|
|
151
|
+
*/
|
|
152
|
+
workspaceStatusMessage?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* (String) URL of the workspace
|
|
155
|
+
*/
|
|
156
|
+
workspaceUrl?: pulumi.Input<string>;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* The set of arguments for constructing a MwsWorkspaces resource.
|
|
160
|
+
*/
|
|
161
|
+
export interface MwsWorkspacesArgs {
|
|
162
|
+
/**
|
|
163
|
+
* Account Id that could be found in the bottom left corner of [Accounts Console](https://accounts.cloud.databricks.com/).
|
|
164
|
+
*/
|
|
165
|
+
accountId: pulumi.Input<string>;
|
|
166
|
+
/**
|
|
167
|
+
* AWS region of VPC
|
|
168
|
+
*/
|
|
169
|
+
awsRegion?: pulumi.Input<string>;
|
|
170
|
+
cloud?: pulumi.Input<string>;
|
|
171
|
+
cloudResourceBucket?: pulumi.Input<inputs.MwsWorkspacesCloudResourceBucket>;
|
|
172
|
+
/**
|
|
173
|
+
* (Integer) time when workspace was created
|
|
174
|
+
*/
|
|
175
|
+
creationTime?: pulumi.Input<number>;
|
|
176
|
+
credentialsId?: pulumi.Input<string>;
|
|
177
|
+
/**
|
|
178
|
+
* @deprecated Use managed_services_customer_managed_key_id instead
|
|
179
|
+
*/
|
|
180
|
+
customerManagedKeyId?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* part of URL: `https://<deployment-name>.cloud.databricks.com`
|
|
183
|
+
*/
|
|
184
|
+
deploymentName?: pulumi.Input<string>;
|
|
185
|
+
externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo>;
|
|
186
|
+
isNoPublicIpEnabled?: pulumi.Input<boolean>;
|
|
187
|
+
location?: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* `customerManagedKeyId` from customer managed keys with `useCases` set to `MANAGED_SERVICES`. This is used to encrypt the workspace's notebook and secret data in the control plane.
|
|
190
|
+
*/
|
|
191
|
+
managedServicesCustomerManagedKeyId?: pulumi.Input<string>;
|
|
192
|
+
network?: pulumi.Input<inputs.MwsWorkspacesNetwork>;
|
|
193
|
+
networkId?: pulumi.Input<string>;
|
|
194
|
+
pricingTier?: pulumi.Input<string>;
|
|
195
|
+
/**
|
|
196
|
+
* Canonical unique identifier of databricks.MwsPrivateAccessSettings in Databricks Account
|
|
197
|
+
*/
|
|
198
|
+
privateAccessSettingsId?: pulumi.Input<string>;
|
|
199
|
+
/**
|
|
200
|
+
* `storageConfigurationId` from storage configuration
|
|
201
|
+
*/
|
|
202
|
+
storageConfigurationId?: pulumi.Input<string>;
|
|
203
|
+
storageCustomerManagedKeyId?: pulumi.Input<string>;
|
|
204
|
+
token?: pulumi.Input<inputs.MwsWorkspacesToken>;
|
|
205
|
+
workspaceId?: pulumi.Input<number>;
|
|
206
|
+
/**
|
|
207
|
+
* name of the workspace, will appear on UI
|
|
208
|
+
*/
|
|
209
|
+
workspaceName: pulumi.Input<string>;
|
|
210
|
+
/**
|
|
211
|
+
* (String) workspace status
|
|
212
|
+
*/
|
|
213
|
+
workspaceStatus?: pulumi.Input<string>;
|
|
214
|
+
/**
|
|
215
|
+
* (String) updates on workspace status
|
|
216
|
+
*/
|
|
217
|
+
workspaceStatusMessage?: pulumi.Input<string>;
|
|
218
|
+
/**
|
|
219
|
+
* (String) URL of the workspace
|
|
220
|
+
*/
|
|
221
|
+
workspaceUrl?: pulumi.Input<string>;
|
|
222
|
+
}
|
package/mwsWorkspaces.js
ADDED
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.MwsWorkspaces = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
12
|
+
*/
|
|
13
|
+
class MwsWorkspaces extends pulumi.CustomResource {
|
|
14
|
+
constructor(name, argsOrState, opts) {
|
|
15
|
+
let resourceInputs = {};
|
|
16
|
+
opts = opts || {};
|
|
17
|
+
if (opts.id) {
|
|
18
|
+
const state = argsOrState;
|
|
19
|
+
resourceInputs["accountId"] = state ? state.accountId : undefined;
|
|
20
|
+
resourceInputs["awsRegion"] = state ? state.awsRegion : undefined;
|
|
21
|
+
resourceInputs["cloud"] = state ? state.cloud : undefined;
|
|
22
|
+
resourceInputs["cloudResourceBucket"] = state ? state.cloudResourceBucket : undefined;
|
|
23
|
+
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
24
|
+
resourceInputs["credentialsId"] = state ? state.credentialsId : undefined;
|
|
25
|
+
resourceInputs["customerManagedKeyId"] = state ? state.customerManagedKeyId : undefined;
|
|
26
|
+
resourceInputs["deploymentName"] = state ? state.deploymentName : undefined;
|
|
27
|
+
resourceInputs["externalCustomerInfo"] = state ? state.externalCustomerInfo : undefined;
|
|
28
|
+
resourceInputs["isNoPublicIpEnabled"] = state ? state.isNoPublicIpEnabled : undefined;
|
|
29
|
+
resourceInputs["location"] = state ? state.location : undefined;
|
|
30
|
+
resourceInputs["managedServicesCustomerManagedKeyId"] = state ? state.managedServicesCustomerManagedKeyId : undefined;
|
|
31
|
+
resourceInputs["network"] = state ? state.network : undefined;
|
|
32
|
+
resourceInputs["networkId"] = state ? state.networkId : undefined;
|
|
33
|
+
resourceInputs["pricingTier"] = state ? state.pricingTier : undefined;
|
|
34
|
+
resourceInputs["privateAccessSettingsId"] = state ? state.privateAccessSettingsId : undefined;
|
|
35
|
+
resourceInputs["storageConfigurationId"] = state ? state.storageConfigurationId : undefined;
|
|
36
|
+
resourceInputs["storageCustomerManagedKeyId"] = state ? state.storageCustomerManagedKeyId : undefined;
|
|
37
|
+
resourceInputs["token"] = state ? state.token : undefined;
|
|
38
|
+
resourceInputs["workspaceId"] = state ? state.workspaceId : undefined;
|
|
39
|
+
resourceInputs["workspaceName"] = state ? state.workspaceName : undefined;
|
|
40
|
+
resourceInputs["workspaceStatus"] = state ? state.workspaceStatus : undefined;
|
|
41
|
+
resourceInputs["workspaceStatusMessage"] = state ? state.workspaceStatusMessage : undefined;
|
|
42
|
+
resourceInputs["workspaceUrl"] = state ? state.workspaceUrl : undefined;
|
|
43
|
+
}
|
|
44
|
+
else {
|
|
45
|
+
const args = argsOrState;
|
|
46
|
+
if ((!args || args.accountId === undefined) && !opts.urn) {
|
|
47
|
+
throw new Error("Missing required property 'accountId'");
|
|
48
|
+
}
|
|
49
|
+
if ((!args || args.workspaceName === undefined) && !opts.urn) {
|
|
50
|
+
throw new Error("Missing required property 'workspaceName'");
|
|
51
|
+
}
|
|
52
|
+
resourceInputs["accountId"] = args ? args.accountId : undefined;
|
|
53
|
+
resourceInputs["awsRegion"] = args ? args.awsRegion : undefined;
|
|
54
|
+
resourceInputs["cloud"] = args ? args.cloud : undefined;
|
|
55
|
+
resourceInputs["cloudResourceBucket"] = args ? args.cloudResourceBucket : undefined;
|
|
56
|
+
resourceInputs["creationTime"] = args ? args.creationTime : undefined;
|
|
57
|
+
resourceInputs["credentialsId"] = args ? args.credentialsId : undefined;
|
|
58
|
+
resourceInputs["customerManagedKeyId"] = args ? args.customerManagedKeyId : undefined;
|
|
59
|
+
resourceInputs["deploymentName"] = args ? args.deploymentName : undefined;
|
|
60
|
+
resourceInputs["externalCustomerInfo"] = args ? args.externalCustomerInfo : undefined;
|
|
61
|
+
resourceInputs["isNoPublicIpEnabled"] = args ? args.isNoPublicIpEnabled : undefined;
|
|
62
|
+
resourceInputs["location"] = args ? args.location : undefined;
|
|
63
|
+
resourceInputs["managedServicesCustomerManagedKeyId"] = args ? args.managedServicesCustomerManagedKeyId : undefined;
|
|
64
|
+
resourceInputs["network"] = args ? args.network : undefined;
|
|
65
|
+
resourceInputs["networkId"] = args ? args.networkId : undefined;
|
|
66
|
+
resourceInputs["pricingTier"] = args ? args.pricingTier : undefined;
|
|
67
|
+
resourceInputs["privateAccessSettingsId"] = args ? args.privateAccessSettingsId : undefined;
|
|
68
|
+
resourceInputs["storageConfigurationId"] = args ? args.storageConfigurationId : undefined;
|
|
69
|
+
resourceInputs["storageCustomerManagedKeyId"] = args ? args.storageCustomerManagedKeyId : undefined;
|
|
70
|
+
resourceInputs["token"] = args ? args.token : undefined;
|
|
71
|
+
resourceInputs["workspaceId"] = args ? args.workspaceId : undefined;
|
|
72
|
+
resourceInputs["workspaceName"] = args ? args.workspaceName : undefined;
|
|
73
|
+
resourceInputs["workspaceStatus"] = args ? args.workspaceStatus : undefined;
|
|
74
|
+
resourceInputs["workspaceStatusMessage"] = args ? args.workspaceStatusMessage : undefined;
|
|
75
|
+
resourceInputs["workspaceUrl"] = args ? args.workspaceUrl : undefined;
|
|
76
|
+
}
|
|
77
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
78
|
+
super(MwsWorkspaces.__pulumiType, name, resourceInputs, opts);
|
|
79
|
+
}
|
|
80
|
+
/**
|
|
81
|
+
* Get an existing MwsWorkspaces resource's state with the given name, ID, and optional extra
|
|
82
|
+
* properties used to qualify the lookup.
|
|
83
|
+
*
|
|
84
|
+
* @param name The _unique_ name of the resulting resource.
|
|
85
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
86
|
+
* @param state Any extra arguments used during the lookup.
|
|
87
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
88
|
+
*/
|
|
89
|
+
static get(name, id, state, opts) {
|
|
90
|
+
return new MwsWorkspaces(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Returns true if the given object is an instance of MwsWorkspaces. This is designed to work even
|
|
94
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
95
|
+
*/
|
|
96
|
+
static isInstance(obj) {
|
|
97
|
+
if (obj === undefined || obj === null) {
|
|
98
|
+
return false;
|
|
99
|
+
}
|
|
100
|
+
return obj['__pulumiType'] === MwsWorkspaces.__pulumiType;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.MwsWorkspaces = MwsWorkspaces;
|
|
104
|
+
/** @internal */
|
|
105
|
+
MwsWorkspaces.__pulumiType = 'databricks:index/mwsWorkspaces:MwsWorkspaces';
|
|
106
|
+
//# sourceMappingURL=mwsWorkspaces.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"mwsWorkspaces.js","sourceRoot":"","sources":["../mwsWorkspaces.ts"],"names":[],"mappings":";AAAA,wFAAwF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cAAc,EAAE,IAAI,CAAC,CAAC;IAClE,CAAC;IAhKD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA0B,EAAE,IAAmC;QACxH,OAAO,IAAI,aAAa,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACpE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,aAAa,CAAC,YAAY,CAAC;IAC9D,CAAC;;AA1BL,sCAkKC;AApJG,gBAAgB;AACO,0BAAY,GAAG,8CAA8C,CAAC"}
|
package/notebook.d.ts
ADDED
|
@@ -0,0 +1,128 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* ## Import
|
|
4
|
+
*
|
|
5
|
+
* The resource notebook can be imported using notebook path bash
|
|
6
|
+
*
|
|
7
|
+
* ```sh
|
|
8
|
+
* $ pulumi import databricks:index/notebook:Notebook this /path/to/notebook
|
|
9
|
+
* ```
|
|
10
|
+
*/
|
|
11
|
+
export declare class Notebook extends pulumi.CustomResource {
|
|
12
|
+
/**
|
|
13
|
+
* Get an existing Notebook resource's state with the given name, ID, and optional extra
|
|
14
|
+
* properties used to qualify the lookup.
|
|
15
|
+
*
|
|
16
|
+
* @param name The _unique_ name of the resulting resource.
|
|
17
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
18
|
+
* @param state Any extra arguments used during the lookup.
|
|
19
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
20
|
+
*/
|
|
21
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NotebookState, opts?: pulumi.CustomResourceOptions): Notebook;
|
|
22
|
+
/**
|
|
23
|
+
* Returns true if the given object is an instance of Notebook. This is designed to work even
|
|
24
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
25
|
+
*/
|
|
26
|
+
static isInstance(obj: any): obj is Notebook;
|
|
27
|
+
readonly contentBase64: pulumi.Output<string | undefined>;
|
|
28
|
+
readonly format: pulumi.Output<string | undefined>;
|
|
29
|
+
/**
|
|
30
|
+
* One of `SCALA`, `PYTHON`, `SQL`, `R`.
|
|
31
|
+
*/
|
|
32
|
+
readonly language: pulumi.Output<string | undefined>;
|
|
33
|
+
readonly md5: pulumi.Output<string | undefined>;
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier for a NOTEBOOK
|
|
36
|
+
*
|
|
37
|
+
* @deprecated Use id argument to retrieve object id
|
|
38
|
+
*/
|
|
39
|
+
readonly objectId: pulumi.Output<number>;
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Always is a notebook
|
|
42
|
+
*/
|
|
43
|
+
readonly objectType: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The absolute path of the notebook or directory, beginning with "/", e.g. "/Demo".
|
|
46
|
+
*/
|
|
47
|
+
readonly path: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Path to notebook in source code format on local filesystem. Conflicts with `contentBase64`.
|
|
50
|
+
*/
|
|
51
|
+
readonly source: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Routable URL of the notebook
|
|
54
|
+
*/
|
|
55
|
+
readonly url: pulumi.Output<string>;
|
|
56
|
+
/**
|
|
57
|
+
* Create a Notebook resource with the given unique name, arguments, and options.
|
|
58
|
+
*
|
|
59
|
+
* @param name The _unique_ name of the resource.
|
|
60
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
61
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
62
|
+
*/
|
|
63
|
+
constructor(name: string, args: NotebookArgs, opts?: pulumi.CustomResourceOptions);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Input properties used for looking up and filtering Notebook resources.
|
|
67
|
+
*/
|
|
68
|
+
export interface NotebookState {
|
|
69
|
+
contentBase64?: pulumi.Input<string>;
|
|
70
|
+
format?: pulumi.Input<string>;
|
|
71
|
+
/**
|
|
72
|
+
* One of `SCALA`, `PYTHON`, `SQL`, `R`.
|
|
73
|
+
*/
|
|
74
|
+
language?: pulumi.Input<string>;
|
|
75
|
+
md5?: pulumi.Input<string>;
|
|
76
|
+
/**
|
|
77
|
+
* Unique identifier for a NOTEBOOK
|
|
78
|
+
*
|
|
79
|
+
* @deprecated Use id argument to retrieve object id
|
|
80
|
+
*/
|
|
81
|
+
objectId?: pulumi.Input<number>;
|
|
82
|
+
/**
|
|
83
|
+
* @deprecated Always is a notebook
|
|
84
|
+
*/
|
|
85
|
+
objectType?: pulumi.Input<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The absolute path of the notebook or directory, beginning with "/", e.g. "/Demo".
|
|
88
|
+
*/
|
|
89
|
+
path?: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Path to notebook in source code format on local filesystem. Conflicts with `contentBase64`.
|
|
92
|
+
*/
|
|
93
|
+
source?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* Routable URL of the notebook
|
|
96
|
+
*/
|
|
97
|
+
url?: pulumi.Input<string>;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* The set of arguments for constructing a Notebook resource.
|
|
101
|
+
*/
|
|
102
|
+
export interface NotebookArgs {
|
|
103
|
+
contentBase64?: pulumi.Input<string>;
|
|
104
|
+
format?: pulumi.Input<string>;
|
|
105
|
+
/**
|
|
106
|
+
* One of `SCALA`, `PYTHON`, `SQL`, `R`.
|
|
107
|
+
*/
|
|
108
|
+
language?: pulumi.Input<string>;
|
|
109
|
+
md5?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* Unique identifier for a NOTEBOOK
|
|
112
|
+
*
|
|
113
|
+
* @deprecated Use id argument to retrieve object id
|
|
114
|
+
*/
|
|
115
|
+
objectId?: pulumi.Input<number>;
|
|
116
|
+
/**
|
|
117
|
+
* @deprecated Always is a notebook
|
|
118
|
+
*/
|
|
119
|
+
objectType?: pulumi.Input<string>;
|
|
120
|
+
/**
|
|
121
|
+
* The absolute path of the notebook or directory, beginning with "/", e.g. "/Demo".
|
|
122
|
+
*/
|
|
123
|
+
path: pulumi.Input<string>;
|
|
124
|
+
/**
|
|
125
|
+
* Path to notebook in source code format on local filesystem. Conflicts with `contentBase64`.
|
|
126
|
+
*/
|
|
127
|
+
source?: pulumi.Input<string>;
|
|
128
|
+
}
|
package/notebook.js
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
5
|
+
exports.Notebook = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* The resource notebook can be imported using notebook path bash
|
|
12
|
+
*
|
|
13
|
+
* ```sh
|
|
14
|
+
* $ pulumi import databricks:index/notebook:Notebook this /path/to/notebook
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
class Notebook extends pulumi.CustomResource {
|
|
18
|
+
constructor(name, argsOrState, opts) {
|
|
19
|
+
let resourceInputs = {};
|
|
20
|
+
opts = opts || {};
|
|
21
|
+
if (opts.id) {
|
|
22
|
+
const state = argsOrState;
|
|
23
|
+
resourceInputs["contentBase64"] = state ? state.contentBase64 : undefined;
|
|
24
|
+
resourceInputs["format"] = state ? state.format : undefined;
|
|
25
|
+
resourceInputs["language"] = state ? state.language : undefined;
|
|
26
|
+
resourceInputs["md5"] = state ? state.md5 : undefined;
|
|
27
|
+
resourceInputs["objectId"] = state ? state.objectId : undefined;
|
|
28
|
+
resourceInputs["objectType"] = state ? state.objectType : undefined;
|
|
29
|
+
resourceInputs["path"] = state ? state.path : undefined;
|
|
30
|
+
resourceInputs["source"] = state ? state.source : undefined;
|
|
31
|
+
resourceInputs["url"] = state ? state.url : undefined;
|
|
32
|
+
}
|
|
33
|
+
else {
|
|
34
|
+
const args = argsOrState;
|
|
35
|
+
if ((!args || args.path === undefined) && !opts.urn) {
|
|
36
|
+
throw new Error("Missing required property 'path'");
|
|
37
|
+
}
|
|
38
|
+
resourceInputs["contentBase64"] = args ? args.contentBase64 : undefined;
|
|
39
|
+
resourceInputs["format"] = args ? args.format : undefined;
|
|
40
|
+
resourceInputs["language"] = args ? args.language : undefined;
|
|
41
|
+
resourceInputs["md5"] = args ? args.md5 : undefined;
|
|
42
|
+
resourceInputs["objectId"] = args ? args.objectId : undefined;
|
|
43
|
+
resourceInputs["objectType"] = args ? args.objectType : undefined;
|
|
44
|
+
resourceInputs["path"] = args ? args.path : undefined;
|
|
45
|
+
resourceInputs["source"] = args ? args.source : undefined;
|
|
46
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
47
|
+
}
|
|
48
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
49
|
+
super(Notebook.__pulumiType, name, resourceInputs, opts);
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Get an existing Notebook resource's state with the given name, ID, and optional extra
|
|
53
|
+
* properties used to qualify the lookup.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resulting resource.
|
|
56
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
57
|
+
* @param state Any extra arguments used during the lookup.
|
|
58
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
59
|
+
*/
|
|
60
|
+
static get(name, id, state, opts) {
|
|
61
|
+
return new Notebook(name, state, Object.assign(Object.assign({}, opts), { id: id }));
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* Returns true if the given object is an instance of Notebook. This is designed to work even
|
|
65
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
66
|
+
*/
|
|
67
|
+
static isInstance(obj) {
|
|
68
|
+
if (obj === undefined || obj === null) {
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
return obj['__pulumiType'] === Notebook.__pulumiType;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
exports.Notebook = Notebook;
|
|
75
|
+
/** @internal */
|
|
76
|
+
Notebook.__pulumiType = 'databricks:index/notebook:Notebook';
|
|
77
|
+
//# sourceMappingURL=notebook.js.map
|
package/notebook.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notebook.js","sourceRoot":"","sources":["../notebook.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAkE/C,YAAY,IAAY,EAAE,WAA0C,EAAE,IAAmC;QACrG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAwC,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,aAAa,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1E,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5D,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,KAAK,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC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-0,0 +1,98 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* This resource creates [On-Behalf-Of tokens](https://docs.databricks.com/administration-guide/users-groups/service-principals.html#manage-personal-access-tokens-for-a-service-principal) for a databricks.ServicePrincipal in Databricks workspaces on AWS. It is very useful, when you want to provision resources within a workspace through narrowly-scoped service principal, that has no access to other workspaces within the same Databricks Account.
|
|
4
|
+
*
|
|
5
|
+
* ## Related Resources
|
|
6
|
+
*
|
|
7
|
+
* The following resources are often used in the same context:
|
|
8
|
+
*
|
|
9
|
+
* * End to end workspace management guide.
|
|
10
|
+
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
11
|
+
* * databricksGroupMember to attach users and groups as group members.
|
|
12
|
+
* * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
|
|
13
|
+
* * databricks.ServicePrincipal to manage [Service Principals](https://docs.databricks.com/administration-guide/users-groups/service-principals.html) that could be added to databricks.Group within workspace.
|
|
14
|
+
* * databricks.SqlPermissions to manage data object access control lists in Databricks workspaces for things like tables, views, databases, and [more](https://docs.databricks.com/security/access-control/table-acls/object-privileges.html).
|
|
15
|
+
*
|
|
16
|
+
* ## Import
|
|
17
|
+
*
|
|
18
|
+
* -> **Note** Importing this resource is not currently supported.
|
|
19
|
+
*/
|
|
20
|
+
export declare class OboToken extends pulumi.CustomResource {
|
|
21
|
+
/**
|
|
22
|
+
* Get an existing OboToken resource's state with the given name, ID, and optional extra
|
|
23
|
+
* properties used to qualify the lookup.
|
|
24
|
+
*
|
|
25
|
+
* @param name The _unique_ name of the resulting resource.
|
|
26
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
27
|
+
* @param state Any extra arguments used during the lookup.
|
|
28
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
29
|
+
*/
|
|
30
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: OboTokenState, opts?: pulumi.CustomResourceOptions): OboToken;
|
|
31
|
+
/**
|
|
32
|
+
* Returns true if the given object is an instance of OboToken. This is designed to work even
|
|
33
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
34
|
+
*/
|
|
35
|
+
static isInstance(obj: any): obj is OboToken;
|
|
36
|
+
/**
|
|
37
|
+
* Application ID of databricks.ServicePrincipal to create PAT token for.
|
|
38
|
+
*/
|
|
39
|
+
readonly applicationId: pulumi.Output<string>;
|
|
40
|
+
/**
|
|
41
|
+
* Comment that describes the purpose of the token.
|
|
42
|
+
*/
|
|
43
|
+
readonly comment: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* The number of seconds before the token expires. Token resource is re-created when it expires.
|
|
46
|
+
*/
|
|
47
|
+
readonly lifetimeSeconds: pulumi.Output<number>;
|
|
48
|
+
/**
|
|
49
|
+
* **Sensitive** value of the newly-created token.
|
|
50
|
+
*/
|
|
51
|
+
readonly tokenValue: pulumi.Output<string>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a OboToken resource with the given unique name, arguments, and options.
|
|
54
|
+
*
|
|
55
|
+
* @param name The _unique_ name of the resource.
|
|
56
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
57
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
58
|
+
*/
|
|
59
|
+
constructor(name: string, args: OboTokenArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering OboToken resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface OboTokenState {
|
|
65
|
+
/**
|
|
66
|
+
* Application ID of databricks.ServicePrincipal to create PAT token for.
|
|
67
|
+
*/
|
|
68
|
+
applicationId?: pulumi.Input<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Comment that describes the purpose of the token.
|
|
71
|
+
*/
|
|
72
|
+
comment?: pulumi.Input<string>;
|
|
73
|
+
/**
|
|
74
|
+
* The number of seconds before the token expires. Token resource is re-created when it expires.
|
|
75
|
+
*/
|
|
76
|
+
lifetimeSeconds?: pulumi.Input<number>;
|
|
77
|
+
/**
|
|
78
|
+
* **Sensitive** value of the newly-created token.
|
|
79
|
+
*/
|
|
80
|
+
tokenValue?: pulumi.Input<string>;
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* The set of arguments for constructing a OboToken resource.
|
|
84
|
+
*/
|
|
85
|
+
export interface OboTokenArgs {
|
|
86
|
+
/**
|
|
87
|
+
* Application ID of databricks.ServicePrincipal to create PAT token for.
|
|
88
|
+
*/
|
|
89
|
+
applicationId: pulumi.Input<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Comment that describes the purpose of the token.
|
|
92
|
+
*/
|
|
93
|
+
comment: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The number of seconds before the token expires. Token resource is re-created when it expires.
|
|
96
|
+
*/
|
|
97
|
+
lifetimeSeconds: pulumi.Input<number>;
|
|
98
|
+
}
|