@pulumi/databricks 1.75.0-alpha.1757081845 → 1.75.0-alpha.1757561963
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 +7602 -5898
- package/types/output.d.ts +1609 -104
- 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,148 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* Account federation policies allow users and service principals in your Databricks account to securely access Databricks APIs using tokens from your trusted identity providers (IdPs).
|
|
6
|
+
*
|
|
7
|
+
* Token federation policies eliminate the need to manage Databricks secrets, and allow you to centralize management of token issuance policies in your IdP. Databricks token federation policies are typically used in combination with [SCIM](https://www.terraform.io/admin/users-groups/scim/index.html), so users in your IdP are synchronized into your Databricks account.
|
|
8
|
+
*
|
|
9
|
+
* An account federation policy specifies:
|
|
10
|
+
* * which IdP, or issuer, your Databricks account should accept tokens from
|
|
11
|
+
* * how to determine which Databricks user, or subject, a token is issued for
|
|
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 = "policy_id"
|
|
22
|
+
*
|
|
23
|
+
* to = databricks_account_federation_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/accountFederationPolicy:AccountFederationPolicy databricks_account_federation_policy "policy_id"
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare class AccountFederationPolicy extends pulumi.CustomResource {
|
|
34
|
+
/**
|
|
35
|
+
* Get an existing AccountFederationPolicy 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: string, id: pulumi.Input<pulumi.ID>, state?: AccountFederationPolicyState, opts?: pulumi.CustomResourceOptions): AccountFederationPolicy;
|
|
44
|
+
/**
|
|
45
|
+
* Returns true if the given object is an instance of AccountFederationPolicy. This is designed to work even
|
|
46
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
47
|
+
*/
|
|
48
|
+
static isInstance(obj: any): obj is AccountFederationPolicy;
|
|
49
|
+
/**
|
|
50
|
+
* (string) - Creation time of the federation policy
|
|
51
|
+
*/
|
|
52
|
+
readonly createTime: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* Description of the federation policy
|
|
55
|
+
*/
|
|
56
|
+
readonly description: pulumi.Output<string | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* (string) - Resource name for the federation policy. Example values include
|
|
59
|
+
* `accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
60
|
+
* `accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
61
|
+
* for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
62
|
+
* specified in create or update requests. If specified in a request, must match the value in the
|
|
63
|
+
* request URL
|
|
64
|
+
*/
|
|
65
|
+
readonly name: pulumi.Output<string>;
|
|
66
|
+
readonly oidcPolicy: pulumi.Output<outputs.AccountFederationPolicyOidcPolicy | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* (string) - The ID of the federation policy
|
|
69
|
+
*/
|
|
70
|
+
readonly policyId: pulumi.Output<string>;
|
|
71
|
+
/**
|
|
72
|
+
* (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
|
|
73
|
+
*/
|
|
74
|
+
readonly servicePrincipalId: pulumi.Output<number>;
|
|
75
|
+
/**
|
|
76
|
+
* (string) - Unique, immutable id of the federation policy
|
|
77
|
+
*/
|
|
78
|
+
readonly uid: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* (string) - Last update time of the federation policy
|
|
81
|
+
*/
|
|
82
|
+
readonly updateTime: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* Create a AccountFederationPolicy resource with the given unique name, arguments, and options.
|
|
85
|
+
*
|
|
86
|
+
* @param name The _unique_ name of the resource.
|
|
87
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
88
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
89
|
+
*/
|
|
90
|
+
constructor(name: string, args?: AccountFederationPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Input properties used for looking up and filtering AccountFederationPolicy resources.
|
|
94
|
+
*/
|
|
95
|
+
export interface AccountFederationPolicyState {
|
|
96
|
+
/**
|
|
97
|
+
* (string) - Creation time of the federation policy
|
|
98
|
+
*/
|
|
99
|
+
createTime?: pulumi.Input<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Description of the federation policy
|
|
102
|
+
*/
|
|
103
|
+
description?: pulumi.Input<string>;
|
|
104
|
+
/**
|
|
105
|
+
* (string) - Resource name for the federation policy. Example values include
|
|
106
|
+
* `accounts/<account-id>/federationPolicies/my-federation-policy` for Account Federation Policies, and
|
|
107
|
+
* `accounts/<account-id>/servicePrincipals/<service-principal-id>/federationPolicies/my-federation-policy`
|
|
108
|
+
* for Service Principal Federation Policies. Typically an output parameter, which does not need to be
|
|
109
|
+
* specified in create or update requests. If specified in a request, must match the value in the
|
|
110
|
+
* request URL
|
|
111
|
+
*/
|
|
112
|
+
name?: pulumi.Input<string>;
|
|
113
|
+
oidcPolicy?: pulumi.Input<inputs.AccountFederationPolicyOidcPolicy>;
|
|
114
|
+
/**
|
|
115
|
+
* (string) - The ID of the federation policy
|
|
116
|
+
*/
|
|
117
|
+
policyId?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
|
|
120
|
+
*/
|
|
121
|
+
servicePrincipalId?: pulumi.Input<number>;
|
|
122
|
+
/**
|
|
123
|
+
* (string) - Unique, immutable id of the federation policy
|
|
124
|
+
*/
|
|
125
|
+
uid?: pulumi.Input<string>;
|
|
126
|
+
/**
|
|
127
|
+
* (string) - Last update time of the federation policy
|
|
128
|
+
*/
|
|
129
|
+
updateTime?: pulumi.Input<string>;
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* The set of arguments for constructing a AccountFederationPolicy resource.
|
|
133
|
+
*/
|
|
134
|
+
export interface AccountFederationPolicyArgs {
|
|
135
|
+
/**
|
|
136
|
+
* Description of the federation policy
|
|
137
|
+
*/
|
|
138
|
+
description?: pulumi.Input<string>;
|
|
139
|
+
oidcPolicy?: pulumi.Input<inputs.AccountFederationPolicyOidcPolicy>;
|
|
140
|
+
/**
|
|
141
|
+
* (string) - The ID of the federation policy
|
|
142
|
+
*/
|
|
143
|
+
policyId?: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* (integer) - The service principal ID that this federation policy applies to. Only set for service principal federation policies
|
|
146
|
+
*/
|
|
147
|
+
servicePrincipalId?: pulumi.Input<number>;
|
|
148
|
+
}
|
|
@@ -0,0 +1,92 @@
|
|
|
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.AccountFederationPolicy = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
8
|
+
/**
|
|
9
|
+
* Account federation policies allow users and service principals in your Databricks account to securely access Databricks APIs using tokens from your trusted identity providers (IdPs).
|
|
10
|
+
*
|
|
11
|
+
* Token federation policies eliminate the need to manage Databricks secrets, and allow you to centralize management of token issuance policies in your IdP. Databricks token federation policies are typically used in combination with [SCIM](https://www.terraform.io/admin/users-groups/scim/index.html), so users in your IdP are synchronized into your Databricks account.
|
|
12
|
+
*
|
|
13
|
+
* An account federation policy specifies:
|
|
14
|
+
* * which IdP, or issuer, your Databricks account should accept tokens from
|
|
15
|
+
* * how to determine which Databricks user, or subject, a token is issued for
|
|
16
|
+
*
|
|
17
|
+
* ## Import
|
|
18
|
+
*
|
|
19
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
20
|
+
*
|
|
21
|
+
* hcl
|
|
22
|
+
*
|
|
23
|
+
* import {
|
|
24
|
+
*
|
|
25
|
+
* id = "policy_id"
|
|
26
|
+
*
|
|
27
|
+
* to = databricks_account_federation_policy.this
|
|
28
|
+
*
|
|
29
|
+
* }
|
|
30
|
+
*
|
|
31
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
32
|
+
*
|
|
33
|
+
* ```sh
|
|
34
|
+
* $ pulumi import databricks:index/accountFederationPolicy:AccountFederationPolicy databricks_account_federation_policy "policy_id"
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class AccountFederationPolicy extends pulumi.CustomResource {
|
|
38
|
+
/**
|
|
39
|
+
* Get an existing AccountFederationPolicy resource's state with the given name, ID, and optional extra
|
|
40
|
+
* properties used to qualify the lookup.
|
|
41
|
+
*
|
|
42
|
+
* @param name The _unique_ name of the resulting resource.
|
|
43
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
44
|
+
* @param state Any extra arguments used during the lookup.
|
|
45
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
46
|
+
*/
|
|
47
|
+
static get(name, id, state, opts) {
|
|
48
|
+
return new AccountFederationPolicy(name, state, { ...opts, id: id });
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Returns true if the given object is an instance of AccountFederationPolicy. This is designed to work even
|
|
52
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
53
|
+
*/
|
|
54
|
+
static isInstance(obj) {
|
|
55
|
+
if (obj === undefined || obj === null) {
|
|
56
|
+
return false;
|
|
57
|
+
}
|
|
58
|
+
return obj['__pulumiType'] === AccountFederationPolicy.__pulumiType;
|
|
59
|
+
}
|
|
60
|
+
constructor(name, argsOrState, opts) {
|
|
61
|
+
let resourceInputs = {};
|
|
62
|
+
opts = opts || {};
|
|
63
|
+
if (opts.id) {
|
|
64
|
+
const state = argsOrState;
|
|
65
|
+
resourceInputs["createTime"] = state?.createTime;
|
|
66
|
+
resourceInputs["description"] = state?.description;
|
|
67
|
+
resourceInputs["name"] = state?.name;
|
|
68
|
+
resourceInputs["oidcPolicy"] = state?.oidcPolicy;
|
|
69
|
+
resourceInputs["policyId"] = state?.policyId;
|
|
70
|
+
resourceInputs["servicePrincipalId"] = state?.servicePrincipalId;
|
|
71
|
+
resourceInputs["uid"] = state?.uid;
|
|
72
|
+
resourceInputs["updateTime"] = state?.updateTime;
|
|
73
|
+
}
|
|
74
|
+
else {
|
|
75
|
+
const args = argsOrState;
|
|
76
|
+
resourceInputs["description"] = args?.description;
|
|
77
|
+
resourceInputs["oidcPolicy"] = args?.oidcPolicy;
|
|
78
|
+
resourceInputs["policyId"] = args?.policyId;
|
|
79
|
+
resourceInputs["servicePrincipalId"] = args?.servicePrincipalId;
|
|
80
|
+
resourceInputs["createTime"] = undefined /*out*/;
|
|
81
|
+
resourceInputs["name"] = undefined /*out*/;
|
|
82
|
+
resourceInputs["uid"] = undefined /*out*/;
|
|
83
|
+
resourceInputs["updateTime"] = undefined /*out*/;
|
|
84
|
+
}
|
|
85
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
86
|
+
super(AccountFederationPolicy.__pulumiType, name, resourceInputs, opts);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.AccountFederationPolicy = AccountFederationPolicy;
|
|
90
|
+
/** @internal */
|
|
91
|
+
AccountFederationPolicy.__pulumiType = 'databricks:index/accountFederationPolicy:AccountFederationPolicy';
|
|
92
|
+
//# sourceMappingURL=accountFederationPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountFederationPolicy.js","sourceRoot":"","sources":["../accountFederationPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,MAAa,uBAAwB,SAAQ,MAAM,CAAC,cAAc;IAC9D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAoC,EAAE,IAAmC;QAClI,OAAO,IAAI,uBAAuB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC9E,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,uBAAuB,CAAC,YAAY,CAAC;IACxE,CAAC;IA6CD,YAAY,IAAY,EAAE,WAAwE,EAAE,IAAmC;QACnI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAAuD,CAAC;YACtE,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,EAAE,UAAU,CAAC;YACjD,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,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*
|
|
23
23
|
* import {
|
|
24
24
|
*
|
|
25
|
-
* id = network_policy_id
|
|
25
|
+
* id = "network_policy_id"
|
|
26
26
|
*
|
|
27
27
|
* to = databricks_account_network_policy.this
|
|
28
28
|
*
|
|
@@ -31,7 +31,7 @@ import * as outputs from "./types/output";
|
|
|
31
31
|
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
32
32
|
*
|
|
33
33
|
* ```sh
|
|
34
|
-
* $ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy databricks_account_network_policy network_policy_id
|
|
34
|
+
* $ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy databricks_account_network_policy "network_policy_id"
|
|
35
35
|
* ```
|
|
36
36
|
*/
|
|
37
37
|
export declare class AccountNetworkPolicy extends pulumi.CustomResource {
|
package/accountNetworkPolicy.js
CHANGED
|
@@ -26,7 +26,7 @@ const utilities = require("./utilities");
|
|
|
26
26
|
*
|
|
27
27
|
* import {
|
|
28
28
|
*
|
|
29
|
-
* id = network_policy_id
|
|
29
|
+
* id = "network_policy_id"
|
|
30
30
|
*
|
|
31
31
|
* to = databricks_account_network_policy.this
|
|
32
32
|
*
|
|
@@ -35,7 +35,7 @@ const utilities = require("./utilities");
|
|
|
35
35
|
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
36
36
|
*
|
|
37
37
|
* ```sh
|
|
38
|
-
* $ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy databricks_account_network_policy network_policy_id
|
|
38
|
+
* $ pulumi import databricks:index/accountNetworkPolicy:AccountNetworkPolicy databricks_account_network_policy "network_policy_id"
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
class AccountNetworkPolicy extends pulumi.CustomResource {
|
|
@@ -0,0 +1,149 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
/**
|
|
5
|
+
* ## Import
|
|
6
|
+
*
|
|
7
|
+
* As of Pulumi v1.5, resources can be imported through configuration.
|
|
8
|
+
*
|
|
9
|
+
* hcl
|
|
10
|
+
*
|
|
11
|
+
* import {
|
|
12
|
+
*
|
|
13
|
+
* id = "name"
|
|
14
|
+
*
|
|
15
|
+
* to = databricks_account_setting_v2.this
|
|
16
|
+
*
|
|
17
|
+
* }
|
|
18
|
+
*
|
|
19
|
+
* If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
20
|
+
*
|
|
21
|
+
* ```sh
|
|
22
|
+
* $ pulumi import databricks:index/accountSettingV2:AccountSettingV2 databricks_account_setting_v2 "name"
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class AccountSettingV2 extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing AccountSettingV2 resource's state with the given name, ID, and optional extra
|
|
28
|
+
* properties used to qualify the lookup.
|
|
29
|
+
*
|
|
30
|
+
* @param name The _unique_ name of the resulting resource.
|
|
31
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
32
|
+
* @param state Any extra arguments used during the lookup.
|
|
33
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
34
|
+
*/
|
|
35
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountSettingV2State, opts?: pulumi.CustomResourceOptions): AccountSettingV2;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of AccountSettingV2. This is designed to work even
|
|
38
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
39
|
+
*/
|
|
40
|
+
static isInstance(obj: any): obj is AccountSettingV2;
|
|
41
|
+
readonly aibiDashboardEmbeddingAccessPolicy: pulumi.Output<outputs.AccountSettingV2AibiDashboardEmbeddingAccessPolicy | undefined>;
|
|
42
|
+
readonly aibiDashboardEmbeddingApprovedDomains: pulumi.Output<outputs.AccountSettingV2AibiDashboardEmbeddingApprovedDomains | undefined>;
|
|
43
|
+
/**
|
|
44
|
+
* todo: Mark these Public after onboarded to DSL
|
|
45
|
+
*/
|
|
46
|
+
readonly automaticClusterUpdateWorkspace: pulumi.Output<outputs.AccountSettingV2AutomaticClusterUpdateWorkspace | undefined>;
|
|
47
|
+
readonly booleanVal: pulumi.Output<outputs.AccountSettingV2BooleanVal | undefined>;
|
|
48
|
+
readonly defaultDataSecurityMode: pulumi.Output<outputs.AccountSettingV2DefaultDataSecurityMode | undefined>;
|
|
49
|
+
readonly effectiveAibiDashboardEmbeddingAccessPolicy: pulumi.Output<outputs.AccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicy | undefined>;
|
|
50
|
+
readonly effectiveAibiDashboardEmbeddingApprovedDomains: pulumi.Output<outputs.AccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomains | undefined>;
|
|
51
|
+
readonly effectiveAutomaticClusterUpdateWorkspace: pulumi.Output<outputs.AccountSettingV2EffectiveAutomaticClusterUpdateWorkspace | undefined>;
|
|
52
|
+
/**
|
|
53
|
+
* (BooleanMessage)
|
|
54
|
+
*/
|
|
55
|
+
readonly effectiveBooleanVal: pulumi.Output<outputs.AccountSettingV2EffectiveBooleanVal>;
|
|
56
|
+
readonly effectiveDefaultDataSecurityMode: pulumi.Output<outputs.AccountSettingV2EffectiveDefaultDataSecurityMode | undefined>;
|
|
57
|
+
/**
|
|
58
|
+
* (IntegerMessage)
|
|
59
|
+
*/
|
|
60
|
+
readonly effectiveIntegerVal: pulumi.Output<outputs.AccountSettingV2EffectiveIntegerVal>;
|
|
61
|
+
readonly effectivePersonalCompute: pulumi.Output<outputs.AccountSettingV2EffectivePersonalCompute | undefined>;
|
|
62
|
+
readonly effectiveRestrictWorkspaceAdmins: pulumi.Output<outputs.AccountSettingV2EffectiveRestrictWorkspaceAdmins | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* (StringMessage)
|
|
65
|
+
*/
|
|
66
|
+
readonly effectiveStringVal: pulumi.Output<outputs.AccountSettingV2EffectiveStringVal>;
|
|
67
|
+
readonly integerVal: pulumi.Output<outputs.AccountSettingV2IntegerVal | undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* Name of the setting
|
|
70
|
+
*/
|
|
71
|
+
readonly name: pulumi.Output<string>;
|
|
72
|
+
readonly personalCompute: pulumi.Output<outputs.AccountSettingV2PersonalCompute | undefined>;
|
|
73
|
+
readonly restrictWorkspaceAdmins: pulumi.Output<outputs.AccountSettingV2RestrictWorkspaceAdmins | undefined>;
|
|
74
|
+
readonly stringVal: pulumi.Output<outputs.AccountSettingV2StringVal | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Create a AccountSettingV2 resource with the given unique name, arguments, and options.
|
|
77
|
+
*
|
|
78
|
+
* @param name The _unique_ name of the resource.
|
|
79
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
80
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
81
|
+
*/
|
|
82
|
+
constructor(name: string, args?: AccountSettingV2Args, opts?: pulumi.CustomResourceOptions);
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Input properties used for looking up and filtering AccountSettingV2 resources.
|
|
86
|
+
*/
|
|
87
|
+
export interface AccountSettingV2State {
|
|
88
|
+
aibiDashboardEmbeddingAccessPolicy?: pulumi.Input<inputs.AccountSettingV2AibiDashboardEmbeddingAccessPolicy>;
|
|
89
|
+
aibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.AccountSettingV2AibiDashboardEmbeddingApprovedDomains>;
|
|
90
|
+
/**
|
|
91
|
+
* todo: Mark these Public after onboarded to DSL
|
|
92
|
+
*/
|
|
93
|
+
automaticClusterUpdateWorkspace?: pulumi.Input<inputs.AccountSettingV2AutomaticClusterUpdateWorkspace>;
|
|
94
|
+
booleanVal?: pulumi.Input<inputs.AccountSettingV2BooleanVal>;
|
|
95
|
+
defaultDataSecurityMode?: pulumi.Input<inputs.AccountSettingV2DefaultDataSecurityMode>;
|
|
96
|
+
effectiveAibiDashboardEmbeddingAccessPolicy?: pulumi.Input<inputs.AccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicy>;
|
|
97
|
+
effectiveAibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.AccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomains>;
|
|
98
|
+
effectiveAutomaticClusterUpdateWorkspace?: pulumi.Input<inputs.AccountSettingV2EffectiveAutomaticClusterUpdateWorkspace>;
|
|
99
|
+
/**
|
|
100
|
+
* (BooleanMessage)
|
|
101
|
+
*/
|
|
102
|
+
effectiveBooleanVal?: pulumi.Input<inputs.AccountSettingV2EffectiveBooleanVal>;
|
|
103
|
+
effectiveDefaultDataSecurityMode?: pulumi.Input<inputs.AccountSettingV2EffectiveDefaultDataSecurityMode>;
|
|
104
|
+
/**
|
|
105
|
+
* (IntegerMessage)
|
|
106
|
+
*/
|
|
107
|
+
effectiveIntegerVal?: pulumi.Input<inputs.AccountSettingV2EffectiveIntegerVal>;
|
|
108
|
+
effectivePersonalCompute?: pulumi.Input<inputs.AccountSettingV2EffectivePersonalCompute>;
|
|
109
|
+
effectiveRestrictWorkspaceAdmins?: pulumi.Input<inputs.AccountSettingV2EffectiveRestrictWorkspaceAdmins>;
|
|
110
|
+
/**
|
|
111
|
+
* (StringMessage)
|
|
112
|
+
*/
|
|
113
|
+
effectiveStringVal?: pulumi.Input<inputs.AccountSettingV2EffectiveStringVal>;
|
|
114
|
+
integerVal?: pulumi.Input<inputs.AccountSettingV2IntegerVal>;
|
|
115
|
+
/**
|
|
116
|
+
* Name of the setting
|
|
117
|
+
*/
|
|
118
|
+
name?: pulumi.Input<string>;
|
|
119
|
+
personalCompute?: pulumi.Input<inputs.AccountSettingV2PersonalCompute>;
|
|
120
|
+
restrictWorkspaceAdmins?: pulumi.Input<inputs.AccountSettingV2RestrictWorkspaceAdmins>;
|
|
121
|
+
stringVal?: pulumi.Input<inputs.AccountSettingV2StringVal>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* The set of arguments for constructing a AccountSettingV2 resource.
|
|
125
|
+
*/
|
|
126
|
+
export interface AccountSettingV2Args {
|
|
127
|
+
aibiDashboardEmbeddingAccessPolicy?: pulumi.Input<inputs.AccountSettingV2AibiDashboardEmbeddingAccessPolicy>;
|
|
128
|
+
aibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.AccountSettingV2AibiDashboardEmbeddingApprovedDomains>;
|
|
129
|
+
/**
|
|
130
|
+
* todo: Mark these Public after onboarded to DSL
|
|
131
|
+
*/
|
|
132
|
+
automaticClusterUpdateWorkspace?: pulumi.Input<inputs.AccountSettingV2AutomaticClusterUpdateWorkspace>;
|
|
133
|
+
booleanVal?: pulumi.Input<inputs.AccountSettingV2BooleanVal>;
|
|
134
|
+
defaultDataSecurityMode?: pulumi.Input<inputs.AccountSettingV2DefaultDataSecurityMode>;
|
|
135
|
+
effectiveAibiDashboardEmbeddingAccessPolicy?: pulumi.Input<inputs.AccountSettingV2EffectiveAibiDashboardEmbeddingAccessPolicy>;
|
|
136
|
+
effectiveAibiDashboardEmbeddingApprovedDomains?: pulumi.Input<inputs.AccountSettingV2EffectiveAibiDashboardEmbeddingApprovedDomains>;
|
|
137
|
+
effectiveAutomaticClusterUpdateWorkspace?: pulumi.Input<inputs.AccountSettingV2EffectiveAutomaticClusterUpdateWorkspace>;
|
|
138
|
+
effectiveDefaultDataSecurityMode?: pulumi.Input<inputs.AccountSettingV2EffectiveDefaultDataSecurityMode>;
|
|
139
|
+
effectivePersonalCompute?: pulumi.Input<inputs.AccountSettingV2EffectivePersonalCompute>;
|
|
140
|
+
effectiveRestrictWorkspaceAdmins?: pulumi.Input<inputs.AccountSettingV2EffectiveRestrictWorkspaceAdmins>;
|
|
141
|
+
integerVal?: pulumi.Input<inputs.AccountSettingV2IntegerVal>;
|
|
142
|
+
/**
|
|
143
|
+
* Name of the setting
|
|
144
|
+
*/
|
|
145
|
+
name?: pulumi.Input<string>;
|
|
146
|
+
personalCompute?: pulumi.Input<inputs.AccountSettingV2PersonalCompute>;
|
|
147
|
+
restrictWorkspaceAdmins?: pulumi.Input<inputs.AccountSettingV2RestrictWorkspaceAdmins>;
|
|
148
|
+
stringVal?: pulumi.Input<inputs.AccountSettingV2StringVal>;
|
|
149
|
+
}
|
|
@@ -0,0 +1,106 @@
|
|
|
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.AccountSettingV2 = void 0;
|
|
6
|
+
const pulumi = require("@pulumi/pulumi");
|
|
7
|
+
const utilities = require("./utilities");
|
|
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 = "name"
|
|
18
|
+
*
|
|
19
|
+
* to = databricks_account_setting_v2.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/accountSettingV2:AccountSettingV2 databricks_account_setting_v2 "name"
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
class AccountSettingV2 extends pulumi.CustomResource {
|
|
30
|
+
/**
|
|
31
|
+
* Get an existing AccountSettingV2 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, id, state, opts) {
|
|
40
|
+
return new AccountSettingV2(name, state, { ...opts, id: id });
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Returns true if the given object is an instance of AccountSettingV2. This is designed to work even
|
|
44
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
45
|
+
*/
|
|
46
|
+
static isInstance(obj) {
|
|
47
|
+
if (obj === undefined || obj === null) {
|
|
48
|
+
return false;
|
|
49
|
+
}
|
|
50
|
+
return obj['__pulumiType'] === AccountSettingV2.__pulumiType;
|
|
51
|
+
}
|
|
52
|
+
constructor(name, argsOrState, opts) {
|
|
53
|
+
let resourceInputs = {};
|
|
54
|
+
opts = opts || {};
|
|
55
|
+
if (opts.id) {
|
|
56
|
+
const state = argsOrState;
|
|
57
|
+
resourceInputs["aibiDashboardEmbeddingAccessPolicy"] = state?.aibiDashboardEmbeddingAccessPolicy;
|
|
58
|
+
resourceInputs["aibiDashboardEmbeddingApprovedDomains"] = state?.aibiDashboardEmbeddingApprovedDomains;
|
|
59
|
+
resourceInputs["automaticClusterUpdateWorkspace"] = state?.automaticClusterUpdateWorkspace;
|
|
60
|
+
resourceInputs["booleanVal"] = state?.booleanVal;
|
|
61
|
+
resourceInputs["defaultDataSecurityMode"] = state?.defaultDataSecurityMode;
|
|
62
|
+
resourceInputs["effectiveAibiDashboardEmbeddingAccessPolicy"] = state?.effectiveAibiDashboardEmbeddingAccessPolicy;
|
|
63
|
+
resourceInputs["effectiveAibiDashboardEmbeddingApprovedDomains"] = state?.effectiveAibiDashboardEmbeddingApprovedDomains;
|
|
64
|
+
resourceInputs["effectiveAutomaticClusterUpdateWorkspace"] = state?.effectiveAutomaticClusterUpdateWorkspace;
|
|
65
|
+
resourceInputs["effectiveBooleanVal"] = state?.effectiveBooleanVal;
|
|
66
|
+
resourceInputs["effectiveDefaultDataSecurityMode"] = state?.effectiveDefaultDataSecurityMode;
|
|
67
|
+
resourceInputs["effectiveIntegerVal"] = state?.effectiveIntegerVal;
|
|
68
|
+
resourceInputs["effectivePersonalCompute"] = state?.effectivePersonalCompute;
|
|
69
|
+
resourceInputs["effectiveRestrictWorkspaceAdmins"] = state?.effectiveRestrictWorkspaceAdmins;
|
|
70
|
+
resourceInputs["effectiveStringVal"] = state?.effectiveStringVal;
|
|
71
|
+
resourceInputs["integerVal"] = state?.integerVal;
|
|
72
|
+
resourceInputs["name"] = state?.name;
|
|
73
|
+
resourceInputs["personalCompute"] = state?.personalCompute;
|
|
74
|
+
resourceInputs["restrictWorkspaceAdmins"] = state?.restrictWorkspaceAdmins;
|
|
75
|
+
resourceInputs["stringVal"] = state?.stringVal;
|
|
76
|
+
}
|
|
77
|
+
else {
|
|
78
|
+
const args = argsOrState;
|
|
79
|
+
resourceInputs["aibiDashboardEmbeddingAccessPolicy"] = args?.aibiDashboardEmbeddingAccessPolicy;
|
|
80
|
+
resourceInputs["aibiDashboardEmbeddingApprovedDomains"] = args?.aibiDashboardEmbeddingApprovedDomains;
|
|
81
|
+
resourceInputs["automaticClusterUpdateWorkspace"] = args?.automaticClusterUpdateWorkspace;
|
|
82
|
+
resourceInputs["booleanVal"] = args?.booleanVal;
|
|
83
|
+
resourceInputs["defaultDataSecurityMode"] = args?.defaultDataSecurityMode;
|
|
84
|
+
resourceInputs["effectiveAibiDashboardEmbeddingAccessPolicy"] = args?.effectiveAibiDashboardEmbeddingAccessPolicy;
|
|
85
|
+
resourceInputs["effectiveAibiDashboardEmbeddingApprovedDomains"] = args?.effectiveAibiDashboardEmbeddingApprovedDomains;
|
|
86
|
+
resourceInputs["effectiveAutomaticClusterUpdateWorkspace"] = args?.effectiveAutomaticClusterUpdateWorkspace;
|
|
87
|
+
resourceInputs["effectiveDefaultDataSecurityMode"] = args?.effectiveDefaultDataSecurityMode;
|
|
88
|
+
resourceInputs["effectivePersonalCompute"] = args?.effectivePersonalCompute;
|
|
89
|
+
resourceInputs["effectiveRestrictWorkspaceAdmins"] = args?.effectiveRestrictWorkspaceAdmins;
|
|
90
|
+
resourceInputs["integerVal"] = args?.integerVal;
|
|
91
|
+
resourceInputs["name"] = args?.name;
|
|
92
|
+
resourceInputs["personalCompute"] = args?.personalCompute;
|
|
93
|
+
resourceInputs["restrictWorkspaceAdmins"] = args?.restrictWorkspaceAdmins;
|
|
94
|
+
resourceInputs["stringVal"] = args?.stringVal;
|
|
95
|
+
resourceInputs["effectiveBooleanVal"] = undefined /*out*/;
|
|
96
|
+
resourceInputs["effectiveIntegerVal"] = undefined /*out*/;
|
|
97
|
+
resourceInputs["effectiveStringVal"] = undefined /*out*/;
|
|
98
|
+
}
|
|
99
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
100
|
+
super(AccountSettingV2.__pulumiType, name, resourceInputs, opts);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
exports.AccountSettingV2 = AccountSettingV2;
|
|
104
|
+
/** @internal */
|
|
105
|
+
AccountSettingV2.__pulumiType = 'databricks:index/accountSettingV2:AccountSettingV2';
|
|
106
|
+
//# sourceMappingURL=accountSettingV2.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accountSettingV2.js","sourceRoot":"","sources":["../accountSettingV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IAAmC;QAC3H,OAAO,IAAI,gBAAgB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACvE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IA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