pulumi-databricks 1.74.0a1753335781__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.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- 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 +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- 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 +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -22,15 +21,17 @@ __all__ = ['BudgetPolicyArgs', 'BudgetPolicy']
|
|
|
22
21
|
@pulumi.input_type
|
|
23
22
|
class BudgetPolicyArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
|
-
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
24
|
+
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
26
25
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]] = None,
|
|
27
|
-
|
|
26
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
28
|
"""
|
|
29
29
|
The set of arguments for constructing a BudgetPolicy resource.
|
|
30
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
30
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] binding_workspace_ids: List of workspaces that this budget policy will be exclusively bound to.
|
|
31
31
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
32
32
|
:param pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]] custom_tags: A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
33
|
-
:param pulumi.Input[
|
|
33
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
34
|
+
:param pulumi.Input[_builtins.str] policy_name: The name of the policy.
|
|
34
35
|
- Must be unique among active policies.
|
|
35
36
|
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
36
37
|
- Can't start with reserved keywords such as `databricks:default-policy`
|
|
@@ -39,12 +40,14 @@ class BudgetPolicyArgs:
|
|
|
39
40
|
pulumi.set(__self__, "binding_workspace_ids", binding_workspace_ids)
|
|
40
41
|
if custom_tags is not None:
|
|
41
42
|
pulumi.set(__self__, "custom_tags", custom_tags)
|
|
43
|
+
if policy_id is not None:
|
|
44
|
+
pulumi.set(__self__, "policy_id", policy_id)
|
|
42
45
|
if policy_name is not None:
|
|
43
46
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
44
47
|
|
|
45
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
46
49
|
@pulumi.getter(name="bindingWorkspaceIds")
|
|
47
|
-
def binding_workspace_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
50
|
+
def binding_workspace_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
48
51
|
"""
|
|
49
52
|
List of workspaces that this budget policy will be exclusively bound to.
|
|
50
53
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
@@ -52,10 +55,10 @@ class BudgetPolicyArgs:
|
|
|
52
55
|
return pulumi.get(self, "binding_workspace_ids")
|
|
53
56
|
|
|
54
57
|
@binding_workspace_ids.setter
|
|
55
|
-
def binding_workspace_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
58
|
+
def binding_workspace_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
|
|
56
59
|
pulumi.set(self, "binding_workspace_ids", value)
|
|
57
60
|
|
|
58
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
59
62
|
@pulumi.getter(name="customTags")
|
|
60
63
|
def custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]]:
|
|
61
64
|
"""
|
|
@@ -67,9 +70,21 @@ class BudgetPolicyArgs:
|
|
|
67
70
|
def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]]):
|
|
68
71
|
pulumi.set(self, "custom_tags", value)
|
|
69
72
|
|
|
70
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter(name="policyId")
|
|
75
|
+
def policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
76
|
+
"""
|
|
77
|
+
(string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "policy_id")
|
|
80
|
+
|
|
81
|
+
@policy_id.setter
|
|
82
|
+
def policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
|
+
pulumi.set(self, "policy_id", value)
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
71
86
|
@pulumi.getter(name="policyName")
|
|
72
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
87
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
73
88
|
"""
|
|
74
89
|
The name of the policy.
|
|
75
90
|
- Must be unique among active policies.
|
|
@@ -79,24 +94,24 @@ class BudgetPolicyArgs:
|
|
|
79
94
|
return pulumi.get(self, "policy_name")
|
|
80
95
|
|
|
81
96
|
@policy_name.setter
|
|
82
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
97
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
83
98
|
pulumi.set(self, "policy_name", value)
|
|
84
99
|
|
|
85
100
|
|
|
86
101
|
@pulumi.input_type
|
|
87
102
|
class _BudgetPolicyState:
|
|
88
103
|
def __init__(__self__, *,
|
|
89
|
-
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
104
|
+
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
90
105
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]] = None,
|
|
91
|
-
policy_id: Optional[pulumi.Input[
|
|
92
|
-
policy_name: Optional[pulumi.Input[
|
|
106
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
107
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
93
108
|
"""
|
|
94
109
|
Input properties used for looking up and filtering BudgetPolicy resources.
|
|
95
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
110
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] binding_workspace_ids: List of workspaces that this budget policy will be exclusively bound to.
|
|
96
111
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
97
112
|
:param pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]] custom_tags: A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
98
|
-
:param pulumi.Input[
|
|
99
|
-
:param pulumi.Input[
|
|
113
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
114
|
+
:param pulumi.Input[_builtins.str] policy_name: The name of the policy.
|
|
100
115
|
- Must be unique among active policies.
|
|
101
116
|
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
102
117
|
- Can't start with reserved keywords such as `databricks:default-policy`
|
|
@@ -110,9 +125,9 @@ class _BudgetPolicyState:
|
|
|
110
125
|
if policy_name is not None:
|
|
111
126
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
112
127
|
|
|
113
|
-
@property
|
|
128
|
+
@_builtins.property
|
|
114
129
|
@pulumi.getter(name="bindingWorkspaceIds")
|
|
115
|
-
def binding_workspace_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
130
|
+
def binding_workspace_ids(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]:
|
|
116
131
|
"""
|
|
117
132
|
List of workspaces that this budget policy will be exclusively bound to.
|
|
118
133
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
@@ -120,10 +135,10 @@ class _BudgetPolicyState:
|
|
|
120
135
|
return pulumi.get(self, "binding_workspace_ids")
|
|
121
136
|
|
|
122
137
|
@binding_workspace_ids.setter
|
|
123
|
-
def binding_workspace_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
138
|
+
def binding_workspace_ids(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]]):
|
|
124
139
|
pulumi.set(self, "binding_workspace_ids", value)
|
|
125
140
|
|
|
126
|
-
@property
|
|
141
|
+
@_builtins.property
|
|
127
142
|
@pulumi.getter(name="customTags")
|
|
128
143
|
def custom_tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]]:
|
|
129
144
|
"""
|
|
@@ -135,21 +150,21 @@ class _BudgetPolicyState:
|
|
|
135
150
|
def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]]):
|
|
136
151
|
pulumi.set(self, "custom_tags", value)
|
|
137
152
|
|
|
138
|
-
@property
|
|
153
|
+
@_builtins.property
|
|
139
154
|
@pulumi.getter(name="policyId")
|
|
140
|
-
def policy_id(self) -> Optional[pulumi.Input[
|
|
155
|
+
def policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
141
156
|
"""
|
|
142
157
|
(string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
143
158
|
"""
|
|
144
159
|
return pulumi.get(self, "policy_id")
|
|
145
160
|
|
|
146
161
|
@policy_id.setter
|
|
147
|
-
def policy_id(self, value: Optional[pulumi.Input[
|
|
162
|
+
def policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
148
163
|
pulumi.set(self, "policy_id", value)
|
|
149
164
|
|
|
150
|
-
@property
|
|
165
|
+
@_builtins.property
|
|
151
166
|
@pulumi.getter(name="policyName")
|
|
152
|
-
def policy_name(self) -> Optional[pulumi.Input[
|
|
167
|
+
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
153
168
|
"""
|
|
154
169
|
The name of the policy.
|
|
155
170
|
- Must be unique among active policies.
|
|
@@ -159,7 +174,7 @@ class _BudgetPolicyState:
|
|
|
159
174
|
return pulumi.get(self, "policy_name")
|
|
160
175
|
|
|
161
176
|
@policy_name.setter
|
|
162
|
-
def policy_name(self, value: Optional[pulumi.Input[
|
|
177
|
+
def policy_name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
163
178
|
pulumi.set(self, "policy_name", value)
|
|
164
179
|
|
|
165
180
|
|
|
@@ -169,11 +184,14 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
169
184
|
def __init__(__self__,
|
|
170
185
|
resource_name: str,
|
|
171
186
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
172
|
-
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
187
|
+
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
173
188
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]]] = None,
|
|
174
|
-
|
|
189
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
190
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
175
191
|
__props__=None):
|
|
176
192
|
"""
|
|
193
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
194
|
+
|
|
177
195
|
Administrators can use budget policies to ensure that the correct tags appear automatically on serverless resources without depending on users to attach tags manually, allowing for customized cost reporting and chargebacks.
|
|
178
196
|
|
|
179
197
|
Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy.
|
|
@@ -204,7 +222,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
204
222
|
|
|
205
223
|
import {
|
|
206
224
|
|
|
207
|
-
id = policy_id
|
|
225
|
+
id = "policy_id"
|
|
208
226
|
|
|
209
227
|
to = databricks_budget_policy.this
|
|
210
228
|
|
|
@@ -213,15 +231,16 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
213
231
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
214
232
|
|
|
215
233
|
```sh
|
|
216
|
-
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy
|
|
234
|
+
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy this "policy_id"
|
|
217
235
|
```
|
|
218
236
|
|
|
219
237
|
:param str resource_name: The name of the resource.
|
|
220
238
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
221
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
239
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] binding_workspace_ids: List of workspaces that this budget policy will be exclusively bound to.
|
|
222
240
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
223
241
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]] custom_tags: A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
224
|
-
:param pulumi.Input[
|
|
242
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
243
|
+
:param pulumi.Input[_builtins.str] policy_name: The name of the policy.
|
|
225
244
|
- Must be unique among active policies.
|
|
226
245
|
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
227
246
|
- Can't start with reserved keywords such as `databricks:default-policy`
|
|
@@ -233,6 +252,8 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
233
252
|
args: Optional[BudgetPolicyArgs] = None,
|
|
234
253
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
235
254
|
"""
|
|
255
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
256
|
+
|
|
236
257
|
Administrators can use budget policies to ensure that the correct tags appear automatically on serverless resources without depending on users to attach tags manually, allowing for customized cost reporting and chargebacks.
|
|
237
258
|
|
|
238
259
|
Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy.
|
|
@@ -263,7 +284,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
263
284
|
|
|
264
285
|
import {
|
|
265
286
|
|
|
266
|
-
id = policy_id
|
|
287
|
+
id = "policy_id"
|
|
267
288
|
|
|
268
289
|
to = databricks_budget_policy.this
|
|
269
290
|
|
|
@@ -272,7 +293,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
272
293
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
273
294
|
|
|
274
295
|
```sh
|
|
275
|
-
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy
|
|
296
|
+
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy this "policy_id"
|
|
276
297
|
```
|
|
277
298
|
|
|
278
299
|
:param str resource_name: The name of the resource.
|
|
@@ -290,9 +311,10 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
290
311
|
def _internal_init(__self__,
|
|
291
312
|
resource_name: str,
|
|
292
313
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
293
|
-
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
314
|
+
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
294
315
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]]] = None,
|
|
295
|
-
|
|
316
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
317
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
318
|
__props__=None):
|
|
297
319
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
298
320
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -304,8 +326,8 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
304
326
|
|
|
305
327
|
__props__.__dict__["binding_workspace_ids"] = binding_workspace_ids
|
|
306
328
|
__props__.__dict__["custom_tags"] = custom_tags
|
|
329
|
+
__props__.__dict__["policy_id"] = policy_id
|
|
307
330
|
__props__.__dict__["policy_name"] = policy_name
|
|
308
|
-
__props__.__dict__["policy_id"] = None
|
|
309
331
|
super(BudgetPolicy, __self__).__init__(
|
|
310
332
|
'databricks:index/budgetPolicy:BudgetPolicy',
|
|
311
333
|
resource_name,
|
|
@@ -316,10 +338,10 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
316
338
|
def get(resource_name: str,
|
|
317
339
|
id: pulumi.Input[str],
|
|
318
340
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
319
|
-
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[
|
|
341
|
+
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
320
342
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]]] = None,
|
|
321
|
-
policy_id: Optional[pulumi.Input[
|
|
322
|
-
policy_name: Optional[pulumi.Input[
|
|
343
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
344
|
+
policy_name: Optional[pulumi.Input[_builtins.str]] = None) -> 'BudgetPolicy':
|
|
323
345
|
"""
|
|
324
346
|
Get an existing BudgetPolicy resource's state with the given name, id, and optional extra
|
|
325
347
|
properties used to qualify the lookup.
|
|
@@ -327,11 +349,11 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
327
349
|
:param str resource_name: The unique name of the resulting resource.
|
|
328
350
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
329
351
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
330
|
-
:param pulumi.Input[Sequence[pulumi.Input[
|
|
352
|
+
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] binding_workspace_ids: List of workspaces that this budget policy will be exclusively bound to.
|
|
331
353
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
332
354
|
:param pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]] custom_tags: A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
333
|
-
:param pulumi.Input[
|
|
334
|
-
:param pulumi.Input[
|
|
355
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
356
|
+
:param pulumi.Input[_builtins.str] policy_name: The name of the policy.
|
|
335
357
|
- Must be unique among active policies.
|
|
336
358
|
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
337
359
|
- Can't start with reserved keywords such as `databricks:default-policy`
|
|
@@ -346,16 +368,16 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
346
368
|
__props__.__dict__["policy_name"] = policy_name
|
|
347
369
|
return BudgetPolicy(resource_name, opts=opts, __props__=__props__)
|
|
348
370
|
|
|
349
|
-
@property
|
|
371
|
+
@_builtins.property
|
|
350
372
|
@pulumi.getter(name="bindingWorkspaceIds")
|
|
351
|
-
def binding_workspace_ids(self) -> pulumi.Output[Optional[Sequence[
|
|
373
|
+
def binding_workspace_ids(self) -> pulumi.Output[Optional[Sequence[_builtins.int]]]:
|
|
352
374
|
"""
|
|
353
375
|
List of workspaces that this budget policy will be exclusively bound to.
|
|
354
376
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
355
377
|
"""
|
|
356
378
|
return pulumi.get(self, "binding_workspace_ids")
|
|
357
379
|
|
|
358
|
-
@property
|
|
380
|
+
@_builtins.property
|
|
359
381
|
@pulumi.getter(name="customTags")
|
|
360
382
|
def custom_tags(self) -> pulumi.Output[Optional[Sequence['outputs.BudgetPolicyCustomTag']]]:
|
|
361
383
|
"""
|
|
@@ -363,17 +385,17 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
363
385
|
"""
|
|
364
386
|
return pulumi.get(self, "custom_tags")
|
|
365
387
|
|
|
366
|
-
@property
|
|
388
|
+
@_builtins.property
|
|
367
389
|
@pulumi.getter(name="policyId")
|
|
368
|
-
def policy_id(self) -> pulumi.Output[
|
|
390
|
+
def policy_id(self) -> pulumi.Output[_builtins.str]:
|
|
369
391
|
"""
|
|
370
392
|
(string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
371
393
|
"""
|
|
372
394
|
return pulumi.get(self, "policy_id")
|
|
373
395
|
|
|
374
|
-
@property
|
|
396
|
+
@_builtins.property
|
|
375
397
|
@pulumi.getter(name="policyName")
|
|
376
|
-
def policy_name(self) -> pulumi.Output[Optional[
|
|
398
|
+
def policy_name(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
377
399
|
"""
|
|
378
400
|
The name of the policy.
|
|
379
401
|
- Must be unique among active policies.
|