@pulumi/databricks 1.75.0-alpha.1757050925 → 1.75.0-alpha.1757354185
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/accountFederationPolicy.d.ts +148 -0
- package/accountFederationPolicy.js +92 -0
- package/accountFederationPolicy.js.map +1 -0
- package/accountNetworkPolicy.d.ts +2 -2
- package/accountNetworkPolicy.js +2 -2
- package/accountSettingV2.d.ts +149 -0
- package/accountSettingV2.js +106 -0
- package/accountSettingV2.js.map +1 -0
- package/alertV2.d.ts +56 -5
- package/alertV2.js +8 -2
- package/alertV2.js.map +1 -1
- package/app.d.ts +0 -2
- package/app.js +0 -2
- package/app.js.map +1 -1
- package/appsSettingsCustomTemplate.d.ts +179 -0
- package/appsSettingsCustomTemplate.js +121 -0
- package/appsSettingsCustomTemplate.js.map +1 -0
- package/budgetPolicy.d.ts +6 -2
- package/budgetPolicy.js +3 -3
- package/budgetPolicy.js.map +1 -1
- package/catalog.d.ts +28 -0
- package/catalog.js +22 -0
- package/catalog.js.map +1 -1
- package/cleanRoomAsset.d.ts +14 -2
- package/cleanRoomAsset.js +4 -2
- package/cleanRoomAsset.js.map +1 -1
- package/cleanRoomAutoApprovalRule.d.ts +14 -2
- package/cleanRoomAutoApprovalRule.js +4 -2
- package/cleanRoomAutoApprovalRule.js.map +1 -1
- package/cleanRoomsCleanRoom.d.ts +17 -5
- package/cleanRoomsCleanRoom.js +4 -2
- package/cleanRoomsCleanRoom.js.map +1 -1
- package/config/vars.d.ts +1 -0
- package/config/vars.js +6 -0
- package/config/vars.js.map +1 -1
- package/connection.d.ts +0 -3
- package/connection.js +0 -2
- package/connection.js.map +1 -1
- package/databaseDatabaseCatalog.d.ts +14 -2
- package/databaseDatabaseCatalog.js +4 -2
- package/databaseDatabaseCatalog.js.map +1 -1
- package/databaseInstance.d.ts +38 -2
- package/databaseInstance.js +8 -2
- package/databaseInstance.js.map +1 -1
- package/databaseSyncedDatabaseTable.d.ts +14 -2
- package/databaseSyncedDatabaseTable.js +4 -2
- package/databaseSyncedDatabaseTable.js.map +1 -1
- package/entityTagAssignment.d.ts +117 -0
- package/entityTagAssignment.js +87 -0
- package/entityTagAssignment.js.map +1 -0
- package/externalMetadata.d.ts +14 -2
- package/externalMetadata.js +4 -2
- package/externalMetadata.js.map +1 -1
- package/getAccountFederationPolicies.d.ts +46 -0
- package/getAccountFederationPolicies.js +50 -0
- package/getAccountFederationPolicies.js.map +1 -0
- package/getAccountFederationPolicy.d.ts +103 -0
- package/getAccountFederationPolicy.js +40 -0
- package/getAccountFederationPolicy.js.map +1 -0
- package/getAccountSettingV2.d.ts +228 -0
- package/getAccountSettingV2.js +54 -0
- package/getAccountSettingV2.js.map +1 -0
- package/getAlertV2.d.ts +48 -6
- package/getAlertV2.js +4 -0
- package/getAlertV2.js.map +1 -1
- package/getAlertsV2.d.ts +21 -2
- package/getAlertsV2.js +10 -4
- package/getAlertsV2.js.map +1 -1
- package/getApp.d.ts +0 -4
- package/getApp.js +0 -4
- package/getApp.js.map +1 -1
- package/getApps.d.ts +0 -4
- package/getApps.js +0 -4
- package/getApps.js.map +1 -1
- package/getAppsSettingsCustomTemplate.d.ts +143 -0
- package/getAppsSettingsCustomTemplate.js +66 -0
- package/getAppsSettingsCustomTemplate.js.map +1 -0
- package/getAppsSettingsCustomTemplates.d.ts +65 -0
- package/getAppsSettingsCustomTemplates.js +56 -0
- package/getAppsSettingsCustomTemplates.js.map +1 -0
- package/getBudgetPolicy.d.ts +34 -0
- package/getBudgetPolicy.js +28 -0
- package/getBudgetPolicy.js.map +1 -1
- package/getCleanRoomAsset.d.ts +9 -0
- package/getCleanRoomAsset.js +2 -0
- package/getCleanRoomAsset.js.map +1 -1
- package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +9 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js +2 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +1 -1
- package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +33 -2
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js +10 -4
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +1 -1
- package/getCleanRoomAssets.d.ts +34 -2
- package/getCleanRoomAssets.js +10 -4
- package/getCleanRoomAssets.js.map +1 -1
- package/getCleanRoomAutoApprovalRule.d.ts +9 -0
- package/getCleanRoomAutoApprovalRule.js +2 -0
- package/getCleanRoomAutoApprovalRule.js.map +1 -1
- package/getCleanRoomAutoApprovalRules.d.ts +21 -2
- package/getCleanRoomAutoApprovalRules.js +10 -4
- package/getCleanRoomAutoApprovalRules.js.map +1 -1
- package/getCleanRoomsCleanRoom.d.ts +12 -3
- package/getCleanRoomsCleanRoom.js +2 -0
- package/getCleanRoomsCleanRoom.js.map +1 -1
- package/getCleanRoomsCleanRooms.d.ts +21 -2
- package/getCleanRoomsCleanRooms.js +10 -4
- package/getCleanRoomsCleanRooms.js.map +1 -1
- package/getDatabaseDatabaseCatalog.d.ts +9 -0
- package/getDatabaseDatabaseCatalog.js +2 -0
- package/getDatabaseDatabaseCatalog.js.map +1 -1
- package/getDatabaseDatabaseCatalogs.d.ts +21 -2
- package/getDatabaseDatabaseCatalogs.js +10 -4
- package/getDatabaseDatabaseCatalogs.js.map +1 -1
- package/getDatabaseInstance.d.ts +27 -0
- package/getDatabaseInstance.js +4 -0
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabaseInstances.d.ts +21 -2
- package/getDatabaseInstances.js +10 -4
- package/getDatabaseInstances.js.map +1 -1
- package/getDatabaseSyncedDatabaseTable.d.ts +9 -0
- package/getDatabaseSyncedDatabaseTable.js +2 -0
- package/getDatabaseSyncedDatabaseTable.js.map +1 -1
- package/getDatabaseSyncedDatabaseTables.d.ts +21 -2
- package/getDatabaseSyncedDatabaseTables.js +10 -4
- package/getDatabaseSyncedDatabaseTables.js.map +1 -1
- package/getEntityTagAssignment.d.ts +79 -0
- package/getEntityTagAssignment.js +30 -0
- package/getEntityTagAssignment.js.map +1 -0
- package/getEntityTagAssignments.d.ts +57 -0
- package/getEntityTagAssignments.js +26 -0
- package/getEntityTagAssignments.js.map +1 -0
- package/getExternalMetadata.d.ts +9 -0
- package/getExternalMetadata.js +2 -0
- package/getExternalMetadata.js.map +1 -1
- package/getExternalMetadatas.d.ts +43 -2
- package/getExternalMetadatas.js +32 -4
- package/getExternalMetadatas.js.map +1 -1
- package/getMaterializedFeaturesFeatureTag.d.ts +9 -0
- package/getMaterializedFeaturesFeatureTag.js +2 -0
- package/getMaterializedFeaturesFeatureTag.js.map +1 -1
- package/getMaterializedFeaturesFeatureTags.d.ts +21 -2
- package/getMaterializedFeaturesFeatureTags.js +10 -4
- package/getMaterializedFeaturesFeatureTags.js.map +1 -1
- package/getOnlineStore.d.ts +9 -0
- package/getOnlineStore.js +2 -0
- package/getOnlineStore.js.map +1 -1
- package/getOnlineStores.d.ts +21 -2
- package/getOnlineStores.js +10 -4
- package/getOnlineStores.js.map +1 -1
- package/getPolicyInfo.d.ts +24 -15
- package/getPolicyInfo.js +2 -0
- package/getPolicyInfo.js.map +1 -1
- package/getPolicyInfos.d.ts +48 -2
- package/getPolicyInfos.js +12 -4
- package/getPolicyInfos.js.map +1 -1
- package/getQualityMonitorV2.d.ts +9 -0
- package/getQualityMonitorV2.js +2 -0
- package/getQualityMonitorV2.js.map +1 -1
- package/getQualityMonitorsV2.d.ts +21 -2
- package/getQualityMonitorsV2.js +10 -4
- package/getQualityMonitorsV2.js.map +1 -1
- package/getRecipientFederationPolicies.d.ts +21 -2
- package/getRecipientFederationPolicies.js +10 -4
- package/getRecipientFederationPolicies.js.map +1 -1
- package/getRecipientFederationPolicy.d.ts +9 -0
- package/getRecipientFederationPolicy.js +2 -0
- package/getRecipientFederationPolicy.js.map +1 -1
- package/getServicePrincipalFederationPolicies.d.ts +72 -0
- package/getServicePrincipalFederationPolicies.js +58 -0
- package/getServicePrincipalFederationPolicies.js.map +1 -0
- package/getServicePrincipalFederationPolicy.d.ts +103 -0
- package/getServicePrincipalFederationPolicy.js +40 -0
- package/getServicePrincipalFederationPolicy.js.map +1 -0
- package/getTagPolicies.d.ts +43 -0
- package/getTagPolicies.js +34 -0
- package/getTagPolicies.js.map +1 -0
- package/getTagPolicy.d.ts +73 -0
- package/getTagPolicy.js +38 -0
- package/getTagPolicy.js.map +1 -0
- package/getWorkspaceSettingV2.d.ts +237 -0
- package/getWorkspaceSettingV2.js +56 -0
- package/getWorkspaceSettingV2.js.map +1 -0
- package/grant.d.ts +1 -1
- package/grant.js +1 -1
- package/index.d.ts +71 -14
- package/index.js +78 -7
- package/index.js.map +1 -1
- package/materializedFeaturesFeatureTag.d.ts +14 -2
- package/materializedFeaturesFeatureTag.js +4 -2
- package/materializedFeaturesFeatureTag.js.map +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +3 -3
- package/mwsPermissionAssignment.d.ts +7 -7
- package/mwsPermissionAssignment.js +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/onlineStore.d.ts +14 -2
- package/onlineStore.js +4 -2
- package/onlineStore.js.map +1 -1
- package/package.json +2 -2
- package/permissionAssignment.d.ts +7 -7
- package/permissionAssignment.js +1 -1
- package/policyInfo.d.ts +29 -17
- package/policyInfo.js +4 -2
- package/policyInfo.js.map +1 -1
- package/provider.d.ts +1 -0
- package/provider.js +1 -0
- package/provider.js.map +1 -1
- package/qualityMonitorV2.d.ts +14 -2
- package/qualityMonitorV2.js +4 -2
- package/qualityMonitorV2.js.map +1 -1
- package/recipientFederationPolicy.d.ts +14 -2
- package/recipientFederationPolicy.js +4 -2
- package/recipientFederationPolicy.js.map +1 -1
- package/servicePrincipalFederationPolicy.d.ts +146 -0
- package/servicePrincipalFederationPolicy.js +90 -0
- package/servicePrincipalFederationPolicy.js.map +1 -0
- package/storageCredential.d.ts +23 -3
- package/storageCredential.js +23 -3
- package/storageCredential.js.map +1 -1
- package/tagPolicy.d.ts +84 -0
- package/tagPolicy.js +83 -0
- package/tagPolicy.js.map +1 -0
- package/types/input.d.ts +7590 -5903
- package/types/output.d.ts +1525 -37
- package/workspaceNetworkOption.d.ts +2 -2
- package/workspaceNetworkOption.js +2 -2
- package/workspaceSettingV2.d.ts +161 -0
- package/workspaceSettingV2.js +108 -0
- package/workspaceSettingV2.js.map +1 -0
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.ServicePrincipalFederationPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Service principal federation policies allow automated workloads running outside of Databricks to access Databricks APIs without the need for Databricks secrets. Your application (workload) authenticates to Databricks as a Databricks service principal using tokens issued by the workload runtime, for example Github Actions.
|
|
10
|
+
*
|
|
11
|
+
* A service principal federation policy is associated with a service principal in your Databricks account, and specifies:
|
|
12
|
+
* * The identity provider (or issuer) from which the service principal can authenticate.
|
|
13
|
+
* * The workload identity (or subject) that is permitted to authenticate as the Databricks service principal.
|
|
14
|
+
*
|
|
15
|
+
* ## Import
|
|
16
|
+
*
|
|
17
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
18
|
+
*
|
|
19
|
+
* hcl
|
|
20
|
+
*
|
|
21
|
+
* import {
|
|
22
|
+
*
|
|
23
|
+
* id = "service_principal_id,policy_id"
|
|
24
|
+
*
|
|
25
|
+
* to = databricks_service_principal_federation_policy.this
|
|
26
|
+
*
|
|
27
|
+
* }
|
|
28
|
+
*
|
|
29
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
30
|
+
*
|
|
31
|
+
* ```sh
|
|
32
|
+
* $ pulumi import databricks:index/servicePrincipalFederationPolicy:ServicePrincipalFederationPolicy databricks_service_principal_federation_policy "service_principal_id,policy_id"
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
class ServicePrincipalFederationPolicy extends pulumi.CustomResource {
|
|
36
|
+
/**
|
|
37
|
+
* Get an existing ServicePrincipalFederationPolicy resource's state with the given name, ID, and optional extra
|
|
38
|
+
* properties used to qualify the lookup.
|
|
39
|
+
*
|
|
40
|
+
* @param name The _unique_ name of the resulting resource.
|
|
41
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
42
|
+
* @param state Any extra arguments used during the lookup.
|
|
43
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
44
|
+
*/
|
|
45
|
+
static get(name, id, state, opts) {
|
|
46
|
+
return new ServicePrincipalFederationPolicy(name, state, { ...opts, id: id });
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* Returns true if the given object is an instance of ServicePrincipalFederationPolicy. This is designed to work even
|
|
50
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
51
|
+
*/
|
|
52
|
+
static isInstance(obj) {
|
|
53
|
+
if (obj === undefined || obj === null) {
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return obj['__pulumiType'] === ServicePrincipalFederationPolicy.__pulumiType;
|
|
57
|
+
}
|
|
58
|
+
constructor(name, argsOrState, opts) {
|
|
59
|
+
let resourceInputs = {};
|
|
60
|
+
opts = opts || {};
|
|
61
|
+
if (opts.id) {
|
|
62
|
+
const state = argsOrState;
|
|
63
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
64
|
+
resourceInputs["description"] = state?.description;
|
|
65
|
+
resourceInputs["name"] = state?.name;
|
|
66
|
+
resourceInputs["oidcPolicy"] = state?.oidcPolicy;
|
|
67
|
+
resourceInputs["policyId"] = state?.policyId;
|
|
68
|
+
resourceInputs["servicePrincipalId"] = state?.servicePrincipalId;
|
|
69
|
+
resourceInputs["uid"] = state?.uid;
|
|
70
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
resourceInputs["description"] = args?.description;
|
|
75
|
+
resourceInputs["oidcPolicy"] = args?.oidcPolicy;
|
|
76
|
+
resourceInputs["policyId"] = args?.policyId;
|
|
77
|
+
resourceInputs["servicePrincipalId"] = args?.servicePrincipalId;
|
|
78
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
79
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
80
|
+
resourceInputs["uid"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
82
|
+
}
|
|
83
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
84
|
+
super(ServicePrincipalFederationPolicy.__pulumiType, name, resourceInputs, opts);
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
exports.ServicePrincipalFederationPolicy = ServicePrincipalFederationPolicy;
|
|
88
|
+
/** @internal */
|
|
89
|
+
ServicePrincipalFederationPolicy.__pulumiType = 'databricks:index/servicePrincipalFederationPolicy:ServicePrincipalFederationPolicy';
|
|
90
|
+
//# sourceMappingURL=servicePrincipalFederationPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"servicePrincipalFederationPolicy.js","sourceRoot":"","sources":["../servicePrincipalFederationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,MAAa,gCAAiC,SAAQ,MAAM,CAAC,cAAc;IACvE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6C,EAAE,IAAmC;QAC3I,OAAO,IAAI,gCAAgC,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvF,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC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AAC;YACjD,cAAc,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,gCAAgC,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACrF,CAAC;;AAjGL,4EAkGC;AApFG,gBAAgB;AACO,6CAAY,GAAG,oFAAoF,CAAC"}
|
package/storageCredential.d.ts
CHANGED
|
@@ -78,7 +78,7 @@ import * as outputs from "./types/output";
|
|
|
78
78
|
*
|
|
79
79
|
* ## Import
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
* When using a workspace-level provider to manage storage credentials, this resource can be imported by name:
|
|
82
82
|
*
|
|
83
83
|
* hcl
|
|
84
84
|
*
|
|
@@ -86,7 +86,19 @@ import * as outputs from "./types/output";
|
|
|
86
86
|
*
|
|
87
87
|
* to = databricks_storage_credential.this
|
|
88
88
|
*
|
|
89
|
-
* id = "<
|
|
89
|
+
* id = "<storage_credential_name>"
|
|
90
|
+
*
|
|
91
|
+
* }
|
|
92
|
+
*
|
|
93
|
+
* When using an account-level provider to manage storage credentials, use the format `<metastore_id>|<storage_credential_name>`:
|
|
94
|
+
*
|
|
95
|
+
* hcl
|
|
96
|
+
*
|
|
97
|
+
* import {
|
|
98
|
+
*
|
|
99
|
+
* to = databricks_storage_credential.this
|
|
100
|
+
*
|
|
101
|
+
* id = "<metastore_id>|<storage_credential_name>"
|
|
90
102
|
*
|
|
91
103
|
* }
|
|
92
104
|
*
|
|
@@ -94,8 +106,16 @@ import * as outputs from "./types/output";
|
|
|
94
106
|
*
|
|
95
107
|
* bash
|
|
96
108
|
*
|
|
109
|
+
* When using a workspace-level provider
|
|
110
|
+
*
|
|
111
|
+
* ```sh
|
|
112
|
+
* $ pulumi import databricks:index/storageCredential:StorageCredential this <storage_credential_name>
|
|
113
|
+
* ```
|
|
114
|
+
*
|
|
115
|
+
* When using an account-level provider
|
|
116
|
+
*
|
|
97
117
|
* ```sh
|
|
98
|
-
* $ pulumi import databricks:index/storageCredential:StorageCredential this <
|
|
118
|
+
* $ pulumi import databricks:index/storageCredential:StorageCredential this <metastore_id>|<storage_credential_name>
|
|
99
119
|
* ```
|
|
100
120
|
*/
|
|
101
121
|
export declare class StorageCredential extends pulumi.CustomResource {
|
package/storageCredential.js
CHANGED
|
@@ -82,7 +82,7 @@ const utilities = require("./utilities");
|
|
|
82
82
|
*
|
|
83
83
|
* ## Import
|
|
84
84
|
*
|
|
85
|
-
*
|
|
85
|
+
* When using a workspace-level provider to manage storage credentials, this resource can be imported by name:
|
|
86
86
|
*
|
|
87
87
|
* hcl
|
|
88
88
|
*
|
|
@@ -90,7 +90,19 @@ const utilities = require("./utilities");
|
|
|
90
90
|
*
|
|
91
91
|
* to = databricks_storage_credential.this
|
|
92
92
|
*
|
|
93
|
-
* id = "<
|
|
93
|
+
* id = "<storage_credential_name>"
|
|
94
|
+
*
|
|
95
|
+
* }
|
|
96
|
+
*
|
|
97
|
+
* When using an account-level provider to manage storage credentials, use the format `<metastore_id>|<storage_credential_name>`:
|
|
98
|
+
*
|
|
99
|
+
* hcl
|
|
100
|
+
*
|
|
101
|
+
* import {
|
|
102
|
+
*
|
|
103
|
+
* to = databricks_storage_credential.this
|
|
104
|
+
*
|
|
105
|
+
* id = "<metastore_id>|<storage_credential_name>"
|
|
94
106
|
*
|
|
95
107
|
* }
|
|
96
108
|
*
|
|
@@ -98,8 +110,16 @@ const utilities = require("./utilities");
|
|
|
98
110
|
*
|
|
99
111
|
* bash
|
|
100
112
|
*
|
|
113
|
+
* When using a workspace-level provider
|
|
114
|
+
*
|
|
115
|
+
* ```sh
|
|
116
|
+
* $ pulumi import databricks:index/storageCredential:StorageCredential this <storage_credential_name>
|
|
117
|
+
* ```
|
|
118
|
+
*
|
|
119
|
+
* When using an account-level provider
|
|
120
|
+
*
|
|
101
121
|
* ```sh
|
|
102
|
-
* $ pulumi import databricks:index/storageCredential:StorageCredential this <
|
|
122
|
+
* $ pulumi import databricks:index/storageCredential:StorageCredential this <metastore_id>|<storage_credential_name>
|
|
103
123
|
* ```
|
|
104
124
|
*/
|
|
105
125
|
class StorageCredential extends pulumi.CustomResource {
|
package/storageCredential.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"storageCredential.js","sourceRoot":"","sources":["../storageCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"storageCredential.js","sourceRoot":"","sources":["../storageCredential.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoHG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA8B,EAAE,IAAmC;QAC5H,OAAO,IAAI,iBAAiB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxE,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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IAAI,CAAC,CAAC;IACtE,CAAC;;AA5HL,8CA6HC;AA/GG,gBAAgB;AACO,8BAAY,GAAG,sDAAsD,CAAC"}
|
package/tagPolicy.d.ts
ADDED
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Define tag policies to manage governed tags in your account.
|
|
6
|
+
*
|
|
7
|
+
* > **Note** This resource can only be used with an account-level provider!
|
|
8
|
+
*
|
|
9
|
+
* ## Import
|
|
10
|
+
*
|
|
11
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
12
|
+
*
|
|
13
|
+
* hcl
|
|
14
|
+
*
|
|
15
|
+
* import {
|
|
16
|
+
*
|
|
17
|
+
* id = "tag_key"
|
|
18
|
+
*
|
|
19
|
+
* to = databricks_tag_policy.this
|
|
20
|
+
*
|
|
21
|
+
* }
|
|
22
|
+
*
|
|
23
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
24
|
+
*
|
|
25
|
+
* ```sh
|
|
26
|
+
* $ pulumi import databricks:index/tagPolicy:TagPolicy databricks_tag_policy "tag_key"
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class TagPolicy extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing TagPolicy resource's state with the given name, ID, and optional extra
|
|
32
|
+
* properties used to qualify the lookup.
|
|
33
|
+
*
|
|
34
|
+
* @param name The _unique_ name of the resulting resource.
|
|
35
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
36
|
+
* @param state Any extra arguments used during the lookup.
|
|
37
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
38
|
+
*/
|
|
39
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: TagPolicyState, opts?: pulumi.CustomResourceOptions): TagPolicy;
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of TagPolicy. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj: any): obj is TagPolicy;
|
|
45
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
46
|
+
readonly tagKey: pulumi.Output<string>;
|
|
47
|
+
readonly values: pulumi.Output<outputs.TagPolicyValue[] | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Workspace ID of the resource
|
|
50
|
+
*/
|
|
51
|
+
readonly workspaceId: pulumi.Output<string | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* Create a TagPolicy 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: TagPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Input properties used for looking up and filtering TagPolicy resources.
|
|
63
|
+
*/
|
|
64
|
+
export interface TagPolicyState {
|
|
65
|
+
description?: pulumi.Input<string>;
|
|
66
|
+
tagKey?: pulumi.Input<string>;
|
|
67
|
+
values?: pulumi.Input<pulumi.Input<inputs.TagPolicyValue>[]>;
|
|
68
|
+
/**
|
|
69
|
+
* Workspace ID of the resource
|
|
70
|
+
*/
|
|
71
|
+
workspaceId?: pulumi.Input<string>;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* The set of arguments for constructing a TagPolicy resource.
|
|
75
|
+
*/
|
|
76
|
+
export interface TagPolicyArgs {
|
|
77
|
+
description?: pulumi.Input<string>;
|
|
78
|
+
tagKey: pulumi.Input<string>;
|
|
79
|
+
values?: pulumi.Input<pulumi.Input<inputs.TagPolicyValue>[]>;
|
|
80
|
+
/**
|
|
81
|
+
* Workspace ID of the resource
|
|
82
|
+
*/
|
|
83
|
+
workspaceId?: pulumi.Input<string>;
|
|
84
|
+
}
|
package/tagPolicy.js
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
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.TagPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Define tag policies to manage governed tags in your account.
|
|
10
|
+
*
|
|
11
|
+
* > **Note** This resource can only be used with an account-level provider!
|
|
12
|
+
*
|
|
13
|
+
* ## Import
|
|
14
|
+
*
|
|
15
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
16
|
+
*
|
|
17
|
+
* hcl
|
|
18
|
+
*
|
|
19
|
+
* import {
|
|
20
|
+
*
|
|
21
|
+
* id = "tag_key"
|
|
22
|
+
*
|
|
23
|
+
* to = databricks_tag_policy.this
|
|
24
|
+
*
|
|
25
|
+
* }
|
|
26
|
+
*
|
|
27
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
28
|
+
*
|
|
29
|
+
* ```sh
|
|
30
|
+
* $ pulumi import databricks:index/tagPolicy:TagPolicy databricks_tag_policy "tag_key"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
class TagPolicy extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing TagPolicy resource's state with the given name, ID, and optional extra
|
|
36
|
+
* properties used to qualify the lookup.
|
|
37
|
+
*
|
|
38
|
+
* @param name The _unique_ name of the resulting resource.
|
|
39
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
40
|
+
* @param state Any extra arguments used during the lookup.
|
|
41
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
42
|
+
*/
|
|
43
|
+
static get(name, id, state, opts) {
|
|
44
|
+
return new TagPolicy(name, state, { ...opts, id: id });
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of TagPolicy. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === TagPolicy.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["description"] = state?.description;
|
|
62
|
+
resourceInputs["tagKey"] = state?.tagKey;
|
|
63
|
+
resourceInputs["values"] = state?.values;
|
|
64
|
+
resourceInputs["workspaceId"] = state?.workspaceId;
|
|
65
|
+
}
|
|
66
|
+
else {
|
|
67
|
+
const args = argsOrState;
|
|
68
|
+
if (args?.tagKey === undefined && !opts.urn) {
|
|
69
|
+
throw new Error("Missing required property 'tagKey'");
|
|
70
|
+
}
|
|
71
|
+
resourceInputs["description"] = args?.description;
|
|
72
|
+
resourceInputs["tagKey"] = args?.tagKey;
|
|
73
|
+
resourceInputs["values"] = args?.values;
|
|
74
|
+
resourceInputs["workspaceId"] = args?.workspaceId;
|
|
75
|
+
}
|
|
76
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
77
|
+
super(TagPolicy.__pulumiType, name, resourceInputs, opts);
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.TagPolicy = TagPolicy;
|
|
81
|
+
/** @internal */
|
|
82
|
+
TagPolicy.__pulumiType = 'databricks:index/tagPolicy:TagPolicy';
|
|
83
|
+
//# sourceMappingURL=tagPolicy.js.map
|
package/tagPolic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