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
pulumi_databricks/get_cluster.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 GetClusterResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getCluster.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, cluster_id=None, cluster_info=None, cluster_name=None, id=None):
|
|
31
|
+
def __init__(__self__, cluster_id=None, cluster_info=None, cluster_name=None, id=None, provider_config=None):
|
|
33
32
|
if cluster_id and not isinstance(cluster_id, str):
|
|
34
33
|
raise TypeError("Expected argument 'cluster_id' to be a str")
|
|
35
34
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -42,13 +41,16 @@ class GetClusterResult:
|
|
|
42
41
|
if id and not isinstance(id, str):
|
|
43
42
|
raise TypeError("Expected argument 'id' to be a str")
|
|
44
43
|
pulumi.set(__self__, "id", id)
|
|
44
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
45
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
45
47
|
|
|
46
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
47
49
|
@pulumi.getter(name="clusterId")
|
|
48
|
-
def cluster_id(self) ->
|
|
50
|
+
def cluster_id(self) -> _builtins.str:
|
|
49
51
|
return pulumi.get(self, "cluster_id")
|
|
50
52
|
|
|
51
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
52
54
|
@pulumi.getter(name="clusterInfo")
|
|
53
55
|
def cluster_info(self) -> 'outputs.GetClusterClusterInfoResult':
|
|
54
56
|
"""
|
|
@@ -56,22 +58,27 @@ class GetClusterResult:
|
|
|
56
58
|
"""
|
|
57
59
|
return pulumi.get(self, "cluster_info")
|
|
58
60
|
|
|
59
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
60
62
|
@pulumi.getter(name="clusterName")
|
|
61
|
-
def cluster_name(self) ->
|
|
63
|
+
def cluster_name(self) -> _builtins.str:
|
|
62
64
|
"""
|
|
63
65
|
Cluster name, which doesn’t have to be unique.
|
|
64
66
|
"""
|
|
65
67
|
return pulumi.get(self, "cluster_name")
|
|
66
68
|
|
|
67
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
68
70
|
@pulumi.getter
|
|
69
|
-
def id(self) ->
|
|
71
|
+
def id(self) -> _builtins.str:
|
|
70
72
|
"""
|
|
71
73
|
cluster ID
|
|
72
74
|
"""
|
|
73
75
|
return pulumi.get(self, "id")
|
|
74
76
|
|
|
77
|
+
@_builtins.property
|
|
78
|
+
@pulumi.getter(name="providerConfig")
|
|
79
|
+
def provider_config(self) -> Optional['outputs.GetClusterProviderConfigResult']:
|
|
80
|
+
return pulumi.get(self, "provider_config")
|
|
81
|
+
|
|
75
82
|
|
|
76
83
|
class AwaitableGetClusterResult(GetClusterResult):
|
|
77
84
|
# pylint: disable=using-constant-test
|
|
@@ -82,13 +89,15 @@ class AwaitableGetClusterResult(GetClusterResult):
|
|
|
82
89
|
cluster_id=self.cluster_id,
|
|
83
90
|
cluster_info=self.cluster_info,
|
|
84
91
|
cluster_name=self.cluster_name,
|
|
85
|
-
id=self.id
|
|
92
|
+
id=self.id,
|
|
93
|
+
provider_config=self.provider_config)
|
|
86
94
|
|
|
87
95
|
|
|
88
|
-
def get_cluster(cluster_id: Optional[
|
|
96
|
+
def get_cluster(cluster_id: Optional[_builtins.str] = None,
|
|
89
97
|
cluster_info: Optional[Union['GetClusterClusterInfoArgs', 'GetClusterClusterInfoArgsDict']] = None,
|
|
90
|
-
cluster_name: Optional[
|
|
91
|
-
id: Optional[
|
|
98
|
+
cluster_name: Optional[_builtins.str] = None,
|
|
99
|
+
id: Optional[_builtins.str] = None,
|
|
100
|
+
provider_config: Optional[Union['GetClusterProviderConfigArgs', 'GetClusterProviderConfigArgsDict']] = None,
|
|
92
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterResult:
|
|
93
102
|
"""
|
|
94
103
|
Retrieves information about a Cluster using its id. This could be retrieved programmatically using get_clusters data source.
|
|
@@ -108,16 +117,18 @@ def get_cluster(cluster_id: Optional[builtins.str] = None,
|
|
|
108
117
|
```
|
|
109
118
|
|
|
110
119
|
|
|
111
|
-
:param
|
|
120
|
+
:param _builtins.str cluster_id: The id of the cluster.
|
|
112
121
|
:param Union['GetClusterClusterInfoArgs', 'GetClusterClusterInfoArgsDict'] cluster_info: block, consisting of following fields:
|
|
113
|
-
:param
|
|
114
|
-
:param
|
|
122
|
+
:param _builtins.str cluster_name: The exact name of the cluster to search. Can only be specified if there is exactly one cluster with the provided name.
|
|
123
|
+
:param _builtins.str id: cluster ID
|
|
124
|
+
:param Union['GetClusterProviderConfigArgs', 'GetClusterProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
115
125
|
"""
|
|
116
126
|
__args__ = dict()
|
|
117
127
|
__args__['clusterId'] = cluster_id
|
|
118
128
|
__args__['clusterInfo'] = cluster_info
|
|
119
129
|
__args__['clusterName'] = cluster_name
|
|
120
130
|
__args__['id'] = id
|
|
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/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult).value
|
|
123
134
|
|
|
@@ -125,11 +136,13 @@ def get_cluster(cluster_id: Optional[builtins.str] = None,
|
|
|
125
136
|
cluster_id=pulumi.get(__ret__, 'cluster_id'),
|
|
126
137
|
cluster_info=pulumi.get(__ret__, 'cluster_info'),
|
|
127
138
|
cluster_name=pulumi.get(__ret__, 'cluster_name'),
|
|
128
|
-
id=pulumi.get(__ret__, 'id')
|
|
129
|
-
|
|
139
|
+
id=pulumi.get(__ret__, 'id'),
|
|
140
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
141
|
+
def get_cluster_output(cluster_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
130
142
|
cluster_info: Optional[pulumi.Input[Optional[Union['GetClusterClusterInfoArgs', 'GetClusterClusterInfoArgsDict']]]] = None,
|
|
131
|
-
cluster_name: Optional[pulumi.Input[Optional[
|
|
132
|
-
id: Optional[pulumi.Input[Optional[
|
|
143
|
+
cluster_name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
144
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
145
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetClusterProviderConfigArgs', 'GetClusterProviderConfigArgsDict']]]] = None,
|
|
133
146
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterResult]:
|
|
134
147
|
"""
|
|
135
148
|
Retrieves information about a Cluster using its id. This could be retrieved programmatically using get_clusters data source.
|
|
@@ -149,20 +162,23 @@ def get_cluster_output(cluster_id: Optional[pulumi.Input[Optional[builtins.str]]
|
|
|
149
162
|
```
|
|
150
163
|
|
|
151
164
|
|
|
152
|
-
:param
|
|
165
|
+
:param _builtins.str cluster_id: The id of the cluster.
|
|
153
166
|
:param Union['GetClusterClusterInfoArgs', 'GetClusterClusterInfoArgsDict'] cluster_info: block, consisting of following fields:
|
|
154
|
-
:param
|
|
155
|
-
:param
|
|
167
|
+
:param _builtins.str cluster_name: The exact name of the cluster to search. Can only be specified if there is exactly one cluster with the provided name.
|
|
168
|
+
:param _builtins.str id: cluster ID
|
|
169
|
+
:param Union['GetClusterProviderConfigArgs', 'GetClusterProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
156
170
|
"""
|
|
157
171
|
__args__ = dict()
|
|
158
172
|
__args__['clusterId'] = cluster_id
|
|
159
173
|
__args__['clusterInfo'] = cluster_info
|
|
160
174
|
__args__['clusterName'] = cluster_name
|
|
161
175
|
__args__['id'] = id
|
|
176
|
+
__args__['providerConfig'] = provider_config
|
|
162
177
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
163
178
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getCluster:getCluster', __args__, opts=opts, typ=GetClusterResult)
|
|
164
179
|
return __ret__.apply(lambda __response__: GetClusterResult(
|
|
165
180
|
cluster_id=pulumi.get(__response__, 'cluster_id'),
|
|
166
181
|
cluster_info=pulumi.get(__response__, 'cluster_info'),
|
|
167
182
|
cluster_name=pulumi.get(__response__, 'cluster_name'),
|
|
168
|
-
id=pulumi.get(__response__, 'id')
|
|
183
|
+
id=pulumi.get(__response__, 'id'),
|
|
184
|
+
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
|
'GetClusterPolicyResult',
|
|
@@ -27,7 +28,7 @@ class GetClusterPolicyResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getClusterPolicy.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, definition=None, description=None, id=None, is_default=None, max_clusters_per_user=None, name=None, policy_family_definition_overrides=None, policy_family_id=None):
|
|
31
|
+
def __init__(__self__, definition=None, description=None, id=None, is_default=None, max_clusters_per_user=None, name=None, policy_family_definition_overrides=None, policy_family_id=None, provider_config=None):
|
|
31
32
|
if definition and not isinstance(definition, str):
|
|
32
33
|
raise TypeError("Expected argument 'definition' to be a str")
|
|
33
34
|
pulumi.set(__self__, "definition", definition)
|
|
@@ -52,68 +53,76 @@ class GetClusterPolicyResult:
|
|
|
52
53
|
if policy_family_id and not isinstance(policy_family_id, str):
|
|
53
54
|
raise TypeError("Expected argument 'policy_family_id' to be a str")
|
|
54
55
|
pulumi.set(__self__, "policy_family_id", policy_family_id)
|
|
56
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
57
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
58
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
55
59
|
|
|
56
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
57
61
|
@pulumi.getter
|
|
58
|
-
def definition(self) ->
|
|
62
|
+
def definition(self) -> _builtins.str:
|
|
59
63
|
"""
|
|
60
64
|
Policy definition: JSON document expressed in [Databricks Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policies.html#cluster-policy-definition).
|
|
61
65
|
"""
|
|
62
66
|
return pulumi.get(self, "definition")
|
|
63
67
|
|
|
64
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
65
69
|
@pulumi.getter
|
|
66
|
-
def description(self) ->
|
|
70
|
+
def description(self) -> _builtins.str:
|
|
67
71
|
"""
|
|
68
72
|
Additional human-readable description of the cluster policy.
|
|
69
73
|
"""
|
|
70
74
|
return pulumi.get(self, "description")
|
|
71
75
|
|
|
72
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
73
77
|
@pulumi.getter
|
|
74
|
-
def id(self) ->
|
|
78
|
+
def id(self) -> _builtins.str:
|
|
75
79
|
"""
|
|
76
80
|
The id of the cluster policy.
|
|
77
81
|
"""
|
|
78
82
|
return pulumi.get(self, "id")
|
|
79
83
|
|
|
80
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
81
85
|
@pulumi.getter(name="isDefault")
|
|
82
|
-
def is_default(self) ->
|
|
86
|
+
def is_default(self) -> _builtins.bool:
|
|
83
87
|
"""
|
|
84
88
|
If true, policy is a default policy created and managed by Databricks.
|
|
85
89
|
"""
|
|
86
90
|
return pulumi.get(self, "is_default")
|
|
87
91
|
|
|
88
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
89
93
|
@pulumi.getter(name="maxClustersPerUser")
|
|
90
|
-
def max_clusters_per_user(self) ->
|
|
94
|
+
def max_clusters_per_user(self) -> _builtins.int:
|
|
91
95
|
"""
|
|
92
96
|
Max number of clusters per user that can be active using this policy.
|
|
93
97
|
"""
|
|
94
98
|
return pulumi.get(self, "max_clusters_per_user")
|
|
95
99
|
|
|
96
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
97
101
|
@pulumi.getter
|
|
98
|
-
def name(self) ->
|
|
102
|
+
def name(self) -> _builtins.str:
|
|
99
103
|
return pulumi.get(self, "name")
|
|
100
104
|
|
|
101
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
102
106
|
@pulumi.getter(name="policyFamilyDefinitionOverrides")
|
|
103
|
-
def policy_family_definition_overrides(self) ->
|
|
107
|
+
def policy_family_definition_overrides(self) -> _builtins.str:
|
|
104
108
|
"""
|
|
105
109
|
Policy definition JSON document expressed in Databricks [Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policies.html#cluster-policy-definitions).
|
|
106
110
|
"""
|
|
107
111
|
return pulumi.get(self, "policy_family_definition_overrides")
|
|
108
112
|
|
|
109
|
-
@property
|
|
113
|
+
@_builtins.property
|
|
110
114
|
@pulumi.getter(name="policyFamilyId")
|
|
111
|
-
def policy_family_id(self) ->
|
|
115
|
+
def policy_family_id(self) -> _builtins.str:
|
|
112
116
|
"""
|
|
113
117
|
ID of the policy family.
|
|
114
118
|
"""
|
|
115
119
|
return pulumi.get(self, "policy_family_id")
|
|
116
120
|
|
|
121
|
+
@_builtins.property
|
|
122
|
+
@pulumi.getter(name="providerConfig")
|
|
123
|
+
def provider_config(self) -> Optional['outputs.GetClusterPolicyProviderConfigResult']:
|
|
124
|
+
return pulumi.get(self, "provider_config")
|
|
125
|
+
|
|
117
126
|
|
|
118
127
|
class AwaitableGetClusterPolicyResult(GetClusterPolicyResult):
|
|
119
128
|
# pylint: disable=using-constant-test
|
|
@@ -128,17 +137,19 @@ class AwaitableGetClusterPolicyResult(GetClusterPolicyResult):
|
|
|
128
137
|
max_clusters_per_user=self.max_clusters_per_user,
|
|
129
138
|
name=self.name,
|
|
130
139
|
policy_family_definition_overrides=self.policy_family_definition_overrides,
|
|
131
|
-
policy_family_id=self.policy_family_id
|
|
140
|
+
policy_family_id=self.policy_family_id,
|
|
141
|
+
provider_config=self.provider_config)
|
|
132
142
|
|
|
133
143
|
|
|
134
|
-
def get_cluster_policy(definition: Optional[
|
|
135
|
-
description: Optional[
|
|
136
|
-
id: Optional[
|
|
137
|
-
is_default: Optional[
|
|
138
|
-
max_clusters_per_user: Optional[
|
|
139
|
-
name: Optional[
|
|
140
|
-
policy_family_definition_overrides: Optional[
|
|
141
|
-
policy_family_id: Optional[
|
|
144
|
+
def get_cluster_policy(definition: Optional[_builtins.str] = None,
|
|
145
|
+
description: Optional[_builtins.str] = None,
|
|
146
|
+
id: Optional[_builtins.str] = None,
|
|
147
|
+
is_default: Optional[_builtins.bool] = None,
|
|
148
|
+
max_clusters_per_user: Optional[_builtins.int] = None,
|
|
149
|
+
name: Optional[_builtins.str] = None,
|
|
150
|
+
policy_family_definition_overrides: Optional[_builtins.str] = None,
|
|
151
|
+
policy_family_id: Optional[_builtins.str] = None,
|
|
152
|
+
provider_config: Optional[Union['GetClusterPolicyProviderConfigArgs', 'GetClusterPolicyProviderConfigArgsDict']] = None,
|
|
142
153
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClusterPolicyResult:
|
|
143
154
|
"""
|
|
144
155
|
Retrieves information about databricks_cluster_policy.
|
|
@@ -158,14 +169,15 @@ def get_cluster_policy(definition: Optional[builtins.str] = None,
|
|
|
158
169
|
```
|
|
159
170
|
|
|
160
171
|
|
|
161
|
-
:param
|
|
162
|
-
:param
|
|
163
|
-
:param
|
|
164
|
-
:param
|
|
165
|
-
:param
|
|
166
|
-
:param
|
|
167
|
-
:param
|
|
168
|
-
:param
|
|
172
|
+
:param _builtins.str definition: Policy definition: JSON document expressed in [Databricks Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policies.html#cluster-policy-definition).
|
|
173
|
+
:param _builtins.str description: Additional human-readable description of the cluster policy.
|
|
174
|
+
:param _builtins.str id: The id of the cluster policy.
|
|
175
|
+
:param _builtins.bool is_default: If true, policy is a default policy created and managed by Databricks.
|
|
176
|
+
:param _builtins.int max_clusters_per_user: Max number of clusters per user that can be active using this policy.
|
|
177
|
+
:param _builtins.str name: Name of the cluster policy. The cluster policy must exist before this resource can be planned.
|
|
178
|
+
:param _builtins.str policy_family_definition_overrides: Policy definition JSON document expressed in Databricks [Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policies.html#cluster-policy-definitions).
|
|
179
|
+
:param _builtins.str policy_family_id: ID of the policy family.
|
|
180
|
+
:param Union['GetClusterPolicyProviderConfigArgs', 'GetClusterPolicyProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
169
181
|
"""
|
|
170
182
|
__args__ = dict()
|
|
171
183
|
__args__['definition'] = definition
|
|
@@ -176,6 +188,7 @@ def get_cluster_policy(definition: Optional[builtins.str] = None,
|
|
|
176
188
|
__args__['name'] = name
|
|
177
189
|
__args__['policyFamilyDefinitionOverrides'] = policy_family_definition_overrides
|
|
178
190
|
__args__['policyFamilyId'] = policy_family_id
|
|
191
|
+
__args__['providerConfig'] = provider_config
|
|
179
192
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
180
193
|
__ret__ = pulumi.runtime.invoke('databricks:index/getClusterPolicy:getClusterPolicy', __args__, opts=opts, typ=GetClusterPolicyResult).value
|
|
181
194
|
|
|
@@ -187,15 +200,17 @@ def get_cluster_policy(definition: Optional[builtins.str] = None,
|
|
|
187
200
|
max_clusters_per_user=pulumi.get(__ret__, 'max_clusters_per_user'),
|
|
188
201
|
name=pulumi.get(__ret__, 'name'),
|
|
189
202
|
policy_family_definition_overrides=pulumi.get(__ret__, 'policy_family_definition_overrides'),
|
|
190
|
-
policy_family_id=pulumi.get(__ret__, 'policy_family_id')
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
203
|
+
policy_family_id=pulumi.get(__ret__, 'policy_family_id'),
|
|
204
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
205
|
+
def get_cluster_policy_output(definition: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
206
|
+
description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
207
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
208
|
+
is_default: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
209
|
+
max_clusters_per_user: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
210
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
211
|
+
policy_family_definition_overrides: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
212
|
+
policy_family_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
213
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetClusterPolicyProviderConfigArgs', 'GetClusterPolicyProviderConfigArgsDict']]]] = None,
|
|
199
214
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClusterPolicyResult]:
|
|
200
215
|
"""
|
|
201
216
|
Retrieves information about databricks_cluster_policy.
|
|
@@ -215,14 +230,15 @@ def get_cluster_policy_output(definition: Optional[pulumi.Input[Optional[builtin
|
|
|
215
230
|
```
|
|
216
231
|
|
|
217
232
|
|
|
218
|
-
:param
|
|
219
|
-
:param
|
|
220
|
-
:param
|
|
221
|
-
:param
|
|
222
|
-
:param
|
|
223
|
-
:param
|
|
224
|
-
:param
|
|
225
|
-
:param
|
|
233
|
+
:param _builtins.str definition: Policy definition: JSON document expressed in [Databricks Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policies.html#cluster-policy-definition).
|
|
234
|
+
:param _builtins.str description: Additional human-readable description of the cluster policy.
|
|
235
|
+
:param _builtins.str id: The id of the cluster policy.
|
|
236
|
+
:param _builtins.bool is_default: If true, policy is a default policy created and managed by Databricks.
|
|
237
|
+
:param _builtins.int max_clusters_per_user: Max number of clusters per user that can be active using this policy.
|
|
238
|
+
:param _builtins.str name: Name of the cluster policy. The cluster policy must exist before this resource can be planned.
|
|
239
|
+
:param _builtins.str policy_family_definition_overrides: Policy definition JSON document expressed in Databricks [Policy Definition Language](https://docs.databricks.com/administration-guide/clusters/policies.html#cluster-policy-definitions).
|
|
240
|
+
:param _builtins.str policy_family_id: ID of the policy family.
|
|
241
|
+
:param Union['GetClusterPolicyProviderConfigArgs', 'GetClusterPolicyProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
226
242
|
"""
|
|
227
243
|
__args__ = dict()
|
|
228
244
|
__args__['definition'] = definition
|
|
@@ -233,6 +249,7 @@ def get_cluster_policy_output(definition: Optional[pulumi.Input[Optional[builtin
|
|
|
233
249
|
__args__['name'] = name
|
|
234
250
|
__args__['policyFamilyDefinitionOverrides'] = policy_family_definition_overrides
|
|
235
251
|
__args__['policyFamilyId'] = policy_family_id
|
|
252
|
+
__args__['providerConfig'] = provider_config
|
|
236
253
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
237
254
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getClusterPolicy:getClusterPolicy', __args__, opts=opts, typ=GetClusterPolicyResult)
|
|
238
255
|
return __ret__.apply(lambda __response__: GetClusterPolicyResult(
|
|
@@ -243,4 +260,5 @@ def get_cluster_policy_output(definition: Optional[pulumi.Input[Optional[builtin
|
|
|
243
260
|
max_clusters_per_user=pulumi.get(__response__, 'max_clusters_per_user'),
|
|
244
261
|
name=pulumi.get(__response__, 'name'),
|
|
245
262
|
policy_family_definition_overrides=pulumi.get(__response__, 'policy_family_definition_overrides'),
|
|
246
|
-
policy_family_id=pulumi.get(__response__, 'policy_family_id')
|
|
263
|
+
policy_family_id=pulumi.get(__response__, 'policy_family_id'),
|
|
264
|
+
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
|
|
@@ -29,7 +28,7 @@ class GetClustersResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getClusters.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, cluster_name_contains=None, filter_by=None, id=None, ids=None):
|
|
31
|
+
def __init__(__self__, cluster_name_contains=None, filter_by=None, id=None, ids=None, provider_config=None):
|
|
33
32
|
if cluster_name_contains and not isinstance(cluster_name_contains, str):
|
|
34
33
|
raise TypeError("Expected argument 'cluster_name_contains' to be a str")
|
|
35
34
|
pulumi.set(__self__, "cluster_name_contains", cluster_name_contains)
|
|
@@ -42,30 +41,38 @@ class GetClustersResult:
|
|
|
42
41
|
if ids and not isinstance(ids, list):
|
|
43
42
|
raise TypeError("Expected argument 'ids' to be a list")
|
|
44
43
|
pulumi.set(__self__, "ids", ids)
|
|
44
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
45
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
46
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
45
47
|
|
|
46
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
47
49
|
@pulumi.getter(name="clusterNameContains")
|
|
48
|
-
def cluster_name_contains(self) -> Optional[
|
|
50
|
+
def cluster_name_contains(self) -> Optional[_builtins.str]:
|
|
49
51
|
return pulumi.get(self, "cluster_name_contains")
|
|
50
52
|
|
|
51
|
-
@property
|
|
53
|
+
@_builtins.property
|
|
52
54
|
@pulumi.getter(name="filterBy")
|
|
53
55
|
def filter_by(self) -> Optional['outputs.GetClustersFilterByResult']:
|
|
54
56
|
return pulumi.get(self, "filter_by")
|
|
55
57
|
|
|
56
|
-
@property
|
|
58
|
+
@_builtins.property
|
|
57
59
|
@pulumi.getter
|
|
58
|
-
def id(self) ->
|
|
60
|
+
def id(self) -> _builtins.str:
|
|
59
61
|
return pulumi.get(self, "id")
|
|
60
62
|
|
|
61
|
-
@property
|
|
63
|
+
@_builtins.property
|
|
62
64
|
@pulumi.getter
|
|
63
|
-
def ids(self) -> Sequence[
|
|
65
|
+
def ids(self) -> Sequence[_builtins.str]:
|
|
64
66
|
"""
|
|
65
67
|
list of Cluster ids
|
|
66
68
|
"""
|
|
67
69
|
return pulumi.get(self, "ids")
|
|
68
70
|
|
|
71
|
+
@_builtins.property
|
|
72
|
+
@pulumi.getter(name="providerConfig")
|
|
73
|
+
def provider_config(self) -> Optional['outputs.GetClustersProviderConfigResult']:
|
|
74
|
+
return pulumi.get(self, "provider_config")
|
|
75
|
+
|
|
69
76
|
|
|
70
77
|
class AwaitableGetClustersResult(GetClustersResult):
|
|
71
78
|
# pylint: disable=using-constant-test
|
|
@@ -76,13 +83,15 @@ class AwaitableGetClustersResult(GetClustersResult):
|
|
|
76
83
|
cluster_name_contains=self.cluster_name_contains,
|
|
77
84
|
filter_by=self.filter_by,
|
|
78
85
|
id=self.id,
|
|
79
|
-
ids=self.ids
|
|
86
|
+
ids=self.ids,
|
|
87
|
+
provider_config=self.provider_config)
|
|
80
88
|
|
|
81
89
|
|
|
82
|
-
def get_clusters(cluster_name_contains: Optional[
|
|
90
|
+
def get_clusters(cluster_name_contains: Optional[_builtins.str] = None,
|
|
83
91
|
filter_by: Optional[Union['GetClustersFilterByArgs', 'GetClustersFilterByArgsDict']] = None,
|
|
84
|
-
id: Optional[
|
|
85
|
-
ids: Optional[Sequence[
|
|
92
|
+
id: Optional[_builtins.str] = None,
|
|
93
|
+
ids: Optional[Sequence[_builtins.str]] = None,
|
|
94
|
+
provider_config: Optional[Union['GetClustersProviderConfigArgs', 'GetClustersProviderConfigArgsDict']] = None,
|
|
86
95
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetClustersResult:
|
|
87
96
|
"""
|
|
88
97
|
Retrieves a list of Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
|
|
@@ -141,18 +150,20 @@ def get_clusters(cluster_name_contains: Optional[builtins.str] = None,
|
|
|
141
150
|
* InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
142
151
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
143
152
|
* Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
|
|
144
|
-
* Pipeline to deploy [
|
|
153
|
+
* Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
145
154
|
|
|
146
155
|
|
|
147
|
-
:param
|
|
156
|
+
:param _builtins.str cluster_name_contains: Only return Cluster ids that match the given name string.
|
|
148
157
|
:param Union['GetClustersFilterByArgs', 'GetClustersFilterByArgsDict'] filter_by: Filters to apply to the listed clusters. See filter_by Configuration Block below for details.
|
|
149
|
-
:param Sequence[
|
|
158
|
+
:param Sequence[_builtins.str] ids: list of Cluster ids
|
|
159
|
+
:param Union['GetClustersProviderConfigArgs', 'GetClustersProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
150
160
|
"""
|
|
151
161
|
__args__ = dict()
|
|
152
162
|
__args__['clusterNameContains'] = cluster_name_contains
|
|
153
163
|
__args__['filterBy'] = filter_by
|
|
154
164
|
__args__['id'] = id
|
|
155
165
|
__args__['ids'] = ids
|
|
166
|
+
__args__['providerConfig'] = provider_config
|
|
156
167
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
157
168
|
__ret__ = pulumi.runtime.invoke('databricks:index/getClusters:getClusters', __args__, opts=opts, typ=GetClustersResult).value
|
|
158
169
|
|
|
@@ -160,11 +171,13 @@ def get_clusters(cluster_name_contains: Optional[builtins.str] = None,
|
|
|
160
171
|
cluster_name_contains=pulumi.get(__ret__, 'cluster_name_contains'),
|
|
161
172
|
filter_by=pulumi.get(__ret__, 'filter_by'),
|
|
162
173
|
id=pulumi.get(__ret__, 'id'),
|
|
163
|
-
ids=pulumi.get(__ret__, 'ids')
|
|
164
|
-
|
|
174
|
+
ids=pulumi.get(__ret__, 'ids'),
|
|
175
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
176
|
+
def get_clusters_output(cluster_name_contains: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
165
177
|
filter_by: Optional[pulumi.Input[Optional[Union['GetClustersFilterByArgs', 'GetClustersFilterByArgsDict']]]] = None,
|
|
166
|
-
id: Optional[pulumi.Input[Optional[
|
|
167
|
-
ids: Optional[pulumi.Input[Optional[Sequence[
|
|
178
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
179
|
+
ids: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
180
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetClustersProviderConfigArgs', 'GetClustersProviderConfigArgsDict']]]] = None,
|
|
168
181
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetClustersResult]:
|
|
169
182
|
"""
|
|
170
183
|
Retrieves a list of Cluster ids, that were created by Pulumi or manually, with or without databricks_cluster_policy.
|
|
@@ -223,22 +236,25 @@ def get_clusters_output(cluster_name_contains: Optional[pulumi.Input[Optional[bu
|
|
|
223
236
|
* InstancePool to manage [instance pools](https://docs.databricks.com/clusters/instance-pools/index.html) to reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances.
|
|
224
237
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
225
238
|
* Library to install a [library](https://docs.databricks.com/libraries/index.html) on databricks_cluster.
|
|
226
|
-
* Pipeline to deploy [
|
|
239
|
+
* Pipeline to deploy [Lakeflow Declarative Pipelines](https://docs.databricks.com/aws/en/dlt).
|
|
227
240
|
|
|
228
241
|
|
|
229
|
-
:param
|
|
242
|
+
:param _builtins.str cluster_name_contains: Only return Cluster ids that match the given name string.
|
|
230
243
|
:param Union['GetClustersFilterByArgs', 'GetClustersFilterByArgsDict'] filter_by: Filters to apply to the listed clusters. See filter_by Configuration Block below for details.
|
|
231
|
-
:param Sequence[
|
|
244
|
+
:param Sequence[_builtins.str] ids: list of Cluster ids
|
|
245
|
+
:param Union['GetClustersProviderConfigArgs', 'GetClustersProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
232
246
|
"""
|
|
233
247
|
__args__ = dict()
|
|
234
248
|
__args__['clusterNameContains'] = cluster_name_contains
|
|
235
249
|
__args__['filterBy'] = filter_by
|
|
236
250
|
__args__['id'] = id
|
|
237
251
|
__args__['ids'] = ids
|
|
252
|
+
__args__['providerConfig'] = provider_config
|
|
238
253
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
239
254
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getClusters:getClusters', __args__, opts=opts, typ=GetClustersResult)
|
|
240
255
|
return __ret__.apply(lambda __response__: GetClustersResult(
|
|
241
256
|
cluster_name_contains=pulumi.get(__response__, 'cluster_name_contains'),
|
|
242
257
|
filter_by=pulumi.get(__response__, 'filter_by'),
|
|
243
258
|
id=pulumi.get(__response__, 'id'),
|
|
244
|
-
ids=pulumi.get(__response__, 'ids')
|
|
259
|
+
ids=pulumi.get(__response__, 'ids'),
|
|
260
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|