@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/pipeline.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import * as pulumi from "@pulumi/pulumi";
|
|
|
2
2
|
import * as inputs from "./types/input";
|
|
3
3
|
import * as outputs from "./types/output";
|
|
4
4
|
/**
|
|
5
|
-
* Use `databricks.Pipeline` to deploy [
|
|
5
|
+
* Use `databricks.Pipeline` to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
6
6
|
*
|
|
7
7
|
* > This resource can only be used with a workspace-level provider!
|
|
8
8
|
*
|
|
@@ -12,11 +12,12 @@ import * as outputs from "./types/output";
|
|
|
12
12
|
* import * as pulumi from "@pulumi/pulumi";
|
|
13
13
|
* import * as databricks from "@pulumi/databricks";
|
|
14
14
|
*
|
|
15
|
-
* const
|
|
16
|
-
* const
|
|
15
|
+
* const ldpDemo = new databricks.Notebook("ldp_demo", {});
|
|
16
|
+
* const ldpDemoRepo = new databricks.Repo("ldp_demo", {});
|
|
17
17
|
* const _this = new databricks.Pipeline("this", {
|
|
18
18
|
* name: "Pipeline Name",
|
|
19
|
-
*
|
|
19
|
+
* catalog: "main",
|
|
20
|
+
* schema: "ldp_demo",
|
|
20
21
|
* configuration: {
|
|
21
22
|
* key1: "value1",
|
|
22
23
|
* key2: "value2",
|
|
@@ -40,17 +41,17 @@ import * as outputs from "./types/output";
|
|
|
40
41
|
* libraries: [
|
|
41
42
|
* {
|
|
42
43
|
* notebook: {
|
|
43
|
-
* path:
|
|
44
|
+
* path: ldpDemo.id,
|
|
44
45
|
* },
|
|
45
46
|
* },
|
|
46
47
|
* {
|
|
47
48
|
* file: {
|
|
48
|
-
* path: pulumi.interpolate`${
|
|
49
|
+
* path: pulumi.interpolate`${ldpDemoRepo.path}/pipeline.sql`,
|
|
49
50
|
* },
|
|
50
51
|
* },
|
|
51
52
|
* {
|
|
52
53
|
* glob: {
|
|
53
|
-
* include: pulumi.interpolate`${
|
|
54
|
+
* include: pulumi.interpolate`${ldpDemoRepo.path}/subfolder/**`,
|
|
54
55
|
* },
|
|
55
56
|
* },
|
|
56
57
|
* ],
|
|
@@ -75,7 +76,7 @@ import * as outputs from "./types/output";
|
|
|
75
76
|
* The following resources are often used in the same context:
|
|
76
77
|
*
|
|
77
78
|
* * End to end workspace management guide.
|
|
78
|
-
* * databricks.getPipelines to retrieve [
|
|
79
|
+
* * databricks.getPipelines to retrieve [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt) data.
|
|
79
80
|
* * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
|
|
80
81
|
* * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
81
82
|
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
|
@@ -123,7 +124,7 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
123
124
|
*/
|
|
124
125
|
readonly allowDuplicateNames: pulumi.Output<boolean | undefined>;
|
|
125
126
|
/**
|
|
126
|
-
* optional string specifying ID of the budget policy for this
|
|
127
|
+
* optional string specifying ID of the budget policy for this Lakeflow Declarative Pipeline.
|
|
127
128
|
*/
|
|
128
129
|
readonly budgetPolicyId: pulumi.Output<string | undefined>;
|
|
129
130
|
/**
|
|
@@ -132,12 +133,12 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
132
133
|
readonly catalog: pulumi.Output<string | undefined>;
|
|
133
134
|
readonly cause: pulumi.Output<string>;
|
|
134
135
|
/**
|
|
135
|
-
* optional name of the release channel for Spark version used by
|
|
136
|
+
* optional name of the release channel for Spark version used by Lakeflow Declarative Pipeline. Supported values are: `CURRENT` (default) and `PREVIEW`.
|
|
136
137
|
*/
|
|
137
138
|
readonly channel: pulumi.Output<string | undefined>;
|
|
138
139
|
readonly clusterId: pulumi.Output<string>;
|
|
139
140
|
/**
|
|
140
|
-
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that
|
|
141
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that Lakeflow Declarative Pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/api/workspace/pipelines/create#clusters).* Also, note that `autoscale` block is extended with the `mode` parameter that controls the autoscaling algorithm (possible values are `ENHANCED` for new, enhanced autoscaling algorithm, or `LEGACY` for old algorithm).
|
|
141
142
|
*/
|
|
142
143
|
readonly clusters: pulumi.Output<outputs.PipelineCluster[] | undefined>;
|
|
143
144
|
/**
|
|
@@ -165,7 +166,7 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
165
166
|
readonly edition: pulumi.Output<string | undefined>;
|
|
166
167
|
readonly environment: pulumi.Output<outputs.PipelineEnvironment | undefined>;
|
|
167
168
|
/**
|
|
168
|
-
* an optional block specifying a table where
|
|
169
|
+
* an optional block specifying a table where LDP Event Log will be stored. Consists of the following fields:
|
|
169
170
|
*/
|
|
170
171
|
readonly eventLog: pulumi.Output<outputs.PipelineEventLog | undefined>;
|
|
171
172
|
readonly expectedLastModified: pulumi.Output<number | undefined>;
|
|
@@ -199,19 +200,19 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
199
200
|
* An optional string specifying the root path for this pipeline. This is used as the root directory when editing the pipeline in the Databricks user interface and it is added to `sys.path` when executing Python sources during pipeline execution.
|
|
200
201
|
*/
|
|
201
202
|
readonly rootPath: pulumi.Output<string | undefined>;
|
|
202
|
-
readonly runAs: pulumi.Output<outputs.PipelineRunAs>;
|
|
203
|
+
readonly runAs: pulumi.Output<outputs.PipelineRunAs | undefined>;
|
|
203
204
|
readonly runAsUserName: pulumi.Output<string>;
|
|
204
205
|
/**
|
|
205
206
|
* The default schema (database) where tables are read from or published to. The presence of this attribute implies that the pipeline is in direct publishing mode.
|
|
206
207
|
*/
|
|
207
208
|
readonly schema: pulumi.Output<string | undefined>;
|
|
208
209
|
/**
|
|
209
|
-
* An optional flag indicating if serverless compute should be used for this
|
|
210
|
+
* An optional flag indicating if serverless compute should be used for this Lakeflow Declarative Pipeline. Requires `catalog` to be set, as it could be used only with Unity Catalog.
|
|
210
211
|
*/
|
|
211
212
|
readonly serverless: pulumi.Output<boolean | undefined>;
|
|
212
213
|
readonly state: pulumi.Output<string>;
|
|
213
214
|
/**
|
|
214
|
-
* A location on
|
|
215
|
+
* A location on cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.* (Conflicts with `catalog`).
|
|
215
216
|
*/
|
|
216
217
|
readonly storage: pulumi.Output<string | undefined>;
|
|
217
218
|
/**
|
|
@@ -226,7 +227,7 @@ export declare class Pipeline extends pulumi.CustomResource {
|
|
|
226
227
|
readonly target: pulumi.Output<string | undefined>;
|
|
227
228
|
readonly trigger: pulumi.Output<outputs.PipelineTrigger | undefined>;
|
|
228
229
|
/**
|
|
229
|
-
* URL of the
|
|
230
|
+
* URL of the Lakeflow Declarative Pipeline on the given workspace.
|
|
230
231
|
*/
|
|
231
232
|
readonly url: pulumi.Output<string>;
|
|
232
233
|
/**
|
|
@@ -247,7 +248,7 @@ export interface PipelineState {
|
|
|
247
248
|
*/
|
|
248
249
|
allowDuplicateNames?: pulumi.Input<boolean>;
|
|
249
250
|
/**
|
|
250
|
-
* optional string specifying ID of the budget policy for this
|
|
251
|
+
* optional string specifying ID of the budget policy for this Lakeflow Declarative Pipeline.
|
|
251
252
|
*/
|
|
252
253
|
budgetPolicyId?: pulumi.Input<string>;
|
|
253
254
|
/**
|
|
@@ -256,12 +257,12 @@ export interface PipelineState {
|
|
|
256
257
|
catalog?: pulumi.Input<string>;
|
|
257
258
|
cause?: pulumi.Input<string>;
|
|
258
259
|
/**
|
|
259
|
-
* optional name of the release channel for Spark version used by
|
|
260
|
+
* optional name of the release channel for Spark version used by Lakeflow Declarative Pipeline. Supported values are: `CURRENT` (default) and `PREVIEW`.
|
|
260
261
|
*/
|
|
261
262
|
channel?: pulumi.Input<string>;
|
|
262
263
|
clusterId?: pulumi.Input<string>;
|
|
263
264
|
/**
|
|
264
|
-
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that
|
|
265
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that Lakeflow Declarative Pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/api/workspace/pipelines/create#clusters).* Also, note that `autoscale` block is extended with the `mode` parameter that controls the autoscaling algorithm (possible values are `ENHANCED` for new, enhanced autoscaling algorithm, or `LEGACY` for old algorithm).
|
|
265
266
|
*/
|
|
266
267
|
clusters?: pulumi.Input<pulumi.Input<inputs.PipelineCluster>[]>;
|
|
267
268
|
/**
|
|
@@ -289,7 +290,7 @@ export interface PipelineState {
|
|
|
289
290
|
edition?: pulumi.Input<string>;
|
|
290
291
|
environment?: pulumi.Input<inputs.PipelineEnvironment>;
|
|
291
292
|
/**
|
|
292
|
-
* an optional block specifying a table where
|
|
293
|
+
* an optional block specifying a table where LDP Event Log will be stored. Consists of the following fields:
|
|
293
294
|
*/
|
|
294
295
|
eventLog?: pulumi.Input<inputs.PipelineEventLog>;
|
|
295
296
|
expectedLastModified?: pulumi.Input<number>;
|
|
@@ -330,12 +331,12 @@ export interface PipelineState {
|
|
|
330
331
|
*/
|
|
331
332
|
schema?: pulumi.Input<string>;
|
|
332
333
|
/**
|
|
333
|
-
* An optional flag indicating if serverless compute should be used for this
|
|
334
|
+
* An optional flag indicating if serverless compute should be used for this Lakeflow Declarative Pipeline. Requires `catalog` to be set, as it could be used only with Unity Catalog.
|
|
334
335
|
*/
|
|
335
336
|
serverless?: pulumi.Input<boolean>;
|
|
336
337
|
state?: pulumi.Input<string>;
|
|
337
338
|
/**
|
|
338
|
-
* A location on
|
|
339
|
+
* A location on cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.* (Conflicts with `catalog`).
|
|
339
340
|
*/
|
|
340
341
|
storage?: pulumi.Input<string>;
|
|
341
342
|
/**
|
|
@@ -350,7 +351,7 @@ export interface PipelineState {
|
|
|
350
351
|
target?: pulumi.Input<string>;
|
|
351
352
|
trigger?: pulumi.Input<inputs.PipelineTrigger>;
|
|
352
353
|
/**
|
|
353
|
-
* URL of the
|
|
354
|
+
* URL of the Lakeflow Declarative Pipeline on the given workspace.
|
|
354
355
|
*/
|
|
355
356
|
url?: pulumi.Input<string>;
|
|
356
357
|
}
|
|
@@ -363,7 +364,7 @@ export interface PipelineArgs {
|
|
|
363
364
|
*/
|
|
364
365
|
allowDuplicateNames?: pulumi.Input<boolean>;
|
|
365
366
|
/**
|
|
366
|
-
* optional string specifying ID of the budget policy for this
|
|
367
|
+
* optional string specifying ID of the budget policy for this Lakeflow Declarative Pipeline.
|
|
367
368
|
*/
|
|
368
369
|
budgetPolicyId?: pulumi.Input<string>;
|
|
369
370
|
/**
|
|
@@ -372,12 +373,12 @@ export interface PipelineArgs {
|
|
|
372
373
|
catalog?: pulumi.Input<string>;
|
|
373
374
|
cause?: pulumi.Input<string>;
|
|
374
375
|
/**
|
|
375
|
-
* optional name of the release channel for Spark version used by
|
|
376
|
+
* optional name of the release channel for Spark version used by Lakeflow Declarative Pipeline. Supported values are: `CURRENT` (default) and `PREVIEW`.
|
|
376
377
|
*/
|
|
377
378
|
channel?: pulumi.Input<string>;
|
|
378
379
|
clusterId?: pulumi.Input<string>;
|
|
379
380
|
/**
|
|
380
|
-
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that
|
|
381
|
+
* blocks - Clusters to run the pipeline. If none is specified, pipelines will automatically select a default cluster configuration for the pipeline. *Please note that Lakeflow Declarative Pipeline clusters are supporting only subset of attributes as described in [documentation](https://docs.databricks.com/api/workspace/pipelines/create#clusters).* Also, note that `autoscale` block is extended with the `mode` parameter that controls the autoscaling algorithm (possible values are `ENHANCED` for new, enhanced autoscaling algorithm, or `LEGACY` for old algorithm).
|
|
381
382
|
*/
|
|
382
383
|
clusters?: pulumi.Input<pulumi.Input<inputs.PipelineCluster>[]>;
|
|
383
384
|
/**
|
|
@@ -405,7 +406,7 @@ export interface PipelineArgs {
|
|
|
405
406
|
edition?: pulumi.Input<string>;
|
|
406
407
|
environment?: pulumi.Input<inputs.PipelineEnvironment>;
|
|
407
408
|
/**
|
|
408
|
-
* an optional block specifying a table where
|
|
409
|
+
* an optional block specifying a table where LDP Event Log will be stored. Consists of the following fields:
|
|
409
410
|
*/
|
|
410
411
|
eventLog?: pulumi.Input<inputs.PipelineEventLog>;
|
|
411
412
|
expectedLastModified?: pulumi.Input<number>;
|
|
@@ -446,12 +447,12 @@ export interface PipelineArgs {
|
|
|
446
447
|
*/
|
|
447
448
|
schema?: pulumi.Input<string>;
|
|
448
449
|
/**
|
|
449
|
-
* An optional flag indicating if serverless compute should be used for this
|
|
450
|
+
* An optional flag indicating if serverless compute should be used for this Lakeflow Declarative Pipeline. Requires `catalog` to be set, as it could be used only with Unity Catalog.
|
|
450
451
|
*/
|
|
451
452
|
serverless?: pulumi.Input<boolean>;
|
|
452
453
|
state?: pulumi.Input<string>;
|
|
453
454
|
/**
|
|
454
|
-
* A location on
|
|
455
|
+
* A location on cloud storage where output data and metadata required for pipeline execution are stored. By default, tables are stored in a subdirectory of this location. *Change of this parameter forces recreation of the pipeline.* (Conflicts with `catalog`).
|
|
455
456
|
*/
|
|
456
457
|
storage?: pulumi.Input<string>;
|
|
457
458
|
/**
|
|
@@ -466,7 +467,7 @@ export interface PipelineArgs {
|
|
|
466
467
|
target?: pulumi.Input<string>;
|
|
467
468
|
trigger?: pulumi.Input<inputs.PipelineTrigger>;
|
|
468
469
|
/**
|
|
469
|
-
* URL of the
|
|
470
|
+
* URL of the Lakeflow Declarative Pipeline on the given workspace.
|
|
470
471
|
*/
|
|
471
472
|
url?: pulumi.Input<string>;
|
|
472
473
|
}
|
package/pipeline.js
CHANGED
|
@@ -6,7 +6,7 @@ exports.Pipeline = void 0;
|
|
|
6
6
|
const pulumi = require("@pulumi/pulumi");
|
|
7
7
|
const utilities = require("./utilities");
|
|
8
8
|
/**
|
|
9
|
-
* Use `databricks.Pipeline` to deploy [
|
|
9
|
+
* Use `databricks.Pipeline` to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
10
10
|
*
|
|
11
11
|
* > This resource can only be used with a workspace-level provider!
|
|
12
12
|
*
|
|
@@ -16,11 +16,12 @@ const utilities = require("./utilities");
|
|
|
16
16
|
* import * as pulumi from "@pulumi/pulumi";
|
|
17
17
|
* import * as databricks from "@pulumi/databricks";
|
|
18
18
|
*
|
|
19
|
-
* const
|
|
20
|
-
* const
|
|
19
|
+
* const ldpDemo = new databricks.Notebook("ldp_demo", {});
|
|
20
|
+
* const ldpDemoRepo = new databricks.Repo("ldp_demo", {});
|
|
21
21
|
* const _this = new databricks.Pipeline("this", {
|
|
22
22
|
* name: "Pipeline Name",
|
|
23
|
-
*
|
|
23
|
+
* catalog: "main",
|
|
24
|
+
* schema: "ldp_demo",
|
|
24
25
|
* configuration: {
|
|
25
26
|
* key1: "value1",
|
|
26
27
|
* key2: "value2",
|
|
@@ -44,17 +45,17 @@ const utilities = require("./utilities");
|
|
|
44
45
|
* libraries: [
|
|
45
46
|
* {
|
|
46
47
|
* notebook: {
|
|
47
|
-
* path:
|
|
48
|
+
* path: ldpDemo.id,
|
|
48
49
|
* },
|
|
49
50
|
* },
|
|
50
51
|
* {
|
|
51
52
|
* file: {
|
|
52
|
-
* path: pulumi.interpolate`${
|
|
53
|
+
* path: pulumi.interpolate`${ldpDemoRepo.path}/pipeline.sql`,
|
|
53
54
|
* },
|
|
54
55
|
* },
|
|
55
56
|
* {
|
|
56
57
|
* glob: {
|
|
57
|
-
* include: pulumi.interpolate`${
|
|
58
|
+
* include: pulumi.interpolate`${ldpDemoRepo.path}/subfolder/**`,
|
|
58
59
|
* },
|
|
59
60
|
* },
|
|
60
61
|
* ],
|
|
@@ -79,7 +80,7 @@ const utilities = require("./utilities");
|
|
|
79
80
|
* The following resources are often used in the same context:
|
|
80
81
|
*
|
|
81
82
|
* * End to end workspace management guide.
|
|
82
|
-
* * databricks.getPipelines to retrieve [
|
|
83
|
+
* * databricks.getPipelines to retrieve [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt) data.
|
|
83
84
|
* * databricks.Cluster to create [Databricks Clusters](https://docs.databricks.com/clusters/index.html).
|
|
84
85
|
* * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
85
86
|
* * databricks.Notebook to manage [Databricks Notebooks](https://docs.databricks.com/notebooks/index.html).
|
package/pipeline.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC
|
|
1
|
+
{"version":3,"file":"pipeline.js","sourceRoot":"","sources":["../pipeline.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqGG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,cAAc;IAC/C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqB,EAAE,IAAmC;QACnH,OAAO,IAAI,QAAQ,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC/D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC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,CAAC,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,SAAS,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,QAAQ,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC7D,CAAC;;AAtOL,4BAuOC;AAzNG,gBAAgB;AACO,qBAAY,GAAG,oCAAoC,CAAC"}
|
package/policyInfo.d.ts
ADDED
|
@@ -0,0 +1,274 @@
|
|
|
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 = on_securable_type,on_securable_fullname,name
|
|
14
|
+
*
|
|
15
|
+
* to = databricks_policy_info.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/policyInfo:PolicyInfo databricks_policy_info on_securable_type,on_securable_fullname,name
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
export declare class PolicyInfo extends pulumi.CustomResource {
|
|
26
|
+
/**
|
|
27
|
+
* Get an existing PolicyInfo 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?: PolicyInfoState, opts?: pulumi.CustomResourceOptions): PolicyInfo;
|
|
36
|
+
/**
|
|
37
|
+
* Returns true if the given object is an instance of PolicyInfo. 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 PolicyInfo;
|
|
41
|
+
/**
|
|
42
|
+
* Options for column mask policies. Valid only if `policyType` is `POLICY_TYPE_COLUMN_MASK`.
|
|
43
|
+
* Required on create and optional on update. When specified on update,
|
|
44
|
+
* the new options will replace the existing options as a whole
|
|
45
|
+
*/
|
|
46
|
+
readonly columnMask: pulumi.Output<outputs.PolicyInfoColumnMask | undefined>;
|
|
47
|
+
/**
|
|
48
|
+
* Optional description of the policy
|
|
49
|
+
*/
|
|
50
|
+
readonly comment: pulumi.Output<string | undefined>;
|
|
51
|
+
/**
|
|
52
|
+
* (integer) - Time at which the policy was created, in epoch milliseconds. Output only
|
|
53
|
+
*/
|
|
54
|
+
readonly createdAt: pulumi.Output<number>;
|
|
55
|
+
/**
|
|
56
|
+
* (string) - Username of the user who created the policy. Output only
|
|
57
|
+
*/
|
|
58
|
+
readonly createdBy: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* Optional list of user or group names that should be excluded from the policy
|
|
61
|
+
*/
|
|
62
|
+
readonly exceptPrincipals: pulumi.Output<string[] | undefined>;
|
|
63
|
+
/**
|
|
64
|
+
* Type of securables that the policy should take effect on.
|
|
65
|
+
* Only `table` is supported at this moment.
|
|
66
|
+
* Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
67
|
+
*/
|
|
68
|
+
readonly forSecurableType: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Optional list of condition expressions used to match table columns.
|
|
71
|
+
* Only valid when `forSecurableType` is `table`.
|
|
72
|
+
* When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
73
|
+
*/
|
|
74
|
+
readonly matchColumns: pulumi.Output<outputs.PolicyInfoMatchColumn[] | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* Name of the policy. Required on create and ignored on update.
|
|
77
|
+
* To update the name, use the `newName` field
|
|
78
|
+
*/
|
|
79
|
+
readonly name: pulumi.Output<string>;
|
|
80
|
+
/**
|
|
81
|
+
* Full name of the securable on which the policy is defined.
|
|
82
|
+
* Required on create and ignored on update
|
|
83
|
+
*/
|
|
84
|
+
readonly onSecurableFullname: pulumi.Output<string | undefined>;
|
|
85
|
+
/**
|
|
86
|
+
* Type of the securable on which the policy is defined.
|
|
87
|
+
* Only `catalog`, `schema` and `table` are supported at this moment.
|
|
88
|
+
* Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
89
|
+
*/
|
|
90
|
+
readonly onSecurableType: pulumi.Output<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
93
|
+
*/
|
|
94
|
+
readonly policyType: pulumi.Output<string>;
|
|
95
|
+
/**
|
|
96
|
+
* Options for row filter policies. Valid only if `policyType` is `POLICY_TYPE_ROW_FILTER`.
|
|
97
|
+
* Required on create and optional on update. When specified on update,
|
|
98
|
+
* the new options will replace the existing options as a whole
|
|
99
|
+
*/
|
|
100
|
+
readonly rowFilter: pulumi.Output<outputs.PolicyInfoRowFilter | undefined>;
|
|
101
|
+
/**
|
|
102
|
+
* List of user or group names that the policy applies to.
|
|
103
|
+
* Required on create and optional on update
|
|
104
|
+
*/
|
|
105
|
+
readonly toPrincipals: pulumi.Output<string[]>;
|
|
106
|
+
/**
|
|
107
|
+
* (integer) - Time at which the policy was last modified, in epoch milliseconds. Output only
|
|
108
|
+
*/
|
|
109
|
+
readonly updatedAt: pulumi.Output<number>;
|
|
110
|
+
/**
|
|
111
|
+
* (string) - Username of the user who last modified the policy. Output only
|
|
112
|
+
*/
|
|
113
|
+
readonly updatedBy: pulumi.Output<string>;
|
|
114
|
+
/**
|
|
115
|
+
* Optional condition when the policy should take effect
|
|
116
|
+
*/
|
|
117
|
+
readonly whenCondition: pulumi.Output<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* Create a PolicyInfo resource with the given unique name, arguments, and options.
|
|
120
|
+
*
|
|
121
|
+
* @param name The _unique_ name of the resource.
|
|
122
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
123
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
124
|
+
*/
|
|
125
|
+
constructor(name: string, args: PolicyInfoArgs, opts?: pulumi.CustomResourceOptions);
|
|
126
|
+
}
|
|
127
|
+
/**
|
|
128
|
+
* Input properties used for looking up and filtering PolicyInfo resources.
|
|
129
|
+
*/
|
|
130
|
+
export interface PolicyInfoState {
|
|
131
|
+
/**
|
|
132
|
+
* Options for column mask policies. Valid only if `policyType` is `POLICY_TYPE_COLUMN_MASK`.
|
|
133
|
+
* Required on create and optional on update. When specified on update,
|
|
134
|
+
* the new options will replace the existing options as a whole
|
|
135
|
+
*/
|
|
136
|
+
columnMask?: pulumi.Input<inputs.PolicyInfoColumnMask>;
|
|
137
|
+
/**
|
|
138
|
+
* Optional description of the policy
|
|
139
|
+
*/
|
|
140
|
+
comment?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* (integer) - Time at which the policy was created, in epoch milliseconds. Output only
|
|
143
|
+
*/
|
|
144
|
+
createdAt?: pulumi.Input<number>;
|
|
145
|
+
/**
|
|
146
|
+
* (string) - Username of the user who created the policy. Output only
|
|
147
|
+
*/
|
|
148
|
+
createdBy?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* Optional list of user or group names that should be excluded from the policy
|
|
151
|
+
*/
|
|
152
|
+
exceptPrincipals?: pulumi.Input<pulumi.Input<string>[]>;
|
|
153
|
+
/**
|
|
154
|
+
* Type of securables that the policy should take effect on.
|
|
155
|
+
* Only `table` is supported at this moment.
|
|
156
|
+
* Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
157
|
+
*/
|
|
158
|
+
forSecurableType?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* Optional list of condition expressions used to match table columns.
|
|
161
|
+
* Only valid when `forSecurableType` is `table`.
|
|
162
|
+
* When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
163
|
+
*/
|
|
164
|
+
matchColumns?: pulumi.Input<pulumi.Input<inputs.PolicyInfoMatchColumn>[]>;
|
|
165
|
+
/**
|
|
166
|
+
* Name of the policy. Required on create and ignored on update.
|
|
167
|
+
* To update the name, use the `newName` field
|
|
168
|
+
*/
|
|
169
|
+
name?: pulumi.Input<string>;
|
|
170
|
+
/**
|
|
171
|
+
* Full name of the securable on which the policy is defined.
|
|
172
|
+
* Required on create and ignored on update
|
|
173
|
+
*/
|
|
174
|
+
onSecurableFullname?: pulumi.Input<string>;
|
|
175
|
+
/**
|
|
176
|
+
* Type of the securable on which the policy is defined.
|
|
177
|
+
* Only `catalog`, `schema` and `table` are supported at this moment.
|
|
178
|
+
* Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
179
|
+
*/
|
|
180
|
+
onSecurableType?: pulumi.Input<string>;
|
|
181
|
+
/**
|
|
182
|
+
* Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
183
|
+
*/
|
|
184
|
+
policyType?: pulumi.Input<string>;
|
|
185
|
+
/**
|
|
186
|
+
* Options for row filter policies. Valid only if `policyType` is `POLICY_TYPE_ROW_FILTER`.
|
|
187
|
+
* Required on create and optional on update. When specified on update,
|
|
188
|
+
* the new options will replace the existing options as a whole
|
|
189
|
+
*/
|
|
190
|
+
rowFilter?: pulumi.Input<inputs.PolicyInfoRowFilter>;
|
|
191
|
+
/**
|
|
192
|
+
* List of user or group names that the policy applies to.
|
|
193
|
+
* Required on create and optional on update
|
|
194
|
+
*/
|
|
195
|
+
toPrincipals?: pulumi.Input<pulumi.Input<string>[]>;
|
|
196
|
+
/**
|
|
197
|
+
* (integer) - Time at which the policy was last modified, in epoch milliseconds. Output only
|
|
198
|
+
*/
|
|
199
|
+
updatedAt?: pulumi.Input<number>;
|
|
200
|
+
/**
|
|
201
|
+
* (string) - Username of the user who last modified the policy. Output only
|
|
202
|
+
*/
|
|
203
|
+
updatedBy?: pulumi.Input<string>;
|
|
204
|
+
/**
|
|
205
|
+
* Optional condition when the policy should take effect
|
|
206
|
+
*/
|
|
207
|
+
whenCondition?: pulumi.Input<string>;
|
|
208
|
+
}
|
|
209
|
+
/**
|
|
210
|
+
* The set of arguments for constructing a PolicyInfo resource.
|
|
211
|
+
*/
|
|
212
|
+
export interface PolicyInfoArgs {
|
|
213
|
+
/**
|
|
214
|
+
* Options for column mask policies. Valid only if `policyType` is `POLICY_TYPE_COLUMN_MASK`.
|
|
215
|
+
* Required on create and optional on update. When specified on update,
|
|
216
|
+
* the new options will replace the existing options as a whole
|
|
217
|
+
*/
|
|
218
|
+
columnMask?: pulumi.Input<inputs.PolicyInfoColumnMask>;
|
|
219
|
+
/**
|
|
220
|
+
* Optional description of the policy
|
|
221
|
+
*/
|
|
222
|
+
comment?: pulumi.Input<string>;
|
|
223
|
+
/**
|
|
224
|
+
* Optional list of user or group names that should be excluded from the policy
|
|
225
|
+
*/
|
|
226
|
+
exceptPrincipals?: pulumi.Input<pulumi.Input<string>[]>;
|
|
227
|
+
/**
|
|
228
|
+
* Type of securables that the policy should take effect on.
|
|
229
|
+
* Only `table` is supported at this moment.
|
|
230
|
+
* Required on create and optional on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
231
|
+
*/
|
|
232
|
+
forSecurableType: pulumi.Input<string>;
|
|
233
|
+
/**
|
|
234
|
+
* Optional list of condition expressions used to match table columns.
|
|
235
|
+
* Only valid when `forSecurableType` is `table`.
|
|
236
|
+
* When specified, the policy only applies to tables whose columns satisfy all match conditions
|
|
237
|
+
*/
|
|
238
|
+
matchColumns?: pulumi.Input<pulumi.Input<inputs.PolicyInfoMatchColumn>[]>;
|
|
239
|
+
/**
|
|
240
|
+
* Name of the policy. Required on create and ignored on update.
|
|
241
|
+
* To update the name, use the `newName` field
|
|
242
|
+
*/
|
|
243
|
+
name?: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Full name of the securable on which the policy is defined.
|
|
246
|
+
* Required on create and ignored on update
|
|
247
|
+
*/
|
|
248
|
+
onSecurableFullname?: pulumi.Input<string>;
|
|
249
|
+
/**
|
|
250
|
+
* Type of the securable on which the policy is defined.
|
|
251
|
+
* Only `catalog`, `schema` and `table` are supported at this moment.
|
|
252
|
+
* Required on create and ignored on update. Possible values are: `CATALOG`, `CLEAN_ROOM`, `CONNECTION`, `CREDENTIAL`, `EXTERNAL_LOCATION`, `EXTERNAL_METADATA`, `FUNCTION`, `METASTORE`, `PIPELINE`, `PROVIDER`, `RECIPIENT`, `SCHEMA`, `SHARE`, `STAGING_TABLE`, `STORAGE_CREDENTIAL`, `TABLE`, `VOLUME`
|
|
253
|
+
*/
|
|
254
|
+
onSecurableType?: pulumi.Input<string>;
|
|
255
|
+
/**
|
|
256
|
+
* Type of the policy. Required on create and ignored on update. Possible values are: `POLICY_TYPE_COLUMN_MASK`, `POLICY_TYPE_ROW_FILTER`
|
|
257
|
+
*/
|
|
258
|
+
policyType: pulumi.Input<string>;
|
|
259
|
+
/**
|
|
260
|
+
* Options for row filter policies. Valid only if `policyType` is `POLICY_TYPE_ROW_FILTER`.
|
|
261
|
+
* Required on create and optional on update. When specified on update,
|
|
262
|
+
* the new options will replace the existing options as a whole
|
|
263
|
+
*/
|
|
264
|
+
rowFilter?: pulumi.Input<inputs.PolicyInfoRowFilter>;
|
|
265
|
+
/**
|
|
266
|
+
* List of user or group names that the policy applies to.
|
|
267
|
+
* Required on create and optional on update
|
|
268
|
+
*/
|
|
269
|
+
toPrincipals: pulumi.Input<pulumi.Input<string>[]>;
|
|
270
|
+
/**
|
|
271
|
+
* Optional condition when the policy should take effect
|
|
272
|
+
*/
|
|
273
|
+
whenCondition?: pulumi.Input<string>;
|
|
274
|
+
}
|