pulumi-databricks 1.74.0a1753335781__py3-none-any.whl → 1.77.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_databricks/__init__.py +185 -12
- pulumi_databricks/_inputs.py +30467 -20225
- pulumi_databricks/access_control_rule_set.py +28 -29
- pulumi_databricks/account_federation_policy.py +473 -0
- pulumi_databricks/account_network_policy.py +74 -43
- pulumi_databricks/account_setting_v2.py +759 -0
- pulumi_databricks/aibi_dashboard_embedding_access_policy_setting.py +30 -31
- pulumi_databricks/aibi_dashboard_embedding_approved_domains_setting.py +30 -31
- pulumi_databricks/alert.py +185 -186
- pulumi_databricks/alert_v2.py +369 -211
- pulumi_databricks/app.py +315 -209
- pulumi_databricks/apps_settings_custom_template.py +531 -0
- pulumi_databricks/artifact_allowlist.py +72 -73
- pulumi_databricks/automatic_cluster_update_workspace_setting.py +30 -31
- pulumi_databricks/budget.py +84 -85
- pulumi_databricks/budget_policy.py +75 -53
- pulumi_databricks/catalog.py +544 -225
- pulumi_databricks/catalog_workspace_binding.py +82 -83
- pulumi_databricks/cluster.py +561 -683
- pulumi_databricks/cluster_policy.py +115 -116
- pulumi_databricks/compliance_security_profile_workspace_setting.py +30 -31
- pulumi_databricks/config/__init__.py +1 -1
- pulumi_databricks/config/__init__.pyi +3 -2
- pulumi_databricks/config/vars.py +40 -37
- pulumi_databricks/connection.py +346 -211
- pulumi_databricks/credential.py +262 -263
- pulumi_databricks/custom_app_integration.py +175 -176
- pulumi_databricks/dashboard.py +207 -208
- pulumi_databricks/data_quality_monitor.py +453 -0
- pulumi_databricks/data_quality_refresh.py +492 -0
- pulumi_databricks/database_database_catalog.py +437 -0
- pulumi_databricks/database_instance.py +938 -137
- pulumi_databricks/database_synced_database_table.py +589 -0
- pulumi_databricks/dbfs_file.py +87 -84
- pulumi_databricks/default_namespace_setting.py +30 -31
- pulumi_databricks/directory.py +61 -62
- pulumi_databricks/disable_legacy_access_setting.py +109 -33
- pulumi_databricks/disable_legacy_dbfs_setting.py +58 -39
- pulumi_databricks/disable_legacy_features_setting.py +62 -37
- pulumi_databricks/enhanced_security_monitoring_workspace_setting.py +30 -31
- pulumi_databricks/entitlements.py +148 -149
- pulumi_databricks/entity_tag_assignment.py +409 -0
- pulumi_databricks/external_location.py +276 -290
- pulumi_databricks/external_metadata.py +726 -0
- pulumi_databricks/feature_engineering_feature.py +480 -0
- pulumi_databricks/feature_engineering_materialized_feature.py +397 -0
- pulumi_databricks/file.py +96 -97
- pulumi_databricks/get_account_federation_policies.py +127 -0
- pulumi_databricks/get_account_federation_policy.py +214 -0
- pulumi_databricks/get_account_network_policies.py +36 -7
- pulumi_databricks/get_account_network_policy.py +33 -29
- pulumi_databricks/get_account_setting_v2.py +331 -0
- pulumi_databricks/get_alert_v2.py +100 -84
- pulumi_databricks/get_alerts_v2.py +35 -17
- pulumi_databricks/get_app.py +31 -20
- pulumi_databricks/get_apps.py +26 -15
- pulumi_databricks/get_apps_settings_custom_template.py +207 -0
- pulumi_databricks/get_apps_settings_custom_templates.py +133 -0
- pulumi_databricks/get_aws_assume_role_policy.py +27 -28
- pulumi_databricks/get_aws_bucket_policy.py +39 -40
- pulumi_databricks/get_aws_cross_account_policy.py +47 -48
- pulumi_databricks/get_aws_unity_catalog_assume_role_policy.py +35 -36
- pulumi_databricks/get_aws_unity_catalog_policy.py +35 -36
- pulumi_databricks/get_budget_policies.py +74 -11
- pulumi_databricks/get_budget_policy.py +43 -39
- pulumi_databricks/get_catalog.py +35 -19
- pulumi_databricks/get_catalogs.py +32 -14
- pulumi_databricks/get_cluster.py +41 -25
- pulumi_databricks/get_cluster_policy.py +72 -54
- pulumi_databricks/get_clusters.py +41 -25
- pulumi_databricks/get_current_config.py +23 -24
- pulumi_databricks/get_current_metastore.py +29 -13
- pulumi_databricks/get_current_user.py +17 -18
- pulumi_databricks/get_dashboards.py +34 -15
- pulumi_databricks/get_data_quality_monitor.py +210 -0
- pulumi_databricks/get_data_quality_monitors.py +143 -0
- pulumi_databricks/get_data_quality_refresh.py +270 -0
- pulumi_databricks/get_data_quality_refreshes.py +207 -0
- pulumi_databricks/get_database_database_catalog.py +176 -0
- pulumi_databricks/get_database_database_catalogs.py +120 -0
- pulumi_databricks/get_database_instance.py +274 -50
- pulumi_databricks/get_database_instances.py +35 -11
- pulumi_databricks/get_database_synced_database_table.py +225 -0
- pulumi_databricks/get_database_synced_database_tables.py +120 -0
- pulumi_databricks/get_dbfs_file.py +19 -20
- pulumi_databricks/get_dbfs_file_paths.py +16 -17
- pulumi_databricks/get_directory.py +43 -25
- pulumi_databricks/get_entity_tag_assignment.py +202 -0
- pulumi_databricks/get_entity_tag_assignments.py +187 -0
- pulumi_databricks/get_external_location.py +35 -19
- pulumi_databricks/get_external_locations.py +32 -14
- pulumi_databricks/get_external_metadata.py +292 -0
- pulumi_databricks/get_external_metadatas.py +135 -0
- pulumi_databricks/get_feature_engineering_feature.py +179 -0
- pulumi_databricks/get_feature_engineering_features.py +103 -0
- pulumi_databricks/get_feature_engineering_materialized_feature.py +180 -0
- pulumi_databricks/get_feature_engineering_materialized_features.py +123 -0
- pulumi_databricks/get_functions.py +38 -24
- pulumi_databricks/get_group.py +85 -86
- pulumi_databricks/get_instance_pool.py +10 -11
- pulumi_databricks/get_instance_profiles.py +25 -9
- pulumi_databricks/get_job.py +22 -23
- pulumi_databricks/get_jobs.py +44 -26
- pulumi_databricks/get_materialized_features_feature_tag.py +102 -0
- pulumi_databricks/get_materialized_features_feature_tags.py +133 -0
- pulumi_databricks/get_metastore.py +28 -29
- pulumi_databricks/get_metastores.py +9 -10
- pulumi_databricks/get_mlflow_experiment.py +62 -46
- pulumi_databricks/get_mlflow_model.py +47 -31
- pulumi_databricks/get_mlflow_models.py +32 -14
- pulumi_databricks/get_mws_credentials.py +9 -10
- pulumi_databricks/get_mws_network_connectivity_config.py +40 -41
- pulumi_databricks/get_mws_network_connectivity_configs.py +15 -16
- pulumi_databricks/get_mws_workspaces.py +5 -6
- pulumi_databricks/get_node_type.py +123 -87
- pulumi_databricks/get_notebook.py +37 -38
- pulumi_databricks/get_notebook_paths.py +16 -17
- pulumi_databricks/get_notification_destinations.py +33 -18
- pulumi_databricks/get_online_store.py +36 -27
- pulumi_databricks/get_online_stores.py +33 -13
- pulumi_databricks/get_pipelines.py +49 -31
- pulumi_databricks/get_policy_info.py +338 -0
- pulumi_databricks/get_policy_infos.py +169 -0
- pulumi_databricks/get_quality_monitor_v2.py +21 -18
- pulumi_databricks/get_quality_monitors_v2.py +26 -8
- pulumi_databricks/get_registered_model.py +41 -27
- pulumi_databricks/get_registered_model_versions.py +29 -15
- pulumi_databricks/get_rfa_access_request_destinations.py +126 -0
- pulumi_databricks/get_schema.py +32 -16
- pulumi_databricks/get_schemas.py +38 -20
- pulumi_databricks/get_service_principal.py +80 -58
- pulumi_databricks/get_service_principal_federation_policies.py +151 -0
- pulumi_databricks/get_service_principal_federation_policy.py +220 -0
- pulumi_databricks/get_service_principals.py +16 -17
- pulumi_databricks/get_serving_endpoints.py +23 -9
- pulumi_databricks/get_share.py +130 -32
- pulumi_databricks/get_shares.py +29 -11
- pulumi_databricks/get_spark_version.py +87 -69
- pulumi_databricks/get_sql_warehouse.py +124 -110
- pulumi_databricks/get_sql_warehouses.py +37 -19
- pulumi_databricks/get_storage_credential.py +32 -16
- pulumi_databricks/get_storage_credentials.py +32 -14
- pulumi_databricks/get_table.py +30 -14
- pulumi_databricks/get_tables.py +41 -23
- pulumi_databricks/get_tag_policies.py +139 -0
- pulumi_databricks/get_tag_policy.py +175 -0
- pulumi_databricks/get_user.py +33 -34
- pulumi_databricks/get_views.py +41 -23
- pulumi_databricks/get_volume.py +32 -16
- pulumi_databricks/get_volumes.py +41 -23
- pulumi_databricks/get_workspace_network_option.py +45 -26
- pulumi_databricks/get_workspace_setting_v2.py +331 -0
- pulumi_databricks/get_zones.py +39 -21
- pulumi_databricks/git_credential.py +242 -76
- pulumi_databricks/global_init_script.py +99 -100
- pulumi_databricks/grant.py +215 -212
- pulumi_databricks/grants.py +200 -211
- pulumi_databricks/group.py +176 -177
- pulumi_databricks/group_instance_profile.py +37 -38
- pulumi_databricks/group_member.py +37 -38
- pulumi_databricks/group_role.py +37 -38
- pulumi_databricks/instance_pool.py +168 -169
- pulumi_databricks/instance_profile.py +69 -70
- pulumi_databricks/ip_access_list.py +71 -72
- pulumi_databricks/job.py +426 -346
- pulumi_databricks/lakehouse_monitor.py +199 -200
- pulumi_databricks/library.py +264 -99
- pulumi_databricks/materialized_features_feature_tag.py +213 -0
- pulumi_databricks/metastore.py +254 -255
- pulumi_databricks/metastore_assignment.py +52 -53
- pulumi_databricks/metastore_data_access.py +153 -154
- pulumi_databricks/metastore_provider.py +69 -70
- pulumi_databricks/mlflow_experiment.py +108 -109
- pulumi_databricks/mlflow_model.py +45 -46
- pulumi_databricks/mlflow_webhook.py +75 -76
- pulumi_databricks/model_serving.py +195 -74
- pulumi_databricks/model_serving_provisioned_throughput.py +100 -54
- pulumi_databricks/mount.py +103 -104
- pulumi_databricks/mws_credentials.py +99 -100
- pulumi_databricks/mws_customer_managed_keys.py +75 -76
- pulumi_databricks/mws_log_delivery.py +188 -189
- pulumi_databricks/mws_ncc_binding.py +35 -36
- pulumi_databricks/mws_ncc_private_endpoint_rule.py +312 -289
- pulumi_databricks/mws_network_connectivity_config.py +136 -98
- pulumi_databricks/mws_networks.py +159 -160
- pulumi_databricks/mws_permission_assignment.py +70 -71
- pulumi_databricks/mws_private_access_settings.py +116 -117
- pulumi_databricks/mws_storage_configurations.py +74 -75
- pulumi_databricks/mws_vpc_endpoint.py +149 -150
- pulumi_databricks/mws_workspaces.py +464 -418
- pulumi_databricks/notebook.py +143 -144
- pulumi_databricks/notification_destination.py +38 -39
- pulumi_databricks/obo_token.py +63 -64
- pulumi_databricks/online_store.py +121 -70
- pulumi_databricks/online_table.py +41 -42
- pulumi_databricks/outputs.py +47821 -30802
- pulumi_databricks/permission_assignment.py +298 -57
- pulumi_databricks/permissions.py +523 -362
- pulumi_databricks/pipeline.py +515 -480
- pulumi_databricks/policy_info.py +916 -0
- pulumi_databricks/provider.py +283 -269
- pulumi_databricks/pulumi-plugin.json +1 -1
- pulumi_databricks/quality_monitor.py +263 -217
- pulumi_databricks/quality_monitor_v2.py +49 -46
- pulumi_databricks/query.py +227 -228
- pulumi_databricks/recipient.py +208 -209
- pulumi_databricks/registered_model.py +393 -122
- pulumi_databricks/repo.py +117 -118
- pulumi_databricks/restrict_workspace_admins_setting.py +30 -31
- pulumi_databricks/rfa_access_request_destinations.py +286 -0
- pulumi_databricks/schema.py +159 -160
- pulumi_databricks/secret.py +72 -73
- pulumi_databricks/secret_acl.py +52 -53
- pulumi_databricks/secret_scope.py +55 -56
- pulumi_databricks/service_principal.py +279 -278
- pulumi_databricks/service_principal_federation_policy.py +469 -0
- pulumi_databricks/service_principal_role.py +35 -36
- pulumi_databricks/service_principal_secret.py +156 -157
- pulumi_databricks/share.py +186 -187
- pulumi_databricks/sql_alert.py +98 -99
- pulumi_databricks/sql_dashboard.py +94 -95
- pulumi_databricks/sql_endpoint.py +298 -266
- pulumi_databricks/sql_global_config.py +103 -104
- pulumi_databricks/sql_permissions.py +121 -122
- pulumi_databricks/sql_query.py +150 -151
- pulumi_databricks/sql_table.py +310 -283
- pulumi_databricks/sql_visualization.py +92 -93
- pulumi_databricks/sql_widget.py +91 -88
- pulumi_databricks/storage_credential.py +236 -184
- pulumi_databricks/system_schema.py +50 -51
- pulumi_databricks/table.py +147 -148
- pulumi_databricks/tag_policy.py +357 -0
- pulumi_databricks/token.py +83 -84
- pulumi_databricks/user.py +284 -285
- pulumi_databricks/user_instance_profile.py +35 -36
- pulumi_databricks/user_role.py +35 -36
- pulumi_databricks/vector_search_endpoint.py +117 -118
- pulumi_databricks/vector_search_index.py +86 -87
- pulumi_databricks/volume.py +129 -130
- pulumi_databricks/workspace_binding.py +82 -131
- pulumi_databricks/workspace_conf.py +18 -19
- pulumi_databricks/workspace_file.py +100 -101
- pulumi_databricks/workspace_network_option.py +89 -40
- pulumi_databricks/workspace_setting_v2.py +759 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/METADATA +1 -1
- pulumi_databricks-1.77.0.dist-info/RECORD +250 -0
- pulumi_databricks/get_recipient_federation_policies.py +0 -83
- pulumi_databricks/get_recipient_federation_policy.py +0 -166
- pulumi_databricks/recipient_federation_policy.py +0 -347
- pulumi_databricks-1.74.0a1753335781.dist-info/RECORD +0 -205
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/WHEEL +0 -0
- {pulumi_databricks-1.74.0a1753335781.dist-info → pulumi_databricks-1.77.0.dist-info}/top_level.txt +0 -0
|
@@ -2,8 +2,7 @@
|
|
|
2
2
|
# *** WARNING: this file was generated by pulumi-language-python. ***
|
|
3
3
|
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
4
|
|
|
5
|
-
import builtins
|
|
6
|
-
import copy
|
|
5
|
+
import builtins as _builtins
|
|
7
6
|
import warnings
|
|
8
7
|
import sys
|
|
9
8
|
import pulumi
|
|
@@ -46,20 +45,20 @@ class GetMetastoreResult:
|
|
|
46
45
|
raise TypeError("Expected argument 'region' to be a str")
|
|
47
46
|
pulumi.set(__self__, "region", region)
|
|
48
47
|
|
|
49
|
-
@property
|
|
48
|
+
@_builtins.property
|
|
50
49
|
@pulumi.getter
|
|
51
|
-
def id(self) ->
|
|
50
|
+
def id(self) -> _builtins.str:
|
|
52
51
|
"""
|
|
53
52
|
ID of the metastore
|
|
54
53
|
"""
|
|
55
54
|
return pulumi.get(self, "id")
|
|
56
55
|
|
|
57
|
-
@property
|
|
56
|
+
@_builtins.property
|
|
58
57
|
@pulumi.getter(name="metastoreId")
|
|
59
|
-
def metastore_id(self) ->
|
|
58
|
+
def metastore_id(self) -> _builtins.str:
|
|
60
59
|
return pulumi.get(self, "metastore_id")
|
|
61
60
|
|
|
62
|
-
@property
|
|
61
|
+
@_builtins.property
|
|
63
62
|
@pulumi.getter(name="metastoreInfo")
|
|
64
63
|
def metastore_info(self) -> 'outputs.GetMetastoreMetastoreInfoResult':
|
|
65
64
|
"""
|
|
@@ -67,17 +66,17 @@ class GetMetastoreResult:
|
|
|
67
66
|
"""
|
|
68
67
|
return pulumi.get(self, "metastore_info")
|
|
69
68
|
|
|
70
|
-
@property
|
|
69
|
+
@_builtins.property
|
|
71
70
|
@pulumi.getter
|
|
72
|
-
def name(self) ->
|
|
71
|
+
def name(self) -> _builtins.str:
|
|
73
72
|
"""
|
|
74
73
|
Name of metastore.
|
|
75
74
|
"""
|
|
76
75
|
return pulumi.get(self, "name")
|
|
77
76
|
|
|
78
|
-
@property
|
|
77
|
+
@_builtins.property
|
|
79
78
|
@pulumi.getter
|
|
80
|
-
def region(self) ->
|
|
79
|
+
def region(self) -> _builtins.str:
|
|
81
80
|
return pulumi.get(self, "region")
|
|
82
81
|
|
|
83
82
|
|
|
@@ -94,11 +93,11 @@ class AwaitableGetMetastoreResult(GetMetastoreResult):
|
|
|
94
93
|
region=self.region)
|
|
95
94
|
|
|
96
95
|
|
|
97
|
-
def get_metastore(id: Optional[
|
|
98
|
-
metastore_id: Optional[
|
|
96
|
+
def get_metastore(id: Optional[_builtins.str] = None,
|
|
97
|
+
metastore_id: Optional[_builtins.str] = None,
|
|
99
98
|
metastore_info: Optional[Union['GetMetastoreMetastoreInfoArgs', 'GetMetastoreMetastoreInfoArgsDict']] = None,
|
|
100
|
-
name: Optional[
|
|
101
|
-
region: Optional[
|
|
99
|
+
name: Optional[_builtins.str] = None,
|
|
100
|
+
region: Optional[_builtins.str] = None,
|
|
102
101
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMetastoreResult:
|
|
103
102
|
"""
|
|
104
103
|
Retrieves information about metastore for a given id of Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -114,7 +113,7 @@ def get_metastore(id: Optional[builtins.str] = None,
|
|
|
114
113
|
import pulumi_aws as aws
|
|
115
114
|
import pulumi_databricks as databricks
|
|
116
115
|
|
|
117
|
-
metastore = aws.s3.
|
|
116
|
+
metastore = aws.s3.Bucket("metastore",
|
|
118
117
|
bucket=f"{prefix}-metastore",
|
|
119
118
|
force_destroy=True)
|
|
120
119
|
this_metastore = databricks.Metastore("this",
|
|
@@ -135,11 +134,11 @@ def get_metastore(id: Optional[builtins.str] = None,
|
|
|
135
134
|
* Catalog to manage catalogs within Unity Catalog.
|
|
136
135
|
|
|
137
136
|
|
|
138
|
-
:param
|
|
139
|
-
:param
|
|
137
|
+
:param _builtins.str id: ID of the metastore
|
|
138
|
+
:param _builtins.str metastore_id: ID of the metastore
|
|
140
139
|
:param Union['GetMetastoreMetastoreInfoArgs', 'GetMetastoreMetastoreInfoArgsDict'] metastore_info: MetastoreInfo object for a databricks_metastore. This contains the following attributes:
|
|
141
|
-
:param
|
|
142
|
-
:param
|
|
140
|
+
:param _builtins.str name: Name of the metastore
|
|
141
|
+
:param _builtins.str region: Region of the metastore
|
|
143
142
|
"""
|
|
144
143
|
__args__ = dict()
|
|
145
144
|
__args__['id'] = id
|
|
@@ -156,11 +155,11 @@ def get_metastore(id: Optional[builtins.str] = None,
|
|
|
156
155
|
metastore_info=pulumi.get(__ret__, 'metastore_info'),
|
|
157
156
|
name=pulumi.get(__ret__, 'name'),
|
|
158
157
|
region=pulumi.get(__ret__, 'region'))
|
|
159
|
-
def get_metastore_output(id: Optional[pulumi.Input[Optional[
|
|
160
|
-
metastore_id: Optional[pulumi.Input[Optional[
|
|
158
|
+
def get_metastore_output(id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
159
|
+
metastore_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
161
160
|
metastore_info: Optional[pulumi.Input[Optional[Union['GetMetastoreMetastoreInfoArgs', 'GetMetastoreMetastoreInfoArgsDict']]]] = None,
|
|
162
|
-
name: Optional[pulumi.Input[Optional[
|
|
163
|
-
region: Optional[pulumi.Input[Optional[
|
|
161
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
162
|
+
region: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
164
163
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetastoreResult]:
|
|
165
164
|
"""
|
|
166
165
|
Retrieves information about metastore for a given id of Metastore object, that was created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -176,7 +175,7 @@ def get_metastore_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = No
|
|
|
176
175
|
import pulumi_aws as aws
|
|
177
176
|
import pulumi_databricks as databricks
|
|
178
177
|
|
|
179
|
-
metastore = aws.s3.
|
|
178
|
+
metastore = aws.s3.Bucket("metastore",
|
|
180
179
|
bucket=f"{prefix}-metastore",
|
|
181
180
|
force_destroy=True)
|
|
182
181
|
this_metastore = databricks.Metastore("this",
|
|
@@ -197,11 +196,11 @@ def get_metastore_output(id: Optional[pulumi.Input[Optional[builtins.str]]] = No
|
|
|
197
196
|
* Catalog to manage catalogs within Unity Catalog.
|
|
198
197
|
|
|
199
198
|
|
|
200
|
-
:param
|
|
201
|
-
:param
|
|
199
|
+
:param _builtins.str id: ID of the metastore
|
|
200
|
+
:param _builtins.str metastore_id: ID of the metastore
|
|
202
201
|
:param Union['GetMetastoreMetastoreInfoArgs', 'GetMetastoreMetastoreInfoArgsDict'] metastore_info: MetastoreInfo object for a databricks_metastore. This contains the following attributes:
|
|
203
|
-
:param
|
|
204
|
-
:param
|
|
202
|
+
:param _builtins.str name: Name of the metastore
|
|
203
|
+
:param _builtins.str region: Region of the metastore
|
|
205
204
|
"""
|
|
206
205
|
__args__ = dict()
|
|
207
206
|
__args__['id'] = id
|
|
@@ -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
|
|
@@ -35,17 +34,17 @@ class GetMetastoresResult:
|
|
|
35
34
|
raise TypeError("Expected argument 'ids' to be a dict")
|
|
36
35
|
pulumi.set(__self__, "ids", ids)
|
|
37
36
|
|
|
38
|
-
@property
|
|
37
|
+
@_builtins.property
|
|
39
38
|
@pulumi.getter
|
|
40
|
-
def id(self) ->
|
|
39
|
+
def id(self) -> _builtins.str:
|
|
41
40
|
"""
|
|
42
41
|
The provider-assigned unique ID for this managed resource.
|
|
43
42
|
"""
|
|
44
43
|
return pulumi.get(self, "id")
|
|
45
44
|
|
|
46
|
-
@property
|
|
45
|
+
@_builtins.property
|
|
47
46
|
@pulumi.getter
|
|
48
|
-
def ids(self) -> Mapping[str,
|
|
47
|
+
def ids(self) -> Mapping[str, _builtins.str]:
|
|
49
48
|
"""
|
|
50
49
|
Mapping of name to id of databricks_metastore
|
|
51
50
|
"""
|
|
@@ -62,7 +61,7 @@ class AwaitableGetMetastoresResult(GetMetastoresResult):
|
|
|
62
61
|
ids=self.ids)
|
|
63
62
|
|
|
64
63
|
|
|
65
|
-
def get_metastores(ids: Optional[Mapping[str,
|
|
64
|
+
def get_metastores(ids: Optional[Mapping[str, _builtins.str]] = None,
|
|
66
65
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMetastoresResult:
|
|
67
66
|
"""
|
|
68
67
|
Retrieves a mapping of name to id of Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -92,7 +91,7 @@ def get_metastores(ids: Optional[Mapping[str, builtins.str]] = None,
|
|
|
92
91
|
* Catalog to manage catalogs within Unity Catalog.
|
|
93
92
|
|
|
94
93
|
|
|
95
|
-
:param Mapping[str,
|
|
94
|
+
:param Mapping[str, _builtins.str] ids: Mapping of name to id of databricks_metastore
|
|
96
95
|
"""
|
|
97
96
|
__args__ = dict()
|
|
98
97
|
__args__['ids'] = ids
|
|
@@ -102,7 +101,7 @@ def get_metastores(ids: Optional[Mapping[str, builtins.str]] = None,
|
|
|
102
101
|
return AwaitableGetMetastoresResult(
|
|
103
102
|
id=pulumi.get(__ret__, 'id'),
|
|
104
103
|
ids=pulumi.get(__ret__, 'ids'))
|
|
105
|
-
def get_metastores_output(ids: Optional[pulumi.Input[Optional[Mapping[str,
|
|
104
|
+
def get_metastores_output(ids: Optional[pulumi.Input[Optional[Mapping[str, _builtins.str]]]] = None,
|
|
106
105
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMetastoresResult]:
|
|
107
106
|
"""
|
|
108
107
|
Retrieves a mapping of name to id of Metastore objects, that were created by Pulumi or manually, so that special handling could be applied.
|
|
@@ -132,7 +131,7 @@ def get_metastores_output(ids: Optional[pulumi.Input[Optional[Mapping[str, built
|
|
|
132
131
|
* Catalog to manage catalogs within Unity Catalog.
|
|
133
132
|
|
|
134
133
|
|
|
135
|
-
:param Mapping[str,
|
|
134
|
+
:param Mapping[str, _builtins.str] ids: Mapping of name to id of databricks_metastore
|
|
136
135
|
"""
|
|
137
136
|
__args__ = dict()
|
|
138
137
|
__args__['ids'] = ids
|
|
@@ -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,7 +28,7 @@ class GetMlflowExperimentResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getMlflowExperiment.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, artifact_location=None, creation_time=None, experiment_id=None, id=None, last_update_time=None, lifecycle_stage=None, name=None, tags=None):
|
|
31
|
+
def __init__(__self__, artifact_location=None, creation_time=None, experiment_id=None, id=None, last_update_time=None, lifecycle_stage=None, name=None, provider_config=None, tags=None):
|
|
33
32
|
if artifact_location and not isinstance(artifact_location, str):
|
|
34
33
|
raise TypeError("Expected argument 'artifact_location' to be a str")
|
|
35
34
|
pulumi.set(__self__, "artifact_location", artifact_location)
|
|
@@ -51,67 +50,75 @@ class GetMlflowExperimentResult:
|
|
|
51
50
|
if name and not isinstance(name, str):
|
|
52
51
|
raise TypeError("Expected argument 'name' to be a str")
|
|
53
52
|
pulumi.set(__self__, "name", name)
|
|
53
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
54
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
55
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
54
56
|
if tags and not isinstance(tags, list):
|
|
55
57
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
56
58
|
pulumi.set(__self__, "tags", tags)
|
|
57
59
|
|
|
58
|
-
@property
|
|
60
|
+
@_builtins.property
|
|
59
61
|
@pulumi.getter(name="artifactLocation")
|
|
60
|
-
def artifact_location(self) ->
|
|
62
|
+
def artifact_location(self) -> _builtins.str:
|
|
61
63
|
"""
|
|
62
64
|
Location where artifacts for the experiment are stored.
|
|
63
65
|
"""
|
|
64
66
|
return pulumi.get(self, "artifact_location")
|
|
65
67
|
|
|
66
|
-
@property
|
|
68
|
+
@_builtins.property
|
|
67
69
|
@pulumi.getter(name="creationTime")
|
|
68
|
-
def creation_time(self) ->
|
|
70
|
+
def creation_time(self) -> _builtins.int:
|
|
69
71
|
"""
|
|
70
72
|
Creation time in unix time stamp.
|
|
71
73
|
"""
|
|
72
74
|
return pulumi.get(self, "creation_time")
|
|
73
75
|
|
|
74
|
-
@property
|
|
76
|
+
@_builtins.property
|
|
75
77
|
@pulumi.getter(name="experimentId")
|
|
76
|
-
def experiment_id(self) ->
|
|
78
|
+
def experiment_id(self) -> _builtins.str:
|
|
77
79
|
"""
|
|
78
80
|
Unique identifier for the experiment. (same as `id`)
|
|
79
81
|
"""
|
|
80
82
|
return pulumi.get(self, "experiment_id")
|
|
81
83
|
|
|
82
|
-
@property
|
|
84
|
+
@_builtins.property
|
|
83
85
|
@pulumi.getter
|
|
84
|
-
def id(self) ->
|
|
86
|
+
def id(self) -> _builtins.str:
|
|
85
87
|
"""
|
|
86
88
|
Unique identifier for the experiment. (same as `experiment_id`)
|
|
87
89
|
"""
|
|
88
90
|
return pulumi.get(self, "id")
|
|
89
91
|
|
|
90
|
-
@property
|
|
92
|
+
@_builtins.property
|
|
91
93
|
@pulumi.getter(name="lastUpdateTime")
|
|
92
|
-
def last_update_time(self) ->
|
|
94
|
+
def last_update_time(self) -> _builtins.int:
|
|
93
95
|
"""
|
|
94
96
|
Last update time in unix time stamp.
|
|
95
97
|
"""
|
|
96
98
|
return pulumi.get(self, "last_update_time")
|
|
97
99
|
|
|
98
|
-
@property
|
|
100
|
+
@_builtins.property
|
|
99
101
|
@pulumi.getter(name="lifecycleStage")
|
|
100
|
-
def lifecycle_stage(self) ->
|
|
102
|
+
def lifecycle_stage(self) -> _builtins.str:
|
|
101
103
|
"""
|
|
102
104
|
Current life cycle stage of the experiment: `active` or `deleted`.
|
|
103
105
|
"""
|
|
104
106
|
return pulumi.get(self, "lifecycle_stage")
|
|
105
107
|
|
|
106
|
-
@property
|
|
108
|
+
@_builtins.property
|
|
107
109
|
@pulumi.getter
|
|
108
|
-
def name(self) ->
|
|
110
|
+
def name(self) -> _builtins.str:
|
|
109
111
|
"""
|
|
110
112
|
Path to experiment.
|
|
111
113
|
"""
|
|
112
114
|
return pulumi.get(self, "name")
|
|
113
115
|
|
|
114
|
-
@property
|
|
116
|
+
@_builtins.property
|
|
117
|
+
@pulumi.getter(name="providerConfig")
|
|
118
|
+
def provider_config(self) -> Optional['outputs.GetMlflowExperimentProviderConfigResult']:
|
|
119
|
+
return pulumi.get(self, "provider_config")
|
|
120
|
+
|
|
121
|
+
@_builtins.property
|
|
115
122
|
@pulumi.getter
|
|
116
123
|
def tags(self) -> Sequence['outputs.GetMlflowExperimentTagResult']:
|
|
117
124
|
"""
|
|
@@ -133,16 +140,18 @@ class AwaitableGetMlflowExperimentResult(GetMlflowExperimentResult):
|
|
|
133
140
|
last_update_time=self.last_update_time,
|
|
134
141
|
lifecycle_stage=self.lifecycle_stage,
|
|
135
142
|
name=self.name,
|
|
143
|
+
provider_config=self.provider_config,
|
|
136
144
|
tags=self.tags)
|
|
137
145
|
|
|
138
146
|
|
|
139
|
-
def get_mlflow_experiment(artifact_location: Optional[
|
|
140
|
-
creation_time: Optional[
|
|
141
|
-
experiment_id: Optional[
|
|
142
|
-
id: Optional[
|
|
143
|
-
last_update_time: Optional[
|
|
144
|
-
lifecycle_stage: Optional[
|
|
145
|
-
name: Optional[
|
|
147
|
+
def get_mlflow_experiment(artifact_location: Optional[_builtins.str] = None,
|
|
148
|
+
creation_time: Optional[_builtins.int] = None,
|
|
149
|
+
experiment_id: Optional[_builtins.str] = None,
|
|
150
|
+
id: Optional[_builtins.str] = None,
|
|
151
|
+
last_update_time: Optional[_builtins.int] = None,
|
|
152
|
+
lifecycle_stage: Optional[_builtins.str] = None,
|
|
153
|
+
name: Optional[_builtins.str] = None,
|
|
154
|
+
provider_config: Optional[Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict']] = None,
|
|
146
155
|
tags: Optional[Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']]] = None,
|
|
147
156
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowExperimentResult:
|
|
148
157
|
"""
|
|
@@ -151,13 +160,14 @@ def get_mlflow_experiment(artifact_location: Optional[builtins.str] = None,
|
|
|
151
160
|
> This data source can only be used with a workspace-level provider!
|
|
152
161
|
|
|
153
162
|
|
|
154
|
-
:param
|
|
155
|
-
:param
|
|
156
|
-
:param
|
|
157
|
-
:param
|
|
158
|
-
:param
|
|
159
|
-
:param
|
|
160
|
-
:param
|
|
163
|
+
:param _builtins.str artifact_location: Location where artifacts for the experiment are stored.
|
|
164
|
+
:param _builtins.int creation_time: Creation time in unix time stamp.
|
|
165
|
+
:param _builtins.str experiment_id: Unique identifier for the experiment.
|
|
166
|
+
:param _builtins.str id: Unique identifier for the experiment. (same as `experiment_id`)
|
|
167
|
+
:param _builtins.int last_update_time: Last update time in unix time stamp.
|
|
168
|
+
:param _builtins.str lifecycle_stage: Current life cycle stage of the experiment: `active` or `deleted`.
|
|
169
|
+
:param _builtins.str name: Path to experiment.
|
|
170
|
+
:param Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
161
171
|
:param Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']] tags: Additional metadata key-value pairs.
|
|
162
172
|
"""
|
|
163
173
|
__args__ = dict()
|
|
@@ -168,6 +178,7 @@ def get_mlflow_experiment(artifact_location: Optional[builtins.str] = None,
|
|
|
168
178
|
__args__['lastUpdateTime'] = last_update_time
|
|
169
179
|
__args__['lifecycleStage'] = lifecycle_stage
|
|
170
180
|
__args__['name'] = name
|
|
181
|
+
__args__['providerConfig'] = provider_config
|
|
171
182
|
__args__['tags'] = tags
|
|
172
183
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
173
184
|
__ret__ = pulumi.runtime.invoke('databricks:index/getMlflowExperiment:getMlflowExperiment', __args__, opts=opts, typ=GetMlflowExperimentResult).value
|
|
@@ -180,14 +191,16 @@ def get_mlflow_experiment(artifact_location: Optional[builtins.str] = None,
|
|
|
180
191
|
last_update_time=pulumi.get(__ret__, 'last_update_time'),
|
|
181
192
|
lifecycle_stage=pulumi.get(__ret__, 'lifecycle_stage'),
|
|
182
193
|
name=pulumi.get(__ret__, 'name'),
|
|
194
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
183
195
|
tags=pulumi.get(__ret__, 'tags'))
|
|
184
|
-
def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Optional[
|
|
185
|
-
creation_time: Optional[pulumi.Input[Optional[
|
|
186
|
-
experiment_id: Optional[pulumi.Input[Optional[
|
|
187
|
-
id: Optional[pulumi.Input[Optional[
|
|
188
|
-
last_update_time: Optional[pulumi.Input[Optional[
|
|
189
|
-
lifecycle_stage: Optional[pulumi.Input[Optional[
|
|
190
|
-
name: Optional[pulumi.Input[Optional[
|
|
196
|
+
def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
197
|
+
creation_time: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
198
|
+
experiment_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
199
|
+
id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
200
|
+
last_update_time: Optional[pulumi.Input[Optional[_builtins.int]]] = None,
|
|
201
|
+
lifecycle_stage: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
202
|
+
name: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
203
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict']]]] = None,
|
|
191
204
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']]]]] = None,
|
|
192
205
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowExperimentResult]:
|
|
193
206
|
"""
|
|
@@ -196,13 +209,14 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
196
209
|
> This data source can only be used with a workspace-level provider!
|
|
197
210
|
|
|
198
211
|
|
|
199
|
-
:param
|
|
200
|
-
:param
|
|
201
|
-
:param
|
|
202
|
-
:param
|
|
203
|
-
:param
|
|
204
|
-
:param
|
|
205
|
-
:param
|
|
212
|
+
:param _builtins.str artifact_location: Location where artifacts for the experiment are stored.
|
|
213
|
+
:param _builtins.int creation_time: Creation time in unix time stamp.
|
|
214
|
+
:param _builtins.str experiment_id: Unique identifier for the experiment.
|
|
215
|
+
:param _builtins.str id: Unique identifier for the experiment. (same as `experiment_id`)
|
|
216
|
+
:param _builtins.int last_update_time: Last update time in unix time stamp.
|
|
217
|
+
:param _builtins.str lifecycle_stage: Current life cycle stage of the experiment: `active` or `deleted`.
|
|
218
|
+
:param _builtins.str name: Path to experiment.
|
|
219
|
+
:param Union['GetMlflowExperimentProviderConfigArgs', 'GetMlflowExperimentProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
206
220
|
:param Sequence[Union['GetMlflowExperimentTagArgs', 'GetMlflowExperimentTagArgsDict']] tags: Additional metadata key-value pairs.
|
|
207
221
|
"""
|
|
208
222
|
__args__ = dict()
|
|
@@ -213,6 +227,7 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
213
227
|
__args__['lastUpdateTime'] = last_update_time
|
|
214
228
|
__args__['lifecycleStage'] = lifecycle_stage
|
|
215
229
|
__args__['name'] = name
|
|
230
|
+
__args__['providerConfig'] = provider_config
|
|
216
231
|
__args__['tags'] = tags
|
|
217
232
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
218
233
|
__ret__ = pulumi.runtime.invoke_output('databricks:index/getMlflowExperiment:getMlflowExperiment', __args__, opts=opts, typ=GetMlflowExperimentResult)
|
|
@@ -224,4 +239,5 @@ def get_mlflow_experiment_output(artifact_location: Optional[pulumi.Input[Option
|
|
|
224
239
|
last_update_time=pulumi.get(__response__, 'last_update_time'),
|
|
225
240
|
lifecycle_stage=pulumi.get(__response__, 'lifecycle_stage'),
|
|
226
241
|
name=pulumi.get(__response__, 'name'),
|
|
242
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
227
243
|
tags=pulumi.get(__response__, 'tags')))
|
|
@@ -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,7 +28,7 @@ class GetMlflowModelResult:
|
|
|
29
28
|
"""
|
|
30
29
|
A collection of values returned by getMlflowModel.
|
|
31
30
|
"""
|
|
32
|
-
def __init__(__self__, description=None, id=None, latest_versions=None, name=None, permission_level=None, tags=None, user_id=None):
|
|
31
|
+
def __init__(__self__, description=None, id=None, latest_versions=None, name=None, permission_level=None, provider_config=None, tags=None, user_id=None):
|
|
33
32
|
if description and not isinstance(description, str):
|
|
34
33
|
raise TypeError("Expected argument 'description' to be a str")
|
|
35
34
|
pulumi.set(__self__, "description", description)
|
|
@@ -45,6 +44,9 @@ class GetMlflowModelResult:
|
|
|
45
44
|
if permission_level and not isinstance(permission_level, str):
|
|
46
45
|
raise TypeError("Expected argument 'permission_level' to be a str")
|
|
47
46
|
pulumi.set(__self__, "permission_level", permission_level)
|
|
47
|
+
if provider_config and not isinstance(provider_config, dict):
|
|
48
|
+
raise TypeError("Expected argument 'provider_config' to be a dict")
|
|
49
|
+
pulumi.set(__self__, "provider_config", provider_config)
|
|
48
50
|
if tags and not isinstance(tags, list):
|
|
49
51
|
raise TypeError("Expected argument 'tags' to be a list")
|
|
50
52
|
pulumi.set(__self__, "tags", tags)
|
|
@@ -52,23 +54,23 @@ class GetMlflowModelResult:
|
|
|
52
54
|
raise TypeError("Expected argument 'user_id' to be a str")
|
|
53
55
|
pulumi.set(__self__, "user_id", user_id)
|
|
54
56
|
|
|
55
|
-
@property
|
|
57
|
+
@_builtins.property
|
|
56
58
|
@pulumi.getter
|
|
57
|
-
def description(self) ->
|
|
59
|
+
def description(self) -> _builtins.str:
|
|
58
60
|
"""
|
|
59
61
|
User-specified description for the object.
|
|
60
62
|
"""
|
|
61
63
|
return pulumi.get(self, "description")
|
|
62
64
|
|
|
63
|
-
@property
|
|
65
|
+
@_builtins.property
|
|
64
66
|
@pulumi.getter
|
|
65
|
-
def id(self) ->
|
|
67
|
+
def id(self) -> _builtins.str:
|
|
66
68
|
"""
|
|
67
69
|
Unique identifier for the object.
|
|
68
70
|
"""
|
|
69
71
|
return pulumi.get(self, "id")
|
|
70
72
|
|
|
71
|
-
@property
|
|
73
|
+
@_builtins.property
|
|
72
74
|
@pulumi.getter(name="latestVersions")
|
|
73
75
|
def latest_versions(self) -> Sequence['outputs.GetMlflowModelLatestVersionResult']:
|
|
74
76
|
"""
|
|
@@ -76,23 +78,28 @@ class GetMlflowModelResult:
|
|
|
76
78
|
"""
|
|
77
79
|
return pulumi.get(self, "latest_versions")
|
|
78
80
|
|
|
79
|
-
@property
|
|
81
|
+
@_builtins.property
|
|
80
82
|
@pulumi.getter
|
|
81
|
-
def name(self) ->
|
|
83
|
+
def name(self) -> _builtins.str:
|
|
82
84
|
"""
|
|
83
85
|
Name of the model.
|
|
84
86
|
"""
|
|
85
87
|
return pulumi.get(self, "name")
|
|
86
88
|
|
|
87
|
-
@property
|
|
89
|
+
@_builtins.property
|
|
88
90
|
@pulumi.getter(name="permissionLevel")
|
|
89
|
-
def permission_level(self) ->
|
|
91
|
+
def permission_level(self) -> _builtins.str:
|
|
90
92
|
"""
|
|
91
93
|
Permission level of the requesting user on the object. For what is allowed at each level, see MLflow Model permissions.
|
|
92
94
|
"""
|
|
93
95
|
return pulumi.get(self, "permission_level")
|
|
94
96
|
|
|
95
|
-
@property
|
|
97
|
+
@_builtins.property
|
|
98
|
+
@pulumi.getter(name="providerConfig")
|
|
99
|
+
def provider_config(self) -> Optional['outputs.GetMlflowModelProviderConfigResult']:
|
|
100
|
+
return pulumi.get(self, "provider_config")
|
|
101
|
+
|
|
102
|
+
@_builtins.property
|
|
96
103
|
@pulumi.getter
|
|
97
104
|
def tags(self) -> Sequence['outputs.GetMlflowModelTagResult']:
|
|
98
105
|
"""
|
|
@@ -100,9 +107,9 @@ class GetMlflowModelResult:
|
|
|
100
107
|
"""
|
|
101
108
|
return pulumi.get(self, "tags")
|
|
102
109
|
|
|
103
|
-
@property
|
|
110
|
+
@_builtins.property
|
|
104
111
|
@pulumi.getter(name="userId")
|
|
105
|
-
def user_id(self) ->
|
|
112
|
+
def user_id(self) -> _builtins.str:
|
|
106
113
|
"""
|
|
107
114
|
The username of the user that created the object.
|
|
108
115
|
"""
|
|
@@ -120,16 +127,18 @@ class AwaitableGetMlflowModelResult(GetMlflowModelResult):
|
|
|
120
127
|
latest_versions=self.latest_versions,
|
|
121
128
|
name=self.name,
|
|
122
129
|
permission_level=self.permission_level,
|
|
130
|
+
provider_config=self.provider_config,
|
|
123
131
|
tags=self.tags,
|
|
124
132
|
user_id=self.user_id)
|
|
125
133
|
|
|
126
134
|
|
|
127
|
-
def get_mlflow_model(description: Optional[
|
|
135
|
+
def get_mlflow_model(description: Optional[_builtins.str] = None,
|
|
128
136
|
latest_versions: Optional[Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']]] = None,
|
|
129
|
-
name: Optional[
|
|
130
|
-
permission_level: Optional[
|
|
137
|
+
name: Optional[_builtins.str] = None,
|
|
138
|
+
permission_level: Optional[_builtins.str] = None,
|
|
139
|
+
provider_config: Optional[Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict']] = None,
|
|
131
140
|
tags: Optional[Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']]] = None,
|
|
132
|
-
user_id: Optional[
|
|
141
|
+
user_id: Optional[_builtins.str] = None,
|
|
133
142
|
opts: Optional[pulumi.InvokeOptions] = None) -> AwaitableGetMlflowModelResult:
|
|
134
143
|
"""
|
|
135
144
|
Retrieves the settings of MlflowModel by name.
|
|
@@ -178,18 +187,20 @@ def get_mlflow_model(description: Optional[builtins.str] = None,
|
|
|
178
187
|
```
|
|
179
188
|
|
|
180
189
|
|
|
181
|
-
:param
|
|
190
|
+
:param _builtins.str description: User-specified description for the object.
|
|
182
191
|
:param Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']] latest_versions: Array of model versions, each the latest version for its stage.
|
|
183
|
-
:param
|
|
184
|
-
:param
|
|
192
|
+
:param _builtins.str name: Name of the registered model.
|
|
193
|
+
:param _builtins.str permission_level: Permission level of the requesting user on the object. For what is allowed at each level, see MLflow Model permissions.
|
|
194
|
+
:param Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
185
195
|
:param Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']] tags: Array of tags associated with the model.
|
|
186
|
-
:param
|
|
196
|
+
:param _builtins.str user_id: The username of the user that created the object.
|
|
187
197
|
"""
|
|
188
198
|
__args__ = dict()
|
|
189
199
|
__args__['description'] = description
|
|
190
200
|
__args__['latestVersions'] = latest_versions
|
|
191
201
|
__args__['name'] = name
|
|
192
202
|
__args__['permissionLevel'] = permission_level
|
|
203
|
+
__args__['providerConfig'] = provider_config
|
|
193
204
|
__args__['tags'] = tags
|
|
194
205
|
__args__['userId'] = user_id
|
|
195
206
|
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -201,14 +212,16 @@ def get_mlflow_model(description: Optional[builtins.str] = None,
|
|
|
201
212
|
latest_versions=pulumi.get(__ret__, 'latest_versions'),
|
|
202
213
|
name=pulumi.get(__ret__, 'name'),
|
|
203
214
|
permission_level=pulumi.get(__ret__, 'permission_level'),
|
|
215
|
+
provider_config=pulumi.get(__ret__, 'provider_config'),
|
|
204
216
|
tags=pulumi.get(__ret__, 'tags'),
|
|
205
217
|
user_id=pulumi.get(__ret__, 'user_id'))
|
|
206
|
-
def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[
|
|
218
|
+
def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
207
219
|
latest_versions: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']]]]] = None,
|
|
208
|
-
name: Optional[pulumi.Input[
|
|
209
|
-
permission_level: Optional[pulumi.Input[Optional[
|
|
220
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
221
|
+
permission_level: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
222
|
+
provider_config: Optional[pulumi.Input[Optional[Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict']]]] = None,
|
|
210
223
|
tags: Optional[pulumi.Input[Optional[Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']]]]] = None,
|
|
211
|
-
user_id: Optional[pulumi.Input[Optional[
|
|
224
|
+
user_id: Optional[pulumi.Input[Optional[_builtins.str]]] = None,
|
|
212
225
|
opts: Optional[Union[pulumi.InvokeOptions, pulumi.InvokeOutputOptions]] = None) -> pulumi.Output[GetMlflowModelResult]:
|
|
213
226
|
"""
|
|
214
227
|
Retrieves the settings of MlflowModel by name.
|
|
@@ -257,18 +270,20 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[builtins
|
|
|
257
270
|
```
|
|
258
271
|
|
|
259
272
|
|
|
260
|
-
:param
|
|
273
|
+
:param _builtins.str description: User-specified description for the object.
|
|
261
274
|
:param Sequence[Union['GetMlflowModelLatestVersionArgs', 'GetMlflowModelLatestVersionArgsDict']] latest_versions: Array of model versions, each the latest version for its stage.
|
|
262
|
-
:param
|
|
263
|
-
:param
|
|
275
|
+
:param _builtins.str name: Name of the registered model.
|
|
276
|
+
:param _builtins.str permission_level: Permission level of the requesting user on the object. For what is allowed at each level, see MLflow Model permissions.
|
|
277
|
+
:param Union['GetMlflowModelProviderConfigArgs', 'GetMlflowModelProviderConfigArgsDict'] provider_config: Configure the provider for management through account provider. This block consists of the following fields:
|
|
264
278
|
:param Sequence[Union['GetMlflowModelTagArgs', 'GetMlflowModelTagArgsDict']] tags: Array of tags associated with the model.
|
|
265
|
-
:param
|
|
279
|
+
:param _builtins.str user_id: The username of the user that created the object.
|
|
266
280
|
"""
|
|
267
281
|
__args__ = dict()
|
|
268
282
|
__args__['description'] = description
|
|
269
283
|
__args__['latestVersions'] = latest_versions
|
|
270
284
|
__args__['name'] = name
|
|
271
285
|
__args__['permissionLevel'] = permission_level
|
|
286
|
+
__args__['providerConfig'] = provider_config
|
|
272
287
|
__args__['tags'] = tags
|
|
273
288
|
__args__['userId'] = user_id
|
|
274
289
|
opts = pulumi.InvokeOutputOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
|
|
@@ -279,5 +294,6 @@ def get_mlflow_model_output(description: Optional[pulumi.Input[Optional[builtins
|
|
|
279
294
|
latest_versions=pulumi.get(__response__, 'latest_versions'),
|
|
280
295
|
name=pulumi.get(__response__, 'name'),
|
|
281
296
|
permission_level=pulumi.get(__response__, 'permission_level'),
|
|
297
|
+
provider_config=pulumi.get(__response__, 'provider_config'),
|
|
282
298
|
tags=pulumi.get(__response__, 'tags'),
|
|
283
299
|
user_id=pulumi.get(__response__, 'user_id')))
|