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.
- pulumi_databricks/__init__.py +129 -46
- pulumi_databricks/_inputs.py +13377 -13798
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +12 -4
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/alert_v2.py +223 -90
- pulumi_databricks/app.py +111 -4
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/budget_policy.py +28 -5
- pulumi_databricks/catalog.py +322 -2
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/config/__init__.pyi +2 -0
- pulumi_databricks/config/vars.py +4 -0
- pulumi_databricks/connection.py +0 -34
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +8 -4
- pulumi_databricks/database_instance.py +354 -73
- pulumi_databricks/database_synced_database_table.py +52 -4
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_metadata.py +15 -11
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- 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 +4 -0
- pulumi_databricks/get_account_network_policy.py +17 -18
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +78 -70
- pulumi_databricks/get_alerts_v2.py +31 -12
- pulumi_databricks/get_app.py +21 -9
- pulumi_databricks/get_apps.py +22 -10
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_bucket_policy.py +6 -6
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +35 -30
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +21 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +24 -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 +6 -20
- pulumi_databricks/get_database_database_catalogs.py +46 -8
- pulumi_databricks/get_database_instance.py +122 -75
- pulumi_databricks/get_database_instances.py +31 -6
- pulumi_databricks/get_database_synced_database_table.py +7 -28
- pulumi_databricks/get_database_synced_database_tables.py +43 -5
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +12 -50
- pulumi_databricks/get_external_metadatas.py +55 -6
- 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 +3 -11
- pulumi_databricks/get_materialized_features_feature_tags.py +59 -8
- pulumi_databricks/get_metastore.py +2 -2
- 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_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +7 -17
- pulumi_databricks/get_online_stores.py +29 -8
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +28 -99
- pulumi_databricks/get_policy_infos.py +92 -5
- pulumi_databricks/get_quality_monitor_v2.py +4 -0
- pulumi_databricks/get_quality_monitors_v2.py +22 -3
- 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 +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -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 +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- 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 +331 -0
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/grant.py +2 -2
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +8 -4
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +7 -7
- pulumi_databricks/mws_permission_assignment.py +16 -16
- pulumi_databricks/mws_storage_configurations.py +6 -6
- pulumi_databricks/mws_workspaces.py +76 -29
- pulumi_databricks/online_store.py +8 -4
- pulumi_databricks/outputs.py +26397 -22382
- pulumi_databricks/permission_assignment.py +266 -24
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +43 -39
- pulumi_databricks/provider.py +15 -0
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +8 -4
- pulumi_databricks/registered_model.py +301 -29
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_endpoint.py +47 -0
- pulumi_databricks/sql_table.py +35 -7
- pulumi_databricks/storage_credential.py +59 -6
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +8 -4
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -891
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -426
- pulumi_databricks/clean_rooms_clean_room.py +0 -518
- pulumi_databricks/get_clean_room_asset.py +0 -399
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -375
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -82
- pulumi_databricks/get_clean_room_assets.py +0 -104
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -200
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -82
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -272
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -104
- pulumi_databricks/get_recipient_federation_policies.py +0 -82
- pulumi_databricks/get_recipient_federation_policy.py +0 -165
- pulumi_databricks/recipient_federation_policy.py +0 -346
- pulumi_databricks-1.75.0a1756323569.dist-info/RECORD +0 -231
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.75.0a1756323569.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,531 @@
|
|
|
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__ = ['AppsSettingsCustomTemplateArgs', 'AppsSettingsCustomTemplate']
|
|
20
|
+
|
|
21
|
+
@pulumi.input_type
|
|
22
|
+
class AppsSettingsCustomTemplateArgs:
|
|
23
|
+
def __init__(__self__, *,
|
|
24
|
+
git_provider: pulumi.Input[_builtins.str],
|
|
25
|
+
git_repo: pulumi.Input[_builtins.str],
|
|
26
|
+
manifest: pulumi.Input['AppsSettingsCustomTemplateManifestArgs'],
|
|
27
|
+
path: pulumi.Input[_builtins.str],
|
|
28
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
|
+
name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
30
|
+
"""
|
|
31
|
+
The set of arguments for constructing a AppsSettingsCustomTemplate resource.
|
|
32
|
+
:param pulumi.Input[_builtins.str] git_provider: The Git provider of the template
|
|
33
|
+
:param pulumi.Input[_builtins.str] git_repo: The Git repository URL that the template resides in
|
|
34
|
+
:param pulumi.Input['AppsSettingsCustomTemplateManifestArgs'] manifest: The manifest of the template. It defines fields and default values when installing the template
|
|
35
|
+
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
36
|
+
:param pulumi.Input[_builtins.str] description: The description of the template
|
|
37
|
+
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
38
|
+
It must be unique within the workspace
|
|
39
|
+
"""
|
|
40
|
+
pulumi.set(__self__, "git_provider", git_provider)
|
|
41
|
+
pulumi.set(__self__, "git_repo", git_repo)
|
|
42
|
+
pulumi.set(__self__, "manifest", manifest)
|
|
43
|
+
pulumi.set(__self__, "path", path)
|
|
44
|
+
if description is not None:
|
|
45
|
+
pulumi.set(__self__, "description", description)
|
|
46
|
+
if name is not None:
|
|
47
|
+
pulumi.set(__self__, "name", name)
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="gitProvider")
|
|
51
|
+
def git_provider(self) -> pulumi.Input[_builtins.str]:
|
|
52
|
+
"""
|
|
53
|
+
The Git provider of the template
|
|
54
|
+
"""
|
|
55
|
+
return pulumi.get(self, "git_provider")
|
|
56
|
+
|
|
57
|
+
@git_provider.setter
|
|
58
|
+
def git_provider(self, value: pulumi.Input[_builtins.str]):
|
|
59
|
+
pulumi.set(self, "git_provider", value)
|
|
60
|
+
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="gitRepo")
|
|
63
|
+
def git_repo(self) -> pulumi.Input[_builtins.str]:
|
|
64
|
+
"""
|
|
65
|
+
The Git repository URL that the template resides in
|
|
66
|
+
"""
|
|
67
|
+
return pulumi.get(self, "git_repo")
|
|
68
|
+
|
|
69
|
+
@git_repo.setter
|
|
70
|
+
def git_repo(self, value: pulumi.Input[_builtins.str]):
|
|
71
|
+
pulumi.set(self, "git_repo", value)
|
|
72
|
+
|
|
73
|
+
@_builtins.property
|
|
74
|
+
@pulumi.getter
|
|
75
|
+
def manifest(self) -> pulumi.Input['AppsSettingsCustomTemplateManifestArgs']:
|
|
76
|
+
"""
|
|
77
|
+
The manifest of the template. It defines fields and default values when installing the template
|
|
78
|
+
"""
|
|
79
|
+
return pulumi.get(self, "manifest")
|
|
80
|
+
|
|
81
|
+
@manifest.setter
|
|
82
|
+
def manifest(self, value: pulumi.Input['AppsSettingsCustomTemplateManifestArgs']):
|
|
83
|
+
pulumi.set(self, "manifest", value)
|
|
84
|
+
|
|
85
|
+
@_builtins.property
|
|
86
|
+
@pulumi.getter
|
|
87
|
+
def path(self) -> pulumi.Input[_builtins.str]:
|
|
88
|
+
"""
|
|
89
|
+
The path to the template within the Git repository
|
|
90
|
+
"""
|
|
91
|
+
return pulumi.get(self, "path")
|
|
92
|
+
|
|
93
|
+
@path.setter
|
|
94
|
+
def path(self, value: pulumi.Input[_builtins.str]):
|
|
95
|
+
pulumi.set(self, "path", value)
|
|
96
|
+
|
|
97
|
+
@_builtins.property
|
|
98
|
+
@pulumi.getter
|
|
99
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
100
|
+
"""
|
|
101
|
+
The description of the template
|
|
102
|
+
"""
|
|
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
|
|
111
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
112
|
+
"""
|
|
113
|
+
The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
114
|
+
It must be unique within the workspace
|
|
115
|
+
"""
|
|
116
|
+
return pulumi.get(self, "name")
|
|
117
|
+
|
|
118
|
+
@name.setter
|
|
119
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
120
|
+
pulumi.set(self, "name", value)
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
@pulumi.input_type
|
|
124
|
+
class _AppsSettingsCustomTemplateState:
|
|
125
|
+
def __init__(__self__, *,
|
|
126
|
+
creator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
127
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
128
|
+
git_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
129
|
+
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
130
|
+
manifest: Optional[pulumi.Input['AppsSettingsCustomTemplateManifestArgs']] = None,
|
|
131
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
132
|
+
path: Optional[pulumi.Input[_builtins.str]] = None):
|
|
133
|
+
"""
|
|
134
|
+
Input properties used for looking up and filtering AppsSettingsCustomTemplate resources.
|
|
135
|
+
:param pulumi.Input[_builtins.str] creator: (string)
|
|
136
|
+
:param pulumi.Input[_builtins.str] description: The description of the template
|
|
137
|
+
:param pulumi.Input[_builtins.str] git_provider: The Git provider of the template
|
|
138
|
+
:param pulumi.Input[_builtins.str] git_repo: The Git repository URL that the template resides in
|
|
139
|
+
:param pulumi.Input['AppsSettingsCustomTemplateManifestArgs'] manifest: The manifest of the template. It defines fields and default values when installing the template
|
|
140
|
+
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
141
|
+
It must be unique within the workspace
|
|
142
|
+
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
143
|
+
"""
|
|
144
|
+
if creator is not None:
|
|
145
|
+
pulumi.set(__self__, "creator", creator)
|
|
146
|
+
if description is not None:
|
|
147
|
+
pulumi.set(__self__, "description", description)
|
|
148
|
+
if git_provider is not None:
|
|
149
|
+
pulumi.set(__self__, "git_provider", git_provider)
|
|
150
|
+
if git_repo is not None:
|
|
151
|
+
pulumi.set(__self__, "git_repo", git_repo)
|
|
152
|
+
if manifest is not None:
|
|
153
|
+
pulumi.set(__self__, "manifest", manifest)
|
|
154
|
+
if name is not None:
|
|
155
|
+
pulumi.set(__self__, "name", name)
|
|
156
|
+
if path is not None:
|
|
157
|
+
pulumi.set(__self__, "path", path)
|
|
158
|
+
|
|
159
|
+
@_builtins.property
|
|
160
|
+
@pulumi.getter
|
|
161
|
+
def creator(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
162
|
+
"""
|
|
163
|
+
(string)
|
|
164
|
+
"""
|
|
165
|
+
return pulumi.get(self, "creator")
|
|
166
|
+
|
|
167
|
+
@creator.setter
|
|
168
|
+
def creator(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
169
|
+
pulumi.set(self, "creator", value)
|
|
170
|
+
|
|
171
|
+
@_builtins.property
|
|
172
|
+
@pulumi.getter
|
|
173
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
174
|
+
"""
|
|
175
|
+
The description of the template
|
|
176
|
+
"""
|
|
177
|
+
return pulumi.get(self, "description")
|
|
178
|
+
|
|
179
|
+
@description.setter
|
|
180
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
181
|
+
pulumi.set(self, "description", value)
|
|
182
|
+
|
|
183
|
+
@_builtins.property
|
|
184
|
+
@pulumi.getter(name="gitProvider")
|
|
185
|
+
def git_provider(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
186
|
+
"""
|
|
187
|
+
The Git provider of the template
|
|
188
|
+
"""
|
|
189
|
+
return pulumi.get(self, "git_provider")
|
|
190
|
+
|
|
191
|
+
@git_provider.setter
|
|
192
|
+
def git_provider(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
193
|
+
pulumi.set(self, "git_provider", value)
|
|
194
|
+
|
|
195
|
+
@_builtins.property
|
|
196
|
+
@pulumi.getter(name="gitRepo")
|
|
197
|
+
def git_repo(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
198
|
+
"""
|
|
199
|
+
The Git repository URL that the template resides in
|
|
200
|
+
"""
|
|
201
|
+
return pulumi.get(self, "git_repo")
|
|
202
|
+
|
|
203
|
+
@git_repo.setter
|
|
204
|
+
def git_repo(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
205
|
+
pulumi.set(self, "git_repo", value)
|
|
206
|
+
|
|
207
|
+
@_builtins.property
|
|
208
|
+
@pulumi.getter
|
|
209
|
+
def manifest(self) -> Optional[pulumi.Input['AppsSettingsCustomTemplateManifestArgs']]:
|
|
210
|
+
"""
|
|
211
|
+
The manifest of the template. It defines fields and default values when installing the template
|
|
212
|
+
"""
|
|
213
|
+
return pulumi.get(self, "manifest")
|
|
214
|
+
|
|
215
|
+
@manifest.setter
|
|
216
|
+
def manifest(self, value: Optional[pulumi.Input['AppsSettingsCustomTemplateManifestArgs']]):
|
|
217
|
+
pulumi.set(self, "manifest", value)
|
|
218
|
+
|
|
219
|
+
@_builtins.property
|
|
220
|
+
@pulumi.getter
|
|
221
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
222
|
+
"""
|
|
223
|
+
The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
224
|
+
It must be unique within the workspace
|
|
225
|
+
"""
|
|
226
|
+
return pulumi.get(self, "name")
|
|
227
|
+
|
|
228
|
+
@name.setter
|
|
229
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
230
|
+
pulumi.set(self, "name", value)
|
|
231
|
+
|
|
232
|
+
@_builtins.property
|
|
233
|
+
@pulumi.getter
|
|
234
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
235
|
+
"""
|
|
236
|
+
The path to the template within the Git repository
|
|
237
|
+
"""
|
|
238
|
+
return pulumi.get(self, "path")
|
|
239
|
+
|
|
240
|
+
@path.setter
|
|
241
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
242
|
+
pulumi.set(self, "path", value)
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
@pulumi.type_token("databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate")
|
|
246
|
+
class AppsSettingsCustomTemplate(pulumi.CustomResource):
|
|
247
|
+
@overload
|
|
248
|
+
def __init__(__self__,
|
|
249
|
+
resource_name: str,
|
|
250
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
251
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
252
|
+
git_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
253
|
+
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
254
|
+
manifest: Optional[pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
255
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
256
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
257
|
+
__props__=None):
|
|
258
|
+
"""
|
|
259
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
260
|
+
|
|
261
|
+
Custom App Templates store the metadata of custom app code hosted in an external Git repository, enabling users to reuse boilerplate code when creating apps.
|
|
262
|
+
|
|
263
|
+
## Example Usage
|
|
264
|
+
|
|
265
|
+
### Basic Example
|
|
266
|
+
|
|
267
|
+
This example creates a Custom Template in the workspace with the specified name.
|
|
268
|
+
|
|
269
|
+
```python
|
|
270
|
+
import pulumi
|
|
271
|
+
import pulumi_databricks as databricks
|
|
272
|
+
|
|
273
|
+
this = databricks.AppsSettingsCustomTemplate("this",
|
|
274
|
+
name="my-custom-template",
|
|
275
|
+
description="A sample custom app template",
|
|
276
|
+
git_repo="https://github.com/example/repo.git",
|
|
277
|
+
path="path-to-template",
|
|
278
|
+
git_provider="github",
|
|
279
|
+
manifest={
|
|
280
|
+
"version": 1,
|
|
281
|
+
"name": "my-custom-app",
|
|
282
|
+
})
|
|
283
|
+
```
|
|
284
|
+
|
|
285
|
+
### Example with API Scopes
|
|
286
|
+
|
|
287
|
+
This example creates a custom template that declares required user API scopes.
|
|
288
|
+
|
|
289
|
+
### Example with Resource Requirements
|
|
290
|
+
|
|
291
|
+
This example defines a template that requests specific workspace resources with permissions granted.
|
|
292
|
+
|
|
293
|
+
## Import
|
|
294
|
+
|
|
295
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
296
|
+
|
|
297
|
+
hcl
|
|
298
|
+
|
|
299
|
+
import {
|
|
300
|
+
|
|
301
|
+
id = "name"
|
|
302
|
+
|
|
303
|
+
to = databricks_apps_settings_custom_template.this
|
|
304
|
+
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
308
|
+
|
|
309
|
+
```sh
|
|
310
|
+
$ pulumi import databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate this "name"
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
:param str resource_name: The name of the resource.
|
|
314
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
315
|
+
:param pulumi.Input[_builtins.str] description: The description of the template
|
|
316
|
+
:param pulumi.Input[_builtins.str] git_provider: The Git provider of the template
|
|
317
|
+
:param pulumi.Input[_builtins.str] git_repo: The Git repository URL that the template resides in
|
|
318
|
+
:param pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']] manifest: The manifest of the template. It defines fields and default values when installing the template
|
|
319
|
+
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
320
|
+
It must be unique within the workspace
|
|
321
|
+
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
322
|
+
"""
|
|
323
|
+
...
|
|
324
|
+
@overload
|
|
325
|
+
def __init__(__self__,
|
|
326
|
+
resource_name: str,
|
|
327
|
+
args: AppsSettingsCustomTemplateArgs,
|
|
328
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
|
329
|
+
"""
|
|
330
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
331
|
+
|
|
332
|
+
Custom App Templates store the metadata of custom app code hosted in an external Git repository, enabling users to reuse boilerplate code when creating apps.
|
|
333
|
+
|
|
334
|
+
## Example Usage
|
|
335
|
+
|
|
336
|
+
### Basic Example
|
|
337
|
+
|
|
338
|
+
This example creates a Custom Template in the workspace with the specified name.
|
|
339
|
+
|
|
340
|
+
```python
|
|
341
|
+
import pulumi
|
|
342
|
+
import pulumi_databricks as databricks
|
|
343
|
+
|
|
344
|
+
this = databricks.AppsSettingsCustomTemplate("this",
|
|
345
|
+
name="my-custom-template",
|
|
346
|
+
description="A sample custom app template",
|
|
347
|
+
git_repo="https://github.com/example/repo.git",
|
|
348
|
+
path="path-to-template",
|
|
349
|
+
git_provider="github",
|
|
350
|
+
manifest={
|
|
351
|
+
"version": 1,
|
|
352
|
+
"name": "my-custom-app",
|
|
353
|
+
})
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
### Example with API Scopes
|
|
357
|
+
|
|
358
|
+
This example creates a custom template that declares required user API scopes.
|
|
359
|
+
|
|
360
|
+
### Example with Resource Requirements
|
|
361
|
+
|
|
362
|
+
This example defines a template that requests specific workspace resources with permissions granted.
|
|
363
|
+
|
|
364
|
+
## Import
|
|
365
|
+
|
|
366
|
+
As of Pulumi v1.5, resources can be imported through configuration.
|
|
367
|
+
|
|
368
|
+
hcl
|
|
369
|
+
|
|
370
|
+
import {
|
|
371
|
+
|
|
372
|
+
id = "name"
|
|
373
|
+
|
|
374
|
+
to = databricks_apps_settings_custom_template.this
|
|
375
|
+
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
379
|
+
|
|
380
|
+
```sh
|
|
381
|
+
$ pulumi import databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate this "name"
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
:param str resource_name: The name of the resource.
|
|
385
|
+
:param AppsSettingsCustomTemplateArgs args: The arguments to use to populate this resource's properties.
|
|
386
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
387
|
+
"""
|
|
388
|
+
...
|
|
389
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
|
390
|
+
resource_args, opts = _utilities.get_resource_args_opts(AppsSettingsCustomTemplateArgs, pulumi.ResourceOptions, *args, **kwargs)
|
|
391
|
+
if resource_args is not None:
|
|
392
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
|
393
|
+
else:
|
|
394
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
|
395
|
+
|
|
396
|
+
def _internal_init(__self__,
|
|
397
|
+
resource_name: str,
|
|
398
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
399
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
400
|
+
git_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
401
|
+
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
402
|
+
manifest: Optional[pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
403
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
404
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
405
|
+
__props__=None):
|
|
406
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
407
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
|
408
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
|
409
|
+
if opts.id is None:
|
|
410
|
+
if __props__ is not None:
|
|
411
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
|
412
|
+
__props__ = AppsSettingsCustomTemplateArgs.__new__(AppsSettingsCustomTemplateArgs)
|
|
413
|
+
|
|
414
|
+
__props__.__dict__["description"] = description
|
|
415
|
+
if git_provider is None and not opts.urn:
|
|
416
|
+
raise TypeError("Missing required property 'git_provider'")
|
|
417
|
+
__props__.__dict__["git_provider"] = git_provider
|
|
418
|
+
if git_repo is None and not opts.urn:
|
|
419
|
+
raise TypeError("Missing required property 'git_repo'")
|
|
420
|
+
__props__.__dict__["git_repo"] = git_repo
|
|
421
|
+
if manifest is None and not opts.urn:
|
|
422
|
+
raise TypeError("Missing required property 'manifest'")
|
|
423
|
+
__props__.__dict__["manifest"] = manifest
|
|
424
|
+
__props__.__dict__["name"] = name
|
|
425
|
+
if path is None and not opts.urn:
|
|
426
|
+
raise TypeError("Missing required property 'path'")
|
|
427
|
+
__props__.__dict__["path"] = path
|
|
428
|
+
__props__.__dict__["creator"] = None
|
|
429
|
+
super(AppsSettingsCustomTemplate, __self__).__init__(
|
|
430
|
+
'databricks:index/appsSettingsCustomTemplate:AppsSettingsCustomTemplate',
|
|
431
|
+
resource_name,
|
|
432
|
+
__props__,
|
|
433
|
+
opts)
|
|
434
|
+
|
|
435
|
+
@staticmethod
|
|
436
|
+
def get(resource_name: str,
|
|
437
|
+
id: pulumi.Input[str],
|
|
438
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
|
439
|
+
creator: Optional[pulumi.Input[_builtins.str]] = None,
|
|
440
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
441
|
+
git_provider: Optional[pulumi.Input[_builtins.str]] = None,
|
|
442
|
+
git_repo: Optional[pulumi.Input[_builtins.str]] = None,
|
|
443
|
+
manifest: Optional[pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']]] = None,
|
|
444
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
445
|
+
path: Optional[pulumi.Input[_builtins.str]] = None) -> 'AppsSettingsCustomTemplate':
|
|
446
|
+
"""
|
|
447
|
+
Get an existing AppsSettingsCustomTemplate resource's state with the given name, id, and optional extra
|
|
448
|
+
properties used to qualify the lookup.
|
|
449
|
+
|
|
450
|
+
:param str resource_name: The unique name of the resulting resource.
|
|
451
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
452
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
453
|
+
:param pulumi.Input[_builtins.str] creator: (string)
|
|
454
|
+
:param pulumi.Input[_builtins.str] description: The description of the template
|
|
455
|
+
:param pulumi.Input[_builtins.str] git_provider: The Git provider of the template
|
|
456
|
+
:param pulumi.Input[_builtins.str] git_repo: The Git repository URL that the template resides in
|
|
457
|
+
:param pulumi.Input[Union['AppsSettingsCustomTemplateManifestArgs', 'AppsSettingsCustomTemplateManifestArgsDict']] manifest: The manifest of the template. It defines fields and default values when installing the template
|
|
458
|
+
:param pulumi.Input[_builtins.str] name: The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
459
|
+
It must be unique within the workspace
|
|
460
|
+
:param pulumi.Input[_builtins.str] path: The path to the template within the Git repository
|
|
461
|
+
"""
|
|
462
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
463
|
+
|
|
464
|
+
__props__ = _AppsSettingsCustomTemplateState.__new__(_AppsSettingsCustomTemplateState)
|
|
465
|
+
|
|
466
|
+
__props__.__dict__["creator"] = creator
|
|
467
|
+
__props__.__dict__["description"] = description
|
|
468
|
+
__props__.__dict__["git_provider"] = git_provider
|
|
469
|
+
__props__.__dict__["git_repo"] = git_repo
|
|
470
|
+
__props__.__dict__["manifest"] = manifest
|
|
471
|
+
__props__.__dict__["name"] = name
|
|
472
|
+
__props__.__dict__["path"] = path
|
|
473
|
+
return AppsSettingsCustomTemplate(resource_name, opts=opts, __props__=__props__)
|
|
474
|
+
|
|
475
|
+
@_builtins.property
|
|
476
|
+
@pulumi.getter
|
|
477
|
+
def creator(self) -> pulumi.Output[_builtins.str]:
|
|
478
|
+
"""
|
|
479
|
+
(string)
|
|
480
|
+
"""
|
|
481
|
+
return pulumi.get(self, "creator")
|
|
482
|
+
|
|
483
|
+
@_builtins.property
|
|
484
|
+
@pulumi.getter
|
|
485
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
486
|
+
"""
|
|
487
|
+
The description of the template
|
|
488
|
+
"""
|
|
489
|
+
return pulumi.get(self, "description")
|
|
490
|
+
|
|
491
|
+
@_builtins.property
|
|
492
|
+
@pulumi.getter(name="gitProvider")
|
|
493
|
+
def git_provider(self) -> pulumi.Output[_builtins.str]:
|
|
494
|
+
"""
|
|
495
|
+
The Git provider of the template
|
|
496
|
+
"""
|
|
497
|
+
return pulumi.get(self, "git_provider")
|
|
498
|
+
|
|
499
|
+
@_builtins.property
|
|
500
|
+
@pulumi.getter(name="gitRepo")
|
|
501
|
+
def git_repo(self) -> pulumi.Output[_builtins.str]:
|
|
502
|
+
"""
|
|
503
|
+
The Git repository URL that the template resides in
|
|
504
|
+
"""
|
|
505
|
+
return pulumi.get(self, "git_repo")
|
|
506
|
+
|
|
507
|
+
@_builtins.property
|
|
508
|
+
@pulumi.getter
|
|
509
|
+
def manifest(self) -> pulumi.Output['outputs.AppsSettingsCustomTemplateManifest']:
|
|
510
|
+
"""
|
|
511
|
+
The manifest of the template. It defines fields and default values when installing the template
|
|
512
|
+
"""
|
|
513
|
+
return pulumi.get(self, "manifest")
|
|
514
|
+
|
|
515
|
+
@_builtins.property
|
|
516
|
+
@pulumi.getter
|
|
517
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
518
|
+
"""
|
|
519
|
+
The name of the template. It must contain only alphanumeric characters, hyphens, underscores, and whitespaces.
|
|
520
|
+
It must be unique within the workspace
|
|
521
|
+
"""
|
|
522
|
+
return pulumi.get(self, "name")
|
|
523
|
+
|
|
524
|
+
@_builtins.property
|
|
525
|
+
@pulumi.getter
|
|
526
|
+
def path(self) -> pulumi.Output[_builtins.str]:
|
|
527
|
+
"""
|
|
528
|
+
The path to the template within the Git repository
|
|
529
|
+
"""
|
|
530
|
+
return pulumi.get(self, "path")
|
|
531
|
+
|
|
@@ -23,12 +23,14 @@ class BudgetPolicyArgs:
|
|
|
23
23
|
def __init__(__self__, *,
|
|
24
24
|
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
25
25
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]] = None,
|
|
26
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
26
27
|
policy_name: Optional[pulumi.Input[_builtins.str]] = None):
|
|
27
28
|
"""
|
|
28
29
|
The set of arguments for constructing a BudgetPolicy resource.
|
|
29
30
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] binding_workspace_ids: List of workspaces that this budget policy will be exclusively bound to.
|
|
30
31
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
31
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[_builtins.str] policy_id: (string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
32
34
|
:param pulumi.Input[_builtins.str] policy_name: The name of the policy.
|
|
33
35
|
- Must be unique among active policies.
|
|
34
36
|
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
@@ -38,6 +40,8 @@ class BudgetPolicyArgs:
|
|
|
38
40
|
pulumi.set(__self__, "binding_workspace_ids", binding_workspace_ids)
|
|
39
41
|
if custom_tags is not None:
|
|
40
42
|
pulumi.set(__self__, "custom_tags", custom_tags)
|
|
43
|
+
if policy_id is not None:
|
|
44
|
+
pulumi.set(__self__, "policy_id", policy_id)
|
|
41
45
|
if policy_name is not None:
|
|
42
46
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
43
47
|
|
|
@@ -66,6 +70,18 @@ class BudgetPolicyArgs:
|
|
|
66
70
|
def custom_tags(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['BudgetPolicyCustomTagArgs']]]]):
|
|
67
71
|
pulumi.set(self, "custom_tags", value)
|
|
68
72
|
|
|
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
|
+
|
|
69
85
|
@_builtins.property
|
|
70
86
|
@pulumi.getter(name="policyName")
|
|
71
87
|
def policy_name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
@@ -170,9 +186,12 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
170
186
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
171
187
|
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
172
188
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]]] = None,
|
|
189
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
173
190
|
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
174
191
|
__props__=None):
|
|
175
192
|
"""
|
|
193
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
194
|
+
|
|
176
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.
|
|
177
196
|
|
|
178
197
|
Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy.
|
|
@@ -203,7 +222,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
203
222
|
|
|
204
223
|
import {
|
|
205
224
|
|
|
206
|
-
id = policy_id
|
|
225
|
+
id = "policy_id"
|
|
207
226
|
|
|
208
227
|
to = databricks_budget_policy.this
|
|
209
228
|
|
|
@@ -212,7 +231,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
212
231
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
213
232
|
|
|
214
233
|
```sh
|
|
215
|
-
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy
|
|
234
|
+
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy this "policy_id"
|
|
216
235
|
```
|
|
217
236
|
|
|
218
237
|
:param str resource_name: The name of the resource.
|
|
@@ -220,6 +239,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
220
239
|
:param pulumi.Input[Sequence[pulumi.Input[_builtins.int]]] binding_workspace_ids: List of workspaces that this budget policy will be exclusively bound to.
|
|
221
240
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
222
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
|
|
242
|
+
:param pulumi.Input[_builtins.str] policy_id: (string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
223
243
|
:param pulumi.Input[_builtins.str] policy_name: The name of the policy.
|
|
224
244
|
- Must be unique among active policies.
|
|
225
245
|
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
@@ -232,6 +252,8 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
232
252
|
args: Optional[BudgetPolicyArgs] = None,
|
|
233
253
|
opts: Optional[pulumi.ResourceOptions] = None):
|
|
234
254
|
"""
|
|
255
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
256
|
+
|
|
235
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.
|
|
236
258
|
|
|
237
259
|
Budget policies consist of tags that are applied to any serverless compute activity incurred by a user assigned to the policy.
|
|
@@ -262,7 +284,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
262
284
|
|
|
263
285
|
import {
|
|
264
286
|
|
|
265
|
-
id = policy_id
|
|
287
|
+
id = "policy_id"
|
|
266
288
|
|
|
267
289
|
to = databricks_budget_policy.this
|
|
268
290
|
|
|
@@ -271,7 +293,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
271
293
|
If you are using an older version of Pulumi, import the resource using the `pulumi import` command as follows:
|
|
272
294
|
|
|
273
295
|
```sh
|
|
274
|
-
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy
|
|
296
|
+
$ pulumi import databricks:index/budgetPolicy:BudgetPolicy this "policy_id"
|
|
275
297
|
```
|
|
276
298
|
|
|
277
299
|
:param str resource_name: The name of the resource.
|
|
@@ -291,6 +313,7 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
291
313
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
292
314
|
binding_workspace_ids: Optional[pulumi.Input[Sequence[pulumi.Input[_builtins.int]]]] = None,
|
|
293
315
|
custom_tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['BudgetPolicyCustomTagArgs', 'BudgetPolicyCustomTagArgsDict']]]]] = None,
|
|
316
|
+
policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
317
|
policy_name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
295
318
|
__props__=None):
|
|
296
319
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -303,8 +326,8 @@ class BudgetPolicy(pulumi.CustomResource):
|
|
|
303
326
|
|
|
304
327
|
__props__.__dict__["binding_workspace_ids"] = binding_workspace_ids
|
|
305
328
|
__props__.__dict__["custom_tags"] = custom_tags
|
|
329
|
+
__props__.__dict__["policy_id"] = policy_id
|
|
306
330
|
__props__.__dict__["policy_name"] = policy_name
|
|
307
|
-
__props__.__dict__["policy_id"] = None
|
|
308
331
|
super(BudgetPolicy, __self__).__init__(
|
|
309
332
|
'databricks:index/budgetPolicy:BudgetPolicy',
|
|
310
333
|
resource_name,
|