pulumi-gcp 8.12.0a1734458205__py3-none-any.whl → 8.12.0a1734479918__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 (48) hide show
  1. pulumi_gcp/__init__.py +32 -0
  2. pulumi_gcp/accesscontextmanager/_inputs.py +0 -29
  3. pulumi_gcp/accesscontextmanager/outputs.py +0 -18
  4. pulumi_gcp/accesscontextmanager/service_perimeter.py +0 -36
  5. pulumi_gcp/artifactregistry/get_repository_iam_policy.py +12 -4
  6. pulumi_gcp/artifactregistry/repository.py +86 -39
  7. pulumi_gcp/artifactregistry/repository_iam_binding.py +42 -14
  8. pulumi_gcp/artifactregistry/repository_iam_member.py +42 -14
  9. pulumi_gcp/artifactregistry/repository_iam_policy.py +42 -14
  10. pulumi_gcp/compute/get_global_forwarding_rule.py +12 -1
  11. pulumi_gcp/compute/global_forwarding_rule.py +114 -2
  12. pulumi_gcp/compute/project_cloud_armor_tier.py +7 -7
  13. pulumi_gcp/firebase/_inputs.py +99 -0
  14. pulumi_gcp/firebase/database_instance.py +24 -6
  15. pulumi_gcp/firebase/hosting_version.py +96 -0
  16. pulumi_gcp/firebase/outputs.py +59 -0
  17. pulumi_gcp/firebase/project.py +6 -6
  18. pulumi_gcp/identityplatform/_inputs.py +6 -6
  19. pulumi_gcp/identityplatform/config.py +2 -2
  20. pulumi_gcp/identityplatform/outputs.py +4 -4
  21. pulumi_gcp/looker/instance.py +35 -14
  22. pulumi_gcp/networkconnectivity/_inputs.py +10 -12
  23. pulumi_gcp/networkconnectivity/outputs.py +6 -8
  24. pulumi_gcp/networksecurity/__init__.py +3 -0
  25. pulumi_gcp/networksecurity/_inputs.py +1903 -0
  26. pulumi_gcp/networksecurity/authz_policy.py +1008 -0
  27. pulumi_gcp/networksecurity/intercept_deployment.py +846 -0
  28. pulumi_gcp/networksecurity/intercept_deployment_group.py +752 -0
  29. pulumi_gcp/networksecurity/outputs.py +1393 -0
  30. pulumi_gcp/networkservices/__init__.py +1 -0
  31. pulumi_gcp/networkservices/authz_extension.py +1080 -0
  32. pulumi_gcp/oracledatabase/autonomous_database.py +4 -4
  33. pulumi_gcp/orgpolicy/_inputs.py +40 -0
  34. pulumi_gcp/orgpolicy/outputs.py +24 -0
  35. pulumi_gcp/orgpolicy/policy.py +64 -8
  36. pulumi_gcp/pulumi-plugin.json +1 -1
  37. pulumi_gcp/sql/_inputs.py +3 -3
  38. pulumi_gcp/sql/database_instance.py +14 -14
  39. pulumi_gcp/sql/outputs.py +2 -2
  40. pulumi_gcp/storage/_inputs.py +53 -6
  41. pulumi_gcp/storage/outputs.py +33 -4
  42. pulumi_gcp/tpu/_inputs.py +26 -18
  43. pulumi_gcp/tpu/outputs.py +18 -12
  44. pulumi_gcp/tpu/v2_vm.py +63 -0
  45. {pulumi_gcp-8.12.0a1734458205.dist-info → pulumi_gcp-8.12.0a1734479918.dist-info}/METADATA +1 -1
  46. {pulumi_gcp-8.12.0a1734458205.dist-info → pulumi_gcp-8.12.0a1734479918.dist-info}/RECORD +48 -44
  47. {pulumi_gcp-8.12.0a1734458205.dist-info → pulumi_gcp-8.12.0a1734479918.dist-info}/WHEEL +0 -0
  48. {pulumi_gcp-8.12.0a1734458205.dist-info → pulumi_gcp-8.12.0a1734479918.dist-info}/top_level.txt +0 -0
@@ -58,6 +58,7 @@ __all__ = [
58
58
  'TransferJobTransferSpecAzureBlobStorageDataSourceAzureCredentials',
59
59
  'TransferJobTransferSpecGcsDataSink',
60
60
  'TransferJobTransferSpecGcsDataSource',
61
+ 'TransferJobTransferSpecHdfsDataSource',
61
62
  'TransferJobTransferSpecHttpDataSource',
62
63
  'TransferJobTransferSpecObjectConditions',
63
64
  'TransferJobTransferSpecPosixDataSink',
@@ -1942,6 +1943,8 @@ class TransferJobTransferSpec(dict):
1942
1943
  suggest = "gcs_data_sink"
1943
1944
  elif key == "gcsDataSource":
1944
1945
  suggest = "gcs_data_source"
1946
+ elif key == "hdfsDataSource":
1947
+ suggest = "hdfs_data_source"
1945
1948
  elif key == "httpDataSource":
1946
1949
  suggest = "http_data_source"
1947
1950
  elif key == "objectConditions":
@@ -1973,6 +1976,7 @@ class TransferJobTransferSpec(dict):
1973
1976
  azure_blob_storage_data_source: Optional['outputs.TransferJobTransferSpecAzureBlobStorageDataSource'] = None,
1974
1977
  gcs_data_sink: Optional['outputs.TransferJobTransferSpecGcsDataSink'] = None,
1975
1978
  gcs_data_source: Optional['outputs.TransferJobTransferSpecGcsDataSource'] = None,
1979
+ hdfs_data_source: Optional['outputs.TransferJobTransferSpecHdfsDataSource'] = None,
1976
1980
  http_data_source: Optional['outputs.TransferJobTransferSpecHttpDataSource'] = None,
1977
1981
  object_conditions: Optional['outputs.TransferJobTransferSpecObjectConditions'] = None,
1978
1982
  posix_data_sink: Optional['outputs.TransferJobTransferSpecPosixDataSink'] = None,
@@ -1985,6 +1989,7 @@ class TransferJobTransferSpec(dict):
1985
1989
  :param 'TransferJobTransferSpecAzureBlobStorageDataSourceArgs' azure_blob_storage_data_source: An Azure Blob Storage data source. Structure documented below.
1986
1990
  :param 'TransferJobTransferSpecGcsDataSinkArgs' gcs_data_sink: A Google Cloud Storage data sink. Structure documented below.
1987
1991
  :param 'TransferJobTransferSpecGcsDataSourceArgs' gcs_data_source: A Google Cloud Storage data source. Structure documented below.
1992
+ :param 'TransferJobTransferSpecHdfsDataSourceArgs' hdfs_data_source: An HDFS data source. Structure documented below.
1988
1993
  :param 'TransferJobTransferSpecHttpDataSourceArgs' http_data_source: A HTTP URL data source. Structure documented below.
1989
1994
  :param 'TransferJobTransferSpecObjectConditionsArgs' object_conditions: Only objects that satisfy these object conditions are included in the set of data source and data sink objects. Object conditions based on objects' `last_modification_time` do not exclude objects in a data sink. Structure documented below.
1990
1995
  :param 'TransferJobTransferSpecPosixDataSinkArgs' posix_data_sink: A POSIX data sink. Structure documented below.
@@ -2001,6 +2006,8 @@ class TransferJobTransferSpec(dict):
2001
2006
  pulumi.set(__self__, "gcs_data_sink", gcs_data_sink)
2002
2007
  if gcs_data_source is not None:
2003
2008
  pulumi.set(__self__, "gcs_data_source", gcs_data_source)
2009
+ if hdfs_data_source is not None:
2010
+ pulumi.set(__self__, "hdfs_data_source", hdfs_data_source)
2004
2011
  if http_data_source is not None:
2005
2012
  pulumi.set(__self__, "http_data_source", http_data_source)
2006
2013
  if object_conditions is not None:
@@ -2048,6 +2055,14 @@ class TransferJobTransferSpec(dict):
2048
2055
  """
2049
2056
  return pulumi.get(self, "gcs_data_source")
2050
2057
 
2058
+ @property
2059
+ @pulumi.getter(name="hdfsDataSource")
2060
+ def hdfs_data_source(self) -> Optional['outputs.TransferJobTransferSpecHdfsDataSource']:
2061
+ """
2062
+ An HDFS data source. Structure documented below.
2063
+ """
2064
+ return pulumi.get(self, "hdfs_data_source")
2065
+
2051
2066
  @property
2052
2067
  @pulumi.getter(name="httpDataSource")
2053
2068
  def http_data_source(self) -> Optional['outputs.TransferJobTransferSpecHttpDataSource']:
@@ -2447,6 +2462,24 @@ class TransferJobTransferSpecGcsDataSource(dict):
2447
2462
  return pulumi.get(self, "path")
2448
2463
 
2449
2464
 
2465
+ @pulumi.output_type
2466
+ class TransferJobTransferSpecHdfsDataSource(dict):
2467
+ def __init__(__self__, *,
2468
+ path: str):
2469
+ """
2470
+ :param str path: Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2471
+ """
2472
+ pulumi.set(__self__, "path", path)
2473
+
2474
+ @property
2475
+ @pulumi.getter
2476
+ def path(self) -> str:
2477
+ """
2478
+ Root path to transfer objects. Must be an empty string or full path name that ends with a '/'. This field is treated as an object prefix. As such, it should generally not begin with a '/'.
2479
+ """
2480
+ return pulumi.get(self, "path")
2481
+
2482
+
2450
2483
  @pulumi.output_type
2451
2484
  class TransferJobTransferSpecHttpDataSource(dict):
2452
2485
  @staticmethod
@@ -2646,8 +2679,6 @@ class TransferJobTransferSpecPosixDataSource(dict):
2646
2679
  root_directory: str):
2647
2680
  """
2648
2681
  :param str root_directory: Root directory path to the filesystem.
2649
-
2650
- <a name="nested_aws_s3_data_source"></a>The `aws_s3_data_source` block supports:
2651
2682
  """
2652
2683
  pulumi.set(__self__, "root_directory", root_directory)
2653
2684
 
@@ -2656,8 +2687,6 @@ class TransferJobTransferSpecPosixDataSource(dict):
2656
2687
  def root_directory(self) -> str:
2657
2688
  """
2658
2689
  Root directory path to the filesystem.
2659
-
2660
- <a name="nested_aws_s3_data_source"></a>The `aws_s3_data_source` block supports:
2661
2690
  """
2662
2691
  return pulumi.get(self, "root_directory")
2663
2692
 
pulumi_gcp/tpu/_inputs.py CHANGED
@@ -443,16 +443,16 @@ if not MYPY:
443
443
  network: NotRequired[pulumi.Input[str]]
444
444
  """
445
445
  The name of the network for the TPU node. It must be a preexisting Google Compute Engine
446
- network. If both network and subnetwork are specified, the given subnetwork must belong
447
- to the given network. If network is not specified, it will be looked up from the
448
- subnetwork if one is provided, or otherwise use "default".
446
+ network. If none is provided, "default" will be used.
447
+ """
448
+ queue_count: NotRequired[pulumi.Input[int]]
449
+ """
450
+ Specifies networking queue count for TPU VM instance's network interface.
449
451
  """
450
452
  subnetwork: NotRequired[pulumi.Input[str]]
451
453
  """
452
454
  The name of the subnetwork for the TPU node. It must be a preexisting Google Compute
453
- Engine subnetwork. If both network and subnetwork are specified, the given subnetwork
454
- must belong to the given network. If subnetwork is not specified, the subnetwork with the
455
- same name as the network will be used.
455
+ Engine subnetwork. If none is provided, "default" will be used.
456
456
  """
457
457
  elif False:
458
458
  V2VmNetworkConfigArgsDict: TypeAlias = Mapping[str, Any]
@@ -463,6 +463,7 @@ class V2VmNetworkConfigArgs:
463
463
  can_ip_forward: Optional[pulumi.Input[bool]] = None,
464
464
  enable_external_ips: Optional[pulumi.Input[bool]] = None,
465
465
  network: Optional[pulumi.Input[str]] = None,
466
+ queue_count: Optional[pulumi.Input[int]] = None,
466
467
  subnetwork: Optional[pulumi.Input[str]] = None):
467
468
  """
468
469
  :param pulumi.Input[bool] can_ip_forward: Allows the TPU node to send and receive packets with non-matching destination or source
@@ -470,13 +471,10 @@ class V2VmNetworkConfigArgs:
470
471
  :param pulumi.Input[bool] enable_external_ips: Indicates that external IP addresses would be associated with the TPU workers. If set to
471
472
  false, the specified subnetwork or network should have Private Google Access enabled.
472
473
  :param pulumi.Input[str] network: The name of the network for the TPU node. It must be a preexisting Google Compute Engine
473
- network. If both network and subnetwork are specified, the given subnetwork must belong
474
- to the given network. If network is not specified, it will be looked up from the
475
- subnetwork if one is provided, or otherwise use "default".
474
+ network. If none is provided, "default" will be used.
475
+ :param pulumi.Input[int] queue_count: Specifies networking queue count for TPU VM instance's network interface.
476
476
  :param pulumi.Input[str] subnetwork: The name of the subnetwork for the TPU node. It must be a preexisting Google Compute
477
- Engine subnetwork. If both network and subnetwork are specified, the given subnetwork
478
- must belong to the given network. If subnetwork is not specified, the subnetwork with the
479
- same name as the network will be used.
477
+ Engine subnetwork. If none is provided, "default" will be used.
480
478
  """
481
479
  if can_ip_forward is not None:
482
480
  pulumi.set(__self__, "can_ip_forward", can_ip_forward)
@@ -484,6 +482,8 @@ class V2VmNetworkConfigArgs:
484
482
  pulumi.set(__self__, "enable_external_ips", enable_external_ips)
485
483
  if network is not None:
486
484
  pulumi.set(__self__, "network", network)
485
+ if queue_count is not None:
486
+ pulumi.set(__self__, "queue_count", queue_count)
487
487
  if subnetwork is not None:
488
488
  pulumi.set(__self__, "subnetwork", subnetwork)
489
489
 
@@ -518,9 +518,7 @@ class V2VmNetworkConfigArgs:
518
518
  def network(self) -> Optional[pulumi.Input[str]]:
519
519
  """
520
520
  The name of the network for the TPU node. It must be a preexisting Google Compute Engine
521
- network. If both network and subnetwork are specified, the given subnetwork must belong
522
- to the given network. If network is not specified, it will be looked up from the
523
- subnetwork if one is provided, or otherwise use "default".
521
+ network. If none is provided, "default" will be used.
524
522
  """
525
523
  return pulumi.get(self, "network")
526
524
 
@@ -528,14 +526,24 @@ class V2VmNetworkConfigArgs:
528
526
  def network(self, value: Optional[pulumi.Input[str]]):
529
527
  pulumi.set(self, "network", value)
530
528
 
529
+ @property
530
+ @pulumi.getter(name="queueCount")
531
+ def queue_count(self) -> Optional[pulumi.Input[int]]:
532
+ """
533
+ Specifies networking queue count for TPU VM instance's network interface.
534
+ """
535
+ return pulumi.get(self, "queue_count")
536
+
537
+ @queue_count.setter
538
+ def queue_count(self, value: Optional[pulumi.Input[int]]):
539
+ pulumi.set(self, "queue_count", value)
540
+
531
541
  @property
532
542
  @pulumi.getter
533
543
  def subnetwork(self) -> Optional[pulumi.Input[str]]:
534
544
  """
535
545
  The name of the subnetwork for the TPU node. It must be a preexisting Google Compute
536
- Engine subnetwork. If both network and subnetwork are specified, the given subnetwork
537
- must belong to the given network. If subnetwork is not specified, the subnetwork with the
538
- same name as the network will be used.
546
+ Engine subnetwork. If none is provided, "default" will be used.
539
547
  """
540
548
  return pulumi.get(self, "subnetwork")
541
549
 
pulumi_gcp/tpu/outputs.py CHANGED
@@ -354,6 +354,8 @@ class V2VmNetworkConfig(dict):
354
354
  suggest = "can_ip_forward"
355
355
  elif key == "enableExternalIps":
356
356
  suggest = "enable_external_ips"
357
+ elif key == "queueCount":
358
+ suggest = "queue_count"
357
359
 
358
360
  if suggest:
359
361
  pulumi.log.warn(f"Key '{key}' not found in V2VmNetworkConfig. Access the value via the '{suggest}' property getter instead.")
@@ -370,6 +372,7 @@ class V2VmNetworkConfig(dict):
370
372
  can_ip_forward: Optional[bool] = None,
371
373
  enable_external_ips: Optional[bool] = None,
372
374
  network: Optional[str] = None,
375
+ queue_count: Optional[int] = None,
373
376
  subnetwork: Optional[str] = None):
374
377
  """
375
378
  :param bool can_ip_forward: Allows the TPU node to send and receive packets with non-matching destination or source
@@ -377,13 +380,10 @@ class V2VmNetworkConfig(dict):
377
380
  :param bool enable_external_ips: Indicates that external IP addresses would be associated with the TPU workers. If set to
378
381
  false, the specified subnetwork or network should have Private Google Access enabled.
379
382
  :param str network: The name of the network for the TPU node. It must be a preexisting Google Compute Engine
380
- network. If both network and subnetwork are specified, the given subnetwork must belong
381
- to the given network. If network is not specified, it will be looked up from the
382
- subnetwork if one is provided, or otherwise use "default".
383
+ network. If none is provided, "default" will be used.
384
+ :param int queue_count: Specifies networking queue count for TPU VM instance's network interface.
383
385
  :param str subnetwork: The name of the subnetwork for the TPU node. It must be a preexisting Google Compute
384
- Engine subnetwork. If both network and subnetwork are specified, the given subnetwork
385
- must belong to the given network. If subnetwork is not specified, the subnetwork with the
386
- same name as the network will be used.
386
+ Engine subnetwork. If none is provided, "default" will be used.
387
387
  """
388
388
  if can_ip_forward is not None:
389
389
  pulumi.set(__self__, "can_ip_forward", can_ip_forward)
@@ -391,6 +391,8 @@ class V2VmNetworkConfig(dict):
391
391
  pulumi.set(__self__, "enable_external_ips", enable_external_ips)
392
392
  if network is not None:
393
393
  pulumi.set(__self__, "network", network)
394
+ if queue_count is not None:
395
+ pulumi.set(__self__, "queue_count", queue_count)
394
396
  if subnetwork is not None:
395
397
  pulumi.set(__self__, "subnetwork", subnetwork)
396
398
 
@@ -417,20 +419,24 @@ class V2VmNetworkConfig(dict):
417
419
  def network(self) -> Optional[str]:
418
420
  """
419
421
  The name of the network for the TPU node. It must be a preexisting Google Compute Engine
420
- network. If both network and subnetwork are specified, the given subnetwork must belong
421
- to the given network. If network is not specified, it will be looked up from the
422
- subnetwork if one is provided, or otherwise use "default".
422
+ network. If none is provided, "default" will be used.
423
423
  """
424
424
  return pulumi.get(self, "network")
425
425
 
426
+ @property
427
+ @pulumi.getter(name="queueCount")
428
+ def queue_count(self) -> Optional[int]:
429
+ """
430
+ Specifies networking queue count for TPU VM instance's network interface.
431
+ """
432
+ return pulumi.get(self, "queue_count")
433
+
426
434
  @property
427
435
  @pulumi.getter
428
436
  def subnetwork(self) -> Optional[str]:
429
437
  """
430
438
  The name of the subnetwork for the TPU node. It must be a preexisting Google Compute
431
- Engine subnetwork. If both network and subnetwork are specified, the given subnetwork
432
- must belong to the given network. If subnetwork is not specified, the subnetwork with the
433
- same name as the network will be used.
439
+ Engine subnetwork. If none is provided, "default" will be used.
434
440
  """
435
441
  return pulumi.get(self, "subnetwork")
436
442
 
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']]:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: pulumi_gcp
3
- Version: 8.12.0a1734458205
3
+ Version: 8.12.0a1734479918
4
4
  Summary: A Pulumi package for creating and managing Google Cloud Platform resources.
5
5
  License: Apache-2.0
6
6
  Project-URL: Homepage, https://pulumi.io