pulumi-databricks 1.77.0a1760375482__py3-none-any.whl → 1.79.0a1762839813__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 +54 -46
- pulumi_databricks/_inputs.py +26079 -32918
- pulumi_databricks/account_federation_policy.py +44 -16
- pulumi_databricks/account_network_policy.py +56 -2
- pulumi_databricks/account_setting_v2.py +46 -83
- pulumi_databricks/alert_v2.py +168 -134
- pulumi_databricks/app.py +153 -0
- pulumi_databricks/apps_settings_custom_template.py +75 -52
- pulumi_databricks/budget_policy.py +6 -2
- pulumi_databricks/catalog.py +65 -23
- pulumi_databricks/cluster.py +47 -168
- pulumi_databricks/cluster_policy.py +120 -0
- pulumi_databricks/config/__init__.pyi +4 -0
- pulumi_databricks/config/vars.py +8 -0
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +9 -52
- pulumi_databricks/database_instance.py +271 -120
- pulumi_databricks/database_synced_database_table.py +239 -52
- pulumi_databricks/entitlements.py +21 -21
- pulumi_databricks/entity_tag_assignment.py +83 -52
- pulumi_databricks/external_location.py +131 -7
- pulumi_databricks/external_metadata.py +16 -59
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +2 -2
- pulumi_databricks/get_account_federation_policies.py +22 -3
- pulumi_databricks/get_account_federation_policy.py +12 -27
- pulumi_databricks/get_account_network_policies.py +4 -0
- pulumi_databricks/get_account_network_policy.py +9 -18
- pulumi_databricks/get_account_setting_v2.py +36 -141
- pulumi_databricks/get_alert_v2.py +41 -107
- pulumi_databricks/get_alerts_v2.py +29 -31
- pulumi_databricks/get_app.py +21 -5
- pulumi_databricks/get_apps.py +22 -6
- pulumi_databricks/get_apps_settings_custom_template.py +11 -55
- pulumi_databricks/get_apps_settings_custom_templates.py +25 -21
- pulumi_databricks/get_aws_assume_role_policy.py +14 -14
- pulumi_databricks/get_aws_bucket_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +10 -10
- pulumi_databricks/get_aws_unity_catalog_policy.py +10 -10
- pulumi_databricks/get_budget_policies.py +70 -6
- pulumi_databricks/get_budget_policy.py +9 -32
- pulumi_databricks/get_catalog.py +21 -4
- pulumi_databricks/get_catalogs.py +23 -4
- pulumi_databricks/get_cluster.py +75 -4
- pulumi_databricks/get_cluster_policy.py +23 -4
- pulumi_databricks/get_clusters.py +21 -4
- pulumi_databricks/get_current_config.py +4 -4
- pulumi_databricks/get_current_metastore.py +21 -4
- pulumi_databricks/get_dashboards.py +20 -4
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +10 -41
- pulumi_databricks/get_database_database_catalogs.py +37 -18
- pulumi_databricks/get_database_instance.py +93 -99
- pulumi_databricks/get_database_instances.py +20 -16
- pulumi_databricks/get_database_synced_database_table.py +11 -49
- pulumi_databricks/get_database_synced_database_tables.py +42 -23
- pulumi_databricks/get_directory.py +20 -1
- pulumi_databricks/get_entity_tag_assignment.py +63 -30
- pulumi_databricks/get_entity_tag_assignments.py +69 -23
- pulumi_databricks/get_external_location.py +21 -4
- pulumi_databricks/get_external_locations.py +23 -4
- pulumi_databricks/get_external_metadata.py +18 -73
- pulumi_databricks/get_external_metadatas.py +22 -16
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +16 -1
- pulumi_databricks/get_instance_profiles.py +21 -4
- pulumi_databricks/get_jobs.py +23 -4
- pulumi_databricks/get_materialized_features_feature_tag.py +7 -32
- pulumi_databricks/get_materialized_features_feature_tags.py +50 -18
- pulumi_databricks/get_metastore.py +6 -6
- pulumi_databricks/get_mlflow_experiment.py +18 -1
- pulumi_databricks/get_mlflow_model.py +18 -1
- pulumi_databricks/get_mlflow_models.py +23 -4
- pulumi_databricks/get_node_type.py +42 -5
- pulumi_databricks/get_notebook.py +20 -1
- pulumi_databricks/get_notification_destinations.py +17 -1
- pulumi_databricks/get_online_store.py +11 -38
- pulumi_databricks/get_online_stores.py +20 -18
- pulumi_databricks/get_pipelines.py +23 -4
- pulumi_databricks/get_policy_info.py +21 -109
- pulumi_databricks/get_policy_infos.py +50 -25
- pulumi_databricks/get_quality_monitor_v2.py +8 -21
- pulumi_databricks/get_quality_monitors_v2.py +23 -25
- pulumi_databricks/get_registered_model.py +19 -4
- pulumi_databricks/get_registered_model_versions.py +19 -4
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +18 -1
- pulumi_databricks/get_schemas.py +23 -4
- pulumi_databricks/get_service_principal_federation_policies.py +23 -4
- pulumi_databricks/get_service_principal_federation_policy.py +15 -24
- pulumi_databricks/get_service_principals.py +64 -0
- pulumi_databricks/get_serving_endpoints.py +19 -4
- pulumi_databricks/get_share.py +117 -18
- pulumi_databricks/get_shares.py +22 -3
- pulumi_databricks/get_spark_version.py +20 -1
- pulumi_databricks/get_sql_warehouse.py +16 -1
- pulumi_databricks/get_sql_warehouses.py +20 -1
- pulumi_databricks/get_storage_credential.py +18 -1
- pulumi_databricks/get_storage_credentials.py +23 -4
- pulumi_databricks/get_table.py +18 -1
- pulumi_databricks/get_tables.py +20 -1
- pulumi_databricks/get_tag_policies.py +55 -23
- pulumi_databricks/get_tag_policy.py +60 -40
- pulumi_databricks/get_views.py +20 -1
- pulumi_databricks/get_volume.py +18 -1
- pulumi_databricks/get_volumes.py +20 -1
- pulumi_databricks/get_workspace_network_option.py +8 -16
- pulumi_databricks/get_workspace_setting_v2.py +41 -163
- pulumi_databricks/get_zones.py +20 -1
- pulumi_databricks/git_credential.py +54 -7
- pulumi_databricks/group.py +21 -21
- pulumi_databricks/instance_profile.py +0 -182
- pulumi_databricks/job.py +47 -0
- pulumi_databricks/library.py +165 -0
- pulumi_databricks/materialized_features_feature_tag.py +9 -52
- pulumi_databricks/metastore.py +81 -7
- pulumi_databricks/metastore_data_access.py +48 -0
- pulumi_databricks/mlflow_webhook.py +4 -4
- pulumi_databricks/mws_credentials.py +10 -10
- pulumi_databricks/mws_customer_managed_keys.py +0 -288
- pulumi_databricks/mws_log_delivery.py +146 -0
- pulumi_databricks/mws_storage_configurations.py +16 -16
- pulumi_databricks/mws_vpc_endpoint.py +56 -56
- pulumi_databricks/mws_workspaces.py +146 -65
- pulumi_databricks/notebook.py +49 -0
- pulumi_databricks/online_store.py +9 -52
- pulumi_databricks/outputs.py +11885 -13474
- pulumi_databricks/permission_assignment.py +299 -8
- pulumi_databricks/permissions.py +6 -6
- pulumi_databricks/pipeline.py +37 -3
- pulumi_databricks/policy_info.py +9 -52
- pulumi_databricks/provider.py +36 -1
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +47 -0
- pulumi_databricks/quality_monitor_v2.py +9 -52
- pulumi_databricks/recipient.py +74 -0
- pulumi_databricks/registered_model.py +308 -36
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +7 -7
- pulumi_databricks/service_principal_federation_policy.py +48 -16
- pulumi_databricks/share.py +71 -84
- pulumi_databricks/sql_table.py +42 -14
- pulumi_databricks/storage_credential.py +15 -2
- pulumi_databricks/tag_policy.py +111 -54
- pulumi_databricks/user.py +21 -21
- pulumi_databricks/volume.py +7 -7
- pulumi_databricks/workspace_binding.py +0 -48
- pulumi_databricks/workspace_network_option.py +6 -2
- pulumi_databricks/workspace_setting_v2.py +49 -133
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/METADATA +1 -1
- pulumi_databricks-1.79.0a1762839813.dist-info/RECORD +250 -0
- pulumi_databricks/clean_room_asset.py +0 -938
- pulumi_databricks/clean_room_auto_approval_rule.py +0 -473
- pulumi_databricks/clean_rooms_clean_room.py +0 -569
- pulumi_databricks/get_clean_room_asset.py +0 -416
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_asset.py +0 -392
- pulumi_databricks/get_clean_room_asset_revisions_clean_room_assets.py +0 -121
- pulumi_databricks/get_clean_room_assets.py +0 -146
- pulumi_databricks/get_clean_room_auto_approval_rule.py +0 -217
- pulumi_databricks/get_clean_room_auto_approval_rules.py +0 -101
- pulumi_databricks/get_clean_rooms_clean_room.py +0 -289
- pulumi_databricks/get_clean_rooms_clean_rooms.py +0 -125
- pulumi_databricks/get_recipient_federation_policies.py +0 -101
- pulumi_databricks/get_recipient_federation_policy.py +0 -182
- pulumi_databricks/recipient_federation_policy.py +0 -393
- pulumi_databricks-1.77.0a1760375482.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1760375482.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetMlflowModelsResult',
|
|
@@ -26,13 +28,16 @@ class GetMlflowModelsResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getMlflowModels.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, id=None, names=None):
|
|
31
|
+
def __init__(__self__, id=None, names=None, provider_config=None):
|
|
30
32
|
if id and not isinstance(id, str):
|
|
31
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
32
34
|
pulumi.set(__self__, "id", id)
|
|
33
35
|
if names and not isinstance(names, list):
|
|
34
36
|
raise TypeError("Expected argument 'names' to be a list")
|
|
35
37
|
pulumi.set(__self__, "names", names)
|
|
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)
|
|
36
41
|
|
|
37
42
|
@_builtins.property
|
|
38
43
|
@pulumi.getter
|
|
@@ -50,6 +55,11 @@ class GetMlflowModelsResult:
|
|
|
50
55
|
"""
|
|
51
56
|
return pulumi.get(self, "names")
|
|
52
57
|
|
|
58
|
+
@_builtins.property
|
|
59
|
+
@pulumi.getter(name="providerConfig")
|
|
60
|
+
def provider_config(self) -> Optional['outputs.GetMlflowModelsProviderConfigResult']:
|
|
61
|
+
return pulumi.get(self, "provider_config")
|
|
62
|
+
|
|
53
63
|
|
|
54
64
|
class AwaitableGetMlflowModelsResult(GetMlflowModelsResult):
|
|
55
65
|
# pylint: disable=using-constant-test
|
|
@@ -58,10 +68,12 @@ class AwaitableGetMlflowModelsResult(GetMlflowModelsResult):
|
|
|
58
68
|
yield self
|
|
59
69
|
return GetMlflowModelsResult(
|
|
60
70
|
id=self.id,
|
|
61
|
-
names=self.names
|
|
71
|
+
names=self.names,
|
|
72
|
+
provider_config=self.provider_config)
|
|
62
73
|
|
|
63
74
|
|
|
64
75
|
def get_mlflow_models(names: Optional[Sequence[_builtins.str]] = None,
|
|
76
|
+
provider_config: Optional[Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict']] = None,
|
|
65
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowModelsResult:
|
|
66
78
|
"""
|
|
67
79
|
Retrieves a list of MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -80,16 +92,20 @@ def get_mlflow_models(names: Optional[Sequence[_builtins.str]] = None,
|
|
|
80
92
|
|
|
81
93
|
|
|
82
94
|
:param Sequence[_builtins.str] names: List of names of databricks_mlflow_model
|
|
95
|
+
:param Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
83
96
|
"""
|
|
84
97
|
__args__ = dict()
|
|
85
98
|
__args__['names'] = names
|
|
99
|
+
__args__['providerConfig'] = provider_config
|
|
86
100
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
87
101
|
__ret__ = pulumi.runtime.invoke('databricks:index/getMlflowModels:getMlflowModels', __args__, opts=opts, typ=GetMlflowModelsResult).value
|
|
88
102
|
|
|
89
103
|
return AwaitableGetMlflowModelsResult(
|
|
90
104
|
id=pulumi.get(__ret__, 'id'),
|
|
91
|
-
names=pulumi.get(__ret__, 'names')
|
|
105
|
+
names=pulumi.get(__ret__, 'names'),
|
|
106
|
+
provider_config=pulumi.get(__ret__, 'provider_config'))
|
|
92
107
|
def get_mlflow_models_output(names: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
108
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict']]]] = None,
|
|
93
109
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowModelsResult]:
|
|
94
110
|
"""
|
|
95
111
|
Retrieves a list of MlflowModel objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -108,11 +124,14 @@ def get_mlflow_models_output(names: Optional[pulumi.Input[Optional[Sequence[_bui
|
|
|
108
124
|
|
|
109
125
|
|
|
110
126
|
:param Sequence[_builtins.str] names: List of names of databricks_mlflow_model
|
|
127
|
+
:param Union['GetMlflowModelsProviderConfigArgs', 'GetMlflowModelsProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
111
128
|
"""
|
|
112
129
|
__args__ = dict()
|
|
113
130
|
__args__['names'] = names
|
|
131
|
+
__args__['providerConfig'] = provider_config
|
|
114
132
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
115
133
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowModels:getMlflowModels', __args__, opts=opts, typ=GetMlflowModelsResult)
|
|
116
134
|
return __ret__.apply(lambda __response__: GetMlflowModelsResult(
|
|
117
135
|
id=pulumi.get(__response__, 'id'),
|
|
118
|
-
names=pulumi.get(__response__, 'names')
|
|
136
|
+
names=pulumi.get(__response__, 'names'),
|
|
137
|
+
provider_config=pulumi.get(__response__, 'provider_config')))
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetNodeTypeResult',
|
|
@@ -26,7 +28,10 @@ class GetNodeTypeResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getNodeType.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, category=None, fleet=None, gb_per_core=None, graviton=None, id=None, is_io_cache_enabled=None, local_disk=None, local_disk_min_size=None, min_cores=None, min_gpus=None, min_memory_gb=None, photon_driver_capable=None, photon_worker_capable=None, support_port_forwarding=None):
|
|
31
|
+
def __init__(__self__, arm=None, category=None, fleet=None, gb_per_core=None, graviton=None, id=None, is_io_cache_enabled=None, local_disk=None, local_disk_min_size=None, min_cores=None, min_gpus=None, min_memory_gb=None, photon_driver_capable=None, photon_worker_capable=None, provider_config=None, support_port_forwarding=None):
|
|
32
|
+
if arm and not isinstance(arm, bool):
|
|
33
|
+
raise TypeError("Expected argument 'arm' to be a bool")
|
|
34
|
+
pulumi.set(__self__, "arm", arm)
|
|
30
35
|
if category and not isinstance(category, str):
|
|
31
36
|
raise TypeError("Expected argument 'category' to be a str")
|
|
32
37
|
pulumi.set(__self__, "category", category)
|
|
@@ -66,10 +71,18 @@ class GetNodeTypeResult:
|
|
|
66
71
|
if photon_worker_capable and not isinstance(photon_worker_capable, bool):
|
|
67
72
|
raise TypeError("Expected argument 'photon_worker_capable' to be a bool")
|
|
68
73
|
pulumi.set(__self__, "photon_worker_capable", photon_worker_capable)
|
|
74
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
75
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
76
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
69
77
|
if support_port_forwarding and not isinstance(support_port_forwarding, bool):
|
|
70
78
|
raise TypeError("Expected argument 'support_port_forwarding' to be a bool")
|
|
71
79
|
pulumi.set(__self__, "support_port_forwarding", support_port_forwarding)
|
|
72
80
|
|
|
81
|
+
@_builtins.property
|
|
82
|
+
@pulumi.getter
|
|
83
|
+
def arm(self) -> Optional[_builtins.bool]:
|
|
84
|
+
return pulumi.get(self, "arm")
|
|
85
|
+
|
|
73
86
|
@_builtins.property
|
|
74
87
|
@pulumi.getter
|
|
75
88
|
def category(self) -> Optional[_builtins.str]:
|
|
@@ -87,6 +100,7 @@ class GetNodeTypeResult:
|
|
|
87
100
|
|
|
88
101
|
@_builtins.property
|
|
89
102
|
@pulumi.getter
|
|
103
|
+
@_utilities.deprecated("""Use `arm` instead""")
|
|
90
104
|
def graviton(self) -> Optional[_builtins.bool]:
|
|
91
105
|
return pulumi.get(self, "graviton")
|
|
92
106
|
|
|
@@ -138,6 +152,11 @@ class GetNodeTypeResult:
|
|
|
138
152
|
def photon_worker_capable(self) -> Optional[_builtins.bool]:
|
|
139
153
|
return pulumi.get(self, "photon_worker_capable")
|
|
140
154
|
|
|
155
|
+
@_builtins.property
|
|
156
|
+
@pulumi.getter(name="providerConfig")
|
|
157
|
+
def provider_config(self) -> Optional['outputs.GetNodeTypeProviderConfigResult']:
|
|
158
|
+
return pulumi.get(self, "provider_config")
|
|
159
|
+
|
|
141
160
|
@_builtins.property
|
|
142
161
|
@pulumi.getter(name="supportPortForwarding")
|
|
143
162
|
def support_port_forwarding(self) -> Optional[_builtins.bool]:
|
|
@@ -150,6 +169,7 @@ class AwaitableGetNodeTypeResult(GetNodeTypeResult):
|
|
|
150
169
|
if False:
|
|
151
170
|
yield self
|
|
152
171
|
return GetNodeTypeResult(
|
|
172
|
+
arm=self.arm,
|
|
153
173
|
category=self.category,
|
|
154
174
|
fleet=self.fleet,
|
|
155
175
|
gb_per_core=self.gb_per_core,
|
|
@@ -163,10 +183,12 @@ class AwaitableGetNodeTypeResult(GetNodeTypeResult):
|
|
|
163
183
|
min_memory_gb=self.min_memory_gb,
|
|
164
184
|
photon_driver_capable=self.photon_driver_capable,
|
|
165
185
|
photon_worker_capable=self.photon_worker_capable,
|
|
186
|
+
provider_config=self.provider_config,
|
|
166
187
|
support_port_forwarding=self.support_port_forwarding)
|
|
167
188
|
|
|
168
189
|
|
|
169
|
-
def get_node_type(
|
|
190
|
+
def get_node_type(arm: Optional[_builtins.bool] = None,
|
|
191
|
+
category: Optional[_builtins.str] = None,
|
|
170
192
|
fleet: Optional[_builtins.bool] = None,
|
|
171
193
|
gb_per_core: Optional[_builtins.int] = None,
|
|
172
194
|
graviton: Optional[_builtins.bool] = None,
|
|
@@ -179,6 +201,7 @@ def get_node_type(category: Optional[_builtins.str] = None,
|
|
|
179
201
|
min_memory_gb: Optional[_builtins.int] = None,
|
|
180
202
|
photon_driver_capable: Optional[_builtins.bool] = None,
|
|
181
203
|
photon_worker_capable: Optional[_builtins.bool] = None,
|
|
204
|
+
provider_config: Optional[Union['GetNodeTypeProviderConfigArgs', 'GetNodeTypeProviderConfigArgsDict']] = None,
|
|
182
205
|
support_port_forwarding: Optional[_builtins.bool] = None,
|
|
183
206
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodeTypeResult:
|
|
184
207
|
"""
|
|
@@ -222,6 +245,7 @@ def get_node_type(category: Optional[_builtins.str] = None,
|
|
|
222
245
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
223
246
|
|
|
224
247
|
|
|
248
|
+
:param _builtins.bool arm: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
225
249
|
:param _builtins.str category: Node category, which can be one of (depending on the cloud environment, could be checked with `databricks clusters list-node-types -o json|jq '.node_types[]|.category'|sort |uniq`):
|
|
226
250
|
* `General Purpose` (all clouds)
|
|
227
251
|
* `General Purpose (HDD)` (Azure)
|
|
@@ -232,7 +256,7 @@ def get_node_type(category: Optional[_builtins.str] = None,
|
|
|
232
256
|
* `GPU Accelerated` (AWS, Azure)
|
|
233
257
|
:param _builtins.bool fleet: if we should limit the search only to [AWS fleet instance types](https://docs.databricks.com/compute/aws-fleet-instances.html). Default to _false_.
|
|
234
258
|
:param _builtins.int gb_per_core: Number of gigabytes per core available on instance. Conflicts with `min_memory_gb`. Defaults to _0_.
|
|
235
|
-
:param _builtins.bool graviton: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
259
|
+
:param _builtins.bool graviton: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_. *Use `arm` instead!*
|
|
236
260
|
:param _builtins.str id: node type, that can be used for databricks_job, databricks_cluster, or databricks_instance_pool.
|
|
237
261
|
:param _builtins.bool is_io_cache_enabled: . Pick only nodes that have IO Cache. Defaults to _false_.
|
|
238
262
|
:param _builtins.bool local_disk: Pick only nodes with local storage. Defaults to _false_.
|
|
@@ -242,9 +266,11 @@ def get_node_type(category: Optional[_builtins.str] = None,
|
|
|
242
266
|
:param _builtins.int min_memory_gb: Minimum amount of memory per node in gigabytes. Defaults to _0_.
|
|
243
267
|
:param _builtins.bool photon_driver_capable: Pick only nodes that can run Photon driver. Defaults to _false_.
|
|
244
268
|
:param _builtins.bool photon_worker_capable: Pick only nodes that can run Photon workers. Defaults to _false_.
|
|
269
|
+
:param Union['GetNodeTypeProviderConfigArgs', 'GetNodeTypeProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
245
270
|
:param _builtins.bool support_port_forwarding: Pick only nodes that support port forwarding. Defaults to _false_.
|
|
246
271
|
"""
|
|
247
272
|
__args__ = dict()
|
|
273
|
+
__args__['arm'] = arm
|
|
248
274
|
__args__['category'] = category
|
|
249
275
|
__args__['fleet'] = fleet
|
|
250
276
|
__args__['gbPerCore'] = gb_per_core
|
|
@@ -258,11 +284,13 @@ def get_node_type(category: Optional[_builtins.str] = None,
|
|
|
258
284
|
__args__['minMemoryGb'] = min_memory_gb
|
|
259
285
|
__args__['photonDriverCapable'] = photon_driver_capable
|
|
260
286
|
__args__['photonWorkerCapable'] = photon_worker_capable
|
|
287
|
+
__args__['providerConfig'] = provider_config
|
|
261
288
|
__args__['supportPortForwarding'] = support_port_forwarding
|
|
262
289
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
263
290
|
__ret__ = pulumi.runtime.invoke('databricks:index/getNodeType:getNodeType', __args__, opts=opts, typ=GetNodeTypeResult).value
|
|
264
291
|
|
|
265
292
|
return AwaitableGetNodeTypeResult(
|
|
293
|
+
arm=pulumi.get(__ret__, 'arm'),
|
|
266
294
|
category=pulumi.get(__ret__, 'category'),
|
|
267
295
|
fleet=pulumi.get(__ret__, 'fleet'),
|
|
268
296
|
gb_per_core=pulumi.get(__ret__, 'gb_per_core'),
|
|
@@ -276,8 +304,10 @@ def get_node_type(category: Optional[_builtins.str] = None,
|
|
|
276
304
|
min_memory_gb=pulumi.get(__ret__, 'min_memory_gb'),
|
|
277
305
|
photon_driver_capable=pulumi.get(__ret__, 'photon_driver_capable'),
|
|
278
306
|
photon_worker_capable=pulumi.get(__ret__, 'photon_worker_capable'),
|
|
307
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
279
308
|
support_port_forwarding=pulumi.get(__ret__, 'support_port_forwarding'))
|
|
280
|
-
def get_node_type_output(
|
|
309
|
+
def get_node_type_output(arm: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
310
|
+
category: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
281
311
|
fleet: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
282
312
|
gb_per_core: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
283
313
|
graviton: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
@@ -290,6 +320,7 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
290
320
|
min_memory_gb: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
291
321
|
photon_driver_capable: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
292
322
|
photon_worker_capable: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
323
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetNodeTypeProviderConfigArgs', 'GetNodeTypeProviderConfigArgsDict']]]] = None,
|
|
293
324
|
support_port_forwarding: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
294
325
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodeTypeResult]:
|
|
295
326
|
"""
|
|
@@ -333,6 +364,7 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
333
364
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
334
365
|
|
|
335
366
|
|
|
367
|
+
:param _builtins.bool arm: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
336
368
|
:param _builtins.str category: Node category, which can be one of (depending on the cloud environment, could be checked with `databricks clusters list-node-types -o json|jq '.node_types[]|.category'|sort |uniq`):
|
|
337
369
|
* `General Purpose` (all clouds)
|
|
338
370
|
* `General Purpose (HDD)` (Azure)
|
|
@@ -343,7 +375,7 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
343
375
|
* `GPU Accelerated` (AWS, Azure)
|
|
344
376
|
:param _builtins.bool fleet: if we should limit the search only to [AWS fleet instance types](https://docs.databricks.com/compute/aws-fleet-instances.html). Default to _false_.
|
|
345
377
|
:param _builtins.int gb_per_core: Number of gigabytes per core available on instance. Conflicts with `min_memory_gb`. Defaults to _0_.
|
|
346
|
-
:param _builtins.bool graviton: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
378
|
+
:param _builtins.bool graviton: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_. *Use `arm` instead!*
|
|
347
379
|
:param _builtins.str id: node type, that can be used for databricks_job, databricks_cluster, or databricks_instance_pool.
|
|
348
380
|
:param _builtins.bool is_io_cache_enabled: . Pick only nodes that have IO Cache. Defaults to _false_.
|
|
349
381
|
:param _builtins.bool local_disk: Pick only nodes with local storage. Defaults to _false_.
|
|
@@ -353,9 +385,11 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
353
385
|
:param _builtins.int min_memory_gb: Minimum amount of memory per node in gigabytes. Defaults to _0_.
|
|
354
386
|
:param _builtins.bool photon_driver_capable: Pick only nodes that can run Photon driver. Defaults to _false_.
|
|
355
387
|
:param _builtins.bool photon_worker_capable: Pick only nodes that can run Photon workers. Defaults to _false_.
|
|
388
|
+
:param Union['GetNodeTypeProviderConfigArgs', 'GetNodeTypeProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
356
389
|
:param _builtins.bool support_port_forwarding: Pick only nodes that support port forwarding. Defaults to _false_.
|
|
357
390
|
"""
|
|
358
391
|
__args__ = dict()
|
|
392
|
+
__args__['arm'] = arm
|
|
359
393
|
__args__['category'] = category
|
|
360
394
|
__args__['fleet'] = fleet
|
|
361
395
|
__args__['gbPerCore'] = gb_per_core
|
|
@@ -369,10 +403,12 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
369
403
|
__args__['minMemoryGb'] = min_memory_gb
|
|
370
404
|
__args__['photonDriverCapable'] = photon_driver_capable
|
|
371
405
|
__args__['photonWorkerCapable'] = photon_worker_capable
|
|
406
|
+
__args__['providerConfig'] = provider_config
|
|
372
407
|
__args__['supportPortForwarding'] = support_port_forwarding
|
|
373
408
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
374
409
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getNodeType:getNodeType', __args__, opts=opts, typ=GetNodeTypeResult)
|
|
375
410
|
return __ret__.apply(lambda __response__: GetNodeTypeResult(
|
|
411
|
+
arm=pulumi.get(__response__, 'arm'),
|
|
376
412
|
category=pulumi.get(__response__, 'category'),
|
|
377
413
|
fleet=pulumi.get(__response__, 'fleet'),
|
|
378
414
|
gb_per_core=pulumi.get(__response__, 'gb_per_core'),
|
|
@@ -386,4 +422,5 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[_builtins.str]
|
|
|
386
422
|
min_memory_gb=pulumi.get(__response__, 'min_memory_gb'),
|
|
387
423
|
photon_driver_capable=pulumi.get(__response__, 'photon_driver_capable'),
|
|
388
424
|
photon_worker_capable=pulumi.get(__response__, 'photon_worker_capable'),
|
|
425
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
389
426
|
support_port_forwarding=pulumi.get(__response__, 'support_port_forwarding')))
|
|
@@ -13,6 +13,8 @@ if sys.version_info >= (3, 11):
|
|
|
13
13
|
else:
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
16
18
|
|
|
17
19
|
__all__ = [
|
|
18
20
|
'GetNotebookResult',
|
|
@@ -26,7 +28,7 @@ class GetNotebookResult:
|
|
|
26
28
|
"""
|
|
27
29
|
A collection of values returned by getNotebook.
|
|
28
30
|
"""
|
|
29
|
-
def __init__(__self__, content=None, format=None, id=None, language=None, object_id=None, object_type=None, path=None, workspace_path=None):
|
|
31
|
+
def __init__(__self__, content=None, format=None, id=None, language=None, object_id=None, object_type=None, path=None, provider_config=None, workspace_path=None):
|
|
30
32
|
if content and not isinstance(content, str):
|
|
31
33
|
raise TypeError("Expected argument 'content' to be a str")
|
|
32
34
|
pulumi.set(__self__, "content", content)
|
|
@@ -48,6 +50,9 @@ class GetNotebookResult:
|
|
|
48
50
|
if path and not isinstance(path, str):
|
|
49
51
|
raise TypeError("Expected argument 'path' to be a str")
|
|
50
52
|
pulumi.set(__self__, "path", path)
|
|
53
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
54
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
55
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
51
56
|
if workspace_path and not isinstance(workspace_path, str):
|
|
52
57
|
raise TypeError("Expected argument 'workspace_path' to be a str")
|
|
53
58
|
pulumi.set(__self__, "workspace_path", workspace_path)
|
|
@@ -102,6 +107,11 @@ class GetNotebookResult:
|
|
|
102
107
|
def path(self) -> _builtins.str:
|
|
103
108
|
return pulumi.get(self, "path")
|
|
104
109
|
|
|
110
|
+
@_builtins.property
|
|
111
|
+
@pulumi.getter(name="providerConfig")
|
|
112
|
+
def provider_config(self) -> Optional['outputs.GetNotebookProviderConfigResult']:
|
|
113
|
+
return pulumi.get(self, "provider_config")
|
|
114
|
+
|
|
105
115
|
@_builtins.property
|
|
106
116
|
@pulumi.getter(name="workspacePath")
|
|
107
117
|
def workspace_path(self) -> _builtins.str:
|
|
@@ -124,6 +134,7 @@ class AwaitableGetNotebookResult(GetNotebookResult):
|
|
|
124
134
|
object_id=self.object_id,
|
|
125
135
|
object_type=self.object_type,
|
|
126
136
|
path=self.path,
|
|
137
|
+
provider_config=self.provider_config,
|
|
127
138
|
workspace_path=self.workspace_path)
|
|
128
139
|
|
|
129
140
|
|
|
@@ -132,6 +143,7 @@ def get_notebook(format: Optional[_builtins.str] = None,
|
|
|
132
143
|
object_id: Optional[_builtins.int] = None,
|
|
133
144
|
object_type: Optional[_builtins.str] = None,
|
|
134
145
|
path: Optional[_builtins.str] = None,
|
|
146
|
+
provider_config: Optional[Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict']] = None,
|
|
135
147
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebookResult:
|
|
136
148
|
"""
|
|
137
149
|
This data source allows to export a notebook from Databricks Workspace.
|
|
@@ -154,6 +166,7 @@ def get_notebook(format: Optional[_builtins.str] = None,
|
|
|
154
166
|
:param _builtins.int object_id: notebook object ID
|
|
155
167
|
:param _builtins.str object_type: notebook object type
|
|
156
168
|
:param _builtins.str path: Notebook path on the workspace
|
|
169
|
+
:param Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
157
170
|
"""
|
|
158
171
|
__args__ = dict()
|
|
159
172
|
__args__['format'] = format
|
|
@@ -161,6 +174,7 @@ def get_notebook(format: Optional[_builtins.str] = None,
|
|
|
161
174
|
__args__['objectId'] = object_id
|
|
162
175
|
__args__['objectType'] = object_type
|
|
163
176
|
__args__['path'] = path
|
|
177
|
+
__args__['providerConfig'] = provider_config
|
|
164
178
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
165
179
|
__ret__ = pulumi.runtime.invoke('databricks:index/getNotebook:getNotebook', __args__, opts=opts, typ=GetNotebookResult).value
|
|
166
180
|
|
|
@@ -172,12 +186,14 @@ def get_notebook(format: Optional[_builtins.str] = None,
|
|
|
172
186
|
object_id=pulumi.get(__ret__, 'object_id'),
|
|
173
187
|
object_type=pulumi.get(__ret__, 'object_type'),
|
|
174
188
|
path=pulumi.get(__ret__, 'path'),
|
|
189
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
175
190
|
workspace_path=pulumi.get(__ret__, 'workspace_path'))
|
|
176
191
|
def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
177
192
|
language: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
178
193
|
object_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
179
194
|
object_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
180
195
|
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
196
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict']]]] = None,
|
|
181
197
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebookResult]:
|
|
182
198
|
"""
|
|
183
199
|
This data source allows to export a notebook from Databricks Workspace.
|
|
@@ -200,6 +216,7 @@ def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
200
216
|
:param _builtins.int object_id: notebook object ID
|
|
201
217
|
:param _builtins.str object_type: notebook object type
|
|
202
218
|
:param _builtins.str path: Notebook path on the workspace
|
|
219
|
+
:param Union['GetNotebookProviderConfigArgs', 'GetNotebookProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
203
220
|
"""
|
|
204
221
|
__args__ = dict()
|
|
205
222
|
__args__['format'] = format
|
|
@@ -207,6 +224,7 @@ def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
207
224
|
__args__['objectId'] = object_id
|
|
208
225
|
__args__['objectType'] = object_type
|
|
209
226
|
__args__['path'] = path
|
|
227
|
+
__args__['providerConfig'] = provider_config
|
|
210
228
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
211
229
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getNotebook:getNotebook', __args__, opts=opts, typ=GetNotebookResult)
|
|
212
230
|
return __ret__.apply(lambda __response__: GetNotebookResult(
|
|
@@ -217,4 +235,5 @@ def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
|
217
235
|
object_id=pulumi.get(__response__, 'object_id'),
|
|
218
236
|
object_type=pulumi.get(__response__, 'object_type'),
|
|
219
237
|
path=pulumi.get(__response__, 'path'),
|
|
238
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
220
239
|
workspace_path=pulumi.get(__response__, 'workspace_path')))
|
|
@@ -14,6 +14,7 @@ else:
|
|
|
14
14
|
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
15
|
from . import _utilities
|
|
16
16
|
from . import outputs
|
|
17
|
+
from ._inputs import *
|
|
17
18
|
|
|
18
19
|
__all__ = [
|
|
19
20
|
'GetNotificationDestinationsResult',
|
|
@@ -27,7 +28,7 @@ class GetNotificationDestinationsResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getNotificationDestinations.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, display_name_contains=None, id=None, notification_destinations=None, type=None):
|
|
31
|
+
def __init__(__self__, display_name_contains=None, id=None, notification_destinations=None, provider_config=None, type=None):
|
|
31
32
|
if display_name_contains and not isinstance(display_name_contains, str):
|
|
32
33
|
raise TypeError("Expected argument 'display_name_contains' to be a str")
|
|
33
34
|
pulumi.set(__self__, "display_name_contains", display_name_contains)
|
|
@@ -37,6 +38,9 @@ class GetNotificationDestinationsResult:
|
|
|
37
38
|
if notification_destinations and not isinstance(notification_destinations, list):
|
|
38
39
|
raise TypeError("Expected argument 'notification_destinations' to be a list")
|
|
39
40
|
pulumi.set(__self__, "notification_destinations", notification_destinations)
|
|
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)
|
|
40
44
|
if type and not isinstance(type, str):
|
|
41
45
|
raise TypeError("Expected argument 'type' to be a str")
|
|
42
46
|
pulumi.set(__self__, "type", type)
|
|
@@ -62,6 +66,11 @@ class GetNotificationDestinationsResult:
|
|
|
62
66
|
"""
|
|
63
67
|
return pulumi.get(self, "notification_destinations")
|
|
64
68
|
|
|
69
|
+
@_builtins.property
|
|
70
|
+
@pulumi.getter(name="providerConfig")
|
|
71
|
+
def provider_config(self) -> Optional['outputs.GetNotificationDestinationsProviderConfigResult']:
|
|
72
|
+
return pulumi.get(self, "provider_config")
|
|
73
|
+
|
|
65
74
|
@_builtins.property
|
|
66
75
|
@pulumi.getter
|
|
67
76
|
def type(self) -> Optional[_builtins.str]:
|
|
@@ -77,10 +86,12 @@ class AwaitableGetNotificationDestinationsResult(GetNotificationDestinationsResu
|
|
|
77
86
|
display_name_contains=self.display_name_contains,
|
|
78
87
|
id=self.id,
|
|
79
88
|
notification_destinations=self.notification_destinations,
|
|
89
|
+
provider_config=self.provider_config,
|
|
80
90
|
type=self.type)
|
|
81
91
|
|
|
82
92
|
|
|
83
93
|
def get_notification_destinations(display_name_contains: Optional[_builtins.str] = None,
|
|
94
|
+
provider_config: Optional[Union['GetNotificationDestinationsProviderConfigArgs', 'GetNotificationDestinationsProviderConfigArgsDict']] = None,
|
|
84
95
|
type: Optional[_builtins.str] = None,
|
|
85
96
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotificationDestinationsResult:
|
|
86
97
|
"""
|
|
@@ -126,6 +137,7 @@ def get_notification_destinations(display_name_contains: Optional[_builtins.str]
|
|
|
126
137
|
"""
|
|
127
138
|
__args__ = dict()
|
|
128
139
|
__args__['displayNameContains'] = display_name_contains
|
|
140
|
+
__args__['providerConfig'] = provider_config
|
|
129
141
|
__args__['type'] = type
|
|
130
142
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
131
143
|
__ret__ = pulumi.runtime.invoke('databricks:index/getNotificationDestinations:getNotificationDestinations', __args__, opts=opts, typ=GetNotificationDestinationsResult).value
|
|
@@ -134,8 +146,10 @@ def get_notification_destinations(display_name_contains: Optional[_builtins.str]
|
|
|
134
146
|
display_name_contains=pulumi.get(__ret__, 'display_name_contains'),
|
|
135
147
|
id=pulumi.get(__ret__, 'id'),
|
|
136
148
|
notification_destinations=pulumi.get(__ret__, 'notification_destinations'),
|
|
149
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
137
150
|
type=pulumi.get(__ret__, 'type'))
|
|
138
151
|
def get_notification_destinations_output(display_name_contains: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
152
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetNotificationDestinationsProviderConfigArgs', 'GetNotificationDestinationsProviderConfigArgsDict']]]] = None,
|
|
139
153
|
type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
140
154
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotificationDestinationsResult]:
|
|
141
155
|
"""
|
|
@@ -181,6 +195,7 @@ def get_notification_destinations_output(display_name_contains: Optional[pulumi.
|
|
|
181
195
|
"""
|
|
182
196
|
__args__ = dict()
|
|
183
197
|
__args__['displayNameContains'] = display_name_contains
|
|
198
|
+
__args__['providerConfig'] = provider_config
|
|
184
199
|
__args__['type'] = type
|
|
185
200
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
186
201
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getNotificationDestinations:getNotificationDestinations', __args__, opts=opts, typ=GetNotificationDestinationsResult)
|
|
@@ -188,4 +203,5 @@ def get_notification_destinations_output(display_name_contains: Optional[pulumi.
|
|
|
188
203
|
display_name_contains=pulumi.get(__response__, 'display_name_contains'),
|
|
189
204
|
id=pulumi.get(__response__, 'id'),
|
|
190
205
|
notification_destinations=pulumi.get(__response__, 'notification_destinations'),
|
|
206
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
191
207
|
type=pulumi.get(__response__, 'type')))
|
|
@@ -26,7 +26,7 @@ class GetOnlineStoreResult:
|
|
|
26
26
|
"""
|
|
27
27
|
A collection of values returned by getOnlineStore.
|
|
28
28
|
"""
|
|
29
|
-
def __init__(__self__, capacity=None, creation_time=None, creator=None, id=None, name=None, read_replica_count=None, state=None
|
|
29
|
+
def __init__(__self__, capacity=None, creation_time=None, creator=None, id=None, name=None, read_replica_count=None, state=None):
|
|
30
30
|
if capacity and not isinstance(capacity, str):
|
|
31
31
|
raise TypeError("Expected argument 'capacity' to be a str")
|
|
32
32
|
pulumi.set(__self__, "capacity", capacity)
|
|
@@ -48,9 +48,6 @@ class GetOnlineStoreResult:
|
|
|
48
48
|
if state and not isinstance(state, str):
|
|
49
49
|
raise TypeError("Expected argument 'state' to be a str")
|
|
50
50
|
pulumi.set(__self__, "state", state)
|
|
51
|
-
if workspace_id and not isinstance(workspace_id, str):
|
|
52
|
-
raise TypeError("Expected argument 'workspace_id' to be a str")
|
|
53
|
-
pulumi.set(__self__, "workspace_id", workspace_id)
|
|
54
51
|
|
|
55
52
|
@_builtins.property
|
|
56
53
|
@pulumi.getter
|
|
@@ -94,7 +91,7 @@ class GetOnlineStoreResult:
|
|
|
94
91
|
|
|
95
92
|
@_builtins.property
|
|
96
93
|
@pulumi.getter(name="readReplicaCount")
|
|
97
|
-
def read_replica_count(self) ->
|
|
94
|
+
def read_replica_count(self) -> _builtins.int:
|
|
98
95
|
"""
|
|
99
96
|
(integer) - The number of read replicas for the online store. Defaults to 0
|
|
100
97
|
"""
|
|
@@ -108,11 +105,6 @@ class GetOnlineStoreResult:
|
|
|
108
105
|
"""
|
|
109
106
|
return pulumi.get(self, "state")
|
|
110
107
|
|
|
111
|
-
@_builtins.property
|
|
112
|
-
@pulumi.getter(name="workspaceId")
|
|
113
|
-
def workspace_id(self) -> Optional[_builtins.str]:
|
|
114
|
-
return pulumi.get(self, "workspace_id")
|
|
115
|
-
|
|
116
108
|
|
|
117
109
|
class AwaitableGetOnlineStoreResult(GetOnlineStoreResult):
|
|
118
110
|
# pylint: disable=using-constant-test
|
|
@@ -126,28 +118,19 @@ class AwaitableGetOnlineStoreResult(GetOnlineStoreResult):
|
|
|
126
118
|
id=self.id,
|
|
127
119
|
name=self.name,
|
|
128
120
|
read_replica_count=self.read_replica_count,
|
|
129
|
-
state=self.state
|
|
130
|
-
workspace_id=self.workspace_id)
|
|
121
|
+
state=self.state)
|
|
131
122
|
|
|
132
123
|
|
|
133
|
-
def get_online_store(
|
|
134
|
-
name: Optional[_builtins.str] = None,
|
|
135
|
-
read_replica_count: Optional[_builtins.int] = None,
|
|
136
|
-
workspace_id: Optional[_builtins.str] = None,
|
|
124
|
+
def get_online_store(name: Optional[_builtins.str] = None,
|
|
137
125
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetOnlineStoreResult:
|
|
138
126
|
"""
|
|
139
|
-
|
|
127
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
128
|
+
|
|
140
129
|
|
|
141
|
-
:param _builtins.str capacity: (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
142
130
|
:param _builtins.str name: The name of the online store. This is the unique identifier for the online store
|
|
143
|
-
:param _builtins.int read_replica_count: (integer) - The number of read replicas for the online store. Defaults to 0
|
|
144
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
145
131
|
"""
|
|
146
132
|
__args__ = dict()
|
|
147
|
-
__args__['capacity'] = capacity
|
|
148
133
|
__args__['name'] = name
|
|
149
|
-
__args__['readReplicaCount'] = read_replica_count
|
|
150
|
-
__args__['workspaceId'] = workspace_id
|
|
151
134
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
152
135
|
__ret__ = pulumi.runtime.invoke('databricks:index/getOnlineStore:getOnlineStore', __args__, opts=opts, typ=GetOnlineStoreResult).value
|
|
153
136
|
|
|
@@ -158,26 +141,17 @@ def get_online_store(capacity: Optional[_builtins.str] = None,
|
|
|
158
141
|
id=pulumi.get(__ret__, 'id'),
|
|
159
142
|
name=pulumi.get(__ret__, 'name'),
|
|
160
143
|
read_replica_count=pulumi.get(__ret__, 'read_replica_count'),
|
|
161
|
-
state=pulumi.get(__ret__, 'state')
|
|
162
|
-
|
|
163
|
-
def get_online_store_output(capacity: Optional[pulumi.Input[_builtins.str]] = None,
|
|
164
|
-
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
165
|
-
read_replica_count: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
166
|
-
workspace_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
144
|
+
state=pulumi.get(__ret__, 'state'))
|
|
145
|
+
def get_online_store_output(name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
167
146
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetOnlineStoreResult]:
|
|
168
147
|
"""
|
|
169
|
-
|
|
148
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
149
|
+
|
|
170
150
|
|
|
171
|
-
:param _builtins.str capacity: (string) - The capacity of the online store. Valid values are "CU_1", "CU_2", "CU_4", "CU_8"
|
|
172
151
|
:param _builtins.str name: The name of the online store. This is the unique identifier for the online store
|
|
173
|
-
:param _builtins.int read_replica_count: (integer) - The number of read replicas for the online store. Defaults to 0
|
|
174
|
-
:param _builtins.str workspace_id: Workspace ID of the resource
|
|
175
152
|
"""
|
|
176
153
|
__args__ = dict()
|
|
177
|
-
__args__['capacity'] = capacity
|
|
178
154
|
__args__['name'] = name
|
|
179
|
-
__args__['readReplicaCount'] = read_replica_count
|
|
180
|
-
__args__['workspaceId'] = workspace_id
|
|
181
155
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
182
156
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getOnlineStore:getOnlineStore', __args__, opts=opts, typ=GetOnlineStoreResult)
|
|
183
157
|
return __ret__.apply(lambda __response__: GetOnlineStoreResult(
|
|
@@ -187,5 +161,4 @@ def get_online_store_output(capacity: Optional[pulumi.Input[_builtins.str]] = No
|
|
|
187
161
|
id=pulumi.get(__response__, 'id'),
|
|
188
162
|
name=pulumi.get(__response__, 'name'),
|
|
189
163
|
read_replica_count=pulumi.get(__response__, 'read_replica_count'),
|
|
190
|
-
state=pulumi.get(__response__, 'state')
|
|
191
|
-
workspace_id=pulumi.get(__response__, 'workspace_id')))
|
|
164
|
+
state=pulumi.get(__response__, 'state')))
|