pulumi-databricks 1.75.0a1756323569__py3-none-any.whl → 1.77.0__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.
Files changed (159) hide show
  1. pulumi_databricks/__init__.py +129 -46
  2. pulumi_databricks/_inputs.py +13377 -13798
  3. pulumi_databricks/account_federation_policy.py +473 -0
  4. pulumi_databricks/account_network_policy.py +12 -4
  5. pulumi_databricks/account_setting_v2.py +759 -0
  6. pulumi_databricks/alert_v2.py +223 -90
  7. pulumi_databricks/app.py +111 -4
  8. pulumi_databricks/apps_settings_custom_template.py +531 -0
  9. pulumi_databricks/budget_policy.py +28 -5
  10. pulumi_databricks/catalog.py +322 -2
  11. pulumi_databricks/cluster.py +47 -168
  12. pulumi_databricks/config/__init__.pyi +2 -0
  13. pulumi_databricks/config/vars.py +4 -0
  14. pulumi_databricks/connection.py +0 -34
  15. pulumi_databricks/data_quality_monitor.py +453 -0
  16. pulumi_databricks/data_quality_refresh.py +492 -0
  17. pulumi_databricks/database_database_catalog.py +8 -4
  18. pulumi_databricks/database_instance.py +354 -73
  19. pulumi_databricks/database_synced_database_table.py +52 -4
  20. pulumi_databricks/entitlements.py +21 -21
  21. pulumi_databricks/entity_tag_assignment.py +409 -0
  22. pulumi_databricks/external_metadata.py +15 -11
  23. pulumi_databricks/feature_engineering_feature.py +480 -0
  24. pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
  25. pulumi_databricks/get_account_federation_policies.py +127 -0
  26. pulumi_databricks/get_account_federation_policy.py +214 -0
  27. pulumi_databricks/get_account_network_policies.py +4 -0
  28. pulumi_databricks/get_account_network_policy.py +17 -18
  29. pulumi_databricks/get_account_setting_v2.py +331 -0
  30. pulumi_databricks/get_alert_v2.py +78 -70
  31. pulumi_databricks/get_alerts_v2.py +31 -12
  32. pulumi_databricks/get_app.py +21 -9
  33. pulumi_databricks/get_apps.py +22 -10
  34. pulumi_databricks/get_apps_settings_custom_template.py +207 -0
  35. pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
  36. pulumi_databricks/get_aws_bucket_policy.py +6 -6
  37. pulumi_databricks/get_budget_policies.py +70 -6
  38. pulumi_databricks/get_budget_policy.py +35 -30
  39. pulumi_databricks/get_catalog.py +21 -4
  40. pulumi_databricks/get_catalogs.py +23 -4
  41. pulumi_databricks/get_cluster.py +21 -4
  42. pulumi_databricks/get_cluster_policy.py +23 -4
  43. pulumi_databricks/get_clusters.py +21 -4
  44. pulumi_databricks/get_current_metastore.py +21 -4
  45. pulumi_databricks/get_dashboards.py +24 -4
  46. pulumi_databricks/get_data_quality_monitor.py +210 -0
  47. pulumi_databricks/get_data_quality_monitors.py +143 -0
  48. pulumi_databricks/get_data_quality_refresh.py +270 -0
  49. pulumi_databricks/get_data_quality_refreshes.py +207 -0
  50. pulumi_databricks/get_database_database_catalog.py +6 -20
  51. pulumi_databricks/get_database_database_catalogs.py +46 -8
  52. pulumi_databricks/get_database_instance.py +122 -75
  53. pulumi_databricks/get_database_instances.py +31 -6
  54. pulumi_databricks/get_database_synced_database_table.py +7 -28
  55. pulumi_databricks/get_database_synced_database_tables.py +43 -5
  56. pulumi_databricks/get_directory.py +20 -1
  57. pulumi_databricks/get_entity_tag_assignment.py +202 -0
  58. pulumi_databricks/get_entity_tag_assignments.py +187 -0
  59. pulumi_databricks/get_external_location.py +21 -4
  60. pulumi_databricks/get_external_locations.py +23 -4
  61. pulumi_databricks/get_external_metadata.py +12 -50
  62. pulumi_databricks/get_external_metadatas.py +55 -6
  63. pulumi_databricks/get_feature_engineering_feature.py +179 -0
  64. pulumi_databricks/get_feature_engineering_features.py +103 -0
  65. pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
  66. pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
  67. pulumi_databricks/get_functions.py +16 -1
  68. pulumi_databricks/get_instance_profiles.py +21 -4
  69. pulumi_databricks/get_jobs.py +23 -4
  70. pulumi_databricks/get_materialized_features_feature_tag.py +3 -11
  71. pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
  72. pulumi_databricks/get_metastore.py +2 -2
  73. pulumi_databricks/get_mlflow_experiment.py +18 -1
  74. pulumi_databricks/get_mlflow_model.py +18 -1
  75. pulumi_databricks/get_mlflow_models.py +23 -4
  76. pulumi_databricks/get_node_type.py +42 -5
  77. pulumi_databricks/get_notification_destinations.py +17 -1
  78. pulumi_databricks/get_online_store.py +7 -17
  79. pulumi_databricks/get_online_stores.py +29 -8
  80. pulumi_databricks/get_pipelines.py +23 -4
  81. pulumi_databricks/get_policy_info.py +28 -99
  82. pulumi_databricks/get_policy_infos.py +92 -5
  83. pulumi_databricks/get_quality_monitor_v2.py +4 -0
  84. pulumi_databricks/get_quality_monitors_v2.py +22 -3
  85. pulumi_databricks/get_registered_model.py +19 -4
  86. pulumi_databricks/get_registered_model_versions.py +19 -4
  87. pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
  88. pulumi_databricks/get_schema.py +18 -1
  89. pulumi_databricks/get_schemas.py +23 -4
  90. pulumi_databricks/get_service_principal_federation_policies.py +151 -0
  91. pulumi_databricks/get_service_principal_federation_policy.py +220 -0
  92. pulumi_databricks/get_serving_endpoints.py +19 -4
  93. pulumi_databricks/get_share.py +117 -18
  94. pulumi_databricks/get_shares.py +22 -3
  95. pulumi_databricks/get_spark_version.py +20 -1
  96. pulumi_databricks/get_sql_warehouse.py +16 -1
  97. pulumi_databricks/get_sql_warehouses.py +20 -1
  98. pulumi_databricks/get_storage_credential.py +18 -1
  99. pulumi_databricks/get_storage_credentials.py +23 -4
  100. pulumi_databricks/get_table.py +18 -1
  101. pulumi_databricks/get_tables.py +20 -1
  102. pulumi_databricks/get_tag_policies.py +139 -0
  103. pulumi_databricks/get_tag_policy.py +175 -0
  104. pulumi_databricks/get_views.py +20 -1
  105. pulumi_databricks/get_volume.py +18 -1
  106. pulumi_databricks/get_volumes.py +20 -1
  107. pulumi_databricks/get_workspace_network_option.py +8 -16
  108. pulumi_databricks/get_workspace_setting_v2.py +331 -0
  109. pulumi_databricks/get_zones.py +20 -1
  110. pulumi_databricks/git_credential.py +54 -7
  111. pulumi_databricks/grant.py +2 -2
  112. pulumi_databricks/group.py +21 -21
  113. pulumi_databricks/job.py +47 -0
  114. pulumi_databricks/library.py +165 -0
  115. pulumi_databricks/materialized_features_feature_tag.py +8 -4
  116. pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
  117. pulumi_databricks/mws_permission_assignment.py +16 -16
  118. pulumi_databricks/mws_storage_configurations.py +6 -6
  119. pulumi_databricks/mws_workspaces.py +76 -29
  120. pulumi_databricks/online_store.py +8 -4
  121. pulumi_databricks/outputs.py +26397 -22382
  122. pulumi_databricks/permission_assignment.py +266 -24
  123. pulumi_databricks/pipeline.py +37 -3
  124. pulumi_databricks/policy_info.py +43 -39
  125. pulumi_databricks/provider.py +15 -0
  126. pulumi_databricks/pulumi-plugin.json +1 -1
  127. pulumi_databricks/quality_monitor.py +47 -0
  128. pulumi_databricks/quality_monitor_v2.py +8 -4
  129. pulumi_databricks/registered_model.py +301 -29
  130. pulumi_databricks/rfa_access_request_destinations.py +286 -0
  131. pulumi_databricks/service_principal_federation_policy.py +469 -0
  132. pulumi_databricks/share.py +71 -84
  133. pulumi_databricks/sql_endpoint.py +47 -0
  134. pulumi_databricks/sql_table.py +35 -7
  135. pulumi_databricks/storage_credential.py +59 -6
  136. pulumi_databricks/tag_policy.py +357 -0
  137. pulumi_databricks/user.py +21 -21
  138. pulumi_databricks/workspace_binding.py +0 -48
  139. pulumi_databricks/workspace_network_option.py +8 -4
  140. pulumi_databricks/workspace_setting_v2.py +759 -0
  141. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
  142. pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
  143. pulumi_databricks/clean_room_asset.py +0 -891
  144. pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
  145. pulumi_databricks/clean_rooms_clean_room.py +0 -518
  146. pulumi_databricks/get_clean_room_asset.py +0 -399
  147. pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
  148. pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
  149. pulumi_databricks/get_clean_room_assets.py +0 -104
  150. pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
  151. pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
  152. pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
  153. pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
  154. pulumi_databricks/get_recipient_federation_policies.py +0 -82
  155. pulumi_databricks/get_recipient_federation_policy.py +0 -165
  156. pulumi_databricks/recipient_federation_policy.py +0 -346
  157. pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
  158. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
  159. {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
@@ -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
@@ -575,7 +583,19 @@ class StorageCredential(pulumi.CustomResource):
575
583
 
576
584
  ## Import
577
585
 
578
- This resource can be imported by name:
586
+ When using a workspace-level provider to manage storage credentials, this resource can be imported by name:
587
+
588
+ hcl
589
+
590
+ import {
591
+
592
+ to = databricks_storage_credential.this
593
+
594
+ id = "<storage_credential_name>"
595
+
596
+ }
597
+
598
+ When using an account-level provider to manage storage credentials, use the format `<metastore_id>|<storage_credential_name>`:
579
599
 
580
600
  hcl
581
601
 
@@ -583,7 +603,7 @@ class StorageCredential(pulumi.CustomResource):
583
603
 
584
604
  to = databricks_storage_credential.this
585
605
 
586
- id = "<name>"
606
+ id = "<metastore_id>|<storage_credential_name>"
587
607
 
588
608
  }
589
609
 
@@ -591,12 +611,21 @@ class StorageCredential(pulumi.CustomResource):
591
611
 
592
612
  bash
593
613
 
614
+ When using a workspace-level provider
615
+
616
+ ```sh
617
+ $ pulumi import databricks:index/storageCredential:StorageCredential this <storage_credential_name>
618
+ ```
619
+
620
+ When using an account-level provider
621
+
594
622
  ```sh
595
- $ pulumi import databricks:index/storageCredential:StorageCredential this <name>
623
+ $ pulumi import databricks:index/storageCredential:StorageCredential this '<metastore_id>|<storage_credential_name>'
596
624
  ```
597
625
 
598
626
  :param str resource_name: The name of the resource.
599
627
  :param pulumi.ResourceOptions opts: Options for the resource.
628
+ :param pulumi.Input[Union['StorageCredentialAwsIamRoleArgs', 'StorageCredentialAwsIamRoleArgsDict']] aws_iam_role: exposes two additional attributes:
600
629
  :param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
601
630
  :param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
602
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.
@@ -685,7 +714,19 @@ class StorageCredential(pulumi.CustomResource):
685
714
 
686
715
  ## Import
687
716
 
688
- This resource can be imported by name:
717
+ When using a workspace-level provider to manage storage credentials, this resource can be imported by name:
718
+
719
+ hcl
720
+
721
+ import {
722
+
723
+ to = databricks_storage_credential.this
724
+
725
+ id = "<storage_credential_name>"
726
+
727
+ }
728
+
729
+ When using an account-level provider to manage storage credentials, use the format `<metastore_id>|<storage_credential_name>`:
689
730
 
690
731
  hcl
691
732
 
@@ -693,7 +734,7 @@ class StorageCredential(pulumi.CustomResource):
693
734
 
694
735
  to = databricks_storage_credential.this
695
736
 
696
- id = "<name>"
737
+ id = "<metastore_id>|<storage_credential_name>"
697
738
 
698
739
  }
699
740
 
@@ -701,8 +742,16 @@ class StorageCredential(pulumi.CustomResource):
701
742
 
702
743
  bash
703
744
 
745
+ When using a workspace-level provider
746
+
704
747
  ```sh
705
- $ pulumi import databricks:index/storageCredential:StorageCredential this <name>
748
+ $ pulumi import databricks:index/storageCredential:StorageCredential this <storage_credential_name>
749
+ ```
750
+
751
+ When using an account-level provider
752
+
753
+ ```sh
754
+ $ pulumi import databricks:index/storageCredential:StorageCredential this '<metastore_id>|<storage_credential_name>'
706
755
  ```
707
756
 
708
757
  :param str resource_name: The name of the resource.
@@ -793,6 +842,7 @@ class StorageCredential(pulumi.CustomResource):
793
842
  :param str resource_name: The unique name of the resulting resource.
794
843
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
795
844
  :param pulumi.ResourceOptions opts: Options for the resource.
845
+ :param pulumi.Input[Union['StorageCredentialAwsIamRoleArgs', 'StorageCredentialAwsIamRoleArgsDict']] aws_iam_role: exposes two additional attributes:
796
846
  :param pulumi.Input[_builtins.bool] force_destroy: Delete storage credential regardless of its dependencies.
797
847
  :param pulumi.Input[_builtins.bool] force_update: Update storage credential regardless of its dependents.
798
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.
@@ -830,6 +880,9 @@ class StorageCredential(pulumi.CustomResource):
830
880
  @_builtins.property
831
881
  @pulumi.getter(name="awsIamRole")
832
882
  def aws_iam_role(self) -> pulumi.Output[Optional['outputs.StorageCredentialAwsIamRole']]:
883
+ """
884
+ exposes two additional attributes:
885
+ """
833
886
  return pulumi.get(self, "aws_iam_role")
834
887
 
835
888
  @_builtins.property
@@ -0,0 +1,357 @@
1
+ # coding=utf-8
2
+ # *** WARNING: this file was generated by pulumi-language-python. ***
3
+ # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+
5
+ import builtins as _builtins
6
+ import warnings
7
+ import sys
8
+ import pulumi
9
+ import pulumi.runtime
10
+ from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
15
+ from . import _utilities
16
+ from . import outputs
17
+ from ._inputs import *
18
+
19
+ __all__ = ['TagPolicyArgs', 'TagPolicy']
20
+
21
+ @pulumi.input_type
22
+ class TagPolicyArgs:
23
+ def __init__(__self__, *,
24
+ tag_key: pulumi.Input[_builtins.str],
25
+ description: Optional[pulumi.Input[_builtins.str]] = None,
26
+ values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None):
27
+ """
28
+ The set of arguments for constructing a TagPolicy resource.
29
+ """
30
+ pulumi.set(__self__, "tag_key", tag_key)
31
+ if description is not None:
32
+ pulumi.set(__self__, "description", description)
33
+ if values is not None:
34
+ pulumi.set(__self__, "values", values)
35
+
36
+ @_builtins.property
37
+ @pulumi.getter(name="tagKey")
38
+ def tag_key(self) -> pulumi.Input[_builtins.str]:
39
+ return pulumi.get(self, "tag_key")
40
+
41
+ @tag_key.setter
42
+ def tag_key(self, value: pulumi.Input[_builtins.str]):
43
+ pulumi.set(self, "tag_key", value)
44
+
45
+ @_builtins.property
46
+ @pulumi.getter
47
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
48
+ return pulumi.get(self, "description")
49
+
50
+ @description.setter
51
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
52
+ pulumi.set(self, "description", value)
53
+
54
+ @_builtins.property
55
+ @pulumi.getter
56
+ def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]:
57
+ return pulumi.get(self, "values")
58
+
59
+ @values.setter
60
+ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]):
61
+ pulumi.set(self, "values", value)
62
+
63
+
64
+ @pulumi.input_type
65
+ class _TagPolicyState:
66
+ def __init__(__self__, *,
67
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
68
+ description: Optional[pulumi.Input[_builtins.str]] = None,
69
+ tag_key: Optional[pulumi.Input[_builtins.str]] = None,
70
+ update_time: Optional[pulumi.Input[_builtins.str]] = None,
71
+ values: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]] = None):
72
+ """
73
+ Input properties used for looking up and filtering TagPolicy resources.
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
76
+ """
77
+ if create_time is not None:
78
+ pulumi.set(__self__, "create_time", create_time)
79
+ if description is not None:
80
+ pulumi.set(__self__, "description", description)
81
+ if tag_key is not None:
82
+ pulumi.set(__self__, "tag_key", tag_key)
83
+ if update_time is not None:
84
+ pulumi.set(__self__, "update_time", update_time)
85
+ if values is not None:
86
+ pulumi.set(__self__, "values", values)
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
+
100
+ @_builtins.property
101
+ @pulumi.getter
102
+ def description(self) -> Optional[pulumi.Input[_builtins.str]]:
103
+ return pulumi.get(self, "description")
104
+
105
+ @description.setter
106
+ def description(self, value: Optional[pulumi.Input[_builtins.str]]):
107
+ pulumi.set(self, "description", value)
108
+
109
+ @_builtins.property
110
+ @pulumi.getter(name="tagKey")
111
+ def tag_key(self) -> Optional[pulumi.Input[_builtins.str]]:
112
+ return pulumi.get(self, "tag_key")
113
+
114
+ @tag_key.setter
115
+ def tag_key(self, value: Optional[pulumi.Input[_builtins.str]]):
116
+ pulumi.set(self, "tag_key", value)
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
+
130
+ @_builtins.property
131
+ @pulumi.getter
132
+ def values(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]:
133
+ return pulumi.get(self, "values")
134
+
135
+ @values.setter
136
+ def values(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['TagPolicyValueArgs']]]]):
137
+ pulumi.set(self, "values", value)
138
+
139
+
140
+ @pulumi.type_token("databricks:index/tagPolicy:TagPolicy")
141
+ class TagPolicy(pulumi.CustomResource):
142
+ @overload
143
+ def __init__(__self__,
144
+ resource_name: str,
145
+ opts: Optional[pulumi.ResourceOptions] = None,
146
+ description: Optional[pulumi.Input[_builtins.str]] = None,
147
+ tag_key: Optional[pulumi.Input[_builtins.str]] = None,
148
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
149
+ __props__=None):
150
+ """
151
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
152
+
153
+ Define tag policies to manage governed tags in your account.
154
+
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
+ ```
178
+
179
+ ## Import
180
+
181
+ As of Pulumi v1.5, resources can be imported through configuration.
182
+
183
+ hcl
184
+
185
+ import {
186
+
187
+ id = "tag_key"
188
+
189
+ to = databricks_tag_policy.this
190
+
191
+ }
192
+
193
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
194
+
195
+ ```sh
196
+ $ pulumi import databricks:index/tagPolicy:TagPolicy this "tag_key"
197
+ ```
198
+
199
+ :param str resource_name: The name of the resource.
200
+ :param pulumi.ResourceOptions opts: Options for the resource.
201
+ """
202
+ ...
203
+ @overload
204
+ def __init__(__self__,
205
+ resource_name: str,
206
+ args: TagPolicyArgs,
207
+ opts: Optional[pulumi.ResourceOptions] = None):
208
+ """
209
+ [![Public Preview](https://img.shields.io/badge/Release_Stage-Public_Preview-yellowgreen)](https://docs.databricks.com/aws/en/release-notes/release-types)
210
+
211
+ Define tag policies to manage governed tags in your account.
212
+
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
+ ```
236
+
237
+ ## Import
238
+
239
+ As of Pulumi v1.5, resources can be imported through configuration.
240
+
241
+ hcl
242
+
243
+ import {
244
+
245
+ id = "tag_key"
246
+
247
+ to = databricks_tag_policy.this
248
+
249
+ }
250
+
251
+ If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
252
+
253
+ ```sh
254
+ $ pulumi import databricks:index/tagPolicy:TagPolicy this "tag_key"
255
+ ```
256
+
257
+ :param str resource_name: The name of the resource.
258
+ :param TagPolicyArgs args: The arguments to use to populate this resource's properties.
259
+ :param pulumi.ResourceOptions opts: Options for the resource.
260
+ """
261
+ ...
262
+ def __init__(__self__, resource_name: str, *args, **kwargs):
263
+ resource_args, opts = _utilities.get_resource_args_opts(TagPolicyArgs, pulumi.ResourceOptions, *args, **kwargs)
264
+ if resource_args is not None:
265
+ __self__._internal_init(resource_name, opts, **resource_args.__dict__)
266
+ else:
267
+ __self__._internal_init(resource_name, *args, **kwargs)
268
+
269
+ def _internal_init(__self__,
270
+ resource_name: str,
271
+ opts: Optional[pulumi.ResourceOptions] = None,
272
+ description: Optional[pulumi.Input[_builtins.str]] = None,
273
+ tag_key: Optional[pulumi.Input[_builtins.str]] = None,
274
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None,
275
+ __props__=None):
276
+ opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
277
+ if not isinstance(opts, pulumi.ResourceOptions):
278
+ raise TypeError('Expected resource options to be a ResourceOptions instance')
279
+ if opts.id is None:
280
+ if __props__ is not None:
281
+ raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
282
+ __props__ = TagPolicyArgs.__new__(TagPolicyArgs)
283
+
284
+ __props__.__dict__["description"] = description
285
+ if tag_key is None and not opts.urn:
286
+ raise TypeError("Missing required property 'tag_key'")
287
+ __props__.__dict__["tag_key"] = tag_key
288
+ __props__.__dict__["values"] = values
289
+ __props__.__dict__["create_time"] = None
290
+ __props__.__dict__["update_time"] = None
291
+ super(TagPolicy, __self__).__init__(
292
+ 'databricks:index/tagPolicy:TagPolicy',
293
+ resource_name,
294
+ __props__,
295
+ opts)
296
+
297
+ @staticmethod
298
+ def get(resource_name: str,
299
+ id: pulumi.Input[str],
300
+ opts: Optional[pulumi.ResourceOptions] = None,
301
+ create_time: Optional[pulumi.Input[_builtins.str]] = None,
302
+ description: Optional[pulumi.Input[_builtins.str]] = None,
303
+ tag_key: Optional[pulumi.Input[_builtins.str]] = None,
304
+ update_time: Optional[pulumi.Input[_builtins.str]] = None,
305
+ values: Optional[pulumi.Input[Sequence[pulumi.Input[Union['TagPolicyValueArgs', 'TagPolicyValueArgsDict']]]]] = None) -> 'TagPolicy':
306
+ """
307
+ Get an existing TagPolicy resource's state with the given name, id, and optional extra
308
+ properties used to qualify the lookup.
309
+
310
+ :param str resource_name: The unique name of the resulting resource.
311
+ :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
312
+ :param pulumi.ResourceOptions opts: Options for the resource.
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
315
+ """
316
+ opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
317
+
318
+ __props__ = _TagPolicyState.__new__(_TagPolicyState)
319
+
320
+ __props__.__dict__["create_time"] = create_time
321
+ __props__.__dict__["description"] = description
322
+ __props__.__dict__["tag_key"] = tag_key
323
+ __props__.__dict__["update_time"] = update_time
324
+ __props__.__dict__["values"] = values
325
+ return TagPolicy(resource_name, opts=opts, __props__=__props__)
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
+
335
+ @_builtins.property
336
+ @pulumi.getter
337
+ def description(self) -> pulumi.Output[Optional[_builtins.str]]:
338
+ return pulumi.get(self, "description")
339
+
340
+ @_builtins.property
341
+ @pulumi.getter(name="tagKey")
342
+ def tag_key(self) -> pulumi.Output[_builtins.str]:
343
+ return pulumi.get(self, "tag_key")
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
+
353
+ @_builtins.property
354
+ @pulumi.getter
355
+ def values(self) -> pulumi.Output[Optional[Sequence['outputs.TagPolicyValue']]]:
356
+ return pulumi.get(self, "values")
357
+