pulumi-databricks 1.76.0a1757569246__py3-none-any.whl → 1.79.0a1764800092__py3-none-any.whl
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.
Potentially problematic release.
This version of pulumi-databricks might be problematic. Click here for more details.
- pulumi_databricks/__init__.py +54 -46
- pulumi_databricks/_inputs.py +19547 -26284
- pulumi_databricks/account_federation_policy.py +48 -16
- pulumi_databricks/account_network_policy.py +60 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +174 -134
- pulumi_databricks/app.py +175 -0
- pulumi_databricks/apps_settings_custom_template.py +127 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +568 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +265 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +20 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +47 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +56 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +23 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11558 -13079
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +354 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +52 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.76.0a1757569246.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1764800092.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -565
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.76.0a1757569246.dist-info/RECORD +0 -250
- {pulumi_databricks-1.76.0a1757569246.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.76.0a1757569246.dist-info → pulumi_databricks-1.79.0a1764800092.dist-info}/top_level.txt +0 -0
pulumi_databricks/sql_table.py
CHANGED
|
@@ -42,7 +42,7 @@ class SqlTableArgs:
|
|
|
42
42
|
The set of arguments for constructing a SqlTable resource.
|
|
43
43
|
:param pulumi.Input[_builtins.str] catalog_name: Name of parent catalog. Change forces the creation of a new resource.
|
|
44
44
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
45
|
-
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
45
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
46
46
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] cluster_keys: a subset of columns to liquid cluster the table by. For automatic clustering, set `cluster_keys` to `["AUTO"]`. To turn off clustering, set it to `["NONE"]`. Conflicts with `partitions`.
|
|
47
47
|
:param pulumi.Input[_builtins.str] comment: User-supplied free-form text. Changing the comment is not currently supported on the `VIEW` table type.
|
|
48
48
|
:param pulumi.Input[_builtins.str] data_source_format: External tables are supported in multiple data source formats. The string constants identifying these formats are `DELTA`, `CSV`, `JSON`, `AVRO`, `PARQUET`, `ORC`, and `TEXT`. Change forces the creation of a new resource. Not supported for `MANAGED` tables or `VIEW`.
|
|
@@ -52,7 +52,7 @@ class SqlTableArgs:
|
|
|
52
52
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.str]]] partitions: a subset of columns to partition the table by. Change forces the creation of a new resource. Conflicts with `cluster_keys`.
|
|
53
53
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
54
54
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
55
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
55
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
56
56
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
57
57
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
58
58
|
"""
|
|
@@ -116,7 +116,7 @@ class SqlTableArgs:
|
|
|
116
116
|
@pulumi.getter(name="tableType")
|
|
117
117
|
def table_type(self) -> pulumi.Input[_builtins.str]:
|
|
118
118
|
"""
|
|
119
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
119
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
120
120
|
"""
|
|
121
121
|
return pulumi.get(self, "table_type")
|
|
122
122
|
|
|
@@ -254,7 +254,7 @@ class SqlTableArgs:
|
|
|
254
254
|
@pulumi.getter(name="storageLocation")
|
|
255
255
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
256
256
|
"""
|
|
257
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
257
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
258
258
|
"""
|
|
259
259
|
return pulumi.get(self, "storage_location")
|
|
260
260
|
|
|
@@ -305,6 +305,7 @@ class _SqlTableState:
|
|
|
305
305
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
306
306
|
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
307
307
|
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
|
+
table_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
308
309
|
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
309
310
|
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
310
311
|
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
@@ -321,8 +322,9 @@ class _SqlTableState:
|
|
|
321
322
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
322
323
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
323
324
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
324
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
325
|
-
:param pulumi.Input[_builtins.str]
|
|
325
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
326
|
+
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
327
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
326
328
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
327
329
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
328
330
|
"""
|
|
@@ -356,6 +358,8 @@ class _SqlTableState:
|
|
|
356
358
|
pulumi.set(__self__, "storage_credential_name", storage_credential_name)
|
|
357
359
|
if storage_location is not None:
|
|
358
360
|
pulumi.set(__self__, "storage_location", storage_location)
|
|
361
|
+
if table_id is not None:
|
|
362
|
+
pulumi.set(__self__, "table_id", table_id)
|
|
359
363
|
if table_type is not None:
|
|
360
364
|
pulumi.set(__self__, "table_type", table_type)
|
|
361
365
|
if view_definition is not None:
|
|
@@ -526,7 +530,7 @@ class _SqlTableState:
|
|
|
526
530
|
@pulumi.getter(name="storageLocation")
|
|
527
531
|
def storage_location(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
528
532
|
"""
|
|
529
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
533
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
530
534
|
"""
|
|
531
535
|
return pulumi.get(self, "storage_location")
|
|
532
536
|
|
|
@@ -534,11 +538,23 @@ class _SqlTableState:
|
|
|
534
538
|
def storage_location(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
535
539
|
pulumi.set(self, "storage_location", value)
|
|
536
540
|
|
|
541
|
+
@_builtins.property
|
|
542
|
+
@pulumi.getter(name="tableId")
|
|
543
|
+
def table_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
544
|
+
"""
|
|
545
|
+
The unique identifier of the table.
|
|
546
|
+
"""
|
|
547
|
+
return pulumi.get(self, "table_id")
|
|
548
|
+
|
|
549
|
+
@table_id.setter
|
|
550
|
+
def table_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
551
|
+
pulumi.set(self, "table_id", value)
|
|
552
|
+
|
|
537
553
|
@_builtins.property
|
|
538
554
|
@pulumi.getter(name="tableType")
|
|
539
555
|
def table_type(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
540
556
|
"""
|
|
541
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
557
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
542
558
|
"""
|
|
543
559
|
return pulumi.get(self, "table_type")
|
|
544
560
|
|
|
@@ -631,8 +647,8 @@ class SqlTable(pulumi.CustomResource):
|
|
|
631
647
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
632
648
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
633
649
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
634
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
635
|
-
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
650
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
651
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
636
652
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
637
653
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
638
654
|
"""
|
|
@@ -730,6 +746,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
730
746
|
__props__.__dict__["view_definition"] = view_definition
|
|
731
747
|
__props__.__dict__["warehouse_id"] = warehouse_id
|
|
732
748
|
__props__.__dict__["effective_properties"] = None
|
|
749
|
+
__props__.__dict__["table_id"] = None
|
|
733
750
|
super(SqlTable, __self__).__init__(
|
|
734
751
|
'databricks:index/sqlTable:SqlTable',
|
|
735
752
|
resource_name,
|
|
@@ -755,6 +772,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
755
772
|
schema_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
756
773
|
storage_credential_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
757
774
|
storage_location: Optional[pulumi.Input[_builtins.str]] = None,
|
|
775
|
+
table_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
758
776
|
table_type: Optional[pulumi.Input[_builtins.str]] = None,
|
|
759
777
|
view_definition: Optional[pulumi.Input[_builtins.str]] = None,
|
|
760
778
|
warehouse_id: Optional[pulumi.Input[_builtins.str]] = None) -> 'SqlTable':
|
|
@@ -776,8 +794,9 @@ class SqlTable(pulumi.CustomResource):
|
|
|
776
794
|
:param pulumi.Input[Mapping[str, pulumi.Input[_builtins.str]]] properties: A map of table properties.
|
|
777
795
|
:param pulumi.Input[_builtins.str] schema_name: Name of parent Schema relative to parent Catalog. Change forces the creation of a new resource.
|
|
778
796
|
:param pulumi.Input[_builtins.str] storage_credential_name: For EXTERNAL Tables only: the name of storage credential to use. Change forces the creation of a new resource.
|
|
779
|
-
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
780
|
-
:param pulumi.Input[_builtins.str]
|
|
797
|
+
:param pulumi.Input[_builtins.str] storage_location: URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
798
|
+
:param pulumi.Input[_builtins.str] table_id: The unique identifier of the table.
|
|
799
|
+
:param pulumi.Input[_builtins.str] table_type: Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
781
800
|
:param pulumi.Input[_builtins.str] view_definition: SQL text defining the view (for `table_type == "VIEW"`). Not supported for `MANAGED` or `EXTERNAL` table_type.
|
|
782
801
|
:param pulumi.Input[_builtins.str] warehouse_id: All table CRUD operations must be executed on a running cluster or SQL warehouse. If a `warehouse_id` is specified, that SQL warehouse will be used to execute SQL commands to manage this table. Conflicts with `cluster_id`.
|
|
783
802
|
"""
|
|
@@ -800,6 +819,7 @@ class SqlTable(pulumi.CustomResource):
|
|
|
800
819
|
__props__.__dict__["schema_name"] = schema_name
|
|
801
820
|
__props__.__dict__["storage_credential_name"] = storage_credential_name
|
|
802
821
|
__props__.__dict__["storage_location"] = storage_location
|
|
822
|
+
__props__.__dict__["table_id"] = table_id
|
|
803
823
|
__props__.__dict__["table_type"] = table_type
|
|
804
824
|
__props__.__dict__["view_definition"] = view_definition
|
|
805
825
|
__props__.__dict__["warehouse_id"] = warehouse_id
|
|
@@ -912,15 +932,23 @@ class SqlTable(pulumi.CustomResource):
|
|
|
912
932
|
@pulumi.getter(name="storageLocation")
|
|
913
933
|
def storage_location(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
914
934
|
"""
|
|
915
|
-
URL of storage location for Table data (required for EXTERNAL Tables). Not supported for `VIEW` or `MANAGED` table_type.
|
|
935
|
+
URL of storage location for Table data (required for EXTERNAL Tables). If the URL contains special characters, such as space, `&`, etc., they should be percent-encoded (space > `%20`, etc.). Not supported for `VIEW` or `MANAGED` table_type.
|
|
916
936
|
"""
|
|
917
937
|
return pulumi.get(self, "storage_location")
|
|
918
938
|
|
|
939
|
+
@_builtins.property
|
|
940
|
+
@pulumi.getter(name="tableId")
|
|
941
|
+
def table_id(self) -> pulumi.Output[_builtins.str]:
|
|
942
|
+
"""
|
|
943
|
+
The unique identifier of the table.
|
|
944
|
+
"""
|
|
945
|
+
return pulumi.get(self, "table_id")
|
|
946
|
+
|
|
919
947
|
@_builtins.property
|
|
920
948
|
@pulumi.getter(name="tableType")
|
|
921
949
|
def table_type(self) -> pulumi.Output[_builtins.str]:
|
|
922
950
|
"""
|
|
923
|
-
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL
|
|
951
|
+
Distinguishes a view vs. managed/external Table. `MANAGED`, `EXTERNAL` or `VIEW`. Change forces the creation of a new resource.
|
|
924
952
|
"""
|
|
925
953
|
return pulumi.get(self, "table_type")
|
|
926
954
|
|
|
@@ -38,6 +38,7 @@ class StorageCredentialArgs:
|
|
|
38
38
|
skip_validation: Optional[pulumi.Input[_builtins.bool]] = None):
|
|
39
39
|
"""
|
|
40
40
|
The set of arguments for constructing a StorageCredential resource.
|
|
41
|
+
:param pulumi.Input['StorageCredentialAwsIamRoleArgs'] aws_iam_role: exposes two additional attributes:
|
|
41
42
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
42
43
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
43
44
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -83,6 +84,9 @@ class StorageCredentialArgs:
|
|
|
83
84
|
@_builtins.property
|
|
84
85
|
@pulumi.getter(name="awsIamRole")
|
|
85
86
|
def aws_iam_role(self) -> Optional[pulumi.Input['StorageCredentialAwsIamRoleArgs']]:
|
|
87
|
+
"""
|
|
88
|
+
exposes two additional attributes:
|
|
89
|
+
"""
|
|
86
90
|
return pulumi.get(self, "aws_iam_role")
|
|
87
91
|
|
|
88
92
|
@aws_iam_role.setter
|
|
@@ -263,6 +267,7 @@ class _StorageCredentialState:
|
|
|
263
267
|
storage_credential_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
264
268
|
"""
|
|
265
269
|
Input properties used for looking up and filtering StorageCredential resources.
|
|
270
|
+
:param pulumi.Input['StorageCredentialAwsIamRoleArgs'] aws_iam_role: exposes two additional attributes:
|
|
266
271
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
267
272
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
268
273
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -311,6 +316,9 @@ class _StorageCredentialState:
|
|
|
311
316
|
@_builtins.property
|
|
312
317
|
@pulumi.getter(name="awsIamRole")
|
|
313
318
|
def aws_iam_role(self) -> Optional[pulumi.Input['StorageCredentialAwsIamRoleArgs']]:
|
|
319
|
+
"""
|
|
320
|
+
exposes two additional attributes:
|
|
321
|
+
"""
|
|
314
322
|
return pulumi.get(self, "aws_iam_role")
|
|
315
323
|
|
|
316
324
|
@aws_iam_role.setter
|
|
@@ -612,11 +620,12 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
612
620
|
When using an account-level provider
|
|
613
621
|
|
|
614
622
|
```sh
|
|
615
|
-
$ pulumi import databricks:index/storageCredential:StorageCredential this <metastore_id>|<storage_credential_name>
|
|
623
|
+
$ pulumi import databricks:index/storageCredential:StorageCredential this '<metastore_id>|<storage_credential_name>'
|
|
616
624
|
```
|
|
617
625
|
|
|
618
626
|
:param str resource_name: The name of the resource.
|
|
619
627
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
628
|
+
:param pulumi.Input[Union['StorageCredentialAwsIamRoleArgs', 'StorageCredentialAwsIamRoleArgsDict']] aws_iam_role: exposes two additional attributes:
|
|
620
629
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
621
630
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
622
631
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -742,7 +751,7 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
742
751
|
When using an account-level provider
|
|
743
752
|
|
|
744
753
|
```sh
|
|
745
|
-
$ pulumi import databricks:index/storageCredential:StorageCredential this <metastore_id>|<storage_credential_name>
|
|
754
|
+
$ pulumi import databricks:index/storageCredential:StorageCredential this '<metastore_id>|<storage_credential_name>'
|
|
746
755
|
```
|
|
747
756
|
|
|
748
757
|
:param str resource_name: The name of the resource.
|
|
@@ -833,6 +842,7 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
833
842
|
:param str resource_name: The unique name of the resulting resource.
|
|
834
843
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
835
844
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
845
|
+
:param pulumi.Input[Union['StorageCredentialAwsIamRoleArgs', 'StorageCredentialAwsIamRoleArgsDict']] aws_iam_role: exposes two additional attributes:
|
|
836
846
|
:param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
|
|
837
847
|
:param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
|
|
838
848
|
:param pulumi.Input[_builtins.str] isolation_mode: Whether the storage credential is accessible from all workspaces or a specific set of workspaces. Can be `ISOLATION_MODE_ISOLATED` or `ISOLATION_MODE_OPEN`. Setting the credential to `ISOLATION_MODE_ISOLATED` will automatically allow access from the current workspace.
|
|
@@ -870,6 +880,9 @@ class StorageCredential(pulumi.CustomResource):
|
|
|
870
880
|
@_builtins.property
|
|
871
881
|
@pulumi.getter(name="awsIamRole")
|
|
872
882
|
def aws_iam_role(self) -> pulumi.Output[Optional['outputs.StorageCredentialAwsIamRole']]:
|
|
883
|
+
"""
|
|
884
|
+
exposes two additional attributes:
|
|
885
|
+
"""
|
|
873
886
|
return pulumi.get(self, "aws_iam_role")
|
|
874
887
|
|
|
875
888
|
@_builtins.property
|
pulumi_databricks/tag_policy.py
CHANGED
|
@@ -23,19 +23,15 @@ class TagPolicyArgs:
|
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
tag_key: pulumi.Input[_builtins.str],
|
|
25
25
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
|
-
values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None
|
|
27
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None):
|
|
26
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a TagPolicy resource.
|
|
30
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
31
29
|
"""
|
|
32
30
|
pulumi.set(__self__, "tag_key", tag_key)
|
|
33
31
|
if description is not None:
|
|
34
32
|
pulumi.set(__self__, "description", description)
|
|
35
33
|
if values is not None:
|
|
36
34
|
pulumi.set(__self__, "values", values)
|
|
37
|
-
if workspace_id is not None:
|
|
38
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
39
35
|
|
|
40
36
|
@_builtins.property
|
|
41
37
|
@pulumi.getter(name="tagKey")
|
|
@@ -64,38 +60,42 @@ class TagPolicyArgs:
|
|
|
64
60
|
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]):
|
|
65
61
|
pulumi.set(self, "values", value)
|
|
66
62
|
|
|
67
|
-
@_builtins.property
|
|
68
|
-
@pulumi.getter(name="workspaceId")
|
|
69
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
70
|
-
"""
|
|
71
|
-
Workspace ID of the resource
|
|
72
|
-
"""
|
|
73
|
-
return pulumi.get(self, "workspace_id")
|
|
74
|
-
|
|
75
|
-
@workspace_id.setter
|
|
76
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
77
|
-
pulumi.set(self, "workspace_id", value)
|
|
78
|
-
|
|
79
63
|
|
|
80
64
|
@pulumi.input_type
|
|
81
65
|
class _TagPolicyState:
|
|
82
66
|
def __init__(__self__, *,
|
|
67
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
83
68
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
84
69
|
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
85
|
-
|
|
86
|
-
|
|
70
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
71
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None):
|
|
87
72
|
"""
|
|
88
73
|
Input properties used for looking up and filtering TagPolicy resources.
|
|
89
|
-
:param pulumi.Input[_builtins.str]
|
|
74
|
+
:param pulumi.Input[_builtins.str] create_time: (string) - Timestamp when the tag policy was created
|
|
75
|
+
:param pulumi.Input[_builtins.str] update_time: (string) - Timestamp when the tag policy was last updated
|
|
90
76
|
"""
|
|
77
|
+
if create_time is not None:
|
|
78
|
+
pulumi.set(__self__, "create_time", create_time)
|
|
91
79
|
if description is not None:
|
|
92
80
|
pulumi.set(__self__, "description", description)
|
|
93
81
|
if tag_key is not None:
|
|
94
82
|
pulumi.set(__self__, "tag_key", tag_key)
|
|
83
|
+
if update_time is not None:
|
|
84
|
+
pulumi.set(__self__, "update_time", update_time)
|
|
95
85
|
if values is not None:
|
|
96
86
|
pulumi.set(__self__, "values", values)
|
|
97
|
-
|
|
98
|
-
|
|
87
|
+
|
|
88
|
+
@_builtins.property
|
|
89
|
+
@pulumi.getter(name="createTime")
|
|
90
|
+
def create_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
91
|
+
"""
|
|
92
|
+
(string) - Timestamp when the tag policy was created
|
|
93
|
+
"""
|
|
94
|
+
return pulumi.get(self, "create_time")
|
|
95
|
+
|
|
96
|
+
@create_time.setter
|
|
97
|
+
def create_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
98
|
+
pulumi.set(self, "create_time", value)
|
|
99
99
|
|
|
100
100
|
@_builtins.property
|
|
101
101
|
@pulumi.getter
|
|
@@ -115,6 +115,18 @@ class _TagPolicyState:
|
|
|
115
115
|
def tag_key(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
116
116
|
pulumi.set(self, "tag_key", value)
|
|
117
117
|
|
|
118
|
+
@_builtins.property
|
|
119
|
+
@pulumi.getter(name="updateTime")
|
|
120
|
+
def update_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
121
|
+
"""
|
|
122
|
+
(string) - Timestamp when the tag policy was last updated
|
|
123
|
+
"""
|
|
124
|
+
return pulumi.get(self, "update_time")
|
|
125
|
+
|
|
126
|
+
@update_time.setter
|
|
127
|
+
def update_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
128
|
+
pulumi.set(self, "update_time", value)
|
|
129
|
+
|
|
118
130
|
@_builtins.property
|
|
119
131
|
@pulumi.getter
|
|
120
132
|
def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]:
|
|
@@ -124,18 +136,6 @@ class _TagPolicyState:
|
|
|
124
136
|
def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]):
|
|
125
137
|
pulumi.set(self, "values", value)
|
|
126
138
|
|
|
127
|
-
@_builtins.property
|
|
128
|
-
@pulumi.getter(name="workspaceId")
|
|
129
|
-
def workspace_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
130
|
-
"""
|
|
131
|
-
Workspace ID of the resource
|
|
132
|
-
"""
|
|
133
|
-
return pulumi.get(self, "workspace_id")
|
|
134
|
-
|
|
135
|
-
@workspace_id.setter
|
|
136
|
-
def workspace_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
137
|
-
pulumi.set(self, "workspace_id", value)
|
|
138
|
-
|
|
139
139
|
|
|
140
140
|
@pulumi.type_token("databricks:index/tagPolicy:TagPolicy")
|
|
141
141
|
class TagPolicy(pulumi.CustomResource):
|
|
@@ -146,12 +146,35 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
146
146
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
147
147
|
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
148
148
|
values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
|
|
149
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
150
149
|
__props__=None):
|
|
151
150
|
"""
|
|
151
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
152
|
+
|
|
152
153
|
Define tag policies to manage governed tags in your account.
|
|
153
154
|
|
|
154
|
-
> **Note** This resource can only be used with
|
|
155
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
156
|
+
|
|
157
|
+
## Example Usage
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import pulumi
|
|
161
|
+
import pulumi_databricks as databricks
|
|
162
|
+
|
|
163
|
+
example_tag_policy = databricks.TagPolicy("example_tag_policy",
|
|
164
|
+
tag_key="example_tag_key",
|
|
165
|
+
description="Example description.",
|
|
166
|
+
values=[
|
|
167
|
+
{
|
|
168
|
+
"name": "example_value_1",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
"name": "example_value_2",
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"name": "example_value_3",
|
|
175
|
+
},
|
|
176
|
+
])
|
|
177
|
+
```
|
|
155
178
|
|
|
156
179
|
## Import
|
|
157
180
|
|
|
@@ -170,12 +193,11 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
170
193
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
171
194
|
|
|
172
195
|
```sh
|
|
173
|
-
$ pulumi import databricks:index/tagPolicy:TagPolicy
|
|
196
|
+
$ pulumi import databricks:index/tagPolicy:TagPolicy this "tag_key"
|
|
174
197
|
```
|
|
175
198
|
|
|
176
199
|
:param str resource_name: The name of the resource.
|
|
177
200
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
178
|
-
:param pulumi.Input[_builtins.str] workspace_id: Workspace ID of the resource
|
|
179
201
|
"""
|
|
180
202
|
...
|
|
181
203
|
@overload
|
|
@@ -184,9 +206,33 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
184
206
|
args: TagPolicyArgs,
|
|
185
207
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
186
208
|
"""
|
|
209
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
210
|
+
|
|
187
211
|
Define tag policies to manage governed tags in your account.
|
|
188
212
|
|
|
189
|
-
> **Note** This resource can only be used with
|
|
213
|
+
> **Note** This resource can only be used with a workspace-level provider!
|
|
214
|
+
|
|
215
|
+
## Example Usage
|
|
216
|
+
|
|
217
|
+
```python
|
|
218
|
+
import pulumi
|
|
219
|
+
import pulumi_databricks as databricks
|
|
220
|
+
|
|
221
|
+
example_tag_policy = databricks.TagPolicy("example_tag_policy",
|
|
222
|
+
tag_key="example_tag_key",
|
|
223
|
+
description="Example description.",
|
|
224
|
+
values=[
|
|
225
|
+
{
|
|
226
|
+
"name": "example_value_1",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "example_value_2",
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"name": "example_value_3",
|
|
233
|
+
},
|
|
234
|
+
])
|
|
235
|
+
```
|
|
190
236
|
|
|
191
237
|
## Import
|
|
192
238
|
|
|
@@ -205,7 +251,7 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
205
251
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
206
252
|
|
|
207
253
|
```sh
|
|
208
|
-
$ pulumi import databricks:index/tagPolicy:TagPolicy
|
|
254
|
+
$ pulumi import databricks:index/tagPolicy:TagPolicy this "tag_key"
|
|
209
255
|
```
|
|
210
256
|
|
|
211
257
|
:param str resource_name: The name of the resource.
|
|
@@ -226,7 +272,6 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
226
272
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
227
273
|
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
228
274
|
values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
|
|
229
|
-
workspace_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
230
275
|
__props__=None):
|
|
231
276
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
232
277
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -241,7 +286,8 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
241
286
|
raise TypeError("Missing required property 'tag_key'")
|
|
242
287
|
__props__.__dict__["tag_key"] = tag_key
|
|
243
288
|
__props__.__dict__["values"] = values
|
|
244
|
-
__props__.__dict__["
|
|
289
|
+
__props__.__dict__["create_time"] = None
|
|
290
|
+
__props__.__dict__["update_time"] = None
|
|
245
291
|
super(TagPolicy, __self__).__init__(
|
|
246
292
|
'databricks:index/tagPolicy:TagPolicy',
|
|
247
293
|
resource_name,
|
|
@@ -252,10 +298,11 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
252
298
|
def get(resource_name: str,
|
|
253
299
|
id: pulumi.Input[str],
|
|
254
300
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
301
|
+
create_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
255
302
|
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
303
|
tag_key: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
|
-
|
|
258
|
-
|
|
304
|
+
update_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
305
|
+
values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None) -> 'TagPolicy':
|
|
259
306
|
"""
|
|
260
307
|
Get an existing TagPolicy resource's state with the given name, id, and optional extra
|
|
261
308
|
properties used to qualify the lookup.
|
|
@@ -263,18 +310,28 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
263
310
|
:param str resource_name: The unique name of the resulting resource.
|
|
264
311
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
265
312
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
266
|
-
:param pulumi.Input[_builtins.str]
|
|
313
|
+
:param pulumi.Input[_builtins.str] create_time: (string) - Timestamp when the tag policy was created
|
|
314
|
+
:param pulumi.Input[_builtins.str] update_time: (string) - Timestamp when the tag policy was last updated
|
|
267
315
|
"""
|
|
268
316
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
269
317
|
|
|
270
318
|
__props__ = _TagPolicyState.__new__(_TagPolicyState)
|
|
271
319
|
|
|
320
|
+
__props__.__dict__["create_time"] = create_time
|
|
272
321
|
__props__.__dict__["description"] = description
|
|
273
322
|
__props__.__dict__["tag_key"] = tag_key
|
|
323
|
+
__props__.__dict__["update_time"] = update_time
|
|
274
324
|
__props__.__dict__["values"] = values
|
|
275
|
-
__props__.__dict__["workspace_id"] = workspace_id
|
|
276
325
|
return TagPolicy(resource_name, opts=opts, __props__=__props__)
|
|
277
326
|
|
|
327
|
+
@_builtins.property
|
|
328
|
+
@pulumi.getter(name="createTime")
|
|
329
|
+
def create_time(self) -> pulumi.Output[_builtins.str]:
|
|
330
|
+
"""
|
|
331
|
+
(string) - Timestamp when the tag policy was created
|
|
332
|
+
"""
|
|
333
|
+
return pulumi.get(self, "create_time")
|
|
334
|
+
|
|
278
335
|
@_builtins.property
|
|
279
336
|
@pulumi.getter
|
|
280
337
|
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
@@ -285,16 +342,16 @@ class TagPolicy(pulumi.CustomResource):
|
|
|
285
342
|
def tag_key(self) -> pulumi.Output[_builtins.str]:
|
|
286
343
|
return pulumi.get(self, "tag_key")
|
|
287
344
|
|
|
345
|
+
@_builtins.property
|
|
346
|
+
@pulumi.getter(name="updateTime")
|
|
347
|
+
def update_time(self) -> pulumi.Output[_builtins.str]:
|
|
348
|
+
"""
|
|
349
|
+
(string) - Timestamp when the tag policy was last updated
|
|
350
|
+
"""
|
|
351
|
+
return pulumi.get(self, "update_time")
|
|
352
|
+
|
|
288
353
|
@_builtins.property
|
|
289
354
|
@pulumi.getter
|
|
290
355
|
def values(self) -> pulumi.Output[Optional[Sequence['outputs.TagPolicyValue']]]:
|
|
291
356
|
return pulumi.get(self, "values")
|
|
292
357
|
|
|
293
|
-
@_builtins.property
|
|
294
|
-
@pulumi.getter(name="workspaceId")
|
|
295
|
-
def workspace_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
296
|
-
"""
|
|
297
|
-
Workspace ID of the resource
|
|
298
|
-
"""
|
|
299
|
-
return pulumi.get(self, "workspace_id")
|
|
300
|
-
|