pulumi-gcp 7.20.0__py3-none-any.whl → 7.20.0a1713918100__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 (35) hide show
  1. pulumi_gcp/__init__.py +0 -8
  2. pulumi_gcp/apigee/organization.py +0 -162
  3. pulumi_gcp/artifactregistry/_inputs.py +0 -186
  4. pulumi_gcp/artifactregistry/outputs.py +4 -297
  5. pulumi_gcp/artifactregistry/repository.py +16 -346
  6. pulumi_gcp/bigquery/table.py +0 -61
  7. pulumi_gcp/billing/budget.py +0 -54
  8. pulumi_gcp/cloudfunctionsv2/_inputs.py +0 -16
  9. pulumi_gcp/cloudfunctionsv2/function.py +0 -110
  10. pulumi_gcp/cloudfunctionsv2/outputs.py +0 -25
  11. pulumi_gcp/compute/_inputs.py +0 -48
  12. pulumi_gcp/compute/get_instance_group_manager.py +1 -11
  13. pulumi_gcp/compute/instance_group_manager.py +21 -68
  14. pulumi_gcp/compute/outputs.py +0 -93
  15. pulumi_gcp/compute/region_instance_group_manager.py +14 -61
  16. pulumi_gcp/container/outputs.py +4 -4
  17. pulumi_gcp/dns/_inputs.py +128 -0
  18. pulumi_gcp/dns/get_keys.py +1 -1
  19. pulumi_gcp/dns/get_managed_zones.py +9 -3
  20. pulumi_gcp/dns/get_record_set.py +0 -3
  21. pulumi_gcp/dns/outputs.py +56 -34
  22. pulumi_gcp/firestore/document.py +4 -4
  23. pulumi_gcp/organizations/get_active_folder.py +3 -18
  24. pulumi_gcp/projects/__init__.py +0 -1
  25. pulumi_gcp/vmwareengine/_inputs.py +5 -63
  26. pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
  27. pulumi_gcp/vmwareengine/outputs.py +5 -113
  28. pulumi_gcp/vmwareengine/private_cloud.py +94 -0
  29. pulumi_gcp/workbench/instance.py +4 -4
  30. pulumi_gcp/workstations/workstation_cluster.py +0 -32
  31. {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713918100.dist-info}/METADATA +1 -1
  32. {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713918100.dist-info}/RECORD +34 -35
  33. pulumi_gcp/projects/iam_member_remove.py +0 -313
  34. {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713918100.dist-info}/WHEEL +0 -0
  35. {pulumi_gcp-7.20.0.dist-info → pulumi_gcp-7.20.0a1713918100.dist-info}/top_level.txt +0 -0
@@ -19,7 +19,6 @@ __all__ = [
19
19
  'PrivateCloudHcxArgs',
20
20
  'PrivateCloudManagementClusterArgs',
21
21
  'PrivateCloudManagementClusterNodeTypeConfigArgs',
22
- 'PrivateCloudManagementClusterStretchedClusterConfigArgs',
23
22
  'PrivateCloudNetworkConfigArgs',
24
23
  'PrivateCloudNsxArgs',
25
24
  'PrivateCloudVcenterArgs',
@@ -371,8 +370,7 @@ class PrivateCloudHcxArgs:
371
370
  class PrivateCloudManagementClusterArgs:
372
371
  def __init__(__self__, *,
373
372
  cluster_id: pulumi.Input[str],
374
- node_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]]] = None,
375
- stretched_cluster_config: Optional[pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs']] = None):
373
+ node_type_configs: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]]] = None):
376
374
  """
377
375
  :param pulumi.Input[str] cluster_id: The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
378
376
  * Only contains 1-63 alphanumeric characters and hyphens
@@ -383,14 +381,10 @@ class PrivateCloudManagementClusterArgs:
383
381
  :param pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]] node_type_configs: The map of cluster node types in this cluster,
384
382
  where the key is canonical identifier of the node type (corresponds to the NodeType).
385
383
  Structure is documented below.
386
- :param pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs'] stretched_cluster_config: The stretched cluster configuration for the private cloud.
387
- Structure is documented below.
388
384
  """
389
385
  pulumi.set(__self__, "cluster_id", cluster_id)
390
386
  if node_type_configs is not None:
391
387
  pulumi.set(__self__, "node_type_configs", node_type_configs)
392
- if stretched_cluster_config is not None:
393
- pulumi.set(__self__, "stretched_cluster_config", stretched_cluster_config)
394
388
 
395
389
  @property
396
390
  @pulumi.getter(name="clusterId")
@@ -423,19 +417,6 @@ class PrivateCloudManagementClusterArgs:
423
417
  def node_type_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudManagementClusterNodeTypeConfigArgs']]]]):
424
418
  pulumi.set(self, "node_type_configs", value)
425
419
 
426
- @property
427
- @pulumi.getter(name="stretchedClusterConfig")
428
- def stretched_cluster_config(self) -> Optional[pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs']]:
429
- """
430
- The stretched cluster configuration for the private cloud.
431
- Structure is documented below.
432
- """
433
- return pulumi.get(self, "stretched_cluster_config")
434
-
435
- @stretched_cluster_config.setter
436
- def stretched_cluster_config(self, value: Optional[pulumi.Input['PrivateCloudManagementClusterStretchedClusterConfigArgs']]):
437
- pulumi.set(self, "stretched_cluster_config", value)
438
-
439
420
 
440
421
  @pulumi.input_type
441
422
  class PrivateCloudManagementClusterNodeTypeConfigArgs:
@@ -450,6 +431,8 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
450
431
  This number must always be one of `nodeType.availableCustomCoreCounts`.
451
432
  If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
452
433
  This cannot be changed once the PrivateCloud is created.
434
+
435
+ - - -
453
436
  """
454
437
  pulumi.set(__self__, "node_count", node_count)
455
438
  pulumi.set(__self__, "node_type_id", node_type_id)
@@ -488,6 +471,8 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
488
471
  This number must always be one of `nodeType.availableCustomCoreCounts`.
489
472
  If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
490
473
  This cannot be changed once the PrivateCloud is created.
474
+
475
+ - - -
491
476
  """
492
477
  return pulumi.get(self, "custom_core_count")
493
478
 
@@ -496,49 +481,6 @@ class PrivateCloudManagementClusterNodeTypeConfigArgs:
496
481
  pulumi.set(self, "custom_core_count", value)
497
482
 
498
483
 
499
- @pulumi.input_type
500
- class PrivateCloudManagementClusterStretchedClusterConfigArgs:
501
- def __init__(__self__, *,
502
- preferred_location: Optional[pulumi.Input[str]] = None,
503
- secondary_location: Optional[pulumi.Input[str]] = None):
504
- """
505
- :param pulumi.Input[str] preferred_location: Zone that will remain operational when connection between the two zones is lost.
506
- :param pulumi.Input[str] secondary_location: Additional zone for a higher level of availability and load balancing.
507
-
508
- - - -
509
- """
510
- if preferred_location is not None:
511
- pulumi.set(__self__, "preferred_location", preferred_location)
512
- if secondary_location is not None:
513
- pulumi.set(__self__, "secondary_location", secondary_location)
514
-
515
- @property
516
- @pulumi.getter(name="preferredLocation")
517
- def preferred_location(self) -> Optional[pulumi.Input[str]]:
518
- """
519
- Zone that will remain operational when connection between the two zones is lost.
520
- """
521
- return pulumi.get(self, "preferred_location")
522
-
523
- @preferred_location.setter
524
- def preferred_location(self, value: Optional[pulumi.Input[str]]):
525
- pulumi.set(self, "preferred_location", value)
526
-
527
- @property
528
- @pulumi.getter(name="secondaryLocation")
529
- def secondary_location(self) -> Optional[pulumi.Input[str]]:
530
- """
531
- Additional zone for a higher level of availability and load balancing.
532
-
533
- - - -
534
- """
535
- return pulumi.get(self, "secondary_location")
536
-
537
- @secondary_location.setter
538
- def secondary_location(self, value: Optional[pulumi.Input[str]]):
539
- pulumi.set(self, "secondary_location", value)
540
-
541
-
542
484
  @pulumi.input_type
543
485
  class PrivateCloudNetworkConfigArgs:
544
486
  def __init__(__self__, *,
@@ -22,7 +22,7 @@ class GetPrivateCloudResult:
22
22
  """
23
23
  A collection of values returned by getPrivateCloud.
24
24
  """
25
- def __init__(__self__, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None, project=None, state=None, type=None, uid=None, vcenters=None):
25
+ def __init__(__self__, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None, preferred_zone=None, project=None, secondary_zone=None, state=None, type=None, uid=None, vcenters=None):
26
26
  if description and not isinstance(description, str):
27
27
  raise TypeError("Expected argument 'description' to be a str")
28
28
  pulumi.set(__self__, "description", description)
@@ -47,9 +47,15 @@ class GetPrivateCloudResult:
47
47
  if nsxes and not isinstance(nsxes, list):
48
48
  raise TypeError("Expected argument 'nsxes' to be a list")
49
49
  pulumi.set(__self__, "nsxes", nsxes)
50
+ if preferred_zone and not isinstance(preferred_zone, str):
51
+ raise TypeError("Expected argument 'preferred_zone' to be a str")
52
+ pulumi.set(__self__, "preferred_zone", preferred_zone)
50
53
  if project and not isinstance(project, str):
51
54
  raise TypeError("Expected argument 'project' to be a str")
52
55
  pulumi.set(__self__, "project", project)
56
+ if secondary_zone and not isinstance(secondary_zone, str):
57
+ raise TypeError("Expected argument 'secondary_zone' to be a str")
58
+ pulumi.set(__self__, "secondary_zone", secondary_zone)
53
59
  if state and not isinstance(state, str):
54
60
  raise TypeError("Expected argument 'state' to be a str")
55
61
  pulumi.set(__self__, "state", state)
@@ -106,11 +112,21 @@ class GetPrivateCloudResult:
106
112
  def nsxes(self) -> Sequence['outputs.GetPrivateCloudNsxResult']:
107
113
  return pulumi.get(self, "nsxes")
108
114
 
115
+ @property
116
+ @pulumi.getter(name="preferredZone")
117
+ def preferred_zone(self) -> str:
118
+ return pulumi.get(self, "preferred_zone")
119
+
109
120
  @property
110
121
  @pulumi.getter
111
122
  def project(self) -> Optional[str]:
112
123
  return pulumi.get(self, "project")
113
124
 
125
+ @property
126
+ @pulumi.getter(name="secondaryZone")
127
+ def secondary_zone(self) -> str:
128
+ return pulumi.get(self, "secondary_zone")
129
+
114
130
  @property
115
131
  @pulumi.getter
116
132
  def state(self) -> str:
@@ -146,7 +162,9 @@ class AwaitableGetPrivateCloudResult(GetPrivateCloudResult):
146
162
  name=self.name,
147
163
  network_configs=self.network_configs,
148
164
  nsxes=self.nsxes,
165
+ preferred_zone=self.preferred_zone,
149
166
  project=self.project,
167
+ secondary_zone=self.secondary_zone,
150
168
  state=self.state,
151
169
  type=self.type,
152
170
  uid=self.uid,
@@ -197,7 +215,9 @@ def get_private_cloud(location: Optional[str] = None,
197
215
  name=pulumi.get(__ret__, 'name'),
198
216
  network_configs=pulumi.get(__ret__, 'network_configs'),
199
217
  nsxes=pulumi.get(__ret__, 'nsxes'),
218
+ preferred_zone=pulumi.get(__ret__, 'preferred_zone'),
200
219
  project=pulumi.get(__ret__, 'project'),
220
+ secondary_zone=pulumi.get(__ret__, 'secondary_zone'),
201
221
  state=pulumi.get(__ret__, 'state'),
202
222
  type=pulumi.get(__ret__, 'type'),
203
223
  uid=pulumi.get(__ret__, 'uid'),
@@ -20,7 +20,6 @@ __all__ = [
20
20
  'PrivateCloudHcx',
21
21
  'PrivateCloudManagementCluster',
22
22
  'PrivateCloudManagementClusterNodeTypeConfig',
23
- 'PrivateCloudManagementClusterStretchedClusterConfig',
24
23
  'PrivateCloudNetworkConfig',
25
24
  'PrivateCloudNsx',
26
25
  'PrivateCloudVcenter',
@@ -34,7 +33,6 @@ __all__ = [
34
33
  'GetPrivateCloudHcxResult',
35
34
  'GetPrivateCloudManagementClusterResult',
36
35
  'GetPrivateCloudManagementClusterNodeTypeConfigResult',
37
- 'GetPrivateCloudManagementClusterStretchedClusterConfigResult',
38
36
  'GetPrivateCloudNetworkConfigResult',
39
37
  'GetPrivateCloudNsxResult',
40
38
  'GetPrivateCloudVcenterResult',
@@ -399,8 +397,6 @@ class PrivateCloudManagementCluster(dict):
399
397
  suggest = "cluster_id"
400
398
  elif key == "nodeTypeConfigs":
401
399
  suggest = "node_type_configs"
402
- elif key == "stretchedClusterConfig":
403
- suggest = "stretched_cluster_config"
404
400
 
405
401
  if suggest:
406
402
  pulumi.log.warn(f"Key '{key}' not found in PrivateCloudManagementCluster. Access the value via the '{suggest}' property getter instead.")
@@ -415,8 +411,7 @@ class PrivateCloudManagementCluster(dict):
415
411
 
416
412
  def __init__(__self__, *,
417
413
  cluster_id: str,
418
- node_type_configs: Optional[Sequence['outputs.PrivateCloudManagementClusterNodeTypeConfig']] = None,
419
- stretched_cluster_config: Optional['outputs.PrivateCloudManagementClusterStretchedClusterConfig'] = None):
414
+ node_type_configs: Optional[Sequence['outputs.PrivateCloudManagementClusterNodeTypeConfig']] = None):
420
415
  """
421
416
  :param str cluster_id: The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
422
417
  * Only contains 1-63 alphanumeric characters and hyphens
@@ -427,14 +422,10 @@ class PrivateCloudManagementCluster(dict):
427
422
  :param Sequence['PrivateCloudManagementClusterNodeTypeConfigArgs'] node_type_configs: The map of cluster node types in this cluster,
428
423
  where the key is canonical identifier of the node type (corresponds to the NodeType).
429
424
  Structure is documented below.
430
- :param 'PrivateCloudManagementClusterStretchedClusterConfigArgs' stretched_cluster_config: The stretched cluster configuration for the private cloud.
431
- Structure is documented below.
432
425
  """
433
426
  pulumi.set(__self__, "cluster_id", cluster_id)
434
427
  if node_type_configs is not None:
435
428
  pulumi.set(__self__, "node_type_configs", node_type_configs)
436
- if stretched_cluster_config is not None:
437
- pulumi.set(__self__, "stretched_cluster_config", stretched_cluster_config)
438
429
 
439
430
  @property
440
431
  @pulumi.getter(name="clusterId")
@@ -459,15 +450,6 @@ class PrivateCloudManagementCluster(dict):
459
450
  """
460
451
  return pulumi.get(self, "node_type_configs")
461
452
 
462
- @property
463
- @pulumi.getter(name="stretchedClusterConfig")
464
- def stretched_cluster_config(self) -> Optional['outputs.PrivateCloudManagementClusterStretchedClusterConfig']:
465
- """
466
- The stretched cluster configuration for the private cloud.
467
- Structure is documented below.
468
- """
469
- return pulumi.get(self, "stretched_cluster_config")
470
-
471
453
 
472
454
  @pulumi.output_type
473
455
  class PrivateCloudManagementClusterNodeTypeConfig(dict):
@@ -503,6 +485,8 @@ class PrivateCloudManagementClusterNodeTypeConfig(dict):
503
485
  This number must always be one of `nodeType.availableCustomCoreCounts`.
504
486
  If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
505
487
  This cannot be changed once the PrivateCloud is created.
488
+
489
+ - - -
506
490
  """
507
491
  pulumi.set(__self__, "node_count", node_count)
508
492
  pulumi.set(__self__, "node_type_id", node_type_id)
@@ -533,62 +517,10 @@ class PrivateCloudManagementClusterNodeTypeConfig(dict):
533
517
  This number must always be one of `nodeType.availableCustomCoreCounts`.
534
518
  If zero is provided max value from `nodeType.availableCustomCoreCounts` will be used.
535
519
  This cannot be changed once the PrivateCloud is created.
536
- """
537
- return pulumi.get(self, "custom_core_count")
538
-
539
-
540
- @pulumi.output_type
541
- class PrivateCloudManagementClusterStretchedClusterConfig(dict):
542
- @staticmethod
543
- def __key_warning(key: str):
544
- suggest = None
545
- if key == "preferredLocation":
546
- suggest = "preferred_location"
547
- elif key == "secondaryLocation":
548
- suggest = "secondary_location"
549
-
550
- if suggest:
551
- pulumi.log.warn(f"Key '{key}' not found in PrivateCloudManagementClusterStretchedClusterConfig. Access the value via the '{suggest}' property getter instead.")
552
-
553
- def __getitem__(self, key: str) -> Any:
554
- PrivateCloudManagementClusterStretchedClusterConfig.__key_warning(key)
555
- return super().__getitem__(key)
556
-
557
- def get(self, key: str, default = None) -> Any:
558
- PrivateCloudManagementClusterStretchedClusterConfig.__key_warning(key)
559
- return super().get(key, default)
560
-
561
- def __init__(__self__, *,
562
- preferred_location: Optional[str] = None,
563
- secondary_location: Optional[str] = None):
564
- """
565
- :param str preferred_location: Zone that will remain operational when connection between the two zones is lost.
566
- :param str secondary_location: Additional zone for a higher level of availability and load balancing.
567
-
568
- - - -
569
- """
570
- if preferred_location is not None:
571
- pulumi.set(__self__, "preferred_location", preferred_location)
572
- if secondary_location is not None:
573
- pulumi.set(__self__, "secondary_location", secondary_location)
574
-
575
- @property
576
- @pulumi.getter(name="preferredLocation")
577
- def preferred_location(self) -> Optional[str]:
578
- """
579
- Zone that will remain operational when connection between the two zones is lost.
580
- """
581
- return pulumi.get(self, "preferred_location")
582
-
583
- @property
584
- @pulumi.getter(name="secondaryLocation")
585
- def secondary_location(self) -> Optional[str]:
586
- """
587
- Additional zone for a higher level of availability and load balancing.
588
520
 
589
521
  - - -
590
522
  """
591
- return pulumi.get(self, "secondary_location")
523
+ return pulumi.get(self, "custom_core_count")
592
524
 
593
525
 
594
526
  @pulumi.output_type
@@ -1150,8 +1082,7 @@ class GetPrivateCloudHcxResult(dict):
1150
1082
  class GetPrivateCloudManagementClusterResult(dict):
1151
1083
  def __init__(__self__, *,
1152
1084
  cluster_id: str,
1153
- node_type_configs: Sequence['outputs.GetPrivateCloudManagementClusterNodeTypeConfigResult'],
1154
- stretched_cluster_configs: Sequence['outputs.GetPrivateCloudManagementClusterStretchedClusterConfigResult']):
1085
+ node_type_configs: Sequence['outputs.GetPrivateCloudManagementClusterNodeTypeConfigResult']):
1155
1086
  """
1156
1087
  :param str cluster_id: The user-provided identifier of the new Cluster. The identifier must meet the following requirements:
1157
1088
  * Only contains 1-63 alphanumeric characters and hyphens
@@ -1161,11 +1092,9 @@ class GetPrivateCloudManagementClusterResult(dict):
1161
1092
  * Complies with RFC 1034 (https://datatracker.ietf.org/doc/html/rfc1034) (section 3.5)
1162
1093
  :param Sequence['GetPrivateCloudManagementClusterNodeTypeConfigArgs'] node_type_configs: The map of cluster node types in this cluster,
1163
1094
  where the key is canonical identifier of the node type (corresponds to the NodeType).
1164
- :param Sequence['GetPrivateCloudManagementClusterStretchedClusterConfigArgs'] stretched_cluster_configs: The stretched cluster configuration for the private cloud.
1165
1095
  """
1166
1096
  pulumi.set(__self__, "cluster_id", cluster_id)
1167
1097
  pulumi.set(__self__, "node_type_configs", node_type_configs)
1168
- pulumi.set(__self__, "stretched_cluster_configs", stretched_cluster_configs)
1169
1098
 
1170
1099
  @property
1171
1100
  @pulumi.getter(name="clusterId")
@@ -1189,14 +1118,6 @@ class GetPrivateCloudManagementClusterResult(dict):
1189
1118
  """
1190
1119
  return pulumi.get(self, "node_type_configs")
1191
1120
 
1192
- @property
1193
- @pulumi.getter(name="stretchedClusterConfigs")
1194
- def stretched_cluster_configs(self) -> Sequence['outputs.GetPrivateCloudManagementClusterStretchedClusterConfigResult']:
1195
- """
1196
- The stretched cluster configuration for the private cloud.
1197
- """
1198
- return pulumi.get(self, "stretched_cluster_configs")
1199
-
1200
1121
 
1201
1122
  @pulumi.output_type
1202
1123
  class GetPrivateCloudManagementClusterNodeTypeConfigResult(dict):
@@ -1240,35 +1161,6 @@ class GetPrivateCloudManagementClusterNodeTypeConfigResult(dict):
1240
1161
  return pulumi.get(self, "node_type_id")
1241
1162
 
1242
1163
 
1243
- @pulumi.output_type
1244
- class GetPrivateCloudManagementClusterStretchedClusterConfigResult(dict):
1245
- def __init__(__self__, *,
1246
- preferred_location: str,
1247
- secondary_location: str):
1248
- """
1249
- :param str preferred_location: Zone that will remain operational when connection between the two zones is lost.
1250
- :param str secondary_location: Additional zone for a higher level of availability and load balancing.
1251
- """
1252
- pulumi.set(__self__, "preferred_location", preferred_location)
1253
- pulumi.set(__self__, "secondary_location", secondary_location)
1254
-
1255
- @property
1256
- @pulumi.getter(name="preferredLocation")
1257
- def preferred_location(self) -> str:
1258
- """
1259
- Zone that will remain operational when connection between the two zones is lost.
1260
- """
1261
- return pulumi.get(self, "preferred_location")
1262
-
1263
- @property
1264
- @pulumi.getter(name="secondaryLocation")
1265
- def secondary_location(self) -> str:
1266
- """
1267
- Additional zone for a higher level of availability and load balancing.
1268
- """
1269
- return pulumi.get(self, "secondary_location")
1270
-
1271
-
1272
1164
  @pulumi.output_type
1273
1165
  class GetPrivateCloudNetworkConfigResult(dict):
1274
1166
  def __init__(__self__, *,
@@ -21,7 +21,9 @@ class PrivateCloudArgs:
21
21
  network_config: pulumi.Input['PrivateCloudNetworkConfigArgs'],
22
22
  description: Optional[pulumi.Input[str]] = None,
23
23
  name: Optional[pulumi.Input[str]] = None,
24
+ preferred_zone: Optional[pulumi.Input[str]] = None,
24
25
  project: Optional[pulumi.Input[str]] = None,
26
+ secondary_zone: Optional[pulumi.Input[str]] = None,
25
27
  type: Optional[pulumi.Input[str]] = None):
26
28
  """
27
29
  The set of arguments for constructing a PrivateCloud resource.
@@ -32,6 +34,8 @@ class PrivateCloudArgs:
32
34
  Structure is documented below.
33
35
  :param pulumi.Input[str] description: User-provided description for this private cloud.
34
36
  :param pulumi.Input[str] name: The ID of the PrivateCloud.
37
+ :param pulumi.Input[str] preferred_zone: The preferred single failure domain within a region.
38
+ :param pulumi.Input[str] secondary_zone: The secondary single failure domain within a region.
35
39
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
36
40
  """
37
41
  pulumi.set(__self__, "location", location)
@@ -41,8 +45,12 @@ class PrivateCloudArgs:
41
45
  pulumi.set(__self__, "description", description)
42
46
  if name is not None:
43
47
  pulumi.set(__self__, "name", name)
48
+ if preferred_zone is not None:
49
+ pulumi.set(__self__, "preferred_zone", preferred_zone)
44
50
  if project is not None:
45
51
  pulumi.set(__self__, "project", project)
52
+ if secondary_zone is not None:
53
+ pulumi.set(__self__, "secondary_zone", secondary_zone)
46
54
  if type is not None:
47
55
  pulumi.set(__self__, "type", type)
48
56
 
@@ -108,6 +116,18 @@ class PrivateCloudArgs:
108
116
  def name(self, value: Optional[pulumi.Input[str]]):
109
117
  pulumi.set(self, "name", value)
110
118
 
119
+ @property
120
+ @pulumi.getter(name="preferredZone")
121
+ def preferred_zone(self) -> Optional[pulumi.Input[str]]:
122
+ """
123
+ The preferred single failure domain within a region.
124
+ """
125
+ return pulumi.get(self, "preferred_zone")
126
+
127
+ @preferred_zone.setter
128
+ def preferred_zone(self, value: Optional[pulumi.Input[str]]):
129
+ pulumi.set(self, "preferred_zone", value)
130
+
111
131
  @property
112
132
  @pulumi.getter
113
133
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -117,6 +137,18 @@ class PrivateCloudArgs:
117
137
  def project(self, value: Optional[pulumi.Input[str]]):
118
138
  pulumi.set(self, "project", value)
119
139
 
140
+ @property
141
+ @pulumi.getter(name="secondaryZone")
142
+ def secondary_zone(self) -> Optional[pulumi.Input[str]]:
143
+ """
144
+ The secondary single failure domain within a region.
145
+ """
146
+ return pulumi.get(self, "secondary_zone")
147
+
148
+ @secondary_zone.setter
149
+ def secondary_zone(self, value: Optional[pulumi.Input[str]]):
150
+ pulumi.set(self, "secondary_zone", value)
151
+
120
152
  @property
121
153
  @pulumi.getter
122
154
  def type(self) -> Optional[pulumi.Input[str]]:
@@ -140,7 +172,9 @@ class _PrivateCloudState:
140
172
  name: Optional[pulumi.Input[str]] = None,
141
173
  network_config: Optional[pulumi.Input['PrivateCloudNetworkConfigArgs']] = None,
142
174
  nsxes: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudNsxArgs']]]] = None,
175
+ preferred_zone: Optional[pulumi.Input[str]] = None,
143
176
  project: Optional[pulumi.Input[str]] = None,
177
+ secondary_zone: Optional[pulumi.Input[str]] = None,
144
178
  state: Optional[pulumi.Input[str]] = None,
145
179
  type: Optional[pulumi.Input[str]] = None,
146
180
  uid: Optional[pulumi.Input[str]] = None,
@@ -158,6 +192,8 @@ class _PrivateCloudState:
158
192
  Structure is documented below.
159
193
  :param pulumi.Input[Sequence[pulumi.Input['PrivateCloudNsxArgs']]] nsxes: Details about a NSX Manager appliance.
160
194
  Structure is documented below.
195
+ :param pulumi.Input[str] preferred_zone: The preferred single failure domain within a region.
196
+ :param pulumi.Input[str] secondary_zone: The secondary single failure domain within a region.
161
197
  :param pulumi.Input[str] state: State of the appliance.
162
198
  Possible values are: `ACTIVE`, `CREATING`.
163
199
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
@@ -179,8 +215,12 @@ class _PrivateCloudState:
179
215
  pulumi.set(__self__, "network_config", network_config)
180
216
  if nsxes is not None:
181
217
  pulumi.set(__self__, "nsxes", nsxes)
218
+ if preferred_zone is not None:
219
+ pulumi.set(__self__, "preferred_zone", preferred_zone)
182
220
  if project is not None:
183
221
  pulumi.set(__self__, "project", project)
222
+ if secondary_zone is not None:
223
+ pulumi.set(__self__, "secondary_zone", secondary_zone)
184
224
  if state is not None:
185
225
  pulumi.set(__self__, "state", state)
186
226
  if type is not None:
@@ -278,6 +318,18 @@ class _PrivateCloudState:
278
318
  def nsxes(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudNsxArgs']]]]):
279
319
  pulumi.set(self, "nsxes", value)
280
320
 
321
+ @property
322
+ @pulumi.getter(name="preferredZone")
323
+ def preferred_zone(self) -> Optional[pulumi.Input[str]]:
324
+ """
325
+ The preferred single failure domain within a region.
326
+ """
327
+ return pulumi.get(self, "preferred_zone")
328
+
329
+ @preferred_zone.setter
330
+ def preferred_zone(self, value: Optional[pulumi.Input[str]]):
331
+ pulumi.set(self, "preferred_zone", value)
332
+
281
333
  @property
282
334
  @pulumi.getter
283
335
  def project(self) -> Optional[pulumi.Input[str]]:
@@ -287,6 +339,18 @@ class _PrivateCloudState:
287
339
  def project(self, value: Optional[pulumi.Input[str]]):
288
340
  pulumi.set(self, "project", value)
289
341
 
342
+ @property
343
+ @pulumi.getter(name="secondaryZone")
344
+ def secondary_zone(self) -> Optional[pulumi.Input[str]]:
345
+ """
346
+ The secondary single failure domain within a region.
347
+ """
348
+ return pulumi.get(self, "secondary_zone")
349
+
350
+ @secondary_zone.setter
351
+ def secondary_zone(self, value: Optional[pulumi.Input[str]]):
352
+ pulumi.set(self, "secondary_zone", value)
353
+
290
354
  @property
291
355
  @pulumi.getter
292
356
  def state(self) -> Optional[pulumi.Input[str]]:
@@ -348,7 +412,9 @@ class PrivateCloud(pulumi.CustomResource):
348
412
  management_cluster: Optional[pulumi.Input[pulumi.InputType['PrivateCloudManagementClusterArgs']]] = None,
349
413
  name: Optional[pulumi.Input[str]] = None,
350
414
  network_config: Optional[pulumi.Input[pulumi.InputType['PrivateCloudNetworkConfigArgs']]] = None,
415
+ preferred_zone: Optional[pulumi.Input[str]] = None,
351
416
  project: Optional[pulumi.Input[str]] = None,
417
+ secondary_zone: Optional[pulumi.Input[str]] = None,
352
418
  type: Optional[pulumi.Input[str]] = None,
353
419
  __props__=None):
354
420
  """
@@ -450,6 +516,8 @@ class PrivateCloud(pulumi.CustomResource):
450
516
  :param pulumi.Input[str] name: The ID of the PrivateCloud.
451
517
  :param pulumi.Input[pulumi.InputType['PrivateCloudNetworkConfigArgs']] network_config: Network configuration in the consumer project with which the peering has to be done.
452
518
  Structure is documented below.
519
+ :param pulumi.Input[str] preferred_zone: The preferred single failure domain within a region.
520
+ :param pulumi.Input[str] secondary_zone: The secondary single failure domain within a region.
453
521
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
454
522
  """
455
523
  ...
@@ -568,7 +636,9 @@ class PrivateCloud(pulumi.CustomResource):
568
636
  management_cluster: Optional[pulumi.Input[pulumi.InputType['PrivateCloudManagementClusterArgs']]] = None,
569
637
  name: Optional[pulumi.Input[str]] = None,
570
638
  network_config: Optional[pulumi.Input[pulumi.InputType['PrivateCloudNetworkConfigArgs']]] = None,
639
+ preferred_zone: Optional[pulumi.Input[str]] = None,
571
640
  project: Optional[pulumi.Input[str]] = None,
641
+ secondary_zone: Optional[pulumi.Input[str]] = None,
572
642
  type: Optional[pulumi.Input[str]] = None,
573
643
  __props__=None):
574
644
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -590,7 +660,9 @@ class PrivateCloud(pulumi.CustomResource):
590
660
  if network_config is None and not opts.urn:
591
661
  raise TypeError("Missing required property 'network_config'")
592
662
  __props__.__dict__["network_config"] = network_config
663
+ __props__.__dict__["preferred_zone"] = preferred_zone
593
664
  __props__.__dict__["project"] = project
665
+ __props__.__dict__["secondary_zone"] = secondary_zone
594
666
  __props__.__dict__["type"] = type
595
667
  __props__.__dict__["hcxes"] = None
596
668
  __props__.__dict__["nsxes"] = None
@@ -614,7 +686,9 @@ class PrivateCloud(pulumi.CustomResource):
614
686
  name: Optional[pulumi.Input[str]] = None,
615
687
  network_config: Optional[pulumi.Input[pulumi.InputType['PrivateCloudNetworkConfigArgs']]] = None,
616
688
  nsxes: Optional[pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivateCloudNsxArgs']]]]] = None,
689
+ preferred_zone: Optional[pulumi.Input[str]] = None,
617
690
  project: Optional[pulumi.Input[str]] = None,
691
+ secondary_zone: Optional[pulumi.Input[str]] = None,
618
692
  state: Optional[pulumi.Input[str]] = None,
619
693
  type: Optional[pulumi.Input[str]] = None,
620
694
  uid: Optional[pulumi.Input[str]] = None,
@@ -637,6 +711,8 @@ class PrivateCloud(pulumi.CustomResource):
637
711
  Structure is documented below.
638
712
  :param pulumi.Input[Sequence[pulumi.Input[pulumi.InputType['PrivateCloudNsxArgs']]]] nsxes: Details about a NSX Manager appliance.
639
713
  Structure is documented below.
714
+ :param pulumi.Input[str] preferred_zone: The preferred single failure domain within a region.
715
+ :param pulumi.Input[str] secondary_zone: The secondary single failure domain within a region.
640
716
  :param pulumi.Input[str] state: State of the appliance.
641
717
  Possible values are: `ACTIVE`, `CREATING`.
642
718
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
@@ -655,7 +731,9 @@ class PrivateCloud(pulumi.CustomResource):
655
731
  __props__.__dict__["name"] = name
656
732
  __props__.__dict__["network_config"] = network_config
657
733
  __props__.__dict__["nsxes"] = nsxes
734
+ __props__.__dict__["preferred_zone"] = preferred_zone
658
735
  __props__.__dict__["project"] = project
736
+ __props__.__dict__["secondary_zone"] = secondary_zone
659
737
  __props__.__dict__["state"] = state
660
738
  __props__.__dict__["type"] = type
661
739
  __props__.__dict__["uid"] = uid
@@ -722,11 +800,27 @@ class PrivateCloud(pulumi.CustomResource):
722
800
  """
723
801
  return pulumi.get(self, "nsxes")
724
802
 
803
+ @property
804
+ @pulumi.getter(name="preferredZone")
805
+ def preferred_zone(self) -> pulumi.Output[Optional[str]]:
806
+ """
807
+ The preferred single failure domain within a region.
808
+ """
809
+ return pulumi.get(self, "preferred_zone")
810
+
725
811
  @property
726
812
  @pulumi.getter
727
813
  def project(self) -> pulumi.Output[str]:
728
814
  return pulumi.get(self, "project")
729
815
 
816
+ @property
817
+ @pulumi.getter(name="secondaryZone")
818
+ def secondary_zone(self) -> pulumi.Output[Optional[str]]:
819
+ """
820
+ The secondary single failure domain within a region.
821
+ """
822
+ return pulumi.get(self, "secondary_zone")
823
+
730
824
  @property
731
825
  @pulumi.getter
732
826
  def state(self) -> pulumi.Output[str]:
@@ -596,8 +596,8 @@ class Instance(pulumi.CustomResource):
596
596
  core_count="1",
597
597
  )],
598
598
  vm_image=gcp.workbench.InstanceGceSetupVmImageArgs(
599
- project="cloud-notebooks-managed",
600
- family="workbench-instances",
599
+ project="deeplearning-platform-release",
600
+ family="tf-latest-gpu",
601
601
  ),
602
602
  ))
603
603
  ```
@@ -796,8 +796,8 @@ class Instance(pulumi.CustomResource):
796
796
  core_count="1",
797
797
  )],
798
798
  vm_image=gcp.workbench.InstanceGceSetupVmImageArgs(
799
- project="cloud-notebooks-managed",
800
- family="workbench-instances",
799
+ project="deeplearning-platform-release",
800
+ family="tf-latest-gpu",
801
801
  ),
802
802
  ))
803
803
  ```