pulumi-gcp 8.9.2a1731664531__py3-none-any.whl → 8.9.3__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 +22 -29
- {pulumi_gcp-8.9.2a1731664531.dist-info → pulumi_gcp-8.9.3.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.9.2a1731664531.dist-info → pulumi_gcp-8.9.3.dist-info}/RECORD +6 -6
- {pulumi_gcp-8.9.2a1731664531.dist-info → pulumi_gcp-8.9.3.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.9.2a1731664531.dist-info → pulumi_gcp-8.9.3.dist-info}/top_level.txt +0 -0
pulumi_gcp/pulumi-plugin.json
CHANGED
pulumi_gcp/vertex/ai_endpoint.py
CHANGED
@@ -59,11 +59,10 @@ 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.
|
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
|
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. See
|
65
63
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
66
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
64
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
65
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
67
66
|
"""
|
68
67
|
pulumi.set(__self__, "display_name", display_name)
|
69
68
|
pulumi.set(__self__, "location", location)
|
@@ -249,11 +248,10 @@ class AiEndpointArgs:
|
|
249
248
|
"""
|
250
249
|
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
251
250
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
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
|
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. See
|
255
252
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
256
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
253
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
254
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
257
255
|
"""
|
258
256
|
return pulumi.get(self, "traffic_split")
|
259
257
|
|
@@ -321,11 +319,10 @@ class _AiEndpointState:
|
|
321
319
|
:param pulumi.Input[str] region: The region for the resource
|
322
320
|
: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.
|
323
321
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
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
|
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. See
|
327
323
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
328
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
324
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
325
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
329
326
|
:param pulumi.Input[str] update_time: Output only. Timestamp when this Endpoint was last updated.
|
330
327
|
"""
|
331
328
|
if create_time is not None:
|
@@ -617,11 +614,10 @@ class _AiEndpointState:
|
|
617
614
|
"""
|
618
615
|
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
619
616
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
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
|
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. See
|
623
618
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
624
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
619
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
620
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
625
621
|
"""
|
626
622
|
return pulumi.get(self, "traffic_split")
|
627
623
|
|
@@ -816,11 +812,10 @@ class AiEndpoint(pulumi.CustomResource):
|
|
816
812
|
:param pulumi.Input[str] region: The region for the resource
|
817
813
|
: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.
|
818
814
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
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
|
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. See
|
822
816
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
823
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
817
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
818
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
824
819
|
"""
|
825
820
|
...
|
826
821
|
@overload
|
@@ -1093,11 +1088,10 @@ class AiEndpoint(pulumi.CustomResource):
|
|
1093
1088
|
:param pulumi.Input[str] region: The region for the resource
|
1094
1089
|
: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.
|
1095
1090
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
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
|
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. See
|
1099
1092
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
1100
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
1093
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
1094
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
1101
1095
|
:param pulumi.Input[str] update_time: Output only. Timestamp when this Endpoint was last updated.
|
1102
1096
|
"""
|
1103
1097
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
@@ -1293,15 +1287,14 @@ class AiEndpoint(pulumi.CustomResource):
|
|
1293
1287
|
|
1294
1288
|
@property
|
1295
1289
|
@pulumi.getter(name="trafficSplit")
|
1296
|
-
def traffic_split(self) -> pulumi.Output[
|
1290
|
+
def traffic_split(self) -> pulumi.Output[str]:
|
1297
1291
|
"""
|
1298
1292
|
A map from a DeployedModel's id to the percentage of this Endpoint's traffic that should be forwarded to that DeployedModel.
|
1299
1293
|
If a DeployedModel's id is not listed in this map, then it receives no traffic.
|
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
|
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. See
|
1303
1295
|
the `deployModel` [example](https://cloud.google.com/vertex-ai/docs/general/deployment#deploy_a_model_to_an_endpoint) and
|
1304
|
-
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for
|
1296
|
+
[documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1beta1/projects.locations.endpoints/deployModel) for more information.
|
1297
|
+
> **Note:** To set the map to empty, set `"{}"`, apply, and then remove the field from your config.
|
1305
1298
|
"""
|
1306
1299
|
return pulumi.get(self, "traffic_split")
|
1307
1300
|
|
@@ -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=y-jsi1COx8gQmdblJZyd8tQgmo4OdZKWJBv2rxvFrwM,62
|
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=2cE07QFUnCxqFnbwFHGm6rqxVcILxqQQbEzELUsaP4A,76444
|
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.9.
|
1720
|
-
pulumi_gcp-8.9.
|
1721
|
-
pulumi_gcp-8.9.
|
1722
|
-
pulumi_gcp-8.9.
|
1719
|
+
pulumi_gcp-8.9.3.dist-info/METADATA,sha256=hfg9LRhBXHMqGi_MfwdguyrWqPHIyQO5jCNkggIV2MA,2718
|
1720
|
+
pulumi_gcp-8.9.3.dist-info/WHEEL,sha256=R06PA3UVYHThwHvxuRWMqaGcr-PuniXahwjmQRFMEkY,91
|
1721
|
+
pulumi_gcp-8.9.3.dist-info/top_level.txt,sha256=acmDGVRVMJWpVhhj-l-aHbZ7mrvmzjmUeqRyCN8nnjM,11
|
1722
|
+
pulumi_gcp-8.9.3.dist-info/RECORD,,
|
File without changes
|
File without changes
|