pulumi-gcp 7.5.0a1704347630__py3-none-any.whl → 7.6.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 +99 -0
- pulumi_gcp/bigqueryanalyticshub/_inputs.py +40 -0
- pulumi_gcp/bigqueryanalyticshub/listing.py +117 -3
- pulumi_gcp/bigqueryanalyticshub/outputs.py +49 -0
- pulumi_gcp/clouddeploy/__init__.py +1 -0
- pulumi_gcp/clouddeploy/_inputs.py +239 -0
- pulumi_gcp/clouddeploy/automation.py +1103 -0
- pulumi_gcp/clouddeploy/outputs.py +246 -0
- pulumi_gcp/clouddomains/__init__.py +10 -0
- pulumi_gcp/clouddomains/_inputs.py +1098 -0
- pulumi_gcp/clouddomains/outputs.py +1156 -0
- pulumi_gcp/clouddomains/registration.py +1068 -0
- pulumi_gcp/cloudrunv2/job.py +4 -4
- pulumi_gcp/composer/_inputs.py +79 -1
- pulumi_gcp/composer/outputs.py +131 -4
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +180 -0
- pulumi_gcp/compute/get_instance_template.py +11 -1
- pulumi_gcp/compute/get_region_instance_template.py +11 -1
- pulumi_gcp/compute/get_reservation.py +212 -0
- pulumi_gcp/compute/instance_template.py +47 -0
- pulumi_gcp/compute/network_firewall_policy.py +20 -22
- pulumi_gcp/compute/outputs.py +325 -0
- pulumi_gcp/compute/region_instance_template.py +47 -0
- pulumi_gcp/compute/region_network_firewall_policy.py +31 -35
- pulumi_gcp/compute/router_peer.py +54 -0
- pulumi_gcp/compute/vpn_tunnel.py +8 -4
- pulumi_gcp/config/__init__.pyi +2 -0
- pulumi_gcp/config/vars.py +4 -0
- pulumi_gcp/container/_inputs.py +23 -0
- pulumi_gcp/container/aws_node_pool.py +7 -7
- pulumi_gcp/container/cluster.py +68 -14
- pulumi_gcp/container/get_cluster.py +11 -1
- pulumi_gcp/container/outputs.py +49 -0
- pulumi_gcp/dataflow/pipeline.py +1 -1
- pulumi_gcp/dataproc/_inputs.py +413 -39
- pulumi_gcp/dataproc/metastore_service.py +63 -0
- pulumi_gcp/dataproc/outputs.py +461 -39
- pulumi_gcp/dns/__init__.py +1 -0
- pulumi_gcp/dns/_inputs.py +94 -0
- pulumi_gcp/dns/get_managed_zones.py +89 -0
- pulumi_gcp/dns/outputs.py +62 -0
- pulumi_gcp/edgecontainer/vpn_connection.py +10 -10
- pulumi_gcp/filestore/__init__.py +1 -0
- pulumi_gcp/filestore/get_instance.py +258 -0
- pulumi_gcp/filestore/instance.py +7 -7
- pulumi_gcp/filestore/outputs.py +126 -0
- pulumi_gcp/gkebackup/backup_plan.py +24 -8
- pulumi_gcp/gkebackup/restore_plan.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_binding.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_member.py +36 -12
- pulumi_gcp/gkebackup/restore_plan_iam_policy.py +36 -12
- pulumi_gcp/gkehub/_inputs.py +502 -2
- pulumi_gcp/gkehub/feature.py +34 -0
- pulumi_gcp/gkehub/feature_membership.py +177 -0
- pulumi_gcp/gkehub/membership.py +18 -6
- pulumi_gcp/gkehub/outputs.py +502 -2
- pulumi_gcp/gkeonprem/_inputs.py +21 -25
- pulumi_gcp/gkeonprem/outputs.py +34 -25
- pulumi_gcp/gkeonprem/v_mware_node_pool.py +34 -0
- pulumi_gcp/integrationconnectors/__init__.py +1 -0
- pulumi_gcp/integrationconnectors/endpoint_attachment.py +669 -0
- pulumi_gcp/kms/_inputs.py +42 -0
- pulumi_gcp/kms/crypto_key.py +36 -0
- pulumi_gcp/kms/get_kms_crypto_key.py +11 -1
- pulumi_gcp/kms/outputs.py +62 -0
- pulumi_gcp/logging/__init__.py +2 -0
- pulumi_gcp/logging/folder_settings.py +490 -0
- pulumi_gcp/logging/folder_sink.py +21 -21
- pulumi_gcp/logging/organization_settings.py +484 -0
- pulumi_gcp/logging/organization_sink.py +21 -21
- pulumi_gcp/logging/project_sink.py +7 -14
- pulumi_gcp/netapp/__init__.py +3 -0
- pulumi_gcp/netapp/active_directory.py +1413 -0
- pulumi_gcp/netapp/backup_vault.py +593 -0
- pulumi_gcp/netapp/kmsconfig.py +649 -0
- pulumi_gcp/orgpolicy/policy.py +28 -0
- pulumi_gcp/provider.py +20 -0
- pulumi_gcp/pubsub/subscription.py +29 -37
- pulumi_gcp/serviceaccount/account.py +47 -0
- pulumi_gcp/servicenetworking/connection.py +55 -1
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/ssl_cert.py +1 -1
- pulumi_gcp/sql/user.py +7 -7
- pulumi_gcp/storage/transfer_job.py +24 -5
- pulumi_gcp/vertex/__init__.py +3 -0
- pulumi_gcp/vertex/_inputs.py +339 -0
- pulumi_gcp/vertex/ai_feature_group.py +710 -0
- pulumi_gcp/vertex/ai_feature_online_store.py +962 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +804 -0
- pulumi_gcp/vertex/outputs.py +406 -0
- pulumi_gcp/vmwareengine/__init__.py +2 -0
- pulumi_gcp/vmwareengine/_inputs.py +84 -0
- pulumi_gcp/vmwareengine/external_access_rule.py +947 -0
- pulumi_gcp/vmwareengine/get_external_access_rule.py +245 -0
- pulumi_gcp/vmwareengine/outputs.py +146 -0
- pulumi_gcp/workflows/workflow.py +7 -7
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/RECORD +101 -82
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.5.0a1704347630.dist-info → pulumi_gcp-7.6.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,669 @@
|
|
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__ = ['EndpointAttachmentArgs', 'EndpointAttachment']
|
13
|
+
|
14
|
+
@pulumi.input_type
|
15
|
+
class EndpointAttachmentArgs:
|
16
|
+
def __init__(__self__, *,
|
17
|
+
location: pulumi.Input[str],
|
18
|
+
service_attachment: pulumi.Input[str],
|
19
|
+
description: Optional[pulumi.Input[str]] = None,
|
20
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
21
|
+
name: Optional[pulumi.Input[str]] = None,
|
22
|
+
project: Optional[pulumi.Input[str]] = None):
|
23
|
+
"""
|
24
|
+
The set of arguments for constructing a EndpointAttachment resource.
|
25
|
+
:param pulumi.Input[str] location: Location in which Endpoint Attachment needs to be created.
|
26
|
+
:param pulumi.Input[str] service_attachment: The path of the service attachment.
|
27
|
+
:param pulumi.Input[str] description: Description of the resource.
|
28
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
29
|
+
|
30
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
31
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
32
|
+
:param pulumi.Input[str] name: Name of Endpoint Attachment needs to be created.
|
33
|
+
|
34
|
+
|
35
|
+
- - -
|
36
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
37
|
+
If it is not provided, the provider project is used.
|
38
|
+
"""
|
39
|
+
pulumi.set(__self__, "location", location)
|
40
|
+
pulumi.set(__self__, "service_attachment", service_attachment)
|
41
|
+
if description is not None:
|
42
|
+
pulumi.set(__self__, "description", description)
|
43
|
+
if labels is not None:
|
44
|
+
pulumi.set(__self__, "labels", labels)
|
45
|
+
if name is not None:
|
46
|
+
pulumi.set(__self__, "name", name)
|
47
|
+
if project is not None:
|
48
|
+
pulumi.set(__self__, "project", project)
|
49
|
+
|
50
|
+
@property
|
51
|
+
@pulumi.getter
|
52
|
+
def location(self) -> pulumi.Input[str]:
|
53
|
+
"""
|
54
|
+
Location in which Endpoint Attachment needs to be created.
|
55
|
+
"""
|
56
|
+
return pulumi.get(self, "location")
|
57
|
+
|
58
|
+
@location.setter
|
59
|
+
def location(self, value: pulumi.Input[str]):
|
60
|
+
pulumi.set(self, "location", value)
|
61
|
+
|
62
|
+
@property
|
63
|
+
@pulumi.getter(name="serviceAttachment")
|
64
|
+
def service_attachment(self) -> pulumi.Input[str]:
|
65
|
+
"""
|
66
|
+
The path of the service attachment.
|
67
|
+
"""
|
68
|
+
return pulumi.get(self, "service_attachment")
|
69
|
+
|
70
|
+
@service_attachment.setter
|
71
|
+
def service_attachment(self, value: pulumi.Input[str]):
|
72
|
+
pulumi.set(self, "service_attachment", value)
|
73
|
+
|
74
|
+
@property
|
75
|
+
@pulumi.getter
|
76
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
77
|
+
"""
|
78
|
+
Description of the resource.
|
79
|
+
"""
|
80
|
+
return pulumi.get(self, "description")
|
81
|
+
|
82
|
+
@description.setter
|
83
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
84
|
+
pulumi.set(self, "description", value)
|
85
|
+
|
86
|
+
@property
|
87
|
+
@pulumi.getter
|
88
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
89
|
+
"""
|
90
|
+
Resource labels to represent user provided metadata.
|
91
|
+
|
92
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
93
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
94
|
+
"""
|
95
|
+
return pulumi.get(self, "labels")
|
96
|
+
|
97
|
+
@labels.setter
|
98
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
99
|
+
pulumi.set(self, "labels", value)
|
100
|
+
|
101
|
+
@property
|
102
|
+
@pulumi.getter
|
103
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
104
|
+
"""
|
105
|
+
Name of Endpoint Attachment needs to be created.
|
106
|
+
|
107
|
+
|
108
|
+
- - -
|
109
|
+
"""
|
110
|
+
return pulumi.get(self, "name")
|
111
|
+
|
112
|
+
@name.setter
|
113
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
114
|
+
pulumi.set(self, "name", value)
|
115
|
+
|
116
|
+
@property
|
117
|
+
@pulumi.getter
|
118
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
119
|
+
"""
|
120
|
+
The ID of the project in which the resource belongs.
|
121
|
+
If it is not provided, the provider project is used.
|
122
|
+
"""
|
123
|
+
return pulumi.get(self, "project")
|
124
|
+
|
125
|
+
@project.setter
|
126
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
127
|
+
pulumi.set(self, "project", value)
|
128
|
+
|
129
|
+
|
130
|
+
@pulumi.input_type
|
131
|
+
class _EndpointAttachmentState:
|
132
|
+
def __init__(__self__, *,
|
133
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
134
|
+
description: Optional[pulumi.Input[str]] = None,
|
135
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
136
|
+
endpoint_ip: Optional[pulumi.Input[str]] = None,
|
137
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
138
|
+
location: Optional[pulumi.Input[str]] = None,
|
139
|
+
name: Optional[pulumi.Input[str]] = None,
|
140
|
+
project: Optional[pulumi.Input[str]] = None,
|
141
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
142
|
+
service_attachment: Optional[pulumi.Input[str]] = None,
|
143
|
+
update_time: Optional[pulumi.Input[str]] = None):
|
144
|
+
"""
|
145
|
+
Input properties used for looking up and filtering EndpointAttachment resources.
|
146
|
+
:param pulumi.Input[str] create_time: Time the Namespace was created in UTC.
|
147
|
+
:param pulumi.Input[str] description: Description of the resource.
|
148
|
+
: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.
|
149
|
+
:param pulumi.Input[str] endpoint_ip: The Private Service Connect connection endpoint ip.
|
150
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
151
|
+
|
152
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
153
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
154
|
+
:param pulumi.Input[str] location: Location in which Endpoint Attachment needs to be created.
|
155
|
+
:param pulumi.Input[str] name: Name of Endpoint Attachment needs to be created.
|
156
|
+
|
157
|
+
|
158
|
+
- - -
|
159
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
160
|
+
If it is not provided, the provider project is used.
|
161
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
162
|
+
and default labels configured on the provider.
|
163
|
+
:param pulumi.Input[str] service_attachment: The path of the service attachment.
|
164
|
+
:param pulumi.Input[str] update_time: Time the Namespace was updated in UTC.
|
165
|
+
"""
|
166
|
+
if create_time is not None:
|
167
|
+
pulumi.set(__self__, "create_time", create_time)
|
168
|
+
if description is not None:
|
169
|
+
pulumi.set(__self__, "description", description)
|
170
|
+
if effective_labels is not None:
|
171
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
172
|
+
if endpoint_ip is not None:
|
173
|
+
pulumi.set(__self__, "endpoint_ip", endpoint_ip)
|
174
|
+
if labels is not None:
|
175
|
+
pulumi.set(__self__, "labels", labels)
|
176
|
+
if location is not None:
|
177
|
+
pulumi.set(__self__, "location", location)
|
178
|
+
if name is not None:
|
179
|
+
pulumi.set(__self__, "name", name)
|
180
|
+
if project is not None:
|
181
|
+
pulumi.set(__self__, "project", project)
|
182
|
+
if pulumi_labels is not None:
|
183
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
184
|
+
if service_attachment is not None:
|
185
|
+
pulumi.set(__self__, "service_attachment", service_attachment)
|
186
|
+
if update_time is not None:
|
187
|
+
pulumi.set(__self__, "update_time", update_time)
|
188
|
+
|
189
|
+
@property
|
190
|
+
@pulumi.getter(name="createTime")
|
191
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
192
|
+
"""
|
193
|
+
Time the Namespace was created in UTC.
|
194
|
+
"""
|
195
|
+
return pulumi.get(self, "create_time")
|
196
|
+
|
197
|
+
@create_time.setter
|
198
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
199
|
+
pulumi.set(self, "create_time", value)
|
200
|
+
|
201
|
+
@property
|
202
|
+
@pulumi.getter
|
203
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
204
|
+
"""
|
205
|
+
Description of the resource.
|
206
|
+
"""
|
207
|
+
return pulumi.get(self, "description")
|
208
|
+
|
209
|
+
@description.setter
|
210
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
211
|
+
pulumi.set(self, "description", value)
|
212
|
+
|
213
|
+
@property
|
214
|
+
@pulumi.getter(name="effectiveLabels")
|
215
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
216
|
+
"""
|
217
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
218
|
+
"""
|
219
|
+
return pulumi.get(self, "effective_labels")
|
220
|
+
|
221
|
+
@effective_labels.setter
|
222
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
223
|
+
pulumi.set(self, "effective_labels", value)
|
224
|
+
|
225
|
+
@property
|
226
|
+
@pulumi.getter(name="endpointIp")
|
227
|
+
def endpoint_ip(self) -> Optional[pulumi.Input[str]]:
|
228
|
+
"""
|
229
|
+
The Private Service Connect connection endpoint ip.
|
230
|
+
"""
|
231
|
+
return pulumi.get(self, "endpoint_ip")
|
232
|
+
|
233
|
+
@endpoint_ip.setter
|
234
|
+
def endpoint_ip(self, value: Optional[pulumi.Input[str]]):
|
235
|
+
pulumi.set(self, "endpoint_ip", value)
|
236
|
+
|
237
|
+
@property
|
238
|
+
@pulumi.getter
|
239
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
240
|
+
"""
|
241
|
+
Resource labels to represent user provided metadata.
|
242
|
+
|
243
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
244
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "labels")
|
247
|
+
|
248
|
+
@labels.setter
|
249
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
250
|
+
pulumi.set(self, "labels", value)
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter
|
254
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
255
|
+
"""
|
256
|
+
Location in which Endpoint Attachment needs to be created.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "location")
|
259
|
+
|
260
|
+
@location.setter
|
261
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
262
|
+
pulumi.set(self, "location", value)
|
263
|
+
|
264
|
+
@property
|
265
|
+
@pulumi.getter
|
266
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
267
|
+
"""
|
268
|
+
Name of Endpoint Attachment needs to be created.
|
269
|
+
|
270
|
+
|
271
|
+
- - -
|
272
|
+
"""
|
273
|
+
return pulumi.get(self, "name")
|
274
|
+
|
275
|
+
@name.setter
|
276
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
277
|
+
pulumi.set(self, "name", value)
|
278
|
+
|
279
|
+
@property
|
280
|
+
@pulumi.getter
|
281
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
282
|
+
"""
|
283
|
+
The ID of the project in which the resource belongs.
|
284
|
+
If it is not provided, the provider project is used.
|
285
|
+
"""
|
286
|
+
return pulumi.get(self, "project")
|
287
|
+
|
288
|
+
@project.setter
|
289
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
290
|
+
pulumi.set(self, "project", value)
|
291
|
+
|
292
|
+
@property
|
293
|
+
@pulumi.getter(name="pulumiLabels")
|
294
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
295
|
+
"""
|
296
|
+
The combination of labels configured directly on the resource
|
297
|
+
and default labels configured on the provider.
|
298
|
+
"""
|
299
|
+
return pulumi.get(self, "pulumi_labels")
|
300
|
+
|
301
|
+
@pulumi_labels.setter
|
302
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
303
|
+
pulumi.set(self, "pulumi_labels", value)
|
304
|
+
|
305
|
+
@property
|
306
|
+
@pulumi.getter(name="serviceAttachment")
|
307
|
+
def service_attachment(self) -> Optional[pulumi.Input[str]]:
|
308
|
+
"""
|
309
|
+
The path of the service attachment.
|
310
|
+
"""
|
311
|
+
return pulumi.get(self, "service_attachment")
|
312
|
+
|
313
|
+
@service_attachment.setter
|
314
|
+
def service_attachment(self, value: Optional[pulumi.Input[str]]):
|
315
|
+
pulumi.set(self, "service_attachment", value)
|
316
|
+
|
317
|
+
@property
|
318
|
+
@pulumi.getter(name="updateTime")
|
319
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
320
|
+
"""
|
321
|
+
Time the Namespace was updated in UTC.
|
322
|
+
"""
|
323
|
+
return pulumi.get(self, "update_time")
|
324
|
+
|
325
|
+
@update_time.setter
|
326
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
327
|
+
pulumi.set(self, "update_time", value)
|
328
|
+
|
329
|
+
|
330
|
+
class EndpointAttachment(pulumi.CustomResource):
|
331
|
+
@overload
|
332
|
+
def __init__(__self__,
|
333
|
+
resource_name: str,
|
334
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
335
|
+
description: Optional[pulumi.Input[str]] = None,
|
336
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
337
|
+
location: Optional[pulumi.Input[str]] = None,
|
338
|
+
name: Optional[pulumi.Input[str]] = None,
|
339
|
+
project: Optional[pulumi.Input[str]] = None,
|
340
|
+
service_attachment: Optional[pulumi.Input[str]] = None,
|
341
|
+
__props__=None):
|
342
|
+
"""
|
343
|
+
An Integration connectors Endpoint Attachment.
|
344
|
+
|
345
|
+
To get more information about EndpointAttachment, see:
|
346
|
+
|
347
|
+
* [API documentation](https://cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.endpointAttachments)
|
348
|
+
* How-to Guides
|
349
|
+
* [Official Documentation](https://cloud.google.com/integration-connectors/docs/create-endpoint-attachment)
|
350
|
+
|
351
|
+
## Example Usage
|
352
|
+
### Integration Connectors Endpoint Attachment
|
353
|
+
|
354
|
+
```python
|
355
|
+
import pulumi
|
356
|
+
import pulumi_gcp as gcp
|
357
|
+
|
358
|
+
sampleendpointattachment = gcp.integrationconnectors.EndpointAttachment("sampleendpointattachment",
|
359
|
+
description="tf created description",
|
360
|
+
labels={
|
361
|
+
"foo": "bar",
|
362
|
+
},
|
363
|
+
location="us-central1",
|
364
|
+
service_attachment="projects/connectors-example/regions/us-central1/serviceAttachments/test")
|
365
|
+
```
|
366
|
+
|
367
|
+
## Import
|
368
|
+
|
369
|
+
EndpointAttachment can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/endpointAttachments/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EndpointAttachment using one of the formats above. For exampletf import {
|
370
|
+
|
371
|
+
id = "projects/{{project}}/locations/{{location}}/endpointAttachments/{{name}}"
|
372
|
+
|
373
|
+
to = google_integration_connectors_endpoint_attachment.default }
|
374
|
+
|
375
|
+
```sh
|
376
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EndpointAttachment can be imported using one of the formats above. For example
|
377
|
+
```
|
378
|
+
|
379
|
+
```sh
|
380
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment default projects/{{project}}/locations/{{location}}/endpointAttachments/{{name}}
|
381
|
+
```
|
382
|
+
|
383
|
+
```sh
|
384
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment default {{project}}/{{location}}/{{name}}
|
385
|
+
```
|
386
|
+
|
387
|
+
```sh
|
388
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment default {{location}}/{{name}}
|
389
|
+
```
|
390
|
+
|
391
|
+
:param str resource_name: The name of the resource.
|
392
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
393
|
+
:param pulumi.Input[str] description: Description of the resource.
|
394
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
395
|
+
|
396
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
397
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
398
|
+
:param pulumi.Input[str] location: Location in which Endpoint Attachment needs to be created.
|
399
|
+
:param pulumi.Input[str] name: Name of Endpoint Attachment needs to be created.
|
400
|
+
|
401
|
+
|
402
|
+
- - -
|
403
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
404
|
+
If it is not provided, the provider project is used.
|
405
|
+
:param pulumi.Input[str] service_attachment: The path of the service attachment.
|
406
|
+
"""
|
407
|
+
...
|
408
|
+
@overload
|
409
|
+
def __init__(__self__,
|
410
|
+
resource_name: str,
|
411
|
+
args: EndpointAttachmentArgs,
|
412
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
413
|
+
"""
|
414
|
+
An Integration connectors Endpoint Attachment.
|
415
|
+
|
416
|
+
To get more information about EndpointAttachment, see:
|
417
|
+
|
418
|
+
* [API documentation](https://cloud.google.com/integration-connectors/docs/reference/rest/v1/projects.locations.endpointAttachments)
|
419
|
+
* How-to Guides
|
420
|
+
* [Official Documentation](https://cloud.google.com/integration-connectors/docs/create-endpoint-attachment)
|
421
|
+
|
422
|
+
## Example Usage
|
423
|
+
### Integration Connectors Endpoint Attachment
|
424
|
+
|
425
|
+
```python
|
426
|
+
import pulumi
|
427
|
+
import pulumi_gcp as gcp
|
428
|
+
|
429
|
+
sampleendpointattachment = gcp.integrationconnectors.EndpointAttachment("sampleendpointattachment",
|
430
|
+
description="tf created description",
|
431
|
+
labels={
|
432
|
+
"foo": "bar",
|
433
|
+
},
|
434
|
+
location="us-central1",
|
435
|
+
service_attachment="projects/connectors-example/regions/us-central1/serviceAttachments/test")
|
436
|
+
```
|
437
|
+
|
438
|
+
## Import
|
439
|
+
|
440
|
+
EndpointAttachment can be imported using any of these accepted formats* `projects/{{project}}/locations/{{location}}/endpointAttachments/{{name}}` * `{{project}}/{{location}}/{{name}}` * `{{location}}/{{name}}` In Terraform v1.5.0 and later, use an [`import` block](https://developer.hashicorp.com/terraform/language/import) to import EndpointAttachment using one of the formats above. For exampletf import {
|
441
|
+
|
442
|
+
id = "projects/{{project}}/locations/{{location}}/endpointAttachments/{{name}}"
|
443
|
+
|
444
|
+
to = google_integration_connectors_endpoint_attachment.default }
|
445
|
+
|
446
|
+
```sh
|
447
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment When using the [`terraform import` command](https://developer.hashicorp.com/terraform/cli/commands/import), EndpointAttachment can be imported using one of the formats above. For example
|
448
|
+
```
|
449
|
+
|
450
|
+
```sh
|
451
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment default projects/{{project}}/locations/{{location}}/endpointAttachments/{{name}}
|
452
|
+
```
|
453
|
+
|
454
|
+
```sh
|
455
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment default {{project}}/{{location}}/{{name}}
|
456
|
+
```
|
457
|
+
|
458
|
+
```sh
|
459
|
+
$ pulumi import gcp:integrationconnectors/endpointAttachment:EndpointAttachment default {{location}}/{{name}}
|
460
|
+
```
|
461
|
+
|
462
|
+
:param str resource_name: The name of the resource.
|
463
|
+
:param EndpointAttachmentArgs args: The arguments to use to populate this resource's properties.
|
464
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
465
|
+
"""
|
466
|
+
...
|
467
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
468
|
+
resource_args, opts = _utilities.get_resource_args_opts(EndpointAttachmentArgs, pulumi.ResourceOptions, *args, **kwargs)
|
469
|
+
if resource_args is not None:
|
470
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
471
|
+
else:
|
472
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
473
|
+
|
474
|
+
def _internal_init(__self__,
|
475
|
+
resource_name: str,
|
476
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
477
|
+
description: Optional[pulumi.Input[str]] = None,
|
478
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
479
|
+
location: Optional[pulumi.Input[str]] = None,
|
480
|
+
name: Optional[pulumi.Input[str]] = None,
|
481
|
+
project: Optional[pulumi.Input[str]] = None,
|
482
|
+
service_attachment: Optional[pulumi.Input[str]] = None,
|
483
|
+
__props__=None):
|
484
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
485
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
486
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
487
|
+
if opts.id is None:
|
488
|
+
if __props__ is not None:
|
489
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
490
|
+
__props__ = EndpointAttachmentArgs.__new__(EndpointAttachmentArgs)
|
491
|
+
|
492
|
+
__props__.__dict__["description"] = description
|
493
|
+
__props__.__dict__["labels"] = labels
|
494
|
+
if location is None and not opts.urn:
|
495
|
+
raise TypeError("Missing required property 'location'")
|
496
|
+
__props__.__dict__["location"] = location
|
497
|
+
__props__.__dict__["name"] = name
|
498
|
+
__props__.__dict__["project"] = project
|
499
|
+
if service_attachment is None and not opts.urn:
|
500
|
+
raise TypeError("Missing required property 'service_attachment'")
|
501
|
+
__props__.__dict__["service_attachment"] = service_attachment
|
502
|
+
__props__.__dict__["create_time"] = None
|
503
|
+
__props__.__dict__["effective_labels"] = None
|
504
|
+
__props__.__dict__["endpoint_ip"] = None
|
505
|
+
__props__.__dict__["pulumi_labels"] = None
|
506
|
+
__props__.__dict__["update_time"] = None
|
507
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
508
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
509
|
+
super(EndpointAttachment, __self__).__init__(
|
510
|
+
'gcp:integrationconnectors/endpointAttachment:EndpointAttachment',
|
511
|
+
resource_name,
|
512
|
+
__props__,
|
513
|
+
opts)
|
514
|
+
|
515
|
+
@staticmethod
|
516
|
+
def get(resource_name: str,
|
517
|
+
id: pulumi.Input[str],
|
518
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
519
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
520
|
+
description: Optional[pulumi.Input[str]] = None,
|
521
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
522
|
+
endpoint_ip: Optional[pulumi.Input[str]] = None,
|
523
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
524
|
+
location: Optional[pulumi.Input[str]] = None,
|
525
|
+
name: Optional[pulumi.Input[str]] = None,
|
526
|
+
project: Optional[pulumi.Input[str]] = None,
|
527
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
528
|
+
service_attachment: Optional[pulumi.Input[str]] = None,
|
529
|
+
update_time: Optional[pulumi.Input[str]] = None) -> 'EndpointAttachment':
|
530
|
+
"""
|
531
|
+
Get an existing EndpointAttachment resource's state with the given name, id, and optional extra
|
532
|
+
properties used to qualify the lookup.
|
533
|
+
|
534
|
+
:param str resource_name: The unique name of the resulting resource.
|
535
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
536
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
537
|
+
:param pulumi.Input[str] create_time: Time the Namespace was created in UTC.
|
538
|
+
:param pulumi.Input[str] description: Description of the resource.
|
539
|
+
: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.
|
540
|
+
:param pulumi.Input[str] endpoint_ip: The Private Service Connect connection endpoint ip.
|
541
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Resource labels to represent user provided metadata.
|
542
|
+
|
543
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
544
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
545
|
+
:param pulumi.Input[str] location: Location in which Endpoint Attachment needs to be created.
|
546
|
+
:param pulumi.Input[str] name: Name of Endpoint Attachment needs to be created.
|
547
|
+
|
548
|
+
|
549
|
+
- - -
|
550
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
551
|
+
If it is not provided, the provider project is used.
|
552
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
553
|
+
and default labels configured on the provider.
|
554
|
+
:param pulumi.Input[str] service_attachment: The path of the service attachment.
|
555
|
+
:param pulumi.Input[str] update_time: Time the Namespace was updated in UTC.
|
556
|
+
"""
|
557
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
558
|
+
|
559
|
+
__props__ = _EndpointAttachmentState.__new__(_EndpointAttachmentState)
|
560
|
+
|
561
|
+
__props__.__dict__["create_time"] = create_time
|
562
|
+
__props__.__dict__["description"] = description
|
563
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
564
|
+
__props__.__dict__["endpoint_ip"] = endpoint_ip
|
565
|
+
__props__.__dict__["labels"] = labels
|
566
|
+
__props__.__dict__["location"] = location
|
567
|
+
__props__.__dict__["name"] = name
|
568
|
+
__props__.__dict__["project"] = project
|
569
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
570
|
+
__props__.__dict__["service_attachment"] = service_attachment
|
571
|
+
__props__.__dict__["update_time"] = update_time
|
572
|
+
return EndpointAttachment(resource_name, opts=opts, __props__=__props__)
|
573
|
+
|
574
|
+
@property
|
575
|
+
@pulumi.getter(name="createTime")
|
576
|
+
def create_time(self) -> pulumi.Output[str]:
|
577
|
+
"""
|
578
|
+
Time the Namespace was created in UTC.
|
579
|
+
"""
|
580
|
+
return pulumi.get(self, "create_time")
|
581
|
+
|
582
|
+
@property
|
583
|
+
@pulumi.getter
|
584
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
585
|
+
"""
|
586
|
+
Description of the resource.
|
587
|
+
"""
|
588
|
+
return pulumi.get(self, "description")
|
589
|
+
|
590
|
+
@property
|
591
|
+
@pulumi.getter(name="effectiveLabels")
|
592
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
593
|
+
"""
|
594
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
595
|
+
"""
|
596
|
+
return pulumi.get(self, "effective_labels")
|
597
|
+
|
598
|
+
@property
|
599
|
+
@pulumi.getter(name="endpointIp")
|
600
|
+
def endpoint_ip(self) -> pulumi.Output[str]:
|
601
|
+
"""
|
602
|
+
The Private Service Connect connection endpoint ip.
|
603
|
+
"""
|
604
|
+
return pulumi.get(self, "endpoint_ip")
|
605
|
+
|
606
|
+
@property
|
607
|
+
@pulumi.getter
|
608
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
609
|
+
"""
|
610
|
+
Resource labels to represent user provided metadata.
|
611
|
+
|
612
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
613
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
614
|
+
"""
|
615
|
+
return pulumi.get(self, "labels")
|
616
|
+
|
617
|
+
@property
|
618
|
+
@pulumi.getter
|
619
|
+
def location(self) -> pulumi.Output[str]:
|
620
|
+
"""
|
621
|
+
Location in which Endpoint Attachment needs to be created.
|
622
|
+
"""
|
623
|
+
return pulumi.get(self, "location")
|
624
|
+
|
625
|
+
@property
|
626
|
+
@pulumi.getter
|
627
|
+
def name(self) -> pulumi.Output[str]:
|
628
|
+
"""
|
629
|
+
Name of Endpoint Attachment needs to be created.
|
630
|
+
|
631
|
+
|
632
|
+
- - -
|
633
|
+
"""
|
634
|
+
return pulumi.get(self, "name")
|
635
|
+
|
636
|
+
@property
|
637
|
+
@pulumi.getter
|
638
|
+
def project(self) -> pulumi.Output[str]:
|
639
|
+
"""
|
640
|
+
The ID of the project in which the resource belongs.
|
641
|
+
If it is not provided, the provider project is used.
|
642
|
+
"""
|
643
|
+
return pulumi.get(self, "project")
|
644
|
+
|
645
|
+
@property
|
646
|
+
@pulumi.getter(name="pulumiLabels")
|
647
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, str]]:
|
648
|
+
"""
|
649
|
+
The combination of labels configured directly on the resource
|
650
|
+
and default labels configured on the provider.
|
651
|
+
"""
|
652
|
+
return pulumi.get(self, "pulumi_labels")
|
653
|
+
|
654
|
+
@property
|
655
|
+
@pulumi.getter(name="serviceAttachment")
|
656
|
+
def service_attachment(self) -> pulumi.Output[str]:
|
657
|
+
"""
|
658
|
+
The path of the service attachment.
|
659
|
+
"""
|
660
|
+
return pulumi.get(self, "service_attachment")
|
661
|
+
|
662
|
+
@property
|
663
|
+
@pulumi.getter(name="updateTime")
|
664
|
+
def update_time(self) -> pulumi.Output[str]:
|
665
|
+
"""
|
666
|
+
Time the Namespace was updated in UTC.
|
667
|
+
"""
|
668
|
+
return pulumi.get(self, "update_time")
|
669
|
+
|