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
|
|
@@ -23,20 +22,24 @@ __all__ = ['ModelServingArgs', 'ModelServing']
|
|
|
23
22
|
class ModelServingArgs:
|
|
24
23
|
def __init__(__self__, *,
|
|
25
24
|
ai_gateway: Optional[pulumi.Input['ModelServingAiGatewayArgs']] = None,
|
|
26
|
-
budget_policy_id: Optional[pulumi.Input[
|
|
25
|
+
budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
27
26
|
config: Optional[pulumi.Input['ModelServingConfigArgs']] = None,
|
|
28
|
-
|
|
27
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
28
|
+
email_notifications: Optional[pulumi.Input['ModelServingEmailNotificationsArgs']] = None,
|
|
29
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
29
30
|
rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]] = None,
|
|
30
|
-
route_optimized: Optional[pulumi.Input[
|
|
31
|
+
route_optimized: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
31
32
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]] = None):
|
|
32
33
|
"""
|
|
33
34
|
The set of arguments for constructing a ModelServing resource.
|
|
34
35
|
:param pulumi.Input['ModelServingAiGatewayArgs'] ai_gateway: A block with AI Gateway configuration for the serving endpoint. *Note: only external model endpoints are supported as of now.*
|
|
35
|
-
:param pulumi.Input[
|
|
36
|
+
:param pulumi.Input[_builtins.str] budget_policy_id: The Budget Policy ID set for this serving endpoint.
|
|
36
37
|
:param pulumi.Input['ModelServingConfigArgs'] config: The model serving endpoint configuration. This is optional and can be added and modified after creation. If `config` was provided in a previous apply but is not provided in the current apply, no change to the model serving endpoint will occur. To recreate the model serving endpoint without the `config` block, the model serving endpoint must be destroyed and recreated.
|
|
37
|
-
:param pulumi.Input[
|
|
38
|
+
:param pulumi.Input[_builtins.str] description: The description of the model serving endpoint.
|
|
39
|
+
:param pulumi.Input['ModelServingEmailNotificationsArgs'] email_notifications: A block with Email notification setting.
|
|
40
|
+
:param pulumi.Input[_builtins.str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
38
41
|
:param pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]] rate_limits: A list of rate limit blocks to be applied to the serving endpoint. *Note: only external and foundation model endpoints are supported as of now.*
|
|
39
|
-
:param pulumi.Input[
|
|
42
|
+
:param pulumi.Input[_builtins.bool] route_optimized: A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
40
43
|
:param pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs.
|
|
41
44
|
"""
|
|
42
45
|
if ai_gateway is not None:
|
|
@@ -45,6 +48,10 @@ class ModelServingArgs:
|
|
|
45
48
|
pulumi.set(__self__, "budget_policy_id", budget_policy_id)
|
|
46
49
|
if config is not None:
|
|
47
50
|
pulumi.set(__self__, "config", config)
|
|
51
|
+
if description is not None:
|
|
52
|
+
pulumi.set(__self__, "description", description)
|
|
53
|
+
if email_notifications is not None:
|
|
54
|
+
pulumi.set(__self__, "email_notifications", email_notifications)
|
|
48
55
|
if name is not None:
|
|
49
56
|
pulumi.set(__self__, "name", name)
|
|
50
57
|
if rate_limits is not None:
|
|
@@ -57,7 +64,7 @@ class ModelServingArgs:
|
|
|
57
64
|
if tags is not None:
|
|
58
65
|
pulumi.set(__self__, "tags", tags)
|
|
59
66
|
|
|
60
|
-
@property
|
|
67
|
+
@_builtins.property
|
|
61
68
|
@pulumi.getter(name="aiGateway")
|
|
62
69
|
def ai_gateway(self) -> Optional[pulumi.Input['ModelServingAiGatewayArgs']]:
|
|
63
70
|
"""
|
|
@@ -69,19 +76,19 @@ class ModelServingArgs:
|
|
|
69
76
|
def ai_gateway(self, value: Optional[pulumi.Input['ModelServingAiGatewayArgs']]):
|
|
70
77
|
pulumi.set(self, "ai_gateway", value)
|
|
71
78
|
|
|
72
|
-
@property
|
|
79
|
+
@_builtins.property
|
|
73
80
|
@pulumi.getter(name="budgetPolicyId")
|
|
74
|
-
def budget_policy_id(self) -> Optional[pulumi.Input[
|
|
81
|
+
def budget_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
75
82
|
"""
|
|
76
83
|
The Budget Policy ID set for this serving endpoint.
|
|
77
84
|
"""
|
|
78
85
|
return pulumi.get(self, "budget_policy_id")
|
|
79
86
|
|
|
80
87
|
@budget_policy_id.setter
|
|
81
|
-
def budget_policy_id(self, value: Optional[pulumi.Input[
|
|
88
|
+
def budget_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
82
89
|
pulumi.set(self, "budget_policy_id", value)
|
|
83
90
|
|
|
84
|
-
@property
|
|
91
|
+
@_builtins.property
|
|
85
92
|
@pulumi.getter
|
|
86
93
|
def config(self) -> Optional[pulumi.Input['ModelServingConfigArgs']]:
|
|
87
94
|
"""
|
|
@@ -93,19 +100,43 @@ class ModelServingArgs:
|
|
|
93
100
|
def config(self, value: Optional[pulumi.Input['ModelServingConfigArgs']]):
|
|
94
101
|
pulumi.set(self, "config", value)
|
|
95
102
|
|
|
96
|
-
@property
|
|
103
|
+
@_builtins.property
|
|
97
104
|
@pulumi.getter
|
|
98
|
-
def
|
|
105
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
106
|
+
"""
|
|
107
|
+
The description of the model serving endpoint.
|
|
108
|
+
"""
|
|
109
|
+
return pulumi.get(self, "description")
|
|
110
|
+
|
|
111
|
+
@description.setter
|
|
112
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
113
|
+
pulumi.set(self, "description", value)
|
|
114
|
+
|
|
115
|
+
@_builtins.property
|
|
116
|
+
@pulumi.getter(name="emailNotifications")
|
|
117
|
+
def email_notifications(self) -> Optional[pulumi.Input['ModelServingEmailNotificationsArgs']]:
|
|
118
|
+
"""
|
|
119
|
+
A block with Email notification setting.
|
|
120
|
+
"""
|
|
121
|
+
return pulumi.get(self, "email_notifications")
|
|
122
|
+
|
|
123
|
+
@email_notifications.setter
|
|
124
|
+
def email_notifications(self, value: Optional[pulumi.Input['ModelServingEmailNotificationsArgs']]):
|
|
125
|
+
pulumi.set(self, "email_notifications", value)
|
|
126
|
+
|
|
127
|
+
@_builtins.property
|
|
128
|
+
@pulumi.getter
|
|
129
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
99
130
|
"""
|
|
100
131
|
The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
101
132
|
"""
|
|
102
133
|
return pulumi.get(self, "name")
|
|
103
134
|
|
|
104
135
|
@name.setter
|
|
105
|
-
def name(self, value: Optional[pulumi.Input[
|
|
136
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
106
137
|
pulumi.set(self, "name", value)
|
|
107
138
|
|
|
108
|
-
@property
|
|
139
|
+
@_builtins.property
|
|
109
140
|
@pulumi.getter(name="rateLimits")
|
|
110
141
|
@_utilities.deprecated("""Please use AI Gateway to manage rate limits.""")
|
|
111
142
|
def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]:
|
|
@@ -118,19 +149,19 @@ class ModelServingArgs:
|
|
|
118
149
|
def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]):
|
|
119
150
|
pulumi.set(self, "rate_limits", value)
|
|
120
151
|
|
|
121
|
-
@property
|
|
152
|
+
@_builtins.property
|
|
122
153
|
@pulumi.getter(name="routeOptimized")
|
|
123
|
-
def route_optimized(self) -> Optional[pulumi.Input[
|
|
154
|
+
def route_optimized(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
124
155
|
"""
|
|
125
156
|
A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
126
157
|
"""
|
|
127
158
|
return pulumi.get(self, "route_optimized")
|
|
128
159
|
|
|
129
160
|
@route_optimized.setter
|
|
130
|
-
def route_optimized(self, value: Optional[pulumi.Input[
|
|
161
|
+
def route_optimized(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
131
162
|
pulumi.set(self, "route_optimized", value)
|
|
132
163
|
|
|
133
|
-
@property
|
|
164
|
+
@_builtins.property
|
|
134
165
|
@pulumi.getter
|
|
135
166
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]]:
|
|
136
167
|
"""
|
|
@@ -147,22 +178,28 @@ class ModelServingArgs:
|
|
|
147
178
|
class _ModelServingState:
|
|
148
179
|
def __init__(__self__, *,
|
|
149
180
|
ai_gateway: Optional[pulumi.Input['ModelServingAiGatewayArgs']] = None,
|
|
150
|
-
budget_policy_id: Optional[pulumi.Input[
|
|
181
|
+
budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
151
182
|
config: Optional[pulumi.Input['ModelServingConfigArgs']] = None,
|
|
152
|
-
|
|
183
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
184
|
+
email_notifications: Optional[pulumi.Input['ModelServingEmailNotificationsArgs']] = None,
|
|
185
|
+
endpoint_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
186
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
153
187
|
rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]] = None,
|
|
154
|
-
route_optimized: Optional[pulumi.Input[
|
|
155
|
-
serving_endpoint_id: Optional[pulumi.Input[
|
|
188
|
+
route_optimized: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
189
|
+
serving_endpoint_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
156
190
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]] = None):
|
|
157
191
|
"""
|
|
158
192
|
Input properties used for looking up and filtering ModelServing resources.
|
|
159
193
|
:param pulumi.Input['ModelServingAiGatewayArgs'] ai_gateway: A block with AI Gateway configuration for the serving endpoint. *Note: only external model endpoints are supported as of now.*
|
|
160
|
-
:param pulumi.Input[
|
|
194
|
+
:param pulumi.Input[_builtins.str] budget_policy_id: The Budget Policy ID set for this serving endpoint.
|
|
161
195
|
:param pulumi.Input['ModelServingConfigArgs'] config: The model serving endpoint configuration. This is optional and can be added and modified after creation. If `config` was provided in a previous apply but is not provided in the current apply, no change to the model serving endpoint will occur. To recreate the model serving endpoint without the `config` block, the model serving endpoint must be destroyed and recreated.
|
|
162
|
-
:param pulumi.Input[
|
|
196
|
+
:param pulumi.Input[_builtins.str] description: The description of the model serving endpoint.
|
|
197
|
+
:param pulumi.Input['ModelServingEmailNotificationsArgs'] email_notifications: A block with Email notification setting.
|
|
198
|
+
:param pulumi.Input[_builtins.str] endpoint_url: Invocation url of the endpoint.
|
|
199
|
+
:param pulumi.Input[_builtins.str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
163
200
|
:param pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]] rate_limits: A list of rate limit blocks to be applied to the serving endpoint. *Note: only external and foundation model endpoints are supported as of now.*
|
|
164
|
-
:param pulumi.Input[
|
|
165
|
-
:param pulumi.Input[
|
|
201
|
+
:param pulumi.Input[_builtins.bool] route_optimized: A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
202
|
+
:param pulumi.Input[_builtins.str] serving_endpoint_id: Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations.
|
|
166
203
|
:param pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs.
|
|
167
204
|
"""
|
|
168
205
|
if ai_gateway is not None:
|
|
@@ -171,6 +208,12 @@ class _ModelServingState:
|
|
|
171
208
|
pulumi.set(__self__, "budget_policy_id", budget_policy_id)
|
|
172
209
|
if config is not None:
|
|
173
210
|
pulumi.set(__self__, "config", config)
|
|
211
|
+
if description is not None:
|
|
212
|
+
pulumi.set(__self__, "description", description)
|
|
213
|
+
if email_notifications is not None:
|
|
214
|
+
pulumi.set(__self__, "email_notifications", email_notifications)
|
|
215
|
+
if endpoint_url is not None:
|
|
216
|
+
pulumi.set(__self__, "endpoint_url", endpoint_url)
|
|
174
217
|
if name is not None:
|
|
175
218
|
pulumi.set(__self__, "name", name)
|
|
176
219
|
if rate_limits is not None:
|
|
@@ -185,7 +228,7 @@ class _ModelServingState:
|
|
|
185
228
|
if tags is not None:
|
|
186
229
|
pulumi.set(__self__, "tags", tags)
|
|
187
230
|
|
|
188
|
-
@property
|
|
231
|
+
@_builtins.property
|
|
189
232
|
@pulumi.getter(name="aiGateway")
|
|
190
233
|
def ai_gateway(self) -> Optional[pulumi.Input['ModelServingAiGatewayArgs']]:
|
|
191
234
|
"""
|
|
@@ -197,19 +240,19 @@ class _ModelServingState:
|
|
|
197
240
|
def ai_gateway(self, value: Optional[pulumi.Input['ModelServingAiGatewayArgs']]):
|
|
198
241
|
pulumi.set(self, "ai_gateway", value)
|
|
199
242
|
|
|
200
|
-
@property
|
|
243
|
+
@_builtins.property
|
|
201
244
|
@pulumi.getter(name="budgetPolicyId")
|
|
202
|
-
def budget_policy_id(self) -> Optional[pulumi.Input[
|
|
245
|
+
def budget_policy_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
203
246
|
"""
|
|
204
247
|
The Budget Policy ID set for this serving endpoint.
|
|
205
248
|
"""
|
|
206
249
|
return pulumi.get(self, "budget_policy_id")
|
|
207
250
|
|
|
208
251
|
@budget_policy_id.setter
|
|
209
|
-
def budget_policy_id(self, value: Optional[pulumi.Input[
|
|
252
|
+
def budget_policy_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
210
253
|
pulumi.set(self, "budget_policy_id", value)
|
|
211
254
|
|
|
212
|
-
@property
|
|
255
|
+
@_builtins.property
|
|
213
256
|
@pulumi.getter
|
|
214
257
|
def config(self) -> Optional[pulumi.Input['ModelServingConfigArgs']]:
|
|
215
258
|
"""
|
|
@@ -221,19 +264,55 @@ class _ModelServingState:
|
|
|
221
264
|
def config(self, value: Optional[pulumi.Input['ModelServingConfigArgs']]):
|
|
222
265
|
pulumi.set(self, "config", value)
|
|
223
266
|
|
|
224
|
-
@property
|
|
267
|
+
@_builtins.property
|
|
268
|
+
@pulumi.getter
|
|
269
|
+
def description(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
270
|
+
"""
|
|
271
|
+
The description of the model serving endpoint.
|
|
272
|
+
"""
|
|
273
|
+
return pulumi.get(self, "description")
|
|
274
|
+
|
|
275
|
+
@description.setter
|
|
276
|
+
def description(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
277
|
+
pulumi.set(self, "description", value)
|
|
278
|
+
|
|
279
|
+
@_builtins.property
|
|
280
|
+
@pulumi.getter(name="emailNotifications")
|
|
281
|
+
def email_notifications(self) -> Optional[pulumi.Input['ModelServingEmailNotificationsArgs']]:
|
|
282
|
+
"""
|
|
283
|
+
A block with Email notification setting.
|
|
284
|
+
"""
|
|
285
|
+
return pulumi.get(self, "email_notifications")
|
|
286
|
+
|
|
287
|
+
@email_notifications.setter
|
|
288
|
+
def email_notifications(self, value: Optional[pulumi.Input['ModelServingEmailNotificationsArgs']]):
|
|
289
|
+
pulumi.set(self, "email_notifications", value)
|
|
290
|
+
|
|
291
|
+
@_builtins.property
|
|
292
|
+
@pulumi.getter(name="endpointUrl")
|
|
293
|
+
def endpoint_url(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
294
|
+
"""
|
|
295
|
+
Invocation url of the endpoint.
|
|
296
|
+
"""
|
|
297
|
+
return pulumi.get(self, "endpoint_url")
|
|
298
|
+
|
|
299
|
+
@endpoint_url.setter
|
|
300
|
+
def endpoint_url(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
301
|
+
pulumi.set(self, "endpoint_url", value)
|
|
302
|
+
|
|
303
|
+
@_builtins.property
|
|
225
304
|
@pulumi.getter
|
|
226
|
-
def name(self) -> Optional[pulumi.Input[
|
|
305
|
+
def name(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
227
306
|
"""
|
|
228
307
|
The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
229
308
|
"""
|
|
230
309
|
return pulumi.get(self, "name")
|
|
231
310
|
|
|
232
311
|
@name.setter
|
|
233
|
-
def name(self, value: Optional[pulumi.Input[
|
|
312
|
+
def name(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
234
313
|
pulumi.set(self, "name", value)
|
|
235
314
|
|
|
236
|
-
@property
|
|
315
|
+
@_builtins.property
|
|
237
316
|
@pulumi.getter(name="rateLimits")
|
|
238
317
|
@_utilities.deprecated("""Please use AI Gateway to manage rate limits.""")
|
|
239
318
|
def rate_limits(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]:
|
|
@@ -246,31 +325,31 @@ class _ModelServingState:
|
|
|
246
325
|
def rate_limits(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingRateLimitArgs']]]]):
|
|
247
326
|
pulumi.set(self, "rate_limits", value)
|
|
248
327
|
|
|
249
|
-
@property
|
|
328
|
+
@_builtins.property
|
|
250
329
|
@pulumi.getter(name="routeOptimized")
|
|
251
|
-
def route_optimized(self) -> Optional[pulumi.Input[
|
|
330
|
+
def route_optimized(self) -> Optional[pulumi.Input[_builtins.bool]]:
|
|
252
331
|
"""
|
|
253
332
|
A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
254
333
|
"""
|
|
255
334
|
return pulumi.get(self, "route_optimized")
|
|
256
335
|
|
|
257
336
|
@route_optimized.setter
|
|
258
|
-
def route_optimized(self, value: Optional[pulumi.Input[
|
|
337
|
+
def route_optimized(self, value: Optional[pulumi.Input[_builtins.bool]]):
|
|
259
338
|
pulumi.set(self, "route_optimized", value)
|
|
260
339
|
|
|
261
|
-
@property
|
|
340
|
+
@_builtins.property
|
|
262
341
|
@pulumi.getter(name="servingEndpointId")
|
|
263
|
-
def serving_endpoint_id(self) -> Optional[pulumi.Input[
|
|
342
|
+
def serving_endpoint_id(self) -> Optional[pulumi.Input[_builtins.str]]:
|
|
264
343
|
"""
|
|
265
344
|
Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations.
|
|
266
345
|
"""
|
|
267
346
|
return pulumi.get(self, "serving_endpoint_id")
|
|
268
347
|
|
|
269
348
|
@serving_endpoint_id.setter
|
|
270
|
-
def serving_endpoint_id(self, value: Optional[pulumi.Input[
|
|
349
|
+
def serving_endpoint_id(self, value: Optional[pulumi.Input[_builtins.str]]):
|
|
271
350
|
pulumi.set(self, "serving_endpoint_id", value)
|
|
272
351
|
|
|
273
|
-
@property
|
|
352
|
+
@_builtins.property
|
|
274
353
|
@pulumi.getter
|
|
275
354
|
def tags(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ModelServingTagArgs']]]]:
|
|
276
355
|
"""
|
|
@@ -290,11 +369,13 @@ class ModelServing(pulumi.CustomResource):
|
|
|
290
369
|
resource_name: str,
|
|
291
370
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
292
371
|
ai_gateway: Optional[pulumi.Input[Union['ModelServingAiGatewayArgs', 'ModelServingAiGatewayArgsDict']]] = None,
|
|
293
|
-
budget_policy_id: Optional[pulumi.Input[
|
|
372
|
+
budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
294
373
|
config: Optional[pulumi.Input[Union['ModelServingConfigArgs', 'ModelServingConfigArgsDict']]] = None,
|
|
295
|
-
|
|
374
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
375
|
+
email_notifications: Optional[pulumi.Input[Union['ModelServingEmailNotificationsArgs', 'ModelServingEmailNotificationsArgsDict']]] = None,
|
|
376
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
296
377
|
rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelServingRateLimitArgs', 'ModelServingRateLimitArgsDict']]]]] = None,
|
|
297
|
-
route_optimized: Optional[pulumi.Input[
|
|
378
|
+
route_optimized: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
298
379
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelServingTagArgs', 'ModelServingTagArgsDict']]]]] = None,
|
|
299
380
|
__props__=None):
|
|
300
381
|
"""
|
|
@@ -464,11 +545,13 @@ class ModelServing(pulumi.CustomResource):
|
|
|
464
545
|
:param str resource_name: The name of the resource.
|
|
465
546
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
466
547
|
:param pulumi.Input[Union['ModelServingAiGatewayArgs', 'ModelServingAiGatewayArgsDict']] ai_gateway: A block with AI Gateway configuration for the serving endpoint. *Note: only external model endpoints are supported as of now.*
|
|
467
|
-
:param pulumi.Input[
|
|
548
|
+
:param pulumi.Input[_builtins.str] budget_policy_id: The Budget Policy ID set for this serving endpoint.
|
|
468
549
|
:param pulumi.Input[Union['ModelServingConfigArgs', 'ModelServingConfigArgsDict']] config: The model serving endpoint configuration. This is optional and can be added and modified after creation. If `config` was provided in a previous apply but is not provided in the current apply, no change to the model serving endpoint will occur. To recreate the model serving endpoint without the `config` block, the model serving endpoint must be destroyed and recreated.
|
|
469
|
-
:param pulumi.Input[
|
|
550
|
+
:param pulumi.Input[_builtins.str] description: The description of the model serving endpoint.
|
|
551
|
+
:param pulumi.Input[Union['ModelServingEmailNotificationsArgs', 'ModelServingEmailNotificationsArgsDict']] email_notifications: A block with Email notification setting.
|
|
552
|
+
:param pulumi.Input[_builtins.str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
470
553
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelServingRateLimitArgs', 'ModelServingRateLimitArgsDict']]]] rate_limits: A list of rate limit blocks to be applied to the serving endpoint. *Note: only external and foundation model endpoints are supported as of now.*
|
|
471
|
-
:param pulumi.Input[
|
|
554
|
+
:param pulumi.Input[_builtins.bool] route_optimized: A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
472
555
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelServingTagArgs', 'ModelServingTagArgsDict']]]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs.
|
|
473
556
|
"""
|
|
474
557
|
...
|
|
@@ -657,11 +740,13 @@ class ModelServing(pulumi.CustomResource):
|
|
|
657
740
|
resource_name: str,
|
|
658
741
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
659
742
|
ai_gateway: Optional[pulumi.Input[Union['ModelServingAiGatewayArgs', 'ModelServingAiGatewayArgsDict']]] = None,
|
|
660
|
-
budget_policy_id: Optional[pulumi.Input[
|
|
743
|
+
budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
661
744
|
config: Optional[pulumi.Input[Union['ModelServingConfigArgs', 'ModelServingConfigArgsDict']]] = None,
|
|
662
|
-
|
|
745
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
746
|
+
email_notifications: Optional[pulumi.Input[Union['ModelServingEmailNotificationsArgs', 'ModelServingEmailNotificationsArgsDict']]] = None,
|
|
747
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
663
748
|
rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelServingRateLimitArgs', 'ModelServingRateLimitArgsDict']]]]] = None,
|
|
664
|
-
route_optimized: Optional[pulumi.Input[
|
|
749
|
+
route_optimized: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
665
750
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelServingTagArgs', 'ModelServingTagArgsDict']]]]] = None,
|
|
666
751
|
__props__=None):
|
|
667
752
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
|
@@ -675,10 +760,13 @@ class ModelServing(pulumi.CustomResource):
|
|
|
675
760
|
__props__.__dict__["ai_gateway"] = ai_gateway
|
|
676
761
|
__props__.__dict__["budget_policy_id"] = budget_policy_id
|
|
677
762
|
__props__.__dict__["config"] = config
|
|
763
|
+
__props__.__dict__["description"] = description
|
|
764
|
+
__props__.__dict__["email_notifications"] = email_notifications
|
|
678
765
|
__props__.__dict__["name"] = name
|
|
679
766
|
__props__.__dict__["rate_limits"] = rate_limits
|
|
680
767
|
__props__.__dict__["route_optimized"] = route_optimized
|
|
681
768
|
__props__.__dict__["tags"] = tags
|
|
769
|
+
__props__.__dict__["endpoint_url"] = None
|
|
682
770
|
__props__.__dict__["serving_endpoint_id"] = None
|
|
683
771
|
super(ModelServing, __self__).__init__(
|
|
684
772
|
'databricks:index/modelServing:ModelServing',
|
|
@@ -691,12 +779,15 @@ class ModelServing(pulumi.CustomResource):
|
|
|
691
779
|
id: pulumi.Input[str],
|
|
692
780
|
opts: Optional[pulumi.ResourceOptions] = None,
|
|
693
781
|
ai_gateway: Optional[pulumi.Input[Union['ModelServingAiGatewayArgs', 'ModelServingAiGatewayArgsDict']]] = None,
|
|
694
|
-
budget_policy_id: Optional[pulumi.Input[
|
|
782
|
+
budget_policy_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
695
783
|
config: Optional[pulumi.Input[Union['ModelServingConfigArgs', 'ModelServingConfigArgsDict']]] = None,
|
|
696
|
-
|
|
784
|
+
description: Optional[pulumi.Input[_builtins.str]] = None,
|
|
785
|
+
email_notifications: Optional[pulumi.Input[Union['ModelServingEmailNotificationsArgs', 'ModelServingEmailNotificationsArgsDict']]] = None,
|
|
786
|
+
endpoint_url: Optional[pulumi.Input[_builtins.str]] = None,
|
|
787
|
+
name: Optional[pulumi.Input[_builtins.str]] = None,
|
|
697
788
|
rate_limits: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelServingRateLimitArgs', 'ModelServingRateLimitArgsDict']]]]] = None,
|
|
698
|
-
route_optimized: Optional[pulumi.Input[
|
|
699
|
-
serving_endpoint_id: Optional[pulumi.Input[
|
|
789
|
+
route_optimized: Optional[pulumi.Input[_builtins.bool]] = None,
|
|
790
|
+
serving_endpoint_id: Optional[pulumi.Input[_builtins.str]] = None,
|
|
700
791
|
tags: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ModelServingTagArgs', 'ModelServingTagArgsDict']]]]] = None) -> 'ModelServing':
|
|
701
792
|
"""
|
|
702
793
|
Get an existing ModelServing resource's state with the given name, id, and optional extra
|
|
@@ -706,12 +797,15 @@ class ModelServing(pulumi.CustomResource):
|
|
|
706
797
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
|
707
798
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
|
708
799
|
:param pulumi.Input[Union['ModelServingAiGatewayArgs', 'ModelServingAiGatewayArgsDict']] ai_gateway: A block with AI Gateway configuration for the serving endpoint. *Note: only external model endpoints are supported as of now.*
|
|
709
|
-
:param pulumi.Input[
|
|
800
|
+
:param pulumi.Input[_builtins.str] budget_policy_id: The Budget Policy ID set for this serving endpoint.
|
|
710
801
|
:param pulumi.Input[Union['ModelServingConfigArgs', 'ModelServingConfigArgsDict']] config: The model serving endpoint configuration. This is optional and can be added and modified after creation. If `config` was provided in a previous apply but is not provided in the current apply, no change to the model serving endpoint will occur. To recreate the model serving endpoint without the `config` block, the model serving endpoint must be destroyed and recreated.
|
|
711
|
-
:param pulumi.Input[
|
|
802
|
+
:param pulumi.Input[_builtins.str] description: The description of the model serving endpoint.
|
|
803
|
+
:param pulumi.Input[Union['ModelServingEmailNotificationsArgs', 'ModelServingEmailNotificationsArgsDict']] email_notifications: A block with Email notification setting.
|
|
804
|
+
:param pulumi.Input[_builtins.str] endpoint_url: Invocation url of the endpoint.
|
|
805
|
+
:param pulumi.Input[_builtins.str] name: The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
712
806
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelServingRateLimitArgs', 'ModelServingRateLimitArgsDict']]]] rate_limits: A list of rate limit blocks to be applied to the serving endpoint. *Note: only external and foundation model endpoints are supported as of now.*
|
|
713
|
-
:param pulumi.Input[
|
|
714
|
-
:param pulumi.Input[
|
|
807
|
+
:param pulumi.Input[_builtins.bool] route_optimized: A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
808
|
+
:param pulumi.Input[_builtins.str] serving_endpoint_id: Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations.
|
|
715
809
|
:param pulumi.Input[Sequence[pulumi.Input[Union['ModelServingTagArgs', 'ModelServingTagArgsDict']]]] tags: Tags to be attached to the serving endpoint and automatically propagated to billing logs.
|
|
716
810
|
"""
|
|
717
811
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
|
@@ -721,6 +815,9 @@ class ModelServing(pulumi.CustomResource):
|
|
|
721
815
|
__props__.__dict__["ai_gateway"] = ai_gateway
|
|
722
816
|
__props__.__dict__["budget_policy_id"] = budget_policy_id
|
|
723
817
|
__props__.__dict__["config"] = config
|
|
818
|
+
__props__.__dict__["description"] = description
|
|
819
|
+
__props__.__dict__["email_notifications"] = email_notifications
|
|
820
|
+
__props__.__dict__["endpoint_url"] = endpoint_url
|
|
724
821
|
__props__.__dict__["name"] = name
|
|
725
822
|
__props__.__dict__["rate_limits"] = rate_limits
|
|
726
823
|
__props__.__dict__["route_optimized"] = route_optimized
|
|
@@ -728,7 +825,7 @@ class ModelServing(pulumi.CustomResource):
|
|
|
728
825
|
__props__.__dict__["tags"] = tags
|
|
729
826
|
return ModelServing(resource_name, opts=opts, __props__=__props__)
|
|
730
827
|
|
|
731
|
-
@property
|
|
828
|
+
@_builtins.property
|
|
732
829
|
@pulumi.getter(name="aiGateway")
|
|
733
830
|
def ai_gateway(self) -> pulumi.Output[Optional['outputs.ModelServingAiGateway']]:
|
|
734
831
|
"""
|
|
@@ -736,15 +833,15 @@ class ModelServing(pulumi.CustomResource):
|
|
|
736
833
|
"""
|
|
737
834
|
return pulumi.get(self, "ai_gateway")
|
|
738
835
|
|
|
739
|
-
@property
|
|
836
|
+
@_builtins.property
|
|
740
837
|
@pulumi.getter(name="budgetPolicyId")
|
|
741
|
-
def budget_policy_id(self) -> pulumi.Output[Optional[
|
|
838
|
+
def budget_policy_id(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
742
839
|
"""
|
|
743
840
|
The Budget Policy ID set for this serving endpoint.
|
|
744
841
|
"""
|
|
745
842
|
return pulumi.get(self, "budget_policy_id")
|
|
746
843
|
|
|
747
|
-
@property
|
|
844
|
+
@_builtins.property
|
|
748
845
|
@pulumi.getter
|
|
749
846
|
def config(self) -> pulumi.Output['outputs.ModelServingConfig']:
|
|
750
847
|
"""
|
|
@@ -752,15 +849,39 @@ class ModelServing(pulumi.CustomResource):
|
|
|
752
849
|
"""
|
|
753
850
|
return pulumi.get(self, "config")
|
|
754
851
|
|
|
755
|
-
@property
|
|
852
|
+
@_builtins.property
|
|
853
|
+
@pulumi.getter
|
|
854
|
+
def description(self) -> pulumi.Output[Optional[_builtins.str]]:
|
|
855
|
+
"""
|
|
856
|
+
The description of the model serving endpoint.
|
|
857
|
+
"""
|
|
858
|
+
return pulumi.get(self, "description")
|
|
859
|
+
|
|
860
|
+
@_builtins.property
|
|
861
|
+
@pulumi.getter(name="emailNotifications")
|
|
862
|
+
def email_notifications(self) -> pulumi.Output[Optional['outputs.ModelServingEmailNotifications']]:
|
|
863
|
+
"""
|
|
864
|
+
A block with Email notification setting.
|
|
865
|
+
"""
|
|
866
|
+
return pulumi.get(self, "email_notifications")
|
|
867
|
+
|
|
868
|
+
@_builtins.property
|
|
869
|
+
@pulumi.getter(name="endpointUrl")
|
|
870
|
+
def endpoint_url(self) -> pulumi.Output[_builtins.str]:
|
|
871
|
+
"""
|
|
872
|
+
Invocation url of the endpoint.
|
|
873
|
+
"""
|
|
874
|
+
return pulumi.get(self, "endpoint_url")
|
|
875
|
+
|
|
876
|
+
@_builtins.property
|
|
756
877
|
@pulumi.getter
|
|
757
|
-
def name(self) -> pulumi.Output[
|
|
878
|
+
def name(self) -> pulumi.Output[_builtins.str]:
|
|
758
879
|
"""
|
|
759
880
|
The name of the model serving endpoint. This field is required and must be unique across a workspace. An endpoint name can consist of alphanumeric characters, dashes, and underscores. NOTE: Changing this name will delete the existing endpoint and create a new endpoint with the updated name.
|
|
760
881
|
"""
|
|
761
882
|
return pulumi.get(self, "name")
|
|
762
883
|
|
|
763
|
-
@property
|
|
884
|
+
@_builtins.property
|
|
764
885
|
@pulumi.getter(name="rateLimits")
|
|
765
886
|
@_utilities.deprecated("""Please use AI Gateway to manage rate limits.""")
|
|
766
887
|
def rate_limits(self) -> pulumi.Output[Optional[Sequence['outputs.ModelServingRateLimit']]]:
|
|
@@ -769,23 +890,23 @@ class ModelServing(pulumi.CustomResource):
|
|
|
769
890
|
"""
|
|
770
891
|
return pulumi.get(self, "rate_limits")
|
|
771
892
|
|
|
772
|
-
@property
|
|
893
|
+
@_builtins.property
|
|
773
894
|
@pulumi.getter(name="routeOptimized")
|
|
774
|
-
def route_optimized(self) -> pulumi.Output[Optional[
|
|
895
|
+
def route_optimized(self) -> pulumi.Output[Optional[_builtins.bool]]:
|
|
775
896
|
"""
|
|
776
897
|
A boolean enabling route optimization for the endpoint. *Note: only available for custom models.*
|
|
777
898
|
"""
|
|
778
899
|
return pulumi.get(self, "route_optimized")
|
|
779
900
|
|
|
780
|
-
@property
|
|
901
|
+
@_builtins.property
|
|
781
902
|
@pulumi.getter(name="servingEndpointId")
|
|
782
|
-
def serving_endpoint_id(self) -> pulumi.Output[
|
|
903
|
+
def serving_endpoint_id(self) -> pulumi.Output[_builtins.str]:
|
|
783
904
|
"""
|
|
784
905
|
Unique identifier of the serving endpoint primarily used to set permissions and refer to this instance for other operations.
|
|
785
906
|
"""
|
|
786
907
|
return pulumi.get(self, "serving_endpoint_id")
|
|
787
908
|
|
|
788
|
-
@property
|
|
909
|
+
@_builtins.property
|
|
789
910
|
@pulumi.getter
|
|
790
911
|
def tags(self) -> pulumi.Output[Optional[Sequence['outputs.ModelServingTag']]]:
|
|
791
912
|
"""
|