pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -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
|
'GetNodeTypeResult',
|
|
@@ -27,7 +28,10 @@ class GetNodeTypeResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getNodeType.
|
|
29
30
|
"""
|
|
30
|
-
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)
|
|
31
35
|
if category and not isinstance(category, str):
|
|
32
36
|
raise TypeError("Expected argument 'category' to be a str")
|
|
33
37
|
pulumi.set(__self__, "category", category)
|
|
@@ -67,81 +71,95 @@ class GetNodeTypeResult:
|
|
|
67
71
|
if photon_worker_capable and not isinstance(photon_worker_capable, bool):
|
|
68
72
|
raise TypeError("Expected argument 'photon_worker_capable' to be a bool")
|
|
69
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)
|
|
70
77
|
if support_port_forwarding and not isinstance(support_port_forwarding, bool):
|
|
71
78
|
raise TypeError("Expected argument 'support_port_forwarding' to be a bool")
|
|
72
79
|
pulumi.set(__self__, "support_port_forwarding", support_port_forwarding)
|
|
73
80
|
|
|
74
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
75
82
|
@pulumi.getter
|
|
76
|
-
def
|
|
83
|
+
def arm(self) -> Optional[_builtins.bool]:
|
|
84
|
+
return pulumi.get(self, "arm")
|
|
85
|
+
|
|
86
|
+
@_builtins.property
|
|
87
|
+
@pulumi.getter
|
|
88
|
+
def category(self) -> Optional[_builtins.str]:
|
|
77
89
|
return pulumi.get(self, "category")
|
|
78
90
|
|
|
79
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
80
92
|
@pulumi.getter
|
|
81
|
-
def fleet(self) -> Optional[
|
|
93
|
+
def fleet(self) -> Optional[_builtins.bool]:
|
|
82
94
|
return pulumi.get(self, "fleet")
|
|
83
95
|
|
|
84
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
85
97
|
@pulumi.getter(name="gbPerCore")
|
|
86
|
-
def gb_per_core(self) -> Optional[
|
|
98
|
+
def gb_per_core(self) -> Optional[_builtins.int]:
|
|
87
99
|
return pulumi.get(self, "gb_per_core")
|
|
88
100
|
|
|
89
|
-
@property
|
|
101
|
+
@_builtins.property
|
|
90
102
|
@pulumi.getter
|
|
91
|
-
|
|
103
|
+
@_utilities.deprecated("""Use `arm` instead""")
|
|
104
|
+
def graviton(self) -> Optional[_builtins.bool]:
|
|
92
105
|
return pulumi.get(self, "graviton")
|
|
93
106
|
|
|
94
|
-
@property
|
|
107
|
+
@_builtins.property
|
|
95
108
|
@pulumi.getter
|
|
96
|
-
def id(self) ->
|
|
109
|
+
def id(self) -> _builtins.str:
|
|
97
110
|
"""
|
|
98
111
|
node type, that can be used for databricks_job, databricks_cluster, or databricks_instance_pool.
|
|
99
112
|
"""
|
|
100
113
|
return pulumi.get(self, "id")
|
|
101
114
|
|
|
102
|
-
@property
|
|
115
|
+
@_builtins.property
|
|
103
116
|
@pulumi.getter(name="isIoCacheEnabled")
|
|
104
|
-
def is_io_cache_enabled(self) -> Optional[
|
|
117
|
+
def is_io_cache_enabled(self) -> Optional[_builtins.bool]:
|
|
105
118
|
return pulumi.get(self, "is_io_cache_enabled")
|
|
106
119
|
|
|
107
|
-
@property
|
|
120
|
+
@_builtins.property
|
|
108
121
|
@pulumi.getter(name="localDisk")
|
|
109
|
-
def local_disk(self) -> Optional[
|
|
122
|
+
def local_disk(self) -> Optional[_builtins.bool]:
|
|
110
123
|
return pulumi.get(self, "local_disk")
|
|
111
124
|
|
|
112
|
-
@property
|
|
125
|
+
@_builtins.property
|
|
113
126
|
@pulumi.getter(name="localDiskMinSize")
|
|
114
|
-
def local_disk_min_size(self) -> Optional[
|
|
127
|
+
def local_disk_min_size(self) -> Optional[_builtins.int]:
|
|
115
128
|
return pulumi.get(self, "local_disk_min_size")
|
|
116
129
|
|
|
117
|
-
@property
|
|
130
|
+
@_builtins.property
|
|
118
131
|
@pulumi.getter(name="minCores")
|
|
119
|
-
def min_cores(self) -> Optional[
|
|
132
|
+
def min_cores(self) -> Optional[_builtins.int]:
|
|
120
133
|
return pulumi.get(self, "min_cores")
|
|
121
134
|
|
|
122
|
-
@property
|
|
135
|
+
@_builtins.property
|
|
123
136
|
@pulumi.getter(name="minGpus")
|
|
124
|
-
def min_gpus(self) -> Optional[
|
|
137
|
+
def min_gpus(self) -> Optional[_builtins.int]:
|
|
125
138
|
return pulumi.get(self, "min_gpus")
|
|
126
139
|
|
|
127
|
-
@property
|
|
140
|
+
@_builtins.property
|
|
128
141
|
@pulumi.getter(name="minMemoryGb")
|
|
129
|
-
def min_memory_gb(self) -> Optional[
|
|
142
|
+
def min_memory_gb(self) -> Optional[_builtins.int]:
|
|
130
143
|
return pulumi.get(self, "min_memory_gb")
|
|
131
144
|
|
|
132
|
-
@property
|
|
145
|
+
@_builtins.property
|
|
133
146
|
@pulumi.getter(name="photonDriverCapable")
|
|
134
|
-
def photon_driver_capable(self) -> Optional[
|
|
147
|
+
def photon_driver_capable(self) -> Optional[_builtins.bool]:
|
|
135
148
|
return pulumi.get(self, "photon_driver_capable")
|
|
136
149
|
|
|
137
|
-
@property
|
|
150
|
+
@_builtins.property
|
|
138
151
|
@pulumi.getter(name="photonWorkerCapable")
|
|
139
|
-
def photon_worker_capable(self) -> Optional[
|
|
152
|
+
def photon_worker_capable(self) -> Optional[_builtins.bool]:
|
|
140
153
|
return pulumi.get(self, "photon_worker_capable")
|
|
141
154
|
|
|
142
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
156
|
+
@pulumi.getter(name="providerConfig")
|
|
157
|
+
def provider_config(self) -> Optional['outputs.GetNodeTypeProviderConfigResult']:
|
|
158
|
+
return pulumi.get(self, "provider_config")
|
|
159
|
+
|
|
160
|
+
@_builtins.property
|
|
143
161
|
@pulumi.getter(name="supportPortForwarding")
|
|
144
|
-
def support_port_forwarding(self) -> Optional[
|
|
162
|
+
def support_port_forwarding(self) -> Optional[_builtins.bool]:
|
|
145
163
|
return pulumi.get(self, "support_port_forwarding")
|
|
146
164
|
|
|
147
165
|
|
|
@@ -151,6 +169,7 @@ class AwaitableGetNodeTypeResult(GetNodeTypeResult):
|
|
|
151
169
|
if False:
|
|
152
170
|
yield self
|
|
153
171
|
return GetNodeTypeResult(
|
|
172
|
+
arm=self.arm,
|
|
154
173
|
category=self.category,
|
|
155
174
|
fleet=self.fleet,
|
|
156
175
|
gb_per_core=self.gb_per_core,
|
|
@@ -164,23 +183,26 @@ class AwaitableGetNodeTypeResult(GetNodeTypeResult):
|
|
|
164
183
|
min_memory_gb=self.min_memory_gb,
|
|
165
184
|
photon_driver_capable=self.photon_driver_capable,
|
|
166
185
|
photon_worker_capable=self.photon_worker_capable,
|
|
186
|
+
provider_config=self.provider_config,
|
|
167
187
|
support_port_forwarding=self.support_port_forwarding)
|
|
168
188
|
|
|
169
189
|
|
|
170
|
-
def get_node_type(
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
190
|
+
def get_node_type(arm: Optional[_builtins.bool] = None,
|
|
191
|
+
category: Optional[_builtins.str] = None,
|
|
192
|
+
fleet: Optional[_builtins.bool] = None,
|
|
193
|
+
gb_per_core: Optional[_builtins.int] = None,
|
|
194
|
+
graviton: Optional[_builtins.bool] = None,
|
|
195
|
+
id: Optional[_builtins.str] = None,
|
|
196
|
+
is_io_cache_enabled: Optional[_builtins.bool] = None,
|
|
197
|
+
local_disk: Optional[_builtins.bool] = None,
|
|
198
|
+
local_disk_min_size: Optional[_builtins.int] = None,
|
|
199
|
+
min_cores: Optional[_builtins.int] = None,
|
|
200
|
+
min_gpus: Optional[_builtins.int] = None,
|
|
201
|
+
min_memory_gb: Optional[_builtins.int] = None,
|
|
202
|
+
photon_driver_capable: Optional[_builtins.bool] = None,
|
|
203
|
+
photon_worker_capable: Optional[_builtins.bool] = None,
|
|
204
|
+
provider_config: Optional[Union['GetNodeTypeProviderConfigArgs', 'GetNodeTypeProviderConfigArgsDict']] = None,
|
|
205
|
+
support_port_forwarding: Optional[_builtins.bool] = None,
|
|
184
206
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNodeTypeResult:
|
|
185
207
|
"""
|
|
186
208
|
Gets the smallest node type for Cluster that fits search criteria, like amount of RAM or number of cores. [AWS](https://databricks.com/product/aws-pricing/instance-types) or [Azure](https://azure.microsoft.com/en-us/pricing/details/databricks/). Internally data source fetches [node types](https://docs.databricks.com/dev-tools/api/latest/clusters.html#list-node-types) available per cloud, similar to executing `databricks clusters list-node-types`, and filters it to return the smallest possible node with criteria.
|
|
@@ -223,7 +245,8 @@ def get_node_type(category: Optional[builtins.str] = None,
|
|
|
223
245
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
224
246
|
|
|
225
247
|
|
|
226
|
-
:param
|
|
248
|
+
:param _builtins.bool arm: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
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`):
|
|
227
250
|
* `General Purpose` (all clouds)
|
|
228
251
|
* `General Purpose (HDD)` (Azure)
|
|
229
252
|
* `Compute Optimized` (all clouds)
|
|
@@ -231,21 +254,23 @@ def get_node_type(category: Optional[builtins.str] = None,
|
|
|
231
254
|
* `Memory Optimized (Remote HDD)` (Azure)
|
|
232
255
|
* `Storage Optimized` (AWS, Azure)
|
|
233
256
|
* `GPU Accelerated` (AWS, Azure)
|
|
234
|
-
:param
|
|
235
|
-
:param
|
|
236
|
-
:param
|
|
237
|
-
:param
|
|
238
|
-
:param
|
|
239
|
-
:param
|
|
240
|
-
:param
|
|
241
|
-
:param
|
|
242
|
-
:param
|
|
243
|
-
:param
|
|
244
|
-
:param
|
|
245
|
-
:param
|
|
246
|
-
:param
|
|
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_.
|
|
258
|
+
:param _builtins.int gb_per_core: Number of gigabytes per core available on instance. Conflicts with `min_memory_gb`. Defaults to _0_.
|
|
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!*
|
|
260
|
+
:param _builtins.str id: node type, that can be used for databricks_job, databricks_cluster, or databricks_instance_pool.
|
|
261
|
+
:param _builtins.bool is_io_cache_enabled: . Pick only nodes that have IO Cache. Defaults to _false_.
|
|
262
|
+
:param _builtins.bool local_disk: Pick only nodes with local storage. Defaults to _false_.
|
|
263
|
+
:param _builtins.int local_disk_min_size: Pick only nodes that have size local storage greater or equal to given value. Defaults to _0_.
|
|
264
|
+
:param _builtins.int min_cores: Minimum number of CPU cores available on instance. Defaults to _0_.
|
|
265
|
+
:param _builtins.int min_gpus: Minimum number of GPU's attached to instance. Defaults to _0_.
|
|
266
|
+
:param _builtins.int min_memory_gb: Minimum amount of memory per node in gigabytes. Defaults to _0_.
|
|
267
|
+
:param _builtins.bool photon_driver_capable: Pick only nodes that can run Photon driver. Defaults to _false_.
|
|
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:
|
|
270
|
+
:param _builtins.bool support_port_forwarding: Pick only nodes that support port forwarding. Defaults to _false_.
|
|
247
271
|
"""
|
|
248
272
|
__args__ = dict()
|
|
273
|
+
__args__['arm'] = arm
|
|
249
274
|
__args__['category'] = category
|
|
250
275
|
__args__['fleet'] = fleet
|
|
251
276
|
__args__['gbPerCore'] = gb_per_core
|
|
@@ -259,11 +284,13 @@ def get_node_type(category: Optional[builtins.str] = None,
|
|
|
259
284
|
__args__['minMemoryGb'] = min_memory_gb
|
|
260
285
|
__args__['photonDriverCapable'] = photon_driver_capable
|
|
261
286
|
__args__['photonWorkerCapable'] = photon_worker_capable
|
|
287
|
+
__args__['providerConfig'] = provider_config
|
|
262
288
|
__args__['supportPortForwarding'] = support_port_forwarding
|
|
263
289
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
264
290
|
__ret__ = pulumi.runtime.invoke('databricks:index/getNodeType:getNodeType', __args__, opts=opts, typ=GetNodeTypeResult).value
|
|
265
291
|
|
|
266
292
|
return AwaitableGetNodeTypeResult(
|
|
293
|
+
arm=pulumi.get(__ret__, 'arm'),
|
|
267
294
|
category=pulumi.get(__ret__, 'category'),
|
|
268
295
|
fleet=pulumi.get(__ret__, 'fleet'),
|
|
269
296
|
gb_per_core=pulumi.get(__ret__, 'gb_per_core'),
|
|
@@ -277,21 +304,24 @@ def get_node_type(category: Optional[builtins.str] = None,
|
|
|
277
304
|
min_memory_gb=pulumi.get(__ret__, 'min_memory_gb'),
|
|
278
305
|
photon_driver_capable=pulumi.get(__ret__, 'photon_driver_capable'),
|
|
279
306
|
photon_worker_capable=pulumi.get(__ret__, 'photon_worker_capable'),
|
|
307
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
280
308
|
support_port_forwarding=pulumi.get(__ret__, 'support_port_forwarding'))
|
|
281
|
-
def get_node_type_output(
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
309
|
+
def get_node_type_output(arm: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
310
|
+
category: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
311
|
+
fleet: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
312
|
+
gb_per_core: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
313
|
+
graviton: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
314
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
315
|
+
is_io_cache_enabled: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
316
|
+
local_disk: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
317
|
+
local_disk_min_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
318
|
+
min_cores: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
319
|
+
min_gpus: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
320
|
+
min_memory_gb: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
321
|
+
photon_driver_capable: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
322
|
+
photon_worker_capable: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
323
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetNodeTypeProviderConfigArgs', 'GetNodeTypeProviderConfigArgsDict']]]] = None,
|
|
324
|
+
support_port_forwarding: Optional[pulumi.Input[Optional[_builtins.bool]]] = None,
|
|
295
325
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNodeTypeResult]:
|
|
296
326
|
"""
|
|
297
327
|
Gets the smallest node type for Cluster that fits search criteria, like amount of RAM or number of cores. [AWS](https://databricks.com/product/aws-pricing/instance-types) or [Azure](https://azure.microsoft.com/en-us/pricing/details/databricks/). Internally data source fetches [node types](https://docs.databricks.com/dev-tools/api/latest/clusters.html#list-node-types) available per cloud, similar to executing `databricks clusters list-node-types`, and filters it to return the smallest possible node with criteria.
|
|
@@ -334,7 +364,8 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[builtins.str]]
|
|
|
334
364
|
* Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code in a databricks_cluster.
|
|
335
365
|
|
|
336
366
|
|
|
337
|
-
:param
|
|
367
|
+
:param _builtins.bool arm: if we should limit the search only to nodes with AWS Graviton or Azure Cobalt CPUs. Default to _false_.
|
|
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`):
|
|
338
369
|
* `General Purpose` (all clouds)
|
|
339
370
|
* `General Purpose (HDD)` (Azure)
|
|
340
371
|
* `Compute Optimized` (all clouds)
|
|
@@ -342,21 +373,23 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[builtins.str]]
|
|
|
342
373
|
* `Memory Optimized (Remote HDD)` (Azure)
|
|
343
374
|
* `Storage Optimized` (AWS, Azure)
|
|
344
375
|
* `GPU Accelerated` (AWS, Azure)
|
|
345
|
-
:param
|
|
346
|
-
:param
|
|
347
|
-
:param
|
|
348
|
-
:param
|
|
349
|
-
:param
|
|
350
|
-
:param
|
|
351
|
-
:param
|
|
352
|
-
:param
|
|
353
|
-
:param
|
|
354
|
-
:param
|
|
355
|
-
:param
|
|
356
|
-
:param
|
|
357
|
-
:param
|
|
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_.
|
|
377
|
+
:param _builtins.int gb_per_core: Number of gigabytes per core available on instance. Conflicts with `min_memory_gb`. Defaults to _0_.
|
|
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!*
|
|
379
|
+
:param _builtins.str id: node type, that can be used for databricks_job, databricks_cluster, or databricks_instance_pool.
|
|
380
|
+
:param _builtins.bool is_io_cache_enabled: . Pick only nodes that have IO Cache. Defaults to _false_.
|
|
381
|
+
:param _builtins.bool local_disk: Pick only nodes with local storage. Defaults to _false_.
|
|
382
|
+
:param _builtins.int local_disk_min_size: Pick only nodes that have size local storage greater or equal to given value. Defaults to _0_.
|
|
383
|
+
:param _builtins.int min_cores: Minimum number of CPU cores available on instance. Defaults to _0_.
|
|
384
|
+
:param _builtins.int min_gpus: Minimum number of GPU's attached to instance. Defaults to _0_.
|
|
385
|
+
:param _builtins.int min_memory_gb: Minimum amount of memory per node in gigabytes. Defaults to _0_.
|
|
386
|
+
:param _builtins.bool photon_driver_capable: Pick only nodes that can run Photon driver. Defaults to _false_.
|
|
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:
|
|
389
|
+
:param _builtins.bool support_port_forwarding: Pick only nodes that support port forwarding. Defaults to _false_.
|
|
358
390
|
"""
|
|
359
391
|
__args__ = dict()
|
|
392
|
+
__args__['arm'] = arm
|
|
360
393
|
__args__['category'] = category
|
|
361
394
|
__args__['fleet'] = fleet
|
|
362
395
|
__args__['gbPerCore'] = gb_per_core
|
|
@@ -370,10 +403,12 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[builtins.str]]
|
|
|
370
403
|
__args__['minMemoryGb'] = min_memory_gb
|
|
371
404
|
__args__['photonDriverCapable'] = photon_driver_capable
|
|
372
405
|
__args__['photonWorkerCapable'] = photon_worker_capable
|
|
406
|
+
__args__['providerConfig'] = provider_config
|
|
373
407
|
__args__['supportPortForwarding'] = support_port_forwarding
|
|
374
408
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
375
409
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getNodeType:getNodeType', __args__, opts=opts, typ=GetNodeTypeResult)
|
|
376
410
|
return __ret__.apply(lambda __response__: GetNodeTypeResult(
|
|
411
|
+
arm=pulumi.get(__response__, 'arm'),
|
|
377
412
|
category=pulumi.get(__response__, 'category'),
|
|
378
413
|
fleet=pulumi.get(__response__, 'fleet'),
|
|
379
414
|
gb_per_core=pulumi.get(__response__, 'gb_per_core'),
|
|
@@ -387,4 +422,5 @@ def get_node_type_output(category: Optional[pulumi.Input[Optional[builtins.str]]
|
|
|
387
422
|
min_memory_gb=pulumi.get(__response__, 'min_memory_gb'),
|
|
388
423
|
photon_driver_capable=pulumi.get(__response__, 'photon_driver_capable'),
|
|
389
424
|
photon_worker_capable=pulumi.get(__response__, 'photon_worker_capable'),
|
|
425
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
390
426
|
support_port_forwarding=pulumi.get(__response__, 'support_port_forwarding')))
|
|
@@ -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
|
|
@@ -53,59 +52,59 @@ class GetNotebookResult:
|
|
|
53
52
|
raise TypeError("Expected argument 'workspace_path' to be a str")
|
|
54
53
|
pulumi.set(__self__, "workspace_path", workspace_path)
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter
|
|
58
|
-
def content(self) ->
|
|
57
|
+
def content(self) -> _builtins.str:
|
|
59
58
|
"""
|
|
60
59
|
notebook content in selected format
|
|
61
60
|
"""
|
|
62
61
|
return pulumi.get(self, "content")
|
|
63
62
|
|
|
64
|
-
@property
|
|
63
|
+
@_builtins.property
|
|
65
64
|
@pulumi.getter
|
|
66
|
-
def format(self) ->
|
|
65
|
+
def format(self) -> _builtins.str:
|
|
67
66
|
return pulumi.get(self, "format")
|
|
68
67
|
|
|
69
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
70
69
|
@pulumi.getter
|
|
71
|
-
def id(self) ->
|
|
70
|
+
def id(self) -> _builtins.str:
|
|
72
71
|
"""
|
|
73
72
|
The provider-assigned unique ID for this managed resource.
|
|
74
73
|
"""
|
|
75
74
|
return pulumi.get(self, "id")
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter
|
|
79
|
-
def language(self) ->
|
|
78
|
+
def language(self) -> _builtins.str:
|
|
80
79
|
"""
|
|
81
80
|
notebook language
|
|
82
81
|
"""
|
|
83
82
|
return pulumi.get(self, "language")
|
|
84
83
|
|
|
85
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
86
85
|
@pulumi.getter(name="objectId")
|
|
87
|
-
def object_id(self) ->
|
|
86
|
+
def object_id(self) -> _builtins.int:
|
|
88
87
|
"""
|
|
89
88
|
notebook object ID
|
|
90
89
|
"""
|
|
91
90
|
return pulumi.get(self, "object_id")
|
|
92
91
|
|
|
93
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
94
93
|
@pulumi.getter(name="objectType")
|
|
95
|
-
def object_type(self) ->
|
|
94
|
+
def object_type(self) -> _builtins.str:
|
|
96
95
|
"""
|
|
97
96
|
notebook object type
|
|
98
97
|
"""
|
|
99
98
|
return pulumi.get(self, "object_type")
|
|
100
99
|
|
|
101
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
102
101
|
@pulumi.getter
|
|
103
|
-
def path(self) ->
|
|
102
|
+
def path(self) -> _builtins.str:
|
|
104
103
|
return pulumi.get(self, "path")
|
|
105
104
|
|
|
106
|
-
@property
|
|
105
|
+
@_builtins.property
|
|
107
106
|
@pulumi.getter(name="workspacePath")
|
|
108
|
-
def workspace_path(self) ->
|
|
107
|
+
def workspace_path(self) -> _builtins.str:
|
|
109
108
|
"""
|
|
110
109
|
path on Workspace File System (WSFS) in form of `/Workspace` + `path`
|
|
111
110
|
"""
|
|
@@ -128,11 +127,11 @@ class AwaitableGetNotebookResult(GetNotebookResult):
|
|
|
128
127
|
workspace_path=self.workspace_path)
|
|
129
128
|
|
|
130
129
|
|
|
131
|
-
def get_notebook(format: Optional[
|
|
132
|
-
language: Optional[
|
|
133
|
-
object_id: Optional[
|
|
134
|
-
object_type: Optional[
|
|
135
|
-
path: Optional[
|
|
130
|
+
def get_notebook(format: Optional[_builtins.str] = None,
|
|
131
|
+
language: Optional[_builtins.str] = None,
|
|
132
|
+
object_id: Optional[_builtins.int] = None,
|
|
133
|
+
object_type: Optional[_builtins.str] = None,
|
|
134
|
+
path: Optional[_builtins.str] = None,
|
|
136
135
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebookResult:
|
|
137
136
|
"""
|
|
138
137
|
This data source allows to export a notebook from Databricks Workspace.
|
|
@@ -150,11 +149,11 @@ def get_notebook(format: Optional[builtins.str] = None,
|
|
|
150
149
|
```
|
|
151
150
|
|
|
152
151
|
|
|
153
|
-
:param
|
|
154
|
-
:param
|
|
155
|
-
:param
|
|
156
|
-
:param
|
|
157
|
-
:param
|
|
152
|
+
:param _builtins.str format: Notebook format to export. Either `SOURCE`, `HTML`, `JUPYTER`, or `DBC`.
|
|
153
|
+
:param _builtins.str language: notebook language
|
|
154
|
+
:param _builtins.int object_id: notebook object ID
|
|
155
|
+
:param _builtins.str object_type: notebook object type
|
|
156
|
+
:param _builtins.str path: Notebook path on the workspace
|
|
158
157
|
"""
|
|
159
158
|
__args__ = dict()
|
|
160
159
|
__args__['format'] = format
|
|
@@ -174,11 +173,11 @@ def get_notebook(format: Optional[builtins.str] = None,
|
|
|
174
173
|
object_type=pulumi.get(__ret__, 'object_type'),
|
|
175
174
|
path=pulumi.get(__ret__, 'path'),
|
|
176
175
|
workspace_path=pulumi.get(__ret__, 'workspace_path'))
|
|
177
|
-
def get_notebook_output(format: Optional[pulumi.Input[
|
|
178
|
-
language: Optional[pulumi.Input[Optional[
|
|
179
|
-
object_id: Optional[pulumi.Input[Optional[
|
|
180
|
-
object_type: Optional[pulumi.Input[Optional[
|
|
181
|
-
path: Optional[pulumi.Input[
|
|
176
|
+
def get_notebook_output(format: Optional[pulumi.Input[_builtins.str]] = None,
|
|
177
|
+
language: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
178
|
+
object_id: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
179
|
+
object_type: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
180
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
182
181
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebookResult]:
|
|
183
182
|
"""
|
|
184
183
|
This data source allows to export a notebook from Databricks Workspace.
|
|
@@ -196,11 +195,11 @@ def get_notebook_output(format: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
196
195
|
```
|
|
197
196
|
|
|
198
197
|
|
|
199
|
-
:param
|
|
200
|
-
:param
|
|
201
|
-
:param
|
|
202
|
-
:param
|
|
203
|
-
:param
|
|
198
|
+
:param _builtins.str format: Notebook format to export. Either `SOURCE`, `HTML`, `JUPYTER`, or `DBC`.
|
|
199
|
+
:param _builtins.str language: notebook language
|
|
200
|
+
:param _builtins.int object_id: notebook object ID
|
|
201
|
+
:param _builtins.str object_type: notebook object type
|
|
202
|
+
:param _builtins.str path: Notebook path on the workspace
|
|
204
203
|
"""
|
|
205
204
|
__args__ = dict()
|
|
206
205
|
__args__['format'] = format
|
|
@@ -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
|
|
@@ -42,15 +41,15 @@ class GetNotebookPathsResult:
|
|
|
42
41
|
raise TypeError("Expected argument 'recursive' to be a bool")
|
|
43
42
|
pulumi.set(__self__, "recursive", recursive)
|
|
44
43
|
|
|
45
|
-
@property
|
|
44
|
+
@_builtins.property
|
|
46
45
|
@pulumi.getter
|
|
47
|
-
def id(self) ->
|
|
46
|
+
def id(self) -> _builtins.str:
|
|
48
47
|
"""
|
|
49
48
|
The provider-assigned unique ID for this managed resource.
|
|
50
49
|
"""
|
|
51
50
|
return pulumi.get(self, "id")
|
|
52
51
|
|
|
53
|
-
@property
|
|
52
|
+
@_builtins.property
|
|
54
53
|
@pulumi.getter(name="notebookPathLists")
|
|
55
54
|
def notebook_path_lists(self) -> Sequence['outputs.GetNotebookPathsNotebookPathListResult']:
|
|
56
55
|
"""
|
|
@@ -58,14 +57,14 @@ class GetNotebookPathsResult:
|
|
|
58
57
|
"""
|
|
59
58
|
return pulumi.get(self, "notebook_path_lists")
|
|
60
59
|
|
|
61
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
62
61
|
@pulumi.getter
|
|
63
|
-
def path(self) ->
|
|
62
|
+
def path(self) -> _builtins.str:
|
|
64
63
|
return pulumi.get(self, "path")
|
|
65
64
|
|
|
66
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
67
66
|
@pulumi.getter
|
|
68
|
-
def recursive(self) ->
|
|
67
|
+
def recursive(self) -> _builtins.bool:
|
|
69
68
|
return pulumi.get(self, "recursive")
|
|
70
69
|
|
|
71
70
|
|
|
@@ -81,8 +80,8 @@ class AwaitableGetNotebookPathsResult(GetNotebookPathsResult):
|
|
|
81
80
|
recursive=self.recursive)
|
|
82
81
|
|
|
83
82
|
|
|
84
|
-
def get_notebook_paths(path: Optional[
|
|
85
|
-
recursive: Optional[
|
|
83
|
+
def get_notebook_paths(path: Optional[_builtins.str] = None,
|
|
84
|
+
recursive: Optional[_builtins.bool] = None,
|
|
86
85
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetNotebookPathsResult:
|
|
87
86
|
"""
|
|
88
87
|
This data source allows to list notebooks in the Databricks Workspace.
|
|
@@ -100,8 +99,8 @@ def get_notebook_paths(path: Optional[builtins.str] = None,
|
|
|
100
99
|
```
|
|
101
100
|
|
|
102
101
|
|
|
103
|
-
:param
|
|
104
|
-
:param
|
|
102
|
+
:param _builtins.str path: Path to workspace directory
|
|
103
|
+
:param _builtins.bool recursive: Either or recursively walk given path
|
|
105
104
|
"""
|
|
106
105
|
__args__ = dict()
|
|
107
106
|
__args__['path'] = path
|
|
@@ -114,8 +113,8 @@ def get_notebook_paths(path: Optional[builtins.str] = None,
|
|
|
114
113
|
notebook_path_lists=pulumi.get(__ret__, 'notebook_path_lists'),
|
|
115
114
|
path=pulumi.get(__ret__, 'path'),
|
|
116
115
|
recursive=pulumi.get(__ret__, 'recursive'))
|
|
117
|
-
def get_notebook_paths_output(path: Optional[pulumi.Input[
|
|
118
|
-
recursive: Optional[pulumi.Input[
|
|
116
|
+
def get_notebook_paths_output(path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
117
|
+
recursive: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
119
118
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetNotebookPathsResult]:
|
|
120
119
|
"""
|
|
121
120
|
This data source allows to list notebooks in the Databricks Workspace.
|
|
@@ -133,8 +132,8 @@ def get_notebook_paths_output(path: Optional[pulumi.Input[builtins.str]] = None,
|
|
|
133
132
|
```
|
|
134
133
|
|
|
135
134
|
|
|
136
|
-
:param
|
|
137
|
-
:param
|
|
135
|
+
:param _builtins.str path: Path to workspace directory
|
|
136
|
+
:param _builtins.bool recursive: Either or recursively walk given path
|
|
138
137
|
"""
|
|
139
138
|
__args__ = dict()
|
|
140
139
|
__args__['path'] = path
|