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