pulumi-gcp 8.11.0a1734348982__py3-none-any.whl → 8.11.0a1734385115__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/__init__.py +91 -0
- pulumi_gcp/accesscontextmanager/_inputs.py +29 -0
- pulumi_gcp/accesscontextmanager/outputs.py +18 -0
- pulumi_gcp/accesscontextmanager/service_perimeter.py +36 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +6 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +6 -0
- pulumi_gcp/apigee/app_group.py +7 -7
- pulumi_gcp/applicationintegration/client.py +8 -6
- pulumi_gcp/artifactregistry/_inputs.py +24 -15
- pulumi_gcp/artifactregistry/outputs.py +32 -20
- pulumi_gcp/artifactregistry/repository.py +128 -0
- pulumi_gcp/assuredworkloads/workload.py +7 -7
- pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
- pulumi_gcp/backupdisasterrecovery/backup_plan.py +2 -2
- pulumi_gcp/backupdisasterrecovery/backup_vault.py +12 -8
- pulumi_gcp/backupdisasterrecovery/get_backup.py +153 -0
- pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +415 -0
- pulumi_gcp/backupdisasterrecovery/outputs.py +63 -0
- pulumi_gcp/bigquery/app_profile.py +75 -0
- pulumi_gcp/billing/_inputs.py +6 -6
- pulumi_gcp/billing/outputs.py +4 -4
- pulumi_gcp/certificateauthority/_inputs.py +9 -9
- pulumi_gcp/certificateauthority/outputs.py +8 -8
- pulumi_gcp/cloudbuild/_inputs.py +53 -0
- pulumi_gcp/cloudbuild/outputs.py +50 -0
- pulumi_gcp/cloudbuild/worker_pool.py +47 -0
- pulumi_gcp/clouddeploy/_inputs.py +254 -0
- pulumi_gcp/clouddeploy/outputs.py +211 -0
- pulumi_gcp/clouddeploy/target.py +47 -0
- pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -6
- pulumi_gcp/cloudfunctionsv2/outputs.py +8 -8
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/cloudrunv2/service.py +4 -4
- pulumi_gcp/composer/get_user_workloads_config_map.py +4 -0
- pulumi_gcp/composer/get_user_workloads_secret.py +4 -0
- pulumi_gcp/composer/user_workloads_config_map.py +14 -0
- pulumi_gcp/composer/user_workloads_secret.py +6 -0
- pulumi_gcp/compute/_inputs.py +566 -25
- pulumi_gcp/compute/disk.py +21 -7
- pulumi_gcp/compute/firewall_policy_rule.py +12 -0
- pulumi_gcp/compute/get_forwarding_rules.py +2 -2
- pulumi_gcp/compute/get_global_forwarding_rule.py +12 -1
- pulumi_gcp/compute/get_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_network.py +35 -1
- pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
- pulumi_gcp/compute/get_region_network_endpoint_group.py +12 -1
- pulumi_gcp/compute/global_forwarding_rule.py +28 -0
- pulumi_gcp/compute/instance_group_manager.py +28 -0
- pulumi_gcp/compute/network.py +75 -0
- pulumi_gcp/compute/outputs.py +655 -26
- pulumi_gcp/compute/region_health_check.py +28 -0
- pulumi_gcp/compute/region_instance_group_manager.py +28 -0
- pulumi_gcp/compute/region_network_endpoint.py +28 -0
- pulumi_gcp/compute/region_network_endpoint_group.py +70 -2
- pulumi_gcp/compute/subnetwork.py +30 -2
- pulumi_gcp/compute/url_map.py +7 -7
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +201 -3
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +249 -3
- pulumi_gcp/dataproc/_inputs.py +209 -1
- pulumi_gcp/dataproc/batch.py +76 -0
- pulumi_gcp/dataproc/outputs.py +169 -3
- pulumi_gcp/diagflow/_inputs.py +3 -3
- pulumi_gcp/diagflow/outputs.py +2 -2
- pulumi_gcp/discoveryengine/search_engine.py +7 -7
- pulumi_gcp/firebaserules/release.py +76 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/__init__.py +15 -0
- pulumi_gcp/gemini/_inputs.py +183 -0
- pulumi_gcp/gemini/code_repository_index.py +659 -0
- pulumi_gcp/gemini/get_repository_group_iam_policy.py +171 -0
- pulumi_gcp/gemini/outputs.py +130 -0
- pulumi_gcp/gemini/repository_group.py +586 -0
- pulumi_gcp/gemini/repository_group_iam_binding.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_member.py +604 -0
- pulumi_gcp/gemini/repository_group_iam_policy.py +443 -0
- pulumi_gcp/gkehub/_inputs.py +30 -10
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/outputs.py +21 -7
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iam/__init__.py +1 -0
- pulumi_gcp/iam/_inputs.py +137 -0
- pulumi_gcp/iam/folders_policy_binding.py +16 -0
- pulumi_gcp/iam/organizations_policy_binding.py +16 -0
- pulumi_gcp/iam/outputs.py +99 -0
- pulumi_gcp/iam/principal_access_boundary_policy.py +16 -0
- pulumi_gcp/iam/projects_policy_binding.py +917 -0
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/_inputs.py +15 -15
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/integrationconnectors/outputs.py +10 -10
- pulumi_gcp/monitoring/_inputs.py +13 -6
- pulumi_gcp/monitoring/outputs.py +10 -4
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/active_directory.py +7 -7
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/netapp/volume.py +11 -11
- pulumi_gcp/networkconnectivity/spoke.py +10 -10
- pulumi_gcp/networksecurity/__init__.py +4 -0
- pulumi_gcp/networksecurity/_inputs.py +115 -0
- pulumi_gcp/networksecurity/mirroring_deployment.py +848 -0
- pulumi_gcp/networksecurity/mirroring_deployment_group.py +752 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group.py +737 -0
- pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +840 -0
- pulumi_gcp/networksecurity/outputs.py +70 -0
- pulumi_gcp/oracledatabase/autonomous_database.py +42 -4
- pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +42 -4
- pulumi_gcp/oracledatabase/cloud_vm_cluster.py +50 -8
- pulumi_gcp/oracledatabase/get_autonomous_database.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +12 -1
- pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +12 -1
- pulumi_gcp/oracledatabase/outputs.py +21 -0
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parallelstore/instance.py +4 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +435 -3
- pulumi_gcp/redis/cluster.py +287 -16
- pulumi_gcp/redis/outputs.py +304 -2
- pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
- pulumi_gcp/serviceaccount/get_account_key.py +2 -2
- pulumi_gcp/storage/get_bucket.py +2 -2
- pulumi_gcp/storage/get_bucket_object_content.py +2 -2
- pulumi_gcp/tpu/__init__.py +1 -0
- pulumi_gcp/tpu/_inputs.py +188 -6
- pulumi_gcp/tpu/outputs.py +164 -4
- pulumi_gcp/tpu/v2_queued_resource.py +434 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/RECORD +142 -125
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.11.0a1734385115.dist-info}/top_level.txt +0 -0
pulumi_gcp/tpu/outputs.py
CHANGED
@@ -18,6 +18,9 @@ from . import outputs
|
|
18
18
|
__all__ = [
|
19
19
|
'NodeNetworkEndpoint',
|
20
20
|
'NodeSchedulingConfig',
|
21
|
+
'V2QueuedResourceTpu',
|
22
|
+
'V2QueuedResourceTpuNodeSpec',
|
23
|
+
'V2QueuedResourceTpuNodeSpecNode',
|
21
24
|
'V2VmAcceleratorConfig',
|
22
25
|
'V2VmDataDisk',
|
23
26
|
'V2VmNetworkConfig',
|
@@ -99,6 +102,165 @@ class NodeSchedulingConfig(dict):
|
|
99
102
|
return pulumi.get(self, "preemptible")
|
100
103
|
|
101
104
|
|
105
|
+
@pulumi.output_type
|
106
|
+
class V2QueuedResourceTpu(dict):
|
107
|
+
@staticmethod
|
108
|
+
def __key_warning(key: str):
|
109
|
+
suggest = None
|
110
|
+
if key == "nodeSpecs":
|
111
|
+
suggest = "node_specs"
|
112
|
+
|
113
|
+
if suggest:
|
114
|
+
pulumi.log.warn(f"Key '{key}' not found in V2QueuedResourceTpu. Access the value via the '{suggest}' property getter instead.")
|
115
|
+
|
116
|
+
def __getitem__(self, key: str) -> Any:
|
117
|
+
V2QueuedResourceTpu.__key_warning(key)
|
118
|
+
return super().__getitem__(key)
|
119
|
+
|
120
|
+
def get(self, key: str, default = None) -> Any:
|
121
|
+
V2QueuedResourceTpu.__key_warning(key)
|
122
|
+
return super().get(key, default)
|
123
|
+
|
124
|
+
def __init__(__self__, *,
|
125
|
+
node_specs: Optional[Sequence['outputs.V2QueuedResourceTpuNodeSpec']] = None):
|
126
|
+
"""
|
127
|
+
:param Sequence['V2QueuedResourceTpuNodeSpecArgs'] node_specs: The TPU node(s) being requested.
|
128
|
+
Structure is documented below.
|
129
|
+
"""
|
130
|
+
if node_specs is not None:
|
131
|
+
pulumi.set(__self__, "node_specs", node_specs)
|
132
|
+
|
133
|
+
@property
|
134
|
+
@pulumi.getter(name="nodeSpecs")
|
135
|
+
def node_specs(self) -> Optional[Sequence['outputs.V2QueuedResourceTpuNodeSpec']]:
|
136
|
+
"""
|
137
|
+
The TPU node(s) being requested.
|
138
|
+
Structure is documented below.
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "node_specs")
|
141
|
+
|
142
|
+
|
143
|
+
@pulumi.output_type
|
144
|
+
class V2QueuedResourceTpuNodeSpec(dict):
|
145
|
+
@staticmethod
|
146
|
+
def __key_warning(key: str):
|
147
|
+
suggest = None
|
148
|
+
if key == "nodeId":
|
149
|
+
suggest = "node_id"
|
150
|
+
|
151
|
+
if suggest:
|
152
|
+
pulumi.log.warn(f"Key '{key}' not found in V2QueuedResourceTpuNodeSpec. Access the value via the '{suggest}' property getter instead.")
|
153
|
+
|
154
|
+
def __getitem__(self, key: str) -> Any:
|
155
|
+
V2QueuedResourceTpuNodeSpec.__key_warning(key)
|
156
|
+
return super().__getitem__(key)
|
157
|
+
|
158
|
+
def get(self, key: str, default = None) -> Any:
|
159
|
+
V2QueuedResourceTpuNodeSpec.__key_warning(key)
|
160
|
+
return super().get(key, default)
|
161
|
+
|
162
|
+
def __init__(__self__, *,
|
163
|
+
node: 'outputs.V2QueuedResourceTpuNodeSpecNode',
|
164
|
+
parent: str,
|
165
|
+
node_id: Optional[str] = None):
|
166
|
+
"""
|
167
|
+
:param 'V2QueuedResourceTpuNodeSpecNodeArgs' node: The node.
|
168
|
+
Structure is documented below.
|
169
|
+
:param str parent: The parent resource name.
|
170
|
+
:param str node_id: Unqualified node identifier used to identify the node in the project once provisioned.
|
171
|
+
"""
|
172
|
+
pulumi.set(__self__, "node", node)
|
173
|
+
pulumi.set(__self__, "parent", parent)
|
174
|
+
if node_id is not None:
|
175
|
+
pulumi.set(__self__, "node_id", node_id)
|
176
|
+
|
177
|
+
@property
|
178
|
+
@pulumi.getter
|
179
|
+
def node(self) -> 'outputs.V2QueuedResourceTpuNodeSpecNode':
|
180
|
+
"""
|
181
|
+
The node.
|
182
|
+
Structure is documented below.
|
183
|
+
"""
|
184
|
+
return pulumi.get(self, "node")
|
185
|
+
|
186
|
+
@property
|
187
|
+
@pulumi.getter
|
188
|
+
def parent(self) -> str:
|
189
|
+
"""
|
190
|
+
The parent resource name.
|
191
|
+
"""
|
192
|
+
return pulumi.get(self, "parent")
|
193
|
+
|
194
|
+
@property
|
195
|
+
@pulumi.getter(name="nodeId")
|
196
|
+
def node_id(self) -> Optional[str]:
|
197
|
+
"""
|
198
|
+
Unqualified node identifier used to identify the node in the project once provisioned.
|
199
|
+
"""
|
200
|
+
return pulumi.get(self, "node_id")
|
201
|
+
|
202
|
+
|
203
|
+
@pulumi.output_type
|
204
|
+
class V2QueuedResourceTpuNodeSpecNode(dict):
|
205
|
+
@staticmethod
|
206
|
+
def __key_warning(key: str):
|
207
|
+
suggest = None
|
208
|
+
if key == "runtimeVersion":
|
209
|
+
suggest = "runtime_version"
|
210
|
+
elif key == "acceleratorType":
|
211
|
+
suggest = "accelerator_type"
|
212
|
+
|
213
|
+
if suggest:
|
214
|
+
pulumi.log.warn(f"Key '{key}' not found in V2QueuedResourceTpuNodeSpecNode. Access the value via the '{suggest}' property getter instead.")
|
215
|
+
|
216
|
+
def __getitem__(self, key: str) -> Any:
|
217
|
+
V2QueuedResourceTpuNodeSpecNode.__key_warning(key)
|
218
|
+
return super().__getitem__(key)
|
219
|
+
|
220
|
+
def get(self, key: str, default = None) -> Any:
|
221
|
+
V2QueuedResourceTpuNodeSpecNode.__key_warning(key)
|
222
|
+
return super().get(key, default)
|
223
|
+
|
224
|
+
def __init__(__self__, *,
|
225
|
+
runtime_version: str,
|
226
|
+
accelerator_type: Optional[str] = None,
|
227
|
+
description: Optional[str] = None):
|
228
|
+
"""
|
229
|
+
:param str runtime_version: Runtime version for the TPU.
|
230
|
+
:param str accelerator_type: TPU accelerator type for the TPU. If not specified, this defaults to 'v2-8'.
|
231
|
+
:param str description: Text description of the TPU.
|
232
|
+
"""
|
233
|
+
pulumi.set(__self__, "runtime_version", runtime_version)
|
234
|
+
if accelerator_type is not None:
|
235
|
+
pulumi.set(__self__, "accelerator_type", accelerator_type)
|
236
|
+
if description is not None:
|
237
|
+
pulumi.set(__self__, "description", description)
|
238
|
+
|
239
|
+
@property
|
240
|
+
@pulumi.getter(name="runtimeVersion")
|
241
|
+
def runtime_version(self) -> str:
|
242
|
+
"""
|
243
|
+
Runtime version for the TPU.
|
244
|
+
"""
|
245
|
+
return pulumi.get(self, "runtime_version")
|
246
|
+
|
247
|
+
@property
|
248
|
+
@pulumi.getter(name="acceleratorType")
|
249
|
+
def accelerator_type(self) -> Optional[str]:
|
250
|
+
"""
|
251
|
+
TPU accelerator type for the TPU. If not specified, this defaults to 'v2-8'.
|
252
|
+
"""
|
253
|
+
return pulumi.get(self, "accelerator_type")
|
254
|
+
|
255
|
+
@property
|
256
|
+
@pulumi.getter
|
257
|
+
def description(self) -> Optional[str]:
|
258
|
+
"""
|
259
|
+
Text description of the TPU.
|
260
|
+
"""
|
261
|
+
return pulumi.get(self, "description")
|
262
|
+
|
263
|
+
|
102
264
|
@pulumi.output_type
|
103
265
|
class V2VmAcceleratorConfig(dict):
|
104
266
|
def __init__(__self__, *,
|
@@ -106,8 +268,7 @@ class V2VmAcceleratorConfig(dict):
|
|
106
268
|
type: str):
|
107
269
|
"""
|
108
270
|
:param str topology: Topology of TPU in chips.
|
109
|
-
:param str type: Type of TPU.
|
110
|
-
Possible values are: `V2`, `V3`, `V4`, `V5P`.
|
271
|
+
:param str type: Type of TPU. Please select one of the allowed types: https://cloud.google.com/tpu/docs/reference/rest/v2/AcceleratorConfig#Type
|
111
272
|
"""
|
112
273
|
pulumi.set(__self__, "topology", topology)
|
113
274
|
pulumi.set(__self__, "type", type)
|
@@ -124,8 +285,7 @@ class V2VmAcceleratorConfig(dict):
|
|
124
285
|
@pulumi.getter
|
125
286
|
def type(self) -> str:
|
126
287
|
"""
|
127
|
-
Type of TPU.
|
128
|
-
Possible values are: `V2`, `V3`, `V4`, `V5P`.
|
288
|
+
Type of TPU. Please select one of the allowed types: https://cloud.google.com/tpu/docs/reference/rest/v2/AcceleratorConfig#Type
|
129
289
|
"""
|
130
290
|
return pulumi.get(self, "type")
|
131
291
|
|
@@ -0,0 +1,434 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
from . import outputs
|
17
|
+
from ._inputs import *
|
18
|
+
|
19
|
+
__all__ = ['V2QueuedResourceArgs', 'V2QueuedResource']
|
20
|
+
|
21
|
+
@pulumi.input_type
|
22
|
+
class V2QueuedResourceArgs:
|
23
|
+
def __init__(__self__, *,
|
24
|
+
name: Optional[pulumi.Input[str]] = None,
|
25
|
+
project: Optional[pulumi.Input[str]] = None,
|
26
|
+
tpu: Optional[pulumi.Input['V2QueuedResourceTpuArgs']] = None,
|
27
|
+
zone: Optional[pulumi.Input[str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a V2QueuedResource resource.
|
30
|
+
:param pulumi.Input[str] name: The immutable name of the Queued Resource.
|
31
|
+
|
32
|
+
|
33
|
+
- - -
|
34
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
35
|
+
If it is not provided, the provider project is used.
|
36
|
+
:param pulumi.Input['V2QueuedResourceTpuArgs'] tpu: Defines a TPU resource.
|
37
|
+
Structure is documented below.
|
38
|
+
:param pulumi.Input[str] zone: The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
39
|
+
"""
|
40
|
+
if name is not None:
|
41
|
+
pulumi.set(__self__, "name", name)
|
42
|
+
if project is not None:
|
43
|
+
pulumi.set(__self__, "project", project)
|
44
|
+
if tpu is not None:
|
45
|
+
pulumi.set(__self__, "tpu", tpu)
|
46
|
+
if zone is not None:
|
47
|
+
pulumi.set(__self__, "zone", zone)
|
48
|
+
|
49
|
+
@property
|
50
|
+
@pulumi.getter
|
51
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
52
|
+
"""
|
53
|
+
The immutable name of the Queued Resource.
|
54
|
+
|
55
|
+
|
56
|
+
- - -
|
57
|
+
"""
|
58
|
+
return pulumi.get(self, "name")
|
59
|
+
|
60
|
+
@name.setter
|
61
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
62
|
+
pulumi.set(self, "name", value)
|
63
|
+
|
64
|
+
@property
|
65
|
+
@pulumi.getter
|
66
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
67
|
+
"""
|
68
|
+
The ID of the project in which the resource belongs.
|
69
|
+
If it is not provided, the provider project is used.
|
70
|
+
"""
|
71
|
+
return pulumi.get(self, "project")
|
72
|
+
|
73
|
+
@project.setter
|
74
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
75
|
+
pulumi.set(self, "project", value)
|
76
|
+
|
77
|
+
@property
|
78
|
+
@pulumi.getter
|
79
|
+
def tpu(self) -> Optional[pulumi.Input['V2QueuedResourceTpuArgs']]:
|
80
|
+
"""
|
81
|
+
Defines a TPU resource.
|
82
|
+
Structure is documented below.
|
83
|
+
"""
|
84
|
+
return pulumi.get(self, "tpu")
|
85
|
+
|
86
|
+
@tpu.setter
|
87
|
+
def tpu(self, value: Optional[pulumi.Input['V2QueuedResourceTpuArgs']]):
|
88
|
+
pulumi.set(self, "tpu", value)
|
89
|
+
|
90
|
+
@property
|
91
|
+
@pulumi.getter
|
92
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
93
|
+
"""
|
94
|
+
The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
95
|
+
"""
|
96
|
+
return pulumi.get(self, "zone")
|
97
|
+
|
98
|
+
@zone.setter
|
99
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
100
|
+
pulumi.set(self, "zone", value)
|
101
|
+
|
102
|
+
|
103
|
+
@pulumi.input_type
|
104
|
+
class _V2QueuedResourceState:
|
105
|
+
def __init__(__self__, *,
|
106
|
+
name: Optional[pulumi.Input[str]] = None,
|
107
|
+
project: Optional[pulumi.Input[str]] = None,
|
108
|
+
tpu: Optional[pulumi.Input['V2QueuedResourceTpuArgs']] = None,
|
109
|
+
zone: Optional[pulumi.Input[str]] = None):
|
110
|
+
"""
|
111
|
+
Input properties used for looking up and filtering V2QueuedResource resources.
|
112
|
+
:param pulumi.Input[str] name: The immutable name of the Queued Resource.
|
113
|
+
|
114
|
+
|
115
|
+
- - -
|
116
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
117
|
+
If it is not provided, the provider project is used.
|
118
|
+
:param pulumi.Input['V2QueuedResourceTpuArgs'] tpu: Defines a TPU resource.
|
119
|
+
Structure is documented below.
|
120
|
+
:param pulumi.Input[str] zone: The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
121
|
+
"""
|
122
|
+
if name is not None:
|
123
|
+
pulumi.set(__self__, "name", name)
|
124
|
+
if project is not None:
|
125
|
+
pulumi.set(__self__, "project", project)
|
126
|
+
if tpu is not None:
|
127
|
+
pulumi.set(__self__, "tpu", tpu)
|
128
|
+
if zone is not None:
|
129
|
+
pulumi.set(__self__, "zone", zone)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter
|
133
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
134
|
+
"""
|
135
|
+
The immutable name of the Queued Resource.
|
136
|
+
|
137
|
+
|
138
|
+
- - -
|
139
|
+
"""
|
140
|
+
return pulumi.get(self, "name")
|
141
|
+
|
142
|
+
@name.setter
|
143
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
144
|
+
pulumi.set(self, "name", value)
|
145
|
+
|
146
|
+
@property
|
147
|
+
@pulumi.getter
|
148
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
149
|
+
"""
|
150
|
+
The ID of the project in which the resource belongs.
|
151
|
+
If it is not provided, the provider project is used.
|
152
|
+
"""
|
153
|
+
return pulumi.get(self, "project")
|
154
|
+
|
155
|
+
@project.setter
|
156
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
157
|
+
pulumi.set(self, "project", value)
|
158
|
+
|
159
|
+
@property
|
160
|
+
@pulumi.getter
|
161
|
+
def tpu(self) -> Optional[pulumi.Input['V2QueuedResourceTpuArgs']]:
|
162
|
+
"""
|
163
|
+
Defines a TPU resource.
|
164
|
+
Structure is documented below.
|
165
|
+
"""
|
166
|
+
return pulumi.get(self, "tpu")
|
167
|
+
|
168
|
+
@tpu.setter
|
169
|
+
def tpu(self, value: Optional[pulumi.Input['V2QueuedResourceTpuArgs']]):
|
170
|
+
pulumi.set(self, "tpu", value)
|
171
|
+
|
172
|
+
@property
|
173
|
+
@pulumi.getter
|
174
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
175
|
+
"""
|
176
|
+
The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
177
|
+
"""
|
178
|
+
return pulumi.get(self, "zone")
|
179
|
+
|
180
|
+
@zone.setter
|
181
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
182
|
+
pulumi.set(self, "zone", value)
|
183
|
+
|
184
|
+
|
185
|
+
class V2QueuedResource(pulumi.CustomResource):
|
186
|
+
@overload
|
187
|
+
def __init__(__self__,
|
188
|
+
resource_name: str,
|
189
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
190
|
+
name: Optional[pulumi.Input[str]] = None,
|
191
|
+
project: Optional[pulumi.Input[str]] = None,
|
192
|
+
tpu: Optional[pulumi.Input[Union['V2QueuedResourceTpuArgs', 'V2QueuedResourceTpuArgsDict']]] = None,
|
193
|
+
zone: Optional[pulumi.Input[str]] = None,
|
194
|
+
__props__=None):
|
195
|
+
"""
|
196
|
+
## Example Usage
|
197
|
+
|
198
|
+
### Tpu V2 Queued Resource Basic
|
199
|
+
|
200
|
+
```python
|
201
|
+
import pulumi
|
202
|
+
import pulumi_gcp as gcp
|
203
|
+
|
204
|
+
qr = gcp.tpu.V2QueuedResource("qr",
|
205
|
+
name="test-qr",
|
206
|
+
zone="us-central1-c",
|
207
|
+
project="my-project-name",
|
208
|
+
tpu={
|
209
|
+
"node_specs": [{
|
210
|
+
"parent": "projects/my-project-name/locations/us-central1-c",
|
211
|
+
"node_id": "test-tpu",
|
212
|
+
"node": {
|
213
|
+
"runtime_version": "tpu-vm-tf-2.13.0",
|
214
|
+
"accelerator_type": "v2-8",
|
215
|
+
"description": "Text description of the TPU.",
|
216
|
+
},
|
217
|
+
}],
|
218
|
+
})
|
219
|
+
```
|
220
|
+
|
221
|
+
## Import
|
222
|
+
|
223
|
+
QueuedResource can be imported using any of these accepted formats:
|
224
|
+
|
225
|
+
* `projects/{{project}}/locations/{{zone}}/queuedResources/{{name}}`
|
226
|
+
|
227
|
+
* `{{project}}/{{zone}}/{{name}}`
|
228
|
+
|
229
|
+
* `{{zone}}/{{name}}`
|
230
|
+
|
231
|
+
* `{{name}}`
|
232
|
+
|
233
|
+
When using the `pulumi import` command, QueuedResource can be imported using one of the formats above. For example:
|
234
|
+
|
235
|
+
```sh
|
236
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default projects/{{project}}/locations/{{zone}}/queuedResources/{{name}}
|
237
|
+
```
|
238
|
+
|
239
|
+
```sh
|
240
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default {{project}}/{{zone}}/{{name}}
|
241
|
+
```
|
242
|
+
|
243
|
+
```sh
|
244
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default {{zone}}/{{name}}
|
245
|
+
```
|
246
|
+
|
247
|
+
```sh
|
248
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default {{name}}
|
249
|
+
```
|
250
|
+
|
251
|
+
:param str resource_name: The name of the resource.
|
252
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
253
|
+
:param pulumi.Input[str] name: The immutable name of the Queued Resource.
|
254
|
+
|
255
|
+
|
256
|
+
- - -
|
257
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
258
|
+
If it is not provided, the provider project is used.
|
259
|
+
:param pulumi.Input[Union['V2QueuedResourceTpuArgs', 'V2QueuedResourceTpuArgsDict']] tpu: Defines a TPU resource.
|
260
|
+
Structure is documented below.
|
261
|
+
:param pulumi.Input[str] zone: The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
262
|
+
"""
|
263
|
+
...
|
264
|
+
@overload
|
265
|
+
def __init__(__self__,
|
266
|
+
resource_name: str,
|
267
|
+
args: Optional[V2QueuedResourceArgs] = None,
|
268
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
269
|
+
"""
|
270
|
+
## Example Usage
|
271
|
+
|
272
|
+
### Tpu V2 Queued Resource Basic
|
273
|
+
|
274
|
+
```python
|
275
|
+
import pulumi
|
276
|
+
import pulumi_gcp as gcp
|
277
|
+
|
278
|
+
qr = gcp.tpu.V2QueuedResource("qr",
|
279
|
+
name="test-qr",
|
280
|
+
zone="us-central1-c",
|
281
|
+
project="my-project-name",
|
282
|
+
tpu={
|
283
|
+
"node_specs": [{
|
284
|
+
"parent": "projects/my-project-name/locations/us-central1-c",
|
285
|
+
"node_id": "test-tpu",
|
286
|
+
"node": {
|
287
|
+
"runtime_version": "tpu-vm-tf-2.13.0",
|
288
|
+
"accelerator_type": "v2-8",
|
289
|
+
"description": "Text description of the TPU.",
|
290
|
+
},
|
291
|
+
}],
|
292
|
+
})
|
293
|
+
```
|
294
|
+
|
295
|
+
## Import
|
296
|
+
|
297
|
+
QueuedResource can be imported using any of these accepted formats:
|
298
|
+
|
299
|
+
* `projects/{{project}}/locations/{{zone}}/queuedResources/{{name}}`
|
300
|
+
|
301
|
+
* `{{project}}/{{zone}}/{{name}}`
|
302
|
+
|
303
|
+
* `{{zone}}/{{name}}`
|
304
|
+
|
305
|
+
* `{{name}}`
|
306
|
+
|
307
|
+
When using the `pulumi import` command, QueuedResource can be imported using one of the formats above. For example:
|
308
|
+
|
309
|
+
```sh
|
310
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default projects/{{project}}/locations/{{zone}}/queuedResources/{{name}}
|
311
|
+
```
|
312
|
+
|
313
|
+
```sh
|
314
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default {{project}}/{{zone}}/{{name}}
|
315
|
+
```
|
316
|
+
|
317
|
+
```sh
|
318
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default {{zone}}/{{name}}
|
319
|
+
```
|
320
|
+
|
321
|
+
```sh
|
322
|
+
$ pulumi import gcp:tpu/v2QueuedResource:V2QueuedResource default {{name}}
|
323
|
+
```
|
324
|
+
|
325
|
+
:param str resource_name: The name of the resource.
|
326
|
+
:param V2QueuedResourceArgs args: The arguments to use to populate this resource's properties.
|
327
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
328
|
+
"""
|
329
|
+
...
|
330
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
331
|
+
resource_args, opts = _utilities.get_resource_args_opts(V2QueuedResourceArgs, pulumi.ResourceOptions, *args, **kwargs)
|
332
|
+
if resource_args is not None:
|
333
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
334
|
+
else:
|
335
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
336
|
+
|
337
|
+
def _internal_init(__self__,
|
338
|
+
resource_name: str,
|
339
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
340
|
+
name: Optional[pulumi.Input[str]] = None,
|
341
|
+
project: Optional[pulumi.Input[str]] = None,
|
342
|
+
tpu: Optional[pulumi.Input[Union['V2QueuedResourceTpuArgs', 'V2QueuedResourceTpuArgsDict']]] = None,
|
343
|
+
zone: Optional[pulumi.Input[str]] = None,
|
344
|
+
__props__=None):
|
345
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
346
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
347
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
348
|
+
if opts.id is None:
|
349
|
+
if __props__ is not None:
|
350
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
351
|
+
__props__ = V2QueuedResourceArgs.__new__(V2QueuedResourceArgs)
|
352
|
+
|
353
|
+
__props__.__dict__["name"] = name
|
354
|
+
__props__.__dict__["project"] = project
|
355
|
+
__props__.__dict__["tpu"] = tpu
|
356
|
+
__props__.__dict__["zone"] = zone
|
357
|
+
super(V2QueuedResource, __self__).__init__(
|
358
|
+
'gcp:tpu/v2QueuedResource:V2QueuedResource',
|
359
|
+
resource_name,
|
360
|
+
__props__,
|
361
|
+
opts)
|
362
|
+
|
363
|
+
@staticmethod
|
364
|
+
def get(resource_name: str,
|
365
|
+
id: pulumi.Input[str],
|
366
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
367
|
+
name: Optional[pulumi.Input[str]] = None,
|
368
|
+
project: Optional[pulumi.Input[str]] = None,
|
369
|
+
tpu: Optional[pulumi.Input[Union['V2QueuedResourceTpuArgs', 'V2QueuedResourceTpuArgsDict']]] = None,
|
370
|
+
zone: Optional[pulumi.Input[str]] = None) -> 'V2QueuedResource':
|
371
|
+
"""
|
372
|
+
Get an existing V2QueuedResource resource's state with the given name, id, and optional extra
|
373
|
+
properties used to qualify the lookup.
|
374
|
+
|
375
|
+
:param str resource_name: The unique name of the resulting resource.
|
376
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
377
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
378
|
+
:param pulumi.Input[str] name: The immutable name of the Queued Resource.
|
379
|
+
|
380
|
+
|
381
|
+
- - -
|
382
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
383
|
+
If it is not provided, the provider project is used.
|
384
|
+
:param pulumi.Input[Union['V2QueuedResourceTpuArgs', 'V2QueuedResourceTpuArgsDict']] tpu: Defines a TPU resource.
|
385
|
+
Structure is documented below.
|
386
|
+
:param pulumi.Input[str] zone: The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
387
|
+
"""
|
388
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
389
|
+
|
390
|
+
__props__ = _V2QueuedResourceState.__new__(_V2QueuedResourceState)
|
391
|
+
|
392
|
+
__props__.__dict__["name"] = name
|
393
|
+
__props__.__dict__["project"] = project
|
394
|
+
__props__.__dict__["tpu"] = tpu
|
395
|
+
__props__.__dict__["zone"] = zone
|
396
|
+
return V2QueuedResource(resource_name, opts=opts, __props__=__props__)
|
397
|
+
|
398
|
+
@property
|
399
|
+
@pulumi.getter
|
400
|
+
def name(self) -> pulumi.Output[str]:
|
401
|
+
"""
|
402
|
+
The immutable name of the Queued Resource.
|
403
|
+
|
404
|
+
|
405
|
+
- - -
|
406
|
+
"""
|
407
|
+
return pulumi.get(self, "name")
|
408
|
+
|
409
|
+
@property
|
410
|
+
@pulumi.getter
|
411
|
+
def project(self) -> pulumi.Output[str]:
|
412
|
+
"""
|
413
|
+
The ID of the project in which the resource belongs.
|
414
|
+
If it is not provided, the provider project is used.
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "project")
|
417
|
+
|
418
|
+
@property
|
419
|
+
@pulumi.getter
|
420
|
+
def tpu(self) -> pulumi.Output[Optional['outputs.V2QueuedResourceTpu']]:
|
421
|
+
"""
|
422
|
+
Defines a TPU resource.
|
423
|
+
Structure is documented below.
|
424
|
+
"""
|
425
|
+
return pulumi.get(self, "tpu")
|
426
|
+
|
427
|
+
@property
|
428
|
+
@pulumi.getter
|
429
|
+
def zone(self) -> pulumi.Output[str]:
|
430
|
+
"""
|
431
|
+
The GCP location for the Queued Resource. If it is not provided, the provider zone is used.
|
432
|
+
"""
|
433
|
+
return pulumi.get(self, "zone")
|
434
|
+
|
pulumi_gcp/vertex/ai_endpoint.py
CHANGED
@@ -730,7 +730,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
730
730
|
|
731
731
|
project = gcp.organizations.get_project()
|
732
732
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
733
|
-
name="endpoint-
|
733
|
+
name="endpoint-name_8270",
|
734
734
|
display_name="sample-endpoint",
|
735
735
|
description="A sample vertex endpoint",
|
736
736
|
location="us-central1",
|
@@ -751,7 +751,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
751
751
|
import pulumi_gcp as gcp
|
752
752
|
|
753
753
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
754
|
-
name="endpoint-
|
754
|
+
name="endpoint-name_41150",
|
755
755
|
display_name="sample-endpoint",
|
756
756
|
description="A sample vertex endpoint",
|
757
757
|
location="us-central1",
|
@@ -896,7 +896,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
896
896
|
|
897
897
|
project = gcp.organizations.get_project()
|
898
898
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
899
|
-
name="endpoint-
|
899
|
+
name="endpoint-name_8270",
|
900
900
|
display_name="sample-endpoint",
|
901
901
|
description="A sample vertex endpoint",
|
902
902
|
location="us-central1",
|
@@ -917,7 +917,7 @@ class AiEndpoint(pulumi.CustomResource):
|
|
917
917
|
import pulumi_gcp as gcp
|
918
918
|
|
919
919
|
endpoint = gcp.vertex.AiEndpoint("endpoint",
|
920
|
-
name="endpoint-
|
920
|
+
name="endpoint-name_41150",
|
921
921
|
display_name="sample-endpoint",
|
922
922
|
description="A sample vertex endpoint",
|
923
923
|
location="us-central1",
|
@@ -618,8 +618,8 @@ class AiFeatureOnlineStoreFeatureview(pulumi.CustomResource):
|
|
618
618
|
|
619
619
|
test_project = gcp.organizations.get_project()
|
620
620
|
project = gcp.organizations.Project("project",
|
621
|
-
project_id="tf-
|
622
|
-
name="tf-
|
621
|
+
project_id="tf-test_89313",
|
622
|
+
name="tf-test_60646",
|
623
623
|
org_id="123456789",
|
624
624
|
billing_account="000000-0000000-0000000-000000",
|
625
625
|
deletion_policy="DELETE")
|
@@ -1063,8 +1063,8 @@ class AiFeatureOnlineStoreFeatureview(pulumi.CustomResource):
|
|
1063
1063
|
|
1064
1064
|
test_project = gcp.organizations.get_project()
|
1065
1065
|
project = gcp.organizations.Project("project",
|
1066
|
-
project_id="tf-
|
1067
|
-
name="tf-
|
1066
|
+
project_id="tf-test_89313",
|
1067
|
+
name="tf-test_60646",
|
1068
1068
|
org_id="123456789",
|
1069
1069
|
billing_account="000000-0000000-0000000-000000",
|
1070
1070
|
deletion_policy="DELETE")
|