pulumi-gcp 8.14.0a1736836474__py3-none-any.whl → 8.14.0a1736952890__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 +32 -0
- pulumi_gcp/applicationintegration/_inputs.py +3 -3
- pulumi_gcp/applicationintegration/outputs.py +2 -2
- pulumi_gcp/beyondcorp/__init__.py +1 -0
- pulumi_gcp/beyondcorp/_inputs.py +93 -0
- pulumi_gcp/beyondcorp/outputs.py +89 -0
- pulumi_gcp/beyondcorp/security_gateway.py +670 -0
- 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 +2 -0
- pulumi_gcp/chronicle/_inputs.py +388 -0
- pulumi_gcp/chronicle/data_access_label.py +690 -0
- pulumi_gcp/chronicle/data_access_scope.py +1094 -0
- pulumi_gcp/chronicle/outputs.py +322 -0
- pulumi_gcp/chronicle/watchlist.py +68 -45
- pulumi_gcp/cloudbuild/_inputs.py +3 -3
- pulumi_gcp/cloudbuild/outputs.py +2 -2
- pulumi_gcp/cloudquota/__init__.py +1 -0
- pulumi_gcp/cloudquota/s_quota_adjuster_settings.py +336 -0
- 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 +910 -42
- pulumi_gcp/developerconnect/connection.py +614 -86
- pulumi_gcp/developerconnect/git_repository_link.py +4 -0
- pulumi_gcp/developerconnect/outputs.py +717 -28
- pulumi_gcp/dns/_inputs.py +124 -20
- pulumi_gcp/dns/outputs.py +90 -16
- pulumi_gcp/dns/record_set.py +82 -0
- 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 +9 -3
- pulumi_gcp/iap/outputs.py +6 -2
- 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 +20 -0
- pulumi_gcp/sql/database_instance.py +2 -2
- pulumi_gcp/sql/outputs.py +36 -0
- pulumi_gcp/transcoder/_inputs.py +6 -6
- pulumi_gcp/transcoder/outputs.py +4 -4
- {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/METADATA +1 -1
- {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/RECORD +62 -58
- {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/WHEEL +0 -0
- {pulumi_gcp-8.14.0a1736836474.dist-info → pulumi_gcp-8.14.0a1736952890.dist-info}/top_level.txt +0 -0
@@ -15,26 +15,83 @@ else:
|
|
15
15
|
from .. import _utilities
|
16
16
|
|
17
17
|
__all__ = [
|
18
|
+
'ConnectionCryptoKeyConfigArgs',
|
19
|
+
'ConnectionCryptoKeyConfigArgsDict',
|
18
20
|
'ConnectionGithubConfigArgs',
|
19
21
|
'ConnectionGithubConfigArgsDict',
|
20
22
|
'ConnectionGithubConfigAuthorizerCredentialArgs',
|
21
23
|
'ConnectionGithubConfigAuthorizerCredentialArgsDict',
|
24
|
+
'ConnectionGithubEnterpriseConfigArgs',
|
25
|
+
'ConnectionGithubEnterpriseConfigArgsDict',
|
26
|
+
'ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs',
|
27
|
+
'ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgsDict',
|
28
|
+
'ConnectionGitlabConfigArgs',
|
29
|
+
'ConnectionGitlabConfigArgsDict',
|
30
|
+
'ConnectionGitlabConfigAuthorizerCredentialArgs',
|
31
|
+
'ConnectionGitlabConfigAuthorizerCredentialArgsDict',
|
32
|
+
'ConnectionGitlabConfigReadAuthorizerCredentialArgs',
|
33
|
+
'ConnectionGitlabConfigReadAuthorizerCredentialArgsDict',
|
34
|
+
'ConnectionGitlabEnterpriseConfigArgs',
|
35
|
+
'ConnectionGitlabEnterpriseConfigArgsDict',
|
36
|
+
'ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs',
|
37
|
+
'ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgsDict',
|
38
|
+
'ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs',
|
39
|
+
'ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgsDict',
|
40
|
+
'ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs',
|
41
|
+
'ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgsDict',
|
22
42
|
'ConnectionInstallationStateArgs',
|
23
43
|
'ConnectionInstallationStateArgsDict',
|
24
44
|
]
|
25
45
|
|
26
46
|
MYPY = False
|
27
47
|
|
48
|
+
if not MYPY:
|
49
|
+
class ConnectionCryptoKeyConfigArgsDict(TypedDict):
|
50
|
+
key_reference: pulumi.Input[str]
|
51
|
+
"""
|
52
|
+
Required. The name of the key which is used to encrypt/decrypt customer data. For key
|
53
|
+
in Cloud KMS, the key should be in the format of
|
54
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
55
|
+
"""
|
56
|
+
elif False:
|
57
|
+
ConnectionCryptoKeyConfigArgsDict: TypeAlias = Mapping[str, Any]
|
58
|
+
|
59
|
+
@pulumi.input_type
|
60
|
+
class ConnectionCryptoKeyConfigArgs:
|
61
|
+
def __init__(__self__, *,
|
62
|
+
key_reference: pulumi.Input[str]):
|
63
|
+
"""
|
64
|
+
:param pulumi.Input[str] key_reference: Required. The name of the key which is used to encrypt/decrypt customer data. For key
|
65
|
+
in Cloud KMS, the key should be in the format of
|
66
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
67
|
+
"""
|
68
|
+
pulumi.set(__self__, "key_reference", key_reference)
|
69
|
+
|
70
|
+
@property
|
71
|
+
@pulumi.getter(name="keyReference")
|
72
|
+
def key_reference(self) -> pulumi.Input[str]:
|
73
|
+
"""
|
74
|
+
Required. The name of the key which is used to encrypt/decrypt customer data. For key
|
75
|
+
in Cloud KMS, the key should be in the format of
|
76
|
+
`projects/*/locations/*/keyRings/*/cryptoKeys/*`.
|
77
|
+
"""
|
78
|
+
return pulumi.get(self, "key_reference")
|
79
|
+
|
80
|
+
@key_reference.setter
|
81
|
+
def key_reference(self, value: pulumi.Input[str]):
|
82
|
+
pulumi.set(self, "key_reference", value)
|
83
|
+
|
84
|
+
|
28
85
|
if not MYPY:
|
29
86
|
class ConnectionGithubConfigArgsDict(TypedDict):
|
30
87
|
github_app: pulumi.Input[str]
|
31
88
|
"""
|
32
|
-
Required. Immutable. The GitHub Application that was installed to
|
33
|
-
|
89
|
+
Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
90
|
+
organization.
|
34
91
|
Possible values:
|
35
92
|
GIT_HUB_APP_UNSPECIFIED
|
36
93
|
DEVELOPER_CONNECT
|
37
|
-
FIREBASE
|
94
|
+
FIREBASE
|
38
95
|
"""
|
39
96
|
app_installation_id: NotRequired[pulumi.Input[str]]
|
40
97
|
"""
|
@@ -42,15 +99,15 @@ if not MYPY:
|
|
42
99
|
"""
|
43
100
|
authorizer_credential: NotRequired[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgsDict']]
|
44
101
|
"""
|
45
|
-
Represents an OAuth token of the account that authorized the Connection,
|
46
|
-
associated metadata.
|
102
|
+
Represents an OAuth token of the account that authorized the Connection,
|
103
|
+
and associated metadata.
|
47
104
|
Structure is documented below.
|
48
105
|
"""
|
49
106
|
installation_uri: NotRequired[pulumi.Input[str]]
|
50
107
|
"""
|
51
108
|
(Output)
|
52
|
-
Output only. The URI to navigate to in order to manage the installation
|
53
|
-
|
109
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
110
|
+
with this GitHubConfig.
|
54
111
|
"""
|
55
112
|
elif False:
|
56
113
|
ConnectionGithubConfigArgsDict: TypeAlias = Mapping[str, Any]
|
@@ -63,19 +120,19 @@ class ConnectionGithubConfigArgs:
|
|
63
120
|
authorizer_credential: Optional[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs']] = None,
|
64
121
|
installation_uri: Optional[pulumi.Input[str]] = None):
|
65
122
|
"""
|
66
|
-
:param pulumi.Input[str] github_app: Required. Immutable. The GitHub Application that was installed to
|
67
|
-
|
123
|
+
:param pulumi.Input[str] github_app: Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
124
|
+
organization.
|
68
125
|
Possible values:
|
69
126
|
GIT_HUB_APP_UNSPECIFIED
|
70
127
|
DEVELOPER_CONNECT
|
71
|
-
FIREBASE
|
128
|
+
FIREBASE
|
72
129
|
:param pulumi.Input[str] app_installation_id: Optional. GitHub App installation id.
|
73
|
-
:param pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs'] authorizer_credential: Represents an OAuth token of the account that authorized the Connection,
|
74
|
-
associated metadata.
|
130
|
+
:param pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs'] authorizer_credential: Represents an OAuth token of the account that authorized the Connection,
|
131
|
+
and associated metadata.
|
75
132
|
Structure is documented below.
|
76
133
|
:param pulumi.Input[str] installation_uri: (Output)
|
77
|
-
Output only. The URI to navigate to in order to manage the installation
|
78
|
-
|
134
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
135
|
+
with this GitHubConfig.
|
79
136
|
"""
|
80
137
|
pulumi.set(__self__, "github_app", github_app)
|
81
138
|
if app_installation_id is not None:
|
@@ -89,12 +146,12 @@ class ConnectionGithubConfigArgs:
|
|
89
146
|
@pulumi.getter(name="githubApp")
|
90
147
|
def github_app(self) -> pulumi.Input[str]:
|
91
148
|
"""
|
92
|
-
Required. Immutable. The GitHub Application that was installed to
|
93
|
-
|
149
|
+
Required. Immutable. The GitHub Application that was installed to the GitHub user or
|
150
|
+
organization.
|
94
151
|
Possible values:
|
95
152
|
GIT_HUB_APP_UNSPECIFIED
|
96
153
|
DEVELOPER_CONNECT
|
97
|
-
FIREBASE
|
154
|
+
FIREBASE
|
98
155
|
"""
|
99
156
|
return pulumi.get(self, "github_app")
|
100
157
|
|
@@ -118,8 +175,8 @@ class ConnectionGithubConfigArgs:
|
|
118
175
|
@pulumi.getter(name="authorizerCredential")
|
119
176
|
def authorizer_credential(self) -> Optional[pulumi.Input['ConnectionGithubConfigAuthorizerCredentialArgs']]:
|
120
177
|
"""
|
121
|
-
Represents an OAuth token of the account that authorized the Connection,
|
122
|
-
associated metadata.
|
178
|
+
Represents an OAuth token of the account that authorized the Connection,
|
179
|
+
and associated metadata.
|
123
180
|
Structure is documented below.
|
124
181
|
"""
|
125
182
|
return pulumi.get(self, "authorizer_credential")
|
@@ -133,8 +190,8 @@ class ConnectionGithubConfigArgs:
|
|
133
190
|
def installation_uri(self) -> Optional[pulumi.Input[str]]:
|
134
191
|
"""
|
135
192
|
(Output)
|
136
|
-
Output only. The URI to navigate to in order to manage the installation
|
137
|
-
|
193
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
194
|
+
with this GitHubConfig.
|
138
195
|
"""
|
139
196
|
return pulumi.get(self, "installation_uri")
|
140
197
|
|
@@ -147,9 +204,8 @@ if not MYPY:
|
|
147
204
|
class ConnectionGithubConfigAuthorizerCredentialArgsDict(TypedDict):
|
148
205
|
oauth_token_secret_version: pulumi.Input[str]
|
149
206
|
"""
|
150
|
-
Required. A SecretManager resource containing the OAuth token
|
151
|
-
|
152
|
-
Format: `projects/*/secrets/*/versions/*`.
|
207
|
+
Required. A SecretManager resource containing the OAuth token that authorizes
|
208
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
153
209
|
"""
|
154
210
|
username: NotRequired[pulumi.Input[str]]
|
155
211
|
"""
|
@@ -165,9 +221,8 @@ class ConnectionGithubConfigAuthorizerCredentialArgs:
|
|
165
221
|
oauth_token_secret_version: pulumi.Input[str],
|
166
222
|
username: Optional[pulumi.Input[str]] = None):
|
167
223
|
"""
|
168
|
-
:param pulumi.Input[str] oauth_token_secret_version: Required. A SecretManager resource containing the OAuth token
|
169
|
-
|
170
|
-
Format: `projects/*/secrets/*/versions/*`.
|
224
|
+
:param pulumi.Input[str] oauth_token_secret_version: Required. A SecretManager resource containing the OAuth token that authorizes
|
225
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
171
226
|
:param pulumi.Input[str] username: (Output)
|
172
227
|
Output only. The username associated with this token.
|
173
228
|
"""
|
@@ -179,9 +234,8 @@ class ConnectionGithubConfigAuthorizerCredentialArgs:
|
|
179
234
|
@pulumi.getter(name="oauthTokenSecretVersion")
|
180
235
|
def oauth_token_secret_version(self) -> pulumi.Input[str]:
|
181
236
|
"""
|
182
|
-
Required. A SecretManager resource containing the OAuth token
|
183
|
-
|
184
|
-
Format: `projects/*/secrets/*/versions/*`.
|
237
|
+
Required. A SecretManager resource containing the OAuth token that authorizes
|
238
|
+
the connection. Format: `projects/*/secrets/*/versions/*`.
|
185
239
|
"""
|
186
240
|
return pulumi.get(self, "oauth_token_secret_version")
|
187
241
|
|
@@ -203,17 +257,831 @@ class ConnectionGithubConfigAuthorizerCredentialArgs:
|
|
203
257
|
pulumi.set(self, "username", value)
|
204
258
|
|
205
259
|
|
260
|
+
if not MYPY:
|
261
|
+
class ConnectionGithubEnterpriseConfigArgsDict(TypedDict):
|
262
|
+
host_uri: pulumi.Input[str]
|
263
|
+
"""
|
264
|
+
Required. The URI of the GitHub Enterprise host this connection is for.
|
265
|
+
"""
|
266
|
+
app_id: NotRequired[pulumi.Input[str]]
|
267
|
+
"""
|
268
|
+
Optional. ID of the GitHub App created from the manifest.
|
269
|
+
"""
|
270
|
+
app_installation_id: NotRequired[pulumi.Input[str]]
|
271
|
+
"""
|
272
|
+
Optional. ID of the installation of the GitHub App.
|
273
|
+
"""
|
274
|
+
app_slug: NotRequired[pulumi.Input[str]]
|
275
|
+
"""
|
276
|
+
(Output)
|
277
|
+
Output only. The URL-friendly name of the GitHub App.
|
278
|
+
"""
|
279
|
+
installation_uri: NotRequired[pulumi.Input[str]]
|
280
|
+
"""
|
281
|
+
(Output)
|
282
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
283
|
+
with this GitHubEnterpriseConfig.
|
284
|
+
"""
|
285
|
+
private_key_secret_version: NotRequired[pulumi.Input[str]]
|
286
|
+
"""
|
287
|
+
Optional. SecretManager resource containing the private key of the GitHub App,
|
288
|
+
formatted as `projects/*/secrets/*/versions/*`.
|
289
|
+
"""
|
290
|
+
server_version: NotRequired[pulumi.Input[str]]
|
291
|
+
"""
|
292
|
+
(Output)
|
293
|
+
Output only. GitHub Enterprise version installed at the host_uri.
|
294
|
+
"""
|
295
|
+
service_directory_config: NotRequired[pulumi.Input['ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgsDict']]
|
296
|
+
"""
|
297
|
+
ServiceDirectoryConfig represents Service Directory configuration for a
|
298
|
+
connection.
|
299
|
+
Structure is documented below.
|
300
|
+
"""
|
301
|
+
ssl_ca_certificate: NotRequired[pulumi.Input[str]]
|
302
|
+
"""
|
303
|
+
Optional. SSL certificate to use for requests to GitHub Enterprise.
|
304
|
+
"""
|
305
|
+
webhook_secret_secret_version: NotRequired[pulumi.Input[str]]
|
306
|
+
"""
|
307
|
+
Optional. SecretManager resource containing the webhook secret of the GitHub App,
|
308
|
+
formatted as `projects/*/secrets/*/versions/*`.
|
309
|
+
"""
|
310
|
+
elif False:
|
311
|
+
ConnectionGithubEnterpriseConfigArgsDict: TypeAlias = Mapping[str, Any]
|
312
|
+
|
313
|
+
@pulumi.input_type
|
314
|
+
class ConnectionGithubEnterpriseConfigArgs:
|
315
|
+
def __init__(__self__, *,
|
316
|
+
host_uri: pulumi.Input[str],
|
317
|
+
app_id: Optional[pulumi.Input[str]] = None,
|
318
|
+
app_installation_id: Optional[pulumi.Input[str]] = None,
|
319
|
+
app_slug: Optional[pulumi.Input[str]] = None,
|
320
|
+
installation_uri: Optional[pulumi.Input[str]] = None,
|
321
|
+
private_key_secret_version: Optional[pulumi.Input[str]] = None,
|
322
|
+
server_version: Optional[pulumi.Input[str]] = None,
|
323
|
+
service_directory_config: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs']] = None,
|
324
|
+
ssl_ca_certificate: Optional[pulumi.Input[str]] = None,
|
325
|
+
webhook_secret_secret_version: Optional[pulumi.Input[str]] = None):
|
326
|
+
"""
|
327
|
+
:param pulumi.Input[str] host_uri: Required. The URI of the GitHub Enterprise host this connection is for.
|
328
|
+
:param pulumi.Input[str] app_id: Optional. ID of the GitHub App created from the manifest.
|
329
|
+
:param pulumi.Input[str] app_installation_id: Optional. ID of the installation of the GitHub App.
|
330
|
+
:param pulumi.Input[str] app_slug: (Output)
|
331
|
+
Output only. The URL-friendly name of the GitHub App.
|
332
|
+
:param pulumi.Input[str] installation_uri: (Output)
|
333
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
334
|
+
with this GitHubEnterpriseConfig.
|
335
|
+
:param pulumi.Input[str] private_key_secret_version: Optional. SecretManager resource containing the private key of the GitHub App,
|
336
|
+
formatted as `projects/*/secrets/*/versions/*`.
|
337
|
+
:param pulumi.Input[str] server_version: (Output)
|
338
|
+
Output only. GitHub Enterprise version installed at the host_uri.
|
339
|
+
:param pulumi.Input['ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs'] service_directory_config: ServiceDirectoryConfig represents Service Directory configuration for a
|
340
|
+
connection.
|
341
|
+
Structure is documented below.
|
342
|
+
:param pulumi.Input[str] ssl_ca_certificate: Optional. SSL certificate to use for requests to GitHub Enterprise.
|
343
|
+
:param pulumi.Input[str] webhook_secret_secret_version: Optional. SecretManager resource containing the webhook secret of the GitHub App,
|
344
|
+
formatted as `projects/*/secrets/*/versions/*`.
|
345
|
+
"""
|
346
|
+
pulumi.set(__self__, "host_uri", host_uri)
|
347
|
+
if app_id is not None:
|
348
|
+
pulumi.set(__self__, "app_id", app_id)
|
349
|
+
if app_installation_id is not None:
|
350
|
+
pulumi.set(__self__, "app_installation_id", app_installation_id)
|
351
|
+
if app_slug is not None:
|
352
|
+
pulumi.set(__self__, "app_slug", app_slug)
|
353
|
+
if installation_uri is not None:
|
354
|
+
pulumi.set(__self__, "installation_uri", installation_uri)
|
355
|
+
if private_key_secret_version is not None:
|
356
|
+
pulumi.set(__self__, "private_key_secret_version", private_key_secret_version)
|
357
|
+
if server_version is not None:
|
358
|
+
pulumi.set(__self__, "server_version", server_version)
|
359
|
+
if service_directory_config is not None:
|
360
|
+
pulumi.set(__self__, "service_directory_config", service_directory_config)
|
361
|
+
if ssl_ca_certificate is not None:
|
362
|
+
pulumi.set(__self__, "ssl_ca_certificate", ssl_ca_certificate)
|
363
|
+
if webhook_secret_secret_version is not None:
|
364
|
+
pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
|
365
|
+
|
366
|
+
@property
|
367
|
+
@pulumi.getter(name="hostUri")
|
368
|
+
def host_uri(self) -> pulumi.Input[str]:
|
369
|
+
"""
|
370
|
+
Required. The URI of the GitHub Enterprise host this connection is for.
|
371
|
+
"""
|
372
|
+
return pulumi.get(self, "host_uri")
|
373
|
+
|
374
|
+
@host_uri.setter
|
375
|
+
def host_uri(self, value: pulumi.Input[str]):
|
376
|
+
pulumi.set(self, "host_uri", value)
|
377
|
+
|
378
|
+
@property
|
379
|
+
@pulumi.getter(name="appId")
|
380
|
+
def app_id(self) -> Optional[pulumi.Input[str]]:
|
381
|
+
"""
|
382
|
+
Optional. ID of the GitHub App created from the manifest.
|
383
|
+
"""
|
384
|
+
return pulumi.get(self, "app_id")
|
385
|
+
|
386
|
+
@app_id.setter
|
387
|
+
def app_id(self, value: Optional[pulumi.Input[str]]):
|
388
|
+
pulumi.set(self, "app_id", value)
|
389
|
+
|
390
|
+
@property
|
391
|
+
@pulumi.getter(name="appInstallationId")
|
392
|
+
def app_installation_id(self) -> Optional[pulumi.Input[str]]:
|
393
|
+
"""
|
394
|
+
Optional. ID of the installation of the GitHub App.
|
395
|
+
"""
|
396
|
+
return pulumi.get(self, "app_installation_id")
|
397
|
+
|
398
|
+
@app_installation_id.setter
|
399
|
+
def app_installation_id(self, value: Optional[pulumi.Input[str]]):
|
400
|
+
pulumi.set(self, "app_installation_id", value)
|
401
|
+
|
402
|
+
@property
|
403
|
+
@pulumi.getter(name="appSlug")
|
404
|
+
def app_slug(self) -> Optional[pulumi.Input[str]]:
|
405
|
+
"""
|
406
|
+
(Output)
|
407
|
+
Output only. The URL-friendly name of the GitHub App.
|
408
|
+
"""
|
409
|
+
return pulumi.get(self, "app_slug")
|
410
|
+
|
411
|
+
@app_slug.setter
|
412
|
+
def app_slug(self, value: Optional[pulumi.Input[str]]):
|
413
|
+
pulumi.set(self, "app_slug", value)
|
414
|
+
|
415
|
+
@property
|
416
|
+
@pulumi.getter(name="installationUri")
|
417
|
+
def installation_uri(self) -> Optional[pulumi.Input[str]]:
|
418
|
+
"""
|
419
|
+
(Output)
|
420
|
+
Output only. The URI to navigate to in order to manage the installation associated
|
421
|
+
with this GitHubEnterpriseConfig.
|
422
|
+
"""
|
423
|
+
return pulumi.get(self, "installation_uri")
|
424
|
+
|
425
|
+
@installation_uri.setter
|
426
|
+
def installation_uri(self, value: Optional[pulumi.Input[str]]):
|
427
|
+
pulumi.set(self, "installation_uri", value)
|
428
|
+
|
429
|
+
@property
|
430
|
+
@pulumi.getter(name="privateKeySecretVersion")
|
431
|
+
def private_key_secret_version(self) -> Optional[pulumi.Input[str]]:
|
432
|
+
"""
|
433
|
+
Optional. SecretManager resource containing the private key of the GitHub App,
|
434
|
+
formatted as `projects/*/secrets/*/versions/*`.
|
435
|
+
"""
|
436
|
+
return pulumi.get(self, "private_key_secret_version")
|
437
|
+
|
438
|
+
@private_key_secret_version.setter
|
439
|
+
def private_key_secret_version(self, value: Optional[pulumi.Input[str]]):
|
440
|
+
pulumi.set(self, "private_key_secret_version", value)
|
441
|
+
|
442
|
+
@property
|
443
|
+
@pulumi.getter(name="serverVersion")
|
444
|
+
def server_version(self) -> Optional[pulumi.Input[str]]:
|
445
|
+
"""
|
446
|
+
(Output)
|
447
|
+
Output only. GitHub Enterprise version installed at the host_uri.
|
448
|
+
"""
|
449
|
+
return pulumi.get(self, "server_version")
|
450
|
+
|
451
|
+
@server_version.setter
|
452
|
+
def server_version(self, value: Optional[pulumi.Input[str]]):
|
453
|
+
pulumi.set(self, "server_version", value)
|
454
|
+
|
455
|
+
@property
|
456
|
+
@pulumi.getter(name="serviceDirectoryConfig")
|
457
|
+
def service_directory_config(self) -> Optional[pulumi.Input['ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs']]:
|
458
|
+
"""
|
459
|
+
ServiceDirectoryConfig represents Service Directory configuration for a
|
460
|
+
connection.
|
461
|
+
Structure is documented below.
|
462
|
+
"""
|
463
|
+
return pulumi.get(self, "service_directory_config")
|
464
|
+
|
465
|
+
@service_directory_config.setter
|
466
|
+
def service_directory_config(self, value: Optional[pulumi.Input['ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs']]):
|
467
|
+
pulumi.set(self, "service_directory_config", value)
|
468
|
+
|
469
|
+
@property
|
470
|
+
@pulumi.getter(name="sslCaCertificate")
|
471
|
+
def ssl_ca_certificate(self) -> Optional[pulumi.Input[str]]:
|
472
|
+
"""
|
473
|
+
Optional. SSL certificate to use for requests to GitHub Enterprise.
|
474
|
+
"""
|
475
|
+
return pulumi.get(self, "ssl_ca_certificate")
|
476
|
+
|
477
|
+
@ssl_ca_certificate.setter
|
478
|
+
def ssl_ca_certificate(self, value: Optional[pulumi.Input[str]]):
|
479
|
+
pulumi.set(self, "ssl_ca_certificate", value)
|
480
|
+
|
481
|
+
@property
|
482
|
+
@pulumi.getter(name="webhookSecretSecretVersion")
|
483
|
+
def webhook_secret_secret_version(self) -> Optional[pulumi.Input[str]]:
|
484
|
+
"""
|
485
|
+
Optional. SecretManager resource containing the webhook secret of the GitHub App,
|
486
|
+
formatted as `projects/*/secrets/*/versions/*`.
|
487
|
+
"""
|
488
|
+
return pulumi.get(self, "webhook_secret_secret_version")
|
489
|
+
|
490
|
+
@webhook_secret_secret_version.setter
|
491
|
+
def webhook_secret_secret_version(self, value: Optional[pulumi.Input[str]]):
|
492
|
+
pulumi.set(self, "webhook_secret_secret_version", value)
|
493
|
+
|
494
|
+
|
495
|
+
if not MYPY:
|
496
|
+
class ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgsDict(TypedDict):
|
497
|
+
service: pulumi.Input[str]
|
498
|
+
"""
|
499
|
+
Required. The Service Directory service name.
|
500
|
+
Format:
|
501
|
+
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
|
502
|
+
"""
|
503
|
+
elif False:
|
504
|
+
ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgsDict: TypeAlias = Mapping[str, Any]
|
505
|
+
|
506
|
+
@pulumi.input_type
|
507
|
+
class ConnectionGithubEnterpriseConfigServiceDirectoryConfigArgs:
|
508
|
+
def __init__(__self__, *,
|
509
|
+
service: pulumi.Input[str]):
|
510
|
+
"""
|
511
|
+
:param pulumi.Input[str] service: Required. The Service Directory service name.
|
512
|
+
Format:
|
513
|
+
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
|
514
|
+
"""
|
515
|
+
pulumi.set(__self__, "service", service)
|
516
|
+
|
517
|
+
@property
|
518
|
+
@pulumi.getter
|
519
|
+
def service(self) -> pulumi.Input[str]:
|
520
|
+
"""
|
521
|
+
Required. The Service Directory service name.
|
522
|
+
Format:
|
523
|
+
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
|
524
|
+
"""
|
525
|
+
return pulumi.get(self, "service")
|
526
|
+
|
527
|
+
@service.setter
|
528
|
+
def service(self, value: pulumi.Input[str]):
|
529
|
+
pulumi.set(self, "service", value)
|
530
|
+
|
531
|
+
|
532
|
+
if not MYPY:
|
533
|
+
class ConnectionGitlabConfigArgsDict(TypedDict):
|
534
|
+
authorizer_credential: pulumi.Input['ConnectionGitlabConfigAuthorizerCredentialArgsDict']
|
535
|
+
"""
|
536
|
+
Represents a personal access token that authorized the Connection,
|
537
|
+
and associated metadata.
|
538
|
+
Structure is documented below.
|
539
|
+
"""
|
540
|
+
read_authorizer_credential: pulumi.Input['ConnectionGitlabConfigReadAuthorizerCredentialArgsDict']
|
541
|
+
"""
|
542
|
+
Represents a personal access token that authorized the Connection,
|
543
|
+
and associated metadata.
|
544
|
+
Structure is documented below.
|
545
|
+
"""
|
546
|
+
webhook_secret_secret_version: pulumi.Input[str]
|
547
|
+
"""
|
548
|
+
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
|
549
|
+
formatted as `projects/*/secrets/*/versions/*`. This is used to validate
|
550
|
+
webhooks.
|
551
|
+
"""
|
552
|
+
elif False:
|
553
|
+
ConnectionGitlabConfigArgsDict: TypeAlias = Mapping[str, Any]
|
554
|
+
|
555
|
+
@pulumi.input_type
|
556
|
+
class ConnectionGitlabConfigArgs:
|
557
|
+
def __init__(__self__, *,
|
558
|
+
authorizer_credential: pulumi.Input['ConnectionGitlabConfigAuthorizerCredentialArgs'],
|
559
|
+
read_authorizer_credential: pulumi.Input['ConnectionGitlabConfigReadAuthorizerCredentialArgs'],
|
560
|
+
webhook_secret_secret_version: pulumi.Input[str]):
|
561
|
+
"""
|
562
|
+
:param pulumi.Input['ConnectionGitlabConfigAuthorizerCredentialArgs'] authorizer_credential: Represents a personal access token that authorized the Connection,
|
563
|
+
and associated metadata.
|
564
|
+
Structure is documented below.
|
565
|
+
:param pulumi.Input['ConnectionGitlabConfigReadAuthorizerCredentialArgs'] read_authorizer_credential: Represents a personal access token that authorized the Connection,
|
566
|
+
and associated metadata.
|
567
|
+
Structure is documented below.
|
568
|
+
:param pulumi.Input[str] webhook_secret_secret_version: Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
|
569
|
+
formatted as `projects/*/secrets/*/versions/*`. This is used to validate
|
570
|
+
webhooks.
|
571
|
+
"""
|
572
|
+
pulumi.set(__self__, "authorizer_credential", authorizer_credential)
|
573
|
+
pulumi.set(__self__, "read_authorizer_credential", read_authorizer_credential)
|
574
|
+
pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
|
575
|
+
|
576
|
+
@property
|
577
|
+
@pulumi.getter(name="authorizerCredential")
|
578
|
+
def authorizer_credential(self) -> pulumi.Input['ConnectionGitlabConfigAuthorizerCredentialArgs']:
|
579
|
+
"""
|
580
|
+
Represents a personal access token that authorized the Connection,
|
581
|
+
and associated metadata.
|
582
|
+
Structure is documented below.
|
583
|
+
"""
|
584
|
+
return pulumi.get(self, "authorizer_credential")
|
585
|
+
|
586
|
+
@authorizer_credential.setter
|
587
|
+
def authorizer_credential(self, value: pulumi.Input['ConnectionGitlabConfigAuthorizerCredentialArgs']):
|
588
|
+
pulumi.set(self, "authorizer_credential", value)
|
589
|
+
|
590
|
+
@property
|
591
|
+
@pulumi.getter(name="readAuthorizerCredential")
|
592
|
+
def read_authorizer_credential(self) -> pulumi.Input['ConnectionGitlabConfigReadAuthorizerCredentialArgs']:
|
593
|
+
"""
|
594
|
+
Represents a personal access token that authorized the Connection,
|
595
|
+
and associated metadata.
|
596
|
+
Structure is documented below.
|
597
|
+
"""
|
598
|
+
return pulumi.get(self, "read_authorizer_credential")
|
599
|
+
|
600
|
+
@read_authorizer_credential.setter
|
601
|
+
def read_authorizer_credential(self, value: pulumi.Input['ConnectionGitlabConfigReadAuthorizerCredentialArgs']):
|
602
|
+
pulumi.set(self, "read_authorizer_credential", value)
|
603
|
+
|
604
|
+
@property
|
605
|
+
@pulumi.getter(name="webhookSecretSecretVersion")
|
606
|
+
def webhook_secret_secret_version(self) -> pulumi.Input[str]:
|
607
|
+
"""
|
608
|
+
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
|
609
|
+
formatted as `projects/*/secrets/*/versions/*`. This is used to validate
|
610
|
+
webhooks.
|
611
|
+
"""
|
612
|
+
return pulumi.get(self, "webhook_secret_secret_version")
|
613
|
+
|
614
|
+
@webhook_secret_secret_version.setter
|
615
|
+
def webhook_secret_secret_version(self, value: pulumi.Input[str]):
|
616
|
+
pulumi.set(self, "webhook_secret_secret_version", value)
|
617
|
+
|
618
|
+
|
619
|
+
if not MYPY:
|
620
|
+
class ConnectionGitlabConfigAuthorizerCredentialArgsDict(TypedDict):
|
621
|
+
user_token_secret_version: pulumi.Input[str]
|
622
|
+
"""
|
623
|
+
Required. A SecretManager resource containing the user token that authorizes
|
624
|
+
the Developer Connect connection. Format:
|
625
|
+
`projects/*/secrets/*/versions/*`.
|
626
|
+
"""
|
627
|
+
username: NotRequired[pulumi.Input[str]]
|
628
|
+
"""
|
629
|
+
(Output)
|
630
|
+
Output only. The username associated with this token.
|
631
|
+
"""
|
632
|
+
elif False:
|
633
|
+
ConnectionGitlabConfigAuthorizerCredentialArgsDict: TypeAlias = Mapping[str, Any]
|
634
|
+
|
635
|
+
@pulumi.input_type
|
636
|
+
class ConnectionGitlabConfigAuthorizerCredentialArgs:
|
637
|
+
def __init__(__self__, *,
|
638
|
+
user_token_secret_version: pulumi.Input[str],
|
639
|
+
username: Optional[pulumi.Input[str]] = None):
|
640
|
+
"""
|
641
|
+
:param pulumi.Input[str] user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
|
642
|
+
the Developer Connect connection. Format:
|
643
|
+
`projects/*/secrets/*/versions/*`.
|
644
|
+
:param pulumi.Input[str] username: (Output)
|
645
|
+
Output only. The username associated with this token.
|
646
|
+
"""
|
647
|
+
pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
|
648
|
+
if username is not None:
|
649
|
+
pulumi.set(__self__, "username", username)
|
650
|
+
|
651
|
+
@property
|
652
|
+
@pulumi.getter(name="userTokenSecretVersion")
|
653
|
+
def user_token_secret_version(self) -> pulumi.Input[str]:
|
654
|
+
"""
|
655
|
+
Required. A SecretManager resource containing the user token that authorizes
|
656
|
+
the Developer Connect connection. Format:
|
657
|
+
`projects/*/secrets/*/versions/*`.
|
658
|
+
"""
|
659
|
+
return pulumi.get(self, "user_token_secret_version")
|
660
|
+
|
661
|
+
@user_token_secret_version.setter
|
662
|
+
def user_token_secret_version(self, value: pulumi.Input[str]):
|
663
|
+
pulumi.set(self, "user_token_secret_version", value)
|
664
|
+
|
665
|
+
@property
|
666
|
+
@pulumi.getter
|
667
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
668
|
+
"""
|
669
|
+
(Output)
|
670
|
+
Output only. The username associated with this token.
|
671
|
+
"""
|
672
|
+
return pulumi.get(self, "username")
|
673
|
+
|
674
|
+
@username.setter
|
675
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
676
|
+
pulumi.set(self, "username", value)
|
677
|
+
|
678
|
+
|
679
|
+
if not MYPY:
|
680
|
+
class ConnectionGitlabConfigReadAuthorizerCredentialArgsDict(TypedDict):
|
681
|
+
user_token_secret_version: pulumi.Input[str]
|
682
|
+
"""
|
683
|
+
Required. A SecretManager resource containing the user token that authorizes
|
684
|
+
the Developer Connect connection. Format:
|
685
|
+
`projects/*/secrets/*/versions/*`.
|
686
|
+
"""
|
687
|
+
username: NotRequired[pulumi.Input[str]]
|
688
|
+
"""
|
689
|
+
(Output)
|
690
|
+
Output only. The username associated with this token.
|
691
|
+
"""
|
692
|
+
elif False:
|
693
|
+
ConnectionGitlabConfigReadAuthorizerCredentialArgsDict: TypeAlias = Mapping[str, Any]
|
694
|
+
|
695
|
+
@pulumi.input_type
|
696
|
+
class ConnectionGitlabConfigReadAuthorizerCredentialArgs:
|
697
|
+
def __init__(__self__, *,
|
698
|
+
user_token_secret_version: pulumi.Input[str],
|
699
|
+
username: Optional[pulumi.Input[str]] = None):
|
700
|
+
"""
|
701
|
+
:param pulumi.Input[str] user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
|
702
|
+
the Developer Connect connection. Format:
|
703
|
+
`projects/*/secrets/*/versions/*`.
|
704
|
+
:param pulumi.Input[str] username: (Output)
|
705
|
+
Output only. The username associated with this token.
|
706
|
+
"""
|
707
|
+
pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
|
708
|
+
if username is not None:
|
709
|
+
pulumi.set(__self__, "username", username)
|
710
|
+
|
711
|
+
@property
|
712
|
+
@pulumi.getter(name="userTokenSecretVersion")
|
713
|
+
def user_token_secret_version(self) -> pulumi.Input[str]:
|
714
|
+
"""
|
715
|
+
Required. A SecretManager resource containing the user token that authorizes
|
716
|
+
the Developer Connect connection. Format:
|
717
|
+
`projects/*/secrets/*/versions/*`.
|
718
|
+
"""
|
719
|
+
return pulumi.get(self, "user_token_secret_version")
|
720
|
+
|
721
|
+
@user_token_secret_version.setter
|
722
|
+
def user_token_secret_version(self, value: pulumi.Input[str]):
|
723
|
+
pulumi.set(self, "user_token_secret_version", value)
|
724
|
+
|
725
|
+
@property
|
726
|
+
@pulumi.getter
|
727
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
728
|
+
"""
|
729
|
+
(Output)
|
730
|
+
Output only. The username associated with this token.
|
731
|
+
"""
|
732
|
+
return pulumi.get(self, "username")
|
733
|
+
|
734
|
+
@username.setter
|
735
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
736
|
+
pulumi.set(self, "username", value)
|
737
|
+
|
738
|
+
|
739
|
+
if not MYPY:
|
740
|
+
class ConnectionGitlabEnterpriseConfigArgsDict(TypedDict):
|
741
|
+
authorizer_credential: pulumi.Input['ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgsDict']
|
742
|
+
"""
|
743
|
+
Represents a personal access token that authorized the Connection,
|
744
|
+
and associated metadata.
|
745
|
+
Structure is documented below.
|
746
|
+
"""
|
747
|
+
host_uri: pulumi.Input[str]
|
748
|
+
"""
|
749
|
+
Required. The URI of the GitLab Enterprise host this connection is for.
|
750
|
+
"""
|
751
|
+
read_authorizer_credential: pulumi.Input['ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgsDict']
|
752
|
+
"""
|
753
|
+
Represents a personal access token that authorized the Connection,
|
754
|
+
and associated metadata.
|
755
|
+
Structure is documented below.
|
756
|
+
"""
|
757
|
+
webhook_secret_secret_version: pulumi.Input[str]
|
758
|
+
"""
|
759
|
+
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
|
760
|
+
formatted as `projects/*/secrets/*/versions/*`. This is used to validate
|
761
|
+
webhooks.
|
762
|
+
"""
|
763
|
+
server_version: NotRequired[pulumi.Input[str]]
|
764
|
+
"""
|
765
|
+
(Output)
|
766
|
+
Output only. Version of the GitLab Enterprise server running on the `host_uri`.
|
767
|
+
"""
|
768
|
+
service_directory_config: NotRequired[pulumi.Input['ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgsDict']]
|
769
|
+
"""
|
770
|
+
ServiceDirectoryConfig represents Service Directory configuration for a
|
771
|
+
connection.
|
772
|
+
Structure is documented below.
|
773
|
+
"""
|
774
|
+
ssl_ca_certificate: NotRequired[pulumi.Input[str]]
|
775
|
+
"""
|
776
|
+
Optional. SSL Certificate Authority certificate to use for requests to GitLab
|
777
|
+
Enterprise instance.
|
778
|
+
"""
|
779
|
+
elif False:
|
780
|
+
ConnectionGitlabEnterpriseConfigArgsDict: TypeAlias = Mapping[str, Any]
|
781
|
+
|
782
|
+
@pulumi.input_type
|
783
|
+
class ConnectionGitlabEnterpriseConfigArgs:
|
784
|
+
def __init__(__self__, *,
|
785
|
+
authorizer_credential: pulumi.Input['ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs'],
|
786
|
+
host_uri: pulumi.Input[str],
|
787
|
+
read_authorizer_credential: pulumi.Input['ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs'],
|
788
|
+
webhook_secret_secret_version: pulumi.Input[str],
|
789
|
+
server_version: Optional[pulumi.Input[str]] = None,
|
790
|
+
service_directory_config: Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs']] = None,
|
791
|
+
ssl_ca_certificate: Optional[pulumi.Input[str]] = None):
|
792
|
+
"""
|
793
|
+
:param pulumi.Input['ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs'] authorizer_credential: Represents a personal access token that authorized the Connection,
|
794
|
+
and associated metadata.
|
795
|
+
Structure is documented below.
|
796
|
+
:param pulumi.Input[str] host_uri: Required. The URI of the GitLab Enterprise host this connection is for.
|
797
|
+
:param pulumi.Input['ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs'] read_authorizer_credential: Represents a personal access token that authorized the Connection,
|
798
|
+
and associated metadata.
|
799
|
+
Structure is documented below.
|
800
|
+
:param pulumi.Input[str] webhook_secret_secret_version: Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
|
801
|
+
formatted as `projects/*/secrets/*/versions/*`. This is used to validate
|
802
|
+
webhooks.
|
803
|
+
:param pulumi.Input[str] server_version: (Output)
|
804
|
+
Output only. Version of the GitLab Enterprise server running on the `host_uri`.
|
805
|
+
:param pulumi.Input['ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs'] service_directory_config: ServiceDirectoryConfig represents Service Directory configuration for a
|
806
|
+
connection.
|
807
|
+
Structure is documented below.
|
808
|
+
:param pulumi.Input[str] ssl_ca_certificate: Optional. SSL Certificate Authority certificate to use for requests to GitLab
|
809
|
+
Enterprise instance.
|
810
|
+
"""
|
811
|
+
pulumi.set(__self__, "authorizer_credential", authorizer_credential)
|
812
|
+
pulumi.set(__self__, "host_uri", host_uri)
|
813
|
+
pulumi.set(__self__, "read_authorizer_credential", read_authorizer_credential)
|
814
|
+
pulumi.set(__self__, "webhook_secret_secret_version", webhook_secret_secret_version)
|
815
|
+
if server_version is not None:
|
816
|
+
pulumi.set(__self__, "server_version", server_version)
|
817
|
+
if service_directory_config is not None:
|
818
|
+
pulumi.set(__self__, "service_directory_config", service_directory_config)
|
819
|
+
if ssl_ca_certificate is not None:
|
820
|
+
pulumi.set(__self__, "ssl_ca_certificate", ssl_ca_certificate)
|
821
|
+
|
822
|
+
@property
|
823
|
+
@pulumi.getter(name="authorizerCredential")
|
824
|
+
def authorizer_credential(self) -> pulumi.Input['ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs']:
|
825
|
+
"""
|
826
|
+
Represents a personal access token that authorized the Connection,
|
827
|
+
and associated metadata.
|
828
|
+
Structure is documented below.
|
829
|
+
"""
|
830
|
+
return pulumi.get(self, "authorizer_credential")
|
831
|
+
|
832
|
+
@authorizer_credential.setter
|
833
|
+
def authorizer_credential(self, value: pulumi.Input['ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs']):
|
834
|
+
pulumi.set(self, "authorizer_credential", value)
|
835
|
+
|
836
|
+
@property
|
837
|
+
@pulumi.getter(name="hostUri")
|
838
|
+
def host_uri(self) -> pulumi.Input[str]:
|
839
|
+
"""
|
840
|
+
Required. The URI of the GitLab Enterprise host this connection is for.
|
841
|
+
"""
|
842
|
+
return pulumi.get(self, "host_uri")
|
843
|
+
|
844
|
+
@host_uri.setter
|
845
|
+
def host_uri(self, value: pulumi.Input[str]):
|
846
|
+
pulumi.set(self, "host_uri", value)
|
847
|
+
|
848
|
+
@property
|
849
|
+
@pulumi.getter(name="readAuthorizerCredential")
|
850
|
+
def read_authorizer_credential(self) -> pulumi.Input['ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs']:
|
851
|
+
"""
|
852
|
+
Represents a personal access token that authorized the Connection,
|
853
|
+
and associated metadata.
|
854
|
+
Structure is documented below.
|
855
|
+
"""
|
856
|
+
return pulumi.get(self, "read_authorizer_credential")
|
857
|
+
|
858
|
+
@read_authorizer_credential.setter
|
859
|
+
def read_authorizer_credential(self, value: pulumi.Input['ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs']):
|
860
|
+
pulumi.set(self, "read_authorizer_credential", value)
|
861
|
+
|
862
|
+
@property
|
863
|
+
@pulumi.getter(name="webhookSecretSecretVersion")
|
864
|
+
def webhook_secret_secret_version(self) -> pulumi.Input[str]:
|
865
|
+
"""
|
866
|
+
Required. Immutable. SecretManager resource containing the webhook secret of a GitLab project,
|
867
|
+
formatted as `projects/*/secrets/*/versions/*`. This is used to validate
|
868
|
+
webhooks.
|
869
|
+
"""
|
870
|
+
return pulumi.get(self, "webhook_secret_secret_version")
|
871
|
+
|
872
|
+
@webhook_secret_secret_version.setter
|
873
|
+
def webhook_secret_secret_version(self, value: pulumi.Input[str]):
|
874
|
+
pulumi.set(self, "webhook_secret_secret_version", value)
|
875
|
+
|
876
|
+
@property
|
877
|
+
@pulumi.getter(name="serverVersion")
|
878
|
+
def server_version(self) -> Optional[pulumi.Input[str]]:
|
879
|
+
"""
|
880
|
+
(Output)
|
881
|
+
Output only. Version of the GitLab Enterprise server running on the `host_uri`.
|
882
|
+
"""
|
883
|
+
return pulumi.get(self, "server_version")
|
884
|
+
|
885
|
+
@server_version.setter
|
886
|
+
def server_version(self, value: Optional[pulumi.Input[str]]):
|
887
|
+
pulumi.set(self, "server_version", value)
|
888
|
+
|
889
|
+
@property
|
890
|
+
@pulumi.getter(name="serviceDirectoryConfig")
|
891
|
+
def service_directory_config(self) -> Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs']]:
|
892
|
+
"""
|
893
|
+
ServiceDirectoryConfig represents Service Directory configuration for a
|
894
|
+
connection.
|
895
|
+
Structure is documented below.
|
896
|
+
"""
|
897
|
+
return pulumi.get(self, "service_directory_config")
|
898
|
+
|
899
|
+
@service_directory_config.setter
|
900
|
+
def service_directory_config(self, value: Optional[pulumi.Input['ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs']]):
|
901
|
+
pulumi.set(self, "service_directory_config", value)
|
902
|
+
|
903
|
+
@property
|
904
|
+
@pulumi.getter(name="sslCaCertificate")
|
905
|
+
def ssl_ca_certificate(self) -> Optional[pulumi.Input[str]]:
|
906
|
+
"""
|
907
|
+
Optional. SSL Certificate Authority certificate to use for requests to GitLab
|
908
|
+
Enterprise instance.
|
909
|
+
"""
|
910
|
+
return pulumi.get(self, "ssl_ca_certificate")
|
911
|
+
|
912
|
+
@ssl_ca_certificate.setter
|
913
|
+
def ssl_ca_certificate(self, value: Optional[pulumi.Input[str]]):
|
914
|
+
pulumi.set(self, "ssl_ca_certificate", value)
|
915
|
+
|
916
|
+
|
917
|
+
if not MYPY:
|
918
|
+
class ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgsDict(TypedDict):
|
919
|
+
user_token_secret_version: pulumi.Input[str]
|
920
|
+
"""
|
921
|
+
Required. A SecretManager resource containing the user token that authorizes
|
922
|
+
the Developer Connect connection. Format:
|
923
|
+
`projects/*/secrets/*/versions/*`.
|
924
|
+
"""
|
925
|
+
username: NotRequired[pulumi.Input[str]]
|
926
|
+
"""
|
927
|
+
(Output)
|
928
|
+
Output only. The username associated with this token.
|
929
|
+
"""
|
930
|
+
elif False:
|
931
|
+
ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgsDict: TypeAlias = Mapping[str, Any]
|
932
|
+
|
933
|
+
@pulumi.input_type
|
934
|
+
class ConnectionGitlabEnterpriseConfigAuthorizerCredentialArgs:
|
935
|
+
def __init__(__self__, *,
|
936
|
+
user_token_secret_version: pulumi.Input[str],
|
937
|
+
username: Optional[pulumi.Input[str]] = None):
|
938
|
+
"""
|
939
|
+
:param pulumi.Input[str] user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
|
940
|
+
the Developer Connect connection. Format:
|
941
|
+
`projects/*/secrets/*/versions/*`.
|
942
|
+
:param pulumi.Input[str] username: (Output)
|
943
|
+
Output only. The username associated with this token.
|
944
|
+
"""
|
945
|
+
pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
|
946
|
+
if username is not None:
|
947
|
+
pulumi.set(__self__, "username", username)
|
948
|
+
|
949
|
+
@property
|
950
|
+
@pulumi.getter(name="userTokenSecretVersion")
|
951
|
+
def user_token_secret_version(self) -> pulumi.Input[str]:
|
952
|
+
"""
|
953
|
+
Required. A SecretManager resource containing the user token that authorizes
|
954
|
+
the Developer Connect connection. Format:
|
955
|
+
`projects/*/secrets/*/versions/*`.
|
956
|
+
"""
|
957
|
+
return pulumi.get(self, "user_token_secret_version")
|
958
|
+
|
959
|
+
@user_token_secret_version.setter
|
960
|
+
def user_token_secret_version(self, value: pulumi.Input[str]):
|
961
|
+
pulumi.set(self, "user_token_secret_version", value)
|
962
|
+
|
963
|
+
@property
|
964
|
+
@pulumi.getter
|
965
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
966
|
+
"""
|
967
|
+
(Output)
|
968
|
+
Output only. The username associated with this token.
|
969
|
+
"""
|
970
|
+
return pulumi.get(self, "username")
|
971
|
+
|
972
|
+
@username.setter
|
973
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
974
|
+
pulumi.set(self, "username", value)
|
975
|
+
|
976
|
+
|
977
|
+
if not MYPY:
|
978
|
+
class ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgsDict(TypedDict):
|
979
|
+
user_token_secret_version: pulumi.Input[str]
|
980
|
+
"""
|
981
|
+
Required. A SecretManager resource containing the user token that authorizes
|
982
|
+
the Developer Connect connection. Format:
|
983
|
+
`projects/*/secrets/*/versions/*`.
|
984
|
+
"""
|
985
|
+
username: NotRequired[pulumi.Input[str]]
|
986
|
+
"""
|
987
|
+
(Output)
|
988
|
+
Output only. The username associated with this token.
|
989
|
+
"""
|
990
|
+
elif False:
|
991
|
+
ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgsDict: TypeAlias = Mapping[str, Any]
|
992
|
+
|
993
|
+
@pulumi.input_type
|
994
|
+
class ConnectionGitlabEnterpriseConfigReadAuthorizerCredentialArgs:
|
995
|
+
def __init__(__self__, *,
|
996
|
+
user_token_secret_version: pulumi.Input[str],
|
997
|
+
username: Optional[pulumi.Input[str]] = None):
|
998
|
+
"""
|
999
|
+
:param pulumi.Input[str] user_token_secret_version: Required. A SecretManager resource containing the user token that authorizes
|
1000
|
+
the Developer Connect connection. Format:
|
1001
|
+
`projects/*/secrets/*/versions/*`.
|
1002
|
+
:param pulumi.Input[str] username: (Output)
|
1003
|
+
Output only. The username associated with this token.
|
1004
|
+
"""
|
1005
|
+
pulumi.set(__self__, "user_token_secret_version", user_token_secret_version)
|
1006
|
+
if username is not None:
|
1007
|
+
pulumi.set(__self__, "username", username)
|
1008
|
+
|
1009
|
+
@property
|
1010
|
+
@pulumi.getter(name="userTokenSecretVersion")
|
1011
|
+
def user_token_secret_version(self) -> pulumi.Input[str]:
|
1012
|
+
"""
|
1013
|
+
Required. A SecretManager resource containing the user token that authorizes
|
1014
|
+
the Developer Connect connection. Format:
|
1015
|
+
`projects/*/secrets/*/versions/*`.
|
1016
|
+
"""
|
1017
|
+
return pulumi.get(self, "user_token_secret_version")
|
1018
|
+
|
1019
|
+
@user_token_secret_version.setter
|
1020
|
+
def user_token_secret_version(self, value: pulumi.Input[str]):
|
1021
|
+
pulumi.set(self, "user_token_secret_version", value)
|
1022
|
+
|
1023
|
+
@property
|
1024
|
+
@pulumi.getter
|
1025
|
+
def username(self) -> Optional[pulumi.Input[str]]:
|
1026
|
+
"""
|
1027
|
+
(Output)
|
1028
|
+
Output only. The username associated with this token.
|
1029
|
+
"""
|
1030
|
+
return pulumi.get(self, "username")
|
1031
|
+
|
1032
|
+
@username.setter
|
1033
|
+
def username(self, value: Optional[pulumi.Input[str]]):
|
1034
|
+
pulumi.set(self, "username", value)
|
1035
|
+
|
1036
|
+
|
1037
|
+
if not MYPY:
|
1038
|
+
class ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgsDict(TypedDict):
|
1039
|
+
service: pulumi.Input[str]
|
1040
|
+
"""
|
1041
|
+
Required. The Service Directory service name.
|
1042
|
+
Format:
|
1043
|
+
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
|
1044
|
+
"""
|
1045
|
+
elif False:
|
1046
|
+
ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgsDict: TypeAlias = Mapping[str, Any]
|
1047
|
+
|
1048
|
+
@pulumi.input_type
|
1049
|
+
class ConnectionGitlabEnterpriseConfigServiceDirectoryConfigArgs:
|
1050
|
+
def __init__(__self__, *,
|
1051
|
+
service: pulumi.Input[str]):
|
1052
|
+
"""
|
1053
|
+
:param pulumi.Input[str] service: Required. The Service Directory service name.
|
1054
|
+
Format:
|
1055
|
+
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
|
1056
|
+
"""
|
1057
|
+
pulumi.set(__self__, "service", service)
|
1058
|
+
|
1059
|
+
@property
|
1060
|
+
@pulumi.getter
|
1061
|
+
def service(self) -> pulumi.Input[str]:
|
1062
|
+
"""
|
1063
|
+
Required. The Service Directory service name.
|
1064
|
+
Format:
|
1065
|
+
projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
|
1066
|
+
"""
|
1067
|
+
return pulumi.get(self, "service")
|
1068
|
+
|
1069
|
+
@service.setter
|
1070
|
+
def service(self, value: pulumi.Input[str]):
|
1071
|
+
pulumi.set(self, "service", value)
|
1072
|
+
|
1073
|
+
|
206
1074
|
if not MYPY:
|
207
1075
|
class ConnectionInstallationStateArgsDict(TypedDict):
|
208
1076
|
action_uri: NotRequired[pulumi.Input[str]]
|
209
1077
|
"""
|
210
|
-
Output only. Link to follow for next action. Empty string if the
|
211
|
-
|
1078
|
+
Output only. Link to follow for next action. Empty string if the installation is already
|
1079
|
+
complete.
|
212
1080
|
"""
|
213
1081
|
message: NotRequired[pulumi.Input[str]]
|
214
1082
|
"""
|
215
|
-
Output only. Message of what the user should do next to continue
|
216
|
-
|
1083
|
+
Output only. Message of what the user should do next to continue the installation.
|
1084
|
+
Empty string if the installation is already complete.
|
217
1085
|
"""
|
218
1086
|
stage: NotRequired[pulumi.Input[str]]
|
219
1087
|
"""
|
@@ -236,10 +1104,10 @@ class ConnectionInstallationStateArgs:
|
|
236
1104
|
message: Optional[pulumi.Input[str]] = None,
|
237
1105
|
stage: Optional[pulumi.Input[str]] = None):
|
238
1106
|
"""
|
239
|
-
:param pulumi.Input[str] action_uri: Output only. Link to follow for next action. Empty string if the
|
240
|
-
|
241
|
-
:param pulumi.Input[str] message: Output only. Message of what the user should do next to continue
|
242
|
-
|
1107
|
+
:param pulumi.Input[str] action_uri: Output only. Link to follow for next action. Empty string if the installation is already
|
1108
|
+
complete.
|
1109
|
+
:param pulumi.Input[str] message: Output only. Message of what the user should do next to continue the installation.
|
1110
|
+
Empty string if the installation is already complete.
|
243
1111
|
:param pulumi.Input[str] stage: (Output)
|
244
1112
|
Output only. Current step of the installation process.
|
245
1113
|
Possible values:
|
@@ -260,8 +1128,8 @@ class ConnectionInstallationStateArgs:
|
|
260
1128
|
@pulumi.getter(name="actionUri")
|
261
1129
|
def action_uri(self) -> Optional[pulumi.Input[str]]:
|
262
1130
|
"""
|
263
|
-
Output only. Link to follow for next action. Empty string if the
|
264
|
-
|
1131
|
+
Output only. Link to follow for next action. Empty string if the installation is already
|
1132
|
+
complete.
|
265
1133
|
"""
|
266
1134
|
return pulumi.get(self, "action_uri")
|
267
1135
|
|
@@ -273,8 +1141,8 @@ class ConnectionInstallationStateArgs:
|
|
273
1141
|
@pulumi.getter
|
274
1142
|
def message(self) -> Optional[pulumi.Input[str]]:
|
275
1143
|
"""
|
276
|
-
Output only. Message of what the user should do next to continue
|
277
|
-
|
1144
|
+
Output only. Message of what the user should do next to continue the installation.
|
1145
|
+
Empty string if the installation is already complete.
|
278
1146
|
"""
|
279
1147
|
return pulumi.get(self, "message")
|
280
1148
|
|