pulumi-gcp 8.24.0a1743057423__py3-none-any.whl → 8.25.0a1743489606__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.
- pulumi_gcp/__init__.py +27 -0
- pulumi_gcp/bigquery/_inputs.py +158 -0
- pulumi_gcp/bigquery/outputs.py +115 -0
- pulumi_gcp/bigquery/reservation.py +189 -1
- pulumi_gcp/bigqueryanalyticshub/listing_subscription.py +11 -7
- pulumi_gcp/chronicle/data_access_label.py +16 -0
- pulumi_gcp/cloudrunv2/service.py +14 -14
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +616 -18
- pulumi_gcp/compute/get_images.py +172 -0
- pulumi_gcp/compute/get_resource_policy.py +15 -4
- pulumi_gcp/compute/image.py +54 -0
- pulumi_gcp/compute/interconnect.py +14 -7
- pulumi_gcp/compute/outputs.py +710 -18
- pulumi_gcp/compute/resource_policy.py +169 -3
- pulumi_gcp/compute/router_route_policy.py +16 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/container/_inputs.py +262 -1
- pulumi_gcp/container/cluster.py +54 -0
- pulumi_gcp/container/get_cluster.py +12 -1
- pulumi_gcp/container/outputs.py +297 -2
- pulumi_gcp/dataproc/_inputs.py +23 -0
- pulumi_gcp/dataproc/outputs.py +27 -0
- pulumi_gcp/lustre/__init__.py +8 -0
- pulumi_gcp/lustre/instance.py +983 -0
- pulumi_gcp/memorystore/_inputs.py +419 -0
- pulumi_gcp/memorystore/get_instance.py +23 -1
- pulumi_gcp/memorystore/instance.py +137 -7
- pulumi_gcp/memorystore/outputs.py +544 -0
- pulumi_gcp/networkmanagement/_inputs.py +422 -91
- pulumi_gcp/networkmanagement/connectivity_test.py +233 -211
- pulumi_gcp/networkmanagement/outputs.py +280 -61
- pulumi_gcp/networksecurity/_inputs.py +392 -0
- pulumi_gcp/networksecurity/intercept_deployment_group.py +44 -16
- pulumi_gcp/networksecurity/intercept_endpoint_group.py +90 -36
- pulumi_gcp/networksecurity/intercept_endpoint_group_association.py +53 -8
- pulumi_gcp/networksecurity/outputs.py +240 -0
- pulumi_gcp/organizations/__init__.py +1 -0
- pulumi_gcp/organizations/get_iam_custom_role.py +198 -0
- pulumi_gcp/osconfig/__init__.py +1 -0
- pulumi_gcp/osconfig/_inputs.py +5413 -0
- pulumi_gcp/osconfig/outputs.py +3962 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +971 -0
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/storage/__init__.py +2 -0
- pulumi_gcp/storage/_inputs.py +726 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +366 -0
- pulumi_gcp/storage/get_control_project_intelligence_config.py +130 -0
- pulumi_gcp/storage/outputs.py +716 -0
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0a1743489606.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0a1743489606.dist-info}/RECORD +55 -48
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0a1743489606.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.24.0a1743057423.dist-info → pulumi_gcp-8.25.0a1743489606.dist-info}/top_level.txt +0 -0
@@ -23,48 +23,31 @@ class ConnectivityTestArgs:
|
|
23
23
|
def __init__(__self__, *,
|
24
24
|
destination: pulumi.Input['ConnectivityTestDestinationArgs'],
|
25
25
|
source: pulumi.Input['ConnectivityTestSourceArgs'],
|
26
|
+
bypass_firewall_checks: Optional[pulumi.Input[bool]] = None,
|
26
27
|
description: Optional[pulumi.Input[str]] = None,
|
27
28
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
28
29
|
name: Optional[pulumi.Input[str]] = None,
|
29
30
|
project: Optional[pulumi.Input[str]] = None,
|
30
31
|
protocol: Optional[pulumi.Input[str]] = None,
|
31
|
-
related_projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None
|
32
|
+
related_projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
33
|
+
round_trip: Optional[pulumi.Input[bool]] = None):
|
32
34
|
"""
|
33
35
|
The set of arguments for constructing a ConnectivityTest resource.
|
34
36
|
:param pulumi.Input['ConnectivityTestDestinationArgs'] destination: Required. Destination specification of the Connectivity Test.
|
35
|
-
You can use a combination of destination IP address,
|
36
|
-
|
37
|
-
destination location
|
38
|
-
|
39
|
-
|
40
|
-
endpoint from route information.
|
41
|
-
If the destination you specify is a VM instance and the instance has
|
42
|
-
multiple network interfaces, then you must also specify either a
|
43
|
-
destination IP address or VPC network to identify the destination
|
44
|
-
interface.
|
45
|
-
A reachability analysis proceeds even if the destination location
|
46
|
-
is ambiguous. However, the result can include endpoints that you
|
47
|
-
don't intend to test.
|
37
|
+
You can use a combination of destination IP address, URI of a supported
|
38
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
39
|
+
Reachability analysis proceeds even if the destination location is
|
40
|
+
ambiguous. However, the test result might include endpoints or use a
|
41
|
+
destination that you don't intend to test.
|
48
42
|
Structure is documented below.
|
49
43
|
:param pulumi.Input['ConnectivityTestSourceArgs'] source: Required. Source specification of the Connectivity Test.
|
50
|
-
You can use a combination of source IP address,
|
51
|
-
|
52
|
-
source location
|
53
|
-
|
54
|
-
|
55
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
56
|
-
which already contains its internal IP address and VPC network
|
57
|
-
information.
|
58
|
-
If the source of the test is within an on-premises network, then
|
59
|
-
you must provide the destination VPC network.
|
60
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
61
|
-
network interfaces, the instance itself is not sufficient to
|
62
|
-
identify the endpoint. So, you must also specify the source IP
|
63
|
-
address or VPC network.
|
64
|
-
A reachability analysis proceeds even if the source location is
|
65
|
-
ambiguous. However, the test result may include endpoints that
|
66
|
-
you don't intend to test.
|
44
|
+
You can use a combination of source IP address, URI of a supported
|
45
|
+
endpoint, project ID, or VPC network to identify the source location.
|
46
|
+
Reachability analysis might proceed even if the source location is
|
47
|
+
ambiguous. However, the test result might include endpoints or use a source
|
48
|
+
that you don't intend to test.
|
67
49
|
Structure is documented below.
|
50
|
+
:param pulumi.Input[bool] bypass_firewall_checks: Whether the analysis should skip firewall checking. Default value is false.
|
68
51
|
:param pulumi.Input[str] description: The user-supplied description of the Connectivity Test. Maximum of 512 characters.
|
69
52
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the
|
70
53
|
labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
|
@@ -73,9 +56,12 @@ class ConnectivityTestArgs:
|
|
73
56
|
:param pulumi.Input[str] protocol: IP Protocol of the test. When not provided, "TCP" is assumed.
|
74
57
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] related_projects: Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
|
75
58
|
project boundaries.
|
59
|
+
:param pulumi.Input[bool] round_trip: Whether run analysis for the return path from destination to source. Default value is false.
|
76
60
|
"""
|
77
61
|
pulumi.set(__self__, "destination", destination)
|
78
62
|
pulumi.set(__self__, "source", source)
|
63
|
+
if bypass_firewall_checks is not None:
|
64
|
+
pulumi.set(__self__, "bypass_firewall_checks", bypass_firewall_checks)
|
79
65
|
if description is not None:
|
80
66
|
pulumi.set(__self__, "description", description)
|
81
67
|
if labels is not None:
|
@@ -88,25 +74,19 @@ class ConnectivityTestArgs:
|
|
88
74
|
pulumi.set(__self__, "protocol", protocol)
|
89
75
|
if related_projects is not None:
|
90
76
|
pulumi.set(__self__, "related_projects", related_projects)
|
77
|
+
if round_trip is not None:
|
78
|
+
pulumi.set(__self__, "round_trip", round_trip)
|
91
79
|
|
92
80
|
@property
|
93
81
|
@pulumi.getter
|
94
82
|
def destination(self) -> pulumi.Input['ConnectivityTestDestinationArgs']:
|
95
83
|
"""
|
96
84
|
Required. Destination specification of the Connectivity Test.
|
97
|
-
You can use a combination of destination IP address,
|
98
|
-
|
99
|
-
destination location
|
100
|
-
|
101
|
-
|
102
|
-
endpoint from route information.
|
103
|
-
If the destination you specify is a VM instance and the instance has
|
104
|
-
multiple network interfaces, then you must also specify either a
|
105
|
-
destination IP address or VPC network to identify the destination
|
106
|
-
interface.
|
107
|
-
A reachability analysis proceeds even if the destination location
|
108
|
-
is ambiguous. However, the result can include endpoints that you
|
109
|
-
don't intend to test.
|
85
|
+
You can use a combination of destination IP address, URI of a supported
|
86
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
87
|
+
Reachability analysis proceeds even if the destination location is
|
88
|
+
ambiguous. However, the test result might include endpoints or use a
|
89
|
+
destination that you don't intend to test.
|
110
90
|
Structure is documented below.
|
111
91
|
"""
|
112
92
|
return pulumi.get(self, "destination")
|
@@ -120,23 +100,11 @@ class ConnectivityTestArgs:
|
|
120
100
|
def source(self) -> pulumi.Input['ConnectivityTestSourceArgs']:
|
121
101
|
"""
|
122
102
|
Required. Source specification of the Connectivity Test.
|
123
|
-
You can use a combination of source IP address,
|
124
|
-
|
125
|
-
source location
|
126
|
-
|
127
|
-
|
128
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
129
|
-
which already contains its internal IP address and VPC network
|
130
|
-
information.
|
131
|
-
If the source of the test is within an on-premises network, then
|
132
|
-
you must provide the destination VPC network.
|
133
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
134
|
-
network interfaces, the instance itself is not sufficient to
|
135
|
-
identify the endpoint. So, you must also specify the source IP
|
136
|
-
address or VPC network.
|
137
|
-
A reachability analysis proceeds even if the source location is
|
138
|
-
ambiguous. However, the test result may include endpoints that
|
139
|
-
you don't intend to test.
|
103
|
+
You can use a combination of source IP address, URI of a supported
|
104
|
+
endpoint, project ID, or VPC network to identify the source location.
|
105
|
+
Reachability analysis might proceed even if the source location is
|
106
|
+
ambiguous. However, the test result might include endpoints or use a source
|
107
|
+
that you don't intend to test.
|
140
108
|
Structure is documented below.
|
141
109
|
"""
|
142
110
|
return pulumi.get(self, "source")
|
@@ -145,6 +113,18 @@ class ConnectivityTestArgs:
|
|
145
113
|
def source(self, value: pulumi.Input['ConnectivityTestSourceArgs']):
|
146
114
|
pulumi.set(self, "source", value)
|
147
115
|
|
116
|
+
@property
|
117
|
+
@pulumi.getter(name="bypassFirewallChecks")
|
118
|
+
def bypass_firewall_checks(self) -> Optional[pulumi.Input[bool]]:
|
119
|
+
"""
|
120
|
+
Whether the analysis should skip firewall checking. Default value is false.
|
121
|
+
"""
|
122
|
+
return pulumi.get(self, "bypass_firewall_checks")
|
123
|
+
|
124
|
+
@bypass_firewall_checks.setter
|
125
|
+
def bypass_firewall_checks(self, value: Optional[pulumi.Input[bool]]):
|
126
|
+
pulumi.set(self, "bypass_firewall_checks", value)
|
127
|
+
|
148
128
|
@property
|
149
129
|
@pulumi.getter
|
150
130
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -217,10 +197,23 @@ class ConnectivityTestArgs:
|
|
217
197
|
def related_projects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
218
198
|
pulumi.set(self, "related_projects", value)
|
219
199
|
|
200
|
+
@property
|
201
|
+
@pulumi.getter(name="roundTrip")
|
202
|
+
def round_trip(self) -> Optional[pulumi.Input[bool]]:
|
203
|
+
"""
|
204
|
+
Whether run analysis for the return path from destination to source. Default value is false.
|
205
|
+
"""
|
206
|
+
return pulumi.get(self, "round_trip")
|
207
|
+
|
208
|
+
@round_trip.setter
|
209
|
+
def round_trip(self, value: Optional[pulumi.Input[bool]]):
|
210
|
+
pulumi.set(self, "round_trip", value)
|
211
|
+
|
220
212
|
|
221
213
|
@pulumi.input_type
|
222
214
|
class _ConnectivityTestState:
|
223
215
|
def __init__(__self__, *,
|
216
|
+
bypass_firewall_checks: Optional[pulumi.Input[bool]] = None,
|
224
217
|
description: Optional[pulumi.Input[str]] = None,
|
225
218
|
destination: Optional[pulumi.Input['ConnectivityTestDestinationArgs']] = None,
|
226
219
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -230,24 +223,18 @@ class _ConnectivityTestState:
|
|
230
223
|
protocol: Optional[pulumi.Input[str]] = None,
|
231
224
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
232
225
|
related_projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
226
|
+
round_trip: Optional[pulumi.Input[bool]] = None,
|
233
227
|
source: Optional[pulumi.Input['ConnectivityTestSourceArgs']] = None):
|
234
228
|
"""
|
235
229
|
Input properties used for looking up and filtering ConnectivityTest resources.
|
230
|
+
:param pulumi.Input[bool] bypass_firewall_checks: Whether the analysis should skip firewall checking. Default value is false.
|
236
231
|
:param pulumi.Input[str] description: The user-supplied description of the Connectivity Test. Maximum of 512 characters.
|
237
232
|
:param pulumi.Input['ConnectivityTestDestinationArgs'] destination: Required. Destination specification of the Connectivity Test.
|
238
|
-
You can use a combination of destination IP address,
|
239
|
-
|
240
|
-
destination location
|
241
|
-
|
242
|
-
|
243
|
-
endpoint from route information.
|
244
|
-
If the destination you specify is a VM instance and the instance has
|
245
|
-
multiple network interfaces, then you must also specify either a
|
246
|
-
destination IP address or VPC network to identify the destination
|
247
|
-
interface.
|
248
|
-
A reachability analysis proceeds even if the destination location
|
249
|
-
is ambiguous. However, the result can include endpoints that you
|
250
|
-
don't intend to test.
|
233
|
+
You can use a combination of destination IP address, URI of a supported
|
234
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
235
|
+
Reachability analysis proceeds even if the destination location is
|
236
|
+
ambiguous. However, the test result might include endpoints or use a
|
237
|
+
destination that you don't intend to test.
|
251
238
|
Structure is documented below.
|
252
239
|
: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.
|
253
240
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the
|
@@ -259,26 +246,17 @@ class _ConnectivityTestState:
|
|
259
246
|
and default labels configured on the provider.
|
260
247
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] related_projects: Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
|
261
248
|
project boundaries.
|
249
|
+
:param pulumi.Input[bool] round_trip: Whether run analysis for the return path from destination to source. Default value is false.
|
262
250
|
:param pulumi.Input['ConnectivityTestSourceArgs'] source: Required. Source specification of the Connectivity Test.
|
263
|
-
You can use a combination of source IP address,
|
264
|
-
|
265
|
-
source location
|
266
|
-
|
267
|
-
|
268
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
269
|
-
which already contains its internal IP address and VPC network
|
270
|
-
information.
|
271
|
-
If the source of the test is within an on-premises network, then
|
272
|
-
you must provide the destination VPC network.
|
273
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
274
|
-
network interfaces, the instance itself is not sufficient to
|
275
|
-
identify the endpoint. So, you must also specify the source IP
|
276
|
-
address or VPC network.
|
277
|
-
A reachability analysis proceeds even if the source location is
|
278
|
-
ambiguous. However, the test result may include endpoints that
|
279
|
-
you don't intend to test.
|
251
|
+
You can use a combination of source IP address, URI of a supported
|
252
|
+
endpoint, project ID, or VPC network to identify the source location.
|
253
|
+
Reachability analysis might proceed even if the source location is
|
254
|
+
ambiguous. However, the test result might include endpoints or use a source
|
255
|
+
that you don't intend to test.
|
280
256
|
Structure is documented below.
|
281
257
|
"""
|
258
|
+
if bypass_firewall_checks is not None:
|
259
|
+
pulumi.set(__self__, "bypass_firewall_checks", bypass_firewall_checks)
|
282
260
|
if description is not None:
|
283
261
|
pulumi.set(__self__, "description", description)
|
284
262
|
if destination is not None:
|
@@ -297,9 +275,23 @@ class _ConnectivityTestState:
|
|
297
275
|
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
298
276
|
if related_projects is not None:
|
299
277
|
pulumi.set(__self__, "related_projects", related_projects)
|
278
|
+
if round_trip is not None:
|
279
|
+
pulumi.set(__self__, "round_trip", round_trip)
|
300
280
|
if source is not None:
|
301
281
|
pulumi.set(__self__, "source", source)
|
302
282
|
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="bypassFirewallChecks")
|
285
|
+
def bypass_firewall_checks(self) -> Optional[pulumi.Input[bool]]:
|
286
|
+
"""
|
287
|
+
Whether the analysis should skip firewall checking. Default value is false.
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "bypass_firewall_checks")
|
290
|
+
|
291
|
+
@bypass_firewall_checks.setter
|
292
|
+
def bypass_firewall_checks(self, value: Optional[pulumi.Input[bool]]):
|
293
|
+
pulumi.set(self, "bypass_firewall_checks", value)
|
294
|
+
|
303
295
|
@property
|
304
296
|
@pulumi.getter
|
305
297
|
def description(self) -> Optional[pulumi.Input[str]]:
|
@@ -317,19 +309,11 @@ class _ConnectivityTestState:
|
|
317
309
|
def destination(self) -> Optional[pulumi.Input['ConnectivityTestDestinationArgs']]:
|
318
310
|
"""
|
319
311
|
Required. Destination specification of the Connectivity Test.
|
320
|
-
You can use a combination of destination IP address,
|
321
|
-
|
322
|
-
destination location
|
323
|
-
|
324
|
-
|
325
|
-
endpoint from route information.
|
326
|
-
If the destination you specify is a VM instance and the instance has
|
327
|
-
multiple network interfaces, then you must also specify either a
|
328
|
-
destination IP address or VPC network to identify the destination
|
329
|
-
interface.
|
330
|
-
A reachability analysis proceeds even if the destination location
|
331
|
-
is ambiguous. However, the result can include endpoints that you
|
332
|
-
don't intend to test.
|
312
|
+
You can use a combination of destination IP address, URI of a supported
|
313
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
314
|
+
Reachability analysis proceeds even if the destination location is
|
315
|
+
ambiguous. However, the test result might include endpoints or use a
|
316
|
+
destination that you don't intend to test.
|
333
317
|
Structure is documented below.
|
334
318
|
"""
|
335
319
|
return pulumi.get(self, "destination")
|
@@ -423,28 +407,28 @@ class _ConnectivityTestState:
|
|
423
407
|
def related_projects(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
424
408
|
pulumi.set(self, "related_projects", value)
|
425
409
|
|
410
|
+
@property
|
411
|
+
@pulumi.getter(name="roundTrip")
|
412
|
+
def round_trip(self) -> Optional[pulumi.Input[bool]]:
|
413
|
+
"""
|
414
|
+
Whether run analysis for the return path from destination to source. Default value is false.
|
415
|
+
"""
|
416
|
+
return pulumi.get(self, "round_trip")
|
417
|
+
|
418
|
+
@round_trip.setter
|
419
|
+
def round_trip(self, value: Optional[pulumi.Input[bool]]):
|
420
|
+
pulumi.set(self, "round_trip", value)
|
421
|
+
|
426
422
|
@property
|
427
423
|
@pulumi.getter
|
428
424
|
def source(self) -> Optional[pulumi.Input['ConnectivityTestSourceArgs']]:
|
429
425
|
"""
|
430
426
|
Required. Source specification of the Connectivity Test.
|
431
|
-
You can use a combination of source IP address,
|
432
|
-
|
433
|
-
source location
|
434
|
-
|
435
|
-
|
436
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
437
|
-
which already contains its internal IP address and VPC network
|
438
|
-
information.
|
439
|
-
If the source of the test is within an on-premises network, then
|
440
|
-
you must provide the destination VPC network.
|
441
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
442
|
-
network interfaces, the instance itself is not sufficient to
|
443
|
-
identify the endpoint. So, you must also specify the source IP
|
444
|
-
address or VPC network.
|
445
|
-
A reachability analysis proceeds even if the source location is
|
446
|
-
ambiguous. However, the test result may include endpoints that
|
447
|
-
you don't intend to test.
|
427
|
+
You can use a combination of source IP address, URI of a supported
|
428
|
+
endpoint, project ID, or VPC network to identify the source location.
|
429
|
+
Reachability analysis might proceed even if the source location is
|
430
|
+
ambiguous. However, the test result might include endpoints or use a source
|
431
|
+
that you don't intend to test.
|
448
432
|
Structure is documented below.
|
449
433
|
"""
|
450
434
|
return pulumi.get(self, "source")
|
@@ -459,6 +443,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
459
443
|
def __init__(__self__,
|
460
444
|
resource_name: str,
|
461
445
|
opts: Optional[pulumi.ResourceOptions] = None,
|
446
|
+
bypass_firewall_checks: Optional[pulumi.Input[bool]] = None,
|
462
447
|
description: Optional[pulumi.Input[str]] = None,
|
463
448
|
destination: Optional[pulumi.Input[Union['ConnectivityTestDestinationArgs', 'ConnectivityTestDestinationArgsDict']]] = None,
|
464
449
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -466,6 +451,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
466
451
|
project: Optional[pulumi.Input[str]] = None,
|
467
452
|
protocol: Optional[pulumi.Input[str]] = None,
|
468
453
|
related_projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
454
|
+
round_trip: Optional[pulumi.Input[bool]] = None,
|
469
455
|
source: Optional[pulumi.Input[Union['ConnectivityTestSourceArgs', 'ConnectivityTestSourceArgsDict']]] = None,
|
470
456
|
__props__=None):
|
471
457
|
"""
|
@@ -566,6 +552,40 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
566
552
|
},
|
567
553
|
protocol="UDP")
|
568
554
|
```
|
555
|
+
### Network Management Connectivity Test Endpoints
|
556
|
+
|
557
|
+
```python
|
558
|
+
import pulumi
|
559
|
+
import pulumi_gcp as gcp
|
560
|
+
|
561
|
+
endpoints_test = gcp.networkmanagement.ConnectivityTest("endpoints-test",
|
562
|
+
name="conn-test-endpoints",
|
563
|
+
source={
|
564
|
+
"gke_master_cluster": "projects/test-project/locations/us-central1/clusters/name",
|
565
|
+
"cloud_sql_instance": "projects/test-project/instances/name",
|
566
|
+
"app_engine_version": {
|
567
|
+
"uri": "apps/test-project/services/default/versions/name",
|
568
|
+
},
|
569
|
+
"cloud_function": {
|
570
|
+
"uri": "projects/test-project/locations/us-central1/functions/name",
|
571
|
+
},
|
572
|
+
"cloud_run_revision": {
|
573
|
+
"uri": "projects/test-project/locations/us-central1/revisions/name",
|
574
|
+
},
|
575
|
+
"port": 80,
|
576
|
+
},
|
577
|
+
destination={
|
578
|
+
"port": 443,
|
579
|
+
"forwarding_rule": "projects/test-project/regions/us-central1/forwardingRules/name",
|
580
|
+
"gke_master_cluster": "projects/test-project/locations/us-central1/clusters/name",
|
581
|
+
"fqdn": "name.us-central1.gke.goog",
|
582
|
+
"cloud_sql_instance": "projects/test-project/instances/name",
|
583
|
+
"redis_instance": "projects/test-project/locations/us-central1/instances/name",
|
584
|
+
"redis_cluster": "projects/test-project/locations/us-central1/clusters/name",
|
585
|
+
},
|
586
|
+
bypass_firewall_checks=True,
|
587
|
+
round_trip=True)
|
588
|
+
```
|
569
589
|
|
570
590
|
## Import
|
571
591
|
|
@@ -593,21 +613,14 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
593
613
|
|
594
614
|
:param str resource_name: The name of the resource.
|
595
615
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
616
|
+
:param pulumi.Input[bool] bypass_firewall_checks: Whether the analysis should skip firewall checking. Default value is false.
|
596
617
|
:param pulumi.Input[str] description: The user-supplied description of the Connectivity Test. Maximum of 512 characters.
|
597
618
|
:param pulumi.Input[Union['ConnectivityTestDestinationArgs', 'ConnectivityTestDestinationArgsDict']] destination: Required. Destination specification of the Connectivity Test.
|
598
|
-
You can use a combination of destination IP address,
|
599
|
-
|
600
|
-
destination location
|
601
|
-
|
602
|
-
|
603
|
-
endpoint from route information.
|
604
|
-
If the destination you specify is a VM instance and the instance has
|
605
|
-
multiple network interfaces, then you must also specify either a
|
606
|
-
destination IP address or VPC network to identify the destination
|
607
|
-
interface.
|
608
|
-
A reachability analysis proceeds even if the destination location
|
609
|
-
is ambiguous. However, the result can include endpoints that you
|
610
|
-
don't intend to test.
|
619
|
+
You can use a combination of destination IP address, URI of a supported
|
620
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
621
|
+
Reachability analysis proceeds even if the destination location is
|
622
|
+
ambiguous. However, the test result might include endpoints or use a
|
623
|
+
destination that you don't intend to test.
|
611
624
|
Structure is documented below.
|
612
625
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the
|
613
626
|
labels present in your configuration. Please refer to the field 'effective_labels' for all of the labels present on the
|
@@ -616,24 +629,13 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
616
629
|
:param pulumi.Input[str] protocol: IP Protocol of the test. When not provided, "TCP" is assumed.
|
617
630
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] related_projects: Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
|
618
631
|
project boundaries.
|
632
|
+
:param pulumi.Input[bool] round_trip: Whether run analysis for the return path from destination to source. Default value is false.
|
619
633
|
:param pulumi.Input[Union['ConnectivityTestSourceArgs', 'ConnectivityTestSourceArgsDict']] source: Required. Source specification of the Connectivity Test.
|
620
|
-
You can use a combination of source IP address,
|
621
|
-
|
622
|
-
source location
|
623
|
-
|
624
|
-
|
625
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
626
|
-
which already contains its internal IP address and VPC network
|
627
|
-
information.
|
628
|
-
If the source of the test is within an on-premises network, then
|
629
|
-
you must provide the destination VPC network.
|
630
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
631
|
-
network interfaces, the instance itself is not sufficient to
|
632
|
-
identify the endpoint. So, you must also specify the source IP
|
633
|
-
address or VPC network.
|
634
|
-
A reachability analysis proceeds even if the source location is
|
635
|
-
ambiguous. However, the test result may include endpoints that
|
636
|
-
you don't intend to test.
|
634
|
+
You can use a combination of source IP address, URI of a supported
|
635
|
+
endpoint, project ID, or VPC network to identify the source location.
|
636
|
+
Reachability analysis might proceed even if the source location is
|
637
|
+
ambiguous. However, the test result might include endpoints or use a source
|
638
|
+
that you don't intend to test.
|
637
639
|
Structure is documented below.
|
638
640
|
"""
|
639
641
|
...
|
@@ -740,6 +742,40 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
740
742
|
},
|
741
743
|
protocol="UDP")
|
742
744
|
```
|
745
|
+
### Network Management Connectivity Test Endpoints
|
746
|
+
|
747
|
+
```python
|
748
|
+
import pulumi
|
749
|
+
import pulumi_gcp as gcp
|
750
|
+
|
751
|
+
endpoints_test = gcp.networkmanagement.ConnectivityTest("endpoints-test",
|
752
|
+
name="conn-test-endpoints",
|
753
|
+
source={
|
754
|
+
"gke_master_cluster": "projects/test-project/locations/us-central1/clusters/name",
|
755
|
+
"cloud_sql_instance": "projects/test-project/instances/name",
|
756
|
+
"app_engine_version": {
|
757
|
+
"uri": "apps/test-project/services/default/versions/name",
|
758
|
+
},
|
759
|
+
"cloud_function": {
|
760
|
+
"uri": "projects/test-project/locations/us-central1/functions/name",
|
761
|
+
},
|
762
|
+
"cloud_run_revision": {
|
763
|
+
"uri": "projects/test-project/locations/us-central1/revisions/name",
|
764
|
+
},
|
765
|
+
"port": 80,
|
766
|
+
},
|
767
|
+
destination={
|
768
|
+
"port": 443,
|
769
|
+
"forwarding_rule": "projects/test-project/regions/us-central1/forwardingRules/name",
|
770
|
+
"gke_master_cluster": "projects/test-project/locations/us-central1/clusters/name",
|
771
|
+
"fqdn": "name.us-central1.gke.goog",
|
772
|
+
"cloud_sql_instance": "projects/test-project/instances/name",
|
773
|
+
"redis_instance": "projects/test-project/locations/us-central1/instances/name",
|
774
|
+
"redis_cluster": "projects/test-project/locations/us-central1/clusters/name",
|
775
|
+
},
|
776
|
+
bypass_firewall_checks=True,
|
777
|
+
round_trip=True)
|
778
|
+
```
|
743
779
|
|
744
780
|
## Import
|
745
781
|
|
@@ -780,6 +816,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
780
816
|
def _internal_init(__self__,
|
781
817
|
resource_name: str,
|
782
818
|
opts: Optional[pulumi.ResourceOptions] = None,
|
819
|
+
bypass_firewall_checks: Optional[pulumi.Input[bool]] = None,
|
783
820
|
description: Optional[pulumi.Input[str]] = None,
|
784
821
|
destination: Optional[pulumi.Input[Union['ConnectivityTestDestinationArgs', 'ConnectivityTestDestinationArgsDict']]] = None,
|
785
822
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -787,6 +824,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
787
824
|
project: Optional[pulumi.Input[str]] = None,
|
788
825
|
protocol: Optional[pulumi.Input[str]] = None,
|
789
826
|
related_projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
827
|
+
round_trip: Optional[pulumi.Input[bool]] = None,
|
790
828
|
source: Optional[pulumi.Input[Union['ConnectivityTestSourceArgs', 'ConnectivityTestSourceArgsDict']]] = None,
|
791
829
|
__props__=None):
|
792
830
|
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
@@ -797,6 +835,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
797
835
|
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
798
836
|
__props__ = ConnectivityTestArgs.__new__(ConnectivityTestArgs)
|
799
837
|
|
838
|
+
__props__.__dict__["bypass_firewall_checks"] = bypass_firewall_checks
|
800
839
|
__props__.__dict__["description"] = description
|
801
840
|
if destination is None and not opts.urn:
|
802
841
|
raise TypeError("Missing required property 'destination'")
|
@@ -806,6 +845,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
806
845
|
__props__.__dict__["project"] = project
|
807
846
|
__props__.__dict__["protocol"] = protocol
|
808
847
|
__props__.__dict__["related_projects"] = related_projects
|
848
|
+
__props__.__dict__["round_trip"] = round_trip
|
809
849
|
if source is None and not opts.urn:
|
810
850
|
raise TypeError("Missing required property 'source'")
|
811
851
|
__props__.__dict__["source"] = source
|
@@ -823,6 +863,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
823
863
|
def get(resource_name: str,
|
824
864
|
id: pulumi.Input[str],
|
825
865
|
opts: Optional[pulumi.ResourceOptions] = None,
|
866
|
+
bypass_firewall_checks: Optional[pulumi.Input[bool]] = None,
|
826
867
|
description: Optional[pulumi.Input[str]] = None,
|
827
868
|
destination: Optional[pulumi.Input[Union['ConnectivityTestDestinationArgs', 'ConnectivityTestDestinationArgsDict']]] = None,
|
828
869
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
@@ -832,6 +873,7 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
832
873
|
protocol: Optional[pulumi.Input[str]] = None,
|
833
874
|
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
834
875
|
related_projects: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
876
|
+
round_trip: Optional[pulumi.Input[bool]] = None,
|
835
877
|
source: Optional[pulumi.Input[Union['ConnectivityTestSourceArgs', 'ConnectivityTestSourceArgsDict']]] = None) -> 'ConnectivityTest':
|
836
878
|
"""
|
837
879
|
Get an existing ConnectivityTest resource's state with the given name, id, and optional extra
|
@@ -840,21 +882,14 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
840
882
|
:param str resource_name: The unique name of the resulting resource.
|
841
883
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
842
884
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
885
|
+
:param pulumi.Input[bool] bypass_firewall_checks: Whether the analysis should skip firewall checking. Default value is false.
|
843
886
|
:param pulumi.Input[str] description: The user-supplied description of the Connectivity Test. Maximum of 512 characters.
|
844
887
|
:param pulumi.Input[Union['ConnectivityTestDestinationArgs', 'ConnectivityTestDestinationArgsDict']] destination: Required. Destination specification of the Connectivity Test.
|
845
|
-
You can use a combination of destination IP address,
|
846
|
-
|
847
|
-
destination location
|
848
|
-
|
849
|
-
|
850
|
-
endpoint from route information.
|
851
|
-
If the destination you specify is a VM instance and the instance has
|
852
|
-
multiple network interfaces, then you must also specify either a
|
853
|
-
destination IP address or VPC network to identify the destination
|
854
|
-
interface.
|
855
|
-
A reachability analysis proceeds even if the destination location
|
856
|
-
is ambiguous. However, the result can include endpoints that you
|
857
|
-
don't intend to test.
|
888
|
+
You can use a combination of destination IP address, URI of a supported
|
889
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
890
|
+
Reachability analysis proceeds even if the destination location is
|
891
|
+
ambiguous. However, the test result might include endpoints or use a
|
892
|
+
destination that you don't intend to test.
|
858
893
|
Structure is documented below.
|
859
894
|
: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.
|
860
895
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user-provided metadata. **Note**: This field is non-authoritative, and will only manage the
|
@@ -866,30 +901,20 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
866
901
|
and default labels configured on the provider.
|
867
902
|
:param pulumi.Input[Sequence[pulumi.Input[str]]] related_projects: Other projects that may be relevant for reachability analysis. This is applicable to scenarios where a test can cross
|
868
903
|
project boundaries.
|
904
|
+
:param pulumi.Input[bool] round_trip: Whether run analysis for the return path from destination to source. Default value is false.
|
869
905
|
:param pulumi.Input[Union['ConnectivityTestSourceArgs', 'ConnectivityTestSourceArgsDict']] source: Required. Source specification of the Connectivity Test.
|
870
|
-
You can use a combination of source IP address,
|
871
|
-
|
872
|
-
source location
|
873
|
-
|
874
|
-
|
875
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
876
|
-
which already contains its internal IP address and VPC network
|
877
|
-
information.
|
878
|
-
If the source of the test is within an on-premises network, then
|
879
|
-
you must provide the destination VPC network.
|
880
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
881
|
-
network interfaces, the instance itself is not sufficient to
|
882
|
-
identify the endpoint. So, you must also specify the source IP
|
883
|
-
address or VPC network.
|
884
|
-
A reachability analysis proceeds even if the source location is
|
885
|
-
ambiguous. However, the test result may include endpoints that
|
886
|
-
you don't intend to test.
|
906
|
+
You can use a combination of source IP address, URI of a supported
|
907
|
+
endpoint, project ID, or VPC network to identify the source location.
|
908
|
+
Reachability analysis might proceed even if the source location is
|
909
|
+
ambiguous. However, the test result might include endpoints or use a source
|
910
|
+
that you don't intend to test.
|
887
911
|
Structure is documented below.
|
888
912
|
"""
|
889
913
|
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
890
914
|
|
891
915
|
__props__ = _ConnectivityTestState.__new__(_ConnectivityTestState)
|
892
916
|
|
917
|
+
__props__.__dict__["bypass_firewall_checks"] = bypass_firewall_checks
|
893
918
|
__props__.__dict__["description"] = description
|
894
919
|
__props__.__dict__["destination"] = destination
|
895
920
|
__props__.__dict__["effective_labels"] = effective_labels
|
@@ -899,9 +924,18 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
899
924
|
__props__.__dict__["protocol"] = protocol
|
900
925
|
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
901
926
|
__props__.__dict__["related_projects"] = related_projects
|
927
|
+
__props__.__dict__["round_trip"] = round_trip
|
902
928
|
__props__.__dict__["source"] = source
|
903
929
|
return ConnectivityTest(resource_name, opts=opts, __props__=__props__)
|
904
930
|
|
931
|
+
@property
|
932
|
+
@pulumi.getter(name="bypassFirewallChecks")
|
933
|
+
def bypass_firewall_checks(self) -> pulumi.Output[Optional[bool]]:
|
934
|
+
"""
|
935
|
+
Whether the analysis should skip firewall checking. Default value is false.
|
936
|
+
"""
|
937
|
+
return pulumi.get(self, "bypass_firewall_checks")
|
938
|
+
|
905
939
|
@property
|
906
940
|
@pulumi.getter
|
907
941
|
def description(self) -> pulumi.Output[Optional[str]]:
|
@@ -915,19 +949,11 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
915
949
|
def destination(self) -> pulumi.Output['outputs.ConnectivityTestDestination']:
|
916
950
|
"""
|
917
951
|
Required. Destination specification of the Connectivity Test.
|
918
|
-
You can use a combination of destination IP address,
|
919
|
-
|
920
|
-
destination location
|
921
|
-
|
922
|
-
|
923
|
-
endpoint from route information.
|
924
|
-
If the destination you specify is a VM instance and the instance has
|
925
|
-
multiple network interfaces, then you must also specify either a
|
926
|
-
destination IP address or VPC network to identify the destination
|
927
|
-
interface.
|
928
|
-
A reachability analysis proceeds even if the destination location
|
929
|
-
is ambiguous. However, the result can include endpoints that you
|
930
|
-
don't intend to test.
|
952
|
+
You can use a combination of destination IP address, URI of a supported
|
953
|
+
endpoint, project ID, or VPC network to identify the destination location.
|
954
|
+
Reachability analysis proceeds even if the destination location is
|
955
|
+
ambiguous. However, the test result might include endpoints or use a
|
956
|
+
destination that you don't intend to test.
|
931
957
|
Structure is documented below.
|
932
958
|
"""
|
933
959
|
return pulumi.get(self, "destination")
|
@@ -989,28 +1015,24 @@ class ConnectivityTest(pulumi.CustomResource):
|
|
989
1015
|
"""
|
990
1016
|
return pulumi.get(self, "related_projects")
|
991
1017
|
|
1018
|
+
@property
|
1019
|
+
@pulumi.getter(name="roundTrip")
|
1020
|
+
def round_trip(self) -> pulumi.Output[Optional[bool]]:
|
1021
|
+
"""
|
1022
|
+
Whether run analysis for the return path from destination to source. Default value is false.
|
1023
|
+
"""
|
1024
|
+
return pulumi.get(self, "round_trip")
|
1025
|
+
|
992
1026
|
@property
|
993
1027
|
@pulumi.getter
|
994
1028
|
def source(self) -> pulumi.Output['outputs.ConnectivityTestSource']:
|
995
1029
|
"""
|
996
1030
|
Required. Source specification of the Connectivity Test.
|
997
|
-
You can use a combination of source IP address,
|
998
|
-
|
999
|
-
source location
|
1000
|
-
|
1001
|
-
|
1002
|
-
also specify the VPC network. Otherwise, specify the VM instance,
|
1003
|
-
which already contains its internal IP address and VPC network
|
1004
|
-
information.
|
1005
|
-
If the source of the test is within an on-premises network, then
|
1006
|
-
you must provide the destination VPC network.
|
1007
|
-
If the source endpoint is a Compute Engine VM instance with multiple
|
1008
|
-
network interfaces, the instance itself is not sufficient to
|
1009
|
-
identify the endpoint. So, you must also specify the source IP
|
1010
|
-
address or VPC network.
|
1011
|
-
A reachability analysis proceeds even if the source location is
|
1012
|
-
ambiguous. However, the test result may include endpoints that
|
1013
|
-
you don't intend to test.
|
1031
|
+
You can use a combination of source IP address, URI of a supported
|
1032
|
+
endpoint, project ID, or VPC network to identify the source location.
|
1033
|
+
Reachability analysis might proceed even if the source location is
|
1034
|
+
ambiguous. However, the test result might include endpoints or use a source
|
1035
|
+
that you don't intend to test.
|
1014
1036
|
Structure is documented below.
|
1015
1037
|
"""
|
1016
1038
|
return pulumi.get(self, "source")
|