pulumi-gcp 8.9.3a1731934815__py3-none-any.whl → 8.10.0a1731584999__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_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/vertex/ai_endpoint.py +29 -22
- {pulumi_gcp-8.9.3a1731934815.dist-info → pulumi_gcp-8.10.0a1731584999.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.9.3a1731934815.dist-info → pulumi_gcp-8.10.0a1731584999.dist-info}/RECORD +6 -6
- {pulumi_gcp-8.9.3a1731934815.dist-info → pulumi_gcp-8.10.0a1731584999.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.9.3a1731934815.dist-info → pulumi_gcp-8.10.0a1731584999.dist-info}/top_level.txt +0 -0
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/vertex/ai_endpoint.py
CHANGED
@@ -59,10 +59,11 @@ class AiEndpointArgs:
|
|
59
59
|
:param pulumi.Input[str] region: The region for the resource
|
60
60
|
:param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
61
61
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
62
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
62
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
63
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
64
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
63
65
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
64
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
65
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
66
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
66
67
|
"""
|
67
68
|
pulumi.set(__self__, "display_name", display_name)
|
68
69
|
pulumi.set(__self__, "location", location)
|
@@ -248,10 +249,11 @@ class AiEndpointArgs:
|
|
248
249
|
"""
|
249
250
|
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
250
251
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
251
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
252
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
253
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
254
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
252
255
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
253
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
254
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
256
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
255
257
|
"""
|
256
258
|
return pulumi.get(self, "traffic_split")
|
257
259
|
|
@@ -319,10 +321,11 @@ class _AiEndpointState:
|
|
319
321
|
:param pulumi.Input[str] region: The region for the resource
|
320
322
|
:param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
321
323
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
322
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
324
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
325
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
326
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
323
327
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
324
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
325
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
328
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
326
329
|
:param pulumi.Input[str] update_time: Output only. Timestamp when this Endpoint was last updated.
|
327
330
|
"""
|
328
331
|
if create_time is not None:
|
@@ -614,10 +617,11 @@ class _AiEndpointState:
|
|
614
617
|
"""
|
615
618
|
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
616
619
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
617
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
620
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
621
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
622
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
618
623
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
619
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
620
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
624
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
621
625
|
"""
|
622
626
|
return pulumi.get(self, "traffic_split")
|
623
627
|
|
@@ -812,10 +816,11 @@ class AiEndpoint(pulumi.CustomResource):
|
|
812
816
|
:param pulumi.Input[str] region: The region for the resource
|
813
817
|
:param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
814
818
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
815
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
819
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
820
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
821
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
816
822
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
817
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
818
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
823
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
819
824
|
"""
|
820
825
|
...
|
821
826
|
@overload
|
@@ -1088,10 +1093,11 @@ class AiEndpoint(pulumi.CustomResource):
|
|
1088
1093
|
:param pulumi.Input[str] region: The region for the resource
|
1089
1094
|
:param pulumi.Input[str] traffic_split: A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
1090
1095
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
1091
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
1096
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
1097
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
1098
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
1092
1099
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
1093
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
1094
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
1100
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
1095
1101
|
:param pulumi.Input[str] update_time: Output only. Timestamp when this Endpoint was last updated.
|
1096
1102
|
"""
|
1097
1103
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -1287,14 +1293,15 @@ class AiEndpoint(pulumi.CustomResource):
|
|
1287
1293
|
|
1288
1294
|
@property
|
1289
1295
|
@pulumi.getter(name="trafficSplit")
|
1290
|
-
def traffic_split(self) -> pulumi.Output[str]:
|
1296
|
+
def traffic_split(self) -> pulumi.Output[Optional[str]]:
|
1291
1297
|
"""
|
1292
1298
|
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
1293
1299
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
1294
|
-
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
1300
|
+
The traffic percentage values must add up to 100, or map must be empty if the Endpoint is to not accept any traffic at a moment.
|
1301
|
+
> **Note:** The `traffic_split` setting only applies after a model has been deployed to the endpoint. Re-applying a `vertex.AiEndpoint`
|
1302
|
+
resource without updating the `traffic_split` post-deployment may lead to your deployed `traffic_split` being lost; see
|
1295
1303
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
1296
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
1297
|
-
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
1304
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for details.
|
1298
1305
|
"""
|
1299
1306
|
return pulumi.get(self, "traffic_split")
|
1300
1307
|
|
@@ -2,7 +2,7 @@ pulumi_gcp/__init__.py,sha256=YZOEkG499_AWFtP2wOi3zqC8L7yz2bgbo6tFHyd4nhA,211347
|
|
2
2
|
pulumi_gcp/_inputs.py,sha256=Od7fuuGzQlwMR_yFc1c5R1CuvtPhgRpe262W7i6UPKc,1873
|
3
3
|
pulumi_gcp/_utilities.py,sha256=-gxwnD6__OYdSf8jJgJijNuu-UHUwi5pJ1H7-eIHDhg,10504
|
4
4
|
pulumi_gcp/provider.py,sha256=1rzUwuOX1emH-KEWC1yst-CLPeziHIWxgVxGCXPP7m8,198544
|
5
|
-
pulumi_gcp/pulumi-plugin.json,sha256=
|
5
|
+
pulumi_gcp/pulumi-plugin.json,sha256=3Xn2XnOw4Ni3kiomwFNnAQjwVL-p2HMconK9uImW9OI,80
|
6
6
|
pulumi_gcp/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
7
7
|
pulumi_gcp/accessapproval/__init__.py,sha256=VpbPp-2Rb1295tFUB_3aO6TvbS1UhYt3ycgAzrNVqOU,402
|
8
8
|
pulumi_gcp/accessapproval/get_folder_service_account.py,sha256=DsS3Y4x83MKZnVBKsAsYUiBbpnRMwcUaQl4RVovyFCg,6281
|
@@ -1639,7 +1639,7 @@ pulumi_gcp/vertex/__init__.py,sha256=dk9dtwU1rahQineagNFisXhouXqQNW2a9ABWBk-jRBQ
|
|
1639
1639
|
pulumi_gcp/vertex/_inputs.py,sha256=ccg4ezsY8vaivsOJAr-oSmow88Pzgj4EkhCGabHWKeI,205828
|
1640
1640
|
pulumi_gcp/vertex/ai_dataset.py,sha256=B-9whdEknbVFJMrk19Ds2CSa00GD3UfsG1kdN1GwFmQ,31301
|
1641
1641
|
pulumi_gcp/vertex/ai_deployment_resource_pool.py,sha256=ACr55ska6MRmGQXCdad34Pkt7utJWk16w8WkzO0sAsI,20303
|
1642
|
-
pulumi_gcp/vertex/ai_endpoint.py,sha256=
|
1642
|
+
pulumi_gcp/vertex/ai_endpoint.py,sha256=h3o317qsJFe-mAsYxvOL_dTcBAUpMcSqhgGUhkNxswQ,77539
|
1643
1643
|
pulumi_gcp/vertex/ai_endpoint_iam_binding.py,sha256=M-95Od-IXWKyq-e7SSvTONPRXyt-I5HWQuz8k9eHNTs,12913
|
1644
1644
|
pulumi_gcp/vertex/ai_endpoint_iam_member.py,sha256=iWFlLeCAyvJKE9aPA-YaGGdJ3aoIegpQinArMHTNrbI,12624
|
1645
1645
|
pulumi_gcp/vertex/ai_endpoint_iam_policy.py,sha256=dDEucjvM1rlbD6qWpFEjS8FgT1lPiiy0eHAjMkOE7Ks,9884
|
@@ -1716,7 +1716,7 @@ pulumi_gcp/workstations/workstation_config_iam_policy.py,sha256=6254B7mpV5htw169
|
|
1716
1716
|
pulumi_gcp/workstations/workstation_iam_binding.py,sha256=yCizez3UUlZWaQX2GNL4n5fuwebLdmEgWorPzEWP5-c,37782
|
1717
1717
|
pulumi_gcp/workstations/workstation_iam_member.py,sha256=XTMhHTr0jQp4-3Zz68qhRDO7cQa3Www4Vza8axVinIc,37383
|
1718
1718
|
pulumi_gcp/workstations/workstation_iam_policy.py,sha256=yOPXKlHDXIsg9lzajYjtkfYgzsiuyyrZjQ7J85I5rcA,24017
|
1719
|
-
pulumi_gcp-8.
|
1720
|
-
pulumi_gcp-8.
|
1721
|
-
pulumi_gcp-8.
|
1722
|
-
pulumi_gcp-8.
|
1719
|
+
pulumi_gcp-8.10.0a1731584999.dist-info/METADATA,sha256=yKlCTOdCwziuY_MZCpRBCW2AEdEpS29ipI4tlAXIN6M,2730
|
1720
|
+
pulumi_gcp-8.10.0a1731584999.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
1721
|
+
pulumi_gcp-8.10.0a1731584999.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
|
1722
|
+
pulumi_gcp-8.10.0a1731584999.dist-info/RECORD,,
|
File without changes
|
{pulumi_gcp-8.9.3a1731934815.dist-info → pulumi_gcp-8.10.0a1731584999.dist-info}/top_level.txt
RENAMED
File without changes
|