pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
pulumi_databricks/get_share.py
CHANGED
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -29,13 +28,19 @@ class GetShareResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getShare.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, created_at=None, created_by=None, id=None, name=None, objects=None):
|
|
31
|
+
def __init__(__self__, comment=None, created_at=None, created_by=None, effective_owner=None, id=None, name=None, objects=None, owner=None, provider_config=None, storage_location=None, storage_root=None, updated_at=None, updated_by=None):
|
|
32
|
+
if comment and not isinstance(comment, str):
|
|
33
|
+
raise TypeError("Expected argument 'comment' to be a str")
|
|
34
|
+
pulumi.set(__self__, "comment", comment)
|
|
33
35
|
if created_at and not isinstance(created_at, int):
|
|
34
36
|
raise TypeError("Expected argument 'created_at' to be a int")
|
|
35
37
|
pulumi.set(__self__, "created_at", created_at)
|
|
36
38
|
if created_by and not isinstance(created_by, str):
|
|
37
39
|
raise TypeError("Expected argument 'created_by' to be a str")
|
|
38
40
|
pulumi.set(__self__, "created_by", created_by)
|
|
41
|
+
if effective_owner and not isinstance(effective_owner, str):
|
|
42
|
+
raise TypeError("Expected argument 'effective_owner' to be a str")
|
|
43
|
+
pulumi.set(__self__, "effective_owner", effective_owner)
|
|
39
44
|
if id and not isinstance(id, str):
|
|
40
45
|
raise TypeError("Expected argument 'id' to be a str")
|
|
41
46
|
pulumi.set(__self__, "id", id)
|
|
@@ -45,47 +50,108 @@ class GetShareResult:
|
|
|
45
50
|
if objects and not isinstance(objects, list):
|
|
46
51
|
raise TypeError("Expected argument 'objects' to be a list")
|
|
47
52
|
pulumi.set(__self__, "objects", objects)
|
|
53
|
+
if owner and not isinstance(owner, str):
|
|
54
|
+
raise TypeError("Expected argument 'owner' to be a str")
|
|
55
|
+
pulumi.set(__self__, "owner", owner)
|
|
56
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
57
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
58
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
59
|
+
if storage_location and not isinstance(storage_location, str):
|
|
60
|
+
raise TypeError("Expected argument 'storage_location' to be a str")
|
|
61
|
+
pulumi.set(__self__, "storage_location", storage_location)
|
|
62
|
+
if storage_root and not isinstance(storage_root, str):
|
|
63
|
+
raise TypeError("Expected argument 'storage_root' to be a str")
|
|
64
|
+
pulumi.set(__self__, "storage_root", storage_root)
|
|
65
|
+
if updated_at and not isinstance(updated_at, int):
|
|
66
|
+
raise TypeError("Expected argument 'updated_at' to be a int")
|
|
67
|
+
pulumi.set(__self__, "updated_at", updated_at)
|
|
68
|
+
if updated_by and not isinstance(updated_by, str):
|
|
69
|
+
raise TypeError("Expected argument 'updated_by' to be a str")
|
|
70
|
+
pulumi.set(__self__, "updated_by", updated_by)
|
|
71
|
+
|
|
72
|
+
@_builtins.property
|
|
73
|
+
@pulumi.getter
|
|
74
|
+
def comment(self) -> Optional[_builtins.str]:
|
|
75
|
+
"""
|
|
76
|
+
Description about the object.
|
|
77
|
+
"""
|
|
78
|
+
return pulumi.get(self, "comment")
|
|
48
79
|
|
|
49
|
-
@property
|
|
80
|
+
@_builtins.property
|
|
50
81
|
@pulumi.getter(name="createdAt")
|
|
51
|
-
def created_at(self) ->
|
|
82
|
+
def created_at(self) -> _builtins.int:
|
|
52
83
|
"""
|
|
53
84
|
Time when the share was created.
|
|
54
85
|
"""
|
|
55
86
|
return pulumi.get(self, "created_at")
|
|
56
87
|
|
|
57
|
-
@property
|
|
88
|
+
@_builtins.property
|
|
58
89
|
@pulumi.getter(name="createdBy")
|
|
59
|
-
def created_by(self) ->
|
|
90
|
+
def created_by(self) -> _builtins.str:
|
|
60
91
|
"""
|
|
61
92
|
The principal that created the share.
|
|
62
93
|
"""
|
|
63
94
|
return pulumi.get(self, "created_by")
|
|
64
95
|
|
|
65
|
-
@property
|
|
96
|
+
@_builtins.property
|
|
97
|
+
@pulumi.getter(name="effectiveOwner")
|
|
98
|
+
def effective_owner(self) -> _builtins.str:
|
|
99
|
+
return pulumi.get(self, "effective_owner")
|
|
100
|
+
|
|
101
|
+
@_builtins.property
|
|
66
102
|
@pulumi.getter
|
|
67
|
-
def id(self) ->
|
|
103
|
+
def id(self) -> _builtins.str:
|
|
68
104
|
"""
|
|
69
105
|
The provider-assigned unique ID for this managed resource.
|
|
70
106
|
"""
|
|
71
107
|
return pulumi.get(self, "id")
|
|
72
108
|
|
|
73
|
-
@property
|
|
109
|
+
@_builtins.property
|
|
74
110
|
@pulumi.getter
|
|
75
|
-
def name(self) ->
|
|
111
|
+
def name(self) -> Optional[_builtins.str]:
|
|
76
112
|
"""
|
|
77
113
|
Full name of the object being shared.
|
|
78
114
|
"""
|
|
79
115
|
return pulumi.get(self, "name")
|
|
80
116
|
|
|
81
|
-
@property
|
|
117
|
+
@_builtins.property
|
|
82
118
|
@pulumi.getter
|
|
83
|
-
def objects(self) -> Sequence['outputs.GetShareObjectResult']:
|
|
119
|
+
def objects(self) -> Optional[Sequence['outputs.GetShareObjectResult']]:
|
|
84
120
|
"""
|
|
85
121
|
arrays containing details of each object in the share.
|
|
86
122
|
"""
|
|
87
123
|
return pulumi.get(self, "objects")
|
|
88
124
|
|
|
125
|
+
@_builtins.property
|
|
126
|
+
@pulumi.getter
|
|
127
|
+
def owner(self) -> Optional[_builtins.str]:
|
|
128
|
+
return pulumi.get(self, "owner")
|
|
129
|
+
|
|
130
|
+
@_builtins.property
|
|
131
|
+
@pulumi.getter(name="providerConfig")
|
|
132
|
+
def provider_config(self) -> Optional['outputs.GetShareProviderConfigResult']:
|
|
133
|
+
return pulumi.get(self, "provider_config")
|
|
134
|
+
|
|
135
|
+
@_builtins.property
|
|
136
|
+
@pulumi.getter(name="storageLocation")
|
|
137
|
+
def storage_location(self) -> _builtins.str:
|
|
138
|
+
return pulumi.get(self, "storage_location")
|
|
139
|
+
|
|
140
|
+
@_builtins.property
|
|
141
|
+
@pulumi.getter(name="storageRoot")
|
|
142
|
+
def storage_root(self) -> Optional[_builtins.str]:
|
|
143
|
+
return pulumi.get(self, "storage_root")
|
|
144
|
+
|
|
145
|
+
@_builtins.property
|
|
146
|
+
@pulumi.getter(name="updatedAt")
|
|
147
|
+
def updated_at(self) -> _builtins.int:
|
|
148
|
+
return pulumi.get(self, "updated_at")
|
|
149
|
+
|
|
150
|
+
@_builtins.property
|
|
151
|
+
@pulumi.getter(name="updatedBy")
|
|
152
|
+
def updated_by(self) -> _builtins.str:
|
|
153
|
+
return pulumi.get(self, "updated_by")
|
|
154
|
+
|
|
89
155
|
|
|
90
156
|
class AwaitableGetShareResult(GetShareResult):
|
|
91
157
|
# pylint: disable=using-constant-test
|
|
@@ -93,17 +159,27 @@ class AwaitableGetShareResult(GetShareResult):
|
|
|
93
159
|
if False:
|
|
94
160
|
yield self
|
|
95
161
|
return GetShareResult(
|
|
162
|
+
comment=self.comment,
|
|
96
163
|
created_at=self.created_at,
|
|
97
164
|
created_by=self.created_by,
|
|
165
|
+
effective_owner=self.effective_owner,
|
|
98
166
|
id=self.id,
|
|
99
167
|
name=self.name,
|
|
100
|
-
objects=self.objects
|
|
168
|
+
objects=self.objects,
|
|
169
|
+
owner=self.owner,
|
|
170
|
+
provider_config=self.provider_config,
|
|
171
|
+
storage_location=self.storage_location,
|
|
172
|
+
storage_root=self.storage_root,
|
|
173
|
+
updated_at=self.updated_at,
|
|
174
|
+
updated_by=self.updated_by)
|
|
101
175
|
|
|
102
176
|
|
|
103
|
-
def get_share(
|
|
104
|
-
|
|
105
|
-
name: Optional[builtins.str] = None,
|
|
177
|
+
def get_share(comment: Optional[_builtins.str] = None,
|
|
178
|
+
name: Optional[_builtins.str] = None,
|
|
106
179
|
objects: Optional[Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']]] = None,
|
|
180
|
+
owner: Optional[_builtins.str] = None,
|
|
181
|
+
provider_config: Optional[Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict']] = None,
|
|
182
|
+
storage_root: Optional[_builtins.str] = None,
|
|
107
183
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetShareResult:
|
|
108
184
|
"""
|
|
109
185
|
Retrieves details about a Share that were created by Pulumi or manually.
|
|
@@ -131,29 +207,41 @@ def get_share(created_at: Optional[builtins.int] = None,
|
|
|
131
207
|
* Grants to manage Delta Sharing permissions.
|
|
132
208
|
|
|
133
209
|
|
|
134
|
-
:param
|
|
135
|
-
:param
|
|
136
|
-
:param builtins.str name: The name of the share
|
|
210
|
+
:param _builtins.str comment: Description about the object.
|
|
211
|
+
:param _builtins.str name: The name of the share
|
|
137
212
|
:param Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']] objects: arrays containing details of each object in the share.
|
|
213
|
+
:param Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
138
214
|
"""
|
|
139
215
|
__args__ = dict()
|
|
140
|
-
__args__['
|
|
141
|
-
__args__['createdBy'] = created_by
|
|
216
|
+
__args__['comment'] = comment
|
|
142
217
|
__args__['name'] = name
|
|
143
218
|
__args__['objects'] = objects
|
|
219
|
+
__args__['owner'] = owner
|
|
220
|
+
__args__['providerConfig'] = provider_config
|
|
221
|
+
__args__['storageRoot'] = storage_root
|
|
144
222
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
145
223
|
__ret__ = pulumi.runtime.invoke('databricks:index/getShare:getShare', __args__, opts=opts, typ=GetShareResult).value
|
|
146
224
|
|
|
147
225
|
return AwaitableGetShareResult(
|
|
226
|
+
comment=pulumi.get(__ret__, 'comment'),
|
|
148
227
|
created_at=pulumi.get(__ret__, 'created_at'),
|
|
149
228
|
created_by=pulumi.get(__ret__, 'created_by'),
|
|
229
|
+
effective_owner=pulumi.get(__ret__, 'effective_owner'),
|
|
150
230
|
id=pulumi.get(__ret__, 'id'),
|
|
151
231
|
name=pulumi.get(__ret__, 'name'),
|
|
152
|
-
objects=pulumi.get(__ret__, 'objects')
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
232
|
+
objects=pulumi.get(__ret__, 'objects'),
|
|
233
|
+
owner=pulumi.get(__ret__, 'owner'),
|
|
234
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
235
|
+
storage_location=pulumi.get(__ret__, 'storage_location'),
|
|
236
|
+
storage_root=pulumi.get(__ret__, 'storage_root'),
|
|
237
|
+
updated_at=pulumi.get(__ret__, 'updated_at'),
|
|
238
|
+
updated_by=pulumi.get(__ret__, 'updated_by'))
|
|
239
|
+
def get_share_output(comment: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
240
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
156
241
|
objects: Optional[pulumi.Input[Optional[Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']]]]] = None,
|
|
242
|
+
owner: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
243
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict']]]] = None,
|
|
244
|
+
storage_root: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
157
245
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetShareResult]:
|
|
158
246
|
"""
|
|
159
247
|
Retrieves details about a Share that were created by Pulumi or manually.
|
|
@@ -181,21 +269,31 @@ def get_share_output(created_at: Optional[pulumi.Input[Optional[builtins.int]]]
|
|
|
181
269
|
* Grants to manage Delta Sharing permissions.
|
|
182
270
|
|
|
183
271
|
|
|
184
|
-
:param
|
|
185
|
-
:param
|
|
186
|
-
:param builtins.str name: The name of the share
|
|
272
|
+
:param _builtins.str comment: Description about the object.
|
|
273
|
+
:param _builtins.str name: The name of the share
|
|
187
274
|
:param Sequence[Union['GetShareObjectArgs', 'GetShareObjectArgsDict']] objects: arrays containing details of each object in the share.
|
|
275
|
+
:param Union['GetShareProviderConfigArgs', 'GetShareProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
188
276
|
"""
|
|
189
277
|
__args__ = dict()
|
|
190
|
-
__args__['
|
|
191
|
-
__args__['createdBy'] = created_by
|
|
278
|
+
__args__['comment'] = comment
|
|
192
279
|
__args__['name'] = name
|
|
193
280
|
__args__['objects'] = objects
|
|
281
|
+
__args__['owner'] = owner
|
|
282
|
+
__args__['providerConfig'] = provider_config
|
|
283
|
+
__args__['storageRoot'] = storage_root
|
|
194
284
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
195
285
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getShare:getShare', __args__, opts=opts, typ=GetShareResult)
|
|
196
286
|
return __ret__.apply(lambda __response__: GetShareResult(
|
|
287
|
+
comment=pulumi.get(__response__, 'comment'),
|
|
197
288
|
created_at=pulumi.get(__response__, 'created_at'),
|
|
198
289
|
created_by=pulumi.get(__response__, 'created_by'),
|
|
290
|
+
effective_owner=pulumi.get(__response__, 'effective_owner'),
|
|
199
291
|
id=pulumi.get(__response__, 'id'),
|
|
200
292
|
name=pulumi.get(__response__, 'name'),
|
|
201
|
-
objects=pulumi.get(__response__, 'objects')
|
|
293
|
+
objects=pulumi.get(__response__, 'objects'),
|
|
294
|
+
owner=pulumi.get(__response__, 'owner'),
|
|
295
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
296
|
+
storage_location=pulumi.get(__response__, 'storage_location'),
|
|
297
|
+
storage_root=pulumi.get(__response__, 'storage_root'),
|
|
298
|
+
updated_at=pulumi.get(__response__, 'updated_at'),
|
|
299
|
+
updated_by=pulumi.get(__response__, 'updated_by')))
|
pulumi_databricks/get_shares.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
|
|
@@ -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
|
'GetSharesResult',
|
|
@@ -27,25 +28,33 @@ class GetSharesResult:
|
|
|
27
28
|
"""
|
|
28
29
|
A collection of values returned by getShares.
|
|
29
30
|
"""
|
|
30
|
-
def __init__(__self__, id=None, shares=None):
|
|
31
|
+
def __init__(__self__, id=None, provider_config=None, shares=None):
|
|
31
32
|
if id and not isinstance(id, str):
|
|
32
33
|
raise TypeError("Expected argument 'id' to be a str")
|
|
33
34
|
pulumi.set(__self__, "id", id)
|
|
35
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
36
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
37
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
34
38
|
if shares and not isinstance(shares, list):
|
|
35
39
|
raise TypeError("Expected argument 'shares' to be a list")
|
|
36
40
|
pulumi.set(__self__, "shares", shares)
|
|
37
41
|
|
|
38
|
-
@property
|
|
42
|
+
@_builtins.property
|
|
39
43
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
44
|
+
def id(self) -> _builtins.str:
|
|
41
45
|
"""
|
|
42
46
|
The provider-assigned unique ID for this managed resource.
|
|
43
47
|
"""
|
|
44
48
|
return pulumi.get(self, "id")
|
|
45
49
|
|
|
46
|
-
@property
|
|
50
|
+
@_builtins.property
|
|
51
|
+
@pulumi.getter(name="providerConfig")
|
|
52
|
+
def provider_config(self) -> Optional['outputs.GetSharesProviderConfigResult']:
|
|
53
|
+
return pulumi.get(self, "provider_config")
|
|
54
|
+
|
|
55
|
+
@_builtins.property
|
|
47
56
|
@pulumi.getter
|
|
48
|
-
def shares(self) -> Sequence[
|
|
57
|
+
def shares(self) -> Sequence[_builtins.str]:
|
|
49
58
|
"""
|
|
50
59
|
list of Share names.
|
|
51
60
|
"""
|
|
@@ -59,10 +68,12 @@ class AwaitableGetSharesResult(GetSharesResult):
|
|
|
59
68
|
yield self
|
|
60
69
|
return GetSharesResult(
|
|
61
70
|
id=self.id,
|
|
71
|
+
provider_config=self.provider_config,
|
|
62
72
|
shares=self.shares)
|
|
63
73
|
|
|
64
74
|
|
|
65
|
-
def get_shares(
|
|
75
|
+
def get_shares(provider_config: Optional[Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict']] = None,
|
|
76
|
+
shares: Optional[Sequence[_builtins.str]] = None,
|
|
66
77
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetSharesResult:
|
|
67
78
|
"""
|
|
68
79
|
Retrieves a list of Share name, that were created by Pulumi or manually.
|
|
@@ -90,17 +101,21 @@ def get_shares(shares: Optional[Sequence[builtins.str]] = None,
|
|
|
90
101
|
* Grants to manage Delta Sharing permissions.
|
|
91
102
|
|
|
92
103
|
|
|
93
|
-
:param
|
|
104
|
+
:param Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
105
|
+
:param Sequence[_builtins.str] shares: list of Share names.
|
|
94
106
|
"""
|
|
95
107
|
__args__ = dict()
|
|
108
|
+
__args__['providerConfig'] = provider_config
|
|
96
109
|
__args__['shares'] = shares
|
|
97
110
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
98
111
|
__ret__ = pulumi.runtime.invoke('databricks:index/getShares:getShares', __args__, opts=opts, typ=GetSharesResult).value
|
|
99
112
|
|
|
100
113
|
return AwaitableGetSharesResult(
|
|
101
114
|
id=pulumi.get(__ret__, 'id'),
|
|
115
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
102
116
|
shares=pulumi.get(__ret__, 'shares'))
|
|
103
|
-
def get_shares_output(
|
|
117
|
+
def get_shares_output(provider_config: Optional[pulumi.Input[Optional[Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict']]]] = None,
|
|
118
|
+
shares: Optional[pulumi.Input[Optional[Sequence[_builtins.str]]]] = None,
|
|
104
119
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetSharesResult]:
|
|
105
120
|
"""
|
|
106
121
|
Retrieves a list of Share name, that were created by Pulumi or manually.
|
|
@@ -128,12 +143,15 @@ def get_shares_output(shares: Optional[pulumi.Input[Optional[Sequence[builtins.s
|
|
|
128
143
|
* Grants to manage Delta Sharing permissions.
|
|
129
144
|
|
|
130
145
|
|
|
131
|
-
:param
|
|
146
|
+
:param Union['GetSharesProviderConfigArgs', 'GetSharesProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
147
|
+
:param Sequence[_builtins.str] shares: list of Share names.
|
|
132
148
|
"""
|
|
133
149
|
__args__ = dict()
|
|
150
|
+
__args__['providerConfig'] = provider_config
|
|
134
151
|
__args__['shares'] = shares
|
|
135
152
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
136
153
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getShares:getShares', __args__, opts=opts, typ=GetSharesResult)
|
|
137
154
|
return __ret__.apply(lambda __response__: GetSharesResult(
|
|
138
155
|
id=pulumi.get(__response__, 'id'),
|
|
156
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
139
157
|
shares=pulumi.get(__response__, 'shares')))
|