pulumi-gcp 7.33.0a1721974181__py3-none-any.whl → 7.34.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

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 +40 -0
  2. pulumi_gcp/alloydb/_inputs.py +174 -0
  3. pulumi_gcp/alloydb/instance.py +54 -0
  4. pulumi_gcp/alloydb/outputs.py +133 -0
  5. pulumi_gcp/apigee/__init__.py +2 -0
  6. pulumi_gcp/apigee/environment_keyvaluemaps.py +370 -0
  7. pulumi_gcp/apigee/environment_keyvaluemaps_entries.py +440 -0
  8. pulumi_gcp/apigee/instance.py +2 -2
  9. pulumi_gcp/apigee/nat_address.py +2 -2
  10. pulumi_gcp/apigee/organization.py +4 -4
  11. pulumi_gcp/apphub/service_project_attachment.py +11 -11
  12. pulumi_gcp/bigquery/_inputs.py +36 -0
  13. pulumi_gcp/bigquery/app_profile.py +54 -0
  14. pulumi_gcp/bigquery/outputs.py +38 -0
  15. pulumi_gcp/bigquery/reservation.py +34 -4
  16. pulumi_gcp/bigquery/table.py +65 -21
  17. pulumi_gcp/bigtable/table.py +27 -26
  18. pulumi_gcp/certificateauthority/authority.py +4 -4
  19. pulumi_gcp/cloudfunctions/function.py +47 -0
  20. pulumi_gcp/cloudfunctions/get_function.py +11 -1
  21. pulumi_gcp/cloudfunctionsv2/function.py +2 -2
  22. pulumi_gcp/cloudrun/_inputs.py +24 -21
  23. pulumi_gcp/cloudrun/outputs.py +20 -24
  24. pulumi_gcp/cloudrunv2/_inputs.py +3 -0
  25. pulumi_gcp/cloudrunv2/outputs.py +4 -0
  26. pulumi_gcp/compute/__init__.py +2 -0
  27. pulumi_gcp/compute/_inputs.py +2334 -329
  28. pulumi_gcp/compute/backend_service.py +6 -0
  29. pulumi_gcp/compute/outputs.py +1466 -7
  30. pulumi_gcp/compute/public_advertised_prefix.py +30 -2
  31. pulumi_gcp/compute/resize_request.py +782 -0
  32. pulumi_gcp/compute/router_peer.py +437 -0
  33. pulumi_gcp/compute/router_route_policy.py +616 -0
  34. pulumi_gcp/compute/service_attachment.py +7 -14
  35. pulumi_gcp/container/_inputs.py +215 -18
  36. pulumi_gcp/container/node_pool.py +0 -14
  37. pulumi_gcp/container/outputs.py +226 -12
  38. pulumi_gcp/databasemigrationservice/private_connection.py +10 -6
  39. pulumi_gcp/dataloss/_inputs.py +707 -21
  40. pulumi_gcp/dataloss/outputs.py +588 -14
  41. pulumi_gcp/datastore/data_store_index.py +24 -12
  42. pulumi_gcp/datastream/_inputs.py +83 -3
  43. pulumi_gcp/datastream/outputs.py +51 -3
  44. pulumi_gcp/datastream/stream.py +170 -0
  45. pulumi_gcp/firebase/database_instance.py +8 -8
  46. pulumi_gcp/firebase/hosting_site.py +8 -8
  47. pulumi_gcp/firestore/index.py +10 -10
  48. pulumi_gcp/gkeonprem/_inputs.py +78 -78
  49. pulumi_gcp/gkeonprem/outputs.py +52 -52
  50. pulumi_gcp/iap/client.py +4 -4
  51. pulumi_gcp/integrationconnectors/_inputs.py +30 -30
  52. pulumi_gcp/integrationconnectors/outputs.py +20 -20
  53. pulumi_gcp/netapp/volume.py +1 -1
  54. pulumi_gcp/networkconnectivity/_inputs.py +3 -6
  55. pulumi_gcp/networkconnectivity/hub.py +60 -49
  56. pulumi_gcp/networkconnectivity/outputs.py +2 -4
  57. pulumi_gcp/networkconnectivity/spoke.py +159 -104
  58. pulumi_gcp/networksecurity/tls_inspection_policy.py +2 -2
  59. pulumi_gcp/orgpolicy/policy.py +4 -4
  60. pulumi_gcp/projects/get_project_service.py +11 -1
  61. pulumi_gcp/projects/service.py +68 -0
  62. pulumi_gcp/projects/service_identity.py +30 -2
  63. pulumi_gcp/pubsub/subscription.py +6 -6
  64. pulumi_gcp/pulumi-plugin.json +1 -1
  65. pulumi_gcp/securesourcemanager/instance.py +528 -4
  66. pulumi_gcp/securitycenter/__init__.py +1 -0
  67. pulumi_gcp/securitycenter/v2_organization_mute_config.py +673 -0
  68. pulumi_gcp/sql/database_instance.py +2 -2
  69. pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
  70. pulumi_gcp/vmwareengine/get_private_cloud.py +21 -1
  71. pulumi_gcp/vmwareengine/private_cloud.py +121 -2
  72. pulumi_gcp/workbench/_inputs.py +77 -0
  73. pulumi_gcp/workbench/instance.py +18 -4
  74. pulumi_gcp/workbench/outputs.py +67 -1
  75. {pulumi_gcp-7.33.0a1721974181.dist-info → pulumi_gcp-7.34.0.dist-info}/METADATA +1 -1
  76. {pulumi_gcp-7.33.0a1721974181.dist-info → pulumi_gcp-7.34.0.dist-info}/RECORD +78 -73
  77. {pulumi_gcp-7.33.0a1721974181.dist-info → pulumi_gcp-7.34.0.dist-info}/WHEEL +1 -1
  78. {pulumi_gcp-7.33.0a1721974181.dist-info → pulumi_gcp-7.34.0.dist-info}/top_level.txt +0 -0
@@ -782,6 +782,7 @@ if not MYPY:
782
782
  instances: pulumi.Input[Sequence[pulumi.Input['SpokeLinkedRouterApplianceInstancesInstanceArgsDict']]]
783
783
  """
784
784
  The list of router appliance instances
785
+ Structure is documented below.
785
786
  """
786
787
  site_to_site_data_transfer: pulumi.Input[bool]
787
788
  """
@@ -797,6 +798,7 @@ class SpokeLinkedRouterApplianceInstancesArgs:
797
798
  site_to_site_data_transfer: pulumi.Input[bool]):
798
799
  """
799
800
  :param pulumi.Input[Sequence[pulumi.Input['SpokeLinkedRouterApplianceInstancesInstanceArgs']]] instances: The list of router appliance instances
801
+ Structure is documented below.
800
802
  :param pulumi.Input[bool] site_to_site_data_transfer: A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
801
803
  """
802
804
  pulumi.set(__self__, "instances", instances)
@@ -807,6 +809,7 @@ class SpokeLinkedRouterApplianceInstancesArgs:
807
809
  def instances(self) -> pulumi.Input[Sequence[pulumi.Input['SpokeLinkedRouterApplianceInstancesInstanceArgs']]]:
808
810
  """
809
811
  The list of router appliance instances
812
+ Structure is documented below.
810
813
  """
811
814
  return pulumi.get(self, "instances")
812
815
 
@@ -836,8 +839,6 @@ if not MYPY:
836
839
  virtual_machine: NotRequired[pulumi.Input[str]]
837
840
  """
838
841
  The URI of the virtual machine resource
839
-
840
- - - -
841
842
  """
842
843
  elif False:
843
844
  SpokeLinkedRouterApplianceInstancesInstanceArgsDict: TypeAlias = Mapping[str, Any]
@@ -850,8 +851,6 @@ class SpokeLinkedRouterApplianceInstancesInstanceArgs:
850
851
  """
851
852
  :param pulumi.Input[str] ip_address: The IP address on the VM to use for peering.
852
853
  :param pulumi.Input[str] virtual_machine: The URI of the virtual machine resource
853
-
854
- - - -
855
854
  """
856
855
  if ip_address is not None:
857
856
  pulumi.set(__self__, "ip_address", ip_address)
@@ -875,8 +874,6 @@ class SpokeLinkedRouterApplianceInstancesInstanceArgs:
875
874
  def virtual_machine(self) -> Optional[pulumi.Input[str]]:
876
875
  """
877
876
  The URI of the virtual machine resource
878
-
879
- - - -
880
877
  """
881
878
  return pulumi.get(self, "virtual_machine")
882
879
 
@@ -29,15 +29,14 @@ class HubArgs:
29
29
  The set of arguments for constructing a Hub resource.
30
30
  :param pulumi.Input[str] description: An optional description of the hub.
31
31
  :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).
32
-
33
32
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
34
33
  Please refer to the field `effective_labels` for all of the labels present on the resource.
35
34
  :param pulumi.Input[str] name: Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
36
35
 
37
36
 
38
-
39
37
  - - -
40
- :param pulumi.Input[str] project: The project for the resource
38
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
39
+ If it is not provided, the provider project is used.
41
40
  """
42
41
  if description is not None:
43
42
  pulumi.set(__self__, "description", description)
@@ -65,7 +64,6 @@ class HubArgs:
65
64
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
66
65
  """
67
66
  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).
68
-
69
67
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
70
68
  Please refer to the field `effective_labels` for all of the labels present on the resource.
71
69
  """
@@ -82,7 +80,6 @@ class HubArgs:
82
80
  Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
83
81
 
84
82
 
85
-
86
83
  - - -
87
84
  """
88
85
  return pulumi.get(self, "name")
@@ -95,7 +92,8 @@ class HubArgs:
95
92
  @pulumi.getter
96
93
  def project(self) -> Optional[pulumi.Input[str]]:
97
94
  """
98
- The project for the resource
95
+ The ID of the project in which the resource belongs.
96
+ If it is not provided, the provider project is used.
99
97
  """
100
98
  return pulumi.get(self, "project")
101
99
 
@@ -109,11 +107,11 @@ class _HubState:
109
107
  def __init__(__self__, *,
110
108
  create_time: Optional[pulumi.Input[str]] = None,
111
109
  description: Optional[pulumi.Input[str]] = None,
112
- effective_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
110
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
113
111
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
114
112
  name: Optional[pulumi.Input[str]] = None,
115
113
  project: Optional[pulumi.Input[str]] = None,
116
- pulumi_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
114
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
117
115
  routing_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input['HubRoutingVpcArgs']]]] = None,
118
116
  state: Optional[pulumi.Input[str]] = None,
119
117
  unique_id: Optional[pulumi.Input[str]] = None,
@@ -122,20 +120,21 @@ class _HubState:
122
120
  Input properties used for looking up and filtering Hub resources.
123
121
  :param pulumi.Input[str] create_time: Output only. The time the hub was created.
124
122
  :param pulumi.Input[str] description: An optional description of the hub.
125
- :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.
123
+ :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.
126
124
  :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).
127
-
128
125
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
129
126
  Please refer to the field `effective_labels` for all of the labels present on the resource.
130
127
  :param pulumi.Input[str] name: Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
131
128
 
132
129
 
133
-
134
130
  - - -
135
- :param pulumi.Input[str] project: The project for the resource
136
- :param pulumi.Input[Mapping[str, Any]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
131
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
132
+ If it is not provided, the provider project is used.
133
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
134
+ and default labels configured on the provider.
137
135
  :param pulumi.Input[Sequence[pulumi.Input['HubRoutingVpcArgs']]] routing_vpcs: The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
138
- :param pulumi.Input[str] state: Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
136
+ Structure is documented below.
137
+ :param pulumi.Input[str] state: Output only. The current lifecycle state of this hub.
139
138
  :param pulumi.Input[str] unique_id: Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
140
139
  :param pulumi.Input[str] update_time: Output only. The time the hub was last updated.
141
140
  """
@@ -188,14 +187,14 @@ class _HubState:
188
187
 
189
188
  @property
190
189
  @pulumi.getter(name="effectiveLabels")
191
- def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
190
+ def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
192
191
  """
193
192
  All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
194
193
  """
195
194
  return pulumi.get(self, "effective_labels")
196
195
 
197
196
  @effective_labels.setter
198
- def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
197
+ def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
199
198
  pulumi.set(self, "effective_labels", value)
200
199
 
201
200
  @property
@@ -203,7 +202,6 @@ class _HubState:
203
202
  def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
204
203
  """
205
204
  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).
206
-
207
205
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
208
206
  Please refer to the field `effective_labels` for all of the labels present on the resource.
209
207
  """
@@ -220,7 +218,6 @@ class _HubState:
220
218
  Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
221
219
 
222
220
 
223
-
224
221
  - - -
225
222
  """
226
223
  return pulumi.get(self, "name")
@@ -233,7 +230,8 @@ class _HubState:
233
230
  @pulumi.getter
234
231
  def project(self) -> Optional[pulumi.Input[str]]:
235
232
  """
236
- The project for the resource
233
+ The ID of the project in which the resource belongs.
234
+ If it is not provided, the provider project is used.
237
235
  """
238
236
  return pulumi.get(self, "project")
239
237
 
@@ -243,14 +241,15 @@ class _HubState:
243
241
 
244
242
  @property
245
243
  @pulumi.getter(name="pulumiLabels")
246
- def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, Any]]]:
244
+ def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
247
245
  """
248
- The combination of labels configured directly on the resource and default labels configured on the provider.
246
+ The combination of labels configured directly on the resource
247
+ and default labels configured on the provider.
249
248
  """
250
249
  return pulumi.get(self, "pulumi_labels")
251
250
 
252
251
  @pulumi_labels.setter
253
- def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, Any]]]):
252
+ def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
254
253
  pulumi.set(self, "pulumi_labels", value)
255
254
 
256
255
  @property
@@ -258,6 +257,7 @@ class _HubState:
258
257
  def routing_vpcs(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['HubRoutingVpcArgs']]]]:
259
258
  """
260
259
  The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
260
+ Structure is documented below.
261
261
  """
262
262
  return pulumi.get(self, "routing_vpcs")
263
263
 
@@ -269,7 +269,7 @@ class _HubState:
269
269
  @pulumi.getter
270
270
  def state(self) -> Optional[pulumi.Input[str]]:
271
271
  """
272
- Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
272
+ Output only. The current lifecycle state of this hub.
273
273
  """
274
274
  return pulumi.get(self, "state")
275
275
 
@@ -315,18 +315,23 @@ class Hub(pulumi.CustomResource):
315
315
  """
316
316
  The NetworkConnectivity Hub resource
317
317
 
318
+ To get more information about Hub, see:
319
+
320
+ * [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.global.hubs)
321
+ * How-to Guides
322
+ * [Official Documentation](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview)
323
+
318
324
  ## Example Usage
319
325
 
320
- ### Basic_hub
321
- A basic test of a networkconnectivity hub
326
+ ### Network Connectivity Hub Basic
327
+
322
328
  ```python
323
329
  import pulumi
324
330
  import pulumi_gcp as gcp
325
331
 
326
332
  primary = gcp.networkconnectivity.Hub("primary",
327
- name="hub",
333
+ name="basic",
328
334
  description="A sample hub",
329
- project="my-project-name",
330
335
  labels={
331
336
  "label-one": "value-one",
332
337
  })
@@ -360,15 +365,14 @@ class Hub(pulumi.CustomResource):
360
365
  :param pulumi.ResourceOptions opts: Options for the resource.
361
366
  :param pulumi.Input[str] description: An optional description of the hub.
362
367
  :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).
363
-
364
368
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
365
369
  Please refer to the field `effective_labels` for all of the labels present on the resource.
366
370
  :param pulumi.Input[str] name: Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
367
371
 
368
372
 
369
-
370
373
  - - -
371
- :param pulumi.Input[str] project: The project for the resource
374
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
375
+ If it is not provided, the provider project is used.
372
376
  """
373
377
  ...
374
378
  @overload
@@ -379,18 +383,23 @@ class Hub(pulumi.CustomResource):
379
383
  """
380
384
  The NetworkConnectivity Hub resource
381
385
 
386
+ To get more information about Hub, see:
387
+
388
+ * [API documentation](https://cloud.google.com/network-connectivity/docs/reference/networkconnectivity/rest/v1beta/projects.locations.global.hubs)
389
+ * How-to Guides
390
+ * [Official Documentation](https://cloud.google.com/network-connectivity/docs/network-connectivity-center/concepts/overview)
391
+
382
392
  ## Example Usage
383
393
 
384
- ### Basic_hub
385
- A basic test of a networkconnectivity hub
394
+ ### Network Connectivity Hub Basic
395
+
386
396
  ```python
387
397
  import pulumi
388
398
  import pulumi_gcp as gcp
389
399
 
390
400
  primary = gcp.networkconnectivity.Hub("primary",
391
- name="hub",
401
+ name="basic",
392
402
  description="A sample hub",
393
- project="my-project-name",
394
403
  labels={
395
404
  "label-one": "value-one",
396
405
  })
@@ -473,11 +482,11 @@ class Hub(pulumi.CustomResource):
473
482
  opts: Optional[pulumi.ResourceOptions] = None,
474
483
  create_time: Optional[pulumi.Input[str]] = None,
475
484
  description: Optional[pulumi.Input[str]] = None,
476
- effective_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
485
+ effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
477
486
  labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
478
487
  name: Optional[pulumi.Input[str]] = None,
479
488
  project: Optional[pulumi.Input[str]] = None,
480
- pulumi_labels: Optional[pulumi.Input[Mapping[str, Any]]] = None,
489
+ pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
481
490
  routing_vpcs: Optional[pulumi.Input[Sequence[pulumi.Input[Union['HubRoutingVpcArgs', 'HubRoutingVpcArgsDict']]]]] = None,
482
491
  state: Optional[pulumi.Input[str]] = None,
483
492
  unique_id: Optional[pulumi.Input[str]] = None,
@@ -491,20 +500,21 @@ class Hub(pulumi.CustomResource):
491
500
  :param pulumi.ResourceOptions opts: Options for the resource.
492
501
  :param pulumi.Input[str] create_time: Output only. The time the hub was created.
493
502
  :param pulumi.Input[str] description: An optional description of the hub.
494
- :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.
503
+ :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.
495
504
  :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).
496
-
497
505
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
498
506
  Please refer to the field `effective_labels` for all of the labels present on the resource.
499
507
  :param pulumi.Input[str] name: Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
500
508
 
501
509
 
502
-
503
510
  - - -
504
- :param pulumi.Input[str] project: The project for the resource
505
- :param pulumi.Input[Mapping[str, Any]] pulumi_labels: The combination of labels configured directly on the resource and default labels configured on the provider.
511
+ :param pulumi.Input[str] project: The ID of the project in which the resource belongs.
512
+ If it is not provided, the provider project is used.
513
+ :param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
514
+ and default labels configured on the provider.
506
515
  :param pulumi.Input[Sequence[pulumi.Input[Union['HubRoutingVpcArgs', 'HubRoutingVpcArgsDict']]]] routing_vpcs: The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
507
- :param pulumi.Input[str] state: Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
516
+ Structure is documented below.
517
+ :param pulumi.Input[str] state: Output only. The current lifecycle state of this hub.
508
518
  :param pulumi.Input[str] unique_id: Output only. The Google-generated UUID for the hub. This value is unique across all hub resources. If a hub is deleted and another with the same name is created, the new hub is assigned a different unique_id.
509
519
  :param pulumi.Input[str] update_time: Output only. The time the hub was last updated.
510
520
  """
@@ -543,7 +553,7 @@ class Hub(pulumi.CustomResource):
543
553
 
544
554
  @property
545
555
  @pulumi.getter(name="effectiveLabels")
546
- def effective_labels(self) -> pulumi.Output[Mapping[str, Any]]:
556
+ def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
547
557
  """
548
558
  All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
549
559
  """
@@ -554,7 +564,6 @@ class Hub(pulumi.CustomResource):
554
564
  def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
555
565
  """
556
566
  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).
557
-
558
567
  **Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
559
568
  Please refer to the field `effective_labels` for all of the labels present on the resource.
560
569
  """
@@ -567,7 +576,6 @@ class Hub(pulumi.CustomResource):
567
576
  Immutable. The name of the hub. Hub names must be unique. They use the following form: `projects/{project_number}/locations/global/hubs/{hub_id}`
568
577
 
569
578
 
570
-
571
579
  - - -
572
580
  """
573
581
  return pulumi.get(self, "name")
@@ -576,15 +584,17 @@ class Hub(pulumi.CustomResource):
576
584
  @pulumi.getter
577
585
  def project(self) -> pulumi.Output[str]:
578
586
  """
579
- The project for the resource
587
+ The ID of the project in which the resource belongs.
588
+ If it is not provided, the provider project is used.
580
589
  """
581
590
  return pulumi.get(self, "project")
582
591
 
583
592
  @property
584
593
  @pulumi.getter(name="pulumiLabels")
585
- def pulumi_labels(self) -> pulumi.Output[Mapping[str, Any]]:
594
+ def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
586
595
  """
587
- The combination of labels configured directly on the resource and default labels configured on the provider.
596
+ The combination of labels configured directly on the resource
597
+ and default labels configured on the provider.
588
598
  """
589
599
  return pulumi.get(self, "pulumi_labels")
590
600
 
@@ -593,6 +603,7 @@ class Hub(pulumi.CustomResource):
593
603
  def routing_vpcs(self) -> pulumi.Output[Sequence['outputs.HubRoutingVpc']]:
594
604
  """
595
605
  The VPC network associated with this hub's spokes. All of the VPN tunnels, VLAN attachments, and router appliance instances referenced by this hub's spokes must belong to this VPC network. This field is read-only. Network Connectivity Center automatically populates it based on the set of spokes attached to the hub.
606
+ Structure is documented below.
596
607
  """
597
608
  return pulumi.get(self, "routing_vpcs")
598
609
 
@@ -600,7 +611,7 @@ class Hub(pulumi.CustomResource):
600
611
  @pulumi.getter
601
612
  def state(self) -> pulumi.Output[str]:
602
613
  """
603
- Output only. The current lifecycle state of this hub. Possible values: STATE_UNSPECIFIED, CREATING, ACTIVE, DELETING
614
+ Output only. The current lifecycle state of this hub.
604
615
  """
605
616
  return pulumi.get(self, "state")
606
617
 
@@ -578,6 +578,7 @@ class SpokeLinkedRouterApplianceInstances(dict):
578
578
  site_to_site_data_transfer: bool):
579
579
  """
580
580
  :param Sequence['SpokeLinkedRouterApplianceInstancesInstanceArgs'] instances: The list of router appliance instances
581
+ Structure is documented below.
581
582
  :param bool site_to_site_data_transfer: A value that controls whether site-to-site data transfer is enabled for these resources. Note that data transfer is available only in supported locations.
582
583
  """
583
584
  pulumi.set(__self__, "instances", instances)
@@ -588,6 +589,7 @@ class SpokeLinkedRouterApplianceInstances(dict):
588
589
  def instances(self) -> Sequence['outputs.SpokeLinkedRouterApplianceInstancesInstance']:
589
590
  """
590
591
  The list of router appliance instances
592
+ Structure is documented below.
591
593
  """
592
594
  return pulumi.get(self, "instances")
593
595
 
@@ -627,8 +629,6 @@ class SpokeLinkedRouterApplianceInstancesInstance(dict):
627
629
  """
628
630
  :param str ip_address: The IP address on the VM to use for peering.
629
631
  :param str virtual_machine: The URI of the virtual machine resource
630
-
631
- - - -
632
632
  """
633
633
  if ip_address is not None:
634
634
  pulumi.set(__self__, "ip_address", ip_address)
@@ -648,8 +648,6 @@ class SpokeLinkedRouterApplianceInstancesInstance(dict):
648
648
  def virtual_machine(self) -> Optional[str]:
649
649
  """
650
650
  The URI of the virtual machine resource
651
-
652
- - - -
653
651
  """
654
652
  return pulumi.get(self, "virtual_machine")
655
653