pulumi-gcp 8.14.0__py3-none-any.whl → 8.14.0a1736317789__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 +0 -32
- pulumi_gcp/applicationintegration/_inputs.py +3 -3
- pulumi_gcp/applicationintegration/outputs.py +2 -2
- pulumi_gcp/beyondcorp/__init__.py +0 -1
- pulumi_gcp/beyondcorp/_inputs.py +0 -93
- pulumi_gcp/beyondcorp/outputs.py +0 -89
- pulumi_gcp/blockchainnodeengine/_inputs.py +3 -3
- pulumi_gcp/blockchainnodeengine/outputs.py +2 -2
- pulumi_gcp/certificateauthority/_inputs.py +6 -6
- pulumi_gcp/certificateauthority/outputs.py +4 -4
- pulumi_gcp/certificatemanager/_inputs.py +3 -3
- pulumi_gcp/certificatemanager/outputs.py +2 -2
- pulumi_gcp/chronicle/__init__.py +0 -2
- pulumi_gcp/chronicle/_inputs.py +0 -388
- pulumi_gcp/chronicle/outputs.py +0 -322
- pulumi_gcp/chronicle/watchlist.py +45 -68
- pulumi_gcp/cloudbuild/_inputs.py +3 -3
- pulumi_gcp/cloudbuild/outputs.py +2 -2
- pulumi_gcp/cloudquota/__init__.py +0 -1
- pulumi_gcp/compute/_inputs.py +33 -33
- pulumi_gcp/compute/instance_group_manager.py +9 -9
- pulumi_gcp/compute/outputs.py +22 -22
- pulumi_gcp/compute/region_instance_group_manager.py +9 -9
- pulumi_gcp/datacatalog/_inputs.py +3 -3
- pulumi_gcp/datacatalog/outputs.py +2 -2
- pulumi_gcp/developerconnect/_inputs.py +42 -910
- pulumi_gcp/developerconnect/connection.py +86 -614
- pulumi_gcp/developerconnect/git_repository_link.py +0 -4
- pulumi_gcp/developerconnect/outputs.py +28 -717
- pulumi_gcp/dns/_inputs.py +20 -124
- pulumi_gcp/dns/outputs.py +16 -90
- pulumi_gcp/dns/record_set.py +0 -82
- pulumi_gcp/edgecontainer/_inputs.py +3 -3
- pulumi_gcp/edgecontainer/outputs.py +2 -2
- pulumi_gcp/gkeonprem/_inputs.py +15 -15
- pulumi_gcp/gkeonprem/outputs.py +10 -10
- pulumi_gcp/gkeonprem/v_mware_cluster.py +1 -1
- pulumi_gcp/iap/_inputs.py +3 -9
- pulumi_gcp/iap/outputs.py +2 -6
- pulumi_gcp/iap/settings.py +63 -63
- pulumi_gcp/identityplatform/_inputs.py +9 -9
- pulumi_gcp/identityplatform/outputs.py +6 -6
- pulumi_gcp/integrationconnectors/_inputs.py +6 -6
- pulumi_gcp/integrationconnectors/outputs.py +4 -4
- pulumi_gcp/monitoring/_inputs.py +3 -3
- pulumi_gcp/monitoring/outputs.py +2 -2
- pulumi_gcp/oracledatabase/_inputs.py +3 -3
- pulumi_gcp/oracledatabase/outputs.py +2 -2
- pulumi_gcp/pulumi-plugin.json +1 -1
- pulumi_gcp/sql/_inputs.py +0 -20
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +0 -36
- pulumi_gcp/transcoder/_inputs.py +6 -6
- pulumi_gcp/transcoder/outputs.py +4 -4
- {pulumi_gcp-8.14.0.dist-info → pulumi_gcp-8.14.0a1736317789.dist-info}/METADATA +2 -2
- {pulumi_gcp-8.14.0.dist-info → pulumi_gcp-8.14.0a1736317789.dist-info}/RECORD +58 -62
- {pulumi_gcp-8.14.0.dist-info → pulumi_gcp-8.14.0a1736317789.dist-info}/WHEEL +1 -1
- pulumi_gcp/beyondcorp/security_gateway.py +0 -670
- pulumi_gcp/chronicle/data_access_label.py +0 -690
- pulumi_gcp/chronicle/data_access_scope.py +0 -1094
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +0 -336
- {pulumi_gcp-8.14.0.dist-info → pulumi_gcp-8.14.0a1736317789.dist-info}/top_level.txt +0 -0
@@ -24,45 +24,33 @@ class ConnectionArgs:
|
|
24
24
|
connection_id: pulumi.Input[str],
|
25
25
|
location: pulumi.Input[str],
|
26
26
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
27
|
-
crypto_key_config: Optional[pulumi.Input['ConnectionCryptoKeyConfigArgs']] = None,
|
28
27
|
disabled: Optional[pulumi.Input[bool]] = None,
|
29
28
|
etag: Optional[pulumi.Input[str]] = None,
|
30
29
|
github_config: Optional[pulumi.Input['ConnectionGithubConfigArgs']] = None,
|
31
|
-
github_enterprise_config: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']] = None,
|
32
|
-
gitlab_config: Optional[pulumi.Input['ConnectionGitlabConfigArgs']] = None,
|
33
|
-
gitlab_enterprise_config: Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigArgs']] = None,
|
34
30
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
35
31
|
project: Optional[pulumi.Input[str]] = None):
|
36
32
|
"""
|
37
33
|
The set of arguments for constructing a Connection resource.
|
38
|
-
:param pulumi.Input[str] connection_id: Required. Id of the requesting object
|
39
|
-
|
40
|
-
connection_id from the method_signature of Create RPC
|
34
|
+
:param pulumi.Input[str] connection_id: Required. Id of the requesting object. If auto-generating Id server-side,
|
35
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
41
36
|
|
42
37
|
|
43
38
|
- - -
|
44
|
-
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
39
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
40
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
41
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
45
42
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Allows clients to store small amounts of arbitrary data.
|
43
|
+
|
46
44
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
47
45
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
48
|
-
:param pulumi.Input[
|
49
|
-
|
50
|
-
|
51
|
-
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection.
|
52
|
-
Repository based API methods and webhooks processing for repositories in
|
53
|
-
this connection will be disabled.
|
54
|
-
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value of other
|
55
|
-
fields, and may be sent on update and delete requests to ensure the
|
46
|
+
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
47
|
+
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value
|
48
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
56
49
|
client has an up-to-date value before proceeding.
|
57
50
|
:param pulumi.Input['ConnectionGithubConfigArgs'] github_config: Configuration for connections to github.com.
|
58
51
|
Structure is documented below.
|
59
|
-
:param pulumi.Input['ConnectionGithubEnterpriseConfigArgs'] github_enterprise_config: Configuration for connections to an instance of GitHub Enterprise.
|
60
|
-
Structure is documented below.
|
61
|
-
:param pulumi.Input['ConnectionGitlabConfigArgs'] gitlab_config: Configuration for connections to gitlab.com.
|
62
|
-
Structure is documented below.
|
63
|
-
:param pulumi.Input['ConnectionGitlabEnterpriseConfigArgs'] gitlab_enterprise_config: Configuration for connections to an instance of GitLab Enterprise.
|
64
|
-
Structure is documented below.
|
65
52
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
53
|
+
|
66
54
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
67
55
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
68
56
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
@@ -72,20 +60,12 @@ class ConnectionArgs:
|
|
72
60
|
pulumi.set(__self__, "location", location)
|
73
61
|
if annotations is not None:
|
74
62
|
pulumi.set(__self__, "annotations", annotations)
|
75
|
-
if crypto_key_config is not None:
|
76
|
-
pulumi.set(__self__, "crypto_key_config", crypto_key_config)
|
77
63
|
if disabled is not None:
|
78
64
|
pulumi.set(__self__, "disabled", disabled)
|
79
65
|
if etag is not None:
|
80
66
|
pulumi.set(__self__, "etag", etag)
|
81
67
|
if github_config is not None:
|
82
68
|
pulumi.set(__self__, "github_config", github_config)
|
83
|
-
if github_enterprise_config is not None:
|
84
|
-
pulumi.set(__self__, "github_enterprise_config", github_enterprise_config)
|
85
|
-
if gitlab_config is not None:
|
86
|
-
pulumi.set(__self__, "gitlab_config", gitlab_config)
|
87
|
-
if gitlab_enterprise_config is not None:
|
88
|
-
pulumi.set(__self__, "gitlab_enterprise_config", gitlab_enterprise_config)
|
89
69
|
if labels is not None:
|
90
70
|
pulumi.set(__self__, "labels", labels)
|
91
71
|
if project is not None:
|
@@ -95,9 +75,8 @@ class ConnectionArgs:
|
|
95
75
|
@pulumi.getter(name="connectionId")
|
96
76
|
def connection_id(self) -> pulumi.Input[str]:
|
97
77
|
"""
|
98
|
-
Required. Id of the requesting object
|
99
|
-
|
100
|
-
connection_id from the method_signature of Create RPC
|
78
|
+
Required. Id of the requesting object. If auto-generating Id server-side,
|
79
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
101
80
|
|
102
81
|
|
103
82
|
- - -
|
@@ -112,7 +91,9 @@ class ConnectionArgs:
|
|
112
91
|
@pulumi.getter
|
113
92
|
def location(self) -> pulumi.Input[str]:
|
114
93
|
"""
|
115
|
-
Resource ID segment making up resource `name`. It identifies the resource
|
94
|
+
Resource ID segment making up resource `name`. It identifies the resource
|
95
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
96
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
116
97
|
"""
|
117
98
|
return pulumi.get(self, "location")
|
118
99
|
|
@@ -125,6 +106,7 @@ class ConnectionArgs:
|
|
125
106
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
126
107
|
"""
|
127
108
|
Optional. Allows clients to store small amounts of arbitrary data.
|
109
|
+
|
128
110
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
129
111
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
130
112
|
"""
|
@@ -134,27 +116,11 @@ class ConnectionArgs:
|
|
134
116
|
def annotations(self, value: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]):
|
135
117
|
pulumi.set(self, "annotations", value)
|
136
118
|
|
137
|
-
@property
|
138
|
-
@pulumi.getter(name="cryptoKeyConfig")
|
139
|
-
def crypto_key_config(self) -> Optional[pulumi.Input['ConnectionCryptoKeyConfigArgs']]:
|
140
|
-
"""
|
141
|
-
The crypto key configuration. This field is used by the Customer-managed
|
142
|
-
encryption keys (CMEK) feature.
|
143
|
-
Structure is documented below.
|
144
|
-
"""
|
145
|
-
return pulumi.get(self, "crypto_key_config")
|
146
|
-
|
147
|
-
@crypto_key_config.setter
|
148
|
-
def crypto_key_config(self, value: Optional[pulumi.Input['ConnectionCryptoKeyConfigArgs']]):
|
149
|
-
pulumi.set(self, "crypto_key_config", value)
|
150
|
-
|
151
119
|
@property
|
152
120
|
@pulumi.getter
|
153
121
|
def disabled(self) -> Optional[pulumi.Input[bool]]:
|
154
122
|
"""
|
155
|
-
Optional. If disabled is set to true, functionality is disabled for this connection.
|
156
|
-
Repository based API methods and webhooks processing for repositories in
|
157
|
-
this connection will be disabled.
|
123
|
+
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
158
124
|
"""
|
159
125
|
return pulumi.get(self, "disabled")
|
160
126
|
|
@@ -166,8 +132,8 @@ class ConnectionArgs:
|
|
166
132
|
@pulumi.getter
|
167
133
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
168
134
|
"""
|
169
|
-
Optional. This checksum is computed by the server based on the value
|
170
|
-
fields, and may be sent on update and delete requests to ensure the
|
135
|
+
Optional. This checksum is computed by the server based on the value
|
136
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
171
137
|
client has an up-to-date value before proceeding.
|
172
138
|
"""
|
173
139
|
return pulumi.get(self, "etag")
|
@@ -189,50 +155,12 @@ class ConnectionArgs:
|
|
189
155
|
def github_config(self, value: Optional[pulumi.Input['ConnectionGithubConfigArgs']]):
|
190
156
|
pulumi.set(self, "github_config", value)
|
191
157
|
|
192
|
-
@property
|
193
|
-
@pulumi.getter(name="githubEnterpriseConfig")
|
194
|
-
def github_enterprise_config(self) -> Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']]:
|
195
|
-
"""
|
196
|
-
Configuration for connections to an instance of GitHub Enterprise.
|
197
|
-
Structure is documented below.
|
198
|
-
"""
|
199
|
-
return pulumi.get(self, "github_enterprise_config")
|
200
|
-
|
201
|
-
@github_enterprise_config.setter
|
202
|
-
def github_enterprise_config(self, value: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']]):
|
203
|
-
pulumi.set(self, "github_enterprise_config", value)
|
204
|
-
|
205
|
-
@property
|
206
|
-
@pulumi.getter(name="gitlabConfig")
|
207
|
-
def gitlab_config(self) -> Optional[pulumi.Input['ConnectionGitlabConfigArgs']]:
|
208
|
-
"""
|
209
|
-
Configuration for connections to gitlab.com.
|
210
|
-
Structure is documented below.
|
211
|
-
"""
|
212
|
-
return pulumi.get(self, "gitlab_config")
|
213
|
-
|
214
|
-
@gitlab_config.setter
|
215
|
-
def gitlab_config(self, value: Optional[pulumi.Input['ConnectionGitlabConfigArgs']]):
|
216
|
-
pulumi.set(self, "gitlab_config", value)
|
217
|
-
|
218
|
-
@property
|
219
|
-
@pulumi.getter(name="gitlabEnterpriseConfig")
|
220
|
-
def gitlab_enterprise_config(self) -> Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigArgs']]:
|
221
|
-
"""
|
222
|
-
Configuration for connections to an instance of GitLab Enterprise.
|
223
|
-
Structure is documented below.
|
224
|
-
"""
|
225
|
-
return pulumi.get(self, "gitlab_enterprise_config")
|
226
|
-
|
227
|
-
@gitlab_enterprise_config.setter
|
228
|
-
def gitlab_enterprise_config(self, value: Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigArgs']]):
|
229
|
-
pulumi.set(self, "gitlab_enterprise_config", value)
|
230
|
-
|
231
158
|
@property
|
232
159
|
@pulumi.getter
|
233
160
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
234
161
|
"""
|
235
162
|
Optional. Labels as key value pairs
|
163
|
+
|
236
164
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
237
165
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
238
166
|
"""
|
@@ -262,16 +190,12 @@ class _ConnectionState:
|
|
262
190
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
263
191
|
connection_id: Optional[pulumi.Input[str]] = None,
|
264
192
|
create_time: Optional[pulumi.Input[str]] = None,
|
265
|
-
crypto_key_config: Optional[pulumi.Input['ConnectionCryptoKeyConfigArgs']] = None,
|
266
193
|
delete_time: Optional[pulumi.Input[str]] = None,
|
267
194
|
disabled: Optional[pulumi.Input[bool]] = None,
|
268
195
|
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
269
196
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
270
197
|
etag: Optional[pulumi.Input[str]] = None,
|
271
198
|
github_config: Optional[pulumi.Input['ConnectionGithubConfigArgs']] = None,
|
272
|
-
github_enterprise_config: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']] = None,
|
273
|
-
gitlab_config: Optional[pulumi.Input['ConnectionGitlabConfigArgs']] = None,
|
274
|
-
gitlab_enterprise_config: Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigArgs']] = None,
|
275
199
|
installation_states: Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionInstallationStateArgs']]]] = None,
|
276
200
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
277
201
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -284,50 +208,41 @@ class _ConnectionState:
|
|
284
208
|
"""
|
285
209
|
Input properties used for looking up and filtering Connection resources.
|
286
210
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Allows clients to store small amounts of arbitrary data.
|
211
|
+
|
287
212
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
288
213
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
289
|
-
:param pulumi.Input[str] connection_id: Required. Id of the requesting object
|
290
|
-
|
291
|
-
connection_id from the method_signature of Create RPC
|
214
|
+
:param pulumi.Input[str] connection_id: Required. Id of the requesting object. If auto-generating Id server-side,
|
215
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
292
216
|
|
293
217
|
|
294
218
|
- - -
|
295
219
|
:param pulumi.Input[str] create_time: Output only. [Output only] Create timestamp
|
296
|
-
:param pulumi.Input['ConnectionCryptoKeyConfigArgs'] crypto_key_config: The crypto key configuration. This field is used by the Customer-managed
|
297
|
-
encryption keys (CMEK) feature.
|
298
|
-
Structure is documented below.
|
299
220
|
:param pulumi.Input[str] delete_time: Output only. [Output only] Delete timestamp
|
300
|
-
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection.
|
301
|
-
Repository based API methods and webhooks processing for repositories in
|
302
|
-
this connection will be disabled.
|
221
|
+
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
303
222
|
: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.
|
304
|
-
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value
|
305
|
-
fields, and may be sent on update and delete requests to ensure the
|
223
|
+
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value
|
224
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
306
225
|
client has an up-to-date value before proceeding.
|
307
226
|
:param pulumi.Input['ConnectionGithubConfigArgs'] github_config: Configuration for connections to github.com.
|
308
227
|
Structure is documented below.
|
309
|
-
:param pulumi.Input['
|
310
|
-
|
311
|
-
:param pulumi.Input['ConnectionGitlabConfigArgs'] gitlab_config: Configuration for connections to gitlab.com.
|
312
|
-
Structure is documented below.
|
313
|
-
:param pulumi.Input['ConnectionGitlabEnterpriseConfigArgs'] gitlab_enterprise_config: Configuration for connections to an instance of GitLab Enterprise.
|
314
|
-
Structure is documented below.
|
315
|
-
:param pulumi.Input[Sequence[pulumi.Input['ConnectionInstallationStateArgs']]] installation_states: Describes stage and necessary actions to be taken by the
|
316
|
-
user to complete the installation. Used for GitHub and GitHub Enterprise
|
317
|
-
based connections.
|
228
|
+
:param pulumi.Input[Sequence[pulumi.Input['ConnectionInstallationStateArgs']]] installation_states: Describes stage and necessary actions to be taken by the user to complete the installation.
|
229
|
+
Used for GitHub and GitHub Enterprise based connections.
|
318
230
|
Structure is documented below.
|
319
231
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
232
|
+
|
320
233
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
321
234
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
322
|
-
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
235
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
236
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
237
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
323
238
|
:param pulumi.Input[str] name: Identifier. The resource name of the connection, in the format
|
324
239
|
`projects/{project}/locations/{location}/connections/{connection_id}`.
|
325
240
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
326
241
|
If it is not provided, the provider project is used.
|
327
242
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
328
243
|
and default labels configured on the provider.
|
329
|
-
:param pulumi.Input[bool] reconciling: Output only. Set to true when the connection is being set up or updated
|
330
|
-
background.
|
244
|
+
:param pulumi.Input[bool] reconciling: Output only. Set to true when the connection is being set up or updated
|
245
|
+
in the background.
|
331
246
|
:param pulumi.Input[str] uid: Output only. A system-assigned unique identifier for a the GitRepositoryLink.
|
332
247
|
:param pulumi.Input[str] update_time: Output only. [Output only] Update timestamp
|
333
248
|
"""
|
@@ -337,8 +252,6 @@ class _ConnectionState:
|
|
337
252
|
pulumi.set(__self__, "connection_id", connection_id)
|
338
253
|
if create_time is not None:
|
339
254
|
pulumi.set(__self__, "create_time", create_time)
|
340
|
-
if crypto_key_config is not None:
|
341
|
-
pulumi.set(__self__, "crypto_key_config", crypto_key_config)
|
342
255
|
if delete_time is not None:
|
343
256
|
pulumi.set(__self__, "delete_time", delete_time)
|
344
257
|
if disabled is not None:
|
@@ -351,12 +264,6 @@ class _ConnectionState:
|
|
351
264
|
pulumi.set(__self__, "etag", etag)
|
352
265
|
if github_config is not None:
|
353
266
|
pulumi.set(__self__, "github_config", github_config)
|
354
|
-
if github_enterprise_config is not None:
|
355
|
-
pulumi.set(__self__, "github_enterprise_config", github_enterprise_config)
|
356
|
-
if gitlab_config is not None:
|
357
|
-
pulumi.set(__self__, "gitlab_config", gitlab_config)
|
358
|
-
if gitlab_enterprise_config is not None:
|
359
|
-
pulumi.set(__self__, "gitlab_enterprise_config", gitlab_enterprise_config)
|
360
267
|
if installation_states is not None:
|
361
268
|
pulumi.set(__self__, "installation_states", installation_states)
|
362
269
|
if labels is not None:
|
@@ -381,6 +288,7 @@ class _ConnectionState:
|
|
381
288
|
def annotations(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
382
289
|
"""
|
383
290
|
Optional. Allows clients to store small amounts of arbitrary data.
|
291
|
+
|
384
292
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
385
293
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
386
294
|
"""
|
@@ -394,9 +302,8 @@ class _ConnectionState:
|
|
394
302
|
@pulumi.getter(name="connectionId")
|
395
303
|
def connection_id(self) -> Optional[pulumi.Input[str]]:
|
396
304
|
"""
|
397
|
-
Required. Id of the requesting object
|
398
|
-
|
399
|
-
connection_id from the method_signature of Create RPC
|
305
|
+
Required. Id of the requesting object. If auto-generating Id server-side,
|
306
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
400
307
|
|
401
308
|
|
402
309
|
- - -
|
@@ -419,20 +326,6 @@ class _ConnectionState:
|
|
419
326
|
def create_time(self, value: Optional[pulumi.Input[str]]):
|
420
327
|
pulumi.set(self, "create_time", value)
|
421
328
|
|
422
|
-
@property
|
423
|
-
@pulumi.getter(name="cryptoKeyConfig")
|
424
|
-
def crypto_key_config(self) -> Optional[pulumi.Input['ConnectionCryptoKeyConfigArgs']]:
|
425
|
-
"""
|
426
|
-
The crypto key configuration. This field is used by the Customer-managed
|
427
|
-
encryption keys (CMEK) feature.
|
428
|
-
Structure is documented below.
|
429
|
-
"""
|
430
|
-
return pulumi.get(self, "crypto_key_config")
|
431
|
-
|
432
|
-
@crypto_key_config.setter
|
433
|
-
def crypto_key_config(self, value: Optional[pulumi.Input['ConnectionCryptoKeyConfigArgs']]):
|
434
|
-
pulumi.set(self, "crypto_key_config", value)
|
435
|
-
|
436
329
|
@property
|
437
330
|
@pulumi.getter(name="deleteTime")
|
438
331
|
def delete_time(self) -> Optional[pulumi.Input[str]]:
|
@@ -449,9 +342,7 @@ class _ConnectionState:
|
|
449
342
|
@pulumi.getter
|
450
343
|
def disabled(self) -> Optional[pulumi.Input[bool]]:
|
451
344
|
"""
|
452
|
-
Optional. If disabled is set to true, functionality is disabled for this connection.
|
453
|
-
Repository based API methods and webhooks processing for repositories in
|
454
|
-
this connection will be disabled.
|
345
|
+
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
455
346
|
"""
|
456
347
|
return pulumi.get(self, "disabled")
|
457
348
|
|
@@ -484,8 +375,8 @@ class _ConnectionState:
|
|
484
375
|
@pulumi.getter
|
485
376
|
def etag(self) -> Optional[pulumi.Input[str]]:
|
486
377
|
"""
|
487
|
-
Optional. This checksum is computed by the server based on the value
|
488
|
-
fields, and may be sent on update and delete requests to ensure the
|
378
|
+
Optional. This checksum is computed by the server based on the value
|
379
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
489
380
|
client has an up-to-date value before proceeding.
|
490
381
|
"""
|
491
382
|
return pulumi.get(self, "etag")
|
@@ -507,52 +398,12 @@ class _ConnectionState:
|
|
507
398
|
def github_config(self, value: Optional[pulumi.Input['ConnectionGithubConfigArgs']]):
|
508
399
|
pulumi.set(self, "github_config", value)
|
509
400
|
|
510
|
-
@property
|
511
|
-
@pulumi.getter(name="githubEnterpriseConfig")
|
512
|
-
def github_enterprise_config(self) -> Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']]:
|
513
|
-
"""
|
514
|
-
Configuration for connections to an instance of GitHub Enterprise.
|
515
|
-
Structure is documented below.
|
516
|
-
"""
|
517
|
-
return pulumi.get(self, "github_enterprise_config")
|
518
|
-
|
519
|
-
@github_enterprise_config.setter
|
520
|
-
def github_enterprise_config(self, value: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigArgs']]):
|
521
|
-
pulumi.set(self, "github_enterprise_config", value)
|
522
|
-
|
523
|
-
@property
|
524
|
-
@pulumi.getter(name="gitlabConfig")
|
525
|
-
def gitlab_config(self) -> Optional[pulumi.Input['ConnectionGitlabConfigArgs']]:
|
526
|
-
"""
|
527
|
-
Configuration for connections to gitlab.com.
|
528
|
-
Structure is documented below.
|
529
|
-
"""
|
530
|
-
return pulumi.get(self, "gitlab_config")
|
531
|
-
|
532
|
-
@gitlab_config.setter
|
533
|
-
def gitlab_config(self, value: Optional[pulumi.Input['ConnectionGitlabConfigArgs']]):
|
534
|
-
pulumi.set(self, "gitlab_config", value)
|
535
|
-
|
536
|
-
@property
|
537
|
-
@pulumi.getter(name="gitlabEnterpriseConfig")
|
538
|
-
def gitlab_enterprise_config(self) -> Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigArgs']]:
|
539
|
-
"""
|
540
|
-
Configuration for connections to an instance of GitLab Enterprise.
|
541
|
-
Structure is documented below.
|
542
|
-
"""
|
543
|
-
return pulumi.get(self, "gitlab_enterprise_config")
|
544
|
-
|
545
|
-
@gitlab_enterprise_config.setter
|
546
|
-
def gitlab_enterprise_config(self, value: Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigArgs']]):
|
547
|
-
pulumi.set(self, "gitlab_enterprise_config", value)
|
548
|
-
|
549
401
|
@property
|
550
402
|
@pulumi.getter(name="installationStates")
|
551
403
|
def installation_states(self) -> Optional[pulumi.Input[Sequence[pulumi.Input['ConnectionInstallationStateArgs']]]]:
|
552
404
|
"""
|
553
|
-
Describes stage and necessary actions to be taken by the
|
554
|
-
|
555
|
-
based connections.
|
405
|
+
Describes stage and necessary actions to be taken by the user to complete the installation.
|
406
|
+
Used for GitHub and GitHub Enterprise based connections.
|
556
407
|
Structure is documented below.
|
557
408
|
"""
|
558
409
|
return pulumi.get(self, "installation_states")
|
@@ -566,6 +417,7 @@ class _ConnectionState:
|
|
566
417
|
def labels(self) -> Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]]:
|
567
418
|
"""
|
568
419
|
Optional. Labels as key value pairs
|
420
|
+
|
569
421
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
570
422
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
571
423
|
"""
|
@@ -579,7 +431,9 @@ class _ConnectionState:
|
|
579
431
|
@pulumi.getter
|
580
432
|
def location(self) -> Optional[pulumi.Input[str]]:
|
581
433
|
"""
|
582
|
-
Resource ID segment making up resource `name`. It identifies the resource
|
434
|
+
Resource ID segment making up resource `name`. It identifies the resource
|
435
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
436
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
583
437
|
"""
|
584
438
|
return pulumi.get(self, "location")
|
585
439
|
|
@@ -630,8 +484,8 @@ class _ConnectionState:
|
|
630
484
|
@pulumi.getter
|
631
485
|
def reconciling(self) -> Optional[pulumi.Input[bool]]:
|
632
486
|
"""
|
633
|
-
Output only. Set to true when the connection is being set up or updated
|
634
|
-
background.
|
487
|
+
Output only. Set to true when the connection is being set up or updated
|
488
|
+
in the background.
|
635
489
|
"""
|
636
490
|
return pulumi.get(self, "reconciling")
|
637
491
|
|
@@ -671,20 +525,14 @@ class Connection(pulumi.CustomResource):
|
|
671
525
|
opts: Optional[pulumi.ResourceOptions] = None,
|
672
526
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
673
527
|
connection_id: Optional[pulumi.Input[str]] = None,
|
674
|
-
crypto_key_config: Optional[pulumi.Input[Union['ConnectionCryptoKeyConfigArgs', 'ConnectionCryptoKeyConfigArgsDict']]] = None,
|
675
528
|
disabled: Optional[pulumi.Input[bool]] = None,
|
676
529
|
etag: Optional[pulumi.Input[str]] = None,
|
677
530
|
github_config: Optional[pulumi.Input[Union['ConnectionGithubConfigArgs', 'ConnectionGithubConfigArgsDict']]] = None,
|
678
|
-
github_enterprise_config: Optional[pulumi.Input[Union['ConnectionGithubEnterpriseConfigArgs', 'ConnectionGithubEnterpriseConfigArgsDict']]] = None,
|
679
|
-
gitlab_config: Optional[pulumi.Input[Union['ConnectionGitlabConfigArgs', 'ConnectionGitlabConfigArgsDict']]] = None,
|
680
|
-
gitlab_enterprise_config: Optional[pulumi.Input[Union['ConnectionGitlabEnterpriseConfigArgs', 'ConnectionGitlabEnterpriseConfigArgsDict']]] = None,
|
681
531
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
682
532
|
location: Optional[pulumi.Input[str]] = None,
|
683
533
|
project: Optional[pulumi.Input[str]] = None,
|
684
534
|
__props__=None):
|
685
535
|
"""
|
686
|
-
A connection for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise.
|
687
|
-
|
688
536
|
## Example Usage
|
689
537
|
|
690
538
|
### Developer Connect Connection New
|
@@ -759,159 +607,7 @@ class Connection(pulumi.CustomResource):
|
|
759
607
|
},
|
760
608
|
})
|
761
609
|
```
|
762
|
-
### Developer Connect Connection Github
|
763
|
-
|
764
|
-
```python
|
765
|
-
import pulumi
|
766
|
-
import pulumi_gcp as gcp
|
767
|
-
|
768
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
769
|
-
location="us-central1",
|
770
|
-
connection_id="tf-test-connection",
|
771
|
-
github_config={
|
772
|
-
"github_app": "DEVELOPER_CONNECT",
|
773
|
-
"authorizer_credential": {
|
774
|
-
"oauth_token_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1",
|
775
|
-
},
|
776
|
-
})
|
777
|
-
```
|
778
|
-
### Developer Connect Connection Github Doc
|
779
|
-
|
780
|
-
```python
|
781
|
-
import pulumi
|
782
|
-
import pulumi_gcp as gcp
|
783
|
-
import pulumi_std as std
|
784
|
-
|
785
|
-
github_token_secret = gcp.secretmanager.Secret("github-token-secret",
|
786
|
-
secret_id="github-token-secret",
|
787
|
-
replication={
|
788
|
-
"auto": {},
|
789
|
-
})
|
790
|
-
github_token_secret_version = gcp.secretmanager.SecretVersion("github-token-secret-version",
|
791
|
-
secret=github_token_secret.id,
|
792
|
-
secret_data=std.file(input="my-github-token.txt").result)
|
793
|
-
p4sa_secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
|
794
|
-
"role": "roles/secretmanager.secretAccessor",
|
795
|
-
"members": ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
|
796
|
-
}])
|
797
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
798
|
-
secret_id=github_token_secret.secret_id,
|
799
|
-
policy_data=p4sa_secret_accessor.policy_data)
|
800
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
801
|
-
location="us-central1",
|
802
|
-
connection_id="my-connection",
|
803
|
-
github_config={
|
804
|
-
"github_app": "DEVELOPER_CONNECT",
|
805
|
-
"app_installation_id": "123123",
|
806
|
-
"authorizer_credential": {
|
807
|
-
"oauth_token_secret_version": github_token_secret_version.id,
|
808
|
-
},
|
809
|
-
})
|
810
|
-
```
|
811
|
-
### Developer Connect Connection Github Enterprise
|
812
|
-
|
813
|
-
```python
|
814
|
-
import pulumi
|
815
|
-
import pulumi_gcp as gcp
|
816
|
-
|
817
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
818
|
-
location="us-central1",
|
819
|
-
connection_id="tf-test-connection",
|
820
|
-
github_enterprise_config={
|
821
|
-
"host_uri": "https://ghe.proctor-staging-test.com",
|
822
|
-
"app_id": "864434",
|
823
|
-
"private_key_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest",
|
824
|
-
"webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest",
|
825
|
-
"app_installation_id": "837537",
|
826
|
-
})
|
827
|
-
```
|
828
|
-
### Developer Connect Connection Github Enterprise Doc
|
829
|
-
|
830
|
-
```python
|
831
|
-
import pulumi
|
832
|
-
import pulumi_gcp as gcp
|
833
|
-
import pulumi_std as std
|
834
|
-
|
835
|
-
private_key_secret = gcp.secretmanager.Secret("private-key-secret",
|
836
|
-
secret_id="ghe-pk-secret",
|
837
|
-
replication={
|
838
|
-
"auto": {},
|
839
|
-
})
|
840
|
-
private_key_secret_version = gcp.secretmanager.SecretVersion("private-key-secret-version",
|
841
|
-
secret=private_key_secret.id,
|
842
|
-
secret_data=std.file(input="private-key.pem").result)
|
843
|
-
webhook_secret_secret = gcp.secretmanager.Secret("webhook-secret-secret",
|
844
|
-
secret_id="ghe-token-secret",
|
845
|
-
replication={
|
846
|
-
"auto": {},
|
847
|
-
})
|
848
|
-
webhook_secret_secret_version = gcp.secretmanager.SecretVersion("webhook-secret-secret-version",
|
849
|
-
secret=webhook_secret_secret.id,
|
850
|
-
secret_data="<webhook-secret-data>")
|
851
|
-
p4sa_secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
|
852
|
-
"role": "roles/secretmanager.secretAccessor",
|
853
|
-
"members": ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
|
854
|
-
}])
|
855
|
-
policy_pk = gcp.secretmanager.SecretIamPolicy("policy-pk",
|
856
|
-
secret_id=private_key_secret.secret_id,
|
857
|
-
policy_data=p4sa_secret_accessor.policy_data)
|
858
|
-
policy_whs = gcp.secretmanager.SecretIamPolicy("policy-whs",
|
859
|
-
secret_id=webhook_secret_secret.secret_id,
|
860
|
-
policy_data=p4sa_secret_accessor.policy_data)
|
861
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
862
|
-
location="us-central1",
|
863
|
-
connection_id="my-connection",
|
864
|
-
github_enterprise_config={
|
865
|
-
"host_uri": "https://ghe.com",
|
866
|
-
"private_key_secret_version": private_key_secret_version.id,
|
867
|
-
"webhook_secret_secret_version": webhook_secret_secret_version.id,
|
868
|
-
"app_id": "100",
|
869
|
-
"app_installation_id": "123123",
|
870
|
-
},
|
871
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
872
|
-
policy_pk,
|
873
|
-
policy_whs,
|
874
|
-
]))
|
875
|
-
```
|
876
|
-
### Developer Connect Connection Gitlab
|
877
|
-
|
878
|
-
```python
|
879
|
-
import pulumi
|
880
|
-
import pulumi_gcp as gcp
|
881
|
-
|
882
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
883
|
-
location="us-central1",
|
884
|
-
connection_id="tf-test-connection",
|
885
|
-
gitlab_config={
|
886
|
-
"webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest",
|
887
|
-
"read_authorizer_credential": {
|
888
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest",
|
889
|
-
},
|
890
|
-
"authorizer_credential": {
|
891
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest",
|
892
|
-
},
|
893
|
-
})
|
894
|
-
```
|
895
|
-
### Developer Connect Connection Gitlab Enterprise
|
896
|
-
|
897
|
-
```python
|
898
|
-
import pulumi
|
899
|
-
import pulumi_gcp as gcp
|
900
610
|
|
901
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
902
|
-
location="us-central1",
|
903
|
-
connection_id="tf-test-connection",
|
904
|
-
gitlab_enterprise_config={
|
905
|
-
"host_uri": "https://gle-us-central1.gcb-test.com",
|
906
|
-
"webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest",
|
907
|
-
"read_authorizer_credential": {
|
908
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest",
|
909
|
-
},
|
910
|
-
"authorizer_credential": {
|
911
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest",
|
912
|
-
},
|
913
|
-
})
|
914
|
-
```
|
915
611
|
## Import
|
916
612
|
|
917
613
|
Connection can be imported using any of these accepted formats:
|
@@ -939,35 +635,27 @@ class Connection(pulumi.CustomResource):
|
|
939
635
|
:param str resource_name: The name of the resource.
|
940
636
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
941
637
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Allows clients to store small amounts of arbitrary data.
|
638
|
+
|
942
639
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
943
640
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
944
|
-
:param pulumi.Input[str] connection_id: Required. Id of the requesting object
|
945
|
-
|
946
|
-
connection_id from the method_signature of Create RPC
|
641
|
+
:param pulumi.Input[str] connection_id: Required. Id of the requesting object. If auto-generating Id server-side,
|
642
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
947
643
|
|
948
644
|
|
949
645
|
- - -
|
950
|
-
:param pulumi.Input[
|
951
|
-
|
952
|
-
|
953
|
-
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection.
|
954
|
-
Repository based API methods and webhooks processing for repositories in
|
955
|
-
this connection will be disabled.
|
956
|
-
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value of other
|
957
|
-
fields, and may be sent on update and delete requests to ensure the
|
646
|
+
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
647
|
+
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value
|
648
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
958
649
|
client has an up-to-date value before proceeding.
|
959
650
|
:param pulumi.Input[Union['ConnectionGithubConfigArgs', 'ConnectionGithubConfigArgsDict']] github_config: Configuration for connections to github.com.
|
960
651
|
Structure is documented below.
|
961
|
-
:param pulumi.Input[Union['ConnectionGithubEnterpriseConfigArgs', 'ConnectionGithubEnterpriseConfigArgsDict']] github_enterprise_config: Configuration for connections to an instance of GitHub Enterprise.
|
962
|
-
Structure is documented below.
|
963
|
-
:param pulumi.Input[Union['ConnectionGitlabConfigArgs', 'ConnectionGitlabConfigArgsDict']] gitlab_config: Configuration for connections to gitlab.com.
|
964
|
-
Structure is documented below.
|
965
|
-
:param pulumi.Input[Union['ConnectionGitlabEnterpriseConfigArgs', 'ConnectionGitlabEnterpriseConfigArgsDict']] gitlab_enterprise_config: Configuration for connections to an instance of GitLab Enterprise.
|
966
|
-
Structure is documented below.
|
967
652
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
653
|
+
|
968
654
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
969
655
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
970
|
-
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
656
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
657
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
658
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
971
659
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
972
660
|
If it is not provided, the provider project is used.
|
973
661
|
"""
|
@@ -978,8 +666,6 @@ class Connection(pulumi.CustomResource):
|
|
978
666
|
args: ConnectionArgs,
|
979
667
|
opts: Optional[pulumi.ResourceOptions] = None):
|
980
668
|
"""
|
981
|
-
A connection for GitHub, GitHub Enterprise, GitLab, and GitLab Enterprise.
|
982
|
-
|
983
669
|
## Example Usage
|
984
670
|
|
985
671
|
### Developer Connect Connection New
|
@@ -1054,159 +740,7 @@ class Connection(pulumi.CustomResource):
|
|
1054
740
|
},
|
1055
741
|
})
|
1056
742
|
```
|
1057
|
-
### Developer Connect Connection Github
|
1058
|
-
|
1059
|
-
```python
|
1060
|
-
import pulumi
|
1061
|
-
import pulumi_gcp as gcp
|
1062
|
-
|
1063
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
1064
|
-
location="us-central1",
|
1065
|
-
connection_id="tf-test-connection",
|
1066
|
-
github_config={
|
1067
|
-
"github_app": "DEVELOPER_CONNECT",
|
1068
|
-
"authorizer_credential": {
|
1069
|
-
"oauth_token_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-do-not-change-github-oauthtoken-e0b9e7/versions/1",
|
1070
|
-
},
|
1071
|
-
})
|
1072
|
-
```
|
1073
|
-
### Developer Connect Connection Github Doc
|
1074
|
-
|
1075
|
-
```python
|
1076
|
-
import pulumi
|
1077
|
-
import pulumi_gcp as gcp
|
1078
|
-
import pulumi_std as std
|
1079
|
-
|
1080
|
-
github_token_secret = gcp.secretmanager.Secret("github-token-secret",
|
1081
|
-
secret_id="github-token-secret",
|
1082
|
-
replication={
|
1083
|
-
"auto": {},
|
1084
|
-
})
|
1085
|
-
github_token_secret_version = gcp.secretmanager.SecretVersion("github-token-secret-version",
|
1086
|
-
secret=github_token_secret.id,
|
1087
|
-
secret_data=std.file(input="my-github-token.txt").result)
|
1088
|
-
p4sa_secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
|
1089
|
-
"role": "roles/secretmanager.secretAccessor",
|
1090
|
-
"members": ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
|
1091
|
-
}])
|
1092
|
-
policy = gcp.secretmanager.SecretIamPolicy("policy",
|
1093
|
-
secret_id=github_token_secret.secret_id,
|
1094
|
-
policy_data=p4sa_secret_accessor.policy_data)
|
1095
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
1096
|
-
location="us-central1",
|
1097
|
-
connection_id="my-connection",
|
1098
|
-
github_config={
|
1099
|
-
"github_app": "DEVELOPER_CONNECT",
|
1100
|
-
"app_installation_id": "123123",
|
1101
|
-
"authorizer_credential": {
|
1102
|
-
"oauth_token_secret_version": github_token_secret_version.id,
|
1103
|
-
},
|
1104
|
-
})
|
1105
|
-
```
|
1106
|
-
### Developer Connect Connection Github Enterprise
|
1107
|
-
|
1108
|
-
```python
|
1109
|
-
import pulumi
|
1110
|
-
import pulumi_gcp as gcp
|
1111
|
-
|
1112
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
1113
|
-
location="us-central1",
|
1114
|
-
connection_id="tf-test-connection",
|
1115
|
-
github_enterprise_config={
|
1116
|
-
"host_uri": "https://ghe.proctor-staging-test.com",
|
1117
|
-
"app_id": "864434",
|
1118
|
-
"private_key_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-private-key-f522d2/versions/latest",
|
1119
|
-
"webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/tf-test-ghe-do-not-change-ghe-webhook-secret-3c806f/versions/latest",
|
1120
|
-
"app_installation_id": "837537",
|
1121
|
-
})
|
1122
|
-
```
|
1123
|
-
### Developer Connect Connection Github Enterprise Doc
|
1124
743
|
|
1125
|
-
```python
|
1126
|
-
import pulumi
|
1127
|
-
import pulumi_gcp as gcp
|
1128
|
-
import pulumi_std as std
|
1129
|
-
|
1130
|
-
private_key_secret = gcp.secretmanager.Secret("private-key-secret",
|
1131
|
-
secret_id="ghe-pk-secret",
|
1132
|
-
replication={
|
1133
|
-
"auto": {},
|
1134
|
-
})
|
1135
|
-
private_key_secret_version = gcp.secretmanager.SecretVersion("private-key-secret-version",
|
1136
|
-
secret=private_key_secret.id,
|
1137
|
-
secret_data=std.file(input="private-key.pem").result)
|
1138
|
-
webhook_secret_secret = gcp.secretmanager.Secret("webhook-secret-secret",
|
1139
|
-
secret_id="ghe-token-secret",
|
1140
|
-
replication={
|
1141
|
-
"auto": {},
|
1142
|
-
})
|
1143
|
-
webhook_secret_secret_version = gcp.secretmanager.SecretVersion("webhook-secret-secret-version",
|
1144
|
-
secret=webhook_secret_secret.id,
|
1145
|
-
secret_data="<webhook-secret-data>")
|
1146
|
-
p4sa_secret_accessor = gcp.organizations.get_iam_policy(bindings=[{
|
1147
|
-
"role": "roles/secretmanager.secretAccessor",
|
1148
|
-
"members": ["serviceAccount:service-123456789@gcp-sa-devconnect.iam.gserviceaccount.com"],
|
1149
|
-
}])
|
1150
|
-
policy_pk = gcp.secretmanager.SecretIamPolicy("policy-pk",
|
1151
|
-
secret_id=private_key_secret.secret_id,
|
1152
|
-
policy_data=p4sa_secret_accessor.policy_data)
|
1153
|
-
policy_whs = gcp.secretmanager.SecretIamPolicy("policy-whs",
|
1154
|
-
secret_id=webhook_secret_secret.secret_id,
|
1155
|
-
policy_data=p4sa_secret_accessor.policy_data)
|
1156
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
1157
|
-
location="us-central1",
|
1158
|
-
connection_id="my-connection",
|
1159
|
-
github_enterprise_config={
|
1160
|
-
"host_uri": "https://ghe.com",
|
1161
|
-
"private_key_secret_version": private_key_secret_version.id,
|
1162
|
-
"webhook_secret_secret_version": webhook_secret_secret_version.id,
|
1163
|
-
"app_id": "100",
|
1164
|
-
"app_installation_id": "123123",
|
1165
|
-
},
|
1166
|
-
opts = pulumi.ResourceOptions(depends_on=[
|
1167
|
-
policy_pk,
|
1168
|
-
policy_whs,
|
1169
|
-
]))
|
1170
|
-
```
|
1171
|
-
### Developer Connect Connection Gitlab
|
1172
|
-
|
1173
|
-
```python
|
1174
|
-
import pulumi
|
1175
|
-
import pulumi_gcp as gcp
|
1176
|
-
|
1177
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
1178
|
-
location="us-central1",
|
1179
|
-
connection_id="tf-test-connection",
|
1180
|
-
gitlab_config={
|
1181
|
-
"webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-webhook/versions/latest",
|
1182
|
-
"read_authorizer_credential": {
|
1183
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-read-cred/versions/latest",
|
1184
|
-
},
|
1185
|
-
"authorizer_credential": {
|
1186
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-auth-cred/versions/latest",
|
1187
|
-
},
|
1188
|
-
})
|
1189
|
-
```
|
1190
|
-
### Developer Connect Connection Gitlab Enterprise
|
1191
|
-
|
1192
|
-
```python
|
1193
|
-
import pulumi
|
1194
|
-
import pulumi_gcp as gcp
|
1195
|
-
|
1196
|
-
my_connection = gcp.developerconnect.Connection("my-connection",
|
1197
|
-
location="us-central1",
|
1198
|
-
connection_id="tf-test-connection",
|
1199
|
-
gitlab_enterprise_config={
|
1200
|
-
"host_uri": "https://gle-us-central1.gcb-test.com",
|
1201
|
-
"webhook_secret_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-webhook/versions/latest",
|
1202
|
-
"read_authorizer_credential": {
|
1203
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-read-cred/versions/latest",
|
1204
|
-
},
|
1205
|
-
"authorizer_credential": {
|
1206
|
-
"user_token_secret_version": "projects/devconnect-terraform-creds/secrets/gitlab-enterprise-auth-cred/versions/latest",
|
1207
|
-
},
|
1208
|
-
})
|
1209
|
-
```
|
1210
744
|
## Import
|
1211
745
|
|
1212
746
|
Connection can be imported using any of these accepted formats:
|
@@ -1248,13 +782,9 @@ class Connection(pulumi.CustomResource):
|
|
1248
782
|
opts: Optional[pulumi.ResourceOptions] = None,
|
1249
783
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1250
784
|
connection_id: Optional[pulumi.Input[str]] = None,
|
1251
|
-
crypto_key_config: Optional[pulumi.Input[Union['ConnectionCryptoKeyConfigArgs', 'ConnectionCryptoKeyConfigArgsDict']]] = None,
|
1252
785
|
disabled: Optional[pulumi.Input[bool]] = None,
|
1253
786
|
etag: Optional[pulumi.Input[str]] = None,
|
1254
787
|
github_config: Optional[pulumi.Input[Union['ConnectionGithubConfigArgs', 'ConnectionGithubConfigArgsDict']]] = None,
|
1255
|
-
github_enterprise_config: Optional[pulumi.Input[Union['ConnectionGithubEnterpriseConfigArgs', 'ConnectionGithubEnterpriseConfigArgsDict']]] = None,
|
1256
|
-
gitlab_config: Optional[pulumi.Input[Union['ConnectionGitlabConfigArgs', 'ConnectionGitlabConfigArgsDict']]] = None,
|
1257
|
-
gitlab_enterprise_config: Optional[pulumi.Input[Union['ConnectionGitlabEnterpriseConfigArgs', 'ConnectionGitlabEnterpriseConfigArgsDict']]] = None,
|
1258
788
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1259
789
|
location: Optional[pulumi.Input[str]] = None,
|
1260
790
|
project: Optional[pulumi.Input[str]] = None,
|
@@ -1271,13 +801,9 @@ class Connection(pulumi.CustomResource):
|
|
1271
801
|
if connection_id is None and not opts.urn:
|
1272
802
|
raise TypeError("Missing required property 'connection_id'")
|
1273
803
|
__props__.__dict__["connection_id"] = connection_id
|
1274
|
-
__props__.__dict__["crypto_key_config"] = crypto_key_config
|
1275
804
|
__props__.__dict__["disabled"] = disabled
|
1276
805
|
__props__.__dict__["etag"] = etag
|
1277
806
|
__props__.__dict__["github_config"] = github_config
|
1278
|
-
__props__.__dict__["github_enterprise_config"] = github_enterprise_config
|
1279
|
-
__props__.__dict__["gitlab_config"] = gitlab_config
|
1280
|
-
__props__.__dict__["gitlab_enterprise_config"] = gitlab_enterprise_config
|
1281
807
|
__props__.__dict__["labels"] = labels
|
1282
808
|
if location is None and not opts.urn:
|
1283
809
|
raise TypeError("Missing required property 'location'")
|
@@ -1308,16 +834,12 @@ class Connection(pulumi.CustomResource):
|
|
1308
834
|
annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1309
835
|
connection_id: Optional[pulumi.Input[str]] = None,
|
1310
836
|
create_time: Optional[pulumi.Input[str]] = None,
|
1311
|
-
crypto_key_config: Optional[pulumi.Input[Union['ConnectionCryptoKeyConfigArgs', 'ConnectionCryptoKeyConfigArgsDict']]] = None,
|
1312
837
|
delete_time: Optional[pulumi.Input[str]] = None,
|
1313
838
|
disabled: Optional[pulumi.Input[bool]] = None,
|
1314
839
|
effective_annotations: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1315
840
|
effective_labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1316
841
|
etag: Optional[pulumi.Input[str]] = None,
|
1317
842
|
github_config: Optional[pulumi.Input[Union['ConnectionGithubConfigArgs', 'ConnectionGithubConfigArgsDict']]] = None,
|
1318
|
-
github_enterprise_config: Optional[pulumi.Input[Union['ConnectionGithubEnterpriseConfigArgs', 'ConnectionGithubEnterpriseConfigArgsDict']]] = None,
|
1319
|
-
gitlab_config: Optional[pulumi.Input[Union['ConnectionGitlabConfigArgs', 'ConnectionGitlabConfigArgsDict']]] = None,
|
1320
|
-
gitlab_enterprise_config: Optional[pulumi.Input[Union['ConnectionGitlabEnterpriseConfigArgs', 'ConnectionGitlabEnterpriseConfigArgsDict']]] = None,
|
1321
843
|
installation_states: Optional[pulumi.Input[Sequence[pulumi.Input[Union['ConnectionInstallationStateArgs', 'ConnectionInstallationStateArgsDict']]]]] = None,
|
1322
844
|
labels: Optional[pulumi.Input[Mapping[str, pulumi.Input[str]]]] = None,
|
1323
845
|
location: Optional[pulumi.Input[str]] = None,
|
@@ -1335,50 +857,41 @@ class Connection(pulumi.CustomResource):
|
|
1335
857
|
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
1336
858
|
:param pulumi.ResourceOptions opts: Options for the resource.
|
1337
859
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] annotations: Optional. Allows clients to store small amounts of arbitrary data.
|
860
|
+
|
1338
861
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
1339
862
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
1340
|
-
:param pulumi.Input[str] connection_id: Required. Id of the requesting object
|
1341
|
-
|
1342
|
-
connection_id from the method_signature of Create RPC
|
863
|
+
:param pulumi.Input[str] connection_id: Required. Id of the requesting object. If auto-generating Id server-side,
|
864
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
1343
865
|
|
1344
866
|
|
1345
867
|
- - -
|
1346
868
|
:param pulumi.Input[str] create_time: Output only. [Output only] Create timestamp
|
1347
|
-
:param pulumi.Input[Union['ConnectionCryptoKeyConfigArgs', 'ConnectionCryptoKeyConfigArgsDict']] crypto_key_config: The crypto key configuration. This field is used by the Customer-managed
|
1348
|
-
encryption keys (CMEK) feature.
|
1349
|
-
Structure is documented below.
|
1350
869
|
:param pulumi.Input[str] delete_time: Output only. [Output only] Delete timestamp
|
1351
|
-
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection.
|
1352
|
-
Repository based API methods and webhooks processing for repositories in
|
1353
|
-
this connection will be disabled.
|
870
|
+
:param pulumi.Input[bool] disabled: Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
1354
871
|
: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.
|
1355
|
-
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value
|
1356
|
-
fields, and may be sent on update and delete requests to ensure the
|
872
|
+
:param pulumi.Input[str] etag: Optional. This checksum is computed by the server based on the value
|
873
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
1357
874
|
client has an up-to-date value before proceeding.
|
1358
875
|
:param pulumi.Input[Union['ConnectionGithubConfigArgs', 'ConnectionGithubConfigArgsDict']] github_config: Configuration for connections to github.com.
|
1359
876
|
Structure is documented below.
|
1360
|
-
:param pulumi.Input[Union['
|
1361
|
-
|
1362
|
-
:param pulumi.Input[Union['ConnectionGitlabConfigArgs', 'ConnectionGitlabConfigArgsDict']] gitlab_config: Configuration for connections to gitlab.com.
|
1363
|
-
Structure is documented below.
|
1364
|
-
:param pulumi.Input[Union['ConnectionGitlabEnterpriseConfigArgs', 'ConnectionGitlabEnterpriseConfigArgsDict']] gitlab_enterprise_config: Configuration for connections to an instance of GitLab Enterprise.
|
1365
|
-
Structure is documented below.
|
1366
|
-
:param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionInstallationStateArgs', 'ConnectionInstallationStateArgsDict']]]] installation_states: Describes stage and necessary actions to be taken by the
|
1367
|
-
user to complete the installation. Used for GitHub and GitHub Enterprise
|
1368
|
-
based connections.
|
877
|
+
:param pulumi.Input[Sequence[pulumi.Input[Union['ConnectionInstallationStateArgs', 'ConnectionInstallationStateArgsDict']]]] installation_states: Describes stage and necessary actions to be taken by the user to complete the installation.
|
878
|
+
Used for GitHub and GitHub Enterprise based connections.
|
1369
879
|
Structure is documented below.
|
1370
880
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] labels: Optional. Labels as key value pairs
|
881
|
+
|
1371
882
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1372
883
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1373
|
-
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
884
|
+
:param pulumi.Input[str] location: Resource ID segment making up resource `name`. It identifies the resource
|
885
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
886
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
1374
887
|
:param pulumi.Input[str] name: Identifier. The resource name of the connection, in the format
|
1375
888
|
`projects/{project}/locations/{location}/connections/{connection_id}`.
|
1376
889
|
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
1377
890
|
If it is not provided, the provider project is used.
|
1378
891
|
:param pulumi.Input[Mapping[str, pulumi.Input[str]]] pulumi_labels: The combination of labels configured directly on the resource
|
1379
892
|
and default labels configured on the provider.
|
1380
|
-
:param pulumi.Input[bool] reconciling: Output only. Set to true when the connection is being set up or updated
|
1381
|
-
background.
|
893
|
+
:param pulumi.Input[bool] reconciling: Output only. Set to true when the connection is being set up or updated
|
894
|
+
in the background.
|
1382
895
|
:param pulumi.Input[str] uid: Output only. A system-assigned unique identifier for a the GitRepositoryLink.
|
1383
896
|
:param pulumi.Input[str] update_time: Output only. [Output only] Update timestamp
|
1384
897
|
"""
|
@@ -1389,16 +902,12 @@ class Connection(pulumi.CustomResource):
|
|
1389
902
|
__props__.__dict__["annotations"] = annotations
|
1390
903
|
__props__.__dict__["connection_id"] = connection_id
|
1391
904
|
__props__.__dict__["create_time"] = create_time
|
1392
|
-
__props__.__dict__["crypto_key_config"] = crypto_key_config
|
1393
905
|
__props__.__dict__["delete_time"] = delete_time
|
1394
906
|
__props__.__dict__["disabled"] = disabled
|
1395
907
|
__props__.__dict__["effective_annotations"] = effective_annotations
|
1396
908
|
__props__.__dict__["effective_labels"] = effective_labels
|
1397
909
|
__props__.__dict__["etag"] = etag
|
1398
910
|
__props__.__dict__["github_config"] = github_config
|
1399
|
-
__props__.__dict__["github_enterprise_config"] = github_enterprise_config
|
1400
|
-
__props__.__dict__["gitlab_config"] = gitlab_config
|
1401
|
-
__props__.__dict__["gitlab_enterprise_config"] = gitlab_enterprise_config
|
1402
911
|
__props__.__dict__["installation_states"] = installation_states
|
1403
912
|
__props__.__dict__["labels"] = labels
|
1404
913
|
__props__.__dict__["location"] = location
|
@@ -1415,6 +924,7 @@ class Connection(pulumi.CustomResource):
|
|
1415
924
|
def annotations(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1416
925
|
"""
|
1417
926
|
Optional. Allows clients to store small amounts of arbitrary data.
|
927
|
+
|
1418
928
|
**Note**: This field is non-authoritative, and will only manage the annotations present in your configuration.
|
1419
929
|
Please refer to the field `effective_annotations` for all of the annotations present on the resource.
|
1420
930
|
"""
|
@@ -1424,9 +934,8 @@ class Connection(pulumi.CustomResource):
|
|
1424
934
|
@pulumi.getter(name="connectionId")
|
1425
935
|
def connection_id(self) -> pulumi.Output[str]:
|
1426
936
|
"""
|
1427
|
-
Required. Id of the requesting object
|
1428
|
-
|
1429
|
-
connection_id from the method_signature of Create RPC
|
937
|
+
Required. Id of the requesting object. If auto-generating Id server-side,
|
938
|
+
remove this field and connection_id from the method_signature of Create RPC.
|
1430
939
|
|
1431
940
|
|
1432
941
|
- - -
|
@@ -1441,16 +950,6 @@ class Connection(pulumi.CustomResource):
|
|
1441
950
|
"""
|
1442
951
|
return pulumi.get(self, "create_time")
|
1443
952
|
|
1444
|
-
@property
|
1445
|
-
@pulumi.getter(name="cryptoKeyConfig")
|
1446
|
-
def crypto_key_config(self) -> pulumi.Output[Optional['outputs.ConnectionCryptoKeyConfig']]:
|
1447
|
-
"""
|
1448
|
-
The crypto key configuration. This field is used by the Customer-managed
|
1449
|
-
encryption keys (CMEK) feature.
|
1450
|
-
Structure is documented below.
|
1451
|
-
"""
|
1452
|
-
return pulumi.get(self, "crypto_key_config")
|
1453
|
-
|
1454
953
|
@property
|
1455
954
|
@pulumi.getter(name="deleteTime")
|
1456
955
|
def delete_time(self) -> pulumi.Output[str]:
|
@@ -1463,9 +962,7 @@ class Connection(pulumi.CustomResource):
|
|
1463
962
|
@pulumi.getter
|
1464
963
|
def disabled(self) -> pulumi.Output[Optional[bool]]:
|
1465
964
|
"""
|
1466
|
-
Optional. If disabled is set to true, functionality is disabled for this connection.
|
1467
|
-
Repository based API methods and webhooks processing for repositories in
|
1468
|
-
this connection will be disabled.
|
965
|
+
Optional. If disabled is set to true, functionality is disabled for this connection. Repository based API methods and webhooks processing for repositories in this connection will be disabled.
|
1469
966
|
"""
|
1470
967
|
return pulumi.get(self, "disabled")
|
1471
968
|
|
@@ -1486,8 +983,8 @@ class Connection(pulumi.CustomResource):
|
|
1486
983
|
@pulumi.getter
|
1487
984
|
def etag(self) -> pulumi.Output[Optional[str]]:
|
1488
985
|
"""
|
1489
|
-
Optional. This checksum is computed by the server based on the value
|
1490
|
-
fields, and may be sent on update and delete requests to ensure the
|
986
|
+
Optional. This checksum is computed by the server based on the value
|
987
|
+
of other fields, and may be sent on update and delete requests to ensure the
|
1491
988
|
client has an up-to-date value before proceeding.
|
1492
989
|
"""
|
1493
990
|
return pulumi.get(self, "etag")
|
@@ -1501,40 +998,12 @@ class Connection(pulumi.CustomResource):
|
|
1501
998
|
"""
|
1502
999
|
return pulumi.get(self, "github_config")
|
1503
1000
|
|
1504
|
-
@property
|
1505
|
-
@pulumi.getter(name="githubEnterpriseConfig")
|
1506
|
-
def github_enterprise_config(self) -> pulumi.Output[Optional['outputs.ConnectionGithubEnterpriseConfig']]:
|
1507
|
-
"""
|
1508
|
-
Configuration for connections to an instance of GitHub Enterprise.
|
1509
|
-
Structure is documented below.
|
1510
|
-
"""
|
1511
|
-
return pulumi.get(self, "github_enterprise_config")
|
1512
|
-
|
1513
|
-
@property
|
1514
|
-
@pulumi.getter(name="gitlabConfig")
|
1515
|
-
def gitlab_config(self) -> pulumi.Output[Optional['outputs.ConnectionGitlabConfig']]:
|
1516
|
-
"""
|
1517
|
-
Configuration for connections to gitlab.com.
|
1518
|
-
Structure is documented below.
|
1519
|
-
"""
|
1520
|
-
return pulumi.get(self, "gitlab_config")
|
1521
|
-
|
1522
|
-
@property
|
1523
|
-
@pulumi.getter(name="gitlabEnterpriseConfig")
|
1524
|
-
def gitlab_enterprise_config(self) -> pulumi.Output[Optional['outputs.ConnectionGitlabEnterpriseConfig']]:
|
1525
|
-
"""
|
1526
|
-
Configuration for connections to an instance of GitLab Enterprise.
|
1527
|
-
Structure is documented below.
|
1528
|
-
"""
|
1529
|
-
return pulumi.get(self, "gitlab_enterprise_config")
|
1530
|
-
|
1531
1001
|
@property
|
1532
1002
|
@pulumi.getter(name="installationStates")
|
1533
1003
|
def installation_states(self) -> pulumi.Output[Sequence['outputs.ConnectionInstallationState']]:
|
1534
1004
|
"""
|
1535
|
-
Describes stage and necessary actions to be taken by the
|
1536
|
-
|
1537
|
-
based connections.
|
1005
|
+
Describes stage and necessary actions to be taken by the user to complete the installation.
|
1006
|
+
Used for GitHub and GitHub Enterprise based connections.
|
1538
1007
|
Structure is documented below.
|
1539
1008
|
"""
|
1540
1009
|
return pulumi.get(self, "installation_states")
|
@@ -1544,6 +1013,7 @@ class Connection(pulumi.CustomResource):
|
|
1544
1013
|
def labels(self) -> pulumi.Output[Optional[Mapping[str, str]]]:
|
1545
1014
|
"""
|
1546
1015
|
Optional. Labels as key value pairs
|
1016
|
+
|
1547
1017
|
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration.
|
1548
1018
|
Please refer to the field `effective_labels` for all of the labels present on the resource.
|
1549
1019
|
"""
|
@@ -1553,7 +1023,9 @@ class Connection(pulumi.CustomResource):
|
|
1553
1023
|
@pulumi.getter
|
1554
1024
|
def location(self) -> pulumi.Output[str]:
|
1555
1025
|
"""
|
1556
|
-
Resource ID segment making up resource `name`. It identifies the resource
|
1026
|
+
Resource ID segment making up resource `name`. It identifies the resource
|
1027
|
+
within its parent collection as described in https://google.aip.dev/122. See documentation
|
1028
|
+
for resource type `developerconnect.googleapis.com/GitRepositoryLink`.
|
1557
1029
|
"""
|
1558
1030
|
return pulumi.get(self, "location")
|
1559
1031
|
|
@@ -1588,8 +1060,8 @@ class Connection(pulumi.CustomResource):
|
|
1588
1060
|
@pulumi.getter
|
1589
1061
|
def reconciling(self) -> pulumi.Output[bool]:
|
1590
1062
|
"""
|
1591
|
-
Output only. Set to true when the connection is being set up or updated
|
1592
|
-
background.
|
1063
|
+
Output only. Set to true when the connection is being set up or updated
|
1064
|
+
in the background.
|
1593
1065
|
"""
|
1594
1066
|
return pulumi.get(self, "reconciling")
|
1595
1067
|
|