pulumi-gcp 8.15.0a1737527599__py3-none-any.whl → 8.16.0a1737786862__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 +78 -0
- pulumi_gcp/accesscontextmanager/access_level_condition.py +28 -0
- pulumi_gcp/accesscontextmanager/egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_dry_run_resource.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_egress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_ingress_policy.py +28 -0
- pulumi_gcp/accesscontextmanager/service_perimeter_resource.py +56 -0
- pulumi_gcp/apigee/__init__.py +1 -0
- pulumi_gcp/apigee/environment_addons_config.py +266 -0
- pulumi_gcp/artifactregistry/repository.py +32 -2
- pulumi_gcp/bigquery/connection.py +2 -2
- pulumi_gcp/bigquery/routine.py +2 -2
- pulumi_gcp/billing/project_info.py +4 -4
- pulumi_gcp/chronicle/__init__.py +3 -0
- pulumi_gcp/chronicle/_inputs.py +379 -0
- pulumi_gcp/chronicle/data_access_label.py +21 -21
- pulumi_gcp/chronicle/outputs.py +302 -0
- pulumi_gcp/chronicle/reference_list.py +788 -0
- pulumi_gcp/chronicle/rule.py +1308 -0
- pulumi_gcp/chronicle/rule_deployment.py +849 -0
- pulumi_gcp/colab/__init__.py +10 -0
- pulumi_gcp/colab/_inputs.py +359 -0
- pulumi_gcp/colab/outputs.py +344 -0
- pulumi_gcp/colab/runtime_template.py +1160 -0
- pulumi_gcp/compute/_inputs.py +9 -9
- pulumi_gcp/compute/interconnect_attachment.py +7 -7
- pulumi_gcp/compute/outputs.py +6 -6
- pulumi_gcp/compute/route.py +8 -16
- pulumi_gcp/compute/subnetwork.py +7 -7
- pulumi_gcp/compute/target_instance.py +4 -4
- pulumi_gcp/compute/url_map.py +4 -0
- pulumi_gcp/config/__init__.pyi +6 -0
- pulumi_gcp/config/vars.py +12 -0
- pulumi_gcp/databasemigrationservice/connection_profile.py +6 -6
- pulumi_gcp/dataplex/entry_type.py +2 -2
- pulumi_gcp/dataplex/task.py +16 -16
- pulumi_gcp/dataproc/batch.py +10 -10
- pulumi_gcp/discoveryengine/_inputs.py +54 -0
- pulumi_gcp/discoveryengine/data_store.py +94 -0
- pulumi_gcp/discoveryengine/outputs.py +51 -0
- pulumi_gcp/edgenetwork/__init__.py +1 -0
- pulumi_gcp/edgenetwork/interconnect_attachment.py +941 -0
- pulumi_gcp/firestore/field.py +4 -4
- pulumi_gcp/gemini/code_repository_index.py +47 -0
- pulumi_gcp/gkehub/membership_binding.py +6 -6
- pulumi_gcp/gkehub/membership_rbac_role_binding.py +4 -4
- pulumi_gcp/gkehub/namespace.py +4 -4
- pulumi_gcp/gkehub/scope_rbac_role_binding.py +4 -4
- pulumi_gcp/iap/tunnel_dest_group.py +2 -2
- pulumi_gcp/integrationconnectors/managed_zone.py +8 -8
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/networksecurity/authz_policy.py +0 -202
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/parametermanager/__init__.py +13 -0
- pulumi_gcp/parametermanager/_inputs.py +174 -0
- pulumi_gcp/parametermanager/get_regional_parameter.py +230 -0
- pulumi_gcp/parametermanager/outputs.py +191 -0
- pulumi_gcp/parametermanager/parameter.py +706 -0
- pulumi_gcp/parametermanager/regional_parameter.py +762 -0
- pulumi_gcp/parametermanager/regional_parameter_version.py +558 -0
- pulumi_gcp/provider.py +60 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +54 -0
- pulumi_gcp/sql/database_instance.py +78 -16
- pulumi_gcp/sql/get_database_instance.py +12 -1
- pulumi_gcp/sql/outputs.py +122 -0
- pulumi_gcp/sql/source_representation_instance.py +7 -14
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +4 -4
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/RECORD +77 -61
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.15.0a1737527599.dist-info → pulumi_gcp-8.16.0a1737786862.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,941 @@
|
|
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 sys
|
8
|
+
import pulumi
|
9
|
+
import pulumi.runtime
|
10
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
11
|
+
if sys.version_info >= (3, 11):
|
12
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
13
|
+
else:
|
14
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
15
|
+
from .. import _utilities
|
16
|
+
|
17
|
+
__all__ = ['InterconnectAttachmentArgs', 'InterconnectAttachment']
|
18
|
+
|
19
|
+
@pulumi.input_type
|
20
|
+
class InterconnectAttachmentArgs:
|
21
|
+
def __init__(__self__, *,
|
22
|
+
interconnect: pulumi.Input[str],
|
23
|
+
interconnect_attachment_id: pulumi.Input[str],
|
24
|
+
location: pulumi.Input[str],
|
25
|
+
network: pulumi.Input[str],
|
26
|
+
vlan_id: pulumi.Input[int],
|
27
|
+
zone: pulumi.Input[str],
|
28
|
+
description: Optional[pulumi.Input[str]] = None,
|
29
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
30
|
+
mtu: Optional[pulumi.Input[int]] = None,
|
31
|
+
project: Optional[pulumi.Input[str]] = None):
|
32
|
+
"""
|
33
|
+
The set of arguments for constructing a InterconnectAttachment resource.
|
34
|
+
:param pulumi.Input[str] interconnect: The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
35
|
+
:param pulumi.Input[str] interconnect_attachment_id: A unique ID that identifies this interconnect attachment.
|
36
|
+
|
37
|
+
|
38
|
+
- - -
|
39
|
+
:param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
40
|
+
:param pulumi.Input[str] network: The ID of the network to which this interconnect attachment belongs.
|
41
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
42
|
+
:param pulumi.Input[int] vlan_id: VLAN ID provided by user. Must be site-wise unique.
|
43
|
+
:param pulumi.Input[str] zone: The name of the target Distributed Cloud Edge zone.
|
44
|
+
:param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
|
45
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
|
46
|
+
|
47
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
48
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
49
|
+
:param pulumi.Input[int] mtu: IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
50
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
51
|
+
If it is not provided, the provider project is used.
|
52
|
+
"""
|
53
|
+
pulumi.set(__self__, "interconnect", interconnect)
|
54
|
+
pulumi.set(__self__, "interconnect_attachment_id", interconnect_attachment_id)
|
55
|
+
pulumi.set(__self__, "location", location)
|
56
|
+
pulumi.set(__self__, "network", network)
|
57
|
+
pulumi.set(__self__, "vlan_id", vlan_id)
|
58
|
+
pulumi.set(__self__, "zone", zone)
|
59
|
+
if description is not None:
|
60
|
+
pulumi.set(__self__, "description", description)
|
61
|
+
if labels is not None:
|
62
|
+
pulumi.set(__self__, "labels", labels)
|
63
|
+
if mtu is not None:
|
64
|
+
pulumi.set(__self__, "mtu", mtu)
|
65
|
+
if project is not None:
|
66
|
+
pulumi.set(__self__, "project", project)
|
67
|
+
|
68
|
+
@property
|
69
|
+
@pulumi.getter
|
70
|
+
def interconnect(self) -> pulumi.Input[str]:
|
71
|
+
"""
|
72
|
+
The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
73
|
+
"""
|
74
|
+
return pulumi.get(self, "interconnect")
|
75
|
+
|
76
|
+
@interconnect.setter
|
77
|
+
def interconnect(self, value: pulumi.Input[str]):
|
78
|
+
pulumi.set(self, "interconnect", value)
|
79
|
+
|
80
|
+
@property
|
81
|
+
@pulumi.getter(name="interconnectAttachmentId")
|
82
|
+
def interconnect_attachment_id(self) -> pulumi.Input[str]:
|
83
|
+
"""
|
84
|
+
A unique ID that identifies this interconnect attachment.
|
85
|
+
|
86
|
+
|
87
|
+
- - -
|
88
|
+
"""
|
89
|
+
return pulumi.get(self, "interconnect_attachment_id")
|
90
|
+
|
91
|
+
@interconnect_attachment_id.setter
|
92
|
+
def interconnect_attachment_id(self, value: pulumi.Input[str]):
|
93
|
+
pulumi.set(self, "interconnect_attachment_id", value)
|
94
|
+
|
95
|
+
@property
|
96
|
+
@pulumi.getter
|
97
|
+
def location(self) -> pulumi.Input[str]:
|
98
|
+
"""
|
99
|
+
The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "location")
|
102
|
+
|
103
|
+
@location.setter
|
104
|
+
def location(self, value: pulumi.Input[str]):
|
105
|
+
pulumi.set(self, "location", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def network(self) -> pulumi.Input[str]:
|
110
|
+
"""
|
111
|
+
The ID of the network to which this interconnect attachment belongs.
|
112
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
113
|
+
"""
|
114
|
+
return pulumi.get(self, "network")
|
115
|
+
|
116
|
+
@network.setter
|
117
|
+
def network(self, value: pulumi.Input[str]):
|
118
|
+
pulumi.set(self, "network", value)
|
119
|
+
|
120
|
+
@property
|
121
|
+
@pulumi.getter(name="vlanId")
|
122
|
+
def vlan_id(self) -> pulumi.Input[int]:
|
123
|
+
"""
|
124
|
+
VLAN ID provided by user. Must be site-wise unique.
|
125
|
+
"""
|
126
|
+
return pulumi.get(self, "vlan_id")
|
127
|
+
|
128
|
+
@vlan_id.setter
|
129
|
+
def vlan_id(self, value: pulumi.Input[int]):
|
130
|
+
pulumi.set(self, "vlan_id", value)
|
131
|
+
|
132
|
+
@property
|
133
|
+
@pulumi.getter
|
134
|
+
def zone(self) -> pulumi.Input[str]:
|
135
|
+
"""
|
136
|
+
The name of the target Distributed Cloud Edge zone.
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "zone")
|
139
|
+
|
140
|
+
@zone.setter
|
141
|
+
def zone(self, value: pulumi.Input[str]):
|
142
|
+
pulumi.set(self, "zone", value)
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter
|
146
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
147
|
+
"""
|
148
|
+
A free-text description of the resource. Max length 1024 characters.
|
149
|
+
"""
|
150
|
+
return pulumi.get(self, "description")
|
151
|
+
|
152
|
+
@description.setter
|
153
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
154
|
+
pulumi.set(self, "description", value)
|
155
|
+
|
156
|
+
@property
|
157
|
+
@pulumi.getter
|
158
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
159
|
+
"""
|
160
|
+
Labels associated with this resource.
|
161
|
+
|
162
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
163
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
164
|
+
"""
|
165
|
+
return pulumi.get(self, "labels")
|
166
|
+
|
167
|
+
@labels.setter
|
168
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
169
|
+
pulumi.set(self, "labels", value)
|
170
|
+
|
171
|
+
@property
|
172
|
+
@pulumi.getter
|
173
|
+
def mtu(self) -> Optional[pulumi.Input[int]]:
|
174
|
+
"""
|
175
|
+
IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "mtu")
|
178
|
+
|
179
|
+
@mtu.setter
|
180
|
+
def mtu(self, value: Optional[pulumi.Input[int]]):
|
181
|
+
pulumi.set(self, "mtu", value)
|
182
|
+
|
183
|
+
@property
|
184
|
+
@pulumi.getter
|
185
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
186
|
+
"""
|
187
|
+
The ID of the project in which the resource belongs.
|
188
|
+
If it is not provided, the provider project is used.
|
189
|
+
"""
|
190
|
+
return pulumi.get(self, "project")
|
191
|
+
|
192
|
+
@project.setter
|
193
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
194
|
+
pulumi.set(self, "project", value)
|
195
|
+
|
196
|
+
|
197
|
+
@pulumi.input_type
|
198
|
+
class _InterconnectAttachmentState:
|
199
|
+
def __init__(__self__, *,
|
200
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
201
|
+
description: Optional[pulumi.Input[str]] = None,
|
202
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
203
|
+
interconnect: Optional[pulumi.Input[str]] = None,
|
204
|
+
interconnect_attachment_id: Optional[pulumi.Input[str]] = None,
|
205
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
206
|
+
location: Optional[pulumi.Input[str]] = None,
|
207
|
+
mtu: Optional[pulumi.Input[int]] = None,
|
208
|
+
name: Optional[pulumi.Input[str]] = None,
|
209
|
+
network: Optional[pulumi.Input[str]] = None,
|
210
|
+
project: Optional[pulumi.Input[str]] = None,
|
211
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
212
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
213
|
+
vlan_id: Optional[pulumi.Input[int]] = None,
|
214
|
+
zone: Optional[pulumi.Input[str]] = None):
|
215
|
+
"""
|
216
|
+
Input properties used for looking up and filtering InterconnectAttachment resources.
|
217
|
+
:param pulumi.Input[str] create_time: The time when the resource was created.
|
218
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
219
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
220
|
+
:param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
|
221
|
+
: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.
|
222
|
+
:param pulumi.Input[str] interconnect: The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
223
|
+
:param pulumi.Input[str] interconnect_attachment_id: A unique ID that identifies this interconnect attachment.
|
224
|
+
|
225
|
+
|
226
|
+
- - -
|
227
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
|
228
|
+
|
229
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
230
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
231
|
+
:param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
232
|
+
:param pulumi.Input[int] mtu: IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
233
|
+
:param pulumi.Input[str] name: The canonical name of this resource, with format
|
234
|
+
`projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}`
|
235
|
+
:param pulumi.Input[str] network: The ID of the network to which this interconnect attachment belongs.
|
236
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
237
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
238
|
+
If it is not provided, the provider project is used.
|
239
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
240
|
+
and default labels configured on the provider.
|
241
|
+
:param pulumi.Input[str] update_time: The time when the resource was last updated.
|
242
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
243
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
244
|
+
:param pulumi.Input[int] vlan_id: VLAN ID provided by user. Must be site-wise unique.
|
245
|
+
:param pulumi.Input[str] zone: The name of the target Distributed Cloud Edge zone.
|
246
|
+
"""
|
247
|
+
if create_time is not None:
|
248
|
+
pulumi.set(__self__, "create_time", create_time)
|
249
|
+
if description is not None:
|
250
|
+
pulumi.set(__self__, "description", description)
|
251
|
+
if effective_labels is not None:
|
252
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
253
|
+
if interconnect is not None:
|
254
|
+
pulumi.set(__self__, "interconnect", interconnect)
|
255
|
+
if interconnect_attachment_id is not None:
|
256
|
+
pulumi.set(__self__, "interconnect_attachment_id", interconnect_attachment_id)
|
257
|
+
if labels is not None:
|
258
|
+
pulumi.set(__self__, "labels", labels)
|
259
|
+
if location is not None:
|
260
|
+
pulumi.set(__self__, "location", location)
|
261
|
+
if mtu is not None:
|
262
|
+
pulumi.set(__self__, "mtu", mtu)
|
263
|
+
if name is not None:
|
264
|
+
pulumi.set(__self__, "name", name)
|
265
|
+
if network is not None:
|
266
|
+
pulumi.set(__self__, "network", network)
|
267
|
+
if project is not None:
|
268
|
+
pulumi.set(__self__, "project", project)
|
269
|
+
if pulumi_labels is not None:
|
270
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
271
|
+
if update_time is not None:
|
272
|
+
pulumi.set(__self__, "update_time", update_time)
|
273
|
+
if vlan_id is not None:
|
274
|
+
pulumi.set(__self__, "vlan_id", vlan_id)
|
275
|
+
if zone is not None:
|
276
|
+
pulumi.set(__self__, "zone", zone)
|
277
|
+
|
278
|
+
@property
|
279
|
+
@pulumi.getter(name="createTime")
|
280
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
281
|
+
"""
|
282
|
+
The time when the resource was created.
|
283
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
284
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
285
|
+
"""
|
286
|
+
return pulumi.get(self, "create_time")
|
287
|
+
|
288
|
+
@create_time.setter
|
289
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
290
|
+
pulumi.set(self, "create_time", value)
|
291
|
+
|
292
|
+
@property
|
293
|
+
@pulumi.getter
|
294
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
295
|
+
"""
|
296
|
+
A free-text description of the resource. Max length 1024 characters.
|
297
|
+
"""
|
298
|
+
return pulumi.get(self, "description")
|
299
|
+
|
300
|
+
@description.setter
|
301
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
302
|
+
pulumi.set(self, "description", value)
|
303
|
+
|
304
|
+
@property
|
305
|
+
@pulumi.getter(name="effectiveLabels")
|
306
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
307
|
+
"""
|
308
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
309
|
+
"""
|
310
|
+
return pulumi.get(self, "effective_labels")
|
311
|
+
|
312
|
+
@effective_labels.setter
|
313
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
314
|
+
pulumi.set(self, "effective_labels", value)
|
315
|
+
|
316
|
+
@property
|
317
|
+
@pulumi.getter
|
318
|
+
def interconnect(self) -> Optional[pulumi.Input[str]]:
|
319
|
+
"""
|
320
|
+
The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
321
|
+
"""
|
322
|
+
return pulumi.get(self, "interconnect")
|
323
|
+
|
324
|
+
@interconnect.setter
|
325
|
+
def interconnect(self, value: Optional[pulumi.Input[str]]):
|
326
|
+
pulumi.set(self, "interconnect", value)
|
327
|
+
|
328
|
+
@property
|
329
|
+
@pulumi.getter(name="interconnectAttachmentId")
|
330
|
+
def interconnect_attachment_id(self) -> Optional[pulumi.Input[str]]:
|
331
|
+
"""
|
332
|
+
A unique ID that identifies this interconnect attachment.
|
333
|
+
|
334
|
+
|
335
|
+
- - -
|
336
|
+
"""
|
337
|
+
return pulumi.get(self, "interconnect_attachment_id")
|
338
|
+
|
339
|
+
@interconnect_attachment_id.setter
|
340
|
+
def interconnect_attachment_id(self, value: Optional[pulumi.Input[str]]):
|
341
|
+
pulumi.set(self, "interconnect_attachment_id", value)
|
342
|
+
|
343
|
+
@property
|
344
|
+
@pulumi.getter
|
345
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
346
|
+
"""
|
347
|
+
Labels associated with this resource.
|
348
|
+
|
349
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
350
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
351
|
+
"""
|
352
|
+
return pulumi.get(self, "labels")
|
353
|
+
|
354
|
+
@labels.setter
|
355
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
356
|
+
pulumi.set(self, "labels", value)
|
357
|
+
|
358
|
+
@property
|
359
|
+
@pulumi.getter
|
360
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
361
|
+
"""
|
362
|
+
The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
363
|
+
"""
|
364
|
+
return pulumi.get(self, "location")
|
365
|
+
|
366
|
+
@location.setter
|
367
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
368
|
+
pulumi.set(self, "location", value)
|
369
|
+
|
370
|
+
@property
|
371
|
+
@pulumi.getter
|
372
|
+
def mtu(self) -> Optional[pulumi.Input[int]]:
|
373
|
+
"""
|
374
|
+
IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
375
|
+
"""
|
376
|
+
return pulumi.get(self, "mtu")
|
377
|
+
|
378
|
+
@mtu.setter
|
379
|
+
def mtu(self, value: Optional[pulumi.Input[int]]):
|
380
|
+
pulumi.set(self, "mtu", value)
|
381
|
+
|
382
|
+
@property
|
383
|
+
@pulumi.getter
|
384
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
385
|
+
"""
|
386
|
+
The canonical name of this resource, with format
|
387
|
+
`projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}`
|
388
|
+
"""
|
389
|
+
return pulumi.get(self, "name")
|
390
|
+
|
391
|
+
@name.setter
|
392
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
393
|
+
pulumi.set(self, "name", value)
|
394
|
+
|
395
|
+
@property
|
396
|
+
@pulumi.getter
|
397
|
+
def network(self) -> Optional[pulumi.Input[str]]:
|
398
|
+
"""
|
399
|
+
The ID of the network to which this interconnect attachment belongs.
|
400
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
401
|
+
"""
|
402
|
+
return pulumi.get(self, "network")
|
403
|
+
|
404
|
+
@network.setter
|
405
|
+
def network(self, value: Optional[pulumi.Input[str]]):
|
406
|
+
pulumi.set(self, "network", value)
|
407
|
+
|
408
|
+
@property
|
409
|
+
@pulumi.getter
|
410
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
411
|
+
"""
|
412
|
+
The ID of the project in which the resource belongs.
|
413
|
+
If it is not provided, the provider project is used.
|
414
|
+
"""
|
415
|
+
return pulumi.get(self, "project")
|
416
|
+
|
417
|
+
@project.setter
|
418
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
419
|
+
pulumi.set(self, "project", value)
|
420
|
+
|
421
|
+
@property
|
422
|
+
@pulumi.getter(name="pulumiLabels")
|
423
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
424
|
+
"""
|
425
|
+
The combination of labels configured directly on the resource
|
426
|
+
and default labels configured on the provider.
|
427
|
+
"""
|
428
|
+
return pulumi.get(self, "pulumi_labels")
|
429
|
+
|
430
|
+
@pulumi_labels.setter
|
431
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
432
|
+
pulumi.set(self, "pulumi_labels", value)
|
433
|
+
|
434
|
+
@property
|
435
|
+
@pulumi.getter(name="updateTime")
|
436
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
437
|
+
"""
|
438
|
+
The time when the resource was last updated.
|
439
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
440
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
441
|
+
"""
|
442
|
+
return pulumi.get(self, "update_time")
|
443
|
+
|
444
|
+
@update_time.setter
|
445
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
446
|
+
pulumi.set(self, "update_time", value)
|
447
|
+
|
448
|
+
@property
|
449
|
+
@pulumi.getter(name="vlanId")
|
450
|
+
def vlan_id(self) -> Optional[pulumi.Input[int]]:
|
451
|
+
"""
|
452
|
+
VLAN ID provided by user. Must be site-wise unique.
|
453
|
+
"""
|
454
|
+
return pulumi.get(self, "vlan_id")
|
455
|
+
|
456
|
+
@vlan_id.setter
|
457
|
+
def vlan_id(self, value: Optional[pulumi.Input[int]]):
|
458
|
+
pulumi.set(self, "vlan_id", value)
|
459
|
+
|
460
|
+
@property
|
461
|
+
@pulumi.getter
|
462
|
+
def zone(self) -> Optional[pulumi.Input[str]]:
|
463
|
+
"""
|
464
|
+
The name of the target Distributed Cloud Edge zone.
|
465
|
+
"""
|
466
|
+
return pulumi.get(self, "zone")
|
467
|
+
|
468
|
+
@zone.setter
|
469
|
+
def zone(self, value: Optional[pulumi.Input[str]]):
|
470
|
+
pulumi.set(self, "zone", value)
|
471
|
+
|
472
|
+
|
473
|
+
class InterconnectAttachment(pulumi.CustomResource):
|
474
|
+
@overload
|
475
|
+
def __init__(__self__,
|
476
|
+
resource_name: str,
|
477
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
478
|
+
description: Optional[pulumi.Input[str]] = None,
|
479
|
+
interconnect: Optional[pulumi.Input[str]] = None,
|
480
|
+
interconnect_attachment_id: Optional[pulumi.Input[str]] = None,
|
481
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
482
|
+
location: Optional[pulumi.Input[str]] = None,
|
483
|
+
mtu: Optional[pulumi.Input[int]] = None,
|
484
|
+
network: Optional[pulumi.Input[str]] = None,
|
485
|
+
project: Optional[pulumi.Input[str]] = None,
|
486
|
+
vlan_id: Optional[pulumi.Input[int]] = None,
|
487
|
+
zone: Optional[pulumi.Input[str]] = None,
|
488
|
+
__props__=None):
|
489
|
+
"""
|
490
|
+
A Distributed Cloud Edge interconnect attachment, which connects routers to the northbound network.
|
491
|
+
|
492
|
+
To get more information about InterconnectAttachment, see:
|
493
|
+
|
494
|
+
* [API documentation](https://cloud.google.com/distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.interconnectAttachments)
|
495
|
+
* How-to Guides
|
496
|
+
* [Create and manage interconnect attachments](https://cloud.google.com/distributed-cloud/edge/latest/docs/attachments#api)
|
497
|
+
|
498
|
+
## Example Usage
|
499
|
+
|
500
|
+
### Edgenetwork Interconnect Attachment
|
501
|
+
|
502
|
+
```python
|
503
|
+
import pulumi
|
504
|
+
import pulumi_gcp as gcp
|
505
|
+
|
506
|
+
example_network = gcp.edgenetwork.Network("example_network",
|
507
|
+
network_id="example-network",
|
508
|
+
location="us-west1",
|
509
|
+
zone="",
|
510
|
+
description="Example network.",
|
511
|
+
mtu=9000)
|
512
|
+
example_interconnect_attachment = gcp.edgenetwork.InterconnectAttachment("example_interconnect_attachment",
|
513
|
+
interconnect_attachment_id="example-interconnect-attachment",
|
514
|
+
location="us-west1",
|
515
|
+
zone="",
|
516
|
+
description="Example interconnect attachment.",
|
517
|
+
network=example_network.id,
|
518
|
+
interconnect="11111111-2222-3333-4444-555555555555",
|
519
|
+
vlan_id=55,
|
520
|
+
mtu=9000,
|
521
|
+
labels={
|
522
|
+
"environment": "dev",
|
523
|
+
})
|
524
|
+
```
|
525
|
+
|
526
|
+
## Import
|
527
|
+
|
528
|
+
InterconnectAttachment can be imported using any of these accepted formats:
|
529
|
+
|
530
|
+
* `projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachment/{{interconnect_attachment_id}}`
|
531
|
+
|
532
|
+
* `{{project}}/{{location}}/{{zone}}/{{interconnect_attachment_id}}`
|
533
|
+
|
534
|
+
* `{{location}}/{{zone}}/{{interconnect_attachment_id}}`
|
535
|
+
|
536
|
+
* `{{location}}/{{interconnect_attachment_id}}`
|
537
|
+
|
538
|
+
* `{{name}}`
|
539
|
+
|
540
|
+
When using the `pulumi import` command, InterconnectAttachment can be imported using one of the formats above. For example:
|
541
|
+
|
542
|
+
```sh
|
543
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachment/{{interconnect_attachment_id}}
|
544
|
+
```
|
545
|
+
|
546
|
+
```sh
|
547
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{project}}/{{location}}/{{zone}}/{{interconnect_attachment_id}}
|
548
|
+
```
|
549
|
+
|
550
|
+
```sh
|
551
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{location}}/{{zone}}/{{interconnect_attachment_id}}
|
552
|
+
```
|
553
|
+
|
554
|
+
```sh
|
555
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{location}}/{{interconnect_attachment_id}}
|
556
|
+
```
|
557
|
+
|
558
|
+
```sh
|
559
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{name}}
|
560
|
+
```
|
561
|
+
|
562
|
+
:param str resource_name: The name of the resource.
|
563
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
564
|
+
:param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
|
565
|
+
:param pulumi.Input[str] interconnect: The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
566
|
+
:param pulumi.Input[str] interconnect_attachment_id: A unique ID that identifies this interconnect attachment.
|
567
|
+
|
568
|
+
|
569
|
+
- - -
|
570
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
|
571
|
+
|
572
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
573
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
574
|
+
:param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
575
|
+
:param pulumi.Input[int] mtu: IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
576
|
+
:param pulumi.Input[str] network: The ID of the network to which this interconnect attachment belongs.
|
577
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
578
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
579
|
+
If it is not provided, the provider project is used.
|
580
|
+
:param pulumi.Input[int] vlan_id: VLAN ID provided by user. Must be site-wise unique.
|
581
|
+
:param pulumi.Input[str] zone: The name of the target Distributed Cloud Edge zone.
|
582
|
+
"""
|
583
|
+
...
|
584
|
+
@overload
|
585
|
+
def __init__(__self__,
|
586
|
+
resource_name: str,
|
587
|
+
args: InterconnectAttachmentArgs,
|
588
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
589
|
+
"""
|
590
|
+
A Distributed Cloud Edge interconnect attachment, which connects routers to the northbound network.
|
591
|
+
|
592
|
+
To get more information about InterconnectAttachment, see:
|
593
|
+
|
594
|
+
* [API documentation](https://cloud.google.com/distributed-cloud/edge/latest/docs/reference/network/rest/v1/projects.locations.zones.interconnectAttachments)
|
595
|
+
* How-to Guides
|
596
|
+
* [Create and manage interconnect attachments](https://cloud.google.com/distributed-cloud/edge/latest/docs/attachments#api)
|
597
|
+
|
598
|
+
## Example Usage
|
599
|
+
|
600
|
+
### Edgenetwork Interconnect Attachment
|
601
|
+
|
602
|
+
```python
|
603
|
+
import pulumi
|
604
|
+
import pulumi_gcp as gcp
|
605
|
+
|
606
|
+
example_network = gcp.edgenetwork.Network("example_network",
|
607
|
+
network_id="example-network",
|
608
|
+
location="us-west1",
|
609
|
+
zone="",
|
610
|
+
description="Example network.",
|
611
|
+
mtu=9000)
|
612
|
+
example_interconnect_attachment = gcp.edgenetwork.InterconnectAttachment("example_interconnect_attachment",
|
613
|
+
interconnect_attachment_id="example-interconnect-attachment",
|
614
|
+
location="us-west1",
|
615
|
+
zone="",
|
616
|
+
description="Example interconnect attachment.",
|
617
|
+
network=example_network.id,
|
618
|
+
interconnect="11111111-2222-3333-4444-555555555555",
|
619
|
+
vlan_id=55,
|
620
|
+
mtu=9000,
|
621
|
+
labels={
|
622
|
+
"environment": "dev",
|
623
|
+
})
|
624
|
+
```
|
625
|
+
|
626
|
+
## Import
|
627
|
+
|
628
|
+
InterconnectAttachment can be imported using any of these accepted formats:
|
629
|
+
|
630
|
+
* `projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachment/{{interconnect_attachment_id}}`
|
631
|
+
|
632
|
+
* `{{project}}/{{location}}/{{zone}}/{{interconnect_attachment_id}}`
|
633
|
+
|
634
|
+
* `{{location}}/{{zone}}/{{interconnect_attachment_id}}`
|
635
|
+
|
636
|
+
* `{{location}}/{{interconnect_attachment_id}}`
|
637
|
+
|
638
|
+
* `{{name}}`
|
639
|
+
|
640
|
+
When using the `pulumi import` command, InterconnectAttachment can be imported using one of the formats above. For example:
|
641
|
+
|
642
|
+
```sh
|
643
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachment/{{interconnect_attachment_id}}
|
644
|
+
```
|
645
|
+
|
646
|
+
```sh
|
647
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{project}}/{{location}}/{{zone}}/{{interconnect_attachment_id}}
|
648
|
+
```
|
649
|
+
|
650
|
+
```sh
|
651
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{location}}/{{zone}}/{{interconnect_attachment_id}}
|
652
|
+
```
|
653
|
+
|
654
|
+
```sh
|
655
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{location}}/{{interconnect_attachment_id}}
|
656
|
+
```
|
657
|
+
|
658
|
+
```sh
|
659
|
+
$ pulumi import gcp:edgenetwork/interconnectAttachment:InterconnectAttachment default {{name}}
|
660
|
+
```
|
661
|
+
|
662
|
+
:param str resource_name: The name of the resource.
|
663
|
+
:param InterconnectAttachmentArgs args: The arguments to use to populate this resource's properties.
|
664
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
665
|
+
"""
|
666
|
+
...
|
667
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
668
|
+
resource_args, opts = _utilities.get_resource_args_opts(InterconnectAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
669
|
+
if resource_args is not None:
|
670
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
671
|
+
else:
|
672
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
673
|
+
|
674
|
+
def _internal_init(__self__,
|
675
|
+
resource_name: str,
|
676
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
677
|
+
description: Optional[pulumi.Input[str]] = None,
|
678
|
+
interconnect: Optional[pulumi.Input[str]] = None,
|
679
|
+
interconnect_attachment_id: Optional[pulumi.Input[str]] = None,
|
680
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
681
|
+
location: Optional[pulumi.Input[str]] = None,
|
682
|
+
mtu: Optional[pulumi.Input[int]] = None,
|
683
|
+
network: Optional[pulumi.Input[str]] = None,
|
684
|
+
project: Optional[pulumi.Input[str]] = None,
|
685
|
+
vlan_id: Optional[pulumi.Input[int]] = None,
|
686
|
+
zone: Optional[pulumi.Input[str]] = None,
|
687
|
+
__props__=None):
|
688
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
689
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
690
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
691
|
+
if opts.id is None:
|
692
|
+
if __props__ is not None:
|
693
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
694
|
+
__props__ = InterconnectAttachmentArgs.__new__(InterconnectAttachmentArgs)
|
695
|
+
|
696
|
+
__props__.__dict__["description"] = description
|
697
|
+
if interconnect is None and not opts.urn:
|
698
|
+
raise TypeError("Missing required property 'interconnect'")
|
699
|
+
__props__.__dict__["interconnect"] = interconnect
|
700
|
+
if interconnect_attachment_id is None and not opts.urn:
|
701
|
+
raise TypeError("Missing required property 'interconnect_attachment_id'")
|
702
|
+
__props__.__dict__["interconnect_attachment_id"] = interconnect_attachment_id
|
703
|
+
__props__.__dict__["labels"] = labels
|
704
|
+
if location is None and not opts.urn:
|
705
|
+
raise TypeError("Missing required property 'location'")
|
706
|
+
__props__.__dict__["location"] = location
|
707
|
+
__props__.__dict__["mtu"] = mtu
|
708
|
+
if network is None and not opts.urn:
|
709
|
+
raise TypeError("Missing required property 'network'")
|
710
|
+
__props__.__dict__["network"] = network
|
711
|
+
__props__.__dict__["project"] = project
|
712
|
+
if vlan_id is None and not opts.urn:
|
713
|
+
raise TypeError("Missing required property 'vlan_id'")
|
714
|
+
__props__.__dict__["vlan_id"] = vlan_id
|
715
|
+
if zone is None and not opts.urn:
|
716
|
+
raise TypeError("Missing required property 'zone'")
|
717
|
+
__props__.__dict__["zone"] = zone
|
718
|
+
__props__.__dict__["create_time"] = None
|
719
|
+
__props__.__dict__["effective_labels"] = None
|
720
|
+
__props__.__dict__["name"] = None
|
721
|
+
__props__.__dict__["pulumi_labels"] = None
|
722
|
+
__props__.__dict__["update_time"] = None
|
723
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
724
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
725
|
+
super(InterconnectAttachment, __self__).__init__(
|
726
|
+
'gcp:edgenetwork/interconnectAttachment:InterconnectAttachment',
|
727
|
+
resource_name,
|
728
|
+
__props__,
|
729
|
+
opts)
|
730
|
+
|
731
|
+
@staticmethod
|
732
|
+
def get(resource_name: str,
|
733
|
+
id: pulumi.Input[str],
|
734
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
735
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
736
|
+
description: Optional[pulumi.Input[str]] = None,
|
737
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
738
|
+
interconnect: Optional[pulumi.Input[str]] = None,
|
739
|
+
interconnect_attachment_id: Optional[pulumi.Input[str]] = None,
|
740
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
741
|
+
location: Optional[pulumi.Input[str]] = None,
|
742
|
+
mtu: Optional[pulumi.Input[int]] = None,
|
743
|
+
name: Optional[pulumi.Input[str]] = None,
|
744
|
+
network: Optional[pulumi.Input[str]] = None,
|
745
|
+
project: Optional[pulumi.Input[str]] = None,
|
746
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
747
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
748
|
+
vlan_id: Optional[pulumi.Input[int]] = None,
|
749
|
+
zone: Optional[pulumi.Input[str]] = None) -> 'InterconnectAttachment':
|
750
|
+
"""
|
751
|
+
Get an existing InterconnectAttachment resource's state with the given name, id, and optional extra
|
752
|
+
properties used to qualify the lookup.
|
753
|
+
|
754
|
+
:param str resource_name: The unique name of the resulting resource.
|
755
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
756
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
757
|
+
:param pulumi.Input[str] create_time: The time when the resource was created.
|
758
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
759
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
760
|
+
:param pulumi.Input[str] description: A free-text description of the resource. Max length 1024 characters.
|
761
|
+
: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.
|
762
|
+
:param pulumi.Input[str] interconnect: The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
763
|
+
:param pulumi.Input[str] interconnect_attachment_id: A unique ID that identifies this interconnect attachment.
|
764
|
+
|
765
|
+
|
766
|
+
- - -
|
767
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Labels associated with this resource.
|
768
|
+
|
769
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
770
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
771
|
+
:param pulumi.Input[str] location: The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
772
|
+
:param pulumi.Input[int] mtu: IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
773
|
+
:param pulumi.Input[str] name: The canonical name of this resource, with format
|
774
|
+
`projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}`
|
775
|
+
:param pulumi.Input[str] network: The ID of the network to which this interconnect attachment belongs.
|
776
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
777
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
778
|
+
If it is not provided, the provider project is used.
|
779
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
780
|
+
and default labels configured on the provider.
|
781
|
+
:param pulumi.Input[str] update_time: The time when the resource was last updated.
|
782
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
783
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
784
|
+
:param pulumi.Input[int] vlan_id: VLAN ID provided by user. Must be site-wise unique.
|
785
|
+
:param pulumi.Input[str] zone: The name of the target Distributed Cloud Edge zone.
|
786
|
+
"""
|
787
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
788
|
+
|
789
|
+
__props__ = _InterconnectAttachmentState.__new__(_InterconnectAttachmentState)
|
790
|
+
|
791
|
+
__props__.__dict__["create_time"] = create_time
|
792
|
+
__props__.__dict__["description"] = description
|
793
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
794
|
+
__props__.__dict__["interconnect"] = interconnect
|
795
|
+
__props__.__dict__["interconnect_attachment_id"] = interconnect_attachment_id
|
796
|
+
__props__.__dict__["labels"] = labels
|
797
|
+
__props__.__dict__["location"] = location
|
798
|
+
__props__.__dict__["mtu"] = mtu
|
799
|
+
__props__.__dict__["name"] = name
|
800
|
+
__props__.__dict__["network"] = network
|
801
|
+
__props__.__dict__["project"] = project
|
802
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
803
|
+
__props__.__dict__["update_time"] = update_time
|
804
|
+
__props__.__dict__["vlan_id"] = vlan_id
|
805
|
+
__props__.__dict__["zone"] = zone
|
806
|
+
return InterconnectAttachment(resource_name, opts=opts, __props__=__props__)
|
807
|
+
|
808
|
+
@property
|
809
|
+
@pulumi.getter(name="createTime")
|
810
|
+
def create_time(self) -> pulumi.Output[str]:
|
811
|
+
"""
|
812
|
+
The time when the resource was created.
|
813
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
814
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
815
|
+
"""
|
816
|
+
return pulumi.get(self, "create_time")
|
817
|
+
|
818
|
+
@property
|
819
|
+
@pulumi.getter
|
820
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
821
|
+
"""
|
822
|
+
A free-text description of the resource. Max length 1024 characters.
|
823
|
+
"""
|
824
|
+
return pulumi.get(self, "description")
|
825
|
+
|
826
|
+
@property
|
827
|
+
@pulumi.getter(name="effectiveLabels")
|
828
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
829
|
+
"""
|
830
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
831
|
+
"""
|
832
|
+
return pulumi.get(self, "effective_labels")
|
833
|
+
|
834
|
+
@property
|
835
|
+
@pulumi.getter
|
836
|
+
def interconnect(self) -> pulumi.Output[str]:
|
837
|
+
"""
|
838
|
+
The ID of the underlying interconnect that this attachment's traffic will traverse through.
|
839
|
+
"""
|
840
|
+
return pulumi.get(self, "interconnect")
|
841
|
+
|
842
|
+
@property
|
843
|
+
@pulumi.getter(name="interconnectAttachmentId")
|
844
|
+
def interconnect_attachment_id(self) -> pulumi.Output[str]:
|
845
|
+
"""
|
846
|
+
A unique ID that identifies this interconnect attachment.
|
847
|
+
|
848
|
+
|
849
|
+
- - -
|
850
|
+
"""
|
851
|
+
return pulumi.get(self, "interconnect_attachment_id")
|
852
|
+
|
853
|
+
@property
|
854
|
+
@pulumi.getter
|
855
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
856
|
+
"""
|
857
|
+
Labels associated with this resource.
|
858
|
+
|
859
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
860
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
861
|
+
"""
|
862
|
+
return pulumi.get(self, "labels")
|
863
|
+
|
864
|
+
@property
|
865
|
+
@pulumi.getter
|
866
|
+
def location(self) -> pulumi.Output[str]:
|
867
|
+
"""
|
868
|
+
The Google Cloud region to which the target Distributed Cloud Edge zone belongs.
|
869
|
+
"""
|
870
|
+
return pulumi.get(self, "location")
|
871
|
+
|
872
|
+
@property
|
873
|
+
@pulumi.getter
|
874
|
+
def mtu(self) -> pulumi.Output[Optional[int]]:
|
875
|
+
"""
|
876
|
+
IP (L3) MTU value of the virtual edge cloud. Default value is `1500`. Possible values are: `1500`, `9000`.
|
877
|
+
"""
|
878
|
+
return pulumi.get(self, "mtu")
|
879
|
+
|
880
|
+
@property
|
881
|
+
@pulumi.getter
|
882
|
+
def name(self) -> pulumi.Output[str]:
|
883
|
+
"""
|
884
|
+
The canonical name of this resource, with format
|
885
|
+
`projects/{{project}}/locations/{{location}}/zones/{{zone}}/interconnectAttachments/{{interconnect_attachment_id}}`
|
886
|
+
"""
|
887
|
+
return pulumi.get(self, "name")
|
888
|
+
|
889
|
+
@property
|
890
|
+
@pulumi.getter
|
891
|
+
def network(self) -> pulumi.Output[str]:
|
892
|
+
"""
|
893
|
+
The ID of the network to which this interconnect attachment belongs.
|
894
|
+
Must be of the form: `projects/{{project}}/locations/{{location}}/zones/{{zone}}/networks/{{network_id}}`
|
895
|
+
"""
|
896
|
+
return pulumi.get(self, "network")
|
897
|
+
|
898
|
+
@property
|
899
|
+
@pulumi.getter
|
900
|
+
def project(self) -> pulumi.Output[str]:
|
901
|
+
"""
|
902
|
+
The ID of the project in which the resource belongs.
|
903
|
+
If it is not provided, the provider project is used.
|
904
|
+
"""
|
905
|
+
return pulumi.get(self, "project")
|
906
|
+
|
907
|
+
@property
|
908
|
+
@pulumi.getter(name="pulumiLabels")
|
909
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
910
|
+
"""
|
911
|
+
The combination of labels configured directly on the resource
|
912
|
+
and default labels configured on the provider.
|
913
|
+
"""
|
914
|
+
return pulumi.get(self, "pulumi_labels")
|
915
|
+
|
916
|
+
@property
|
917
|
+
@pulumi.getter(name="updateTime")
|
918
|
+
def update_time(self) -> pulumi.Output[str]:
|
919
|
+
"""
|
920
|
+
The time when the resource was last updated.
|
921
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine
|
922
|
+
fractional digits. Examples: `2014-10-02T15:01:23Z` and `2014-10-02T15:01:23.045123456Z`.
|
923
|
+
"""
|
924
|
+
return pulumi.get(self, "update_time")
|
925
|
+
|
926
|
+
@property
|
927
|
+
@pulumi.getter(name="vlanId")
|
928
|
+
def vlan_id(self) -> pulumi.Output[int]:
|
929
|
+
"""
|
930
|
+
VLAN ID provided by user. Must be site-wise unique.
|
931
|
+
"""
|
932
|
+
return pulumi.get(self, "vlan_id")
|
933
|
+
|
934
|
+
@property
|
935
|
+
@pulumi.getter
|
936
|
+
def zone(self) -> pulumi.Output[str]:
|
937
|
+
"""
|
938
|
+
The name of the target Distributed Cloud Edge zone.
|
939
|
+
"""
|
940
|
+
return pulumi.get(self, "zone")
|
941
|
+
|