pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/file.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -20,16 +19,16 @@ __all__ = ['FileArgs', 'File']
|
|
|
20
19
|
@pulumi.input_type
|
|
21
20
|
class FileArgs:
|
|
22
21
|
def __init__(__self__, *,
|
|
23
|
-
path: pulumi.Input[
|
|
24
|
-
content_base64: Optional[pulumi.Input[
|
|
25
|
-
md5: Optional[pulumi.Input[
|
|
26
|
-
remote_file_modified: Optional[pulumi.Input[
|
|
27
|
-
source: Optional[pulumi.Input[
|
|
22
|
+
path: pulumi.Input[_builtins.str],
|
|
23
|
+
content_base64: Optional[pulumi.Input[_builtins.str]] = None,
|
|
24
|
+
md5: Optional[pulumi.Input[_builtins.str]] = None,
|
|
25
|
+
remote_file_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
26
|
+
source: Optional[pulumi.Input[_builtins.str]] = None):
|
|
28
27
|
"""
|
|
29
28
|
The set of arguments for constructing a File resource.
|
|
30
|
-
:param pulumi.Input[
|
|
31
|
-
:param pulumi.Input[
|
|
32
|
-
:param pulumi.Input[
|
|
29
|
+
:param pulumi.Input[_builtins.str] path: The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
30
|
+
:param pulumi.Input[_builtins.str] content_base64: Contents in base 64 format. Conflicts with `source`.
|
|
31
|
+
:param pulumi.Input[_builtins.str] source: The full absolute path to the file. Conflicts with `content_base64`.
|
|
33
32
|
"""
|
|
34
33
|
pulumi.set(__self__, "path", path)
|
|
35
34
|
if content_base64 is not None:
|
|
@@ -41,78 +40,78 @@ class FileArgs:
|
|
|
41
40
|
if source is not None:
|
|
42
41
|
pulumi.set(__self__, "source", source)
|
|
43
42
|
|
|
44
|
-
@property
|
|
43
|
+
@_builtins.property
|
|
45
44
|
@pulumi.getter
|
|
46
|
-
def path(self) -> pulumi.Input[
|
|
45
|
+
def path(self) -> pulumi.Input[_builtins.str]:
|
|
47
46
|
"""
|
|
48
47
|
The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
49
48
|
"""
|
|
50
49
|
return pulumi.get(self, "path")
|
|
51
50
|
|
|
52
51
|
@path.setter
|
|
53
|
-
def path(self, value: pulumi.Input[
|
|
52
|
+
def path(self, value: pulumi.Input[_builtins.str]):
|
|
54
53
|
pulumi.set(self, "path", value)
|
|
55
54
|
|
|
56
|
-
@property
|
|
55
|
+
@_builtins.property
|
|
57
56
|
@pulumi.getter(name="contentBase64")
|
|
58
|
-
def content_base64(self) -> Optional[pulumi.Input[
|
|
57
|
+
def content_base64(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
59
58
|
"""
|
|
60
59
|
Contents in base 64 format. Conflicts with `source`.
|
|
61
60
|
"""
|
|
62
61
|
return pulumi.get(self, "content_base64")
|
|
63
62
|
|
|
64
63
|
@content_base64.setter
|
|
65
|
-
def content_base64(self, value: Optional[pulumi.Input[
|
|
64
|
+
def content_base64(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
66
65
|
pulumi.set(self, "content_base64", value)
|
|
67
66
|
|
|
68
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
69
68
|
@pulumi.getter
|
|
70
|
-
def md5(self) -> Optional[pulumi.Input[
|
|
69
|
+
def md5(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
71
70
|
return pulumi.get(self, "md5")
|
|
72
71
|
|
|
73
72
|
@md5.setter
|
|
74
|
-
def md5(self, value: Optional[pulumi.Input[
|
|
73
|
+
def md5(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
75
74
|
pulumi.set(self, "md5", value)
|
|
76
75
|
|
|
77
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
78
77
|
@pulumi.getter(name="remoteFileModified")
|
|
79
|
-
def remote_file_modified(self) -> Optional[pulumi.Input[
|
|
78
|
+
def remote_file_modified(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
80
79
|
return pulumi.get(self, "remote_file_modified")
|
|
81
80
|
|
|
82
81
|
@remote_file_modified.setter
|
|
83
|
-
def remote_file_modified(self, value: Optional[pulumi.Input[
|
|
82
|
+
def remote_file_modified(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
84
83
|
pulumi.set(self, "remote_file_modified", value)
|
|
85
84
|
|
|
86
|
-
@property
|
|
85
|
+
@_builtins.property
|
|
87
86
|
@pulumi.getter
|
|
88
|
-
def source(self) -> Optional[pulumi.Input[
|
|
87
|
+
def source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
89
88
|
"""
|
|
90
89
|
The full absolute path to the file. Conflicts with `content_base64`.
|
|
91
90
|
"""
|
|
92
91
|
return pulumi.get(self, "source")
|
|
93
92
|
|
|
94
93
|
@source.setter
|
|
95
|
-
def source(self, value: Optional[pulumi.Input[
|
|
94
|
+
def source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
96
95
|
pulumi.set(self, "source", value)
|
|
97
96
|
|
|
98
97
|
|
|
99
98
|
@pulumi.input_type
|
|
100
99
|
class _FileState:
|
|
101
100
|
def __init__(__self__, *,
|
|
102
|
-
content_base64: Optional[pulumi.Input[
|
|
103
|
-
file_size: Optional[pulumi.Input[
|
|
104
|
-
md5: Optional[pulumi.Input[
|
|
105
|
-
modification_time: Optional[pulumi.Input[
|
|
106
|
-
path: Optional[pulumi.Input[
|
|
107
|
-
remote_file_modified: Optional[pulumi.Input[
|
|
108
|
-
source: Optional[pulumi.Input[
|
|
101
|
+
content_base64: Optional[pulumi.Input[_builtins.str]] = None,
|
|
102
|
+
file_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
103
|
+
md5: Optional[pulumi.Input[_builtins.str]] = None,
|
|
104
|
+
modification_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
105
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
106
|
+
remote_file_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
107
|
+
source: Optional[pulumi.Input[_builtins.str]] = None):
|
|
109
108
|
"""
|
|
110
109
|
Input properties used for looking up and filtering File resources.
|
|
111
|
-
:param pulumi.Input[
|
|
112
|
-
:param pulumi.Input[
|
|
113
|
-
:param pulumi.Input[
|
|
114
|
-
:param pulumi.Input[
|
|
115
|
-
:param pulumi.Input[
|
|
110
|
+
:param pulumi.Input[_builtins.str] content_base64: Contents in base 64 format. Conflicts with `source`.
|
|
111
|
+
:param pulumi.Input[_builtins.int] file_size: The file size of the file that is being tracked by this resource in bytes.
|
|
112
|
+
:param pulumi.Input[_builtins.str] modification_time: The last time stamp when the file was modified
|
|
113
|
+
:param pulumi.Input[_builtins.str] path: The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
114
|
+
:param pulumi.Input[_builtins.str] source: The full absolute path to the file. Conflicts with `content_base64`.
|
|
116
115
|
"""
|
|
117
116
|
if content_base64 is not None:
|
|
118
117
|
pulumi.set(__self__, "content_base64", content_base64)
|
|
@@ -129,82 +128,82 @@ class _FileState:
|
|
|
129
128
|
if source is not None:
|
|
130
129
|
pulumi.set(__self__, "source", source)
|
|
131
130
|
|
|
132
|
-
@property
|
|
131
|
+
@_builtins.property
|
|
133
132
|
@pulumi.getter(name="contentBase64")
|
|
134
|
-
def content_base64(self) -> Optional[pulumi.Input[
|
|
133
|
+
def content_base64(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
135
134
|
"""
|
|
136
135
|
Contents in base 64 format. Conflicts with `source`.
|
|
137
136
|
"""
|
|
138
137
|
return pulumi.get(self, "content_base64")
|
|
139
138
|
|
|
140
139
|
@content_base64.setter
|
|
141
|
-
def content_base64(self, value: Optional[pulumi.Input[
|
|
140
|
+
def content_base64(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
142
141
|
pulumi.set(self, "content_base64", value)
|
|
143
142
|
|
|
144
|
-
@property
|
|
143
|
+
@_builtins.property
|
|
145
144
|
@pulumi.getter(name="fileSize")
|
|
146
|
-
def file_size(self) -> Optional[pulumi.Input[
|
|
145
|
+
def file_size(self) -> Optional[pulumi.Input[_builtins.int]]:
|
|
147
146
|
"""
|
|
148
147
|
The file size of the file that is being tracked by this resource in bytes.
|
|
149
148
|
"""
|
|
150
149
|
return pulumi.get(self, "file_size")
|
|
151
150
|
|
|
152
151
|
@file_size.setter
|
|
153
|
-
def file_size(self, value: Optional[pulumi.Input[
|
|
152
|
+
def file_size(self, value: Optional[pulumi.Input[_builtins.int]]):
|
|
154
153
|
pulumi.set(self, "file_size", value)
|
|
155
154
|
|
|
156
|
-
@property
|
|
155
|
+
@_builtins.property
|
|
157
156
|
@pulumi.getter
|
|
158
|
-
def md5(self) -> Optional[pulumi.Input[
|
|
157
|
+
def md5(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
159
158
|
return pulumi.get(self, "md5")
|
|
160
159
|
|
|
161
160
|
@md5.setter
|
|
162
|
-
def md5(self, value: Optional[pulumi.Input[
|
|
161
|
+
def md5(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
163
162
|
pulumi.set(self, "md5", value)
|
|
164
163
|
|
|
165
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
166
165
|
@pulumi.getter(name="modificationTime")
|
|
167
|
-
def modification_time(self) -> Optional[pulumi.Input[
|
|
166
|
+
def modification_time(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
168
167
|
"""
|
|
169
168
|
The last time stamp when the file was modified
|
|
170
169
|
"""
|
|
171
170
|
return pulumi.get(self, "modification_time")
|
|
172
171
|
|
|
173
172
|
@modification_time.setter
|
|
174
|
-
def modification_time(self, value: Optional[pulumi.Input[
|
|
173
|
+
def modification_time(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
175
174
|
pulumi.set(self, "modification_time", value)
|
|
176
175
|
|
|
177
|
-
@property
|
|
176
|
+
@_builtins.property
|
|
178
177
|
@pulumi.getter
|
|
179
|
-
def path(self) -> Optional[pulumi.Input[
|
|
178
|
+
def path(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
180
179
|
"""
|
|
181
180
|
The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
182
181
|
"""
|
|
183
182
|
return pulumi.get(self, "path")
|
|
184
183
|
|
|
185
184
|
@path.setter
|
|
186
|
-
def path(self, value: Optional[pulumi.Input[
|
|
185
|
+
def path(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
187
186
|
pulumi.set(self, "path", value)
|
|
188
187
|
|
|
189
|
-
@property
|
|
188
|
+
@_builtins.property
|
|
190
189
|
@pulumi.getter(name="remoteFileModified")
|
|
191
|
-
def remote_file_modified(self) -> Optional[pulumi.Input[
|
|
190
|
+
def remote_file_modified(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
192
191
|
return pulumi.get(self, "remote_file_modified")
|
|
193
192
|
|
|
194
193
|
@remote_file_modified.setter
|
|
195
|
-
def remote_file_modified(self, value: Optional[pulumi.Input[
|
|
194
|
+
def remote_file_modified(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
196
195
|
pulumi.set(self, "remote_file_modified", value)
|
|
197
196
|
|
|
198
|
-
@property
|
|
197
|
+
@_builtins.property
|
|
199
198
|
@pulumi.getter
|
|
200
|
-
def source(self) -> Optional[pulumi.Input[
|
|
199
|
+
def source(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
201
200
|
"""
|
|
202
201
|
The full absolute path to the file. Conflicts with `content_base64`.
|
|
203
202
|
"""
|
|
204
203
|
return pulumi.get(self, "source")
|
|
205
204
|
|
|
206
205
|
@source.setter
|
|
207
|
-
def source(self, value: Optional[pulumi.Input[
|
|
206
|
+
def source(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
208
207
|
pulumi.set(self, "source", value)
|
|
209
208
|
|
|
210
209
|
|
|
@@ -214,11 +213,11 @@ class File(pulumi.CustomResource):
|
|
|
214
213
|
def __init__(__self__,
|
|
215
214
|
resource_name: str,
|
|
216
215
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
217
|
-
content_base64: Optional[pulumi.Input[
|
|
218
|
-
md5: Optional[pulumi.Input[
|
|
219
|
-
path: Optional[pulumi.Input[
|
|
220
|
-
remote_file_modified: Optional[pulumi.Input[
|
|
221
|
-
source: Optional[pulumi.Input[
|
|
216
|
+
content_base64: Optional[pulumi.Input[_builtins.str]] = None,
|
|
217
|
+
md5: Optional[pulumi.Input[_builtins.str]] = None,
|
|
218
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
219
|
+
remote_file_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
220
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
222
221
|
__props__=None):
|
|
223
222
|
"""
|
|
224
223
|
This resource allows uploading and downloading files in databricks_volume.
|
|
@@ -308,9 +307,9 @@ class File(pulumi.CustomResource):
|
|
|
308
307
|
|
|
309
308
|
:param str resource_name: The name of the resource.
|
|
310
309
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
311
|
-
:param pulumi.Input[
|
|
312
|
-
:param pulumi.Input[
|
|
313
|
-
:param pulumi.Input[
|
|
310
|
+
:param pulumi.Input[_builtins.str] content_base64: Contents in base 64 format. Conflicts with `source`.
|
|
311
|
+
:param pulumi.Input[_builtins.str] path: The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
312
|
+
:param pulumi.Input[_builtins.str] source: The full absolute path to the file. Conflicts with `content_base64`.
|
|
314
313
|
"""
|
|
315
314
|
...
|
|
316
315
|
@overload
|
|
@@ -419,11 +418,11 @@ class File(pulumi.CustomResource):
|
|
|
419
418
|
def _internal_init(__self__,
|
|
420
419
|
resource_name: str,
|
|
421
420
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
422
|
-
content_base64: Optional[pulumi.Input[
|
|
423
|
-
md5: Optional[pulumi.Input[
|
|
424
|
-
path: Optional[pulumi.Input[
|
|
425
|
-
remote_file_modified: Optional[pulumi.Input[
|
|
426
|
-
source: Optional[pulumi.Input[
|
|
421
|
+
content_base64: Optional[pulumi.Input[_builtins.str]] = None,
|
|
422
|
+
md5: Optional[pulumi.Input[_builtins.str]] = None,
|
|
423
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
424
|
+
remote_file_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
425
|
+
source: Optional[pulumi.Input[_builtins.str]] = None,
|
|
427
426
|
__props__=None):
|
|
428
427
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
429
428
|
if not isinstance(opts, pulumi.ResourceOptions):
|
|
@@ -452,13 +451,13 @@ class File(pulumi.CustomResource):
|
|
|
452
451
|
def get(resource_name: str,
|
|
453
452
|
id: pulumi.Input[str],
|
|
454
453
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
455
|
-
content_base64: Optional[pulumi.Input[
|
|
456
|
-
file_size: Optional[pulumi.Input[
|
|
457
|
-
md5: Optional[pulumi.Input[
|
|
458
|
-
modification_time: Optional[pulumi.Input[
|
|
459
|
-
path: Optional[pulumi.Input[
|
|
460
|
-
remote_file_modified: Optional[pulumi.Input[
|
|
461
|
-
source: Optional[pulumi.Input[
|
|
454
|
+
content_base64: Optional[pulumi.Input[_builtins.str]] = None,
|
|
455
|
+
file_size: Optional[pulumi.Input[_builtins.int]] = None,
|
|
456
|
+
md5: Optional[pulumi.Input[_builtins.str]] = None,
|
|
457
|
+
modification_time: Optional[pulumi.Input[_builtins.str]] = None,
|
|
458
|
+
path: Optional[pulumi.Input[_builtins.str]] = None,
|
|
459
|
+
remote_file_modified: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
460
|
+
source: Optional[pulumi.Input[_builtins.str]] = None) -> 'File':
|
|
462
461
|
"""
|
|
463
462
|
Get an existing File resource's state with the given name, id, and optional extra
|
|
464
463
|
properties used to qualify the lookup.
|
|
@@ -466,11 +465,11 @@ class File(pulumi.CustomResource):
|
|
|
466
465
|
:param str resource_name: The unique name of the resulting resource.
|
|
467
466
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
468
467
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
469
|
-
:param pulumi.Input[
|
|
470
|
-
:param pulumi.Input[
|
|
471
|
-
:param pulumi.Input[
|
|
472
|
-
:param pulumi.Input[
|
|
473
|
-
:param pulumi.Input[
|
|
468
|
+
:param pulumi.Input[_builtins.str] content_base64: Contents in base 64 format. Conflicts with `source`.
|
|
469
|
+
:param pulumi.Input[_builtins.int] file_size: The file size of the file that is being tracked by this resource in bytes.
|
|
470
|
+
:param pulumi.Input[_builtins.str] modification_time: The last time stamp when the file was modified
|
|
471
|
+
:param pulumi.Input[_builtins.str] path: The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
472
|
+
:param pulumi.Input[_builtins.str] source: The full absolute path to the file. Conflicts with `content_base64`.
|
|
474
473
|
"""
|
|
475
474
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
476
475
|
|
|
@@ -485,51 +484,51 @@ class File(pulumi.CustomResource):
|
|
|
485
484
|
__props__.__dict__["source"] = source
|
|
486
485
|
return File(resource_name, opts=opts, __props__=__props__)
|
|
487
486
|
|
|
488
|
-
@property
|
|
487
|
+
@_builtins.property
|
|
489
488
|
@pulumi.getter(name="contentBase64")
|
|
490
|
-
def content_base64(self) -> pulumi.Output[Optional[
|
|
489
|
+
def content_base64(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
491
490
|
"""
|
|
492
491
|
Contents in base 64 format. Conflicts with `source`.
|
|
493
492
|
"""
|
|
494
493
|
return pulumi.get(self, "content_base64")
|
|
495
494
|
|
|
496
|
-
@property
|
|
495
|
+
@_builtins.property
|
|
497
496
|
@pulumi.getter(name="fileSize")
|
|
498
|
-
def file_size(self) -> pulumi.Output[
|
|
497
|
+
def file_size(self) -> pulumi.Output[_builtins.int]:
|
|
499
498
|
"""
|
|
500
499
|
The file size of the file that is being tracked by this resource in bytes.
|
|
501
500
|
"""
|
|
502
501
|
return pulumi.get(self, "file_size")
|
|
503
502
|
|
|
504
|
-
@property
|
|
503
|
+
@_builtins.property
|
|
505
504
|
@pulumi.getter
|
|
506
|
-
def md5(self) -> pulumi.Output[Optional[
|
|
505
|
+
def md5(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
507
506
|
return pulumi.get(self, "md5")
|
|
508
507
|
|
|
509
|
-
@property
|
|
508
|
+
@_builtins.property
|
|
510
509
|
@pulumi.getter(name="modificationTime")
|
|
511
|
-
def modification_time(self) -> pulumi.Output[
|
|
510
|
+
def modification_time(self) -> pulumi.Output[_builtins.str]:
|
|
512
511
|
"""
|
|
513
512
|
The last time stamp when the file was modified
|
|
514
513
|
"""
|
|
515
514
|
return pulumi.get(self, "modification_time")
|
|
516
515
|
|
|
517
|
-
@property
|
|
516
|
+
@_builtins.property
|
|
518
517
|
@pulumi.getter
|
|
519
|
-
def path(self) -> pulumi.Output[
|
|
518
|
+
def path(self) -> pulumi.Output[_builtins.str]:
|
|
520
519
|
"""
|
|
521
520
|
The path of the file in which you wish to save. For example, `/Volumes/main/default/volume1/file.txt`.
|
|
522
521
|
"""
|
|
523
522
|
return pulumi.get(self, "path")
|
|
524
523
|
|
|
525
|
-
@property
|
|
524
|
+
@_builtins.property
|
|
526
525
|
@pulumi.getter(name="remoteFileModified")
|
|
527
|
-
def remote_file_modified(self) -> pulumi.Output[Optional[
|
|
526
|
+
def remote_file_modified(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
528
527
|
return pulumi.get(self, "remote_file_modified")
|
|
529
528
|
|
|
530
|
-
@property
|
|
529
|
+
@_builtins.property
|
|
531
530
|
@pulumi.getter
|
|
532
|
-
def source(self) -> pulumi.Output[Optional[
|
|
531
|
+
def source(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
533
532
|
"""
|
|
534
533
|
The full absolute path to the file. Conflicts with `content_base64`.
|
|
535
534
|
"""
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# coding=utf-8
|
|
2
|
+
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
|
|
5
|
+
import builtins as _builtins
|
|
6
|
+
import warnings
|
|
7
|
+
import sys
|
|
8
|
+
import pulumi
|
|
9
|
+
import pulumi.runtime
|
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
|
11
|
+
if sys.version_info >= (3, 11):
|
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
|
13
|
+
else:
|
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
|
15
|
+
from . import _utilities
|
|
16
|
+
from . import outputs
|
|
17
|
+
|
|
18
|
+
__all__ = [
|
|
19
|
+
'GetAccountFederationPoliciesResult',
|
|
20
|
+
'AwaitableGetAccountFederationPoliciesResult',
|
|
21
|
+
'get_account_federation_policies',
|
|
22
|
+
'get_account_federation_policies_output',
|
|
23
|
+
]
|
|
24
|
+
|
|
25
|
+
@pulumi.output_type
|
|
26
|
+
class GetAccountFederationPoliciesResult:
|
|
27
|
+
"""
|
|
28
|
+
A collection of values returned by getAccountFederationPolicies.
|
|
29
|
+
"""
|
|
30
|
+
def __init__(__self__, id=None, page_size=None, policies=None):
|
|
31
|
+
if id and not isinstance(id, str):
|
|
32
|
+
raise TypeError("Expected argument 'id' to be a str")
|
|
33
|
+
pulumi.set(__self__, "id", id)
|
|
34
|
+
if page_size and not isinstance(page_size, int):
|
|
35
|
+
raise TypeError("Expected argument 'page_size' to be a int")
|
|
36
|
+
pulumi.set(__self__, "page_size", page_size)
|
|
37
|
+
if policies and not isinstance(policies, list):
|
|
38
|
+
raise TypeError("Expected argument 'policies' to be a list")
|
|
39
|
+
pulumi.set(__self__, "policies", policies)
|
|
40
|
+
|
|
41
|
+
@_builtins.property
|
|
42
|
+
@pulumi.getter
|
|
43
|
+
def id(self) -> _builtins.str:
|
|
44
|
+
"""
|
|
45
|
+
The provider-assigned unique ID for this managed resource.
|
|
46
|
+
"""
|
|
47
|
+
return pulumi.get(self, "id")
|
|
48
|
+
|
|
49
|
+
@_builtins.property
|
|
50
|
+
@pulumi.getter(name="pageSize")
|
|
51
|
+
def page_size(self) -> Optional[_builtins.int]:
|
|
52
|
+
return pulumi.get(self, "page_size")
|
|
53
|
+
|
|
54
|
+
@_builtins.property
|
|
55
|
+
@pulumi.getter
|
|
56
|
+
def policies(self) -> Sequence['outputs.GetAccountFederationPoliciesPolicyResult']:
|
|
57
|
+
return pulumi.get(self, "policies")
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
class AwaitableGetAccountFederationPoliciesResult(GetAccountFederationPoliciesResult):
|
|
61
|
+
# pylint: disable=using-constant-test
|
|
62
|
+
def __await__(self):
|
|
63
|
+
if False:
|
|
64
|
+
yield self
|
|
65
|
+
return GetAccountFederationPoliciesResult(
|
|
66
|
+
id=self.id,
|
|
67
|
+
page_size=self.page_size,
|
|
68
|
+
policies=self.policies)
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
def get_account_federation_policies(page_size: Optional[_builtins.int] = None,
|
|
72
|
+
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetAccountFederationPoliciesResult:
|
|
73
|
+
"""
|
|
74
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
75
|
+
|
|
76
|
+
This data source can be used to fetch the list of account federation policies.
|
|
77
|
+
|
|
78
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
79
|
+
|
|
80
|
+
## Example Usage
|
|
81
|
+
|
|
82
|
+
Getting a list of all account federation policies:
|
|
83
|
+
|
|
84
|
+
```python
|
|
85
|
+
import pulumi
|
|
86
|
+
import pulumi_databricks as databricks
|
|
87
|
+
|
|
88
|
+
all = databricks.get_account_federation_policies()
|
|
89
|
+
```
|
|
90
|
+
"""
|
|
91
|
+
__args__ = dict()
|
|
92
|
+
__args__['pageSize'] = page_size
|
|
93
|
+
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
94
|
+
__ret__ = pulumi.runtime.invoke('databricks:index/getAccountFederationPolicies:getAccountFederationPolicies', __args__, opts=opts, typ=GetAccountFederationPoliciesResult).value
|
|
95
|
+
|
|
96
|
+
return AwaitableGetAccountFederationPoliciesResult(
|
|
97
|
+
id=pulumi.get(__ret__, 'id'),
|
|
98
|
+
page_size=pulumi.get(__ret__, 'page_size'),
|
|
99
|
+
policies=pulumi.get(__ret__, 'policies'))
|
|
100
|
+
def get_account_federation_policies_output(page_size: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
101
|
+
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetAccountFederationPoliciesResult]:
|
|
102
|
+
"""
|
|
103
|
+
[](https://docs.databricks.com/aws/en/release-notes/release-types)
|
|
104
|
+
|
|
105
|
+
This data source can be used to fetch the list of account federation policies.
|
|
106
|
+
|
|
107
|
+
> **Note** This data source can only be used with an account-level provider!
|
|
108
|
+
|
|
109
|
+
## Example Usage
|
|
110
|
+
|
|
111
|
+
Getting a list of all account federation policies:
|
|
112
|
+
|
|
113
|
+
```python
|
|
114
|
+
import pulumi
|
|
115
|
+
import pulumi_databricks as databricks
|
|
116
|
+
|
|
117
|
+
all = databricks.get_account_federation_policies()
|
|
118
|
+
```
|
|
119
|
+
"""
|
|
120
|
+
__args__ = dict()
|
|
121
|
+
__args__['pageSize'] = page_size
|
|
122
|
+
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
123
|
+
__ret__ = pulumi.runtime.invoke_output('databricks:index/getAccountFederationPolicies:getAccountFederationPolicies', __args__, opts=opts, typ=GetAccountFederationPoliciesResult)
|
|
124
|
+
return __ret__.apply(lambda __response__: GetAccountFederationPoliciesResult(
|
|
125
|
+
id=pulumi.get(__response__, 'id'),
|
|
126
|
+
page_size=pulumi.get(__response__, 'page_size'),
|
|
127
|
+
policies=pulumi.get(__response__, 'policies')))
|