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
|
|
@@ -15,7 +14,6 @@ else:
|
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
17
16
|
from . import outputs
|
|
18
|
-
from ._inputs import *
|
|
19
17
|
|
|
20
18
|
__all__ = [
|
|
21
19
|
'GetAlertV2Result',
|
|
@@ -29,7 +27,7 @@ class GetAlertV2Result:
|
|
|
29
27
|
"""
|
|
30
28
|
A collection of values returned by getAlertV2.
|
|
31
29
|
"""
|
|
32
|
-
def __init__(__self__, create_time=None, custom_description=None, custom_summary=None, display_name=None, evaluation=None, id=None, lifecycle_state=None, owner_user_name=None, parent_path=None, query_text=None, run_as_user_name=None, schedule=None, update_time=None, warehouse_id=None):
|
|
30
|
+
def __init__(__self__, create_time=None, custom_description=None, custom_summary=None, display_name=None, effective_run_as=None, evaluation=None, id=None, lifecycle_state=None, owner_user_name=None, parent_path=None, query_text=None, run_as=None, run_as_user_name=None, schedule=None, update_time=None, warehouse_id=None):
|
|
33
31
|
if create_time and not isinstance(create_time, str):
|
|
34
32
|
raise TypeError("Expected argument 'create_time' to be a str")
|
|
35
33
|
pulumi.set(__self__, "create_time", create_time)
|
|
@@ -42,6 +40,9 @@ class GetAlertV2Result:
|
|
|
42
40
|
if display_name and not isinstance(display_name, str):
|
|
43
41
|
raise TypeError("Expected argument 'display_name' to be a str")
|
|
44
42
|
pulumi.set(__self__, "display_name", display_name)
|
|
43
|
+
if effective_run_as and not isinstance(effective_run_as, dict):
|
|
44
|
+
raise TypeError("Expected argument 'effective_run_as' to be a dict")
|
|
45
|
+
pulumi.set(__self__, "effective_run_as", effective_run_as)
|
|
45
46
|
if evaluation and not isinstance(evaluation, dict):
|
|
46
47
|
raise TypeError("Expected argument 'evaluation' to be a dict")
|
|
47
48
|
pulumi.set(__self__, "evaluation", evaluation)
|
|
@@ -60,6 +61,9 @@ class GetAlertV2Result:
|
|
|
60
61
|
if query_text and not isinstance(query_text, str):
|
|
61
62
|
raise TypeError("Expected argument 'query_text' to be a str")
|
|
62
63
|
pulumi.set(__self__, "query_text", query_text)
|
|
64
|
+
if run_as and not isinstance(run_as, dict):
|
|
65
|
+
raise TypeError("Expected argument 'run_as' to be a dict")
|
|
66
|
+
pulumi.set(__self__, "run_as", run_as)
|
|
63
67
|
if run_as_user_name and not isinstance(run_as_user_name, str):
|
|
64
68
|
raise TypeError("Expected argument 'run_as_user_name' to be a str")
|
|
65
69
|
pulumi.set(__self__, "run_as_user_name", run_as_user_name)
|
|
@@ -73,113 +77,137 @@ class GetAlertV2Result:
|
|
|
73
77
|
raise TypeError("Expected argument 'warehouse_id' to be a str")
|
|
74
78
|
pulumi.set(__self__, "warehouse_id", warehouse_id)
|
|
75
79
|
|
|
76
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
77
81
|
@pulumi.getter(name="createTime")
|
|
78
|
-
def create_time(self) ->
|
|
82
|
+
def create_time(self) -> _builtins.str:
|
|
79
83
|
"""
|
|
80
84
|
(string) - The timestamp indicating when the alert was created
|
|
81
85
|
"""
|
|
82
86
|
return pulumi.get(self, "create_time")
|
|
83
87
|
|
|
84
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
85
89
|
@pulumi.getter(name="customDescription")
|
|
86
|
-
def custom_description(self) ->
|
|
90
|
+
def custom_description(self) -> _builtins.str:
|
|
87
91
|
"""
|
|
88
92
|
(string) - Custom description for the alert. support mustache template
|
|
89
93
|
"""
|
|
90
94
|
return pulumi.get(self, "custom_description")
|
|
91
95
|
|
|
92
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
93
97
|
@pulumi.getter(name="customSummary")
|
|
94
|
-
def custom_summary(self) ->
|
|
98
|
+
def custom_summary(self) -> _builtins.str:
|
|
95
99
|
"""
|
|
96
100
|
(string) - Custom summary for the alert. support mustache template
|
|
97
101
|
"""
|
|
98
102
|
return pulumi.get(self, "custom_summary")
|
|
99
103
|
|
|
100
|
-
@property
|
|
104
|
+
@_builtins.property
|
|
101
105
|
@pulumi.getter(name="displayName")
|
|
102
|
-
def display_name(self) ->
|
|
106
|
+
def display_name(self) -> _builtins.str:
|
|
103
107
|
"""
|
|
104
108
|
(string) - The display name of the alert
|
|
105
109
|
"""
|
|
106
110
|
return pulumi.get(self, "display_name")
|
|
107
111
|
|
|
108
|
-
@property
|
|
112
|
+
@_builtins.property
|
|
113
|
+
@pulumi.getter(name="effectiveRunAs")
|
|
114
|
+
def effective_run_as(self) -> 'outputs.GetAlertV2EffectiveRunAsResult':
|
|
115
|
+
"""
|
|
116
|
+
(AlertV2RunAs) - The actual identity that will be used to execute the alert.
|
|
117
|
+
This is an output-only field that shows the resolved run-as identity after applying
|
|
118
|
+
permissions and defaults
|
|
119
|
+
"""
|
|
120
|
+
return pulumi.get(self, "effective_run_as")
|
|
121
|
+
|
|
122
|
+
@_builtins.property
|
|
109
123
|
@pulumi.getter
|
|
110
|
-
def evaluation(self) ->
|
|
124
|
+
def evaluation(self) -> 'outputs.GetAlertV2EvaluationResult':
|
|
111
125
|
"""
|
|
112
|
-
(AlertV2Evaluation)
|
|
126
|
+
(AlertV2Evaluation)
|
|
113
127
|
"""
|
|
114
128
|
return pulumi.get(self, "evaluation")
|
|
115
129
|
|
|
116
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
117
131
|
@pulumi.getter
|
|
118
|
-
def id(self) ->
|
|
132
|
+
def id(self) -> _builtins.str:
|
|
119
133
|
"""
|
|
120
134
|
(string) - UUID identifying the alert
|
|
121
135
|
"""
|
|
122
136
|
return pulumi.get(self, "id")
|
|
123
137
|
|
|
124
|
-
@property
|
|
138
|
+
@_builtins.property
|
|
125
139
|
@pulumi.getter(name="lifecycleState")
|
|
126
|
-
def lifecycle_state(self) ->
|
|
140
|
+
def lifecycle_state(self) -> _builtins.str:
|
|
127
141
|
"""
|
|
128
|
-
(string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `
|
|
142
|
+
(string) - Indicates whether the query is trashed. Possible values are: `ACTIVE`, `DELETED`
|
|
129
143
|
"""
|
|
130
144
|
return pulumi.get(self, "lifecycle_state")
|
|
131
145
|
|
|
132
|
-
@property
|
|
146
|
+
@_builtins.property
|
|
133
147
|
@pulumi.getter(name="ownerUserName")
|
|
134
|
-
def owner_user_name(self) ->
|
|
148
|
+
def owner_user_name(self) -> _builtins.str:
|
|
135
149
|
"""
|
|
136
150
|
(string) - The owner's username. This field is set to "Unavailable" if the user has been deleted
|
|
137
151
|
"""
|
|
138
152
|
return pulumi.get(self, "owner_user_name")
|
|
139
153
|
|
|
140
|
-
@property
|
|
154
|
+
@_builtins.property
|
|
141
155
|
@pulumi.getter(name="parentPath")
|
|
142
|
-
def parent_path(self) ->
|
|
156
|
+
def parent_path(self) -> _builtins.str:
|
|
143
157
|
"""
|
|
144
158
|
(string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
|
|
145
159
|
"""
|
|
146
160
|
return pulumi.get(self, "parent_path")
|
|
147
161
|
|
|
148
|
-
@property
|
|
162
|
+
@_builtins.property
|
|
149
163
|
@pulumi.getter(name="queryText")
|
|
150
|
-
def query_text(self) ->
|
|
164
|
+
def query_text(self) -> _builtins.str:
|
|
151
165
|
"""
|
|
152
166
|
(string) - Text of the query to be run
|
|
153
167
|
"""
|
|
154
168
|
return pulumi.get(self, "query_text")
|
|
155
169
|
|
|
156
|
-
@property
|
|
170
|
+
@_builtins.property
|
|
171
|
+
@pulumi.getter(name="runAs")
|
|
172
|
+
def run_as(self) -> 'outputs.GetAlertV2RunAsResult':
|
|
173
|
+
"""
|
|
174
|
+
(AlertV2RunAs) - Specifies the identity that will be used to run the alert.
|
|
175
|
+
This field allows you to configure alerts to run as a specific user or service principal.
|
|
176
|
+
- For user identity: Set `user_name` to the email of an active workspace user. Users can only set this to their own email.
|
|
177
|
+
- For service principal: Set `service_principal_name` to the application ID. Requires the `servicePrincipal/user` role.
|
|
178
|
+
If not specified, the alert will run as the request user
|
|
179
|
+
"""
|
|
180
|
+
return pulumi.get(self, "run_as")
|
|
181
|
+
|
|
182
|
+
@_builtins.property
|
|
157
183
|
@pulumi.getter(name="runAsUserName")
|
|
158
|
-
def run_as_user_name(self) ->
|
|
184
|
+
def run_as_user_name(self) -> _builtins.str:
|
|
159
185
|
"""
|
|
160
|
-
(string) - The run as username
|
|
186
|
+
(string, deprecated) - The run as username or application ID of service principal.
|
|
187
|
+
On Create and Update, this field can be set to application ID of an active service principal. Setting this field requires the servicePrincipal/user role.
|
|
188
|
+
Deprecated: Use `run_as` field instead. This field will be removed in a future release
|
|
161
189
|
"""
|
|
162
190
|
return pulumi.get(self, "run_as_user_name")
|
|
163
191
|
|
|
164
|
-
@property
|
|
192
|
+
@_builtins.property
|
|
165
193
|
@pulumi.getter
|
|
166
|
-
def schedule(self) ->
|
|
194
|
+
def schedule(self) -> 'outputs.GetAlertV2ScheduleResult':
|
|
167
195
|
"""
|
|
168
|
-
(CronSchedule)
|
|
196
|
+
(CronSchedule)
|
|
169
197
|
"""
|
|
170
198
|
return pulumi.get(self, "schedule")
|
|
171
199
|
|
|
172
|
-
@property
|
|
200
|
+
@_builtins.property
|
|
173
201
|
@pulumi.getter(name="updateTime")
|
|
174
|
-
def update_time(self) ->
|
|
202
|
+
def update_time(self) -> _builtins.str:
|
|
175
203
|
"""
|
|
176
204
|
(string) - The timestamp indicating when the alert was updated
|
|
177
205
|
"""
|
|
178
206
|
return pulumi.get(self, "update_time")
|
|
179
207
|
|
|
180
|
-
@property
|
|
208
|
+
@_builtins.property
|
|
181
209
|
@pulumi.getter(name="warehouseId")
|
|
182
|
-
def warehouse_id(self) ->
|
|
210
|
+
def warehouse_id(self) -> _builtins.str:
|
|
183
211
|
"""
|
|
184
212
|
(string) - ID of the SQL warehouse attached to the alert
|
|
185
213
|
"""
|
|
@@ -196,28 +224,25 @@ class AwaitableGetAlertV2Result(GetAlertV2Result):
|
|
|
196
224
|
custom_description=self.custom_description,
|
|
197
225
|
custom_summary=self.custom_summary,
|
|
198
226
|
display_name=self.display_name,
|
|
227
|
+
effective_run_as=self.effective_run_as,
|
|
199
228
|
evaluation=self.evaluation,
|
|
200
229
|
id=self.id,
|
|
201
230
|
lifecycle_state=self.lifecycle_state,
|
|
202
231
|
owner_user_name=self.owner_user_name,
|
|
203
232
|
parent_path=self.parent_path,
|
|
204
233
|
query_text=self.query_text,
|
|
234
|
+
run_as=self.run_as,
|
|
205
235
|
run_as_user_name=self.run_as_user_name,
|
|
206
236
|
schedule=self.schedule,
|
|
207
237
|
update_time=self.update_time,
|
|
208
238
|
warehouse_id=self.warehouse_id)
|
|
209
239
|
|
|
210
240
|
|
|
211
|
-
def get_alert_v2(
|
|
212
|
-
custom_summary: Optional[builtins.str] = None,
|
|
213
|
-
display_name: Optional[builtins.str] = None,
|
|
214
|
-
evaluation: Optional[Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict']] = None,
|
|
215
|
-
parent_path: Optional[builtins.str] = None,
|
|
216
|
-
query_text: Optional[builtins.str] = None,
|
|
217
|
-
schedule: Optional[Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict']] = None,
|
|
218
|
-
warehouse_id: Optional[builtins.str] = None,
|
|
241
|
+
def get_alert_v2(id: Optional[_builtins.str] = None,
|
|
219
242
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertV2Result:
|
|
220
243
|
"""
|
|
244
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
245
|
+
|
|
221
246
|
The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
|
|
222
247
|
|
|
223
248
|
You can use this data source to:
|
|
@@ -228,25 +253,21 @@ def get_alert_v2(custom_description: Optional[builtins.str] = None,
|
|
|
228
253
|
|
|
229
254
|
## Example Usage
|
|
230
255
|
|
|
256
|
+
### Retrieve Alert by ID
|
|
257
|
+
This example retrieves a specific alert by its ID:
|
|
231
258
|
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
259
|
+
```python
|
|
260
|
+
import pulumi
|
|
261
|
+
import pulumi_databricks as databricks
|
|
262
|
+
|
|
263
|
+
this = databricks.get_alert_v2(id="123")
|
|
264
|
+
```
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
:param _builtins.str id: UUID identifying the alert
|
|
240
268
|
"""
|
|
241
269
|
__args__ = dict()
|
|
242
|
-
__args__['
|
|
243
|
-
__args__['customSummary'] = custom_summary
|
|
244
|
-
__args__['displayName'] = display_name
|
|
245
|
-
__args__['evaluation'] = evaluation
|
|
246
|
-
__args__['parentPath'] = parent_path
|
|
247
|
-
__args__['queryText'] = query_text
|
|
248
|
-
__args__['schedule'] = schedule
|
|
249
|
-
__args__['warehouseId'] = warehouse_id
|
|
270
|
+
__args__['id'] = id
|
|
250
271
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
251
272
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAlertV2:getAlertV2', __args__, opts=opts, typ=GetAlertV2Result).value
|
|
252
273
|
|
|
@@ -255,26 +276,23 @@ def get_alert_v2(custom_description: Optional[builtins.str] = None,
|
|
|
255
276
|
custom_description=pulumi.get(__ret__, 'custom_description'),
|
|
256
277
|
custom_summary=pulumi.get(__ret__, 'custom_summary'),
|
|
257
278
|
display_name=pulumi.get(__ret__, 'display_name'),
|
|
279
|
+
effective_run_as=pulumi.get(__ret__, 'effective_run_as'),
|
|
258
280
|
evaluation=pulumi.get(__ret__, 'evaluation'),
|
|
259
281
|
id=pulumi.get(__ret__, 'id'),
|
|
260
282
|
lifecycle_state=pulumi.get(__ret__, 'lifecycle_state'),
|
|
261
283
|
owner_user_name=pulumi.get(__ret__, 'owner_user_name'),
|
|
262
284
|
parent_path=pulumi.get(__ret__, 'parent_path'),
|
|
263
285
|
query_text=pulumi.get(__ret__, 'query_text'),
|
|
286
|
+
run_as=pulumi.get(__ret__, 'run_as'),
|
|
264
287
|
run_as_user_name=pulumi.get(__ret__, 'run_as_user_name'),
|
|
265
288
|
schedule=pulumi.get(__ret__, 'schedule'),
|
|
266
289
|
update_time=pulumi.get(__ret__, 'update_time'),
|
|
267
290
|
warehouse_id=pulumi.get(__ret__, 'warehouse_id'))
|
|
268
|
-
def get_alert_v2_output(
|
|
269
|
-
custom_summary: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
270
|
-
display_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
271
|
-
evaluation: Optional[pulumi.Input[Optional[Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict']]]] = None,
|
|
272
|
-
parent_path: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
273
|
-
query_text: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
274
|
-
schedule: Optional[pulumi.Input[Optional[Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict']]]] = None,
|
|
275
|
-
warehouse_id: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
291
|
+
def get_alert_v2_output(id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
276
292
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertV2Result]:
|
|
277
293
|
"""
|
|
294
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
295
|
+
|
|
278
296
|
The SQL Alert v2 data source allows you to retrieve detailed information about a specific alert in Databricks SQL. This data source provides access to all alert properties, including its configuration, evaluation criteria, notification settings, and schedule.
|
|
279
297
|
|
|
280
298
|
You can use this data source to:
|
|
@@ -285,25 +303,21 @@ def get_alert_v2_output(custom_description: Optional[pulumi.Input[Optional[built
|
|
|
285
303
|
|
|
286
304
|
## Example Usage
|
|
287
305
|
|
|
306
|
+
### Retrieve Alert by ID
|
|
307
|
+
This example retrieves a specific alert by its ID:
|
|
308
|
+
|
|
309
|
+
```python
|
|
310
|
+
import pulumi
|
|
311
|
+
import pulumi_databricks as databricks
|
|
312
|
+
|
|
313
|
+
this = databricks.get_alert_v2(id="123")
|
|
314
|
+
```
|
|
315
|
+
|
|
288
316
|
|
|
289
|
-
:param
|
|
290
|
-
:param builtins.str custom_summary: (string) - Custom summary for the alert. support mustache template
|
|
291
|
-
:param builtins.str display_name: (string) - The display name of the alert
|
|
292
|
-
:param Union['GetAlertV2EvaluationArgs', 'GetAlertV2EvaluationArgsDict'] evaluation: (AlertV2Evaluation) -
|
|
293
|
-
:param builtins.str parent_path: (string) - The workspace path of the folder containing the alert. Can only be set on create, and cannot be updated
|
|
294
|
-
:param builtins.str query_text: (string) - Text of the query to be run
|
|
295
|
-
:param Union['GetAlertV2ScheduleArgs', 'GetAlertV2ScheduleArgsDict'] schedule: (CronSchedule) -
|
|
296
|
-
:param builtins.str warehouse_id: (string) - ID of the SQL warehouse attached to the alert
|
|
317
|
+
:param _builtins.str id: UUID identifying the alert
|
|
297
318
|
"""
|
|
298
319
|
__args__ = dict()
|
|
299
|
-
__args__['
|
|
300
|
-
__args__['customSummary'] = custom_summary
|
|
301
|
-
__args__['displayName'] = display_name
|
|
302
|
-
__args__['evaluation'] = evaluation
|
|
303
|
-
__args__['parentPath'] = parent_path
|
|
304
|
-
__args__['queryText'] = query_text
|
|
305
|
-
__args__['schedule'] = schedule
|
|
306
|
-
__args__['warehouseId'] = warehouse_id
|
|
320
|
+
__args__['id'] = id
|
|
307
321
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
308
322
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAlertV2:getAlertV2', __args__, opts=opts, typ=GetAlertV2Result)
|
|
309
323
|
return __ret__.apply(lambda __response__: GetAlertV2Result(
|
|
@@ -311,12 +325,14 @@ def get_alert_v2_output(custom_description: Optional[pulumi.Input[Optional[built
|
|
|
311
325
|
custom_description=pulumi.get(__response__, 'custom_description'),
|
|
312
326
|
custom_summary=pulumi.get(__response__, 'custom_summary'),
|
|
313
327
|
display_name=pulumi.get(__response__, 'display_name'),
|
|
328
|
+
effective_run_as=pulumi.get(__response__, 'effective_run_as'),
|
|
314
329
|
evaluation=pulumi.get(__response__, 'evaluation'),
|
|
315
330
|
id=pulumi.get(__response__, 'id'),
|
|
316
331
|
lifecycle_state=pulumi.get(__response__, 'lifecycle_state'),
|
|
317
332
|
owner_user_name=pulumi.get(__response__, 'owner_user_name'),
|
|
318
333
|
parent_path=pulumi.get(__response__, 'parent_path'),
|
|
319
334
|
query_text=pulumi.get(__response__, 'query_text'),
|
|
335
|
+
run_as=pulumi.get(__response__, 'run_as'),
|
|
320
336
|
run_as_user_name=pulumi.get(__response__, 'run_as_user_name'),
|
|
321
337
|
schedule=pulumi.get(__response__, 'schedule'),
|
|
322
338
|
update_time=pulumi.get(__response__, 'update_time'),
|
|
@@ -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
|
|
@@ -28,26 +27,34 @@ class GetAlertsV2Result:
|
|
|
28
27
|
"""
|
|
29
28
|
A collection of values returned by getAlertsV2.
|
|
30
29
|
"""
|
|
31
|
-
def __init__(__self__, id=None,
|
|
30
|
+
def __init__(__self__, alerts=None, id=None, page_size=None):
|
|
31
|
+
if alerts and not isinstance(alerts, list):
|
|
32
|
+
raise TypeError("Expected argument 'alerts' to be a list")
|
|
33
|
+
pulumi.set(__self__, "alerts", alerts)
|
|
32
34
|
if id and not isinstance(id, str):
|
|
33
35
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
36
|
pulumi.set(__self__, "id", id)
|
|
35
|
-
if
|
|
36
|
-
raise TypeError("Expected argument '
|
|
37
|
-
pulumi.set(__self__, "
|
|
37
|
+
if page_size and not isinstance(page_size, int):
|
|
38
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
39
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
38
40
|
|
|
39
|
-
@property
|
|
41
|
+
@_builtins.property
|
|
40
42
|
@pulumi.getter
|
|
41
|
-
def
|
|
43
|
+
def alerts(self) -> Sequence['outputs.GetAlertsV2AlertResult']:
|
|
44
|
+
return pulumi.get(self, "alerts")
|
|
45
|
+
|
|
46
|
+
@_builtins.property
|
|
47
|
+
@pulumi.getter
|
|
48
|
+
def id(self) -> _builtins.str:
|
|
42
49
|
"""
|
|
43
50
|
The provider-assigned unique ID for this managed resource.
|
|
44
51
|
"""
|
|
45
52
|
return pulumi.get(self, "id")
|
|
46
53
|
|
|
47
|
-
@property
|
|
48
|
-
@pulumi.getter
|
|
49
|
-
def
|
|
50
|
-
return pulumi.get(self, "
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter(name="pageSize")
|
|
56
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
57
|
+
return pulumi.get(self, "page_size")
|
|
51
58
|
|
|
52
59
|
|
|
53
60
|
class AwaitableGetAlertsV2Result(GetAlertsV2Result):
|
|
@@ -56,12 +63,16 @@ class AwaitableGetAlertsV2Result(GetAlertsV2Result):
|
|
|
56
63
|
if False:
|
|
57
64
|
yield self
|
|
58
65
|
return GetAlertsV2Result(
|
|
66
|
+
alerts=self.alerts,
|
|
59
67
|
id=self.id,
|
|
60
|
-
|
|
68
|
+
page_size=self.page_size)
|
|
61
69
|
|
|
62
70
|
|
|
63
|
-
def get_alerts_v2(
|
|
71
|
+
def get_alerts_v2(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAlertsV2Result:
|
|
64
73
|
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
65
76
|
The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
|
|
66
77
|
|
|
67
78
|
You can use this data source to:
|
|
@@ -81,14 +92,19 @@ def get_alerts_v2(opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAl
|
|
|
81
92
|
```
|
|
82
93
|
"""
|
|
83
94
|
__args__ = dict()
|
|
95
|
+
__args__['pageSize'] = page_size
|
|
84
96
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
85
97
|
__ret__ = pulumi.runtime.invoke('databricks:index/getAlertsV2:getAlertsV2', __args__, opts=opts, typ=GetAlertsV2Result).value
|
|
86
98
|
|
|
87
99
|
return AwaitableGetAlertsV2Result(
|
|
100
|
+
alerts=pulumi.get(__ret__, 'alerts'),
|
|
88
101
|
id=pulumi.get(__ret__, 'id'),
|
|
89
|
-
|
|
90
|
-
def get_alerts_v2_output(
|
|
102
|
+
page_size=pulumi.get(__ret__, 'page_size'))
|
|
103
|
+
def get_alerts_v2_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
104
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAlertsV2Result]:
|
|
91
105
|
"""
|
|
106
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
107
|
+
|
|
92
108
|
The SQL Alerts v2 data source allows you to retrieve a list of alerts in Databricks SQL that are accessible to the current user. This data source returns alerts ordered by their creation time.
|
|
93
109
|
|
|
94
110
|
You can use this data source to:
|
|
@@ -108,8 +124,10 @@ def get_alerts_v2_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi.Invok
|
|
|
108
124
|
```
|
|
109
125
|
"""
|
|
110
126
|
__args__ = dict()
|
|
127
|
+
__args__['pageSize'] = page_size
|
|
111
128
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
112
129
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAlertsV2:getAlertsV2', __args__, opts=opts, typ=GetAlertsV2Result)
|
|
113
130
|
return __ret__.apply(lambda __response__: GetAlertsV2Result(
|
|
131
|
+
alerts=pulumi.get(__response__, 'alerts'),
|
|
114
132
|
id=pulumi.get(__response__, 'id'),
|
|
115
|
-
|
|
133
|
+
page_size=pulumi.get(__response__, 'page_size')))
|
pulumi_databricks/get_app.py
CHANGED
|
@@ -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
|
|
@@ -15,6 +14,7 @@ else:
|
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
17
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
18
18
|
|
|
19
19
|
__all__ = [
|
|
20
20
|
'GetAppResult',
|
|
@@ -28,7 +28,7 @@ class GetAppResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getApp.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, app=None, id=None, name=None):
|
|
31
|
+
def __init__(__self__, app=None, id=None, name=None, provider_config=None):
|
|
32
32
|
if app and not isinstance(app, dict):
|
|
33
33
|
raise TypeError("Expected argument 'app' to be a dict")
|
|
34
34
|
pulumi.set(__self__, "app", app)
|
|
@@ -38,8 +38,11 @@ class GetAppResult:
|
|
|
38
38
|
if name and not isinstance(name, str):
|
|
39
39
|
raise TypeError("Expected argument 'name' to be a str")
|
|
40
40
|
pulumi.set(__self__, "name", name)
|
|
41
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
42
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
43
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
41
44
|
|
|
42
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
43
46
|
@pulumi.getter
|
|
44
47
|
def app(self) -> 'outputs.GetAppAppResult':
|
|
45
48
|
"""
|
|
@@ -47,22 +50,27 @@ class GetAppResult:
|
|
|
47
50
|
"""
|
|
48
51
|
return pulumi.get(self, "app")
|
|
49
52
|
|
|
50
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
51
54
|
@pulumi.getter
|
|
52
|
-
def id(self) ->
|
|
55
|
+
def id(self) -> _builtins.str:
|
|
53
56
|
"""
|
|
54
57
|
The provider-assigned unique ID for this managed resource.
|
|
55
58
|
"""
|
|
56
59
|
return pulumi.get(self, "id")
|
|
57
60
|
|
|
58
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
59
62
|
@pulumi.getter
|
|
60
|
-
def name(self) ->
|
|
63
|
+
def name(self) -> _builtins.str:
|
|
61
64
|
"""
|
|
62
|
-
|
|
65
|
+
The name of Genie Space.
|
|
63
66
|
"""
|
|
64
67
|
return pulumi.get(self, "name")
|
|
65
68
|
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter(name="providerConfig")
|
|
71
|
+
def provider_config(self) -> Optional['outputs.GetAppProviderConfigResult']:
|
|
72
|
+
return pulumi.get(self, "provider_config")
|
|
73
|
+
|
|
66
74
|
|
|
67
75
|
class AwaitableGetAppResult(GetAppResult):
|
|
68
76
|
# pylint: disable=using-constant-test
|
|
@@ -72,16 +80,16 @@ class AwaitableGetAppResult(GetAppResult):
|
|
|
72
80
|
return GetAppResult(
|
|
73
81
|
app=self.app,
|
|
74
82
|
id=self.id,
|
|
75
|
-
name=self.name
|
|
83
|
+
name=self.name,
|
|
84
|
+
provider_config=self.provider_config)
|
|
76
85
|
|
|
77
86
|
|
|
78
|
-
def get_app(name: Optional[
|
|
87
|
+
def get_app(name: Optional[_builtins.str] = None,
|
|
88
|
+
provider_config: Optional[Union['GetAppProviderConfigArgs', 'GetAppProviderConfigArgsDict']] = None,
|
|
79
89
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAppResult:
|
|
80
90
|
"""
|
|
81
91
|
> This data source can only be used with a workspace-level provider!
|
|
82
92
|
|
|
83
|
-
> This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
84
|
-
|
|
85
93
|
[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
|
|
86
94
|
|
|
87
95
|
This data source allows you to fetch information about a Databricks App.
|
|
@@ -106,24 +114,25 @@ def get_app(name: Optional[builtins.str] = None,
|
|
|
106
114
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
|
|
107
115
|
|
|
108
116
|
|
|
109
|
-
:param
|
|
117
|
+
:param _builtins.str name: The name of the app.
|
|
110
118
|
"""
|
|
111
119
|
__args__ = dict()
|
|
112
120
|
__args__['name'] = name
|
|
121
|
+
__args__['providerConfig'] = provider_config
|
|
113
122
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
114
123
|
__ret__ = pulumi.runtime.invoke('databricks:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult).value
|
|
115
124
|
|
|
116
125
|
return AwaitableGetAppResult(
|
|
117
126
|
app=pulumi.get(__ret__, 'app'),
|
|
118
127
|
id=pulumi.get(__ret__, 'id'),
|
|
119
|
-
name=pulumi.get(__ret__, 'name')
|
|
120
|
-
|
|
128
|
+
name=pulumi.get(__ret__, 'name'),
|
|
129
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
130
|
+
def get_app_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
131
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetAppProviderConfigArgs', 'GetAppProviderConfigArgsDict']]]] = None,
|
|
121
132
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAppResult]:
|
|
122
133
|
"""
|
|
123
134
|
> This data source can only be used with a workspace-level provider!
|
|
124
135
|
|
|
125
|
-
> This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
|
|
126
|
-
|
|
127
136
|
[Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
|
|
128
137
|
|
|
129
138
|
This data source allows you to fetch information about a Databricks App.
|
|
@@ -148,13 +157,15 @@ def get_app_output(name: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
148
157
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
|
|
149
158
|
|
|
150
159
|
|
|
151
|
-
:param
|
|
160
|
+
:param _builtins.str name: The name of the app.
|
|
152
161
|
"""
|
|
153
162
|
__args__ = dict()
|
|
154
163
|
__args__['name'] = name
|
|
164
|
+
__args__['providerConfig'] = provider_config
|
|
155
165
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
156
166
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getApp:getApp', __args__, opts=opts, typ=GetAppResult)
|
|
157
167
|
return __ret__.apply(lambda __response__: GetAppResult(
|
|
158
168
|
app=pulumi.get(__response__, 'app'),
|
|
159
169
|
id=pulumi.get(__response__, 'id'),
|
|
160
|
-
name=pulumi.get(__response__, 'name')
|
|
170
|
+
name=pulumi.get(__response__, 'name'),
|
|
171
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|