pulumi-gcp 8.26.0a1744288859__py3-none-any.whl → 8.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- pulumi_gcp/__init__.py +80 -0
- pulumi_gcp/bigquery/_inputs.py +87 -30
- pulumi_gcp/bigquery/outputs.py +58 -20
- pulumi_gcp/bigquery/table.py +28 -14
- pulumi_gcp/cloudrun/service.py +46 -0
- pulumi_gcp/cloudrunv2/get_service.py +12 -1
- pulumi_gcp/cloudrunv2/service.py +85 -0
- pulumi_gcp/compute/_inputs.py +428 -1
- pulumi_gcp/compute/image.py +183 -0
- pulumi_gcp/compute/outputs.py +362 -3
- pulumi_gcp/compute/region_backend_service.py +6 -2
- pulumi_gcp/compute/snapshot.py +6 -0
- pulumi_gcp/databasemigrationservice/_inputs.py +27 -24
- pulumi_gcp/databasemigrationservice/connection_profile.py +168 -0
- pulumi_gcp/databasemigrationservice/migration_job.py +6 -0
- pulumi_gcp/databasemigrationservice/outputs.py +18 -15
- pulumi_gcp/developerconnect/__init__.py +1 -0
- pulumi_gcp/developerconnect/_inputs.py +77 -0
- pulumi_gcp/developerconnect/account_connector.py +866 -0
- pulumi_gcp/developerconnect/outputs.py +64 -0
- pulumi_gcp/firestore/database.py +82 -0
- pulumi_gcp/firestore/index.py +263 -7
- pulumi_gcp/folder/service_identity.py +0 -26
- pulumi_gcp/managedkafka/_inputs.py +6 -6
- pulumi_gcp/managedkafka/connect_cluster.py +84 -40
- pulumi_gcp/managedkafka/connector.py +98 -44
- pulumi_gcp/managedkafka/outputs.py +4 -4
- pulumi_gcp/memorystore/_inputs.py +69 -0
- pulumi_gcp/memorystore/get_instance.py +34 -1
- pulumi_gcp/memorystore/instance.py +140 -0
- pulumi_gcp/memorystore/outputs.py +80 -0
- pulumi_gcp/ml/engine_model.py +0 -22
- pulumi_gcp/monitoring/_inputs.py +37 -19
- pulumi_gcp/monitoring/outputs.py +39 -11
- pulumi_gcp/monitoring/uptime_check_config.py +8 -0
- pulumi_gcp/netapp/_inputs.py +3 -3
- pulumi_gcp/netapp/outputs.py +2 -2
- pulumi_gcp/networkconnectivity/spoke.py +14 -14
- pulumi_gcp/orgpolicy/policy.py +2 -2
- pulumi_gcp/osconfig/v2_policy_orchestrator.py +8 -0
- pulumi_gcp/osconfig/v2_policy_orchestrator_for_organization.py +8 -0
- pulumi_gcp/pubsub/subscription.py +6 -6
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/redis/_inputs.py +69 -0
- pulumi_gcp/redis/cluster.py +140 -0
- pulumi_gcp/redis/outputs.py +40 -0
- pulumi_gcp/storage/_inputs.py +111 -0
- pulumi_gcp/storage/control_folder_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_organization_intelligence_config.py +32 -0
- pulumi_gcp/storage/control_project_intelligence_config.py +32 -0
- pulumi_gcp/storage/get_control_folder_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_organization_intelligence_config.py +12 -1
- pulumi_gcp/storage/get_control_project_intelligence_config.py +12 -1
- pulumi_gcp/storage/outputs.py +174 -0
- pulumi_gcp/vertex/__init__.py +12 -0
- pulumi_gcp/vertex/_inputs.py +294 -0
- pulumi_gcp/vertex/ai_endpoint.py +4 -4
- pulumi_gcp/vertex/ai_feature_group.py +1 -1
- pulumi_gcp/vertex/ai_feature_group_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_group_iam_policy.py +422 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview.py +26 -27
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_binding.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_member.py +614 -0
- pulumi_gcp/vertex/ai_feature_online_store_featureview_iam_policy.py +453 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_binding.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_member.py +583 -0
- pulumi_gcp/vertex/ai_feature_online_store_iam_policy.py +422 -0
- pulumi_gcp/vertex/get_ai_feature_group_iam_policy.py +177 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_featureview_iam_policy.py +194 -0
- pulumi_gcp/vertex/get_ai_feature_online_store_iam_policy.py +177 -0
- pulumi_gcp/vertex/outputs.py +168 -0
- {pulumi_gcp-8.26.0a1744288859.dist-info → pulumi_gcp-8.27.0.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.26.0a1744288859.dist-info → pulumi_gcp-8.27.0.dist-info}/RECORD +76 -63
- {pulumi_gcp-8.26.0a1744288859.dist-info → pulumi_gcp-8.27.0.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.26.0a1744288859.dist-info → pulumi_gcp-8.27.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,866 @@
|
|
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 builtins
|
6
|
+
import copy
|
7
|
+
import warnings
|
8
|
+
import sys
|
9
|
+
import pulumi
|
10
|
+
import pulumi.runtime
|
11
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
12
|
+
if sys.version_info >= (3, 11):
|
13
|
+
from typing import NotRequired, TypedDict, TypeAlias
|
14
|
+
else:
|
15
|
+
from typing_extensions import NotRequired, TypedDict, TypeAlias
|
16
|
+
from .. import _utilities
|
17
|
+
from . import outputs
|
18
|
+
from ._inputs import *
|
19
|
+
|
20
|
+
__all__ = ['AccountConnectorArgs', 'AccountConnector']
|
21
|
+
|
22
|
+
@pulumi.input_type
|
23
|
+
class AccountConnectorArgs:
|
24
|
+
def __init__(__self__, *,
|
25
|
+
account_connector_id: pulumi.Input[builtins.str],
|
26
|
+
location: pulumi.Input[builtins.str],
|
27
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
28
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
29
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
30
|
+
provider_oauth_config: Optional[pulumi.Input['AccountConnectorProviderOauthConfigArgs']] = None):
|
31
|
+
"""
|
32
|
+
The set of arguments for constructing a AccountConnector resource.
|
33
|
+
:param pulumi.Input[builtins.str] account_connector_id: Required. The ID to use for the AccountConnector, which will become the final
|
34
|
+
component of the AccountConnector's resource name. Its format should adhere
|
35
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
36
|
+
per-project per-location.
|
37
|
+
|
38
|
+
|
39
|
+
- - -
|
40
|
+
:param pulumi.Input[builtins.str] location: The location of the resource.
|
41
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: Optional. Allows users to store small amounts of arbitrary data.
|
42
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
43
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
44
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels as key value pairs
|
45
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
46
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
47
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
48
|
+
If it is not provided, the provider project is used.
|
49
|
+
:param pulumi.Input['AccountConnectorProviderOauthConfigArgs'] provider_oauth_config: ProviderOAuthConfig is the OAuth config for a provider.
|
50
|
+
Structure is documented below.
|
51
|
+
"""
|
52
|
+
pulumi.set(__self__, "account_connector_id", account_connector_id)
|
53
|
+
pulumi.set(__self__, "location", location)
|
54
|
+
if annotations is not None:
|
55
|
+
pulumi.set(__self__, "annotations", annotations)
|
56
|
+
if labels is not None:
|
57
|
+
pulumi.set(__self__, "labels", labels)
|
58
|
+
if project is not None:
|
59
|
+
pulumi.set(__self__, "project", project)
|
60
|
+
if provider_oauth_config is not None:
|
61
|
+
pulumi.set(__self__, "provider_oauth_config", provider_oauth_config)
|
62
|
+
|
63
|
+
@property
|
64
|
+
@pulumi.getter(name="accountConnectorId")
|
65
|
+
def account_connector_id(self) -> pulumi.Input[builtins.str]:
|
66
|
+
"""
|
67
|
+
Required. The ID to use for the AccountConnector, which will become the final
|
68
|
+
component of the AccountConnector's resource name. Its format should adhere
|
69
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
70
|
+
per-project per-location.
|
71
|
+
|
72
|
+
|
73
|
+
- - -
|
74
|
+
"""
|
75
|
+
return pulumi.get(self, "account_connector_id")
|
76
|
+
|
77
|
+
@account_connector_id.setter
|
78
|
+
def account_connector_id(self, value: pulumi.Input[builtins.str]):
|
79
|
+
pulumi.set(self, "account_connector_id", value)
|
80
|
+
|
81
|
+
@property
|
82
|
+
@pulumi.getter
|
83
|
+
def location(self) -> pulumi.Input[builtins.str]:
|
84
|
+
"""
|
85
|
+
The location of the resource.
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "location")
|
88
|
+
|
89
|
+
@location.setter
|
90
|
+
def location(self, value: pulumi.Input[builtins.str]):
|
91
|
+
pulumi.set(self, "location", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter
|
95
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
96
|
+
"""
|
97
|
+
Optional. Allows users to store small amounts of arbitrary data.
|
98
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
99
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
100
|
+
"""
|
101
|
+
return pulumi.get(self, "annotations")
|
102
|
+
|
103
|
+
@annotations.setter
|
104
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
105
|
+
pulumi.set(self, "annotations", value)
|
106
|
+
|
107
|
+
@property
|
108
|
+
@pulumi.getter
|
109
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
110
|
+
"""
|
111
|
+
Optional. Labels as key value pairs
|
112
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
113
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
114
|
+
"""
|
115
|
+
return pulumi.get(self, "labels")
|
116
|
+
|
117
|
+
@labels.setter
|
118
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
119
|
+
pulumi.set(self, "labels", value)
|
120
|
+
|
121
|
+
@property
|
122
|
+
@pulumi.getter
|
123
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
124
|
+
"""
|
125
|
+
The ID of the project in which the resource belongs.
|
126
|
+
If it is not provided, the provider project is used.
|
127
|
+
"""
|
128
|
+
return pulumi.get(self, "project")
|
129
|
+
|
130
|
+
@project.setter
|
131
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
132
|
+
pulumi.set(self, "project", value)
|
133
|
+
|
134
|
+
@property
|
135
|
+
@pulumi.getter(name="providerOauthConfig")
|
136
|
+
def provider_oauth_config(self) -> Optional[pulumi.Input['AccountConnectorProviderOauthConfigArgs']]:
|
137
|
+
"""
|
138
|
+
ProviderOAuthConfig is the OAuth config for a provider.
|
139
|
+
Structure is documented below.
|
140
|
+
"""
|
141
|
+
return pulumi.get(self, "provider_oauth_config")
|
142
|
+
|
143
|
+
@provider_oauth_config.setter
|
144
|
+
def provider_oauth_config(self, value: Optional[pulumi.Input['AccountConnectorProviderOauthConfigArgs']]):
|
145
|
+
pulumi.set(self, "provider_oauth_config", value)
|
146
|
+
|
147
|
+
|
148
|
+
@pulumi.input_type
|
149
|
+
class _AccountConnectorState:
|
150
|
+
def __init__(__self__, *,
|
151
|
+
account_connector_id: Optional[pulumi.Input[builtins.str]] = None,
|
152
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
153
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
154
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
155
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
156
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
157
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
158
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
159
|
+
oauth_start_uri: Optional[pulumi.Input[builtins.str]] = None,
|
160
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
161
|
+
provider_oauth_config: Optional[pulumi.Input['AccountConnectorProviderOauthConfigArgs']] = None,
|
162
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
163
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None):
|
164
|
+
"""
|
165
|
+
Input properties used for looking up and filtering AccountConnector resources.
|
166
|
+
:param pulumi.Input[builtins.str] account_connector_id: Required. The ID to use for the AccountConnector, which will become the final
|
167
|
+
component of the AccountConnector's resource name. Its format should adhere
|
168
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
169
|
+
per-project per-location.
|
170
|
+
|
171
|
+
|
172
|
+
- - -
|
173
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: Optional. Allows users to store small amounts of arbitrary data.
|
174
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
175
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
176
|
+
:param pulumi.Input[builtins.str] create_time: Output only. The timestamp when the userConnection was created.
|
177
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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.
|
178
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels as key value pairs
|
179
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
180
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
181
|
+
:param pulumi.Input[builtins.str] location: The location of the resource.
|
182
|
+
:param pulumi.Input[builtins.str] name: Identifier. The resource name of the userConnection, in the format
|
183
|
+
`projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
|
184
|
+
:param pulumi.Input[builtins.str] oauth_start_uri: Output only. Start OAuth flow by clicking on this URL.
|
185
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
186
|
+
If it is not provided, the provider project is used.
|
187
|
+
:param pulumi.Input['AccountConnectorProviderOauthConfigArgs'] provider_oauth_config: ProviderOAuthConfig is the OAuth config for a provider.
|
188
|
+
Structure is documented below.
|
189
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
190
|
+
and default labels configured on the provider.
|
191
|
+
:param pulumi.Input[builtins.str] update_time: Output only. The timestamp when the userConnection was updated.
|
192
|
+
"""
|
193
|
+
if account_connector_id is not None:
|
194
|
+
pulumi.set(__self__, "account_connector_id", account_connector_id)
|
195
|
+
if annotations is not None:
|
196
|
+
pulumi.set(__self__, "annotations", annotations)
|
197
|
+
if create_time is not None:
|
198
|
+
pulumi.set(__self__, "create_time", create_time)
|
199
|
+
if effective_annotations is not None:
|
200
|
+
pulumi.set(__self__, "effective_annotations", effective_annotations)
|
201
|
+
if effective_labels is not None:
|
202
|
+
pulumi.set(__self__, "effective_labels", effective_labels)
|
203
|
+
if labels is not None:
|
204
|
+
pulumi.set(__self__, "labels", labels)
|
205
|
+
if location is not None:
|
206
|
+
pulumi.set(__self__, "location", location)
|
207
|
+
if name is not None:
|
208
|
+
pulumi.set(__self__, "name", name)
|
209
|
+
if oauth_start_uri is not None:
|
210
|
+
pulumi.set(__self__, "oauth_start_uri", oauth_start_uri)
|
211
|
+
if project is not None:
|
212
|
+
pulumi.set(__self__, "project", project)
|
213
|
+
if provider_oauth_config is not None:
|
214
|
+
pulumi.set(__self__, "provider_oauth_config", provider_oauth_config)
|
215
|
+
if pulumi_labels is not None:
|
216
|
+
pulumi.set(__self__, "pulumi_labels", pulumi_labels)
|
217
|
+
if update_time is not None:
|
218
|
+
pulumi.set(__self__, "update_time", update_time)
|
219
|
+
|
220
|
+
@property
|
221
|
+
@pulumi.getter(name="accountConnectorId")
|
222
|
+
def account_connector_id(self) -> Optional[pulumi.Input[builtins.str]]:
|
223
|
+
"""
|
224
|
+
Required. The ID to use for the AccountConnector, which will become the final
|
225
|
+
component of the AccountConnector's resource name. Its format should adhere
|
226
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
227
|
+
per-project per-location.
|
228
|
+
|
229
|
+
|
230
|
+
- - -
|
231
|
+
"""
|
232
|
+
return pulumi.get(self, "account_connector_id")
|
233
|
+
|
234
|
+
@account_connector_id.setter
|
235
|
+
def account_connector_id(self, value: Optional[pulumi.Input[builtins.str]]):
|
236
|
+
pulumi.set(self, "account_connector_id", value)
|
237
|
+
|
238
|
+
@property
|
239
|
+
@pulumi.getter
|
240
|
+
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
241
|
+
"""
|
242
|
+
Optional. Allows users to store small amounts of arbitrary data.
|
243
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
244
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
245
|
+
"""
|
246
|
+
return pulumi.get(self, "annotations")
|
247
|
+
|
248
|
+
@annotations.setter
|
249
|
+
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
250
|
+
pulumi.set(self, "annotations", value)
|
251
|
+
|
252
|
+
@property
|
253
|
+
@pulumi.getter(name="createTime")
|
254
|
+
def create_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
255
|
+
"""
|
256
|
+
Output only. The timestamp when the userConnection was created.
|
257
|
+
"""
|
258
|
+
return pulumi.get(self, "create_time")
|
259
|
+
|
260
|
+
@create_time.setter
|
261
|
+
def create_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
262
|
+
pulumi.set(self, "create_time", value)
|
263
|
+
|
264
|
+
@property
|
265
|
+
@pulumi.getter(name="effectiveAnnotations")
|
266
|
+
def effective_annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
267
|
+
return pulumi.get(self, "effective_annotations")
|
268
|
+
|
269
|
+
@effective_annotations.setter
|
270
|
+
def effective_annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
271
|
+
pulumi.set(self, "effective_annotations", value)
|
272
|
+
|
273
|
+
@property
|
274
|
+
@pulumi.getter(name="effectiveLabels")
|
275
|
+
def effective_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
276
|
+
"""
|
277
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
278
|
+
"""
|
279
|
+
return pulumi.get(self, "effective_labels")
|
280
|
+
|
281
|
+
@effective_labels.setter
|
282
|
+
def effective_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
283
|
+
pulumi.set(self, "effective_labels", value)
|
284
|
+
|
285
|
+
@property
|
286
|
+
@pulumi.getter
|
287
|
+
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
288
|
+
"""
|
289
|
+
Optional. Labels as key value pairs
|
290
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
291
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
292
|
+
"""
|
293
|
+
return pulumi.get(self, "labels")
|
294
|
+
|
295
|
+
@labels.setter
|
296
|
+
def labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
297
|
+
pulumi.set(self, "labels", value)
|
298
|
+
|
299
|
+
@property
|
300
|
+
@pulumi.getter
|
301
|
+
def location(self) -> Optional[pulumi.Input[builtins.str]]:
|
302
|
+
"""
|
303
|
+
The location of the resource.
|
304
|
+
"""
|
305
|
+
return pulumi.get(self, "location")
|
306
|
+
|
307
|
+
@location.setter
|
308
|
+
def location(self, value: Optional[pulumi.Input[builtins.str]]):
|
309
|
+
pulumi.set(self, "location", value)
|
310
|
+
|
311
|
+
@property
|
312
|
+
@pulumi.getter
|
313
|
+
def name(self) -> Optional[pulumi.Input[builtins.str]]:
|
314
|
+
"""
|
315
|
+
Identifier. The resource name of the userConnection, in the format
|
316
|
+
`projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
|
317
|
+
"""
|
318
|
+
return pulumi.get(self, "name")
|
319
|
+
|
320
|
+
@name.setter
|
321
|
+
def name(self, value: Optional[pulumi.Input[builtins.str]]):
|
322
|
+
pulumi.set(self, "name", value)
|
323
|
+
|
324
|
+
@property
|
325
|
+
@pulumi.getter(name="oauthStartUri")
|
326
|
+
def oauth_start_uri(self) -> Optional[pulumi.Input[builtins.str]]:
|
327
|
+
"""
|
328
|
+
Output only. Start OAuth flow by clicking on this URL.
|
329
|
+
"""
|
330
|
+
return pulumi.get(self, "oauth_start_uri")
|
331
|
+
|
332
|
+
@oauth_start_uri.setter
|
333
|
+
def oauth_start_uri(self, value: Optional[pulumi.Input[builtins.str]]):
|
334
|
+
pulumi.set(self, "oauth_start_uri", value)
|
335
|
+
|
336
|
+
@property
|
337
|
+
@pulumi.getter
|
338
|
+
def project(self) -> Optional[pulumi.Input[builtins.str]]:
|
339
|
+
"""
|
340
|
+
The ID of the project in which the resource belongs.
|
341
|
+
If it is not provided, the provider project is used.
|
342
|
+
"""
|
343
|
+
return pulumi.get(self, "project")
|
344
|
+
|
345
|
+
@project.setter
|
346
|
+
def project(self, value: Optional[pulumi.Input[builtins.str]]):
|
347
|
+
pulumi.set(self, "project", value)
|
348
|
+
|
349
|
+
@property
|
350
|
+
@pulumi.getter(name="providerOauthConfig")
|
351
|
+
def provider_oauth_config(self) -> Optional[pulumi.Input['AccountConnectorProviderOauthConfigArgs']]:
|
352
|
+
"""
|
353
|
+
ProviderOAuthConfig is the OAuth config for a provider.
|
354
|
+
Structure is documented below.
|
355
|
+
"""
|
356
|
+
return pulumi.get(self, "provider_oauth_config")
|
357
|
+
|
358
|
+
@provider_oauth_config.setter
|
359
|
+
def provider_oauth_config(self, value: Optional[pulumi.Input['AccountConnectorProviderOauthConfigArgs']]):
|
360
|
+
pulumi.set(self, "provider_oauth_config", value)
|
361
|
+
|
362
|
+
@property
|
363
|
+
@pulumi.getter(name="pulumiLabels")
|
364
|
+
def pulumi_labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]:
|
365
|
+
"""
|
366
|
+
The combination of labels configured directly on the resource
|
367
|
+
and default labels configured on the provider.
|
368
|
+
"""
|
369
|
+
return pulumi.get(self, "pulumi_labels")
|
370
|
+
|
371
|
+
@pulumi_labels.setter
|
372
|
+
def pulumi_labels(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]]):
|
373
|
+
pulumi.set(self, "pulumi_labels", value)
|
374
|
+
|
375
|
+
@property
|
376
|
+
@pulumi.getter(name="updateTime")
|
377
|
+
def update_time(self) -> Optional[pulumi.Input[builtins.str]]:
|
378
|
+
"""
|
379
|
+
Output only. The timestamp when the userConnection was updated.
|
380
|
+
"""
|
381
|
+
return pulumi.get(self, "update_time")
|
382
|
+
|
383
|
+
@update_time.setter
|
384
|
+
def update_time(self, value: Optional[pulumi.Input[builtins.str]]):
|
385
|
+
pulumi.set(self, "update_time", value)
|
386
|
+
|
387
|
+
|
388
|
+
class AccountConnector(pulumi.CustomResource):
|
389
|
+
@overload
|
390
|
+
def __init__(__self__,
|
391
|
+
resource_name: str,
|
392
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
393
|
+
account_connector_id: Optional[pulumi.Input[builtins.str]] = None,
|
394
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
395
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
396
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
397
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
398
|
+
provider_oauth_config: Optional[pulumi.Input[Union['AccountConnectorProviderOauthConfigArgs', 'AccountConnectorProviderOauthConfigArgsDict']]] = None,
|
399
|
+
__props__=None):
|
400
|
+
"""
|
401
|
+
Description
|
402
|
+
|
403
|
+
## Example Usage
|
404
|
+
|
405
|
+
### Developer Connect Account Connector Github
|
406
|
+
|
407
|
+
```python
|
408
|
+
import pulumi
|
409
|
+
import pulumi_gcp as gcp
|
410
|
+
|
411
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
412
|
+
location="us-central1",
|
413
|
+
account_connector_id="tf-test-ac",
|
414
|
+
provider_oauth_config={
|
415
|
+
"system_provider_id": "GITHUB",
|
416
|
+
"scopes": ["repo"],
|
417
|
+
})
|
418
|
+
```
|
419
|
+
### Developer Connect Account Connector Gitlab
|
420
|
+
|
421
|
+
```python
|
422
|
+
import pulumi
|
423
|
+
import pulumi_gcp as gcp
|
424
|
+
|
425
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
426
|
+
location="us-central1",
|
427
|
+
account_connector_id="tf-test-ac",
|
428
|
+
provider_oauth_config={
|
429
|
+
"system_provider_id": "GITLAB",
|
430
|
+
"scopes": ["api"],
|
431
|
+
})
|
432
|
+
```
|
433
|
+
### Developer Connect Account Connector Google
|
434
|
+
|
435
|
+
```python
|
436
|
+
import pulumi
|
437
|
+
import pulumi_gcp as gcp
|
438
|
+
|
439
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
440
|
+
location="us-central1",
|
441
|
+
account_connector_id="tf-test-ac",
|
442
|
+
provider_oauth_config={
|
443
|
+
"system_provider_id": "GOOGLE",
|
444
|
+
"scopes": ["https://www.googleapis.com/auth/drive.readonly"],
|
445
|
+
})
|
446
|
+
```
|
447
|
+
### Developer Connect Account Connector Sentry
|
448
|
+
|
449
|
+
```python
|
450
|
+
import pulumi
|
451
|
+
import pulumi_gcp as gcp
|
452
|
+
|
453
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
454
|
+
location="us-central1",
|
455
|
+
account_connector_id="tf-test-ac",
|
456
|
+
provider_oauth_config={
|
457
|
+
"system_provider_id": "SENTRY",
|
458
|
+
"scopes": ["org:read"],
|
459
|
+
})
|
460
|
+
```
|
461
|
+
### Developer Connect Account Connector Rovo
|
462
|
+
|
463
|
+
```python
|
464
|
+
import pulumi
|
465
|
+
import pulumi_gcp as gcp
|
466
|
+
|
467
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
468
|
+
location="us-central1",
|
469
|
+
account_connector_id="tf-test-ac",
|
470
|
+
provider_oauth_config={
|
471
|
+
"system_provider_id": "ROVO",
|
472
|
+
"scopes": ["rovo"],
|
473
|
+
})
|
474
|
+
```
|
475
|
+
|
476
|
+
## Import
|
477
|
+
|
478
|
+
AccountConnector can be imported using any of these accepted formats:
|
479
|
+
|
480
|
+
* `projects/{{project}}/locations/{{location}}/accountConnectors/{{account_connector_id}}`
|
481
|
+
|
482
|
+
* `{{project}}/{{location}}/{{account_connector_id}}`
|
483
|
+
|
484
|
+
* `{{location}}/{{account_connector_id}}`
|
485
|
+
|
486
|
+
When using the `pulumi import` command, AccountConnector can be imported using one of the formats above. For example:
|
487
|
+
|
488
|
+
```sh
|
489
|
+
$ pulumi import gcp:developerconnect/accountConnector:AccountConnector default projects/{{project}}/locations/{{location}}/accountConnectors/{{account_connector_id}}
|
490
|
+
```
|
491
|
+
|
492
|
+
```sh
|
493
|
+
$ pulumi import gcp:developerconnect/accountConnector:AccountConnector default {{project}}/{{location}}/{{account_connector_id}}
|
494
|
+
```
|
495
|
+
|
496
|
+
```sh
|
497
|
+
$ pulumi import gcp:developerconnect/accountConnector:AccountConnector default {{location}}/{{account_connector_id}}
|
498
|
+
```
|
499
|
+
|
500
|
+
:param str resource_name: The name of the resource.
|
501
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
502
|
+
:param pulumi.Input[builtins.str] account_connector_id: Required. The ID to use for the AccountConnector, which will become the final
|
503
|
+
component of the AccountConnector's resource name. Its format should adhere
|
504
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
505
|
+
per-project per-location.
|
506
|
+
|
507
|
+
|
508
|
+
- - -
|
509
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: Optional. Allows users to store small amounts of arbitrary data.
|
510
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
511
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
512
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels as key value pairs
|
513
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
514
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
515
|
+
:param pulumi.Input[builtins.str] location: The location of the resource.
|
516
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
517
|
+
If it is not provided, the provider project is used.
|
518
|
+
:param pulumi.Input[Union['AccountConnectorProviderOauthConfigArgs', 'AccountConnectorProviderOauthConfigArgsDict']] provider_oauth_config: ProviderOAuthConfig is the OAuth config for a provider.
|
519
|
+
Structure is documented below.
|
520
|
+
"""
|
521
|
+
...
|
522
|
+
@overload
|
523
|
+
def __init__(__self__,
|
524
|
+
resource_name: str,
|
525
|
+
args: AccountConnectorArgs,
|
526
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
527
|
+
"""
|
528
|
+
Description
|
529
|
+
|
530
|
+
## Example Usage
|
531
|
+
|
532
|
+
### Developer Connect Account Connector Github
|
533
|
+
|
534
|
+
```python
|
535
|
+
import pulumi
|
536
|
+
import pulumi_gcp as gcp
|
537
|
+
|
538
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
539
|
+
location="us-central1",
|
540
|
+
account_connector_id="tf-test-ac",
|
541
|
+
provider_oauth_config={
|
542
|
+
"system_provider_id": "GITHUB",
|
543
|
+
"scopes": ["repo"],
|
544
|
+
})
|
545
|
+
```
|
546
|
+
### Developer Connect Account Connector Gitlab
|
547
|
+
|
548
|
+
```python
|
549
|
+
import pulumi
|
550
|
+
import pulumi_gcp as gcp
|
551
|
+
|
552
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
553
|
+
location="us-central1",
|
554
|
+
account_connector_id="tf-test-ac",
|
555
|
+
provider_oauth_config={
|
556
|
+
"system_provider_id": "GITLAB",
|
557
|
+
"scopes": ["api"],
|
558
|
+
})
|
559
|
+
```
|
560
|
+
### Developer Connect Account Connector Google
|
561
|
+
|
562
|
+
```python
|
563
|
+
import pulumi
|
564
|
+
import pulumi_gcp as gcp
|
565
|
+
|
566
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
567
|
+
location="us-central1",
|
568
|
+
account_connector_id="tf-test-ac",
|
569
|
+
provider_oauth_config={
|
570
|
+
"system_provider_id": "GOOGLE",
|
571
|
+
"scopes": ["https://www.googleapis.com/auth/drive.readonly"],
|
572
|
+
})
|
573
|
+
```
|
574
|
+
### Developer Connect Account Connector Sentry
|
575
|
+
|
576
|
+
```python
|
577
|
+
import pulumi
|
578
|
+
import pulumi_gcp as gcp
|
579
|
+
|
580
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
581
|
+
location="us-central1",
|
582
|
+
account_connector_id="tf-test-ac",
|
583
|
+
provider_oauth_config={
|
584
|
+
"system_provider_id": "SENTRY",
|
585
|
+
"scopes": ["org:read"],
|
586
|
+
})
|
587
|
+
```
|
588
|
+
### Developer Connect Account Connector Rovo
|
589
|
+
|
590
|
+
```python
|
591
|
+
import pulumi
|
592
|
+
import pulumi_gcp as gcp
|
593
|
+
|
594
|
+
my_account_connector = gcp.developerconnect.AccountConnector("my-account-connector",
|
595
|
+
location="us-central1",
|
596
|
+
account_connector_id="tf-test-ac",
|
597
|
+
provider_oauth_config={
|
598
|
+
"system_provider_id": "ROVO",
|
599
|
+
"scopes": ["rovo"],
|
600
|
+
})
|
601
|
+
```
|
602
|
+
|
603
|
+
## Import
|
604
|
+
|
605
|
+
AccountConnector can be imported using any of these accepted formats:
|
606
|
+
|
607
|
+
* `projects/{{project}}/locations/{{location}}/accountConnectors/{{account_connector_id}}`
|
608
|
+
|
609
|
+
* `{{project}}/{{location}}/{{account_connector_id}}`
|
610
|
+
|
611
|
+
* `{{location}}/{{account_connector_id}}`
|
612
|
+
|
613
|
+
When using the `pulumi import` command, AccountConnector can be imported using one of the formats above. For example:
|
614
|
+
|
615
|
+
```sh
|
616
|
+
$ pulumi import gcp:developerconnect/accountConnector:AccountConnector default projects/{{project}}/locations/{{location}}/accountConnectors/{{account_connector_id}}
|
617
|
+
```
|
618
|
+
|
619
|
+
```sh
|
620
|
+
$ pulumi import gcp:developerconnect/accountConnector:AccountConnector default {{project}}/{{location}}/{{account_connector_id}}
|
621
|
+
```
|
622
|
+
|
623
|
+
```sh
|
624
|
+
$ pulumi import gcp:developerconnect/accountConnector:AccountConnector default {{location}}/{{account_connector_id}}
|
625
|
+
```
|
626
|
+
|
627
|
+
:param str resource_name: The name of the resource.
|
628
|
+
:param AccountConnectorArgs args: The arguments to use to populate this resource's properties.
|
629
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
630
|
+
"""
|
631
|
+
...
|
632
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
633
|
+
resource_args, opts = _utilities.get_resource_args_opts(AccountConnectorArgs, pulumi.ResourceOptions, *args, **kwargs)
|
634
|
+
if resource_args is not None:
|
635
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
636
|
+
else:
|
637
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
638
|
+
|
639
|
+
def _internal_init(__self__,
|
640
|
+
resource_name: str,
|
641
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
642
|
+
account_connector_id: Optional[pulumi.Input[builtins.str]] = None,
|
643
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
644
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
645
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
646
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
647
|
+
provider_oauth_config: Optional[pulumi.Input[Union['AccountConnectorProviderOauthConfigArgs', 'AccountConnectorProviderOauthConfigArgsDict']]] = None,
|
648
|
+
__props__=None):
|
649
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
650
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
651
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
652
|
+
if opts.id is None:
|
653
|
+
if __props__ is not None:
|
654
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
655
|
+
__props__ = AccountConnectorArgs.__new__(AccountConnectorArgs)
|
656
|
+
|
657
|
+
if account_connector_id is None and not opts.urn:
|
658
|
+
raise TypeError("Missing required property 'account_connector_id'")
|
659
|
+
__props__.__dict__["account_connector_id"] = account_connector_id
|
660
|
+
__props__.__dict__["annotations"] = annotations
|
661
|
+
__props__.__dict__["labels"] = labels
|
662
|
+
if location is None and not opts.urn:
|
663
|
+
raise TypeError("Missing required property 'location'")
|
664
|
+
__props__.__dict__["location"] = location
|
665
|
+
__props__.__dict__["project"] = project
|
666
|
+
__props__.__dict__["provider_oauth_config"] = provider_oauth_config
|
667
|
+
__props__.__dict__["create_time"] = None
|
668
|
+
__props__.__dict__["effective_annotations"] = None
|
669
|
+
__props__.__dict__["effective_labels"] = None
|
670
|
+
__props__.__dict__["name"] = None
|
671
|
+
__props__.__dict__["oauth_start_uri"] = None
|
672
|
+
__props__.__dict__["pulumi_labels"] = None
|
673
|
+
__props__.__dict__["update_time"] = None
|
674
|
+
secret_opts = pulumi.ResourceOptions(additional_secret_outputs=["effectiveLabels", "pulumiLabels"])
|
675
|
+
opts = pulumi.ResourceOptions.merge(opts, secret_opts)
|
676
|
+
super(AccountConnector, __self__).__init__(
|
677
|
+
'gcp:developerconnect/accountConnector:AccountConnector',
|
678
|
+
resource_name,
|
679
|
+
__props__,
|
680
|
+
opts)
|
681
|
+
|
682
|
+
@staticmethod
|
683
|
+
def get(resource_name: str,
|
684
|
+
id: pulumi.Input[str],
|
685
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
686
|
+
account_connector_id: Optional[pulumi.Input[builtins.str]] = None,
|
687
|
+
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
688
|
+
create_time: Optional[pulumi.Input[builtins.str]] = None,
|
689
|
+
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
690
|
+
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
691
|
+
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
692
|
+
location: Optional[pulumi.Input[builtins.str]] = None,
|
693
|
+
name: Optional[pulumi.Input[builtins.str]] = None,
|
694
|
+
oauth_start_uri: Optional[pulumi.Input[builtins.str]] = None,
|
695
|
+
project: Optional[pulumi.Input[builtins.str]] = None,
|
696
|
+
provider_oauth_config: Optional[pulumi.Input[Union['AccountConnectorProviderOauthConfigArgs', 'AccountConnectorProviderOauthConfigArgsDict']]] = None,
|
697
|
+
pulumi_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]]] = None,
|
698
|
+
update_time: Optional[pulumi.Input[builtins.str]] = None) -> 'AccountConnector':
|
699
|
+
"""
|
700
|
+
Get an existing AccountConnector resource's state with the given name, id, and optional extra
|
701
|
+
properties used to qualify the lookup.
|
702
|
+
|
703
|
+
:param str resource_name: The unique name of the resulting resource.
|
704
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
705
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
706
|
+
:param pulumi.Input[builtins.str] account_connector_id: Required. The ID to use for the AccountConnector, which will become the final
|
707
|
+
component of the AccountConnector's resource name. Its format should adhere
|
708
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
709
|
+
per-project per-location.
|
710
|
+
|
711
|
+
|
712
|
+
- - -
|
713
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] annotations: Optional. Allows users to store small amounts of arbitrary data.
|
714
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
715
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
716
|
+
:param pulumi.Input[builtins.str] create_time: Output only. The timestamp when the userConnection was created.
|
717
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.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.
|
718
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] labels: Optional. Labels as key value pairs
|
719
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
720
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
721
|
+
:param pulumi.Input[builtins.str] location: The location of the resource.
|
722
|
+
:param pulumi.Input[builtins.str] name: Identifier. The resource name of the userConnection, in the format
|
723
|
+
`projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
|
724
|
+
:param pulumi.Input[builtins.str] oauth_start_uri: Output only. Start OAuth flow by clicking on this URL.
|
725
|
+
:param pulumi.Input[builtins.str] project: The ID of the project in which the resource belongs.
|
726
|
+
If it is not provided, the provider project is used.
|
727
|
+
:param pulumi.Input[Union['AccountConnectorProviderOauthConfigArgs', 'AccountConnectorProviderOauthConfigArgsDict']] provider_oauth_config: ProviderOAuthConfig is the OAuth config for a provider.
|
728
|
+
Structure is documented below.
|
729
|
+
:param pulumi.Input[Mapping[str, pulumi.Input[builtins.str]]] pulumi_labels: The combination of labels configured directly on the resource
|
730
|
+
and default labels configured on the provider.
|
731
|
+
:param pulumi.Input[builtins.str] update_time: Output only. The timestamp when the userConnection was updated.
|
732
|
+
"""
|
733
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
734
|
+
|
735
|
+
__props__ = _AccountConnectorState.__new__(_AccountConnectorState)
|
736
|
+
|
737
|
+
__props__.__dict__["account_connector_id"] = account_connector_id
|
738
|
+
__props__.__dict__["annotations"] = annotations
|
739
|
+
__props__.__dict__["create_time"] = create_time
|
740
|
+
__props__.__dict__["effective_annotations"] = effective_annotations
|
741
|
+
__props__.__dict__["effective_labels"] = effective_labels
|
742
|
+
__props__.__dict__["labels"] = labels
|
743
|
+
__props__.__dict__["location"] = location
|
744
|
+
__props__.__dict__["name"] = name
|
745
|
+
__props__.__dict__["oauth_start_uri"] = oauth_start_uri
|
746
|
+
__props__.__dict__["project"] = project
|
747
|
+
__props__.__dict__["provider_oauth_config"] = provider_oauth_config
|
748
|
+
__props__.__dict__["pulumi_labels"] = pulumi_labels
|
749
|
+
__props__.__dict__["update_time"] = update_time
|
750
|
+
return AccountConnector(resource_name, opts=opts, __props__=__props__)
|
751
|
+
|
752
|
+
@property
|
753
|
+
@pulumi.getter(name="accountConnectorId")
|
754
|
+
def account_connector_id(self) -> pulumi.Output[builtins.str]:
|
755
|
+
"""
|
756
|
+
Required. The ID to use for the AccountConnector, which will become the final
|
757
|
+
component of the AccountConnector's resource name. Its format should adhere
|
758
|
+
to https://google.aip.dev/122#resource-id-segments Names must be unique
|
759
|
+
per-project per-location.
|
760
|
+
|
761
|
+
|
762
|
+
- - -
|
763
|
+
"""
|
764
|
+
return pulumi.get(self, "account_connector_id")
|
765
|
+
|
766
|
+
@property
|
767
|
+
@pulumi.getter
|
768
|
+
def annotations(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
769
|
+
"""
|
770
|
+
Optional. Allows users to store small amounts of arbitrary data.
|
771
|
+
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
772
|
+
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
773
|
+
"""
|
774
|
+
return pulumi.get(self, "annotations")
|
775
|
+
|
776
|
+
@property
|
777
|
+
@pulumi.getter(name="createTime")
|
778
|
+
def create_time(self) -> pulumi.Output[builtins.str]:
|
779
|
+
"""
|
780
|
+
Output only. The timestamp when the userConnection was created.
|
781
|
+
"""
|
782
|
+
return pulumi.get(self, "create_time")
|
783
|
+
|
784
|
+
@property
|
785
|
+
@pulumi.getter(name="effectiveAnnotations")
|
786
|
+
def effective_annotations(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
787
|
+
return pulumi.get(self, "effective_annotations")
|
788
|
+
|
789
|
+
@property
|
790
|
+
@pulumi.getter(name="effectiveLabels")
|
791
|
+
def effective_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
792
|
+
"""
|
793
|
+
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
|
794
|
+
"""
|
795
|
+
return pulumi.get(self, "effective_labels")
|
796
|
+
|
797
|
+
@property
|
798
|
+
@pulumi.getter
|
799
|
+
def labels(self) -> pulumi.Output[Optional[Mapping[str, builtins.str]]]:
|
800
|
+
"""
|
801
|
+
Optional. Labels as key value pairs
|
802
|
+
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
803
|
+
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
804
|
+
"""
|
805
|
+
return pulumi.get(self, "labels")
|
806
|
+
|
807
|
+
@property
|
808
|
+
@pulumi.getter
|
809
|
+
def location(self) -> pulumi.Output[builtins.str]:
|
810
|
+
"""
|
811
|
+
The location of the resource.
|
812
|
+
"""
|
813
|
+
return pulumi.get(self, "location")
|
814
|
+
|
815
|
+
@property
|
816
|
+
@pulumi.getter
|
817
|
+
def name(self) -> pulumi.Output[builtins.str]:
|
818
|
+
"""
|
819
|
+
Identifier. The resource name of the userConnection, in the format
|
820
|
+
`projects/{project}/locations/{location}/accountConnectors/{account_connector_id}`.
|
821
|
+
"""
|
822
|
+
return pulumi.get(self, "name")
|
823
|
+
|
824
|
+
@property
|
825
|
+
@pulumi.getter(name="oauthStartUri")
|
826
|
+
def oauth_start_uri(self) -> pulumi.Output[builtins.str]:
|
827
|
+
"""
|
828
|
+
Output only. Start OAuth flow by clicking on this URL.
|
829
|
+
"""
|
830
|
+
return pulumi.get(self, "oauth_start_uri")
|
831
|
+
|
832
|
+
@property
|
833
|
+
@pulumi.getter
|
834
|
+
def project(self) -> pulumi.Output[builtins.str]:
|
835
|
+
"""
|
836
|
+
The ID of the project in which the resource belongs.
|
837
|
+
If it is not provided, the provider project is used.
|
838
|
+
"""
|
839
|
+
return pulumi.get(self, "project")
|
840
|
+
|
841
|
+
@property
|
842
|
+
@pulumi.getter(name="providerOauthConfig")
|
843
|
+
def provider_oauth_config(self) -> pulumi.Output[Optional['outputs.AccountConnectorProviderOauthConfig']]:
|
844
|
+
"""
|
845
|
+
ProviderOAuthConfig is the OAuth config for a provider.
|
846
|
+
Structure is documented below.
|
847
|
+
"""
|
848
|
+
return pulumi.get(self, "provider_oauth_config")
|
849
|
+
|
850
|
+
@property
|
851
|
+
@pulumi.getter(name="pulumiLabels")
|
852
|
+
def pulumi_labels(self) -> pulumi.Output[Mapping[str, builtins.str]]:
|
853
|
+
"""
|
854
|
+
The combination of labels configured directly on the resource
|
855
|
+
and default labels configured on the provider.
|
856
|
+
"""
|
857
|
+
return pulumi.get(self, "pulumi_labels")
|
858
|
+
|
859
|
+
@property
|
860
|
+
@pulumi.getter(name="updateTime")
|
861
|
+
def update_time(self) -> pulumi.Output[builtins.str]:
|
862
|
+
"""
|
863
|
+
Output only. The timestamp when the userConnection was updated.
|
864
|
+
"""
|
865
|
+
return pulumi.get(self, "update_time")
|
866
|
+
|