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,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
|
'GetBudgetPoliciesResult',
|
|
@@ -28,27 +28,51 @@ class GetBudgetPoliciesResult:
|
|
|
28
28
|
"""
|
|
29
29
|
A collection of values returned by getBudgetPolicies.
|
|
30
30
|
"""
|
|
31
|
-
def __init__(__self__, id=None, policies=None):
|
|
31
|
+
def __init__(__self__, filter_by=None, id=None, page_size=None, policies=None, sort_spec=None):
|
|
32
|
+
if filter_by and not isinstance(filter_by, dict):
|
|
33
|
+
raise TypeError("Expected argument 'filter_by' to be a dict")
|
|
34
|
+
pulumi.set(__self__, "filter_by", filter_by)
|
|
32
35
|
if id and not isinstance(id, str):
|
|
33
36
|
raise TypeError("Expected argument 'id' to be a str")
|
|
34
37
|
pulumi.set(__self__, "id", id)
|
|
38
|
+
if page_size and not isinstance(page_size, int):
|
|
39
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
40
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
35
41
|
if policies and not isinstance(policies, list):
|
|
36
42
|
raise TypeError("Expected argument 'policies' to be a list")
|
|
37
43
|
pulumi.set(__self__, "policies", policies)
|
|
44
|
+
if sort_spec and not isinstance(sort_spec, dict):
|
|
45
|
+
raise TypeError("Expected argument 'sort_spec' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "sort_spec", sort_spec)
|
|
38
47
|
|
|
39
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
49
|
+
@pulumi.getter(name="filterBy")
|
|
50
|
+
def filter_by(self) -> Optional['outputs.GetBudgetPoliciesFilterByResult']:
|
|
51
|
+
return pulumi.get(self, "filter_by")
|
|
52
|
+
|
|
53
|
+
@_builtins.property
|
|
40
54
|
@pulumi.getter
|
|
41
|
-
def id(self) ->
|
|
55
|
+
def id(self) -> _builtins.str:
|
|
42
56
|
"""
|
|
43
57
|
The provider-assigned unique ID for this managed resource.
|
|
44
58
|
"""
|
|
45
59
|
return pulumi.get(self, "id")
|
|
46
60
|
|
|
47
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
62
|
+
@pulumi.getter(name="pageSize")
|
|
63
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
64
|
+
return pulumi.get(self, "page_size")
|
|
65
|
+
|
|
66
|
+
@_builtins.property
|
|
48
67
|
@pulumi.getter
|
|
49
68
|
def policies(self) -> Sequence['outputs.GetBudgetPoliciesPolicyResult']:
|
|
50
69
|
return pulumi.get(self, "policies")
|
|
51
70
|
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="sortSpec")
|
|
73
|
+
def sort_spec(self) -> Optional['outputs.GetBudgetPoliciesSortSpecResult']:
|
|
74
|
+
return pulumi.get(self, "sort_spec")
|
|
75
|
+
|
|
52
76
|
|
|
53
77
|
class AwaitableGetBudgetPoliciesResult(GetBudgetPoliciesResult):
|
|
54
78
|
# pylint: disable=using-constant-test
|
|
@@ -56,12 +80,20 @@ class AwaitableGetBudgetPoliciesResult(GetBudgetPoliciesResult):
|
|
|
56
80
|
if False:
|
|
57
81
|
yield self
|
|
58
82
|
return GetBudgetPoliciesResult(
|
|
83
|
+
filter_by=self.filter_by,
|
|
59
84
|
id=self.id,
|
|
60
|
-
|
|
85
|
+
page_size=self.page_size,
|
|
86
|
+
policies=self.policies,
|
|
87
|
+
sort_spec=self.sort_spec)
|
|
61
88
|
|
|
62
89
|
|
|
63
|
-
def get_budget_policies(
|
|
90
|
+
def get_budget_policies(filter_by: Optional[Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict']] = None,
|
|
91
|
+
page_size: Optional[_builtins.int] = None,
|
|
92
|
+
sort_spec: Optional[Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict']] = None,
|
|
93
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBudgetPoliciesResult:
|
|
64
94
|
"""
|
|
95
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
96
|
+
|
|
65
97
|
This data source can be used to fetch the list of budget policies.
|
|
66
98
|
|
|
67
99
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -76,16 +108,34 @@ def get_budget_policies(opts: Optional[pulumi.InvokeOptions] = None) -> Awaitabl
|
|
|
76
108
|
|
|
77
109
|
all = databricks.get_budget_policies()
|
|
78
110
|
```
|
|
111
|
+
|
|
112
|
+
|
|
113
|
+
:param Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict'] filter_by: A filter to apply to the list of policies
|
|
114
|
+
:param _builtins.int page_size: The maximum number of budget policies to return.
|
|
115
|
+
If unspecified, at most 100 budget policies will be returned.
|
|
116
|
+
The maximum value is 1000; values above 1000 will be coerced to 1000
|
|
117
|
+
:param Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict'] sort_spec: The sort specification
|
|
79
118
|
"""
|
|
80
119
|
__args__ = dict()
|
|
120
|
+
__args__['filterBy'] = filter_by
|
|
121
|
+
__args__['pageSize'] = page_size
|
|
122
|
+
__args__['sortSpec'] = sort_spec
|
|
81
123
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
82
124
|
__ret__ = pulumi.runtime.invoke('databricks:index/getBudgetPolicies:getBudgetPolicies', __args__, opts=opts, typ=GetBudgetPoliciesResult).value
|
|
83
125
|
|
|
84
126
|
return AwaitableGetBudgetPoliciesResult(
|
|
127
|
+
filter_by=pulumi.get(__ret__, 'filter_by'),
|
|
85
128
|
id=pulumi.get(__ret__, 'id'),
|
|
86
|
-
|
|
87
|
-
|
|
129
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
130
|
+
policies=pulumi.get(__ret__, 'policies'),
|
|
131
|
+
sort_spec=pulumi.get(__ret__, 'sort_spec'))
|
|
132
|
+
def get_budget_policies_output(filter_by: Optional[pulumi.Input[Optional[Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict']]]] = None,
|
|
133
|
+
page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
134
|
+
sort_spec: Optional[pulumi.Input[Optional[Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict']]]] = None,
|
|
135
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBudgetPoliciesResult]:
|
|
88
136
|
"""
|
|
137
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
138
|
+
|
|
89
139
|
This data source can be used to fetch the list of budget policies.
|
|
90
140
|
|
|
91
141
|
> **Note** This data source can only be used with an account-level provider!
|
|
@@ -100,10 +150,23 @@ def get_budget_policies_output(opts: Optional[Union[pulumi.InvokeOptions, pulumi
|
|
|
100
150
|
|
|
101
151
|
all = databricks.get_budget_policies()
|
|
102
152
|
```
|
|
153
|
+
|
|
154
|
+
|
|
155
|
+
:param Union['GetBudgetPoliciesFilterByArgs', 'GetBudgetPoliciesFilterByArgsDict'] filter_by: A filter to apply to the list of policies
|
|
156
|
+
:param _builtins.int page_size: The maximum number of budget policies to return.
|
|
157
|
+
If unspecified, at most 100 budget policies will be returned.
|
|
158
|
+
The maximum value is 1000; values above 1000 will be coerced to 1000
|
|
159
|
+
:param Union['GetBudgetPoliciesSortSpecArgs', 'GetBudgetPoliciesSortSpecArgsDict'] sort_spec: The sort specification
|
|
103
160
|
"""
|
|
104
161
|
__args__ = dict()
|
|
162
|
+
__args__['filterBy'] = filter_by
|
|
163
|
+
__args__['pageSize'] = page_size
|
|
164
|
+
__args__['sortSpec'] = sort_spec
|
|
105
165
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
106
166
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getBudgetPolicies:getBudgetPolicies', __args__, opts=opts, typ=GetBudgetPoliciesResult)
|
|
107
167
|
return __ret__.apply(lambda __response__: GetBudgetPoliciesResult(
|
|
168
|
+
filter_by=pulumi.get(__response__, 'filter_by'),
|
|
108
169
|
id=pulumi.get(__response__, 'id'),
|
|
109
|
-
|
|
170
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
171
|
+
policies=pulumi.get(__response__, 'policies'),
|
|
172
|
+
sort_spec=pulumi.get(__response__, 'sort_spec')))
|
|
@@ -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
|
'GetBudgetPolicyResult',
|
|
@@ -46,42 +44,42 @@ class GetBudgetPolicyResult:
|
|
|
46
44
|
raise TypeError("Expected argument 'policy_name' to be a str")
|
|
47
45
|
pulumi.set(__self__, "policy_name", policy_name)
|
|
48
46
|
|
|
49
|
-
@property
|
|
47
|
+
@_builtins.property
|
|
50
48
|
@pulumi.getter(name="bindingWorkspaceIds")
|
|
51
|
-
def binding_workspace_ids(self) ->
|
|
49
|
+
def binding_workspace_ids(self) -> Sequence[_builtins.int]:
|
|
52
50
|
"""
|
|
53
51
|
(list of integer) - List of workspaces that this budget policy will be exclusively bound to.
|
|
54
52
|
An empty binding implies that this budget policy is open to any workspace in the account
|
|
55
53
|
"""
|
|
56
54
|
return pulumi.get(self, "binding_workspace_ids")
|
|
57
55
|
|
|
58
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
59
57
|
@pulumi.getter(name="customTags")
|
|
60
|
-
def custom_tags(self) ->
|
|
58
|
+
def custom_tags(self) -> Sequence['outputs.GetBudgetPolicyCustomTagResult']:
|
|
61
59
|
"""
|
|
62
60
|
(list of CustomPolicyTag) - A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
63
61
|
"""
|
|
64
62
|
return pulumi.get(self, "custom_tags")
|
|
65
63
|
|
|
66
|
-
@property
|
|
64
|
+
@_builtins.property
|
|
67
65
|
@pulumi.getter
|
|
68
|
-
def id(self) ->
|
|
66
|
+
def id(self) -> _builtins.str:
|
|
69
67
|
"""
|
|
70
68
|
The provider-assigned unique ID for this managed resource.
|
|
71
69
|
"""
|
|
72
70
|
return pulumi.get(self, "id")
|
|
73
71
|
|
|
74
|
-
@property
|
|
72
|
+
@_builtins.property
|
|
75
73
|
@pulumi.getter(name="policyId")
|
|
76
|
-
def policy_id(self) ->
|
|
74
|
+
def policy_id(self) -> _builtins.str:
|
|
77
75
|
"""
|
|
78
76
|
(string) - The Id of the policy. This field is generated by Databricks and globally unique
|
|
79
77
|
"""
|
|
80
78
|
return pulumi.get(self, "policy_id")
|
|
81
79
|
|
|
82
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
83
81
|
@pulumi.getter(name="policyName")
|
|
84
|
-
def policy_name(self) ->
|
|
82
|
+
def policy_name(self) -> _builtins.str:
|
|
85
83
|
"""
|
|
86
84
|
(string) - The name of the policy.
|
|
87
85
|
- Must be unique among active policies.
|
|
@@ -104,28 +102,31 @@ class AwaitableGetBudgetPolicyResult(GetBudgetPolicyResult):
|
|
|
104
102
|
policy_name=self.policy_name)
|
|
105
103
|
|
|
106
104
|
|
|
107
|
-
def get_budget_policy(
|
|
108
|
-
custom_tags: Optional[Sequence[Union['GetBudgetPolicyCustomTagArgs', 'GetBudgetPolicyCustomTagArgsDict']]] = None,
|
|
109
|
-
policy_name: Optional[builtins.str] = None,
|
|
105
|
+
def get_budget_policy(policy_id: Optional[_builtins.str] = None,
|
|
110
106
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetBudgetPolicyResult:
|
|
111
107
|
"""
|
|
108
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
109
|
+
|
|
112
110
|
This data source can be used to get a single budget policy.
|
|
113
111
|
|
|
114
112
|
> **Note** This data source can only be used with an account-level provider!
|
|
115
113
|
|
|
114
|
+
## Example Usage
|
|
115
|
+
|
|
116
|
+
Referring to a budget policy by id:
|
|
117
|
+
|
|
118
|
+
```python
|
|
119
|
+
import pulumi
|
|
120
|
+
import pulumi_databricks as databricks
|
|
121
|
+
|
|
122
|
+
this = databricks.get_budget_policy(policy_id="test")
|
|
123
|
+
```
|
|
124
|
+
|
|
116
125
|
|
|
117
|
-
:param
|
|
118
|
-
An empty binding implies that this budget policy is open to any workspace in the account
|
|
119
|
-
:param Sequence[Union['GetBudgetPolicyCustomTagArgs', 'GetBudgetPolicyCustomTagArgsDict']] custom_tags: (list of CustomPolicyTag) - A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
120
|
-
:param builtins.str policy_name: (string) - The name of the policy.
|
|
121
|
-
- Must be unique among active policies.
|
|
122
|
-
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
123
|
-
- Can't start with reserved keywords such as `databricks:default-policy`
|
|
126
|
+
:param _builtins.str policy_id: The Id of the policy. This field is generated by Databricks and globally unique
|
|
124
127
|
"""
|
|
125
128
|
__args__ = dict()
|
|
126
|
-
__args__['
|
|
127
|
-
__args__['customTags'] = custom_tags
|
|
128
|
-
__args__['policyName'] = policy_name
|
|
129
|
+
__args__['policyId'] = policy_id
|
|
129
130
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
130
131
|
__ret__ = pulumi.runtime.invoke('databricks:index/getBudgetPolicy:getBudgetPolicy', __args__, opts=opts, typ=GetBudgetPolicyResult).value
|
|
131
132
|
|
|
@@ -135,28 +136,31 @@ def get_budget_policy(binding_workspace_ids: Optional[Sequence[builtins.int]] =
|
|
|
135
136
|
id=pulumi.get(__ret__, 'id'),
|
|
136
137
|
policy_id=pulumi.get(__ret__, 'policy_id'),
|
|
137
138
|
policy_name=pulumi.get(__ret__, 'policy_name'))
|
|
138
|
-
def get_budget_policy_output(
|
|
139
|
-
custom_tags: Optional[pulumi.Input[Optional[Sequence[Union['GetBudgetPolicyCustomTagArgs', 'GetBudgetPolicyCustomTagArgsDict']]]]] = None,
|
|
140
|
-
policy_name: Optional[pulumi.Input[Optional[builtins.str]]] = None,
|
|
139
|
+
def get_budget_policy_output(policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
141
140
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetBudgetPolicyResult]:
|
|
142
141
|
"""
|
|
142
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
143
|
+
|
|
143
144
|
This data source can be used to get a single budget policy.
|
|
144
145
|
|
|
145
146
|
> **Note** This data source can only be used with an account-level provider!
|
|
146
147
|
|
|
148
|
+
## Example Usage
|
|
149
|
+
|
|
150
|
+
Referring to a budget policy by id:
|
|
151
|
+
|
|
152
|
+
```python
|
|
153
|
+
import pulumi
|
|
154
|
+
import pulumi_databricks as databricks
|
|
155
|
+
|
|
156
|
+
this = databricks.get_budget_policy(policy_id="test")
|
|
157
|
+
```
|
|
158
|
+
|
|
147
159
|
|
|
148
|
-
:param
|
|
149
|
-
An empty binding implies that this budget policy is open to any workspace in the account
|
|
150
|
-
:param Sequence[Union['GetBudgetPolicyCustomTagArgs', 'GetBudgetPolicyCustomTagArgsDict']] custom_tags: (list of CustomPolicyTag) - A list of tags defined by the customer. At most 20 entries are allowed per policy
|
|
151
|
-
:param builtins.str policy_name: (string) - The name of the policy.
|
|
152
|
-
- Must be unique among active policies.
|
|
153
|
-
- Can contain only characters from the ISO 8859-1 (latin1) set.
|
|
154
|
-
- Can't start with reserved keywords such as `databricks:default-policy`
|
|
160
|
+
:param _builtins.str policy_id: The Id of the policy. This field is generated by Databricks and globally unique
|
|
155
161
|
"""
|
|
156
162
|
__args__ = dict()
|
|
157
|
-
__args__['
|
|
158
|
-
__args__['customTags'] = custom_tags
|
|
159
|
-
__args__['policyName'] = policy_name
|
|
163
|
+
__args__['policyId'] = policy_id
|
|
160
164
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
161
165
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getBudgetPolicy:getBudgetPolicy', __args__, opts=opts, typ=GetBudgetPolicyResult)
|
|
162
166
|
return __ret__.apply(lambda __response__: GetBudgetPolicyResult(
|
pulumi_databricks/get_catalog.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
|
|
@@ -29,7 +28,7 @@ class GetCatalogResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getCatalog.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, catalog_info=None, id=None, name=None):
|
|
31
|
+
def __init__(__self__, catalog_info=None, id=None, name=None, provider_config=None):
|
|
33
32
|
if catalog_info and not isinstance(catalog_info, dict):
|
|
34
33
|
raise TypeError("Expected argument 'catalog_info' to be a dict")
|
|
35
34
|
pulumi.set(__self__, "catalog_info", catalog_info)
|
|
@@ -39,8 +38,11 @@ class GetCatalogResult:
|
|
|
39
38
|
if name and not isinstance(name, str):
|
|
40
39
|
raise TypeError("Expected argument 'name' to be a str")
|
|
41
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)
|
|
42
44
|
|
|
43
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
44
46
|
@pulumi.getter(name="catalogInfo")
|
|
45
47
|
def catalog_info(self) -> 'outputs.GetCatalogCatalogInfoResult':
|
|
46
48
|
"""
|
|
@@ -48,22 +50,27 @@ class GetCatalogResult:
|
|
|
48
50
|
"""
|
|
49
51
|
return pulumi.get(self, "catalog_info")
|
|
50
52
|
|
|
51
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
52
54
|
@pulumi.getter
|
|
53
|
-
def id(self) ->
|
|
55
|
+
def id(self) -> _builtins.str:
|
|
54
56
|
"""
|
|
55
57
|
same as the `name`
|
|
56
58
|
"""
|
|
57
59
|
return pulumi.get(self, "id")
|
|
58
60
|
|
|
59
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
60
62
|
@pulumi.getter
|
|
61
|
-
def name(self) ->
|
|
63
|
+
def name(self) -> _builtins.str:
|
|
62
64
|
"""
|
|
63
65
|
Name of the catalog
|
|
64
66
|
"""
|
|
65
67
|
return pulumi.get(self, "name")
|
|
66
68
|
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter(name="providerConfig")
|
|
71
|
+
def provider_config(self) -> Optional['outputs.GetCatalogProviderConfigResult']:
|
|
72
|
+
return pulumi.get(self, "provider_config")
|
|
73
|
+
|
|
67
74
|
|
|
68
75
|
class AwaitableGetCatalogResult(GetCatalogResult):
|
|
69
76
|
# pylint: disable=using-constant-test
|
|
@@ -73,12 +80,14 @@ class AwaitableGetCatalogResult(GetCatalogResult):
|
|
|
73
80
|
return GetCatalogResult(
|
|
74
81
|
catalog_info=self.catalog_info,
|
|
75
82
|
id=self.id,
|
|
76
|
-
name=self.name
|
|
83
|
+
name=self.name,
|
|
84
|
+
provider_config=self.provider_config)
|
|
77
85
|
|
|
78
86
|
|
|
79
87
|
def get_catalog(catalog_info: Optional[Union['GetCatalogCatalogInfoArgs', 'GetCatalogCatalogInfoArgsDict']] = None,
|
|
80
|
-
id: Optional[
|
|
81
|
-
name: Optional[
|
|
88
|
+
id: Optional[_builtins.str] = None,
|
|
89
|
+
name: Optional[_builtins.str] = None,
|
|
90
|
+
provider_config: Optional[Union['GetCatalogProviderConfigArgs', 'GetCatalogProviderConfigArgsDict']] = None,
|
|
82
91
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogResult:
|
|
83
92
|
"""
|
|
84
93
|
Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use get_catalogs to retrieve IDs of multiple catalogs from Unity Catalog
|
|
@@ -111,23 +120,27 @@ def get_catalog(catalog_info: Optional[Union['GetCatalogCatalogInfoArgs', 'GetCa
|
|
|
111
120
|
|
|
112
121
|
|
|
113
122
|
:param Union['GetCatalogCatalogInfoArgs', 'GetCatalogCatalogInfoArgsDict'] catalog_info: the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ):
|
|
114
|
-
:param
|
|
115
|
-
:param
|
|
123
|
+
:param _builtins.str id: same as the `name`
|
|
124
|
+
:param _builtins.str name: name of the catalog
|
|
125
|
+
:param Union['GetCatalogProviderConfigArgs', 'GetCatalogProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
116
126
|
"""
|
|
117
127
|
__args__ = dict()
|
|
118
128
|
__args__['catalogInfo'] = catalog_info
|
|
119
129
|
__args__['id'] = id
|
|
120
130
|
__args__['name'] = name
|
|
131
|
+
__args__['providerConfig'] = provider_config
|
|
121
132
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
122
133
|
__ret__ = pulumi.runtime.invoke('databricks:index/getCatalog:getCatalog', __args__, opts=opts, typ=GetCatalogResult).value
|
|
123
134
|
|
|
124
135
|
return AwaitableGetCatalogResult(
|
|
125
136
|
catalog_info=pulumi.get(__ret__, 'catalog_info'),
|
|
126
137
|
id=pulumi.get(__ret__, 'id'),
|
|
127
|
-
name=pulumi.get(__ret__, 'name')
|
|
138
|
+
name=pulumi.get(__ret__, 'name'),
|
|
139
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
128
140
|
def get_catalog_output(catalog_info: Optional[pulumi.Input[Optional[Union['GetCatalogCatalogInfoArgs', 'GetCatalogCatalogInfoArgsDict']]]] = None,
|
|
129
|
-
id: Optional[pulumi.Input[Optional[
|
|
130
|
-
name: Optional[pulumi.Input[
|
|
141
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
142
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
143
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetCatalogProviderConfigArgs', 'GetCatalogProviderConfigArgsDict']]]] = None,
|
|
131
144
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCatalogResult]:
|
|
132
145
|
"""
|
|
133
146
|
Retrieves details of a specific catalog in Unity Catalog, that were created by Pulumi or manually. Use get_catalogs to retrieve IDs of multiple catalogs from Unity Catalog
|
|
@@ -160,16 +173,19 @@ def get_catalog_output(catalog_info: Optional[pulumi.Input[Optional[Union['GetCa
|
|
|
160
173
|
|
|
161
174
|
|
|
162
175
|
:param Union['GetCatalogCatalogInfoArgs', 'GetCatalogCatalogInfoArgsDict'] catalog_info: the [CatalogInfo](https://pkg.go.dev/github.com/databricks/databricks-sdk-go/service/catalog#CatalogInfo) object for a Unity Catalog catalog. This contains the following attributes (see ):
|
|
163
|
-
:param
|
|
164
|
-
:param
|
|
176
|
+
:param _builtins.str id: same as the `name`
|
|
177
|
+
:param _builtins.str name: name of the catalog
|
|
178
|
+
:param Union['GetCatalogProviderConfigArgs', 'GetCatalogProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
165
179
|
"""
|
|
166
180
|
__args__ = dict()
|
|
167
181
|
__args__['catalogInfo'] = catalog_info
|
|
168
182
|
__args__['id'] = id
|
|
169
183
|
__args__['name'] = name
|
|
184
|
+
__args__['providerConfig'] = provider_config
|
|
170
185
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
171
186
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getCatalog:getCatalog', __args__, opts=opts, typ=GetCatalogResult)
|
|
172
187
|
return __ret__.apply(lambda __response__: GetCatalogResult(
|
|
173
188
|
catalog_info=pulumi.get(__response__, 'catalog_info'),
|
|
174
189
|
id=pulumi.get(__response__, 'id'),
|
|
175
|
-
name=pulumi.get(__response__, 'name')
|
|
190
|
+
name=pulumi.get(__response__, 'name'),
|
|
191
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -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
|
|
@@ -14,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
14
13
|
else:
|
|
15
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
16
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetCatalogsResult',
|
|
@@ -27,30 +28,38 @@ class GetCatalogsResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getCatalogs.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, id=None, ids=None):
|
|
31
|
+
def __init__(__self__, id=None, ids=None, provider_config=None):
|
|
31
32
|
if id and not isinstance(id, str):
|
|
32
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
34
|
pulumi.set(__self__, "id", id)
|
|
34
35
|
if ids and not isinstance(ids, list):
|
|
35
36
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
36
37
|
pulumi.set(__self__, "ids", ids)
|
|
38
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
39
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
40
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
37
41
|
|
|
38
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
39
43
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
44
|
+
def id(self) -> _builtins.str:
|
|
41
45
|
"""
|
|
42
46
|
The provider-assigned unique ID for this managed resource.
|
|
43
47
|
"""
|
|
44
48
|
return pulumi.get(self, "id")
|
|
45
49
|
|
|
46
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
47
51
|
@pulumi.getter
|
|
48
|
-
def ids(self) -> Sequence[
|
|
52
|
+
def ids(self) -> Sequence[_builtins.str]:
|
|
49
53
|
"""
|
|
50
54
|
set of Catalog names
|
|
51
55
|
"""
|
|
52
56
|
return pulumi.get(self, "ids")
|
|
53
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetCatalogsProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
54
63
|
|
|
55
64
|
class AwaitableGetCatalogsResult(GetCatalogsResult):
|
|
56
65
|
# pylint: disable=using-constant-test
|
|
@@ -59,10 +68,12 @@ class AwaitableGetCatalogsResult(GetCatalogsResult):
|
|
|
59
68
|
yield self
|
|
60
69
|
return GetCatalogsResult(
|
|
61
70
|
id=self.id,
|
|
62
|
-
ids=self.ids
|
|
71
|
+
ids=self.ids,
|
|
72
|
+
provider_config=self.provider_config)
|
|
63
73
|
|
|
64
74
|
|
|
65
|
-
def get_catalogs(ids: Optional[Sequence[
|
|
75
|
+
def get_catalogs(ids: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetCatalogsProviderConfigArgs', 'GetCatalogsProviderConfigArgsDict']] = None,
|
|
66
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetCatalogsResult:
|
|
67
78
|
"""
|
|
68
79
|
Retrieves a list of Catalog ids, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -89,17 +100,21 @@ def get_catalogs(ids: Optional[Sequence[builtins.str]] = None,
|
|
|
89
100
|
* Catalog to manage catalogs within Unity Catalog.
|
|
90
101
|
|
|
91
102
|
|
|
92
|
-
:param Sequence[
|
|
103
|
+
:param Sequence[_builtins.str] ids: set of Catalog names
|
|
104
|
+
:param Union['GetCatalogsProviderConfigArgs', 'GetCatalogsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
93
105
|
"""
|
|
94
106
|
__args__ = dict()
|
|
95
107
|
__args__['ids'] = ids
|
|
108
|
+
__args__['providerConfig'] = provider_config
|
|
96
109
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
97
110
|
__ret__ = pulumi.runtime.invoke('databricks:index/getCatalogs:getCatalogs', __args__, opts=opts, typ=GetCatalogsResult).value
|
|
98
111
|
|
|
99
112
|
return AwaitableGetCatalogsResult(
|
|
100
113
|
id=pulumi.get(__ret__, 'id'),
|
|
101
|
-
ids=pulumi.get(__ret__, 'ids')
|
|
102
|
-
|
|
114
|
+
ids=pulumi.get(__ret__, 'ids'),
|
|
115
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
116
|
+
def get_catalogs_output(ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
117
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetCatalogsProviderConfigArgs', 'GetCatalogsProviderConfigArgsDict']]]] = None,
|
|
103
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetCatalogsResult]:
|
|
104
119
|
"""
|
|
105
120
|
Retrieves a list of Catalog ids, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -126,12 +141,15 @@ def get_catalogs_output(ids: Optional[pulumi.Input[Optional[Sequence[builtins.st
|
|
|
126
141
|
* Catalog to manage catalogs within Unity Catalog.
|
|
127
142
|
|
|
128
143
|
|
|
129
|
-
:param Sequence[
|
|
144
|
+
:param Sequence[_builtins.str] ids: set of Catalog names
|
|
145
|
+
:param Union['GetCatalogsProviderConfigArgs', 'GetCatalogsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
130
146
|
"""
|
|
131
147
|
__args__ = dict()
|
|
132
148
|
__args__['ids'] = ids
|
|
149
|
+
__args__['providerConfig'] = provider_config
|
|
133
150
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
134
151
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getCatalogs:getCatalogs', __args__, opts=opts, typ=GetCatalogsResult)
|
|
135
152
|
return __ret__.apply(lambda __response__: GetCatalogsResult(
|
|
136
153
|
id=pulumi.get(__response__, 'id'),
|
|
137
|
-
ids=pulumi.get(__response__, 'ids')
|
|
154
|
+
ids=pulumi.get(__response__, 'ids'),
|
|
155
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|