pulumi-databricks 1.77.0a1761975834__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.0a1761975834.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.0a1761975834.dist-info/RECORD +0 -250
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.77.0a1761975834.dist-info → pulumi_databricks-1.79.0a1762839813.dist-info}/top_level.txt +0 -0
pulumi_databricks/job.py
CHANGED
|
@@ -47,6 +47,7 @@ class JobArgs:
|
|
|
47
47
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]] = None,
|
|
48
48
|
performance_target: Optional[pulumi.Input[_builtins.str]] = None,
|
|
49
49
|
pipeline_task: Optional[pulumi.Input['JobPipelineTaskArgs']] = None,
|
|
50
|
+
provider_config: Optional[pulumi.Input['JobProviderConfigArgs']] = None,
|
|
50
51
|
python_wheel_task: Optional[pulumi.Input['JobPythonWheelTaskArgs']] = None,
|
|
51
52
|
queue: Optional[pulumi.Input['JobQueueArgs']] = None,
|
|
52
53
|
retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -85,6 +86,7 @@ class JobArgs:
|
|
|
85
86
|
:param pulumi.Input[_builtins.str] performance_target: The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:
|
|
86
87
|
* `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
|
|
87
88
|
* `STANDARD`: Enables cost-efficient execution of serverless workloads.
|
|
89
|
+
:param pulumi.Input['JobProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
88
90
|
:param pulumi.Input['JobQueueArgs'] queue: The queue status for the job. See queue Configuration Block below.
|
|
89
91
|
:param pulumi.Input['JobRunAsArgs'] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
|
|
90
92
|
:param pulumi.Input['JobScheduleArgs'] schedule: An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
|
|
@@ -164,6 +166,8 @@ class JobArgs:
|
|
|
164
166
|
pulumi.log.warn("""pipeline_task is deprecated: should be used inside a task block and not inside a job block""")
|
|
165
167
|
if pipeline_task is not None:
|
|
166
168
|
pulumi.set(__self__, "pipeline_task", pipeline_task)
|
|
169
|
+
if provider_config is not None:
|
|
170
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
167
171
|
if python_wheel_task is not None:
|
|
168
172
|
warnings.warn("""should be used inside a task block and not inside a job block""", DeprecationWarning)
|
|
169
173
|
pulumi.log.warn("""python_wheel_task is deprecated: should be used inside a task block and not inside a job block""")
|
|
@@ -508,6 +512,18 @@ class JobArgs:
|
|
|
508
512
|
def pipeline_task(self, value: Optional[pulumi.Input['JobPipelineTaskArgs']]):
|
|
509
513
|
pulumi.set(self, "pipeline_task", value)
|
|
510
514
|
|
|
515
|
+
@_builtins.property
|
|
516
|
+
@pulumi.getter(name="providerConfig")
|
|
517
|
+
def provider_config(self) -> Optional[pulumi.Input['JobProviderConfigArgs']]:
|
|
518
|
+
"""
|
|
519
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
520
|
+
"""
|
|
521
|
+
return pulumi.get(self, "provider_config")
|
|
522
|
+
|
|
523
|
+
@provider_config.setter
|
|
524
|
+
def provider_config(self, value: Optional[pulumi.Input['JobProviderConfigArgs']]):
|
|
525
|
+
pulumi.set(self, "provider_config", value)
|
|
526
|
+
|
|
511
527
|
@_builtins.property
|
|
512
528
|
@pulumi.getter(name="pythonWheelTask")
|
|
513
529
|
@_utilities.deprecated("""should be used inside a task block and not inside a job block""")
|
|
@@ -703,6 +719,7 @@ class _JobState:
|
|
|
703
719
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input['JobParameterArgs']]]] = None,
|
|
704
720
|
performance_target: Optional[pulumi.Input[_builtins.str]] = None,
|
|
705
721
|
pipeline_task: Optional[pulumi.Input['JobPipelineTaskArgs']] = None,
|
|
722
|
+
provider_config: Optional[pulumi.Input['JobProviderConfigArgs']] = None,
|
|
706
723
|
python_wheel_task: Optional[pulumi.Input['JobPythonWheelTaskArgs']] = None,
|
|
707
724
|
queue: Optional[pulumi.Input['JobQueueArgs']] = None,
|
|
708
725
|
retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -742,6 +759,7 @@ class _JobState:
|
|
|
742
759
|
:param pulumi.Input[_builtins.str] performance_target: The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:
|
|
743
760
|
* `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
|
|
744
761
|
* `STANDARD`: Enables cost-efficient execution of serverless workloads.
|
|
762
|
+
:param pulumi.Input['JobProviderConfigArgs'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
745
763
|
:param pulumi.Input['JobQueueArgs'] queue: The queue status for the job. See queue Configuration Block below.
|
|
746
764
|
:param pulumi.Input['JobRunAsArgs'] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
|
|
747
765
|
:param pulumi.Input['JobScheduleArgs'] schedule: An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
|
|
@@ -822,6 +840,8 @@ class _JobState:
|
|
|
822
840
|
pulumi.log.warn("""pipeline_task is deprecated: should be used inside a task block and not inside a job block""")
|
|
823
841
|
if pipeline_task is not None:
|
|
824
842
|
pulumi.set(__self__, "pipeline_task", pipeline_task)
|
|
843
|
+
if provider_config is not None:
|
|
844
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
825
845
|
if python_wheel_task is not None:
|
|
826
846
|
warnings.warn("""should be used inside a task block and not inside a job block""", DeprecationWarning)
|
|
827
847
|
pulumi.log.warn("""python_wheel_task is deprecated: should be used inside a task block and not inside a job block""")
|
|
@@ -1168,6 +1188,18 @@ class _JobState:
|
|
|
1168
1188
|
def pipeline_task(self, value: Optional[pulumi.Input['JobPipelineTaskArgs']]):
|
|
1169
1189
|
pulumi.set(self, "pipeline_task", value)
|
|
1170
1190
|
|
|
1191
|
+
@_builtins.property
|
|
1192
|
+
@pulumi.getter(name="providerConfig")
|
|
1193
|
+
def provider_config(self) -> Optional[pulumi.Input['JobProviderConfigArgs']]:
|
|
1194
|
+
"""
|
|
1195
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
1196
|
+
"""
|
|
1197
|
+
return pulumi.get(self, "provider_config")
|
|
1198
|
+
|
|
1199
|
+
@provider_config.setter
|
|
1200
|
+
def provider_config(self, value: Optional[pulumi.Input['JobProviderConfigArgs']]):
|
|
1201
|
+
pulumi.set(self, "provider_config", value)
|
|
1202
|
+
|
|
1171
1203
|
@_builtins.property
|
|
1172
1204
|
@pulumi.getter(name="pythonWheelTask")
|
|
1173
1205
|
@_utilities.deprecated("""should be used inside a task block and not inside a job block""")
|
|
@@ -1378,6 +1410,7 @@ class Job(pulumi.CustomResource):
|
|
|
1378
1410
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]]] = None,
|
|
1379
1411
|
performance_target: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1380
1412
|
pipeline_task: Optional[pulumi.Input[Union['JobPipelineTaskArgs', 'JobPipelineTaskArgsDict']]] = None,
|
|
1413
|
+
provider_config: Optional[pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']]] = None,
|
|
1381
1414
|
python_wheel_task: Optional[pulumi.Input[Union['JobPythonWheelTaskArgs', 'JobPythonWheelTaskArgsDict']]] = None,
|
|
1382
1415
|
queue: Optional[pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']]] = None,
|
|
1383
1416
|
retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1510,6 +1543,7 @@ class Job(pulumi.CustomResource):
|
|
|
1510
1543
|
:param pulumi.Input[_builtins.str] performance_target: The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:
|
|
1511
1544
|
* `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
|
|
1512
1545
|
* `STANDARD`: Enables cost-efficient execution of serverless workloads.
|
|
1546
|
+
:param pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
1513
1547
|
:param pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']] queue: The queue status for the job. See queue Configuration Block below.
|
|
1514
1548
|
:param pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
|
|
1515
1549
|
:param pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']] schedule: An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
|
|
@@ -1659,6 +1693,7 @@ class Job(pulumi.CustomResource):
|
|
|
1659
1693
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]]] = None,
|
|
1660
1694
|
performance_target: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1661
1695
|
pipeline_task: Optional[pulumi.Input[Union['JobPipelineTaskArgs', 'JobPipelineTaskArgsDict']]] = None,
|
|
1696
|
+
provider_config: Optional[pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']]] = None,
|
|
1662
1697
|
python_wheel_task: Optional[pulumi.Input[Union['JobPythonWheelTaskArgs', 'JobPythonWheelTaskArgsDict']]] = None,
|
|
1663
1698
|
queue: Optional[pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']]] = None,
|
|
1664
1699
|
retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1709,6 +1744,7 @@ class Job(pulumi.CustomResource):
|
|
|
1709
1744
|
__props__.__dict__["parameters"] = parameters
|
|
1710
1745
|
__props__.__dict__["performance_target"] = performance_target
|
|
1711
1746
|
__props__.__dict__["pipeline_task"] = pipeline_task
|
|
1747
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
1712
1748
|
__props__.__dict__["python_wheel_task"] = python_wheel_task
|
|
1713
1749
|
__props__.__dict__["queue"] = queue
|
|
1714
1750
|
__props__.__dict__["retry_on_timeout"] = retry_on_timeout
|
|
@@ -1761,6 +1797,7 @@ class Job(pulumi.CustomResource):
|
|
|
1761
1797
|
parameters: Optional[pulumi.Input[Sequence[pulumi.Input[Union['JobParameterArgs', 'JobParameterArgsDict']]]]] = None,
|
|
1762
1798
|
performance_target: Optional[pulumi.Input[_builtins.str]] = None,
|
|
1763
1799
|
pipeline_task: Optional[pulumi.Input[Union['JobPipelineTaskArgs', 'JobPipelineTaskArgsDict']]] = None,
|
|
1800
|
+
provider_config: Optional[pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']]] = None,
|
|
1764
1801
|
python_wheel_task: Optional[pulumi.Input[Union['JobPythonWheelTaskArgs', 'JobPythonWheelTaskArgsDict']]] = None,
|
|
1765
1802
|
queue: Optional[pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']]] = None,
|
|
1766
1803
|
retry_on_timeout: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
@@ -1805,6 +1842,7 @@ class Job(pulumi.CustomResource):
|
|
|
1805
1842
|
:param pulumi.Input[_builtins.str] performance_target: The performance mode on a serverless job. The performance target determines the level of compute performance or cost-efficiency for the run. Supported values are:
|
|
1806
1843
|
* `PERFORMANCE_OPTIMIZED`: (default value) Prioritizes fast startup and execution times through rapid scaling and optimized cluster performance.
|
|
1807
1844
|
* `STANDARD`: Enables cost-efficient execution of serverless workloads.
|
|
1845
|
+
:param pulumi.Input[Union['JobProviderConfigArgs', 'JobProviderConfigArgsDict']] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
1808
1846
|
:param pulumi.Input[Union['JobQueueArgs', 'JobQueueArgsDict']] queue: The queue status for the job. See queue Configuration Block below.
|
|
1809
1847
|
:param pulumi.Input[Union['JobRunAsArgs', 'JobRunAsArgsDict']] run_as: The user or the service principal the job runs as. See run_as Configuration Block below.
|
|
1810
1848
|
:param pulumi.Input[Union['JobScheduleArgs', 'JobScheduleArgsDict']] schedule: An optional periodic schedule for this job. The default behavior is that the job runs when triggered by clicking Run Now in the Jobs UI or sending an API request to runNow. See schedule Configuration Block below.
|
|
@@ -1845,6 +1883,7 @@ class Job(pulumi.CustomResource):
|
|
|
1845
1883
|
__props__.__dict__["parameters"] = parameters
|
|
1846
1884
|
__props__.__dict__["performance_target"] = performance_target
|
|
1847
1885
|
__props__.__dict__["pipeline_task"] = pipeline_task
|
|
1886
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
1848
1887
|
__props__.__dict__["python_wheel_task"] = python_wheel_task
|
|
1849
1888
|
__props__.__dict__["queue"] = queue
|
|
1850
1889
|
__props__.__dict__["retry_on_timeout"] = retry_on_timeout
|
|
@@ -2054,6 +2093,14 @@ class Job(pulumi.CustomResource):
|
|
|
2054
2093
|
def pipeline_task(self) -> pulumi.Output[Optional['outputs.JobPipelineTask']]:
|
|
2055
2094
|
return pulumi.get(self, "pipeline_task")
|
|
2056
2095
|
|
|
2096
|
+
@_builtins.property
|
|
2097
|
+
@pulumi.getter(name="providerConfig")
|
|
2098
|
+
def provider_config(self) -> pulumi.Output[Optional['outputs.JobProviderConfig']]:
|
|
2099
|
+
"""
|
|
2100
|
+
Configure the provider for management through account provider. This block consists of the following fields:
|
|
2101
|
+
"""
|
|
2102
|
+
return pulumi.get(self, "provider_config")
|
|
2103
|
+
|
|
2057
2104
|
@_builtins.property
|
|
2058
2105
|
@pulumi.getter(name="pythonWheelTask")
|
|
2059
2106
|
@_utilities.deprecated("""should be used inside a task block and not inside a job block""")
|
pulumi_databricks/library.py
CHANGED
|
@@ -27,11 +27,23 @@ class LibraryArgs:
|
|
|
27
27
|
jar: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
28
|
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
29
|
maven: Optional[pulumi.Input['LibraryMavenArgs']] = None,
|
|
30
|
+
provider_config: Optional[pulumi.Input['LibraryProviderConfigArgs']] = None,
|
|
30
31
|
pypi: Optional[pulumi.Input['LibraryPypiArgs']] = None,
|
|
31
32
|
requirements: Optional[pulumi.Input[_builtins.str]] = None,
|
|
32
33
|
whl: Optional[pulumi.Input[_builtins.str]] = None):
|
|
33
34
|
"""
|
|
34
35
|
The set of arguments for constructing a Library resource.
|
|
36
|
+
:param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
|
|
37
|
+
|
|
38
|
+
You must specify exactly **one** of the following library types:
|
|
39
|
+
:param pulumi.Input['LibraryCranArgs'] cran: Configuration block for a CRAN library. The block consists of the following fields:
|
|
40
|
+
:param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
41
|
+
:param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
42
|
+
:param pulumi.Input['LibraryMavenArgs'] maven: Configuration block for a Maven library. The block consists of the following fields:
|
|
43
|
+
:param pulumi.Input['LibraryProviderConfigArgs'] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
|
|
44
|
+
:param pulumi.Input['LibraryPypiArgs'] pypi: Configuration block for a PyPI library. The block consists of the following fields:
|
|
45
|
+
:param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
46
|
+
:param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
35
47
|
"""
|
|
36
48
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
37
49
|
if cran is not None:
|
|
@@ -47,6 +59,8 @@ class LibraryArgs:
|
|
|
47
59
|
pulumi.set(__self__, "library_id", library_id)
|
|
48
60
|
if maven is not None:
|
|
49
61
|
pulumi.set(__self__, "maven", maven)
|
|
62
|
+
if provider_config is not None:
|
|
63
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
50
64
|
if pypi is not None:
|
|
51
65
|
pulumi.set(__self__, "pypi", pypi)
|
|
52
66
|
if requirements is not None:
|
|
@@ -57,6 +71,11 @@ class LibraryArgs:
|
|
|
57
71
|
@_builtins.property
|
|
58
72
|
@pulumi.getter(name="clusterId")
|
|
59
73
|
def cluster_id(self) -> pulumi.Input[_builtins.str]:
|
|
74
|
+
"""
|
|
75
|
+
ID of the Cluster to install the library on.
|
|
76
|
+
|
|
77
|
+
You must specify exactly **one** of the following library types:
|
|
78
|
+
"""
|
|
60
79
|
return pulumi.get(self, "cluster_id")
|
|
61
80
|
|
|
62
81
|
@cluster_id.setter
|
|
@@ -66,6 +85,9 @@ class LibraryArgs:
|
|
|
66
85
|
@_builtins.property
|
|
67
86
|
@pulumi.getter
|
|
68
87
|
def cran(self) -> Optional[pulumi.Input['LibraryCranArgs']]:
|
|
88
|
+
"""
|
|
89
|
+
Configuration block for a CRAN library. The block consists of the following fields:
|
|
90
|
+
"""
|
|
69
91
|
return pulumi.get(self, "cran")
|
|
70
92
|
|
|
71
93
|
@cran.setter
|
|
@@ -76,6 +98,9 @@ class LibraryArgs:
|
|
|
76
98
|
@pulumi.getter
|
|
77
99
|
@_utilities.deprecated("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
|
|
78
100
|
def egg(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
101
|
+
"""
|
|
102
|
+
Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
103
|
+
"""
|
|
79
104
|
return pulumi.get(self, "egg")
|
|
80
105
|
|
|
81
106
|
@egg.setter
|
|
@@ -85,6 +110,9 @@ class LibraryArgs:
|
|
|
85
110
|
@_builtins.property
|
|
86
111
|
@pulumi.getter
|
|
87
112
|
def jar(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
113
|
+
"""
|
|
114
|
+
Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
115
|
+
"""
|
|
88
116
|
return pulumi.get(self, "jar")
|
|
89
117
|
|
|
90
118
|
@jar.setter
|
|
@@ -103,15 +131,33 @@ class LibraryArgs:
|
|
|
103
131
|
@_builtins.property
|
|
104
132
|
@pulumi.getter
|
|
105
133
|
def maven(self) -> Optional[pulumi.Input['LibraryMavenArgs']]:
|
|
134
|
+
"""
|
|
135
|
+
Configuration block for a Maven library. The block consists of the following fields:
|
|
136
|
+
"""
|
|
106
137
|
return pulumi.get(self, "maven")
|
|
107
138
|
|
|
108
139
|
@maven.setter
|
|
109
140
|
def maven(self, value: Optional[pulumi.Input['LibraryMavenArgs']]):
|
|
110
141
|
pulumi.set(self, "maven", value)
|
|
111
142
|
|
|
143
|
+
@_builtins.property
|
|
144
|
+
@pulumi.getter(name="providerConfig")
|
|
145
|
+
def provider_config(self) -> Optional[pulumi.Input['LibraryProviderConfigArgs']]:
|
|
146
|
+
"""
|
|
147
|
+
Configuration block for management through the account provider. This block consists of the following fields:
|
|
148
|
+
"""
|
|
149
|
+
return pulumi.get(self, "provider_config")
|
|
150
|
+
|
|
151
|
+
@provider_config.setter
|
|
152
|
+
def provider_config(self, value: Optional[pulumi.Input['LibraryProviderConfigArgs']]):
|
|
153
|
+
pulumi.set(self, "provider_config", value)
|
|
154
|
+
|
|
112
155
|
@_builtins.property
|
|
113
156
|
@pulumi.getter
|
|
114
157
|
def pypi(self) -> Optional[pulumi.Input['LibraryPypiArgs']]:
|
|
158
|
+
"""
|
|
159
|
+
Configuration block for a PyPI library. The block consists of the following fields:
|
|
160
|
+
"""
|
|
115
161
|
return pulumi.get(self, "pypi")
|
|
116
162
|
|
|
117
163
|
@pypi.setter
|
|
@@ -121,6 +167,9 @@ class LibraryArgs:
|
|
|
121
167
|
@_builtins.property
|
|
122
168
|
@pulumi.getter
|
|
123
169
|
def requirements(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
170
|
+
"""
|
|
171
|
+
Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
172
|
+
"""
|
|
124
173
|
return pulumi.get(self, "requirements")
|
|
125
174
|
|
|
126
175
|
@requirements.setter
|
|
@@ -130,6 +179,9 @@ class LibraryArgs:
|
|
|
130
179
|
@_builtins.property
|
|
131
180
|
@pulumi.getter
|
|
132
181
|
def whl(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
182
|
+
"""
|
|
183
|
+
Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
184
|
+
"""
|
|
133
185
|
return pulumi.get(self, "whl")
|
|
134
186
|
|
|
135
187
|
@whl.setter
|
|
@@ -146,11 +198,23 @@ class _LibraryState:
|
|
|
146
198
|
jar: Optional[pulumi.Input[_builtins.str]] = None,
|
|
147
199
|
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
148
200
|
maven: Optional[pulumi.Input['LibraryMavenArgs']] = None,
|
|
201
|
+
provider_config: Optional[pulumi.Input['LibraryProviderConfigArgs']] = None,
|
|
149
202
|
pypi: Optional[pulumi.Input['LibraryPypiArgs']] = None,
|
|
150
203
|
requirements: Optional[pulumi.Input[_builtins.str]] = None,
|
|
151
204
|
whl: Optional[pulumi.Input[_builtins.str]] = None):
|
|
152
205
|
"""
|
|
153
206
|
Input properties used for looking up and filtering Library resources.
|
|
207
|
+
:param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
|
|
208
|
+
|
|
209
|
+
You must specify exactly **one** of the following library types:
|
|
210
|
+
:param pulumi.Input['LibraryCranArgs'] cran: Configuration block for a CRAN library. The block consists of the following fields:
|
|
211
|
+
:param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
212
|
+
:param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
213
|
+
:param pulumi.Input['LibraryMavenArgs'] maven: Configuration block for a Maven library. The block consists of the following fields:
|
|
214
|
+
:param pulumi.Input['LibraryProviderConfigArgs'] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
|
|
215
|
+
:param pulumi.Input['LibraryPypiArgs'] pypi: Configuration block for a PyPI library. The block consists of the following fields:
|
|
216
|
+
:param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
217
|
+
:param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
154
218
|
"""
|
|
155
219
|
if cluster_id is not None:
|
|
156
220
|
pulumi.set(__self__, "cluster_id", cluster_id)
|
|
@@ -167,6 +231,8 @@ class _LibraryState:
|
|
|
167
231
|
pulumi.set(__self__, "library_id", library_id)
|
|
168
232
|
if maven is not None:
|
|
169
233
|
pulumi.set(__self__, "maven", maven)
|
|
234
|
+
if provider_config is not None:
|
|
235
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
170
236
|
if pypi is not None:
|
|
171
237
|
pulumi.set(__self__, "pypi", pypi)
|
|
172
238
|
if requirements is not None:
|
|
@@ -177,6 +243,11 @@ class _LibraryState:
|
|
|
177
243
|
@_builtins.property
|
|
178
244
|
@pulumi.getter(name="clusterId")
|
|
179
245
|
def cluster_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
246
|
+
"""
|
|
247
|
+
ID of the Cluster to install the library on.
|
|
248
|
+
|
|
249
|
+
You must specify exactly **one** of the following library types:
|
|
250
|
+
"""
|
|
180
251
|
return pulumi.get(self, "cluster_id")
|
|
181
252
|
|
|
182
253
|
@cluster_id.setter
|
|
@@ -186,6 +257,9 @@ class _LibraryState:
|
|
|
186
257
|
@_builtins.property
|
|
187
258
|
@pulumi.getter
|
|
188
259
|
def cran(self) -> Optional[pulumi.Input['LibraryCranArgs']]:
|
|
260
|
+
"""
|
|
261
|
+
Configuration block for a CRAN library. The block consists of the following fields:
|
|
262
|
+
"""
|
|
189
263
|
return pulumi.get(self, "cran")
|
|
190
264
|
|
|
191
265
|
@cran.setter
|
|
@@ -196,6 +270,9 @@ class _LibraryState:
|
|
|
196
270
|
@pulumi.getter
|
|
197
271
|
@_utilities.deprecated("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
|
|
198
272
|
def egg(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
273
|
+
"""
|
|
274
|
+
Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
275
|
+
"""
|
|
199
276
|
return pulumi.get(self, "egg")
|
|
200
277
|
|
|
201
278
|
@egg.setter
|
|
@@ -205,6 +282,9 @@ class _LibraryState:
|
|
|
205
282
|
@_builtins.property
|
|
206
283
|
@pulumi.getter
|
|
207
284
|
def jar(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
285
|
+
"""
|
|
286
|
+
Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
287
|
+
"""
|
|
208
288
|
return pulumi.get(self, "jar")
|
|
209
289
|
|
|
210
290
|
@jar.setter
|
|
@@ -223,15 +303,33 @@ class _LibraryState:
|
|
|
223
303
|
@_builtins.property
|
|
224
304
|
@pulumi.getter
|
|
225
305
|
def maven(self) -> Optional[pulumi.Input['LibraryMavenArgs']]:
|
|
306
|
+
"""
|
|
307
|
+
Configuration block for a Maven library. The block consists of the following fields:
|
|
308
|
+
"""
|
|
226
309
|
return pulumi.get(self, "maven")
|
|
227
310
|
|
|
228
311
|
@maven.setter
|
|
229
312
|
def maven(self, value: Optional[pulumi.Input['LibraryMavenArgs']]):
|
|
230
313
|
pulumi.set(self, "maven", value)
|
|
231
314
|
|
|
315
|
+
@_builtins.property
|
|
316
|
+
@pulumi.getter(name="providerConfig")
|
|
317
|
+
def provider_config(self) -> Optional[pulumi.Input['LibraryProviderConfigArgs']]:
|
|
318
|
+
"""
|
|
319
|
+
Configuration block for management through the account provider. This block consists of the following fields:
|
|
320
|
+
"""
|
|
321
|
+
return pulumi.get(self, "provider_config")
|
|
322
|
+
|
|
323
|
+
@provider_config.setter
|
|
324
|
+
def provider_config(self, value: Optional[pulumi.Input['LibraryProviderConfigArgs']]):
|
|
325
|
+
pulumi.set(self, "provider_config", value)
|
|
326
|
+
|
|
232
327
|
@_builtins.property
|
|
233
328
|
@pulumi.getter
|
|
234
329
|
def pypi(self) -> Optional[pulumi.Input['LibraryPypiArgs']]:
|
|
330
|
+
"""
|
|
331
|
+
Configuration block for a PyPI library. The block consists of the following fields:
|
|
332
|
+
"""
|
|
235
333
|
return pulumi.get(self, "pypi")
|
|
236
334
|
|
|
237
335
|
@pypi.setter
|
|
@@ -241,6 +339,9 @@ class _LibraryState:
|
|
|
241
339
|
@_builtins.property
|
|
242
340
|
@pulumi.getter
|
|
243
341
|
def requirements(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
342
|
+
"""
|
|
343
|
+
Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
344
|
+
"""
|
|
244
345
|
return pulumi.get(self, "requirements")
|
|
245
346
|
|
|
246
347
|
@requirements.setter
|
|
@@ -250,6 +351,9 @@ class _LibraryState:
|
|
|
250
351
|
@_builtins.property
|
|
251
352
|
@pulumi.getter
|
|
252
353
|
def whl(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
354
|
+
"""
|
|
355
|
+
Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
356
|
+
"""
|
|
253
357
|
return pulumi.get(self, "whl")
|
|
254
358
|
|
|
255
359
|
@whl.setter
|
|
@@ -269,6 +373,7 @@ class Library(pulumi.CustomResource):
|
|
|
269
373
|
jar: Optional[pulumi.Input[_builtins.str]] = None,
|
|
270
374
|
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
271
375
|
maven: Optional[pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']]] = None,
|
|
376
|
+
provider_config: Optional[pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']]] = None,
|
|
272
377
|
pypi: Optional[pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']]] = None,
|
|
273
378
|
requirements: Optional[pulumi.Input[_builtins.str]] = None,
|
|
274
379
|
whl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -382,6 +487,17 @@ class Library(pulumi.CustomResource):
|
|
|
382
487
|
|
|
383
488
|
:param str resource_name: The name of the resource.
|
|
384
489
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
490
|
+
:param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
|
|
491
|
+
|
|
492
|
+
You must specify exactly **one** of the following library types:
|
|
493
|
+
:param pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']] cran: Configuration block for a CRAN library. The block consists of the following fields:
|
|
494
|
+
:param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
495
|
+
:param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
496
|
+
:param pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']] maven: Configuration block for a Maven library. The block consists of the following fields:
|
|
497
|
+
:param pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
|
|
498
|
+
:param pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']] pypi: Configuration block for a PyPI library. The block consists of the following fields:
|
|
499
|
+
:param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
500
|
+
:param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
385
501
|
"""
|
|
386
502
|
...
|
|
387
503
|
@overload
|
|
@@ -517,6 +633,7 @@ class Library(pulumi.CustomResource):
|
|
|
517
633
|
jar: Optional[pulumi.Input[_builtins.str]] = None,
|
|
518
634
|
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
519
635
|
maven: Optional[pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']]] = None,
|
|
636
|
+
provider_config: Optional[pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']]] = None,
|
|
520
637
|
pypi: Optional[pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']]] = None,
|
|
521
638
|
requirements: Optional[pulumi.Input[_builtins.str]] = None,
|
|
522
639
|
whl: Optional[pulumi.Input[_builtins.str]] = None,
|
|
@@ -537,6 +654,7 @@ class Library(pulumi.CustomResource):
|
|
|
537
654
|
__props__.__dict__["jar"] = jar
|
|
538
655
|
__props__.__dict__["library_id"] = library_id
|
|
539
656
|
__props__.__dict__["maven"] = maven
|
|
657
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
540
658
|
__props__.__dict__["pypi"] = pypi
|
|
541
659
|
__props__.__dict__["requirements"] = requirements
|
|
542
660
|
__props__.__dict__["whl"] = whl
|
|
@@ -556,6 +674,7 @@ class Library(pulumi.CustomResource):
|
|
|
556
674
|
jar: Optional[pulumi.Input[_builtins.str]] = None,
|
|
557
675
|
library_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
558
676
|
maven: Optional[pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']]] = None,
|
|
677
|
+
provider_config: Optional[pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']]] = None,
|
|
559
678
|
pypi: Optional[pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']]] = None,
|
|
560
679
|
requirements: Optional[pulumi.Input[_builtins.str]] = None,
|
|
561
680
|
whl: Optional[pulumi.Input[_builtins.str]] = None) -> 'Library':
|
|
@@ -566,6 +685,17 @@ class Library(pulumi.CustomResource):
|
|
|
566
685
|
:param str resource_name: The unique name of the resulting resource.
|
|
567
686
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
568
687
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
688
|
+
:param pulumi.Input[_builtins.str] cluster_id: ID of the Cluster to install the library on.
|
|
689
|
+
|
|
690
|
+
You must specify exactly **one** of the following library types:
|
|
691
|
+
:param pulumi.Input[Union['LibraryCranArgs', 'LibraryCranArgsDict']] cran: Configuration block for a CRAN library. The block consists of the following fields:
|
|
692
|
+
:param pulumi.Input[_builtins.str] egg: Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
693
|
+
:param pulumi.Input[_builtins.str] jar: Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
694
|
+
:param pulumi.Input[Union['LibraryMavenArgs', 'LibraryMavenArgsDict']] maven: Configuration block for a Maven library. The block consists of the following fields:
|
|
695
|
+
:param pulumi.Input[Union['LibraryProviderConfigArgs', 'LibraryProviderConfigArgsDict']] provider_config: Configuration block for management through the account provider. This block consists of the following fields:
|
|
696
|
+
:param pulumi.Input[Union['LibraryPypiArgs', 'LibraryPypiArgsDict']] pypi: Configuration block for a PyPI library. The block consists of the following fields:
|
|
697
|
+
:param pulumi.Input[_builtins.str] requirements: Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
698
|
+
:param pulumi.Input[_builtins.str] whl: Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
569
699
|
"""
|
|
570
700
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
571
701
|
|
|
@@ -577,6 +707,7 @@ class Library(pulumi.CustomResource):
|
|
|
577
707
|
__props__.__dict__["jar"] = jar
|
|
578
708
|
__props__.__dict__["library_id"] = library_id
|
|
579
709
|
__props__.__dict__["maven"] = maven
|
|
710
|
+
__props__.__dict__["provider_config"] = provider_config
|
|
580
711
|
__props__.__dict__["pypi"] = pypi
|
|
581
712
|
__props__.__dict__["requirements"] = requirements
|
|
582
713
|
__props__.__dict__["whl"] = whl
|
|
@@ -585,22 +716,36 @@ class Library(pulumi.CustomResource):
|
|
|
585
716
|
@_builtins.property
|
|
586
717
|
@pulumi.getter(name="clusterId")
|
|
587
718
|
def cluster_id(self) -> pulumi.Output[_builtins.str]:
|
|
719
|
+
"""
|
|
720
|
+
ID of the Cluster to install the library on.
|
|
721
|
+
|
|
722
|
+
You must specify exactly **one** of the following library types:
|
|
723
|
+
"""
|
|
588
724
|
return pulumi.get(self, "cluster_id")
|
|
589
725
|
|
|
590
726
|
@_builtins.property
|
|
591
727
|
@pulumi.getter
|
|
592
728
|
def cran(self) -> pulumi.Output[Optional['outputs.LibraryCran']]:
|
|
729
|
+
"""
|
|
730
|
+
Configuration block for a CRAN library. The block consists of the following fields:
|
|
731
|
+
"""
|
|
593
732
|
return pulumi.get(self, "cran")
|
|
594
733
|
|
|
595
734
|
@_builtins.property
|
|
596
735
|
@pulumi.getter
|
|
597
736
|
@_utilities.deprecated("""The `egg` library type is deprecated. Please use `whl` or `pypi` instead.""")
|
|
598
737
|
def egg(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
738
|
+
"""
|
|
739
|
+
Path to the EGG library. Installing Python egg files is deprecated and is not supported in Databricks Runtime 14.0 and above. Use `whl` or `pypi` instead.
|
|
740
|
+
"""
|
|
599
741
|
return pulumi.get(self, "egg")
|
|
600
742
|
|
|
601
743
|
@_builtins.property
|
|
602
744
|
@pulumi.getter
|
|
603
745
|
def jar(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
746
|
+
"""
|
|
747
|
+
Path to the JAR library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.jar`, `/Volumes/path/to/library.jar` or `s3://my-bucket/library.jar`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
748
|
+
"""
|
|
604
749
|
return pulumi.get(self, "jar")
|
|
605
750
|
|
|
606
751
|
@_builtins.property
|
|
@@ -611,20 +756,40 @@ class Library(pulumi.CustomResource):
|
|
|
611
756
|
@_builtins.property
|
|
612
757
|
@pulumi.getter
|
|
613
758
|
def maven(self) -> pulumi.Output[Optional['outputs.LibraryMaven']]:
|
|
759
|
+
"""
|
|
760
|
+
Configuration block for a Maven library. The block consists of the following fields:
|
|
761
|
+
"""
|
|
614
762
|
return pulumi.get(self, "maven")
|
|
615
763
|
|
|
764
|
+
@_builtins.property
|
|
765
|
+
@pulumi.getter(name="providerConfig")
|
|
766
|
+
def provider_config(self) -> pulumi.Output[Optional['outputs.LibraryProviderConfig']]:
|
|
767
|
+
"""
|
|
768
|
+
Configuration block for management through the account provider. This block consists of the following fields:
|
|
769
|
+
"""
|
|
770
|
+
return pulumi.get(self, "provider_config")
|
|
771
|
+
|
|
616
772
|
@_builtins.property
|
|
617
773
|
@pulumi.getter
|
|
618
774
|
def pypi(self) -> pulumi.Output[Optional['outputs.LibraryPypi']]:
|
|
775
|
+
"""
|
|
776
|
+
Configuration block for a PyPI library. The block consists of the following fields:
|
|
777
|
+
"""
|
|
619
778
|
return pulumi.get(self, "pypi")
|
|
620
779
|
|
|
621
780
|
@_builtins.property
|
|
622
781
|
@pulumi.getter
|
|
623
782
|
def requirements(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
783
|
+
"""
|
|
784
|
+
Path to the requirements.txt file. Only Workspace paths and Unity Catalog Volumes paths are supported. For example: `/Workspace/path/to/requirements.txt` or `/Volumes/path/to/requirements.txt`. Requires a cluster with DBR 15.0+.
|
|
785
|
+
"""
|
|
624
786
|
return pulumi.get(self, "requirements")
|
|
625
787
|
|
|
626
788
|
@_builtins.property
|
|
627
789
|
@pulumi.getter
|
|
628
790
|
def whl(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
791
|
+
"""
|
|
792
|
+
Path to the wheel library. Supported URIs include Workspace paths, Unity Catalog Volumes paths, and S3 URIs. For example: `/Workspace/path/to/library.whl`, `/Volumes/path/to/library.whl` or `s3://my-bucket/library.whl`. If S3 is used, make sure the cluster has read access to the library. You may need to launch the cluster with an IAM role to access the S3 URI.
|
|
793
|
+
"""
|
|
629
794
|
return pulumi.get(self, "whl")
|
|
630
795
|
|