pulumi-gcp 7.10.0a1708496697__py3-none-any.whl → 7.11.0__py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pulumi_gcp/__init__.py +32 -0
- pulumi_gcp/bigtable/table_iam_binding.py +6 -6
- pulumi_gcp/bigtable/table_iam_member.py +6 -6
- pulumi_gcp/bigtable/table_iam_policy.py +6 -6
- pulumi_gcp/cloudbuildv2/_inputs.py +32 -12
- pulumi_gcp/cloudbuildv2/connection.py +140 -38
- pulumi_gcp/cloudbuildv2/connection_iam_binding.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_member.py +13 -0
- pulumi_gcp/cloudbuildv2/connection_iam_policy.py +13 -0
- pulumi_gcp/cloudbuildv2/get_connection_iam_policy.py +2 -0
- pulumi_gcp/cloudbuildv2/outputs.py +32 -12
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +277 -2
- pulumi_gcp/clouddeploy/custom_target_type.py +923 -0
- pulumi_gcp/clouddeploy/outputs.py +263 -2
- pulumi_gcp/cloudfunctions/function.py +32 -0
- pulumi_gcp/cloudfunctions/get_function.py +11 -1
- pulumi_gcp/cloudrunv2/service.py +18 -0
- pulumi_gcp/compute/_inputs.py +20 -20
- pulumi_gcp/compute/outputs.py +24 -24
- pulumi_gcp/config/vars.py +2 -2
- pulumi_gcp/container/_inputs.py +22 -0
- pulumi_gcp/container/outputs.py +28 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/get_managed_zone.py +2 -2
- pulumi_gcp/dns/get_managed_zones.py +35 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/eventarc/_inputs.py +78 -0
- pulumi_gcp/eventarc/outputs.py +83 -0
- pulumi_gcp/firebase/__init__.py +1 -0
- pulumi_gcp/firebase/app_check_debug_token.py +480 -0
- pulumi_gcp/healthcare/hl7_store.py +50 -1
- pulumi_gcp/identityplatform/_inputs.py +330 -0
- pulumi_gcp/identityplatform/config.py +216 -0
- pulumi_gcp/identityplatform/outputs.py +397 -0
- pulumi_gcp/networksecurity/__init__.py +2 -0
- pulumi_gcp/networksecurity/firewall_endpoint.py +631 -0
- pulumi_gcp/networksecurity/security_profile_group.py +654 -0
- pulumi_gcp/notebooks/instance.py +109 -4
- pulumi_gcp/provider.py +8 -0
- pulumi_gcp/recaptcha/enterprise_key.py +4 -4
- pulumi_gcp/securityposture/_inputs.py +48 -48
- pulumi_gcp/securityposture/outputs.py +40 -40
- pulumi_gcp/securityposture/posture.py +22 -2
- pulumi_gcp/vertex/_inputs.py +63 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +208 -0
- pulumi_gcp/vertex/outputs.py +87 -0
- pulumi_gcp/workbench/_inputs.py +4 -4
- pulumi_gcp/workbench/instance.py +59 -8
- pulumi_gcp/workbench/outputs.py +4 -4
- pulumi_gcp/workstations/_inputs.py +16 -0
- pulumi_gcp/workstations/outputs.py +14 -0
- pulumi_gcp/workstations/workstation_config.py +2 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/RECORD +57 -53
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.10.0a1708496697.dist-info → pulumi_gcp-7.11.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,631 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
|
12
|
+
__all__ = ['FirewallEndpointArgs', 'FirewallEndpoint']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class FirewallEndpointArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
location: pulumi.Input[str],
|
18
|
+
parent: pulumi.Input[str],
|
19
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
20
|
+
name: Optional[pulumi.Input[str]] = None):
|
21
|
+
"""
|
22
|
+
The set of arguments for constructing a FirewallEndpoint resource.
|
23
|
+
:param pulumi.Input[str] location: The location (zone) of the firewall endpoint.
|
24
|
+
:param pulumi.Input[str] parent: The name of the parent this firewall endpoint belongs to.
|
25
|
+
Format: organizations/{organization_id}.
|
26
|
+
|
27
|
+
|
28
|
+
- - -
|
29
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
30
|
+
|
31
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
32
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
33
|
+
:param pulumi.Input[str] name: The name of the firewall endpoint resource.
|
34
|
+
"""
|
35
|
+
pulumi.set(__self__, "location", location)
|
36
|
+
pulumi.set(__self__, "parent", parent)
|
37
|
+
if labels is not None:
|
38
|
+
pulumi.set(__self__, "labels", labels)
|
39
|
+
if name is not None:
|
40
|
+
pulumi.set(__self__, "name", name)
|
41
|
+
|
42
|
+
@property
|
43
|
+
@pulumi.getter
|
44
|
+
def location(self) -> pulumi.Input[str]:
|
45
|
+
"""
|
46
|
+
The location (zone) of the firewall endpoint.
|
47
|
+
"""
|
48
|
+
return pulumi.get(self, "location")
|
49
|
+
|
50
|
+
@location.setter
|
51
|
+
def location(self, value: pulumi.Input[str]):
|
52
|
+
pulumi.set(self, "location", value)
|
53
|
+
|
54
|
+
@property
|
55
|
+
@pulumi.getter
|
56
|
+
def parent(self) -> pulumi.Input[str]:
|
57
|
+
"""
|
58
|
+
The name of the parent this firewall endpoint belongs to.
|
59
|
+
Format: organizations/{organization_id}.
|
60
|
+
|
61
|
+
|
62
|
+
- - -
|
63
|
+
"""
|
64
|
+
return pulumi.get(self, "parent")
|
65
|
+
|
66
|
+
@parent.setter
|
67
|
+
def parent(self, value: pulumi.Input[str]):
|
68
|
+
pulumi.set(self, "parent", value)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter
|
72
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
73
|
+
"""
|
74
|
+
A map of key/value label pairs to assign to the resource.
|
75
|
+
|
76
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
77
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
78
|
+
"""
|
79
|
+
return pulumi.get(self, "labels")
|
80
|
+
|
81
|
+
@labels.setter
|
82
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
83
|
+
pulumi.set(self, "labels", value)
|
84
|
+
|
85
|
+
@property
|
86
|
+
@pulumi.getter
|
87
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
88
|
+
"""
|
89
|
+
The name of the firewall endpoint resource.
|
90
|
+
"""
|
91
|
+
return pulumi.get(self, "name")
|
92
|
+
|
93
|
+
@name.setter
|
94
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
95
|
+
pulumi.set(self, "name", value)
|
96
|
+
|
97
|
+
|
98
|
+
@pulumi.input_type
|
99
|
+
class _FirewallEndpointState:
|
100
|
+
def __init__(__self__, *,
|
101
|
+
associated_networks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
102
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
103
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
104
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
105
|
+
location: Optional[pulumi.Input[str]] = None,
|
106
|
+
name: Optional[pulumi.Input[str]] = None,
|
107
|
+
parent: Optional[pulumi.Input[str]] = None,
|
108
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
109
|
+
reconciling: Optional[pulumi.Input[bool]] = None,
|
110
|
+
self_link: Optional[pulumi.Input[str]] = None,
|
111
|
+
state: Optional[pulumi.Input[str]] = None,
|
112
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
113
|
+
"""
|
114
|
+
Input properties used for looking up and filtering FirewallEndpoint resources.
|
115
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] associated_networks: List of networks that are associated with this endpoint in the local zone.
|
116
|
+
This is a projection of the FirewallEndpointAssociations pointing at this
|
117
|
+
endpoint. A network will only appear in this list after traffic routing is
|
118
|
+
fully configured. Format: projects/{project}/global/networks/{name}.
|
119
|
+
:param pulumi.Input[str] create_time: Time the firewall endpoint was created in UTC.
|
120
|
+
: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.
|
121
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
122
|
+
|
123
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
124
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
125
|
+
:param pulumi.Input[str] location: The location (zone) of the firewall endpoint.
|
126
|
+
:param pulumi.Input[str] name: The name of the firewall endpoint resource.
|
127
|
+
:param pulumi.Input[str] parent: The name of the parent this firewall endpoint belongs to.
|
128
|
+
Format: organizations/{organization_id}.
|
129
|
+
|
130
|
+
|
131
|
+
- - -
|
132
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
133
|
+
and default labels configured on the provider.
|
134
|
+
:param pulumi.Input[bool] reconciling: Whether reconciling is in progress, recommended per https://google.aip.dev/128.
|
135
|
+
:param pulumi.Input[str] self_link: Server-defined URL of this resource.
|
136
|
+
:param pulumi.Input[str] state: The current state of the endpoint.
|
137
|
+
:param pulumi.Input[str] update_time: Time the firewall endpoint was updated in UTC.
|
138
|
+
"""
|
139
|
+
if associated_networks is not None:
|
140
|
+
pulumi.set(__self__, "associated_networks", associated_networks)
|
141
|
+
if create_time is not None:
|
142
|
+
pulumi.set(__self__, "create_time", create_time)
|
143
|
+
if effective_labels is not None:
|
144
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
145
|
+
if labels is not None:
|
146
|
+
pulumi.set(__self__, "labels", labels)
|
147
|
+
if location is not None:
|
148
|
+
pulumi.set(__self__, "location", location)
|
149
|
+
if name is not None:
|
150
|
+
pulumi.set(__self__, "name", name)
|
151
|
+
if parent is not None:
|
152
|
+
pulumi.set(__self__, "parent", parent)
|
153
|
+
if pulumi_labels is not None:
|
154
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
155
|
+
if reconciling is not None:
|
156
|
+
pulumi.set(__self__, "reconciling", reconciling)
|
157
|
+
if self_link is not None:
|
158
|
+
pulumi.set(__self__, "self_link", self_link)
|
159
|
+
if state is not None:
|
160
|
+
pulumi.set(__self__, "state", state)
|
161
|
+
if update_time is not None:
|
162
|
+
pulumi.set(__self__, "update_time", update_time)
|
163
|
+
|
164
|
+
@property
|
165
|
+
@pulumi.getter(name="associatedNetworks")
|
166
|
+
def associated_networks(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
167
|
+
"""
|
168
|
+
List of networks that are associated with this endpoint in the local zone.
|
169
|
+
This is a projection of the FirewallEndpointAssociations pointing at this
|
170
|
+
endpoint. A network will only appear in this list after traffic routing is
|
171
|
+
fully configured. Format: projects/{project}/global/networks/{name}.
|
172
|
+
"""
|
173
|
+
return pulumi.get(self, "associated_networks")
|
174
|
+
|
175
|
+
@associated_networks.setter
|
176
|
+
def associated_networks(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
177
|
+
pulumi.set(self, "associated_networks", value)
|
178
|
+
|
179
|
+
@property
|
180
|
+
@pulumi.getter(name="createTime")
|
181
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
182
|
+
"""
|
183
|
+
Time the firewall endpoint was created in UTC.
|
184
|
+
"""
|
185
|
+
return pulumi.get(self, "create_time")
|
186
|
+
|
187
|
+
@create_time.setter
|
188
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
189
|
+
pulumi.set(self, "create_time", value)
|
190
|
+
|
191
|
+
@property
|
192
|
+
@pulumi.getter(name="effectiveLabels")
|
193
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
194
|
+
"""
|
195
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
196
|
+
"""
|
197
|
+
return pulumi.get(self, "effective_labels")
|
198
|
+
|
199
|
+
@effective_labels.setter
|
200
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
201
|
+
pulumi.set(self, "effective_labels", value)
|
202
|
+
|
203
|
+
@property
|
204
|
+
@pulumi.getter
|
205
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
206
|
+
"""
|
207
|
+
A map of key/value label pairs to assign to the resource.
|
208
|
+
|
209
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
210
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
211
|
+
"""
|
212
|
+
return pulumi.get(self, "labels")
|
213
|
+
|
214
|
+
@labels.setter
|
215
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
216
|
+
pulumi.set(self, "labels", value)
|
217
|
+
|
218
|
+
@property
|
219
|
+
@pulumi.getter
|
220
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
221
|
+
"""
|
222
|
+
The location (zone) of the firewall endpoint.
|
223
|
+
"""
|
224
|
+
return pulumi.get(self, "location")
|
225
|
+
|
226
|
+
@location.setter
|
227
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
228
|
+
pulumi.set(self, "location", value)
|
229
|
+
|
230
|
+
@property
|
231
|
+
@pulumi.getter
|
232
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
233
|
+
"""
|
234
|
+
The name of the firewall endpoint resource.
|
235
|
+
"""
|
236
|
+
return pulumi.get(self, "name")
|
237
|
+
|
238
|
+
@name.setter
|
239
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
240
|
+
pulumi.set(self, "name", value)
|
241
|
+
|
242
|
+
@property
|
243
|
+
@pulumi.getter
|
244
|
+
def parent(self) -> Optional[pulumi.Input[str]]:
|
245
|
+
"""
|
246
|
+
The name of the parent this firewall endpoint belongs to.
|
247
|
+
Format: organizations/{organization_id}.
|
248
|
+
|
249
|
+
|
250
|
+
- - -
|
251
|
+
"""
|
252
|
+
return pulumi.get(self, "parent")
|
253
|
+
|
254
|
+
@parent.setter
|
255
|
+
def parent(self, value: Optional[pulumi.Input[str]]):
|
256
|
+
pulumi.set(self, "parent", value)
|
257
|
+
|
258
|
+
@property
|
259
|
+
@pulumi.getter(name="pulumiLabels")
|
260
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
261
|
+
"""
|
262
|
+
The combination of labels configured directly on the resource
|
263
|
+
and default labels configured on the provider.
|
264
|
+
"""
|
265
|
+
return pulumi.get(self, "pulumi_labels")
|
266
|
+
|
267
|
+
@pulumi_labels.setter
|
268
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
269
|
+
pulumi.set(self, "pulumi_labels", value)
|
270
|
+
|
271
|
+
@property
|
272
|
+
@pulumi.getter
|
273
|
+
def reconciling(self) -> Optional[pulumi.Input[bool]]:
|
274
|
+
"""
|
275
|
+
Whether reconciling is in progress, recommended per https://google.aip.dev/128.
|
276
|
+
"""
|
277
|
+
return pulumi.get(self, "reconciling")
|
278
|
+
|
279
|
+
@reconciling.setter
|
280
|
+
def reconciling(self, value: Optional[pulumi.Input[bool]]):
|
281
|
+
pulumi.set(self, "reconciling", value)
|
282
|
+
|
283
|
+
@property
|
284
|
+
@pulumi.getter(name="selfLink")
|
285
|
+
def self_link(self) -> Optional[pulumi.Input[str]]:
|
286
|
+
"""
|
287
|
+
Server-defined URL of this resource.
|
288
|
+
"""
|
289
|
+
return pulumi.get(self, "self_link")
|
290
|
+
|
291
|
+
@self_link.setter
|
292
|
+
def self_link(self, value: Optional[pulumi.Input[str]]):
|
293
|
+
pulumi.set(self, "self_link", value)
|
294
|
+
|
295
|
+
@property
|
296
|
+
@pulumi.getter
|
297
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
298
|
+
"""
|
299
|
+
The current state of the endpoint.
|
300
|
+
"""
|
301
|
+
return pulumi.get(self, "state")
|
302
|
+
|
303
|
+
@state.setter
|
304
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
305
|
+
pulumi.set(self, "state", value)
|
306
|
+
|
307
|
+
@property
|
308
|
+
@pulumi.getter(name="updateTime")
|
309
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
310
|
+
"""
|
311
|
+
Time the firewall endpoint was updated in UTC.
|
312
|
+
"""
|
313
|
+
return pulumi.get(self, "update_time")
|
314
|
+
|
315
|
+
@update_time.setter
|
316
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
317
|
+
pulumi.set(self, "update_time", value)
|
318
|
+
|
319
|
+
|
320
|
+
class FirewallEndpoint(pulumi.CustomResource):
|
321
|
+
@overload
|
322
|
+
def __init__(__self__,
|
323
|
+
resource_name: str,
|
324
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
325
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
326
|
+
location: Optional[pulumi.Input[str]] = None,
|
327
|
+
name: Optional[pulumi.Input[str]] = None,
|
328
|
+
parent: Optional[pulumi.Input[str]] = None,
|
329
|
+
__props__=None):
|
330
|
+
"""
|
331
|
+
## Example Usage
|
332
|
+
### Network Security Firewall Endpoint Basic
|
333
|
+
|
334
|
+
```python
|
335
|
+
import pulumi
|
336
|
+
import pulumi_gcp as gcp
|
337
|
+
|
338
|
+
default = gcp.networksecurity.FirewallEndpoint("default",
|
339
|
+
parent="organizations/123456789",
|
340
|
+
location="us-central1-a",
|
341
|
+
labels={
|
342
|
+
"foo": "bar",
|
343
|
+
},
|
344
|
+
opts=pulumi.ResourceOptions(provider=google_beta))
|
345
|
+
```
|
346
|
+
|
347
|
+
## Import
|
348
|
+
|
349
|
+
FirewallEndpoint can be imported using any of these accepted formats:
|
350
|
+
|
351
|
+
* `{{parent}}/locations/{{location}}/firewallEndpoints/{{name}}`
|
352
|
+
|
353
|
+
When using the `pulumi import` command, FirewallEndpoint can be imported using one of the formats above. For example:
|
354
|
+
|
355
|
+
```sh
|
356
|
+
$ pulumi import gcp:networksecurity/firewallEndpoint:FirewallEndpoint default {{parent}}/locations/{{location}}/firewallEndpoints/{{name}}
|
357
|
+
```
|
358
|
+
|
359
|
+
:param str resource_name: The name of the resource.
|
360
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
361
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
362
|
+
|
363
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
364
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
365
|
+
:param pulumi.Input[str] location: The location (zone) of the firewall endpoint.
|
366
|
+
:param pulumi.Input[str] name: The name of the firewall endpoint resource.
|
367
|
+
:param pulumi.Input[str] parent: The name of the parent this firewall endpoint belongs to.
|
368
|
+
Format: organizations/{organization_id}.
|
369
|
+
|
370
|
+
|
371
|
+
- - -
|
372
|
+
"""
|
373
|
+
...
|
374
|
+
@overload
|
375
|
+
def __init__(__self__,
|
376
|
+
resource_name: str,
|
377
|
+
args: FirewallEndpointArgs,
|
378
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
379
|
+
"""
|
380
|
+
## Example Usage
|
381
|
+
### Network Security Firewall Endpoint Basic
|
382
|
+
|
383
|
+
```python
|
384
|
+
import pulumi
|
385
|
+
import pulumi_gcp as gcp
|
386
|
+
|
387
|
+
default = gcp.networksecurity.FirewallEndpoint("default",
|
388
|
+
parent="organizations/123456789",
|
389
|
+
location="us-central1-a",
|
390
|
+
labels={
|
391
|
+
"foo": "bar",
|
392
|
+
},
|
393
|
+
opts=pulumi.ResourceOptions(provider=google_beta))
|
394
|
+
```
|
395
|
+
|
396
|
+
## Import
|
397
|
+
|
398
|
+
FirewallEndpoint can be imported using any of these accepted formats:
|
399
|
+
|
400
|
+
* `{{parent}}/locations/{{location}}/firewallEndpoints/{{name}}`
|
401
|
+
|
402
|
+
When using the `pulumi import` command, FirewallEndpoint can be imported using one of the formats above. For example:
|
403
|
+
|
404
|
+
```sh
|
405
|
+
$ pulumi import gcp:networksecurity/firewallEndpoint:FirewallEndpoint default {{parent}}/locations/{{location}}/firewallEndpoints/{{name}}
|
406
|
+
```
|
407
|
+
|
408
|
+
:param str resource_name: The name of the resource.
|
409
|
+
:param FirewallEndpointArgs args: The arguments to use to populate this resource's properties.
|
410
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
411
|
+
"""
|
412
|
+
...
|
413
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
414
|
+
resource_args, opts = _utilities.get_resource_args_opts(FirewallEndpointArgs, pulumi.ResourceOptions, *args, **kwargs)
|
415
|
+
if resource_args is not None:
|
416
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
417
|
+
else:
|
418
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
419
|
+
|
420
|
+
def _internal_init(__self__,
|
421
|
+
resource_name: str,
|
422
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
423
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
424
|
+
location: Optional[pulumi.Input[str]] = None,
|
425
|
+
name: Optional[pulumi.Input[str]] = None,
|
426
|
+
parent: Optional[pulumi.Input[str]] = None,
|
427
|
+
__props__=None):
|
428
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
429
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
430
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
431
|
+
if opts.id is None:
|
432
|
+
if __props__ is not None:
|
433
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
434
|
+
__props__ = FirewallEndpointArgs.__new__(FirewallEndpointArgs)
|
435
|
+
|
436
|
+
__props__.__dict__["labels"] = labels
|
437
|
+
if location is None and not opts.urn:
|
438
|
+
raise TypeError("Missing required property 'location'")
|
439
|
+
__props__.__dict__["location"] = location
|
440
|
+
__props__.__dict__["name"] = name
|
441
|
+
if parent is None and not opts.urn:
|
442
|
+
raise TypeError("Missing required property 'parent'")
|
443
|
+
__props__.__dict__["parent"] = parent
|
444
|
+
__props__.__dict__["associated_networks"] = None
|
445
|
+
__props__.__dict__["create_time"] = None
|
446
|
+
__props__.__dict__["effective_labels"] = None
|
447
|
+
__props__.__dict__["pulumi_labels"] = None
|
448
|
+
__props__.__dict__["reconciling"] = None
|
449
|
+
__props__.__dict__["self_link"] = None
|
450
|
+
__props__.__dict__["state"] = None
|
451
|
+
__props__.__dict__["update_time"] = None
|
452
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
453
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
454
|
+
super(FirewallEndpoint, __self__).__init__(
|
455
|
+
'gcp:networksecurity/firewallEndpoint:FirewallEndpoint',
|
456
|
+
resource_name,
|
457
|
+
__props__,
|
458
|
+
opts)
|
459
|
+
|
460
|
+
@staticmethod
|
461
|
+
def get(resource_name: str,
|
462
|
+
id: pulumi.Input[str],
|
463
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
464
|
+
associated_networks: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
465
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
466
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
467
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
468
|
+
location: Optional[pulumi.Input[str]] = None,
|
469
|
+
name: Optional[pulumi.Input[str]] = None,
|
470
|
+
parent: Optional[pulumi.Input[str]] = None,
|
471
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
472
|
+
reconciling: Optional[pulumi.Input[bool]] = None,
|
473
|
+
self_link: Optional[pulumi.Input[str]] = None,
|
474
|
+
state: Optional[pulumi.Input[str]] = None,
|
475
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'FirewallEndpoint':
|
476
|
+
"""
|
477
|
+
Get an existing FirewallEndpoint resource's state with the given name, id, and optional extra
|
478
|
+
properties used to qualify the lookup.
|
479
|
+
|
480
|
+
:param str resource_name: The unique name of the resulting resource.
|
481
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
482
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
483
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] associated_networks: List of networks that are associated with this endpoint in the local zone.
|
484
|
+
This is a projection of the FirewallEndpointAssociations pointing at this
|
485
|
+
endpoint. A network will only appear in this list after traffic routing is
|
486
|
+
fully configured. Format: projects/{project}/global/networks/{name}.
|
487
|
+
:param pulumi.Input[str] create_time: Time the firewall endpoint was created in UTC.
|
488
|
+
: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.
|
489
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: A map of key/value label pairs to assign to the resource.
|
490
|
+
|
491
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
492
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
493
|
+
:param pulumi.Input[str] location: The location (zone) of the firewall endpoint.
|
494
|
+
:param pulumi.Input[str] name: The name of the firewall endpoint resource.
|
495
|
+
:param pulumi.Input[str] parent: The name of the parent this firewall endpoint belongs to.
|
496
|
+
Format: organizations/{organization_id}.
|
497
|
+
|
498
|
+
|
499
|
+
- - -
|
500
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
501
|
+
and default labels configured on the provider.
|
502
|
+
:param pulumi.Input[bool] reconciling: Whether reconciling is in progress, recommended per https://google.aip.dev/128.
|
503
|
+
:param pulumi.Input[str] self_link: Server-defined URL of this resource.
|
504
|
+
:param pulumi.Input[str] state: The current state of the endpoint.
|
505
|
+
:param pulumi.Input[str] update_time: Time the firewall endpoint was updated in UTC.
|
506
|
+
"""
|
507
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
508
|
+
|
509
|
+
__props__ = _FirewallEndpointState.__new__(_FirewallEndpointState)
|
510
|
+
|
511
|
+
__props__.__dict__["associated_networks"] = associated_networks
|
512
|
+
__props__.__dict__["create_time"] = create_time
|
513
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
514
|
+
__props__.__dict__["labels"] = labels
|
515
|
+
__props__.__dict__["location"] = location
|
516
|
+
__props__.__dict__["name"] = name
|
517
|
+
__props__.__dict__["parent"] = parent
|
518
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
519
|
+
__props__.__dict__["reconciling"] = reconciling
|
520
|
+
__props__.__dict__["self_link"] = self_link
|
521
|
+
__props__.__dict__["state"] = state
|
522
|
+
__props__.__dict__["update_time"] = update_time
|
523
|
+
return FirewallEndpoint(resource_name, opts=opts, __props__=__props__)
|
524
|
+
|
525
|
+
@property
|
526
|
+
@pulumi.getter(name="associatedNetworks")
|
527
|
+
def associated_networks(self) -> pulumi.Output[Sequence[str]]:
|
528
|
+
"""
|
529
|
+
List of networks that are associated with this endpoint in the local zone.
|
530
|
+
This is a projection of the FirewallEndpointAssociations pointing at this
|
531
|
+
endpoint. A network will only appear in this list after traffic routing is
|
532
|
+
fully configured. Format: projects/{project}/global/networks/{name}.
|
533
|
+
"""
|
534
|
+
return pulumi.get(self, "associated_networks")
|
535
|
+
|
536
|
+
@property
|
537
|
+
@pulumi.getter(name="createTime")
|
538
|
+
def create_time(self) -> pulumi.Output[str]:
|
539
|
+
"""
|
540
|
+
Time the firewall endpoint was created in UTC.
|
541
|
+
"""
|
542
|
+
return pulumi.get(self, "create_time")
|
543
|
+
|
544
|
+
@property
|
545
|
+
@pulumi.getter(name="effectiveLabels")
|
546
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
547
|
+
"""
|
548
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
549
|
+
"""
|
550
|
+
return pulumi.get(self, "effective_labels")
|
551
|
+
|
552
|
+
@property
|
553
|
+
@pulumi.getter
|
554
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
555
|
+
"""
|
556
|
+
A map of key/value label pairs to assign to the resource.
|
557
|
+
|
558
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
559
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
560
|
+
"""
|
561
|
+
return pulumi.get(self, "labels")
|
562
|
+
|
563
|
+
@property
|
564
|
+
@pulumi.getter
|
565
|
+
def location(self) -> pulumi.Output[str]:
|
566
|
+
"""
|
567
|
+
The location (zone) of the firewall endpoint.
|
568
|
+
"""
|
569
|
+
return pulumi.get(self, "location")
|
570
|
+
|
571
|
+
@property
|
572
|
+
@pulumi.getter
|
573
|
+
def name(self) -> pulumi.Output[str]:
|
574
|
+
"""
|
575
|
+
The name of the firewall endpoint resource.
|
576
|
+
"""
|
577
|
+
return pulumi.get(self, "name")
|
578
|
+
|
579
|
+
@property
|
580
|
+
@pulumi.getter
|
581
|
+
def parent(self) -> pulumi.Output[str]:
|
582
|
+
"""
|
583
|
+
The name of the parent this firewall endpoint belongs to.
|
584
|
+
Format: organizations/{organization_id}.
|
585
|
+
|
586
|
+
|
587
|
+
- - -
|
588
|
+
"""
|
589
|
+
return pulumi.get(self, "parent")
|
590
|
+
|
591
|
+
@property
|
592
|
+
@pulumi.getter(name="pulumiLabels")
|
593
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
594
|
+
"""
|
595
|
+
The combination of labels configured directly on the resource
|
596
|
+
and default labels configured on the provider.
|
597
|
+
"""
|
598
|
+
return pulumi.get(self, "pulumi_labels")
|
599
|
+
|
600
|
+
@property
|
601
|
+
@pulumi.getter
|
602
|
+
def reconciling(self) -> pulumi.Output[bool]:
|
603
|
+
"""
|
604
|
+
Whether reconciling is in progress, recommended per https://google.aip.dev/128.
|
605
|
+
"""
|
606
|
+
return pulumi.get(self, "reconciling")
|
607
|
+
|
608
|
+
@property
|
609
|
+
@pulumi.getter(name="selfLink")
|
610
|
+
def self_link(self) -> pulumi.Output[str]:
|
611
|
+
"""
|
612
|
+
Server-defined URL of this resource.
|
613
|
+
"""
|
614
|
+
return pulumi.get(self, "self_link")
|
615
|
+
|
616
|
+
@property
|
617
|
+
@pulumi.getter
|
618
|
+
def state(self) -> pulumi.Output[str]:
|
619
|
+
"""
|
620
|
+
The current state of the endpoint.
|
621
|
+
"""
|
622
|
+
return pulumi.get(self, "state")
|
623
|
+
|
624
|
+
@property
|
625
|
+
@pulumi.getter(name="updateTime")
|
626
|
+
def update_time(self) -> pulumi.Output[str]:
|
627
|
+
"""
|
628
|
+
Time the firewall endpoint was updated in UTC.
|
629
|
+
"""
|
630
|
+
return pulumi.get(self, "update_time")
|
631
|
+
|