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
@@ -35,24 +35,19 @@ class SpokeArgs:
35
35
  The set of arguments for constructing a Spoke resource.
36
36
  :param pulumi.Input[str] hub: Immutable. The URI of the hub that this spoke is attached to.
37
37
  :param pulumi.Input[str] location: The location for the resource
38
-
39
-
40
- - - -
41
38
  :param pulumi.Input[str] description: An optional description of the spoke.
42
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
43
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
44
- Please refer to the field `effective_labels` for all of the labels present on the resource.
45
- :param pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs'] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
46
- Structure is documented below.
39
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for
40
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
41
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
42
+ `effective_labels` for all of the labels present on the resource.
43
+ :param pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs'] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
44
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
45
+ advertising the same prefixes.
47
46
  :param pulumi.Input['SpokeLinkedRouterApplianceInstancesArgs'] linked_router_appliance_instances: The URIs of linked Router appliance resources
48
- Structure is documented below.
49
47
  :param pulumi.Input['SpokeLinkedVpcNetworkArgs'] linked_vpc_network: VPC network that is associated with the spoke.
50
- Structure is documented below.
51
48
  :param pulumi.Input['SpokeLinkedVpnTunnelsArgs'] linked_vpn_tunnels: The URIs of linked VPN tunnel resources
52
- Structure is documented below.
53
49
  :param pulumi.Input[str] name: Immutable. The name of the spoke. Spoke names must be unique.
54
- :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
55
- If it is not provided, the provider project is used.
50
+ :param pulumi.Input[str] project: The project for the resource
56
51
  """
57
52
  pulumi.set(__self__, "hub", hub)
58
53
  pulumi.set(__self__, "location", location)
@@ -90,9 +85,6 @@ class SpokeArgs:
90
85
  def location(self) -> pulumi.Input[str]:
91
86
  """
92
87
  The location for the resource
93
-
94
-
95
- - - -
96
88
  """
97
89
  return pulumi.get(self, "location")
98
90
 
@@ -116,9 +108,10 @@ class SpokeArgs:
116
108
  @pulumi.getter
117
109
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
118
110
  """
119
- Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
120
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
121
- Please refer to the field `effective_labels` for all of the labels present on the resource.
111
+ Optional labels in key:value format. For more information about labels, see [Requirements for
112
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
113
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
114
+ `effective_labels` for all of the labels present on the resource.
122
115
  """
123
116
  return pulumi.get(self, "labels")
124
117
 
@@ -130,8 +123,9 @@ class SpokeArgs:
130
123
  @pulumi.getter(name="linkedInterconnectAttachments")
131
124
  def linked_interconnect_attachments(self) -> Optional[pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs']]:
132
125
  """
133
- A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
134
- Structure is documented below.
126
+ A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
127
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
128
+ advertising the same prefixes.
135
129
  """
136
130
  return pulumi.get(self, "linked_interconnect_attachments")
137
131
 
@@ -144,7 +138,6 @@ class SpokeArgs:
144
138
  def linked_router_appliance_instances(self) -> Optional[pulumi.Input['SpokeLinkedRouterApplianceInstancesArgs']]:
145
139
  """
146
140
  The URIs of linked Router appliance resources
147
- Structure is documented below.
148
141
  """
149
142
  return pulumi.get(self, "linked_router_appliance_instances")
150
143
 
@@ -157,7 +150,6 @@ class SpokeArgs:
157
150
  def linked_vpc_network(self) -> Optional[pulumi.Input['SpokeLinkedVpcNetworkArgs']]:
158
151
  """
159
152
  VPC network that is associated with the spoke.
160
- Structure is documented below.
161
153
  """
162
154
  return pulumi.get(self, "linked_vpc_network")
163
155
 
@@ -170,7 +162,6 @@ class SpokeArgs:
170
162
  def linked_vpn_tunnels(self) -> Optional[pulumi.Input['SpokeLinkedVpnTunnelsArgs']]:
171
163
  """
172
164
  The URIs of linked VPN tunnel resources
173
- Structure is documented below.
174
165
  """
175
166
  return pulumi.get(self, "linked_vpn_tunnels")
176
167
 
@@ -194,8 +185,7 @@ class SpokeArgs:
194
185
  @pulumi.getter
195
186
  def project(self) -> Optional[pulumi.Input[str]]:
196
187
  """
197
- The ID of the project in which the resource belongs.
198
- If it is not provided, the provider project is used.
188
+ The project for the resource
199
189
  """
200
190
  return pulumi.get(self, "project")
201
191
 
@@ -209,7 +199,7 @@ class _SpokeState:
209
199
  def __init__(__self__, *,
210
200
  create_time: Optional[pulumi.Input[str]] = None,
211
201
  description: Optional[pulumi.Input[str]] = None,
212
- effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
202
+ effective_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
213
203
  hub: Optional[pulumi.Input[str]] = None,
214
204
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
215
205
  linked_interconnect_attachments: Optional[pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs']] = None,
@@ -219,7 +209,7 @@ class _SpokeState:
219
209
  location: Optional[pulumi.Input[str]] = None,
220
210
  name: Optional[pulumi.Input[str]] = None,
221
211
  project: Optional[pulumi.Input[str]] = None,
222
- pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
212
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
223
213
  state: Optional[pulumi.Input[str]] = None,
224
214
  unique_id: Optional[pulumi.Input[str]] = None,
225
215
  update_time: Optional[pulumi.Input[str]] = None):
@@ -227,29 +217,23 @@ class _SpokeState:
227
217
  Input properties used for looking up and filtering Spoke resources.
228
218
  :param pulumi.Input[str] create_time: Output only. The time the spoke was created.
229
219
  :param pulumi.Input[str] description: An optional description of the spoke.
230
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
220
+ :param pulumi.Input[Mapping[str, Any]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
231
221
  :param pulumi.Input[str] hub: Immutable. The URI of the hub that this spoke is attached to.
232
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
233
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
234
- Please refer to the field `effective_labels` for all of the labels present on the resource.
235
- :param pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs'] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
236
- Structure is documented below.
222
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for
223
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
224
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
225
+ `effective_labels` for all of the labels present on the resource.
226
+ :param pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs'] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
227
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
228
+ advertising the same prefixes.
237
229
  :param pulumi.Input['SpokeLinkedRouterApplianceInstancesArgs'] linked_router_appliance_instances: The URIs of linked Router appliance resources
238
- Structure is documented below.
239
230
  :param pulumi.Input['SpokeLinkedVpcNetworkArgs'] linked_vpc_network: VPC network that is associated with the spoke.
240
- Structure is documented below.
241
231
  :param pulumi.Input['SpokeLinkedVpnTunnelsArgs'] linked_vpn_tunnels: The URIs of linked VPN tunnel resources
242
- Structure is documented below.
243
232
  :param pulumi.Input[str] location: The location for the resource
244
-
245
-
246
- - - -
247
233
  :param pulumi.Input[str] name: Immutable. The name of the spoke. Spoke names must be unique.
248
- :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
249
- If it is not provided, the provider project is used.
250
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
251
- and default labels configured on the provider.
252
- :param pulumi.Input[str] state: Output only. The current lifecycle state of this spoke.
234
+ :param pulumi.Input[str] project: The project for the resource
235
+ :param pulumi.Input[Mapping[str, Any]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
236
+ :param pulumi.Input[str] state: Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
253
237
  :param pulumi.Input[str] unique_id: Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
254
238
  :param pulumi.Input[str] update_time: Output only. The time the spoke was last updated.
255
239
  """
@@ -312,14 +296,14 @@ class _SpokeState:
312
296
 
313
297
  @property
314
298
  @pulumi.getter(name="effectiveLabels")
315
- def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
299
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
316
300
  """
317
301
  All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
318
302
  """
319
303
  return pulumi.get(self, "effective_labels")
320
304
 
321
305
  @effective_labels.setter
322
- def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
306
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
323
307
  pulumi.set(self, "effective_labels", value)
324
308
 
325
309
  @property
@@ -338,9 +322,10 @@ class _SpokeState:
338
322
  @pulumi.getter
339
323
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
340
324
  """
341
- Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
342
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
343
- Please refer to the field `effective_labels` for all of the labels present on the resource.
325
+ Optional labels in key:value format. For more information about labels, see [Requirements for
326
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
327
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
328
+ `effective_labels` for all of the labels present on the resource.
344
329
  """
345
330
  return pulumi.get(self, "labels")
346
331
 
@@ -352,8 +337,9 @@ class _SpokeState:
352
337
  @pulumi.getter(name="linkedInterconnectAttachments")
353
338
  def linked_interconnect_attachments(self) -> Optional[pulumi.Input['SpokeLinkedInterconnectAttachmentsArgs']]:
354
339
  """
355
- A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
356
- Structure is documented below.
340
+ A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
341
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
342
+ advertising the same prefixes.
357
343
  """
358
344
  return pulumi.get(self, "linked_interconnect_attachments")
359
345
 
@@ -366,7 +352,6 @@ class _SpokeState:
366
352
  def linked_router_appliance_instances(self) -> Optional[pulumi.Input['SpokeLinkedRouterApplianceInstancesArgs']]:
367
353
  """
368
354
  The URIs of linked Router appliance resources
369
- Structure is documented below.
370
355
  """
371
356
  return pulumi.get(self, "linked_router_appliance_instances")
372
357
 
@@ -379,7 +364,6 @@ class _SpokeState:
379
364
  def linked_vpc_network(self) -> Optional[pulumi.Input['SpokeLinkedVpcNetworkArgs']]:
380
365
  """
381
366
  VPC network that is associated with the spoke.
382
- Structure is documented below.
383
367
  """
384
368
  return pulumi.get(self, "linked_vpc_network")
385
369
 
@@ -392,7 +376,6 @@ class _SpokeState:
392
376
  def linked_vpn_tunnels(self) -> Optional[pulumi.Input['SpokeLinkedVpnTunnelsArgs']]:
393
377
  """
394
378
  The URIs of linked VPN tunnel resources
395
- Structure is documented below.
396
379
  """
397
380
  return pulumi.get(self, "linked_vpn_tunnels")
398
381
 
@@ -405,9 +388,6 @@ class _SpokeState:
405
388
  def location(self) -> Optional[pulumi.Input[str]]:
406
389
  """
407
390
  The location for the resource
408
-
409
-
410
- - - -
411
391
  """
412
392
  return pulumi.get(self, "location")
413
393
 
@@ -431,8 +411,7 @@ class _SpokeState:
431
411
  @pulumi.getter
432
412
  def project(self) -> Optional[pulumi.Input[str]]:
433
413
  """
434
- The ID of the project in which the resource belongs.
435
- If it is not provided, the provider project is used.
414
+ The project for the resource
436
415
  """
437
416
  return pulumi.get(self, "project")
438
417
 
@@ -442,22 +421,21 @@ class _SpokeState:
442
421
 
443
422
  @property
444
423
  @pulumi.getter(name="pulumiLabels")
445
- def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
424
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
446
425
  """
447
- The combination of labels configured directly on the resource
448
- and default labels configured on the provider.
426
+ The combination of labels configured directly on the resource and default labels configured on the provider.
449
427
  """
450
428
  return pulumi.get(self, "pulumi_labels")
451
429
 
452
430
  @pulumi_labels.setter
453
- def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
431
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
454
432
  pulumi.set(self, "pulumi_labels", value)
455
433
 
456
434
  @property
457
435
  @pulumi.getter
458
436
  def state(self) -> Optional[pulumi.Input[str]]:
459
437
  """
460
- Output only. The current lifecycle state of this spoke.
438
+ Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
461
439
  """
462
440
  return pulumi.get(self, "state")
463
441
 
@@ -509,33 +487,26 @@ class Spoke(pulumi.CustomResource):
509
487
  """
510
488
  The NetworkConnectivity Spoke resource
511
489
 
512
- To get more information about Spoke, see:
513
-
514
- * [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.spokes)
515
- * How-to Guides
516
- * [Official Documentation](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview)
517
-
518
490
  ## Example Usage
519
491
 
520
- ### Network Connectivity Spoke Linked Vpc Network Basic
521
-
492
+ ### Linked_vpc_network
522
493
  ```python
523
494
  import pulumi
524
495
  import pulumi_gcp as gcp
525
496
 
526
497
  network = gcp.compute.Network("network",
527
- name="net",
498
+ name="network",
528
499
  auto_create_subnetworks=False)
529
500
  basic_hub = gcp.networkconnectivity.Hub("basic_hub",
530
- name="hub1",
501
+ name="hub",
531
502
  description="A sample hub",
532
503
  labels={
533
504
  "label-two": "value-one",
534
505
  })
535
506
  primary = gcp.networkconnectivity.Spoke("primary",
536
- name="spoke1",
507
+ name="name",
537
508
  location="global",
538
- description="A sample spoke with a linked router appliance instance",
509
+ description="A sample spoke with a linked routher appliance instance",
539
510
  labels={
540
511
  "label-one": "value-one",
541
512
  },
@@ -548,25 +519,24 @@ class Spoke(pulumi.CustomResource):
548
519
  "uri": network.self_link,
549
520
  })
550
521
  ```
551
- ### Network Connectivity Spoke Router Appliance Basic
552
-
522
+ ### Router_appliance
553
523
  ```python
554
524
  import pulumi
555
525
  import pulumi_gcp as gcp
556
526
 
557
527
  network = gcp.compute.Network("network",
558
- name="tf-test-network_2067",
528
+ name="network",
559
529
  auto_create_subnetworks=False)
560
530
  subnetwork = gcp.compute.Subnetwork("subnetwork",
561
- name="tf-test-subnet_40785",
531
+ name="subnet",
562
532
  ip_cidr_range="10.0.0.0/28",
563
- region="us-central1",
533
+ region="us-west1",
564
534
  network=network.self_link)
565
535
  instance = gcp.compute.Instance("instance",
566
- name="tf-test-instance_79169",
536
+ name="instance",
567
537
  machine_type="e2-medium",
568
538
  can_ip_forward=True,
569
- zone="us-central1-a",
539
+ zone="us-west1-a",
570
540
  boot_disk={
571
541
  "initialize_params": {
572
542
  "image": "projects/debian-cloud/global/images/debian-10-buster-v20210817",
@@ -580,14 +550,14 @@ class Spoke(pulumi.CustomResource):
580
550
  }],
581
551
  }])
582
552
  basic_hub = gcp.networkconnectivity.Hub("basic_hub",
583
- name="tf-test-hub_56529",
553
+ name="hub",
584
554
  description="A sample hub",
585
555
  labels={
586
556
  "label-two": "value-one",
587
557
  })
588
558
  primary = gcp.networkconnectivity.Spoke("primary",
589
- name="tf-test-name_75413",
590
- location="us-central1",
559
+ name="name",
560
+ location="us-west1",
591
561
  description="A sample spoke with a linked routher appliance instance",
592
562
  labels={
593
563
  "label-one": "value-one",
@@ -630,24 +600,19 @@ class Spoke(pulumi.CustomResource):
630
600
  :param pulumi.ResourceOptions opts: Options for the resource.
631
601
  :param pulumi.Input[str] description: An optional description of the spoke.
632
602
  :param pulumi.Input[str] hub: Immutable. The URI of the hub that this spoke is attached to.
633
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
634
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
635
- Please refer to the field `effective_labels` for all of the labels present on the resource.
636
- :param pulumi.Input[Union['SpokeLinkedInterconnectAttachmentsArgs', 'SpokeLinkedInterconnectAttachmentsArgsDict']] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
637
- Structure is documented below.
603
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for
604
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
605
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
606
+ `effective_labels` for all of the labels present on the resource.
607
+ :param pulumi.Input[Union['SpokeLinkedInterconnectAttachmentsArgs', 'SpokeLinkedInterconnectAttachmentsArgsDict']] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
608
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
609
+ advertising the same prefixes.
638
610
  :param pulumi.Input[Union['SpokeLinkedRouterApplianceInstancesArgs', 'SpokeLinkedRouterApplianceInstancesArgsDict']] linked_router_appliance_instances: The URIs of linked Router appliance resources
639
- Structure is documented below.
640
611
  :param pulumi.Input[Union['SpokeLinkedVpcNetworkArgs', 'SpokeLinkedVpcNetworkArgsDict']] linked_vpc_network: VPC network that is associated with the spoke.
641
- Structure is documented below.
642
612
  :param pulumi.Input[Union['SpokeLinkedVpnTunnelsArgs', 'SpokeLinkedVpnTunnelsArgsDict']] linked_vpn_tunnels: The URIs of linked VPN tunnel resources
643
- Structure is documented below.
644
613
  :param pulumi.Input[str] location: The location for the resource
645
-
646
-
647
- - - -
648
614
  :param pulumi.Input[str] name: Immutable. The name of the spoke. Spoke names must be unique.
649
- :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
650
- If it is not provided, the provider project is used.
615
+ :param pulumi.Input[str] project: The project for the resource
651
616
  """
652
617
  ...
653
618
  @overload
@@ -658,33 +623,26 @@ class Spoke(pulumi.CustomResource):
658
623
  """
659
624
  The NetworkConnectivity Spoke resource
660
625
 
661
- To get more information about Spoke, see:
662
-
663
- * [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.spokes)
664
- * How-to Guides
665
- * [Official Documentation](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview)
666
-
667
626
  ## Example Usage
668
627
 
669
- ### Network Connectivity Spoke Linked Vpc Network Basic
670
-
628
+ ### Linked_vpc_network
671
629
  ```python
672
630
  import pulumi
673
631
  import pulumi_gcp as gcp
674
632
 
675
633
  network = gcp.compute.Network("network",
676
- name="net",
634
+ name="network",
677
635
  auto_create_subnetworks=False)
678
636
  basic_hub = gcp.networkconnectivity.Hub("basic_hub",
679
- name="hub1",
637
+ name="hub",
680
638
  description="A sample hub",
681
639
  labels={
682
640
  "label-two": "value-one",
683
641
  })
684
642
  primary = gcp.networkconnectivity.Spoke("primary",
685
- name="spoke1",
643
+ name="name",
686
644
  location="global",
687
- description="A sample spoke with a linked router appliance instance",
645
+ description="A sample spoke with a linked routher appliance instance",
688
646
  labels={
689
647
  "label-one": "value-one",
690
648
  },
@@ -697,25 +655,24 @@ class Spoke(pulumi.CustomResource):
697
655
  "uri": network.self_link,
698
656
  })
699
657
  ```
700
- ### Network Connectivity Spoke Router Appliance Basic
701
-
658
+ ### Router_appliance
702
659
  ```python
703
660
  import pulumi
704
661
  import pulumi_gcp as gcp
705
662
 
706
663
  network = gcp.compute.Network("network",
707
- name="tf-test-network_2067",
664
+ name="network",
708
665
  auto_create_subnetworks=False)
709
666
  subnetwork = gcp.compute.Subnetwork("subnetwork",
710
- name="tf-test-subnet_40785",
667
+ name="subnet",
711
668
  ip_cidr_range="10.0.0.0/28",
712
- region="us-central1",
669
+ region="us-west1",
713
670
  network=network.self_link)
714
671
  instance = gcp.compute.Instance("instance",
715
- name="tf-test-instance_79169",
672
+ name="instance",
716
673
  machine_type="e2-medium",
717
674
  can_ip_forward=True,
718
- zone="us-central1-a",
675
+ zone="us-west1-a",
719
676
  boot_disk={
720
677
  "initialize_params": {
721
678
  "image": "projects/debian-cloud/global/images/debian-10-buster-v20210817",
@@ -729,14 +686,14 @@ class Spoke(pulumi.CustomResource):
729
686
  }],
730
687
  }])
731
688
  basic_hub = gcp.networkconnectivity.Hub("basic_hub",
732
- name="tf-test-hub_56529",
689
+ name="hub",
733
690
  description="A sample hub",
734
691
  labels={
735
692
  "label-two": "value-one",
736
693
  })
737
694
  primary = gcp.networkconnectivity.Spoke("primary",
738
- name="tf-test-name_75413",
739
- location="us-central1",
695
+ name="name",
696
+ location="us-west1",
740
697
  description="A sample spoke with a linked routher appliance instance",
741
698
  labels={
742
699
  "label-one": "value-one",
@@ -843,7 +800,7 @@ class Spoke(pulumi.CustomResource):
843
800
  opts: Optional[pulumi.ResourceOptions] = None,
844
801
  create_time: Optional[pulumi.Input[str]] = None,
845
802
  description: Optional[pulumi.Input[str]] = None,
846
- effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
803
+ effective_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
847
804
  hub: Optional[pulumi.Input[str]] = None,
848
805
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
849
806
  linked_interconnect_attachments: Optional[pulumi.Input[Union['SpokeLinkedInterconnectAttachmentsArgs', 'SpokeLinkedInterconnectAttachmentsArgsDict']]] = None,
@@ -853,7 +810,7 @@ class Spoke(pulumi.CustomResource):
853
810
  location: Optional[pulumi.Input[str]] = None,
854
811
  name: Optional[pulumi.Input[str]] = None,
855
812
  project: Optional[pulumi.Input[str]] = None,
856
- pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
813
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
857
814
  state: Optional[pulumi.Input[str]] = None,
858
815
  unique_id: Optional[pulumi.Input[str]] = None,
859
816
  update_time: Optional[pulumi.Input[str]] = None) -> 'Spoke':
@@ -866,29 +823,23 @@ class Spoke(pulumi.CustomResource):
866
823
  :param pulumi.ResourceOptions opts: Options for the resource.
867
824
  :param pulumi.Input[str] create_time: Output only. The time the spoke was created.
868
825
  :param pulumi.Input[str] description: An optional description of the spoke.
869
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
826
+ :param pulumi.Input[Mapping[str, Any]] effective_labels: All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
870
827
  :param pulumi.Input[str] hub: Immutable. The URI of the hub that this spoke is attached to.
871
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
872
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
873
- Please refer to the field `effective_labels` for all of the labels present on the resource.
874
- :param pulumi.Input[Union['SpokeLinkedInterconnectAttachmentsArgs', 'SpokeLinkedInterconnectAttachmentsArgsDict']] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
875
- Structure is documented below.
828
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional labels in key:value format. For more information about labels, see [Requirements for
829
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
830
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
831
+ `effective_labels` for all of the labels present on the resource.
832
+ :param pulumi.Input[Union['SpokeLinkedInterconnectAttachmentsArgs', 'SpokeLinkedInterconnectAttachmentsArgsDict']] linked_interconnect_attachments: A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
833
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
834
+ advertising the same prefixes.
876
835
  :param pulumi.Input[Union['SpokeLinkedRouterApplianceInstancesArgs', 'SpokeLinkedRouterApplianceInstancesArgsDict']] linked_router_appliance_instances: The URIs of linked Router appliance resources
877
- Structure is documented below.
878
836
  :param pulumi.Input[Union['SpokeLinkedVpcNetworkArgs', 'SpokeLinkedVpcNetworkArgsDict']] linked_vpc_network: VPC network that is associated with the spoke.
879
- Structure is documented below.
880
837
  :param pulumi.Input[Union['SpokeLinkedVpnTunnelsArgs', 'SpokeLinkedVpnTunnelsArgsDict']] linked_vpn_tunnels: The URIs of linked VPN tunnel resources
881
- Structure is documented below.
882
838
  :param pulumi.Input[str] location: The location for the resource
883
-
884
-
885
- - - -
886
839
  :param pulumi.Input[str] name: Immutable. The name of the spoke. Spoke names must be unique.
887
- :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
888
- If it is not provided, the provider project is used.
889
- :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
890
- and default labels configured on the provider.
891
- :param pulumi.Input[str] state: Output only. The current lifecycle state of this spoke.
840
+ :param pulumi.Input[str] project: The project for the resource
841
+ :param pulumi.Input[Mapping[str, Any]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
842
+ :param pulumi.Input[str] state: Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
892
843
  :param pulumi.Input[str] unique_id: Output only. The Google-generated UUID for the spoke. This value is unique across all spoke resources. If a spoke is deleted and another with the same name is created, the new spoke is assigned a different unique_id.
893
844
  :param pulumi.Input[str] update_time: Output only. The time the spoke was last updated.
894
845
  """
@@ -932,7 +883,7 @@ class Spoke(pulumi.CustomResource):
932
883
 
933
884
  @property
934
885
  @pulumi.getter(name="effectiveLabels")
935
- def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
886
+ def effective_labels(self) -> pulumi.Output[Mapping[str, Any]]:
936
887
  """
937
888
  All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
938
889
  """
@@ -950,9 +901,10 @@ class Spoke(pulumi.CustomResource):
950
901
  @pulumi.getter
951
902
  def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
952
903
  """
953
- Optional labels in key:value format. For more information about labels, see [Requirements for labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements).
954
- **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
955
- Please refer to the field `effective_labels` for all of the labels present on the resource.
904
+ Optional labels in key:value format. For more information about labels, see [Requirements for
905
+ labels](https://cloud.google.com/resource-manager/docs/creating-managing-labels#requirements). **Note**: This field is
906
+ non-authoritative, and will only manage the labels present in your configuration. Please refer to the field
907
+ `effective_labels` for all of the labels present on the resource.
956
908
  """
957
909
  return pulumi.get(self, "labels")
958
910
 
@@ -960,8 +912,9 @@ class Spoke(pulumi.CustomResource):
960
912
  @pulumi.getter(name="linkedInterconnectAttachments")
961
913
  def linked_interconnect_attachments(self) -> pulumi.Output[Optional['outputs.SpokeLinkedInterconnectAttachments']]:
962
914
  """
963
- A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of advertising the same prefixes.
964
- Structure is documented below.
915
+ A collection of VLAN attachment resources. These resources should be redundant attachments that all advertise the same
916
+ prefixes to Google Cloud. Alternatively, in active/passive configurations, all attachments should be capable of
917
+ advertising the same prefixes.
965
918
  """
966
919
  return pulumi.get(self, "linked_interconnect_attachments")
967
920
 
@@ -970,7 +923,6 @@ class Spoke(pulumi.CustomResource):
970
923
  def linked_router_appliance_instances(self) -> pulumi.Output[Optional['outputs.SpokeLinkedRouterApplianceInstances']]:
971
924
  """
972
925
  The URIs of linked Router appliance resources
973
- Structure is documented below.
974
926
  """
975
927
  return pulumi.get(self, "linked_router_appliance_instances")
976
928
 
@@ -979,7 +931,6 @@ class Spoke(pulumi.CustomResource):
979
931
  def linked_vpc_network(self) -> pulumi.Output[Optional['outputs.SpokeLinkedVpcNetwork']]:
980
932
  """
981
933
  VPC network that is associated with the spoke.
982
- Structure is documented below.
983
934
  """
984
935
  return pulumi.get(self, "linked_vpc_network")
985
936
 
@@ -988,7 +939,6 @@ class Spoke(pulumi.CustomResource):
988
939
  def linked_vpn_tunnels(self) -> pulumi.Output[Optional['outputs.SpokeLinkedVpnTunnels']]:
989
940
  """
990
941
  The URIs of linked VPN tunnel resources
991
- Structure is documented below.
992
942
  """
993
943
  return pulumi.get(self, "linked_vpn_tunnels")
994
944
 
@@ -997,9 +947,6 @@ class Spoke(pulumi.CustomResource):
997
947
  def location(self) -> pulumi.Output[str]:
998
948
  """
999
949
  The location for the resource
1000
-
1001
-
1002
- - - -
1003
950
  """
1004
951
  return pulumi.get(self, "location")
1005
952
 
@@ -1015,17 +962,15 @@ class Spoke(pulumi.CustomResource):
1015
962
  @pulumi.getter
1016
963
  def project(self) -> pulumi.Output[str]:
1017
964
  """
1018
- The ID of the project in which the resource belongs.
1019
- If it is not provided, the provider project is used.
965
+ The project for the resource
1020
966
  """
1021
967
  return pulumi.get(self, "project")
1022
968
 
1023
969
  @property
1024
970
  @pulumi.getter(name="pulumiLabels")
1025
- def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
971
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, Any]]:
1026
972
  """
1027
- The combination of labels configured directly on the resource
1028
- and default labels configured on the provider.
973
+ The combination of labels configured directly on the resource and default labels configured on the provider.
1029
974
  """
1030
975
  return pulumi.get(self, "pulumi_labels")
1031
976
 
@@ -1033,7 +978,7 @@ class Spoke(pulumi.CustomResource):
1033
978
  @pulumi.getter
1034
979
  def state(self) -> pulumi.Output[str]:
1035
980
  """
1036
- Output only. The current lifecycle state of this spoke.
981
+ Output only. The current lifecycle state of this spoke. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
1037
982
  """
1038
983
  return pulumi.get(self, "state")
1039
984