@pulumi/databricks 1.74.0-alpha.1755063629 → 1.74.0
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/accountNetworkPolicy.d.ts +12 -0
- package/accountNetworkPolicy.js +12 -0
- package/accountNetworkPolicy.js.map +1 -1
- package/alertV2.d.ts +10 -3
- package/alertV2.js +1 -1
- package/alertV2.js.map +1 -1
- package/cleanRoomAsset.d.ts +282 -0
- package/cleanRoomAsset.js +121 -0
- package/cleanRoomAsset.js.map +1 -0
- package/cleanRoomAutoApprovalRule.d.ts +135 -0
- package/cleanRoomAutoApprovalRule.js +82 -0
- package/cleanRoomAutoApprovalRule.js.map +1 -0
- package/cleanRoomsCleanRoom.d.ts +161 -0
- package/cleanRoomsCleanRoom.js +92 -0
- package/cleanRoomsCleanRoom.js.map +1 -0
- package/connection.d.ts +75 -0
- package/connection.js +74 -0
- package/connection.js.map +1 -1
- package/databaseDatabaseCatalog.d.ts +152 -0
- package/databaseDatabaseCatalog.js +132 -0
- package/databaseDatabaseCatalog.js.map +1 -0
- package/databaseInstance.d.ts +176 -3
- package/databaseInstance.js +58 -1
- package/databaseInstance.js.map +1 -1
- package/databaseSyncedDatabaseTable.d.ts +180 -0
- package/databaseSyncedDatabaseTable.js +92 -0
- package/databaseSyncedDatabaseTable.js.map +1 -0
- package/dbfsFile.d.ts +2 -0
- package/dbfsFile.js +2 -0
- package/dbfsFile.js.map +1 -1
- package/disableLegacyAccessSetting.d.ts +43 -0
- package/disableLegacyAccessSetting.js +34 -0
- package/disableLegacyAccessSetting.js.map +1 -1
- package/disableLegacyDbfsSetting.d.ts +14 -4
- package/disableLegacyDbfsSetting.js +14 -4
- package/disableLegacyDbfsSetting.js.map +1 -1
- package/disableLegacyFeaturesSetting.d.ts +16 -3
- package/disableLegacyFeaturesSetting.js +16 -3
- package/disableLegacyFeaturesSetting.js.map +1 -1
- package/entitlements.d.ts +1 -1
- package/entitlements.js +1 -1
- package/externalLocation.d.ts +0 -9
- package/externalLocation.js.map +1 -1
- package/externalMetadata.d.ts +232 -0
- package/externalMetadata.js +133 -0
- package/externalMetadata.js.map +1 -0
- package/getAccountNetworkPolicies.d.ts +32 -0
- package/getAccountNetworkPolicies.js +32 -0
- package/getAccountNetworkPolicies.js.map +1 -1
- package/getAccountNetworkPolicy.d.ts +10 -0
- package/getAccountNetworkPolicy.js +10 -0
- package/getAccountNetworkPolicy.js.map +1 -1
- package/getAlertV2.d.ts +19 -8
- package/getAlertV2.js +2 -0
- package/getAlertV2.js.map +1 -1
- package/getCleanRoomAsset.d.ts +235 -0
- package/getCleanRoomAsset.js +70 -0
- package/getCleanRoomAsset.js.map +1 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.d.ts +207 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js +42 -0
- package/getCleanRoomAssetRevisionsCleanRoomAsset.js.map +1 -0
- package/getCleanRoomAssetRevisionsCleanRoomAssets.d.ts +14 -0
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js +18 -0
- package/getCleanRoomAssetRevisionsCleanRoomAssets.js.map +1 -0
- package/getCleanRoomAssets.d.ts +42 -0
- package/getCleanRoomAssets.js +46 -0
- package/getCleanRoomAssets.js.map +1 -0
- package/getCleanRoomAutoApprovalRule.d.ts +88 -0
- package/getCleanRoomAutoApprovalRule.js +30 -0
- package/getCleanRoomAutoApprovalRule.js.map +1 -0
- package/getCleanRoomAutoApprovalRules.d.ts +14 -0
- package/getCleanRoomAutoApprovalRules.js +18 -0
- package/getCleanRoomAutoApprovalRules.js.map +1 -0
- package/getCleanRoomsCleanRoom.d.ts +138 -0
- package/getCleanRoomsCleanRoom.js +62 -0
- package/getCleanRoomsCleanRoom.js.map +1 -0
- package/getCleanRoomsCleanRooms.d.ts +42 -0
- package/getCleanRoomsCleanRooms.js +46 -0
- package/getCleanRoomsCleanRooms.js.map +1 -0
- package/getClusters.d.ts +2 -2
- package/getClusters.js +2 -2
- package/getDatabaseDatabaseCatalog.d.ts +106 -0
- package/getDatabaseDatabaseCatalog.js +60 -0
- package/getDatabaseDatabaseCatalog.js.map +1 -0
- package/getDatabaseDatabaseCatalogs.d.ts +14 -0
- package/getDatabaseDatabaseCatalogs.js +18 -0
- package/getDatabaseDatabaseCatalogs.js.map +1 -0
- package/getDatabaseInstance.d.ts +98 -2
- package/getDatabaseInstance.js +8 -0
- package/getDatabaseInstance.js.map +1 -1
- package/getDatabaseSyncedDatabaseTable.d.ts +132 -0
- package/getDatabaseSyncedDatabaseTable.js +60 -0
- package/getDatabaseSyncedDatabaseTable.js.map +1 -0
- package/getDatabaseSyncedDatabaseTables.d.ts +14 -0
- package/getDatabaseSyncedDatabaseTables.js +18 -0
- package/getDatabaseSyncedDatabaseTables.js.map +1 -0
- package/getExternalMetadata.d.ts +180 -0
- package/getExternalMetadata.js +72 -0
- package/getExternalMetadata.js.map +1 -0
- package/getExternalMetadatas.d.ts +24 -0
- package/getExternalMetadatas.js +28 -0
- package/getExternalMetadatas.js.map +1 -0
- package/getMaterializedFeaturesFeatureTag.d.ts +40 -0
- package/getMaterializedFeaturesFeatureTag.js +24 -0
- package/getMaterializedFeaturesFeatureTag.js.map +1 -0
- package/getMaterializedFeaturesFeatureTags.d.ts +14 -0
- package/getMaterializedFeaturesFeatureTags.js +18 -0
- package/getMaterializedFeaturesFeatureTags.js.map +1 -0
- package/getOnlineStore.d.ts +15 -3
- package/getOnlineStore.js +2 -0
- package/getOnlineStore.js.map +1 -1
- package/getPipelines.d.ts +15 -15
- package/getPipelines.js +10 -10
- package/getPolicyInfo.d.ts +223 -0
- package/getPolicyInfo.js +44 -0
- package/getPolicyInfo.js.map +1 -0
- package/getPolicyInfos.d.ts +14 -0
- package/getPolicyInfos.js +18 -0
- package/getPolicyInfos.js.map +1 -0
- package/getQualityMonitorV2.d.ts +1 -1
- package/getServicePrincipal.d.ts +22 -7
- package/getServicePrincipal.js +4 -2
- package/getServicePrincipal.js.map +1 -1
- package/getServicePrincipals.d.ts +3 -3
- package/getSqlWarehouse.d.ts +5 -5
- package/getSqlWarehouse.js +2 -2
- package/getSqlWarehouses.d.ts +2 -2
- package/getSqlWarehouses.js +2 -2
- package/getUser.d.ts +2 -2
- package/getUser.js +2 -2
- package/getWorkspaceNetworkOption.d.ts +36 -0
- package/getWorkspaceNetworkOption.js +36 -0
- package/getWorkspaceNetworkOption.js.map +1 -1
- package/gitCredential.d.ts +40 -3
- package/gitCredential.js +17 -0
- package/gitCredential.js.map +1 -1
- package/grant.d.ts +3 -1
- package/grant.js +3 -1
- package/grant.js.map +1 -1
- package/grants.d.ts +7 -12
- package/grants.js +7 -12
- package/grants.js.map +1 -1
- package/groupInstanceProfile.d.ts +1 -1
- package/groupInstanceProfile.js +1 -1
- package/groupMember.d.ts +1 -1
- package/groupMember.js +1 -1
- package/groupRole.d.ts +1 -1
- package/groupRole.js +1 -1
- package/index.d.ts +78 -0
- package/index.js +101 -6
- package/index.js.map +1 -1
- package/ipAccessList.d.ts +1 -1
- package/ipAccessList.js +1 -1
- package/job.d.ts +12 -9
- package/job.js +2 -0
- package/job.js.map +1 -1
- package/lakehouseMonitor.d.ts +2 -2
- package/library.d.ts +10 -5
- package/library.js +1 -5
- package/library.js.map +1 -1
- package/materializedFeaturesFeatureTag.d.ts +63 -0
- package/materializedFeaturesFeatureTag.js +75 -0
- package/materializedFeaturesFeatureTag.js.map +1 -0
- package/mlflowExperiment.d.ts +4 -4
- package/mlflowExperiment.js +1 -1
- package/modelServing.d.ts +32 -0
- package/modelServing.js +6 -0
- package/modelServing.js.map +1 -1
- package/modelServingProvisionedThroughput.d.ts +12 -0
- package/modelServingProvisionedThroughput.js +2 -0
- package/modelServingProvisionedThroughput.js.map +1 -1
- package/mwsNccPrivateEndpointRule.d.ts +26 -14
- package/mwsNccPrivateEndpointRule.js +8 -2
- package/mwsNccPrivateEndpointRule.js.map +1 -1
- package/mwsNetworkConnectivityConfig.d.ts +30 -3
- package/mwsNetworkConnectivityConfig.js.map +1 -1
- package/mwsPermissionAssignment.d.ts +1 -1
- package/mwsPermissionAssignment.js +1 -1
- package/mwsWorkspaces.d.ts +3 -3
- package/oboToken.d.ts +1 -1
- package/oboToken.js +1 -1
- package/onlineStore.d.ts +15 -3
- package/onlineStore.js +5 -0
- package/onlineStore.js.map +1 -1
- package/package.json +2 -2
- package/permissionAssignment.d.ts +1 -1
- package/permissionAssignment.js +1 -1
- package/permissions.d.ts +69 -14
- package/permissions.js +67 -14
- package/permissions.js.map +1 -1
- package/pipeline.d.ts +31 -30
- package/pipeline.js +9 -8
- package/pipeline.js.map +1 -1
- package/policyInfo.d.ts +274 -0
- package/policyInfo.js +109 -0
- package/policyInfo.js.map +1 -0
- package/qualityMonitor.d.ts +2 -2
- package/qualityMonitorV2.d.ts +2 -2
- package/repo.d.ts +1 -1
- package/repo.js +1 -1
- package/secret.d.ts +1 -1
- package/secret.js +1 -1
- package/servicePrincipal.d.ts +3 -2
- package/servicePrincipal.js +3 -2
- package/servicePrincipal.js.map +1 -1
- package/servicePrincipalSecret.d.ts +1 -1
- package/servicePrincipalSecret.js +1 -1
- package/share.d.ts +9 -0
- package/share.js.map +1 -1
- package/sqlDashboard.d.ts +1 -1
- package/sqlDashboard.js +1 -1
- package/sqlEndpoint.d.ts +7 -13
- package/sqlEndpoint.js +1 -1
- package/sqlEndpoint.js.map +1 -1
- package/sqlGlobalConfig.d.ts +2 -2
- package/sqlGlobalConfig.js +2 -2
- package/sqlPermissions.d.ts +1 -1
- package/sqlPermissions.js +1 -1
- package/sqlQuery.d.ts +1 -1
- package/sqlQuery.js +1 -1
- package/sqlTable.d.ts +3 -3
- package/sqlWidget.d.ts +3 -1
- package/sqlWidget.js +3 -1
- package/sqlWidget.js.map +1 -1
- package/types/input.d.ts +3947 -829
- package/types/output.d.ts +5416 -1433
- package/user.d.ts +1 -1
- package/user.js +1 -1
- package/workspaceNetworkOption.d.ts +24 -0
- package/workspaceNetworkOption.js +24 -0
- package/workspaceNetworkOption.js.map +1 -1
package/mwsWorkspaces.d.ts
CHANGED
|
@@ -322,7 +322,7 @@ export declare class MwsWorkspaces extends pulumi.CustomResource {
|
|
|
322
322
|
*/
|
|
323
323
|
readonly gcpWorkspaceSa: pulumi.Output<string>;
|
|
324
324
|
/**
|
|
325
|
-
* @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
325
|
+
* @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.87.1/docs/guides/gcp-workspace#creating-a-databricks-workspace
|
|
326
326
|
*/
|
|
327
327
|
readonly gkeConfig: pulumi.Output<outputs.MwsWorkspacesGkeConfig | undefined>;
|
|
328
328
|
readonly isNoPublicIpEnabled: pulumi.Output<boolean | undefined>;
|
|
@@ -440,7 +440,7 @@ export interface MwsWorkspacesState {
|
|
|
440
440
|
*/
|
|
441
441
|
gcpWorkspaceSa?: pulumi.Input<string>;
|
|
442
442
|
/**
|
|
443
|
-
* @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
443
|
+
* @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.87.1/docs/guides/gcp-workspace#creating-a-databricks-workspace
|
|
444
444
|
*/
|
|
445
445
|
gkeConfig?: pulumi.Input<inputs.MwsWorkspacesGkeConfig>;
|
|
446
446
|
isNoPublicIpEnabled?: pulumi.Input<boolean>;
|
|
@@ -542,7 +542,7 @@ export interface MwsWorkspacesArgs {
|
|
|
542
542
|
externalCustomerInfo?: pulumi.Input<inputs.MwsWorkspacesExternalCustomerInfo>;
|
|
543
543
|
gcpManagedNetworkConfig?: pulumi.Input<inputs.MwsWorkspacesGcpManagedNetworkConfig>;
|
|
544
544
|
/**
|
|
545
|
-
* @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.
|
|
545
|
+
* @deprecated gke_config is deprecated and will be removed in a future release. For more information, review the documentation at https://registry.terraform.io/providers/databricks/databricks/1.87.1/docs/guides/gcp-workspace#creating-a-databricks-workspace
|
|
546
546
|
*/
|
|
547
547
|
gkeConfig?: pulumi.Input<inputs.MwsWorkspacesGkeConfig>;
|
|
548
548
|
isNoPublicIpEnabled?: pulumi.Input<boolean>;
|
package/oboToken.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
66
66
|
* * databricks.GroupMember to attach users and groups as group members.
|
|
67
67
|
* * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
|
|
68
68
|
* * 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.
|
|
69
|
-
* * databricks.
|
|
69
|
+
* * databricks.Grants to manage data access in Unity Catalog.
|
|
70
70
|
*
|
|
71
71
|
* ## Import
|
|
72
72
|
*
|
package/oboToken.js
CHANGED
|
@@ -72,7 +72,7 @@ const utilities = require("./utilities");
|
|
|
72
72
|
* * databricks.GroupMember to attach users and groups as group members.
|
|
73
73
|
* * databricks.Permissions to manage [access control](https://docs.databricks.com/security/access-control/index.html) in Databricks workspace.
|
|
74
74
|
* * 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.
|
|
75
|
-
* * databricks.
|
|
75
|
+
* * databricks.Grants to manage data access in Unity Catalog.
|
|
76
76
|
*
|
|
77
77
|
* ## Import
|
|
78
78
|
*
|
package/onlineStore.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare class OnlineStore extends pulumi.CustomResource {
|
|
|
39
39
|
/**
|
|
40
40
|
* The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
41
41
|
*/
|
|
42
|
-
readonly capacity: pulumi.Output<string
|
|
42
|
+
readonly capacity: pulumi.Output<string>;
|
|
43
43
|
/**
|
|
44
44
|
* (string) - The timestamp when the online store was created
|
|
45
45
|
*/
|
|
@@ -52,6 +52,10 @@ export declare class OnlineStore extends pulumi.CustomResource {
|
|
|
52
52
|
* The name of the online store. This is the unique identifier for the online store
|
|
53
53
|
*/
|
|
54
54
|
readonly name: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* The number of read replicas for the online store. Defaults to 0
|
|
57
|
+
*/
|
|
58
|
+
readonly readReplicaCount: pulumi.Output<number | undefined>;
|
|
55
59
|
/**
|
|
56
60
|
* (string) - The current state of the online store. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
57
61
|
*/
|
|
@@ -63,7 +67,7 @@ export declare class OnlineStore extends pulumi.CustomResource {
|
|
|
63
67
|
* @param args The arguments to use to populate this resource's properties.
|
|
64
68
|
* @param opts A bag of options that control this resource's behavior.
|
|
65
69
|
*/
|
|
66
|
-
constructor(name: string, args
|
|
70
|
+
constructor(name: string, args: OnlineStoreArgs, opts?: pulumi.CustomResourceOptions);
|
|
67
71
|
}
|
|
68
72
|
/**
|
|
69
73
|
* Input properties used for looking up and filtering OnlineStore resources.
|
|
@@ -85,6 +89,10 @@ export interface OnlineStoreState {
|
|
|
85
89
|
* The name of the online store. This is the unique identifier for the online store
|
|
86
90
|
*/
|
|
87
91
|
name?: pulumi.Input<string>;
|
|
92
|
+
/**
|
|
93
|
+
* The number of read replicas for the online store. Defaults to 0
|
|
94
|
+
*/
|
|
95
|
+
readReplicaCount?: pulumi.Input<number>;
|
|
88
96
|
/**
|
|
89
97
|
* (string) - The current state of the online store. Possible values are: `AVAILABLE`, `DELETING`, `FAILING_OVER`, `STARTING`, `STOPPED`, `UPDATING`
|
|
90
98
|
*/
|
|
@@ -97,9 +105,13 @@ export interface OnlineStoreArgs {
|
|
|
97
105
|
/**
|
|
98
106
|
* The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
99
107
|
*/
|
|
100
|
-
capacity
|
|
108
|
+
capacity: pulumi.Input<string>;
|
|
101
109
|
/**
|
|
102
110
|
* The name of the online store. This is the unique identifier for the online store
|
|
103
111
|
*/
|
|
104
112
|
name?: pulumi.Input<string>;
|
|
113
|
+
/**
|
|
114
|
+
* The number of read replicas for the online store. Defaults to 0
|
|
115
|
+
*/
|
|
116
|
+
readReplicaCount?: pulumi.Input<number>;
|
|
105
117
|
}
|
package/onlineStore.js
CHANGED
|
@@ -58,12 +58,17 @@ class OnlineStore extends pulumi.CustomResource {
|
|
|
58
58
|
resourceInputs["creationTime"] = state ? state.creationTime : undefined;
|
|
59
59
|
resourceInputs["creator"] = state ? state.creator : undefined;
|
|
60
60
|
resourceInputs["name"] = state ? state.name : undefined;
|
|
61
|
+
resourceInputs["readReplicaCount"] = state ? state.readReplicaCount : undefined;
|
|
61
62
|
resourceInputs["state"] = state ? state.state : undefined;
|
|
62
63
|
}
|
|
63
64
|
else {
|
|
64
65
|
const args = argsOrState;
|
|
66
|
+
if ((!args || args.capacity === undefined) && !opts.urn) {
|
|
67
|
+
throw new Error("Missing required property 'capacity'");
|
|
68
|
+
}
|
|
65
69
|
resourceInputs["capacity"] = args ? args.capacity : undefined;
|
|
66
70
|
resourceInputs["name"] = args ? args.name : undefined;
|
|
71
|
+
resourceInputs["readReplicaCount"] = args ? args.readReplicaCount : undefined;
|
|
67
72
|
resourceInputs["creationTime"] = undefined /*out*/;
|
|
68
73
|
resourceInputs["creator"] = undefined /*out*/;
|
|
69
74
|
resourceInputs["state"] = undefined /*out*/;
|
package/onlineStore.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"onlineStore.js","sourceRoot":"","sources":["../onlineStore.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;I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,CAAC;YAC9E,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,WAAW,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAChE,CAAC;;AAtFL,kCAuFC;AAzEG,gBAAgB;AACO,wBAAY,GAAG,0CAA0C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pulumi/databricks",
|
|
3
|
-
"version": "1.74.0
|
|
3
|
+
"version": "1.74.0",
|
|
4
4
|
"description": "A Pulumi package for creating and managing databricks cloud resources.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"pulumi",
|
|
@@ -24,6 +24,6 @@
|
|
|
24
24
|
"pulumi": {
|
|
25
25
|
"resource": true,
|
|
26
26
|
"name": "databricks",
|
|
27
|
-
"version": "1.74.0
|
|
27
|
+
"version": "1.74.0"
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -63,7 +63,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
63
63
|
*
|
|
64
64
|
* The following resources are used in the same context:
|
|
65
65
|
*
|
|
66
|
-
* * databricks.Group to manage [
|
|
66
|
+
* * databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
|
|
67
67
|
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
68
68
|
* * databricks.GroupMember to attach users and groups as group members.
|
|
69
69
|
* * databricks.MwsPermissionAssignment to manage permission assignment from an account context
|
package/permissionAssignment.js
CHANGED
|
@@ -69,7 +69,7 @@ const utilities = require("./utilities");
|
|
|
69
69
|
*
|
|
70
70
|
* The following resources are used in the same context:
|
|
71
71
|
*
|
|
72
|
-
* * databricks.Group to manage [
|
|
72
|
+
* * databricks.Group to manage [Account-level](https://docs.databricks.com/aws/en/admin/users-groups/groups) or [Workspace-level](https://docs.databricks.com/aws/en/admin/users-groups/workspace-local-groups) groups.
|
|
73
73
|
* * databricks.Group data to retrieve information about databricks.Group members, entitlements and instance profiles.
|
|
74
74
|
* * databricks.GroupMember to attach users and groups as group members.
|
|
75
75
|
* * databricks.MwsPermissionAssignment to manage permission assignment from an account context
|
package/permissions.d.ts
CHANGED
|
@@ -188,15 +188,15 @@ import * as outputs from "./types/output";
|
|
|
188
188
|
* });
|
|
189
189
|
* ```
|
|
190
190
|
*
|
|
191
|
-
* ##
|
|
191
|
+
* ## Lakeflow Declarative Pipelines usage
|
|
192
192
|
*
|
|
193
|
-
* There are four assignable [permission levels](https://docs.databricks.com/security/access-control
|
|
193
|
+
* There are four assignable [permission levels](https://docs.databricks.com/aws/en/security/auth/access-control#lakeflow-declarative-pipelines-acls) for databricks_pipeline: `CAN_VIEW`, `CAN_RUN`, `CAN_MANAGE`, and `IS_OWNER`. Admins are granted the `CAN_MANAGE` permission by default, and they can assign that permission to non-admin users, and service principals.
|
|
194
194
|
*
|
|
195
|
-
* - The creator of a
|
|
196
|
-
* - A
|
|
197
|
-
* - A
|
|
198
|
-
* -
|
|
199
|
-
* - Read [main documentation](https://docs.databricks.com/security/access-control
|
|
195
|
+
* - The creator of a Lakeflow Declarative Pipeline has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a pipeline would revert ownership to the creator.
|
|
196
|
+
* - A Lakeflow Declarative Pipeline must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the pipeline. Nothing would change, per se, if the pipeline was created through Pulumi.
|
|
197
|
+
* - A Lakeflow Declarative Pipeline cannot have a group as an owner.
|
|
198
|
+
* - Lakeflow Declarative Pipelines triggered through _Start_ assume the permissions of the pipeline owner and not the user, and service principal who issued Run Now.
|
|
199
|
+
* - Read [main documentation](https://docs.databricks.com/aws/en/security/auth/access-control#lakeflow-declarative-pipelines-acls) for additional detail.
|
|
200
200
|
*
|
|
201
201
|
* ```typescript
|
|
202
202
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -205,7 +205,7 @@ import * as outputs from "./types/output";
|
|
|
205
205
|
*
|
|
206
206
|
* const me = databricks.getCurrentUser({});
|
|
207
207
|
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
208
|
-
* const
|
|
208
|
+
* const ldpDemo = new databricks.Notebook("ldp_demo", {
|
|
209
209
|
* contentBase64: std.base64encode({
|
|
210
210
|
* input: `import dlt
|
|
211
211
|
* json_path = "/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json"
|
|
@@ -217,10 +217,10 @@ import * as outputs from "./types/output";
|
|
|
217
217
|
* `,
|
|
218
218
|
* }).then(invoke => invoke.result),
|
|
219
219
|
* language: "PYTHON",
|
|
220
|
-
* path: me.then(me => `${me.home}/
|
|
220
|
+
* path: me.then(me => `${me.home}/ldp_demo`),
|
|
221
221
|
* });
|
|
222
222
|
* const _this = new databricks.Pipeline("this", {
|
|
223
|
-
* name: me.then(me => `
|
|
223
|
+
* name: me.then(me => `LDP Demo Pipeline (${me.alphanumeric})`),
|
|
224
224
|
* storage: "/test/tf-pipeline",
|
|
225
225
|
* configuration: {
|
|
226
226
|
* key1: "value1",
|
|
@@ -228,7 +228,7 @@ import * as outputs from "./types/output";
|
|
|
228
228
|
* },
|
|
229
229
|
* libraries: [{
|
|
230
230
|
* notebook: {
|
|
231
|
-
* path:
|
|
231
|
+
* path: ldpDemo.id,
|
|
232
232
|
* },
|
|
233
233
|
* }],
|
|
234
234
|
* continuous: false,
|
|
@@ -237,7 +237,7 @@ import * as outputs from "./types/output";
|
|
|
237
237
|
* excludes: ["com.databricks.exclude"],
|
|
238
238
|
* },
|
|
239
239
|
* });
|
|
240
|
-
* const
|
|
240
|
+
* const ldpUsage = new databricks.Permissions("ldp_usage", {
|
|
241
241
|
* pipelineId: _this.id,
|
|
242
242
|
* accessControls: [
|
|
243
243
|
* {
|
|
@@ -464,7 +464,7 @@ import * as outputs from "./types/output";
|
|
|
464
464
|
* const me = databricks.getCurrentUser({});
|
|
465
465
|
* const _this = new databricks.MlflowExperiment("this", {
|
|
466
466
|
* name: me.then(me => `${me.home}/Sample`),
|
|
467
|
-
* artifactLocation: "
|
|
467
|
+
* artifactLocation: "s3://bucket/my-experiment",
|
|
468
468
|
* description: "My MLflow experiment description",
|
|
469
469
|
* });
|
|
470
470
|
* const auto = new databricks.Group("auto", {displayName: "Automation"});
|
|
@@ -755,7 +755,32 @@ import * as outputs from "./types/output";
|
|
|
755
755
|
* });
|
|
756
756
|
* ```
|
|
757
757
|
*
|
|
758
|
-
* ## SQL Alert usage
|
|
758
|
+
* ## SQL Alert (AlertV2) usage
|
|
759
|
+
*
|
|
760
|
+
* [Alert V2](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) which is the new version of SQL Alert have 4 possible permission levels: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.
|
|
761
|
+
*
|
|
762
|
+
* ```typescript
|
|
763
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
764
|
+
* import * as databricks from "@pulumi/databricks";
|
|
765
|
+
*
|
|
766
|
+
* const auto = new databricks.Group("auto", {displayName: "Automation"});
|
|
767
|
+
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
768
|
+
* const appUsage = new databricks.Permissions("app_usage", {
|
|
769
|
+
* alertV2Id: "12345",
|
|
770
|
+
* accessControls: [
|
|
771
|
+
* {
|
|
772
|
+
* groupName: auto.displayName,
|
|
773
|
+
* permissionLevel: "CAN_RUN",
|
|
774
|
+
* },
|
|
775
|
+
* {
|
|
776
|
+
* groupName: eng.displayName,
|
|
777
|
+
* permissionLevel: "CAN_EDIT",
|
|
778
|
+
* },
|
|
779
|
+
* ],
|
|
780
|
+
* });
|
|
781
|
+
* ```
|
|
782
|
+
*
|
|
783
|
+
* ## SQL Alert (legacy) usage
|
|
759
784
|
*
|
|
760
785
|
* [SQL alerts](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:
|
|
761
786
|
*
|
|
@@ -804,6 +829,30 @@ import * as outputs from "./types/output";
|
|
|
804
829
|
* });
|
|
805
830
|
* ```
|
|
806
831
|
*
|
|
832
|
+
* ## Lakebase Database Instances usage
|
|
833
|
+
*
|
|
834
|
+
* [Databricks Lakebase](https://docs.databricks.com/aws/en/oltp/) have two possible permissions: `CAN_USE` and `CAN_MANAGE`:
|
|
835
|
+
*
|
|
836
|
+
* ```typescript
|
|
837
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
838
|
+
* import * as databricks from "@pulumi/databricks";
|
|
839
|
+
*
|
|
840
|
+
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
841
|
+
* const appUsage = new databricks.Permissions("app_usage", {
|
|
842
|
+
* databaseInstanceName: "my_database",
|
|
843
|
+
* accessControls: [
|
|
844
|
+
* {
|
|
845
|
+
* groupName: "users",
|
|
846
|
+
* permissionLevel: "CAN_USE",
|
|
847
|
+
* },
|
|
848
|
+
* {
|
|
849
|
+
* groupName: eng.displayName,
|
|
850
|
+
* permissionLevel: "CAN_MANAGE",
|
|
851
|
+
* },
|
|
852
|
+
* ],
|
|
853
|
+
* });
|
|
854
|
+
* ```
|
|
855
|
+
*
|
|
807
856
|
* ## Instance Profiles
|
|
808
857
|
*
|
|
809
858
|
* Instance Profiles are not managed by General Permissions API and therefore databricks.GroupInstanceProfile and databricks.UserInstanceProfile should be used to allow usage of specific AWS EC2 IAM roles to users or groups.
|
|
@@ -845,11 +894,13 @@ export declare class Permissions extends pulumi.CustomResource {
|
|
|
845
894
|
*/
|
|
846
895
|
static isInstance(obj: any): obj is Permissions;
|
|
847
896
|
readonly accessControls: pulumi.Output<outputs.PermissionsAccessControl[]>;
|
|
897
|
+
readonly alertV2Id: pulumi.Output<string | undefined>;
|
|
848
898
|
readonly appName: pulumi.Output<string | undefined>;
|
|
849
899
|
readonly authorization: pulumi.Output<string | undefined>;
|
|
850
900
|
readonly clusterId: pulumi.Output<string | undefined>;
|
|
851
901
|
readonly clusterPolicyId: pulumi.Output<string | undefined>;
|
|
852
902
|
readonly dashboardId: pulumi.Output<string | undefined>;
|
|
903
|
+
readonly databaseInstanceName: pulumi.Output<string | undefined>;
|
|
853
904
|
readonly directoryId: pulumi.Output<string | undefined>;
|
|
854
905
|
readonly directoryPath: pulumi.Output<string | undefined>;
|
|
855
906
|
readonly experimentId: pulumi.Output<string | undefined>;
|
|
@@ -887,11 +938,13 @@ export declare class Permissions extends pulumi.CustomResource {
|
|
|
887
938
|
*/
|
|
888
939
|
export interface PermissionsState {
|
|
889
940
|
accessControls?: pulumi.Input<pulumi.Input<inputs.PermissionsAccessControl>[]>;
|
|
941
|
+
alertV2Id?: pulumi.Input<string>;
|
|
890
942
|
appName?: pulumi.Input<string>;
|
|
891
943
|
authorization?: pulumi.Input<string>;
|
|
892
944
|
clusterId?: pulumi.Input<string>;
|
|
893
945
|
clusterPolicyId?: pulumi.Input<string>;
|
|
894
946
|
dashboardId?: pulumi.Input<string>;
|
|
947
|
+
databaseInstanceName?: pulumi.Input<string>;
|
|
895
948
|
directoryId?: pulumi.Input<string>;
|
|
896
949
|
directoryPath?: pulumi.Input<string>;
|
|
897
950
|
experimentId?: pulumi.Input<string>;
|
|
@@ -921,11 +974,13 @@ export interface PermissionsState {
|
|
|
921
974
|
*/
|
|
922
975
|
export interface PermissionsArgs {
|
|
923
976
|
accessControls: pulumi.Input<pulumi.Input<inputs.PermissionsAccessControl>[]>;
|
|
977
|
+
alertV2Id?: pulumi.Input<string>;
|
|
924
978
|
appName?: pulumi.Input<string>;
|
|
925
979
|
authorization?: pulumi.Input<string>;
|
|
926
980
|
clusterId?: pulumi.Input<string>;
|
|
927
981
|
clusterPolicyId?: pulumi.Input<string>;
|
|
928
982
|
dashboardId?: pulumi.Input<string>;
|
|
983
|
+
databaseInstanceName?: pulumi.Input<string>;
|
|
929
984
|
directoryId?: pulumi.Input<string>;
|
|
930
985
|
directoryPath?: pulumi.Input<string>;
|
|
931
986
|
experimentId?: pulumi.Input<string>;
|
package/permissions.js
CHANGED
|
@@ -192,15 +192,15 @@ const utilities = require("./utilities");
|
|
|
192
192
|
* });
|
|
193
193
|
* ```
|
|
194
194
|
*
|
|
195
|
-
* ##
|
|
195
|
+
* ## Lakeflow Declarative Pipelines usage
|
|
196
196
|
*
|
|
197
|
-
* There are four assignable [permission levels](https://docs.databricks.com/security/access-control
|
|
197
|
+
* There are four assignable [permission levels](https://docs.databricks.com/aws/en/security/auth/access-control#lakeflow-declarative-pipelines-acls) for databricks_pipeline: `CAN_VIEW`, `CAN_RUN`, `CAN_MANAGE`, and `IS_OWNER`. Admins are granted the `CAN_MANAGE` permission by default, and they can assign that permission to non-admin users, and service principals.
|
|
198
198
|
*
|
|
199
|
-
* - The creator of a
|
|
200
|
-
* - A
|
|
201
|
-
* - A
|
|
202
|
-
* -
|
|
203
|
-
* - Read [main documentation](https://docs.databricks.com/security/access-control
|
|
199
|
+
* - The creator of a Lakeflow Declarative Pipeline has `IS_OWNER` permission. Destroying `databricks.Permissions` resource for a pipeline would revert ownership to the creator.
|
|
200
|
+
* - A Lakeflow Declarative Pipeline must have exactly one owner. If a resource is changed and no owner is specified, the currently authenticated principal would become the new owner of the pipeline. Nothing would change, per se, if the pipeline was created through Pulumi.
|
|
201
|
+
* - A Lakeflow Declarative Pipeline cannot have a group as an owner.
|
|
202
|
+
* - Lakeflow Declarative Pipelines triggered through _Start_ assume the permissions of the pipeline owner and not the user, and service principal who issued Run Now.
|
|
203
|
+
* - Read [main documentation](https://docs.databricks.com/aws/en/security/auth/access-control#lakeflow-declarative-pipelines-acls) for additional detail.
|
|
204
204
|
*
|
|
205
205
|
* ```typescript
|
|
206
206
|
* import * as pulumi from "@pulumi/pulumi";
|
|
@@ -209,7 +209,7 @@ const utilities = require("./utilities");
|
|
|
209
209
|
*
|
|
210
210
|
* const me = databricks.getCurrentUser({});
|
|
211
211
|
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
212
|
-
* const
|
|
212
|
+
* const ldpDemo = new databricks.Notebook("ldp_demo", {
|
|
213
213
|
* contentBase64: std.base64encode({
|
|
214
214
|
* input: `import dlt
|
|
215
215
|
* json_path = "/databricks-datasets/wikipedia-datasets/data-001/clickstream/raw-uncompressed-json/2015_2_clickstream.json"
|
|
@@ -221,10 +221,10 @@ const utilities = require("./utilities");
|
|
|
221
221
|
* `,
|
|
222
222
|
* }).then(invoke => invoke.result),
|
|
223
223
|
* language: "PYTHON",
|
|
224
|
-
* path: me.then(me => `${me.home}/
|
|
224
|
+
* path: me.then(me => `${me.home}/ldp_demo`),
|
|
225
225
|
* });
|
|
226
226
|
* const _this = new databricks.Pipeline("this", {
|
|
227
|
-
* name: me.then(me => `
|
|
227
|
+
* name: me.then(me => `LDP Demo Pipeline (${me.alphanumeric})`),
|
|
228
228
|
* storage: "/test/tf-pipeline",
|
|
229
229
|
* configuration: {
|
|
230
230
|
* key1: "value1",
|
|
@@ -232,7 +232,7 @@ const utilities = require("./utilities");
|
|
|
232
232
|
* },
|
|
233
233
|
* libraries: [{
|
|
234
234
|
* notebook: {
|
|
235
|
-
* path:
|
|
235
|
+
* path: ldpDemo.id,
|
|
236
236
|
* },
|
|
237
237
|
* }],
|
|
238
238
|
* continuous: false,
|
|
@@ -241,7 +241,7 @@ const utilities = require("./utilities");
|
|
|
241
241
|
* excludes: ["com.databricks.exclude"],
|
|
242
242
|
* },
|
|
243
243
|
* });
|
|
244
|
-
* const
|
|
244
|
+
* const ldpUsage = new databricks.Permissions("ldp_usage", {
|
|
245
245
|
* pipelineId: _this.id,
|
|
246
246
|
* accessControls: [
|
|
247
247
|
* {
|
|
@@ -468,7 +468,7 @@ const utilities = require("./utilities");
|
|
|
468
468
|
* const me = databricks.getCurrentUser({});
|
|
469
469
|
* const _this = new databricks.MlflowExperiment("this", {
|
|
470
470
|
* name: me.then(me => `${me.home}/Sample`),
|
|
471
|
-
* artifactLocation: "
|
|
471
|
+
* artifactLocation: "s3://bucket/my-experiment",
|
|
472
472
|
* description: "My MLflow experiment description",
|
|
473
473
|
* });
|
|
474
474
|
* const auto = new databricks.Group("auto", {displayName: "Automation"});
|
|
@@ -759,7 +759,32 @@ const utilities = require("./utilities");
|
|
|
759
759
|
* });
|
|
760
760
|
* ```
|
|
761
761
|
*
|
|
762
|
-
* ## SQL Alert usage
|
|
762
|
+
* ## SQL Alert (AlertV2) usage
|
|
763
|
+
*
|
|
764
|
+
* [Alert V2](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) which is the new version of SQL Alert have 4 possible permission levels: `CAN_READ`, `CAN_RUN`, `CAN_EDIT`, and `CAN_MANAGE`.
|
|
765
|
+
*
|
|
766
|
+
* ```typescript
|
|
767
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
768
|
+
* import * as databricks from "@pulumi/databricks";
|
|
769
|
+
*
|
|
770
|
+
* const auto = new databricks.Group("auto", {displayName: "Automation"});
|
|
771
|
+
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
772
|
+
* const appUsage = new databricks.Permissions("app_usage", {
|
|
773
|
+
* alertV2Id: "12345",
|
|
774
|
+
* accessControls: [
|
|
775
|
+
* {
|
|
776
|
+
* groupName: auto.displayName,
|
|
777
|
+
* permissionLevel: "CAN_RUN",
|
|
778
|
+
* },
|
|
779
|
+
* {
|
|
780
|
+
* groupName: eng.displayName,
|
|
781
|
+
* permissionLevel: "CAN_EDIT",
|
|
782
|
+
* },
|
|
783
|
+
* ],
|
|
784
|
+
* });
|
|
785
|
+
* ```
|
|
786
|
+
*
|
|
787
|
+
* ## SQL Alert (legacy) usage
|
|
763
788
|
*
|
|
764
789
|
* [SQL alerts](https://docs.databricks.com/sql/user/security/access-control/alert-acl.html) have three possible permissions: `CAN_VIEW`, `CAN_RUN` and `CAN_MANAGE`:
|
|
765
790
|
*
|
|
@@ -808,6 +833,30 @@ const utilities = require("./utilities");
|
|
|
808
833
|
* });
|
|
809
834
|
* ```
|
|
810
835
|
*
|
|
836
|
+
* ## Lakebase Database Instances usage
|
|
837
|
+
*
|
|
838
|
+
* [Databricks Lakebase](https://docs.databricks.com/aws/en/oltp/) have two possible permissions: `CAN_USE` and `CAN_MANAGE`:
|
|
839
|
+
*
|
|
840
|
+
* ```typescript
|
|
841
|
+
* import * as pulumi from "@pulumi/pulumi";
|
|
842
|
+
* import * as databricks from "@pulumi/databricks";
|
|
843
|
+
*
|
|
844
|
+
* const eng = new databricks.Group("eng", {displayName: "Engineering"});
|
|
845
|
+
* const appUsage = new databricks.Permissions("app_usage", {
|
|
846
|
+
* databaseInstanceName: "my_database",
|
|
847
|
+
* accessControls: [
|
|
848
|
+
* {
|
|
849
|
+
* groupName: "users",
|
|
850
|
+
* permissionLevel: "CAN_USE",
|
|
851
|
+
* },
|
|
852
|
+
* {
|
|
853
|
+
* groupName: eng.displayName,
|
|
854
|
+
* permissionLevel: "CAN_MANAGE",
|
|
855
|
+
* },
|
|
856
|
+
* ],
|
|
857
|
+
* });
|
|
858
|
+
* ```
|
|
859
|
+
*
|
|
811
860
|
* ## Instance Profiles
|
|
812
861
|
*
|
|
813
862
|
* Instance Profiles are not managed by General Permissions API and therefore databricks.GroupInstanceProfile and databricks.UserInstanceProfile should be used to allow usage of specific AWS EC2 IAM roles to users or groups.
|
|
@@ -861,11 +910,13 @@ class Permissions extends pulumi.CustomResource {
|
|
|
861
910
|
if (opts.id) {
|
|
862
911
|
const state = argsOrState;
|
|
863
912
|
resourceInputs["accessControls"] = state ? state.accessControls : undefined;
|
|
913
|
+
resourceInputs["alertV2Id"] = state ? state.alertV2Id : undefined;
|
|
864
914
|
resourceInputs["appName"] = state ? state.appName : undefined;
|
|
865
915
|
resourceInputs["authorization"] = state ? state.authorization : undefined;
|
|
866
916
|
resourceInputs["clusterId"] = state ? state.clusterId : undefined;
|
|
867
917
|
resourceInputs["clusterPolicyId"] = state ? state.clusterPolicyId : undefined;
|
|
868
918
|
resourceInputs["dashboardId"] = state ? state.dashboardId : undefined;
|
|
919
|
+
resourceInputs["databaseInstanceName"] = state ? state.databaseInstanceName : undefined;
|
|
869
920
|
resourceInputs["directoryId"] = state ? state.directoryId : undefined;
|
|
870
921
|
resourceInputs["directoryPath"] = state ? state.directoryPath : undefined;
|
|
871
922
|
resourceInputs["experimentId"] = state ? state.experimentId : undefined;
|
|
@@ -893,11 +944,13 @@ class Permissions extends pulumi.CustomResource {
|
|
|
893
944
|
throw new Error("Missing required property 'accessControls'");
|
|
894
945
|
}
|
|
895
946
|
resourceInputs["accessControls"] = args ? args.accessControls : undefined;
|
|
947
|
+
resourceInputs["alertV2Id"] = args ? args.alertV2Id : undefined;
|
|
896
948
|
resourceInputs["appName"] = args ? args.appName : undefined;
|
|
897
949
|
resourceInputs["authorization"] = args ? args.authorization : undefined;
|
|
898
950
|
resourceInputs["clusterId"] = args ? args.clusterId : undefined;
|
|
899
951
|
resourceInputs["clusterPolicyId"] = args ? args.clusterPolicyId : undefined;
|
|
900
952
|
resourceInputs["dashboardId"] = args ? args.dashboardId : undefined;
|
|
953
|
+
resourceInputs["databaseInstanceName"] = args ? args.databaseInstanceName : undefined;
|
|
901
954
|
resourceInputs["directoryId"] = args ? args.directoryId : undefined;
|
|
902
955
|
resourceInputs["directoryPath"] = args ? args.directoryPath : undefined;
|
|
903
956
|
resourceInputs["experimentId"] = args ? args.experimentId : undefined;
|
package/permissions.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"permissions.js","sourceRoot":"","sources":["../permissions.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AA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