pulumi-gcp 8.11.0a1734348982__py3-none-any.whl → 8.12.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.
Files changed (168) hide show
  1. pulumi_gcp/__init__.py +123 -0
  2. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +6 -0
  3. pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +6 -0
  4. pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +6 -0
  5. pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +6 -0
  6. pulumi_gcp/apigee/app_group.py +7 -7
  7. pulumi_gcp/applicationintegration/client.py +8 -6
  8. pulumi_gcp/artifactregistry/_inputs.py +24 -15
  9. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +12 -4
  10. pulumi_gcp/artifactregistry/outputs.py +32 -20
  11. pulumi_gcp/artifactregistry/repository.py +214 -39
  12. pulumi_gcp/artifactregistry/repository_iam_binding.py +42 -14
  13. pulumi_gcp/artifactregistry/repository_iam_member.py +42 -14
  14. pulumi_gcp/artifactregistry/repository_iam_policy.py +42 -14
  15. pulumi_gcp/assuredworkloads/workload.py +7 -7
  16. pulumi_gcp/backupdisasterrecovery/__init__.py +2 -0
  17. pulumi_gcp/backupdisasterrecovery/backup_plan.py +2 -2
  18. pulumi_gcp/backupdisasterrecovery/backup_vault.py +12 -8
  19. pulumi_gcp/backupdisasterrecovery/get_backup.py +153 -0
  20. pulumi_gcp/backupdisasterrecovery/get_backup_vault.py +415 -0
  21. pulumi_gcp/backupdisasterrecovery/outputs.py +63 -0
  22. pulumi_gcp/bigquery/app_profile.py +75 -0
  23. pulumi_gcp/billing/_inputs.py +6 -6
  24. pulumi_gcp/billing/outputs.py +4 -4
  25. pulumi_gcp/certificateauthority/_inputs.py +9 -9
  26. pulumi_gcp/certificateauthority/outputs.py +8 -8
  27. pulumi_gcp/cloudbuild/_inputs.py +53 -0
  28. pulumi_gcp/cloudbuild/outputs.py +50 -0
  29. pulumi_gcp/cloudbuild/worker_pool.py +47 -0
  30. pulumi_gcp/clouddeploy/_inputs.py +254 -0
  31. pulumi_gcp/clouddeploy/outputs.py +211 -0
  32. pulumi_gcp/clouddeploy/target.py +47 -0
  33. pulumi_gcp/cloudfunctionsv2/_inputs.py +6 -6
  34. pulumi_gcp/cloudfunctionsv2/outputs.py +8 -8
  35. pulumi_gcp/cloudrunv2/job.py +4 -4
  36. pulumi_gcp/cloudrunv2/service.py +4 -4
  37. pulumi_gcp/composer/get_user_workloads_config_map.py +4 -0
  38. pulumi_gcp/composer/get_user_workloads_secret.py +4 -0
  39. pulumi_gcp/composer/user_workloads_config_map.py +14 -0
  40. pulumi_gcp/composer/user_workloads_secret.py +6 -0
  41. pulumi_gcp/compute/_inputs.py +566 -25
  42. pulumi_gcp/compute/disk.py +21 -7
  43. pulumi_gcp/compute/firewall_policy_rule.py +12 -0
  44. pulumi_gcp/compute/get_forwarding_rules.py +2 -2
  45. pulumi_gcp/compute/get_global_forwarding_rule.py +23 -1
  46. pulumi_gcp/compute/get_instance_group_manager.py +12 -1
  47. pulumi_gcp/compute/get_network.py +35 -1
  48. pulumi_gcp/compute/get_region_instance_group_manager.py +12 -1
  49. pulumi_gcp/compute/get_region_network_endpoint_group.py +12 -1
  50. pulumi_gcp/compute/global_forwarding_rule.py +142 -2
  51. pulumi_gcp/compute/instance_group_manager.py +28 -0
  52. pulumi_gcp/compute/network.py +75 -0
  53. pulumi_gcp/compute/outputs.py +655 -26
  54. pulumi_gcp/compute/project_cloud_armor_tier.py +7 -7
  55. pulumi_gcp/compute/region_health_check.py +28 -0
  56. pulumi_gcp/compute/region_instance_group_manager.py +28 -0
  57. pulumi_gcp/compute/region_network_endpoint.py +28 -0
  58. pulumi_gcp/compute/region_network_endpoint_group.py +70 -2
  59. pulumi_gcp/compute/subnetwork.py +30 -2
  60. pulumi_gcp/compute/url_map.py +7 -7
  61. pulumi_gcp/config/__init__.pyi +2 -0
  62. pulumi_gcp/config/vars.py +4 -0
  63. pulumi_gcp/container/_inputs.py +201 -3
  64. pulumi_gcp/container/cluster.py +68 -14
  65. pulumi_gcp/container/get_cluster.py +12 -1
  66. pulumi_gcp/container/outputs.py +249 -3
  67. pulumi_gcp/dataproc/_inputs.py +209 -1
  68. pulumi_gcp/dataproc/batch.py +76 -0
  69. pulumi_gcp/dataproc/outputs.py +169 -3
  70. pulumi_gcp/diagflow/_inputs.py +3 -3
  71. pulumi_gcp/diagflow/outputs.py +2 -2
  72. pulumi_gcp/discoveryengine/search_engine.py +7 -7
  73. pulumi_gcp/firebase/_inputs.py +99 -0
  74. pulumi_gcp/firebase/database_instance.py +24 -6
  75. pulumi_gcp/firebase/hosting_version.py +96 -0
  76. pulumi_gcp/firebase/outputs.py +59 -0
  77. pulumi_gcp/firebase/project.py +6 -6
  78. pulumi_gcp/firebaserules/release.py +76 -0
  79. pulumi_gcp/firestore/field.py +4 -4
  80. pulumi_gcp/gemini/__init__.py +15 -0
  81. pulumi_gcp/gemini/_inputs.py +183 -0
  82. pulumi_gcp/gemini/code_repository_index.py +659 -0
  83. pulumi_gcp/gemini/get_repository_group_iam_policy.py +171 -0
  84. pulumi_gcp/gemini/outputs.py +130 -0
  85. pulumi_gcp/gemini/repository_group.py +586 -0
  86. pulumi_gcp/gemini/repository_group_iam_binding.py +604 -0
  87. pulumi_gcp/gemini/repository_group_iam_member.py +604 -0
  88. pulumi_gcp/gemini/repository_group_iam_policy.py +443 -0
  89. pulumi_gcp/gkehub/_inputs.py +30 -10
  90. pulumi_gcp/gkehub/membership_binding.py +6 -6
  91. pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
  92. pulumi_gcp/gkehub/namespace.py +4 -4
  93. pulumi_gcp/gkehub/outputs.py +21 -7
  94. pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
  95. pulumi_gcp/iam/__init__.py +1 -0
  96. pulumi_gcp/iam/_inputs.py +137 -0
  97. pulumi_gcp/iam/folders_policy_binding.py +16 -0
  98. pulumi_gcp/iam/organizations_policy_binding.py +16 -0
  99. pulumi_gcp/iam/outputs.py +99 -0
  100. pulumi_gcp/iam/principal_access_boundary_policy.py +16 -0
  101. pulumi_gcp/iam/projects_policy_binding.py +917 -0
  102. pulumi_gcp/iap/tunnel_dest_group.py +2 -2
  103. pulumi_gcp/identityplatform/_inputs.py +6 -6
  104. pulumi_gcp/identityplatform/config.py +2 -2
  105. pulumi_gcp/identityplatform/outputs.py +4 -4
  106. pulumi_gcp/integrationconnectors/_inputs.py +15 -15
  107. pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
  108. pulumi_gcp/integrationconnectors/outputs.py +10 -10
  109. pulumi_gcp/looker/instance.py +35 -14
  110. pulumi_gcp/monitoring/_inputs.py +13 -6
  111. pulumi_gcp/monitoring/outputs.py +10 -4
  112. pulumi_gcp/netapp/_inputs.py +3 -3
  113. pulumi_gcp/netapp/active_directory.py +7 -7
  114. pulumi_gcp/netapp/outputs.py +2 -2
  115. pulumi_gcp/netapp/volume.py +11 -11
  116. pulumi_gcp/networkconnectivity/_inputs.py +10 -12
  117. pulumi_gcp/networkconnectivity/outputs.py +6 -8
  118. pulumi_gcp/networkconnectivity/spoke.py +10 -10
  119. pulumi_gcp/networksecurity/__init__.py +7 -0
  120. pulumi_gcp/networksecurity/_inputs.py +2018 -0
  121. pulumi_gcp/networksecurity/authz_policy.py +1008 -0
  122. pulumi_gcp/networksecurity/intercept_deployment.py +846 -0
  123. pulumi_gcp/networksecurity/intercept_deployment_group.py +752 -0
  124. pulumi_gcp/networksecurity/mirroring_deployment.py +848 -0
  125. pulumi_gcp/networksecurity/mirroring_deployment_group.py +752 -0
  126. pulumi_gcp/networksecurity/mirroring_endpoint_group.py +737 -0
  127. pulumi_gcp/networksecurity/mirroring_endpoint_group_association.py +840 -0
  128. pulumi_gcp/networksecurity/outputs.py +1463 -0
  129. pulumi_gcp/networkservices/__init__.py +1 -0
  130. pulumi_gcp/networkservices/authz_extension.py +1080 -0
  131. pulumi_gcp/oracledatabase/autonomous_database.py +46 -8
  132. pulumi_gcp/oracledatabase/cloud_exadata_infrastructure.py +42 -4
  133. pulumi_gcp/oracledatabase/cloud_vm_cluster.py +50 -8
  134. pulumi_gcp/oracledatabase/get_autonomous_database.py +12 -1
  135. pulumi_gcp/oracledatabase/get_cloud_exadata_infrastructure.py +12 -1
  136. pulumi_gcp/oracledatabase/get_cloud_vm_cluster.py +12 -1
  137. pulumi_gcp/oracledatabase/outputs.py +21 -0
  138. pulumi_gcp/orgpolicy/_inputs.py +40 -0
  139. pulumi_gcp/orgpolicy/outputs.py +24 -0
  140. pulumi_gcp/orgpolicy/policy.py +66 -10
  141. pulumi_gcp/parallelstore/instance.py +4 -0
  142. pulumi_gcp/provider.py +20 -0
  143. pulumi_gcp/pubsub/subscription.py +6 -6
  144. pulumi_gcp/pulumi-plugin.json +1 -1
  145. pulumi_gcp/redis/_inputs.py +435 -3
  146. pulumi_gcp/redis/cluster.py +287 -16
  147. pulumi_gcp/redis/outputs.py +304 -2
  148. pulumi_gcp/serviceaccount/get_account_id_token.py +2 -2
  149. pulumi_gcp/serviceaccount/get_account_key.py +2 -2
  150. pulumi_gcp/sql/_inputs.py +3 -3
  151. pulumi_gcp/sql/database_instance.py +14 -14
  152. pulumi_gcp/sql/outputs.py +2 -2
  153. pulumi_gcp/storage/_inputs.py +53 -6
  154. pulumi_gcp/storage/get_bucket.py +2 -2
  155. pulumi_gcp/storage/get_bucket_object_content.py +2 -2
  156. pulumi_gcp/storage/outputs.py +33 -4
  157. pulumi_gcp/tpu/__init__.py +1 -0
  158. pulumi_gcp/tpu/_inputs.py +214 -24
  159. pulumi_gcp/tpu/outputs.py +182 -16
  160. pulumi_gcp/tpu/v2_queued_resource.py +434 -0
  161. pulumi_gcp/tpu/v2_vm.py +63 -0
  162. pulumi_gcp/vertex/ai_endpoint.py +4 -4
  163. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  164. pulumi_gcp/vertex/ai_index_endpoint.py +2 -2
  165. {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/METADATA +1 -1
  166. {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/RECORD +168 -147
  167. {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/WHEEL +0 -0
  168. {pulumi_gcp-8.11.0a1734348982.dist-info → pulumi_gcp-8.12.0.dist-info}/top_level.txt +0 -0
@@ -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/tpu/v2_vm.py CHANGED
@@ -31,6 +31,7 @@ class V2VmArgs:
31
31
  metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
32
32
  name: Optional[pulumi.Input[str]] = None,
33
33
  network_config: Optional[pulumi.Input['V2VmNetworkConfigArgs']] = None,
34
+ network_configs: Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]]] = None,
34
35
  project: Optional[pulumi.Input[str]] = None,
35
36
  scheduling_config: Optional[pulumi.Input['V2VmSchedulingConfigArgs']] = None,
36
37
  service_account: Optional[pulumi.Input['V2VmServiceAccountArgs']] = None,
@@ -64,6 +65,9 @@ class V2VmArgs:
64
65
  :param pulumi.Input[str] name: The immutable name of the TPU.
65
66
  :param pulumi.Input['V2VmNetworkConfigArgs'] network_config: Network configurations for the TPU node.
66
67
  Structure is documented below.
68
+ :param pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]] network_configs: Repeated network configurations for the TPU node. This field is used to specify multiple
69
+ network configs for the TPU node.
70
+ Structure is documented below.
67
71
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
68
72
  If it is not provided, the provider project is used.
69
73
  :param pulumi.Input['V2VmSchedulingConfigArgs'] scheduling_config: The scheduling options for this node.
@@ -95,6 +99,8 @@ class V2VmArgs:
95
99
  pulumi.set(__self__, "name", name)
96
100
  if network_config is not None:
97
101
  pulumi.set(__self__, "network_config", network_config)
102
+ if network_configs is not None:
103
+ pulumi.set(__self__, "network_configs", network_configs)
98
104
  if project is not None:
99
105
  pulumi.set(__self__, "project", project)
100
106
  if scheduling_config is not None:
@@ -243,6 +249,20 @@ class V2VmArgs:
243
249
  def network_config(self, value: Optional[pulumi.Input['V2VmNetworkConfigArgs']]):
244
250
  pulumi.set(self, "network_config", value)
245
251
 
252
+ @property
253
+ @pulumi.getter(name="networkConfigs")
254
+ def network_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]]]:
255
+ """
256
+ Repeated network configurations for the TPU node. This field is used to specify multiple
257
+ network configs for the TPU node.
258
+ Structure is documented below.
259
+ """
260
+ return pulumi.get(self, "network_configs")
261
+
262
+ @network_configs.setter
263
+ def network_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]]]):
264
+ pulumi.set(self, "network_configs", value)
265
+
246
266
  @property
247
267
  @pulumi.getter
248
268
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -338,6 +358,7 @@ class _V2VmState:
338
358
  multislice_node: Optional[pulumi.Input[bool]] = None,
339
359
  name: Optional[pulumi.Input[str]] = None,
340
360
  network_config: Optional[pulumi.Input['V2VmNetworkConfigArgs']] = None,
361
+ network_configs: Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]]] = None,
341
362
  network_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkEndpointArgs']]]] = None,
342
363
  project: Optional[pulumi.Input[str]] = None,
343
364
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -378,6 +399,9 @@ class _V2VmState:
378
399
  :param pulumi.Input[str] name: The immutable name of the TPU.
379
400
  :param pulumi.Input['V2VmNetworkConfigArgs'] network_config: Network configurations for the TPU node.
380
401
  Structure is documented below.
402
+ :param pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]] network_configs: Repeated network configurations for the TPU node. This field is used to specify multiple
403
+ network configs for the TPU node.
404
+ Structure is documented below.
381
405
  :param pulumi.Input[Sequence[pulumi.Input['V2VmNetworkEndpointArgs']]] network_endpoints: The network endpoints where TPU workers can be accessed and sent work. It is recommended that
382
406
  runtime clients of the node reach out to the 0th entry in this map first.
383
407
  Structure is documented below.
@@ -431,6 +455,8 @@ class _V2VmState:
431
455
  pulumi.set(__self__, "name", name)
432
456
  if network_config is not None:
433
457
  pulumi.set(__self__, "network_config", network_config)
458
+ if network_configs is not None:
459
+ pulumi.set(__self__, "network_configs", network_configs)
434
460
  if network_endpoints is not None:
435
461
  pulumi.set(__self__, "network_endpoints", network_endpoints)
436
462
  if project is not None:
@@ -636,6 +662,20 @@ class _V2VmState:
636
662
  def network_config(self, value: Optional[pulumi.Input['V2VmNetworkConfigArgs']]):
637
663
  pulumi.set(self, "network_config", value)
638
664
 
665
+ @property
666
+ @pulumi.getter(name="networkConfigs")
667
+ def network_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]]]:
668
+ """
669
+ Repeated network configurations for the TPU node. This field is used to specify multiple
670
+ network configs for the TPU node.
671
+ Structure is documented below.
672
+ """
673
+ return pulumi.get(self, "network_configs")
674
+
675
+ @network_configs.setter
676
+ def network_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkConfigArgs']]]]):
677
+ pulumi.set(self, "network_configs", value)
678
+
639
679
  @property
640
680
  @pulumi.getter(name="networkEndpoints")
641
681
  def network_endpoints(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['V2VmNetworkEndpointArgs']]]]:
@@ -807,6 +847,7 @@ class V2Vm(pulumi.CustomResource):
807
847
  metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
808
848
  name: Optional[pulumi.Input[str]] = None,
809
849
  network_config: Optional[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]] = None,
850
+ network_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]]]] = None,
810
851
  project: Optional[pulumi.Input[str]] = None,
811
852
  runtime_version: Optional[pulumi.Input[str]] = None,
812
853
  scheduling_config: Optional[pulumi.Input[Union['V2VmSchedulingConfigArgs', 'V2VmSchedulingConfigArgsDict']]] = None,
@@ -874,6 +915,7 @@ class V2Vm(pulumi.CustomResource):
874
915
  "enable_external_ips": True,
875
916
  "network": network.id,
876
917
  "subnetwork": subnet.id,
918
+ "queue_count": 32,
877
919
  },
878
920
  scheduling_config={
879
921
  "preemptible": True,
@@ -952,6 +994,9 @@ class V2Vm(pulumi.CustomResource):
952
994
  :param pulumi.Input[str] name: The immutable name of the TPU.
953
995
  :param pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']] network_config: Network configurations for the TPU node.
954
996
  Structure is documented below.
997
+ :param pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]]] network_configs: Repeated network configurations for the TPU node. This field is used to specify multiple
998
+ network configs for the TPU node.
999
+ Structure is documented below.
955
1000
  :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
956
1001
  If it is not provided, the provider project is used.
957
1002
  :param pulumi.Input[str] runtime_version: Runtime version for the TPU.
@@ -1033,6 +1078,7 @@ class V2Vm(pulumi.CustomResource):
1033
1078
  "enable_external_ips": True,
1034
1079
  "network": network.id,
1035
1080
  "subnetwork": subnet.id,
1081
+ "queue_count": 32,
1036
1082
  },
1037
1083
  scheduling_config={
1038
1084
  "preemptible": True,
@@ -1112,6 +1158,7 @@ class V2Vm(pulumi.CustomResource):
1112
1158
  metadata: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
1113
1159
  name: Optional[pulumi.Input[str]] = None,
1114
1160
  network_config: Optional[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]] = None,
1161
+ network_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]]]] = None,
1115
1162
  project: Optional[pulumi.Input[str]] = None,
1116
1163
  runtime_version: Optional[pulumi.Input[str]] = None,
1117
1164
  scheduling_config: Optional[pulumi.Input[Union['V2VmSchedulingConfigArgs', 'V2VmSchedulingConfigArgsDict']]] = None,
@@ -1137,6 +1184,7 @@ class V2Vm(pulumi.CustomResource):
1137
1184
  __props__.__dict__["metadata"] = metadata
1138
1185
  __props__.__dict__["name"] = name
1139
1186
  __props__.__dict__["network_config"] = network_config
1187
+ __props__.__dict__["network_configs"] = network_configs
1140
1188
  __props__.__dict__["project"] = project
1141
1189
  if runtime_version is None and not opts.urn:
1142
1190
  raise TypeError("Missing required property 'runtime_version'")
@@ -1182,6 +1230,7 @@ class V2Vm(pulumi.CustomResource):
1182
1230
  multislice_node: Optional[pulumi.Input[bool]] = None,
1183
1231
  name: Optional[pulumi.Input[str]] = None,
1184
1232
  network_config: Optional[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]] = None,
1233
+ network_configs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]]]] = None,
1185
1234
  network_endpoints: Optional[pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkEndpointArgs', 'V2VmNetworkEndpointArgsDict']]]]] = None,
1186
1235
  project: Optional[pulumi.Input[str]] = None,
1187
1236
  pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
@@ -1227,6 +1276,9 @@ class V2Vm(pulumi.CustomResource):
1227
1276
  :param pulumi.Input[str] name: The immutable name of the TPU.
1228
1277
  :param pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']] network_config: Network configurations for the TPU node.
1229
1278
  Structure is documented below.
1279
+ :param pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkConfigArgs', 'V2VmNetworkConfigArgsDict']]]] network_configs: Repeated network configurations for the TPU node. This field is used to specify multiple
1280
+ network configs for the TPU node.
1281
+ Structure is documented below.
1230
1282
  :param pulumi.Input[Sequence[pulumi.Input[Union['V2VmNetworkEndpointArgs', 'V2VmNetworkEndpointArgsDict']]]] network_endpoints: The network endpoints where TPU workers can be accessed and sent work. It is recommended that
1231
1283
  runtime clients of the node reach out to the 0th entry in this map first.
1232
1284
  Structure is documented below.
@@ -1270,6 +1322,7 @@ class V2Vm(pulumi.CustomResource):
1270
1322
  __props__.__dict__["multislice_node"] = multislice_node
1271
1323
  __props__.__dict__["name"] = name
1272
1324
  __props__.__dict__["network_config"] = network_config
1325
+ __props__.__dict__["network_configs"] = network_configs
1273
1326
  __props__.__dict__["network_endpoints"] = network_endpoints
1274
1327
  __props__.__dict__["project"] = project
1275
1328
  __props__.__dict__["pulumi_labels"] = pulumi_labels
@@ -1408,6 +1461,16 @@ class V2Vm(pulumi.CustomResource):
1408
1461
  """
1409
1462
  return pulumi.get(self, "network_config")
1410
1463
 
1464
+ @property
1465
+ @pulumi.getter(name="networkConfigs")
1466
+ def network_configs(self) -> pulumi.Output[Optional[Sequence['outputs.V2VmNetworkConfig']]]:
1467
+ """
1468
+ Repeated network configurations for the TPU node. This field is used to specify multiple
1469
+ network configs for the TPU node.
1470
+ Structure is documented below.
1471
+ """
1472
+ return pulumi.get(self, "network_configs")
1473
+
1411
1474
  @property
1412
1475
  @pulumi.getter(name="networkEndpoints")
1413
1476
  def network_endpoints(self) -> pulumi.Output[Sequence['outputs.V2VmNetworkEndpoint']]:
@@ -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-name_69391",
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-name_8270",
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-name_69391",
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-name_8270",
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-test_41150",
622
- name="tf-test_89313",
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-test_41150",
1067
- name="tf-test_89313",
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")