pulumi-gcp 7.21.0a1714543973__py3-none-any.whl → 7.21.0a1714596856__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 +40 -0
- pulumi_gcp/alloydb/_inputs.py +74 -0
- pulumi_gcp/alloydb/instance.py +90 -0
- pulumi_gcp/alloydb/outputs.py +98 -0
- pulumi_gcp/apigee/environment.py +47 -0
- pulumi_gcp/applicationintegration/__init__.py +1 -0
- pulumi_gcp/applicationintegration/_inputs.py +843 -0
- pulumi_gcp/applicationintegration/auth_config.py +998 -0
- pulumi_gcp/applicationintegration/outputs.py +891 -0
- pulumi_gcp/bigquerydatapolicy/_inputs.py +21 -4
- pulumi_gcp/bigquerydatapolicy/data_policy.py +78 -0
- pulumi_gcp/bigquerydatapolicy/outputs.py +16 -3
- pulumi_gcp/certificateauthority/_inputs.py +92 -12
- pulumi_gcp/certificateauthority/authority.py +110 -0
- pulumi_gcp/certificateauthority/certificate.py +176 -0
- pulumi_gcp/certificateauthority/outputs.py +144 -12
- pulumi_gcp/composer/__init__.py +1 -0
- pulumi_gcp/composer/user_workloads_secret.py +441 -0
- pulumi_gcp/compute/__init__.py +1 -0
- pulumi_gcp/compute/_inputs.py +121 -58
- pulumi_gcp/compute/global_forwarding_rule.py +0 -282
- pulumi_gcp/compute/outputs.py +120 -57
- pulumi_gcp/compute/region_target_https_proxy.py +257 -0
- pulumi_gcp/compute/region_url_map.py +0 -470
- pulumi_gcp/compute/security_policy_rule.py +850 -0
- pulumi_gcp/dataloss/__init__.py +1 -0
- pulumi_gcp/dataloss/_inputs.py +1040 -0
- pulumi_gcp/dataloss/outputs.py +1123 -0
- pulumi_gcp/dataloss/prevention_discovery_config.py +737 -0
- pulumi_gcp/dns/_inputs.py +2 -2
- pulumi_gcp/dns/outputs.py +2 -2
- pulumi_gcp/dns/record_set.py +2 -2
- pulumi_gcp/filestore/get_instance.py +11 -1
- pulumi_gcp/filestore/instance.py +101 -0
- pulumi_gcp/firebase/_inputs.py +16 -0
- pulumi_gcp/firebase/app_check_play_integrity_config.py +20 -0
- pulumi_gcp/firebase/app_check_recaptcha_enterprise_config.py +10 -0
- pulumi_gcp/firebase/hosting_version.py +44 -0
- pulumi_gcp/firebase/outputs.py +12 -0
- pulumi_gcp/logging/folder_sink.py +54 -0
- pulumi_gcp/logging/organization_sink.py +54 -0
- pulumi_gcp/monitoring/_inputs.py +46 -2
- pulumi_gcp/monitoring/outputs.py +40 -2
- pulumi_gcp/monitoring/uptime_check_config.py +6 -0
- pulumi_gcp/networkconnectivity/__init__.py +1 -0
- pulumi_gcp/networkconnectivity/internal_range.py +1024 -0
- pulumi_gcp/secretmanager/get_secret.py +13 -3
- pulumi_gcp/secretmanager/outputs.py +20 -1
- pulumi_gcp/secretmanager/secret.py +90 -3
- pulumi_gcp/storage/__init__.py +1 -0
- pulumi_gcp/storage/get_bucket_objects.py +153 -0
- pulumi_gcp/storage/outputs.py +63 -0
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/METADATA +1 -1
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/RECORD +56 -50
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/WHEEL +0 -0
- {pulumi_gcp-7.21.0a1714543973.dist-info → pulumi_gcp-7.21.0a1714596856.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,998 @@
|
|
1
|
+
# coding=utf-8
|
2
|
+
# *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
|
3
|
+
# *** Do not edit by hand unless you're certain you know what you are doing! ***
|
4
|
+
|
5
|
+
import copy
|
6
|
+
import warnings
|
7
|
+
import pulumi
|
8
|
+
import pulumi.runtime
|
9
|
+
from typing import Any, Mapping, Optional, Sequence, Union, overload
|
10
|
+
from .. import _utilities
|
11
|
+
from . import outputs
|
12
|
+
from ._inputs import *
|
13
|
+
|
14
|
+
__all__ = ['AuthConfigArgs', 'AuthConfig']
|
15
|
+
|
16
|
+
@pulumi.input_type
|
17
|
+
class AuthConfigArgs:
|
18
|
+
def __init__(__self__, *,
|
19
|
+
display_name: pulumi.Input[str],
|
20
|
+
location: pulumi.Input[str],
|
21
|
+
client_certificate: Optional[pulumi.Input['AuthConfigClientCertificateArgs']] = None,
|
22
|
+
decrypted_credential: Optional[pulumi.Input['AuthConfigDecryptedCredentialArgs']] = None,
|
23
|
+
description: Optional[pulumi.Input[str]] = None,
|
24
|
+
expiry_notification_durations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
25
|
+
override_valid_time: Optional[pulumi.Input[str]] = None,
|
26
|
+
project: Optional[pulumi.Input[str]] = None,
|
27
|
+
visibility: Optional[pulumi.Input[str]] = None):
|
28
|
+
"""
|
29
|
+
The set of arguments for constructing a AuthConfig resource.
|
30
|
+
:param pulumi.Input[str] display_name: The name of the auth config.
|
31
|
+
:param pulumi.Input[str] location: Location in which client needs to be provisioned.
|
32
|
+
|
33
|
+
|
34
|
+
- - -
|
35
|
+
:param pulumi.Input['AuthConfigClientCertificateArgs'] client_certificate: Raw client certificate
|
36
|
+
Structure is documented below.
|
37
|
+
:param pulumi.Input['AuthConfigDecryptedCredentialArgs'] decrypted_credential: Raw auth credentials.
|
38
|
+
Structure is documented below.
|
39
|
+
:param pulumi.Input[str] description: A description of the auth config.
|
40
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] expiry_notification_durations: User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
41
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
42
|
+
:param pulumi.Input[str] override_valid_time: User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
43
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
44
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
45
|
+
If it is not provided, the provider project is used.
|
46
|
+
:param pulumi.Input[str] visibility: The visibility of the auth config.
|
47
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
48
|
+
"""
|
49
|
+
pulumi.set(__self__, "display_name", display_name)
|
50
|
+
pulumi.set(__self__, "location", location)
|
51
|
+
if client_certificate is not None:
|
52
|
+
pulumi.set(__self__, "client_certificate", client_certificate)
|
53
|
+
if decrypted_credential is not None:
|
54
|
+
pulumi.set(__self__, "decrypted_credential", decrypted_credential)
|
55
|
+
if description is not None:
|
56
|
+
pulumi.set(__self__, "description", description)
|
57
|
+
if expiry_notification_durations is not None:
|
58
|
+
pulumi.set(__self__, "expiry_notification_durations", expiry_notification_durations)
|
59
|
+
if override_valid_time is not None:
|
60
|
+
pulumi.set(__self__, "override_valid_time", override_valid_time)
|
61
|
+
if project is not None:
|
62
|
+
pulumi.set(__self__, "project", project)
|
63
|
+
if visibility is not None:
|
64
|
+
pulumi.set(__self__, "visibility", visibility)
|
65
|
+
|
66
|
+
@property
|
67
|
+
@pulumi.getter(name="displayName")
|
68
|
+
def display_name(self) -> pulumi.Input[str]:
|
69
|
+
"""
|
70
|
+
The name of the auth config.
|
71
|
+
"""
|
72
|
+
return pulumi.get(self, "display_name")
|
73
|
+
|
74
|
+
@display_name.setter
|
75
|
+
def display_name(self, value: pulumi.Input[str]):
|
76
|
+
pulumi.set(self, "display_name", value)
|
77
|
+
|
78
|
+
@property
|
79
|
+
@pulumi.getter
|
80
|
+
def location(self) -> pulumi.Input[str]:
|
81
|
+
"""
|
82
|
+
Location in which client needs to be provisioned.
|
83
|
+
|
84
|
+
|
85
|
+
- - -
|
86
|
+
"""
|
87
|
+
return pulumi.get(self, "location")
|
88
|
+
|
89
|
+
@location.setter
|
90
|
+
def location(self, value: pulumi.Input[str]):
|
91
|
+
pulumi.set(self, "location", value)
|
92
|
+
|
93
|
+
@property
|
94
|
+
@pulumi.getter(name="clientCertificate")
|
95
|
+
def client_certificate(self) -> Optional[pulumi.Input['AuthConfigClientCertificateArgs']]:
|
96
|
+
"""
|
97
|
+
Raw client certificate
|
98
|
+
Structure is documented below.
|
99
|
+
"""
|
100
|
+
return pulumi.get(self, "client_certificate")
|
101
|
+
|
102
|
+
@client_certificate.setter
|
103
|
+
def client_certificate(self, value: Optional[pulumi.Input['AuthConfigClientCertificateArgs']]):
|
104
|
+
pulumi.set(self, "client_certificate", value)
|
105
|
+
|
106
|
+
@property
|
107
|
+
@pulumi.getter(name="decryptedCredential")
|
108
|
+
def decrypted_credential(self) -> Optional[pulumi.Input['AuthConfigDecryptedCredentialArgs']]:
|
109
|
+
"""
|
110
|
+
Raw auth credentials.
|
111
|
+
Structure is documented below.
|
112
|
+
"""
|
113
|
+
return pulumi.get(self, "decrypted_credential")
|
114
|
+
|
115
|
+
@decrypted_credential.setter
|
116
|
+
def decrypted_credential(self, value: Optional[pulumi.Input['AuthConfigDecryptedCredentialArgs']]):
|
117
|
+
pulumi.set(self, "decrypted_credential", value)
|
118
|
+
|
119
|
+
@property
|
120
|
+
@pulumi.getter
|
121
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
122
|
+
"""
|
123
|
+
A description of the auth config.
|
124
|
+
"""
|
125
|
+
return pulumi.get(self, "description")
|
126
|
+
|
127
|
+
@description.setter
|
128
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
129
|
+
pulumi.set(self, "description", value)
|
130
|
+
|
131
|
+
@property
|
132
|
+
@pulumi.getter(name="expiryNotificationDurations")
|
133
|
+
def expiry_notification_durations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
134
|
+
"""
|
135
|
+
User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
136
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
137
|
+
"""
|
138
|
+
return pulumi.get(self, "expiry_notification_durations")
|
139
|
+
|
140
|
+
@expiry_notification_durations.setter
|
141
|
+
def expiry_notification_durations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
142
|
+
pulumi.set(self, "expiry_notification_durations", value)
|
143
|
+
|
144
|
+
@property
|
145
|
+
@pulumi.getter(name="overrideValidTime")
|
146
|
+
def override_valid_time(self) -> Optional[pulumi.Input[str]]:
|
147
|
+
"""
|
148
|
+
User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
149
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
150
|
+
"""
|
151
|
+
return pulumi.get(self, "override_valid_time")
|
152
|
+
|
153
|
+
@override_valid_time.setter
|
154
|
+
def override_valid_time(self, value: Optional[pulumi.Input[str]]):
|
155
|
+
pulumi.set(self, "override_valid_time", value)
|
156
|
+
|
157
|
+
@property
|
158
|
+
@pulumi.getter
|
159
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
160
|
+
"""
|
161
|
+
The ID of the project in which the resource belongs.
|
162
|
+
If it is not provided, the provider project is used.
|
163
|
+
"""
|
164
|
+
return pulumi.get(self, "project")
|
165
|
+
|
166
|
+
@project.setter
|
167
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
168
|
+
pulumi.set(self, "project", value)
|
169
|
+
|
170
|
+
@property
|
171
|
+
@pulumi.getter
|
172
|
+
def visibility(self) -> Optional[pulumi.Input[str]]:
|
173
|
+
"""
|
174
|
+
The visibility of the auth config.
|
175
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
176
|
+
"""
|
177
|
+
return pulumi.get(self, "visibility")
|
178
|
+
|
179
|
+
@visibility.setter
|
180
|
+
def visibility(self, value: Optional[pulumi.Input[str]]):
|
181
|
+
pulumi.set(self, "visibility", value)
|
182
|
+
|
183
|
+
|
184
|
+
@pulumi.input_type
|
185
|
+
class _AuthConfigState:
|
186
|
+
def __init__(__self__, *,
|
187
|
+
certificate_id: Optional[pulumi.Input[str]] = None,
|
188
|
+
client_certificate: Optional[pulumi.Input['AuthConfigClientCertificateArgs']] = None,
|
189
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
190
|
+
creator_email: Optional[pulumi.Input[str]] = None,
|
191
|
+
credential_type: Optional[pulumi.Input[str]] = None,
|
192
|
+
decrypted_credential: Optional[pulumi.Input['AuthConfigDecryptedCredentialArgs']] = None,
|
193
|
+
description: Optional[pulumi.Input[str]] = None,
|
194
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
195
|
+
encrypted_credential: Optional[pulumi.Input[str]] = None,
|
196
|
+
expiry_notification_durations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
197
|
+
last_modifier_email: Optional[pulumi.Input[str]] = None,
|
198
|
+
location: Optional[pulumi.Input[str]] = None,
|
199
|
+
name: Optional[pulumi.Input[str]] = None,
|
200
|
+
override_valid_time: Optional[pulumi.Input[str]] = None,
|
201
|
+
project: Optional[pulumi.Input[str]] = None,
|
202
|
+
reason: Optional[pulumi.Input[str]] = None,
|
203
|
+
state: Optional[pulumi.Input[str]] = None,
|
204
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
205
|
+
valid_time: Optional[pulumi.Input[str]] = None,
|
206
|
+
visibility: Optional[pulumi.Input[str]] = None):
|
207
|
+
"""
|
208
|
+
Input properties used for looking up and filtering AuthConfig resources.
|
209
|
+
:param pulumi.Input[str] certificate_id: Certificate id for client certificate.
|
210
|
+
:param pulumi.Input['AuthConfigClientCertificateArgs'] client_certificate: Raw client certificate
|
211
|
+
Structure is documented below.
|
212
|
+
:param pulumi.Input[str] create_time: The timestamp when the auth config is created.
|
213
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
214
|
+
:param pulumi.Input[str] creator_email: The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
215
|
+
:param pulumi.Input[str] credential_type: Credential type of the encrypted credential.
|
216
|
+
:param pulumi.Input['AuthConfigDecryptedCredentialArgs'] decrypted_credential: Raw auth credentials.
|
217
|
+
Structure is documented below.
|
218
|
+
:param pulumi.Input[str] description: A description of the auth config.
|
219
|
+
:param pulumi.Input[str] display_name: The name of the auth config.
|
220
|
+
:param pulumi.Input[str] encrypted_credential: Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.
|
221
|
+
A base64-encoded string.
|
222
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] expiry_notification_durations: User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
223
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
224
|
+
:param pulumi.Input[str] last_modifier_email: The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
225
|
+
:param pulumi.Input[str] location: Location in which client needs to be provisioned.
|
226
|
+
|
227
|
+
|
228
|
+
- - -
|
229
|
+
:param pulumi.Input[str] name: Resource name of the auth config.
|
230
|
+
:param pulumi.Input[str] override_valid_time: User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
231
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
232
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
233
|
+
If it is not provided, the provider project is used.
|
234
|
+
:param pulumi.Input[str] reason: The reason / details of the current status.
|
235
|
+
:param pulumi.Input[str] state: The status of the auth config.
|
236
|
+
:param pulumi.Input[str] update_time: The timestamp when the auth config is modified.
|
237
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
238
|
+
:param pulumi.Input[str] valid_time: The time until the auth config is valid. Empty or max value is considered the auth config won't expire.
|
239
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
240
|
+
:param pulumi.Input[str] visibility: The visibility of the auth config.
|
241
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
242
|
+
"""
|
243
|
+
if certificate_id is not None:
|
244
|
+
pulumi.set(__self__, "certificate_id", certificate_id)
|
245
|
+
if client_certificate is not None:
|
246
|
+
pulumi.set(__self__, "client_certificate", client_certificate)
|
247
|
+
if create_time is not None:
|
248
|
+
pulumi.set(__self__, "create_time", create_time)
|
249
|
+
if creator_email is not None:
|
250
|
+
pulumi.set(__self__, "creator_email", creator_email)
|
251
|
+
if credential_type is not None:
|
252
|
+
pulumi.set(__self__, "credential_type", credential_type)
|
253
|
+
if decrypted_credential is not None:
|
254
|
+
pulumi.set(__self__, "decrypted_credential", decrypted_credential)
|
255
|
+
if description is not None:
|
256
|
+
pulumi.set(__self__, "description", description)
|
257
|
+
if display_name is not None:
|
258
|
+
pulumi.set(__self__, "display_name", display_name)
|
259
|
+
if encrypted_credential is not None:
|
260
|
+
pulumi.set(__self__, "encrypted_credential", encrypted_credential)
|
261
|
+
if expiry_notification_durations is not None:
|
262
|
+
pulumi.set(__self__, "expiry_notification_durations", expiry_notification_durations)
|
263
|
+
if last_modifier_email is not None:
|
264
|
+
pulumi.set(__self__, "last_modifier_email", last_modifier_email)
|
265
|
+
if location is not None:
|
266
|
+
pulumi.set(__self__, "location", location)
|
267
|
+
if name is not None:
|
268
|
+
pulumi.set(__self__, "name", name)
|
269
|
+
if override_valid_time is not None:
|
270
|
+
pulumi.set(__self__, "override_valid_time", override_valid_time)
|
271
|
+
if project is not None:
|
272
|
+
pulumi.set(__self__, "project", project)
|
273
|
+
if reason is not None:
|
274
|
+
pulumi.set(__self__, "reason", reason)
|
275
|
+
if state is not None:
|
276
|
+
pulumi.set(__self__, "state", state)
|
277
|
+
if update_time is not None:
|
278
|
+
pulumi.set(__self__, "update_time", update_time)
|
279
|
+
if valid_time is not None:
|
280
|
+
pulumi.set(__self__, "valid_time", valid_time)
|
281
|
+
if visibility is not None:
|
282
|
+
pulumi.set(__self__, "visibility", visibility)
|
283
|
+
|
284
|
+
@property
|
285
|
+
@pulumi.getter(name="certificateId")
|
286
|
+
def certificate_id(self) -> Optional[pulumi.Input[str]]:
|
287
|
+
"""
|
288
|
+
Certificate id for client certificate.
|
289
|
+
"""
|
290
|
+
return pulumi.get(self, "certificate_id")
|
291
|
+
|
292
|
+
@certificate_id.setter
|
293
|
+
def certificate_id(self, value: Optional[pulumi.Input[str]]):
|
294
|
+
pulumi.set(self, "certificate_id", value)
|
295
|
+
|
296
|
+
@property
|
297
|
+
@pulumi.getter(name="clientCertificate")
|
298
|
+
def client_certificate(self) -> Optional[pulumi.Input['AuthConfigClientCertificateArgs']]:
|
299
|
+
"""
|
300
|
+
Raw client certificate
|
301
|
+
Structure is documented below.
|
302
|
+
"""
|
303
|
+
return pulumi.get(self, "client_certificate")
|
304
|
+
|
305
|
+
@client_certificate.setter
|
306
|
+
def client_certificate(self, value: Optional[pulumi.Input['AuthConfigClientCertificateArgs']]):
|
307
|
+
pulumi.set(self, "client_certificate", value)
|
308
|
+
|
309
|
+
@property
|
310
|
+
@pulumi.getter(name="createTime")
|
311
|
+
def create_time(self) -> Optional[pulumi.Input[str]]:
|
312
|
+
"""
|
313
|
+
The timestamp when the auth config is created.
|
314
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
315
|
+
"""
|
316
|
+
return pulumi.get(self, "create_time")
|
317
|
+
|
318
|
+
@create_time.setter
|
319
|
+
def create_time(self, value: Optional[pulumi.Input[str]]):
|
320
|
+
pulumi.set(self, "create_time", value)
|
321
|
+
|
322
|
+
@property
|
323
|
+
@pulumi.getter(name="creatorEmail")
|
324
|
+
def creator_email(self) -> Optional[pulumi.Input[str]]:
|
325
|
+
"""
|
326
|
+
The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
327
|
+
"""
|
328
|
+
return pulumi.get(self, "creator_email")
|
329
|
+
|
330
|
+
@creator_email.setter
|
331
|
+
def creator_email(self, value: Optional[pulumi.Input[str]]):
|
332
|
+
pulumi.set(self, "creator_email", value)
|
333
|
+
|
334
|
+
@property
|
335
|
+
@pulumi.getter(name="credentialType")
|
336
|
+
def credential_type(self) -> Optional[pulumi.Input[str]]:
|
337
|
+
"""
|
338
|
+
Credential type of the encrypted credential.
|
339
|
+
"""
|
340
|
+
return pulumi.get(self, "credential_type")
|
341
|
+
|
342
|
+
@credential_type.setter
|
343
|
+
def credential_type(self, value: Optional[pulumi.Input[str]]):
|
344
|
+
pulumi.set(self, "credential_type", value)
|
345
|
+
|
346
|
+
@property
|
347
|
+
@pulumi.getter(name="decryptedCredential")
|
348
|
+
def decrypted_credential(self) -> Optional[pulumi.Input['AuthConfigDecryptedCredentialArgs']]:
|
349
|
+
"""
|
350
|
+
Raw auth credentials.
|
351
|
+
Structure is documented below.
|
352
|
+
"""
|
353
|
+
return pulumi.get(self, "decrypted_credential")
|
354
|
+
|
355
|
+
@decrypted_credential.setter
|
356
|
+
def decrypted_credential(self, value: Optional[pulumi.Input['AuthConfigDecryptedCredentialArgs']]):
|
357
|
+
pulumi.set(self, "decrypted_credential", value)
|
358
|
+
|
359
|
+
@property
|
360
|
+
@pulumi.getter
|
361
|
+
def description(self) -> Optional[pulumi.Input[str]]:
|
362
|
+
"""
|
363
|
+
A description of the auth config.
|
364
|
+
"""
|
365
|
+
return pulumi.get(self, "description")
|
366
|
+
|
367
|
+
@description.setter
|
368
|
+
def description(self, value: Optional[pulumi.Input[str]]):
|
369
|
+
pulumi.set(self, "description", value)
|
370
|
+
|
371
|
+
@property
|
372
|
+
@pulumi.getter(name="displayName")
|
373
|
+
def display_name(self) -> Optional[pulumi.Input[str]]:
|
374
|
+
"""
|
375
|
+
The name of the auth config.
|
376
|
+
"""
|
377
|
+
return pulumi.get(self, "display_name")
|
378
|
+
|
379
|
+
@display_name.setter
|
380
|
+
def display_name(self, value: Optional[pulumi.Input[str]]):
|
381
|
+
pulumi.set(self, "display_name", value)
|
382
|
+
|
383
|
+
@property
|
384
|
+
@pulumi.getter(name="encryptedCredential")
|
385
|
+
def encrypted_credential(self) -> Optional[pulumi.Input[str]]:
|
386
|
+
"""
|
387
|
+
Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.
|
388
|
+
A base64-encoded string.
|
389
|
+
"""
|
390
|
+
return pulumi.get(self, "encrypted_credential")
|
391
|
+
|
392
|
+
@encrypted_credential.setter
|
393
|
+
def encrypted_credential(self, value: Optional[pulumi.Input[str]]):
|
394
|
+
pulumi.set(self, "encrypted_credential", value)
|
395
|
+
|
396
|
+
@property
|
397
|
+
@pulumi.getter(name="expiryNotificationDurations")
|
398
|
+
def expiry_notification_durations(self) -> Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]:
|
399
|
+
"""
|
400
|
+
User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
401
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
402
|
+
"""
|
403
|
+
return pulumi.get(self, "expiry_notification_durations")
|
404
|
+
|
405
|
+
@expiry_notification_durations.setter
|
406
|
+
def expiry_notification_durations(self, value: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]]):
|
407
|
+
pulumi.set(self, "expiry_notification_durations", value)
|
408
|
+
|
409
|
+
@property
|
410
|
+
@pulumi.getter(name="lastModifierEmail")
|
411
|
+
def last_modifier_email(self) -> Optional[pulumi.Input[str]]:
|
412
|
+
"""
|
413
|
+
The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
414
|
+
"""
|
415
|
+
return pulumi.get(self, "last_modifier_email")
|
416
|
+
|
417
|
+
@last_modifier_email.setter
|
418
|
+
def last_modifier_email(self, value: Optional[pulumi.Input[str]]):
|
419
|
+
pulumi.set(self, "last_modifier_email", value)
|
420
|
+
|
421
|
+
@property
|
422
|
+
@pulumi.getter
|
423
|
+
def location(self) -> Optional[pulumi.Input[str]]:
|
424
|
+
"""
|
425
|
+
Location in which client needs to be provisioned.
|
426
|
+
|
427
|
+
|
428
|
+
- - -
|
429
|
+
"""
|
430
|
+
return pulumi.get(self, "location")
|
431
|
+
|
432
|
+
@location.setter
|
433
|
+
def location(self, value: Optional[pulumi.Input[str]]):
|
434
|
+
pulumi.set(self, "location", value)
|
435
|
+
|
436
|
+
@property
|
437
|
+
@pulumi.getter
|
438
|
+
def name(self) -> Optional[pulumi.Input[str]]:
|
439
|
+
"""
|
440
|
+
Resource name of the auth config.
|
441
|
+
"""
|
442
|
+
return pulumi.get(self, "name")
|
443
|
+
|
444
|
+
@name.setter
|
445
|
+
def name(self, value: Optional[pulumi.Input[str]]):
|
446
|
+
pulumi.set(self, "name", value)
|
447
|
+
|
448
|
+
@property
|
449
|
+
@pulumi.getter(name="overrideValidTime")
|
450
|
+
def override_valid_time(self) -> Optional[pulumi.Input[str]]:
|
451
|
+
"""
|
452
|
+
User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
453
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
454
|
+
"""
|
455
|
+
return pulumi.get(self, "override_valid_time")
|
456
|
+
|
457
|
+
@override_valid_time.setter
|
458
|
+
def override_valid_time(self, value: Optional[pulumi.Input[str]]):
|
459
|
+
pulumi.set(self, "override_valid_time", value)
|
460
|
+
|
461
|
+
@property
|
462
|
+
@pulumi.getter
|
463
|
+
def project(self) -> Optional[pulumi.Input[str]]:
|
464
|
+
"""
|
465
|
+
The ID of the project in which the resource belongs.
|
466
|
+
If it is not provided, the provider project is used.
|
467
|
+
"""
|
468
|
+
return pulumi.get(self, "project")
|
469
|
+
|
470
|
+
@project.setter
|
471
|
+
def project(self, value: Optional[pulumi.Input[str]]):
|
472
|
+
pulumi.set(self, "project", value)
|
473
|
+
|
474
|
+
@property
|
475
|
+
@pulumi.getter
|
476
|
+
def reason(self) -> Optional[pulumi.Input[str]]:
|
477
|
+
"""
|
478
|
+
The reason / details of the current status.
|
479
|
+
"""
|
480
|
+
return pulumi.get(self, "reason")
|
481
|
+
|
482
|
+
@reason.setter
|
483
|
+
def reason(self, value: Optional[pulumi.Input[str]]):
|
484
|
+
pulumi.set(self, "reason", value)
|
485
|
+
|
486
|
+
@property
|
487
|
+
@pulumi.getter
|
488
|
+
def state(self) -> Optional[pulumi.Input[str]]:
|
489
|
+
"""
|
490
|
+
The status of the auth config.
|
491
|
+
"""
|
492
|
+
return pulumi.get(self, "state")
|
493
|
+
|
494
|
+
@state.setter
|
495
|
+
def state(self, value: Optional[pulumi.Input[str]]):
|
496
|
+
pulumi.set(self, "state", value)
|
497
|
+
|
498
|
+
@property
|
499
|
+
@pulumi.getter(name="updateTime")
|
500
|
+
def update_time(self) -> Optional[pulumi.Input[str]]:
|
501
|
+
"""
|
502
|
+
The timestamp when the auth config is modified.
|
503
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
504
|
+
"""
|
505
|
+
return pulumi.get(self, "update_time")
|
506
|
+
|
507
|
+
@update_time.setter
|
508
|
+
def update_time(self, value: Optional[pulumi.Input[str]]):
|
509
|
+
pulumi.set(self, "update_time", value)
|
510
|
+
|
511
|
+
@property
|
512
|
+
@pulumi.getter(name="validTime")
|
513
|
+
def valid_time(self) -> Optional[pulumi.Input[str]]:
|
514
|
+
"""
|
515
|
+
The time until the auth config is valid. Empty or max value is considered the auth config won't expire.
|
516
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
517
|
+
"""
|
518
|
+
return pulumi.get(self, "valid_time")
|
519
|
+
|
520
|
+
@valid_time.setter
|
521
|
+
def valid_time(self, value: Optional[pulumi.Input[str]]):
|
522
|
+
pulumi.set(self, "valid_time", value)
|
523
|
+
|
524
|
+
@property
|
525
|
+
@pulumi.getter
|
526
|
+
def visibility(self) -> Optional[pulumi.Input[str]]:
|
527
|
+
"""
|
528
|
+
The visibility of the auth config.
|
529
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
530
|
+
"""
|
531
|
+
return pulumi.get(self, "visibility")
|
532
|
+
|
533
|
+
@visibility.setter
|
534
|
+
def visibility(self, value: Optional[pulumi.Input[str]]):
|
535
|
+
pulumi.set(self, "visibility", value)
|
536
|
+
|
537
|
+
|
538
|
+
class AuthConfig(pulumi.CustomResource):
|
539
|
+
@overload
|
540
|
+
def __init__(__self__,
|
541
|
+
resource_name: str,
|
542
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
543
|
+
client_certificate: Optional[pulumi.Input[pulumi.InputType['AuthConfigClientCertificateArgs']]] = None,
|
544
|
+
decrypted_credential: Optional[pulumi.Input[pulumi.InputType['AuthConfigDecryptedCredentialArgs']]] = None,
|
545
|
+
description: Optional[pulumi.Input[str]] = None,
|
546
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
547
|
+
expiry_notification_durations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
548
|
+
location: Optional[pulumi.Input[str]] = None,
|
549
|
+
override_valid_time: Optional[pulumi.Input[str]] = None,
|
550
|
+
project: Optional[pulumi.Input[str]] = None,
|
551
|
+
visibility: Optional[pulumi.Input[str]] = None,
|
552
|
+
__props__=None):
|
553
|
+
"""
|
554
|
+
The AuthConfig resource use to hold channels and connection config data.
|
555
|
+
|
556
|
+
To get more information about AuthConfig, see:
|
557
|
+
|
558
|
+
* [API documentation](https://cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs)
|
559
|
+
* How-to Guides
|
560
|
+
* [Official Documentation](https://cloud.google.com/application-integration/docs/overview)
|
561
|
+
* [Manage authentication profiles](https://cloud.google.com/application-integration/docs/configure-authentication-profiles)
|
562
|
+
|
563
|
+
## Example Usage
|
564
|
+
|
565
|
+
### Integrations Auth Config Basic
|
566
|
+
|
567
|
+
```python
|
568
|
+
import pulumi
|
569
|
+
import pulumi_gcp as gcp
|
570
|
+
|
571
|
+
client = gcp.applicationintegration.Client("client",
|
572
|
+
location="us-west1",
|
573
|
+
provision_gmek=True)
|
574
|
+
basic_example = gcp.applicationintegration.AuthConfig("basic_example",
|
575
|
+
location="us-west1",
|
576
|
+
display_name="test-authconfig",
|
577
|
+
description="Test auth config created via terraform",
|
578
|
+
decrypted_credential=gcp.applicationintegration.AuthConfigDecryptedCredentialArgs(
|
579
|
+
credential_type="USERNAME_AND_PASSWORD",
|
580
|
+
username_and_password=gcp.applicationintegration.AuthConfigDecryptedCredentialUsernameAndPasswordArgs(
|
581
|
+
username="test-username",
|
582
|
+
password="test-password",
|
583
|
+
),
|
584
|
+
))
|
585
|
+
```
|
586
|
+
|
587
|
+
## Import
|
588
|
+
|
589
|
+
AuthConfig can be imported using any of these accepted formats:
|
590
|
+
|
591
|
+
* `{{name}}`
|
592
|
+
|
593
|
+
When using the `pulumi import` command, AuthConfig can be imported using one of the formats above. For example:
|
594
|
+
|
595
|
+
```sh
|
596
|
+
$ pulumi import gcp:applicationintegration/authConfig:AuthConfig default {{name}}
|
597
|
+
```
|
598
|
+
|
599
|
+
:param str resource_name: The name of the resource.
|
600
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
601
|
+
:param pulumi.Input[pulumi.InputType['AuthConfigClientCertificateArgs']] client_certificate: Raw client certificate
|
602
|
+
Structure is documented below.
|
603
|
+
:param pulumi.Input[pulumi.InputType['AuthConfigDecryptedCredentialArgs']] decrypted_credential: Raw auth credentials.
|
604
|
+
Structure is documented below.
|
605
|
+
:param pulumi.Input[str] description: A description of the auth config.
|
606
|
+
:param pulumi.Input[str] display_name: The name of the auth config.
|
607
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] expiry_notification_durations: User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
608
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
609
|
+
:param pulumi.Input[str] location: Location in which client needs to be provisioned.
|
610
|
+
|
611
|
+
|
612
|
+
- - -
|
613
|
+
:param pulumi.Input[str] override_valid_time: User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
614
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
615
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
616
|
+
If it is not provided, the provider project is used.
|
617
|
+
:param pulumi.Input[str] visibility: The visibility of the auth config.
|
618
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
619
|
+
"""
|
620
|
+
...
|
621
|
+
@overload
|
622
|
+
def __init__(__self__,
|
623
|
+
resource_name: str,
|
624
|
+
args: AuthConfigArgs,
|
625
|
+
opts: Optional[pulumi.ResourceOptions] = None):
|
626
|
+
"""
|
627
|
+
The AuthConfig resource use to hold channels and connection config data.
|
628
|
+
|
629
|
+
To get more information about AuthConfig, see:
|
630
|
+
|
631
|
+
* [API documentation](https://cloud.google.com/application-integration/docs/reference/rest/v1/projects.locations.authConfigs)
|
632
|
+
* How-to Guides
|
633
|
+
* [Official Documentation](https://cloud.google.com/application-integration/docs/overview)
|
634
|
+
* [Manage authentication profiles](https://cloud.google.com/application-integration/docs/configure-authentication-profiles)
|
635
|
+
|
636
|
+
## Example Usage
|
637
|
+
|
638
|
+
### Integrations Auth Config Basic
|
639
|
+
|
640
|
+
```python
|
641
|
+
import pulumi
|
642
|
+
import pulumi_gcp as gcp
|
643
|
+
|
644
|
+
client = gcp.applicationintegration.Client("client",
|
645
|
+
location="us-west1",
|
646
|
+
provision_gmek=True)
|
647
|
+
basic_example = gcp.applicationintegration.AuthConfig("basic_example",
|
648
|
+
location="us-west1",
|
649
|
+
display_name="test-authconfig",
|
650
|
+
description="Test auth config created via terraform",
|
651
|
+
decrypted_credential=gcp.applicationintegration.AuthConfigDecryptedCredentialArgs(
|
652
|
+
credential_type="USERNAME_AND_PASSWORD",
|
653
|
+
username_and_password=gcp.applicationintegration.AuthConfigDecryptedCredentialUsernameAndPasswordArgs(
|
654
|
+
username="test-username",
|
655
|
+
password="test-password",
|
656
|
+
),
|
657
|
+
))
|
658
|
+
```
|
659
|
+
|
660
|
+
## Import
|
661
|
+
|
662
|
+
AuthConfig can be imported using any of these accepted formats:
|
663
|
+
|
664
|
+
* `{{name}}`
|
665
|
+
|
666
|
+
When using the `pulumi import` command, AuthConfig can be imported using one of the formats above. For example:
|
667
|
+
|
668
|
+
```sh
|
669
|
+
$ pulumi import gcp:applicationintegration/authConfig:AuthConfig default {{name}}
|
670
|
+
```
|
671
|
+
|
672
|
+
:param str resource_name: The name of the resource.
|
673
|
+
:param AuthConfigArgs args: The arguments to use to populate this resource's properties.
|
674
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
675
|
+
"""
|
676
|
+
...
|
677
|
+
def __init__(__self__, resource_name: str, *args, **kwargs):
|
678
|
+
resource_args, opts = _utilities.get_resource_args_opts(AuthConfigArgs, pulumi.ResourceOptions, *args, **kwargs)
|
679
|
+
if resource_args is not None:
|
680
|
+
__self__._internal_init(resource_name, opts, **resource_args.__dict__)
|
681
|
+
else:
|
682
|
+
__self__._internal_init(resource_name, *args, **kwargs)
|
683
|
+
|
684
|
+
def _internal_init(__self__,
|
685
|
+
resource_name: str,
|
686
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
687
|
+
client_certificate: Optional[pulumi.Input[pulumi.InputType['AuthConfigClientCertificateArgs']]] = None,
|
688
|
+
decrypted_credential: Optional[pulumi.Input[pulumi.InputType['AuthConfigDecryptedCredentialArgs']]] = None,
|
689
|
+
description: Optional[pulumi.Input[str]] = None,
|
690
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
691
|
+
expiry_notification_durations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
692
|
+
location: Optional[pulumi.Input[str]] = None,
|
693
|
+
override_valid_time: Optional[pulumi.Input[str]] = None,
|
694
|
+
project: Optional[pulumi.Input[str]] = None,
|
695
|
+
visibility: Optional[pulumi.Input[str]] = None,
|
696
|
+
__props__=None):
|
697
|
+
opts = pulumi.ResourceOptions.merge(_utilities.get_resource_opts_defaults(), opts)
|
698
|
+
if not isinstance(opts, pulumi.ResourceOptions):
|
699
|
+
raise TypeError('Expected resource options to be a ResourceOptions instance')
|
700
|
+
if opts.id is None:
|
701
|
+
if __props__ is not None:
|
702
|
+
raise TypeError('__props__ is only valid when passed in combination with a valid opts.id to get an existing resource')
|
703
|
+
__props__ = AuthConfigArgs.__new__(AuthConfigArgs)
|
704
|
+
|
705
|
+
__props__.__dict__["client_certificate"] = client_certificate
|
706
|
+
__props__.__dict__["decrypted_credential"] = decrypted_credential
|
707
|
+
__props__.__dict__["description"] = description
|
708
|
+
if display_name is None and not opts.urn:
|
709
|
+
raise TypeError("Missing required property 'display_name'")
|
710
|
+
__props__.__dict__["display_name"] = display_name
|
711
|
+
__props__.__dict__["expiry_notification_durations"] = expiry_notification_durations
|
712
|
+
if location is None and not opts.urn:
|
713
|
+
raise TypeError("Missing required property 'location'")
|
714
|
+
__props__.__dict__["location"] = location
|
715
|
+
__props__.__dict__["override_valid_time"] = override_valid_time
|
716
|
+
__props__.__dict__["project"] = project
|
717
|
+
__props__.__dict__["visibility"] = visibility
|
718
|
+
__props__.__dict__["certificate_id"] = None
|
719
|
+
__props__.__dict__["create_time"] = None
|
720
|
+
__props__.__dict__["creator_email"] = None
|
721
|
+
__props__.__dict__["credential_type"] = None
|
722
|
+
__props__.__dict__["encrypted_credential"] = None
|
723
|
+
__props__.__dict__["last_modifier_email"] = None
|
724
|
+
__props__.__dict__["name"] = None
|
725
|
+
__props__.__dict__["reason"] = None
|
726
|
+
__props__.__dict__["state"] = None
|
727
|
+
__props__.__dict__["update_time"] = None
|
728
|
+
__props__.__dict__["valid_time"] = None
|
729
|
+
super(AuthConfig, __self__).__init__(
|
730
|
+
'gcp:applicationintegration/authConfig:AuthConfig',
|
731
|
+
resource_name,
|
732
|
+
__props__,
|
733
|
+
opts)
|
734
|
+
|
735
|
+
@staticmethod
|
736
|
+
def get(resource_name: str,
|
737
|
+
id: pulumi.Input[str],
|
738
|
+
opts: Optional[pulumi.ResourceOptions] = None,
|
739
|
+
certificate_id: Optional[pulumi.Input[str]] = None,
|
740
|
+
client_certificate: Optional[pulumi.Input[pulumi.InputType['AuthConfigClientCertificateArgs']]] = None,
|
741
|
+
create_time: Optional[pulumi.Input[str]] = None,
|
742
|
+
creator_email: Optional[pulumi.Input[str]] = None,
|
743
|
+
credential_type: Optional[pulumi.Input[str]] = None,
|
744
|
+
decrypted_credential: Optional[pulumi.Input[pulumi.InputType['AuthConfigDecryptedCredentialArgs']]] = None,
|
745
|
+
description: Optional[pulumi.Input[str]] = None,
|
746
|
+
display_name: Optional[pulumi.Input[str]] = None,
|
747
|
+
encrypted_credential: Optional[pulumi.Input[str]] = None,
|
748
|
+
expiry_notification_durations: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
|
749
|
+
last_modifier_email: Optional[pulumi.Input[str]] = None,
|
750
|
+
location: Optional[pulumi.Input[str]] = None,
|
751
|
+
name: Optional[pulumi.Input[str]] = None,
|
752
|
+
override_valid_time: Optional[pulumi.Input[str]] = None,
|
753
|
+
project: Optional[pulumi.Input[str]] = None,
|
754
|
+
reason: Optional[pulumi.Input[str]] = None,
|
755
|
+
state: Optional[pulumi.Input[str]] = None,
|
756
|
+
update_time: Optional[pulumi.Input[str]] = None,
|
757
|
+
valid_time: Optional[pulumi.Input[str]] = None,
|
758
|
+
visibility: Optional[pulumi.Input[str]] = None) -> 'AuthConfig':
|
759
|
+
"""
|
760
|
+
Get an existing AuthConfig resource's state with the given name, id, and optional extra
|
761
|
+
properties used to qualify the lookup.
|
762
|
+
|
763
|
+
:param str resource_name: The unique name of the resulting resource.
|
764
|
+
:param pulumi.Input[str] id: The unique provider ID of the resource to lookup.
|
765
|
+
:param pulumi.ResourceOptions opts: Options for the resource.
|
766
|
+
:param pulumi.Input[str] certificate_id: Certificate id for client certificate.
|
767
|
+
:param pulumi.Input[pulumi.InputType['AuthConfigClientCertificateArgs']] client_certificate: Raw client certificate
|
768
|
+
Structure is documented below.
|
769
|
+
:param pulumi.Input[str] create_time: The timestamp when the auth config is created.
|
770
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
771
|
+
:param pulumi.Input[str] creator_email: The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
772
|
+
:param pulumi.Input[str] credential_type: Credential type of the encrypted credential.
|
773
|
+
:param pulumi.Input[pulumi.InputType['AuthConfigDecryptedCredentialArgs']] decrypted_credential: Raw auth credentials.
|
774
|
+
Structure is documented below.
|
775
|
+
:param pulumi.Input[str] description: A description of the auth config.
|
776
|
+
:param pulumi.Input[str] display_name: The name of the auth config.
|
777
|
+
:param pulumi.Input[str] encrypted_credential: Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.
|
778
|
+
A base64-encoded string.
|
779
|
+
:param pulumi.Input[Sequence[pulumi.Input[str]]] expiry_notification_durations: User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
780
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
781
|
+
:param pulumi.Input[str] last_modifier_email: The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
782
|
+
:param pulumi.Input[str] location: Location in which client needs to be provisioned.
|
783
|
+
|
784
|
+
|
785
|
+
- - -
|
786
|
+
:param pulumi.Input[str] name: Resource name of the auth config.
|
787
|
+
:param pulumi.Input[str] override_valid_time: User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
788
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
789
|
+
:param pulumi.Input[str] project: The ID of the project in which the resource belongs.
|
790
|
+
If it is not provided, the provider project is used.
|
791
|
+
:param pulumi.Input[str] reason: The reason / details of the current status.
|
792
|
+
:param pulumi.Input[str] state: The status of the auth config.
|
793
|
+
:param pulumi.Input[str] update_time: The timestamp when the auth config is modified.
|
794
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
795
|
+
:param pulumi.Input[str] valid_time: The time until the auth config is valid. Empty or max value is considered the auth config won't expire.
|
796
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
797
|
+
:param pulumi.Input[str] visibility: The visibility of the auth config.
|
798
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
799
|
+
"""
|
800
|
+
opts = pulumi.ResourceOptions.merge(opts, pulumi.ResourceOptions(id=id))
|
801
|
+
|
802
|
+
__props__ = _AuthConfigState.__new__(_AuthConfigState)
|
803
|
+
|
804
|
+
__props__.__dict__["certificate_id"] = certificate_id
|
805
|
+
__props__.__dict__["client_certificate"] = client_certificate
|
806
|
+
__props__.__dict__["create_time"] = create_time
|
807
|
+
__props__.__dict__["creator_email"] = creator_email
|
808
|
+
__props__.__dict__["credential_type"] = credential_type
|
809
|
+
__props__.__dict__["decrypted_credential"] = decrypted_credential
|
810
|
+
__props__.__dict__["description"] = description
|
811
|
+
__props__.__dict__["display_name"] = display_name
|
812
|
+
__props__.__dict__["encrypted_credential"] = encrypted_credential
|
813
|
+
__props__.__dict__["expiry_notification_durations"] = expiry_notification_durations
|
814
|
+
__props__.__dict__["last_modifier_email"] = last_modifier_email
|
815
|
+
__props__.__dict__["location"] = location
|
816
|
+
__props__.__dict__["name"] = name
|
817
|
+
__props__.__dict__["override_valid_time"] = override_valid_time
|
818
|
+
__props__.__dict__["project"] = project
|
819
|
+
__props__.__dict__["reason"] = reason
|
820
|
+
__props__.__dict__["state"] = state
|
821
|
+
__props__.__dict__["update_time"] = update_time
|
822
|
+
__props__.__dict__["valid_time"] = valid_time
|
823
|
+
__props__.__dict__["visibility"] = visibility
|
824
|
+
return AuthConfig(resource_name, opts=opts, __props__=__props__)
|
825
|
+
|
826
|
+
@property
|
827
|
+
@pulumi.getter(name="certificateId")
|
828
|
+
def certificate_id(self) -> pulumi.Output[str]:
|
829
|
+
"""
|
830
|
+
Certificate id for client certificate.
|
831
|
+
"""
|
832
|
+
return pulumi.get(self, "certificate_id")
|
833
|
+
|
834
|
+
@property
|
835
|
+
@pulumi.getter(name="clientCertificate")
|
836
|
+
def client_certificate(self) -> pulumi.Output[Optional['outputs.AuthConfigClientCertificate']]:
|
837
|
+
"""
|
838
|
+
Raw client certificate
|
839
|
+
Structure is documented below.
|
840
|
+
"""
|
841
|
+
return pulumi.get(self, "client_certificate")
|
842
|
+
|
843
|
+
@property
|
844
|
+
@pulumi.getter(name="createTime")
|
845
|
+
def create_time(self) -> pulumi.Output[str]:
|
846
|
+
"""
|
847
|
+
The timestamp when the auth config is created.
|
848
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
849
|
+
"""
|
850
|
+
return pulumi.get(self, "create_time")
|
851
|
+
|
852
|
+
@property
|
853
|
+
@pulumi.getter(name="creatorEmail")
|
854
|
+
def creator_email(self) -> pulumi.Output[str]:
|
855
|
+
"""
|
856
|
+
The creator's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
857
|
+
"""
|
858
|
+
return pulumi.get(self, "creator_email")
|
859
|
+
|
860
|
+
@property
|
861
|
+
@pulumi.getter(name="credentialType")
|
862
|
+
def credential_type(self) -> pulumi.Output[str]:
|
863
|
+
"""
|
864
|
+
Credential type of the encrypted credential.
|
865
|
+
"""
|
866
|
+
return pulumi.get(self, "credential_type")
|
867
|
+
|
868
|
+
@property
|
869
|
+
@pulumi.getter(name="decryptedCredential")
|
870
|
+
def decrypted_credential(self) -> pulumi.Output[Optional['outputs.AuthConfigDecryptedCredential']]:
|
871
|
+
"""
|
872
|
+
Raw auth credentials.
|
873
|
+
Structure is documented below.
|
874
|
+
"""
|
875
|
+
return pulumi.get(self, "decrypted_credential")
|
876
|
+
|
877
|
+
@property
|
878
|
+
@pulumi.getter
|
879
|
+
def description(self) -> pulumi.Output[Optional[str]]:
|
880
|
+
"""
|
881
|
+
A description of the auth config.
|
882
|
+
"""
|
883
|
+
return pulumi.get(self, "description")
|
884
|
+
|
885
|
+
@property
|
886
|
+
@pulumi.getter(name="displayName")
|
887
|
+
def display_name(self) -> pulumi.Output[str]:
|
888
|
+
"""
|
889
|
+
The name of the auth config.
|
890
|
+
"""
|
891
|
+
return pulumi.get(self, "display_name")
|
892
|
+
|
893
|
+
@property
|
894
|
+
@pulumi.getter(name="encryptedCredential")
|
895
|
+
def encrypted_credential(self) -> pulumi.Output[str]:
|
896
|
+
"""
|
897
|
+
Auth credential encrypted by Cloud KMS. Can be decrypted as Credential with proper KMS key.
|
898
|
+
A base64-encoded string.
|
899
|
+
"""
|
900
|
+
return pulumi.get(self, "encrypted_credential")
|
901
|
+
|
902
|
+
@property
|
903
|
+
@pulumi.getter(name="expiryNotificationDurations")
|
904
|
+
def expiry_notification_durations(self) -> pulumi.Output[Optional[Sequence[str]]]:
|
905
|
+
"""
|
906
|
+
User can define the time to receive notification after which the auth config becomes invalid. Support up to 30 days. Support granularity in hours.
|
907
|
+
A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
|
908
|
+
"""
|
909
|
+
return pulumi.get(self, "expiry_notification_durations")
|
910
|
+
|
911
|
+
@property
|
912
|
+
@pulumi.getter(name="lastModifierEmail")
|
913
|
+
def last_modifier_email(self) -> pulumi.Output[str]:
|
914
|
+
"""
|
915
|
+
The last modifier's email address. Generated based on the End User Credentials/LOAS role of the user making the call.
|
916
|
+
"""
|
917
|
+
return pulumi.get(self, "last_modifier_email")
|
918
|
+
|
919
|
+
@property
|
920
|
+
@pulumi.getter
|
921
|
+
def location(self) -> pulumi.Output[str]:
|
922
|
+
"""
|
923
|
+
Location in which client needs to be provisioned.
|
924
|
+
|
925
|
+
|
926
|
+
- - -
|
927
|
+
"""
|
928
|
+
return pulumi.get(self, "location")
|
929
|
+
|
930
|
+
@property
|
931
|
+
@pulumi.getter
|
932
|
+
def name(self) -> pulumi.Output[str]:
|
933
|
+
"""
|
934
|
+
Resource name of the auth config.
|
935
|
+
"""
|
936
|
+
return pulumi.get(self, "name")
|
937
|
+
|
938
|
+
@property
|
939
|
+
@pulumi.getter(name="overrideValidTime")
|
940
|
+
def override_valid_time(self) -> pulumi.Output[Optional[str]]:
|
941
|
+
"""
|
942
|
+
User provided expiry time to override. For the example of Salesforce, username/password credentials can be valid for 6 months depending on the instance settings.
|
943
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
944
|
+
"""
|
945
|
+
return pulumi.get(self, "override_valid_time")
|
946
|
+
|
947
|
+
@property
|
948
|
+
@pulumi.getter
|
949
|
+
def project(self) -> pulumi.Output[str]:
|
950
|
+
"""
|
951
|
+
The ID of the project in which the resource belongs.
|
952
|
+
If it is not provided, the provider project is used.
|
953
|
+
"""
|
954
|
+
return pulumi.get(self, "project")
|
955
|
+
|
956
|
+
@property
|
957
|
+
@pulumi.getter
|
958
|
+
def reason(self) -> pulumi.Output[str]:
|
959
|
+
"""
|
960
|
+
The reason / details of the current status.
|
961
|
+
"""
|
962
|
+
return pulumi.get(self, "reason")
|
963
|
+
|
964
|
+
@property
|
965
|
+
@pulumi.getter
|
966
|
+
def state(self) -> pulumi.Output[str]:
|
967
|
+
"""
|
968
|
+
The status of the auth config.
|
969
|
+
"""
|
970
|
+
return pulumi.get(self, "state")
|
971
|
+
|
972
|
+
@property
|
973
|
+
@pulumi.getter(name="updateTime")
|
974
|
+
def update_time(self) -> pulumi.Output[str]:
|
975
|
+
"""
|
976
|
+
The timestamp when the auth config is modified.
|
977
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
978
|
+
"""
|
979
|
+
return pulumi.get(self, "update_time")
|
980
|
+
|
981
|
+
@property
|
982
|
+
@pulumi.getter(name="validTime")
|
983
|
+
def valid_time(self) -> pulumi.Output[str]:
|
984
|
+
"""
|
985
|
+
The time until the auth config is valid. Empty or max value is considered the auth config won't expire.
|
986
|
+
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
|
987
|
+
"""
|
988
|
+
return pulumi.get(self, "valid_time")
|
989
|
+
|
990
|
+
@property
|
991
|
+
@pulumi.getter
|
992
|
+
def visibility(self) -> pulumi.Output[Optional[str]]:
|
993
|
+
"""
|
994
|
+
The visibility of the auth config.
|
995
|
+
Possible values are: `PRIVATE`, `CLIENT_VISIBLE`.
|
996
|
+
"""
|
997
|
+
return pulumi.get(self, "visibility")
|
998
|
+
|