pulumi-tls 5.2.0a1743575896__py3-none-any.whl → 5.2.0a1744183475__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_tls/outputs.py CHANGED
@@ -2,6 +2,7 @@
2
2
  # *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
3
  # *** Do not edit by hand unless you're certain you know what you are doing! ***
4
4
 
5
+ import builtins
5
6
  import copy
6
7
  import warnings
7
8
  import sys
@@ -48,25 +49,25 @@ class CertRequestSubject(dict):
48
49
  return super().get(key, default)
49
50
 
50
51
  def __init__(__self__, *,
51
- common_name: Optional[str] = None,
52
- country: Optional[str] = None,
53
- locality: Optional[str] = None,
54
- organization: Optional[str] = None,
55
- organizational_unit: Optional[str] = None,
56
- postal_code: Optional[str] = None,
57
- province: Optional[str] = None,
58
- serial_number: Optional[str] = None,
59
- street_addresses: Optional[Sequence[str]] = None):
60
- """
61
- :param str common_name: Distinguished name: `CN`
62
- :param str country: Distinguished name: `C`
63
- :param str locality: Distinguished name: `L`
64
- :param str organization: Distinguished name: `O`
65
- :param str organizational_unit: Distinguished name: `OU`
66
- :param str postal_code: Distinguished name: `PC`
67
- :param str province: Distinguished name: `ST`
68
- :param str serial_number: Distinguished name: `SERIALNUMBER`
69
- :param Sequence[str] street_addresses: Distinguished name: `STREET`
52
+ common_name: Optional[builtins.str] = None,
53
+ country: Optional[builtins.str] = None,
54
+ locality: Optional[builtins.str] = None,
55
+ organization: Optional[builtins.str] = None,
56
+ organizational_unit: Optional[builtins.str] = None,
57
+ postal_code: Optional[builtins.str] = None,
58
+ province: Optional[builtins.str] = None,
59
+ serial_number: Optional[builtins.str] = None,
60
+ street_addresses: Optional[Sequence[builtins.str]] = None):
61
+ """
62
+ :param builtins.str common_name: Distinguished name: `CN`
63
+ :param builtins.str country: Distinguished name: `C`
64
+ :param builtins.str locality: Distinguished name: `L`
65
+ :param builtins.str organization: Distinguished name: `O`
66
+ :param builtins.str organizational_unit: Distinguished name: `OU`
67
+ :param builtins.str postal_code: Distinguished name: `PC`
68
+ :param builtins.str province: Distinguished name: `ST`
69
+ :param builtins.str serial_number: Distinguished name: `SERIALNUMBER`
70
+ :param Sequence[builtins.str] street_addresses: Distinguished name: `STREET`
70
71
  """
71
72
  if common_name is not None:
72
73
  pulumi.set(__self__, "common_name", common_name)
@@ -89,7 +90,7 @@ class CertRequestSubject(dict):
89
90
 
90
91
  @property
91
92
  @pulumi.getter(name="commonName")
92
- def common_name(self) -> Optional[str]:
93
+ def common_name(self) -> Optional[builtins.str]:
93
94
  """
94
95
  Distinguished name: `CN`
95
96
  """
@@ -97,7 +98,7 @@ class CertRequestSubject(dict):
97
98
 
98
99
  @property
99
100
  @pulumi.getter
100
- def country(self) -> Optional[str]:
101
+ def country(self) -> Optional[builtins.str]:
101
102
  """
102
103
  Distinguished name: `C`
103
104
  """
@@ -105,7 +106,7 @@ class CertRequestSubject(dict):
105
106
 
106
107
  @property
107
108
  @pulumi.getter
108
- def locality(self) -> Optional[str]:
109
+ def locality(self) -> Optional[builtins.str]:
109
110
  """
110
111
  Distinguished name: `L`
111
112
  """
@@ -113,7 +114,7 @@ class CertRequestSubject(dict):
113
114
 
114
115
  @property
115
116
  @pulumi.getter
116
- def organization(self) -> Optional[str]:
117
+ def organization(self) -> Optional[builtins.str]:
117
118
  """
118
119
  Distinguished name: `O`
119
120
  """
@@ -121,7 +122,7 @@ class CertRequestSubject(dict):
121
122
 
122
123
  @property
123
124
  @pulumi.getter(name="organizationalUnit")
124
- def organizational_unit(self) -> Optional[str]:
125
+ def organizational_unit(self) -> Optional[builtins.str]:
125
126
  """
126
127
  Distinguished name: `OU`
127
128
  """
@@ -129,7 +130,7 @@ class CertRequestSubject(dict):
129
130
 
130
131
  @property
131
132
  @pulumi.getter(name="postalCode")
132
- def postal_code(self) -> Optional[str]:
133
+ def postal_code(self) -> Optional[builtins.str]:
133
134
  """
134
135
  Distinguished name: `PC`
135
136
  """
@@ -137,7 +138,7 @@ class CertRequestSubject(dict):
137
138
 
138
139
  @property
139
140
  @pulumi.getter
140
- def province(self) -> Optional[str]:
141
+ def province(self) -> Optional[builtins.str]:
141
142
  """
142
143
  Distinguished name: `ST`
143
144
  """
@@ -145,7 +146,7 @@ class CertRequestSubject(dict):
145
146
 
146
147
  @property
147
148
  @pulumi.getter(name="serialNumber")
148
- def serial_number(self) -> Optional[str]:
149
+ def serial_number(self) -> Optional[builtins.str]:
149
150
  """
150
151
  Distinguished name: `SERIALNUMBER`
151
152
  """
@@ -153,7 +154,7 @@ class CertRequestSubject(dict):
153
154
 
154
155
  @property
155
156
  @pulumi.getter(name="streetAddresses")
156
- def street_addresses(self) -> Optional[Sequence[str]]:
157
+ def street_addresses(self) -> Optional[Sequence[builtins.str]]:
157
158
  """
158
159
  Distinguished name: `STREET`
159
160
  """
@@ -188,25 +189,25 @@ class SelfSignedCertSubject(dict):
188
189
  return super().get(key, default)
189
190
 
190
191
  def __init__(__self__, *,
191
- common_name: Optional[str] = None,
192
- country: Optional[str] = None,
193
- locality: Optional[str] = None,
194
- organization: Optional[str] = None,
195
- organizational_unit: Optional[str] = None,
196
- postal_code: Optional[str] = None,
197
- province: Optional[str] = None,
198
- serial_number: Optional[str] = None,
199
- street_addresses: Optional[Sequence[str]] = None):
200
- """
201
- :param str common_name: Distinguished name: `CN`
202
- :param str country: Distinguished name: `C`
203
- :param str locality: Distinguished name: `L`
204
- :param str organization: Distinguished name: `O`
205
- :param str organizational_unit: Distinguished name: `OU`
206
- :param str postal_code: Distinguished name: `PC`
207
- :param str province: Distinguished name: `ST`
208
- :param str serial_number: Distinguished name: `SERIALNUMBER`
209
- :param Sequence[str] street_addresses: Distinguished name: `STREET`
192
+ common_name: Optional[builtins.str] = None,
193
+ country: Optional[builtins.str] = None,
194
+ locality: Optional[builtins.str] = None,
195
+ organization: Optional[builtins.str] = None,
196
+ organizational_unit: Optional[builtins.str] = None,
197
+ postal_code: Optional[builtins.str] = None,
198
+ province: Optional[builtins.str] = None,
199
+ serial_number: Optional[builtins.str] = None,
200
+ street_addresses: Optional[Sequence[builtins.str]] = None):
201
+ """
202
+ :param builtins.str common_name: Distinguished name: `CN`
203
+ :param builtins.str country: Distinguished name: `C`
204
+ :param builtins.str locality: Distinguished name: `L`
205
+ :param builtins.str organization: Distinguished name: `O`
206
+ :param builtins.str organizational_unit: Distinguished name: `OU`
207
+ :param builtins.str postal_code: Distinguished name: `PC`
208
+ :param builtins.str province: Distinguished name: `ST`
209
+ :param builtins.str serial_number: Distinguished name: `SERIALNUMBER`
210
+ :param Sequence[builtins.str] street_addresses: Distinguished name: `STREET`
210
211
  """
211
212
  if common_name is not None:
212
213
  pulumi.set(__self__, "common_name", common_name)
@@ -229,7 +230,7 @@ class SelfSignedCertSubject(dict):
229
230
 
230
231
  @property
231
232
  @pulumi.getter(name="commonName")
232
- def common_name(self) -> Optional[str]:
233
+ def common_name(self) -> Optional[builtins.str]:
233
234
  """
234
235
  Distinguished name: `CN`
235
236
  """
@@ -237,7 +238,7 @@ class SelfSignedCertSubject(dict):
237
238
 
238
239
  @property
239
240
  @pulumi.getter
240
- def country(self) -> Optional[str]:
241
+ def country(self) -> Optional[builtins.str]:
241
242
  """
242
243
  Distinguished name: `C`
243
244
  """
@@ -245,7 +246,7 @@ class SelfSignedCertSubject(dict):
245
246
 
246
247
  @property
247
248
  @pulumi.getter
248
- def locality(self) -> Optional[str]:
249
+ def locality(self) -> Optional[builtins.str]:
249
250
  """
250
251
  Distinguished name: `L`
251
252
  """
@@ -253,7 +254,7 @@ class SelfSignedCertSubject(dict):
253
254
 
254
255
  @property
255
256
  @pulumi.getter
256
- def organization(self) -> Optional[str]:
257
+ def organization(self) -> Optional[builtins.str]:
257
258
  """
258
259
  Distinguished name: `O`
259
260
  """
@@ -261,7 +262,7 @@ class SelfSignedCertSubject(dict):
261
262
 
262
263
  @property
263
264
  @pulumi.getter(name="organizationalUnit")
264
- def organizational_unit(self) -> Optional[str]:
265
+ def organizational_unit(self) -> Optional[builtins.str]:
265
266
  """
266
267
  Distinguished name: `OU`
267
268
  """
@@ -269,7 +270,7 @@ class SelfSignedCertSubject(dict):
269
270
 
270
271
  @property
271
272
  @pulumi.getter(name="postalCode")
272
- def postal_code(self) -> Optional[str]:
273
+ def postal_code(self) -> Optional[builtins.str]:
273
274
  """
274
275
  Distinguished name: `PC`
275
276
  """
@@ -277,7 +278,7 @@ class SelfSignedCertSubject(dict):
277
278
 
278
279
  @property
279
280
  @pulumi.getter
280
- def province(self) -> Optional[str]:
281
+ def province(self) -> Optional[builtins.str]:
281
282
  """
282
283
  Distinguished name: `ST`
283
284
  """
@@ -285,7 +286,7 @@ class SelfSignedCertSubject(dict):
285
286
 
286
287
  @property
287
288
  @pulumi.getter(name="serialNumber")
288
- def serial_number(self) -> Optional[str]:
289
+ def serial_number(self) -> Optional[builtins.str]:
289
290
  """
290
291
  Distinguished name: `SERIALNUMBER`
291
292
  """
@@ -293,7 +294,7 @@ class SelfSignedCertSubject(dict):
293
294
 
294
295
  @property
295
296
  @pulumi.getter(name="streetAddresses")
296
- def street_addresses(self) -> Optional[Sequence[str]]:
297
+ def street_addresses(self) -> Optional[Sequence[builtins.str]]:
297
298
  """
298
299
  Distinguished name: `STREET`
299
300
  """
@@ -303,30 +304,30 @@ class SelfSignedCertSubject(dict):
303
304
  @pulumi.output_type
304
305
  class GetCertificateCertificateResult(dict):
305
306
  def __init__(__self__, *,
306
- cert_pem: str,
307
- is_ca: bool,
308
- issuer: str,
309
- not_after: str,
310
- not_before: str,
311
- public_key_algorithm: str,
312
- serial_number: str,
313
- sha1_fingerprint: str,
314
- signature_algorithm: str,
315
- subject: str,
316
- version: int):
317
- """
318
- :param str cert_pem: Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`.
319
- :param bool is_ca: `true` if the certificate is of a CA (Certificate Authority).
320
- :param str issuer: Who verified and signed the certificate, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
321
- :param str not_after: The time until which the certificate is invalid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
322
- :param str not_before: The time after which the certificate is valid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
323
- :param str public_key_algorithm: The key algorithm used to create the certificate.
324
- :param str serial_number: Number that uniquely identifies the certificate with the CA's system.
307
+ cert_pem: builtins.str,
308
+ is_ca: builtins.bool,
309
+ issuer: builtins.str,
310
+ not_after: builtins.str,
311
+ not_before: builtins.str,
312
+ public_key_algorithm: builtins.str,
313
+ serial_number: builtins.str,
314
+ sha1_fingerprint: builtins.str,
315
+ signature_algorithm: builtins.str,
316
+ subject: builtins.str,
317
+ version: builtins.int):
318
+ """
319
+ :param builtins.str cert_pem: Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`.
320
+ :param builtins.bool is_ca: `true` if the certificate is of a CA (Certificate Authority).
321
+ :param builtins.str issuer: Who verified and signed the certificate, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
322
+ :param builtins.str not_after: The time until which the certificate is invalid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
323
+ :param builtins.str not_before: The time after which the certificate is valid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
324
+ :param builtins.str public_key_algorithm: The key algorithm used to create the certificate.
325
+ :param builtins.str serial_number: Number that uniquely identifies the certificate with the CA's system.
325
326
  The `format` function can be used to convert this *base 10* number into other bases, such as hex.
326
- :param str sha1_fingerprint: The SHA1 fingerprint of the public key of the certificate.
327
- :param str signature_algorithm: The algorithm used to sign the certificate.
328
- :param str subject: The entity the certificate belongs to, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
329
- :param int version: The version the certificate is in.
327
+ :param builtins.str sha1_fingerprint: The SHA1 fingerprint of the public key of the certificate.
328
+ :param builtins.str signature_algorithm: The algorithm used to sign the certificate.
329
+ :param builtins.str subject: The entity the certificate belongs to, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
330
+ :param builtins.int version: The version the certificate is in.
330
331
  """
331
332
  pulumi.set(__self__, "cert_pem", cert_pem)
332
333
  pulumi.set(__self__, "is_ca", is_ca)
@@ -342,7 +343,7 @@ class GetCertificateCertificateResult(dict):
342
343
 
343
344
  @property
344
345
  @pulumi.getter(name="certPem")
345
- def cert_pem(self) -> str:
346
+ def cert_pem(self) -> builtins.str:
346
347
  """
347
348
  Certificate data in [PEM (RFC 1421)](https://datatracker.ietf.org/doc/html/rfc1421) format. **NOTE**: the [underlying](https://pkg.go.dev/encoding/pem#Encode) [libraries](https://pkg.go.dev/golang.org/x/crypto/ssh#MarshalAuthorizedKey) that generate this value append a `\\n` at the end of the PEM. In case this disrupts your use case, we recommend using `trimspace()`.
348
349
  """
@@ -350,7 +351,7 @@ class GetCertificateCertificateResult(dict):
350
351
 
351
352
  @property
352
353
  @pulumi.getter(name="isCa")
353
- def is_ca(self) -> bool:
354
+ def is_ca(self) -> builtins.bool:
354
355
  """
355
356
  `true` if the certificate is of a CA (Certificate Authority).
356
357
  """
@@ -358,7 +359,7 @@ class GetCertificateCertificateResult(dict):
358
359
 
359
360
  @property
360
361
  @pulumi.getter
361
- def issuer(self) -> str:
362
+ def issuer(self) -> builtins.str:
362
363
  """
363
364
  Who verified and signed the certificate, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
364
365
  """
@@ -366,7 +367,7 @@ class GetCertificateCertificateResult(dict):
366
367
 
367
368
  @property
368
369
  @pulumi.getter(name="notAfter")
369
- def not_after(self) -> str:
370
+ def not_after(self) -> builtins.str:
370
371
  """
371
372
  The time until which the certificate is invalid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
372
373
  """
@@ -374,7 +375,7 @@ class GetCertificateCertificateResult(dict):
374
375
 
375
376
  @property
376
377
  @pulumi.getter(name="notBefore")
377
- def not_before(self) -> str:
378
+ def not_before(self) -> builtins.str:
378
379
  """
379
380
  The time after which the certificate is valid, as an [RFC3339](https://tools.ietf.org/html/rfc3339) timestamp.
380
381
  """
@@ -382,7 +383,7 @@ class GetCertificateCertificateResult(dict):
382
383
 
383
384
  @property
384
385
  @pulumi.getter(name="publicKeyAlgorithm")
385
- def public_key_algorithm(self) -> str:
386
+ def public_key_algorithm(self) -> builtins.str:
386
387
  """
387
388
  The key algorithm used to create the certificate.
388
389
  """
@@ -390,7 +391,7 @@ class GetCertificateCertificateResult(dict):
390
391
 
391
392
  @property
392
393
  @pulumi.getter(name="serialNumber")
393
- def serial_number(self) -> str:
394
+ def serial_number(self) -> builtins.str:
394
395
  """
395
396
  Number that uniquely identifies the certificate with the CA's system.
396
397
  The `format` function can be used to convert this *base 10* number into other bases, such as hex.
@@ -399,7 +400,7 @@ class GetCertificateCertificateResult(dict):
399
400
 
400
401
  @property
401
402
  @pulumi.getter(name="sha1Fingerprint")
402
- def sha1_fingerprint(self) -> str:
403
+ def sha1_fingerprint(self) -> builtins.str:
403
404
  """
404
405
  The SHA1 fingerprint of the public key of the certificate.
405
406
  """
@@ -407,7 +408,7 @@ class GetCertificateCertificateResult(dict):
407
408
 
408
409
  @property
409
410
  @pulumi.getter(name="signatureAlgorithm")
410
- def signature_algorithm(self) -> str:
411
+ def signature_algorithm(self) -> builtins.str:
411
412
  """
412
413
  The algorithm used to sign the certificate.
413
414
  """
@@ -415,7 +416,7 @@ class GetCertificateCertificateResult(dict):
415
416
 
416
417
  @property
417
418
  @pulumi.getter
418
- def subject(self) -> str:
419
+ def subject(self) -> builtins.str:
419
420
  """
420
421
  The entity the certificate belongs to, roughly following [RFC2253](https://tools.ietf.org/html/rfc2253).
421
422
  """
@@ -423,7 +424,7 @@ class GetCertificateCertificateResult(dict):
423
424
 
424
425
  @property
425
426
  @pulumi.getter
426
- def version(self) -> int:
427
+ def version(self) -> builtins.int:
427
428
  """
428
429
  The version the certificate is in.
429
430
  """