pulumi-gcp 7.34.0__py3-none-any.whl → 7.34.0a1722421695__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.

Potentially problematic release.


This version of pulumi-gcp might be problematic. Click here for more details.

Files changed (78) hide show
  1. pulumi_gcp/__init__.py +0 -40
  2. pulumi_gcp/alloydb/_inputs.py +0 -174
  3. pulumi_gcp/alloydb/instance.py +0 -54
  4. pulumi_gcp/alloydb/outputs.py +0 -133
  5. pulumi_gcp/apigee/__init__.py +0 -2
  6. pulumi_gcp/apigee/instance.py +2 -2
  7. pulumi_gcp/apigee/nat_address.py +2 -2
  8. pulumi_gcp/apigee/organization.py +4 -4
  9. pulumi_gcp/apphub/service_project_attachment.py +11 -11
  10. pulumi_gcp/bigquery/_inputs.py +0 -36
  11. pulumi_gcp/bigquery/app_profile.py +0 -54
  12. pulumi_gcp/bigquery/outputs.py +0 -38
  13. pulumi_gcp/bigquery/reservation.py +4 -34
  14. pulumi_gcp/bigquery/table.py +21 -65
  15. pulumi_gcp/bigtable/table.py +26 -27
  16. pulumi_gcp/certificateauthority/authority.py +4 -4
  17. pulumi_gcp/cloudfunctions/function.py +0 -47
  18. pulumi_gcp/cloudfunctions/get_function.py +1 -11
  19. pulumi_gcp/cloudfunctionsv2/function.py +2 -2
  20. pulumi_gcp/cloudrun/_inputs.py +21 -24
  21. pulumi_gcp/cloudrun/outputs.py +24 -20
  22. pulumi_gcp/cloudrunv2/_inputs.py +0 -3
  23. pulumi_gcp/cloudrunv2/outputs.py +0 -4
  24. pulumi_gcp/compute/__init__.py +0 -2
  25. pulumi_gcp/compute/_inputs.py +328 -2333
  26. pulumi_gcp/compute/backend_service.py +0 -6
  27. pulumi_gcp/compute/outputs.py +7 -1466
  28. pulumi_gcp/compute/public_advertised_prefix.py +2 -30
  29. pulumi_gcp/compute/router_peer.py +0 -437
  30. pulumi_gcp/compute/service_attachment.py +14 -7
  31. pulumi_gcp/container/_inputs.py +18 -215
  32. pulumi_gcp/container/node_pool.py +14 -0
  33. pulumi_gcp/container/outputs.py +12 -226
  34. pulumi_gcp/databasemigrationservice/private_connection.py +6 -10
  35. pulumi_gcp/dataloss/_inputs.py +21 -707
  36. pulumi_gcp/dataloss/outputs.py +14 -588
  37. pulumi_gcp/datastore/data_store_index.py +12 -24
  38. pulumi_gcp/datastream/_inputs.py +3 -83
  39. pulumi_gcp/datastream/outputs.py +3 -51
  40. pulumi_gcp/datastream/stream.py +0 -170
  41. pulumi_gcp/firebase/database_instance.py +8 -8
  42. pulumi_gcp/firebase/hosting_site.py +8 -8
  43. pulumi_gcp/firestore/index.py +10 -10
  44. pulumi_gcp/gkeonprem/_inputs.py +78 -78
  45. pulumi_gcp/gkeonprem/outputs.py +52 -52
  46. pulumi_gcp/iap/client.py +4 -4
  47. pulumi_gcp/integrationconnectors/_inputs.py +30 -30
  48. pulumi_gcp/integrationconnectors/outputs.py +20 -20
  49. pulumi_gcp/netapp/volume.py +1 -1
  50. pulumi_gcp/networkconnectivity/_inputs.py +6 -3
  51. pulumi_gcp/networkconnectivity/hub.py +49 -60
  52. pulumi_gcp/networkconnectivity/outputs.py +4 -2
  53. pulumi_gcp/networkconnectivity/spoke.py +104 -159
  54. pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
  55. pulumi_gcp/orgpolicy/policy.py +4 -4
  56. pulumi_gcp/projects/get_project_service.py +1 -11
  57. pulumi_gcp/projects/service.py +0 -68
  58. pulumi_gcp/projects/service_identity.py +2 -30
  59. pulumi_gcp/pubsub/subscription.py +6 -6
  60. pulumi_gcp/pulumi-plugin.json +1 -1
  61. pulumi_gcp/securesourcemanager/instance.py +4 -528
  62. pulumi_gcp/securitycenter/__init__.py +0 -1
  63. pulumi_gcp/sql/database_instance.py +2 -2
  64. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  65. pulumi_gcp/vmwareengine/get_private_cloud.py +1 -21
  66. pulumi_gcp/vmwareengine/private_cloud.py +2 -121
  67. pulumi_gcp/workbench/_inputs.py +0 -77
  68. pulumi_gcp/workbench/instance.py +4 -18
  69. pulumi_gcp/workbench/outputs.py +1 -67
  70. {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/METADATA +1 -1
  71. {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/RECORD +73 -78
  72. pulumi_gcp/apigee/environment_keyvaluemaps.py +0 -370
  73. pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +0 -440
  74. pulumi_gcp/compute/resize_request.py +0 -782
  75. pulumi_gcp/compute/router_route_policy.py +0 -616
  76. pulumi_gcp/securitycenter/v2_organization_mute_config.py +0 -673
  77. {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/WHEEL +0 -0
  78. {pulumi_gcp-7.34.0.dist-info → pulumi_gcp-7.34.0a1722421695.dist-info}/top_level.txt +0 -0
@@ -27,10 +27,7 @@ class GetPrivateCloudResult:
27
27
  """
28
28
  A collection of values returned by getPrivateCloud.
29
29
  """
30
- def __init__(__self__, deletion_delay_hours=None, description=None, hcxes=None, id=None, location=None, management_clusters=None, name=None, network_configs=None, nsxes=None, project=None, send_deletion_delay_hours_if_zero=None, state=None, type=None, uid=None, vcenters=None):
31
- if deletion_delay_hours and not isinstance(deletion_delay_hours, int):
32
- raise TypeError("Expected argument 'deletion_delay_hours' to be a int")
33
- pulumi.set(__self__, "deletion_delay_hours", deletion_delay_hours)
30
+ 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):
34
31
  if description and not isinstance(description, str):
35
32
  raise TypeError("Expected argument 'description' to be a str")
36
33
  pulumi.set(__self__, "description", description)
@@ -58,9 +55,6 @@ class GetPrivateCloudResult:
58
55
  if project and not isinstance(project, str):
59
56
  raise TypeError("Expected argument 'project' to be a str")
60
57
  pulumi.set(__self__, "project", project)
61
- if send_deletion_delay_hours_if_zero and not isinstance(send_deletion_delay_hours_if_zero, bool):
62
- raise TypeError("Expected argument 'send_deletion_delay_hours_if_zero' to be a bool")
63
- pulumi.set(__self__, "send_deletion_delay_hours_if_zero", send_deletion_delay_hours_if_zero)
64
58
  if state and not isinstance(state, str):
65
59
  raise TypeError("Expected argument 'state' to be a str")
66
60
  pulumi.set(__self__, "state", state)
@@ -74,11 +68,6 @@ class GetPrivateCloudResult:
74
68
  raise TypeError("Expected argument 'vcenters' to be a list")
75
69
  pulumi.set(__self__, "vcenters", vcenters)
76
70
 
77
- @property
78
- @pulumi.getter(name="deletionDelayHours")
79
- def deletion_delay_hours(self) -> int:
80
- return pulumi.get(self, "deletion_delay_hours")
81
-
82
71
  @property
83
72
  @pulumi.getter
84
73
  def description(self) -> str:
@@ -127,11 +116,6 @@ class GetPrivateCloudResult:
127
116
  def project(self) -> Optional[str]:
128
117
  return pulumi.get(self, "project")
129
118
 
130
- @property
131
- @pulumi.getter(name="sendDeletionDelayHoursIfZero")
132
- def send_deletion_delay_hours_if_zero(self) -> bool:
133
- return pulumi.get(self, "send_deletion_delay_hours_if_zero")
134
-
135
119
  @property
136
120
  @pulumi.getter
137
121
  def state(self) -> str:
@@ -159,7 +143,6 @@ class AwaitableGetPrivateCloudResult(GetPrivateCloudResult):
159
143
  if False:
160
144
  yield self
161
145
  return GetPrivateCloudResult(
162
- deletion_delay_hours=self.deletion_delay_hours,
163
146
  description=self.description,
164
147
  hcxes=self.hcxes,
165
148
  id=self.id,
@@ -169,7 +152,6 @@ class AwaitableGetPrivateCloudResult(GetPrivateCloudResult):
169
152
  network_configs=self.network_configs,
170
153
  nsxes=self.nsxes,
171
154
  project=self.project,
172
- send_deletion_delay_hours_if_zero=self.send_deletion_delay_hours_if_zero,
173
155
  state=self.state,
174
156
  type=self.type,
175
157
  uid=self.uid,
@@ -212,7 +194,6 @@ def get_private_cloud(location: Optional[str] = None,
212
194
  __ret__ = pulumi.runtime.invoke('gcp:vmwareengine/getPrivateCloud:getPrivateCloud', __args__, opts=opts, typ=GetPrivateCloudResult).value
213
195
 
214
196
  return AwaitableGetPrivateCloudResult(
215
- deletion_delay_hours=pulumi.get(__ret__, 'deletion_delay_hours'),
216
197
  description=pulumi.get(__ret__, 'description'),
217
198
  hcxes=pulumi.get(__ret__, 'hcxes'),
218
199
  id=pulumi.get(__ret__, 'id'),
@@ -222,7 +203,6 @@ def get_private_cloud(location: Optional[str] = None,
222
203
  network_configs=pulumi.get(__ret__, 'network_configs'),
223
204
  nsxes=pulumi.get(__ret__, 'nsxes'),
224
205
  project=pulumi.get(__ret__, 'project'),
225
- send_deletion_delay_hours_if_zero=pulumi.get(__ret__, 'send_deletion_delay_hours_if_zero'),
226
206
  state=pulumi.get(__ret__, 'state'),
227
207
  type=pulumi.get(__ret__, 'type'),
228
208
  uid=pulumi.get(__ret__, 'uid'),
@@ -24,11 +24,9 @@ class PrivateCloudArgs:
24
24
  location: pulumi.Input[str],
25
25
  management_cluster: pulumi.Input['PrivateCloudManagementClusterArgs'],
26
26
  network_config: pulumi.Input['PrivateCloudNetworkConfigArgs'],
27
- deletion_delay_hours: Optional[pulumi.Input[int]] = None,
28
27
  description: Optional[pulumi.Input[str]] = None,
29
28
  name: Optional[pulumi.Input[str]] = None,
30
29
  project: Optional[pulumi.Input[str]] = None,
31
- send_deletion_delay_hours_if_zero: Optional[pulumi.Input[bool]] = None,
32
30
  type: Optional[pulumi.Input[str]] = None):
33
31
  """
34
32
  The set of arguments for constructing a PrivateCloud resource.
@@ -37,28 +35,19 @@ class PrivateCloudArgs:
37
35
  Structure is documented below.
38
36
  :param pulumi.Input['PrivateCloudNetworkConfigArgs'] network_config: Network configuration in the consumer project with which the peering has to be done.
39
37
  Structure is documented below.
40
- :param pulumi.Input[int] deletion_delay_hours: The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
41
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
42
38
  :param pulumi.Input[str] description: User-provided description for this private cloud.
43
39
  :param pulumi.Input[str] name: The ID of the PrivateCloud.
44
- :param pulumi.Input[bool] send_deletion_delay_hours_if_zero: While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
45
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
46
- deletion_delay_hours.
47
40
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
48
41
  """
49
42
  pulumi.set(__self__, "location", location)
50
43
  pulumi.set(__self__, "management_cluster", management_cluster)
51
44
  pulumi.set(__self__, "network_config", network_config)
52
- if deletion_delay_hours is not None:
53
- pulumi.set(__self__, "deletion_delay_hours", deletion_delay_hours)
54
45
  if description is not None:
55
46
  pulumi.set(__self__, "description", description)
56
47
  if name is not None:
57
48
  pulumi.set(__self__, "name", name)
58
49
  if project is not None:
59
50
  pulumi.set(__self__, "project", project)
60
- if send_deletion_delay_hours_if_zero is not None:
61
- pulumi.set(__self__, "send_deletion_delay_hours_if_zero", send_deletion_delay_hours_if_zero)
62
51
  if type is not None:
63
52
  pulumi.set(__self__, "type", type)
64
53
 
@@ -100,19 +89,6 @@ class PrivateCloudArgs:
100
89
  def network_config(self, value: pulumi.Input['PrivateCloudNetworkConfigArgs']):
101
90
  pulumi.set(self, "network_config", value)
102
91
 
103
- @property
104
- @pulumi.getter(name="deletionDelayHours")
105
- def deletion_delay_hours(self) -> Optional[pulumi.Input[int]]:
106
- """
107
- The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
108
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
109
- """
110
- return pulumi.get(self, "deletion_delay_hours")
111
-
112
- @deletion_delay_hours.setter
113
- def deletion_delay_hours(self, value: Optional[pulumi.Input[int]]):
114
- pulumi.set(self, "deletion_delay_hours", value)
115
-
116
92
  @property
117
93
  @pulumi.getter
118
94
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -146,20 +122,6 @@ class PrivateCloudArgs:
146
122
  def project(self, value: Optional[pulumi.Input[str]]):
147
123
  pulumi.set(self, "project", value)
148
124
 
149
- @property
150
- @pulumi.getter(name="sendDeletionDelayHoursIfZero")
151
- def send_deletion_delay_hours_if_zero(self) -> Optional[pulumi.Input[bool]]:
152
- """
153
- While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
154
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
155
- deletion_delay_hours.
156
- """
157
- return pulumi.get(self, "send_deletion_delay_hours_if_zero")
158
-
159
- @send_deletion_delay_hours_if_zero.setter
160
- def send_deletion_delay_hours_if_zero(self, value: Optional[pulumi.Input[bool]]):
161
- pulumi.set(self, "send_deletion_delay_hours_if_zero", value)
162
-
163
125
  @property
164
126
  @pulumi.getter
165
127
  def type(self) -> Optional[pulumi.Input[str]]:
@@ -176,7 +138,6 @@ class PrivateCloudArgs:
176
138
  @pulumi.input_type
177
139
  class _PrivateCloudState:
178
140
  def __init__(__self__, *,
179
- deletion_delay_hours: Optional[pulumi.Input[int]] = None,
180
141
  description: Optional[pulumi.Input[str]] = None,
181
142
  hcxes: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudHcxArgs']]]] = None,
182
143
  location: Optional[pulumi.Input[str]] = None,
@@ -185,15 +146,12 @@ class _PrivateCloudState:
185
146
  network_config: Optional[pulumi.Input['PrivateCloudNetworkConfigArgs']] = None,
186
147
  nsxes: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudNsxArgs']]]] = None,
187
148
  project: Optional[pulumi.Input[str]] = None,
188
- send_deletion_delay_hours_if_zero: Optional[pulumi.Input[bool]] = None,
189
149
  state: Optional[pulumi.Input[str]] = None,
190
150
  type: Optional[pulumi.Input[str]] = None,
191
151
  uid: Optional[pulumi.Input[str]] = None,
192
152
  vcenters: Optional[pulumi.Input[Sequence[pulumi.Input['PrivateCloudVcenterArgs']]]] = None):
193
153
  """
194
154
  Input properties used for looking up and filtering PrivateCloud resources.
195
- :param pulumi.Input[int] deletion_delay_hours: The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
196
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
197
155
  :param pulumi.Input[str] description: User-provided description for this private cloud.
198
156
  :param pulumi.Input[Sequence[pulumi.Input['PrivateCloudHcxArgs']]] hcxes: Details about a HCX Cloud Manager appliance.
199
157
  Structure is documented below.
@@ -205,9 +163,6 @@ class _PrivateCloudState:
205
163
  Structure is documented below.
206
164
  :param pulumi.Input[Sequence[pulumi.Input['PrivateCloudNsxArgs']]] nsxes: Details about a NSX Manager appliance.
207
165
  Structure is documented below.
208
- :param pulumi.Input[bool] send_deletion_delay_hours_if_zero: While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
209
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
210
- deletion_delay_hours.
211
166
  :param pulumi.Input[str] state: State of the appliance.
212
167
  Possible values are: `ACTIVE`, `CREATING`.
213
168
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
@@ -215,8 +170,6 @@ class _PrivateCloudState:
215
170
  :param pulumi.Input[Sequence[pulumi.Input['PrivateCloudVcenterArgs']]] vcenters: Details about a vCenter Server management appliance.
216
171
  Structure is documented below.
217
172
  """
218
- if deletion_delay_hours is not None:
219
- pulumi.set(__self__, "deletion_delay_hours", deletion_delay_hours)
220
173
  if description is not None:
221
174
  pulumi.set(__self__, "description", description)
222
175
  if hcxes is not None:
@@ -233,8 +186,6 @@ class _PrivateCloudState:
233
186
  pulumi.set(__self__, "nsxes", nsxes)
234
187
  if project is not None:
235
188
  pulumi.set(__self__, "project", project)
236
- if send_deletion_delay_hours_if_zero is not None:
237
- pulumi.set(__self__, "send_deletion_delay_hours_if_zero", send_deletion_delay_hours_if_zero)
238
189
  if state is not None:
239
190
  pulumi.set(__self__, "state", state)
240
191
  if type is not None:
@@ -244,19 +195,6 @@ class _PrivateCloudState:
244
195
  if vcenters is not None:
245
196
  pulumi.set(__self__, "vcenters", vcenters)
246
197
 
247
- @property
248
- @pulumi.getter(name="deletionDelayHours")
249
- def deletion_delay_hours(self) -> Optional[pulumi.Input[int]]:
250
- """
251
- The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
252
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
253
- """
254
- return pulumi.get(self, "deletion_delay_hours")
255
-
256
- @deletion_delay_hours.setter
257
- def deletion_delay_hours(self, value: Optional[pulumi.Input[int]]):
258
- pulumi.set(self, "deletion_delay_hours", value)
259
-
260
198
  @property
261
199
  @pulumi.getter
262
200
  def description(self) -> Optional[pulumi.Input[str]]:
@@ -354,20 +292,6 @@ class _PrivateCloudState:
354
292
  def project(self, value: Optional[pulumi.Input[str]]):
355
293
  pulumi.set(self, "project", value)
356
294
 
357
- @property
358
- @pulumi.getter(name="sendDeletionDelayHoursIfZero")
359
- def send_deletion_delay_hours_if_zero(self) -> Optional[pulumi.Input[bool]]:
360
- """
361
- While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
362
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
363
- deletion_delay_hours.
364
- """
365
- return pulumi.get(self, "send_deletion_delay_hours_if_zero")
366
-
367
- @send_deletion_delay_hours_if_zero.setter
368
- def send_deletion_delay_hours_if_zero(self, value: Optional[pulumi.Input[bool]]):
369
- pulumi.set(self, "send_deletion_delay_hours_if_zero", value)
370
-
371
295
  @property
372
296
  @pulumi.getter
373
297
  def state(self) -> Optional[pulumi.Input[str]]:
@@ -424,14 +348,12 @@ class PrivateCloud(pulumi.CustomResource):
424
348
  def __init__(__self__,
425
349
  resource_name: str,
426
350
  opts: Optional[pulumi.ResourceOptions] = None,
427
- deletion_delay_hours: Optional[pulumi.Input[int]] = None,
428
351
  description: Optional[pulumi.Input[str]] = None,
429
352
  location: Optional[pulumi.Input[str]] = None,
430
353
  management_cluster: Optional[pulumi.Input[Union['PrivateCloudManagementClusterArgs', 'PrivateCloudManagementClusterArgsDict']]] = None,
431
354
  name: Optional[pulumi.Input[str]] = None,
432
355
  network_config: Optional[pulumi.Input[Union['PrivateCloudNetworkConfigArgs', 'PrivateCloudNetworkConfigArgsDict']]] = None,
433
356
  project: Optional[pulumi.Input[str]] = None,
434
- send_deletion_delay_hours_if_zero: Optional[pulumi.Input[bool]] = None,
435
357
  type: Optional[pulumi.Input[str]] = None,
436
358
  __props__=None):
437
359
  """
@@ -497,9 +419,7 @@ class PrivateCloud(pulumi.CustomResource):
497
419
  "node_count": 1,
498
420
  "custom_core_count": 32,
499
421
  }],
500
- },
501
- deletion_delay_hours=0,
502
- send_deletion_delay_hours_if_zero=True)
422
+ })
503
423
  ```
504
424
 
505
425
  ## Import
@@ -528,8 +448,6 @@ class PrivateCloud(pulumi.CustomResource):
528
448
 
529
449
  :param str resource_name: The name of the resource.
530
450
  :param pulumi.ResourceOptions opts: Options for the resource.
531
- :param pulumi.Input[int] deletion_delay_hours: The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
532
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
533
451
  :param pulumi.Input[str] description: User-provided description for this private cloud.
534
452
  :param pulumi.Input[str] location: The location where the PrivateCloud should reside.
535
453
  :param pulumi.Input[Union['PrivateCloudManagementClusterArgs', 'PrivateCloudManagementClusterArgsDict']] management_cluster: The management cluster for this private cloud. This used for creating and managing the default cluster.
@@ -537,9 +455,6 @@ class PrivateCloud(pulumi.CustomResource):
537
455
  :param pulumi.Input[str] name: The ID of the PrivateCloud.
538
456
  :param pulumi.Input[Union['PrivateCloudNetworkConfigArgs', 'PrivateCloudNetworkConfigArgsDict']] network_config: Network configuration in the consumer project with which the peering has to be done.
539
457
  Structure is documented below.
540
- :param pulumi.Input[bool] send_deletion_delay_hours_if_zero: While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
541
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
542
- deletion_delay_hours.
543
458
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
544
459
  """
545
460
  ...
@@ -611,9 +526,7 @@ class PrivateCloud(pulumi.CustomResource):
611
526
  "node_count": 1,
612
527
  "custom_core_count": 32,
613
528
  }],
614
- },
615
- deletion_delay_hours=0,
616
- send_deletion_delay_hours_if_zero=True)
529
+ })
617
530
  ```
618
531
 
619
532
  ## Import
@@ -655,14 +568,12 @@ class PrivateCloud(pulumi.CustomResource):
655
568
  def _internal_init(__self__,
656
569
  resource_name: str,
657
570
  opts: Optional[pulumi.ResourceOptions] = None,
658
- deletion_delay_hours: Optional[pulumi.Input[int]] = None,
659
571
  description: Optional[pulumi.Input[str]] = None,
660
572
  location: Optional[pulumi.Input[str]] = None,
661
573
  management_cluster: Optional[pulumi.Input[Union['PrivateCloudManagementClusterArgs', 'PrivateCloudManagementClusterArgsDict']]] = None,
662
574
  name: Optional[pulumi.Input[str]] = None,
663
575
  network_config: Optional[pulumi.Input[Union['PrivateCloudNetworkConfigArgs', 'PrivateCloudNetworkConfigArgsDict']]] = None,
664
576
  project: Optional[pulumi.Input[str]] = None,
665
- send_deletion_delay_hours_if_zero: Optional[pulumi.Input[bool]] = None,
666
577
  type: Optional[pulumi.Input[str]] = None,
667
578
  __props__=None):
668
579
  opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
@@ -673,7 +584,6 @@ class PrivateCloud(pulumi.CustomResource):
673
584
  raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
674
585
  __props__ = PrivateCloudArgs.__new__(PrivateCloudArgs)
675
586
 
676
- __props__.__dict__["deletion_delay_hours"] = deletion_delay_hours
677
587
  __props__.__dict__["description"] = description
678
588
  if location is None and not opts.urn:
679
589
  raise TypeError("Missing required property 'location'")
@@ -686,7 +596,6 @@ class PrivateCloud(pulumi.CustomResource):
686
596
  raise TypeError("Missing required property 'network_config'")
687
597
  __props__.__dict__["network_config"] = network_config
688
598
  __props__.__dict__["project"] = project
689
- __props__.__dict__["send_deletion_delay_hours_if_zero"] = send_deletion_delay_hours_if_zero
690
599
  __props__.__dict__["type"] = type
691
600
  __props__.__dict__["hcxes"] = None
692
601
  __props__.__dict__["nsxes"] = None
@@ -703,7 +612,6 @@ class PrivateCloud(pulumi.CustomResource):
703
612
  def get(resource_name: str,
704
613
  id: pulumi.Input[str],
705
614
  opts: Optional[pulumi.ResourceOptions] = None,
706
- deletion_delay_hours: Optional[pulumi.Input[int]] = None,
707
615
  description: Optional[pulumi.Input[str]] = None,
708
616
  hcxes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PrivateCloudHcxArgs', 'PrivateCloudHcxArgsDict']]]]] = None,
709
617
  location: Optional[pulumi.Input[str]] = None,
@@ -712,7 +620,6 @@ class PrivateCloud(pulumi.CustomResource):
712
620
  network_config: Optional[pulumi.Input[Union['PrivateCloudNetworkConfigArgs', 'PrivateCloudNetworkConfigArgsDict']]] = None,
713
621
  nsxes: Optional[pulumi.Input[Sequence[pulumi.Input[Union['PrivateCloudNsxArgs', 'PrivateCloudNsxArgsDict']]]]] = None,
714
622
  project: Optional[pulumi.Input[str]] = None,
715
- send_deletion_delay_hours_if_zero: Optional[pulumi.Input[bool]] = None,
716
623
  state: Optional[pulumi.Input[str]] = None,
717
624
  type: Optional[pulumi.Input[str]] = None,
718
625
  uid: Optional[pulumi.Input[str]] = None,
@@ -724,8 +631,6 @@ class PrivateCloud(pulumi.CustomResource):
724
631
  :param str resource_name: The unique name of the resulting resource.
725
632
  :param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
726
633
  :param pulumi.ResourceOptions opts: Options for the resource.
727
- :param pulumi.Input[int] deletion_delay_hours: The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
728
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
729
634
  :param pulumi.Input[str] description: User-provided description for this private cloud.
730
635
  :param pulumi.Input[Sequence[pulumi.Input[Union['PrivateCloudHcxArgs', 'PrivateCloudHcxArgsDict']]]] hcxes: Details about a HCX Cloud Manager appliance.
731
636
  Structure is documented below.
@@ -737,9 +642,6 @@ class PrivateCloud(pulumi.CustomResource):
737
642
  Structure is documented below.
738
643
  :param pulumi.Input[Sequence[pulumi.Input[Union['PrivateCloudNsxArgs', 'PrivateCloudNsxArgsDict']]]] nsxes: Details about a NSX Manager appliance.
739
644
  Structure is documented below.
740
- :param pulumi.Input[bool] send_deletion_delay_hours_if_zero: While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
741
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
742
- deletion_delay_hours.
743
645
  :param pulumi.Input[str] state: State of the appliance.
744
646
  Possible values are: `ACTIVE`, `CREATING`.
745
647
  :param pulumi.Input[str] type: Initial type of the private cloud. Possible values: ["STANDARD", "TIME_LIMITED", "STRETCHED"]
@@ -751,7 +653,6 @@ class PrivateCloud(pulumi.CustomResource):
751
653
 
752
654
  __props__ = _PrivateCloudState.__new__(_PrivateCloudState)
753
655
 
754
- __props__.__dict__["deletion_delay_hours"] = deletion_delay_hours
755
656
  __props__.__dict__["description"] = description
756
657
  __props__.__dict__["hcxes"] = hcxes
757
658
  __props__.__dict__["location"] = location
@@ -760,22 +661,12 @@ class PrivateCloud(pulumi.CustomResource):
760
661
  __props__.__dict__["network_config"] = network_config
761
662
  __props__.__dict__["nsxes"] = nsxes
762
663
  __props__.__dict__["project"] = project
763
- __props__.__dict__["send_deletion_delay_hours_if_zero"] = send_deletion_delay_hours_if_zero
764
664
  __props__.__dict__["state"] = state
765
665
  __props__.__dict__["type"] = type
766
666
  __props__.__dict__["uid"] = uid
767
667
  __props__.__dict__["vcenters"] = vcenters
768
668
  return PrivateCloud(resource_name, opts=opts, __props__=__props__)
769
669
 
770
- @property
771
- @pulumi.getter(name="deletionDelayHours")
772
- def deletion_delay_hours(self) -> pulumi.Output[Optional[int]]:
773
- """
774
- The number of hours to delay this request. You can set this value to an hour between 0 to 8, where setting it to 0
775
- starts the deletion request immediately. If no value is set, a default value is set at the API Level.
776
- """
777
- return pulumi.get(self, "deletion_delay_hours")
778
-
779
670
  @property
780
671
  @pulumi.getter
781
672
  def description(self) -> pulumi.Output[Optional[str]]:
@@ -841,16 +732,6 @@ class PrivateCloud(pulumi.CustomResource):
841
732
  def project(self) -> pulumi.Output[str]:
842
733
  return pulumi.get(self, "project")
843
734
 
844
- @property
845
- @pulumi.getter(name="sendDeletionDelayHoursIfZero")
846
- def send_deletion_delay_hours_if_zero(self) -> pulumi.Output[Optional[bool]]:
847
- """
848
- While set true, deletion_delay_hours value will be sent in the request even for zero value of the field. This field is
849
- only useful for setting 0 value to the deletion_delay_hours field. It can be used both alone and together with
850
- deletion_delay_hours.
851
- """
852
- return pulumi.get(self, "send_deletion_delay_hours_if_zero")
853
-
854
735
  @property
855
736
  @pulumi.getter
856
737
  def state(self) -> pulumi.Output[str]:
@@ -27,8 +27,6 @@ __all__ = [
27
27
  'InstanceGceSetupDataDisksArgsDict',
28
28
  'InstanceGceSetupNetworkInterfaceArgs',
29
29
  'InstanceGceSetupNetworkInterfaceArgsDict',
30
- 'InstanceGceSetupNetworkInterfaceAccessConfigArgs',
31
- 'InstanceGceSetupNetworkInterfaceAccessConfigArgsDict',
32
30
  'InstanceGceSetupServiceAccountArgs',
33
31
  'InstanceGceSetupServiceAccountArgsDict',
34
32
  'InstanceGceSetupShieldedInstanceConfigArgs',
@@ -701,14 +699,6 @@ class InstanceGceSetupDataDisksArgs:
701
699
 
702
700
  if not MYPY:
703
701
  class InstanceGceSetupNetworkInterfaceArgsDict(TypedDict):
704
- access_configs: NotRequired[pulumi.Input[Sequence[pulumi.Input['InstanceGceSetupNetworkInterfaceAccessConfigArgsDict']]]]
705
- """
706
- Optional. An array of configurations for this interface. Currently, only one access
707
- config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the
708
- instance will have an external internet access through an ephemeral
709
- external IP address.
710
- Structure is documented below.
711
- """
712
702
  network: NotRequired[pulumi.Input[str]]
713
703
  """
714
704
  Optional. The name of the VPC that this VM instance is in.
@@ -729,24 +719,16 @@ elif False:
729
719
  @pulumi.input_type
730
720
  class InstanceGceSetupNetworkInterfaceArgs:
731
721
  def __init__(__self__, *,
732
- access_configs: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGceSetupNetworkInterfaceAccessConfigArgs']]]] = None,
733
722
  network: Optional[pulumi.Input[str]] = None,
734
723
  nic_type: Optional[pulumi.Input[str]] = None,
735
724
  subnet: Optional[pulumi.Input[str]] = None):
736
725
  """
737
- :param pulumi.Input[Sequence[pulumi.Input['InstanceGceSetupNetworkInterfaceAccessConfigArgs']]] access_configs: Optional. An array of configurations for this interface. Currently, only one access
738
- config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the
739
- instance will have an external internet access through an ephemeral
740
- external IP address.
741
- Structure is documented below.
742
726
  :param pulumi.Input[str] network: Optional. The name of the VPC that this VM instance is in.
743
727
  :param pulumi.Input[str] nic_type: Optional. The type of vNIC to be used on this interface. This
744
728
  may be gVNIC or VirtioNet.
745
729
  Possible values are: `VIRTIO_NET`, `GVNIC`.
746
730
  :param pulumi.Input[str] subnet: Optional. The name of the subnet that this VM instance is in.
747
731
  """
748
- if access_configs is not None:
749
- pulumi.set(__self__, "access_configs", access_configs)
750
732
  if network is not None:
751
733
  pulumi.set(__self__, "network", network)
752
734
  if nic_type is not None:
@@ -754,22 +736,6 @@ class InstanceGceSetupNetworkInterfaceArgs:
754
736
  if subnet is not None:
755
737
  pulumi.set(__self__, "subnet", subnet)
756
738
 
757
- @property
758
- @pulumi.getter(name="accessConfigs")
759
- def access_configs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGceSetupNetworkInterfaceAccessConfigArgs']]]]:
760
- """
761
- Optional. An array of configurations for this interface. Currently, only one access
762
- config, ONE_TO_ONE_NAT, is supported. If no accessConfigs specified, the
763
- instance will have an external internet access through an ephemeral
764
- external IP address.
765
- Structure is documented below.
766
- """
767
- return pulumi.get(self, "access_configs")
768
-
769
- @access_configs.setter
770
- def access_configs(self, value: Optional[pulumi.Input[Sequence[pulumi.Input['InstanceGceSetupNetworkInterfaceAccessConfigArgs']]]]):
771
- pulumi.set(self, "access_configs", value)
772
-
773
739
  @property
774
740
  @pulumi.getter
775
741
  def network(self) -> Optional[pulumi.Input[str]]:
@@ -809,49 +775,6 @@ class InstanceGceSetupNetworkInterfaceArgs:
809
775
  pulumi.set(self, "subnet", value)
810
776
 
811
777
 
812
- if not MYPY:
813
- class InstanceGceSetupNetworkInterfaceAccessConfigArgsDict(TypedDict):
814
- external_ip: pulumi.Input[str]
815
- """
816
- An external IP address associated with this instance. Specify an unused
817
- static external IP address available to the project or leave this field
818
- undefined to use an IP from a shared ephemeral IP address pool. If you
819
- specify a static external IP address, it must live in the same region as
820
- the zone of the instance.
821
- """
822
- elif False:
823
- InstanceGceSetupNetworkInterfaceAccessConfigArgsDict: TypeAlias = Mapping[str, Any]
824
-
825
- @pulumi.input_type
826
- class InstanceGceSetupNetworkInterfaceAccessConfigArgs:
827
- def __init__(__self__, *,
828
- external_ip: pulumi.Input[str]):
829
- """
830
- :param pulumi.Input[str] external_ip: An external IP address associated with this instance. Specify an unused
831
- static external IP address available to the project or leave this field
832
- undefined to use an IP from a shared ephemeral IP address pool. If you
833
- specify a static external IP address, it must live in the same region as
834
- the zone of the instance.
835
- """
836
- pulumi.set(__self__, "external_ip", external_ip)
837
-
838
- @property
839
- @pulumi.getter(name="externalIp")
840
- def external_ip(self) -> pulumi.Input[str]:
841
- """
842
- An external IP address associated with this instance. Specify an unused
843
- static external IP address available to the project or leave this field
844
- undefined to use an IP from a shared ephemeral IP address pool. If you
845
- specify a static external IP address, it must live in the same region as
846
- the zone of the instance.
847
- """
848
- return pulumi.get(self, "external_ip")
849
-
850
- @external_ip.setter
851
- def external_ip(self, value: pulumi.Input[str]):
852
- pulumi.set(self, "external_ip", value)
853
-
854
-
855
778
  if not MYPY:
856
779
  class InstanceGceSetupServiceAccountArgsDict(TypedDict):
857
780
  email: NotRequired[pulumi.Input[str]]
@@ -629,6 +629,7 @@ class Instance(pulumi.CustomResource):
629
629
  "terraform": "true",
630
630
  },
631
631
  },
632
+ instance_owners=["my@service-account.com"],
632
633
  labels={
633
634
  "k": "val",
634
635
  },
@@ -648,11 +649,6 @@ class Instance(pulumi.CustomResource):
648
649
  network=my_network.id,
649
650
  region="us-central1",
650
651
  ip_cidr_range="10.0.1.0/24")
651
- static = gcp.compute.Address("static", name="wbi-test-default")
652
- act_as_permission = gcp.serviceaccount.IAMBinding("act_as_permission",
653
- service_account_id="projects/my-project-name/serviceAccounts/my@service-account.com",
654
- role="roles/iam.serviceAccountUser",
655
- members=["user:example@example.com"])
656
652
  instance = gcp.workbench.Instance("instance",
657
653
  name="workbench-instance",
658
654
  location="us-central1-a",
@@ -687,9 +683,6 @@ class Instance(pulumi.CustomResource):
687
683
  "network": my_network.id,
688
684
  "subnet": my_subnetwork.id,
689
685
  "nic_type": "GVNIC",
690
- "access_configs": [{
691
- "external_ip": static.address,
692
- }],
693
686
  }],
694
687
  "metadata": {
695
688
  "terraform": "true",
@@ -701,7 +694,7 @@ class Instance(pulumi.CustomResource):
701
694
  ],
702
695
  },
703
696
  disable_proxy_access=True,
704
- instance_owners=["example@example.com"],
697
+ instance_owners=["my@service-account.com"],
705
698
  labels={
706
699
  "k": "val",
707
700
  },
@@ -836,6 +829,7 @@ class Instance(pulumi.CustomResource):
836
829
  "terraform": "true",
837
830
  },
838
831
  },
832
+ instance_owners=["my@service-account.com"],
839
833
  labels={
840
834
  "k": "val",
841
835
  },
@@ -855,11 +849,6 @@ class Instance(pulumi.CustomResource):
855
849
  network=my_network.id,
856
850
  region="us-central1",
857
851
  ip_cidr_range="10.0.1.0/24")
858
- static = gcp.compute.Address("static", name="wbi-test-default")
859
- act_as_permission = gcp.serviceaccount.IAMBinding("act_as_permission",
860
- service_account_id="projects/my-project-name/serviceAccounts/my@service-account.com",
861
- role="roles/iam.serviceAccountUser",
862
- members=["user:example@example.com"])
863
852
  instance = gcp.workbench.Instance("instance",
864
853
  name="workbench-instance",
865
854
  location="us-central1-a",
@@ -894,9 +883,6 @@ class Instance(pulumi.CustomResource):
894
883
  "network": my_network.id,
895
884
  "subnet": my_subnetwork.id,
896
885
  "nic_type": "GVNIC",
897
- "access_configs": [{
898
- "external_ip": static.address,
899
- }],
900
886
  }],
901
887
  "metadata": {
902
888
  "terraform": "true",
@@ -908,7 +894,7 @@ class Instance(pulumi.CustomResource):
908
894
  ],
909
895
  },
910
896
  disable_proxy_access=True,
911
- instance_owners=["example@example.com"],
897
+ instance_owners=["my@service-account.com"],
912
898
  labels={
913
899
  "k": "val",
914
900
  },